3.5.22 · D3Guidance, Navigation & Control (GNC)

Worked examples — Kalman gain — minimizes trace of covariance

3,734 words17 min readBack to topic

Before we start, one reminder of every symbol so nobody is lost:


The scenario matrix

Every cell below is a kind of situation the Kalman gain must handle. Each row is covered by at least one worked example.

Cell Situation Distinguishing feature Example
A Balanced scalar and comparable Ex 1
B Sensor much better Ex 2
C Sensor much worse Ex 3
D Degenerate prior (already certain) Ex 4
E Non-unit map (units/scaling) Ex 5
F Perfect sensor (boundary limit) Ex 6
G Vector state, diagonal diagonal , one sensor Ex 7
H Vector state, correlated off-diagonal , one sensor Ex 8
I Real navigation word problem altitude fusion Ex 9
J Exam twist: gain vs. trace curve prove the U-shape numerically Ex 10

Figure — Kalman gain — minimizes trace of covariance
The Kalman gain as a slider: each scenario cell drops its computed onto the line.


Cell A — Balanced scalar


Cell B — Sensor much better


Cell C — Sensor much worse


Cell D — Degenerate prior


Cell E — Non-unit measurement map


Cell F — Perfect sensor


Cell G — Vector state, diagonal prior (2×2, one sensor)


Cell H — Vector state, correlated prior


Cell I — Real navigation word problem


Cell J — Exam twist: prove the U-shaped trace

Figure — Kalman gain — minimizes trace of covariance
The trace of is a U-shaped valley in ; its floor is the optimal Kalman gain.


Recall

Recall Quick self-test

In Ex 1, why did come out exactly ? ::: Because , so prior and sensor spreads are equal; the dial sits at the midpoint. In Ex 4, why is the sensor ignored? ::: makes the numerator , so and the measurement can't move the already-certain estimate. In Ex 5, what is the innovation, and what is ? ::: Innovation , using the mapped prediction; is the zero-mean sensor noise with variance added to each reading. In Ex 6, why does ? ::: A perfect sensor () gives so removes all prior uncertainty — we now know the state exactly. In Ex 8, why does velocity variance improve even though the sensor never sees velocity? ::: The off-diagonal (correlation) term makes 's velocity entry nonzero, so a position reading corrects velocity through the shared uncertainty. In Ex 10, why can't we use at ? ::: That simplification only holds at the optimal gain; for arbitrary use the Joseph form .


Connections

Concept Map

balanced A

sensor wins B

prediction wins C

already sure D

rescale H E

perfect sensor F

vector diagonal G

vector correlated H

fly it I

check valley J