MATLAB: How to compute the controller effort and perform robust analysis in Simulink

controllereffortrobust

I am new to Simulink and I am asked to compare a model of PID control with other model, however I cant find a guide on how to compute controller effort of a controller in Simulink and also to perform robust analysis of the model. Any form of help is very much appreciated.
Thanks.

Best Answer

It is not 100% clear what exactly you need - time history of controller response, or a transfer function of controller response?
Either way, take a look at this video to see how to put together a closed-loop system in Simulink. Once you have the model you can simulate it to get controller effort time response as well as other signals.
You can also do frequency domain analysis as shownin examples here .
For robustness analysis take a look at Robust Control Toolbox. This example is a good starting point.