2009:Traction control function

From 1511Wookiee
Revision as of 16:57, 14 January 2009 by Programming (talk | contribs)
Jump to navigationJump to search

Traction control function

Requirements

  1. When a wheel or wheels start slipping,  stop the slipping and regain traction
  2. Allow for special cases such as when one or two wheels is on carpet.


Assumptions

  1. We know the power values (L drive and R drive) we gave to the motors 
  2. Our only sensor input is the actual motor speed of each of four motors.
  3. We do not know robot speed nor direction.


Research

Research shows the options available to us include:

  1. Applying brakes to wheel that is slipping   (in our case,  we'd simulate with reversing direction)
  2. Reducing power to all wheels
  3. Reducing power to the wheel (or wheels) that are slipping

Option #3 is our currently preferred option.


Link: en.wikipedia.org/wiki/Traction_control_system

Link: auto.howstuffworks.com/28000-traction-control-explained.htm


Ideas

  1. Compare left-front vs. left-rear wheels.    If one wheel is significantly faster than the other,  assume it is slipping.    Reduce power to the slipping wheel for xxx milliseconds then restore restore full power.     Perform same check for right-front vs. right-rear. 


Design