14.01.2026, 08:20
For tuning the parameters do the following:
1. Use PID script from our KB: https://kb.logicmachine.net/scripting/pid-thermostat/
2. Create a trend log for output value and current temperature
3. Set ki and kd to 0
4. Keep the setpoint constant
5. Adjust kp so the temperature oscillates around the setpoint
6. Let the system run for some time
7. Record the time between each oscillation (Tu)
8. PID parameters can be calculated using the following formula, where Ku is the kp value from the step 5.
kp = 0.6 * Ku
ki = 1.2 * Ku / Tu
kd = 0.075 * Ku * Tu
You can try other coefficients to further tune the system: https://en.wikipedia.org/wiki/Ziegler%E2...ols_method
1. Use PID script from our KB: https://kb.logicmachine.net/scripting/pid-thermostat/
2. Create a trend log for output value and current temperature
3. Set ki and kd to 0
4. Keep the setpoint constant
5. Adjust kp so the temperature oscillates around the setpoint
6. Let the system run for some time
7. Record the time between each oscillation (Tu)
8. PID parameters can be calculated using the following formula, where Ku is the kp value from the step 5.
kp = 0.6 * Ku
ki = 1.2 * Ku / Tu
kd = 0.075 * Ku * Tu
You can try other coefficients to further tune the system: https://en.wikipedia.org/wiki/Ziegler%E2...ols_method