Just wondering if anyone here has good techniques for establishing a timebase's long-term drift? Are there established methods I'm just too green to know about?
I've been using the following technique, with fairly good results:
1: Use NTP to discipline PC clock, wait till it stabilises (usually 24 hours)
2: Sample ToD messages with PC clock values for about 4 to 7 days
3: Compute least squares estimate of divergence between undisciplined (timebase) and disciplined (pc) clocks
The disciplined clock tends to wander a few PPM with temperature changes so you need a few days to avoid the periodic variations... With enough sampling I've been able to tune an adjustable TCXO to less than 0.05PPM drift before the noise and jitter masked the long-term drift.
Any thoughts? Am I on the wrong track here altogether?
Original Post