PLL Design Report
PLL Design Report
Design Specifications:
In this design project, we need to design a VLSI Phase-Locked Loop (PLL) circuit that is
targeted at an application shown in a VLSI high-speed I/O clock spec below:
Such a PLL should be able to generate a set of equally spaced 4-phase clocks that can be
programmable to two clock frequencies for above HS-G2 (A/B) applications.
Vc
PFD
LPF
Ck1
VCO
Ck2
Ck3
Ck4
Ckf
1/N
The key specification of the PLL for this project are as follows:
Introduction:
This project describes the design of a fully-integrated PLL for low power applications. PLLs are
used to generate on-chip clocks. A PLL is a feedback loop system that locks the on-chip clock
phase to the input clock from the crystal to generate a high frequency clock for on chip usage. A
series of clock buffers are used to increase the drive strength of the PLL and this can be used to
drive large loads of the circuit. PLLs are mostly used for two purposes: clock generation, and
timing recovery. For clock generation, since off-chip reference frequencies are limited by the
maximum frequency of a crystal frequency reference, a PLL receives the reference clock and
generates a high frequency clock in several Giga Hertz range. Timing recovery pertains to the
data communication between chips.
Fundamentals of PLL:
The basic block diagram of a PLL is shown in the below figure . A PLL is a closed-loop
feedback system that sets fixed phase relationship between its output clock phase and the phase
of a reference clock. A PLL tracks the phase changes that are within the bandwidth of the PLL.
A PLL also multiplies a low-frequency reference clock, to produce a high-frequency clock.
Frequency Divider
Figure 04: 2nd order Charge pump with loop filter [1]
The PFD, charge pump and filter are often modeled with a linear continuous-time model. In
reality, the PFD acts as a pulse modulator system and drives the charge-pump for the duration of
pulse width which is equal to PFD input phase difference, . The actual phase response is not
linear because phase is cyclical. Furthermore, the phase information is discrete, sampled at the
clock reference frequency However, a linear continuous-time approximation is often used to
model the stability of an operating point. The error due to approximation is negligible if the PLL
bandwidth is 1/10th or smaller than the reference clock frequency .The reference frequency
determines the rate that PFD output is refreshed. With a linear approximation, Vc is equal to:
where Vc (s)/ = (IB/2) F(s); F(s) is the transfer function of the loop filter and IB is biasing
current of the charge pump. F(s) = (1/sC1) *(1+sRC1).
The charge pump has two gain components which are KP and KI where KP = R and KI = 1/sC1.
Our loop bandwidth specification is around 1 MHz and we know loop bandwidth
VCO = KVCO .Vc. dt; where KVCO is the gain of the VCO. Ideally,
for the linear analysis to apply over a large frequency range, KVCO, needs to be relatively
constant. KVCO is the found by sweeping the control voltage and observing the corresponding
output oscillation frequency. f/VC is the KVCO of that particular VCO. For our project the value
of KVCO is 24.57 G rad/V-sec. Followings are the schematics and simulated results of the VCO.
10
11
At the output of the VCO, the signal swing is not rail to rail. That is why additional set of buffers
are used at each output to generate rail to rail swinging clock signals.
Figure 13: Four equally spaced clock pulses at 2.9 GHz for Vc = 0.55 V
12
Figure 14: Four equally spaced clock pulses at 1.66 GHz for Vc = 0.9 V
Figure 15: VCO frequency tuning curve showing the KVCO to be 2*3.91 G rad/V-sec.
13
F/6 Divider
F/2 Divider
F/8 Divider
2:1 MUX
F/7 Divider
get two stretch cycles 0 and 1 on Q2,when Qx=0 which makes the circuit as a frequency
divider by 6.
15
16
17
n =
1/Q =
; which is the loop bandwidth and Q is the quality factor of the PLL;
= 2, is the damping factor. For our case the loop bandwidth is 1.29 MHz
and Quality factor is 0.62, damping factor is 0.80 when N = 112 and M = 1. Now complete
schematic and simulation results are shown below.
18
Figure 28: VCO output pulse frequency is 2.497 GHz and frequency divider output is 26 MHz
(when control bit S = 0)
Figure 29: Cki and Cko are locked as seen and Vc is settled; ck4 (2.496 GHz) is the output of
VCO (when S = 0)
19
Figure 30: VCO output pulse frequency is 2.912 GHz and frequency divider output is 26 MHz
(when S = 1)
Figure 31: Cki and Cko are locked as seen and Vc is settled; ck4 (2.912 GHz) is the output of
VCO (when S = 1)
Figure 30 and 31 showed the locked states of the PLL for two different rates. Figure 32 shows
the all four equally spaced clock signals at 2.91 GHz. The phase difference between each
consecutive clocks should be aournd 85.85 ps (period/4) which is seen from the figure.
20
Figure 32: Four equally spaced clocks at 2.91 GHz for Vc = 0.55 V
Figure 33: Four equally spaced clock pulses at 1.66 GHz for Vc = 0.9 V
21
Figure 34: Absolute jitter plot when clock frequency is 2.912 GHz
Similarly, when clock frequency is 2.496 GHz, the absolute jitter plot is given below
Figure 35: Absolute jitter plot when clock frequency is 2.496 GHz
Following table shows the mean and standard deviation (STD) of absolute jitter (AJ), periodic
jitter (PJ) and cycle to cycle jitter (CCJ) for two different frequencies.
22
Frequency
Of clock
2.912 GHz
AJ mean
(ps)
7.72516E-3
PJ mean
(ps)
7.76398E-5
CCJ mean
(ps)
3.88199E-5
AJ STD
(ps)
4.63928E-01
PJ STD
(ps)
2.11788E-01
CCJ STD
(ps)
2.1601E-01
2.496 GHz
1.97478E-1
1.63766E-4
9.24545E-1
7.1756E-1
8.54621E-1
Figure 36: Eye diagram of Clock 1 (wide open eye, less jitter)
ii) Phase Spacing Error (PSE):
Ideally the four output clocks must be 90 degree apart from each other. Any variation from that
ideal value is called phase spacing error (PSE). For clock frequency of 2.912 GHz, consecutive
clocks must be 85.85 ps apart from each other. Followings are the PSE plots when clock
frequency is 2.912 GHz.
Figure 37: Phase spacing error plot between clock 1 and clock 2
23
Figure 38: Phase spacing error plot between clock 2 and clock 3
Figure 39: Phase spacing error plot between clock 3 and clock 4
Following is the table showing all the mean and standard deviation (STD) value for the three
different sets of PSE when frequency is 2.912 GHz.
Clocks
involved
ck1 and
ck2
ck2 and
ck3
ck3 and
ck4
PSE mean
(ps)
1.47035
PSE STD
(ps)
1.14599E-1
1.49221E-1
1.2382E-1
3.9462
1.6123E-1
24
It is noticeable here that the PSE between clock 3 and clock 4 is slightly higher than the other
sets values. This is because, clock 4 has a load to drive (frequency divider) while others do not
have anything to drive.
Power Dissipation:
Total power dissipation is the average current times the supply voltage. So the average current
calculated is shown in the following figure.
Figure 41: Internal block diagram of the second order PLL system with the gain values
26
Figure 42: Overall Loop response of the PLL showing the bandwidth to be 1.29 MHz.
Previously calculated Quality factor, Q = 0.62 and damping factor, = 0.80.
S-domain noise response:
PLL can have three nodes at which noise can be injected. Those models and simulations are
shown below.
Figure 44: Internal block diagram of the second order PLL system with noise injection nodes
1
S 1
If noise is injected at the PFD then the noise transfer function is
o
Q
H N1 ( s)
| 0
1
N1 i
S 2 S 1
Q
where S = s/n and n is the loop bandwidth.
Figure 45: Noise response when injected at the PFD (Low pass response)
If the noise is injected at the loop filter then noise transfer function is
H N 2 (s)
o
N2
|i 0
where S = s/n and n is the loop bandwidth. Here the response is a band pass response.
28
S
1
S 2 S 1
Q
Figure 46: Noise response when injected at the loop filter (Band pass response)
If the noise is injected at the VCO then the noise transfer function is
H N3 ( s)
o
N3
|i 0
where S = s/n and n is the loop bandwidth. Here the response is high pass response.
Figure 47: Noise response when injected at the VCO (High pass response)
29
S2
1
S 2 S 1
Q
Summary:
So in this project, we have successfully met all the specifications. Our output frequencies were
2.912 GHz and 2.497 GHz which is within the range of 2000 PPM. Loop bandwidth is 1.29 MHz
which is close to 1 MHz, quality factor Q is 0.62 and damping factor is 0.80. All the jitters of the
output clock signal is way below pico seconds and the phase spacing errors are below 4 ps for
any combination of consecutive clock signals. The estimated layout area of the complete PLL is
907.58 m2. The eye diagram of the clock 1 is wide open suggesting very little presence of jitter.
S domain analysis also showed satisfactory response as noise response has been measured when
injected at different nodes.
References:
[1] Mozhgan Mansuri, PhD dissertation, " Low-Power Low-Jitter On-Chip Clock Generation",
University of California, Los Angeles, 2003.
[2] Hongjiang Song, class lecture 15, "Phase Locked Loop (PLL)", EEE 598, Serial Links,
Arizona State University, 2012.
30