Tunable Models

Models with tunable or parametric coefficients

Tunable Generalized LTI models represent systems having both fixed and tunable (or parametric) coefficients. Use Control Design Blocks to represent tunable components of your control system. Combine them with Numeric LTI models to create tunable Generalized LTI models. For an example, see Control System with Tunable Components.

You can use tunable Generalized LTI models to:

  • Model a tunable (or parametric) component of a control system, such as a tunable low-pass filter.

  • Model a control system that contains both:

    • Fixed components, such as plant dynamics and sensor dynamics

    • Tunable components, such as filters and compensators

  • Tuning control systems to design goals you specify, using tuning commands such as systune or the Control System Tuner app.

Functions

expand all

tunableGainTunable static gain block
tunablePIDTunable PID controller
tunablePID2Tunable two-degree-of-freedom PID controller
tunableSSTunable fixed-order state-space model
tunableTFTunable transfer function with fixed number of poles and zeros
realpReal tunable parameter
AnalysisPointPoints of interest for linear analysis
genssGeneralized state-space model
genfrdGeneralized frequency response data (FRD) model
genmatGeneralized matrix with tunable parameters
getLoopTransferOpen-loop transfer function of control system represented by genss model
getIOTransferClosed-loop transfer function from generalized model of control system
getSensitivitySensitivity function from generalized model of control system
getCompSensitivityComplementary sensitivity function from generalized model of control system
getPointsGet list of analysis points in generalized model of control system
replaceBlockReplace or update Control Design Blocks in Generalized LTI model
sampleBlockSample Control Design blocks in generalized model
rsampleBlockRandomly sample Control Design blocks in generalized model
getValueCurrent value of Generalized Model
setValueModify current value of Control Design Block
getBlockValueCurrent value of Control Design Block in Generalized Model
setBlockValueModify value of Control Design Block in Generalized Model
showBlockValueDisplay current value of Control Design Blocks in Generalized Model
showTunableDisplay current value of tunable Control Design Blocks in Generalized Model
nblocksNumber of blocks in Generalized matrix or Generalized LTI model
getLFTModelDecompose generalized LTI model

Topics

Generalized Models

Generalized models represent systems having a mixture of fixed coefficients and tunable or uncertain coefficients.

Models with Tunable Coefficients

Use tunable models to model tunable components of control systems for parameter sampling or control system tuning.

Tunable Low-Pass Filter

Represent a transfer function with a tunable parameter.

Create Tunable Second-Order Filter

Represent a transfer function with multiple tunable parameters.

Create State-Space Model with Both Fixed and Tunable Parameters

Represent state-space matrices that have a mix of fixed and tunable parameters.

Control System with Tunable Components

Build a control-system model for tuning using both tunable and fixed components.

Control System with Multichannel Analysis Points

Build a control-system model with analysis points for extracting responses at different points in the system.

Mark Signals of Interest for Control System Analysis and Design

Analysis points allow you to access to internal signals, perform open-loop analysis, or specify requirements for controller tuning in systems modeled in either MATLAB® or Simulink®.