I would like to build a frequency difference detector, using digital components only. It should be able to compare the signal frequency to a reference frequency and detect which frequency is faster. It should then output the difference of the two frequencies.
The signals will go in to a charge pump with a LP filter to obtain the average value.
Furthermore, it should be able to do the comparison within 1 period and also prevent slipping, meaning there should be almost no limitations on how much the reference and signal frequency can be apart for the circuit to work.
Can anyone suggest a circuit, name or paper that might address above issues?
Thanks
Svensl