![]() |
What constants are u using for high velocity PID
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 |
Re: What constants are u using for high velocity PID
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.
|
Re: What constants are u using for high velocity PID
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...
|
Re: What constants are u using for high velocity PID
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. |
| All times are GMT -5. The time now is 14:13. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi