Simulink Control Design™ - MathWorks

(Tuis.) #1

Specify Substitute Block Linearization and Linearize Model


Open the Simulink model.


mdl = 'scdpwm';
open_system(mdl)


Extract linearization input and output from the model.


io = getlinio(mdl);


Linearize the model at the model operating point.


linsys = linearize(mdl,io)


linsys =


D =
Step
Plant Model 0


Static gain.


The discontinuities in the Voltage to PWM block cause the model to linearize to zero. To
treat this block as a unit gain during linearization, specify a substitute linearization for
this block.


blocksub.Name = 'scdpwm/Voltage to PWM';
blocksub.Value = 1;


Linearize the model using the specified block substitution.


linsys = linearize(mdl,blocksub,io)


linsys =


linearize
Free download pdf