Post · 14 min read· pp. 28–39

Frames of Reference

Before moving into a description of the configuration file syntax, one must understand some basic information about some of the frames of reference used (i) in describing the location of objects on the aircraft, (ii) in specifying conditions related to the position and orientation of the aircraft in space, or (iii) when assigning inputs for a given flight condition.

Learn more on Wikipedia about axes conventions.

Structural, or "Construction" Frame

This frame is a common manufacturer's frame of reference and is used to define points on the aircraft such as the center of gravity, the locations of all the wheels, the pilot eye-point, point masses, thrusters, and so on. Items in the JSBSim aircraft configuration file are located using this frame.

In the structural frame the X-axis runs along the fuselage length and points towards the tail, the Y-axis points from the fuselage out towards the right wing, and of course the Z-axis then is positive upwards. Typically, the origin OCO_\mathrm{C} for this frame is near the front of the aircraft (at the tip of the nose, at the firewall for a single engine airplane, or at some distance in front of the nose). This frame is often named FC={OC,xC,yC,zC}\mathcal{F}_\mathrm{C} = \{O_\mathrm{C}, x_\mathrm{C}, y_\mathrm{C}, z_\mathrm{C}\}.

Construction axes

Aircraft structural (or construction) frame of reference with origin OCO_\mathrm{C}. Besides the structural frame axes xCx_\mathrm{C}, yCy_\mathrm{C}, and zCz_\mathrm{C}, the standard body frame axes xBx_\mathrm{B}, yBy_\mathrm{B}, and zBz_\mathrm{B} are also shown with their origin at the center of mass GG. The pilot's eye-point is located at PEPP_\mathrm{EP}.

The X-axis is typically coincident with the fuselage centerline and often is coincident with the thrust axis (for instance, in single engine propeller aircraft it passes through the propeller hub). Positions along the xCx_\mathrm{C} axis are referred to as stations. Positions along the zCz_\mathrm{C} axis are referred to as waterline positions. Positions along the yCy_\mathrm{C} axis are referred to as buttline positions.

Construction axes

A screenshot taken from the 3D modeling software Blender. The scene shows a model of Cessna 172 with its structural frame FC={OC,xC,yC,zC}\mathcal{F}_\mathrm{C} = \{O_\mathrm{C}, x_\mathrm{C}, y_\mathrm{C}, z_\mathrm{C}\}. The origin OCO_\mathrm{C} in this case is located inside the cockpit, near the dashboard.

Note that the origin can be anywhere for a JSBSim-modeled aircraft, because JSBSim internally only uses the relative distances between the CG and the various objects --- not the absolute locations themselves.

Center of gravity

Center of gravity (CG) position, point GG, determined in a construction frame.

Ground reaction

Definition of ground contact points in terms of construction frame locations.

Key locations

Two key point locations PARPP_\mathrm{ARP} and PCG,EWP_\mathrm{CG,EW} in the structural frame, respectively, he pole of aerodynamic moments and the Empty Weight CG of the airframe. The shape of the wing root profile and its chord are also sketched.

Key locations

Besides point PCG,EWP_\mathrm{CG,EW}, are represented two more significant locations, PPilotP_\mathrm{Pilot} and PRight PassP_\mathrm{Right\,Pass}, where two additional masses are concentrated, respectively, of the pilot and of the right passenger.

Body Frame

In JSBSim, the body frame is similar to the structural frame, but rotated 180 degrees about the yCy_\mathrm{C}, with the origin coincident with the CG. Typycally, the body frame is defined by knowning the position of the airplane's center of mass GG and the direction of the longitudinal construction axis xCx_\mathrm{C}. The axis xBx_\mathrm{B} shall be chosen such that it originates from GG, it is parallel to xCx_\mathrm{C}, and with a positive verse from GG towards the fuselage nose.

The frame of body axes is often called FB={G,xB,yB,zB}\mathcal{F}_\mathrm{B} = \{G, x_\mathrm{B}, y_\mathrm{B}, z_\mathrm{B}\}. The xBx_\mathrm{B} axis is called the roll axis and points forward, the yBy_\mathrm{B} axis is called pitch axis and points toward the right wing, the zBz_\mathrm{B} axis is called yaw axis and points towards the fuselage belly.

Body axes

Standard aircraft body axis frame, with origin at the center of gravity GG.

In the body frame the aircraft forces and moments are summed and the resulting accelerations are integrated to get velocities.

Stability, or "Aerodynamic" Frame

This frame is defined according to the instantaneous orientation of the relative wind vector with respect to the airframe. If, for simplicity, the air is still with respect to the Earth (no wind), and V\boldsymbol{V} is the aircraft center-of-mass velocity vector with respect to the Earth-fixed observer (also named VCM/E\boldsymbol{V}_\mathrm{CM/E} to emphasize the relative motion), then −V-\boldsymbol{V} is the relative wind velocity and V=∥V∥V = \|\boldsymbol{V}\| is the airspeed.

