Transformation from Body-frame to ECEF-frame

AI Thread Summary
To transform a body's velocity vector from body coordinates to ECEF coordinates, the discussion outlines the need for multiple transformation matrices: T^{N0}_{I} from ECI to NED, T^{B}_{N0} from NED to body, and T^{E}_{I} from inertial to ECEF. The transformation T_{ne} from ECEF to NED can be derived from converting ECEF coordinates to latitude, longitude, and altitude, while T_{bn} is constructed from Euler angles that define the body's orientation relative to NED. The complexity arises from the need to account for both the body's rotation and the Earth's curvature, as these factors affect the angles between the body and NED frames. Integrating angular velocities from both the NED frame and the body frame is suggested to accurately determine the necessary transformation angles. Understanding these transformations is crucial for accurately integrating the body's position in the ECEF frame.
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 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 Kuu
I multiplied the values first without the error limit. Got 19.38. rounded it off to 2 significant figures since the given data has 2 significant figures. So = 19. For error I used the above formula. It comes out about 1.48. Now my question is. Should I write the answer as 19±1.5 (rounding 1.48 to 2 significant figures) OR should I write it as 19±1. So in short, should the error have same number of significant figures as the mean value or should it have the same number of decimal places as...
Thread 'A cylinder connected to a hanging mass'
Let's declare that for the cylinder, mass = M = 10 kg Radius = R = 4 m For the wall and the floor, Friction coeff = ##\mu## = 0.5 For the hanging mass, mass = m = 11 kg First, we divide the force according to their respective plane (x and y thing, correct me if I'm wrong) and according to which, cylinder or the hanging mass, they're working on. Force on the hanging mass $$mg - T = ma$$ Force(Cylinder) on y $$N_f + f_w - Mg = 0$$ Force(Cylinder) on x $$T + f_f - N_w = Ma$$ There's also...
Back
Top