Comments (3)
Oh, it is! You are right. Sorry to cause you work.
from simple-pid.
You need to use negatives gains for all the control actions that you use (proportional, integral, derivative)
I agree that maybe in the README there could be a bit more documentation about the structure of the controller and so on but since it's a classical control strategy you can find a lot of information on Google
Wikipedia, related question in stackoverflow
from simple-pid.
Checking the README it actually appears to be documented:
To use the PID in reverse mode, meaning that an increase in the input leads to a decrease in the output (like when cooling for example), you can set the tunings to negative values:
pid.tunings = (-1.0, -0.1, 0)
Note that all the tunings should have the same sign.
from simple-pid.
Related Issues (20)
- mypy error simple_pid/PID.pyi:45: error: Name "output_limits" already defined on line 17 HOT 2
- Run mypy in CI HOT 2
- Rename PID module HOT 1
- Drop Python 2.7 and <3.6 support? HOT 1
- running the code and the simple provided example issue HOT 2
- I was wondering if the derivative gain should be negative HOT 1
- MicroPython Port. HOT 6
- Package installed from pip and local one are different HOT 1
- Implementation is incorrect
- Time module / micropython running on Pi Pico HOT 1
- Improve tests HOT 2
- pid.differential_on_measurement/differetial_on_measurement not working HOT 2
- output the control errors HOT 1
- Documentation update
- Using PID to monitor/correct Xtal frequency wrt other/reference system. HOT 2
- Duplicate state after updating measurement HOT 1
- Running several instances of 'simple-pid in parallel on the same MCU
- 111
- no issue / ideas only
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from simple-pid.