3.5.29 · HinglishGuidance, Navigation & Control (GNC)

State-space representation — x' = Ax + Bu, y = Cx + Du

1,553 words7 min readRead in English

3.5.29 · Physics › Guidance, Navigation & Control (GNC)


WHY do we need state-space?


WHAT is the state?


HOW to derive it from a physical ODE (from scratch)

Trick yeh hai: koi bhi -th order linear ODE coupled first-order equations ban jaata hai derivatives ko naye states ke roop mein naam dekar.

Figure — State-space representation — x' = Ax + Bu, y = Cx + Du

The solution (derived, not dumped)


Common mistakes (Steel-man them)


Forecast-then-Verify

Recall Check karne se pehle forecast karo

Q: Mass–spring–damper ke liye jisme (no damping) ho, ke eigenvalues aur motion predict karo. Forecast: , . Purely imaginary → rad/s par undamped oscillation. ✅ Physics se match karta hai: no damping ⇒ hamesha ring karta rahega.


Flashcards

Do state-space equations kya hain?
(state/dynamics) aur (output).
Kisi system ki "state" kya hoti hai?
Variables ka woh minimal set jo future inputs ke saath future behavior fully predict karne ke liye zaroori ho.
matrix physically kya represent karta hai?
Internal dynamics — state apne aap par kaise feedback karta hai; iske eigenvalues stability set karte hain.
kya karta hai?
Control inputs ko state ke rates of change mein map karta hai.
kya karta hai?
States ko measured outputs mein select/combine karta hai.
nonzero kab hota hai?
Jab koi input instantly (algebraically) output ko affect kare — direct feedthrough.
-th order ODE ko state-space mein kaise convert karte hain?
States ko function aur uske pehle derivatives ke roop mein define karo, jo coupled first-order equations deta hai.
ka full solution kya hai?
.
State-space mein stability ki condition?
ke saare eigenvalues ka real part negative ho.
State-space se transfer function?
.
State-space unique kyun nahi hoti?
Coordinate change se milta hai jo same system describe karta hai.
System order kya determine karta hai?
State vector ki dimension = independent energy-storing / memory elements ki sankhya.

Recall Feynman: ek 12-saal ke bachche ko explain karo

Ek toy car imagine karo jisme spring lagi ho. Yeh jaanne ke liye ki woh aage kahan jaayegi, abhi sirf do cheezein chahiye: woh kahan hai aur kitni tezi se chal rahi hai. Yahi uski "state" hai. Ek dhakka tera input hai. "Position aur speed + dhakka → ek chhote moment mein kaise change hote hain" yahi poori physics hai. Hum bas yeh rule numbers ki boxes (matrices) ke roop mein likhte hain taaki computer movie aage chala sake. box batata hai ki un donon mein se kaun si cheez car ka chhota sensor actually read kar sakta hai.

Connections

  • Transfer functions and G(s) donon worlds ko link karta hai.
  • Eigenvalues and stability — poles = eigenvalues of .
  • Matrix exponential — solution ka engine.
  • Controllability and Observability — kya aur actually har state tak pahunchte hain?
  • LQR optimal control — directly par feedback design karta hai.
  • Kalman filter se unmeasured states estimate karta hai.
  • Linearization of nonlinear systems — jahan Jacobians ke roop mein aate hain.

Concept Map

name derivatives as states

minimal memory of

drive

defines size n

assembled into

assembled into

dynamics matrix

input matrix

output matrix

feedthrough

handles MIMO and initial conditions

limited to SISO at rest

nth-order linear ODE

State vector x

System future

Inputs u

System order n

State-space form

A: state feedback

B: controls push state

C: measured combos

D: direct input to output

Output y

Kalman filter and LQR

Transfer function G of s