Many of us use GPS almost every day – getting directions with mapping apps on our phones, tracking our meal deliveries, logging our running routes – but have you ever stopped to wonder, how GPS works?
Almost all smartphones use GPS technology, so let’s find out what that really means and why having a GPS receiver and a clear view of the sky means you’ll never get lost again.
What is GPS?
When people talk about “GPS”, they usually mean a GPS receiver, but the Global Positioning System (GPS) is a constellation of many satellites that orbit the Earth.gps.gov/systems/gps/space/”>31 in operational orbit and four classified as “reserve” or “unhealthy”).
The US military first developed and implemented this satellite network as a military navigation system, and then opened it up to everyone else.
Each of the 3,000- to 4,000-pound (1,361- to 1,814-kg) solar-powered satellites circles the globe at an altitude of about 12,427 miles (20,000 km), making two complete rotations each day. The orbits are arranged so that four satellites are “visible” in the sky at any time, anywhere on Earth.
A GPS receiver uses these satellites to calculate the exact location of the person operating the device.
How Does GPS Work?
GPS receivers work by finding four or more of these satellites, determining the distance to each one, and using this information to determine their own position.
This operation is based on a simple mathematical principle called trilateration. Trilateration in three-dimensional space can be a bit tricky, so we’ll start with an explanation of simple two-dimensional trilateration.
Trilation 2D
Imagine that you are somewhere in the United States and you are completely lost; for whatever reason, you have no clue where you are. You find a friendly local and asks, “Where am I?” It says, “You are 625 miles from Boise, Idaho.”
This is nice, hard stuff, but not particularly useful on its own. You could be anywhere on a circle around Boise with a radius of 625 miles, like this:
You ask another person where you are, and she says, “You are 690 miles from Minneapolis, Minnesota.” Now you are getting somewhere.
If you combine this information with Boise’s information, you have two circles that intersect. You now know that if you are 625 miles from Boise and 690 miles from Minneapolis, you must be at one of these two intersections:
If a third person tells you that you are 615 miles from Tucson, Arizona, you can eliminate one of the possibilities, because the third circle only intersects one of these points. You now know exactly where you are: Denver, Colorado.
This process is called 2D trilateration because all the intersection points are located on a two-dimensional plane. When we start removing height/height – hello, third dimension – 3D trilatation comes into play.
Trilation 3D
In essence, three-dimensional trilateration is not much different from two-dimensional trilateration, but it is a little more difficult to imagine. Imagine the rays from the previous examples going in all directions. So instead of a series of circles, you get a series of spheres.
If you know that you are 10 miles from satellite A in the sky, you could be anywhere on the surface of a giant imaginary sphere with a radius of 10 miles. If you also know that you are 15 miles from satellite B, you can overlap the first sphere with another larger sphere.
The spheres intersect in a perfect circle. If you know the distance to the third satellite, you will find the third sphere, which intersects this circle at two points.
The Earth itself can act as a fourth “satellite” or sphere; only one of the two possible points will be on the surface of the planet, so you can eliminate the one in space. However, receivers typically look at four or more satellites to improve accuracy and provide precise altitude information.
How GPS Devices Calculate Your Location
To function properly, a GPS device needs to know two things:
-
Location of at least three satellites above you
-
The distance between you and each of those satellites
GPS receivers do both of these things by analyzing high-frequency, low-power radio signals from Earth-orbiting satellites. Better units have multiple receivers, so they can pick up signals from several satellites at the same time.
Radio waves are electromagnetic energy, which means they travel at the speed of light (about 186,000 miles per second, or 300,000 km per second in a vacuum). The receiver can determine how far the GPS signal has traveled by the time it took for the signal to arrive.