Kassem Ayoub
Kassem Ayoub
Bachelor’s Thesis
14 March 2021
Abstract
Ayoub Kassem
Author Phase Locked Loop (PLL)
Title
The main purpose of this project was to design a PLL circuit which can be locked at 1GHZ
with four factors of frequency division (10, 20, 40 and 80). Phase Locked Loops (PLLs) are
feedback systems that generate phase-locked signals in response to external input
signals. PLLs are used to generate an output signal with a programmable frequency.,
rational multiple of a fixed input frequency. In other words, PLLs are used to lock or track
input signals in frequency and phase. When the phase and frequency of the input signals
are synchronized, the PLL is said to be in the locked condition. The phase difference
between the output signal and the reference is a known value when the loop is locked.
To perform the PLL circuit a PCB was designed using PADS, and printed using the milling
machine in the university laboratory.
The main component of the PLL circuit are Prescaler, Active Loop Filter, Mixer, Power
splitter, variable resistor and A voltage-controlled oscillator (VCO). The Prescaler, mixer,
power splitter and VCO are surface mount component (SMD).
The goal of this thesis to achieve a locked state of PLL system was not achieved
successfully. After checking and testing the board the results shows that the only thing that
not working is the prescaler because the output of it was giving wrong signals to the mixer.
Also when changing the division factors they were not affecting in the output.
List of Abbreviations
List of Figures
List of Tables
1 Introduction 1
2 Terms in PLL 3
3 PLL Types 6
4 Uses of PLL 10
9 References 30
Appendices
Appendix 1. Measurement setup and the 1GHz output.
List of Abbreviations
AC Alternating Current
CP Charge Pump
dB Decibels
DC Direct Current
GHz Gigahertz
LO Local Oscillator
RF Radio Frequency
Figure 3. Output current pulses from charge pump in the lock state. 5
Figure 11. Active loop filter set with resistance and capacitance value. 15
Figure 16. PCB layout for the smallest size of PLL circuit. 23
Figure 20. PLL schematic without the prescaler, regulator and switches. 27
Figure 21. PLL layout without the prescaler, regulator and switches. 27
Figure 22. PLL schematic without the prescaler and loop filter. 28
28
Figure 23. PLL layout without the prescaler and loop filter.
List of Tables
1 Introduction
The aim of proposed thesis is to design a PLL PCB with SMD components along with
locked at 1GHz. PLL (Phase Locked Loop) can be interpreted as a common circuit block
in wireless applications and radio frequency. It is beneficial for many operations in radio,
wireless, and from Cell phones to Transmitting radios and TV to Wi-Fi routers. PPL has
wide range of applicability in walkie-talkie radios and state-of-the-art professional
communications systems encapsulating many other related latest communication
platforms.
PPL operations relies majorly on the difference of output signal and reference signal that
is also considered as vital factor for PPL flow of operations. The reference signal (Input)
comes from the oscillator and the output signal which come from the Voltage Controlled
Oscillator (VCO). It has ability to detect both of it and in case of error detection, phase
processes this information to monitor the frequency of the specified loop. Phase and
phase difference belongs to two different conceptual frameworks. They can be viewed
as two distinguished waveforms conventionally considered as sine waves additionally
visible on oscilloscope. If both signals are subjected to fire through trigger, both signals
will be shown at different locations at the screen.
PLL basically relies on the difference of phases among the feedback clock signal and
input clock signal related to controlled oscillator. It can viewed as a closed-loop
frequency-control system as well [1]. In other words, PLL can be designated as an
electronic feedback system that is operational with the assistance of consecutively
changing a voltage or current-driven oscillator. This behavior helps in matching with
the input signal phase along with frequency particularly. To attain the desired output
signal, addition, multiplication and division/mixing various frequencies can be achieved
through PLL. PLLs are composed of the below mentioned components and various
types:
Components Types
2 Terms in PLL
There are five terms that describe the operations in the PLL.
Scale of input signal frequencies through which the loop stays locked when it
has caught the input signal. This factor can be limited either through the phase
detector or through VCO frequency range. When the lock is departed in the PLL
circuit, the VCO starts performing its operation at the free-running frequency the
free-running frequency is between the 𝑓𝑚𝑖𝑛 and
𝑓𝑚𝑎𝑥. Also, the lock range is always wider than the capture range.
Capture Range can be defined as a frequency range that can inhibits PLL lock
even if it is not in Lock beforehand. This character is also known as acquisition
range. On the other hand, loop filter bandwidth improvises the rate of rejection of
the out of band signals. Meanwhile, the capture range falls and pull in the
targeted time to become enormous. On the other hand, phase margin becomes
decremented. These starting and ending points of lock and capture range are
depicted in figure 2.
The amount of time held by the PLL to catch the specified signal (or to create the
lock) is known as Pull in Time. It is also named as PLL Acquisition Time.
Rate of frequency at which the PLL start to drop the lock with reference is known
as Bandwidth. The advantages of high-bandwidth includes provision of a rapid
lock time with tracking of jitter corresponding to reference clock source.
Moreover, it is capable of tracking a broad spread-spectrum clock through
utilizing high-bandwidth setting. The primary effect related to low-bandwidth is
the reaction of PLL that keeps on changing slowly by its input clock along with
taking prolonged time duration to get down towards lower frequency.
2.5.2 Jitter
2.5.3 Spur
Figure 3. Output current pulses from charge pump in the lock state [8].
6
There are two factors. Firstly, when there is no flow of current and CP output from the
synthesizer is scheduled with the high resistance state. Secondly, when current
circulates in the circuit in practical terms. In both mentioned cases, it is known as “charge
pump leakage current”.
3 PLL Types
PLL have many associated types. Few of the known terms are analog phase locked loop
(APLL) also referred to as a linear phase-locked loop (LPLL), digital phase locked loop
(DPLL), all digital phase-locked loop (ADPLL), and software phase-locked loop (SPLL)
[2].
The APLL is first given the signal to lock on to, called the reference signal, then
a DC voltage is manually tuned to set the VCO to nearly the right frequency. When
the frequency of the output is close to the input, the startup circuit will disconnect
the user-supplied DC voltage and connect the output to the VCO. A pin is provided
for a reset voltage. If the oscillator’s tuning voltage goes below this voltage, the
chip will be placed back into startup conditions. In simulation with parasitic, the
APLL worked from average 4 MHz to 10 MHz it operates with three voltage rails:
-2.5 v, 0 v, and +2.5 v [3]. The Block diagram of the Analog phase-locked loop is
depicted in figure 4.
It has the same basic as the PLL but the only difference is the Phase detector it
uses analog multiplier instead of the mixer as shown in figure 5.
The LPLL is comprised of four integral stability regions. These regions are
described as specific deviations within frequency from the passive frequency of
the VCO. Reference frequency transition with respect to their speed is shown in
figure 6.
1. ∆𝜔𝐻 is the hold range from where the PLL maintains phase tracking statically. If the
reference frequency diverges from the expected passive frequency then LPLL will be
shifted to unlock resultantly phase error will turn into infinity state. This character is
2. ∆𝜔𝜌 is pull-in range within which an LPLL is set to lock if unlocked. This range
would be infinite provided the correct filter is utilized.
3. ∆𝜔𝜌𝑜 is the pull-out range: This range stands for dynamic limit for secure
operation of a PLL. When tracking is dropped within specified range, an LPLL
usually revert to lock again. It is a slow process if related to pull-in operation. It
also describes the extent of a frequency step that can be taken by LPLL without
unlocking.
4. ∆𝜔𝐿 is the lock range which is frequency range within which a PLL locks inside a
single-beat note among output frequency and reference frequency. This
character is independent of the speed during the phase change provided the
case it should not go beyond the range.
Digital PLLs are classification of PLL that is used for synchronizing digital signals.
Input and Output is set to be digital in DPLLs that indicates they possesses internal
functions highly based on analog signals. DPLL is comprised of four integral
elements i.e.
• Phase Detector
• Loop Filter
• Divider
9
The divider is designed to perform for the output signal with a frequency of the phase
expected output. This component is missing in DPLLs that are specifically invented to
possess an input frequency similar to the output frequency.
Digital Digital
in Phase De- Loop
tector Filter out
Digital
VCO
A software PLL can be describe as a developed software in which the blocks are
established with respect to software instead of actual hardware.
4 Uses of PLL
The demand of the PLL has witnessed significant rise due to its broader applications in
the scope of electronics, instrumentation and transmission. The modern applications
related to the PLL circuits i.e. microprocessors, memories, RF, hard disk drive
electronics, and wireless transceivers, clock recovery circuits on microcontroller boards
and optical fiber receivers. Below mentioned are PLL applications as follows.
Plenty of electronic systems comprised of processors with different types that are
operational at hundreds of megahertz. Conventionally, the incorporated clocks
came from these processors and from clock generator PLLs. In order to multiply
a lesser-frequency reference clock (usually 50 or 100 MHz) ranging from operating
frequency of the processor. The multiplication factor can be analyzed as
considerably large in cases where the operational frequency is multiple GHz along
with reference crystal being at just tens or hundreds of megahertz [11].
Skew Reduction is significant and advanced use of PLL. This factor assist in
synchronous pair of data along with clock lines that enters through a large digital
chip. It usually drives a considerable number of transistors, that’s why it is better
incorporated to the large buffer. Furthermore, the distribution on chip can also
suffer from substantial skew corresponding to data.
Few of the data streams, particularly high-speed continuous data streams i.e.
raw stream of data along with magnetic head of a disk drive are designated
without an assisted clock. The receiver is set to produce a clock from an
average frequency reference. When Phase aligns for transformation in the data
stream with a PLL, this flow is mentioned as clock recovery frequency reference, and
12
then phase-aligns to the transitions in the data stream with a PLL. This process is
referred to as clock recovery.
The beneficial aspect related to all PLLs is their ability to bring clock edges forward
into the close proximity. The associated average difference in relation with time
among the stages of the two respective signals during which PLL has attained lock
is known as the static phase offset. The discrepancy present between these phases
is designated as tracking jitter. In majority of the cases, it shall be zero, and on the
other hand tracking jitter shall be low and easily achievable [11].
This chapter explains the types of each component of the PLL circuit and how it was
built.
Functionality of a PLL relies within the phase difference of respective two signals, the
first signal is the reference signal with frequency 𝐹𝑚𝑖𝑛 which come from the signal
generator and the second one is the feedback 𝐹𝑜𝑢𝑡 and it come from the VCO. An
error voltage that is directly proportional with the variance between phases of the two
signals is initiated by the phase detector. This respective error generated voltage can
effectively utilized to synchronize the related frequency of the PLL. Appropriately given
two signals is subjected to be closely related to each other. The occurrences of phase
variation among signals is supposed to be null or negligible. Furthermore, the charge
pump controls from respective loop filter and it is dependent on the condition of the
signal that is been fed by the connected PFD. While considering the signals that are
generated by the PFD are of two types i.e. high and low signals. The condition of these
signals relies on the phase (leading/lagging) for the associated feedback signal. The
operation of VCO are set for higher frequency if the condition of control signal is ‘up’
13
and contra wise. The charge pump operates the current for the loop filter in case if it
gets an ‘up’ signal. Otherwise, it withdraws the current through loop filter if it gets a
‘down’ signal [1].
Figure 9. CP Out of the case of frequency lock and phase lock [5].
Figure 9, illustrates the system when it is out of lock and the provided frequency at -IN is
below the frequency at +IN. The expected output of CP is usually at the high state more
often. The initial rising side on +IN forms it as high state of output until the first rising side
on -IN depicts. In other words, output is considered as the input of the VCO that
constructs the frequency higher at -IN. When the frequency on -IN is bit higher in
comparison with the frequency on +IN, then output associated with CP would be in the
low state for most of its time. This also makes VCO input lower and frequency at - IN
should be in close proximity with +IN in order to make the locked condition possible.
Based on the succeeded filter of MyoungJun Kwak [10] thesis which was the single-pole
single-zero active loop filter. And it is because it does not have a spurious signal. It is
composite of an op-amp, capacitor and three resistors. Figure 10 depicts Electrical
schematic in detail.
14
The transfer function associated with loop filter is identify as an equation 1 and 2 [6].
1+𝑠τ
𝐹(𝑠) = −𝐾𝑎 1+(τ1+2τ2) (1)
τ1 = 𝑅2 𝐶 → τ2 = 𝑅3 𝐶 → 𝐾𝑎 = 𝑅2 /𝑅1 (2)
When DC polarity of a mixer is negative then it indicates that the mixer is going to
generate negative current. Secondly, positive signal current is needed to operate VCO
in terms of turning buffer which is executed for passive loop filter. Moreover, active loop
filter are not designed to use a polarity inversion due to the transfer function of equation
1 that possesses negative polarity. As per Table 1 description, VCO produces 1GHz
frequency with an input voltage locality of 6.62V. Although, there are restrictions for DC
current that mixer is capable of generating per given time. Conventionally, It is incapable
of generating a DC voltage equals to 6.62V. Due to this factor, bias voltage of VCO is
subjected to be set by additional level shifter. This can also be attained with the help of
potentiometer and with DC voltage.
15
Figure 11. Active loop filter set with resistance and capacitance value.
Figure 11 shows a given set of active loop filter along with level shifter. As discussed
earlier, the active loop filter and inverting buffer are not needed, because the loop filter
is capable of polarity inversion itself. Although, the negative voltage is needed for its
application, but resistance of potentiometer i.e. R1, R4 values needed to be the same
due to the fact that set act like a voltage summer.
5.3 VCO
VCO considered as the key of PLL circuit. The VCO converts a voltage to frequency
so, basically electronic circuit can generates the frequency signal in relation to required
input voltage. While considering the fact that it keeps on changing in the course of
same sense, it starts raising the frequency in relation to increased voltage. When a
change occurs, few cases act normal in response to a result of false resonances. It
can also result in the loop to make it unstable.
The output of the VCO is of two kinds i.e. a sine waved signal and squared wave signal.
It is dependent upon the requirements of the relation that exist within applied voltage
16
and output signal. Usually, elongated voltage input moves towards the VCO to increase
the frequency output that results in overall frequency increase as illustrated in figure 12.
Where
Vinvco is set as input voltage to the VCO, ωo, and it considered as free running
frequency, KVCO is the added by the VCO and is given by
𝑓max − 𝑓𝑚𝑖𝑛
𝐾𝑉𝐶𝑂 = 2𝜋 . 𝑉 𝑟𝑎𝑑 /𝑠𝑒𝑐 − 𝑣𝑜𝑙𝑡 (4)
max − 𝑉𝑚𝑖𝑛
17
The aim is 1GHz output so according to the table 1 the VCO needs 6.62V input to
generate the require frequency. And Vtune can change it by using the variable resistor
in the loop filter.
The results above are shown as a linear graph in figure 13. The figure shows that the
frequency is escalating same as figure 12.
5.4 Prescaler
A prescaler can be defined as an electronic counter circuit that utilizes by reducing the
frequency through performing an integer division N for the input frequency for high
frequency signals towards lower signals. To be more precise, prescaler is an integrated
frequency divider circuit.
𝐹𝑖𝑛
𝐹𝑜𝑢𝑡 = 𝑁
, where ‘‘N’’ is an integer. (5)
The MC12080 is a single modulus divide by 10, 20, 40 and 80 prescaler for low power
frequency division of a 1.1 GHz high frequency input signal. And the frequency division
factors are controlled by three switches SW1, SW2 and SW3 to select the required
divide ratio of ÷10, ÷20, ÷40, or ÷80.
Table 3. Control signal states and their related division factors taken from MC12080 1.1 GHz
prescaler datasheet.
A reference frequency also abbreviated as Fref is implemented on the PLL. This factor
creates plenty of error voltage and can effect the voltage-controlled oscillator. This kind
of frequency and its output signal are meant to have many variations, because the error
voltage keeps on changing. The given voltage-controlled oscillator is reverted again to
the PLL partially. It moves from the prescaler circuit and acts like a second input taken
from the error detector. When error detector gives an error voltage that is equivalent to
the differentiation of the two signals. i.e. reference signal and the feedback signal then
both can have equal frequency with respect to PLL. It is also perceived to be locked.
When the loop is locked, PLL automatically modify itself in order to deal with change
related to input frequency 𝐹𝑟𝑒𝑓 within lock range. When input 𝐹𝑟𝑒𝑓 is increasing or
decreasing slightly, error detector orderly produces an error voltage corresponding to
the scenarios. This error is given to the loop filter. Resultantly, the loop filter keeps on
changing and the tuning voltage related to the VCO also starts changing the respective
VCO output frequency. During these changes, the feedback frequency also shows
significant transitions. The feedback frequency modifications retains the loop locked until
the applied frequency comes within the lock range specified by PLL.
As per formula, if 𝐹𝑟𝑒𝑓 is abbreviated as applied reference frequency and 𝐹𝑜𝑢𝑡 is set as
frequency of output signal generated by VCO and N is declared as the frequency division
factor of the prescaler, we can write the frequency of both input signals at the error
detector is 𝐹𝑟𝑒𝑓 and 𝐹𝑜𝑢𝑡 /𝑁.
𝐹𝑜𝑢𝑡
𝑒(𝑠) = 𝐹𝑟𝑒𝑓 − (6)
𝑁
𝐹𝑜𝑢𝑡
𝐹𝑟𝑒𝑓 − =0 (7)
𝑁
𝐹𝑜𝑢𝑡
𝐹𝑟𝑒𝑓 = (8)
𝑁
To achieve this PLL circuit, initially a schematic along with its corresponding layout is
created through Pads which is a design software and mainly helps in electronic circuit
design. Pads is assists with handy tools for designing schematics and incorporating
them with PCB layout design. The schematic for PLL circuit is illustrated in figure 14.
Starting this schematic by putting first the prescaler, pin No.1 connected to the port 1 of
power splitter, pin No.2 is the input 5V and to get exactly 5V input adding a regulator
LM7805 with 2 CAPS and connected to it, pin No.3, 6 and 7 they are connected to 3
switches (three terminal switch) the switch is connected to 5v and ground they work as
high and low. The output of the prescaler is connected to 1000pf cap and continue to
the LO of the mixer, the RF connected to the connector for the reference frequency
and IF connected to the Filter and it is going to the input of the VCO and the output
connected to the sum of the power splitter, and port 2 connected to the connector. In
addition, after the filter has been checked in Multisim to see if the variable resistor work
and affect in the output voltage of the loop, it works perfectly and it was changing the
output voltage for the same values that need to make the VCO generate 1GHz output
frequency.
After finishing all the schematic and checking all the parts, then the next step is doing
the layout as shown in figure 15. As shown in figure 16 first try was to make the board
small as possible but the milling machine was not that much accurate it makes some
mistakes in connections. Like 2 wires are touching each other or the copper around the
hole was not in the middle, so the board needed to be expanded and making some
extra space between all components and wires as shown in figure 15.
The size of the smallest board is 5.7 cm x 7.5 cm and figure 16 shows how much it was
small and all the components are close to each other’s without any free space and using
both top and bottom layers to make the connections.
Figure 16. PCB layout for the smallest size of PLL circuit.
For the pin number two in the prescaler which go to the regulator it is not connected well
in the layout because there was no possible way to make or to find a route for it. So due
to that it has needed to be done separated, there after printing the board. So pin number
two was completed manually using a thin wire and soldering it to both sides. Here is the
final board after printing and soldering all the components on it as shown on figure 18.
25
Here is the bottom layer that shown in figure 19, there is no connections on it and only
the ground pins of the top components are solid with it.
And here is the two tasks that are additional to my work because the circuit did not work
due to problem with one component, the tasks are:
1) Design two circuits on PCB: a) one with everything else except the prescaler.
b) Another one with everything else except the prescaler and the loop filter.
2) Use surface mount components whenever possible for all circuits, have the
ground plane below the PCB everywhere unless extremely necessary. Make the
PCB much smaller in order to minimize the lengths of the lines to minimize the
coupling / overhearing.
So, starting with the first board the prescaler, regulator and the three switches were
removed. The final schematic and layout design shown in figures 20 and 21.
27
Figure 20. PLL schematic without the prescaler, regulator and switches.
Figure 21. PLL layout without the prescaler, regulator and switches.
The second board is the same as first one but in addition the filter was removed also.
The final schematic and layout design shown in figures 22 and 23.
28
Figure 22. PLL schematic without the prescaler and loop filter.
Figure 23. PLL layout without the prescaler and loop filter.
29
In this thesis, the whole PLL system and their components are discussed, analyzed,
and measured. The whole theoretical part of the system is discussed, and each
component is studied and analyzed.
The goal to achieve a locked state of the PLL system was not attained successfully.
After checking and testing the board the results shows that the only thing that not
working is the prescaler because the output of it was giving wrong signals to the mixer.
Also when changing the division factors they were not affecting in the output so there
are only two possible options for this problem:
9 References
URL:
https://www.theseus.fi/bitstream/handle/10024/163525/Kwak_MyoungJun.pdf?sequenc
e=2&isAllowed=y.
11 Eklund, H., 2005. Real Time Phase Locked Loops. [online] Diva-portal.
URL: https://www.diva-portal.org/smash/get/diva2:1016340/FULLTEXT01.pdf
[Accessed 19 December 2020].
Figure 24. Measurement setup for testing PLL circuit and as you can see in the spectrum
analyzer the output is 1GHz.