You can use the start/stop signal to start and stop an online estimation experiment. When
the block is idle, the control signal passes through the block without any change.
During the experiment, when the Experiement Mode is Sinestream, the block injects
sinusoidal signals into to the plant one frequency after another, from the lowest to the
highest. Compared with the Superposition mode, the sinestream experiment is less
intrusive and more accurate. However, it requires a much longer time to conduct the
experiment.
In this example, you can obtain an exact linearization of the model. Therefore, you can
use it as the baseline in the block, letting you directly compare estimation result with this
"truth" at run time. The block is configured to use a model G1 as the baseline for the Bode
plot that it generates. Find a steady-state operating point at which the plant output is 0.5,
and linearize at this operating point to obtain G1.
Online Estimation of Frequency Responses of a Nonlinear Plant