y = yout.signals.values;
step(T1), hold, plot(t,y,'r--')
legend('Continuous','Hybrid (Simulink)')
Current plot held
The simulations closely match and the coefficients of the digital lead/lag can be read from
the "Leadlag" block in Simulink.
Tuning an Additional Notch Filter
Next try to increase the control bandwidth from 5 to 50 rad/s. Because of the plant
resonance near 350 rad/s, the lead/lag compensator is no longer sufficient to get
Tuning of a Digital Motion Control System