0
$\begingroup$

I am wondering how to calibrate a magnetometer on an IMU that is installed on a heavy robot. Normally, hard and soft iron calibration is done by spinning the IMU in all axis, but since it is installed on a robot, it is only possible to spin the robot in the Z axis.

So what is the appropriate way of doing the calibration here? Should I detatch the IMU and calibrate it over the robot?

Thanks

$\endgroup$

1 Answer 1

0
$\begingroup$

I'm assuming that your integrated magnetometer and IMU has is doing a level of self calibration. Thus if you spin it around it will use the rate gyros to calibrate the magnetic variations. If you disconnect it from the robot you can calibrate it to itself. But when you do that you will be removing the value of calibrating it on the vehicle.

The vehicle itself will produce both magnetic fields as well as distort magnetic fields. (Respectively hard and soft iron effects) When you're calibrating the magnetometer, to be most useful on your robot it must remain fixed in space with respect to the effects of the robot. Since those are the effects that will be most valuable to calibrate out you'll want to calibrate while attached to the robot.

If you do not expect the vehicle to ever significantly pitch or roll then calibrating the magnetometer is likely less important or valuable to get coverage during your calibration routine.

There's a good overview of the needs of calibration of from Analog Devices As an example of how people have calibrated 1D magnetometers (aka compasses) in a much more analog example in boating via Practical Sailor

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.