How can you trust the clock?

  • Saigonauticon@voltage.vn
    link
    fedilink
    English
    arrow-up
    20
    ·
    1 year ago

    Old public clocks sometimes use the mains frequency as a clock signal to maintain correct time. At the end of the day, the power authority is supposed to adjust the signal slightly to make sure these clocks maintain the correct time.

    So I built a device that analyzes mains power supply phase variance with microsecond resolution. It’s accurate enough that I can see the power authority turning on and off supplementary turbines to keeps the mains frequency correct.

    That’s how I determine my level of trust in public clocks.

    Well, that and maintaining sub-relativistic velocities relative to them. Which is pretty easy honestly. If you’re having problems with this, you’ve probably ceased to be biology or chemistry and started being physics. So you probably have more pressing concerns than keeping time!

    • AggressivelyPassive@feddit.de
      link
      fedilink
      English
      arrow-up
      1
      ·
      1 year ago

      This is a train’s clock, though. And since these displays also show additional information, I guess there’s a bit more sophistication behind it.

      Did you construct the analyzer yourself or can you buy that off shelf?

      • Saigonauticon@voltage.vn
        link
        fedilink
        English
        arrow-up
        2
        ·
        1 year ago

        I built it myself. I used an optoisolator to convert the sine wave of AC power to a series of pulses, and also for safety reasons (it communicates data over light pulses, so that the mains power circuit is completely electrically isolated from the stuff I might touch). Then I used a microcontroller to precisely time the deviation from 50Hz, and output a serial port via MAX232. A desktop computer logs the data and gives me a real-time graph of the deviation. I might have some sample files lying around somewhere.

        The microcontroller (ATMEGA16) ran at 20MHz using a crystal oscillator, and with some slightly funky tradeoffs, I was able to get a time resolution of 50 nanoseconds with an error of about 20 parts per million. If it deviates too far from 50Hz, I get nonsense measurements due to the tradeoff though (I trade measurement range for precision).

        The original idea was to analyze tiny variations in phase at extremely short time scales to use the mains power transmission lines as a sort of large antenna array. Then use that to study space weather (e.g. solar wind, flares, etc.) more cheaply than sending up satellites. As a hardened skeptic, I originally built it as an elaborate practical joke due to all those ‘Mayan Calendar Doomsday 2012’ folks. You see if the world did end, I would have been in a position of absolutely dreadful embarrassment. So I built it as a sort of ‘doomsday detector’.

        Sadly, that component of the project never worked. I ran it during some solar activity peaks, and was unable to correlate the measurements taken by satellites to anything I found. It does still allow some weird things though, like I can apparently create a phase variance ‘fingerprint’ and use that to conclude whether a video was recorded in my city, and at what time. I’ve heard of some people doing that to youtube videos.

        I can also get an idea of the power draw of the city I’m in. As people draw more power, the phase drops, then the power authority turns more turbines on. When the load lightens, the phase goes up, and I can see those turbines being turned off. This is sort of fun to turn on and watch if you get home early, you can see everyone else getting home and turning stuff on.

      • Saigonauticon@voltage.vn
        link
        fedilink
        English
        arrow-up
        1
        ·
        1 year ago

        I recall some of Japan being 60Hz, and the rest being 50Hz! That always struck me as pretty wild!

        I live in SE Asia. You could say we lose 10 minutes every hour regardless of the timekeeping technology :P