Exercises — Observability matrix — rank test
3.5.33 · D4· Physics › Guidance, Navigation & Control (GNC) › Observability matrix — rank test
Everything here rests on the parent note Observability matrix — rank test. Keep this recipe in view:
Level 1 — Recognition
Kya tum bana sakte ho aur sabse aasaan cases mein uska size aur rank padh sakte ho?
L1.1 — Size of
Ek system mein states aur outputs hain. Kuch compute kiye bina, ki dimensions batao aur woh number batao jo "full rank" ko equal hona chahiye.
Recall Solution
mein blocks stack hote hain (), har ek ka size hota hai. Toh hai . Full column rank ka matlab hai . Kaisa dikhta hai: ek tall skinny slab, 8 rows lambi, 4 columns chaudi — hume sirf 4 independent rows chahiye saare 4 states ko "dekhne" ke liye.
L1.2 — Ek diagonal system padho
banao aur observability decide karo.
Recall Solution
. Doosra column poora zeros hai ⇒ ⇒ not observable. Kyun: sirf state 1 ko touch karta hai; state 2 apne eigenvector par akela rehta hai, kabhi ko influence nahi karta. unobservable hai.
L1.3 — Doosra diagonal slot padho
Same jaisa L1.2 mein hai lekin . Observable hai?
Recall Solution
, toh . Pehla column zero hai ⇒ rank ⇒ not observable. L1.2 ka symmetric case: ek single scalar output ek diagonal channel par sirf us ek mode ko hi dekh sakta hai.
Level 2 — Application
Coupled systems ke liye compute karo aur kernel interpret karo.
L2.1 — Chain of integrators
Yahan doosre state ko measure karta hai. Observable hai?
Recall Solution
. Interpret karo: state 1, state 2 ko feed karta hai ( mein "1" ke zariye), lekin output state 2 ko dekhta hai jabki state 2 ki dynamics () state 1 ki info kabhi tak nahi pahunchati. Parent ke Example 1 se compare karo, jahan observable tha — "upstream" state measure karne se derivatives "downstream" wale ko reveal karte hain, lekin ulta nahi. Chain ki direction matter karti hai.
L2.2 — Genuinely coupled
Recall Solution
. Kyun kaam karta hai: yeh ek position/velocity pair hai. position hai; velocity hai. Do measurements, do states, khatam.
L2.3 — Unobservable direction explicitly dhundho
Observability decide karo; agar not observable hai, toh mein ek vector batao aur verify karo ki woh deta hai.
Recall Solution
. Kernel: solve karo , free. Toh . Invisibility verify karo: ke saath, mein coupling "1" ke zariye mein push karta hai, lekin output seedha check karte hain. . se start karke: , aur har ke liye. Kyunki sirf par depend karta hai ( ki doosri row hai, koi term nahi), ki value kabhi output tak nahi pohonchti. Isliye . ✅
Level 3 — Analysis
Brute force ki jagah structure, eigenvalues, aur duality use karo.
L3.1 — Repeated eigenvalue, scalar output
Dikhao ki scalar ki koi bhi choice ise observable nahi banati.
Recall Solution
. Row 2 row 1 hai, toh rows parallel hain ⇒ har ke liye. Kyun fundamental hai: ka eigenvalue hai geometric multiplicity ke saath — poora 2-D eigenspace. Ek single output do identical, decoupled modes ko distinguish nahi kar sakta (parent ka Example 3 dekho). PBH test ke zariye, eigenvalue par hume chahiye, lekin hai, sirf ek row bachti hai ⇒ rank . Tumhe outputs chahiye.
L3.2 — Duality check
, diya hua hai (parent ka Example 1, observable). Duality use karke ek controllable pair batao, phir verify karo.
Recall Solution
Duality: observable controllable. Yahan Controllability matrix . . Consistent hai: observable original controllable dual, jaisa promise kiya tha.
L3.3 — PBH cross-check
, ke liye, do tarikhon se observability decide karo: rank test aur PBH test.
Recall Solution
Rank test: , . Determinant ⇒ rank ⇒ observable. PBH: har eigenvalue check karo. chahiye.
- : — rows aur independent hain ⇒ rank . ✔
- : — rows aur independent hain ⇒ rank . ✔ Dono eigenvalues pass karte hain ⇒ observable. Dono methods agree karte hain. Distinct eigenvalues + ek jo har eigenvector ko "touch" kare ⇒ observable.

