View Single Post
  #6   Spotlight this post!  
Unread 05-02-2005, 19:31
jdong jdong is offline
Linux Nerd
AKA: John D
#0245 (Adam-Bots)
Team Role: Programmer
 
Join Date: Apr 2004
Location: Rochester, MI
Posts: 98
jdong will become famous soon enoughjdong will become famous soon enough
Re: All-Time PID Drive with Hall-effects: Coming along very nicely

Sorry for the delays, ran into a few snags the past two weeks.

The balance between stability at low speeds and fast responses at high errors is extremely frustrating and time-consuming to find.

Right now, I've broken the algorithm into Low, High, and Overdrive modes.

Low uses small Kp/Ki (1 or 2), with a PWM limit of +/- 1 per loop. High uses a higher constant with a larger slope. Overdrive is engaged if the joy is pushed past a certain point, and switches to max PWM output.


I plan on releasing this code next week, likely under the BSD license.
__________________
John Dong
Co-Captain, Webmaster / Programmer
Team 245 -- Rochester Adams Robotics