Reference Implementation of the PID Controller

被引:0
作者
Sundstrom, E. [1 ]
Hagglund, T. [1 ]
Bauer, M. [1 ]
Eker, J. [1 ]
Soltesz, K. [1 ]
机构
[1] Lund Univ, Dept Automat Control, Lund, Sweden
关键词
PID control; Implementation; Programming code;
D O I
10.1016/j.ifacol.2024.08.090
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
The PID controller is the by far most frequently employed type of controller. As you read, billions of digitally implemented PID controllers are running, shaping the dynamic behavior of anything from the fan speed in your laptop to safety-critical components in nuclear power plants. Given the abundance of commissioned PID controllers, it is surprisingly hard to find a single source that provides a well-documented, and motivated reference implementation of the PID controller in text-based code. This work provides one. We use the incremental (velocity) form, motivated by its intrinsic integrator anti-windup and bumpless transfer behavior. In addition, we discuss our implementation in terms of measurement filtering, setpoint handling, and runtime environment, among other implementation aspects. Our reference implementation is a living "document", and a link to a GitHub repository hosting the latest version is provided.
引用
收藏
页码:370 / 375
页数:6
相关论文
共 5 条
[1]  
Astrom K.J., 2006, Advanced PID Control
[2]   Fractional Order Control - A Tutorial [J].
Chen, YangQuan ;
Petras, Ivo ;
Xue, Dingyue .
2009 AMERICAN CONTROL CONFERENCE, VOLS 1-9, 2009, :1397-+
[3]   Comparing filtered PI, PID and PIDD2 control for the FOTD plants [J].
Huba, M. ;
Vrancic, D. .
IFAC PAPERSONLINE, 2018, 51 (04) :954-959
[4]  
ODwyer A., 2009, Handbook of PI and PID controller tuning rules, Vthird
[5]  
Visioli A, 2006, ADV IND CONTROL, P1