Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Android- Gyro Sensor drift and Correct angle Estimation

  1. Aug 30, 2011 #1
    I am using LG Optimus 2x smartphone(Gyroscope and Accelerometer sensor) for positioning. I want to get correct rotation angles from gyroscope that can be used later on for body to earth coordinate transformation. My question is that 1- How I can measure and remove the drift in gyro sensor. The one way is to take the average of gyro samples (when mobile is in static condition) for some time and subtracting from current sample, which is not good way. When the mobile is in rotation/motion how to get the drift free angles?
    regards navigator
  2. jcsd
  3. Aug 31, 2011 #2
    How many gyro and accelerometer sensors does the phone have? You most likely need 3 (orthogonal) gyros and another 3 accelerometers to do what you want to do. Also, not all sensors are created equal. To detect motion, you can use pretty low-cost sensors. To navigate accurately, the sensors have to be much better.
  4. Dec 2, 2011 #3
    if you combine accelerometers, gyro and GPS data using Kalman Filter, you should be able to estimate gyro bias values "in-motion". LG Optimus 2x have "not bad" sensors http://invensense.com/mems/gyro/mpu3050.html [Broken] so I think everything is possible. You can use inertial sensors for motion detection, and when you detect "no motion" you can start gyro bias estimation.
    Last edited by a moderator: May 5, 2017
Share this great discussion with others via Reddit, Google+, Twitter, or Facebook