How to obtain only linear acceleration from accelerometer using gyroscope?

13,842

I have implemented sensor fusion for the Shimmer platform based on this manuscript, it's basically a tutorial:

Direction Cosine Matrix IMU: Theory

This manuscript pretty much answers your question.

These have also been a big help:

An introduction to inertial navigation

An Introduction to the Kalman Filter

Pedestrian Localisation for Indoor Environments

Combine Gyroscope and Accelerometer Data

Just promise me you won't try double integrating the linear acceleration because it won't work and I suspect that it is what you are trying to do.

Share:
13,842
GuiccoPiano
Author by

GuiccoPiano

Updated on June 04, 2022

Comments

  • GuiccoPiano
    GuiccoPiano almost 2 years

    I have a small remote controlled car going on the room floor. For simplicity let us assume it is moving along say x-axis. Now, the floor seems flat but there are very minute uneven bumps in every surface. So whenever the car is not exactly flat (as it was at starting position) or in other words whenever the car has even slightest of tilt then, Total Acceleration obtained from accelerometer = Linear Acceleration + Acceleration due to tilt

    My question is how to remove the acceleration due to tilt so that I get only linear acceleration? Can I somehow use gyroscope to do that?

  • GuiccoPiano
    GuiccoPiano almost 12 years
    Hi.The last link you posted is my question itself and double integration is exactly what I am planning to do. I know you have already mentioned that this wont work. But this is my project and I have to try. Right now my accuracy is this: if I move the sensor say 40 cm along a straight line and just use accelerometer data (assuming that I just get Linear Acceleration), I get random vlaues for position if I repeat the test. Example: test 1 : Pos= 51cm , test 2 : Pos= 46cm , test 3 : Pos = 76cm, test 4 : Pos= 19cm, test 5:Pos= 109cm. Can I get more closer or atleast constant error using gyro?