主要内容

Uncertain State Space

模拟不确定的系统金宝app

  • Library:
  • 强大的控制工具箱

  • Uncertain State Space block

Description

不确定的状态空间块使您可以模拟simulink中的参数和动态不确定性金宝app®。该街区接受不确定的状态空间(USS) models or any model that can be converted toUSS, such asumat,ureal,umargin, 和Ultidynobjects.

端口

输入

expand all

For a single-input uncertain system, the input signal is a scalar. For multiple-input systems, combine the system inputs into a vector signal, using blocks such as:

Output

expand all

For a single-output uncertain system, the output signal is a scalar. For multiple-output systems, the output signal is a vector. To split system outputs into scalar signals, use blocks such as:

Parameters

expand all

Specify the uncertain model to simulate asUSSobject using one of the following:

  • Function or expression that evaluates to anUSSobject. For example:

    • ss(ureal('a',-5),5,1,1)

    • wt*input_unc, whereinput_uncis anUltidynobject andwtinput_unc在MATLAB中定义®workspace.

  • MATLAB工作区中定义的可变。例如,unc_sys, where you defineunc_sys=ss(ureal('a',-5),5,1,1)在工作区。

  • 任何可以转换为一个类型的模型USSmodel object. For example:

    • LTI models (tf,ZPKss)

    • Uncertain matrix (umat)

    • Uncertain real parameters (ureal)

    • 不确定的动态(Ultidyn,umargin)

当该块在具有同步状态控制的模型中时(请参阅国家控制(HDL Coder)block), you must specify a discrete-time model.

Programmatic Use

块参数:USystem
Type:USS模型,可以转换为USS
Default:ss(ureal('a',-5),5,1,1)

TheUSS您在不确定的系统变量(USS)parameter depends on uncertain variables such asureal或者Ultidyn不确定。为了模拟或线性化不确定的模型,块必须用固定值替换这些不确定的变量。使用此参数为下一个模拟或线性化指定那些固定值。使用一个字段是该结构,其字段是不确定元素的名称USS模型和的值替代值啊f those elements. For example:

  • If theUSSmodel has uncertain real (ureal) parameters with namesab, then setting this parameter tostruct('a',1,'b',3.5)replacesawith 1b有3.5。

  • If theUSS模型具有由A表示的动态不确定性Ultidynelement named'delta', then setting this parameter tostruct('delta',tf(1,[1 1]))replaces the uncertain dynamics with the specified transfer function.

To generate randomized values of uncertain variables for Monte Carlo simulation, useufindusample, as shown in the examplesSimulate Uncertain Model at Sampled Parameter ValuesVary Uncertain Values Across Multiple Uncertain Blocks

The default value[]将所有不确定元素设置为其名义值。请注意,名义价值Ultidynuncertain dynamics is always 0, and the nominal value ofumargingain and phase uncertainty is always 1.

Programmatic Use

块参数:紫外线
Type:结构体
Default:[]

If the nominal value of the uncertain system you specify in the不确定的系统变量(USS)parameter has dynamics, you can use this parameter to specify initial values for those states. Specify the initial states as a vector having as many entries as there are states. The default value of[]initializes all states to 0.

Programmatic Use

块参数:X0
Type:scalar, vector
Default:[]

If the uncertain system contains some dynamic uncertainty (Ultidyn或者umargin), then you can use theUncertainty value (struct or [] to use nominal value)参数用特定的动力学代替该不确定性以进行仿真。使用Initial states (uncertain dynamics)参数以指定这些动力学的初始状态。将初始状态指定为具有与处于状态一样多的条目的向量。的默认值[]initializes all states to 0.

Programmatic Use

块参数:uX0
Type:scalar, vector
Default:[]

Version History

Introduced in R2009b