Simulink Control Design™ - MathWorks

(Tuis.) #1
For this system, the Water-Tank System block contains all the nonlinear dynamics. To
linearize this subsystem, first specify its block path.

blockpath = 'watertank/Water-Tank System';

Then, linearize the plant subsystem at the model operating point.

linsys1 = linearize(mdl,blockpath);

The model operating point consists of the initial state values and input signals stored in
the model. For information on linearizing models at different operating points, see
“Linearize at Trimmed Operating Point” on page 2-90 and “Linearize at Simulation
Snapshot” on page 2-96.

You can then analyze the response of the linearized model. For example, plot its Bode
response.

bode(linsys1)

2 Linearization

Free download pdf