FixTheRobot Explore Robotics / Guidance, Navigation and Control / M10 / M10-L2

This lab works on phones, but writing code is much easier on a laptop.

Guidance, Navigation and Control · Aircraft GNC · M10-L2 · Advanced

Close the Loops in Order

Bench log · Hopper on the test range

08:40. The survey aircraft's altitude hold works for a 20 m step and does something alarming on a 100 m one: the nose goes up until the stall warning sounds. Someone raised the altitude gain to make the small step quicker, and the aircraft now overshoots every step.

You will find the range of gains that works, write the cascade with the limit it was missing, and compute the flare for the sink rate the landing gear can take.

Your task

    Simulation
    solution.pyLoading Python…
    Ctrl+Enter runs
    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.

    Hints

    What this lab teaches

    Stage 1: each loop of a cascade treats the one inside it as an actuator, so it must be slower; an altitude gain that is too high overshoots, and one that is too low is slow. Stage 2: the pitch command between the altitude loop and the attitude loop must be limited. Stage 3: the exponential flare: τ from the touchdown sink rate, the start height and the distance.

    Grading evaluates the step response of your gains, flies your autopilot in a 100 m climb, and compares your flare design with the exact one on hidden cases.

    Theory for this lab

    Aircraft GNC labs

    1. M10-L1: Name the Mode
    2. M10-L2: Close the Loops in Order: this lab.

    Educational simplification: a linear longitudinal model with an autothrottle, no turbulence, an ideal pitch actuator, and a pitch command limit; module 10 treats the approach, glide-slope gain scheduling and turbulence.

    Get the next lab

    Get notified when new robotics labs are released. One email per new lab, nothing else.