Hi, You may have already done this, but if you log the same pulses with a counter or actual TDC IC you can view it and see how they compare with your measurements. Then you can look at how to get them closer - or find that it's actually correct and that's just where the pulse is at the time.
Angus. On Wed, 5 Oct 2016 16:45:21 -0700, you wrote: >This is tangentially on topic, I suppose. Its for my GPSDO. > >I notice periodically that the phase measurements seem noisy. You can see >that over the course of several seconds the value doesnt change, then it >jumps a bunch and then comes right back. > >My theory at the moment is that sampling the ADC multiple times in a row might >help, but then whats the best way to (quickly) pick which sample to use? > >The mean would allow a bad sample undue influence. > >At the moment, Ive coded taking 3 samples, averaging them and picking the >sample that is closest to the mean. If Im right, and two of the samples >happen to be very close to each other and a third is an outlier, then that >seems like it would eliminate it. > >I guess what I want is the mode, but with 3 samples, thats going to be poorly >defined (if at all). > >Anyone have any suggestions (besides a larger sample size)? >_______________________________________________ >time-nuts mailing list -- [email protected] >To unsubscribe, go to https://www.febo.com/cgi-bin/mailman/listinfo/time-nuts >and follow the instructions there. _______________________________________________ time-nuts mailing list -- [email protected] To unsubscribe, go to https://www.febo.com/cgi-bin/mailman/listinfo/time-nuts and follow the instructions there.
