Experimental Pendulum Clock

Advert

Experimental Pendulum Clock

Home Forums Clocks and Scientific Instruments Experimental Pendulum Clock

Viewing 25 posts - 376 through 400 (of 562 total)
  • Author
    Posts
  • #632169
    Michael Gilligan
    Participant
      @michaelgilligan61133

      Tinkerers might find this of interest:

      **LINK**

      http://www.roevalley.com/newsbrowser/v-projects/MSF_clock/v-rugby.htm

      MichaelG.

      .

      Edit: __ alternatively : https://www.amazon.co.uk/60kHz-Atomic-Clock-Radio-Receiver/dp/B01KH3VEGS

      Edited By Michael Gilligan on 05/02/2023 22:42:19

      Advert
      #632170
      SillyOldDuffer
      Moderator
        @sillyoldduffer
        Posted by John Haine on 05/02/2023 14:51:47:

        Dave, don't despair, those errors could be in part due to NTP wandering at your location…

        **LINK**

        I thought that worth investigating and set up a server program on a raspberryPi3B that responds to network requests by returning the Pi's NTP time.

        The Pi is connected by Wifi to my router.

        I wrote a client for my workstation that asks the Pi for NTP time every second, and timestamps the reply. The workstation is directly connected to the router with a cable, so is one layer closer to atomic time than the Pi.

        The log looks like this:

        Pi Time___________ Workstation Time____ Difference
        1675617302.9517045 1675617302.9547412 -0.0030367374420166016
        1675617303.9578679 1675617303.9608333 -0.0029654502868652344
        1675617304.9659832 1675617304.9672174 -0.001234292984008789

        In the example, the two NTP times differ by about 3 milliseconds, but the graph shows wilder excursions and that the Pi and Workstation clocks drift apart, until a correction occurs (marked Resync):

        ntpvsntp.jpg

        Mean difference between the two NTP sources is -4.15mS, including network delay of about +5mS. But the clocks are quite noisy, at one point over half a second apart, and they drift slowly apart until one or both resynchronises with an NTP server on the internet. So NTP is good, mostly almost always considerably better than 100mS, but far from perfect. A good chunk of the errors are likely due to both computers multi-processing, causing delays if either happens to be busy doing something else.

        Anyway, it appears John is right. Very likely some of my troubles may are caused by NTP and the Linux computers I'm using – neither is real-time. I did say at the outset that NTP was good on average, but not sub-second reliable.

        Dave

        #632172
        Michael Gilligan
        Participant
          @michaelgilligan61133

          Posted by SillyOldDuffer on 05/02/2023 22:38:11:

          […]

          I did say at the outset that NTP was good on average, but not sub-second reliable.

          .

          Hence my interest in NPL’s 60kHz carrier frequency … which [at least whilst it’s active] is very reliable

          … possibly [depending how you look at your ‘uncertainties’] the nearest thing to real time that most of us will ever see.

          MichaelG.

          #632194
          John Haine
          Participant
            @johnhaine32865

            I think that MSF and its cousins dcf etc intend you to use the carrier envelope for continuous 1 pps edges, the start of each break in the carrier.

            #632195
            Michael Gilligan
            Participant
              @michaelgilligan61133
              Posted by John Haine on 06/02/2023 07:44:45:

              I think that MSF and its cousins dcf etc intend you to use the carrier envelope for continuous 1 pps edges, the start of each break in the carrier.

              .

              Quite possibly, John … but that doesn’t stop me being interested in the spin-off possibilities, and they do state quite clearly how accurate/stable the frequency of the the carrier is. … I see it as being only “one layer” detached from the “UK primary frequency standards” that define everything.

              MichaelG.

              .

              Incidentally: I found an interesting paper from NIST, about the history of WWVB

              https://www.ncbi.nlm.nih.gov/pmc/articles/PMC4487279/pdf/jres.119.004.pdf

              Edited By Michael Gilligan on 06/02/2023 08:16:52

              #632200
              Michael Gilligan
              Participant
                @michaelgilligan61133
                #632201
                Michael Gilligan
                Participant
                  @michaelgilligan61133

                  A little side-question for the cognoscenti …

                  Is there a name for 1/60 th of a Second ?

                  It seems strange that we have hh:mm:ss and then jump to decimal notation

                  … did Thirds [or whatever] ever exist ?

                  hh:mm:ss:tt

                  MichaelG.

                  #632207
                  Martin Kyte
                  Participant
                    @martinkyte99762
                    Posted by Michael Gilligan on 06/02/2023 08:50:43:

                    A little side-question for the cognoscenti …

                    Is there a name for 1/60 th of a Second ?

                    It seems strange that we have hh:mm:ss and then jump to decimal notation

                    … did Thirds [or whatever] ever exist ?

                    hh:mm:ss:tt

                    MichaelG.

                    I don't know about thirds but the factor of 60 is Babylonian.

                    regards Martin

                    #632222
                    John Haine
                    Participant
                      @johnhaine32865

                      I guess that by the time we needed to subdivide the second the use of decimal notation was common and it would have been natural to use it rather than continue on the sexagesimal route.

                      #632268
                      SillyOldDuffer
                      Moderator
                        @sillyoldduffer
                        Posted by Michael Gilligan on 06/02/2023 08:50:43:

                        A little side-question for the cognoscenti …

                        Is there a name for 1/60 th of a Second ?

                        It seems strange that we have hh:mm:ss and then jump to decimal notation

                        … did Thirds [or whatever] ever exist ?

                        hh:mm:ss:tt

                        MichaelG.

                        It did. Bring back the tierce! Probably dropped because people who drank 42 gallons of wine were confused about time…

                        #632270
                        Martin Kyte
                        Participant
                          @martinkyte99762

                          Wimps, real men only deal in pipes.

                          ;O)

                          Martin

                          #632277
                          Michael Gilligan
                          Participant
                            @michaelgilligan61133

                            Nice try, Dave beer

                            MichaelG.

                            #632288
                            John Haine
                            Participant
                              @johnhaine32865

                              Dave, were you logging from your clock overnight? Fortuitously I completed my logging setup yesterday and set it off about 18.20 last night, stopping it about 10.30 this morning as there were some changes I knew were needed. I got a couple of emails today from Tom in the US asking if I'd detected the Turkey earthquake so I had a quick look at the data and saw this:

                              turkey_quake.jpg

                              Left axis is amplitude (mm), righthand axis period (s). At the moment the main sensor isn't quite centred so alternate periods are slightly different, and this affects the amplitude measurement as well. That's why there's all the "fuzz" on both plots. You can see the big burst of transients at a time which corresponds to the quake (which was at 01.17 UTC I believe). My clock is a seismometer as well! Would be interesting to see if you detected this too?

                              #632307
                              SillyOldDuffer
                              Moderator
                                @sillyoldduffer
                                Posted by John Haine on 06/02/2023 17:10:36:

                                Dave, were you logging from your clock overnight? Fortuitously I completed my logging setup yesterday and set it off about 18.20 last night, stopping it about 10.30 this morning as there were some changes I knew were needed. I got a couple of emails today from Tom in the US asking if I'd detected the Turkey earthquake so I had a quick look at the data and saw this:

                                turkey_quake.jpg

                                Left axis is amplitude (mm), righthand axis period (s). At the moment the main sensor isn't quite centred so alternate periods are slightly different, and this affects the amplitude measurement as well. That's why there's all the "fuzz" on both plots. You can see the big burst of transients at a time which corresponds to the quake (which was at 01.17 UTC I believe). My clock is a seismometer as well! Would be interesting to see if you detected this too?

                                Yes it was running, but I see nothing like your result in my log, maybe just a hint:

                                earthquake.jpg

                                X=0 on the graph is 2023-02-06 01:16:49 and 200 is 2023-02-06 01:19:34

                                My pendulum is vibration sensitive, but I've not seen much sign of it since moving the clock to a solid window sill.

                                I wonder if the direction of swing makes a difference? Mine is aligned about 100° off true North.

                                Dave

                                #632363
                                S K
                                Participant
                                  @sk20060

                                  John: How are you measuring amplitude? I've been trying to figure out a good way to get that directly. Thanks.

                                  #632368
                                  John Haine
                                  Participant
                                    @johnhaine32865

                                    Simple calculation from period, slot width and gate time.

                                    #632394
                                    SillyOldDuffer
                                    Moderator
                                      @sillyoldduffer

                                      Log this morning is disappointing.

                                      ClockEnd = 2023-02-07 09:46:07.401568
                                      ActualEnd = 2023-02-07 09:46:01.587103

                                      After keeping step for 36 hours my clock started gaining over NTP at beat=180000 and is now nearly 6 seconds fast (mostly over the last 17 hours):

                                      0702drift.jpg

                                      Not obvious that the cause is environmental, but it may have been triggered by air pressure and temperature falling together – red lines below:

                                      0702dpt.jpeg

                                      Possibly due to fault compensation. I already know it's imperfect, a hint being in the purple box above, where a temperature spike causes a bump in compensated period. More sinister there's a statistical correlation between drift and both pressure and temperature. (Pearson)

                                      Drift & Pressure -0.62
                                      Drift & Temperature -0.26

                                      I've decided to let the clock run to see what it does next.

                                      In the meantime, get the OCXO running – it's nearly finished. Then see if I can get the graph X axis to show real hours and minutes rather than beats. At the moment my graphs don't show what's the clock is doing relative to night and day, and beat scales make it hard to look for earthquakes at 01.17 UTC! Also follow up SKs suggestion about the strange Amplitude vs temperature graph.

                                      Dave

                                      #632402
                                      John Haine
                                      Participant
                                        @johnhaine32865

                                        A more detailed response to S K's question about measuring amplitude. Basically I assume that the velocity of the vane (or pin) interrupting the beam is constant near the centre of swing, which it must be nearly since it's a maximum. Then knowing the slot width W and interruption duration T you can calculate the velocity, and if you know the period the amplitude follows from:

                                        Ampl. = W x P/(2*pi*T)

                                        As my sensor is not perfectly centred (only microns off but the beats are very slightly different) I calculate 2 values on opposite directions and average. (The faintest turn of the adjusting micrometer makes a measurable difference at the time resolution that the picPET gives.)

                                        This works well with fast opto sensors, probably not so well with Hall effect which have significant hysteresis.

                                        One might ask, given you want to know amplitude, is it sufficient to actually infer it from a time measurement? Well it's much easier to get a real time amplitude by in effect measuring velocity, very hard to get a reading of the actual amplitude. At the end of the day it is timekeeping that's the important thing.

                                        #632413
                                        John Haine
                                        Participant
                                          @johnhaine32865

                                          A couple more quake plots, having done some crude averaging on the data.

                                          quake2.jpg

                                          This is a better version of the previous one with much of the "fuzz" removed.

                                          quake3.jpg

                                          This is the actual timekeeping. Hmmm. Not sure what's happening after the quake or whether it's related, or just because the room was cold. Clearly the amplitude dropped, though by only 0.04mm or so. But one can see the time transient caused by the quake, a fraction of a millisecond.

                                          #632471
                                          duncan webster 1
                                          Participant
                                            @duncanwebster1
                                            Posted by SillyOldDuffer on 07/02/2023 10:50:45:

                                            Log this morning is disappointing.

                                            ClockEnd = 2023-02-07 09:46:07.401568
                                            ActualEnd = 2023-02-07 09:46:01.587103

                                            After keeping step for 36 hours my clock started gaining over NTP at beat=180000 and is now nearly 6 seconds fast (mostly over the last 17 hours):

                                            0702drift.jpg

                                            Not obvious that the cause is environmental, but it may have been triggered by air pressure and temperature falling together – red lines below:

                                            0702dpt.jpeg

                                            Possibly due to fault compensation. I already know it's imperfect, a hint being in the purple box above, where a temperature spike causes a bump in compensated period. More sinister there's a statistical correlation between drift and both pressure and temperature. (Pearson)

                                            Drift & Pressure -0.62
                                            Drift & Temperature -0.26

                                            I've decided to let the clock run to see what it does next.

                                            In the meantime, get the OCXO running – it's nearly finished. Then see if I can get the graph X axis to show real hours and minutes rather than beats. At the moment my graphs don't show what's the clock is doing relative to night and day, and beat scales make it hard to look for earthquakes at 01.17 UTC! Also follow up SKs suggestion about the strange Amplitude vs temperature graph.

                                            Dave

                                             

                                             

                                            Falling temperature should increase air density, and falling pressure should reduce it, so if you get a fall in both they should offset each other to some extent. Are you measuring humidity? That changes density as well. 

                                            It would make life a lot easier if you could temporarily control the environment so that you could change one thing at a time, but that in itself isn't easy.

                                            Edited By duncan webster on 07/02/2023 17:41:39

                                            #632490
                                            S K
                                            Participant
                                              @sk20060
                                              One might ask, given you want to know amplitude, is it sufficient to actually infer it from a time measurement? Well it's much easier to get a real time amplitude by in effect measuring velocity, very hard to get a reading of the actual amplitude.

                                              Thanks. Yes, it's difficult to imagine how to "actually" measure it in a practical and accurate way. Video of the swing against a scale? Digitizing a Hall effect sensor mounted near the apex of the swing? A capacitive sensor, similarly? Laser interferometry?

                                              I've also thought about mounting a sensor a degree (or a few) off BDC, and tuning the impulse scheme in a tight hit-and-miss fashion (ideally: one hit, one miss, …), to maintain the swing right at the hit/miss cutoff. That way, a measurement could potentially be made while not swinging at all, though at that point there might be less use for such a measurement.

                                              Thanks again.

                                              #632497
                                              Michael Gilligan
                                              Participant
                                                @michaelgilligan61133
                                                Posted by S K on 07/02/2023 19:36:25:

                                                […] very hard to get a reading of the actual amplitude.

                                                Thanks. Yes, it's difficult to imagine how to "actually" measure it in a practical and accurate way. […]

                                                .

                                                Always provided that we only need to accurately measure small distances [i.e. the tiny discrepancies in a notionally constant swing] it shouldn’t present any great problem … a camera sensor can provide pixel resolution and microscope optics the appropriate magnification.

                                                Even a very basic webcam will have a native resolution of 640×480 pixels … Scale it such that 1/4” covers 635 pixels and you can detect position to ten microns.

                                                … other sets of numbers are available

                                                MichaelG.

                                                #632514
                                                John Haine
                                                Participant
                                                  @johnhaine32865

                                                  Actually it's only convention to think in terms of amplitude. We could just as well write all the equations in terms of velocity, then measuring the velocity is quite natural.

                                                  There's an "offset sensor method" for measuring amplitude with a timing system such as the Microset which sounds a bit like your proposal. The hit and miss scheme is more or less what I use, as does Doug Bateman in his clock.

                                                  #632541
                                                  S K
                                                  Participant
                                                    @sk20060
                                                    Posted by John Haine on 07/02/2023 22:09:35:

                                                    Actually it's only convention to think in terms of amplitude. We could just as well write all the equations in terms of velocity, then measuring the velocity is quite natural.

                                                    Interesting point – I can see that, thanks.

                                                    For my project, I'm mainly interested in the period. It can be of arbitrary duration in that it doesn't have to count time in seconds, but I want to know it as precisely as possible. This likely means measuring it with as small an amplitude as possible.

                                                    One idea I have is to measure the period with greater accuracy than a typical opto-interrupter, even at very small amplitudes, e.g. as small or smaller than the aperture of the Sharp photointerrupter. Imagine a bright polished pin extending below the pendulum. Aim a laser at this, and mount a photodetector some way's off and at an angle to the axis of the laser. The beam should then sweep across the photodetector quite quickly as the laser crosses the curved pin, presumably with improved timing accuracy. This should work even at extremely small amplitudes as long as the photodetector is mounted in an appropriate angle and distance from the pin.

                                                    #632542
                                                    Michael Gilligan
                                                    Participant
                                                      @michaelgilligan61133
                                                      Posted by S K on 08/02/2023 04:23:37:

                                                      Posted by John Haine on 07/02/2023 22:09:35:

                                                      Actually it's only convention to think in terms of amplitude. We could just as well write all the equations in terms of velocity, then measuring the velocity is quite natural.

                                                      Interesting point – I can see that, thanks.

                                                      […]

                                                      .

                                                      I confess to being particularly thick-headed at this ungodly hour, but I’m afraid the point is lost upon me:

                                                      If the equations are written in terms of velocity, then the peak of the swing is at velocity=Zero

                                                      So far, so good … but, if we are all agreed that a real pendulum is not isochronous, surely we need to know at what point in space that occurs dont know

                                                      I must be missing something … What mathematical conjuring makes it possible to ‘tune’ the pendulum without controlling its arc ?

                                                      MichaelG.

                                                      Edited By Michael Gilligan on 08/02/2023 06:12:47

                                                    Viewing 25 posts - 376 through 400 (of 562 total)
                                                    • Please log in to reply to this topic. Registering is free and easy using the links on the menu at the top of this page.

                                                    Advert

                                                    Latest Replies

                                                    Viewing 25 topics - 1 through 25 (of 25 total)
                                                    Viewing 25 topics - 1 through 25 (of 25 total)

                                                    View full reply list.

                                                    Advert

                                                    Newsletter Sign-up