Can I include a variable saturation limit in a PID controller with anti-windup?

I would like to adjust the upper saturation limit of a PID controller dynamically during simulation. Is there a PID controller in Simscape with this capability? For example, provide the saturation limits as an input signal to a PID with anti windup?

Answers (1)

No, you will have to create this yourself from basic blocks. You can turn the anti-windup and output saturation on in the PID Controller block in Simulink, and then look under the mask to see the implementation. Copy it and replace the constant used for saturation with a signal.

1 Comment

Arkadiy Turevskiy, Due to your good reputation to answer the question correctly, I would like to ask you somethig: I have a PID in a matlab code (pidstd) in series with my linear plant, I would like to implement a saturation function using "if" sequences, How could I call the output of the PID controller to include it into the saturation (in the matlab code)?
Thanks in Advanced!..Yohan

Sign in to comment.

Asked:

on 1 Jul 2014

Commented:

on 29 May 2017

Community Treasure Hunt

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

Start Hunting!