Simulink Control Design™ - MathWorks

(Tuis.) #1
Validation

First validate the design in the linear domain using the slTuner interface. Plot the
closed-loop response to a step command Vcmd and a step disturbance iLoad.

figure('Position',[100,100,560,500])
subplot(2,1,1)
step(getIOTransfer(ST,'Vcmd','Vchip'),20*Tm)
title('Response to step command in voltage')
subplot(2,1,2)
step(getIOTransfer(ST,'iLoad','Vchip'),20*Tm)
title('Rejection of step disturbance in load current')

13 Control System Tuning Examples

Free download pdf