Create an slLinearizer interface for the model.
sllin = slLinearizer(mdl);
To calculate the loop transfer function for the inner loop, use the e2 signal as the analysis
point. To eliminate the effects of the outer loop, break the outer loop at y1m. Add these
points to sllin.
addPoint(sllin,{'e2','y1m'});
Obtain the inner-loop loop transfer function at e2.
sys = getLoopTransfer(sllin,'e2','y1m');
Here, 'y1m', the third input argument, specifies a temporary loop opening. The software
assumes positive-feedback when it calculates sys.
Obtain Loop Transfer 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, calculate the loop transfer function for the
inner loop at e2 for the maximum values of Kp2 and Ki2.
Open the scdcascade model.
15 Alphabetical List