Guidance, Navigation and Control · Classical Feedback Control · M3-L1 · Intermediate
Rescue the Phase Margin
Bench log · Hopper on the test range
13:20. Hopper's pitch loop was fine on Monday. A heavier engine was fitted on Tuesday, with a slower gimbal servo, and now the vehicle rings in pitch after every command. The gains have not been touched.
You will see what the refit did on the Bode plot, learn to measure the margins from stand data whose phase wraps, and compute the compensator that puts the margin back.
Your task
Lab complete: post-mortem
You have passed every stage. Now connect it back to the theory and move on:
Output
What Python can I use?
Plain Python 3 with the standard library and the course library gnckit (import gnckit as g: transfer functions and margins, state space and LQR, the Hopper model, quaternions, a convex solver). NumPy is not available in the browser. Your code runs in a background worker: an endless loop is stopped after a few seconds and the page stays usable. It runs in your browser and is never sent anywhere.