Guidance, Navigation and Control · State-Space and Optimal Control · M4-L1 · Advanced
LQR for Hopper and Its Margins
Bench log · Hopper on the test range
09:10. The lateral LQR for Hopper was designed on paper and passed the textbook test: at least 60 degrees of phase margin, guaranteed. On the stand, the loop rings at 9 rad/s and the gimbal servo is warm.
You will choose the weights, find what the margin really is with the 25 rad/s servo and 15 ms of delay in the loop, and write the function that computes the loop gain of the real chain.
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.