Random question: How do online clocks compensate for slow internet / page loadi
FlyingFishFinger
Posts: 461
I was looking for an accurate clock source to adjust my nixie clock to and watch its deviation over time. Since I don't have a GPS or anything, I looked at online clocks (NIST etc), but how accurate are these given page loading times / internet speeds / whatever other factors?
Rafael
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
UC Berkeley '12 EECS
CalSol: UC Berkeley Solar Car
http://calsol.berkeley.edu
KJ6AWU
Rafael
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
UC Berkeley '12 EECS
CalSol: UC Berkeley Solar Car
http://calsol.berkeley.edu
KJ6AWU
Comments
If you use the Network Time Protocol (NTP), you can get much better accuracy. The Wikipedia indicates that you can get time latencies on the order of tens of milliseconds with NTP (en.wikipedia.org/wiki/Network_Time_Protocol).
Post Edited (Mike Green) : 2/17/2010 5:46:13 AM GMT
open cmd.exe(start->run on windows xp)
type in:
ping google.com
look at the time value. I get 101ms, 117ms, 101ms, 52ms
now try
ping propmodule.com
I get 73,73,97,100
as you can see the ms delay can be fairly large and can very a lot even from packet to packet(52ms vs 117ms)
if you need a very accurate time source pick up a cheap gps or use WWV. Personally I like GPS I have several GPS units and they will give you a rock solid time.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
24 bit LCD Breakout Board now in. $24.99 has backlight driver and touch sensitive decoder.
If you have not already. Add yourself to the prophead map
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Tia'Shar Manetheren
"The station radiates 10,000 W on 5, 10, and 15 MHz; and 2500 W on 2.5 and 20 MHz"
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
"puff"...... Smile, there went another one.
http://www.klockit.com/products/dept-159__sku-10144.html
The antenna has three wires, Vcc, GND and 1bps time data.
http://tf.nist.gov/stations/wwvbtimecode.htm
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Martin Hodge
"I like Pie"
Doesn't that answer your question right there?
How are you checking the accuracy of your nixie clock?
If you're only checking it by looking at the visible nixie display, watching the NIST time at a particular nixie digit transition, over several days, then probably the NIST website with no extra compensation would be perfectly fine. 0.2 seconds seems like it would be quite close to the errors you'll get in swinging your eyeballs between displays.
I'm guessing that if you don't have access to a GPS receiver, then you probably don't have access to a receiver than can pick up WWV either.
In fact, the power line 60 Hz frequency is supposed to be maintained to the correct cycle transition counts over the long run to keep power-line wall clocks accurate, so if all you want to do is a rough accuracy check, why not start by using a plugged-in clock?
Yes, I looked at the site. I was wondering how they keep it that accurate for display on anyone's browser [noparse]:)[/noparse]
And, what's your definition of *rough* ? I've been running it for over a week now and it still agrees with my cell phone. So in theory it's fine, but being an engineer I want to know exactly [noparse]:)[/noparse]
Rafael
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
UC Berkeley '12 EECS
CalSol: UC Berkeley Solar Car
http://calsol.berkeley.edu
KJ6AWU
I say that because there can be any number of answers to what "rough" accuracy is, all depending on how far you'd like to go into the hobby. A cell phone comparison may be a perfectly fine measure for some people, but others might want to get into making a much more detailed measurement.
If you were to get a GPS receiver with a one pulse per second digital output, which is fairly common, and you use the propeller's ability to detect pulse edges, I think you could quite easily measure the clock's performance (rate) down to an accuracy in the tens to hundreds of nanoseconds range, if you wanted to. (But I've heard that the time displayed on GPS screens is not necessarily kept particularly accurate, maybe being as much as a second or two off the actual time.)
Error Factors:
1) GPS do not use day light savings time. accounts for 0 or 3600 second depending on time of year and region you live in.
2) GPS do not use leap seconds. This error changes in a non predictive way and is based on the speeding up and slowing down of the earths rotation. I believe at this moment the error is 19 seconds ahead of the correct time.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
24 bit LCD Breakout Board now in. $24.99 has backlight driver and touch sensitive decoder.
If you have not already. Add yourself to the prophead map
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Martin Hodge
"Mmmmm, Biscuits"
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
24 bit LCD Breakout Board now in. $24.99 has backlight driver and touch sensitive decoder.
If you have not already. Add yourself to the prophead map