UX Design · Study deck

GPS Location: Ranging Methods

A GPS receiver measures travel time, not a dot on a map.

UX Uma is your guide for this deck.

locationawareness
UX Uma, the module guide, in a scene from this chapter.
iotclass.org

After studying this chapter

Learning objectives

You will be able to:

  • Explain GPS/GNSS Architecture: Describe the space, control, and user segments of satellite navigation systems
  • Calculate Positioning from Satellites: Apply Time of Flight and TDoA principles to determine position
  • Diagnose Multipath Effects: Distinguish how signal reflections degrade positioning accuracy in different environments
  • Justify Clock Synchronization: Explain why atomic clocks are essential and demonstrate how pseudoranges compensate for receiver clock errors
iotclass.org

Major section

Phoebe's Field Notes: Why the Pseudorange Needs a Fourth Satellite

The mathematical gist.: Light needs about 67.4 ms to cross the chapter's 20,200 km orbit-scale distance.

  • A 1 µs receiver-clock error becomes 299.8 m of pseudorange error, while a 3.00 m target requires about 10.0 ns timing precision.

Numbers to remember

3.00 mwhile a 3.00 m target requires about 10.0 ns timing precision.
iotclass.org

Major section

GPS and Outdoor Positioning

GPS (Global Positioning System) works by measuring the time it takes for radio signals to travel from satellites to your device.

  • With signals from at least 4 satellites, a receiver can calculate its 3D position.
  • The math is elegant but the engineering is challenging: signals travel at the speed of light, so a 1 microsecond clock error means 300 meters of position error -- which is why satellites carry atomic clocks.
  • The biggest real-world challenge is multipath -- signals bouncing off buildings in cities can degrade accuracy from 5 meters to 50+ meters.
iotclass.org

Major section

GPS Timing as Product Context

GPS/GNSS is not just a map dot.

  • The product decision is what the system should do with that context: show a vehicle route, confirm a gate arrival, enforce a geofence, steer a machine, timestamp a field event, or refuse an unsafe automation.
  • Good outdoor location design starts by separating the fix lifecycle from the user promise.

Why it matters

That distinction matters because the same receiver can be excellent in one context and misleading in another.

A GPS product should treat the coordinate as the output of satellite timing, pseudorange, and receiver clock-offset solving, not as an isolated latitude and longitude value.
A GPS product should treat the coordinate as the output of satellite timing, pseudorange, and receiver clock-offset solving, not as an isolated latitude and longitude value.
iotclass.org

Major section

GPS Timing as Product Context (continued)

A receiver may be searching, downloading assistance data, using a two-dimensional fix, using a three-dimensional fix, coasting on dead reckoning, or reporting a stale position after losing sky view.

  • The interface should not show all of those states as the same precise blue dot.
  • A field sensor with a clear antenna view may produce stable fixes every few minutes.
  • The product should expose the quality difference before it triggers an action.
iotclass.org

Major section

GPS Timing as Product Context (continued)

A courier phone in an urban canyon may report plausible but wrong locations because reflected signals make pseudoranges too long.

  • A safety geofence should require dwell time, accuracy radius, and current timestamp instead of accepting a stale point inside the boundary.
  • Acquisition: cold start, warm start, assisted GPS, and time-to-first-fix affect what a user sees during setup and recovery.
  • That distinction matters because the same receiver can be excellent in one context and misleading in another.
iotclass.org

Major section

Receiver State Machine Design

During setup, record whether the device has a valid time source, recent almanac, recent ephemeris, enough satellites, acceptable HDOP, and a clear antenna view.

  • For battery IoT devices, the correct update rate is rarely "as fast as possible." A livestock collar, rental scooter, delivery app, and safety beacon have different duty cycles.
  • A dashboard can show a stale position with a timestamp and grey styling.
  • A dispatch workflow can route a driver only after speed, heading, and map-matched road segment agree.
  • Those rules make uncertainty operational instead of leaving support staff to explain why a blue dot looked exact.
iotclass.org

Major section

Under the Hood: The Fix Is a Pipeline

A practical GNSS pipeline starts with RF acquisition and ends with a position, velocity, and time solution.

  • The product should keep the quality fields near the coordinate.
  • The receiver clock is the reason GPS needs at least four satellites for a full fix.
  • Each satellite gives one pseudorange equation.

Why it matters

Good geometry does not remove all error, but poor geometry can make otherwise valid measurements produce a weak position.

