Exercises — LQG — LQR + Kalman filter, separation principle
3.5.36 · D4· Physics › Guidance, Navigation & Control (GNC) › LQG — LQR + Kalman filter, separation principle
Shuru karne se pehle, har ek symbol ka ek shared cheat-sheet jo tumhe milega, plain words mein:
Do engines jo hum poore page reuse karte hain:
Level 1 — Recognition
L1.1 — Pieces ko naam do
Model hai jahan , . Words mein batao ki , , , mein se har ek physically kya represent karta hai, aur jab kaunsa bada hota hai toh Kalman gain barhta hai.
Recall Solution
- = process noise: physics pe random pushes — wind gusts, unmodelled dynamics, thrust jitter.
- = measurement noise: sensor reading ke andar random error.
- = ki strength (covariance); = ki strength.
- Kyunki aur , ke saath barhta hai: bada → bada (sensor pe zyada trust karo, kyunki model kick khaata reh raha hai). Bada → chota (model pe trust karo, sensor kharab hai).
L1.2 — Kaunsa knob kya karta hai?
LQR cost ke liye, ek designer gentler, fuel-saving controller chahta hai. Kya unhe badhana chahiye ya badhana chahiye? Gain ka kya hoga?
Recall Solution
badhao (effort ko zyada penalise karo). Bada matlab chota hai, toh shrink hoga → chote control moves → gentler, slower response. badhana ulta karega (aggressive tracking).
L1.3 — Separation spot karo
Joint LQG matrix mein, kaunsi single entry ka zero hona separation principle ka poora content hai, aur physically iska kya matlab hai?
Recall Solution
Bottom-left block. Yeh batata hai ki estimation error apni khud ki physics () se evolve karta hai aur controller gain se affect nahi hota. Kyunki matrix block-upper-triangular hai, iske eigenvalues sirf union hain — toh do designs decouple ho jaate hain.
Level 2 — Application
L2.1 — Scalar LQR, naye numbers
System (), cost . , gain , aur closed-loop pole find karo. Confirm karo ki yeh stable hai.
Recall Solution
Scalar CARE se shuru karo (upar derive kiya: kyunki scalars commute karte hain, aur ). substitute karo: Quadratic formula: (positive root rakho — hona chahiye). Closed loop: ✅ stable. Negative kyun? LQR ka poora point hi yeh hai ki closed loop decay kare; ek positive (unstable open loop) ko feedback negative pull karta hai.
L2.2 — Scalar Kalman by duality
Same , , noises , . , Kalman gain , aur estimator pole find karo.
Recall Solution
Yeh L2.1 ka dual hai identical numbers ke saath (, , , ). Scalar FARE hai (same collapse: , aur ). substitute karo: Estimator pole ✅.
L2.3 — Sensor-limited filter
, , rakho, lekin ek kharab sensor deta hai. aur find karo. Ek achhe sensor ke against compare karo.
Recall Solution
Scalar FARE: . ke saath yeh ban jaata hai
- : , toh
- : , toh Kharab sensor → chota (model pe trust karo); achha sensor → bada (sensor pe trust karo). Exactly yahi intuition hai.
Level 3 — Analysis
L3.1 — Separation numerically verify karo
lo, aur L2.1–L2.2 ke gains use karo (). Joint matrix likho aur dikhaao ki iske eigenvalues do poles ka union hain.
Recall Solution
Matrix . Ek block-upper-triangular (yahan sirf upper-triangular) matrix ke eigenvalues uske diagonal pe hote hain: . Yeh exactly hain. Off-diagonal kabhi eigenvalues mein nahi aaya — block yahi guarantee karta hai. ✅
L3.2 — Coupling term phir bhi kyun hurt karta hai
L3.1 mein poles perfectly decouple hue. Explain karo, mein term use karke, kyun LQG performance phir bhi ideal LQR se worse hai. Separation design ke baare mein hai, cost ke baare mein nahi — iska ek-line reason do.
Recall Solution
State equation ek extra driving term carry karta hai: estimation error controller ke through true state mein leak hota hai. Bhaale hi mean mein ho, iske random fluctuations continuously mein disturbance inject karte rehte hain, toh achieved cost hoti hai. Separation gains jo tum compute karte ho (design) ko decouple karta hai, cost jo tum pay karte ho (performance) ko nahi. Noise phir bhi tumhe cost karaata hai.
L3.3 — Stability ko bina solve kiye padho
Ek system ke liye open-loop pole (badly unstable), ke saath, humein stable closed loop chahiye. Riccati fully solve kiye bina argue karo ki forced hai, aur smallest integer find karo jo stabilise kare.
Recall Solution
Stability ke liye chahiye . LQR hamesha aisa return karta hai (yeh guarantee karta hai stability jab bhi pair controllable ho). Smallest integer hai, pole deta hai ✅. Koi bhi LQR-optimal actually se zyada hoga; exact value pe depend karti hai, lekin stability guarantee hai regardless.
Level 4 — Synthesis
L4.1 — Ek full scalar LQG design karo
Given plant , sensor , ke saath. Dono gains aur design karo, LQG controller with likho, aur saare closed-loop poles list karo.
Recall Solution
Yahan . Controller — scalar CARE . substitute karo: (positive root). Controller pole Filter — scalar FARE . substitute karo: Estimator pole Controller (clean form): numbers mein plug karke, jahan Closed-loop poles: — union, by separation. ✅
L4.2 — Aggressive vs cheap, same plant
ke liye: (a) ek aggressive design ; (b) ek cheap design . Har ek ke liye aur closed-loop pole compute karo, aur speed pe comment karo.
Recall Solution
Scalar CARE . ke saath: (a) : Pole — bahut fast. (b) : . se multiply karo: Pole — barely stable, gentle. Comment: heavy / light ⇒ bada gain, fast (far-left) pole, bahut effort. Heavy ⇒ chota gain, sluggish pole imaginary axis ke paas, kam effort.
Level 5 — Mastery
L5.1 — LQG kab banaya ja sakta hai?
aur pe do structural conditions batao jo LQR gain aur Kalman gain ke exist karne aur stabilise karne ke liye zaroor hold karni chahiye. Har ek ko naam do aur ek sentence mein explain karo.
Recall Solution
- Controllability of (ya kam se kam stabilisability): input state ke har unstable direction ko influence kar sakni chahiye — warna koi ko stabilise nahi kar sakta.
- Observability of (ya kam se kam detectability): sensor ko har unstable direction reveal karna chahiye — warna koi ko stabilise nahi kar sakta, aur hidden unstable modes track nahi kar sakta. Dono Riccati Equation ke ek stabilising positive-(semi)definite solution hone se aate hain.
L5.2 — Robustness footgun
LQR akela phase margin aur infinite gain margin enjoy karta hai. Doyle (1978) ne prove kiya ki LQG yeh guarantee kho sakta hai. (a) Kalman filter insert karna guaranteed margins kyun destroy karta hai? (b) Standard fix ka naam batao aur ek sentence mein explain karo ki yeh kaise kaam karta hai.
Recall Solution
(a) Margin guarantees full-state feedback loop ki property hain jo plant input pe measure ki jaati hai. Kalman filter extra dynamics () measurement aur control ke beech insert karta hai, loop transfer function ko reshape karta hai; woh reshaping phase/gain margins ko arbitrarily small values tak shrink kar sakti hai. Separation gains ki optimality preserve karta hai, loop ki robustness nahi. (b) LQG/LTR: tum deliberately process-noise weight ko infinity ki taraf push karte ho (ya plant output pe design karte ho), jo Kalman gain ko itna bada kheenchta hai ki estimator almost transparent ho jaata hai — LQG loop transfer function phir full-state LQR loop shape recover kar leta hai aur uske margins wapas mil jaate hain. (Alternatively, H-infinity Control seedha ek robustness bound optimise karta hai.)
L5.3 — Separation eigenvalue split prove karo (2×2, symbolic)
General scalar ke liye, algebraically dikhaao ki ke eigenvalues exactly aur hain.
Recall Solution
Characteristic polynomial: Triangular matrix ke liye determinant diagonal ka product hota hai: Ise set karne par roots milte hain aur — off-diagonal kabhi nahi aaya. Lower-left mein exactly yahi cheez hai jo determinant ko is tarah factor karaati hai. Yahi do lines mein separation principle hai.

Recap ladder
Recall Har level ka ek-line summary
L1 Recognition ::: Jaano ki har symbol/piece kya hai aur kaunsa noise badhata hai. L2 Application ::: Ek scalar Riccati solve karo aur , , poles padho. L3 Analysis ::: Explain karo kyun poles split hote hain phir bhi performance degrade hoti hai. L4 Synthesis ::: Blank page se ek complete scalar LQG design karo. L5 Mastery ::: Existence conditions, robustness footgun batao, aur separation prove karo.