Author Topic: PID parameters  (Read 13289 times)

vsingh

  • Newbie
  • Posts: 6
    • View Profile
PID parameters
« 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.

support

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 3174
    • View Profile
    • Internet Programmable PLCs
Re:PID parameters
« Reply #1 on: December 13, 2006, 10:10:38 AM »
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.
Email: support@triplc.com
Tel: 1-877-TRI-PLCS

Dogface

  • Newbie
  • Posts: 33
  • Woof$
    • View Profile
Re:PID parameters
« Reply #2 on: December 13, 2006, 08:38:37 PM »
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