6DOF ECEF (Quaternion)
Implement quaternion representation of six-degrees-of-freedom equations of motion in Earth-centered Earth-fixed (ECEF) coordinates
Libraries:
Aerospace Blockset /
Equations of Motion /
6DOF
Description
The 6DOF ECEF (Quaternion) block Implement quaternion representation of six-degrees-of-freedom equations of motion in Earth-centered Earth-fixed (ECEF) coordinates. It considers the rotation of a Earth-centered Earth-fixed (ECEF) coordinate frame (XECEF, YECEF, ZECEF) about an Earth-centered inertial (ECI) reference frame (XECI, YECI, ZECI). The origin of the ECEF coordinate frame is the center of the Earth. For more information on the ECEF coordinate frame, see Algorithms.
Examples
Limitations
This implementation assumes that the applied forces act at the center of gravity of the body, and that the mass and inertia are constant.
This implementation generates a geodetic latitude that lies between ±90 degrees, and longitude that lies between ±180 degrees. Additionally, the MSL altitude is approximate.
The Earth is assumed to be ellipsoidal. By setting flattening to 0.0, a spherical planet can be achieved. The Earth's precession, nutation, and polar motion are neglected. The celestial longitude of Greenwich is Greenwich Mean Sidereal Time (GMST) and provides a rough approximation to the sidereal time.
The implementation of the ECEF coordinate system assumes that the origin is at the center of the planet, the x-axis intersects the Greenwich meridian and the equator, the z-axis is the mean spin axis of the planet, positive to the north, and the y-axis completes the right-handed system.
The implementation of the ECI coordinate system assumes that the origin is at the center of the planet, the x-axis is the continuation of the line from the center of the Earth toward the vernal equinox, the z-axis points in the direction of the mean equatorial plane's north pole, positive to the north, and the y-axis completes the right-handed system.
Ports
Input
Output
Parameters
Algorithms
The 6DOF ECEF (Quaternion) block uses these equations to describe the translational motion in the fixed (ECEF) coordinate frame.
The applied forces Fxyz = [Fx F y Fz]T are given in body-fixed axes.
The mass of the body m is assumed constant.
The direction cosine matrices in this block use a subscript convention of two indices indicating target and source axes.
The be subscript in DCMbe indicates a rotation from NED axes e to body axes b.
The bf subscript in DCMbf indicates a rotation from fixed-frame axes f to body axes b.
The inertial acceleration of the body Abi is the input force divided by the mass, calculated with:
The acceleration of the body in the body-fixed frame of reference Abb accounts for
Coriolis and centrifugal accelerations
Derivative of the body-fixed coordinate system relative to the fixed-frame coordinate system
Abb is defined as:
where
Equation Description Body velocity relative to the fixed-frame, expressed in body axes.
Body rotation rate relative to NED frame, in body axes.
Body rotation rate relative to intertial frame.
Earth rotation rate.
Fixed-frame position of body relative to origin.
The rotation rate of the body relative to the fixed-frame contains:
Earth rotation rate
Body frame rotation rate
Relative angular rates with respect to the north-east-down (NED) frame, defined as:
The rotational dynamics of the body defined in body-fixed frame are given, where the applied moments are [L M N]T, and the inertia tensor I is with respect to the origin O.
The integration of the rate of change of the quaternion vector is given:
Aerospace Blockset uses quaternions that are defined using the scalar-first convention.
References
[1] Stevens, Brian, and Frank Lewis. Aircraft Control and Simulation, 2nd ed. Hoboken, NJ: John Wiley & Sons, 2003.
[2] McFarland, Richard E. "A Standard Kinematic Model for Flight simulation at NASA-Ames." NASA CR-2497.
[3] "Supplement to Department of Defense World Geodetic System 1984 Technical Report: Part I - Methods, Techniques and Data Used in WGS84 Development." DMA TR8350.2-A.
Extended Capabilities
Version History
Introduced in R2006aSee Also
6DOF (Euler Angles) | 6DOF (Quaternion) | 6DOF Wind (Quaternion) | 6DOF Wind (Wind Angles) | Simple Variable Mass 6DOF ECEF (Quaternion) | Custom Variable Mass 6DOF (Euler Angles) | Custom Variable Mass 6DOF (Quaternion) | Custom Variable Mass 6DOF Wind (Quaternion) | Custom Variable Mass 6DOF Wind (Wind Angles) | Simple Variable Mass 6DOF ECEF (Quaternion) | Simple Variable Mass 6DOF (Euler Angles) | Simple Variable Mass 6DOF (Quaternion) | Simple Variable Mass 6DOF Wind (Wind Angles)

