This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm that you accept these cookies being set.

Pid
#4
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
Reply


Messages In This Thread
Pid - by Michael - 12.01.2026, 18:28
RE: Pid - by admin - 13.01.2026, 11:46
RE: Pid - by Michael - 14.01.2026, 06:41
RE: Pid - by admin - 14.01.2026, 08:20
RE: Pid - by Michael - 15.01.2026, 06:36

Forum Jump: