You are on page 1of 32

om

.
.
.
.
.
.
.

7
7
7
8
8
9
9
10

.
.
.
.
.
.
.
.

13
13
13
14
14
14
14
15
16

3 Phase-Locked Loops
1
Duration: 2 weeks . . . . . . . . . . . . . . . . . . . . . . . . .
2
Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . .
3
Laboratory Work . . . . . . . . . . . . . . . . . . . . . . . . .

19
19
19
20

.
.
.
.
.
.
.

.
.
.
.
.
.
.

.
.
.
.
.
.
.

.
.
.
.
.
.
.

.
.
.
.
.
.
.

.
.
.
.
.
.
.

.
.
.
.
.
.
.

.
.
.
.
.
.
.

.
.
.
.
.
.
.

.
.
.
.
.
.
.

.
.
.
.
.
.
.

.re
jin
pa

ul

1 Current-Controlled Ring Oscillators


1
Duration : 2 weeks . . . . . . . . .
2
Introduction . . . . . . . . . . . . .
3
Laboratory Work . . . . . . . . . .
3.1
Oscillator . . . . . . . . . .
3.2
Switching Noise Injector . .
3.3
Simulation and Analysis . .
4
Laboratory Report . . . . . . . . .

.c

Contents

w
w

2 D-flipflop Phase/Frequency Detectors


1
Duration : 2 weeks . . . . . . . . . . . . . .
2
Introduction . . . . . . . . . . . . . . . . . .
3
Laboratory Work . . . . . . . . . . . . . . .
3.1
D-Flipflops . . . . . . . . . . . . . .
3.2
D-Flipflops with RESET . . . . . . .
3.3
AND2 Gate . . . . . . . . . . . . . .
3.4
D-flipflop Phase/Frequency Detector
4
Laboratory Report . . . . . . . . . . . . . .

.
.
.
.
.
.
.
.

.
.
.
.
.
.
.
.

.
.
.
.
.
.
.
.

.
.
.
.
.
.
.
.

.
.
.
.
.
.
.
.

.
.
.
.
.
.
.
.

.
.
.
.
.
.
.

.
.
.
.
.
.
.
.

.
.
.
.
.
.
.

.
.
.
.
.
.
.
.

.
.
.
.
.
.
.

.
.
.
.
.
.
.
.

.
.
.
.
.

.
.
.
.
.

.
.
.
.
.

.
.
.
.
.

.
.
.
.
.

.
.
.
.
.

.
.
.
.
.

.
.
.
.
.

.
.
.
.
.

.
.
.
.
.

.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.

.
.
.
.
.

.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.

.
.
.
.
.

.
.
.
.
.

.
.
.
.
.

.
.
.
.
.

.
.
.
.
.

.
.
.
.
.

.
.
.
.
.

.
.
.
.
.

.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.

.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.

.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.

.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.

.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.

.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.

.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.

.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.

w
w

.re
jin
pa

ul

.c

4 Phase-Locked Loop Chip Set


1
Duration : 4 weeks . . . . . . . . . . . . .
2
Introduction . . . . . . . . . . . . . . . . .
3
Models for Packaging . . . . . . . . . . . .
4
Models for Bond Pads . . . . . . . . . . .
5
Models for Bond Wires . . . . . . . . . . .
6
Schematics . . . . . . . . . . . . . . . . . .
7
Laboratory Work . . . . . . . . . . . . . .
7.1
Complete Test Circuit Construction
7.2
VDD and VSS Pads . . . . . . . . .
7.3
VCO Output Buffering . . . . . . .
7.4
PLL Test . . . . . . . . . . . . . .
8
Layout of PLL . . . . . . . . . . . . . . . .
8.1
Floor-Planning of PLL . . . . . . .
8.2
Layout of PLL . . . . . . . . . . .
8.3
I/O Pin Assignment . . . . . . . .
8.4
Layout of Pads . . . . . . . . . . .
8.5
Layout of Output Buffers . . . . .
9
Laboratory Report . . . . . . . . . . . . .

.
.
.
.
.

.
.
.
.
.

20
22
22
23
24

.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.

27
27
27
27
28
29
29
29
29
30
31
31
31
32
32
33
33
33
34

om

3.1
Charge Pumps .
3.2
Loop Filters . . .
3.3
Open-Loop Test .
3.4
Closed-Loop Test
Laboratory Report . . .

om
.c

List of Figures

ul

1.1 Four-stage fully differential current-controlled ring oscillator . 9


1.2 Symbol of the delay cell of fully differential current-controlled
ring oscillator . . . . . . . . . . . . . . . . . . . . . . . . . . . 10

.re
jin
pa

2.1 D flip-flop phase/frequency detector. . . . . . . . . . . . . . . 15


2.2 D flip-flops. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
3.1 Basic configuration of type II phase-locked loops. . . . . . .
3.2 Current-steering charge pump. The charge pump conveys JU P
to the downstream loop filter when UP=1 and DN=0. It sinks
JDN from the loop filter when DN=1 and UP=0. . . . . . .
3.3 Implementation of the current-steering charge pump. . . . .
3.4 Open-loop test circuit. . . . . . . . . . . . . . . . . . . . . .
3.5 Fully differential cross-coupled voltage-controlled oscillator. .

. 20

.
.
.
.

21
22
23
24

w
w

4.1 Simplified schematic of complete chip set . . . . . . . . . . . . 30

om
.c

List of Tables

w
w

.re
jin
pa

ul

4.1 Pad assignment of phase-locked loop chip set. . . . . . . . . . 31

om

Chapter 1

.re
jin
pa

ul

.c

Current-Controlled Ring
Oscillators
1

Duration : 2 weeks

Introduction

w
w

Voltage (current)-controlled ring oscillators are used extensively in computer


systems and data communication networks. This laboratory investigates the
design of fully differential CMOS current-controlled ring oscillators with an
emphasis on switching noise and their impact on the timing jitter of the oscillators. In this laboratory, you are required to design a four-stage fully differential CMOS current-controlled ring oscillator using TSMC-0.18m 1.8V
CMOS technology and analyze the performance of the designed oscillator
using Spectre from Cadence Design Systems with BSIM3.3v device models.
The oscillation frequency of the oscillator is 900 MHz. The delay cell of the
oscillator was the originally reported in [1], as shown in Fig.1.1. This delay
cell utilizes a positive latch formed by M12 to combat the switching noise
present on the power and ground rails in the following ways : (i) The positive
feedback reduces the transition time and sharpens both the rising and falling

CHAPTER 1. CURRENT-CONTROLLED RING OSCILLATORS

vn2
,
(dvo /dt)2

.c

2 =

om

edges of the waveform of the oscillator. (ii) A fast transition minimizes the
timing jitter of the oscillator. As pointed out in [2] the noise of the MOS devices and the switching noise of the VCOs output at the threshold-crossing
shifts the actual threshold-crossing time (timing jitter) by an amount that is
proportional to the power of the total noise injected at the threshold-crossing
and inversely proportional to the slew rate of the output voltage [2].

(1.1)

3
3.1

.re
jin
pa

ul

where 2 is the timing jitter, vn2 is the power of the total noise injected at
the threshold-crossing, and dvo /dt is the slew rate of the output voltage of
the oscillator at the threshold-crossing. (iii) The latch effectively rejects the
noise presented on the power and ground rails once the latch is established.

Laboratory Work
Oscillator

w
w

Design a four-stage CMOS fully differential current-controlled ring oscillator,


as per the schematic of Fig.1.1 where all n-well pickup contacts of pMOS transistors are connected to a clean power supply. The bond wire connecting the
VDD bonding pad and the power supply pin is modeled as an ideal inductor
with its inductance L = 0.1 nH. The inductance of the bond wire connecting
VSS and ground is neglected so that no ground bouncing is considered. The
capacitance of the bonding pads is neglected for simplicity. The width of
M34 should be at least twice that of M12 in order to be able to break the
positive feedback. Over-sizing M34 will result in a large capacitance at the
output nodes, slowing down the oscillator.

CHAPTER 1. CURRENT-CONTROLLED RING OSCILLATORS


VDD1

VDD2

Vo+

VoVin+

4
Vin-

om

M6

M5

I ctrl

CL

M3

M1

M2

M4

Switching noise injector

.c

Cross-coupled delay cell (Stage 1)

3.2

ul

Figure 1.1: Four-stage fully differential current-controlled ring oscillator

Switching Noise Injector

3.3

.re
jin
pa

A static CMOS inverter whose dimension is much larger than the dimension
of the transistors in the delay stage of the oscillator is powered by the same
power supply as that of the oscillator. Let the load of the large CMOS
inverter be a large capacitor. The input of the large CMOS inverter is an
ideal square wave generator whose period is much smaller than the oscillation
period of the oscillator. This clocked large inverter is used to simulate the
injection of switching noise to the power rail of the oscillator.

Simulation and Analysis

w
w

Construct the symbol of the delay cell of the oscillator that has (i)
two input terminals vin+ and vin , (ii) two output terminals vo+ and
vo , (iii) one VDD connection terminal, (iv) one VSS connection terminal, (v) one n-well connection terminal vnwell , and (vi) one substrate
connection terminal vsub , as per Fig.1.2.
Construct the current controlled oscillator by including (i) all delay
stags, (ii) the biasing circuit, (iii) the switching noise injection circuit,
and (iv) VDD and VSS circuitry including bonding wires.
Perform time-domain analysis of the designed oscillator. The start of

CHAPTER 1. CURRENT-CONTROLLED RING OSCILLATORS


VDD

10

Vn-well

Vo-

Vin+

Vo+

Vsub

.c

VSS

om

Delay cell
Vin-

ul

Figure 1.2: Symbol of the delay cell of fully differential current-controlled


ring oscillator

.re
jin
pa

the oscillation of the oscillators can be activated by connecting a small


capacitor to the output node of one of the delay stages of the oscillator
with an initial voltage. Note that the value of the capacitor should be
small in order to minimize unwanted loading effect.
Plot the output voltage of each stage of the oscillator with two different
transistor widths of the latch. Measure the timing jitter. Comment on
the waveform difference.

Plot the output voltage of each stage of the oscillator with two different
control currents. Measure the rise and fall times of the output voltage
in both cases. Measure the timing jitter. Comment on your findings.

w
w

Use parametric analysis and calculator tools to obtain the oscillation


frequency-control current plot. Estimate the frequency tuning range
and frequency control sensitivity of the designed oscillator.

Laboratory Report

A professionally prepared laboratory report containing the followings is due


at the start of the next laboratory.

CHAPTER 1. CURRENT-CONTROLLED RING OSCILLATORS

11

The schematic of the current-controlled oscillator (delay cell + entire


test circuit) with a boarder section showing your name and student ID.

om

A table tabulating the exact dimension of all transistors used in your


design.

.c

The waveform of the voltage of the output of each stage of the currentcontrolled oscillator with two different transistor widths of the latch.
Measure the peak-to-peak timing jitter at the threshold-crossing points
of the output waveform of the oscillator.

.re
jin
pa

ul

The waveforms of the voltage of the output of each stage of the currentcontrolled oscillator with two different control currents. Measured the
rise and fall times in these two cases. Measure the peak-to-peak timing
jitter at the threshold-crossing points of the output waveform of the
oscillator.

w
w

Oscillation frequency - control current plot. Determine the frequency


tuning range and frequency control sensitivity.

om
.c

Bibliography

ul

[1] X. Mailand, F. Devisch, and M. Kuijk, A 900 Mb/s CMOS data recovery DLL using half-frequency clock, IEEE Journal of Solid-State
Circuits, vol. 37, No. 6, pp 711-715, June 2002.

w
w

.re
jin
pa

[2] T. Weigandt, B. Kim, and P. Grey, Analysis of timing jitter in ring


oscillators, in Proc. of IEEE International Symposium on Circuits and
Systems, pp. 27-30, London, 1994.

12

om

Chapter 2

.re
jin
pa

ul

.c

D-flipflop Phase/Frequency
Detectors
1

Duration : 2 weeks

Introduction

w
w

Phase/frequency detectors (PFDs) are one of the vital building blocks of


phase-locked loops (PLLs) and delay-locked loops (DLLs). The main functionality of PFDs is to sense the phase/frequency difference between an input
digital stream and a reference clock and to output a pair of phase/frequencymodulated pulses called UP and DOWN whose pulse width is directly proportional to the phase/frequency difference. The output signals UP and
DOWN are then used to control a downstream charge pump whose output
voltage controls the oscillation frequency of a downstream voltage (current)controlled oscillator.
In this laboratory, you will investigate the characteristics of a widely
used phase/frequency detector called D-flipflop phase/frequency detector.
The D-flipflop phase/frequency detector employs two positive edge-triggered
resettable D-flipflops to detect the phase/frequency difference of two input

13

CHAPTER 2. D-FLIPFLOP PHASE/FREQUENCY DETECTORS

14

3.1

Laboratory Work
D-Flipflops

.c

om

digital signals, as shown in Fig.2.1. The output voltage waveforms with


