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
Metadata
Release files for dvg-pid-controller 2.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| dvg_pid_controller-2.2.0.tar.gz | 6.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| dvg_pid_controller-2.2.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 12.9 kB
Release files / dvg_pid_controller-2.2.0.tar.gz
| Download URL | dvg_pid_controller-2.2.0.tar.gz |
|---|---|
| Size | 6.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
37b8681d378fed178c0a80e9f0d07b8d4cece457a9d8bc31371bd6e0d6db6d1e
|
|
BLAKE2b-256 checksum How to use checksums |
3c29cb0b4a9041c769b97d1262b8fec8001302b7e9c0d28b5a01ff640fd00e47
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.0 CPython/3.12.4
|
Release files / dvg_pid_controller-2.2.0-py3-none-any.whl
| Download URL | dvg_pid_controller-2.2.0-py3-none-any.whl |
|---|---|
| Size | 6.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
65e76d796c6f22e19d66afe1313ca249cc62cfc93db495994b8d7247b425224e
|
|
BLAKE2b-256 checksum How to use checksums |
d981143b3b3c76970647f71cea7e8d7d7cf883ec7c6c9d365e20da844122dca2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.0 CPython/3.12.4
|