3.5.53 · D4 · HinglishGuidance, Navigation & Control (GNC)

ExercisesPowered descent guidance — G-FOLD algorithm (convex optimization)

3,722 words17 min read↑ Read in English

3.5.53 · D4 · Physics › Guidance, Navigation & Control (GNC) › Powered descent guidance — G-FOLD algorithm (convex optimiza

Shuru karne se pehle, ek picture hai jis par poora page tika hai: thrust set. Engines kisi bhi direction mein, floor aur ceiling ke beech kisi bhi magnitude se push kar sakte hain. Yahi woh region hai jo do circles ke beech hai (ek annulus) — aur uska andar ka hole hi problem ko mushkil banata hai.

Figure — Powered descent guidance — G-FOLD algorithm (convex optimization)

Level 1 — Recognition

Exercise 1.1 — Villain ko pehchano

Q: Upar diye notation box ko use karte hue (jahan vector length hai, thrust, acceleration command, gravity, aur ground-frame coordinates hain), neeche diye chaar constraints mein se exactly ek non-convex set define karta hai. Kaun sa, aur kyun? (a) (b) (c) (d) .

Recall Solution

Answer: (b). Ek set convex hota hai agar uske kisi bhi do points ko jodne wali seedhi line set ke andar rahe.

  • (a) ek solid disk hai (sabhi thrust vectors jo se chhote ya barabar hain) — koi bhi do points uthao, unke beech ka segment andar rahega. Convex hai.
  • (c) ek linear equality hai — state-space mein ek flat plane. Convex hai.
  • (d) upar ki taraf khuline wala cone hai (glide-slope). Convex hai.
  • (b) circle ke bahar ki sab cheez hai. Ek point left rim par aur ek right rim par lo: unke beech ka segment seedha forbidden hole ke beech se guzarta hai. Set se yeh escape hi non-convex ki definition hai. Upar diye figure mein pink dashed chord dekho — uske do pink endpoints allowed ring par hain, lekin dashed line unke beech se guzar kar yellow inner circle ke forbidden hole mein ghus jaati hai.

Exercise 1.2 — Har naye symbol ka matlab

Q: Change of variables mein, har symbol ko uske plain meaning se match karo: , , , .

Recall Solution
  • acceleration command (thrust per unit mass; rocket actually kya feel karta hai).
  • slack magnitude jo ko upper-bound karta hai; yeh hai throttle kitna hai, acceleration units mein.
  • mass ka log, is liye choose kiya gaya taaki mass dynamics linear ho jaaye.
  • fuel-cost rate: newton-second thrust per kg mass lost, is tarah express kiya gaya taaki .

Answer line — ek sentence mein ::: thrust magnitude ko mass-loss rate mein convert karta hai; yeh exhaust speed ka reciprocal hai.


Level 2 — Application

Exercise 2.1 — Kya yeh ruk sakta hai? (1-D vertical, Mars)

Q: Ek lander altitude m par hai aur neeche jaa raha hai, isliye uski velocity m/s hai (notation box se yaad karo: upar positive hai, toh m/s ki downward speed likhte hain). Gravity magnitude (Mars). Maximum thrust deta hai (up-thrust). Mass change ignore karo. Full up-thrust use karte hue, sabse chhota stopping distance kya hai, aur kya woh altitude ke andar fit hota hai? Yeh bhi batao: ke baare mein kya true hona chahiye taaki ruk paana impossible ho?

Recall Solution

WHAT karte hain: sabse bada net deceleration dhundho aur constant-acceleration kinematics use karo. Pehle sign handle karo: up-thrust acceleration deta hai; gravity deta hai. Toh braking ke dauran net upward acceleration hai: WHY hum speed m/s use kar sakte hain: stopping-distance formula velocity ki magnitude use karta hai kyunki — square karne par sign disappear ho jaata hai. Velocity signed hai (), lekin uska square (kinetic-energy term) direction-free hai, isliye formula sirf speed maangta hai. Kyunki , haan — altitude spare hai, isliye ek feasible (aur fuel-optimal) solution exist karta hai.

Edge case — jab ruk paana impossible ho: net decelerating acceleration hai . Agar , toh : full throttle par bhi engine gravity ko nahi maar sakta, lander neeche accelerate karta rehta hai, aur undefined ya negative ho jaata hai — feasibility check fail ho jaata hai aur us state se koi landing exist nahi karta. Toh G-FOLD ki sabse pehli zaroorat yeh hai ki thrust ceiling local gravity se zyada ho, .

Exercise 2.2 — Glide-slope radius

Q: Target origin par hai (ground-frame coordinates notation box se: horizontal, altitude). Glide-slope angle , toh constraint hai , jahan target se horizontal distance hai. Altitude m par maximum allowed horizontal distance kya hai? ke liye repeat karo.

Recall Solution

WHAT constraint geometrically kehta hai: har altitude par, term ek horizontal circle ka radius hai jiske andar lander allowed hai. Kyunki woh allowed radius height ke saath linearly badhta hai, circles ko stack karne par ek upar ki taraf khuline wala cone banta hai jiska tip target par hota hai. Neeche ka figure exactly yahi plot karta hai: vertical axis altitude hai, horizontal axis offset hai, aur shaded wedge allowed funnel hai.

  • : , toh radius m. Figure mein, dotted line par yellow cone edge m par hai.
  • : , toh radius m — blue cone narrower hai.

WHY tan aur sin nahi: right triangle par (altitude = adjacent vertical side, horizontal offset = opposite side, slant descent line = hypotenuse), . Woh ratio hi cone ka slope hai, jise hum cap karna chahte hain. Chhota ek narrower, steeper funnel banata hai — ridges ke against safer hai lekin maneuver karne ki kam jagah.


Level 3 — Analysis

Exercise 3.1 — kyun actually linearize karta hai

Q: aur se start karte hue, dikhao ki se milta hai, aur explain karo ki obvious alternative kyun cheezein saaf nahi karta.

Recall Solution

Step — log differentiate karo (WHAT): chain rule se, Step — mass law substitute karo (WHAT): WHY log kaam karta hai: acceleration law mein denominator mein hai — woh hi nonlinear coupling hai jise hamare maarna hai. Mass law ka ratio exactly ka chain-rule derivative hai. daalne par, 's milkar clean control ban jaate hain, aur hume milta hai: constant times control, denominator mein koi state nahi. WHY fail karta hai (concrete alternative): try karo. . Isme abhi bhi aur alag-alag hain — inhe single control mein fold karna possible nahi bina leftover ke. Toh ek state-dependent factor chhodta hai aur dynamics nonlinear rehti hai. Sirf log hi ratio produce karta hai jo control already match karta hai — yahi sense mein log uniquely clean hai.

Exercise 3.2 — Lossless convexification, sign argument

Q: Humne ko relax karke kar diya. Objective hai . Argue karo ("optimizer kya karega" ke level par) ki optimum par hota hai jahan bhi throttle floor inactive ho.

Recall Solution

Setup: kisi bhi instant par, ko touch karne wale constraints hain aur (throttle floor). Cost per unit time pay karti hai. Argument (WHY se chipak jaata hai): maan lo kisi instant par strictly hai. Tab hum ko ek tiny se ghata sakte hain bina kisi lower bound ko violate kiye. Isse cost integral se reduce hota hai aur — kyunki dynamics mein sirf ke through aata hai — mass bhi bachti hai (final badhta hai), jo sirf behtar hai. Toh strictly-slack hamesha suboptimal hai: optimizer ko uski do floors mein se tighter par dabata hai. Jahan floor inactive ho (), binding floor hai, isliye — exact engine physics recover ho jaati hai. Isliye relaxing "costs nothing" = lossless hai. Pontryagin last gap kaise close karta hai (sketch, sirf citation nahi): upar ki hand-wave assume karti hai ki hum ko freely ek single instant par nudge kar sakte hain. Lekin dynamics ke through state se coupled hai, toh purely local nudge in principle blocked ho sakti hai. Pontryagin Minimum Principle ise properly handle karta hai: woh Hamiltonian banata hai aur poochtha hai ki optimal path ke along ka kaun sa choice ko pointwise minimize karta hai. Woh minimization work out karne par pata chalta hai ki multiply karne wala coefficient strictly positive hai (yeh plus ek mass-costate term hai jo positive rehta hai), toh minimize hota hai ko uske lower bounds ki allow karne wali minimum tak le jaane se — yaani har jagah, yeh rule out karte hue ki koi aisa interval ho jahan strictly upar float kare. Woh positivity hi "no pathological case" guarantee hai.


Level 4 — Synthesis

Exercise 4.1 — Ek discretized node ke liye SOCP assemble karo

Q: Tum time ko equal steps mein discretize karte ho jinka length hai. Forward Euler use karte hue, node se tak , , ke update equations likho, aur har per-node constraint list karo (throttle floor aur ceiling samait) jo discrete problem ko annular thrust set ke faithful rakhti hai — phir batao kaun se convex hain.

Recall Solution

Forward Euler = "new value = old value + step rate." Har continuous law par apply karte hue: Per-node constraints (poori list): Floor aur ceiling lines ke bina, discrete model sirf thrust ko upar se cone ke through cap karega aur annulus bilkul kho dega — toh dono mandatory hain. Convexity check: teeno Euler updates linear equalities hain (flat sets → convex). parent note ke convexified (Taylor) bounds hain, toh woh dono convex hain. Do norm constraints second-order cones hain — convex. Isliye poora discretized problem ek SOCP hai jo Interior-Point Methods se solve hota hai. Yeh continuous physics se us cheez ka bridge hai jo Convex Optimization / Second-Order Cone Programming solvers khaate hain.

Exercise 4.2 — Mass log se fuel

Q: Ek solve return karta hai (initial mass 1000 kg) aur . Kitna fuel (kg) jala? Phir, diya gaya, kya hai?

Recall Solution

Step — log undo karo (WHY): , toh . Final mass: Initial mass kg. Fuel burned: Step — objective recover karo: ko par integrate karte hue: Cross-check: exactly Tsiolkovsky ideal budget hai — yeh reassuring hai ki "minimize " literally velocity-change cost minimize karta hai.


Level 5 — Mastery

Exercise 5.1 — Full 1-D bang-bang fuel comparison

Q: Mars par 1-D vertical descent. Yahan mass change kyun ignore karte hain: ek short braking manoeuvre mein mass barely change hoti hai (kuch percent), toh thrust-to-mass ratios ko constant treat karna ek excellent approximation hai jo hamare haath se solve karne deta hai jabki bang-bang structure expose bhi hota hai; full G-FOLD -dynamics rakhta hai, lekin qualitative winner same hota hai. Sign convention (notation box se): upar hai, toh start velocity m/s matlab m/s ki descent hai; kinematics speed use karta hai kyunki yeh square mein aata hai. Start: m, m/s. . Available up-thrust accelerations: , . Fuel proxy se do strategies compare karo (yahan = commanded up-thrust acceleration):

  • (A) Constant-thrust: single constant up-thrust dhundho jo speed ko exactly ground par tak laaye.
  • (B) Bang-bang: par coast karo, phir final brake ke liye full-thrust , ground par zero speed ke saath pahunchte hue. Kaun kam fuel proxy jalaata hai?
Recall Solution

Upar positive lo. Commanded up-thrust ke under net vertical acceleration hai .

Strategy A — constant thrust : humein m fall mein m/s descent kill karni hai. Net decelerating acceleration hai , aur : Descent time s. Fuel proxy .

Strategy B — bang-bang. Coast ke dauran : net accel (abhi bhi neeche speed badh rahi hai). Brake ke dauran : net accel (decelerate ho raha hai). Maan lo coast distance cover karta hai (speed se ho jaati hai), brake cover karta hai (speed ). Coast: (speed magnitude badhti hai). Brake: . Equal set karo: . Phir m/s. Times: coast s. Brake s. Fuel proxy .

Verdict: bang-bang jeet jaata hai, units fuel proxy bachata hai (). Yahi woh "coast-then-suicide-burn" hai jo G-FOLD rediscover karta hai, aur isliye SpaceX Falcon 9 Landing aur Mars EDL ignition delay karte hain. Pehle jalana propellant gravity loss par waste karta hai (gravity ke against altitude hold karna zyada der tak).

Exercise 5.2 — Yahan MPC kahan use karoge?

Q: G-FOLD current state se ek optimal trajectory deta hai. Real winds aur model errors lander ko perturb karte hain. Ek paragraph mein explain karo ki Model Predictive Control G-FOLD ke around kaise wrap hota hai, aur kyun ek convex problem re-solve karna is loop ko real time mein trustworthy banata hai.

Recall Solution

Idea: Model Predictive Control baar baar re-plan karta hai. Har control tick par tum actual state measure karte ho, phir us state se target tak G-FOLD SOCP re-solve karte ho, sirf pehla thrust command apply karte ho, baaki discard kar dete ho, aur agla tick aane par repeat karte ho. Kyun convexity enabler hai: har re-solve ek SOCP hai jiska unique global optimum hota hai jo Interior-Point Methods se guaranteed bounded time mein reach hota hai — toh ~1 s ke budget ke andar tum hamesha ek certifiably optimal, feasible plan paate ho, kabhi koi stuck local minimum nahi. Ek non-convex re-solve mid-descent mein garbage return kar sakta hai ya time out ho sakta hai; convexity hi closed loop ko fly karne ke liye safe banati hai. Yeh design lineage hai Apollo Lunar Descent Guidance (open-loop polynomial) se modern re-solving guidance tak.


Flashcards

non-convex kyun hai?
Yeh circle ke bahar ke points rakhta hai; do rim points ko jodne wala segment forbidden hole se guzarta hai (convexity segment test fail hota hai).
1-D feasibility check kab impossible hota hai?
Jab ho: net deceleration , toh full thrust gravity ko nahi maar sakta aur koi landing exist nahi karta.
Feasibility checks mein use hone wala stopping distance formula?
jahan (speed squared, toh ka sign drop ho jaata hai).
Log-mass change ko mein convert karo?
.
Bang-bang constant thrust par fuel mein kyun jeet jaata hai?
Constant thrust zyada der tak gravity se ladhta hai (zyada gravity loss); burn ko ek short hard brake tak delay karna minimize karta hai.