I'm currently working on a self-balancing robot with an Arduino Uno and a 10DOF ADXL345 sensor. Everything is going fine until I got to this PID tuning part. I've read about it several times but I'm unable to get the desired results. Can somebody give a detailed guide on PID tuning? Thank you.
Maybe you can help yourself with this tutorial for PID line follower robot. I successfully tuned my PID for line following and had some success with PID for wall following with sonar.
In real life there is no set equation to find the PID values. At best you'll get close with equations and then need to tune the parameters.
For anyone into PID loops have a read of this. I've found it to be excellent.
My advice is to:
- only use P
- set I & D to 0
- get it and good as you can by trial and error
- add I and trial it too
D is for experts really and may cause weird/undesirable jitter.