线性化结果故障排除
如果您的模型未按预期线性化,您可以使用 Simulink® Control Design™ 故障排除工具来诊断和修复线性化问题。有关详细信息,请参阅Linearization Troubleshooting Overview。在模型线性化器或命令行中线性化模型时,您可以在模型中找到可能存在线性化问题的模块。有关详细信息,请参阅Identify and Fix Common Linearization Issues。
某些 Simulink 模块可能会产生较差的线性化结果。通常,您必须为此类模块指定自定义线性化。有关详细信息,请参阅Specify Individual Block Linearization。
函数
对象
主题
故障排除基础知识
- Linearization Troubleshooting Overview
If you do not get expected results when you linearize your Simulink model, you can diagnose and fix potential linearization issues using Simulink Control Design troubleshooting tools.
- Identify and Fix Common Linearization Issues
Troubleshoot Simulink model linearizations using the Linearization Advisor.
- Speed Up Linearization of Complex Models
Large Simulink models and blocks with complex initialization functions can cause slow linearization.
自定义模块线性化
- Specify Individual Block Linearization
Some Simulink blocks, including those with sharp discontinuities, can produce poor linearization results. Typically, you must specify custom linearizations for such blocks.
- Specify Custom Linearizations for Simulink Blocks
You can specify a custom linearization for a Simulink block or subsystem that cannot be linearized. - Specify Linearization for Model Components Using System Identification
You can use System Identification Toolbox™ software to identify a linear system for a model component that does not linearize well, and use the identified system to specify its linearization. - Change Perturbation Level of Blocks Perturbed During Linearization
Blocks that do not have preprogrammed analytic Jacobians linearize using numerical perturbation. You can change the perturbation level for your application, which changes the linearization results.
具有特殊特性的模型和模块
- Configure Models with Pulse Width Modulation Signals
Subsystems that contain PWM signals do not linearize well due to discontinuities in the signal. - Models with Time Delays
You can linearize models using exact representations or Padé approximations of continuous-time delays. - Linearize Multirate Models
You can linearize a Simulink model that contains blocks with different sample times. - Linearize Event-Based Subsystems (Externally Scheduled Subsystems)
Since linearization occurs at a specific moment in time, the trigger event for an externally scheduled subsystem never happens. - Linearize Blocks with Non-Floating-Point Signals or States
Blocks that have non-floating-point signals or states and have no preprogrammed exact linearization automatically linearize to zero. Linearizing such blocks requires converting all signals to double precision. - Linearize Simscape Networks
You can linearize models with Simscape™ components using Simulink Control Design software.