Total Energy Control: A Deep Dive Into TECS in PX4
summary
TECS in PX4 treats airspeed and altitude as one energy problem and outputs throttle and pitch after a setpoint generation, outer P loops, and separate throttle energy and pitch distribution paths. Tuning splits into an airframe model, loop gains and mission behavior; extract parameters with four flight maneuvers and build a three-point throttle-to-airspeed model. Recommendations include >=10% stall margin, throttle damping ≈0 for endurance rigs, and observed airspeed error ≈1 m/s with altitude swings ~±20 m.
AI-written summary · about
chapters (11)
- 0:00Introduction to TECS
- 1:27Why fixed-wing needs TECS
- 3:12Energy concepts in TECS
- 5:21TECS in PX4 architecture
- 7:05Controller breakdown and tuning
- 9:32Key tuning parameters
- 11:39Airframe model tuning steps
- 14:26Pitch and TECS loop tuning
- 15:48Endurance-focused tuning example
- 18:37Advanced throttle tuning
- 20:26Q&A session
