Documentation

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

Control Design Blocks

tunableGain Tunable static gain block
tunablePID Tunable PID controller
tunablePID2 Tunable two-degree-of-freedom PID controller
tunableSS Tunable fixed-order state-space model
tunableTF Tunable transfer function with fixed number of poles and zeros
realp Real tunable parameter
AnalysisPoint Points of interest for linear analysis

Generalized Models

genss Generalized state-space model
genfrd Generalized frequency response data (FRD) model
genmat Generalized matrix with tunable parameters

Analysis

getLoopTransfer Open-loop transfer function of control system
getIOTransfer Closed-loop transfer function from generalized model of control system
getSensitivity Sensitivity function from generalized model of control system
getCompSensitivity Complementary sensitivity function from generalized model of control system

Access Blocks and Values

getPoints Get list of analysis points in generalized model of control system
replaceBlock Replace or update Control Design Blocks in Generalized LTI model
sampleBlock Sample Control Design blocks in generalized model
rsampleBlock Randomly sample Control Design blocks in generalized model
getValue Current value of Generalized Model
setValue Modify current value of Control Design Block
getBlockValue Current value of Control Design Block in Generalized Model
setBlockValue Modify value of Control Design Block in Generalized Model
showBlockValue Display current value of Control Design Blocks in Generalized Model
showTunable Display current value of tunable Control Design Blocks in Generalized Model
nblocks Number of blocks in Generalized matrix or Generalized LTI model
getLFTModel Decompose generalized LTI model

Was this topic helpful?