3.5.31 · Physics › Guidance, Navigation & Control (GNC)
Intuition Core idea (energy bina energy ke)
Ek ball ko ek bowl mein roll karte hue imagine karo. Chahe kahaan bhi chhoddo, woh aakhir mein neeche aa jaati hai. Kyun? Kyunki uski energy hamesha neeche jaati hai jab woh move karti hai. Lyapunov ki genius yeh thi ki unhone realize kiya: system stable hai ya nahi jaanne ke liye equations of motion solve karne ki zarurat nahi — bas koi bhi "energy-jaisi" scalar dhundhni hai jo system ki trajectories ke saath hamesha decrease karti rahe.
GNC mein WHY important hai: Spacecraft attitude controller ya missile autopilot ke liye nonlinear ODEs solve karna aksar impossible hota hai. Lyapunov se hum prove kar sakte hain ki vehicle apni commanded state mein wapas aayegi — ek stability ka certificate — bina kuch bhi integrate kiye.
WHAT chahiye: ek function V ( x ) jo ek bowl ki tarah behave kare (neeche equilibrium par) aur jiska value system evolve hone par drop kare.
Hum ek autonomous nonlinear system study karte hain:
x ˙ = f ( x ) , x ∈ R n , f ( 0 ) = 0
Point x = 0 ek equilibrium hai (agar wahan zero velocity se start karo, toh wahan hi rehte ho). Hum coordinates shift karte hain taaki interest ka equilibrium origin par ho — yeh hamesha allowed hai.
Definition Stability (Lyapunov sense mein)
Origin stable hai agar: har "target ball" of radius ε ke liye, ek "start ball" of radius δ exist karta hai jaise ki δ ke andar start karne par hamesha ε ke andar rehte ho. Formally: ∀ ε > 0 , ∃ δ > 0 s.t. ∥ x ( 0 ) ∥ < δ ⇒ ∥ x ( t ) ∥ < ε ∀ t ≥ 0 .
Yeh asymptotically stable hai agar additionally x ( t ) → 0 as t → ∞ .
WHY ε –δ phrasing? "Stable" ka matlab hona chahiye chhoti kick ⟹ hamesha chhota response . Nested-ball definition exactly yahi capture karti hai bina kisi solution formula ke.
Energy function pick karne se pehle, humein jaanna hai ki koi cheez bowl-shaped kab hoti hai.
Definition Positive definite (PD) function
Ek scalar V ( x ) ek region D par positive definite hai jisme origin included ho, agar:
V ( 0 ) = 0 (bowl ka neeche equilibrium par hai)
V ( x ) > 0 for all x = 0 in D (baaki jagah strictly zyada hai)
Agar sirf V ( x ) ≥ 0 mile, toh yeh positive semi-definite hai (flat channels wala bowl).
HOW to test PD for a quadratic form V = x ⊤ P x jisme P = P ⊤ :
V PD hai ⟺ ==P ek positive-definite matrix hai== ⟺ P ki saari eigenvalues > 0 hain ⟺ saare leading principal minors > 0 hain (Sylvester's criterion).
Definition Lyapunov function candidate
x ˙ = f ( x ) ke liye ek Lyapunov function ek continuously differentiable PD function V ( x ) hai jiska change trajectories ke saath non-positive ho.
Crucial object hai orbital derivative — V kaise change karta hai jab tum actual dynamics ke saath flow karte ho. Chain rule se:
V ˙ ( x ) = d t d V ( x ( t )) = ∑ i ∂ x i ∂ V x ˙ i = ∇ V ( x ) ⊤ f ( x ) .
WHY chain rule aur ∂ V / ∂ t nahi? V mein koi explicit time dependence nahi hai; saari time-variation x ( t ) ke through aati hai, jiska derivative dynamics f deta hai. Yahi poora trick hai: V ˙ x ( t ) solve kiye bina compute kiya ja sakta hai.
Worked example Example 1 — Damped pendulum / spring–mass–damper
System: q ¨ + b q ˙ + k q = 0 , b , k > 0 . State x = ( x 1 , x 2 ) = ( q , q ˙ ) :
x ˙ 1 = x 2 , x ˙ 2 = − k x 1 − b x 2 .
Choose mechanical energy V = 2 1 k x 1 2 + 2 1 x 2 2 .
Yeh step kyun? Yeh PD hai (dono coefficients > 0 , V ( 0 ) = 0 ) — ek genuine bowl — aur physical energy natural guess hai.
Orbital derivative compute karo:
V ˙ = k x 1 x ˙ 1 + x 2 x ˙ 2 = k x 1 x 2 + x 2 ( − k x 1 − b x 2 ) = − b x 2 2 ≤ 0.
Yeh step kyun? k x 1 x 2 terms cancel ho jaate hain — spring se fed energy wapas laut jaati hai; sirf damper − b x 2 2 energy remove karta hai.
V ˙ ≤ 0 ⟹ kam se kam stable. Yeh semi-definite hai (V ˙ = 0 jab bhi x 2 = 0 ho), isliye plain Lyapunov sirf stability deta hai; ek stronger tool (LaSalle's invariance principle) isse asymptotic mein upgrade karta hai. Physics match karti hai: damping pendulum ko rest par laata hai.
Worked example Example 2 — Ek purely nonlinear system
x ˙ 1 = − x 1 + x 1 x 2 2 , x ˙ 2 = − x 2 .
Choose V = 2 1 ( x 1 2 + x 2 2 ) (PD).
Yeh step kyun? Koi physical energy available nahi, isliye hum simplest "distance-squared" bowl try karte hain.
V ˙ = x 1 ( − x 1 + x 1 x 2 2 ) + x 2 ( − x 2 ) = − x 1 2 + x 1 2 x 2 2 − x 2 2 = − x 1 2 ( 1 − x 2 2 ) − x 2 2 .
Yeh step kyun? Humne sign expose karne ke liye group kiya. ∣ x 2 ∣ < 1 ke liye, term − x 1 2 ( 1 − x 2 2 ) < 0 hai, isliye V ˙ < 0 : region ∣ x 2 ∣ < 1 mein locally asymptotically stable hai.
Lesson: validity ki region seedha wahan se aati hai jahan V ˙ negative rehta hai — Lyapunov humein ek guaranteed basin estimate deta hai.
Worked example Example 3 — Linear system, matrix Lyapunov equation
x ˙ = A x ke liye, V = x ⊤ P x try karo jisme P PD ho.
V ˙ = x ˙ ⊤ P x + x ⊤ P x ˙ = x ⊤ ( A ⊤ P + P A ) x .
Yeh step kyun? Product rule; substitute x ˙ = A x .
A ⊤ P + P A = − Q set karo. Agar hum ek chosen PD Q ke liye is Lyapunov equation ko PD P ke liye solve kar sakein, tab V ˙ = − x ⊤ Q x < 0 ⟹ asymptotic stability. Theorem: aisa P exist karta hai ⟺ A ki saari eigenvalues ka negative real part ho. Isi tarah GNC software linear autopilots ko auto-certify karta hai.
V dhundha jisme V ˙ > 0 hai, isliye system unstable hai."
Kyun sahi lagta hai: agar energy badhti hai, toh cheezein zaroor blow up hongi. Fix: Lyapunov's theorem sufficient hai, necessary nahi . Kharab V ka choice tumhe kuch nahi batata. Working V na milna ≠ instability — tumhe bas zyada clever V chahiye. (Instability prove karne ke liye Chetaev's theorem sahi tool hai.)
V ˙ (time derivative) aur ∇ V (gradient) ko confuse karna.
Kyun sahi lagta hai: dono mein V ke derivatives hain. Fix: V ˙ = ∇ V ⊤ f — tumhe gradient ko dynamics f ke saath dot karna hoga . ODE substitute karna bhool jaana ek meaningless number deta hai.
V = 2 1 x 2 2 theek hai, yeh non-negative hai."
Kyun sahi lagta hai: yeh ≥ 0 hai aur origin par zero hai. Fix: yeh sirf semi -definite hai (V = 0 poori x 1 -axis par, na sirf origin par), isliye yeh x 1 ko trap karne mein fail karta hai. PD ke liye zaruri hai ki V > 0 har nonzero x ke liye , saare components.
Common mistake Assume karna ki
V ˙ ≤ 0 asymptotic stability deta hai.
Kyun sahi lagta hai: height na badhna "should" matlab settling. Fix: V ˙ ≤ 0 (semi-def) sirf stability (bounded) deta hai. Convergence ke liye tumhe V ˙ < 0 (definite) chahiye, ya LaSalle invoke karo.
Recall Feynman: 12-saal ke bacche ko explain karo
Ek marble ko ek khaane wale bowl mein socho. Chahe kahaan bhi chhoddo, woh neeche roll ho kar rok jaata hai. Ab imagine karo tumhare paas ek magic number-machine hai: tum usse marble ki taraf point karte ho aur woh tumhe marble ki "height" bowl mein batata hai. Agar woh number marble ke move karne par chhota aur chhota hota jaata hai, tum jaante ho marble neeche ki taraf ja raha hai — chahe tumne usse roll karte hua dekha bhi na ho! Lyapunov ka idea hai: kisi spacecraft ya robot ke liye aisi number-machine banao. Agar number hamesha shrink kare, toh machine safely wahan wapas ja rahi hai jahan hona chahiye. Tumhe poora safar predict nahi karna tha — bas number ko neeche jaate dekha.
"PD bowl, downhill roll."
V is PD = ek bowl (neeche origin par, positive walls).
V ˙ ≤ 0 = ball sirf downhill roll karti hai ⟹ stable.
V ˙ < 0 strictly = woh poore ghar tak roll karti hai ⟹ asymptotic.
Aur V ˙ = ∇ V ⋅ f = "gradient dotted with the flow."
LaSalle's Invariance Principle — V ˙ ≤ 0 ko asymptotic stability mein upgrade karta hai.
Lyapunov Equation A^TP+PA=-Q — Example 3 se linear-system machinery.
Positive Definite Matrices & Sylvester's Criterion — PD test.
Backstepping Control & Sliding Mode Control — V ˙ < 0 banane ke liye by construction design kiye gaye.
Spacecraft Attitude Control (Quaternion Feedback) — Lyapunov certificates ka real GNC use.
Chetaev's Instability Theorem — sahi converse tool.
Region of Attraction Estimation — sublevel sets { V ≤ c } se.
Positive definite function V ( x ) kya hoti hai? V ( 0 ) = 0 aur V ( x ) > 0 for all x = 0 region mein.
ODE solve kiye bina trajectories ke saath V ˙ kaise compute karte hain? V ˙ = ∇ V ( x ) ⊤ f ( x ) (chain rule; dynamics x ˙ = f substitute karo).
Stability vs asymptotic stability ke liye Lyapunov condition?Stability: V PD aur V ˙ ≤ 0 . Asymptotic: V PD aur V ˙ < 0 (strictly, x = 0 ke liye).
V = x ⊤ P x (P symmetric) ke liye, yeh PD kab hai?Jab P ki saari eigenvalues positive hon ⟺ saare leading principal minors positive hon (Sylvester).
x ⊤ P x > 0 ⟺ saare λ i ( P ) > 0 kyun?P = Q Λ Q ⊤ diagonalize karo; y = Q ⊤ x se, form ∑ λ i y i 2 ban jaata hai, positive iff har λ i > 0 ho.
Agar valid Lyapunov function nahi milti, toh kya system unstable hai? Nahi — theorem sufficient hai, necessary nahi. V na milna kuch prove nahi karta; instability prove karne ke liye Chetaev's theorem use karo.
x ˙ = A x , V = x ⊤ P x ke liye V ˙ derive karo.V ˙ = x ⊤ ( A ⊤ P + P A ) x ; set = − x ⊤ Q x (Lyapunov equation).
Damped oscillator mein V ˙ = − b x 2 2 kyun hota hai? Spring cross-terms k x 1 x 2 cancel ho jaate hain; sirf damper dissipate karta hai ⟹ energy loss ∝ velocity2 .
Positive definite aur positive semi-definite mein kya farq hai? PD: V > 0 for all nonzero x . PSD: V ≥ 0 (nonzero points par zero ho sakta hai — "flat channels").
Ek valid Lyapunov function geometrically kya represent karta hai? Ek "bowl" (positive walls, neeche equilibrium par) jiska height trajectories ke saath decrease kare.
proven without solving ODE by
Nonlinear system x-dot equals f of x
Small kick small response forever
Asymptotic stability x goes to 0
Positive definite bowl shape
Decrease along trajectories
All eigenvalues of P positive
Sylvester leading minors positive
Spacecraft and missile control certificate