Simulink Control Design™ - MathWorks

(Tuis.) #1

Save Plant and Tune PID Controller


When you are satisfied with the fit, click Save Plant. Doing so saves the estimated
plant, Plant1, to PID Tuner workspace. Doing so also selects the Step Plot: Reference
Tracking figure and returns you to the PID Tuner tab. PID Tuner automatically designs
a PI controller for Plant1, and displays a response plot for the new closed-loop system.
The Plant menu reflects that Plant1 is selected for the current controller design.


TipTo examine variables stored in the PID Tuner workspace, open the Data Browser.


You can now use the PID Tuner tools to refine the controller design for the estimated
plant and examine tuned system responses.


You can also export the identified plant from the PID Tuner workspace to the MATLAB


workspace for further analysis. In the PID Tuner tab, click Export. Check the plant
model you want to export to the MATLAB workspace. For this example, export Plant1,
the plant you identified from response data. You can also export the tuned PID controller.


Click OK. The models you selected are saved to the MATLAB workspace.


Identified plant models are saved as identified LTI models, such as idproc or idss.


Interactively Estimate Plant from Measured or Simulated Response Data
Free download pdf