Modeling Fixed Wing Flight Dynamics for a UAV

Dec 13, 2025 — 6 min read

My 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 is attached to the aircraft at the center of gravity, with the X-axis pointing towards the nose, the Y-axis pointing in the direction of the right wing, and the Z-axis pointing down to complete the right-handed coordinate system. Thereby, the XZ-plane is a plane of symmetry (for most aircraft).

The stability frame is found by projecting the velocity vector onto the XZ-plane of the body frame . The projected velocity vector is the X-axis. The Y-axis is the same as in the body frame , pointing to the right wing. Finally, the Z-axis is pointing down, completing the right-handed coordinate system.

The wind frame shares the Z-axis with the stability frame , but is rotated by the sideslip angle until the velocity vector aligns with the X-axis. The Y-axis is then pointing to the right, to complete the right-handed coordinate system.

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 , because that is how the equations of motion are defined.

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 is defined as the square of the wingspan divided by the wing area:

The non-dimensional angular rates are defined as:

Aerodynamic Forces

The lift force is pointing in the negative Z-direction of the stability frame :

The lift coefficient is approximated by:

The drag force is pointing in the negative X-direction of the stability frame :

The drag coefficient is approximated by:

An approximation of the coefficients , and can be obtained from XFLR5. While the lift and drag forces don't normally apply at the center of gravity, I think XFLR5 includes the effect of the offset in the moment coefficients. Page 5 of the documentation for stability analysis (pdf) suggests this.

Note: It might seem to make more sense to model the drag force in the wind frame , since the drag force is opposite to the velocity vector. However, it is common in aerospace engineering to separate longitudinal- and lateral dynamics. By modelling the side force in the stability frame , it will show up as a contribution to drag in the wind frame . See also this lecture by Christopher Lum on Youtube.

Also in the stability frame , we can define the side force , which is pointing in the positive Y-direction:

The side force coefficient is approximated by:

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 . I believe that is the convention used by XFLR5 (source).

The pitching moment is given by:

The pitching moment coefficient is approximated by:

The rolling moment is given by:

The rolling moment coefficient is approximated by:

Finally, the yawing moment is given by:

The yawing moment coefficient is approximated by:

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:

Continue Reading

Older