Calculating Device position/angle in 2D plane using MPU9150

By manu.guisado , 16 October 2012

Hi,
I am interested in tracking free hand movement on a 2D surface (similar to an optical mouse). In addition to the position of the device (i.e. X ,Y displacement from start position) i also wish to calculate the angle of the device (about the Z axis).
Is it possible to calculate these values using the accelerometer and gyroscope readings on the MPU9150.
I understand that double integrating the acceleration will result in displacement and the Gyroscope reading about the Z axis will give Yaw angle, however will this match the accuracy of the optical sensors(mouse) in position calculation and can the gyro give me an angle accuracy of 0.01degrees.

Any other technique to obtain the above values using the MPU9150 with higher accuracy would also be helpful....

guy_mcilroy

13 years 5 months ago

Improving the data rate and numerical integration (eg.. Simpson's rule), may result in an improvement, as well as operation within a relatively noise-free environment. One thing to note for this application, is that the double-integration of inertial data to measure position results in an error that grows rapidly over time. One class of algorithms that correct this is called "Zero Velocity Update."

phpbb Post ID
21573

manu.guisado

13 years 5 months ago

Thanks for the suggestions....
I am aware of the zero velocity update technique to counter the drift in the calculations.I understand the need for noise free environment but cannot ensure that in the final application.As for the polling frequency i am running the sensor the highest allowed frequency.

phpbb Post ID
21576
phpbb Topic ID
14778