Simulink Design Optimization 1.1
PID Tuning with Reference Tracking and Plant Uncertainty
This demo shows the application of Simulink® Design Optimization™ to track a reference signal and optimize the response with uncertainties in the plant model. The plant model consists of the plant transfer function and includes a Saturation block and a Rate Limits block. To view the results, use the following steps.
1. Open the pidtrack_demo model and run the simulation. The simulation produces an unoptimized step response and the initial data for optimization.
pidtrack_demo
2. Double-click the Scope block to view the unoptimized step response.
3. Double-click the Step Response Specifications block to view constraints on the plant response. The gray dashed line shown represents the reference signal that the controller has to track. The tuned and the uncertain parameters are also specified in this block.
4. In the Block Parameters window, click the Start optimization button to begin optimization.
The Scope block is updated with the final optimized step response. The Constraint window is updated with the plant response for each iteration, where the solid lines indicate the plant response without considering the uncertainties and the dashed lines indicate the uncertain responses.
bdclose('pidtrack_demo')
Store