|
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
|