Control System Toolbox
Linear control techniques are the foundation of control system design and analysis. Control System Toolbox lets you create and manipulate the linear models of your control system. Using interactive plots, you can analyze these models to gain insight into your control system's behavior, performance, and limitations. You can also systematically tune control system parameters using single-input/single-output (SISO) and multi-input/multi-output (MIMO) design techniques.
Linear models from Control System Toolbox can be used in other control design products, such as Robust Control Toolbox™ and Model Predictive Control Toolbox™. You can use Simulink Control Design™ together with Control System Toolbox for control system design and analysis in Simulink.
Control System Toolbox lets you create and manipulate linear models of your control system as objects. All standard model representations are supported, including transfer function, zero-pole-gain, explicit and descriptor state-space, and frequency-response data. Linear models can be SISO or MIMO, and continuous or discrete. You can represent PID controllers as PID objects. In addition, you can accurately model and simulate systems with time delays, including feedback loops with delays.
Control System Toolbox provides commands for:
Building a linear model of your plant is usually the first step in designing a control system. If no linear model is available, you can build one by fitting test data using System Identification Toolbox™, or by linearizing a Simulink model using Simulink Control Design. Once you have created a linear model, you can use Control System Toolbox to analyze it and design a controller.
Control System Toolbox provides an app and functions for analyzing linear models. Using the Linear System Analyzer app, you can view and compare the time and frequency responses of several linear models at once. You can also inspect key performance parameters, such as rise time, settling time, maximum overshoot, and stability margins. Available plots include step response, impulse response, Bode, Nichols, Nyquist, singular value, and zero-pole. You can simulate the response to user-defined inputs and initial conditions to further investigate system performance.
Control System Toolbox lets you systematically tune control system parameters using SISO and MIMO design techniques.
PID Control Design with Control System Toolbox
Design PID controllers using Control System Toolbox.
If a linear model of the plant is not available, you can identify a plant model from measured input-output data directly in the PID Tuner app using System Identification Toolbox.
PID Controller Tuning Based on Measured Input-Output Data
Identify a plant model from measured input-output data and use this model to tune PID Controller gains.
The Control System Designer app lets you the design and analyze SISO control systems. You can:
Control System Design with Control System Tuning App
Design control systems with the Control System Tuning app.
In addition to standard model representations, such as transfer function and frequency-response data, the Control System Designer app supports systems with time delays. You can also work with several plant models simultaneously to evaluate your control design for different operating conditions.
Simulink Control Design extends Control System Toolbox by enabling you to tune controllers in Simulink that consist of several SISO loops. You can close SISO loops sequentially, visualize loop interactions, and iteratively tune each loop for best overall performance. Simulink Control Design lets you export the tuned parameters directly to Simulink for further design validation through nonlinear simulation.
When used with Simulink Design Optimization™, the Control System Designer app lets you optimize the control system parameters to enforce time-based and frequency-based performance requirements. When used with Robust Control Toolbox, the app lets you automatically shape open-loop responses using H-infinity algorithms.
Nonlinear Plant Control at Different Operating Points
Design and analyze a controller for different operating points of a nonlinear plant simultaneously.