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

FoundationsKalman filter derivation — predict step, update step

2,371 words11 min read↑ Read in English

3.5.21 · D1 · Physics › Guidance, Navigation & Control (GNC) › Kalman filter derivation — predict step, update step

Is page mein assume kiya gaya hai ki aapko kuch nahi pata. parent topic mein predict/update equations touch karne se pehle, aapko symbols ki ek chhoti si pile mein fluent hona chahiye. Hum unhe ek-ek karke build karte hain, har ek ko ek picture se, har ek agla earn karta hai.


0. Ek single picture jo dimaag mein rakhni hai

Sab kuch ek bump ke baare mein hai. "Guess with doubt" ko ek bell curve ke roop mein draw kiya jaata hai: peak aapke best guess par baiThi hoti hai, aur width batati hai ki aap kitne unsure hain. Narrow bump = confident. Wide bump = clueless.


1. Scalars, vectors, aur state

Jo hidden cheez hame care karni hai woh hai state . GNC mein yeh usually kai physical quantities ko bundle karta hai:

ka matlab hai "time step par state". Woh chhota ek clock tick hai: pichla instant hai, abhi hai, agla hai. Hum State-space representation ko bilkul isi indexing se build karte hain.


2. Hat — guess versus truth

Yeh distinction poore subject mein sabse zyada miss ki jaane wali idea hai. Har baar jab aap hat dekhein, yaad dilaiye khud ko: yeh ek belief hai, koi fact nahi.


3. Variance aur bump ki width


4. Covariance matrix

Ek number () ek quantity ke baare mein doubt capture karta hai. Lekin ek vector hai, isliye humein har entry ke baare mein doubt chahiye aur unke doubts kaise linked hain. Woh bookkeeping matrix hai.

Symbol ka matlab expectation hai — agar aap experiment ko forever repeat karte toh long-run average. Picture: noisy duniya ko ek million baar run karo, result average karo. ka hamesha yahi matlab hota hai.

Superscript (jaise mein) transpose hai: matrix ko uske diagonal ke upar flip karo, rows ko columns mein badlo. Picture: ek grid jo uski top-left-se-bottom-right line ke paas reflect hui ho. Humein ise isliye chahiye kyunki ek column times ek row ek poori grid build karta hai — bilkul woh outer product jo ke andar hai.


5. Gaussian aur noise

Parent par do noises aati hain:

  • process noise. Picture: chhote random jhaTke jo physics model predict karne mein fail karta hai (wind gusts, unmodelled forces). = woh jhaTke kitne baDe hain.
  • measurement noise. Picture: sensor reading par jitter. = sensor kitna shaky hai.

6. Transforming matrices , ,

Yeh teen matrices woh "machines" hain jo states, controls, aur measurements ko connect karti hain.


7. Measurement , innovation , aur gain

Superscript minus, jaise aur mein, ek prior mark karta hai — measurement fold in hone se pehle ("predicted, not yet corrected"). Bina minus ke = posterior, correction ke baad. Picture: minus = "coasting", bina-minus = "just snapped to the sensor".


8. Do calculus tools jo derivation borrow karta hai

Parent best gain dhundhta hai minimise karke doubt ko. Do tools woh karte hain:


Yeh sab topic ko kaise feed karta hai

scalar, vector, matrix

state x and index k

hat x-hat estimate vs truth

variance and precision

covariance matrix P

Gaussian noise Q and R

machines F, B, H

predict step

measurement z, innovation y

gain K

derivative and trace

Kalman filter

Jab yeh foundations solid ho jaayein, do baDe steps (predict, update) bas yahi machinery do baar apply karti hai: bump ko ke saath aage push karo ( se wider karo), phir ke saath sensor ki taraf squeeze karo. Yahan se aap Extended Kalman Filter (EKF) aur Unscented Kalman Filter (UKF) par bhi chaRh sakte hain nonlinear worlds ke liye, sab Bayesian inference par resting.


Equipment checklist

Khud test karo — right side cover karo aur answer do:

mein hat ka matlab hamesha kya hota hai?
Kisi quantity ka mera best estimate, kabhi true value nahi.
Variance kya measure karta hai, ek picture ke roop mein?
Belief bump ki squared width — baDa matlab unsure.
Precision kya hai aur uski kya special property hai?
; independent estimates ki precisions add hoti hain.
ke diagonal par kya hota hai vs. off-diagonal par?
Diagonal = har component ki variance; off-diagonal = unke doubts kaise correlated hain (ellipse ka tilt).
ko plain words mein paRhein.
ek bell curve se draw kiya gaya hai jo zero par centred hai aur covariance (width) hai.
aur mein kya difference hai?
model/process noise hai (predict step); sensor/measurement noise hai (update step).
Matrix kya karta hai?
State ko physics model use karke ek time step aage roll karta hai.
ki zaroorat kyun hai?
Yeh state ko un units/subset mein translate karta hai jo sensor actually report karta hai, taaki measurement aur prediction compare ki ja sake.
Innovation exactly kya hai?
Measurement minus predicted measurement, — computable surprise.
Superscript minus (jaise mein) kya signify karta hai?
Ek prior — measurement fold in hone se pehle ki value.
Gain derivation mein derivative set to zero kyun use hoti hai?
Woh dhundhne ke liye jo total doubt minimise kare; ek curve ka minimum wahan hota hai jahan uski slope zero ho.
kya represent karta hai?
Saare state components mein total variance — woh single number jo hum minimise karte hain.