iotclass.org

Major section

Under the Hood: The Fix Is a Pipeline (continued)

Assistance and correction services change the pipeline.

  • If a cloud service or map layer changes the coordinate, keep both the raw fix and the processed position so operations teams can distinguish receiver behavior from product logic.
  • The unknowns are receiver x, y, z, and receiver clock offset from GNSS time.
  • Assisted GNSS can provide approximate time, approximate location, almanac, or ephemeris data over a network to reduce time-to-first-fix.
iotclass.org

Major section

Under the Hood: The Fix Is a Pipeline (continued)

Once more than four satellites are available, the solver can use an overdetermined least-squares solution and report dilution-of-precision values that describe the geometry.

  • For the counterexample, leave every satellite coordinate, pseudorange, clock term, and noise value unchanged and vary only the enabled measurements from three to four.
  • SBAS, DGPS, RTK, or PPP can reduce some satellite, clock, and atmospheric errors when the receiver and service support them.
  • Those features should be represented in product metadata because a centimeter-capable RTK rover in fixed mode is making a different claim from a phone-grade coarse fix.
iotclass.org

Major section

Under the Hood: The Fix Is a Pipeline (continued)

Cold-start risk: without valid time, location, almanac, or ephemeris, first fix can be slow; assisted data over SUPL or a vendor service changes startup behavior.

  • Urban risk: multipath and blocked sky can pass through the solver as plausible coordinates; map matching and inertial smoothing help but can also hide real uncertainty.
  • System risk: a geofence, route, or safety command should consume the quality-aware location event, not a naked latitude/longitude pair.
  • Good geometry does not remove all error, but poor geometry can make otherwise valid measurements produce a weak position.
iotclass.org

Major section

Global Navigation Satellite Systems

“GPS” is often used as shorthand for satellite positioning, but a receiver may combine several constellations with different orbital and service characteristics.

  • GPS (Global Positioning System): The first and most widely deployed Global Navigation Satellite System (GNSS), which has come to dominate outdoor positioning.

Key terms

GLONASS
GLONASS is shown separately with 24 operational satellites and 5–10 m civilian accuracy, while Galileo reports a different operator and 1–3 m class.

Numbers to remember

5–10 m5–10 m civilian accuracy, while : Galileo reports a different operator
1–3 mwhile : Galileo reports a different operator and 1–3 m class.
Diagram showing GNSS systems worldwide with satellite counts and accuracy specifications.
Diagram showing GNSS systems worldwide with satellite counts and accuracy specifications.
iotclass.org

Major section

Time Difference of Arrival (TDoA)

Any single range is wrong, but every range is wrong by the same amount.

  • These erroneous ranges are called pseudoranges.
  • 3D position + clock offset = 4 unknowns → need 4 satellites.
  • GPS uses the same idea in reverse: the expensive clocks are in space, and the receiver solves its own cheap clock error as part of the position.
Time difference of arrival
Time difference of arrival
iotclass.org

Deck summary

Key takeaways

The mathematical gist.: Light needs about 67.4 ms to cross the chapter's 20,200 km orbit-scale distance.

  • GPS (Global Positioning System) works by measuring the time it takes for radio signals to travel from satellites to your device.
  • GPS/GNSS is not just a map dot.
  • A receiver may be searching, downloading assistance data, using a two-dimensional fix, using a three-dimensional fix, coasting on dead reckoning, or reporting a stale position after losing sky view.
  • A courier phone in an urban canyon may report plausible but wrong locations because reflected signals make pseudoranges too long.
iotclass.org

Retrieval practice

Recall check

UX Uma says: answer from memory, then check your reasoning.

Q1A GPS-based delivery tracking app works well in suburban areas but shows the driver jumping between streets in downtown. What is the primary cause?

AA weak phone antenna that only fails downtown, even though the same receiver works in suburbs
BMultipath reflections from GPS signals bouncing off downtown buildings
COnly fewer visible satellites, without reflected signals corrupting the measured ranges
DCell towers interfering with GPS, even though they use different radio bands
Show answer

Answer: B Multipath interference in urban canyons causes GPS signals to reflect off buildings, degrading accuracy from 5-10m to 50+ meters.

iotclass.org

Print reference

Answers

Answer key.

  1. B · Multipath interference in urban canyons causes GPS signals to reflect off buildings, degrading accuracy from 5-10m to 50+ meters.
iotclass.org