A leading B are shown in the figure. The waveforms for B leading A are
the same as those for A leading B due to the symmetrical structure of the
phase/frequency detector.

3.2

.re
jin
pa

ul

There are a number of ways to construct a D-flipflop in CMOS. Conventional


implementations of D-flipflop, such as the one shown in Fig.2.2(a), suffers
from a large number of transistors, high power consumption, and a long
propagation delay. True-single-phase-clocking (TSPC) logic circuits initially
developed in [1] offer the advantages of a low transistor count, a small chip
area, and a fast transient response. In this laboratory, TSPC logic circuits
are employed to construct the D-flipflop, as shown in Fig.2.2(b) [2, 3]. Only
6 transistors are needed for the construction of the positive-edge triggered
D-flipflop.

D-Flipflops with RESET

w
w

Modify the D-flipflop of Fig.2.2(b) by adding a RESET control mechanism


that resets Q to Logic-0 when RESET=1. Measure the propagation delay
from D to Q and record the delay.

3.3

AND2 Gate

Construct the schematic of an static AND2 gate. Construct the symbol of


the AND2 gate. Measure the average propagation delay of the AND2 gate
and record the delay.

CHAPTER 2. D-FLIPFLOP PHASE/FREQUENCY DETECTORS

D R

QA

QB

Vm

Vm
0 2p

Df

QB

Vm

A
B

QA

QB

QB

(a) Df=0

Df

Vm /4

ul

QA

-2p

om

QA

.c

15

(b) Df=p/2

3.4

.re
jin
pa

Figure 2.1: D flip-flop phase/frequency detector.

D-flipflop Phase/Frequency Detector

Construct the schematic of the D-flipflop phase/frequency detector. Apply


two square waves A and B of the same oscillation period and duty cycle but
difference phases to the phase/frequency detector. Let input A lead input B
with a phase difference . The following simulations are to be carried out
in the laboratory work.

w
w

Plot the waveform of QA and QB when is in the neighborhood


of zero. Both QA and QB for > 0 and < 0 are considered.
Estimate the average value of QA and QB over a period.
Plot the waveform of QA and QB when is in the neighborhood of

. Both QA and QB for > 2 and < 2 are considered. Estimate


2
the average value of QA and QB over a period.

Plot the waveform of QA and QB when is in the neighborhood of


. Both QA and QB for > and < are considered. Estimate
the average value of QA and QB over a period.

CHAPTER 2. D-FLIPFLOP PHASE/FREQUENCY DETECTORS

16

CLK

Q
CLK

CLK
CLK

(a)

(b)

.c

Figure 2.2: D flip-flops.

om

CLK

ul

Plot the waveform of QA and QB when is in the neighborhood of 3


.
2
3
3
Both QA and QB for > 2 and < 2 are considered. Estimate
the average value of QA and QB over a period.

.re
jin
pa

Plot the waveform of QA and QB when approaches 2. Estimate


the average value of QA and QB over a period.
Use the above estimated average value of QA and QB to construct a plot
shown the relation between average output voltage and phase difference, i.e. the transfer characteristics of the D-flipflop phase/frequency
detector.

Laboratory Report

w
w

A professionally prepared laboratory report containing the followings is due


at the start of the next laboratory.
The schematic of the resetabble D-flipflop with a boarder section showing your name and student ID.
The schematic of the AND2 gate with a boarder section showing your
name and student ID.
The schematic of the D-flipflop phase/frequency detector with a boarder
section showing your name and student ID.

CHAPTER 2. D-FLIPFLOP PHASE/FREQUENCY DETECTORS

17

A table tabulating the exact dimension of all transistors used in your


design.

om

The waveform of QA and QB when is in the neighborhood of zero.


The plot of QA and QB for > 0 and < 0 are required.
The waveform of QA and QB when is in the neighborhood of
The plot of QA and QB for > 2 and < 2 are required.

.
2

.c

The waveform of QA and QB when is in the neighborhood of .


The plot of QA and QB for > and < are required.

.re
jin
pa

ul

The waveform of QA and QB when is in the neighborhood of


The plot of QA and QB for > 3
and < 3
are required.
2
2
The waveform of QA and QB when approaches 2.

w
w

The plot Average output voltage versus phase difference.

3
.
2

om
.c

Bibliography

ul

