Aircraft phugoid glide (simplified equations): ode45 simulation and animation code (Matlab)

Antonio Sala, UPV

Difficulty: *** ,       Relevance: PIC,      Duration: 12:53

*Enlace a Spanish version

Materials:    [ Cód.: animaavion.m ] [ PDF ]

Summary:

This video presents the detail of the Matlab code necessary to make simulations and animations of the 2D phugoid flight mode (longitudinal dynamics) of an aircraft.

The first two minutes review the state equations to be simulated (further details in video [fugoid1EN]). A theoretical analysis of the equilibrium points and their linearisation is carried out in [fugeqlinEN].

Then, we discuss how to write the model as Matlab code, how to call ode45 correctly, and in the final part, we discuss how to represent the response as either:

  1. a graph of positions, velocities, accelerations, etc. as a function of time; or

  2. an animation of the moving plane.

This video merely presents the source code. Actual runs of various simulations with different aerodynamic parameters, initial speeds or thrust is covered in detail in the [fugsimEN] video.

*Link to my [ whole collection] of videos in English. Link to larger [ Colección completa] in Spanish.

© 2024, A. Sala. All rights reserved for materials from authors affiliated to Universitat Politecnica de Valencia.
Please consult original source/authors for info regarding rights of materials from third parties.