HomeSpace & AstronomyLife Support PID Control Loop Tuner

Life Support PID Control Loop Tuner

Tune a real PID feedback controller for a spacecraft cabin CO2 scrubber: adjust proportional, integral and derivative gains and watch the closed loop stabilize, oscillate or saturate as crew load and setpoint change.

Space & Astronomy3DAdvanced60 FPS📱 Mobile-adapted
space-life-support-automation ↗ Open standalone

Real spacecraft life-support hardware doesn't just monitor cabin air — it closes the loop with an automatic controller that decides, moment to moment, how hard to run the CO₂ scrubber. This simulator implements a genuine PID (proportional-integral-derivative) controller driving a mass-balance model of cabin CO₂: crew metabolism adds gas continuously, the scrubber's actuator removes it at a rate the controller computes from the live error, its integral, and its derivative. Push the proportional gain too high and the loop overshoots and rings; push the integral gain too high and it slowly oscillates; add derivative gain to damp the swings. A 3D particle cloud shows cabin CO₂ density, a spinning fan visualizes scrubber effort, and a live ribbon graph plots the concentration against its setpoint over time — exactly the tuning trade-off real ECLSS automation engineers face.

⚙ Under the hood

Tune a real PID feedback controller for a spacecraft cabin CO2 scrubber and watch the closed loop stabilize, oscillate or saturate as crew load and setpoint change.

PID controllife supportECLSScontrol theoryspacecraft automationfeedback loop

3D · Three.js / WebGL renderer · 60 FPS target · runs fully client-side, no install

What did you find?

Add reproduction steps (optional)