主要内容

Estimate State-Space Models in System Identification App

先决条件

  1. SelectEstimate>State Space Models

    将打开“状态空间模型”对话框。

    Tip

    For more information on the options in the dialog box, click帮助

  2. 型号名称displays the default model name. To change the name, enter a new name. The name of the model must be unique in the Model Board.

  3. 选择指定值选项(如果尚未选择)并在“编辑”字段中指定模型顺序。模型顺序是指状态空间模型中的状态数。

    Tip

    When you do not know the model order, search for and select an order. For more information, seeEstimate Model With Selected Order in the App

  4. 选择连续时间或者Discrete-time选项指定要估计的模型类型。

    如果工作数据是连续时间频域数据,则无法估计离散时间模型。

  5. Specify the elements to include in the model structure, including feedthrough (D矩阵)和扰动组件(K矩阵。)通过从选项中选择选项,指定模型表单,例如规范形式Form。要指定延迟,请展开Delay部分。

    For more information about the type of state-space parameterization, see金宝app支持的状态空间参数化

  6. 选择估算选项tab to select the estimation method and configure the cost function.

    Select one of the methods inEstimation method并配置选项。有关这些方法的更多信息,请参阅状态空间模型估计方法

    子空间(N4SID)

    预测误差最小化(PEM)

    Regularized Reduction

  7. ClickEstimateto estimate the model. A new model gets added to the System Identification app.

下一步

分配估计权重

您可以指定估计算法如何在各种频率和应用程序使用的频率范围内重量拟合。在应用程序中,设置Estimation Focusto one of the following options:

  • Prediction- 使用输入频谱的比率Uto the inverse of the noise modelH重量全频范围跨越数据的相对重要性。该加权对应于最小化一步预测,其通常在短时间内贴合拟合。优化用于输出预测应用。

  • 模拟- 仅使用输入频谱,而不是噪声模型,用于加权。优化输出仿真应用。

You can apply a passband to limit the frequency range over which the estimation algorithm performs the fit.

有关估计加权的更多信息,请参阅截图Focus加权Options in损失函数和模型质量指标