What is a Kalman Filter?
A Kalman filter predicts state and uncertainty, then applies an uncertainty-based measurement correction. Its numerical precision depends on valid noise and motion models rather than ensuring that the physical estimate is accurate.
The key idea
The Kalman filter maintains an estimate of a hidden state and its uncertainty. It predicts with a motion model, then corrects that prediction using a sensor observation. If predicted position is five metres, the measurement is six, and gain is 0.8, the corrected value is \(5+0.8(6-5)=5.8\) metres. The gain should arise from modeled uncertainty rather than arbitrary preference. Wrong noise values, sensor bias, or an incorrect motion model can still produce a confident-looking but inaccurate result. Small reported uncertainty therefore needs to be judged against the model and measurement quality that generated it.
What to remember
- The filter alternates model prediction and sensor correction.
- Kalman gain follows modeled uncertainty.
- A precise-looking estimate can still be physically wrong.
Check your understanding
What corrected position follows from prediction 5 m, measurement 6 m, and gain 0.8?
Show the explanation
5.8 m, obtained by adding 0.8 times the one-metre discrepancy to the prediction.