What an IMU measures
An IMU, or inertial measurement unit, is a sensor package that measures how an object accelerates and rotates. A typical IMU has a three-axis accelerometer, measuring linear acceleration along the x, y and z axes, and a three-axis gyroscope, measuring the rate of rotation about them. Together they are called a 6-axis IMU. Many add a three-axis magnetometer, which senses the Earth’s magnetic field as a heading reference, making a 9-axis IMU.
An IMU does not measure position directly. A processor integrates its readings: rotation rate gives orientation, and acceleration, once gravity is removed, gives velocity and then position. That process is called dead reckoning, and it works anywhere, with no external signal, which is exactly what satellite positioning cannot do.
The catch is drift. Small errors in the sensors add up as they are integrated, so an IMU’s position estimate wanders further from the truth the longer it runs alone. That is why IMUs are almost always combined with something that gives an absolute reference, most often GNSS.
How the sensors work
Most IMUs today are MEMS devices: microscopic mechanical structures etched in silicon. A MEMS accelerometer measures how far a tiny proof mass moves on its springs; a MEMS gyroscope measures the Coriolis force on a vibrating structure as it turns. They are small, cheap and robust, which is why they are in every phone and drone.
Higher-performance IMUs use optical gyroscopes. A fibre optic gyroscope (FOG) sends light both ways around a coil of fibre and measures the tiny phase shift rotation causes; a ring laser gyroscope (RLG) does the same with laser beams in a sealed cavity. They drift far less, at a much higher cost.
IMU performance grades
IMUs are usually grouped by how stable their gyroscopes are, because gyro drift dominates how long the IMU can navigate alone. Figures vary by source and are approximate.
| Grade | Gyro bias stability | Typical technology | Typical use |
|---|---|---|---|
| Consumer | Above 10 °/h | MEMS | Phones, wearables, toy drones |
| Industrial | Around 1 to 10 °/h | MEMS | Robots, vehicles, commercial drones |
| Tactical | Around 0.1 to 1 °/h | High-end MEMS or FOG | Mapping, survey, guided systems |
| Navigation | Below 0.01 °/h | FOG or RLG | Aircraft, ships, submarines |
For most vehicle and robot work, an industrial MEMS IMU fused with GNSS is enough; survey and mapping systems move up to tactical grade to hold accuracy through longer outages.
IMU vs INS vs AHRS
The terms are related but not interchangeable:
-
//
IMU. The sensors alone, outputting raw acceleration and rotation rate.
-
//
AHRS. An attitude and heading reference system adds processing to output orientation: roll, pitch and heading.
-
//
INS. An inertial navigation system adds full navigation, outputting position and velocity as well. A GNSS/INS fuses satellite positioning with the IMU.
-
//
VIO. Visual-inertial odometry fuses an IMU with a camera, for robots and drones that work indoors where GNSS is unavailable.
IMU and GNSS together
GNSS alone gives absolute position but loses it in tunnels, deep cuttings, under bridges and between tall buildings. An IMU tracks movement between fixes, and fusing the two gives a smooth, continuous position that a mapping or inspection system can rely on. GNSS corrects the IMU’s drift; the IMU fills the gaps and smooths the noise in GNSS. Adding RTK corrections takes the combined system to centimetre level outdoors. Our sensor fusion FAQ covers how the estimates are combined, and GNSS vs GPS explains the satellite side.
The IMU also tells the system which way cameras and sensors are pointing, which matters for mapping and for stabilising images, and it records shocks and vibration along a route.
Getting good results depends as much on installation as on the sensor. Mount the IMU rigidly, close to the vehicle’s centre of rotation where possible, and measure its offset from the GNSS antenna and cameras accurately, because the fusion software uses those lever arms in every calculation. Isolate it from high-frequency vibration, such as an engine or pump, which can saturate MEMS sensors. Temperature changes shift MEMS bias too, so better IMUs are calibrated across their temperature range at the factory.
Where IMUs are used
IMUs are in drone flight controllers, where they keep the aircraft level hundreds of times a second (see how a Jetson connects to a flight controller), in vehicle navigation and ADAS, in robots and AGVs, in rail and road survey systems and in antenna and camera stabilisers. The railway track inspection case study uses GNSS and IMU cards inside one of our railway computers to position every image along the track.
Quick answers on IMUs
IMUs: common questions
What does IMU stand for?
Inertial measurement unit. Inertial because it measures motion relative to inertial space, using accelerometers and gyroscopes rather than external signals.
What is a 6-axis vs 9-axis IMU?
The number of sensing axes. A 6-axis IMU has a three-axis accelerometer and gyroscope; a 9-axis IMU adds a three-axis magnetometer for heading.
Can an IMU give position on its own?
Only for a short time. Integrating its readings gives position, but errors grow quickly, so an IMU needs GNSS, wheel speed or vision to stay accurate.
What is the difference between an IMU and a gyroscope?
A gyroscope is one part of an IMU. A gyroscope measures rotation only; an IMU combines gyroscopes with accelerometers, and often a magnetometer.
How does an IMU connect to a computer?
Usually over a serial bus. Small MEMS IMUs use SPI or I2C on a board; packaged IMUs and INS devices use UART, USB, CAN or Ethernet.
We fit GNSS and IMU modules in rail, vehicle and edge AI computers as standard, set up the drivers and time sync, and test the inputs before each system ships. Tell us the accuracy you need and the environment, and we will specify the sensors and computer.