Every measurement is wrong. Your GPS says you are 4 metres from where you really are. The accelerometer in your phone vibrates with random jitter. The radar on a spacecraft drifts with thermal noise. Noise is not an exception — it is the default condition of any sensor in the real world.
Yet GPS routes you with metre-scale accuracy. Apollo 11 hit the Moon with 100-metre precision. Self-driving cars hold a lane to within centimetres. How?
The answer is the Kalman filter, invented by Rudolf E. Kálmán in 1960. It is a recursive algorithm that fuses two imperfect sources of information — a mathematical model of how the system moves and noisy sensor readings — to produce the statistically optimal estimate of the true state at every moment. Not approximately optimal. Provably, mathematically optimal, given the assumptions.
The key insight is elegant: instead of trying to remove noise after the fact, the filter models both the system uncertainty and the measurement noise, and uses that model to decide exactly how much to trust each source at each instant. The result is an estimate that tracks the truth far better than either the model or the sensors alone.
Comments
Loading comments...