step(T1,'b',T2,'g--')
legend('Initial tuning','Tuning with Gain Constraints')
The second design is less aggressive but still meets the response time requirement.
Finally, push the new tuned gain values to the Simulink model and simulate the response
to a 2000 rpm speed demand and 500 N load disturbance. The simulation results appear
in Figure 5 and the current controller output is shown in Figure 6.
writeBlockValue(ST2)
13 Control System Tuning Examples