← Back to Projects
Summer 2026 – In Progress

Active Flight Control Rocket

An ESP32-based active flight control system for high-power rocketry, combining PID-controlled fin actuators, Simulink-based flight dynamics modeling, and custom embedded avionics to achieve stable controlled flight.

MATLAB / Simulink ESP32 (C/C++) Fusion 360 PID Control IMU / GPS / Altimeter High-Power Rocketry

Overview

An active flight control system for high-power rocketry, built to address the stability failure observed in the IREC rocket project. The system uses an ESP32-based flight computer with a PID controller driving fin actuators to actively correct the vehicle's flight path in real time.

This project is a direct continuation of the IREC rocket work. The previous launch attempt revealed that passive fin geometry alone was insufficient to maintain stable vertical flight under the actual launch conditions. This project aims to replace passive stability with an active control system capable of correcting attitude in real time. The controller is designed in Simulink, the fin actuator mechanism in Fusion 360, and the embedded implementation runs on an ESP32 flight computer. A test launch is planned to validate the system under real flight conditions.

ESP32 Flight computer
PID Control method
Fin Actuation type
Simulink Controller design
In Progress Project status
Test Launch Validation target

Problem & Approach

The IREC rocket project demonstrated that a passively stable rocket can still fail to maintain stable flight if late-stage mass changes shift the CG/CP relationship or if environmental conditions are not accounted for in the simulation. Passive fin geometry provides no correction once the vehicle begins to deviate from its intended flight path.

The approach for this project is to add an active control layer: a PID controller reads attitude data from an IMU, computes the correction needed, and drives servo-actuated fins to apply that correction in real time. The full flight dynamics model is developed in Simulink before any hardware is built, allowing the PID gains to be tuned in simulation and verified before embedded implementation.

System Architecture

The system is organized around three layers: sensing, control, and actuation. The IMU and barometric altimeter provide state feedback to the ESP32 flight computer. The PID controller running on the ESP32 computes correction commands and drives the fin actuators through servo PWM signals. GPS provides position data for recovery and post-flight analysis.

IMU
MPU-6050
+
Barometer
BMP390
+
GPS
Module
Attitude Estimate
Kalman Filter
→
ESP32 Flight
Computer
→
Servo PWM
Fin Actuators
Vehicle Attitude
→
PID Controller
→
SD Logging
Telemetry Optional

Hardware Stack

Component Spec Role Rationale
Flight Computer ESP32 DevKit Main MCU No boot delay, real-time PID loop, C/C++ support, prior project experience
IMU MPU-6050 Attitude sensing 6-axis accel/gyro, I2C, widely supported library
Altimeter BMP390 Altitude / pressure High resolution barometric altimeter, SPI/I2C
GPS NEO-M9N or BN-880 Position tracking Recovery and post-flight analysis
Fin Actuator MG996R or DS3225 servo Active fin control High torque, PWM controlled, compatible with ESP32Servo
Airframe TBD carbon fiber Structure Consistent with IREC build experience
Power LiPo + BEC/regulator Power supply Regulated 5V for servos, 3.3V for ESP32 and sensors

Software Stack

Design Tools

Embedded ESP32

Control Loop

Ground / Post-Flight

My Role

This is a solo project. I am responsible for the full system from controller design through embedded implementation and test launch.

Evidence

This page will be updated as the project develops.

Planned artifacts include:

Outcome

To be updated after test launch.

Current status: controller design and hardware procurement in progress. Target: successful test launch demonstrating active attitude correction during powered ascent.

Limitations

This project is currently in progress. All claims at this stage are limited to design intent and simulation results. No flight validation has been completed yet. PID gains tuned in Simulink may require further adjustment after real hardware testing, as simulation models cannot fully capture all aerodynamic and structural dynamics of the actual vehicle.

Next Step

Next Project
02.0
G3MS Lab

AFP defect identification research at UW G3MS Lab — composite layup, microscope imaging, and Filabot extrusion trials.

→