The 1PPS output of the GPS receiver I was using to check the calibration is specified at 50ns RMS error. This figure alone isn't quite accurate enough for my needs. However, the mean value of the output should be almost exactly 1 second (ignoring any possible gross error, such as loss of GPS fix). Averaging over a number of measurements should then give a much increased accuracy, which can then be used to tune the oscillator. Averaging 100 measurements should give one tenth of the error, which in this case would be about 5 nanoseconds, assuming a normal distributed error.
To easily get averages over the measurements the easiest route was to use GPIB. Unfortunately I didn't have a GPIB interface on my computer, so I needed to build one. See my previous post on building the interface.
Now that I could get readings from the counter, I wrote a simple piece of software for averaging the counts. The calibration procedure would then be simply:
- Acquire 100 measurements
- Compute average
- Adjust accordingly
PPS period measurement over one night. |
The mean value of the measured PPS period is just 4.04 +- 0.64 nanoseconds shorter than 1 second, which corresponds with the oscillator running just 4 parts per billion too fast.
The next thing I want to investigate with this setup is the long term stability of the oscillator. For this purpose I'll record the measurements over a long period of time, preferably at least some months. This should give a general understanding of the actual aging behavior of the oscillator, since the specified aging seems to be very pessimistic. This setup should also be accurate enough to capture GPS timing errors like the one observed not too long ago (in Finnish), albeit those are very rare.
No comments:
Post a Comment