Skip to content

An improved version of PID library for Arduino by Brett Beauregard

Notifications You must be signed in to change notification settings

DankMinhKhoa/PID_improved

Repository files navigation

***************************************************************
* Arduino PID Library - Version 1.2.0
* by Khoa Dang <[email protected]> - Originally by Brett Beauregard <[email protected]> brettbeauregard.com
*
* This Library is licensed under a GPLv3 License
***************************************************************

Improvisation made:
- Change of input and calculation type to float to save memory and
performance
- Change of output type to integer, as most of low level control
applications tends to drive directly from the Arduino's PWM outputs
- Modifying the anti windup method to stop increasing the integral term
when the output is saturated

// todo: adding templates to generate PID objects to work with any data
type
// todo: adding the back-calculation integral anti windup method

About

An improved version of PID library for Arduino by Brett Beauregard

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages