Position and Velocity on a Round, Spinning Earth
The question
Lecture 2 gave us Newton’s law in the frame that turns with the Earth. Before we can use it we must be able to say, with numbers, where a vehicle is and where it is going.
How do we describe the position and the velocity of a vehicle on a round, spinning Earth, and how do these descriptions change in time?
The plan:
- Section 1 sets up the two Earth-centred frames and the local horizon of the vehicle.
- Section 2 describes the position by radius, latitude and longitude.
- Section 3 describes the velocity relative to the Earth by a speed and two angles.
- Section 4 derives the kinematic equations, which say how the position changes.
- Section 5 finds how fast the local horizon turns as the vehicle moves. We need this in Lecture 5.
- Section 6 notes how the real, slightly flattened Earth changes these definitions.
1 Three frames
We use three frames, shown in Figure 1.
The Earth-centred inertial frame (ECI) has its origin at the centre of the Earth. Its \(Z\)-axis points along the Earth’s spin axis to the north pole, and its \(X\)- and \(Y\)-axes lie in the equatorial plane, pointing at fixed stars. Lecture 2 showed that this frame is inertial for our purposes.
The Earth-centred, Earth-fixed frame (ECEF) has the same origin and the same \(Z\)-axis, but it turns with the Earth at the rate \(\omega_E\). Its \(x\)-axis points to the intersection of the equator with the Greenwich meridian (longitude \(0^\circ\)). Points on the ground, the radar at Sriharikota and the air (apart from winds) are all at rest in this frame.
The local horizon frame moves with the vehicle. Its origin is the vehicle. Its three unit vectors point to the local north, the local east and straight down towards the centre of the Earth. We write them \(\mathbf e_N,\mathbf e_E,\mathbf e_D\) and call this the NED frame. It is the frame in which a pilot naturally thinks. “Level”, “climbing”, “heading east” all refer to it.
In Figure 2 the Earth turns \(15^\circ\) every hour under axes that stay fixed among the stars. A point at rest on the ground, such as the launch pad, is not at rest in ECI. It is carried round a circle, moving east at \(452\) m/s. Everything we measure from the ground (radar, GPS, the air) turns with ECEF, which is why we write the equations in ECEF and pay for it with the Coriolis and centrifugal terms of Lecture 2.
2 Position: radius, latitude, longitude
Let \(\mathbf r\) be the position of the vehicle measured from the centre of the Earth. Its length \(r=|\mathbf r|\) is the radius. Its direction is fixed by two angles.
- The longitude \(\lambda\) is the angle, measured eastwards in the equatorial plane, from the Greenwich meridian to the meridian of the vehicle.
- The latitude \(\phi\) is the angle from the equatorial plane up to \(\mathbf r\), positive in the northern hemisphere.
Reading Figure 1, the projection of \(\mathbf r\) on the equatorial plane has length \(r\cos\phi\) and points at the longitude \(\lambda\), while its height above that plane is \(r\sin\phi\). So the unit vector along \(\mathbf r\) has the ECEF components
\[ \mathbf e_r=\begin{bmatrix}\cos\phi\cos\lambda\\ \cos\phi\sin\lambda\\ \sin\phi\end{bmatrix}, \qquad \mathbf r=r\,\mathbf e_r . \tag{1}\]
The other two unit vectors follow from their meaning. East is the direction in which \(\lambda\) increases at fixed \(\phi\), and north is the direction in which \(\phi\) increases at fixed \(\lambda\). So they are the normalised derivatives of \(\mathbf e_r\):
\[ \mathbf e_E=\frac{1}{\cos\phi}\frac{\partial\mathbf e_r}{\partial\lambda}=\begin{bmatrix}-\sin\lambda\\ \cos\lambda\\ 0\end{bmatrix}, \qquad \mathbf e_N=\frac{\partial\mathbf e_r}{\partial\phi}=\begin{bmatrix}-\sin\phi\cos\lambda\\ -\sin\phi\sin\lambda\\ \cos\phi\end{bmatrix}, \qquad \mathbf e_D=-\mathbf e_r . \tag{2}\]
Verify that \(\mathbf e_N,\mathbf e_E,\mathbf e_D\) are unit vectors, at right angles to each other, and that \(\mathbf e_N\times\mathbf e_E=\mathbf e_D\), so that NED is a right-handed frame.
The same result can be written with the rotation matrices of Lecture 2. Starting from the ECEF axes, turn by \(\lambda\) about the \(z\)-axis and then by \(\phi\) about the new \(y\)-axis. The rows of the product matrix are the ECEF components of the up, east and north directions. The two descriptions agree, and flight.frames.ned_basis in the course simulator computes them this way.
The altitude over a spherical Earth of radius \(R_E\) is
\[ h=r-R_E . \]
Section 6 refines this for the real Earth.
3 Velocity: speed, flight-path angle, heading
Let \(\mathbf V\) be the velocity of the vehicle relative to the Earth, that is, as seen in ECEF. This is the velocity that a ground radar or a GPS receiver reports, and it is the one we will use throughout the course. We describe it by its magnitude and two angles.
- The speed \(V=|\mathbf V|\).
- The flight-path angle \(\gamma\) is the angle between \(\mathbf V\) and the local horizontal plane. It is positive when the vehicle climbs.
- The heading \(\chi\) is the angle, measured clockwise in the horizontal plane, from north to the horizontal part of \(\mathbf V\). A vehicle flying east has \(\chi=90^\circ\).
The vertical part of \(\mathbf V\) is \(V\sin\gamma\) upwards, and its horizontal part has length \(V\cos\gamma\), split into north and east by \(\chi\). So
\[ \mathbf V=V\cos\gamma\cos\chi\;\mathbf e_N+V\cos\gamma\sin\chi\;\mathbf e_E-V\sin\gamma\;\mathbf e_D . \tag{3}\]
We write \(\mathbf e_V=\mathbf V/V\) for the unit vector along the velocity.
Conventions differ. Miele calls \(\chi\) the “velocity yaw angle” and \(\gamma\) the “velocity pitch angle” (Miele 1962). Vinh measures his heading from east towards north (Vinh 1999). Ours is the aviation and navigation convention: from north, clockwise. Always check the convention before taking an equation from a book.
3.1 Two directions perpendicular to the velocity
Forces such as lift act at right angles to the velocity. We need two unit vectors perpendicular to \(\mathbf e_V\), and the natural choice comes from asking what happens when \(\gamma\) or \(\chi\) change.
Increasing \(\gamma\) tilts \(\mathbf e_V\) upwards in the vertical plane that contains it. The direction of that change is
\[ \mathbf n_\gamma=\frac{\partial\mathbf e_V}{\partial\gamma} =-\sin\gamma\cos\chi\;\mathbf e_N-\sin\gamma\sin\chi\;\mathbf e_E-\cos\gamma\;\mathbf e_D . \tag{4}\]
It lies in the vertical plane of the velocity and points “up” relative to the flight path. Increasing \(\chi\) swings the velocity to the right, in the horizontal plane. The direction of that change, divided by \(\cos\gamma\) to make it a unit vector, is
\[ \mathbf n_\chi=\frac{1}{\cos\gamma}\frac{\partial\mathbf e_V}{\partial\chi}=-\sin\chi\;\mathbf e_N+\cos\chi\;\mathbf e_E . \tag{5}\]
It is horizontal and points to the right of the flight path. The three vectors \(\mathbf e_V,\mathbf n_\chi,-\mathbf n_\gamma\) form a right-handed frame, which aerodynamicists call the wind axes (in still air). Lecture 5 resolves Newton’s law along \(\mathbf e_V\), \(\mathbf n_\gamma\) and \(\mathbf n_\chi\), and each component gives one equation: one for \(V\), one for \(\gamma\) and one for \(\chi\).
Figure 3 takes Equation 3 apart in two steps. First tilt: \(\gamma\) splits the speed into a vertical part \(V\sin\gamma\), which is the rate of climb, and a horizontal part \(V\cos\gamma\). Then turn: \(\chi\) splits the horizontal part into north and east. The three components of Equation 3 are exactly the three parts on the right panel and the left.
4 The kinematic equations
The position \(\mathbf r\) and the velocity \(\mathbf V\) are linked by \(\mathbf V=\left.\mathrm d\mathbf r/\mathrm dt\right|_E\), the rate of change of \(\mathbf r\) seen in ECEF. We now turn this vector statement into three scalar equations for \(r\), \(\lambda\) and \(\phi\).
Differentiate \(\mathbf r=r\,\mathbf e_r\) in ECEF. The radius changes, and the direction \(\mathbf e_r\) changes because \(\lambda\) and \(\phi\) change:
\[ \left.\frac{\mathrm d\mathbf r}{\mathrm dt}\right|_E=\dot r\,\mathbf e_r+r\left(\frac{\partial\mathbf e_r}{\partial\lambda}\dot\lambda+\frac{\partial\mathbf e_r}{\partial\phi}\dot\phi\right) =\dot r\,\mathbf e_r+r\cos\phi\,\dot\lambda\;\mathbf e_E+r\,\dot\phi\;\mathbf e_N , \]
where Equation 2 gave the two partial derivatives. Now compare with Equation 3, remembering that \(-\mathbf e_D=\mathbf e_r\). The coefficients of \(\mathbf e_r\), \(\mathbf e_N\) and \(\mathbf e_E\) must agree, so
\[ \boxed{\; \dot r=V\sin\gamma ,\qquad \dot\phi=\frac{V\cos\gamma\cos\chi}{r},\qquad \dot\lambda=\frac{V\cos\gamma\sin\chi}{r\cos\phi}\;} \tag{6}\]
These are the kinematic equations. They contain no forces. They only translate the velocity into rates of change of the position coordinates.
Three features are worth noticing.
- The radius changes only through the vertical part of the velocity, \(V\sin\gamma\). Since \(h=r-R_E\) on a sphere, \(\dot h=V\sin\gamma\), the rate of climb.
- A northward speed \(V\cos\gamma\cos\chi\) moves the vehicle along a meridian of radius \(r\), so the latitude changes at that speed divided by \(r\).
- An eastward speed moves the vehicle along a circle of latitude, whose radius is only \(r\cos\phi\). So the same eastward speed changes the longitude faster near the poles, and the equation for \(\dot\lambda\) breaks down at the poles themselves. This is a defect of the coordinates, not of the motion. The course simulator avoids it by integrating Cartesian coordinates and converting to \(\lambda,\phi\) only for output.
Figure 4 shows the third kinematic equation at work. The east part of the velocity stays the same, \(V\sin45^\circ\), but the circles of latitude shrink towards the pole, and a lap around a small circle takes less and less time. So \(\dot\lambda=V\cos\gamma\sin\chi/(r\cos\phi)\) grows without limit as \(\cos\phi\to0\). The vehicle reaches \(89.9^\circ\) after \(13.3\) h, having swept \(390^\circ\) of longitude. Nothing physical goes wrong at the pole; only the coordinates fail, which is why the course simulator integrates Cartesian coordinates instead.
Example. An airliner cruises at \(11\) km altitude over Sriharikota (\(\phi=13.7^\circ\) N) at \(V=250\) m/s, level (\(\gamma=0\)), on a heading of \(\chi=45^\circ\) (north-east). Take \(R_E=6378.137\) km. How fast do its latitude and longitude change, in degrees per hour?
Solution. The radius is \(r=6378.137+11=6389.137\) km. From Equation 6,
\[ \dot\phi=\frac{250\cos45^\circ}{6\,389\,137}=2.767\times10^{-5}\ \mathrm{rad/s}=5.71^\circ/\mathrm h , \]
\[ \dot\lambda=\frac{250\sin45^\circ}{6\,389\,137\,\cos13.7^\circ}=2.848\times10^{-5}\ \mathrm{rad/s}=5.87^\circ/\mathrm h . \]
The two rates differ although the north and east speeds are equal, because a circle of latitude at \(13.7^\circ\) is \(\cos13.7^\circ=0.972\) times as long as a meridian circle.
Is \(5.7^\circ\) an hour sensible? The northward speed is \(250\cos45^\circ=176.8\) m/s, or \(636\) km in an hour. One degree of latitude at this radius is \(2\pi(6389)/360=111.5\) km. So the aircraft crosses \(636/111.5=5.7\) degrees of latitude every hour.
4.1 Velocity relative to the stars
The velocity relative to the inertial frame follows from Lecture 2:
\[ \mathbf v_I=\mathbf V+\boldsymbol\omega_E\times\mathbf r . \tag{7}\]
The Earth’s angular velocity is \(\omega_E\) along the \(z\)-axis. At the vehicle, the \(z\)-axis has the local components \(\mathbf e_z=\cos\phi\,\mathbf e_N-\sin\phi\,\mathbf e_D\). So
\[ \boldsymbol\omega_E\times\mathbf r=\omega_E\,r\,(\cos\phi\,\mathbf e_N-\sin\phi\,\mathbf e_D)\times(-\mathbf e_D) =\omega_E\,r\cos\phi\;\mathbf e_E , \]
since \(\mathbf e_N\times\mathbf e_D=-\mathbf e_E\). A point at rest on the ground already moves east at \(\omega_Er\cos\phi\) relative to the stars.
Example. How fast does the launch pad at Sriharikota move eastwards relative to the stars? Take \(\phi=13.7^\circ\), \(r=R_E=6378.137\) km and \(\omega_E=7.292\times10^{-5}\) rad/s.
Solution.
\[ \omega_E R_E\cos\phi=7.292\times10^{-5}\times6\,378\,137\times\cos13.7^\circ=452\ \mathrm{m/s}. \]
A rocket launched due east starts with \(452\) m/s of the roughly \(7.8\) km/s it needs for a low orbit. This is one reason why launch sites are placed close to the equator, and why rockets for low-inclination orbits are launched eastwards. We return to this in the launch-vehicle lectures.
Figure 5 compares four launch sites. The closer a site is to the equator, the farther it is from the spin axis and the faster it moves. Kourou, at \(5^\circ\) N, gives \(463\) m/s; Sriharikota \(452\) m/s; Cape Canaveral \(409\) m/s; Baikonur, at \(46^\circ\) N, only \(324\) m/s. For an eastward launch this speed is free. The questions of this lecture work out what it is worth.
5 How fast does the local horizon turn?
The NED frame is attached to the vehicle, so it turns as the vehicle moves over the curved Earth. When the vehicle flies north, “down” swings to keep pointing at the centre of the Earth. In Lecture 5 we will differentiate the velocity, which is written in this turning frame, so we need its angular velocity relative to ECEF.
The NED frame is obtained from ECEF by a rotation \(\lambda\) about the Earth’s \(z\)-axis and then a rotation about the local east axis that sets the latitude. Increasing \(\phi\) tilts the local vertical northwards, which is a rotation about the west direction \(-\mathbf e_E\). The two rates therefore add up to
\[ \boldsymbol\Omega=\dot\lambda\,\mathbf e_z-\dot\phi\,\mathbf e_E =\dot\lambda\cos\phi\;\mathbf e_N-\dot\phi\;\mathbf e_E-\dot\lambda\sin\phi\;\mathbf e_D . \tag{8}\]
Figure 6 shows the two parts of this rotation one at a time.
On the left of Figure 6 only the latitude changes. North and down tip over together, about the east–west line, so that down keeps pointing at the centre. That is the term \(-\dot\phi\,\mathbf e_E\). Most students expect this. The right side is the surprise. Flying due east, the aircraft never turns left or right by its own compass, yet its north arrow must swing round, because north always points at the pole and the pole is in a different direction from each new place. Seen from above the pole, the arrow swings through the whole change in longitude, \(150^\circ\). But only part of that is a turn within the local horizontal plane, because the plane itself is tipped at an angle to the picture. The part about the local vertical is \(\sin\phi\) times the change in longitude, \(150^\circ\sin60^\circ=130^\circ\). That is the term \(-\dot\lambda\sin\phi\,\mathbf e_D\), and it is the part that matters for the heading. The rest tips the horizon about the north axis, through the term \(\dot\lambda\cos\phi\,\mathbf e_N\). On the equator \(\sin\phi=0\) and north does not swing at all. The term \(-\dot\lambda\sin\phi\) is the source of the \(\tan\phi\) term that appears in the heading equation of Lecture 5.
We can check this with the rule of Lecture 2. By its rule for a rotating unit vector, \(\left.\mathrm d\mathbf e_r/\mathrm dt\right|_E\) should equal \(\boldsymbol\Omega\times\mathbf e_r\):
\[ \boldsymbol\Omega\times\mathbf e_r=\dot\lambda\cos\phi\,(\mathbf e_N\times\mathbf e_r)-\dot\phi\,(\mathbf e_E\times\mathbf e_r) =\dot\lambda\cos\phi\;\mathbf e_E+\dot\phi\;\mathbf e_N , \]
which is exactly the bracket we found while deriving Equation 6. With Equation 6 the components of \(\boldsymbol\Omega\) can be written in terms of the velocity:
\[ \boldsymbol\Omega=\frac{V\cos\gamma\sin\chi}{r}\;\mathbf e_N-\frac{V\cos\gamma\cos\chi}{r}\;\mathbf e_E-\frac{V\cos\gamma\sin\chi\tan\phi}{r}\;\mathbf e_D . \tag{9}\]
Every component is proportional to \(V/r\). For an airliner \(V/r\approx4\times10^{-5}\) rad/s, the same order as \(\omega_E\). For a satellite in low orbit it is about \(1.1\times10^{-3}\) rad/s, one turn per orbit.
6 The real shape of the Earth
The Earth is not a sphere. Its spin flattens it, so the equatorial radius \(a=6378.137\) km is \(21.4\) km larger than the polar radius \(b=6356.752\) km. The standard model is the WGS-84 ellipsoid (National Imagery and Mapping Agency 2000), defined by \(a\) and the flattening \(f=(a-b)/a=1/298.257223563\).
Two consequences matter for flight.
- Two latitudes. The latitude \(\phi\) we used above is the geocentric latitude, the angle of \(\mathbf r\) above the equator. Maps and GPS give the geodetic latitude \(\phi_d\), the angle between the equator and the normal to the ellipsoid at the point. On the ellipsoid surface they are related by \(\tan\phi=(1-f)^2\tan\phi_d\), and they differ by up to \(0.19^\circ\) at \(45^\circ\).
- Altitude. The altitude that matters for the atmosphere is the height above the ellipsoid, measured along its normal, not \(r-R_E\). Using a sphere of the equatorial radius puts a vehicle over the poles \(21\) km too low.
For the derivations of these lectures a sphere is enough, and it keeps the algebra clear. The course simulator uses the ellipsoid for altitude and latitude, and the real-world-effects document of the simulator lists the details.
Using \(\tan\phi=(1-f)^2\tan\phi_d\), find the geocentric latitude of Sriharikota if its geodetic latitude is \(13.7^\circ\). (Answer: \(13.61^\circ\).)
On a sphere the radius and the normal to the surface are the same line. On a flattened Earth they are not, as Figure 7 shows with the flattening greatly exaggerated. GPS and maps give the geodetic latitude, because the normal is the direction of a plumb line, the local vertical. On the real Earth the two latitudes differ by at most \(0.19^\circ\), at \(45^\circ\).
Figure 8 gives the true sizes, which a drawing of the flattened Earth has to exaggerate. The two latitudes differ by \(0.09^\circ\) at Sriharikota and \(0.18^\circ\) at Leh. On the ground one degree is about \(111\) km, so \(0.09^\circ\) is about \(10\) km. That matters for a launch site or a map, and hardly at all in an order-of-magnitude estimate. The right panel is the error in height if we treat the Earth as a sphere with the equatorial radius. It is \(1.2\) km at Sriharikota, \(6.7\) km at Leh and \(21\) km at the pole. An error of this size would ruin any use of the atmosphere model, where a few kilometres change the density greatly.
Summary.
- Frames: ECI (inertial), ECEF (turns with the Earth), NED (local horizon at the vehicle).
- Position: \(r,\lambda,\phi\). Velocity relative to the Earth: \(V,\gamma,\chi\).
- Kinematic equations: \(\dot r=V\sin\gamma\), \(\dot\phi=V\cos\gamma\cos\chi/r\), \(\dot\lambda=V\cos\gamma\sin\chi/(r\cos\phi)\).
- The ground moves east at \(\omega_Er\cos\phi\) relative to the stars, \(452\) m/s at Sriharikota.
- The local horizon turns relative to ECEF with \(\boldsymbol\Omega=\dot\lambda\,\mathbf e_z-\dot\phi\,\mathbf e_E\).
Objective questions on this lecture, drills and longer problems, all with worked answers, are in Position and Velocity on a Round, Spinning Earth: Questions.