Main Content

Gain Scheduling

Tuning of gain-scheduled controllers for nonlinear plants

A gain-scheduled controller is a controller whose gains are automatically adjusted as a function of time, operating condition, or plant parameters. Gain scheduling is a common strategy for controlling systems whose dynamics change with time or operating condition. Such systems include linear parameter-varying (LPV) systems and large classes of nonlinear systems. To tune gain-scheduled controllers inMATLAB®or金宝app®, you represent the variable gain as a function of the scheduling variables using thetunableSurfacecommand. For an overview of the workflow for tuning gain-scheduled controllers, seeGain Scheduling Basics.

Functions

expand all

tunableSurface Create tunable gain surface for gain scheduling
polyBasis Polynomial basis functions for tunable gain surface
fourierBasis Fourier basis functions for tunable gain surface
ndBasis Basis functions for tunable gain surface
viewSurf Visualize gain surface as a function of scheduling variables
evalSurf Evaluate gain surfaces at specific design points
getData Get current values of tunable-surface coefficients
setData Set values of tunable-surface coefficients
codegen GenerateMATLABcode for tunable gain surfaces
systune Tune fixed-structure control systems modeled inMATLAB
slTuner Interface for control system tuning of金宝appmodels
systune (slTuner) 调整控制系统参数金宝appusingslTunerinterface
voidModel Mark missing or irrelevant models in model array
varyingGoal Variable tuning goal for gain-scheduled controllers
getGoal Evaluate variable tuning goal at specified design point

Blocks

expand all

Varying Lowpass Filter Butterworth filter with varying coefficients
Varying Notch Filter Notch filter with varying coefficients
PID Controller Continuous-time or discrete-time PID controller
PID Controller (2DOF) Continuous-time or discrete-time two-degree-of-freedom PID controller
Varying Transfer Function Transfer function with varying coefficients
Varying State Space State-space model with varying matrix values
Varying Observer Form Observer-form state-space model with varying matrix values
Discrete Varying Lowpass Discrete Butterworth filter with varying coefficients
Discrete Varying Notch Discrete-time notch filter with varying coefficients
Discrete PID Controller Discrete-time or continuous-time PID controller
Discrete PID Controller (2DOF) Discrete-time or continuous-time two-degree-of-freedom PID controller
Discrete Varying Transfer Function Discrete-time transfer function with varying coefficients
Discrete Varying State Space Discrete-time state-space model with varying matrix values
Discrete Varying Observer Form Discrete-time observer-form state-space model with varying matrix values

Topics

Gain-Scheduled Control Systems

  • Gain Scheduling Basics
    Gain scheduling is an approach to control of non-linear systems using a family of linear controllers, each providing satisfactory control for a different operating point of the system.
  • Model Gain-Scheduled Control Systems in Simulink
    In Simulink, model gain schedules using lookup tables, interpolation blocks, orMATLAB Functionblocks.

Tune Gain Schedules

HL-20 Autopilot Case Study