Level 4 — Synthesis
Systems ko spec ke hisaab se design karo, aur observable/unobservable split banao.
L4.1 — Diagonal ke liye design karo
hai. Sabse chhoti output rows ki sankhya aur ek explicit dhundho jo ko observable banaye.
Recall Solution
Eigenvalues distinct hain, har ek ka 1-D eigenspace hai (coordinate axes). Koi modal degeneracy nahi, toh ek single output () kaam kar sakta hai bas agar woh teeno eigenvectors ko touch kare. choose karo. Yeh nodes mein ek Vandermonde matrix hai; uska determinant ⇒ rank ⇒ observable. Smallest hai . ✅ Kyun Vandermonde aata hai: row hai — eigenvalues ki powers. Distinct nodes ⇒ nonzero determinant.
L4.2 — Prescribed unobservable state wala system banao
Ek 2-state construct karo jiska unobservable subspace exactly ho.
Recall Solution
Hum chahte hain , yaani rank , aur se mile. choose karo taki ho. Ab ensure karna hai ki bhi ho (taki poori line kernel mein rahe — ek -invariant subspace). choose karo. Tab hai. Check karo: aur row space span karta hai, toh sirf direction invisible hai. Yeh ek mini Kalman decomposition hai: observable part direction hai, unobservable part hai.
L4.3 — Ek unobservable system repair karo
, unobservable hai (parent ka Example 2). Ek doosri output row add karo taki pair observable ho jaye, kam se kam naye nonzero entries use karke.
Recall Solution
Unobservable state hai. Hume ek naya row chahiye jisme uska nonzero projection ho. Sabse sasta: add karo. Tab ke pehle do rows mein pehle se hai ⇒ rank ⇒ observable. ✅ Kyun yahan do outputs forced hain: ka ek repeated eigenvalue hai 2-D eigenspace ke saath (L3.1). Koi scalar output ise kabhi fix nahi kar sakta — tumhe rakhna hi hoga. Yeh designer ki laziness nahi hai; yeh ek hard structural requirement hai.
Level 5 — Mastery
Structural facts prove karo aur multiple tools ek saath use karo.
L5.1 — Similarity invariance
Prove karo: agar aur ho (state coordinates ka change ), toh hoga. Toh observability coordinates par depend nahi karti.
Recall Solution
Transformed matrix ka ek block row compute karo: use karke (beech mein pairs cancel ho jaate hain). Saare stack karke: Kyunki invertible hai, isse right-multiply karne se rank nahi badlti. Isliye . ∎ Matlab: observability system ki property hai, un basis ki nahi jisme tum ise likhte ho — exactly wahi cheez jis par Kalman decomposition rely karta hai.
L5.2 — Numeric mastery problem
(ek companion / controllable-canonical-looking form). compute karke observability determine karo.
Recall Solution
. ( ki pehli row). ( ki doosri row). Observable. ✅ Yeh "observer companion" pattern hai: integrators ki chain ka pehla state measure karne se successive derivatives reveal hote hain, toh poori chain unfold ho jaati hai.
L5.3 — Kalman-filter tie-in (conceptual + ek computation)
Ek state estimator ke liye reconstruct karne ke liye, pair observable hona chahiye. (ek pure oscillator) aur diya hua hai, observability verify karo, aur explain karo ki "ek oscillator ki position dekhna" kya reveal karta hai.
Recall Solution
. Interpretation: harmonic oscillator mein, position hai aur velocity hai. Position aur uska slope dekhne se kisi bhi instant par dono states milte hain, toh ek estimator true trajectory par lock kar sakta hai. Yahan eigenvalues hain (undamped), phir bhi observability hold karti hai — parent ki mistake note reinforce hoti hai: observability stability se independent hai.

Recall Self-test summary (sabhi levels khatam karne ke baad reveal karo)
- L1: size ; ek zero column rank kill kar deta hai.
- L2: coupling ki ek direction hoti hai — hamesha compute karo.
- L3: repeated eigenvalues ko chahiye; distinct eigenvalues ko phir bhi ko har eigenvector touch karna hoga; PBH rank test ko cross-check karta hai.
- L4: ko Vandermonde se design karo; unobservable subspace = ka -invariant kernel; repeated modes zyada sensors force karte hain.
- L5: ⇒ coordinate-free; observability ⟂ stability.
Connections
- Observability matrix — rank test (parent)
- Controllability matrix — rank test (duality, L3.2 mein use kiya)
- Cayley–Hamilton theorem (isliye par rukते hain)
- PBH test (eigenvalue cross-check, L3.1 aur L3.3)
- Kalman decomposition (observable/unobservable split, L4.2)
- Kalman Filter (observability chahiye, L5.3)
- Rank and null space of a matrix (kernel = unobservable states)
- State-space representation