View Full Version : What constants are u using for high velocity PID
Salik Syed
17-02-2006, 20:46
What constants for P I and D? I got it to somewhat work but its velocity was always too high... i know i could further test more values but i tried all day and now i am at home and have no access to the robot, i desparately need some values that i can try out... our custom PID code is totally screwed up and i might port over watsons but i need a start point well...... this turning into a rant...
thanks for any help
Paul Copioli
17-02-2006, 23:28
Try tuning it without I. A PD loop will be fine for high speed velocity. You are, more than likely, getting fast Integration error build up. We are not using I and we are right on target for both wheels. At high speed, the P gain is very sensitive so you will need to really play with D a lot more than if you were tuning a drive train.
steven114
17-02-2006, 23:29
Also make sure that your terms are sensible - I had problems when my P term overflowed when the error was large enough. If the signs are wrong, then you'll find all kinds of problems...
Jared Russell
18-02-2006, 23:22
I had a P of 70, a D of 30, and an I of 3, all divided by a divisor of 10. That's with a 16 CPR encoder on the shaft.
Snaps right to the setpoint.
vBulletin® v3.6.4, Copyright ©2000-2017, Jelsoft Enterprises Ltd.