Re: [time-nuts] algorithms and hardware for comparing clock pulses

2015-09-25 Thread Bill Hawkins
: Thursday, September 24, 2015 3:58 AM To: Discussion of precise time and frequency measurement Subject: Re: [time-nuts] algorithms and hardware for comparing clock pulses the role of the diode is just to have a voltage drop? 73 KJ6UHN Alex On 9/23/2015 11:31 PM, Bill Hawkins wrote: > Perhaps I

Re: [time-nuts] algorithms and hardware for comparing clock pulses

2015-09-25 Thread Bill Hawkins
[mailto:time-nuts-boun...@febo.com] On Behalf Of Bob Camp Sent: Thursday, September 24, 2015 6:37 AM To: Discussion of precise time and frequency measurement Subject: Re: [time-nuts] algorithms and hardware for comparing clock pulses Hi Simple approach: Use a pair of tri-state buffers. Both

Re: [time-nuts] algorithms and hardware for comparing clock pulses

2015-09-24 Thread Bill Hawkins
Perhaps I can do this in words, as I have no schematic software. Start with the input to your favorite microprocessor's A/D converter. Connect it to a suitable (more later) capacitor to analog ground. Connect a cmos switch across the cap and call it S2. When S2 is on, it discharges the cap. Now

Re: [time-nuts] algorithms and hardware for comparing clock pulses

2015-09-24 Thread Bob Camp
Hi Simple approach: Use a pair of tri-state buffers. Both have their outputs hooked to the cap through resistors. One (call it A) has its signal input grounded. The other (call it B) has its signal input tied high. Both of the tri-state controls normal sit in the “off” (= output is

Re: [time-nuts] algorithms and hardware for comparing clock pulses

2015-09-24 Thread Alex Pummer
the role of the diode is just to have a voltage drop? 73 KJ6UHN Alex On 9/23/2015 11:31 PM, Bill Hawkins wrote: Perhaps I can do this in words, as I have no schematic software. Start with the input to your favorite microprocessor's A/D converter. Connect it to a suitable (more later) capacitor

Re: [time-nuts] algorithms and hardware for comparing clock pulses

2015-09-23 Thread Bill Hawkins
Group, Seems to me that what's needed here is a current source for linear volts vs. time and the cmos switching to control the duration of the capacitor charge while the phase flip-flop is on. When it turns off, it interrupts the processor and isolates the capacitor so it acts as a

Re: [time-nuts] algorithms and hardware for comparing clock pulses

2015-09-23 Thread Can Altineller
Hello All, Another night heroically wasted, and I have achieved a PID lock within 50 / 80 000 000 th of a second between two clocks. 50 is there because it is the minimum clock ticks for the irq handler to execute. To summarize: 1. I am using a TI launchpad running at 80mhz. I was using

Re: [time-nuts] algorithms and hardware for comparing clock pulses

2015-09-22 Thread Magnus Danielson
Jim, I had the intent to try this, but never got around doing it. Thanks for reminding me. Please share any enhancements. I did exchange some emails with Lars, but as that project never got off the ground, it faded out. Cheers, Magnus On 09/21/2015 10:02 PM, Jim Harman wrote: Hi Can,

Re: [time-nuts] algorithms and hardware for comparing clock pulses

2015-09-21 Thread Jim Lux
LaJeunesse Sent: Monday, September 21, 2015 at 1:45 PM From: "Can Altineller" <altinel...@gmail.com> To: "Discussion of precise time and frequency measurement" <time-nuts@febo.com> Subject: [time-nuts] algorithms and hardware for comparing clock pulses Dear Time-

Re: [time-nuts] algorithms and hardware for comparing clock pulses

2015-09-21 Thread Hal Murray
altinel...@gmail.com said: >I finally found a way to measure 1pps output from my DS3231's, with a mcu > unit, and modify the aging register on the RTC, I have been able to sync > between 2-3 microseconds between clocks by substracting and adding 0.1ppm to > 12.8ppm, with 7 bit resolution.

Re: [time-nuts] algorithms and hardware for comparing clock pulses

2015-09-21 Thread Jim Lux
onday, September 21, 2015 at 1:45 PM From: "Can Altineller" <altinel...@gmail.com> To: "Discussion of precise time and frequency measurement" <time-nuts@febo.com> Subject: [time-nuts] algorithms and hardware for comparing clock pulses Dear Time-nuts, ...

[time-nuts] algorithms and hardware for comparing clock pulses

2015-09-21 Thread Can Altineller
Dear Time-nuts, I finally found a way to measure 1pps output from my DS3231's, with a mcu unit, and modify the aging register on the RTC, I have been able to sync between 2-3 microseconds between clocks by substracting and adding 0.1ppm to 12.8ppm, with 7 bit resolution. Since the

Re: [time-nuts] algorithms and hardware for comparing clock pulses

2015-09-21 Thread Robert LaJeunesse
better than 0.1 microseconds. Bob LaJeunesse > Sent: Monday, September 21, 2015 at 1:45 PM > From: "Can Altineller" <altinel...@gmail.com> > To: "Discussion of precise time and frequency measurement" > <time-nuts@febo.com> > Subject: [time-nuts] alg

Re: [time-nuts] algorithms and hardware for comparing clock pulses

2015-09-21 Thread Jim Lux
febo.com> Subject: [time-nuts] algorithms and hardware for comparing clock pulses Dear Time-nuts, ... I probably need a hardware to measure the time pulses more precisely. ... Are there any solutions to this problem? ...

Re: [time-nuts] algorithms and hardware for comparing clock pulses

2015-09-21 Thread Jim Harman
Hi Can, For a simple analog solution, you might try a 74HC4046 phase detector followed by a diode and RC network as used in Lars Walenius' GPSDO, described here in the archives: https://www.febo.com/pipermail/time-nuts/2014-February/082820.html The phase detector produces a pulse whose width