Simulink Control Design™ - MathWorks

(Tuis.) #1

Design PID Controller Using Estimated Frequency


Response


This example shows how to design a PI controller using a frequency response estimated
from a Simulink model. This is an alternative PID design workflow when the linearized
plant model is invalid for PID design (for example, when the plant model has zero gain).

Open the Model

Open the engine control model and take a few moments to explore it.

mdl = 'scdenginectrlpidblock';
open_system(mdl)

The PID loop includes a PI controller in parallel form that manipulates the throttle angle
to control the engine speed. The PI controller has default gains that makes the closed
loop system oscillate. We want to design the controller using the PID Tuner that is
launched from the PID block dialog.

open_system([mdl '/Engine Speed (rpm)'])
sim(mdl)

Design PID Controller Using Estimated Frequency Response
Free download pdf