Fixed-Wing UAV Flight Simulator

Flight Dynamics • Controls • Simulation

A full-stack fixed-wing UAV simulator built in Python to model aircraft dynamics, aerodynamics, wind effects, autopilot control, sensor noise, and state estimation for small-scale autonomous flight.

View Code


Overview

This simulator was built incrementally across several labs, each adding a new layer of physical fidelity to the aircraft model. The final system integrates 6-DOF rigid-body dynamics, aerodynamic force and moment modeling, Dryden wind gust simulation, PID-based autopilot control, realistic sensor noise models, and complementary-filter state estimation.


Lab 1 — 6-DOF Vehicle Dynamics

Initial rigid-body aircraft dynamics simulation implementing translational and rotational motion propagation for a fixed-wing UAV.


Lab 2 — Aerodynamic Force Modeling

Added aerodynamic lift, drag, gravity, propeller thrust, and control surface force models.


Lab 3 — Wind & Gust Simulation

Integration of Dryden wind gust modeling and airspeed perturbation effects for realistic environmental disturbances.


Lab 4 — Closed-Loop Autopilot Control

Successive-loop autopilot implementation using PI, PD, and PID controllers for course, altitude, and airspeed tracking.


Lab 5 — Sensor Noise Modeling

Realistic IMU, GPS, pressure, and magnetometer sensor noise models added to the simulation pipeline.


Lab 6 — State Estimation

Complementary filter-based state estimation fusing accelerometer, gyroscope, and GPS measurements to recover aircraft state under noisy conditions.


← Back to Portfolio