## Documentation Center |

On this page… |
---|

Supported Automated Tuning Methods Loading and Displaying the DC Motor Example for Automated Tuning |

The SISO Design Tool simplifies the task of designing and tuning compensators. There are five automated tuning methods in the SISO Design Tool to help you design an initial stabilizing compensator for a SISO loop on-the-fly or refine existing compensator design so that it satisfies a certain user-defined design specification.

The available design methods are:

Optimization-based tuning

PID tuning

Internal Model Control (IMC) tuning

LQG synthesis

Loop shaping

For a detailed discussion of these, see Automated Tuning.

Follow these steps to load and display the DC Motor example for automated tuning:

If you have not yet built the DC Motor example, type

load ltiexamples

To open the SISO Design Tool and import the DC motor, type

sisotool(sys_dc)

at the MATLAB

^{®}prompt. This opens both the**SISO Design Task**node on the Control and Estimation Tools Manager and the Graphical Tuning window with`sys_dc`loaded.Click the

**Analysis Plots**tab to set the analysis plots. Select the plot type as`Step`for Plot 1. Then, check the box for plot 1 to the left of`Closed-Loop r to y`, as shown in the following figure, to open a linked LTI Viewer with the closed-loop step response from reference signal*r*to output signal*y*.In the LTI Viewer that appears, use the right-click menu to add rise time and steady state values to your plot.

**Step Response When Compensator = 1**

Note that by default, the compensator is 1 and unit negative feedback is used (see Architecture). When a unit step is applied to the setpoint change, the steady state value of the system output is 0.0361, which is far from the setpoint, and its rise time is 0.589.

In the

**Tuning method**menu, select`Classical design formulas`.In the

**Design options**area, select**P**for proportional-only control (*C*=*K*)._{p}In the

**Formula**menu, select`Ziegler-Nichols step response`.**Note:**For more information about the automated tuning methods and formulas, see Automated Tuning.Click

**Update Compensator**. The LTI Viewer is updated with the application of PID automated tuning with a proportional-only compensator. The compensator value is now 203.75.

Note that the rise time is reduced to 0.0769 seconds,
compared with 0.589 when C = 1. However, the steady
state value of 0.885 can still be improved
by setting the automated tuning controller type to `PI`.

In the

**Design options**area, select**PI**for proportional-integral control ( ).Click

**Update Compensator**. The LTI Viewer is updated with the application of PID automated tuning with a proportional-integral compensator. The compensator value is now .

Now the steady state value is 1. Applying
automated tuning using PID tuning set to `PI` guarantees zero offset.

This compensator design
has a high degree of overshoot and ringdown. For further improvements
on the result, try the `Robust response time` tuning
method.

Was this topic helpful?