How to obtain only linear acceleration from accelerometer using gyroscope

accelerometergyroscope

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?

Best Answer

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.