audio frequency tone detection in software
I have an old (1983) Heathkit clock that synchronizes itself to the time code information broadcast by US radio station WWV (the 5, 10 & 15 MHz signals, not VLF like new consumer type clocks) that I am interested in improving the performance of.
A weak aspect of the original design is the use of 70's vintage NE567 PLL ICs to detect the 100Hz and 1000Hz tones in the WWV data stream. In poor signal to noise ratio conditions (like now, at the bottom of the sun spot cycle) the PLLs go fairly flaky, especially the 100Hz portion of the circuit.
This problem is compounded by the interference produced by almost every modern electronic gadget made, which makes picking up a quality shortwave AM signal difficult even under the best of conditions. When the clock was designed in '83, the world was a lot more RF quiet than it is today.
I strongly expect that timing pulse width (PULSIN) isn't going to afford the noise immunity I need to significantly improve the design.
Does anyone have any tips on how best to implement such a detection scheme using a PIC?
Thanks for the help!
Mike