Re: GPS timing - amazing that it actually works



peter <prathman@xxxxxxxxxxx> writes:

It also helps to realized that most hardware and software only needs to
measure and preserve nanosecond-scale *differences* in timing in order
to calculate position accurately. A hardware design that adds delay to
the GPS signals, but affects the signals from all satellites equally,
has no effect on the final position calculated.

So let's say I have a hardware design that adds a one-second delay to
all signals.

As you note, this is a ridiculous example. In a system with nanosecond
differential resolution, added delays common to all satellites are
likely to be in the microsecond range or smaller. But let's continue
anyway.

The receiver then uses the broadcast ephemeris data to
determine the exact satellite positions where they were one second ago
rather than where they are now. The position calculation is done
using the time differences observed between the different satellites
together with the information about the absolute satellite positions
at the current time. If those satellite positions are off because of
an overall timing delay then I'd expect the calculated position to be
off by about the same order of magnitude (and the satellites move a
few miles in a single second).

The receiver has no idea of absolute time; it only sees the time-related
signals transmitted by the satellites. To calculate its position, it
only has the difference in delay experienced by satellites in different
positions. There is no "current time" source independent of the
satellite signals (except a time of day clock used during acquisition,
and it is reset once the receiver begins navigating).

To calculate its position, a GPS receiver has to essentially assume
that it is located on the surface of a sphere at some distance from
each satellite, based on the time of light delay of the signal. It
knows the time the signal was sent (timing being embedded in the signal
structure), but it doesn't know the time of reception precisely, so
there's some error in the radius of the sphere. With multiple signals
from multiple satellites, the receiver can calculate multiple spheres -
and all of them share the same error in radius due to any local clock
error. With enough signals from well-spaced satellites (at least 4),
the spheres in general *do not* intersect in a common point when there
is a clock error. So the receiver can (effectively) solve for the value
of the local clock error by varying it and finding the value for which
the N spheres come closest to intersecting in a single point. When
that's done, the intersection point is the receiver's location (actually
the antenna location), while the calculated clock error allows correcting
the local receiver clock for any error common to all signals.
Essentially, the GPS receiver knows what time each signal was sent, and
can calculate the current local time assuming time-of-flight delays are
the only delays.

Adding delay uniformly to this system looks exactly like a local clock
error, and it's automatically removed by the navigation solution. It
affects the calculated time, but not the position. Since the receiver
has no independent way of determining time, it's not even aware of the
extra delay, so the time output will be wrong by the amount of the
delay.

You could record GPS signals at a particular location with a sensitive
receiver, delay them for one second, one hour, or one day - any amount
really. When played back into a GPS receiver, it will tell you the
position and time *that the signal was originally acquired*, no matter
how long the signal was delayed since then. (Well, let's assume that
the delay is less than 1024 weeks, since the GPS time repeats after
that amount of delay).

Of course signal delays will generally be much smaller than a second.

Of course, but it doesn't matter whether the delay is 10 ns or 10
days. A GPS receiver calculates position and time entirely by
measurements of the satellite signals, with no independent outside
reference. (This applies to standalone GPS receivers, but probably not
to the assisted GPS used by cellphones).

Dave
.



Relevant Pages

  • Expert Advice: Surveyors Ask About Civil P(Y) Sunset
    ... The October webinar focused on the Department of Defense decision to discontinue supporting Pon GPS L1 and L2 for civilian users after December 31, ... In other words, your legacy dual-frequency GPS receivers may end up operating past December 31, 2020, without any problems. ... The only changes happening before 2010 are that a couple more Block IIR-M satellites will be launched. ... L5 signals, for example, should have lower multipath contamination and also less noise at low elevation angles. ...
    (sci.geo.satellite-nav)
  • Re: GPS Vs COMPASS
    ... keeping my Silva 4 in the map bag I've seen many times when my 16 channel GPS cannot sync with enough satellites to get a good enough fix, and sometimes locating me off cliffs. ... Very dense local cloud cover containing a large amount of water content can easily divert or impede a signal therefore giving a smaller QoS and phase changes in signals. ... It is also a possibility that your GPS receiver is not very healthy :-( what model is it? ...
    (uk.rec.walking)
  • Re: Re: Solar Bursts May Threaten GPS
    ... Many times they are launched as spares. ... Current GPS broadcast to signals, one for civilian usage and the other ... the known positions of satellites and calculate your position. ...
    (rec.outdoors.rv-travel)
  • Re: iPhone location
    ... is and in low GPS signal conditions, ... ephemeris information from the GPS satellites, ... so it can compare fragmentary signals relayed to it ... then inform the cell phone or emergency services of the cell phone's ...
    (uk.telecom.mobile)
  • Re: GPS Ideas
    ... I was thinking that one could attach to each satellites two frequencies ... The data that the satellite transmits would include the distance from ... signals to each other too and some power would be wasted. ... GPS receiver. ...
    (sci.electronics.design)