PID controller with integral-windup & derivative-kick prevention and bumpless manual-to-auto-mode transfer.
Project description
ABANDONED PROJECT
While there is nothing technically wrong with this library, the implementation found at https://github.com/m-lundberg/simple-pid is more elegant. It follows the same methodology as Brett Beauregard’s original.
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.2.0 (2024-06-26)
Support for Numpy 2.0 without any change needed
That being done, this library is now abandoned. The implementation found at https://github.com/m-lundberg/simple-pid is more elegant.
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for dvg_pid_controller-2.2.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 65e76d796c6f22e19d66afe1313ca249cc62cfc93db495994b8d7247b425224e |
|
MD5 | 2f601e4f9406e501b9315935f6aedcc0 |
|
BLAKE2b-256 | d981143b3b3c76970647f71cea7e8d7d7cf883ec7c6c9d365e20da844122dca2 |