Coordinate transformation - NED and ECEF frames

Click For Summary
SUMMARY

The discussion focuses on the transformation of acceleration data from the sensor body frame to the Earth Centered Earth Fixed (ECEF) frame using rotation matrices. The user has established the rotation matrix from the body frame to the North East Down (NED) frame and seeks to derive the rotation matrix from NED to ECEF. The correct transformation is given by the formula R(NED to ECEF) = [ sinLatitude*cosLongitude, -sinLongitude, -cosLatitude*cosLongitude; -sinLatitude*sinLongitude, cosLongitude, -cosLatitude*sinLongitude; cosLatitude, 0, -sinLatitude ]. Latitude and longitude provide the necessary rotation angles for this conversion, which is essential for accurate calculations in ECEF.

PREREQUISITES
  • Understanding of Euler angles and their application in coordinate transformations
  • Familiarity with rotation matrices and their mathematical representation
  • Knowledge of the North East Down (NED) and Earth Centered Earth Fixed (ECEF) coordinate systems
  • Basic understanding of geographic coordinates, specifically latitude and longitude
NEXT STEPS
  • Study the derivation and application of rotation matrices in 3D transformations
  • Learn about the WGS84 Earth model and its implications for geographic calculations
  • Explore the conversion of acceleration vectors between different coordinate frames
  • Investigate the effects of magnetic declination on true north adjustments
USEFUL FOR

This discussion is beneficial for engineers, data scientists, and researchers working with sensor data in navigation systems, particularly those involved in coordinate transformations and motion analysis in ECEF and NED frames.

9988776655
Messages
46
Reaction score
0
Hi,

I have a reference device that outputs euler angles, which are angles that relate the sensor body frame to the north east down frame. These angles are called pitch roll and yaw. The sensor is an accelerometer. I know how to get the rotation matrix that will put accelerations from the accelerometer sensor body frame to the north east down frame. Call this rotation matrix R(Body to North East Down).

How do I get the rotation matrix that will rotate from Body frame to Earth Centered Earth Fixed frame? I need to do this as all of my other calculations use the Earth Centered Earth Fixed frame. I can see that:

R(Body to Earth Centred Earth Fixed) = R(Body to North East Down) * R(North East Down frame to Earth Centered Earth Fixed).

How do I get R(North East Down frame to Earth Centered Earth Fixed)?

To get acceleration in the Earth centered Earth fixed frame, would I use:
Acceleration(Earth Centred Earth Fixed) = R(Body to Earth Centred Earth Fixed)*Acceleration(Body frame) ?

I have access to the position in latitude and longitude (radians). Also note that acceleration is a vector not a coordinate.

Thanks.
 
Latitude and longitude give you the rotation angles to convert from NED to ECEF. I am working from vague memory, but I think that the latitude gives the rotation angle needed even when you are using the accurate WGS84 Earth model. If you have magnetic north, don't forget to rotate to true north.
 
R(North East Down frame to Earth Centered Earth Fixed) =

[ sinLatitude*cosLongitude; -sinLongitude; -cosLatitude*cosLongitude]
[-sinLatitude*sinLongitude; cosLongitude; -cosLatitude*sinLongitude]
[cosLatitude; 0; -sinLatitude; ]

I am unsure if this is correct for my application because this may only be relevant for coordinates not vectors. Please comment.
 

Similar threads

  • · Replies 22 ·
Replies
22
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 23 ·
Replies
23
Views
3K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 7 ·
Replies
7
Views
1K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 78 ·
3
Replies
78
Views
8K
  • · Replies 3 ·
Replies
3
Views
14K