Simulink Control Design™ - MathWorks

(Tuis.) #1
Create an slLinearizer interface for the model.

sllin = slLinearizer(mdl);

To calculate the sensitivity at the output of G2, use the y2 signal as the analysis point. To
eliminate the effects of the outer loop, break the outer loop at y1m. Add both these points
to sllin.

addPoint(sllin,{'y2','y1m'});

Obtain the sensitivity at y2 with the outer loop open.

sys = getSensitivity(sllin,'y2','y1m');

Here, 'y1m', the third input argument, specifies a temporary opening of the outer loop.

Obtain Sensitivity Function for Specific Parameter Combination

Suppose you batch linearize the scdcascade model for multiple transfer functions. For
most linearizations, you vary the proportional (Kp2) and integral gain (Ki2) of the C2
controller in the 10% range. For this example, obtain the sensitivity at the output of G2,
with the outer loop open, for the maximum values of Kp2 and Ki2.

Open the scdcascade model.

15 Alphabetical List

Free download pdf