状态空间模型
具有自由、标准和结构化参数化的状态空间模型;等效 ARMAX 和输出-误差 (OE) 模型
状态空间模型使用状态变量通过一组一阶微分方程或差分方程(而非一个或多个 n 阶微分方程或差分方程)来描述系统。如果一阶差分方程组对于状态和输入变量是线性的,则该模型称为线性状态空间模型。
注意
一般来说,System Identification Toolbox™ 文档将线性状态空间模型简单地称为状态空间模型。您还可以使用灰盒和神经状态空间对象辨识非线性状态空间模型。有关详细信息,请参阅可用的非线性模型。
线性状态空间模型结构是快速估计的理想选择,因为您只需要指定一个参数,即模型阶数 n。模型阶数是一个等于 x(t) 维度的整数,与相应线性差分方程中使用的延迟输入和输出数目有关,但不一定等于该数量。状态变量 x(t) 可以根据测量的输入/输出数目据重新构造,但它们本身在试验期间无法测量。
在连续时间下定义参数化状态空间模型通常比在离散时间下更容易,因为物理定律通常用差分方程来描述。在连续时间下,线性状态空间描述采用以下形式:
矩阵 F、G、H 和 D 包含具有物理意义的元素,例如材料常数。K 包含扰动矩阵。x0 指定初始状态。
您可以同时使用时域和频域数据来估计连续时间状态空间模型。
离散时间线性状态空间模型结构通常以创新形式编写,它描述噪声:
这里,T 是采样时间,u(kT) 是 kT 时刻的输入,y(kT) 是 kT 时刻的输出。
您不能使用连续时间频域数据来估计离散时间状态空间模型。
有关详细信息,请参阅什么是状态空间模型?
App
| 系统辨识 | 从测量数据辨识动态系统模型 |
实时编辑器任务
| 估计状态空间模型 | Estimate state-space model using time or frequency data in the Live Editor |
函数
主题
状态空间模型基础知识
- 什么是状态空间模型?
状态空间模型使用状态变量通过一组一阶微分方程或差分方程(而非一个或多个 n 阶微分方程或差分方程)来描述系统。如果一阶差分方程组对于状态和输入变量是线性的,则该模型称为线性状态空间模型。 - 状态空间模型估计方法
在非迭代子空间方法、使用预测误差最小化算法的迭代方法和非迭代方法之间进行选择。 - Estimate State-Space Model with Order Selection
Select a model order for a state-space model structure in the app and at the command line. - 状态空间实现
一个状态空间模型可以由无限多种实现来表示。常见的形式(有时也称为典型形式)包括模态形式、伴随形式、可观测形式和可控制形式。 - 由状态空间模型支持的数据
您可以使用实数或复数的时域和频域数据,这些数据可以具有单个或多个输出。
估计状态空间模型
- Estimate State-Space Models in System Identification App
Use the app to specify model configuration options and estimation options for model estimation. - Estimate State-Space Models at the Command Line
Perform black-box or structured estimation. - Estimate State-Space Models with Canonical Parameterization
Canonical parameterization represents a state-space system in a reduced parameter form where many elements of A, B and C matrices are fixed to zeros and ones. - 估计 ARMAX 和 OE 模型的状态空间等效模型
本示例演示了如何使用状态空间估计方法对 ARMAX 和 OE 形式模型进行估计。 - Estimate State-Space Models with Free-Parameterization
Free Parameterization is the default; the estimation routines adjust all the parameters of the state-space matrices. - Use State-Space Estimation to Reduce Model Order
Reduce the order of a Simulink® model by linearizing the model and estimating a lower order model that retains model dynamics. - 基于特征系统实现算法 (ERA) 的系统辨识
使用特征系统实现算法 (ERA) 根据冲激响应数据估计状态空间模型。 - Estimate SISO State-Space Model Using AAA Algorithm
This example demonstrates how to identify a state-space model to fit the frequency response of a building vibration using the Adaptive Antoulas-Anderson (AAA) algorithm within thessestfunction. - Estimate MIMO State-Space Model Using AAA Algorithm
This example demonstrates how to identify a state-space model to fit a multi-input multi-output (MIMO) frequency response using the Adaptive Antoulas-Anderson (AAA) algorithm within thessestfunction.
结构化估计,创新形式
- Estimate State-Space Models with Structured Parameterization
Structured parameterization lets you exclude specific parameters from estimation by setting these parameters to specific values. - Identifying State-Space Models with Separate Process and Measurement Noise Descriptions
An identified linear model is used to simulate and predict system outputs for given input and noise signals.
设置状态空间模型选项
- 支持的状态空间参数化方法
System Identification Toolbox 软件支持多种参数化组合,用于确定哪些参数将被估计,哪些参数将保持固定值。 - 为迭代估计算法指定初始状态
在对状态空间模型进行估计时,您可以指定算法如何处理初始状态。此信息支持估计程序 Estimate State-Space Models in System Identification App 和 Estimate State-Space Models at the Command Line。