Documentation

This is machine translation

Translated by Microsoft
Mouse over text to see original. Click the button below to return to the English verison of the page.

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

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
genss Generalized state-space model
genfrd Generalized frequency response data (FRD) model
genmat Generalized matrix with tunable parameters
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
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

Examples and How To

Create 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.

Concepts

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.

Marking 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®.

Was this topic helpful?