Choose Linearization Tools
Choosing Simulink Control Design Linearization Tools
Simulink® Control Design™ software lets you perform linear analysis of nonlinear models using a user interface, functions, or blocks.
Linearization Tool | When to Use |
---|---|
Model Linearizer |
|
linearize |
|
slLinearizer |
Batch linearize for varying model parameter values, operating points, and I/O sets. |
Linear Analysis Plots blocks |
Note Linear Analysis Plots blocks do not support code generation. You can only
use these blocks in |
Choosing Exact Linearization Versus Frequency Response Estimation
In most cases, to obtain a linear approximation of a Simulink model, you should use exact linearization instead of frequency response estimation.
Exact linearization:
Is faster because it does not require simulation of the Simulink model.
Returns a parametric state-space model.
Frequency response estimation returns frequency response data. To create a transfer function or a state-space model from the resulting frequency response data, you must fit a model to the data using System Identification Toolbox™ software.
Use frequency response estimation:
To validate exact linearization accuracy. For more information, see Validate Linearization in Frequency Domain Using Model Linearizer.
When your Simulink model contains discontinuities or non-periodic event-based dynamics.
To study the impact of amplitude size on frequency response. For more information, see Describing Function Analysis of Nonlinear Simulink Models.
Linearization Using Simulink Control Design Versus Simulink
How is Simulink
linmod
different from Simulink
Control Design functionality for linearizing nonlinear models?
Although both Simulink
Control Design and Simulink
linmod
perform block-by-block linearization, Simulink
Control Design functionality is enhanced by a more flexible user interface and Control System Toolbox™ numerical algorithms.
Simulink Control Design Linearization | Simulink Linearization | |
---|---|---|
Graphical-user interface | Yes. See Linearize Simulink Model at Model Operating Point. | No |
Flexibility in defining which portion of the model to linearize | Yes. Lets you specify linearization I/O points at any level of a Simulink model, either graphically or programmatically without having to modify your model. See Linearize at Trimmed Operating Point. | No. Only root-level linearization I/O points, which is equivalent to linearizing the entire model. Requires that you add and configure additional Linearization Point blocks. |
Open-loop analysis | Yes. Lets you open feedback loops without deleting feedback signals in the model. See Compute Open-Loop Response. | Yes, but requires that you delete feedback signals in your model to open the loop. |
Control linear model state ordering | Yes. See Order States in Linearized Model. | No |
Control linearization of individual blocks | Yes. Lets you specify custom linearization behavior for both blocks and subsystems. See Specify Individual Block Linearization. | No |
Linearization diagnostics | Yes. Identifies problematic blocks and lets you examine the linearization value of each block. See Linearization Troubleshooting Overview. | No |
Block detection and reduction | Yes. Block reduction detects blocks that do not contribute to the overall linearization yielding a minimal realization. | No |
Control of rate conversion algorithm for multirate models | Yes | No |