Hi All
I've not posted up for ages but now have a bit of spare time to play. I have a BG7TBL gpsdo and have wondered how accurate it is for quite some time. Well it's REALLY accurate. It must be 'cos it's controlled by atomic clocks. Sounds good, but is it true?
There's a very helpful document on the Nist web site on using a gpsdo as a primary frequency standards here:
https://www.nist.gov/publications/use-gps-disciplined-oscillators-primary-frequency-standards-calibration-and-metrologyOne method it suggests is to send your gpsdo off for calibration and then monitor it's functionality locally to ensure it's still working/tracking etc. It brings up some differences between a gpsdo and a stand-alone standard like Rubidium. A gpsdo can lose tracking of the satellites due to interference etc. so you can end up relying what is, in fact an OXCO.
I wanted to measure the accuracy using the kit I have and found another helpful Nist document (which I now can't find) and one of the options was to compare the signal to a high accuracy source. Good idea, but I don't have anything better.
A second option was count the pulses over a long period of time to improve accuracy. So if you count a 10MHz signal for 1 second, you get a resolution of 1Hz. 10 seconds would give 0.1Hz, 100 0.01Hz etc.
I have a TTI TF930 10 digit counter which I've been very pleased with although now I need a gating option so I can count for say, 1000 seconds and then stop. Trouble is, there's no gating electrical gating option neither is there a SCPI solution.
The counter starts as soon as you connect the 10MHz signal and when it reaches 9999999999 it resets to 0 and starts again. I could time the recording and press the Hold button, but I'm guessing my fingers would introduce a fair amount of accuracy.
There are a number of RF switches on eBay which would do the job, but they are all in China so it could be 6 weeks before they arrive and I'll have lost interest by then.
A bit of poking around and I found that some PIC chips have a CLC (Configurable Logic Cell) this is a bit like a mini PLC (Programmable Logic Controller) where you can define a small logic circuit (AND, OR, NOT, Flip Flop etc) in software. The CLC is independent of the PIC CPU and so there are no instruction or clock constraints.
If I could knock up a simple 2 input AND gate, one input could go to the 10MHz and another to the 1pps of the gpsdo and the circuit could supply pulses for example 1000 seconds or as long as you need to.
I'm new to the CLC, but if you want to play with it, there's a plugin called MCC (Microchip Code Configurator) with a nice GUI which allows you to design the gates and then will save the source code for you. It looks pretty handy and easier than trying to configure a logic cell with Binary.
Digging through my pic stuff I found a PIC10F320 which has a CLC and is only 8 pins which should be enough. The only issue so far is that the documentation for the CLC is poor and I can't find out what frequency it runs up to so I'll have to test that. I can only check up to 25MHz with my sig gen but that should be good enough.
So if I drive it with the 10MHz and 1pps from my gpsdo, how do I know how good the 1pps is? Well I've tested that. A while ago I made a £1.00 atomic clock:
https://www.eevblog.com/forum/projects/t81709/This was simply a mechanical clock driven by the 1pps from the gpsdo. It was a fun project, but when I saw how accurate it was, I realised it could be a method of measuring the 1pps accuracy. Irritatingly I can't run it all the time, as when my daughter has friends stay over it keeps them awake, but it has been run for 3 months continuously, keeping perfect time when compared to:
https://www.timeanddate.com/worldclock/uk/londonso if we say 90 days = 7776000 seconds= better than 0.13ppm
To get more accurate results, I think I'll have to change it for an LED or LCD device so I can leave it on.
Well that's all for now. Sorry it's so long. I'll have a play with the PIC chip CLC frequency capabilities and post back up.
Cheers
Steve