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

FoundationsLinear Quadratic Regulator (LQR) — Riccati equation, optimal gains

3,158 words14 min read↑ Read in English

3.5.35 · D1 · Physics › Guidance, Navigation & Control (GNC) › Linear Quadratic Regulator (LQR) — Riccati equation, optimal

Parent note ki ek bhi line padhne se pehle, tumhe har woh symbol apna banana hoga jo woh tumhare saamne phenkta hai. Yeh page har ek symbol ko bilkul zero se build karta hai, us order mein jo har ek ko pichle par tikne deta hai.


0. Har cheez ke peeche ki picture: state as a point

LQR mein jo bhi hota hai woh ek akele chalte hue point par hota hai. Woh point machine ki abhi ki situation hai.

Figure — Linear Quadratic Regulator (LQR) — Riccati equation, optimal gains
  • Seedhe alfaaz mein: jawaab deta hai "machine abhi kya kar rahi hai?"
  • Picture: ek flat plane mein ek dot (2 numbers ke liye). Origin hai "perfect — target par, move nahi kar raha". Origin se door hona bura hai.
  • Topic ko kyun chahiye: LQR ka poora kaam is dot ko origin par laana hai. Agar tum state ko ek movable point ki tarah nahi socho, toh baaki kuch bhi samajh nahi aayega.

Do dimensions hum draw kar sakte hain (); zyada ke liye hum analogy se sochte hain — phir bhi "ek point jo origin ke paas ya door ho sakta hai".


1. Vectors aur matrices — poore topic ki alphabet

Figure — Linear Quadratic Regulator (LQR) — Riccati equation, optimal gains

2. Quadratic form — "kitna bura hai" measure karne wala ek number

Yeh akela expression parent page par teen baar aata hai (, , ). Ise ek baar apna banao aur teeno free hain.

Figure — Linear Quadratic Regulator (LQR) — Riccati equation, optimal gains
  • Kyun squared (kyun nahi)? Square bottom par smooth hota hai (ek rounded bowl), toh calculus cleanly minimum dhundh sakta hai. Absolute value mein ek sharp corner hota hai — optimizer usmein phase jaata hai. Yahi smoothness woh poori wajah hai jis se LQR ka ek clean closed-form answer hai.
  • Picture: ek bowl hai jo plane ke upar rakha hai. Origin bottom hai (value ); jitna bahar jaao, utna upar chadhte ho. decide karta hai bowl kitni steep hai har direction mein.

Yeh table exactly wajah batati hai ki parent kyun insist karta hai " strictly": control cost mein flat floor ka matlab hoga "kuch control free hai", minimum unique nahi hoga, aur (aage define hoga) exist nahi karega.


3. Time , dot — rate of change

  • Derivative kyun aur difference kyun nahi? Physics continuously hoti hai — machine discrete steps mein jump nahi karti, woh flow karti hai. Derivative woh tool hai jo ek instant par flow measure karta hai.
  • Picture: har point par, dot ke saath attached ek chhota arrow hai jo dikhata hai woh aage kahan jayega. In arrows ka poora field machine ka "wind map" hai.

4. Control , gain , aur feedback law

Figure — Linear Quadratic Regulator (LQR) — Riccati equation, optimal gains
  • Minus sign kyun? Feedback ko error oppose karna chahiye, jaise ek spring ek stretch hue mass ko wapas kheenchta hai. Plus sign tumhe aur door dhakelta — control ke bilkul ulta.
  • ke proportional kyun (linear kyun)? Parent ka punchline yahi hai: linear plant + quadratic (bowl) cost force karta hai ki best recipe exactly yahi linear wali ho. Isi shape ko doosre raastoon se paane ke liye Pole Placement aur PID Controllers dekhein.

5. Cost integral — poore time ka badness add karna

  • Picture: har instant par do bowls; woh shaded area hai jo time flow hone par sweep hoti hai. Ek twitchy, wasteful controller ka bada shaded area hoga; LQR controller ka sabse chhota possible area hoga.

6. Value function aur Riccati equation (preview)


Foundations topic ko kaise feed karti hain

Real numbers R and lists R to the n

State x as a point

Vectors and matrices

Matrix shapes and multiplication rule

Transpose and symmetric matrices

Quadratic form x-top M x = a bowl

Positive definite Q and R

Matrix inverse R inverse

Time t and dt

Derivative x-dot = velocity

Plant x-dot = A x + B u

Control u and feedback law u = -K x

Cost integral J

Value function V = x-top P x

Riccati equation gives K

LQR optimal controller


Equipment checklist

Har cue padho, zyorr se jawaab do, phir reveal karo. Agar koi rokta hai, woh section dobara padho.

ka seedhe alfaaz mein kya matlab hai?
ek point (arrow) hai jo real numbers se bana hai — machine ki abhi ki poori situation.
Matrix ki geometrical job kya hai?
Woh ek arrow khaati hai aur transformed arrow return karti hai (stretch/rotate/shear); hai " jab act kare uske baad".
ko vector se multiply karne ke liye "shapes must match" rule bolo.
ke columns ki sankhya vector ke rows ki sankhya ke barabar honi chahiye; ek matrix ek vector khaata hai aur return karta hai.
, , , , ki shapes kya hain?
hai , hai , hai , hai , hai .
kya karta hai aur humein iska kyun zaroorat hai?
Rows ko columns mein flip karta hai (); zaroori hai taaki shapes line up hon jab ek row ko column se multiply karo, jaise mein.
kaun sa akela number produce karta hai, aur uski shape kya hai?
Ek scalar jo origin se weighted squared distance measure karta hai — plane ke upar ek bowl.
Error ko square kyun karte hain ki jagah?
Square bottom par smooth hota hai, toh calculus ek clean unique minimum dhundh leta hai; mein ek sharp corner hai.
aur mein farq?
ek flat valley floor allow karta hai (); har jagah strictly curved hai ( ke liye ).
kya hai aur kab exist karta hai?
"Undo" matrix jo satisfy kare; ek square matrix ke liye exist karta hai jo kisi non-zero arrow ko zero par squash na kare — guaranteed jab ho.
strictly kyun hona chahiye (sirf nahi)?
Taaki ek unique sasta control exist kare aur exist kare mein.
kya hai aur ka kya matlab hai?
time parameter hai ( se seconds); time ka ek infinitesimally chhota step hai jo integral mein har instant ko weight deta hai.
kya represent karta hai?
State point ki instantaneous velocity — time ke saath iski rate of change, .
ko alfaaz mein padho.
State ki velocity uska apna natural drift hai plus woh push jo hum control ke zariye inject karte hain.
mein minus sign kyun?
Feedback ko error oppose karna chahiye aur state ko origin ki taraf wapas kheenchna chahiye, jaise ek spring.
Cost ke liye kya compute karta hai?
Running total badness (error + effort) poore future time mein continuously sum ki gayi.
kya hai?
State se best possible remaining total cost; symmetric se shaped ek bowl.
Riccati equation kya deliver karta hai?
Matrix , jisse optimal gain read off hota hai.