Try It Yourself

Try It Yourself

animation
gps
positioning
NoteTry It Yourself

Hands-on exercises to understand GPS accuracy and enhancement:

Before collecting phone measurements, work through a signed-noise thought experiment that separates satellite geometry, receiver clock bias, and per-satellite measurement error. Compare the residuals you would expect with GDOP/PDOP: a rank-four solution can exist while poor geometry still amplifies small pseudorange errors.

Treat those expected residuals as simulated evidence, not as a claim about a particular receiver. The field exercise should still record the actual sky view, fix status, reported accuracy, and repeat scatter.

Calculate GPS Error Budget

Use a smartphone GPS app with satellite details:

  1. Record visible satellite count, HDOP, and reported accuracy for 10 different locations
  2. Note environment: open sky, urban canyon, indoors, under trees
  3. Calculate predicted error: UERE × GDOP (assume UERE = 6m from chapter)
  4. Compare predicted vs. reported accuracy

What to observe: Open sky GDOP ≈ 1.5-2.0 (good), urban canyon GDOP ≈ 4-8 (poor). Notice how accuracy degrades with fewer satellites and higher GDOP. Indoors, you may get NO fix or GDOP > 10.

Exercise 2: Simulate DGPS Correction

Visit GPS Visualizer or similar tool:

Record GPS coordinates at one fixed location for 30 minutes (log every 10 seconds). Plot the scatter of positions—you’ll see 5-15 meter spread. Calculate the centroid (average lat/lon)—this simulates a base station’s known position. Apply differential correction: offset = measured - centroid, then correct each point. Plot corrected positions.

What to observe: Uncorrected scatter is 5-15m diameter. After differential correction, scatter reduces to 1-3m. This demonstrates how DGPS removes common-mode errors.

RTK Precision Requirements

Design a scenario requiring RTK:

Crop rows are 50cm apart (standard corn/soybean). Tractor width is 3 meters, so it must stay within 25cm of row centerline. Standard GPS accuracy is 5-10 meters (100× too large!). Calculate: What accuracy margin do you need? Row width: 50cm. Tractor must not exceed 25cm deviation. Safety margin: ±5cm. Required accuracy: ±20cm worst case.

What to observe: RTK GPS delivers 1-2cm accuracy, providing 10× safety margin. DGPS (0.5-1m) would still damage crops. Only RTK meets agricultural precision needs.

Accuracy Challenge

The Sensor Squad entered the “Location Olympics” with three different challenges, each needing a different level of accuracy!

Challenge 1: Find the Pizza Delivery Truck “Which street is the truck on?” asked Temperature Terry. Regular GPS said “Main Street, near the park.” That was close enough! The pizza was only a few minutes away. “5-10 meter accuracy is PLENTY for tracking delivery trucks,” Sammy announced. GOLD MEDAL!

Challenge 2: Guide the Robot Farmer “The robot tractor needs to plant seeds in rows that are only 50 centimeters apart!” said the microcontroller. Regular GPS said “somewhere around here” (5-10 meters off). The tractor ran over three rows of plants! DISASTER!

“We need RTK GPS!” said the battery. They set up a special base station that sent correction signals. Now the tractor knew its position within 2 CENTIMETERS. The rows were perfectly straight! GOLD MEDAL!

Challenge 3: Find the Lost Cat Indoors “Where is Whiskers in the house?” asked the LED. GPS said… nothing. Zero signal indoors!

“GPS doesn’t work inside buildings!” explained Sammy. “The satellite signals are too weak to go through walls. We need BLUETOOTH BEACONS instead!” They put tiny beacons in each room, and now they could tell Whiskers was in the kitchen (probably near the food bowl). GOLD MEDAL!

“Different accuracy for different jobs!” said the Sensor Squad. “Don’t use a ruler when you need a microscope, and don’t use a microscope when you just need a ruler!”

Back to the chapter