[time-nuts] Linear or quadractic fit algorithms for small microcontrollers?

2018-12-26 Thread Tim Shoppa
I know we discussed this many years ago, probably in context of the HP Smartclock patent, but I've forgotten all the details. Say I have a circular buffer of up to several dozen time and offset values. The intent was to sample at regular intervals but some samples are missing. Are there simple mic

Re: [time-nuts] Linear or quadractic fit algorithms for small microcontrollers?

2018-12-26 Thread Dr. Ulrich L. Rohde via time-nuts
Pade fit is one of the better tools Sent from my iPhone > On Dec 26, 2018, at 10:53 AM, Tim Shoppa wrote: > > I know we discussed this many years ago, probably in context of the HP > Smartclock patent, but I've forgotten all the details. > > Say I have a circular buffer of up to several dozen

[time-nuts] question about multi-way measurement

2018-12-26 Thread Chris Howard
I see the different forms of deviation measurements and they are all one-to-one comparisons. Is there anything to be learned from doing mass data gathering? For example, if I had a device of relatively good resolution that would let me timestamp the events from 100 different clocks, then

Re: [time-nuts] question about multi-way measurement

2018-12-26 Thread Charles Wyble
Relatively good resolution. Relative to what? :) Deviation requires you have something to measure against. A “source of truth”. So what are you measuring deviation from? From a system administration perspective , I want all my systems to be consistent. I’ll say that right == consistently wr

Re: [time-nuts] question about multi-way measurement

2018-12-26 Thread Bob kb8tq
Hi One simple answer is that it’s not always 1:1 comparisons. The “three corner hat” approach is indeed used to compare three devices at one time. There are some issues with doing that. There are *lots* of papers on where the limits come from and what you need to do ( = pick fairly similar cl

Re: [time-nuts] question about multi-way measurement

2018-12-26 Thread Tom Van Baak
> I see the different forms of deviation measurements and they are all > one-to-one comparisons. Not all. But, yes, often. UTC itself is a wonderful example of making mutual measurements of several hundred atomic clocks and establishing a superior "paper" clock out of them collectively. But mo

Re: [time-nuts] question about multi-way measurement

2018-12-26 Thread Chris Howard
Thanks! No, I don't really have a specific use case. And your reply is very helpful in my continuing education! I had wondered how to do something like this. I always got stuck on how to know which signal came from which clock. But it came up again in my mind when I was watching a waterfall d

Re: [time-nuts] question about multi-way measurement

2018-12-26 Thread Hal Murray
t...@leapsecond.com said: > But most people have only one counter (one internal or external timebase > reference) and one clock to be measured. So the measurements are one-to-one. > If you have more references or more clocks, you're welcome to combine 2, or > 3, or as many as you want. It gets co

Re: [time-nuts] question about multi-way measurement

2018-12-26 Thread Jerry Hancock
The other issue is application priority in windows. Here’s an example. I have a timer running at .75 seconds in Visual Basic. To the left is normal priority and to the right I set the application to real time priority in device manager. I then calculated the time between timer interrupts. I

Re: [time-nuts] question about multi-way measurement

2018-12-26 Thread Jerry Hancock
It looks like the image I sent got trimmed off. Did I do something wrong? Regards, Jerry > On Dec 26, 2018, at 4:21 PM, Jerry Hancock wrote: > > The other issue is application priority in windows. Here’s an example. I > have a timer running at .75 seconds in Visual Basic. To the left is

Re: [time-nuts] question about multi-way measurement

2018-12-26 Thread Poul-Henning Kamp
In message <20181226234228.b84f2406...@ip-64-139-1-69.sjc.megapath.net>, Hal Murray writes: > >t...@leapsecond.com said: >> But most people have only one counter (one internal or external timebase >> reference) and one clock to be measured. So the measurements are one-to-one. >> If you ha