2009:Traction control function
From 1511Wookiee
Jump to navigationJump to search
Traction control function
Requirements
- When a wheel or wheels start slipping, stop the slipping and regain traction
- Allow for special cases such as when one or two wheels is on carpet.
Assumptions
- We know the power values (L drive and R drive) we gave to the motors
- Our only sensor input is the actual motor speed of each of four motors.
- We do not know robot speed nor direction.
Research
Research shows the options available to us include:
- Reducing power to all wheels
- Reducing power to the wheel (or wheels) that are slipping
Option #2 is our currently preferred option.
Link: en.wikipedia.org/wiki/Traction_control_system
Ideas
- 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.