Gyroscope drift meter with Allan deviation

A gyroscope does not report which way it is pointing. It reports how fast it is turning, and a heading is what you get by adding those rates up — along with every small error the sensor made, which never gets subtracted again. A constant error of a tenth of a degree per second is six degrees after a minute and a full turn after an hour, from a phone lying still on a table.

How to measure

1
Put the phone down

A table, a windowsill, a book — anything solid and not vibrating. Not a washing machine, not a moving train, not your hand.

2
Allow the sensor and check it is alive

The live readout should show rates close to zero. If it shows nothing at all, this device has no gyroscope.

3
Start, and leave it alone

Two minutes is a reasonable measurement; five is a better one. Keep the screen awake — browsers throttle the sensor when it sleeps.

Find out what your phone’s gyroscope is actually worth

Ready

Put the phone on something solid, leave it alone for two minutes, and this will say how fast it loses its bearings.

What is measured here

A gyroscope reports how fast it is turning. A heading comes from adding those rates up, which also adds up everything the sensor got wrong — so a phone lying perfectly still on a table slowly becomes certain it has turned. How fast that happens is the whole question, and it takes a couple of minutes of stillness to answer.

On a table, not in a hand: a hand adds its own tremor and the run will be refused. Keep the screen on, because most browsers throttle motion events when it is not. Two minutes is enough for the noise; longer is better for the slow wander, and that is what the curve shows.

Averaging time along the bottom, deviation up the side, both logarithmic. The falling part is white noise — average longer and it shrinks. The lowest point is the floor: past it, averaging stops helping. The bars are each point’s own uncertainty, which is why the far right of the curve should not be read as a result.

Published Author: