IoT Interfaces, Location and Privacy · Study deck

GPS Location: Architecture and Error Control

A receiver can see four satellites and still produce a poor fix.

UX Uma is your guide for this deck.

locationawareness
iotclass.org

After studying this chapter

Learning objectives

You will be able to:

  • Explain: In practice, modern receivers process signals from 10-12 satellites simultaneously; additional usable satellites can improve geometry and redundancy, depending on measurement quality, and help detect anomalies.
  • Explain: The system's genius is treating the receiver's cheap clock offset as a solvable unknown rather than requiring expensive atomic clocks in every device.
  • Explain: Temperature Terry knew the answer. "GPS uses a basic 24-slot plan and normally has extra satellites in orbit, about 20,200 kilometers up!
  • Explain: And the satellites are so far away that their signals are incredibly weak when they reach us.
GPS System Overview
GPS System Overview
iotclass.org

Major section

Satellite Synchronization

The clocks in Figure: How are satellites synced show why GPS timing and receiver timing must be treated separately.

  • Each satellite carries an atomic clock so transmitted times share a precise reference.
  • A phone does not carry that clock; it uses incoming satellite signals while estimating its own clock offset.
  • All satellites share time reference.

Key terms

If that location
If that location is wrong, the same travel time points to the wrong geometry.
How are satellites synced
How are satellites synced
iotclass.org

Major section

Satellite Synchronization (continued)

Special Relativity: Satellite clocks run slower due to velocity (~7 μs/day slower).

  • Treating the phone clock as already synchronized would hide a core unknown in the range calculation.
  • A range measurement therefore needs orbit information for the signal's transmission time as well as the measured arrival time.
  • Net Effect: ~38 μs/day faster → must be corrected! (NIST).
Satellite Orbit Monitoring
Satellite Orbit Monitoring
iotclass.org

Major section

GPS Position Calculation

For each satellite, the receiver knows a position from orbit data and measures a range that includes clock error.

  • The model adds true distance, receiver clock offset, and any error left over.
  • Four separate satellite equations can solve three position values and one clock offset.
  • Yet a solution can still be poor.
GPS position calculation
GPS position calculation
iotclass.org

Major section

Position from Satellite Signals

You need to understand how position is derived from raw timing measurements.

  • If the receiver clock is 50 nanoseconds fast, every pseudorange is 15 meters too long.
  • The fourth satellite lets us solve for this offset.
  • In practice, modern receivers process signals from 10-12 satellites simultaneously; additional usable satellites can improve geometry and redundancy, depending on measurement quality, and help detect anomalies.
GPS error-source chart lists typical magnitudes and mitigations for ionospheric and tropospheric delay, satellite clock, ephemeris, multipath, and receiver noise. The bars use the largest listed typical error as a visual reference, alongside a signal-strength note from transmitter to receiver.
GPS error sources
iotclass.org

Major section

Key Takeaway

GPS is an inverted TDoA system where satellites broadcast synchronized time signals and receivers calculate position from pseudoranges.

  • Four satellites are the minimum (3 position unknowns + 1 clock offset), while additional usable satellites can improve geometry and redundancy depending on measurement quality.
  • The system's genius is treating the receiver's cheap clock offset as a solvable unknown rather than requiring expensive atomic clocks in every device.
  • The biggest practical limitations are multipath (signal reflections in cities) and weak satellite signals that are often blocked or degraded indoors.
iotclass.org

Major section

For Kids: Meet the Sensor Squad!

"But how does that help?" asked Lila.

  • GPS is like playing Marco Polo with satellites in SPACE!
  • "How does my phone know where I am?" asked the LED one day, staring at the blue dot on a map.
  • "So GPS is really about TIME, not just PLACE!" realized Lila.

Key terms

And the satellites
And the satellites are so far away that their signals are incredibly weak when they reach us.
iotclass.org

Major section

For Kids: Meet the Sensor Squad! (continued)

Temperature Terry knew the answer. "GPS uses a basic 24-slot plan and normally has extra satellites in orbit, about 20,200 kilometers up!

  • Each one is basically shouting 'I'M HERE and the time is 3:00:00.000000!'".
  • "That's TRILATERATION!" cheered the battery. "GPS works the same way, but instead of friends shouting, it's satellites sending time signals.
  • Your phone calculates how far each satellite signal traveled by how long it took to arrive.".
  • And the satellites are so far away that their signals are incredibly weak when they reach us.
