FixTheRobot Explore Robotics / Guidance, Navigation and Control / M11 / M11-L1

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

Guidance, Navigation and Control · Spacecraft and Rocket GNC · M11-L1 · Advanced

Detumble and Point

Bench log · Hopper on the test range

02:15. A small satellite was released from its dispenser spinning at 20 degrees per second, and the operators have been told to stop it with the reaction wheels because the thrusters are reserved for later. The wheels run to their limit within seconds and the satellite is still turning.

You will find what can stop it, write the feedback law for the pointing slew, and write the unloading law that keeps the wheels working for the rest of the mission.

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: wheels are internal torquers and store only 10 mN m s against 90 mN m s of tumble momentum; only an external torque stops the satellite. Stage 2: quaternion feedback must pick the sign of the error quaternion so that the slew takes the short way round. Stage 3: wheel unloading must oppose the stored momentum, outside a dead band, with a limited torque.

    Grading evaluates the detumbling time of your actuator and gain, compares your slew torque with the exact feedback to 1e-9, and flies your unloading law for three hours.

    Theory for this lab

    Spacecraft and Rocket GNC labs

    1. M11-L1: Detumble and Point: this lab.
    2. M11-L2: Approach Along the Velocity Bar

    Educational simplification: three principal axes, ideal actuators, a constant disturbance and a single unloading axis; module 11 treats the wheel arrays, magnetic detumbling with the B-dot law and the gravity gradient.

    Get the next lab

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