Simulink Control Design™ - MathWorks

(Tuis.) #1

Linearization of Models with Discrete Delays


When linearizing a model with discrete delay blocks, such as (Integer) Delay and Unit
Delay blocks use the exact delay option to account for the delays without adding states to
the model dynamics. Explicitly accounting for these delays improves your simulation
performance for systems with many discrete delays because your fewer states in your
model.


To open the Simulink model of a discrete system with a Delay block with 20 delay state
used for this example, run the following.


model = 'scdintegerdelay';
open_system(model);


By default the linearization includes all of the states folded into the linear model. Set the
linearization I/Os and linearize the model as follows:


io(1) = linio('scdintegerdelay/Step',1,'input');
io(2) = linio('scdintegerdelay/Discrete Filter',1,'output');
sys_default = linearize(model,io);


Linearization of Models with Model References 2-

Free download pdf