magnetometer calibration

By jdsimeao , 16 October 2013

Hi guys I am trying to connect the mpu9150 to a raspberry pi, I am having some problems understanding the calibration of the sensors. I think I understand how to adjust the bias for the gyroscope and accelerometer but I need help regarding the magnetometer ?? Can you tell me hot to calibrate the magnetometer ?

guy_mcilroy

12 years 5 months ago

Our eMPL library, (MotionFit SDK) has this included in it.

You can also take a look at the Embedded Motion Driver Tutorial, in this document there is a section on magnetometer calibration and integration

phpbb Post ID
24177

johnkzao

12 years 3 months ago

@sectionsbest wrote:

Our eMPL library, (MotionFit SDK) has this included in it.

You can also take a look at the Embedded Motion Driver Tutorial, in this document there is a section on magnetometer calibration and integration


I have posted the same question under the technical section. I wonder if it is possible to calibrate the magnetometer only once at production of my product? I would store all the calibration data in a NVM. Then in the field were the device would be used I would not need to calibrate it again? Is this possible or do I need to perform a figure 8 every time I use the device?
phpbb Post ID
24180

guy_mcilroy

12 years 3 months ago

Compass calibration would also be required in the field to ensure the heading does not drift.

Constant figure 8's are obviously not very practical. There are run time calibration routines within our eMPL libraries, you can also implement your own compass calibration.

phpbb Post ID
24183
phpbb Topic ID
15702