Integral windup

From HandWiki
Short description: Error condition in a proportional–integral–derivative controller

Integral windup, also known as integrator windup[1] or reset windup,[2] refers to the situation in a PID controller where a large change in setpoint occurs (say a positive change) and the integral term accumulates a significant error during the rise (windup), thus overshooting and continuing to increase as this accumulated error is unwound (offset by errors in the other direction).

Solutions

This problem can be addressed by

  • Initializing the controller integral to a desired value, for instance to the value before the problem[citation needed]
  • Increasing the setpoint in a suitable ramp
  • Conditional Integration: disabling the integral function until the to-be-controlled process variable (PV) has entered the controllable region[3]
  • Preventing the integral term from accumulating above or below pre-determined bounds[4]
  • Back-calculating the integral term to constrain the process output within feasible bounds.[5][6][3]
  • Clegg Integrator: Zeroing the integral value every time the error is equal to, or crosses zero.[7] This avoids having the controller attempt to drive the system to have the same error integral in the opposite direction as was caused by a perturbation, but induces oscillation if a non-zero control value required to maintain the process at setpoint.[8]

Occurrence

Integral windup particularly occurs as a limitation of physical systems, compared with ideal systems, due to the ideal output being physically impossible (process saturation: the output of the process being limited at the top or bottom of its scale, making the error constant). For example, the position of a valve cannot be any more open than fully open and also cannot be closed any more than fully closed. In this case, anti-windup can actually involve the integrator being turned off for periods of time until the response falls back into an acceptable range.

This usually occurs when the controller's output can no longer affect the controlled variable, or if the controller is part of a selection scheme and it is selected right.

Integral windup was more of a problem in analog controllers. Within modern distributed control systems and programmable logic controllers, it is much easier to prevent integral windup by either limiting the controller output, limiting the integral to produce feasible output,[5] or by using external reset feedback, which is a means of feeding back the selected output to the integral circuit of all controllers in the selection scheme so that a closed loop is maintained.

References

  1. "Microchip Application Note AN532: Servo Control of a DC Motor". Microchip Technology, Inc.. 1997. p. 4. http://ww1.microchip.com/downloads/cn/AppNotes/cn_00532c.pdf. Retrieved 2014-01-07. 
  2. M. Tham. "Discretised PID Controllers". https://d721700c-a-62cb3a1a-s-sites.googlegroups.com/site/occasionalnotes/control-system-math/minimum-jerk/digitalpid/Discrete%20PID%20Controllers.pdf?attachauth=ANoY7crHUl8Nf_AAuTxhxWS02wldQ0v3SwOn70hdI7rRuzSnvnmo0weS6Q9ogt9LrOTaJAQ0FgiYvwKi5lBKnS_jK3VezrKaTxJE_Gj_0aWXX3-Mec2l6QAKrDlrSr17WoLVFh2l4sbhNZJKN-zG6rv9BZU1TUqGCPkeKu80AJngzzfUaMzWXqQpNBvIhNFUOj-Qhv6VhvyG_uwNs9eqib9Ppf5SOMrdT5iJvh8lXk4FbU99-JCK403lGgfIGADWIvwG0oraHypFKJ2HNCV0E3tL1cNFh40zuMhlrKH4rHfh0xYpesuUKbM%3D&attredirects=0. Retrieved 2014-01-07. 
  3. 3.0 3.1 Astrom, Karl Johan; Rundqwist, Lars (1989). "Integrator Windup and How to Avoid It". 1989 American Control Conference. pp. 1693–1698. doi:10.23919/ACC.1989.4790464. http://cse.lab.imtlucca.it/~bemporad/teaching/controllodigitale/pdf/Astrom-ACC89.pdf. 
  4. Beauregard, Brett. "Improving the Beginner's PID: Reset Windup". http://brettbeauregard.com/blog/2011/04/improving-the-beginner%e2%80%99s-pid-reset-windup/. 
  5. 5.0 5.1 Cooper, Douglas. "Integral (Reset) Windup, Jacketing Logic and the Velocity PI Form". http://www.controlguru.com/2008/021008.html. Retrieved 2014-02-18. 
  6. Aström, Karl (2002). Control System Design. pp. 228–231. https://www.cds.caltech.edu/~murray/courses/cds101/fa02/caltech/astrom-ch6.pdf. 
  7. Zheng, Jinchuan; Guo, Yuqian; Fu, Minyue; Wang, Youyi; Xie, Lihua (2007). "Improved Reset Control Design for a PZT Positioning Stage". 2007 IEEE International Conference on Control Applications. pp. 1272–1277. doi:10.1109/CCA.2007.4389410. ISBN 978-1-4244-0442-1. https://ieeexplore.ieee.org/document/4389410. 
  8. Hollot, C.V. (1997). "Revisiting Clegg Integrators: Periodicity, Stability and IQCs". IFAC Proceedings Volumes 30 (27): 31–38. doi:10.1016/S1474-6670(17)41154-2. https://www.sciencedirect.com/science/article/pii/S1474667017411542.