Research Careers Contact

GlossarySensor calibration

Sensor calibration

Sensor calibration is the process of measuring a sensor's errors against known references and storing correction values so its readings match true values. Common corrections are offset, scale factor, axis misalignment and temperature drift.

How it works

A calibration step exposes the sensor to known inputs and records its outputs. An accelerometer is placed in several orientations so gravity acts along each axis. A gyroscope is held still to measure its bias, or rotated at known rates. A current sensor is fed known currents. The difference between reading and reference gives the correction, often a set of offsets, gains and a misalignment matrix. These values are written to the device's memory and applied by its firmware.

The NIST/SEMATECH e-Handbook of Statistical Methods describes calibration as relating a measurement to a reference standard, and NIST provides calibration services that tie references to national standards. Flight control software such as PX4 includes accelerometer and gyroscope calibration routines for drones.

Factory calibration vs field calibration

Factory calibration happens once in production, with controlled fixtures and references, and its values are stored per unit. Field calibration runs after installation or periodically, often by the user, to correct for mounting, aging or the local magnetic field. Many products use both: a factory calibration for the sensor itself and a field calibration for how it is installed.

Why it matters

Raw sensor readings vary from unit to unit and with temperature. Without calibration, two identical robots read different angles, currents or accelerations. Control systems built on those readings drift, oscillate or misjudge position.

How to get it right

  • Calibrate against references that are themselves traceable to known standards.
  • Calibrate across temperature when drift matters.
  • Store values with the unit's serial number as well as on the device.
  • Check the result with a second measurement after applying corrections.
  • Recalibrate after mechanical changes, such as remounting the board.

Sensor calibration in robotics and drone hardware

IMUs, magnetometers, encoders and current sensors set how well a robot or drone knows its own state. Calibration on the board at end-of-line, plus a quick field calibration after installation, gives consistent behavior across a fleet.

Learn more