Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to determine relative position using accelerometer and gyro data

I am designing a robot, and need to track the distance and direction of the robot motion, Nothing in 3D, I only need x,y and angle in x y plane.

My question :

  1. Is it possible to use gyro and accelerometer with kalman filtering or any other methods to track this? (I do not have motor encoders)

My constraints : I do not have space to include a gps (due to power requirements) or motor encoders (due to motor support)

like image 375
srinathhs Avatar asked Feb 21 '11 16:02

srinathhs


People also ask

How do we determine the position of an object with accelerometer and gyroscope sensor data?

Re: Get a Position from Gyroscope and Accelerometer You need a magnetometer to calculate the attitude (rotation). Use the attitude to filter out the gravity acceleration from the raw accelerometer values so you're left with linear acceleration. Integrate it twice to get velocity and position and voila!

Can an accelerometer measure position?

Because they can accurately determine the speed, direction and position of a body in motion, accelerometers play an indispensable role in providing digital electronic circuits with real-world information for a multitude of applications.

How do you combine accelerometer and gyroscope data?

When combining 3D accelerometers and 3D gyroscopes, the complementary (or Kalman) filter initially uses the gyroscope for precision as it is not vulnerable to external forces. Long term the accelerometer data is used because it does not drift. These values are integrated over time.


1 Answers

No, not really. If you integrate the accelerometer values twice you get position but the error is horrible. It is useless in practice.

Here is an explanation why (Google Tech Talk) at 23:20.

A related question is probably this.

like image 134
Ali Avatar answered Oct 24 '22 05:10

Ali