View Single Post
  #3   Spotlight this post!  
Unread 02-02-2010, 10:48
Joe Johnson's Avatar Unsung FIRST Hero
Joe Johnson Joe Johnson is offline
Engineer at Medrobotics
AKA: Dr. Joe
FRC #0088 (TJ2)
Team Role: Engineer
 
Join Date: May 2001
Rookie Year: 1996
Location: Raynham, MA
Posts: 2,644
Joe Johnson has a reputation beyond reputeJoe Johnson has a reputation beyond reputeJoe Johnson has a reputation beyond reputeJoe Johnson has a reputation beyond reputeJoe Johnson has a reputation beyond reputeJoe Johnson has a reputation beyond reputeJoe Johnson has a reputation beyond reputeJoe Johnson has a reputation beyond reputeJoe Johnson has a reputation beyond reputeJoe Johnson has a reputation beyond reputeJoe Johnson has a reputation beyond repute
Re: Implementing a Kalman Filter for Gyro+Accelerometers

My experience is that simpler is better.

I haven't had that much difficulty with a simple integrator to for the gyro to turn angular rate into angular position (a virtual compass). With grippy tires on carpet (flat floor) I have been able to move down 40 ft via a serpentine path and return to home and have the virtual compass still be within a few degrees. Others claim even better performance.

As to accelerometers, I haven't personally done the double integration, but it is quite simple to implement and from what I understand it works pretty well.

For both cases, the integration gets off over time (and with high G events that overflow the sensor like a robot to robot collision) but it is surprisingly good for short time frames (like autonomous mode). You also have other sensors to help you get the integration constants right (like wheel encoders).

Good luck.

Joe J.
__________________
Joseph M. Johnson, Ph.D., P.E.
Mentor
Team #88, TJ2