[time-nuts] Re: Time stamping of data

john.haine at haine-online.net john.haine at haine-online.net
Sat Aug 24 06:41:13 UTC 2024


Another example.  You have say a Raspberry Pi, it has some sensors on it, say pressure, temperature, humidity.  It is connected to the Internet and has an NTP client running so it "knows" the right time.  Every second (say) it gets a signal perhaps from a pendulum sensed by an optocoupler.  When it gets this it pops a record of time, temp, pressure, relhumidity, into a file.  The record is "time stamped".

-----Original Message-----
From: Bob Camp via time-nuts <time-nuts at lists.febo.com> 
Sent: Friday, August 23, 2024 8:14 PM
To: Discussion of precise time and frequency measurement <time-nuts at lists.febo.com>
Cc: Bob Camp <kb8tq at n1k.org>
Subject: [time-nuts] Re: Time stamping of data

Hi

The quick and simple version:

Fire up a clock. Off it goes. Does it do decimal seconds or something else?
That’s up to you and is application dependent. Does it roll over at some point or does it count on to infinity? Again, application dependent. 

You likely start it with some starting value. It could be zero, it also could link to something like UTC. That link (or lack there of) is very application dependent. 

In comes a zero crossing.

Grab the time value from the clock. (possibly to nanoseconds, picoseconds or some other level of resolution / accuracy),

Stuff that value in a file (or maybe display it, though that’s less common).

Step and repeat for each zero crossing. 

Why do this?

1) It’s a zero dead time way to look at things. A “delta time between crossings” 
approach might take a while to get ready for the next zero crossing.

2) It takes out potential cumulative errors (compared to delta time). If each delta time short by 1 ns, you are off by 10 ns after ten readings. Yes, that would be a really poor delta time measure. 

3) You might want to know when an event happened “as received” at various locations. That would get you into time sync at possibly a pretty crazy level of accuracy. 

Is that everything? This is Time Nuts …. it’s never “everything” :) :).

Bob



> On Aug 23, 2024, at 5:39 AM, Dana Whitlow via time-nuts <time-nuts at lists.febo.com> wrote:
> 
> Hello,
> 
> I keep reading references to time stamping, but am only vaguely aware 
> of what this does and how it is done.
> 
> Is there a sort of "primer" on the subject?
> 
> Thanks,
> 
> Dana Whitlow
> _______________________________________________
> time-nuts mailing list -- time-nuts at lists.febo.com To unsubscribe send 
> an email to time-nuts-leave at lists.febo.com
_______________________________________________
time-nuts mailing list -- time-nuts at lists.febo.com To unsubscribe send an email to time-nuts-leave at lists.febo.com




More information about the Time-nuts_lists.febo.com mailing list