# 数字控制

数字控制是由数字计算机或微控制器实现的反馈控制：控制器对测量信号进行采样，将其转换为数字，根据差分方程计算控制作用，并通过数模转换器和保持电路输出。一个完整的回路包括被控过程、带采样器的A-D转换器、带保持器的D-A转换器、运行控制算法的计算机，以及可选的通信网络。<sup>[1](https://www.ifac-control.org/publications/list-of-professional-briefs/pb_wittenmark_etal_final.pdf)</sup> 数字控制器已取代了大多数模拟类型，因为计算机控制具有更大的灵活性、更简单的数据处理、更优越的灵敏度、更少的漂移效应、更低的噪声，以及以更低成本和更小尺寸实现的更高可靠性；其主要缺点是量化引入的误差。<sup>[2](https://www.eolss.net/sample-chapters/c18/E6-43-04.pdf)</sup> 控制器本身通常是PID的离散形式，PID可能占所有工业控制器的90%，其中90%为PI。<sup>[3](https://www.control.utoronto.ca/~jwsimpson/digital/ECE484-Instructor-2x1.pdf)</sup> 由于单片集成电路上的完整计算机成本往往低于5美元，经济性几乎在所有场合都有利于数字实现。<sup>[4](http://www.cs.mun.ca/~av/courses/7825-s16/manual_uploads/digital_control_part1.pdf)</sup>

| 关键事实 | 数值 |
|---|---|
| 回路元件 | 采样器、A/D、运行差分方程的计算机、D/A、零阶保持器<sup>[1](https://www.ifac-control.org/publications/list-of-professional-briefs/pb_wittenmark_etal_final.pdf)</sup> |
| 采样定理限制 | 不含高于\( \omega_{0} \)频率成分的信号，只有当采样频率超过\( 2\omega_{0} \)时才能重构<sup>[1](https://www.ifac-control.org/publications/list-of-professional-briefs/pb_wittenmark_etal_final.pdf)</sup> |
| 典型A/D分辨率 | 8–16位，即\( 2^{8} \)至\( 2^{16} \)个量化电平，通常比传感器更精细<sup>[1](https://www.ifac-control.org/publications/list-of-professional-briefs/pb_wittenmark_etal_final.pdf)</sup> |
| 保持引起的延迟 | 零阶保持器平均使信号延迟约\( T/2 \)；总回路延迟大致为\( T_{s}/2 \)至\( 3T_{s}/2 \)<sup>[5](https://cpjobling.github.io/eglm03-textbook/06/4/digictrl.html)</sup><sup> • </sup><sup>[6](https://ocw.mit.edu/courses/16-30-feedback-control-systems-fall-2010/25129dabd19249e15c1df8034335aafa_MIT16_30F10_lec20.pdf)</sup> |
| 采样率经验法则 | 约为闭环带宽的20倍或更快，以匹配连续控制器性能<sup>[4](http://www.cs.mun.ca/~av/courses/7825-s16/manual_uploads/digital_control_part1.pdf)</sup> |
| 稳定性边界 | 所有闭环极点位于单位圆\( |z| = 1 \)内<sup>[7](https://ctms.engin.umich.edu/CTMS/index.php?example=Introduction&section=ControlDigital)</sup> |
| 主导算法 | PID，可能占工业控制器的90%<sup>[3](https://www.control.utoronto.ca/~jwsimpson/digital/ECE484-Instructor-2x1.pdf)</sup> |

## 工作原理

连续误差信号每隔周期\( T \)被采样一次，由A/D转换器量化（通常为8、12或14位），计算机求解差分方程，其输出送至D/A和[零阶保持器](https://www.edgepedia.org/zh/zero-order-hold)，使执行器值在两次更新之间保持不变。<sup>[8](https://ocw.mit.edu/courses/16-06-principles-of-automatic-control-fall-2012/015a43af9f559c437f3e4ddd7be997ec_MIT16_06F12_Lecture_29.pdf)</sup> 分析使用z变换——[拉普拉斯变换](https://www.edgepedia.org/zh/laplace-transform)的离散对应物，定义为\( F(z) = \sum f(k) z^{-k} \)；其移位性质\( \mathcal{Z}\{f[k-1]\} = z^{-1}F(z) \)将差分方程转换为离散传递函数。<sup>[4](http://www.cs.mun.ca/~av/courses/7825-s16/manual_uploads/digital_control_part1.pdf)</sup> 保持器加被控对象的脉冲传递函数为\( G(z) = (1 - z^{-1})\,\mathcal{Z}\{G(s)/s\} \)；对于\( G(s) = a/(s+a) \)，这给出\( G(z) = (1 - e^{-aT})/(z - e^{-aT}) \)。<sup>[5](https://cpjobling.github.io/eglm03-textbook/06/4/digictrl.html)</sup> 稳定性在z平面上判定：当所有极点位于单位圆内时离散系统稳定，当任一极点位于单位圆外时不稳定。<sup>[7](https://ctms.engin.umich.edu/CTMS/index.php?example=Introduction&section=ControlDigital)</sup> 零阶保持器平均表现为\( T/2 \)的延迟，可用一阶滞后\( G_{\mathrm{zoh}}(s) \approx (2/T)/(s + 2/T) \)近似，直流增益为单位值。<sup>[5](https://cpjobling.github.io/eglm03-textbook/06/4/digictrl.html)</sup> 数字补偿器只有在当前输出不依赖于未来误差采样时才物理可实现，这意味着分子阶数不得超过分母阶数。<sup>[9](https://bayen.berkeley.edu/sites/default/files/ee_c128_chapter_13.pdf)</sup>

## 实现方法

**首先选择采样率。** 硬性限制是[奈奎斯特频率](https://www.edgepedia.org/zh/nyquist-frequency)\( \omega_{\mathrm{sample}} > 2\omega_{\mathrm{BW}} \)，但实际规则要严格得多：\( T \approx 1/(10\omega_{\mathrm{BW}}) \)至\( 1/(20\omega_{\mathrm{BW}}) \)，<sup>[9](https://bayen.berkeley.edu/sites/default/files/ee_c128_chapter_13.pdf)</sup> 约为带宽的20倍或更快（最好高于25倍），<sup>[4](http://www.cs.mun.ca/~av/courses/7825-s16/manual_uploads/digital_control_part1.pdf)</sup> \( \omega_{s} \approx 15\,\omega_{\mathrm{BW}} \)，<sup>[6](https://ocw.mit.edu/courses/16-30-feedback-control-systems-fall-2010/25129dabd19249e15c1df8034335aafa_MIT16_30F10_lec20.pdf)</sup> 或\( T < \tau_{\mathrm{max}}/5 \)，其中\( \tau_{\mathrm{max}} \)为最大对象时间常数。<sup>[10](https://www.engr.colostate.edu/ECE412/SP17/Lectures%2017-18.pdf)</sup>

**加入抗混叠滤波器。** 高于\( \omega_{\mathrm{Nyq}} = \omega_{s}/2 \)的[频率](https://www.edgepedia.org/zh/frequency)成分必须在采样前去除；截止频率是一个折中，概括为\( \omega_{\mathrm{bw}} < \omega_{\mathrm{cut}} < \omega_{s}/2 \)，<sup>[3](https://www.control.utoronto.ca/~jwsimpson/digital/ECE484-Instructor-2x1.pdf)</sup> 实践中2–6阶贝塞尔滤波器足以消除大多数高频影响。<sup>[1](https://www.ifac-control.org/publications/list-of-professional-briefs/pb_wittenmark_etal_final.pdf)</sup>

**离散化或直接设计**，在目标硬件上实现差分方程，并验证时序。在下一个采样时刻写出输出会产生一个周期\( T \)的恒定纯滞后时间，这在安全关键应用中更受青睐，因为它避免了可变纯滞后时间。<sup>[11](https://www.imt.ch/en/expert-blog-detail/computing-power-with-sampling-time-en)</sup>

## 起源

采样数据控制系统最早的数学建模出现在20世纪头十年，背景是蒸汽机调速。<sup>[12](https://journals.sagepub.com/doi/10.1177/014233128500700308)</sup> 成熟的理论在1939–45年战争结束后随即出现，其基础在战争期间由若干国家独立发展；战时对时间序列数据的分析——用于预测敌机位置以进行火力控制——对这一发展具有重要意义。<sup>[12](https://journals.sagepub.com/doi/10.1177/014233128500700308)</sup> H.L.哈zen（H.L. Hazen）的《伺服机构理论》于1934年发表在《富兰克林研究所杂志》上。<sup>[13](https://doi.org/10.1016/s0016-0032%2834%2990254-4)</sup> A.塔斯汀（A. Tustin）1947年的论文《一种基于时间序列分析线性系统行为的方法》引入了用于时间序列模型的双线性变换。<sup>[14](https://doi.org/10.1049/ji-2a.1947.0020)</sup> 威廉·K.林维尔（William K. Linvill）1951年在[美国电气工程师学会](https://www.edgepedia.org/zh/american-institute-of-electrical-engineers)汇刊上的论文通过将采样与调幅进行比较来研究采样数据系统。<sup>[15](https://doi.org/10.1109/t-aiee.1951.5060630)</sup> 埃利亚胡·I.朱里（Eliahu I. Jury）于1959年出版了《采样数据控制系统》一书，<sup>[16](https://doi.org/10.2307/3007623)</sup> R.E.卡尔曼（R.E. Kalman）和J.E.伯特伦（J.E. Bertram）1959年的论文《采样系统理论的统一方法》统一了采样理论。<sup>[17](https://doi.org/10.1016/0016-0032%2859%2990093-6)</sup>

工业数字计算机控制系统的一个实例是德士古阿瑟港（德克萨斯州）工厂的催化聚合装置，由Ramo Wooldridge RW-300处理103个过程测量值和14个控制输出，其中五个为直接数字控制输出；次年，位于路易斯安那州卢林格的孟山都氨厂紧随其后。<sup>[18](http://laris.fesb.hr/digitalno_vodjenje/download/history.pdf)</sup><sup> • </sup><sup>[19](http://archive.control.lth.se/media/Education/DoctorateProgram/2012/HistoryOfControl/Bissell_history_of_automatic_control.pdf)</sup> ICI和费兰蒂（Ferranti）为兰开夏郡[弗利特伍德](https://www.edgepedia.org/zh/fleetwood)的纯碱厂设计的直接数字控制方案于1962年11月投入运行，处理256个输入和120个控制回路。<sup>[18](http://laris.fesb.hr/digitalno_vodjenje/download/history.pdf)</sup> 到1965年，已有1000多台数字计算机用于工业控制，专用过程计算机提供直接数字控制，即由计算机本身实现诸如三项控制之类算法的离散形式。<sup>[18](http://laris.fesb.hr/digitalno_vodjenje/download/history.pdf)</sup><sup> • </sup><sup>[19](http://archive.control.lth.se/media/Education/DoctorateProgram/2012/HistoryOfControl/Bissell_history_of_automatic_control.pdf)</sup> 阿波罗任务在20世纪60年代末严重依赖数字控制，<sup>[3](https://www.control.utoronto.ca/~jwsimpson/digital/ECE484-Instructor-2x1.pdf)</sup> 自20世纪70年代中期起，基于微处理器的[分布式控制系统](https://www.edgepedia.org/zh/distributed-control-system)取代了集中式计算机装置。<sup>[20](https://dl.acm.org/doi/10.1109/85.366507)</sup>

## 变体

存在三种设计路线：直接数字设计先离散化被控对象，然后为离散化对象设计数字控制器；数字再设计先设计模拟控制器再进行转换；直接采样数据方法直接为模拟对象设计数字控制器。<sup>[21](https://www.sciencedirect.com/science/article/abs/pii/S0019057898000263)</sup> 仿真（离散等效）设计简单但需要快速采样；直接设计可以处理慢采样率，但设计和分析更为复杂。<sup>[3](https://www.control.utoronto.ca/~jwsimpson/digital/ECE484-Instructor-2x1.pdf)</sup>

标准离散化方法有零阶保持、Tustin/双线性、匹配零极点、一阶保持、冲激不变以及预畸变Tustin；其近似在约\( \omega_{s}/4 \)以下良好。<sup>[5](https://cpjobling.github.io/eglm03-textbook/06/4/digictrl.html)</sup> Tustin变换使用\( s = 2(z-1)/(T(z+1)) \)将s域控制器转换为z域控制器；它将闭左半s平面映射到闭单位圆盘，因此稳定性得以保持，但会扭曲频率，预畸变使离散化控制器在奈奎斯特频率\( \pi/T_{s} \)以下选定的频率\( \omega_{p} \)处精确。<sup>[21](https://www.sciencedirect.com/science/article/abs/pii/S0019057898000263)</sup><sup> • </sup><sup>[22](https://faculty.washington.edu/chx/teaching/loopshaping/1_3_discretization.pdf)</sup> 离散三项补偿器的形式为\( D(z) = K_{P} \)（比例）、\( D(z) = K_{D}(1 - z^{-1}) \)（微分）和\( D(z) = K_{I}/(1 - z^{-1}) \)（积分）；对积分器\( C(s) = 1/s \)进行Tustin离散化得到递推式\( u[k] = u[k-1] + (T/2)(e[k-1] + e[k]) \)。<sup>[5](https://cpjobling.github.io/eglm03-textbook/06/4/digictrl.html)</sup><sup> • </sup><sup>[3](https://www.control.utoronto.ca/~jwsimpson/digital/ECE484-Instructor-2x1.pdf)</sup> 另一个区别是输出格式：PAM控制器产生幅度可变的分段恒定脉冲，而PWM控制器产生固定幅度、宽度可变的脉冲。<sup>[21](https://www.sciencedirect.com/science/article/abs/pii/S0019057898000263)</sup>

## 应用

数字控制涵盖过程工业、航空航天、机器人技术和电力电子。PWM数字控制器广泛用于直流功率变换器和[步进电机](https://www.edgepedia.org/zh/stepper-motor)（广泛用于机器人）的开关控制，以及利用开关式反作用喷流进行的卫星位置保持控制。<sup>[21](https://www.sciencedirect.com/science/article/abs/pii/S0019057898000263)</sup> 在数字控制的开关变换器中，开关频率\( f_{\mathrm{sw}} \)下\( n \)位的基于计数器的DPWM需要时钟频率\( f_{\mathrm{clk}} = 2^{n} \cdot f_{\mathrm{sw}} \)，这推动了混合DPWM架构的发展。<sup>[23](https://www.ti.com/download/trng/docs/seminar/Topic_7_Hagen.pdf)</sup> 在工业中，大多数数字控制器采用PID环节，其整定通常凭经验进行，微控制器和PLC通常能在内部处理完整的数字PID实现，通过软件参数更改进行整定。<sup>[24](https://img.electronicdesign.com/files/base/ebm/electronicdesign/document/2025/07/688a6928c266e9a90d88f324-twomey.pdf?dl=688a6928c266e9a90d88f324-twomey.pdf)</sup>

## 局限性与替代方案

**混叠。** 以60 Hz采样的70 Hz信号产生的采样与10 Hz信号相同，因此抗混叠滤波器是必需的；采样还将连续极点\( s_{i} = -a \)映射到离散极点\( z_{i} = e^{-aT_{s}} \)。<sup>[1](https://www.ifac-control.org/publications/list-of-professional-briefs/pb_wittenmark_etal_final.pdf)</sup><sup> • </sup><sup>[22](https://faculty.washington.edu/chx/teaching/loopshaping/1_3_discretization.pdf)</sup>

**量化。** 反馈回路中欠载的量化器可能导致静态误差或自发的小幅度极限环振荡；注入零均值抖动信号使量化器线性化，防止静态误差、滞回和极限环。含有嵌入式量化器的稳定系统，其输出端量化噪声的界为伯特伦界，量化噪声限制在\( \pm q/2 \)之间；已有针对采样数据反馈系统中量化效应的理论分析。<sup>[25](https://home.mit.bme.hu/~kollarzs/quantization/control.pdf)</sup><sup> • </sup><sup>[26](https://dl.acm.org/doi/10.1145/356571.356575)</sup>

**延迟与采样率。** 数字实现最重要的单一影响是与保持器相关的延迟；将平均\( T/2 \)延迟纳入连续分析，即使在远低于20倍带宽的速率下也能很好地预测采样效应。<sup>[4](http://www.cs.mun.ca/~av/courses/7825-s16/manual_uploads/digital_control_part1.pdf)</sup> 当采样率慢于主导极点自然频率的约5倍时，数字化系统变得不稳定，阻尼在\( 10\omega_{n} \)以下退化，所有离散化方法在\( 20\omega_{n} \)以上给出合理结果。<sup>[5](https://cpjobling.github.io/eglm03-textbook/06/4/digictrl.html)</sup> 采样本身可能导致可控性和可观性的丧失，这是底层连续系统中不存在的失效模式，<sup>[2](https://www.eolss.net/sample-chapters/c18/E6-43-04.pdf)</sup> 且当采样周期非常小时，离散化极点向单位圆靠近，有限数值精度无法再区分它们。

相对于模拟控制，数字实现以量化误差换取灵活性、更低的漂移和噪声以及更低的成本。<sup>[2](https://www.eolss.net/sample-chapters/c18/E6-43-04.pdf)</sup> [模型预测控制](https://www.edgepedia.org/zh/model-predictive-control)在数字控制领域中主要通过其学习增强和可微分形式出现，综述将其描述为MPC的学习对应物。<sup>[27](https://www.aimsciences.org/article/doi/10.3934/dcdsi.R260301)</sup>

## References

1. [Computer-controlled systems: an overview (IFAC Professional Brief, Wittenmark, Åström et al.)](https://www.ifac-control.org/publications/list-of-professional-briefs/pb_wittenmark_etal_final.pdf)
2. [Digital Control Systems (P.N. Paraskevopoulos, EOLSS encyclopedia article)](https://www.eolss.net/sample-chapters/c18/E6-43-04.pdf)
3. [ECE 484: Digital Control Applications (University of Toronto, J. W. Simpson-Porco)](https://www.control.utoronto.ca/~jwsimpson/digital/ECE484-Instructor-2x1.pdf)
4. [Digital Control Part 1 (course notes based on Franklin, Powell & Emami-Naeini et al.)](http://www.cs.mun.ca/~av/courses/7825-s16/manual_uploads/digital_control_part1.pdf)
5. [6.4. Introduction to Digital Control, EGLM03 Modern Control Systems (Swansea)](https://cpjobling.github.io/eglm03-textbook/06/4/digictrl.html)
6. [MIT 16.30 Feedback Control Systems, Lecture 20: Digital Control Basics](https://ocw.mit.edu/courses/16-30-feedback-control-systems-fall-2010/25129dabd19249e15c1df8034335aafa_MIT16_30F10_lec20.pdf)
7. [Introduction: Digital Controller Design (Control Tutorials for MATLAB and Simulink, University of Michigan)](https://ctms.engin.umich.edu/CTMS/index.php?example=Introduction&section=ControlDigital)
8. [MIT 16.06 Principles of Automatic Control, Lecture 29: Digital Control](https://ocw.mit.edu/courses/16-06-principles-of-automatic-control-fall-2012/015a43af9f559c437f3e4ddd7be997ec_MIT16_06F12_Lecture_29.pdf)
9. [EE C128 / ME C134 Feedback Control Systems, Chapter 13: Digital Control Systems (UC Berkeley)](https://bayen.berkeley.edu/sites/default/files/ee_c128_chapter_13.pdf)
10. [Digital Controls & Digital Filters, Lectures 17–18 (M. R. Azimi, Colorado State University)](https://www.engr.colostate.edu/ECE412/SP17/Lectures%2017-18.pdf)
11. [Saving computing power with the right choice of sampling time (IMT AG expert blog)](https://www.imt.ch/en/expert-blog-detail/computing-power-with-sampling-time-en)
12. [Modelling sampled-data systems: a historical outline](https://journals.sagepub.com/doi/10.1177/014233128500700308)
13. [Theory of servo-mechanisms (Journal of the Franklin Institute, 1934)](https://doi.org/10.1016/s0016-0032%2834%2990254-4)
14. [A. Tustin (1947). A method of analysing the behaviour of linear systems in terms of time series. The journal of the Institution of Electrical Engineers. Part 2A, Automatic regulators and servo mechanisms.](https://doi.org/10.1049/ji-2a.1947.0020)
15. [William K. Linvill (1951). Sampled-Data Control Systems Studied Through Comparison, of Sampling with Amplitude Modulation. Transactions of the American Institute of Electrical Engineers.](https://doi.org/10.1109/t-aiee.1951.5060630)
16. [W. L. M., Eliahu I. Jury (1959). Sampled-Data Control Systems.. OR.](https://doi.org/10.2307/3007623)
17. [A unified approach to the theory of sampling systems (Journal of the Franklin Institute, 1959)](https://doi.org/10.1016/0016-0032%2859%2990093-6)
18. [Control and the digital computer: the early years](http://laris.fesb.hr/digitalno_vodjenje/download/history.pdf)
19. [A History of Automatic Control (Bissell, chapter)](http://archive.control.lth.se/media/Education/DoctorateProgram/2012/HistoryOfControl/Bissell_history_of_automatic_control.pdf)
20. [Pioneering Work in the Field of Computer Process Control (Stout & Williams, IEEE Annals of the History of Computing, 1995)](https://dl.acm.org/doi/10.1109/85.366507)
21. [Design of PAM and PWM digital controllers for cascaded analog systems (ISA Transactions)](https://www.sciencedirect.com/science/article/abs/pii/S0019057898000263)
22. [Discretization and Implementation of Continuous-time Design (Xu Chen, University of Washington)](https://faculty.washington.edu/chx/teaching/loopshaping/1_3_discretization.pdf)
23. [Applying Digital Technology to PWM Control-Loop Designs (Texas Instruments seminar, Hagen)](https://www.ti.com/download/trng/docs/seminar/Topic_7_Hagen.pdf)
24. [Digital Control Systems (Jerry Twomey, Electronic Design, 2025)](https://img.electronicdesign.com/files/base/ebm/electronicdesign/document/2025/07/688a6928c266e9a90d88f324-twomey.pdf?dl=688a6928c266e9a90d88f324-twomey.pdf)
25. [Roundoff Noise in Digital Control Systems (quantization in digital feedback loops)](https://home.mit.bme.hu/~kollarzs/quantization/control.pdf)
26. [Digital control of industrial processes (ACM Computing Surveys, annotated bibliography)](https://dl.acm.org/doi/10.1145/356571.356575)
27. [AI-driven control for dynamical systems: Taxonomy, guarantees, and applications (DCDS-S, 2026)](https://www.aimsciences.org/article/doi/10.3934/dcdsi.R260301)

---
*Initially written Sep 29, 2026 · Edited: Oct 15, 2026*

Topic: 技术与人造世界 › 工程与制造 › 电气与电子工程

Copyright 2026 Edgepedia

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

Source: https://www.edgepedia.org/zh/digital-control

English original: https://www.edgepedia.org/digital-control
