MPC Flight Control Design (6-DOF simulation) - Longitudinal and Lateral Coupling @VDEngineering
MPC Flight Control Design (6-DOF simulation) - Longitudinal and Lateral Coupling  @VDEngineering
Uploaded June 2020 | Updated September 2026, 1 day ago
This is a flight simulation of a fixed wing aircraft in 6-DOF using MPC (model predictive control), using MATLAB, Simulink, and FlightGear.

The model predictive control (MPC) design was implemented in Python and then the states/inputs were exported to MATLAB via a csv file, then loaded onto FlightGear.

A linear MPC formulation is developed for both longitudinal and lateral modes (where there is coupling between the two), via constrained quadratic programming QP.

The simulation shows that due to the inherent MIMO coupling of inputs, some of the controlled variables exhibit overshoot.

However, the actuator position and rate constraints are satisfied, thereby demonstrating that the QP solver works well.

Furthermore, there is a limit on the maximum setpoints that can be used on the controlled variables. For instance,nthe maximum pitch angle which can be reached is 0.04 rad and -0.035 rad. This is due to the QP formulation itself.

Part 3 of my FlightGear video series is coming soon.

Thanks for watching!

VDEngineering

~~My Udemy Courses on Motion Planning / Navigation / Trajectory Planning:
udemy.com/course/autonomous-robots-nonholonomic-motion-planning-algorithms
Buy Coffee: buymeacoffee.com/vdengineering
My Instagram: instagram.com/vinayak_desh
My Website: vinayakd.com
MPC Flight Control Design (6-DOF simulation) - Longitudinal and Lateral CouplingANSYS CFD Meshing Basics: How to create a Structured (Face) Mesh,  Part 1 - Rocket NoseconeBeginner C++ AI Project | Send Voice Commands to Arduino / ESP32My First Desktop Application (Company Manager) - C++ Code BreakdownMy First Web Application (Python, Django, HTML) - with Backend - EasyPID Control: PD Controller Design Tutorial - With MATLAB & SimulinkMy First Desktop Application - Company Employee ManagerMotion Planning: Rapidly Exploring Random Trees (RRT): Algorithm Implementation Step by Step!Simulink Aerospace Blockset Beginner Tutorial - Quadrotor 3D Dynamic Simulation (6-DOF)A Crash Course on Aerospace Guidance, Navigation, Control, Dynamics and Flight Simulation!Send Data From an Arduino / ESP32 to FlightGear with PySerialInterceptor Missile Guidance & Control: Full Flight Simulation Tutorial! (MATLAB / Simulink)
VDEngineering |

MPC Flight Control Design (6-DOF simulation) - Longitudinal and Lateral Coupling

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER