3.5.25 · D4 · HinglishGuidance, Navigation & Control (GNC)

ExercisesUnscented Kalman Filter (UKF) — sigma points, better for nonlinear

2,094 words10 min read↑ Read in English

3.5.25 · D4 · Physics › Guidance, Navigation & Control (GNC) › Unscented Kalman Filter (UKF) — sigma points, better for non

Quick symbol reminder (sab parent se):

  • = state vector ki dimension (kitne numbers usse describe karte hain).
  • = ka mean; = uski covariance (the "spread" matrix).
  • = woh scaling number jo decide karta hai ki sigma points kitni door baithe hain.
  • = sigma points; = unke mean- aur covariance-weights.
  • = nonlinear dynamics map, = nonlinear measurement map.

Level 1 — Recognition

Recall Solution 1.1

WHAT: ki entries count karo. Wahan numbers hain, isliye . WHY: parent deta hai ek center point plus har principal axis ke dono taraf ek-ek point, yaani . Answer: 9 sigma points.

Recall Solution 1.2
  • (a) = center mean weight.
  • (b) = scaling parameter.
  • (c) = center covariance weight ( plus Gaussian-tuning term ). WHY it matters: (a) aur (c) mein fark sirf center pe hota hai. Yahi woh poora trick hai jo hume covariance tune karne deta hai mean shift kiye bina.

Level 2 — Application

Recall Solution 2.1

Step 1 — (WHY: yeh fix karta hai ki points kitne door/weighted hain): Toh . Step 2 — center weights: Step 3 — outer weights ( hain): Sanity check (mean weights ka sum 1 hona chahiye): . ✔

Recall Solution 2.2

WHAT: humein spread distance chahiye. WHY square root: covariance spread² (variance) measure karta hai; use axis ke saath actual distance mein convert karne ke liye hum square root lete hain — wahi reason jis wajah se standard deviation hota hai. Figure s01 dekho: red center point pe baitha hai, aur do black points symmetrically uske dono taraf hain.

Figure — Unscented Kalman Filter (UKF) — sigma points, better for nonlinear

Level 3 — Analysis

Recall Solution 3.1

(a) UT. Sigma points: . Weights . Har ek transform karo: . (b) EKF. Linearize karo: . Toh . (c) Sahi mean hai. UT bilkul exact hai; EKF completely galat hai (0 predict karta hai). WHY: pe ki slope flat hai, isliye EKF ka linear model "koi change nahin dikh raha" — woh curvature ke liye andha hai. UT, ko mean se door points pe sample karta hai, isliye woh upar ki taraf bend feel karta hai aur lift recover karta hai. Figure s02 dekho: kali parabola, red sigma points curve pe land kar rahe hain flat tangent (dashed) se kaafi upar.

Figure — Unscented Kalman Filter (UKF) — sigma points, better for nonlinear
Recall Solution 3.2

(a) . Tab . (b) Distance . Points pe — mean ke bahut karib. (c) Covariance weight bahut bada hai, exactly chhoti squared distances ko cancel karta hai taaki sahi se reconstruct ho. Spread ↓, weight ↑ — yeh design se trade off karte hain.


Level 4 — Synthesis

Recall Solution 4.1

Step 1 — sigma points. Spread . Numerically: , . Step 2 — se push through karo.

  • Step 3 — predicted mean (weights , ): Step 4 — predicted covariance ( add karo! yeh classic trap hai): Deviations: ; ; . Answer: , . (Gaur karo ki covariance 4 se 25 tak balloon ho gayi — ki curvature ne uncertainty ko stretch kar diya, aur UT ne ise capture kar liya.)

Level 5 — Mastery

Recall Solution 5.1

Step 1 — naye sigma points. Spread . Step 2 — se push through karo: Step 3 — predicted measurement mean: (Sahi hi hai: linear hai, isliye .) Step 4 — measurement covariance ( add karo!): Deviations : , , . Step 5 — cross-covariance (yahan nahin): State deviations : , , . Step 6 — Kalman gain: Step 7 — corrected state: Step 8 — corrected covariance: Answers: , , . WHY covariance itni zyada shrink hui: measurement bahut informative thi ( directly state ko scale karta hai), isliye update ne estimate ko ki taraf kheencha aur uncertainty 25 se ~0.25 tak ghata di.

Recall Solution 5.2

EKF: origin pe undefined. Linearization simply exist nahin karta, isliye EKF ke paas compute karne ke liye koi gain nahin hai. UKF: products ki ek finite weighted sum hai. Har term un numbers ka plain multiplication hai jo hum evaluate kar sakte hain — koi derivative nahin, koi zero se division nahin. Sigma points origin se door baithte hain, isliye aur sum well-defined hai. The lesson: UKF kabhi nahin poochhta "yahan slope kya hai?" Woh poochhta hai "output, samples ke ek spread ke across input ke saath co-vary kaise karta hai?" — ek aisa sawaal jiska jawab tab bhi hai jab slope ka nahin hota.


Related: Extended Kalman Filter (EKF) · Kalman Filter (linear) · Particle Filter · Cholesky Decomposition · Taylor Series Expansion · State Estimation in GNC · Nonlinear Systems