From: "Eric S. Raymond" <esr@thyrsus.com>
To: Dave Hart <hart@ntp.org>
Cc: thumbgps-devel@lists.bufferbloat.net, questions@lists.ntp.org
Subject: Re: [Thumbgps-devel] good paper on timing and delay
Date: Tue, 22 May 2012 11:15:17 -0400 [thread overview]
Message-ID: <20120522151517.GA448@thyrsus.com> (raw)
In-Reply-To: <CAMbSiYCi9uDpMg=ekG57Yik7+JP7QHEorvEY1AmYtujNmhBPmQ@mail.gmail.com>
Dave Hart <hart@ntp.org>:
> > So, the possibly simplistic question is, if our network time sync programs
> > used the same algorithm that the GPS receivers use to read their "servers",
> > ie satellites, which all have variable and perhaps somewhat asymmetric
> > propagation delays, which can be substantial, would we be able to achieve
> > much greater levels of accuracy doing synchronization via the internet?
>
> GPS birds tell the receiver the flight plans of all birds, so the
> receiver knows the dominant factor in the propagation delay, the
> distance between transmitter and receiver. With WAAS reception, even
> more information about delay is provided in the form of atmospheric
> conditions. NTP has a much more difficult row to hoe.
This is true, but Ron might nevertheless be onto something here.
The solver algorithm for position given a bunch of pseudoranges
is irrelevant to anything NTP does. It's straight-up spherical
trigonometry. But...
GPSes also use Kalman filtering to try to back out the effects of
variable ionospheric delay, which manifests as noise in the
pseudorange measurements. The pseudorange noise behaves a lot like
jitter in network packet latencies.
It's possible that Kalman filtering could be useful for cleaning noise
from an NTP server's measurements of propagation delay. It's a general
technique used for all kinds of noisy time series.
From Wikipedia:
The Kalman filter, also known as linear quadratic estimation (LQE), is
an algorithm which uses a series of measurements observed over time,
containing noise (random variations) and other inaccuracies, and
produces estimates of unknown variables that tend to be more precise
than those that would be based on a single measurement alone. More
formally, the Kalman filter operates recursively on streams of noisy
input data to produce a statistically optimal estimate of the
underlying system state.
--
<a href="http://www.catb.org/~esr/">Eric S. Raymond</a>
prev parent reply other threads:[~2012-05-22 15:16 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-05-22 6:41 Dave Taht
2012-05-22 14:07 ` Ron Frazier (NTP)
2012-05-22 14:25 ` Dave Hart
2012-05-22 15:15 ` Eric S. Raymond [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20120522151517.GA448@thyrsus.com \
--to=esr@thyrsus.com \
--cc=hart@ntp.org \
--cc=questions@lists.ntp.org \
--cc=thumbgps-devel@lists.bufferbloat.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox