ROBOTIC.INDUSTRIES

Perception and Sensors

IMU Drift: How Fast a Robot Loses Its Heading

An inertial measurement unit is perfect for a second and useless after a minute. The arithmetic of drift, what each grade costs, and what has to correct it.

Safety laser scanner mounted low on a machine frame on a factory floor
Safety laser scanner mounted low on a machine frame on a factory floor

A consumer-grade gyroscope with a bias stability of 10 degrees per hour accumulates about 0.17 degrees per minute of heading error, and on a robot travelling 30 m that is roughly 90 mm of lateral deviation. Position from double-integrated acceleration is far worse: with a bias of 1 milli-g, error grows to about 1.8 m in 60 seconds. An IMU is a short-term reference that something else must continuously correct.

0.17 deg/minheading drift at 10 deg/h bias stability
1.8 mposition error after 60 s at 1 milli-g bias
how position error grows with time
1,000xprice spread between IMU grades

The arithmetic of drift

Two integrations separate an accelerometer from a position, and each one amplifies error. A constant acceleration bias b produces a position error of b times t squared divided by two. For b of 1 milli-g, which is about 0.0098 m/s², the error is 0.0049 t².

Position error from a 1 milli-g accelerometer bias
Elapsed timePosition error
1 s5 mm
5 s0.12 m
10 s0.49 m
30 s4.4 m
60 s17.6 m

Note the shape. Doubling the time quadruples the error, which is why inertial navigation alone is never a solution and why every practical system pairs the IMU with an absolute reference.

Heading drift is the one that matters on a wheeled robot. Position from accelerometers is discarded almost immediately in favour of wheel odometry. What the gyroscope contributes is heading between absolute corrections, and that is where the specification should be judged.

The grades and what they cost

IMU grades by gyroscope bias stability
GradeBias stabilityHeading driftPrice bandTypical use
Consumer MEMS50 to 200 deg/h0.8 to 3.3 deg/min1 to 20Phones, toys, orientation only
Industrial MEMS3 to 20 deg/h0.05 to 0.33 deg/min100 to 2,000Mobile robots, AGVs
Tactical0.1 to 3 deg/h0.002 to 0.05 deg/min2,000 to 30,000Survey robots, long GNSS outages
Navigation0.001 to 0.01 deg/hnegligible over minutes50,000+Aerospace, submarine

The industrial MEMS row covers the overwhelming majority of ground robots, and the reason is straightforward: the correction sources available indoors are good enough that paying a hundredfold for a tactical unit buys very little.

What corrects the drift

  1. Wheel odometry. Excellent on clean flat floors, poor on wet, dusty or uneven ground where slip is unmeasurable. Usually the primary correction indoors.
  2. Scan matching against a map. Provides absolute heading and position at 10 to 40 Hz. The main correction in warehouse robots.
  3. Visual odometry. Works where features exist, fails in featureless corridors and poor light.
  4. GNSS with a dual antenna. Gives absolute heading outdoors, which single-antenna GNSS cannot do while stationary.
  5. Zero-velocity updates. When the robot is known to be stopped, any measured velocity is error and can be used to re-estimate bias. Free, and frequently unused.
  6. Magnetometer. Absolute heading reference, and unreliable indoors near steel structures and motors.

Point five is the free improvement most systems leave on the table. A robot that stops at a station for 20 seconds has 20 seconds of perfect information about its own velocity, and using it to re-estimate gyroscope bias measurably reduces drift on the next leg.

Building an error budget

Heading error between corrections is what a navigation designer actually has to bound. The calculation is short and worth doing before hardware is chosen.

Heading error between absolute corrections
Gyro bias stabilityAfter 10 sAfter 60 sLateral error over 20 m
100 deg/h0.28 deg1.67 deg580 mm
20 deg/h0.06 deg0.33 deg116 mm
10 deg/h0.03 deg0.17 deg58 mm
3 deg/h0.008 deg0.05 deg17 mm
0.5 deg/h0.001 deg0.008 deg3 mm

Lateral error is computed for a straight 20 m run with the heading error accumulated over 60 s. Read it against the docking tolerance the task requires: if a station needs 20 mm, an industrial MEMS unit at 10 degrees per hour will not hold it for a minute without correction, and either the correction rate or the sensor grade has to change.

Practical notes

  • Mount rigidly and near the centre of rotation. Vibration adds noise the filter cannot distinguish from motion.
  • Let it warm up. MEMS bias changes substantially in the first minutes after power-on, and calibrating cold produces a bias estimate that is wrong once warm.
  • Compensate temperature. Bias varies with temperature, and units with factory temperature calibration are worth the premium in unheated spaces.
  • Log the raw data. Diagnosing a navigation fault without raw inertial data is guesswork, and the storage cost is trivial.

Frequently asked questions

How fast does an IMU drift?

Heading drift follows the gyroscope bias stability: 10 degrees per hour is about 0.17 degrees per minute. Position from double-integrated acceleration grows with time squared, reaching roughly 1.8 m in 60 seconds at 1 milli-g bias.

Can a robot navigate on an IMU alone?

No, not for more than a few seconds. Position error grows with the square of time, so inertial data must be combined continuously with wheel odometry, scan matching, visual odometry or satellite positioning.

Which IMU grade does a mobile robot need?

Industrial MEMS, with 3 to 20 degrees per hour bias stability, covers almost all ground robots. Tactical grade is worth its hundredfold price only where absolute references are unavailable for long periods.

What is a zero-velocity update?

Using periods when the robot is known to be stationary to re-estimate sensor bias, since any measured velocity during that time is error. It is free, effective and frequently unimplemented.

Is a magnetometer useful indoors?

Rarely. Steel structures, motors and current-carrying cables distort the magnetic field enough to make heading readings unreliable, which is why indoor robots depend on scan matching rather than on a compass.

Sources

  1. Official U.S. government information about GPSPublished positioning performance and system status
  2. Robotics at NISTNational Institute of Standards and Technology, robot performance measurement and test methods
  3. ISO 3691-4, safety requirements for driverless industrial trucksInternational Organization for Standardization, positioning requirements for guided vehicles