| 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 |
In this Quick Start, you get an overview of the steps for tuning compensator parameters. Before you begin, you need:
A model in the MATLAB workspace representing your plant
For information on how to create a model, see Building Models.
Design requirements for your system
To tune parameters:
Open the control design GUIs by typing the following in the MATLAB Command Window:
sisotool
This command opens the Control and Estimation Tools Manager and the SISO Design Tool, as shown in the following figure.

Define the control architecture for your system.
In the Architecture tab of the Control and Estimation Tools Manager, click Control Architecture.
In the Control Architecture dialog box, select the control architecture.
Specify the sign of summing junctions as + or -.

Specify the plant model and initial guesses for the compensator elements in the control architecture.
In the Architecture tab of the Control and Estimation Tools Manager, click System Data.
In the System Data dialog box, browse for a model in the MATLAB workspace.

Design a compensator using automated tuning, for example PID Tuning.
In the Automated Tuning tab of the Control and Estimation Tools Manager, select an automated tuning method.
Specify tuning options.
Click Update Compensator to tune parameters.

Evaluate the system's closed-loop performance.
Plot the system response.
In the Analysis Plots tab, select a plot type.
Select the type of response for each plot.

Display specific performance characteristic for your system. Compare values to design requirements.
Right-click to select performance characteristics.
Click on the dot that appears to view the characteristic value.

Refine compensator design using graphical tuning.
Create plots for graphical tuning.
In the Graphical Tuning tab, select the loop to tune in each plot.
Select plot types.

In a design plot, modify the compensator by adding poles, zeros, lead, and lag, for example. To do this, right-click to add dynamic elements in the controller structure.

Add a new pole, for example, by clicking the pole location on the plot.
Modify the compensator structure by moving the poles, zeros, and other dynamic elements directly on the plot.

Export the compensator to the MATLAB workspace for further analysis.
In the Control and Estimation Tools Manager, select File > Export.
In the SISO Tool Export dialog box, select the compensator.
Click Export to Workspace.

![]() | Designing Compensators | SISO Design Tool | ![]() |

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 |