Transformation from Body-frame to ECEF-frame

Click For Summary
SUMMARY

The discussion focuses on transforming a body's velocity vector from body coordinates to Earth-Centered Earth-Fixed (ECEF) coordinates. The transformation involves creating multiple transformation matrices: TN0I for ECI to NED, TBN0 for NED to body orientation, and TEI for inertial to ECEF. The key insight is that the transformation from ECEF to NED (Tne) and from NED to body (Tbn) must account for the Earth's curvature and rotation, which affects the Euler angles used in these transformations. Understanding the angular velocity of both the NED frame and the body frame is crucial for accurate integration of position in the ECEF frame.

PREREQUISITES
  • Understanding of transformation matrices in coordinate systems
  • Familiarity with Euler angles and their application in 3D rotations
  • Knowledge of Earth-Centered Inertial (ECI) and Earth-Centered Earth-Fixed (ECEF) frames
  • Basic principles of inertial navigation systems and angular velocity
NEXT STEPS
  • Study the derivation and application of transformation matrices in 3D space
  • Learn about the conversion algorithms for ECEF coordinates to latitude, longitude, and altitude
  • Explore the effects of Earth's rotation on inertial navigation systems
  • Investigate the calculation of angular velocity in both ECEF and body frames
USEFUL FOR

Aerospace engineers, robotics developers, and anyone involved in navigation systems requiring accurate position and velocity transformations in Earth-centered frames.

Kuu
Messages
2
Reaction score
0

Homework Statement


I have a body which is instantiated on Earth at some latitude, longitude and altitude. The body has acceleration which is expressed in body coordinates and the acceleration can be integrated to obtain the velocity vector which is also expressed in body coordinates.

ECI and ECEF frames are located at the center of the Earth and NED frame is located at the bodys center of gravity. The current angle of the body is presented with Euler angles which are expressed with respect to NED frame.

How I can transform the body velocity vector to ECEF coordinates so that I can integrate a new position for the body in the ECEF frame? The position in the ECEF frame can then be transformed to latitude, longitude and altitude?

This is not exactly a homework problem but something I've been trying to understand.

Homework Equations


--

The Attempt at a Solution


I was thinking something like this:
  1. Create transformation matrix ##T^{N0}_{I}## which transforms from the ECI frame to the initial NED frame. (NED frame at the point in which the body is instantiated).
  2. Create transformation matrix ##T^{B}_{N0}## which transforms from the initial NED frame to the current body orientation.
  3. Create transformation matrix ##T^{E}_{I}## which transforms from inertial frame to current ECEF frame. Transpose: ##T^{I}_{E}## transforms from ECEF to inertial frame
  4. Combine the transformations to get: ##T^{B}_{E} = T^{B}_{N0} T^{N0}_{I} T^{I}_{E}## which transforms from ECEF to body and its transpose ##T^{E}_{B}## which transforms from body to ECEF frame
I have feeling that the above won't work and it looks pretty complicated. I might even be completely lost here. Any help is very much appreciated.
 
Physics news on Phys.org
You are on the right track. You have Euler angles to get from body axis to NED. At current latitude, longitude, you have angles to go from NED to ECEF (don't get fooled by the difference between true north and magnetic north). Since the Earth centered inertial frame is arbitrary, you can assume that it is momentarily aligned with ECEF and skip that step. You will still have to be careful about integrating in a rotating frame, but that is another issue.
 
  • Like
Likes   Reactions: Kuu
Thank you for your reply.

So basically I need only T_{ne} which transforms from ECEF to NED and T_{bn} which transforms from NED to body.

T_{ne} can be obtained by converting the XYZ coordinates of an object in ECEF coordinates with some conversion algorithm to latitude, longitude and altitude. These can be used to construct the T_{ne}.

The T_{bn} can be constructed from the Euler angles between the body and the NED frame. However, obtaining the Euler angles used to construct the transformation matrix is something that confuses me.

I do understand that if the object itself rotates, the angles between the body and the NED frame changes. But doesn't the curvature and rotation of the Earth also affect these angles? Below is an image where the circle presents Earth and ECEF frames z-axis is pointing towards the viewer.

vektorin_Muunnos_Koord_Valilla_1.png
In the image x_n, y_n, z_n are the coordinate axes for NED frame and x_b, y_b, z_b are the coordinate axes for body frame. v_b is the bodys velocity vector. When the body frame moves in the direction pointed by the velocity vector it's position changes and the NED frame for the current location (x_n', y_n', z_n' in image) is aligned to be tangential to the surface of the earth. Now the angles (\phi in image) between the NED frame and the body frame are different from the previous position, even though the body haven't rotated, and the rotation matrix T_{bn} no longer transforms correctly from NED to body?

I guess I need to somehow get the angular velocity of the NED frame and sum it up with the angular velocity of the body frame which I then integrate to get the angles between NED and body?
 
Last edited:
That sounds right. It's too complicated for me to understand completely. Basically, it's the equations used in inertial navigation systems. An Earth centered inertial coordinate system comes back into play because gyroscopes measure rotations in inertial space. If you know the rotational rates in inertial space, you can remove the rotational rate of the Earth to get the rotational rates in the ECEF coordinate system.
 
  • Like
Likes   Reactions: Kuu

Similar threads

  • · Replies 40 ·
2
Replies
40
Views
2K
  • · Replies 22 ·
Replies
22
Views
1K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 4 ·
Replies
4
Views
1K
Replies
6
Views
2K
  • · Replies 10 ·
Replies
10
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 4 ·
Replies
4
Views
1K
  • · Replies 17 ·
Replies
17
Views
2K
Replies
6
Views
2K