|
Re: Encoders for Auto Driving
Yes, you would use a PID controller to be the most accurate. If you would rather keep things simple and less time consuming (at the cost of a little error), then using just proportional drive power as a function of distance to desired target (plus a bias to account for your deadband -- that is, the minimum power at which you will move at all due to friction in the system) should work okay.
We have sufficient damping in our drive system that overshoot is nearly negligible, so I've advised our team just to use proportional power rather than dealing with the PID class. Arm angles, on the other hand, are a different story...
__________________
My FIRST legacy:
Team 204 Student 2001, 2002 (Voorhees, NJ)
Team 1493 College Mentor 2006 - 2008 (Troy, NY)
Team 2150 Intern/Professional Mentor 2007, 2009 (Palos Verdes)
Team 4123 Lead Engineering Mentor 2012 (Bellflower, CA)
Team 4276 Engineering Mentor 2012-2016 (Huntington Beach, CA)
|