[1] J. Yuan and C. Svensson, New single-clock CMOS latches and flipflops
with improved speed and power savings, IEEE J. Solid-State Circuits,
vol. 32, No.1, pp. 62-69, Jan. 1997.

.re
jin
pa

[2] J. Rabaey, Digital Integrated Circuits : A Design Perspective, Upper


Saddle River, NJ : Prentice-Hall, 1996.

w
w

[3] K. Martin, Digital Integrated Circuit Design, New York : Oxford University Press, 2000.

18

Duration: 2 weeks

Introduction

.re
jin
pa

ul

.c

Phase-Locked Loops

om

Chapter 3

w
w

Phase locked loops are used extensively in data communications, computer


systems, RF communications, instrumentation, and signal processing. The
basic configuration of type II phase-locked loops is shown in Fig.3.1. The
phase/frequency detector detects the phase/frequency difference between the
incoming signal Vin and the output of the local ring oscillator and converts
the phase/frequency difference into two Boolean control signals UP and DN.
The pulse width of UP and DN is proportional to the phase difference. UP
and DN are then fed to the downstream charge pump whose mainly function
is to convert UP and DN pulses into currents of constant amplitude. When
UP=1 and DN=0, JU P is conveyed to the loop filter, increasing the output
voltage of the loop filter. When UP=0 and DN=1, JDN is sinked from the
loop filter, lowering the output voltage of the loop filter. The loop filter
is a low-pass that filters out the high-frequency components of the output
current of the preceding charge pump and outputs a voltage. The output of
the loop filter is a dc voltage that controls the oscillation frequency of the

19

CHAPTER 3. PHASE-LOCKED LOOPS

20

om

downstream voltage-controlled oscillator (VCO). The oscillation frequency


(period) of the VCO is proportional to the phase difference between Vin
and Vo of the VCO. By adjusting the oscillation period of the VCO, the
phase/frequency difference can be driven to zero.
Charge pump
JUP
UP

Loop filter

Voltage-controlled oscillator

PFD

Vvco

DN
C1

C2
R2

ul

JDN

.c

Vin

.re
jin
pa

Figure 3.1: Basic configuration of type II phase-locked loops.

In this laboratory, you are required to design a phase-locked loop that


makes use of the fully differential cross-coupled 4-stage voltage-controlled
oscillator and the D-flipflop phase/frequency detector designed in previous
laboratories. In order to construct the phase-locked loop, you are also required to design and analyze two additional function blocks of phase-locked
loops, namely the charge pump and the loop filter, as shown in Fig.3.1.

Laboratory Work

Charge Pumps

w
w

3.1

The main functionality of a charge pump is to convert the width-modulated


pulses UP and DN from the preceding D-flipflop phase/frequency detector
into a current whose amplitude is constant and whose direction is controlled
by UP and DN signals. A charge pump is essentially a digital-to-analog
converter. Fig.3.2 is the schematic of a current-steering charge pump. The
charge pump conveys a constant current JU P to or sinks a constant current

CHAPTER 3. PHASE-LOCKED LOOPS

21

.c

om

JDN from the output node, depending upon the control signals UP and DN
from the preceding D-flipflop phase/frequency detector. For more information on charge pumps, please read reference [1] and the main reference text
of the course.
Construct the schematic of the charge pump and its symbol. The charge
pump symbol should have the following inputs : UP, UP, DN, DN, Vout , VDD
and VSS . All n-well and substrate contacts are connected to the same power
supply and ground as those of the charge pump.
M6

ul

M5

.re
jin
pa

vo

UP

UP

M3

M4
J UP

DN

M1

DN

M2
J DN

Figure 3.2: Current-steering charge pump. The charge pump conveys JU P to


the downstream loop filter when UP=1 and DN=0. It sinks JDN from the
loop filter when DN=1 and UP=0.

w
w

An implementation of the preceding charge pump is shown in Fig.3.3.


The current sources JU P and JDN are generated by the current reference
circuit consisting of M79 and the two current mirrors M910 and M911 . Vcp
is an external voltage that controls the value of JU P and JDN . Vcp should be
assigned as a variable so that it can be adjusted during simulation. You can
also make use of advanced biasing circuits studied in ELE704. Note that JU P
and JDN must not be too small as they directly affect how fast the control
voltage can be controlled by UP and DN signals. They must also not be too
large to avoid instability of the phase-locked loop.

CHAPTER 3. PHASE-LOCKED LOOPS

M7

M6

M5

vo

M8
UP

UP
M3
M10

M4

