Skip to main content

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

Project description

https://img.shields.io/pypi/v/dvg-pid-controller https://img.shields.io/pypi/pyversions/dvg-pid-controller https://img.shields.io/badge/code%20style-black-000000.svg https://img.shields.io/badge/License-MIT-purple.svg

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.

Changelog

2.1.1 (2023-02-27)

  • Deprecated requires.io

2.1.0 (2021-12-04)

  • 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.

2.0.2 (2021-12-04)

(yanked, should have been minor version increment instead of patch)

2.0.1 (2021-12-03)

(yanked, should have been minor version increment instead of patch)

2.0.0 (2020-07-02)

  • DvG module filenames changed to lowercase

1.0.1 (2020-06-29)

  • Fixed Readme typo

1.0.0 (2020-06-29)

  • First release on PyPI

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

dvg-pid-controller-2.1.1.tar.gz (6.1 kB view hashes)

Uploaded Source

Built Distribution

dvg_pid_controller-2.1.1-py3-none-any.whl (6.3 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page