3.5.18Guidance, Navigation & Control (GNC)

GPS — pseudorange, trilateration, dilution of precision

2,258 words10 min readdifficulty · medium

1. WHY does GPS need "pseudo"-ranges?

WHY the cbc\,b term is the same for every satellite: the receiver has one clock. Whatever it is fast/slow by, it corrupts all measurements identically. That single shared unknown is the whole trick — it makes bb solvable.


2. Trilateration — deriving the position from scratch

The unknowns

We have 4 unknowns: x,y,zx, y, z (position) and bb (clock bias). So we need 4 equations → 4 satellites.

ρi=(xxi)2+(yyi)2+(zzi)2+cb,i=1,2,3,4\rho_i = \sqrt{(x-x_i)^2+(y-y_i)^2+(z-z_i)^2} + c\,b, \qquad i=1,2,3,4

HOW to solve: linearize about a guess (this is what real receivers do)

Figure — GPS — pseudorange, trilateration, dilution of precision

3. Dilution of Precision (DOP) — how geometry amplifies errors


4. Worked examples


5. Common mistakes (steel-manned)


6. Flashcards

What is a pseudorange?
The measured satellite-to-receiver distance c(trxttx)c(t_{rx}-t_{tx}), equal to the true range plus cbc\,b where bb is the unknown receiver clock bias.
Why does GPS need a minimum of 4 satellites (not 3)?
There are 4 unknowns — 3 position coordinates and 1 clock bias — so 4 equations (satellites) are needed.
Why is the receiver clock bias the same in every pseudorange?
There is a single receiver clock, so its offset bb contaminates all measurements identically — making it solvable as one shared unknown.
What is the geometry matrix GG made of?
Rows are the line-of-sight unit vectors from each satellite to the receiver, with a final column of 1's for the clock (cbcb) term.
State the covariance of the position solution.
Cov(Δx)=σUERE2(GG)1\mathrm{Cov}(\Delta\mathbf x)=\sigma_{\text{UERE}}^2 (G^\top G)^{-1}.
Define PDOP and the position-error relation.
PDOP =qxx+qyy+qzz=\sqrt{q_{xx}+q_{yy}+q_{zz}} from Q=(GG)1Q=(G^\top G)^{-1}; position error σpos=PDOP×σUERE\sigma_{pos}=\text{PDOP}\times\sigma_{\text{UERE}}.
Does DOP depend on the measurements?
No — only on satellite geometry (GG). Lower DOP = better geometry.
What geometry gives a bad (high) DOP?
Satellites clustered together / nearly collinear line-of-sight vectors, making GGG^\top G near-singular (small determinant).
Convert a 1μs1\,\mu s clock bias to a range error.
cb=3×108×106=300c\,b = 3\times10^8\times10^{-6}=300 m.

Recall Feynman: explain it to a 12-year-old

Imagine you're blindfolded and friends far away shout "NOW!" at the same instant. You hear each shout a bit later because sound takes time — the farther the friend, the longer the delay. If you knew exactly how long each shout took, you could figure out where you're standing. GPS does this with radio "NOW!"s from satellites. One problem: your stopwatch is broken and always off by the same little amount. Luckily, if you listen to four friends instead of three, the math can figure out both where you are and how broken your stopwatch is at the same time. And if all four friends are bunched together in the same corner of the sky, your guess is fuzzy; if they're spread all around you, your guess is sharp. That spreading-out quality is called DOP.

Connections

  • Trilateration and Multilateration — geometric root of the method.
  • Least Squares Estimation — solves the over-determined Δρ=GΔx\Delta\boldsymbol\rho=G\Delta\mathbf x.
  • Kalman Filter in GNC — recursive successor that fuses pseudoranges over time.
  • Clock Bias and Atomic Clocks — why the 4th unknown exists.
  • Covariance Propagation — the machinery behind the DOP derivation.
  • Reference Frames — ECEF and WGS84 — coordinate system for (xi,yi,zi)(x_i,y_i,z_i).
  • Time of Flight and Ranging — the cΔtc\Delta t physics.

Concept Map

stamps t_tx

notes t_rx

has unknown bias b

c times t_rx minus t_tx

adds c times b to all

equals true range plus c b

sphere around satellite

4th unknown

needs 4 equations

requires

Taylor expand about guess

gradient gives

Satellite atomic clock

Radio signal

Receiver quartz clock

Clock bias b

Pseudorange rho_i

Geometric range r_i

Trilateration

Unknowns x y z b

4 satellites

Linearized system

Line-of-sight unit vectors

Hinglish (regional understanding)

Intuition Hinglish mein samjho

Dekho, GPS ka basic funda simple hai: har satellite apne signal pe exact transmit time stamp kar deta hai (uske paas atomic clock hai). Receiver dekhta hai ki signal kab pahuncha, aur time difference ko cc se multiply karke distance nikaalta hai. Problem ye hai ki receiver ki clock sasti hai — thodi fast ya slow hoti hai. Is wajah se jo distance milta hai wo pura sach nahi hota, usme ek extra cbc\,b term ghusa hota hai (yaha bb = clock bias). Isiliye ise pseudorange kehte hain, seedha "range" nahi.

Ab trilateration: ek satellite bolta hai "tum meri sphere pe kahin ho," teen satellites milkar ek point pin kar dete hain. Par yaha ek chhupa hua unknown hai — clock bias bb. Total unknowns 4 ho gaye: x,y,zx, y, z aur bb. Isiliye kam se kam 4 satellites chahiye. Chautha satellite ka kaam hi yahi hai ki clock error bhi solve ho jaaye. Bas 3 se kaam nahi chalega, chahe geometry class me kuch bhi padha ho — kyunki wahan clock ka concept nahi tha.

DOP (Dilution of Precision) ye batata hai ki satellite ki geometry tumhare error ko kitna badha degi. Socho agar saare satellites aasman ke ek hi kone me hain — unki spheres bahut halke angle pe cut karti hain, aur chhoti si measurement galti bhi position ko bahut faila deti hai. Agar satellites chaaro taraf spread hain, toh spheres tez angle pe cut karti hain aur point sharp banta hai. Formula: position error == PDOP ×σUERE\times \sigma_{\text{UERE}}. Yaad rakho — DOP sirf geometry pe depend karta hai, measurement quality pe nahi. Isiliye kam DOP hamesha better. Mantra: "4 se fix, spread se slick."

Go deeper — visual, from zero

Test yourself — Guidance, Navigation & Control (GNC)

Connections