Close the scope.
close_system([mdl '/Engine Speed (rpm)'])
PID Tuner Obtaining a Plant Model with Zero Gain From Linearization
In this example, the plant seen by the PID block is from throttle angle to engine speed.
Linearization input and output points are already defined at the PID block output and the
engine speed measurement respectively. Linearization at the initial operating point gives
a plant model with zero gain.
To verify the zero linearization, first obtain the linearization input and output points from
the model.
io = getlinio(mdl);
Then, linearize the plant at its initial operating point.
linsys = linearize(mdl,io)
linsys =
7 PID Controller Tuning