Kalman filters, gyros and accelerometers in 3DOF, Oh my

  • Thread starter Thread starter Ian_Brooks
  • Start date Start date
  • Tags Tags
    Filters
Click For Summary

Discussion Overview

The discussion revolves around the application of Kalman filters in systems utilizing accelerometers and gyroscopes, particularly in the context of improving data accuracy and sensor fusion. Participants explore the theoretical underpinnings, practical implementations, and specific challenges associated with these filters in inertial measurement systems.

Discussion Character

  • Exploratory
  • Technical explanation
  • Debate/contested
  • Mathematical reasoning

Main Points Raised

  • Some participants inquire about the specific advantages of using Kalman filters with accelerometers and gyroscopes, seeking clarity on how they improve system performance.
  • One participant describes the Kalman filter as a predictive feedback method that reconciles noisy measurements with known reference values, suggesting it bridges the gap between sensory data and actual position.
  • Another participant explains that Kalman filters can effectively combine the strengths of gyroscopes, which suffer from drift due to integration over time, and accelerometers, which measure all acceleration including gravitational effects.
  • Different types of Kalman filters are mentioned, including discrete, extended, and hybrid versions, with a recommendation to start with the discrete Kalman filter for its simplicity.
  • A participant mentions their experience implementing an extended Kalman filter for a non-linear system, indicating its practical utility in real-world applications.
  • One participant raises a question about the feasibility of filtering out gravitational effects from accelerometer data without gyroscope readings and compares the effectiveness of Kalman filters to other filtering methods like moving averages or low-pass filters.

Areas of Agreement / Disagreement

Participants express varying levels of understanding and experience with Kalman filters, and while some agree on their utility in sensor fusion, there is no consensus on the specific methods or effectiveness compared to other filtering techniques. The discussion remains unresolved regarding the best approach for filtering accelerometer data without gyroscope input.

Contextual Notes

Participants mention limitations in their understanding of Kalman filters and the specific challenges they face in implementation, indicating a need for further exploration of the topic. There are also references to external resources that may aid in understanding.

Who May Find This Useful

This discussion may be useful for individuals interested in sensor fusion, particularly those working with inertial measurement systems in robotics, aerospace, or motion tracking applications.

Ian_Brooks
Messages
127
Reaction score
0
Can someone please explain to me how kalman filters would help a system with accelerometers and Gyros work better together?

Thanks
 
Engineering news on Phys.org
Ian_Brooks said:
Can someone please explain to me how kalman filters would help a system with accelerometers and Gyros work better together?

Thanks

Can you be more specific? What is the source of the assertion that Kalman filters would provide special help?
 
sure -

I know a kalman filter uses a predictive feedback method by comparing a known reference predicted value to an actual value measured in noisy environments. If I use a system that uses gyroscopes and accellerometers for Innertial measurement, I was told a Kalman filter bridges the gap between sensory data and the actual position.

However, without knowing exactly how a kalman filter would solve my problem I'm having a little trouble getting started.

i'm currently reading the following paper to see where I need to go next.

http://www.invensense.com/shared/pdf/motion_sensing_accel_human.pdf
 
Last edited by a moderator:
Kalman filters are a good way of combining the best of both worlds of the gyroscope and accelerometers. Gyroscopes work by integrating constantly over a period of time, which creates error because it is an iterative process. This is usually referred to as "drift". Accelerometers measure acceleration in only one axis and typically don't generate and error. However they do measure all acceleration, this includes the gravitational field and what ever acceleration the sensor may be experiencing. A kalman filter is often used to tie the two together, the gyro measuring rotation, and the accel minimizing the error that the gyro creates (accel is offset from center of rotation, purhaps delta pattern). This doesn't have to be done with a kalman filter, there are a lot of easier ways of doing it but they don't perform as well.

There are a lot of different kinds of kalman filters. The most common is the discrete kalman filter which is used for linear systems and normal or gaussian distributions. There is also the extended kalman filter typically used for stochastic non-linear systems. Then there is also different breads and hybrids like the unscented kalman or kalman-bucy filter.

I suggest you start with the discrete kalman filter as it is the simplest and easiest to implement. If your writing code for this project, a discrete kalman filter can usually be implemented in only 5 lines of code after the system is defined.

This is a great paper if your just getting started with the KF: http://www.cs.unc.edu/~welch/media/pdf/kalman_intro.pdf

I needed to implement an extended kalman filter for a non-linear system for a project at work and this got me up to speed very fast.
 
thanks, I'm currently making a hardware protoype with the sensors mounted onto a single board, the software implementation will come into play next semester.
 
Hi,

If I only have accelreometer readings and no gyroscope or orientation readings is it still possible to filter out g from it using a kalman filter? Also will kalman filter help me reduce the noise from the accelerometer data better than a moving average or a low pass filter?
 

Similar threads

Replies
8
Views
3K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
Replies
9
Views
7K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 4 ·
Replies
4
Views
2K
Replies
2
Views
2K
Replies
9
Views
3K
  • · Replies 1 ·
Replies
1
Views
5K
  • · Replies 46 ·
2
Replies
46
Views
4K