What is an IMU?

An IMU (Inertial Measurement Unit) is a sensor package that measures a robot’s motion and orientation in real time. Every walking robot, flying drone, and autonomous vehicle has one — usually buried inside the chassis, reporting data hundreds of times per second.

What’s Inside

An IMU combines three sensors:

SensorMeasuresWhy It Matters
AccelerometerLinear acceleration (including gravity)Knows which way is down; detects impacts and vibrations
GyroscopeRotational rate around 3 axesKnows how fast the robot is turning or tilting
Magnetometer (optional)Orientation relative to Earth’s magnetic fieldProvides a stable heading reference (like a compass)

What the IMU Tells the Robot

  • Orientation: Is the robot leaning forward? Tilting sideways? Upside down?
  • Acceleration: Is it speeding up, slowing down, or falling?
  • Angular velocity: How fast is it rotating around each axis?

This feeds into the balance controller — the software loop that keeps a humanoid from falling. When the IMU detects a lean, the controller commands ankle or hip actuators to push back.

IMU Limitations

ProblemCauseSolution
DriftTiny measurement errors accumulate over timeFuse with other sensors (lidar, GPS, wheel encoders)
Vibration noiseMotors and rough terrain create high-frequency noiseSoftware filtering; mechanical isolation
No position dataIMU alone can’t tell you where you are in a roomCombine with slam\ or GPS

Every Robot Has One

RobotIMU Role
Boston Dynamics AtlasBalance during dynamic movements (backflips, running)
Unitree G1Walking stability on flat surfaces
DronesAttitude control; prevents crashes during wind gusts
Autonomous vehiclesSupplement to GPS; detects skids and sharp turns

The Bottom Line

The IMU is the robot’s inner ear — the sensor that knows how the body is moving even when eyes (LiDAR, cameras) are blocked or confused. Without it, a walking robot couldn’t balance. With it, the robot has the raw data it needs to stay upright, but still needs good software to interpret that data fast enough to matter.