Control Design 工具箱

已知Simulink模型,计算平衡点

系统的平衡点,或称系统的稳定运行点,此运行点满足 dx/dt=0, x(k+1)-x(k)=0, and y=ydes.
方法:
Functions:
findop 、findopOptions
Apps:
Linear Analysis Tool 、Steady State Manager

  • Steady State Manager工具箱
    Analysis > Control Design > Steady State Manager.

Linear Analysis Tool

功能:
在这里插入图片描述

计算平衡点
Linearize(在某运行点处 线性化)
step
Bode
奈圭斯特
特征根分布
根轨迹
矫正
After trimming your model, you can: (求得运行点(平衡点)后,你可以):

  • Linearize your model at the resulting operating point. For more information, see Linearize at Trimmed Operating Point.

  • Simulate your model at the resulting operating point. For more information, see Simulate Simulink Model at Specific Operating Point.

This example shows how to linearize a model at a trimmed steady-state operating point (equilibrium operating point) using the Linear Analysis Tool.

设置 Setting

输入输出

在这里插入图片描述
其中:
Model I/Os

Root level imports and outports
在这里插入图片描述

优缺点

  • When you compute an operating point using Linear Analysis Tool, the software does not highlight constraint violations. Instead, you must inspect the operating point report information for any violations.

  • If you trim the model from the preceding Steady State Manager example using the same specifications in the Linear Analysis Tool, the software creates an operating point in the Data Browser, in the Linear Analysis Workspace.

在这里插入图片描述

findop

sys = ‘scdairframeTRIM’;
open_system(sys)
alpha_ini = -0.21;
v_ini = 933;
%Create an operating point specification object, and specify which states are known and which are at steady state
opspec = operspec(sys);
opspec.States(1).Known = [1;1];
opspec.States(1).SteadyState = [0;1];
opspec.States(3).Known = [1;1];
opspec.States(3).SteadyState = [0;1];
opspec.States(2).Known = 1;
opspec.States(2).SteadyState = 0;
opspec.States(4).Known = 0;
opspec.States(4).SteadyState = 1;
%Trim the model.(计算指定条件下(spec)的平衡点)
op = findop(sys,opspec);

检查由以上方法计算得出的平衡点的有效性

To validate your operating point against the specifications,

相关文档

Compute Operating Points from Specifications at the Command Line(findop 、findopOptions

Compute Operating Points from Specifications Using Steady State Manager

Compute Operating Points from Specifications Using Linear Analysis Tool

Specify Portion of Model to Linearize

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值