Phase locked loop, PLL, tutorial
- an introduction to the phase locked loop, PLL, and how it 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, and accordingly the PLL is found in many radio
receivers as well as other pieces of equipment.
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 ain 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
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 degrees. The instantaneous position on the circle represents
the phase at that given moment relative to the beginning of the cycle.
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.
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.
PLL 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: 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.
- 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.
- 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.
PLL operation
The concept of the operation of the PLL is relatively simple, although the
mathematical analysis can become more complicated
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.
![Phase locked loop, PLL](/images/electronics/synth01.gif)
Block diagram of a basic phase locked loop (PLL)
The error signal from the phase detector in the PLL 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 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.
Summary
The phase locked loop 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. Nowadays most hi-fi tuners and car radios use them and a
large proportion of the portable radios on the market as well. With their
interface to microprocessors so easy their use is assured for many years to
come.
|