Patent ID: 8804891

Claim:
A frequency detector, comprising a multi-phase clock generation unit, a sampling unit connected to said multi-phase clock generation unit and a digital logic unit connected to said sampling unit, wherein said multi-phase clock generation unit receives an inputted single-phase clock and transforms said inputted single-phase clock into a multi-phase clock, said sampling unit receives inputted random data and samples said random data with said multi-phase clock generated by said multi-phase clock generation unit, each data bit of said random data is divided into several sampling intervals according to a phase number of said multi-phase clock, said digital logic unit logically analyzes sampling values outputted by said sampling unit, judges said corresponding sampling interval of each sampling value and outputs a signal for indicating that a frequency of said random data is higher or lower than said frequency of said single-phase clock based on differences in said corresponding sampling intervals of sampling values at two adjacent times; further comprising a clock signal input end connected to said multi-phase clock generation unit and a data signal input end connected to said sampling unit, wherein said clock signal input end inputs said single-phase clock, said data signal input end inputs said random data; and further comprising a first signal end and a second signal end, connected to said digital logic unit, wherein said first signal end is for outputting a first signal for indicating that said frequency of said random data is higher than said frequency of said single-phase clock, said second signal end is for outputting a second signal for indicating that said frequency of said random data is lower than said frequency of said single-phase clock.