SpaceX Landing Legs: PID Control in Space

Watching a Falcon 9 land is breathtaking. It's also a math problem. How 'Grid Fins' and Gimbaled Engines fight the wind.

SpaceX Landing Legs: PID Control in Space

A pencil is balanced on your finger. Easy. Now imagine the pencil is 20 stories tall, falling from space at 5,000 mph, and on fire. Landing a Falcon 9 is the ultimate control theory problem.

The Actuators

  1. Grid Fins: Titanium waffles at the top. They steer the rocket like a skydiver using drag.
  2. Gimbaled Engine: The bottom engine tilts. If the rocket tips Left, the engine tilts Left to push the bottom back under the top.
  3. Cold Gas Thrusters: Little puffs of Nitrogen for fine-tuning.

The Suicide Burn (Hoverslam)

The rocket cannot hover. Even at minimum throttle, the engine is too powerful (Thrust > Weight). It must time the burn perfecty so that Velocity hits 0 at the exact same moment Altitude hits 0.

  • Burn 1 second too early? It stops in mid-air, falls, and explodes.
  • Burn 1 second too late? It crashes into the barge.

This requires a PID Loop running at thousands of cycles per second, trusting the math over fear.

Explore FIRST® Robotics

FIRST® (For Inspiration and Recognition of Science and Technology) is a global robotics community preparing young people for the future. Discover the ultimate sport for the mind and see how you can get involved in STEM and robotics!

Learn More at firstinspires.org