The frame, named FA={G,xA,yA,zA}\mathcal{F}_\mathrm{A} = \{ G, x_\mathrm{A}, y_\mathrm{A}, z_\mathrm{A} \}, has the axis xAx_\mathrm{A} that points into the relative wind vector projected onto the aircraft plane of symmetry xBzBx_\mathrm{B} z_\mathrm{B}. The axis yAy_\mathrm{A} still points out the right wing and coincides with the body axis yBy_\mathrm{B}, and the axis zAz_\mathrm{A} completes the right-hand system.

Alpha and beta

Aerodynamic frame, defining the aerodynamic angles αB\alpha_\mathrm{B} and β\beta.

The two axes xAx_\mathrm{A} and zAz_\mathrm{A} belong, by definition, to the aircraft symmetry plane, but they can rotate during flight because the orientation of the relative wind velocity vector V\boldsymbol{V} might change with respect to the vehicle. The above figure shows how the aerodynamic frame is constructed. The angle between the two axes xAx_\mathrm{A} and xBx_\mathrm{B} is the aircraft angle of attack αB\alpha_\mathrm{B}. The angle formed by the instantaneous direction of V\boldsymbol{V} and its projection on the plane xBzBx_\mathrm{B} z_\mathrm{B} is the sideslip angle β\beta.

This frame, called stability frame in some manuals, is also named here 'aerodynamic frame' because the projection ZAZ_\mathrm{A} of the instantaneous aerodynamic resultant force FA\mathcal{F}_\mathrm{A} onto the axis zAz_\mathrm{A} defines the aerodynamic lift. In particular, the lift LL is such that −L-L is the component of FA\mathcal{F}_\mathrm{A} along zAz_\mathrm{A}, i.e. ZA=−LZ_\mathrm{A}=-L.

To visualize the above observation, consider a typical maneuver studied in flight mechanics: the zero-sideslip (or 'coordinated'), constant altitude turn at steady airspeed. In this situation the wings are banked and so is the lift. In such a turn FA\mathcal{F}_\mathrm{A} is banked and xAx_\mathrm{A} is kept horizontal. In general terms, the lift as a vector is always defined in the aircraft symmetry plane.

Level turns

Banked lift in a steady coordinated turn at constant altitude. The bank angle ϕW\phi_\mathrm{W} is a rotation around the relative wind velocity vector. The motion is freezed in time when the velocity vector is aligned with the North. Coordinated turn means that β=0\beta=0 and constant altitude means that xAx_\mathrm{A} is kept horizontal.

Remark --- In dynamic stability studies what is referred to as 'stability frame' is something slightly different from the aerodynamic frame introduced above: The stability frame in aircraft flight dynamics and stability conventions is nothing but a particular kind of body-fixed frame, defined with respect to an initial symmetrical, steady, wings-level, constant altitude flight condition. This conditions gives the direction of xSx_\mathrm{S} (which coincides with xAx_\mathrm{A} at that particular flight attitude). Therefore, in dynamic stability studies the stability frame, unlike the aerodynamic frame, is fixed with the vehicle.

In JSBSim the notion of stability frame FS={G,xS,yS,zS}\mathcal{F}_\mathrm{S} = \{ G, x_\mathrm{S}, y_\mathrm{S}, z_\mathrm{S} \} is used to mean the aerodynamic frame.

Earth-Centered Inertial Frame (ECI) and Earth-Centered Earth-Fixed Frame (ECEF)

The Earth-Centered Inertial frame (or simply 'inertial frame') FECI={OECI,xECI,yECI,zECI}\mathcal{F}_\mathrm{ECI} = \{ O_\mathrm{ECI}, x_\mathrm{ECI}, y_\mathrm{ECI}, z_\mathrm{ECI} \} is fixed with its origin at the center of the Earth. Its cartesian axes remain fixed relative to the stars, and provide a reference frame for which the aircraft (or spacecraft) equations of motion are most simply expressed. The positive zECIz_\mathrm{ECI} axis passes through the Earth's geographic North Pole. The xECIx_\mathrm{ECI} and yECIy_\mathrm{ECI} axes lie in the equatorial plane. The axis xECIx_\mathrm{ECI} is always parallel to a line from the Sun's center of mass to Earth's position in orbit at the vernal equinox. The ECI system is shown in the next figure.

Inertial frame

Earth-Centered Inertial (ECI) frame and Earth-Centered Earth-Fixed (ECEF) frame.

