# PI 控制器

PI 控制器（比例-积分控制器）是一种反馈控制器，其输出由两部分相加而成：一部分与当前误差成正比，另一部分与误差随时间的积分成正比。它是 PID 控制器家族中包含两个控制项的一员，也是实践中最常用的形式：当今过程控制中，95% 以上的控制回路属于 PID 类型，而其中大多数实际上以 PI 控制方式运行。<sup>[1](https://repository.sustech.edu/jspui/bitstream/123456789/25385/4/Research.pdf)</sup> 标准参考著作《高级 PID 控制》的作者奥斯特伦（Åström）与海格伦德（Hägglund）将这种普遍性部分归因于一个特性：有了积分作用，任何稳态下的稳态误差始终为零。<sup>[2](https://www.isa.org/getmedia/fb0e41bc-e4f3-422a-9f67-b9bd31340e16/Advanced-PID-Control_AstromHagglund_Chapter1-Introduction.pdf)</sup>

| 关键事实 | 详情 |
|---|---|
| 传递函数 | \( C_{\mathrm{PI}}(s) = k_p + \dfrac{k_i}{s} = k_p \left( 1 + \dfrac{1}{s T_i} \right) \)，并联式或串联式（复位时间）形式<sup>[3](https://www.sciencedirect.com/science/article/pii/S0959152414000730)</sup> |
| 整定参数 | 两个：比例增益 \( k_p \)（或 \( K_c \)）与积分增益 \( k_i \) 或复位时间 \( T_i \)<sup>[3](https://www.sciencedirect.com/science/article/pii/S0959152414000730)</sup><sup> • </sup><sup>[4](https://controlguru.com/integral-action-and-pi-control/)</sup> |
| 定义性行为 | 在误差恒定的任何稳态下，积分作用迫使稳态误差为零<sup>[2](https://www.isa.org/getmedia/fb0e41bc-e4f3-422a-9f67-b9bd31340e16/Advanced-PID-Control_AstromHagglund_Chapter1-Introduction.pdf)</sup> |
| 经典整定参考 | 齐格勒与尼科尔斯，《自动控制器的最佳整定》，《美国机械工程师学会汇刊》第 64 卷，759–768 页（1942 年 11 月）<sup>[5](https://cir.nii.ac.jp/crid/1360861295470097280?lang=en)</sup> |
| 实际普遍性 | 大多数工业回路为 PI，因为微分作用并不常用<sup>[6](https://www.sciencedirect.com/science/article/pii/S0967066101000624)</sup> |
| 主要实现隐患 | 执行器饱和时产生积分（复位）饱和，需用反算或钳位等抗饱和方案处理<sup>[7](https://www.mathworks.com/help/simscape-electrical/ref/picontrollerdiscreteorcontinuous.html)</sup><sup> • </sup><sup>[8](https://controlguru.com/integral-reset-windup-jacketing-logic-and-the-velocity-pi-form/)</sup> |

## 结构与方程

理想 PI 控制器有两种常见的参数化方式。在并联形式中，输出为 \( k_p + k_i/s \)，其中 \( k_p \) 为比例增益，\( k_i \) 为积分增益。在过程控制中广泛使用的复位时间形式 \( k_p (1 + 1/(s T_i)) \) 中，积分时间 \( T_i \) 位于分母，因此 \( T_i \) 越小，积分项的影响越大；\( T_i \) 的量纲为时间，且始终为正。<sup>[3](https://www.sciencedirect.com/science/article/pii/S0959152414000730)</sup><sup> • </sup><sup>[4](https://controlguru.com/integral-action-and-pi-control/)</sup>

在时域中，控制器输出为

\[ u(t) = K e(t) + k_i \int_0^t e(\tau) \, d\tau, \]

其中 \( e(t) \) 为控制器误差，定义为设定值减去被控过程变量的测量值。<sup>[2](https://www.isa.org/getmedia/fb0e41bc-e4f3-422a-9f67-b9bd31340e16/Advanced-PID-Control_AstromHagglund_Chapter1-Introduction.pdf)</sup> 比例项仅响应当前误差的大小，而积分项则累积自控制器切换到自动模式以来的全部误差历史。<sup>[4](https://controlguru.com/integral-action-and-pi-control/)</sup>

数字实现将该规律离散化；例如 [MathWorks](https://www.edgepedia.org/zh/mathworks) 的离散 PI 模块采用后向欧拉离散化，

\[ u(k) = \left[ K_p + \left( K_i + du(k) K_{aw} \right) \frac{T_s z}{z - 1} \right] e(k), \]

其中采样周期为 \( T_s \)，\( K_{aw} \) 为下文所述抗饱和增益。<sup>[7](https://www.mathworks.com/help/simscape-electrical/ref/picontrollerdiscreteorcontinuous.html)</sup>

## 积分作用为何重要

在纯比例控制下，稳态时若要有非零的控制输出，就必须存在非零的误差，因此大多数过程最终会在过程变量与设定值之间留下持续偏差。积分项消除了这一偏差。奥斯特伦与海格伦德给出了直接的论证：若某稳态下误差 \( e_0 \) 恒定、输出 \( u_0 \) 恒定，则积分规律给出 \( u_0 = k_i e_0 t \)，只有当 \( e_0 = 0 \) 时该式才恒定。<sup>[2](https://www.isa.org/getmedia/fb0e41bc-e4f3-422a-9f67-b9bd31340e16/Advanced-PID-Control_AstromHagglund_Chapter1-Introduction.pdf)</sup> 在过程控制的图景中，响应结束后积分和仍保留一个残值，该残值充当新的偏置，将阀门、泵或其他终端控制元件保持在新工作点所需的水平上；随着工作水平变化，积分作用不断重置偏置以消除偏差。<sup>[4](https://controlguru.com/integral-action-and-pi-control/)</sup>

消除偏差的代价是积分器带来的相位滞后，这会降低相对于纯比例控制的稳定裕度，因此 PI 整定必须在扰动抑制速度与鲁棒性之间取得平衡。<sup>[3](https://www.sciencedirect.com/science/article/pii/S0959152414000730)</sup>

## 历史

积分作用进入实践远早于其名称的出现。[詹姆斯·瓦特](https://www.edgepedia.org/zh/james-watt)（James Watt）1788 年的飞球调速器仅提供比例作用，尽管其产生的偏差被普遍视为一种局限，但直到 20 世纪，机械与液压方式的积分作用尝试都被证明难以连续使用。1911 年，埃尔默·斯佩里（Elmer Sperry）将比例加积分作用用于船舶操舵的自动化；他的算法即今日所知 PI 的速度型，其中比例作用作用于测量变量而非误差。1923 年，尼古拉斯·米诺尔斯基（Nicolas Minorsky）分析了斯佩里的系统，并加入二阶导数项，实现了首个 PID 速度算法。气动控制器通过波纹管、杠杆与节流孔实现 PI，借助正反馈波纹管连续调节输出压力以修正持续误差。<sup>[9](https://www.isa.org/intech-home/2023/june-2023/features/isa-tr5-9-2023-realizing-and-achieving-best-pid)</sup>

比例-积分与比例-积分-微分这两个术语晚于硬件出现：20 世纪 30 年代，一种以“Pre-Act”为名营销的微分组件被加到现有的 PI 控制器上。<sup>[10](https://pmc.ncbi.nlm.nih.gov/articles/PMC8468566/)</sup> 整定问题由[纽约州罗切斯特](https://www.edgepedia.org/zh/rochester-new-york)泰勒仪器公司的[约翰·G·齐格勒](https://www.edgepedia.org/zh/john-g-ziegler)（John G. Ziegler）与纳撒尼尔·B·尼科尔斯（Nathaniel B. Nichols）奠定了其经典基础，他们 1942 年发表于美国机械工程师学会的论文《自动控制器的最佳整定》给出了根据实测过程特性确定控制器参数的公式；该文至今仍是该领域被引用最多的著作之一，也是后来各种方法所对照的标准基准。<sup>[5](https://cir.nii.ac.jp/crid/1360861295470097280?lang=en)</sup><sup> • </sup><sup>[10](https://pmc.ncbi.nlm.nih.gov/articles/PMC8468566/)</sup>

## 整定

整定 PI 控制器，就是针对给定过程选择 \( k_p \) 与 \( T_i \)（或 \( k_i \)）。设计必须权衡负载扰动衰减、设定值跟踪、对过程变化与模型不确定性的鲁棒性，以及测量噪声的影响；加平格（Garpinger）、海格伦德与奥斯特伦明确将这些视为在候选整定方案之间做选择时需要相互对照绘制的折衷关系。<sup>[3](https://www.sciencedirect.com/science/article/pii/S0959152414000730)</sup>

方法家族众多。比较研究通常在一阶加纯滞后与二阶加纯滞后过程模型上评估齐格勒-尼科尔斯法、科恩-库恩法、钱-罗内斯-雷斯威克法以及误差准则法（ISE、ISTE、ISTSE），从响应速度、稳定性与鲁棒性方面打分。<sup>[11](https://ieeexplore.ieee.org/abstract/document/8376915)</sup> 原始的齐格勒-尼科尔斯规则旨在尽可能抑制扰动，由此产生激进的参数与四分之一衰减比的振荡瞬态。<sup>[10](https://pmc.ncbi.nlm.nih.gov/articles/PMC8468566/)</sup> 后来的分析发现，用于 PI 控制的齐格勒-尼科尔斯频率响应法存在严重局限。<sup>[12](https://onlinelibrary.wiley.com/doi/pdf/10.1111/j.1934-6093.2004.tb00368.x)</sup> 海格伦德 2002 年对这些规则的修订保持了其简洁性，通过阶跃响应实验以三个参数刻画过程，但在最大灵敏度（一种鲁棒性度量）约束下最大化积分增益来获得参数，并报告了显著更好的性能。<sup>[13](https://onlinelibrary.wiley.com/doi/abs/10.1111/j.1934-6093.2002.tb00076.x)</sup> 基于模型的方法与实验方法也可在选定的鲁棒性水平下运行：一种近期的阶跃响应方法允许用户固定最大灵敏度 \( M_s \)，然后给出使负载扰动下积分绝对误差最小的 PI，并可选在相同鲁棒性下进一步钝化以减少测量噪声放大。<sup>[14](https://doi.org/10.1016/j.isatra.2021.09.008)</sup>

仿真与硬件并不总是一致。在一台模块化电驱动上对两种标准 PI 整定方法进行比较发现，仿真性能更好的方法可能在真实系统上暴露出不利特性，且某些整定流程需要人工输入来修正它们。<sup>[15](https://open.uns.ac.rs/handle/123456789/8607)</sup> 多变量 PI 控制——即用 PI 项矩阵控制双输入双输出对象——有其自己的一套整定方法，通过频域鲁棒性准则与时域仿真进行比较。<sup>[16](https://www.sciencedirect.com/science/article/pii/S1474667017513452)</sup>

## 积分饱和与抗饱和

当执行器饱和时，例如阀门完全关闭，持续的误差会不断驱使积分项增大，控制器可能计算出执行器无法产生的输出，例如负的阀门开度。其结果是当设定值恢复原值时响应延迟，因为累积的积分必须先“退饱和”。<sup>[8](https://controlguru.com/integral-reset-windup-jacketing-logic-and-the-velocity-pi-form/)</sup> 补救措施包括：在输出限值处停止积分的包覆逻辑；将控制器改写为从结构上就能避免积分饱和的离散速度型；以及反算，即把饱和与未饱和控制信号之差通过抗饱和增益 \( K_{aw} \) 反馈到积分器中。<sup>[8](https://controlguru.com/integral-reset-windup-jacketing-logic-and-the-velocity-pi-form/)</sup><sup> • </sup><sup>[7](https://www.mathworks.com/help/simscape-electrical/ref/picontrollerdiscreteorcontinuous.html)</sup>

## 工业角色

PI 控制在基础过程控制中占主导地位。奥斯特伦与海格伦德指出，PID 控制器是最常见的反馈形式，其普及程度远超其他形式，而大多数回路实际上是 PI，因为微分作用并不常用。<sup>[6](https://www.sciencedirect.com/science/article/pii/S0967066101000624)</sup><sup> • </sup><sup>[2](https://www.isa.org/getmedia/fb0e41bc-e4f3-422a-9f67-b9bd31340e16/Advanced-PID-Control_AstromHagglund_Chapter1-Introduction.pdf)</sup> 典型应用包括集散控制系统中的流量、液位、压力与温度回路，以及电机驱动中的电流环与速度环，其中串级结构使用外环 PI 速度控制器驱动内环 PI 电流控制器。<sup>[7](https://www.mathworks.com/help/simscape-electrical/ref/picontrollerdiscreteorcontinuous.html)</sup>

普遍性并不保证性能。一项针对 250 多个工业现场、15 万个控制回路的研究发现，68% 的控制器性能不可接受，表现最好的现场为 70% 可接受，最差的仅为 15%；其他文献报告了“广泛的行业测试”，显示 75% 的基于 PID 的回路处于失整定状态。<sup>[17](https://skoge.folk.ntnu.no/puublications_others/books/vilanova-visioli-PID%20control%20in%20the%20Third%20Millennium%20-%20Springer%202012.pdf)</sup> 算法能力与其安装后性能之间的这一差距，正是控制回路性能监测的动机所在——利用 PI 与 PID 回路的日常运行数据来检测并诊断性能不佳的回路。<sup>[18](https://www.sciencedirect.com/science/article/pii/S0959152415002127)</sup>

## References

1. [In process control today, more than 95% of the control loops are of PID type, most loops are actually PI control (SUSTech repository)](https://repository.sustech.edu/jspui/bitstream/123456789/25385/4/Research.pdf)
2. [K. J. Åström and T. Hägglund, Advanced PID Control, Chapter 1: Introduction, ISA](https://www.isa.org/getmedia/fb0e41bc-e4f3-422a-9f67-b9bd31340e16/Advanced-PID-Control_AstromHagglund_Chapter1-Introduction.pdf)
3. [O. Garpinger, T. Hägglund, K. J. Åström (2014). Performance and robustness trade-offs in PID control. Journal of Process Control 24(5), 568–577](https://www.sciencedirect.com/science/article/pii/S0959152414000730)
4. [Integral Action and PI Control, Control Guru](https://controlguru.com/integral-action-and-pi-control/)
5. [J. G. Ziegler, N. B. Nichols (1942). Optimum Settings for Automatic Controllers. Transactions of the ASME 64, 759–768, CiNii record](https://cir.nii.ac.jp/crid/1360861295470097280?lang=en)
6. [K. J. Åström, T. Hägglund. The future of PID control. Control Engineering Practice](https://www.sciencedirect.com/science/article/pii/S0967066101000624)
7. [PI Controller (Discrete or Continuous), MathWorks Simscape Electrical documentation](https://www.mathworks.com/help/simscape-electrical/ref/picontrollerdiscreteorcontinuous.html)
8. [Integral (Reset) Windup, Jacketing Logic and the Velocity PI Form, Control Guru](https://controlguru.com/integral-reset-windup-jacketing-logic-and-the-velocity-pi-form/)
9. [ISA-TR5.9-2023: Realizing and Achieving Best PID, ISA InTech](https://www.isa.org/intech-home/2023/june-2023/features/isa-tr5-9-2023-realizing-and-achieving-best-pid)
10. [Making the PI and PID Controller Tuning Inspired by Ziegler and Nichols Precise and Reliable, PMC (2021)](https://pmc.ncbi.nlm.nih.gov/articles/PMC8468566/)
11. [Comparative study of PID tuning methods for processes with large & small delay times, IEEE Xplore](https://ieeexplore.ieee.org/abstract/document/8376915)
12. [T. Hägglund (2004). Revisiting the Ziegler-Nichols tuning rules for PI control, Part II: The frequency response method. Asian Journal of Control](https://onlinelibrary.wiley.com/doi/pdf/10.1111/j.1934-6093.2004.tb00368.x)
13. [T. Hägglund (2002). Revisiting the Ziegler-Nichols tuning rules for PI control. Asian Journal of Control](https://onlinelibrary.wiley.com/doi/abs/10.1111/j.1934-6093.2002.tb00076.x)
14. [A new method for experimental tuning of PI controllers based on the step response, ISA Transactions (2021)](https://doi.org/10.1016/j.isatra.2021.09.008)
15. [B. Popadić et al. (2013). Tuning methods for PI controller – Comparison on a highly modular drive, IYCE 2013, University of Novi Sad repository](https://open.uns.ac.rs/handle/123456789/8607)
16. [A Comparative Study of Some Multivariable PI Controller Tuning Methods, IFAC Proceedings Volumes 24(1), 357–362 (1991)](https://www.sciencedirect.com/science/article/pii/S1474667017513452)
17. [A. O'Dwyer, PID Control in the Third Millennium, Springer 2012 (performance statistics chapter)](https://skoge.folk.ntnu.no/puublications_others/books/vilanova-visioli-PID%20control%20in%20the%20Third%20Millennium%20-%20Springer%202012.pdf)
18. [The current state of control loop performance monitoring – A survey of application in industry, Journal of Process Control](https://www.sciencedirect.com/science/article/pii/S0959152415002127)

---
*Initially written Oct 15, 2026*

Topic: 技术与人造世界 › 工程与制造 › 工程方法与系统工程 › Control system design and analysis methods

Copyright 2026 Edgepedia

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

Source: https://www.edgepedia.org/zh/pi-controller

English original: https://www.edgepedia.org/pi-controller