DN

DN
M1
M11

M2

.c

M9

om

Vcp

22

Loop Filters

.re
jin
pa

3.2

ul

Figure 3.3: Implementation of the current-steering charge pump.

w
w

In order to convert the output current of the preceding charge pump into a
voltage whose value is proportional to the pulse width of the control signals
UP and DN of the charge pump, a loop filter consisting of two capacitors C1
and C2 and a resistor R2 is employed at the output of the charge pump, as
shown in Fig.3.1. Note that C2 C1 . C2 and R2 form the main part of the
loop filter. Note that high-frequency sparks can pass through R2 C2 network
and create reference spurs at the output of the oscillator. To minimize this
unwanted effect, a smaller capacitor C1 is used in parallel with R2 C2 to
filter out the high-frequency sparks.
Construct the schematic of the loop filter and its symbol. The value of
C1 , C2 , and R2 should be assigned as variables so that they can be tuned
when the phase-locked loop is constructed.

3.3

Open-Loop Test

Construct an open-loop test schematic containing (i) the D-flipflop phase/frequency


detector, (ii) the current-steering charge pump, and (iii) the loop filter design, as per Fig.3.4. Apply two 900 MHz square waves A and B of the same

CHAPTER 3. PHASE-LOCKED LOOPS

23

Charge pump

JUP

.c

Loop filter

Vc

PD
DN

C2
R2

C1

.re
jin
pa

JDN

ul

A
B

UP

om

oscillation period and duty cycle to the D-flipflop phase/frequency detector.


Let input A lead input B with a phase difference . Use parametric analysis of Cadence to sweep and plot the waveform of the output voltage of
the loop filter. Repeat the simulation with A lagging B.

Figure 3.4: Open-loop test circuit.

3.4

Closed-Loop Test

w
w

Construct a 4-stage fully differential cross-coupled voltage-controlled oscillator as per Fig.3.5. The VCO is very similar to the CCO that you designed in
previous laboratories except that the oscillation frequency is now controlled
by a voltage rather than a current. The oscillation frequency of the oscillator
should be in the neighborhood of 900 MHz. Simulate the VCO for a given
control voltage Vc and record the oscillation period (frequency). Make sure
that the oscillation frequency of the oscillator covers 900 MHz.
Construct a test schematic containing (i) the D-flipflop phase/frequency
detector, (ii) the current-steering charge pump, (iii) the loop filter design,
and the 4-stage 900 MHz fully differential cross-coupled voltage-controlled
oscillator as per Fig.3.5. Apply a 900 MHz square wave to the input A of the
phase/frequency detector. The other input of the phase/frequency detector
B comes from the output of your VCO. Plot the waveform of A and B, as
well as the control voltage Vc of the VCO. When a lock state of the PLL

CHAPTER 3. PHASE-LOCKED LOOPS

24

Vo-

Vin-

.re
jin
pa

Vin+

Vo+

ul

Vc

.c

om

Vc

Figure 3.5: Fully differential cross-coupled voltage-controlled oscillator.


is established, the phase difference between A and B should be zero and
the control voltage Vc of the VCO should settle down to a constant value
approximately.

Laboratory Report

w
w

A professionally prepared laboratory report containing the followings is due


at the start of the next laboratory.
The schematic of the charge pump with a boarder section showing your
name and student ID.
The schematic of the open-loop test circuit with a boarder section showing your name and student ID.

CHAPTER 3. PHASE-LOCKED LOOPS

25

The response of the open-loop test circuit.

om

The schematic of the closed-loop test circuit with a boarder section


showing your name and student ID.
The response of the closed-loop test circuit at the locked state.
The waveform of the control voltage Vc of the VCO.

w
w

.re
jin
pa

ul

.c

A table documenting the exact dimension of all transistors used in your


design.

om
.c

Bibliography

w
w

.re
jin
pa

ul

[1] M. El-Hage and F. Yuan, Architectures and design considerations of


CMOS charge pumps for phase-locked loops, in Proc. Canadian Conf.
Electrical and Computer Eng., Vol. 1, pp. 223-226, Montreal, May 2003.

26

om

Chapter 4

Duration : 4 weeks

Introduction

.re
jin
pa

ul

.c

Phase-Locked Loop Chip Set

In this laboratory, you are required to complete the schematic-level design of


a complete chip that contains the phase-locked loop that you designed in the
previous labs. Your design and simulation must take into account the effect
of
bond pads used for soldering bond wires,