The axes of the Earth-Centered, Earth-Fixed (ECEF) frame of reference, labeled xECEFx_\mathrm{ECEF}, yECEFy_\mathrm{ECEF}, and zECEFz_\mathrm{ECEF}, are also depicted in the above figure. The ECEF coordinate axes remain fixed with respect to the Earth. The origin OECEFO_\mathrm{ECEF} of this cartesian system, like the inertial frame, is located at the mass center of the earth. The zECEFz_\mathrm{ECEF} axis also lies along the Earth's spin axis and coincides with zECIz_\mathrm{ECI}. The xECEFx_\mathrm{ECEF} and yECEFy_\mathrm{ECEF} axes both lie in the equatorial plane, with the positive xECEFx_\mathrm{ECEF} axis passing through the prime meridian (Greenwich Meridian). The ECEF frame rotates counter-clockwise about the Inertial frames zECIz_\mathrm{ECI} axis with angular velocity ωE\omega_\mathrm{E}. The Earth angular rate ωE\omega_\mathrm{E} is approximately equal to 2π/242\pi/24 radians/hour.

North-Oriented Tangent Frames

A tangent-plane coordinate system can be defined when a matemathical representation of Earth's surface is assumed (a spheroid or an approximating sphere). A plane tangent to a point of interest on the surface OEO_\mathrm{E} is taken as a reference. A geographic system called North-Oriented Tangent Frame FE={OE,xE,yE,zE}\mathcal{F}_\mathrm{E} = \{ O_\mathrm{E}, x_\mathrm{E}, y_\mathrm{E}, z_\mathrm{E}\} has its origin fixed at the point of interest OEO_\mathrm{E} and its plane xEyEx_\mathrm{E} y_\mathrm{E} coincident with the tangent plane. The axis xEx_\mathrm{E} points towards the geographic North, the axis yEy_\mathrm{E} points towards the East. Finally, the axis zEz_\mathrm{E} points downwards towards, parallel to the spheroid normal (It points to the center of the Earth if an approximating sphere is used instead of a spheroid). For this reason the frame FE\mathcal{F}_\mathrm{E} is also called tangent NED frame (North-East-Down).

ECI and ECEF frames

Earth-Centered Earth-Fixed (ECEF) frame, geografic coordinates, Tangent (T) frame, and local Vertical (V) frame.

Local-Vertical Local-Level Frame, or Local NED Frame

The local vertical frame FV={G,xV,yV,zV}\mathcal{F}_\mathrm{V} = \{ G, x_\mathrm{V}, y_\mathrm{V}, z_\mathrm{V}\} is unrelated to the airplane's orientation in space but is only defined by its CG position with respect to some convenient Earth-fixed observer. If GGTG_\mathrm{GT} is the CG projected on the ground ('ground tracked'), the coordinate plane xVyVx_\mathrm{V} y_\mathrm{V} is parallel to a plane locally tangent in GGTG_\mathrm{GT} to the Earth's surface --- i.e. the plane xEyEx_\mathrm{E} y_\mathrm{E} with OE≡GGTO_\mathrm{E} \equiv G_\mathrm{GT}. Then, the axis xVx_\mathrm{V} points towards the geographic North, the axis yVy_\mathrm{V} points towards the East. Finally, the axis zVz_\mathrm{V} points downwards towards the center of the Earth. For this reason the frame FV\mathcal{F}_\mathrm{V} is also called local NED (vehicle-carried) frame.

Local vertical axes

Aircraft body frame and local vertical frame (NED frame). The aircraft Euler angles are also shown: the heading angle ψ\psi (negative in the picture), the elevation angle θ\theta, and the roll angle ϕ\phi.

The NED convention ensures that the aircraft weight is a force with components (0,0,mg)(0,0,mg) in the frame FV\mathcal{F}_\mathrm{V}, where mm is the airplane's mass and gg is the gravitational acceleration.

The above figure shows an aircraft with the two frames FV\mathcal{F}_\mathrm{V} and FB\mathcal{F}_\mathrm{B}. The Euler angles that define the body frame orientation with respect to the local NED frame are the aircraft Euler angles. For atmospheric flight vehicles the sequence of rotations used to define the Euler angles is '3-2-1'. This defines the heading angle ψ\psi, the elevation angle θ\theta, and the roll angle ϕ\phi with respect to an observer fixed with the Earth.

Euler gimbal

Euler angle sequence for an aircraft. The frame FE={OE,xE,yE,zE}\mathcal{F}_\mathrm{E} = \{ O_\mathrm{E}, x_\mathrm{E}, y_\mathrm{E}, z_\mathrm{E}\} is an Earth-fixed NED coordinate system, with origin the OEO_\mathrm{E} somewhere on the ground (or at see level) and the plane xEyEx_\mathrm{E} y_\mathrm{E} tangent to the Earth surface. If the ground track point GGTG_\mathrm{GT} is not too far from OEO_\mathrm{E}, the Earth frame FE\mathcal{F}_\mathrm{E} axes are parallel to those of the local NED frame FV={G,xV,yV,zV}\mathcal{F}_\mathrm{V} = \{ G, x_\mathrm{V}, y_\mathrm{V}, z_\mathrm{V}\}.

