ECEF Position to LLA
Calculate geodetic latitude, longitude, and altitude above planetary ellipsoid from Earth-centered Earth-fixed (ECEF) position
Libraries:
Aerospace Blockset /
Utilities /
Axes Transformations
Description
The ECEF Position to LLA block converts a 3-by-1 vector of ECEF position into geodetic latitude , longitude , and altitude above the planetary ellipsoid. For more information on the ECEF position, see Algorithms.
Limitations
This implementation generates a geodetic latitude that lies between ±90 degrees, and longitude that lies between ±180 degrees. The planet is assumed to be ellipsoidal. By setting the flattening to 0, you model a spherical planet.
The implementation of the ECEF coordinate system assumes that its origin lies at the center of the planet, the x-axis intersects the prime (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.
Ports
Input
Output
Parameters
Algorithms
The ECEF position is defined as:
Longitude is calculated from the ECEF position by
Geodetic latitude is calculated from the ECEF position using Bowring's method, which typically converges after two or three iterations. The method begins with an initial guess for geodetic latitude and reduced latitude . An initial guess takes the form:
where R is the equatorial radius, f is the flattening of the planet, e2 = 1−(1−f)2, the square of first eccentricity, and:
After the initial guesses are calculated, the reduced latitude is recalculated using
and geodetic latitude is reevaluated. This last step is repeated until converges.
The altitude above the planetary ellipsoid is calculated with
where the radius of curvature in the vertical prime is given by
References
[1] Stevens, B. L., and F. L. Lewis. Aircraft Control and Simulation, Hoboken, NJ: John Wiley & Sons, 1992.
[2] Zipfel, Peter H., Modeling and Simulation of Aerospace Vehicle Dynamics. Second Edition. Reston, VA: AIAA Education Series, 2000.
[3] Recommended Practice for Atmospheric and Space Flight Vehicle Coordinate Systems, R-004-1992, ANSI/AIAA, February 1992.
Extended Capabilities
Version History
Introduced before R2006a