Background of the Invention
This invention relates generally to phase-frequency detection and more particularly to a digital phase-frequency detector.
Phase-locked loops are well known in the art and are electronic circuits for locking an oscillator in phase with an arbitrary input signal. The phase-locked loop is utilized in two fundamentally different ways; first as a demodulator, where it is employed to follow (and demodulate) frequency or phase modulation, and second to track a carrier or synchronizing signal which may vary in frequency with time.
An essential part of the phase-locked loop is the phase angle (.phi.) detector. Phase-locked loop performance is dependent on the loop's ability to control the frequency and phase of the voltage-controlled oscillator output. The typical phase detector adequately controls the output frequency and phase relationships when the loop is in the locked condition. However, when the loop is out of lock, i.e., the input reference signal and the loop output signal have a different frequency and phase relationship, acquisition and lock out of the input reference becomes a relatively slow process.
Under these conditions the output of this type of detector is in the form of one error beat frequency which slowly adjusts the output frequency in the proper direction. A more desirable phase detector output, under these conditions, would be a voltage which would move the output frequency in the proper direction at an increased rate.
A currently available phase-frequency detector that will correct a frequency difference more quickly than other known detectors is the Motorola MC-12040 (R) phase-frequency detector. The disadvantage of this and similar detectors is a condition which occurs when the phase locked loop is locked and no phase error exists. This design of phase detector exhibits a "dead zone" in which the phase of the loop's output is not tightly controlled. The "dead zone" is an undesirable characteristic because a lack of phase control will, with substantial probability, result in phase jitter, an undesirable characteristic well known in the art.
The phase-frequency detector described herein exhibits rapid acquisition with accurate control of phase thus eliminating any "dead zone" and the possibility of phase jitter.
Summary of the Invention
The invention relates to a digital phase-frequency detector circuit for use in phase-locked loop applications. The circuit is characterized by fast acquisition time and accurate control of phase with no "dead zone" and accompanying phase jitter.
In accomplishing this result the invention employs two flip-flops in conjunction with an exclusive or (EXOR) gate, coupled to the output of the phase-frequency detector. With the detector in the locked condition, outputs of the two flip-flops are high causing the EXOR gate to be gated to the output of the detector. In an unlocked condition, there is a phase difference in the input frequencies which will increase until the higher frequency has two positive transitions before a positive transition on the lower frequency can propagate through the circuit. This condition will cause one flip-flop receiving the higher frequency, to change state thereby preventing the EXOR gate from gating and the other flip-flop from changing state.
The result of this arrangement is that the flip-flops will control the detector output until the two input frequencies again coincide at which time the detector output is again controlled by the EXOR gate.
It is therefore an object of the invention to provide a new and improved digital phase-frequency detector.
It is another object of the invention to provide a new and improved digital phase-frequency detector for phase locked loops.
It is a further object of the invention to provide a new and improved digital phase-frequency detector that provides rapid acquisition time.
It is still another object of the invention to provide a new and improved digital phase-frequency detector in which capture range and lock range are equal.
It is still a further object of the invention to provide a new and improved digital phase frequency detector for phase-locked loops that eliminates any characteristic "dead zone" when the loop is in a lock mode.
It is another object of the invention to provide a new and improved digital phase-frequency detector for phase locked loops that prevents phase-jitter in the loop.
These and other advantages, objects and features of the invention will become more apparent after considering the following description taken in conjunction with the illustrative embodiment in the accompanying drawing.
Description of the Drawing
FIG. 1 is a schematic representation of the circuit of the invention; and,
FIG. 2 is a graph illustrating the output versus phase characteristic of the digital frequency detector of the invention.
Description of the Preferred Embodiment
Referring now to FIG. 1, a phase detector schematic diagram is shown. The reference input signal from the voltage controlled oscillator of the phase locked loop is shown at 10, while the variable input is shown at 12. The clocked reference signals are sent to flip-flops 14 and 16 while the clocked variable input signals are sent to flip-flops 18 and 20.
The phase-frequency detector shown is locked in, when the positive transitions of the reference input and the variable input are equal in frequency and have a phase difference of 180.degree.. Under these conditions the Q output of flip flop 16 will be high, and the Q output 24 of flip flop 20 will also be high. This will cause the output of exclusive or (EXOR) gate 26 to be gated via line 28 through NAND gates 30, 32 to the output of the phase-frequency detector 34.
The output of the EXOR gate will be high whenever the Q output 36, of flip flop 14, is the same as the Q output 38 of flip flop 18. The output of the EXOR gate will be low when Q, 36 and Q, 38 are different.
Under a locked condition the duty cycle of this output will be fifty percent and the output frequency will be equal to the input frequency. Any change in phase will result in a corresponding linear change in duty cycle.
If the frequencies of reference input 10 and variable input 12 differ, the phase difference will increase until the higher frequency input will have two positive transitions before a positive transition on the lower frequency input can propogate through its input flip flop and the EXOR gate.
Since, in a locked condition, a positive transition on the reference (10) or variable (12) input will occur when the output of EXOR gate 26 is low and high respectfully, a double transition such as just described will result in a change of state of either flip flop 16 or flip flop 20. The flip flop that changes state will depend on which input receives a double transition. If a double transition occurs on the reference input (10) the Q output 22 of flip flop 16 will go to a low state, forcing the output 34 of the detector to a high level and also controlling flip flop 20 so no change of state can occur on its Q output 24.
If a double transition occurs on the variable input (12) the Q output 38 of flip flop 20 will go to a low state forcing the output 34 of the detector to a low level and also controlling flip flop 16. No change of state can occur on its Q output 22.
Flip flop 16 and flip flop 20 will control the output of the detector in this saturated state until the phase of the two input frequencies again lines up such that the output of EXOR gate 26 is again linearly related to the phase difference between the two input frequencies. At this time control of the detector output is transferred back to EXOR gate 26.
FIG. 2 illustrates the output versus phase characteristic of the invention as effected by the above described operation thereof.
Although the invention has been described with reference to a particular embodiment, it will be understood to those skilled in the art that the invention is capable of a variety of alternative embodiments within the spirit and scope of the appended claims.