Guide to IMU for Drones

By Association for Drones

An Inertial Measurement Unit, usually shortened to IMU, is one of the most important sensor systems inside a drone. It helps the aircraft understand how it is moving, whether it is level, how quickly it is rotating and how acceleration is changing in three dimensions. Every modern multirotor, fixed-wing drone and hybrid VTOL aircraft relies on an IMU for stable flight. Without it, the autopilot would not know whether the aircraft was pitching forward, rolling sideways or rotating around its vertical axis. The IMU provides this information many times per second, allowing the flight controller to react almost instantly. Professional drone systems increasingly use more advanced IMUs because navigation quality directly affects autonomous flight, mapping accuracy, LiDAR performance, BVLOS capability and GNSS-denied operations. A small consumer drone may use a relatively low-cost MEMS IMU, while a survey-grade or autonomous aircraft may contain several higher-performance IMUs for improved accuracy and redundancy. The IMU should not be confused with a complete Inertial Navigation System. The IMU provides the raw movement measurements. An INS uses those measurements, together with navigation algorithms and often GNSS, to calculate position, velocity and attitude. ## **What Is an IMU?** An IMU is an electronic sensor package that measures movement and rotation. Most drone IMUs contain three-axis accelerometers and three-axis gyroscopes, creating what is commonly described as a six-axis IMU. Some systems also include a three-axis magnetometer. These are sometimes described as nine-axis systems, although the magnetometer may be installed separately from the main IMU because magnetic interference from motors and power electronics can affect performance. The flight controller reads the IMU continuously and uses the measurements to calculate how the aircraft is moving. This information is then used to stabilise the drone and support navigation. ## **Accelerometers** Accelerometers measure linear acceleration. A three-axis accelerometer measures movement along the drone’s X, Y and Z axes. These axes normally represent forward and backward movement, left and right movement, and vertical movement. Accelerometers also respond to gravity. When the drone is stationary, the direction of gravity provides useful information about aircraft orientation. The autopilot combines accelerometer and gyroscope information to estimate attitude more accurately than either sensor could provide independently. ## **Gyroscopes** Gyroscopes measure angular velocity, which describes how quickly the drone is rotating. A three-axis gyro measures rotation around the roll, pitch and yaw axes. This information is essential for flight stability because the controller needs to know immediately when the aircraft begins rotating. If a gust of wind pushes one side of a multirotor upward, the gyroscope detects the resulting roll motion and the autopilot can correct motor thrust almost instantly. ## **Roll, Pitch and Yaw** The orientation of a drone is normally described using roll, pitch and yaw. Roll represents rotation from side to side. Pitch describes nose-up and nose-down movement, while yaw represents rotation around the vertical axis. The IMU measures changes in all three axes continuously. This allows the flight controller to determine whether the aircraft is following the commanded attitude. ## **Why Drones Need an IMU** A drone is continuously affected by wind, motor vibration, changes in payload and control inputs. The autopilot needs a very fast way of measuring these movements. GNSS is not fast enough for this purpose. Satellite positioning provides geographic position, but it does not measure rapid aircraft rotation accurately enough for real-time attitude stabilisation. The IMU provides high-frequency movement data that allows the autopilot to make corrections many times every second. ## **IMU and Flight Stabilisation** Flight stabilisation is one of the most fundamental uses of the IMU. The autopilot compares the desired aircraft attitude with the attitude estimated from IMU data. If the aircraft begins moving away from the commanded state, the controller adjusts propulsion or control surfaces. This closed-loop process continues throughout the entire flight. Without accurate IMU information, stable flight would be extremely difficult. ## **IMU and the Autopilot** The IMU normally feeds directly into the autopilot or flight controller. The autopilot performs sensor fusion and state estimation before using the information for flight control. Many flight controllers contain the IMU directly on the main circuit board. Higher-end systems may use several separate IMUs to provide redundancy and improved vibration isolation. ## **IMU vs INS** An IMU is not the same as an Inertial Navigation System. The IMU measures acceleration and rotation. The INS uses these measurements to calculate changes in attitude, velocity and position. The INS normally also receives information from GNSS or other external navigation sensors to correct accumulated inertial errors. A useful way to think about the relationship is that the IMU is the sensor, while the INS is the navigation system built around that sensor. ## **IMU vs AHRS** Another related term is AHRS, which stands for Attitude and Heading Reference System. An AHRS uses IMU measurements and additional sensors to calculate aircraft orientation and heading. It normally provides roll, pitch and yaw rather than a full geographic position. Some professional drone systems use dedicated AHRS units for payload stabilisation or navigation. ## **MEMS IMUs** Most drones use MEMS IMUs. MEMS stands for Micro-Electro-Mechanical Systems. These sensors are extremely small and can be manufactured using semiconductor processes. MEMS technology has made modern drones possible because accelerometers and gyroscopes that once required large and expensive equipment can now fit onto very small circuit boards. Performance varies considerably between basic consumer MEMS sensors and high-end industrial units. ## **Six-Axis IMUs** A six-axis IMU contains three accelerometer axes and three gyroscope axes. This is the standard configuration used in most flight controllers. The system can measure linear acceleration and angular velocity in all directions. Additional sensors are then combined with the IMU to calculate heading and position. ## **Nine-Axis IMUs** A nine-axis system usually adds a three-axis magnetometer to the accelerometer and gyroscope measurements. This provides another reference for heading. However, the term can sometimes be misleading because the magnetometer may not actually be located inside the same physical sensor package. Drone designers often position magnetometers farther from motors and high-current wiring to reduce interference. ## **Magnetometers** A magnetometer measures the Earth’s magnetic field and can provide a compass heading. The autopilot can combine this information with gyroscope measurements to correct yaw drift. However, magnetic sensors are vulnerable to interference from steel, magnets, motors and electrical currents. For professional drones operating close to infrastructure, magnetic interference can become a significant navigation challenge. ## **IMU Sampling Rate** IMUs can produce measurements hundreds or thousands of times per second. This high sampling rate allows the flight controller to detect rapid aircraft movement. Fast sampling is especially important for multirotors because motor control corrections need to happen very quickly. The required data rate depends on the aircraft dynamics and control architecture. ## **Gyroscope Sampling** Gyroscopes are often sampled at very high rates because rotational movement changes quickly. The autopilot may filter the raw measurements before using them. Higher sampling rates provide more information, but they also increase processing requirements. Sensor selection therefore involves balanc