Atlas Robotics
Hardware AMRIntermediate

IMUs in AMRs: detecting wheel slip that odometry misses

Atlasbot · 22/8/2026 · 11 min read

IMUs in AMRs: detecting wheel slip that odometry misses
IMU mounted near the robot's center of gravity, compared with odometry to detect wheel slippage

The Sensor & Perception section has its own series of articles explaining what an IMU is, what an accelerometer and gyroscope measure, and how to calibrate it. This article does not repeat the sensor principle — instead focusing on the specific question of AMR: What role does the IMU play in mobile robot hardware architecture, and why nearly every serious AMR fuses the IMU with the encoder instead of just using one of the two.

Key concepts

In the AMR architecture, the IMU takes on three specific roles that the encoder alone cannot do:

  • Tilt/vibration detection — warns when the robot passes over an uneven surface, at risk of overturning (directly related to the stability problem mentioned in lesson Types of AMR)
  • Provides independent angular velocity — gyro directly measures the rotation speed of the robot body, independent of the "wheel no slip" assumption like odometry from encoder
  • Detection of wheel slip — this is the most important role in practical AMR, detailed below

How it works

Odometry from the encoder (learned in lesson Encoder) implicitly assumes that wheel does not slip — the distance calculated from the number of wheel revolutions is only correct when the wheel actually rolls on the floor, not rotating in place due to loss of grip (slippery floor, skewed load, too sudden acceleration).

The IMU provides an independent data source, independent of that assumption: the accelerometer directly measures the actual acceleration of the robot body. When the two data sources — the velocity deduced from the encoder and the acceleration measured from the IMU — conflict significantly, it is a clear sign of wheel slippage. The EKF filter (learned in the Robotics Fundamentals section, Localization section) is what merges these two data sources into a more reliable location estimate than either source individually.

Technical details

Formulas

Detect wheel slippage by comparing the predicted velocity from the encoder with the velocity inferred from the IMU acceleration integral:

v_odom = ω_wheel × r (from encoder, assumed no slipping)

v_imu(t) = v_imu(t-1) + a_imu × Δt (integral acceleration measured from IMU)

If |v_odom − v_imu| > slip_threshold → suspect wheel is slipping,
reduces the reliability (weighting) of the odometry in the EKF filter at that time

Parameters

IMU typeNumber of degrees of freedom (DOF)Suitable
6-DOF (accel + gyro, VD: MPU6050)6Small-medium sized AMR, enough for basic slip + fusion detection
9-DOF (extra magnetometer)9Need more absolute compass direction, environment with little magnetic interference

Practical applications

In a real ROS2 system, package robot_localization runs EKF to merge data /odom (from the encoder) and /imu (acceleration + angular velocity) into a smoother and more reliable position estimate — this is a direct application of the principle outlined in article EKF in the Robotics Fundamentals section, applying specifically to the section hard AMR. The IMU installation location is equally important as the algorithm: the closer the IMU is mounted to the robot's center of gravity, the more measured acceleration/angular velocity data accurately reflects the actual motion of the entire robot's body, instead of being disturbed by the lever arm effect when mounted far from the center of gravity.

Practical example

Scenario: command robot runs forward with wheel speed measured from encoder v_odom = 0.3 m/s,
But the wheel is in a puddle of oil and has lost grip

The IMU measures nearly zero acceleration for 1 second continuously
→ v_imu estimated ≈ 0 m/s (the actual robot is almost stationary)

Compare: |v_odom − v_imu| = |0.3 − 0| = 0.3 m/s > slip_threshold (eg: 0.1 m/s)
→ Wheel slip detection system, reduce odometry weight in EKF,
   rely more on IMU + LiDAR scan-matching data until it sticks to the floor

Without this detection step, the robot will believe it has moved 0.3m even though it is actually standing still — this error adds up very quickly to the localization map if it happens repeatedly.

Common mistakes

  • Mount the IMU far from the robot's center of gravity or close to a strongly vibrating motor — acceleration/angular velocity data is disturbed by mechanical vibration, not reflecting the true motion of the entire robot body.
  • Only use odometry without fusion with IMU — as in the above example, the robot will not detect wheel slippage, leading to rapid accumulation of position errors without warning.
  • Ignore gyro drift over time — angular velocity from gyro has cumulative error (drift) if simply integrated without a correction mechanism — this is why EKF often incorporates other data sources (magnetometer, or map matching) to limit drift.
  • Do not calibrate the IMU before installing it on the robot — Uncalibrated bias and axis deviation cause systematic acceleration/angle data errors, directly affecting wheel slip detection accuracy.

Conclusion

The IMU in an AMR is more than just a "tilt angle sensor" as is often thought — combined with an encoder via EKF, it is the main tool for detecting wheel slippage, an error that odometry alone cannot detect at all. Installation location close to the center of gravity and proper calibration determine the quality of this data. The next article in the column goes into Bumper and Emergency Stop — the final layer of physical protection when all other sensors fail to react.

Get new articles and lessons by email

When a new technical article or course module is published, Atlas Robotics sends you a short email. No spam.

Unsubscribe any time with the link in each email. See our Privacy policy.

IMUs in AMRs: detecting wheel slip that odometry misses — Atlas Robotics