可调的固定顺序空间模型
blk = tunableSS(name,Nx,Ny,Nu)
blk = tunableSS(name,Nx,Ny,Nu,Ts)
blk = tunabless(name,sys)
blk = tunableSS(...,Astruct)
Model object for creating tunable fixed-order state-space models.tunableSS
让您可以参数为参数研究的给定订单的状态空间模型或使用调谐命令进行自动调整(例如系统tune
或者looptune
。
tunableSS
是Control Design Block参数模型家族。其他控制设计块包括tunablePID
,tunableGain
, 和tunableTF
。
creates the continuous-time parametric state-space model namedblk
= tunabless(姓名
,nx
,纽约
,nu
)姓名
。这state-space modelblk
有nx
states,纽约
outputs, andnu
输入。可调参数是A,B,C, 和D状态空间模型的矩阵。
creates a discrete-time parametric state-space model with sample timeblk
= tunabless(姓名
,nx
,纽约
,nu
,TS
)TS
。
uses the dynamic systemblk
= tunabless(姓名
,系统
)系统
to dimension the parametric state-space model, set its sample time, and initialize the tunable parameters.
creates a parametric state-space model whoseblk
= tunabless(。。。,astruct
)A
matrix is restricted to the structure specified inastruct
。
|
Parametric state-space model |
||||||||
|
非负整数指定参数状态空间模型的状态数(顺序) |
||||||||
|
Nonnegative integer specifying the number of outputs of the parametric state-space model |
||||||||
|
Nonnegative integer specifying the number of inputs of the parametric state-space model |
||||||||
|
Scalar sample time. |
||||||||
|
对形式的约束
If you do not specify |
||||||||
|
动态系统模型提供状态数,输入和输出的数量,样本时间以及参数的初始值 |
|
Parametrization of the state-space matricesA,B,C, 和Dof the tunable state-space model
这following fields of
|
||||||||||
|
State names, specified as one of the following:
Default: |
||||||||||
|
State units, specified as one of the following:
利用 Default: |
||||||||||
|
Sample time. For continuous-time models, Changing this property does not discretize or resample the model. Default: |
||||||||||
|
Units for the time variable, the sample time
更改此属性对其他属性没有影响,因此改变了整体系统行为。利用 Default: |
||||||||||
|
Input channel names, specified as one of the following:
Alternatively, use automatic vector expansion to assign input names for multi-input models. For example, if sys.inputName ='controls'; 这input names automatically expand to You can use the shorthand notation Input channel names have several uses, including:
Default: |
||||||||||
|
Input channel units, specified as one of the following:
利用 Default: |
||||||||||
|
输入通道组。这 系统。InputGroup.controls = [1 2]; sys.InputGroup.noise = [3 5]; 创建名称的输入组 系统(:,'controls') Default:Struct with no fields |
||||||||||
|
Output channel names, specified as one of the following:
Alternatively, use automatic vector expansion to assign output names for multi-output models. For example, if sys.outputname= 'measurements'; 这output names automatically expand to You can use the shorthand notation 输出频道名称有多种用途,包括:
Default: |
||||||||||
|
Output channel units, specified as one of the following:
利用 Default: |
||||||||||
|
Output channel groups. The 系统。OutputGroup.temperature = [1]; sys.InputGroup.measurement = [3 5]; 创建命名的输出组 sys(“测量”,:) Default:Struct with no fields |
||||||||||
|
System name, specified as a character vector. For example, Default: |
||||||||||
|
您要与系统相关联的任何文本,以字符串或字符向量的单元格数组存储。属性存储您提供的任何数据类型。例如,如果 sys1.notes ="sys1 has a string.";sys2.notes =“ SYS2具有角色向量。”;系统1.Notes sys2.Notes ans = "sys1 has a string." ans = 'sys2 has a character vector.' Default: |
||||||||||
|
Any type of data you want to associate with system, specified as any MATLAB®data type. Default: |
创建一个零的参数化的5阶SISO模型D
矩阵。
blk = tunabless('ssblock',5,1,1);blk.d.value = 0;%设置d = 0 blk.d.free = false;%修复D为零
默认情况下,A
矩阵为三角形形式。要以伴侣形式参数化模型,请使用'伴侣'
input argument:
blk = tunableSS('ssblock',5,1,1,'companion'); blk.D.Value = 0; % set D = 0 blk.D.Free = false; % fix D to zero
Create a parametric state-space model, and assign names to the inputs.
blk = tunableSS('ssblock',5,2,2) % 5 states, 2 outputs, 2 inputs blk.InputName = {'Xerror','Yerror'} % assign input names
利用theastruct
input argument to constrain the structure of theA
matrix of the parametric state-space model. To impose additional structure constrains on the state-space matrices, use the fieldsblk.a.free
,blk.B.Free
,blk.C.Free
, 和blk.D.Free
修复参数矩阵中特定条目的值。
例如,修复blk.B(i,j)
, setblk.b.free(i,j)= 0
。允许hinfstruct
(强大的控制工具箱)调blk.B(i,j)
, setblk.b.free(i,j)= 1
。
To convert atunableSS
parametric model to a numeric (non-tunable) model object, use model commands such asSS
,TF
, 或者zpk
。
tunablePID
|tunablePID2
|tunableGain
|tunableTF
|系统tune
|looptune
|genss
|hinfstruct
(强大的控制工具箱)