• Arduino PID Library - Version 1.2.3
  • by David Forrest drf5na@gmail.com 2023-02-24
  • by Brett Beauregard br3ttb@gmail.com brettbeauregard.com
  • This Library is licensed under the MIT License

This fork uses back calculation per Astrom 1989 to manage integral windup.

The back calculation should prevent integral windup be dynamically limiting the Intergrato to precent the Control Output from exceeding the limits. Large errors far outside of the proportional range (error > MaxOutput/kP) will produce MaxOutput and inhibit integral growth.

Alternative libraries:

  • PID -- Brett Beauregard's well documented original uses static limits on integral windup or PonM scheme
  • QuickPID -- has several anti-windup forms
  • PID_RT -- Has anti-windup but Proportional-on-measurement

See: