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

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

2,265 words10 min read↑ Read in English

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

Isse pehle ki tum parent note ki ek bhi line padh sako, tumhe ek vocabulary chahiye. Yeh page har symbol ko build karta hai jo woh use karta hai, ek smart-but-blank slate se shuru karke. Yahan yeh assume nahi kiya gaya ki tumne pehle probability, matrices, ya filters dekhe hain.


1. "State" kya hota hai? Symbol

Ise picture karo: ek single point jo ek kamre mein float kar raha hai. Agar kamre mein directions hain jisme tum move kar sako, toh point ko pin karne ke liye numbers chahiye.

Topic ko yeh kyun chahiye: poore filter ka kaam hai ki time ke saath ka achha estimate rakha jaye. Baaki sab — noise, covariance, sigma points — sirf yeh answer karne ke liye exist karta hai ki " actually kahan hai?"

  • ::: mein entries ki sankhya, jise dimension kehte hain. 2D position → .
  • (padho "x-bar") ::: ke liye hamara single best guess — average, cloud ka center.
  • (padho "x-hat") ::: filter ka ka estimate. Chhoti hat ka matlab hai "estimated, true value nahi."

2. Uncertainty ek cloud hai, point nahi

Hum ko exactly kabhi nahi jaante. Humara knowledge actually ke center par ek fuzzy cloud of possibilities hai.

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

Upar wali bell-shaped fuzziness Gaussian (ya "normal") distribution hai. Yeh "roughly yahan, give or take" describe karne ka sabse common tarika hai.

  • Gaussian ::: shorthand hai "ek bell-shaped cloud par centered, spread ke saath." Nonlinear Systems par baad mein build karo; yahan sirf haze picture karo.

3. Spread measure karna: variance aur covariance

Hum "haze kitna wide hai" par number kaise lagate hain?

Picture karo: 1D mein haze ki radius hai — middle se ek step bahar mostly cloud ( ke aas paas) pakad leta hai.

Lekin ek state ke kai directions hote hain, aur uncertainty ek direction mein wide, doosre mein narrow, aur tilted ho sakti hai. Ek number kaam nahi karega.

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

Topic ko yeh kyun chahiye: UKF ka slogan hai "function nahi, distribution ko push karo." Distribution hai hi — ek center aur ek ellipse. Aage ka sab kuch is ellipse ko transform karne ke baare mein hai.

  • ::: covariance = state ki uncertainty ellipse.
  • ::: transform karne ke baad output ki covariance.
  • ::: har step mein extra uncertainty add hoti hai kyunki physics khud imperfect hai (process noise).
  • ::: sensor readings mein uncertainty (measurement noise).
  • (padho "A-transpose") ::: ek matrix ko uske diagonal ke across flip karo; column ko row mein turn karta hai. Chahiye kyunki woh tarika hai jisse ek single offset se covariance build karte hain — ek outer product jo ek number nahi balki full grid produce karta hai.

4. Nonlinear map: , , aur "nonlinear" kyun hurt karta hai

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

Topic ko yeh kyun chahiye: UKF sirf isliye exist karta hai kyunki aur curve karte hain. Agar woh straight hote, toh plain Kalman Filter (linear) already perfect hota.


5. Woh tool jis par EKF lean karta hai: derivative aur Taylor series

Curve ko straighten karne ke liye, EKF calculus use karta hai.

Topic ko yeh kyun chahiye (as a foil): Jacobian samajhna zaroori hai taaki punchline appreciate kar sako — UKF kabhi ek bhi compute nahi karta. Jahan ka koi clean derivative nahi hota (e.g. origin par), EKF ruk jaata hai aur UKF chalता rehta hai.


6. Matrix square root: aur Cholesky

UKF apne sample points ellipse ki shape ke saath rakhta hai. Har direction mein "ek ellipse-radius" step karne ke liye, use matrix square root chahiye.

Picture karo: 1D variance ke liye, square root sirf hai — ek standard-deviation step. dimensions mein, ellipse ke tilted, stretched directions mein "" ko generalize karta hai.

Topic ko yeh kyun chahiye: sigma-point formula literally matrix square root ke bina likha hi nahi ja sakta. Uske columns woh arrows hain jo uncertainty ellipse ke har principal axis ke saath point karte hain.


7. Show ke stars: sigma points, weights, Greek tuning knobs

  • (calligraphic X, padho "curly-X sub i") ::: -th sigma point (ek input sample).
  • ::: woh point se push hone ke baad: .
  • ::: measurement model se push kiya gaya sigma point.
  • ::: point ka mean weight find karne ke liye average karte time kitna count karta hai.
  • ::: point ka covariance weight — spread build karte time kitna count karta hai. Sirf center point par se differ karta hai.

Woh Greek knobs jo decide karte hain ki points kitne door baithe hain aur weights kaise set hote hain:

  • (lambda) ::: ek scaling number, , jo points ki reach set karta hai.
  • (alpha) ::: chhota (e.g. ); spread control karta hai — chhota points ko mean ke paas rakhta hai.
  • (kappa) ::: ek secondary scaling number, usually ya .
  • (beta) ::: cloud ki shape ki prior knowledge inject karta hai; Gaussian ke liye best hai.

Topic ko yeh kyun chahiye: yeh saat symbols hi Unscented Transform hain. Is list ko master karo aur parent ke boxed formulas plain sentences ki tarah padhenge.


8. Sab kuch kaise connect hota hai

State vector x and dimension n

Uncertainty cloud mean x-bar

Variance sigma-squared

Covariance matrix P ellipse

Matrix square root via Cholesky

Nonlinear maps f and h

Sigma points curly-X

Weights and tuning alpha beta kappa lambda

Unscented Transform

Derivative and Jacobian EKF foil

Unscented Kalman Filter

Ise upar se neeche padho: ek state ek uncertainty ellipse () carry karta hai; uska square root sigma points rakhta hai, Greek knobs se weighted; inhe nonlinear maps se push karna Unscented Transform hai, jise filter har cycle run karta hai — us Jacobian ko sidestep karte hue jis par EKF depend karta hai.


Equipment checklist

Self-test: kya tum reveal karne se pehle har ek ka jawab de sakte ho?

ka kya matlab hai aur yeh se kaise differ karta hai?
true state ka mean/best guess hai; filter ka uska estimate hai (hat = "estimated"). Dono uncertainty cloud ke center ko name karte hain.
Covariance matrix geometrically kya hai?
Uncertainty ellipse: diagonal = har axis ke saath spread, off-diagonal = axes kaise saath lean karte hain (tilt).
Ek variance number ek -dimensional state ki uncertainty kyun describe nahi kar sakta?
Kyunki uncertainty ek direction mein wide, doosre mein narrow, aur tilted ho sakti hai — uske liye ek full grid () chahiye, sirf ek nahi.
aur mein kya difference hai?
motion model hai (state → next state); measurement model hai (state → sensor kya read karta).
"Nonlinear" ka kya matlab hai aur yeh linear Kalman filter ko kyun break karta hai?
Map curve karta hai, isliye ek symmetric cloud ko lopsided bana deta hai; straight-line Kalman machinery galat mean aur spread deti hai.
Jacobian kya hai, aur kya UKF use compute karta hai?
par ki slopes (steepness) ki grid; EKF ko chahiye, UKF kabhi compute nahi karta.
UKF ko matrix square root kyun chahiye?
Sigma points rakhte time har principal axis ke saath exactly ek "ellipse-radius" step karne ke liye.
Kitne sigma points hote hain aur woh kahan baithe hain?
: ek center par, ellipse ke har axis ke saath ek ek side par.
Do weight sets aur kyun hote hain?
Ek mean ke liye averaging karne ke liye, ek covariance build karne ke liye; sirf center point par differ karte hain taaki Gaussian tuning () mean shift kiye bina inject ki ja sake.
kya control karta hai?
Mean ke aas-paas sigma points ka spread — chhota inhe ke paas rakhta hai.

Recall Quick recall

UKF ek cloud carry karta hai, use ellipse ke axes ke saath sigma points se sample karta hai, har ek ko true nonlinear / se push karta hai, aur naya mean aur covariance read karta hai — koi Jacobian nahi, Extended Kalman Filter (EKF) ke unlike.