Animations › How does GPS work?
How does GPS work?
Your phone finds where you are by timing radio signals from satellites 20 200 km up. Distance = speed × time does most of the work; a fourth satellite fixes your phone's inaccurate clock; and the satellites' own clocks have to be corrected for relativity. A.1 Speed C.2 Electromagnetic waves A.5 Time dilation (HL)
What the animation shows
Constants from the data booklet: $c = 3.00 \times 10^8\ \text{m s}^{-1}$, $G = 6.67 \times 10^{-11}$ $\text{N m}^2\,\text{kg}^{-2}$, the Earth's mass $M = 5.97 \times 10^{24}$ kg and radius $R = 6.37 \times 10^6$ m. The picture is a flat slice through a 3D system: the Earth and the orbit are to scale, the satellites and the phone are not, and the signals are shown 100 times slower than real.
- About 30 GPS satellites orbit the Earth, 20 200 km above the surface. Each one carries an extremely accurate atomic clock.
- Each satellite keeps sending out radio signals that say which satellite it is, where it is, and the time the signal was sent.
- Radio waves are electromagnetic waves, so they travel at the speed of light, $c = 3.00 \times 10^8\ \text{m s}^{-1}$ (C.2).
- From the satellite directly overhead (satellite 2), a signal takes $\dfrac{2.02 \times 10^7}{3.00 \times 10^8} = 0.0673$ s, or 67.3 ms, to arrive. From a satellite near the horizon it takes up to about 86 ms.
- Your phone notes when each signal arrives and works out the travel time. Distance = speed × time, so you are 20 200 km from satellite 2: somewhere on a circle round it (in 3D, on a sphere).
- The signal from satellite 1 takes 74.2 ms, so you are $0.07416 \times 3.00 \times 10^8 = 2.22 \times 10^7$ m (22 200 km) from it. The two circles cross at two points. One is far out in space (about 43 700 km from the Earth's centre), so you must be at the other. In 3D, it takes three satellites (three spheres) to do this.
- Predict: your phone has a cheap quartz clock, not an atomic clock. What happens if it is slightly wrong?
- Suppose it is 10 ms fast. Every signal seems to take 10 ms longer, so every distance comes out $0.010 \times 3.00 \times 10^8 = 3.0 \times 10^6$ m (3000 km) too big. The circles still cross, but in the wrong place: about 2600 km underground, so obviously wrong. Each microsecond of clock error is $1 \times 10^{-6} \times 3.00 \times 10^8 = 300$ m of distance.
- A third satellite gives the error away: its circle does not pass through the same point.
- So the receiver adjusts its own clock, shrinking all the circles together, until all three meet at one point. That point is where you are, and the receiver now knows the exact time too. In 3D there are four unknowns (three for the position, one for the clock), so GPS needs at least four satellites.
- One more correction: relativity. Gravity provides the centripetal force on each satellite (D.1), $\dfrac{GMm}{r^2} = \dfrac{mv^2}{r}$, so $v = \sqrt{\dfrac{GM}{r}} = \sqrt{\dfrac{6.67 \times 10^{-11} \times 5.97 \times 10^{24}}{2.657 \times 10^{7}}} = 3.87 \times 10^3$ $\text{m s}^{-1}$, going round about every 12 hours.
- HL Moving clocks run slow (time dilation, A.5): with $v = 3.87\ \text{km s}^{-1}$, $\gamma - 1 = 8.3 \times 10^{-11}$, so a satellite clock loses $86\,400 \times 8.3 \times 10^{-11}$ s, about 7.2 μs, every day.
- (Beyond the course) Clocks higher up in the Earth's gravitational field run faster: general relativity says the satellite clocks gain about 45.6 μs a day for this reason. See the big question Is gravity a force at all?
- Overall a satellite clock gains $45.6 - 7.2 = 38.4$ μs a day. Left alone, the satellite clocks would drift out of step with time on the ground by 38.4 μs every day: the time light takes to travel $38.4 \times 10^{-6} \times 3.00 \times 10^{8} \approx 1.15 \times 10^4$ m (11.5 km).
- So the satellite clocks are set to tick slow before launch, by $\dfrac{38.4 \times 10^{-6}}{86\,400} \approx 4.4 \times 10^{-10}$. (With the more precise 38.5 μs a day, the real setting is $4.465 \times 10^{-10}$: about 4.5 parts in $10^{10}$.) Then GPS can find you to within a few metres.
How it is drawn: the circles are exact (radius = $c$ × measured travel time) and their crossing points are calculated, but a real receiver solves the same problem in three dimensions with spheres, using at least four satellites, and also allows for the slowing of the signals in the upper atmosphere. The relativity figures are worked out from the data booklet's constants; with more precise values they come to 45.7, 7.2 and 38.5 μs a day. Because every satellite clock would drift by about the same amount, the effect would not simply be an 11 km error in your position: the system keeps the satellite clocks in step with time on the ground, so their rate is corrected before launch. Calculating $\gamma - 1$ for such a small speed needs more digits than most calculators show; the approximation $\gamma - 1 \approx \dfrac{v^2}{2c^2}$ (beyond the course) gives the same $8.3 \times 10^{-11}$.
Read more in A.1 section 2: speed and velocity, C.2 section 6: electromagnetic waves, D.1 section 5: circular orbits and, for HL, A.5 section 8: proper time and time dilation.