Modeling Fixed Wing Flight Dynamics for a UAV
Dec 13, 2025 — 6 min readMy goal is to create a flight dynamics model for a UAV that can be used for simulation. This can then be used to develop new flight control algorithms, among other things.
In previous posts, I described the equations of motion for a rigid body and a method for obtaining the moment of inertia for a UAV.
Next, we need to describe the forces and moments that act on the body. These equations contain some parameters that can be obtained from flight testing or from aerodynamic modelling software like XFLR5.
Reference Frames
Reference frames remain one of the most confusing parts of flight dynamics, because often it is not specified clearly in which frame certain forces and moments are defined. I will use the following definitions:
The body frame
The stability frame
The wind frame
For each force- and moment equation, we need to pay attention to which frame they are defined in. Eventually, all forces
and moments need to be transformed to the body frame
Parameters and Symbols
The following symbols are used in the equations below:
: Aspect ratio of the wing : Reference area of the wing (m²) : Wingspan (m) : Mean aerodynamic chord (m) : True airspeed (m/s) : Air density (kg/m³) : Lift coefficient : Lift coefficient at zero angle of attack : Lift coefficient per radian of angle of attack : Angle of attack (radians) : Drag coefficient : Oswald efficiency factor : Roll rate (rad/s) : Pitch rate (rad/s) : Yaw rate (rad/s) : Aileron deflection (radians) : Elevator deflection (radians) : Rudder deflection (radians)
Additional stability- and control-derivatives are defined in the equations below, and have the form of
The aspect ratio
The non-dimensional angular rates are defined as:
Aerodynamic Forces
The lift force
The lift coefficient
The drag force
The drag coefficient
An approximation of the coefficients
Note: It might seem to make more sense to model the drag force in the wind frame
Also in the stability frame
The side force coefficient
Don't forget, all these forces need to be transformed (rotated) to the body frame
Aerodynamic Moments
Contrary to most sources on aerodynamic moments, I am going to be very explicit about which reference frame I use. All
aerodynamic moments here are defined in the stability frame
The pitching moment is given by:
The pitching moment coefficient
The rolling moment is given by:
The rolling moment coefficient
Finally, the yawing moment is given by:
The yawing moment coefficient
Trust and Gravity
To complete the equations of motion, we also need to include the forces (and moments) for trust and gravity. I won't go over the details as it is quite straightforward. Just don't forget about them.
Finding the Coefficients
To finalize the model, we need to find the coefficients for the UAV. This can be done using XFLR5. More details on how to do this will be provided in a future post. Especially obtaining the control derivatives requires some extra steps.
The validity of these coefficients is limited to some range around the trimmed condition. Depending on the variation with flight conditions, it might be necessary to create a table of coefficients for different airspeeds and angles of attack.
Other Sources
I found these sources to be very helpful in (re-)understanding flight dynamics:
- A 31-video series on flight mechanics by Christopher Lum - great refresher on flight mechanics, especially if it's been a while since you studied it.
- Aircraft Flight Mechanics website - comprehensive resource on flight mechanics.
- Flow5 documentation on stability analysis - includes information on how to use Flow5/XFLR5 for stability analysis and references to underlying theory.