Main Content
Tuning, Analysis, and Validation
Tune control system parameters and analyze results at the command line
After your model is set up for tuning, the systune
command
adjusts the tunable coefficients to meet your design requirements.
To validate the result, examine system responses and evaluate how
closely tuning goals are met. For a control system modeled in Simulink®,
write the tuned parameter values to the model for validation against
the full nonlinear system. For more information, see Validate Tuned Control System.
Functions
Topics
Tuning Basics
- Tune Control System at the Command Line
After building a tunable control system model and specifying tuning goals, usesystune
to tune the parameters of your system. - Tuning Multiloop Control Systems
Jointly tune the inner and outer loops of a cascade architecture withsystune
. - Speed Up Tuning with Parallel Computing Toolbox Software
If you have the Parallel Computing Toolbox™ software installed, you can speed up the tuning of fixed-structure control systems.
Analysis and Validation
- Interpret Numeric Tuning Results
Tuning reports fromsystune
and Control System Tuner give you an overview of how well the tuned control system meets your tuning goals. - Visualize Tuning Goals
Tuning-goal plots let you visualize your design requirements against tuned system responses, to see where and by how much tuning goals are satisfied or violated. - Validate Tuned Control System
When you tune a control system, validate the results by examining system responses with the tuned parameters. - Extract Responses from Tuned MATLAB Model at the Command Line
Analyze responses of a tuned control system by usinggetIOTransfer
and related functions to compute responses between various points in the model. - Validating Results
This example shows how to interpret and validate tuning results fromsystune
.
Motion Control Applications
- Control of an Inverted Pendulum on a Cart
This example usessystune
to control an inverted pendulum on a cart. - Control of a Linear Electric Actuator
useslTuner
andsystune
to tune the current and velocity loops in a linear electric actuator with saturation limits.
Industrial Automation Applications
- PID Tuning for Setpoint Tracking vs. Disturbance Rejection
Explore trade-offs between setpoint tracking and disturbance rejection when tuning PID controllers withsystune
. - Digital Control of Power Stage Voltage
Tune a high-performance digital controller with bandwidth close to the sampling frequency. - MIMO Control of Diesel Engine
Usesystune
to design and tune a MIMO controller for a Diesel engine. The controller is tuned in discrete time for a single operating condition. - Active Vibration Control in Three-Story Building
Usesystune
to control seismic vibrations in a three-story building. - Vibration Control in Flexible Beam
Usesystune
to tune a passivity-based controller for reducing vibrations in a flexible beam. - Passive Control with Communication Delays
Use a passive control system to mitigate communication delays.
Aerospace Applications
- Multiloop Control of a Helicopter
UseslTuner
andsystune
to tune a multi-loop controller for a rotorcraft. - Fixed-Structure Autopilot for a Passenger Jet
UseslTuner
andsystune
to tune the standard configuration of a longitudinal autopilot. - Fault-Tolerant Control of a Passenger Jet
Achieve reliable control of a passenger jet by tuning a controller for multiple operating modes of the plant.