Kalman Filter & Sensor Fusion Localization
Comprehensive notes, formulas, and practice questions for Kalman Filter & Sensor Fusion Localization.
Kalman Filter & Sensor Fusion Localization
Kalman Filter Sensor Fusion for Robot Localization
Core Idea
A robot's wheels slip, encoders drift, and sensors return noisy readings. No single source gives the true position. The Kalman Filter is the optimal linear estimator: it combines a motion model and a sensor model, weighted by their respective uncertainties, to produce the best possible estimate of state at every time step.
Key Formula / Algorithm
Predict (state , covariance , motion model , control , input ):
Update (measurement , model , Kalman gain ):
The term is the innovation — the gap between what the sensor saw and what the model predicted.
How It Works (Step by Step)
- Start with an initial estimate and uncertainty .
- Predict: move the estimate forward using the motion command; grows (uncertainty increases).
- Observe: receive a landmark measurement .
- Compute Kalman gain : high means trust the sensor more; low means trust the model more.
- Update: correct the estimate toward the measurement; shrinks.
- Repeat every time step.
Real-World Application
The Kalman filter was originally designed for the Apollo program to navigate to the Moon. Today it runs inside every GPS receiver (fusing satellite range measurements), every drone (fusing accelerometer + barometer), and every phone (fusing gyroscope + magnetometer).
Quick Check
- What does it mean when the Kalman gain ? And when ?
- The Kalman filter is "optimal" only under two assumptions. What are they?
Key Takeaways (TL;DR)
- Core Idea
- Key Formula / Algorithm
- How It Works (Step by Step)
- Real-World Application
Master this topic with Drishti OS
Get unlimited mock tests, AI-powered mentorship, and complete video courses when you join.
Start Free Practice