Note:本文假设ecef和enu坐标原点相同,则两者之间只有旋转关系。
若ecef坐标原点和enu坐标原点不同,则两个坐标系之间还要加上平移量。
The relation between the local East, North, Up (ENU) coordinates and the (x,y,z) Earth Centred Earth Fixed (ECEF) coordinates is illustrated in the next figure:
(补充两张图,便于理解地心维度、大地维度以及下面的从enu到ecef的旋转关系)
From the figure 2 it follows that the ENU coordinates can be transformed to the (x,y,z) ECEF by two rotations:
That is:
where, according to the expressions (2) (see Transformation between Terrestrial Frames)
yields:
The unit vectors in local East, North and Up directions as expressed in ECEF cartesian coordinates are given by the columns of matrix (3). That is:
Note: If are ellipsoidal coordinates, thence, the vector is orthogonal to the tangent plane to the ellipsoid, which is defined by . If are taken as the spherical latitude and longitude, thence, the vector is in the radial direction and defines the tangent plane to the sphere.
Taking into account the properties of the rotation matrices ,i.e., , thence, the inverse transformation of (1) is given by:
where the transformation matrix of (5) is the transpose of matrix (3):
The unit vectors in the ECEF , and directions, as expressed in ENU coordinates, are given by the columns of matrix (6). That is:
Given the line of sight unit vector
where and are the geocentric position of the satellite and receiver, respectively, the elevation and azimuth in the local system coordinates (ENU), defined by the unit vectors , and can be computed from (see figure 2):
Thence the elevation and azimuth of satellite in the local coordinates system are given by:
Note: If are ellipsoidal coordinates, thence, the vector is orthogonal to the tangent plane to the ellipsoid, which is defined by . If are taken as the spherical latitude and longitude, thence, the vector is in the radial direction and defines the tangent plane to the sphere.
From:http://www.navipedia.net/index.php/Transformations_between_ECEF_and_ENU_coordinates