Oboe
No history yet

How GPS works

Welcome! It's great to have you here. Before we dive into the satellites and signals, I'd love to know a bit about your background so I can make this as fun and relevant as possible.

To help me tailor this explanation, could you tell me a little about your background with physics or technology, or perhaps why you're interested in how GPS works?

I have a technical background and want to understand the deep physics.

Since you have a technical background, we can skip the hand-waving and dive straight into the deep physics and mathematics that make global positioning possible. Before we look at the math of signal propagation, let's establish our structural foundation.

The Architecture of Global Positioning

To understand the system, we first need to distinguish between the generic technology and the specific service. While we casually use "GPS" as a catch-all term, GPS itself is actually just one specific, U.S.-owned system within the broader category of .
Any GNSS, including GPS, is divided into three distinct segments that work in constant feedback loops:
  1. The Space Segment: A constellation of over 30 satellites in medium Earth orbit (around 20,200 kilometers altitude). Each satellite carries highly stable that are synchronized to a master time scale.
  2. The Control Segment: A global network of ground stations that continuously tracks the satellites' orbits, monitors their clock drift, and uploads corrections to ensure their broadcast telemetry remains perfectly accurate.
  3. The User Segment: The receivers, antennas, and processors in devices like your smartphone or vehicle that capture and decode the satellite signals.
Now, let's look at the underlying physics. The core mechanism is a time-of-flight measurement called pseudoranging. Let's see how we mathematically represent the basic physical relationship between propagation delay and distance.
pi=c(trxttx,i)p_i = c \cdot (t_{\text{rx}} - t_{\text{tx}, i})
By measuring this propagation delay across multiple satellites, we can set up a system of equations to solve for our exact coordinate position. Shall we look at how we resolve that local receiver clock bias, or would you prefer to dive straight into the hardware segments?

Make me a diagram of the three GPS segments.

You got it! Visualizing how these segments fit together is a great way to cement the architecture before we tackle the math. I've initiated a diagram of the GPS ecosystem showing the Space, Control, and User segments working together.

DIAG
Diagram
Generated diagram

This diagram lays out how the ground stations monitor the satellites, which in turn beam down precise timing codes to your receiver. Now that we have the physical infrastructure mapped out, we can tackle how we resolve the local clock bias mathematically.

Because your receiver does not have an expensive atomic clock, its local time trxt_{\text{rx}} is offset from the synchronized satellite time by a clock bias, which we write as dtrd_{\text{tr}}.