Categories

Calibrate a magnetic sensor

Posted on Monday, November 19th, 2018 in how-to, sensors by DP

mpu9250-bob

Liudr shared a how-to on calibrating a sensor:

First of all, what is calibration? In a general sense, calibrating a sensor makes the sensor provide the most accurate readings allowed by the sensor’s own precision. As an example, let’s assume for a moment that the earth’s magnetic field and any other stray magnetic fields are shielded and you have a uniform magnetic field generated artificially for the sole purpose of calibration. Let’s say that the field strength is 400 mG (milliGauss), equivalent to 40,000 nT (nanoTesla). Now if you align one axis of your magnetic sensor parallel to the direction of the field, it should read 400mG. If you then carefully rotate your sensor so that the axis is anti-parallel with your field, it will read -400mG. If you didn’t do a good job in either alignments, you will read less values, say 390mG, if you’re off by about 13 degrees, because only a portion of the field, which is a vector, is projected along your magnetic sensor’s axis.

See the full post on Liudr’s blog.

This entry was posted on Monday, November 19th, 2018 at 10:40 pm and is filed under how-to, sensors. You can follow any responses to this entry through the RSS 2.0 feed. You can skip to the end and leave a response. Pinging is currently not allowed.

Leave a Reply

Notify me of followup comments via e-mail. You can also subscribe without commenting.

Recent Comments

  • Sjaak: I love those spade connectors. Where to get them?
  • Justin Myers: Always worth a shot!
  • Jack: Honesty is based upon objective fact, and truth upon perception which is invariably subjective. Therefore be honest, and let history make its own decisions.
  • Crawford: Lucky?
  • hli: Sunday++