Simulink Control Design™ - MathWorks

(Tuis.) #1

Batch Linearize Model for Parameter Value Variations


Using Linear Analysis Tool


This example shows how to use the Linear Analysis Tool to batch linearize a Simulink
model. You vary model parameter values and obtain multiple open-loop and closed-loop
transfer functions from the model.

The scdcascade model used for this example contains a pair of cascaded feedback
control loops. Each loop includes a PI controller. The plant models, G1 (outer loop) and G2
(inner loop), are LTI models. In this example, you use Linear Analysis Tool to vary the PI
controller parameters and analyze the inner-loop and outer-loop dynamics.

Open Linear Analysis Tool for the Model

At the MATLAB command line, open the Simulink model.

mdl = 'scdcascade';
open_system(mdl)

In the model window, select Analysis > Control Design > Linear Analysis to open the
Linear Analysis Tool for the model.

Batch Linearize Model for Parameter Value Variations Using Linear Analysis Tool
Free download pdf