Simulink Control Design™ - MathWorks

(Tuis.) #1

Use the slLinearizer command to create the interface.


sllin = slLinearizer(mdl)


slLinearizer linearization interface for "scdcascade":


No analysis points. Use the addPoint command to add new points.
No permanent openings. Use the addOpening command to add new permanent openings.
Properties with dot notation get/set access:
Parameters : []
OperatingPoints : [] (model initial condition will be used.)
BlockSubstitutions : []
Options : [1x1 linearize.LinearizeOptions]


The Command Window display shows information about the slLinearizer interface. In
this interface, no parameters to vary are yet specified, so the Paramaeters property is
empty.


Vary Inner-Loop Controller Gains


For inner-loop analysis, vary the gains of the inner-loop PI controller block, C2. Vary the
proportional gain (Kp2) and integral gain (Ki2) in the 15% range.


Kp2_range = linspace(Kp20.85,Kp21.15,6);
Ki2_range = linspace(Ki20.85,Ki21.15,4);
[Kp2_grid, Ki2_grid] = ndgrid(Kp2_range,Ki2_range);


Vary Parameter Values and Obtain Multiple Transfer Functions
Free download pdf