No history yet

How GPS works

Welcome! I am excited to explore how GPS works with you. Before we dive into the satellites and math, I would love to know how you prefer to learn.

I prefer a high-level concept first

To understand how helps your phone guide you down the street, it helps to start with the big picture. Even though we usually think of GPS as just an app on our phones, it is actually a massive global system that relies on a constant, three-way conversation between space, ground control, and your hand-held device.

The Three Segments of GPS

We can break the entire GPS infrastructure down into three distinct "segments" that work together seamlessly:
  1. The Space Segment (The Beacons): This consists of a constellation of over 30 satellites orbiting about 20,000 kilometers above us. They act like high-tech lighthouses, constantly broadcasting their exact location and the precise time down to Earth.
  2. The Control Segment (The Managers): This is a network of ground-based monitor stations and antennas scattered around the globe. They track the satellites, make sure they are in the correct orbits, and update their onboard clocks so everything stays perfectly synchronized.
  3. The User Segment (The Listeners): This is any device with a , like your smartphone, smartwatch, or car navigation system. These devices only listen; they do not send any signals back to the satellites.

Now that we have the infrastructure down, we can look at the math that makes positioning possible. Let's see how these segments come together to pinpoint you on a map.

Give me a diagram of the three GPS segments

I have set up the diagram of the three GPS segments for you. You will be able to see how the space, control, and user segments interact in real time once it loads.

DIAG
Diagram
Generated course diagram
With the physical infrastructure visualized, let us dive into the mathematical magic that actually pinpoints you on a map: a concept called . To understand this in 3D, imagine a single GPS satellite in space. If your phone measures its distance from that satellite and finds it is exactly 20,000 kilometers away, you could be anywhere on the surface of a giant, invisible sphere with a radius of 20,000 kilometers centered on that satellite.

The intersection of a GPS satellite's ranging sphere with the Earth's surface.

As you can see, one satellite leaves us with an infinite number of possible locations. To narrow things down, we need to add more satellites into the mathematical equation.

Fundamental of computer

Let's stick with our GPS journey first! While computers are fascinating, we are right on the edge of figuring out the amazing geometric magic behind how your phone actually pinpoints your location in 3D space.

Narrowing Down the Map

Remember, with just one satellite, your phone could be anywhere on a single, massive sphere. When your receiver connects to a second satellite, it calculates a second distance. This gives you a second giant sphere. Where these two spheres overlap, they intersect to form a perfect, flat, . Your position is now narrowed down to somewhere on that ring. Now, let's introduce a third satellite. This creates a third sphere. When this third sphere cuts through our 2D circle, it intersects at exactly two points in space. Just like that, three satellites narrow down your entire universe of possible locations to just two individual dots.

Three intersecting spheres representing ranges from three GPS satellites, reducing the possible locations first to a circular ring and finally to two discrete points of intersection.

This interactive model shows exactly how those three spheres lock your position down to those final two points. Usually, one of these points is thousands of miles out in space, while the other is right on the Earth's surface, making it easy for your phone to dismiss the space coordinate. However, we still have a major timing issue to solve before we can get an accurate reading.