iotclass.org

Major section

Concept Relationships

Contrasts with: Indoor Positioning which requires entirely different technologies where satellite signals fail.

  • Atomic clocks: Satellite Synchronization explains why GPS provides an authoritative time source for distributed IoT systems.
  • Multipath: Wireless Fading and Interference explains why signal reflection affects all RF systems, not just GPS.
  • Case study: Urban IoT Challenges Manhattan multipath problem affects all outdoor location services.
iotclass.org

Deck summary

Key takeaways

The clocks in Figure: How are satellites synced show why GPS timing and receiver timing must be treated separately.

  • Special Relativity: Satellite clocks run slower due to velocity (~7 μs/day slower).
  • For each satellite, the receiver knows a position from orbit data and measures a range that includes clock error.
  • You need to understand how position is derived from raw timing measurements.
  • GPS is an inverted TDoA system where satellites broadcast synchronized time signals and receivers calculate position from pseudoranges.
iotclass.org

Retrieval practice

Recall check 1 of 4

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

Q1Why does GPS require at least 4 satellites to calculate a position?

ATo add redundancy if one satellite measurement fails during the position solution
BTo solve four unknowns: x, y, z position and receiver clock offset
CTo average out random errors, which helps later but is not the minimum reason
DBecause GPS uses a special quadrilateral geometry instead of range equations
Show answer

Answer: B GPS position calculation involves 4 unknowns: the receiver's 3D position (x, y, z) plus the receiver's clock offset from GPS time.

iotclass.org

Retrieval practice

Recall check 2 of 4

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

Q2What is a "pseudorange" in GPS terminology?

ATrue range plus receiver-clock error.
BAn approximate distance calculated from signal strength
CRange to the closest satellite in view.
DA fictitious range used only in receiver testing.
Show answer

Answer: A A pseudorange is the measured distance to a satellite, which includes the actual geometric distance plus an error term caused by the receiver's clock offset from GPS time.

iotclass.org

Retrieval practice

Recall check 3 of 4

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

Q3Why does 1 microsecond of GPS receiver-clock error add about 300 metres to a pseudorange measurement?

ASpeed of light x 1 us = 300 meters
BGPS satellites move at 300 km/s
CAtmospheric delays cause this correlation
DSatellite orbits are 300 km apart
Show answer

Answer: A GPS positioning uses time-of-flight ranging where distance = speed of light × time.

Q4What tells a map user about uncertainty and supplies a safe fallback when a GPS fix is inexact?

ASatellite Signals and Clock
BMap Experience and Safe Action
CReceiver Fix and Quality
Show answer

Answer: B The experience must communicate uncertainty and preserve a safe fallback instead of treating every fix as exact.

iotclass.org

Retrieval practice

Recall check 4 of 4

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

Q5Complete the form validation for IoT device configuration:

Aconst deviceName = form.querySelector('[name="device-name"]').value;
Bconst deviceName = form.getValue('device-name');
Cconst deviceName = form['device-name'];
Dconst deviceName = form.find('device-name').text;
Show answer

Answer: A querySelector() with attribute selectors finds form fields.

Q6A receiver sees enough satellites, but its fix worsens beside tall buildings. Which evidence should the team inspect?

AInspect satellite count as proof of fix accuracy.
BInspect map icon colour as multipath evidence.
COnly the stored destination name in the app.
DGeometry and reflected paths can degrade the fix.
Show answer

Answer: D Poor geometry and multipath can degrade a fix even with enough signals.

iotclass.org

Print reference

Answers 1 of 2

Answer key.

  1. B · GPS position calculation involves 4 unknowns: the receiver's 3D position (x, y, z) plus the receiver's clock offset from GPS time.
  2. A · A pseudorange is the measured distance to a satellite, which includes the actual geometric distance plus an error term caused by the receiver's clock offset from GPS time.
  3. A · GPS positioning uses time-of-flight ranging where distance = speed of light × time.
iotclass.org

Print reference

Answers 2 of 2

Answer key.

  1. B · The experience must communicate uncertainty and preserve a safe fallback instead of treating every fix as exact.
  2. A · querySelector() with attribute selectors finds form fields.
  3. D · Poor geometry and multipath can degrade a fix even with enough signals.
iotclass.org