Skip to content

Dennis-van-Gils/python-dvg-pid-controller

Repository files navigation

image

image

image

image

DvG_PID_Controller

PID controller with integral-windup & derivative-kick prevention and bumpless manual-to-auto-mode transfer.

Installation:

pip install dvg-pid-controller

Based on C++ code by:

/******************************************************************************
* Arduino PID Library - Version 1.2.1
* by Brett Beauregard <br3ttb@gmail.com> brettbeauregard.com
*
* This Library is licensed under the MIT License
******************************************************************************/
More information:

Ported to Python by Dennis van Gils.

Modifications:

  • Code refactoring.
  • P_ON_M mode has been removed.
  • Made the proportional, integrative and derivative terms accessible.
  • Made the last error accessible.
  • Added optional argument differential_input to have the PID controller regulate a specific difference with respect to the main argument current_input. The specific difference that will be regulated is set by setpoint. Contributor: https://github.com/antonverburg.

About

PID controller with integral-windup & derivative-kick prevention and bumpless manual-to-auto-mode transfer.

Topics

Resources

License

Stars

Watchers

Forks

Sponsor this project

 

Languages