IMU (Inertial Measurement Unit)
An inertial measurement unit — a sensor that tells the robot how it is moving and at what angle. This is the 'vestibular system' of any mobile machine.
What's Inside
| Component | What it Measures |
|---|---|
| Accelerometer | Linear acceleration (including gravity) |
| Gyroscope | Angular rotation speed |
| Magnetometer (optional) | Direction of the magnetic field, like a compass |
Modern IMUs are microelectromechanical systems (MEMS): tiny moving structures on a silicon chip smaller than a coin.
How Tilt is Measured
The accelerometer 'feels' gravity: at rest, the 9.8 m/s² vector points down. Its direction is used to calculate the device's tilt. The gyroscope measures how quickly the body is turning — its readings are integrated to get the angle.
Drift and Filters
Each sensor on its own can be inaccurate: - the accelerometer is noisy during vibration; - the gyroscope drifts over time.
Therefore, data is combined through sensor fusion — for example, a Kalman filter or a complementary filter. The result is precise orientation even in motion.
Where It's Used
- Robots and humanoid robots — maintaining balance;
- Drones — flight stabilization;
- Smartphones — screen rotation, step counter;
- Cars — stability control and navigation.
In robotics, IMU is the main input signal for MPC and the lower level of hybrid architecture.