This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English version of the page.

Note: This page has been translated by MathWorks. Click here to see
To view all translated materials including this page, select Country from the country navigator on the bottom of this page.

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

expand all

systune (slTuner)Tune control system parameters in Simulink using slTuner interface
systuneOptionsSet options for systune
getIOTransfer (slTuner)Transfer function for specified I/O set using slLinearizer or slTuner interface
getLoopTransfer (slTuner)Open-loop transfer function at specified point using slLinearizer or slTuner interface
getSensitivity (slTuner)Sensitivity function at specified point using slLinearizer or slTuner interface
getCompSensitivity (slTuner)Complementary sensitivity function at specified point using slLinearizer or slTuner interface
writeBlockValueUpdate block values in Simulink model
systuneTune fixed-structure control systems modeled in MATLAB
systuneOptionsSet options for systune
getIOTransferClosed-loop transfer function from generalized model of control system
getLoopTransferOpen-loop transfer function of control system
getSensitivitySensitivity function from generalized model of control system
getCompSensitivityComplementary sensitivity function from generalized model of control system
viewGoalView tuning goals; validate design against tuning goals
evalGoalEvaluate tuning goals for tuned control system

Topics

Tuning Basics

Tune Control System at the Command Line

After building a tunable control system model and specifying tuning goals, use systune to tune the parameters of your system.

Tuning Multiloop Control Systems

Jointly tune the inner and outer loops of a cascade architecture with systune.

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 from systune 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 using getIOTransfer and related functions to compute responses between various points in the model.

Validating Results

This example shows how to interpret and validate tuning results from systune.

Motion Control Applications

Control of an Inverted Pendulum on a Cart

This example uses systune to control an inverted pendulum on a cart.

Control of a Linear Electric Actuator

use slTuner and systune 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 with systune.

Digital Control of Power Stage Voltage

Tune a high-performance digital controller with bandwidth close to the sampling frequency.

MIMO Control of Diesel Engine

Use systune 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

Use systune to control seismic vibrations in a three-story building.

Vibration Control in Flexible Beam

Use systune 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

Use slTuner and systune to tune a multi-loop controller for a rotorcraft.

Fixed-Structure Autopilot for a Passenger Jet

Use slTuner and systune 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.