Simulink Control Design™ - MathWorks

(Tuis.) #1

Simulating Autotuner Block in Normal Mode


If you have a plant model built in Simulink, it is recommended to simulate the Closed-
Loop PID Autotuner block against the plant model in normal mode before deploying it for
real-time tuning. Simulation will help you identify issues in signal connection and block
settings so that you can adjust them before generating code.


Simulation of the boost converter plant usually takes a few minutes on your computer
because of the very fast sample time of the PWM generator. Vout is the plant output and
Duty Cycle is the plant input.


sim(mdl);


Tune PID Controller in Real Time Using Closed-Loop PID Autotuner Block
Free download pdf