Pick up almost any drone, phone or game controller and it knows, instantly, which way is up. Inside sits an IMU (inertial measurement unit): a gyroscope that measures how fast it's spinning, and an accelerometer that feels gravity pulling down. Neither sensor is trustworthy alone.
The gyroscope is precise for an instant but drifts: tiny errors pile up every millisecond until "up" quietly wanders away from reality. The accelerometer knows true "down" on average, but every step, vibration or bump adds noise that has nothing to do with orientation.
In 2010, engineer Sebastian Madgwick published a filter that fuses the two into a single rotating quaternion — a stable estimate of orientation, corrected dozens of times per second, cheap enough to run on the tiny processor inside a toy drone.
Comments
Loading comments...