Author Topic: Digital clocks and A/D converters  (Read 1067 times)

0 Members and 1 Guest are viewing this topic.

Offline CirclotronTopic starter

  • Super Contributor
  • ***
  • Posts: 3180
  • Country: au
Digital clocks and A/D converters
« on: June 01, 2022, 08:32:37 am »
Most digital clocks have a one minute display resolution. That means that even when set right they can be at times  :) up to 60 second in error. I propose that all digital clocks should be set with a 30 second offset so they click over at the half of the minute and therefore be only plus or minus 30 seconds max error. Same deal as an A/D converter having a 1/2 LSB offset so it spans either side of any given value. Who is with me?
 
The following users thanked this post: Siwastaja

Online tom66

  • Super Contributor
  • ***
  • Posts: 6709
  • Country: gb
  • Electronics Hobbyist & FPGA/Embedded Systems EE
Re: Digital clocks and A/D converters
« Reply #1 on: June 01, 2022, 08:55:26 am »
If the average error is 30 seconds in both cases, who loses from either option?
 

Offline tggzzz

  • Super Contributor
  • ***
  • Posts: 19515
  • Country: gb
  • Numbers, not adjectives
    • Having fun doing more, with less
Re: Digital clocks and A/D converters
« Reply #2 on: June 01, 2022, 09:08:38 am »
I propose they should all be Vetinari clocks.

Benefit: that will get people to instinctively understand the difference between precision and accuracy, and that all instruments lie to a greater or lesser extent.

Examples:
https://entertaininghacks.wordpress.com/2015/02/23/vetinari-digital-clock/
There are lies, damned lies, statistics - and ADC/DAC specs.
Glider pilot's aphorism: "there is no substitute for span". Retort: "There is a substitute: skill+imagination. But you can buy span".
Having fun doing more, with less
 
The following users thanked this post: tom66, daqq, pardo-bsso, newbrain, bd139

Offline BrokenYugo

  • Super Contributor
  • ***
  • Posts: 1103
  • Country: us
Re: Digital clocks and A/D converters
« Reply #3 on: June 01, 2022, 04:05:02 pm »
All you need to set one of those within a few seconds is a calibrated clock with a seconds readout, I use time.gov or a cell phone. Set the clock a minute or two behind, then advance it to the correct time just as the beginning of the minute comes up on the cal clock and quickly exit set mode.
 

Offline SiliconWizard

  • Super Contributor
  • ***
  • Posts: 14481
  • Country: fr
Re: Digital clocks and A/D converters
« Reply #4 on: June 01, 2022, 05:28:42 pm »
I dunno what kind of digital clock you've been using. Many these days display seconds, which can be also set.
But even when only the minutes can be set, the non-stupid ones just start at 0 second when you validate the new setting. Meaning you just need to validate the setting when the minute just changes on your reference clock, and there you have an error of only a couple 100s ms, unless your reflexes are compromised.
 

Online Siwastaja

  • Super Contributor
  • ***
  • Posts: 8174
  • Country: fi
Re: Digital clocks and A/D converters
« Reply #5 on: June 01, 2022, 07:07:23 pm »
Obviously, you are absolutely right. If as accurate as possible timekeeping is of importance to you, and for some weird reason you are limited to using hours:minute clock (for example, the clock is integrated part of some control device, and their designers didn't anticipate the importance of high resolution time, hence did not support setting/displaying seconds), you will need to set the clock to show 12:00 at 11:59:30. This way, you halve the absolute error. Nothing special here, it's the usual rounding rule; nearest neighbor instead of floor function.

But usually, you just choose to have enough resolution so that you can ignore rounding. Even in math where you are usually "supposed" to round results of calculations, this is wasted effort because the effect is so small (and if it matters, you should have added one digit anyway). If you go to the lengths of looking at the next digit and making a decision based on it, you could just write it down.
 

Offline SiliconWizard

  • Super Contributor
  • ***
  • Posts: 14481
  • Country: fr
Re: Digital clocks and A/D converters
« Reply #6 on: June 01, 2022, 08:24:51 pm »
If you're very concerned and don't want to have to bother with setting the right time, use a DCF-77 driven clock (if you're in Europe), or a GPS-based one otherwise. (Dunno if there are equivalents to DCF-77 in other parts of the world?)
 

Online TimFox

  • Super Contributor
  • ***
  • Posts: 7951
  • Country: us
  • Retired, now restoring antique test equipment
Re: Digital clocks and A/D converters
« Reply #7 on: June 01, 2022, 08:45:55 pm »
There are many applications, such as Swiss railroads and network broadcasting, where one needs to do something at the "stroke" of the clock, i.e. the transition from xx:x:59 to xx:(x+1):00.
 

Offline Terry Bites

  • Super Contributor
  • ***
  • Posts: 2393
  • Country: gb
  • Recovering Electrical Engineer
Re: Digital clocks and A/D converters
« Reply #8 on: June 05, 2022, 05:52:12 pm »
In the UK we just used to dial TIM on 123. Its much cooler now its called timeline.
OMG it still works! That'll cost me.

 

Offline BeBuLamar

  • Super Contributor
  • ***
  • Posts: 1202
  • Country: us
Re: Digital clocks and A/D converters
« Reply #9 on: June 05, 2022, 10:58:43 pm »
Of course there are clock that can display in seconds too but for clock that can only display down to the minutes I set it so the minute display changes exactly at the 0 second.
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf