Exercises — Linear Quadratic Regulator (LQR) — Riccati equation, optimal gains
3.5.35 · D4· Physics › Guidance, Navigation & Control (GNC) › Linear Quadratic Regulator (LQR) — Riccati equation, optimal
Shuru karne se pehle, ek picture poori vocabulary fix kar deti hai jo tumhe chahiye.
Level 1 — Recognition
L1.1
Continuous-time Algebraic Riccati Equation (CARE) state karo aur identify karo kaunsa single term ise mein nonlinear banata hai.
Recall Solution
Term mein quadratic hai (ismein do baar hai), isliye equation nonlinear hai. Baaki har term (, , ) mein linear ya constant hai.
L1.2
Tumhe bataya gaya hai , , aur solved . ka formula likho aur ka size (rows × columns) identify karo.
Recall Solution
. Yahan hai , hai , hai . Ruko — hai toh ek control input hai, isliye conformable hone ke liye hona chahiye. Stated inconsistent hai; sahi recognition yeh hai: control aur states ke saath, hai .
Exercise ka point: hamesha dimensions check karo. , , toh force karta hai ko hone ke liye. Yahan .
L1.3
In mein se optimal LQR control law kaun si hai? (a) (b) (c) (d) .
Recall Solution
(b) . Yeh mein linear hai ((a) rule out), state use karta hai derivative nahi ((c) rule out), aur sign negative hai — tum offset ke khilaaf push karte ho drive karne ke liye ((d) rule out, jo tumhe door push karta aur destabilize karta).
Level 2 — Application
L2.1 (scalar CARE)
Plant (toh ), weights . , gain , aur closed-loop pole nikalo.
Recall Solution
Scalar CARE: Closed loop: Stable — jabki open loop () unstable tha.
L2.2 (double integrator gain)
Parent ke double-integrator result ka use karke, ke liye compute karo.
Recall Solution
Aur , toh Notice karo: bada (heavier control penalty) ne dono gains shrink kar diye — softer pushing.
L2.3 (cost-to-go value)
L2.1 mein tumne nikala. Agar satellite se start kare, toh total optimal cost kya hai?
Recall Solution
Value function remaining cost hai agar tum yahan se optimally steer karo — ek baar pata chal jaaye toh koi integral nahi chahiye.
Level 3 — Analysis
L3.1 (sirf ratio matter karta hai)
Dikhao ki dono weights scale karne par, aur for , gain unchanged rehta hai.
Recall Solution
Scaled weights ke saath CARE: Try (guess ki solution bhi scale hoti hai). Substitute karo: Bracket original CARE hai, toh original solution hai aur . Phir 's cancel ho jaate hain — unchanged hai. Sirf ratio controller set karta hai.
L3.2 (kaunsa knob aggressive banata hai?)
Scalar case mein ( ka rewrite). Analyse karo: kya pole left (faster) move karta hai jab badhta hai ya jab badhta hai?
Recall Solution
. Jab , (CARE mein bada bada force karta hai), toh , toh zyaada negative ho jaata hai → pole left move karta hai → faster/aggressive. Jab with fixed: control par penalty badhti hai, shrink hota hai, ki taraf (right) move karta hai → slower/gentler. Verdict: bada = aggressive, bada = lazy.
L3.3 (double integrator ke closed-loop poles)
ke liye, . Closed-loop matrix aur uske eigenvalues nikalo; damping ratio state karo.
Recall Solution
Characteristic polynomial: se compare karo with : Achha damped — overshoot ringing practically nahi.
Varying ke liye poles ek curve trace karte hain — figure dekho.
Level 4 — Synthesis
L4.1 (LQR is PD control)
Double-integrator gain deta hai . Term by term explain karo kyun yeh exactly ek spring–damper (PD) controller hai, aur ke liye do aur hence natural frequency aur damping.
Recall Solution
= position, = velocity. Toh :
- = ek spring jo position ko zero pe wapas kheenchti hai (proportional term, "P").
- = ek damper jo velocity ko oppose karta hai (derivative term, "D"). Yeh precisely ek PD controller hai — dekho PID Controllers. LQR ne ise optimal ke roop mein derive kiya. ke liye: . Closed loop , yaani ,
L4.2 (stability certificate se connect karo)
Value function with closed loop ke liye ek Lyapunov function bhi hai. CARE use karke along verify karo, aur batao yeh kya prove karta hai.
Recall Solution
ke saath, expand karo . CARE use karo (): Toh , aur yeh hai jab bhi . Yeh closed loop ki asymptotic stability prove karta hai — dekho Lyapunov Stability. Optimal cost-to-go khud ek ready-made Lyapunov function hai.
L4.3 (kyun controllability required hai)
Parent controllable ko stabilizing LQR solution ke liye condition list karta hai. Ek example do jahan ek uncontrollable, unstable mode LQR fail kara de, aur explain karo kyun.
Recall Solution
Lo , . Controllability matrix hai — rank 1, toh system uncontrollable hai (dekho Controllability and Observability). Eigenvalue wala mode (first state) ka -coupling nahi hai — control kabhi ko touch nahi karta. Toh unboundedly grow karta hai chahe kuch bhi kare. Koi ise stabilize nahi kar sakta; LQR ka stabilizing solution exist nahi karta. Fix ke liye: har unstable mode se reachable hona chahiye (yahi exactly stabilizability hai).
Level 5 — Mastery
L5.1 (scratch se full design)
Ek reaction wheel attitude angle drive karta hai: . LQR design karo (angle heavily penalize karo, rate ignore karo), ke saath. , closed-loop poles, aur settling behaviour nikalo.
Recall Solution
Yeh double integrator hai ke saath. , ke saath CARE redo karo:
- Closed loop Numerically . , . Padho: heavier (9 vs 1) ne poles ko further left push kiya ( 1 se tak up) — faster response, same damping. Exactly L3 ki " = aggressive" story.
L5.2 (prove karo ki scalar case mein closed loop hamesha stable hai)
Prove karo ki kisi bhi real ke liye (unstable bhi), scalar LQR closed-loop pole strictly negative hai, given .
Recall Solution
aur , toh Kyunki , radicand , toh poora expression har ke liye strictly negative hai. LQR hamesha ek controllable () scalar plant ko stabilize karta hai.
L5.3 (estimator ke saath synthesis — pointer)
Tum sirf position measure kar sakte ho, velocity nahi. Explain karo words mein ki tum phir bhi yeh LQR kaise run karte ho, aur combined design ka naam batao.
Recall Solution
Measurement ko ek Kalman Filter mein feed karo taaki full state (position aur velocity) ka estimate mile, phir apply karo. Separation principle kehta hai ki tum (LQR) aur estimator independently design kar sakte ho; combination hai LQG Control (Linear-Quadratic-Gaussian). Is page ka LQR gain unchanged use hota hai — bas ki jagah feed karo.
Recall Poore page ka one-line recap
Riccati ; = aggressive, = lazy, sirf ratio matter karta hai; wahi ek PD controller hai (L4.1), ek Lyapunov certificate hai (L4.2), aur ek estimator ke saath LQG Control mein fit hota hai (L5.3).