Simulink Control Design™ - MathWorks

(Tuis.) #1

Linearization of Models with Model References


This example shows the features available in Simulink Control Design for linearizing
models containing references to other models with a Model block.

Linear Analysis

The model scdspeed_ctrlloop is a componentized version of the model
scdspeedctrl. In this model, the engine speed model is a component represented in the
model scdspeed_plantref which is referenced using a model reference block. To open
the engine model, run:

topmdl = 'scdspeed_ctrlloop';
open_system(topmdl);

Initially, the reference is set to run its simulation in accelerator mode. The accelerator
simulation mode is indicated by the black triangles on the corners of the model block
scdspeed_ctrlloop/Engine Model.

By default, Engine Model reference block is set to accelerator simulation mode, as
indicated by the block triangles on the block. Linearizing the model with this block set to
accelerator simulation mode numerically perturbs the entire Engine Model block. The
accuracy of this linearization is very sensitive to the blocks within the Engine model. In
particular, the variable transport delay block is very problematic.

Linearization of Models with Model References
Free download pdf