Claims
- 1. A lock detection circuit for a phase locked loop circuit, said lock detection circuit comprising:a first circuit operable to receive an UP signal and a DN signal from a phase frequency detector of said phase locked loop circuit, said first circuit operable to generate a clear “clr” signal that indicates that said UP signal and said DN signal are mismatched in time by more than a predetermined period of time; and a count lock circuit coupled to an output of said first circuit, said count lock circuit operable to receive said clear “clr” signal from said first circuit, and operable to use said clear “clr” signal to determine that said phase locked loop circuit is in a locked condition.
- 2. A lock detection circuit for a phase locked loop circuit as claimed in claim 1 wherein said count lock circuit comprises a first counter operable to count clock cycles, and wherein said clear “clr” signal is operable to reset a count of said first counter to zero, and wherein said first counter is operable to generate a ready “rdy” signal that indicates that said phase locked loop circuit is in a locked condition when said first counter counts a predetermined number of clock cycles without receiving said clear “clr” signal.
- 3. A lock detection circuit for a phase locked loop circuit as claimed in claim 2 wherein said predetermined number of clock cycles is one hundred twenty.
- 4. A lock detection circuit for a phase locked loop circuit as claimed in claim 2 further comprising:a flip flop circuit coupled to a first output of said count lock circuit , wherein said flip flop circuit is operable to receive said ready “rdy” signal from said first counter of said count lock circuit, and wherein said flip flop circuit is operable to output a “lock” signal on an output of said flip flop circuit that indicates that said phase locked loop circuit is in a locked condition.
- 5. A lock detection circuit for a phase locked loop circuit as claimed in claim 1 wherein said first circuit comprises:an exclusive OR circuit operable to receive an UP signal on a first input and operable to receive a DN signal on a second input; and a deglitch unit coupled to an output of said exclusive OR circuit, said deglitch unit operable to generate said clear “clr” signal that indicates that an UP signal and a DN signal are mismatched in time by more than a predetermined period of time.
- 6. A lock detection circuit for a phase locked loop circuit as claimed in claim 5 wherein said predetermined period of time is approximately equal to an estimated static phase error when said phase locked loop circuit is locked.
- 7. A lock detection circuit for a phase locked loop circuit as claimed in claim 1 further comprising:a count unlock circuit coupled to an output of said first circuit and coupled to a second output of said count lock circuit, said count unlock circuit operable to receive said clear “clr” signal from said first circuit, and operable to use said clear “clr” signal to determine that said phase locked loop circuit is in an unlocked condition.
- 8. A lock detection circuit for a phase locked loop circuit as claimed in claim 4 wherein said first counter of said count lock circuit is operable to generate a reset “rst” signal that indicates that said first counter has counted a predetermined number of clock cycles.
- 9. A lock detection circuit for a phase locked loop circuit as claimed in claim 8 wherein said predetermined number of clock cycles is thirty two.
- 10. A lock detection circuit for a phase locked loop circuit as claimed in claim 8 further comprising:a gate circuit having a first input coupled to an output of said first circuit and having a second input coupled to said output of said flip flop circuit that outputs said “lock” signal, and said gate circuit having an output coupled to an input of said count lock circuit; said gate circuit operable to prevent said clear “clr” signal from said first circuit from resetting said first counter of said count lock circuit when said gate circuit receives said “lock” signal on said second input of said gate circuit.
- 11. A lock detection circuit for a phase locked loop circuit as claimed in claim 10 further comprising:a count unlock circuit coupled to an output of said first circuit and coupled to a second output of said count lock circuit, said count unlock circuit operable to receive said clear “cir” signal from said first circuit, and operable to receive said reset “rst” signal from said count lock circuit, and operable to use said clear “cdr” signal and said reset “rst” signal to determine that said phase locked loop circuit is in an unlocked condition.
- 12. A lock detection circuit for a phase locked loop circuit as claimed in claim 11 wherein said count unlock circuit comprises:a second counter operable to count clear “clr” signals from said first circuit, and wherein a reset “rst” signal from said count lock circuit is operable to reset a count of said second counter to zero, and wherein said second counter is operable to generate an “unlock” signal that indicates that said phase locked loop circuit is in an unlocked condition when said second counter counts a predetermined number of clear “clr” signals from said first circuit during a time period between two reset “rst” signals from said count lock circuit.
- 13. A lock detection circuit for a phase locked loop circuit as claimed in claim 12 wherein said predetermined number of clear “clr” signals is four; andwherein said time period between two reset “rst” signals is thirty two clock cycles.
- 14. A lock detection circuit for a phase locked loop circuit as claimed in claim 12 wherein said second counter of said unlock circuit receives reset “rst” signals from said count lock circuit when said gate circuit is receiving said “lock” signal on said second input of said gate circuit.
- 15. A lock detection circuit for a phase locked loop circuit as claimed in claim 12 wherein said “unlock” signal generated by said count unlock circuit is provided to a clear input of said flip flop circuit to cause said flip flop circuit to output an “unlock” signal on an output of said flip flop circuit that indicates that said phase locked loop circuit is in an unlocked condition.
- 16. A method for detecting a lock condition in a phase locked loop circuit, said method comprising the steps of:receiving an UP signal and a DN signal from a phase frequency detector of said phase locked loop circuit in a first circuit; generating in said first circuit a clear “clr” signal that indicates that said UP signal and said DN signal are mismatched in time by more than a predetermined period of time; receiving said clear “clr” signal from said first circuit in a count lock circuit coupled to an output of said first circuit; and using said clear “cdr” signal in said count lock circuit to determine that said phase locked loop circuit is in a locked condition.
- 17. A method as claimed in claim 16 further comprising the steps of:counting clock cycles in a first counter of said count lock circuit; resetting a count of said first counter to zero when said first counter receives said clear “cdr” signal from said first counter; counting in said first counter a predetermined number of clock cycles without receiving said clear “clr” signal; and generating a ready “rdy” signal in said first counter that indicates that said phase locked loop circuit is in a locked condition when said first counter counts said predetermined number of clock cycles without receiving said clear “clr” signal.
- 18. A method as claimed in claim 17 wherein said predetermined number of clock cycles is one hundred twenty.
- 19. A method as claimed in claim 17 further comprising the steps of:coupling a flip flop circuit to a first input of said count lock circuit; receiving within said flip flop circuit said ready “rdy” signal from said first counter of said count lock circuit; and outputting a “lock” signal on an output of said flip flop circuit that indicates that said phase locked loop circuit is in a locked condition.
- 20. A method as claimed in claim 16 further comprising the steps of:receiving an UP signal on a first input of an exclusive OR circuit of said first circuit; receiving a DN signal on a second input of said exclusive OR circuit of said first circuit; receiving an output of said exclusive OR circuit in a deglitch unit coupled to an output of said exclusive OR circuit; and generating in said deglitch unit said clear “clr” signal that indicates that an UP signal and a DN signal are mismatched in time by more than a predetermined period of time.
- 21. A method as claimed in claim 20 wherein said predetermined period of time is approximately equal to an estimated static phase error when said phase locked loop circuit is locked.
- 22. A method as claimed in claim 16 further comprising the steps of coupling a count unlock circuit to an output of said first circuit;coupling said count unlock circuit to a second output of said count lock circuit; receiving in said count unlock circuit said clear “clr” signal from said first circuit; and using said “clr” signal in said count unlock circuit to determine that said phase locked loop circuit is in an unlocked condition.
- 23. A method as claimed in claim 19 further comprising the step of:generating in said first counter of said count lock circuit a reset “rst” signal that indicates that said first counter has counted a predetermined number of clock cycles.
- 24. A method as claimed in claim 23 wherein said predetermined number of clock cycles is thirty two.
- 25. A method as claimed in claim 23 further comprising the steps of:coupling a first input of a gate circuit to an output of said first circuit; coupling a second input of said gate circuit to said output of said flip flop circuit that outputs said “lock” signal; coupling an output of said gate circuit to an input of said count lock circuit; and preventing said clear “cir” signal from said first circuit from resetting said first counter of said count lock circuit when said gate circuit receives said “lock” signal on said second input of said gate circuit.
- 26. A method as claimed in claim 25 further comprising the steps of:coupling a count unlock circuit to an output of said first circuit; coupling said count unlock circuit to a second output of said count lock circuit; receiving in said count unlock circuit said clear “clr” signal from said first circuit; receiving in said count unlock circuit said reset “rst” signal from said count lock circuit; and using said clear “clr” signal and said reset “rst” signal in said count unlock circuit to determine that said phase locked loop circuit is in an unlocked condition.
- 27. A method as claimed in claim 26 further comprising the steps of:counting clear “clr” signals from said first circuit in a second counter within said count unlock circuit; resetting a count of said second counter to zero when said reset “rst” signal from said count lock circuit is received in said second counter of said count unlock circuit; generating an “unlock” signal in said second counter that indicates that said phase locked loop circuit is in an unlocked condition when said second counter counts a predetermined number of clear “clr” signals from said first circuit during a time period between two reset “rst” signals from said count lock circuit.
- 28. A method as claimed in claim 27 wherein said predetermined number of clear “clr” signals is four; andwherein said time period between two reset “rst” signals is thirty two clock cycles.
- 29. A method as claimed in claim 27 further comprising the step of:receiving in said second counter of said unlock circuit reset “rst” signals from said count lock circuit when said gate circuit is receiving said “lock” signal on said second input of said gate circuit.
- 30. A method as claimed in claim 27 further comprising the steps of:providing said “unlock” signal generated by said count unlock circuit to a clear input of said flip flop circuit; and causing said flip flop circuit to output an “unlock” signal on an output of said flip flop circuit that indicates that said phase locked loop circuit is in an unlocked condition.
CROSS-REFERENCE TO RELATED APPLICATIONS
The present invention is related to those disclosed in the following United States Non-Provisional Patent Applications:
1) Ser. No. 09/992,000, filed concurrently herewith, entitled “PHASE-LOCKED LOOP FREQUENCY SYNTHESIZER USING AUTOMATIC LOOP CONTROL AND METHOD OF OPERATION”; and
2) Ser. No. 09/993,283, filed concurrently herewith, entitled “CHARGE PUMP CIRCUIT FOR A HIGH SPEED PHASE LOCKED LOOP”.
The above patent applications are commonly assigned to the assignee of the present invention. The disclosures of these related patent applications are hereby incorporated by reference for all purposes as if fully set forth herein.
US Referenced Citations (4)