Claims
- 1. A clock recovery circuit, comprising:
a sampler; logic to determine whether a data edge lags or precedes a clock edge to provide early and late indications, the clock edge driving the sampler; a filter to filter the early and late indications; a phase controller which adjusts phase of the clock based on the filtered indications; and a frequency estimator which, based on the filtered indications, estimates a frequency difference between the data and clock to provide an input to the phase controller to further adjust the phase so as to continually correct for the frequency difference.
- 2. The clock recovery circuit of claim 1, further comprising:
a phase interpolator which adjusts the phase of the clock responsive to the phase controller.
- 3. The clock recovery circuit of claim 1, wherein the frequency estimator comprises:
a second filter to further filter the filtered indications; a frequency counter which, responsive to the further filtered indications, produces an output that represents an estimated difference in frequency between the clock and the data; and a frequency synthesizer which produces signals responsive to the estimated frequency difference, the signals controlling the phase controller to further adjust the phase.
- 4. The clock recovery circuit of claim 3, wherein the frequency synthesizer comprises:
a divide-by-X counter which divides the clock by a number X which is based on the estimated frequency difference, the divided clock providing the input to the phase controller to further adjust the phase.
- 5. The clock recovery circuit of claim 4, further comprising:
a converter to convert the estimated frequency difference to a corresponding period, the number X being responsive to the period.
- 6. The clock recovery circuit of claim 5, wherein the divide-by-X counter comprises:
a divide-by-K counter, where K is a fixed number; and a divide-by-V counter, where V is responsive to the period.
- 7. The clock recovery circuit of claim 6, wherein the divide-by-K counter is common to plural clock recovery circuits.
- 8. The clock recovery circuit of claim 5, wherein the converter comprises a read-only-memory (ROM) containing a conversion table.
- 9. The clock recovery circuit of claim 5, wherein the converter performs a 1 's complement of a magnitude portion of the estimated frequency difference.
- 10. The clock recovery circuit of claim 5, wherein the converter is implemented with a microprocessor.
- 11. The clock recovery circuit of claim 10, wherein at least a portion of the divide-by-X counter is implemented with a microprocessor.
- 12. The clock recovery circuit of claim 4, wherein the frequency counter is a saturating counter.
- 13. A clock recovery method, comprising:
sampling, responsive to a clock edge, a data signal; determining whether a data edge lags or leads the clock edge, and providing one of an early and late indication based on the determining; filtering early and late indications; adjusting phase of the clock based on the filtered indications; based on the filtered indications, estimating a frequency difference between the data and the clock; and further adjusting the phase of the clock based on the estimated frequency difference.
- 14. The method of claim 13, further comprising:
further filtering the filtered indications; producing, responsive to the further filtered indications, a signal that represents an estimated difference in frequency between the clock and the data; and further adjusting the phase, responsive to the estimated frequency difference.
- 15. The method of claim 14, wherein the frequency synthesizer comprises:
dividing the clock by a number X which is based on the estimated frequency difference, the further adjustment to the phase being responsive to the divided clock.
- 16. The method of claim 15, further comprising:
converting the estimated frequency difference to a corresponding period, the number X being responsive to the period.
- 17. The method of claim 16, dividing the clock by X comprises:
dividing the clock by a number K, where K is a fixed number; and dividing the clock by a number V, where V is responsive to the period.
- 18. The method of claim 17, wherein the divide-by-K counter is common to plural clock recovery circuits.
- 19. The method of claim 16, wherein the step of converting is performed using a stored conversion table to convert.
- 20. The method of claim 16, wherein the step of converting is performed using a 1's complement of a magnitude portion of the estimated frequency difference.
- 21. The method of claim 16, wherein the step of converting is performed by a microprocessor.
- 22. The method of claim 21, wherein at least a portion of the step of dividing by X is performed a microprocessor.
- 23. The method of claim 15, wherein the step of producing a signal is performed with a saturating counter.
- 24. A clock recovery system, comprising:
sampling means for sampling, responsive to a clock edge, a data signal; logic means for determining whether a data edge lags or leads the clock edge; means for providing one of an early and late indication, responsive to the logic means; filter means for filtering early and late indications; phase controller means for adjusting phase of the clock based on the filtered indications; and frequency estimator means for estimating, based on the filtered indications, a frequency difference between the data and the clock, the phase controller means further adjusting the phase of the clock based on the estimated frequency difference.
RELATED APPLICATION
[0001] This application claims the benefit of U.S. Provisional Application No. 60/304,251, filed on Jul. 10, 2001. The entire teachings of the above application are incorporated herein by reference.
Provisional Applications (1)
|
Number |
Date |
Country |
|
60304251 |
Jul 2001 |
US |