Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > sci.electronics.design > #376646
| From | rickman <gnuarm@gmail.com> |
|---|---|
| Newsgroups | sci.electronics.design |
| Subject | Re: low pass filter in PC soundcard? |
| Date | 2015-09-12 11:42 -0400 |
| Organization | A noiseless patient Spider |
| Message-ID | <mt1h28$hl6$1@dont-email.me> (permalink) |
| References | (8 earlier) <slrnmv7nfp.mf.nomail@xs9.xs4all.nl> <mt0mvb$n84$1@dont-email.me> <slrnmv7ob0.mf.nomail@xs9.xs4all.nl> <mt1d4m$2u3$1@dont-email.me> <slrnmv8hab.2kp.nomail@xs9.xs4all.nl> |
On 9/12/2015 11:31 AM, Rob wrote: > rickman <gnuarm@gmail.com> wrote: >> On 9/12/2015 4:25 AM, Rob wrote: >>> rickman <gnuarm@gmail.com> wrote: >>>> When you say "nanosecond system clock" you are referring to some >>>> software clock, not a hardware timer, right? Again, I am not familiar >>>> with any hardware in a PC to support such an adjustable clock. I can >>>> picture how this might be workable. Again, pretty clever I think for a >>>> designer to convince him/herself this could work well. I'm used to PCs >>>> being very poor at timing anything. >>> >>> You probably were using Windows? >>> Linux is much better at timing, and I sometimes hear BSD is even better. >>> >>> In Linux there are several API calls to return a time in nanoseconds, >>> which can be things like uptime, UTC time, etc. I think the system >>> just keeps an offset value for all of them, to be added to the momentary >>> value of the "hardware" time it reads at that moment. >>> As those "hardware" time counters have a small wraparound interval, there >>> also is an extension of that in a software field. >>> >>> Those details are in the kernel and not visible to the application. >>> >>> The chrony time adjustment program displays stats like this: >>> >>> Reference ID : 80.80.83.0 (PPS) >>> Stratum : 1 >>> Ref time (UTC) : Sat Sep 12 08:23:20 2015 >>> System time : 0.000000100 seconds fast of NTP time >>> Last offset : +0.000000125 seconds >>> RMS offset : 0.000000466 seconds >>> Frequency : 11.184 ppm slow >> >> Having a clock that returns nanosecond resolution is one thing. Having >> accuracy and precision to any given level is another. > > The above status means that the average timestamp returned at a PPS > interrupt is only about 466ns off the seconds mark. The last one was > 125ns off. There could be an additional fixed offset because of the > constant time it takes to handle those interrupts, but it is not that > important in our application because it should be roughly the same on > all nodes. That is one of the things that isn't so obvious to me. But if the numbers show the interrupt response time is stable, then it must work. >> I designed a board to convey the IRIG-B time code signal across an IP >> network, but to this day I am not fully aware of how they can keep the >> mechanism synchronized across the network. I am amazed that the various >> delays can be calibrated out with any precision or accuracy. > > That is why we don't use network time (NTP) for the final locking. > We use NTP only to get "coarse time" and to sync those systems that > are not transmitting nodes. The transmitting nodes are synced to 1PPS > signals from a GPSDO, that also provides 10 MHz as a reference for the > transmitter frequency. > > Over-the-air measurements of installed transmitters indicate that we are > within 10us of synchronous transmission. It does not make much sense > to further improve on that (may be possible by doing everything in hardware) > because 10us is equivalent to only 3km of path length at the speed of > radio waves, so a similar difference occurs all the time due to difference > in distance from the transmitters. Then Bob's your uncle! I'd like to do more with time references. I haven't had the opportunity yet. -- Rick
Back to sci.electronics.design | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
low pass filter in PC soundcard? Rob <nomail@example.com> - 2015-09-10 12:46 +0000
Re: low pass filter in PC soundcard? John Larkin <jjlarkin@highlandtechnology.com> - 2015-09-10 07:23 -0700
Re: low pass filter in PC soundcard? Rob <nomail@example.com> - 2015-09-10 15:11 +0000
Re: low pass filter in PC soundcard? rickman <gnuarm@gmail.com> - 2015-09-11 14:41 -0400
Re: low pass filter in PC soundcard? Rob <nomail@example.com> - 2015-09-11 19:38 +0000
Re: low pass filter in PC soundcard? rickman <gnuarm@gmail.com> - 2015-09-11 17:42 -0400
Re: low pass filter in PC soundcard? Rob <nomail@example.com> - 2015-09-12 06:49 +0000
Re: low pass filter in PC soundcard? rickman <gnuarm@gmail.com> - 2015-09-12 03:26 -0400
Re: low pass filter in PC soundcard? Rob <nomail@example.com> - 2015-09-12 08:10 +0000
Re: low pass filter in PC soundcard? rickman <gnuarm@gmail.com> - 2015-09-12 04:17 -0400
Re: low pass filter in PC soundcard? Rob <nomail@example.com> - 2015-09-12 08:25 +0000
Re: low pass filter in PC soundcard? rickman <gnuarm@gmail.com> - 2015-09-12 10:35 -0400
Re: low pass filter in PC soundcard? Rob <nomail@example.com> - 2015-09-12 15:31 +0000
Re: low pass filter in PC soundcard? rickman <gnuarm@gmail.com> - 2015-09-12 11:42 -0400
Re: low pass filter in PC soundcard? upsidedown@downunder.com - 2015-09-12 12:00 +0300
Re: low pass filter in PC soundcard? dplatt@coop.radagast.org (Dave Platt) - 2015-09-10 13:07 -0700
Re: low pass filter in PC soundcard? Rob <nomail@example.com> - 2015-09-11 08:09 +0000
Re: low pass filter in PC soundcard? rickman <gnuarm@gmail.com> - 2015-09-11 14:45 -0400
Re: low pass filter in PC soundcard? Rob <nomail@example.com> - 2015-09-11 19:33 +0000
Re: low pass filter in PC soundcard? "Tim Williams" <tmoranwms@charter.net> - 2015-09-10 15:17 -0500
Re: low pass filter in PC soundcard? Rob <nomail@example.com> - 2015-09-11 07:52 +0000
csiph-web