bond wires used to connect bond pads and traces,

w
w

traces used to connect traces and pins and,


textfixture used to model the packaging between traces and pins.

Models for Packaging

CMC provides many packaging options, depending upon the operation frequencies of the design chips. In this lab, you will use 24 CFP (Ceramic
27

CHAPTER 4. PHASE-LOCKED LOOP CHIP SET

28

om

Flat Pack), which has 24 pins, a small cavity and is suitable for highfrequency (up to 4 GHz) designs. CMC has developed a library for both the
package and testfixture for 24 CFP. These files are located in

Library :

.c

package

ul

Cellview :

24cfp_140_half_cell, 24cfp_140_test_fixture_half

.re
jin
pa

Note that only a half of the package is provided. You need to make a
copy and rotate it to complete the package. These models are valid up to 4
GHz. CMC requires that all unused pins be grounded. This will increase the
level of signal isolation and improve the performance.

Models for Bond Pads

w
w

Bond pads are not part of the above package. You need to add bond pads
explicitly in your design to account for their capacitive effect. CMC does
not have bond pad cells developed in package library. CMC requires that
the bond pads must not be smaller than 6464. We use 6464 in this
laboratory. You need to use this value to estimate the parasitic capacitance
of the bond pads. Bond pads should be modeled as a shunt capacitor between
signal path and the substrate. M6 M5 are to be connected together and
used for the bonding pads. You need to look at the electrical parameter file
of TSMC-0.18m CMOS technology to find out the capacitance from M5 to
substrate per unit area to estimate the capacitance of the pads.

CHAPTER 4. PHASE-LOCKED LOOP CHIP SET

29

Models for Bond Wires

.re
jin
pa

ul

.c

om

Bond wires are also not part of the above package. You need to add bond
wires explicitly in your design in order to account for their inductive effect.
CMC has developed a bond wire cell located at
1) Library : package
2) Cellview : bondwire
The bond wires have a diameter of 31.75 m. The length of the bond
wires depends upon the pin/pad assignment and the location of pads. They
can only be determined once the complete layout is available. For your
simulation, we use the default parameters given in the library (hwl (horizontal
wire length)=2000 m, d = 31.75m, r = 0.05,...).

Schematics

In order to take into account the effect of bond wires, bond pads, and packaging, you need to add
Bond pads

Bond wire cells

24cfp_140_half_cell

24cfp_140_test_fixture_half

w
w

External test devices, such as supply voltage and loads can be connected
directly to the testfixture. The arrangement is shown in Fig.4.1.

7.1

Laboratory Work
Complete Test Circuit Construction

Construct the complete test circuit of the designed phase-locked loop. The
test circuit should contain the follows

CHAPTER 4. PHASE-LOCKED LOOP CHIP SET

30

Cavity
Physical boundary
of CFP chip
Bondwire

om

Pad

Your
design

Load

.c

External
voltage
source

Testfixture

ul

Parasitic cap. of pad

.re
jin
pa

Figure 4.1: Simplified schematic of complete chip set

The phase-locked loop


The bonding pads.

The bonding wires.

The model for the package.

The model for the testfixture.

External power supply, ground, and input signals.

VDD and VSS Pads

w
w

7.2

To minimize the effect of switching noise, for each VDD and VSS connection
to the outside, four pads/bond wires should be used. The number of pads
are as the followings :

CHAPTER 4. PHASE-LOCKED LOOP CHIP SET

31

VCO Output Buffering

ul

7.3

.c

om

Table 4.1: Pad assignment of phase-locked loop chip set.


Type pf pads
Number of pads
VDD pads
4
4
VSS pads
VCO output pads
8
Input signal pad
1
Charge pump control voltage Vcp pad 1

7.4

.re
jin
pa

To bring the output voltage of the VCO to the outside of the chip, buffers
are needed in order to drive the parasitics of the package and the load. Add
eight voltage buffers to the eight outputs of the VCO (Two inverters are
connected in series with the first inverter of small dimensions. Note that the
first inverter should not be made large. Otherwise, it will load the VCO.).

PLL Test

w
w

Apply a 900 MHz 50% duty-cycle square wave to the input A of the phase
detector. The other input of the phase detector B comes from the output of
your VCO. Plot the waveform of A and B, as well as the control voltage Vc of
the VCO. When a lock state of the PLL is established, the phase difference
between A and B should be zero and the control voltage Vc of the VCO
should settle down to a constant value.

