| Products & Services | Solutions | Academia | Support | User Community | Company |
| Download Product Updates | | | Get Pricing | | | Trial Software |
| Documentation → Control System Toolbox |
| Contents | Index |
| Learn more about Control System Toolbox |
| 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 tuning 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 in the Control System ToolboxUser's Guide.
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 in the Control System Toolbox User's Guide). 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.
You can choose from the following controller types:
P
PI
PID
PID with derivative filter
![]()
For the controller type, click the P option button for proportional-only control
(
).
Select the Ziegler-Nichols open loop tuning algorithm from the Tuning algorithm list.
Click Update Compensator. The LTI Viewer is updated with the application of PID automated tuning with P and the compensator value is now 205.49.

Note that the rise time is arrived at in just 0.0774 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, as described in Designing a Proportional-Integral Controller.
For the controller type, click the PI option button for proportional-integral
control (
).
Select the Ziegler-Nichols open loop tuning algorithm from the Tuning algorithm list.
Click Update
Compensator. The LTI Viewer is updated with the application
of PID automated tuning with PI and the compensator value is now
.

Although the rise time has increased slightly (0.0876), the steady state value is 1. Applying automated tuning using PID tuning set to PI will guarantee zero offset.
![]() | Nichols Plot Design | Multi-Loop Compensator Design | ![]() |

Includes the most popular MATLAB recorded presentations with Q&A sessions led by MATLAB experts.
| © 1984-2009- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |