Proportional–Integral–Derivative (PID) Controller#
This page describes information about a Proportional–Integral–Derivative Controller (a PID Controller or three-term controller). Rather than rely on the voltage sent to the motors to determine their speed (with each motor and gearbox requiring slightly different voltages) this uses a motor encoder that measures the speed of the motors themselves, then uses that to determine the difference between the intended and actual motor speeds. This is used to determine the distance each motor has traveled.
More later...
See: PID ControllerContent unavailable! (broken link)https://service.robots.org.nz/wiki/images/out.png on Wikipedia
Links#
- pimotorsContent unavailable! (broken link)https://service.robots.org.nz/wiki/images/out.png on github, by the author of Pootle's Place blog
- RobotPIDContent unavailable! (broken link)https://service.robots.org.nz/wiki/images/out.png (Complete PID in Python with integral etc.)
- Robert O'Hanlan's Robot PIDContent unavailable! (broken link)https://service.robots.org.nz/wiki/images/out.png
- Programming PID ControlContent unavailable! (broken link)https://service.robots.org.nz/wiki/images/out.png (Society of Robots)
- Reading encoder Tue Apr 10, 2018 12:04 amContent unavailable! (broken link)https://service.robots.org.nz/wiki/images/out.png
- Python Rotary EncoderContent unavailable! (broken link)https://service.robots.org.nz/wiki/images/out.png
The rest needs a lot of cleanup, titles, etc.
- https://www.microchip.com/forums/m337816.aspxContent unavailable! (broken link)https://service.robots.org.nz/wiki/images/out.png
- https://onion.io/2bt-pid-control-python/Content unavailable! (broken link)https://service.robots.org.nz/wiki/images/out.png
- https://pypi.org/project/simple-pid/Content unavailable! (broken link)https://service.robots.org.nz/wiki/images/out.png (too simple)
- http://code.activestate.com/recipes/577231-discrete-pid-controller/Content unavailable! (broken link)https://service.robots.org.nz/wiki/images/out.png (also too simple)
- https://www.oreilly.com/library/view/intelligent-iot-projects/9781787286429/26242fa7-713e-4e5d-b1dc-b5566a39d5b7.xhtmlContent unavailable! (broken link)https://service.robots.org.nz/wiki/images/out.png
- https://www.element14.com/community/community/raspberry-pi/blog/2019/02/12/pid-based-dc-motor-controller-projectContent unavailable! (broken link)https://service.robots.org.nz/wiki/images/out.png
- https://www.phidgets.com/docs21/DC_Motor_-_PID_ControlContent unavailable! (broken link)https://service.robots.org.nz/wiki/images/out.png
- http://robotsforroboticists.com/pid-control/Content unavailable! (broken link)https://service.robots.org.nz/wiki/images/out.png
- https://www.stuffaboutcode.com/2014/10/raspberry-pi-initio-robot-driving.htmlContent unavailable! (broken link)https://service.robots.org.nz/wiki/images/out.png
- https://github.com/martinohanlon/initioContent unavailable! (broken link)https://service.robots.org.nz/wiki/images/out.png