Simulink Control Design™ - MathWorks

(Tuis.) #1

This block implements the traditional PID with filtered derivative as:


In this block P, I, D, and N are the parameters that are available for tuning. Another
approach is to reformulate the block transfer function to use zero-pole-gain format:


This formulation of poles, zeros, and gains allows for direct graphical tuning on design
plots such as Bode, root locus, and Nichols plots. Additionally, Control System Designer
allows for both representations to be tuned using the compensator editor. The tuning of
both representations is available for all supported blocks in Simulink Control Design™.
For more information, see “What Blocks Are Tunable?” on page 9-12.


Open Control System Designer


In this example, to tune the compensators in this feedback system, open a preconfigured
Control System Designer session by double clicking the subsystem in the lower left-
hand corner of the model.


Compensator Editor Dialog Box


You can view the representations of the PID compensator using the Compensator Editor
dialog box. To open the Compensator Editor, in the Data Browser, in the Controllers
and Fixed Blocks section, double-click scdspeedctrl_PID_Controller. In the
Compensator Editor dialog box, in the Compensator section, you can view and edit any of
the compensators in your system.


Tune Simulink Blocks Using Compensator Editor
Free download pdf