Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

[General] Remove Gravity from MPU6050 Readings

Status
Not open for further replies.

Pushpkant

Member level 1
Joined
May 17, 2014
Messages
39
Helped
2
Reputation
4
Reaction score
2
Trophy points
8
Location
India
Activity points
451
I want to track the translation motion of device. But there is always a constant acceleration of 1g towards the center of earth.

The overall acceleration from the MPU6050 is vector sum of gravity reaction acceleration and the translation acceleration.

How can this gravity reaction acceleration be removed from the acceleration data.
 

A value of 8192 is 1g must be subtracted using the correct orientation vector.

But this can also be used for offset and gain calibration for each orientation on initialization and saved in flash upon startup. One can also repeat at different temperatures.
Dropping device onto spring ( with soft materialk on surface and with same compression as gravity

i.e. same stop depth as drop height and analyzing +1g, 0g, -1g and back to +1g from collected data.
This can be averaged and used to calibrate offset and gain errors to eliminate all major sources of error and gravity.

Beware of noise and prevent as much as possible and use averaging.

Beware of calibration errors and orientation errors. √(x² + y² +x²) should equal 8192 before gravity is removed when stationary and = 0 after gravity vector is removed.
 
Last edited:
Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top