PID output...

4 views (last 30 days)
Robert
Robert on 20 Jun 2011
Hello all,
I have a questions, how do I clip/bound/limit the output of a PID loop to a certain set of values (say 1000-2000) so all I have to worry about is the tuning?
Regards, Robert

Accepted Answer

Paulo Silva
Paulo Silva on 20 Jun 2011
  2 Comments
Robert
Robert on 20 Jun 2011
This only works on the input though. My problem is I am putting an error value into the PID loop and I need the output to be between 1000-2000 not -80 to 80 (which is error and current output).. I would prefer not to have to tune the PID specifically to get those bounds. I heard this process is called clipping/bounding/limiting but can't seem to find enough information on it.
Arnaud Miege
Arnaud Miege on 22 Jun 2011
Not necessarily, you can put the saturation block on the output of the PID controller. However, be aware of integrator windup (see my answer).

Sign in to comment.

More Answers (2)

Arnaud Miege
Arnaud Miege on 20 Jun 2011
You may also need to add some additional control to prevent integrator windup. The new PID block introduced in R2009b, includes those effects, as well as many more.
Arnaud

rathod ujjval rameshbhai
rathod ujjval rameshbhai on 13 Jan 2016
I am implementing PID controller on the system 1/s......
My question is when I write the command pidtool and get the new window in that there are list of paramenters..... I want to see the output of controller at perticular point i.e. Pout=Kp*e(t)+P0....
other thing is if my system is 1/s then as in step response it becomes 1/s^2 and then Laplace inverse will give output equation.... in case of only P it would be Kp*e(t)*L^-1(1/s).... is it??

Products

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!