Layout of PLL

Once the simulation of the designed PLL is completed and design specifications are met, it is the time to complete the physical design of the PLL
chipset. Since all of you already have the experience in layout in either
ELE704 or ELE734, you will find this step a rather enjoyable design expe-

CHAPTER 4. PHASE-LOCKED LOOP CHIP SET

32

rience. Note that you should not make any change to the dimension of all
transistors used in your schematic-level design.

Floor-Planning of PLL

om

8.1

8.2

.re
jin
pa

ul

.c

Before you proceed with the actual layout of the PLL chipset, the first step
that you should do is the floor planning. You MUST make a decision on
critical issues such as (i) where to route your power and ground rails. (ii)
Where to route signals, both low-frequency and high-frequency signals. (iii)
How to isolate high-frequency signals from others. (iv) How to assign I/O
pins. (v) How to ensure that n-wells are properly connected to the most
positive voltage. (vi) Where to put guard rails and how to put the guard
rails. (vii) How to protect dc biasing circuits from noisy digital circuits, (viii)
How to minimize switching noise, and (xi) How to minimize the interaction
between analog and digital circuits of the PLL system.

Layout of PLL

w
w

Once the floor of your PLL is planned, you can proceed with the layout
of each functional block of your PLL. The following guidelines should be
followed in the layout : (i) Try to put all n-wells together. This will reduce
the chip area required for n-wells. Use as many as n+ pull-up connections
as possible for n-wells to ensure that n-well is uniformly connected to the
most positive voltage of the circuit. (ii) Multiple p+ pull-down connections
of the substrate should be used throughout your layout to ensure that the
substrate of your chip is uniformly connected to the ground. (iii) Use as
many as pins/pads as possible for VDD and VSS connections to minimize
the inductance of the bonding wires of VDD and VSS pads subsequently
the switching noise associated with these pads. (iv) High-frequency signals
should be guarded with either ground or VDD rails to minimize their effect
on other parts of the circuit. The bottom line here is to minimize the loop
area of high-frequency signal lines so that their inductance is minimized.

CHAPTER 4. PHASE-LOCKED LOOP CHIP SET

33

Note that the shielding rails increase the capacitance of the high-frequency
signal lines.

I/O Pin Assignment

om

8.3

8.4

.re
jin
pa

ul

.c

The following guidelines should be followed in the assignment of I/O pads


and pins: (i) Use as many as pads and pins as possible for VDD and VSS
connections to minimize switching noise. (ii) Separate analog pins and digital
pins as far as possible. Often analog pins should be guarded with VSS pins
(shielding pins). (iii) Separate small-signal pins (input pins) and large-signal
pins (output pins) as far as possible to minimize cross-talks from the largesignal pins to the small-signal pins. You should assign input pins to one
side of the chip and output pins to the other side of the chip to physically
separate them. (iv) Avoid using corner pins and pads. They should be left
as dummy. (v) DC biasing pins and clock pins should be dealt with caution
as the former are high-frequency pins while the latter are analog pins.

Layout of Pads

Following the design rules of TSMC for pads. Use only M6 and M5 for all
pads to minimize the capacitance from the pads to the substrate.

Layout of Output Buffers

8.5

w
w

Output buffers are usually large in size and generate large switching noise and
substrate noise. To minimize their effect, the followings guidelines should be
followed : (i) Use a separate set of VDD and VSS pads and pins for the output
buffers to eliminate the injection of their switching noise to the system. (ii)
Use guard rings to isolate the output buffers from the rest of the system.
Guard ring VDD and VSS should be completely separated from those of the
rest of the system as they carry a high level of switching noise. (iii) Minimize
the length of the interconnects connecting the output buffers and their pads.
Techniques should be used to minimize the inductance of these interconnects.

CHAPTER 4. PHASE-LOCKED LOOP CHIP SET

34

Laboratory Report

om

A professionally prepared laboratory report containing the followings is due


at the start of the next weeks laboratory.
The schematic of the complete test circuit with a board section showing
your name and student ID.

.c

The response of the closed-loop test circuit at the locked state.


The waveform of the voltage of all eight outputs of the VCO.

ul

The waveform of the control voltage Vc of the VCO.

.re
jin
pa

The complete layout of the PLL chipset.

w
w

The post-layout simulation results of the waveform of the voltage of


all eight outputs of the VCO and that of the control voltage Vc of the
VCO.

You might also like