The big idea: linearise, then filter
A Kalman filter needs \(F\) and \(H\) to be matrices. But a rover’s motion is
The \(\cos\theta\) and \(\sin\theta\) make it nonlinear. A sensor that measures the distance to a landmark, \(r = \sqrt{(x_L-x)^2 + (y_L-y)^2}\), is nonlinear too.
The EKF’s trick is simple: zoom in. Any smooth curve looks like a straight line if you zoom in far enough. At each step the EKF:
- pushes the estimate through the true nonlinear model \(f\) to get the prediction, and
- uses the slope of \(f\) (its Jacobian) to push the covariance.
The same goes for the measurement: predicted measurement from the nonlinear \(h\), covariance from its Jacobian \(H\).
When the uncertainty is small compared with how curved the model is, this works very well. When the uncertainty is large (for example a robot with no idea of its heading), the straight-line approximation fails and the filter can diverge. That limitation motivates the UKF and particle filter later in this track.
Think of the EKF as “a Kalman filter that re-draws its straight lines every step”.
Log in or create a free account to save your progress.
Enjoyed the preview? Unlock the full course.
Lifetime access to every lesson, the equations and the downloadable Python simulation. Your progress is saved to your account.
Pay securely with UPI, cards, netbanking or wallets through Razorpay. The course unlocks instantly.
By enrolling you agree to our Terms, Refund policy and Privacy policy.
All lessons
- The big idea: linearise, then filter▶ VideoFree preview
- How it was invented and its first uses▶ VideoLocked
- Where it is used today▶ VideoLocked
- The equations▶ VideoLocked
- Worked demo and tuning▶ VideoLocked
- Build your own, step by step▶ VideoLocked
- Python simulation labLocked
- Practice problems and quizLocked