Lab 10: The Spheres Again


Due: November 11, 2003.

Given: The data from Lab 5. Specifically, you have signals from three GPS "satellites." These satellites live in a two-dimensional world and they transmit from these X,Y coordinates (in ambiguous units) :

My answer from Lab 5 (i.e the minimum of the contours).

Now we'll use least squares. Unlike the polynomial case, the observations in this example (the ranges) are not linearly related to what we want to know - where the GPS receiver is. We'll need to linearize the equations. This is directly analogous to the GPS case, without the complications (like clocks).

Steps to follow:

  1. Make a guess of the receiver location. I'll call its coordinates Xro and Yro.
  2. Linearize the measurement equations

    where

  3. Calculate prefit residual l, i.e. observed range (radius of the circle) minus model range ()

  4. Define your A matrix (superscripts are satellites, subscripts are receivers):

  5. is defined as (ATA)-1ATl.
  6. Your receiver location is Xro+ and Yro+ .
  7. Use this new location as your new nominal coordinates and iterate until your position solution converges.

Turn in:

Your receiver location and code.