主要内容

linio

创建线性分析点金宝appmodel, Linear Analysis Plots block, or Model Verification block

Description

example

io= linio(block,port)创建一个线性化I/O对象,该对象表示来自指定输出的信号的输入扰动分析点port模拟金宝app®block

example

io= linio(block,port,type)creates an analysis point of the specifiedtype

example

io= linio(block,port,type,[],buselement)creates an analysis point for an element of a bus signal.

Examples

collapse all

打开的si金宝appmulink模型。

open_system('magball')

To specify multiple analysis points for linearization, create a vector of linearization I/O objects.

Create an input perturbation analysis point at the output port of the Controller block.

io(1) = linio(``弹力/控制器'',1);

在磁性球植物块的输出处创建一个开环输出分析点。开环输出点是输出测量值,然后是循环开口。

io(2) = linio('magball/Magnetic Ball Plant',1,'openoutput');

View the specified analysis points.

io
1x2 vector of Linearization IOs: -------------------------- 1. Linearization input perturbation located at the following signal: - Block: magball/Controller -端口:1 2.线性化开环输出位于以下信号: - 块:磁铁/磁球植物 - 端口:1

您可以使用这些分析点仅线性化磁性球植物子系统。为此,通过ioto thelinearizecommand or to anSllinearizerinterface.

与直接在Simulink模型中指定分析点不同,当您使用金宝applinio, no annotations are added to the model.

打开的si金宝appmulink模型。

mdl ='scdbusselection';Open_System(MDL)

TheCOUNTERBUS信号起源于交换器块,包含多个总线元素。

指定upper_saturation_limit总线元素作为线性化输入。使用点表示法选择此元素,因为它在嵌套limits公共汽车。

io = linio('scdbusselection/contrabcreator',1,'input',[],。。。'limits.upper_saturation_limit');

Input Arguments

collapse all

金宝appSimulink块从中起源于该块,该块指定为包含其完整块路径的字符向量或字符串。例如,在控制器块的输出处标记一个分析点magball模型,指定blockas``弹力/控制器''

Output port ofblock分析点起源于其中,指定为正整数。

port必须是指定的有效端口号block

分析点类型,指定为以下之一:

  • 'input'— Input perturbation

  • 'output'- 输出测量

  • 'loopbreak'——循环打破

  • 'openinput'— Open-loop input

  • 'openoutput'— Open-loop output

  • 'looptransfer'- 循环转移

  • '灵敏度'— Sensitivity

  • 'compsensitivity'— Complementary sensitivity

For more information on analysis point types, seeSpecify Portion of Model to Linearize

Bus element name, specified as a character vector or string. When adding elements within a nested bus structure, use dot notation to access the elements of the nested bus. For an example, seeSelect Individual Bus Element as Analysis Point

Output Arguments

collapse all

Analysis point, returned as a linearization I/O object. Useio指定一个林earization input, output, or loop opening when using thelinearizecommand. For more information, seeSpecify Portion of Model to Linearize

Each linearization I/O object has the following properties:

财产 Description
积极的

标志指示是否使用分析点进行线性化,指定为以下一个:

  • 'on'— Use the analysis point for linearization. This value is the default option.

  • '离开'— Do not use the analysis point for linearization. Use this option if you have an existing set of analysis points and you want to linearize a model with a subset of these points.

堵塞

Full block path of the block with which the analysis point is associated, specified as a character vector.

Portnumber

与分析点关联的输出端口,指定为整数。

类型

分析点类型,指定为以下之一:

  • 'input'— Input perturbation

  • 'output'- 输出测量

  • 'loopbreak'——循环打破

  • 'openinput'— Open-loop input

  • 'openoutput'— Open-loop output

  • 'looptransfer'- 循环转移

  • '灵敏度'— Sensitivity

  • 'compsensitivity'— Complementary sensitivity

For more information on analysis point types, seeSpecify Portion of Model to Linearize

BusElement

Bus element name with which the analysis point is associated, specified as a character vector or''如果分析点不是总线元素。

Description

User-specified description of the analysis point, which you can set for convenience, specified as a character vector.

替代功能

模型线性化器

您可以使用模型线性化器。有关更多信息,请参见指定模型的一部分以在模型线性化中线性化

金宝app模型

You can also specify analysis points directly in a Simulink model. When you do so, the analysis points are saved within the model. For more information, see指定模型的一部分,以在Simulink模型中线性化金宝app

SllinearizerslTuner接口

如果要从线性化系统中获得多个开环或闭环传输函数,而无需重新编译模型,则可以使用一个线性分析点Sllinearizerinterface. For more information, seeMark Signals of Interest for Batch Linearization。Similarly, if you want to tune a control system and obtain multiple open-loop or closed-loop transfer functions from the resulting system, you can specify linear analysis points using anslTunerinterface. For more information, seeMark Signals of Interest for Control System Analysis and Design

在R2006a之前引入