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
File details
Details for the file dvg_pid_controller-2.2.0.tar.gz
.
File metadata
- Download URL: dvg_pid_controller-2.2.0.tar.gz
- Upload date:
- Size: 6.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.12.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 37b8681d378fed178c0a80e9f0d07b8d4cece457a9d8bc31371bd6e0d6db6d1e |
|
MD5 | 55ec3636fc82dec51aa81f8de930cbcb |
|
BLAKE2b-256 | 3c29cb0b4a9041c769b97d1262b8fec8001302b7e9c0d28b5a01ff640fd00e47 |
File details
Details for the file dvg_pid_controller-2.2.0-py3-none-any.whl
.
File metadata
- Download URL: dvg_pid_controller-2.2.0-py3-none-any.whl
- Upload date:
- Size: 6.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.12.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 65e76d796c6f22e19d66afe1313ca249cc62cfc93db495994b8d7247b425224e |
|
MD5 | 2f601e4f9406e501b9315935f6aedcc0 |
|
BLAKE2b-256 | d981143b3b3c76970647f71cea7e8d7d7cf883ec7c6c9d365e20da844122dca2 |