MATLAB: How to constrain the controller output while using “systune” in the Simulink model

boundcontrolControl System Toolboxcontrollerlimitpidsimulinksystunetuning

How can I constrain my controller output while using "systune" in my Simulink model?
I am using "systune" to tune my controller in a Simulink model. I would like to ensure that the output of my controller does not exceed a certain upper limit. How could I implement this?

Best Answer

The most convenient way of accomplishing this would be to use the Check Custom Bounds block in Simulink Design Optimization. The following example demonstrates this concept:
An alternative way to implement this would be defining an Overshoot Constraint for your controller. In essence, a PID controller is still a "system" for which an input and output can be specified. Notice that the overshoot constraint is defined in terms of a percentage of a system's step response. In order to use this approach, the upper limit of the control output would need to be formulated in terms of a percentage overshoot.
Related Question