Kalman Filter, Live
Chapter 4 · Lesson 4 · Jacobians · the EKF · range tracking · Free preview

The extended Kalman filter

By the end of this lesson you can
  • Track a robot from range-only radars with an EKF
  • Linearise a nonlinear sensor with its Jacobian
  • Spot when an EKF is likely to go wrong

When the sensor is not linear: zoom in until the curve looks straight, use the Jacobian, and track a robot from distance-only radars. 6 short slides, then worked examples and problems. Each slide has an everyday picture, a worked example and Python you can run right on the page.

Free preview: most of every slide is yours to read, with its Python lab. Members get the full text, every example with its solution, and five extra problems per lesson.

Start the lesson →

Slides

Free previewLesson 4Nonlinear sensorsNonlinear sensors: when z = Hx breaksOpen slide →01 · Lesson 4 · Nonlinear sensors

Nonlinear Sensors: Why a Radar Breaks z = Hx

A radar measures distance, not position. Why no matrix H can do that, and what happens to a Gaussian pushed through a curve: it bends and its mean shifts.

Free previewLesson 4The JacobianThe Jacobian: the slopes of a curve, seen up closeOpen slide →02 · Lesson 4 · The Jacobian

Jacobian Matrix: Linearising a Range Sensor

Zoom in until the curve looks straight. The Jacobian as a row of slopes, the derivation of ∂r/∂x = x/r, and the (3, 4) example with slopes 0.6 and 0.8.

Free previewLesson 4Uncertainty in, outUncertainty through a Jacobian: σ² ≈ HJ P HJᵀOpen slide →03 · Lesson 4 · Uncertainty through a Jacobian

Uncertainty Through a Jacobian: σ² ≈ H P Hᵀ

How position uncertainty becomes range uncertainty: σ_r² ≈ H P Hᵀ. The worked example at (3, 4): 5 m ± 0.71 m, checked against samples.

Free previewLesson 4The EKFThe extended Kalman filter: two changes to the updateOpen slide →04 · Lesson 4 · The extended Kalman filter

Extended Kalman Filter (EKF): Two Changes to the KF

The EKF is the linear Kalman filter with two changes: the innovation uses the real h(s), and the Jacobian replaces H. One full radar update with real numbers.

Free previewLesson 4Two radarsRange-only tracking with two radarsOpen slide →05 · Lesson 4 · Range-only tracking

EKF Example: Range-Only Tracking With Two Radars

Two radars that measure only distance track a turning robot. Why one radar is ambiguous, the full EKF in Python, tuning R, and when an EKF fails.

Free previewLesson 4RecapRecap: the extended Kalman filterOpen slide →06 · Recap · Reading

Lesson 4 Recap: The Extended Kalman Filter

The EKF in one page: nonlinear sensors, the Jacobian, uncertainty through H P Hᵀ, the two changes to the Kalman filter and range-only tracking.

The full course

From noisy sensors to the EKF, by running it

Lessons 1 and 2 are free. Finish all four and you will be able to:

You get: all 4 lessons with Python labs · every worked example and solution · 5 extra problems per lesson · your progress tracked · Steppe, your AI tutor inside every lesson, day or night · every future update.

$20 once · lifetime access · 14-day money-back guarantee
Continue to checkout →

Already a member? Log in to the course