Wind Frame

Besides the lift, the instantaneous aerodynamic resultant force vector FA\mathcal{F}_\mathrm{A} has two more components in a frame of reference of which zAz_\mathrm{A} is the third axis. This frame is called wind frame FW={G,xW,yW,zW}\mathcal{F}_\mathrm{W} = \{ G, x_\mathrm{W}, y_\mathrm{W}, z_\mathrm{W}\}.

The wind frame is defined by taking the xWx_\mathrm{W} axis along the relative wind with a positive verse in the direction of motion. This means that xWx_\mathrm{W} is superimposed to the vector V\boldsymbol{V}. The third axis of FW\mathcal{F}_\mathrm{W} is taken along the lift line of action, i.e. zW≡zAz_\mathrm{W} \equiv z_\mathrm{A}. Finally, the second axis yWy_\mathrm{W} is chosen in order to complete the right-handed triad. The wind frame has its third axis constantly in the airframe plane of symmetry (also called the 'reference plane'). All the three wind axes rotate with respect to the body axes because of the changing attitude of the aircraft with respect to the relative wind −V-\boldsymbol{V}.

The component XWX_\mathrm{W} of the force vector FA\mathcal{F}_\mathrm{A} along the direction of V\boldsymbol{V} defines the aerodynamic drag: The drag DD is such that XW=−DX_\mathrm{W}=-D. In presence of a nonzero sideslip angle β\beta, a third nonzero component of FA\mathcal{F}_\mathrm{A} arises along the lateral axis yWy_\mathrm{W}, i.e. the side force component YWY_\mathrm{W}.

When the sideslip angle β\beta is zero, the wind frame and the aerodynamic frame are coincident. Only in this circumstance yWy_\mathrm{W}, being coincident with yAy_\mathrm{A} and yBy_\mathrm{B}, is normal to the reference plane xBzBx_\mathrm{B} z_\mathrm{B}.

The figure below shows the standard frames of reference for an aircraft in climbing flight in calm air. The wind frame FW\mathcal{F}_\mathrm{W} can be made superimposed to the aerodynamic frame FA\mathcal{F}_\mathrm{A} when rotated around zWz_\mathrm{W} of the angle −β-\beta.

3D defs

Standard frames of reference and aircraft in climbing flight in calm air. The CG velocity vector V\boldsymbol{V} forms the flight path angle γ\gamma with the horizontal plane. The standard three aerodynamic resultant force components DD, LL and YAY_\mathrm{A} are also shown.

Consequently, the wind frame FW\mathcal{F}_\mathrm{W} can be superimposed to the body frame FB\mathcal{F}_\mathrm{B} when rotated first around zWz_\mathrm{W} of the angle −β-\beta then around the axis yAy_\mathrm{A} of the angle αB\alpha_\mathrm{B}:

FW⟶−β ↷ zWFA⟶αB ↷ yAFB\labeleq:FW:To:FB\mathcal{F}_\mathrm{W} \stackrel{-\beta \, \curvearrowright \, z_\mathrm{W}}{ \longrightarrow } \mathcal{F}_\mathrm{A} \stackrel{\alpha_\mathrm{B} \, \curvearrowright \, y_\mathrm{A}}{ \longrightarrow } \mathcal{F}_\mathrm{B} \label{eq:FW:To:FB}

The components of the aerodynamic resultant force in body axes are then expressed as follows:

{XBYBZB}=[cos⁡αB0−sin⁡αB010sin⁡αB0cos⁡αB][cos⁡βsin⁡(−β)0−sin⁡(−β)cos⁡β0001]{−DYW−L}\labeleq:DYL:To:XYZB\left\{\begin{matrix} X_\mathrm{B} \\ Y_\mathrm{B} \\ Z_\mathrm{B} \end{matrix}\right\} = \left[\begin{matrix} \cos\alpha_\mathrm{B} & 0 & -\sin\alpha_\mathrm{B} \\ 0 & 1 & 0 \\ \sin\alpha_\mathrm{B} & 0 & \cos\alpha_\mathrm{B} \end{matrix}\right] \left[\begin{matrix} \cos\beta & \sin(-\beta) & 0 \\ -\sin(-\beta) & \cos\beta & 0 \\ 0 & 0 & 1 \end{matrix}\right] \left\{\begin{matrix} -D \\ Y_\mathrm{W} \\ -L \end{matrix}\right\} \label{eq:DYL:To:XYZB}

in terms of drag, side force and lift.