PLL Phase Locked Loop Tutorial
- this phased locked loop tutorial looks at the PLL fundamentals and explains the basic concepts and the way the loop operates.
The phase locked loop or PLL is a particularly flexible circuit building block.
The phase locked loop, PLL can be used for a variety of radio frequency applications, from frequency synthesizers to clock recovery and FM demodulation.
As a result the phase locked loop is found in many items of radio frequency equipment including radio receivers, test equipment and other items of radio frequency electronics.
Phase locked loop development
The phase locked loop, PLL, was not used in early radio equipment because of the number of different stages required. However with the advent of radio frequency integrated circuits, the idea of phase locked loops, PLLs, became viable. Initially relatively low frequency PLLs became available, but as RF IC technology improved, so the frequency at which PLLs would operate rose, and high frequency versions became available.
Phase locked loops are used in a large variety of applications within radio frequency technology. PLLs can be used as FM demodulators and they also form the basis of indirect frequency synthesizers. In addition to this they can be used for a number of applications including the regeneration of chopped signals such as the colour burst signal on an analogue colour television signal, for types of variable frequency filter and a host of other specialist applications
Phase locked loop video
Phase locked loop concepts - phase
The operation of a phase locked loop, PLL, is based around the idea of comparing the phase of two signals. This information about the error in phase or the phase difference between the two signals is then used to control the frequency of the loop.
To understand more about the concept of phase and phase difference, first visualise a radio frequency signal in the form of a familiar x-y plot of a sine wave. As time progresses the amplitude oscillates above and below the line, repeating itself after each cycle. The linear plot can also be represented in the form of a circle. The beginning of the cycle can be represented as a particular point on the circle and as a time progresses the point on the waveform moves around the circle. Thus a complete cycle is equivalent to 360° or 2π radians. The instantaneous position on the circle represents the phase at that given moment relative to the beginning of the cycle.
Phase increment on a signal
To look at the concept of phase difference, take the example of two signals. Although the two signals have the same frequency, the peaks and troughs do not occur in the same place. There is said to be a phase difference between the two signals. This phase difference is measured as the angle between them. It can be seen that it is the angle between the same point on the two waveforms. In this case a zero crossing point has been taken, but any point will suffice provided that it is the same on both.
Phase difference between signals
When there two signals have different frequencies it is found that the phase difference between the two signals is always varying. The reason for this is that the time for each cycle is different and accordingly they are moving around the circle at different rates.
It can be inferred from this that the definition of two signals having exactly the same frequency is that the phase difference between them is constant. There may be a phase difference between the two signals. This only means that they do not reach the same point on the waveform at the same time. If the phase difference is fixed it means that one is lagging behind or leading the other signal by the same amount, i.e. they are on the same frequency.
Phase locked loop basics
A phase locked loop, PLL, is basically of form of servo loop. Although a PLL performs its actions on a radio frequency signal, all the basic criteria for loop stability and other parameters are the same.
A basic phase locked loop, PLL, consists of three basic elements:
- Phase comparator / detector: As the name implies, this circuit block within the PLL compares the phase of two signals and generates a voltage according to the phase difference between the two signals.
Read more about the phase detector
- Loop filter: This filter is used to filter the output from the phase comparator in the PLL. It is used to remove any components of the signals of which the phase is being compared from the VCO line. It also governs many of the characteristics of the loop and its stability.
Read more about the loop filter
- Voltage controlled oscillator (VCO): The voltage controlled oscillator is the circuit block that generates the output radio frequency signal. Its frequency can be controlled and swung over the operational frequency band for the loop.
Read more about the voltage controlled oscillator
Phase locked loop operation
The basic concept of the operation of the PLL is relatively simple, although the mathematical analysis and many elements of its operation can become more complicated
The basic phase locked loop is connected as shown in the diagram below. The reference signal and the signal from the voltage controlled oscillator are connected into the phase detector. The output from the phase detector is passed through the loop filter and then applied to the voltage controlled oscillator.
Phase locked loop basic diagram
The Voltage Controlled Oscillator, VCO, within the PLL produces a signal which enters the phase detector. Here the phase of the signals from the VCO and the incoming reference signal are compared and a resulting difference or error voltage is produced. This corresponds to the phase difference between the two signals.
The error signal from the phase detector passes through a low pass filter which governs many of the properties of the loop and removes any high frequency elements on the signal. Once through the filter the error signal is applied to the control terminal of the VCO as its tuning voltage. The sense of any change in this voltage is such that it tries to reduce the phase difference and hence the frequency between the two signals. Initially the loop will be out of lock, and the error voltage will pull the frequency of the VCO towards that of the reference, until it cannot reduce the error any further and the loop is locked.
When the PLL, phase locked loop, is in lock a steady state error voltage is produced. By using an amplifier between the phase detector and the VCO, the actual error between the signals can be reduced to very small levels. However some voltage must always be present at the control terminal of the VCO as this is what puts onto the correct frequency.
The fact that a steady error voltage is present means that the phase difference between the reference signal and the VCO is not changing. As the phase between these two signals is not changing means that the two signals are on exactly the same frequency.
The phase locked loop, PLL, is one of the most versatile building blocks in radio frequency electronics today. Whilst it was not widely used for many years, the advent of the IC meant that phase locked loop and synthesizer chips became widely available. This made them cheap to use and their advantages could be exploited to the full.
By Ian Poole
. . . . | Next >>
Share this page
Want more like this? Register for our newsletter