How Does GPS Know Where You Are?

From Explain One Thing · 8:29

Show by The Podcaster's Warehouse

A location fix starts with a timing problem. Follow an imaginary treasure hunt to understand satellite signals, distance measurements, and why your receiver needs help correcting its own clock.Sources:https://www.faa.gov/about/office_org/headquarters_offices/ato/service_units/techops/navservices/gnss/gps/howitworkshttps://www.gps.gov/gps-and-telling-timehttps://www.nist.gov/how-do-you-measure-it/how-do-you-measure-your-location-using-gpshttps://www.gps.gov/trilaterationTranscript:You open a map, and a little blue dot appears exactly where you seem to be standing. Somewhere far above you, satellites are racing around Earth. But how do they know which pavement you're on? Are they looking down and recognizing your jacket?This is Explain One Thing. Our question: how does GPS know where you are?The surprising answer starts by turning the question around. Your GPS receiver works out where it is by listening to signals. It doesn't need the satellites to spot it. And the thing it measures most carefully is time.Let's begin with an imaginary treasure hunt on a flat map. A clue tells you the treasure is five miles from the library. That doesn't identify one location. You could draw a circle around the library, and every point on that circle would satisfy the clue.A second clue gives a distance from the railway station. Now you have another circle. Where they cross, the clues agree. Another suitable clue can remove the remaining uncertainty. Distances from known places narrow down an unknown place.Our treasure hunt uses a flat map and made-up landmarks. Satellites and receivers operate in three dimensions, so the geometry involves spheres rather than circles. But keep the basic question: where could I be if all these distances are right?That method is called trilateration. The word isn't the important part. What's important is that knowing a distance is different from knowing a direction. A clue can say how far without pointing toward the answer.Now we need a way to measure distance from a satellite we can't reach with a tape measure. Radio signals provide it. They travel at the speed of light in empty space, and very nearly that speed through much of their journey. If you know how long a signal traveled, you can work out how far it came.Think of a delivery receipt with a dispatch time printed on it. If every delivery vehicle traveled at a known speed without stops, the time between dispatch and arrival would tell you the journey's length. Real delivery vans don't behave that way. The receipt is just an analogy for relating speed, travel time, and distance.GPS satellite signals contain precise timing information and information that lets the receiver work out the satellite's position. The receiver combines what the signal says with when it arrives. That gives it a distance estimate.Here comes the catch. To measure a travel time, both ends need to agree about time. If my watch is wrong, subtracting your dispatch time from my arrival time creates an error. A signal that looks late might have traveled farther, or my clock might simply be ahead.The satellites carry atomic clocks. Your ordinary receiver doesn't need an atomic clock of its own. Instead, it solves a slightly larger puzzle. Along with its three position coordinates, it estimates how far its clock is offset from the satellite time reference.That's why the familiar basic explanation calls for measurements from at least four satellites. There are four unknowns: three for position and one for clock offset. The receiver solves them together. It isn't assigning one satellite to latitude, another to longitude, and a fourth to clock duty. Each useful measurement contributes to the combined solution.Imagine our treasure hunt has a troublesome rule. Every distance clue on the sheet is wrong by the same extra amount, but nobody has told you the amount. You need enough independent information to work out both the location and that shared error. Merely drawing more carefully around the first landmark won't fix the missing information.That shared-error picture is simplified, but it explains why the receiver's clock problem changes the geometry problem. Good timing is part of finding a place, not a separate luxury added afterward.You might wonder why such small time errors matter. Light travels an enormous distance in a tiny fraction of a second. A small timing mistake can become a large distance mistake. So the system treats clock behavior as central to navigation.It also has to handle a real atmosphere rather than our imaginary empty delivery route. Signals can be delayed as they pass through different atmospheric layers. Buildings can reflect them, creating indirect paths. Obstructions can make signals hard to receive at all.Picture trying to hear an announcement across a courtyard. An open square and a narrow passage surrounded by tall walls don't give you the same listening conditions. A signal can arrive weakly or by a reflected route. Our ears and a GPS receiver do…

More episodes of Explain One Thing

More episodes

PodSearch is a free, independent podcast search engine. Read about PodSearch, the privacy policy or contact us.