Internet PLC Forum
General => Technical support => Topic started by: vsingh on December 12, 2006, 05:57:21 PM
-
Is it possible to change the GAIN, Integral and derivative without resetting the PID ? I do not want to reexecute PIDDEF as it sets the output to zero. I would like it to resume from the last output (bumpless) with new PID parameters.
Thanks for help.
-
Execution of PIDDEF will clear the integrator and differentiator data. There is no command to bypass this. However, if you don't use the built-in PID functions, you may actualy use TBASIC to construct your own PID routine. i.e. storing the P, I and D in DMs and use the variable A to Z to store the result of the I and D term. You can refer to Digital Control books for some algorithm that suit your purpose.
-
Check this out.
http://www.learncontrol.com/pid/
There is a tutorial on PID controls which is very in depth and a short version if you are already versed in PID functions.
Happy coding!
Dogface