Phase Detector: digital, linear, mixer . .
The phase detector is a key element of a phase locked loop and many other circuits. There are several types ranging from digital to analogue mixer and more.
Home » Radio & RF technology » this page
Phase Locked Loop, PLL Tutorial / Primer Includes:
Phase locked loop, PLL basics
Phase detector
PLL voltage controlled oscillator, VCO
PLL loop filter
The phase sensitive detector can be used in a number of circuits – anywhere that it is necessary to detect the phase between two signals.
One of the main areas where phase detectors are used is within phase locked loops, although this is by no means the only one.
The phase detector enables phase differences to be detected and the resultant "error" voltage to be produced.
There are different types of phase detector. They can be categorised in a variety of ways, but one is given below:
- Phase only sensitive detectors
- Phase / frequency detectors
Phase sensitive and phase-frequency detectors can be used in different ways and they are therefore described separately.
Phase only sensitive detectors
Phase detectors that are only sensitive to phase are the most straightforward form of phase detector. As the name indicates their output is only dependent upon the phase difference between the two signals. When the phase difference between the two incoming signals is steady, they produce a constant voltage. When there is a frequency difference between the two signals, they produce a varying voltage at a frequency equal to the frequency difference.
The difference frequency product is the one used to give the phase difference.
However it is quite possible that the difference frequency signal will fall outside the pass-band of the loop filter, and hence the overall phase locked loop. If this occurs then no error voltage pass through the PLL loop filter and on to the Voltage Controlled Oscillator, VCO, to bring it into lock. This means that there only is a limited range over which the phase locked loop can be brought into lock. This range is called the capture range. Once in lock the loop can generally be pulled over a much wider frequency band.
Apart from using a phase frequency detector, there are several ways in which this problem can be overcome. The oscillator must be steered close to the reference oscillator frequency. This can be achieved in a number of ways. One is to reduce the tuning range of the oscillator so that the difference product will always fall within the pass-band of the loop filter. In other instances another tune voltage can be combined with the feedback from the loop to ensure that the oscillator is in the correct region. This is approach is often adopted in microprocessor systems where the correct voltage can be calculated for any given circumstance.
Several forms of phase only sensitive phase detectors exist:
- Double balanced mixer phase detector: The double balanced mixer or diode ring mixer is one of the simplest forms of phase detector. The double balanced mixer of diode ring phase detector is a simple and effective form of phase detector that can be implemented using a standard diode ring module.
The mathematic shows that the voltage at the IF port of the diode ring mixer varies as the cosine of the phase different between the inputs ta the RF and LO inputs to the diode ring. This means that null or 0V readings are obtained for a zero degree phase difference, but also at odd multiples of π/2. Maximum and minimum voltages are seen at points where the phase difference is a multiple of π.
- XOR phase detector: The exclusive OR, XOR phase detector circuit can provide a very useful simple phase detector for some applications. It comprises of a logic exclusive OR circuit. Being digital in format it can often fit into a phase locked loop with ease as many of the circuits associated with the phase locked loop may already be in a digital format. Alternatively an exclusive OR can be made from discrete components to give a wider variety of levels and other options.
The way in which an exclusive OR, XOR phase detector works can be seen by the diagram below:
It can be seen that using these waveforms, the XOR logic gate can be used as a simple but effective phase detector.
As might be expected for such a simple circuit, there are a few drawbacks to using an XOR phase detector:
- The phase detector is sensitive to the clock duty cycle. This means that a steady duty cycle, i.e. 1:1 should be used. It will lock with a phase error if the input duty cycles are not 50%.
- The output characteristic of the XOR phase detector show repetitions and gain changes. This means that if there is a frequency difference between the input reference and PLL feedback signals the phase detector can jump between regions of different gain. The characteristic of the phase detector is as shown below:
- The nominal lock point with an XOR phase detector is also at the 90° static phase shift point.
Phase-frequency detectors
Another form of detector is said to be phase-frequency sensitive. These circuits have the advantage that whilst the phase difference is between ±180° a voltage proportional to the phase difference is given. Beyond this the circuit limits at one of the extremes. In this way no AC component is produced when the loop is out of lock and the output from the phase detector can pass through the filter to bring the phase locked loop, PLL, into lock.
There are several types of phase-frequency detectors that can be used.
- Edge triggered JK flip flop phase frequency detector: This form of phase comparator or phase detector is used in some designs.
The idea behind the JK flip flop based comparator is that it is a sequentially based circuit and this can be used to provide two signals: one to charge, and one to discharge a capacitor.
Often when using this form of phase detector, an active charge pump is recommended.
JK Flip Flop States v1 v2 Qn+1 0 0 Qn 0 1 0 1 0 1 1 1 Qn bar
These waveforms can be interpreted and it is found that the overall response appears as below.