Simulink Control Design™ - MathWorks

(Tuis.) #1
op.Outputs.y = 0.5;
op_point = findop(plantMDL,op,options);
G1 = c2d(linearize(plantMDL,op_point),Ts);

The experiment starts at 10 sec after PID controller moves the plant to the new operating
point (y = 0.5). After the experiment starts, the PID controller tries to reject the injected
sine waves, which are effectively load disturbance. Thus the controller ensures that the
plant does not move too far away from the nominal operating point during the
experiment, and reduces the impact of plant nonlinearity on the estimation result.
Simulate the model and observe on the Bode plot how the estimated response evolves
during the experiment. The estimation result matches the baseline very well.

sim(mdlSS);
figSS = gcf;
hold on;

6 Online Frequency Response Estimation

Free download pdf