# 状态空间表示

状态空间表示是动态系统的一种数学模型，其中系统的内部变量被汇集为一个状态向量，通过一组一阶微分方程或差分方程演化，而测量输出由状态和输入计算得出。<sup>[1](https://www.mathworks.com/help/ident/state-space-models.html)</sup> 它用写成矩阵形式的n个耦合一阶方程取代单个n阶微分方程，是现代控制理论的标准建模语言。<sup>[2](https://lpsa.swarthmore.edu/Representations/SysRepSS.html)</sup><sup> • </sup><sup>[3](https://www.engineeringdevotion.com/control-systems/chapter-23-state-space-representation-of-systems.html)</sup>

| 关键事实 | 详情 |
|---|---|
| 状态的定义 | 在t₀时刻已知、连同t ≥ t₀的输入一起，能完全确定系统此后全部行为的最小变量集合<sup>[4](https://modeling-and-simulation-book-fet-edu-em-control--aa8411c2554302.pages.gitlab.kuleuven.be/Content/State_space_model.html)</sup> |
| LTI形式 | ẋ = Ax + Bu，y = Cx + Du，其中A（动态）、B（输入）、C（输出）、D（直通）均为常矩阵<sup>[5](https://www.cds.caltech.edu/~murray/books/AM05/pdf/fbs-modeling_04Jun15.pdf)</sup> |
| 传递函数 | G(s) = C(sI − A)⁻¹B + D；A的特征值即G(s)的极点<sup>[4](https://modeling-and-simulation-book-fet-edu-em-control--aa8411c2554302.pages.gitlab.kuleuven.be/Content/State_space_model.html)</sup> |
| 非唯一性 | 给定系统有无穷多个状态空间表示；状态变量的数目在所有表示中都相同<sup>[4](https://modeling-and-simulation-book-fet-edu-em-control--aa8411c2554302.pages.gitlab.kuleuven.be/Content/State_space_model.html)</sup> |
| 结构性检验 | 可控性和可观测性通过可控性矩阵[B AB … Aⁿ⁻¹B]和可观测性矩阵[C; CA; …; CAⁿ⁻¹]的秩来检验，二者都必须等于n<sup>[6](https://live.ocw.mit.edu/courses/16-83x-space-systems-engineering-spring-2002-spring-2003/f36ac5cd49a5c5980721d5897c125293_form_flight_cont.pdf)</sup> |
| 适用范围 | 适用于线性或非线性、时不变或时变、单输入单输出或多输入多输出系统，不同于经典传递函数仅限线性时不变SISO系统<sup>[4](https://modeling-and-simulation-book-fet-edu-em-control--aa8411c2554302.pages.gitlab.kuleuven.be/Content/State_space_model.html)</sup> |
| 起源 | 鲁道夫·E·卡尔曼（Rudolf E. Kalman）约1960年的工作引入了线性状态空间系统理论以及可控性和可观测性<sup>[7](https://www.tandfonline.com/doi/full/10.1080/08898480.2018.1553393)</sup> |

## 定义与标准形式

系统的状态为预测未来而概括其过去。对于物理系统，状态反映质量、动量和能量的存储，而一个核心的建模决策是必须以多高的精度表示这种存储。<sup>[8](https://www.cds.caltech.edu/~murray/books/AM08/pdf/fbs-ipad_11Apr10.pdf)</sup> 状态变量汇集为向量x ∈ ℝⁿ，控制输入为u ∈ ℝᵖ，测量输出为y ∈ ℝ<sup>q</sup>，给出一般模型

\[ \frac{dx}{dt} = f(x,u), \qquad y = h(x,u). \]

当f和h对x和u为线性时，模型称为线性的；当f和h不显含时间时，称为时不变的。线性时不变（LTI）模型取矩阵形式ẋ = Ax + Bu，y = Cx + Du。<sup>[5](https://www.cds.caltech.edu/~murray/books/AM05/pdf/fbs-modeling_04Jun15.pdf)</sup> 在非线性情形下，围绕工作点或沿轨线线性化，得到结构相同但矩阵为时变的A(t)、B(t)、C(t)、D(t)的模型。<sup>[4](https://modeling-and-simulation-book-fet-edu-em-control--aa8411c2554302.pages.gitlab.kuleuven.be/Content/State_space_model.html)</sup><sup> • </sup><sup>[9](https://www.mathworks.com/help/control/ug/ltv-and-lpv-modeling.html)</sup>

矩阵A称为动态矩阵，B将输入映射到状态动态，C将状态映射到输出，D是直接直通矩阵，它只出现在输出方程中，通常设为零。<sup>[5](https://www.cds.caltech.edu/~murray/books/AM05/pdf/fbs-modeling_04Jun15.pdf)</sup><sup> • </sup><sup>[10](https://ssm-foundations.brandon-behring.dev/chapters/ch01-linear-odes/)</sup> 在连续时间系统中，积分器的输出充当自然的状态变量，所需状态变量的数目等于系统中积分器的数目。<sup>[4](https://modeling-and-simulation-book-fet-edu-em-control--aa8411c2554302.pages.gitlab.kuleuven.be/Content/State_space_model.html)</sup>

## 与传递函数的关系

传递函数G(s)将输入的拉普拉斯变换映射为输出的拉普拉斯变换，通常假定初始条件为零，且只描述外部输入-输出行为。<sup>[11](https://mohammadijoo.github.io/CaaT_Academy/Lectures/Modern_Control_Course/Chapter04/Lesson5.html)</sup> 对LTI状态方程取拉普拉斯变换，得到用状态空间矩阵表示的传递函数矩阵：

\[ G(s) = C(sI - A)^{-1}B + D. \]

由于该表达式的分母是行列式|sI − A|，A的特征值与G(s)的极点完全相同。<sup>[4](https://modeling-and-simulation-book-fet-edu-em-control--aa8411c2554302.pages.gitlab.kuleuven.be/Content/State_space_model.html)</sup> 反向转换同样可行：一个n阶微分方程，或右端含有激励函数导数的传递函数，可以通过适当选择状态变量、从状态方程中消去输入导数，写成状态空间形式。<sup>[4](https://modeling-and-simulation-book-fet-edu-em-control--aa8411c2554302.pages.gitlab.kuleuven.be/Content/State_space_model.html)</sup>

两种视角承载不同的信息。在宽松的假设下，二者描述相同的强迫输入-输出行为，但状态空间模型还能通过C(sI − A)⁻¹x(0)项预测自然响应，该项依赖于初始状态。<sup>[11](https://mohammadijoo.github.io/CaaT_Academy/Lectures/Modern_Control_Course/Chapter04/Lesson5.html)</sup> 传递函数说明给定输入会产生什么输出，对内部发生的事一无所知；状态模型则揭示系统的内部能量存储。<sup>[3](https://www.engineeringdevotion.com/control-systems/chapter-23-state-space-representation-of-systems.html)</sup>

## 历史背景

数学控制理论可追溯到詹姆斯·克拉克·麦克斯韦（James Clerk Maxwell）1868年的论文《论调速器》，该文将詹姆斯·瓦特（James Watt）离心调速器的稳定性表述为多项式根的一个判据。整个20世纪30年代和40年代，该领域依赖亨德里克·博德（Hendrik Bode）、哈里·奈奎斯特（Harry Nyquist）等人发展的频域方法，用传递函数即单个复变量的真有理函数来描述系统，以极点判定稳定性。<sup>[12](https://www.sfipress.org/15-kalman-1960)</sup>

这种刺激-响应范式有三个局限：它主要处理时不变系统；它是为单输入单输出系统发展的，而诸如化工过程控制等应用通常涉及多个输入和输出；外部稳定性分析无法解释输出到输入反馈也无法补偿的内部不稳定性。<sup>[12](https://www.sfipress.org/15-kalman-1960)</sup> 1960年，鲁道夫·E·卡尔曼发表了两项贡献，一项关于线性状态空间系统理论，一项关于线性二次最优控制，其论文《对最优控制理论的贡献》引入并运用了可控性和可观测性的概念。<sup>[7](https://www.tandfonline.com/doi/full/10.1080/08898480.2018.1553393)</sup><sup> • </sup><sup>[13](https://ntrl.ntis.gov/NTRL/dashboard/searchResults/titleDetail/AD724842.xhtml)</sup> 他1963年发表于工业与应用数学学会的论文表明，在线性情形下，输入-输出关系只决定系统完全可观测且完全可控的那部分，并给出了计算给定冲激响应矩阵的不可约实现的方法。<sup>[14](https://epubs.siam.org/doi/10.1137/0301010)</sup>

## 可控性、可观测性与最小性

可控性指输入对状态的影响：如果任意初始状态都能在有限时间内转移到期望轨线（通常是原点），则系统是可控的。可观测性指从输出测量重构状态的可能性。<sup>[15](https://mitter.lids.mit.edu/publications/11_controllability_pole_IEEEAC.pdf)</sup> 对于具有n个状态的连续时不变线性模型，系统可控当且仅当可控性矩阵满秩n，可观测当且仅当可观测性矩阵满秩n。<sup>[6](https://live.ocw.mit.edu/courses/16-83x-space-systems-engineering-spring-2002-spring-2003/f36ac5cd49a5c5980721d5897c125293_form_flight_cont.pdf)</sup><sup> • </sup><sup>[16](https://direct.mit.edu/netn/article/4/4/1122/95837/Models-of-communication-and-control-for-brain)</sup>

这些性质之所以重要，是因为传递函数的状态空间实现并不唯一。实现(A, B, C, D)是最小的——即A具有尽可能小的维数——当且仅当(A, B)可控且(A, C)可观测。<sup>[17](https://www.sciencedirect.com/topics/engineering/observable-realization)</sup> 同一LTI系统的任意两个最小实现由唯一的可逆相似变换T相联系，Ã = T⁻¹AT，B̃ = T⁻¹B，C̃ = CT，D̃ = D。<sup>[18](https://doi.org/10.1016%2FS0377-0427%2800%2900341-1)</sup> 传递函数中的零极点相消对应不可控或不可观测的模态：在一个标准的两状态例子中，s = −a处有相消极点，系统可控但不可观测，因为e^(−at)模态被一个零点从输出中消去。<sup>[19](https://dspace.mit.edu/bitstream/handle/1721.1/68647/16-31-fall-2007/contents/lecture-notes/topic12.pdf)</sup>

## 状态变量的选择与规范形

给定系统的状态空间表示不唯一：无穷多种状态变量的选择描述相同的输入-输出行为，尽管状态变量的数目是固定的。<sup>[4](https://modeling-and-simulation-book-fet-edu-em-control--aa8411c2554302.pages.gitlab.kuleuven.be/Content/State_space_model.html)</sup> 状态变量不必是物理上可测量的量，这种自由是该方法的一个优点，尽管实践中选择可测量量比较方便，因为最优控制律需要全部状态的反馈。<sup>[4](https://modeling-and-simulation-book-fet-edu-em-control--aa8411c2554302.pages.gitlab.kuleuven.be/Content/State_space_model.html)</sup> 对于非线性系统，这种选择是一项真正非平凡的建模任务；不同的选择会影响仿真中的状态-事件实现，并显著影响精度和效率。<sup>[20](https://authors.library.caltech.edu/records/dkhn7-4n352)</sup>

常见的结构化选择是规范形，包括模态形、伴随形、可观测形和可控形，它们将A、B、C的许多元素固定为零和一。<sup>[1](https://www.mathworks.com/help/ident/state-space-models.html)</sup> 麻省理工学院（MIT）的课程讲义列出了四种经典规范形：观测器形、控制器形、可控性形和可观测性形，各有不同用途。<sup>[21](https://web.mit.edu/16.31/www/Fall06/New_topic8.pdf)</sup>

## 计算方面的考虑

MATLAB的控制系统工具箱等软件以四种方式表示LTI系统：传递函数（TF）、零极点增益（ZPK）、状态空间（SS）和频率响应数据（FRD）。TF和ZPK形式紧凑、便于显示，但用它们进行计算会产生高阶多项式，其求值可能严重损失精度，甚至溢出；文档建议大多数计算使用SS或FRD。<sup>[22](https://uk.mathworks.com/help/control/ug/using-the-right-model-representation.html)</sup> 在一个有据可查的例子中，聚集根附近传递函数值的相对误差超过100%，在100 rad/s以下产生紊乱的频率响应结果，而等效的SS、ZPK和FRD计算则一致。<sup>[22](https://uk.mathworks.com/help/control/ug/using-the-right-model-representation.html)</sup>

表示之间的转换也有代价。将状态空间模型转换为传递函数形式再转换回来，可能使MIMO系统的模型阶数膨胀；在有据可查的例子中，一个3状态双输入双输出模型返回为6状态模型，带有相消的零极点对，`minreal`命令将其除去以恢复最小的3状态实现。<sup>[22](https://uk.mathworks.com/help/control/ug/using-the-right-model-representation.html)</sup>

## 应用

状态空间模型用于多变量、时变或非线性行为使传递函数方法失效的各个工程领域，包括航空航天飞行控制、机器人学、电力系统和过程控制。<sup>[23](https://technav.ieee.org/topic/state-space-methods/)</sup> 航空航天系统天然适合线性时变和线性参数变化的状态空间模型，因为飞机质量随燃料消耗而变化，气动系数随马赫数变化；这类模型要么解析建立，要么在一组工作条件网格上对线性化进行插值。<sup>[9](https://www.mathworks.com/help/control/ug/ltv-and-lpv-modeling.html)</sup> 在系统辨识中，线性状态空间结构因只需指定一个参数——模型阶数n，等于x(t)的维数——而有利于快速估计；状态本身由测得的输入-输出数据重构，而非直接测量。<sup>[1](https://www.mathworks.com/help/ident/state-space-models.html)</sup>

这种表示在机器学习中也重新崭露头角。控制理论中的线性状态空间模型支撑了一类序列建模架构，关于这些状态空间模型的综述称其直接借鉴了控制理论中的线性动态系统。<sup>[24](https://arxiv.org/abs/2403.16899)</sup><sup> • </sup><sup>[25](https://arxiv.org/abs/2503.11224)</sup> 时变状态空间系统——其中A(t)、B(t)、C(t)、D(t)随时间变化——是Mamba选择性扫描的设定，这是该形式的一个典型机器学习例子。<sup>[10](https://ssm-foundations.brandon-behring.dev/chapters/ch01-linear-odes/)</sup>

## References

1. [State-Space Models, MATLAB & Simulink documentation, MathWorks](https://www.mathworks.com/help/ident/state-space-models.html)
2. [State Space Representations of Linear Physical Systems, Swarthmore College](https://lpsa.swarthmore.edu/Representations/SysRepSS.html)
3. [State-Space Representation of Systems, Engineering Devotion](https://www.engineeringdevotion.com/control-systems/chapter-23-state-space-representation-of-systems.html)
4. [Linear state space model, Control Systems and Applications, KU Leuven](https://modeling-and-simulation-book-fet-edu-em-control--aa8411c2554302.pages.gitlab.kuleuven.be/Content/State_space_model.html)
5. [Feedback Systems, Chapter 2 (modeling), Richard M. Murray, Caltech](https://www.cds.caltech.edu/~murray/books/AM05/pdf/fbs-modeling_04Jun15.pdf)
6. [State Space Representation Tools, MIT 16.83x Space Systems Engineering](https://live.ocw.mit.edu/courses/16-83x-space-systems-engineering-spring-2002-spring-2003/f36ac5cd49a5c5980721d5897c125293_form_flight_cont.pdf)
7. [Kalman 1960: The birth of modern system theory, Mathematical Population Studies](https://www.tandfonline.com/doi/full/10.1080/08898480.2018.1553393)
8. [System Modeling, Feedback Systems, Richard M. Murray, Caltech](https://www.cds.caltech.edu/~murray/books/AM08/pdf/fbs-ipad_11Apr10.pdf)
9. [LTV and LPV Modeling, MATLAB & Simulink documentation, MathWorks](https://www.mathworks.com/help/control/ug/ltv-and-lpv-modeling.html)
10. [Linear ODEs as state-space systems, SSM Foundations](https://ssm-foundations.brandon-behring.dev/chapters/ch01-linear-odes/)
11. [Comparison: State-Space vs Transfer Function Perspectives, Modern Control Course, CaaT Academy](https://mohammadijoo.github.io/CaaT_Academy/Lectures/Modern_Control_Course/Chapter04/Lesson5.html)
12. [The State–Space Revolution in the Study of Complex Systems, Maxim Raginsky, SFI Press](https://www.sfipress.org/15-kalman-1960)
13. [Contributions to the Theory of Optimal Control, R. E. Kalman, National Technical Reports Library](https://ntrl.ntis.gov/NTRL/dashboard/searchResults/titleDetail/AD724842.xhtml)
14. [Mathematical Description of Linear Dynamical Systems, R. E. Kalman, SIAM Journal on Control and Optimization](https://epubs.siam.org/doi/10.1137/0301010)
15. [Controllability and State Reconstruction, J. C. Willems and S. K. Mitter, IEEE Transactions on Automatic Control](https://mitter.lids.mit.edu/publications/11_controllability_pole_IEEEAC.pdf)
16. [Models of communication and control for brain networks, Network Neuroscience, MIT Press](https://direct.mit.edu/netn/article/4/4/1122/95837/Models-of-communication-and-control-for-brain)
17. [Observable Realization, ScienceDirect Topics](https://www.sciencedirect.com/topics/engineering/observable-realization)
18. [Minimal state-space realization in linear system theory: an overview, Journal of Computational and Applied Mathematics](https://doi.org/10.1016%2FS0377-0427%2800%2900341-1)
19. [State-Space Systems, Topic 12, Jonathan How, MIT 16.31 Fall 2007](https://dspace.mit.edu/bitstream/handle/1721.1/68647/16-31-fall-2007/contents/lecture-notes/topic12.pdf)
20. [On choosing state variables for piecewise-smooth dynamical system simulations, Nonlinear Dynamics, CaltechAUTHORS](https://authors.library.caltech.edu/records/dkhn7-4n352)
21. [State-Space Systems, Topic 8, MIT 16.31 Feedback Control](https://web.mit.edu/16.31/www/Fall06/New_topic8.pdf)
22. [Using the Right Model Representation, MATLAB & Simulink documentation, MathWorks](https://uk.mathworks.com/help/control/ug/using-the-right-model-representation.html)
23. [State-space methods, IEEE Technology Navigator](https://technav.ieee.org/topic/state-space-methods/)
24. [State Space Models as Foundation Models: A Control Theoretic Overview, arXiv](https://arxiv.org/abs/2403.16899)
25. [Technologies on Effectiveness and Efficiency: A Survey of State Spaces Models, alphaXiv](https://arxiv.org/abs/2503.11224)

---
*Initially written Sep 17, 2026 · Reviewed: Sep 30, 2026; Oct 15, 2026 · Edited: Sep 30, 2026; Oct 15, 2026 · Last review: Oct 15, 2026*

Topic: 物质世界与数学 › 数学与统计学 › 数学分析与数学模型 › Ordinary differential equations

Copyright 2026 Edgepedia

License: Edgepedia Community License 1.0, https://www.edgepedia.org/edgepedia/license

Source: https://www.edgepedia.org/zh/state-space-representation

English original: https://www.edgepedia.org/state-space-representation
