Patentable/Patents/US-8830002
US-8830002

Methods, algorithms, circuits, and systems for determining a reference clock frequency and/or locking a loop oscillator

PublishedSeptember 9, 2014
Assigneenot available in USPTO data we have
Inventorsnot available in USPTO data we have
Technical Abstract

Apparatuses, methods, systems, algorithms, and circuits for reference clock frequency determination are disclosed. In one embodiment, a circuit for detecting a reference clock frequency can include a clock counter configured to count a number of cycles of the reference clock over a predetermined portion of a sleep clock to provide a reference clock cycle count, where the sleep clock has a known frequency and a predetermined accuracy; a frequency estimator configured to estimate the reference clock frequency from the reference clock cycle count and the known frequency of the sleep clock; and a frequency selector configured to select a closest frequency to the estimated reference clock frequency from a plurality of allowed frequencies.

Patent Claims
20 claims

Legal claims defining the scope of protection, as filed with the USPTO.

1

1. A circuit for estimating a frequency of a reference clock, the circuit comprising: a counter configured to count a number of cycles of a reference clock over a predetermined portion of a first clock to provide a reference clock cycle count; a frequency estimator configured to estimate the frequency of the reference clock based on the reference clock cycle count; a selector configured to (i) select a first group of frequencies from a plurality of groups of frequencies, each of the plurality of groups of frequencies respectively including a plurality of predetermined frequencies, and (ii) select, from among the plurality of predetermined frequencies of the first group of frequencies, a first predetermined frequency that is closest to the estimated reference clock frequency.

2

2. The circuit of claim 1 , wherein the frequency selector comprises: a first comparator stage configured to output, for each predetermined frequency of the first group of frequencies, a difference signal indicating a difference between the estimated reference clock frequency and the respective predetermined frequency; and a logic configured select the first predetermined frequency, wherein the difference signal corresponding to the first predetermined frequency is less than a first predetermined threshold.

3

3. The circuit of claim 2 , wherein the frequency selector further comprises: a second comparator stage configured to compare, for each predetermined frequency of the first group of frequencies, the difference signal to the first predetermined threshold.

4

4. The circuit of claim 3 , wherein the frequency selector further comprises: a third comparator stage configured to compare, for each predetermined frequency of the first group of frequencies, the difference signal to a second predetermined threshold that is lower than the first predetermined threshold.

5

5. The circuit of claim 4 , wherein the logic is configured to base its selection on the comparison to the first predetermined threshold if only one of the difference signals is less than the first predetermined threshold, and to base its selection on the second predetermined threshold if only one of the difference signals is less than the second predetermined threshold.

6

6. The circuit of claim 1 , wherein the frequency selector is configured to output, to a multiplexer that inputs each of the predetermined frequencies of the first group of frequencies, a signal indicating which of the predetermined frequencies is determined by the frequency selector to be closest to the estimated reference clock frequency.

7

7. The circuit of claim 1 , wherein the first predetermined frequency selected by the frequency selector is output to a phase locked loop.

8

8. The circuit of claim 2 , wherein the circuit is configured such that: if an external sleep signal, from a sleep clock that is external to the circuit, is available to the circuit, then the external sleep clock signal is used by the counter as the first clock signal; and if an external sleep clock signal, from a sleep clock that is external to the circuit, is not available at the sleep clock input, then a sleep clock that is internal to the circuit is used by the counter as the first clock signal.

9

9. The circuit of claim 1 , wherein: within each group of frequencies, a difference between each predetermined frequency and each other predetermined frequency is greater than an accuracy variation of the first clock; and a difference between at least two predetermined frequencies from different groups of frequencies is less than the accuracy variation of the first clock.

10

10. The circuit of claim 1 , wherein the selector comprises: a decoder configured to decode a plurality of encoder inputs and to select the first group of frequencies based on a state or value of the encoder inputs; and a frequency selector configured to select a closest frequency to the estimated reference clock frequency from the predetermined frequencies of the first group of frequencies.

11

11. A method comprising: counting a number of cycles of a reference clock over a predetermined portion of a first dock to provide a reference dock cycle count; estimating the frequency of the reference dock based on the reference clock cycle count; selecting a first group of frequencies from a plurality of groups of frequencies, each of the plurality of groups of frequencies respectively including a plurality of predetermined frequencies, and selecting, from among the plurality of predetermined frequencies of the first group of frequencies, a first predetermined frequency that is closest to the estimated reference clock frequency.

12

12. The method of claim 11 , further comprising: outputting, for each predetermined frequency of the first group of frequencies, a difference signal indicating a difference between the estimated reference clock frequency and the respective predetermined frequency; and wherein the selecting is based on the difference signal corresponding to the first predetermined frequency being less than a first predetermined threshold.

13

13. The method of claim 12 , further comprising: comparing, for each predetermined frequency of the first group of frequencies, the difference signal to the first predetermined threshold.

14

14. The method of claim 13 , further comprising: comparing, for each predetermined frequency of the first group of frequencies, the difference signal to a second predetermined threshold that is lower than the first predetermined threshold.

15

15. The method of claim 14 , wherein the selecting of the first predetermined frequency is based on the comparison to the first predetermined threshold if only one of the difference signals is less than the first predetermined threshold and is based on the second predetermined threshold if only one of the difference signals is less than the second predetermined threshold.

16

16. The method of claim 11 , further comprising outputting, to a multiplexer that inputs each of the predetermined frequencies of the first group of frequencies, a signal indicating which of the predetermined frequencies is determined by the frequency selector to be closest to the estimated reference dock frequency.

17

17. The method of claim 11 , further comprising: outputting the selected first predetermined frequency to a phase locked loop.

18

18. The method of claim 12 , further comprising: if an external sleep signal, from a sleep clock that is external to the circuit, is available to the circuit, then using the external sleep clock signal as the first clock signal; and if an external sleep clock signal, from a sleep clock that is external to the circuit, is not available at the sleep clock input, then using a sleep clock that is internal to the circuit as the first clock signal.

19

19. The method of claim 11 , wherein within each group of frequencies, a difference between each predetermined frequency and each other predetermined frequency is greater than an accuracy variation of the first clock, and wherein a difference between at least two predetermined frequencies from different groups of frequencies is less than the accuracy variation of the first clock.

20

20. The method of claim 11 , further comprising: decoding a plurality of encoder inputs; selecting the first group of frequencies based on a state or value of the encoder inputs.

Classification Codes (CPC)

Cooperative Patent Classification codes for this invention. Click any code to explore related patents in that topic.

Patent Metadata

Filing Date

December 21, 2011

Publication Date

September 9, 2014

Want to explore more patents?

Browse 5M+ US patents with plain-English claim translations and AI-generated analysis.

Citation & reuse

Analysis on this page is generated by Patentable — an AI-powered patent intelligence platform. AI-generated summaries, explanations, and analysis may be reused with attribution and a visible link back to the canonical URL below. Patent abstracts and claims are USPTO public domain.

Cite as: Patentable. “Methods, algorithms, circuits, and systems for determining a reference clock frequency and/or locking a loop oscillator” (US-8830002). https://patentable.app/patents/US-8830002

© 2026 Patentable. All rights reserved.

Patentable is a research and drafting-assistant tool, not a law firm, and does not provide legal advice. Documents we generate are drafts for review by a licensed patent attorney.