For example, suppose you have a DC motor for which you want to tune a PID controller.
The response of the motor is modeled as G(s) = 1/(s + 1)^2. Create a fixed LTI model
representing the plant, and a tunable PID controller model.
Gmot = zpk([],[-1,-1],1);
Cmot = tunablePID('Cmot','PID');
Open Control System Tuner.
controlSystemTuner
Control System Tuner opens, set to tune this default architecture. Next, specify the values
of the blocks in the architecture. Click to open the Standard feedback
configuration dialog box.
Enter the values for C and G that you created. Control System Tuner reads these values
from the MATLAB workspace. Click OK.
The default value for the sensor dynamics is a fixed unity-gain transfer function. The
default value for the filter F is a tunable gain block.
You can now select blocks to tune, create tuning goals, and tune the control system.
10 Control System Tuning