Professional Documents
Culture Documents
Digital PLL Cicc Tutorial Perrott
Digital PLL Cicc Tutorial Perrott
Performance is important
M.H. Perrott
ref(t)
out(t)
out(t)
e(t)
v(t)
ref(t)
Phase
Detect
e(t)
e(t)
v(t)
v(t)
Analog
Loop Filter
out(t)
VCO
de Bellescize
Onde Electr, 1932
v(t)
Fout = N Fref
ref(t)
Phase
Detect
e(t)
v(t)
Analog
Loop Filter
out(t)
VCO
div(t)
Divider
ref(t)
Wells
US Patent (1984)
div(t)
e(t)
v(t)
Phase
Detect
e(t)
v(t)
Analog
Loop Filter
out(t)
VCO
div(t)
Nsd[k]
Divider
Modulator
N[k]
Riley
US Patent (1989)
JSSC 93
M.F
v(t)
Fout = M.F Fref
ref(t)
Phase
Detect
e(t)
v(t)
Analog
Loop Filter
out(t)
VCO
div(t)
Nsd[k]
Divider
Modulator
N[k]
M.F
Quantization Noise
M.H. Perrott
f
7
ref(t)
1 D Q
reset
div(t)
1 D Q
Reg
ref(t)
phase error
error(t)
Phase
Detect
ref(t)
div(t)
error(t)
out(t)
Analog
Loop Filter
VCO
div(t)
M.H. Perrott
Divider
ref(t)
div(t)
error(t)
ref(t)
Phase Detector
Characteristic
Average of
error(t)
phase error
Phase
Detect
out(t)
Analog
Loop Filter
VCO
div(t)
Divider
M.H. Perrott
10
error(t)
Charge
Pump
Vout
Icp
Cint
ref(t)
Phase
Detect
out(t)
Analog
Loop Filter
VCO
Divider
M.H. Perrott
Going Digital
ref(t)
Phase
Detect
out(t)
Analog
Loop Filter
VCO
Divider
ref(t)
Time
-toDigital
out(t)
Digital
Loop Filter
DCO
Divider
M.H. Perrott
12
Outline of Talk
M.H. Perrott
13
Delay
Delay
Delay
Delay
div(t)
D Q
D Q
D Q
Reg
Reg
Reg
1
1
1
0
0
e[k]
e[k]
ref(t)
ref(t)
ref(t)
Time
-toDigital
div(t)
out(t)
Digital
Loop Filter
DCO
Divider
M.H. Perrott
14
1
1
1
0
0
e[k]
Phase Detector
Characteristic
detector
output
phase error
ref(t)
ref(t)
Time
-toDigital
div(t)
Integer-N PLL
Fractional-N PLL
out(t)
Digital
Loop Filter
DCO
Divider
M.H. Perrott
15
Modeling of TDC
quantization
error
detector
output
Phase Detector
Characteristic
tq[k]
1
tdel
time error
ref(t)
T
reference
period
Time
-toDigital
div(t)
phase
error[k]
T
2
TDC
Gain
1
tdel
e[k]
out(t)
Digital
Loop Filter
DCO
Divider
T/2
16
ref(t)
Time
-toDigital
div(t)
M.H. Perrott
Varactor
Varactor
DAC
Analog
Control
out(t)
Digital
Loop Filter
DCO
Divider
17
Varactor
Varactor
ref(t)
Time
-toDigital
div(t)
M.H. Perrott
Digital
Control
out(t)
Digital
Loop Filter
DCO
Divider
18
Varactor
Fine
Control
Varactor
Coarse
Control
Binary Array
1x
2x
4x
2 nx
1x
1x
1x
M.H. Perrott
19
out(t)
Varactor
Varactor
ref(t)
Tuning
Fine
Control
in[k] Digital
Loop
Filter
Digital
Modulator
Divide-by-K
T c=T/M
Coarse
Initial
Control Frequency
DCO
TDC out
M.H. Perrott
20
Phase noise
- Same as for
conventional
VCO
(tank Q, etc.)
Varactor
Varactor
Digital
Control
Quantization
Noise
Hntf(z)
Quantization noise
from dithering
- See Section 3
of Supplemental
Slides
M.H. Perrott
Phase
Noise
qraw[k]
z=ej2fTc
q[k]
in[k]
M
Tc
2Kv
s
out(t)
s=j2f
21
Modeling
DCO
DCO-referred
Noise
S n(f)
TDC-referred
Noise
S tq(e j2fT)
f
tq[k]
ref[k]
T
2
-20 dB/dec
f
TDC
Gain
1
tdel
Loop
Filter
DT-CT
e[k]
H(z)
z=ej2fT
div[k]
n(t)
2Kv
s
s=j2f
out(t)
Divider
CT-DT
1
N
1
T
M.H. Perrott
23
T
2
TDC
Gain
1
tdel
Loop
Filter
DT-CT
e[k]
H(z)
z=ej2fT
div[k]
n(t)
2Kv
s
out(t)
s=j2f
CT-DT
1
N
TDC-referred noise
DCO-referred noise
M.H. Perrott
1
T
24
T
2
TDC
Gain
1
tdel
Loop
Filter
DT-CT
e[k]
H(z)
n(t)
2Kv
s
z=ej2fT
div[k]
out(t)
s=j2f
CT-DT
1
N
1
T
M.H. Perrott
25
TDC-referred noise
DCO-referred noise
M.H. Perrott
26
Key Observations
tq[k]
ref[k]
T
2
TDC
Gain
1
tdel
Loop
Filter
DT-CT
e[k]
T
H(z)
z=ej2fT
div[k]
n(t)
2Kv
s
out(t)
s=j2f
CT-DT
1
N
1
T
TDC-referred noise
Lowpass with a DC
gain of 2N
DCO-referred noise
Highpass with a high
frequency gain of 1
How do we calculate the output phase noise?
M.H. Perrott
27
CT
y(t)
H(f)
x[k]
DT
y[k]
H(ej2fT)
DT
y(t)
x[k]
DT
CT
CT
DT
DT
DT
CT
M.H. Perrott
CT
H(f)
28
DCO-referred
Noise
S n(f)
-20 dB/dec
f
tq[k]
fo
f
n(t)
2N G(f)
TDC noise
- DT to CT calculation
- Dominates PLL phase
1-G(f)
fo
out(t)
DCO noise
- CT to CT calculation
- Dominates PLL phase
2
1
2N G(f) S tq(e j2fT)
T
2
1- G(f) S n(f)
dBc/Hz
fo
M.H. Perrott
f
29
tdel
12
S tq(e j2fT)
f
tq[k]
fo
S out(f)
2N G(f)
1
2N G(f)
T
2
2 tdel
12
tdc
fo
M.H. Perrott
30
CAD Tools
Closed-Loop
Performance
Specifications
{f o, type, order}
Open-Loop
Design
Approach
Open-Loop
Characteristics
|A(f)|
A(f)
{K,f p,f z, ...}
G(f) =
A(f) =
A(f)
1+A(f)
G(f)
1-G(f)
Closed-Loop
Transfer
Function
G(f)
M.H. Perrott
32
M.H. Perrott
33
-60
Detector Noise
VCO Noise
Total Noise
-70
GSM Mask
(Referenced to
3.6 GHz carrier)
-80
L(f) (dBc/Hz)
-90
Overall PLL
Phase Noise
TDC Noise
-100
-110
-120
-130
DCO Noise
-140
-150
-160
3
10
10
10
10
10
TDC noise too high for GSM mask with 500 kHz PLL bandwidth
M.H. Perrott
34
M.H. Perrott
35
-60
Detector Noise
VCO Noise
Total Noise
-70
-80
Overall PLL
Phase Noise
-90
L(f) (dBc/Hz)
GSM Mask
(Referenced to
3.6 GHz carrier)
TDC Noise
-100
-110
DCO Noise
-120
-130
-140
-150
-160
3
10
10
10
10
10
36
- Where:
M.H. Perrott
Assumptions
- Ref freq (1/T) = 50 MHz, Out freq = 3.6 GHz (so N = 72)
- t = 20 ps, K = 12 kHz/unit cap
- 100 kHz bandwidth, Type = 2 , 2 order rolloff
del
nd
M.H. Perrott
38
D Q
R
CppSim Module
Description
R
D Q
Name
Inputs, Outputs
Parameters
Code
PFD
Charge
Pump
- Hierarchical
description of
system
topology
Loop
Filter
Divider
Modulator
Schematic
CppSim Module
Description
Name
Inputs, Outputs
Parameters
Code
Code blocks
- Specification
of module
behavior
using
templated
C++ code
M.H. Perrott
39
http://www.cppsim.com
M.H. Perrott
40
Motivation
TDC-referred
Noise
S tq(e j2fT)
DCO-referred
Noise
S n(f)
-20 dB/dec
f
tq[k]
f
n(t)
2N G(f)
fo
fo
PLL bandwidth
dramatically influences
relative impact of TDC
and VCO noise
Want high PLL
bandwidth?
1-G(f)
Need low
TDC Noise
out(t)
Low PLL Bandwidth
DCO
Noise
dBc/Hz
dBc/Hz
TDC
Noise
fo
M.H. Perrott
TDC
Noise
DCO
Noise
fo
f
42
Delay
Delay
Delay
Delay
div(t)
D Q
D Q
D Q
Reg
Reg
Reg
e[k]
ref(t)
1
1
1
0
0
e[k]
1
1
1
0
0
e[k]
ref(t)
Delay
div(t)
Vernier
div(t)
ref(t)
M.H. Perrott
Delay
Delay
Delay
D Q
D Q
D Q
Reg
Reg
Reg
Delay2
Delay2
Delay2
ref(t)
Effective
resolution:
Delay-Delay2
e[k]
Delay2
43
div(t)
Vernier
div(t)
ref(t)
M.H. Perrott
Delay
Delay
1
1
1
0
0
Delay
D Q
D Q
D Q
Reg
Reg
Reg
Delay2
Delay2
Delay2
e[k]
ref(t)
Effective
resolution:
Delay-Delay2
e[k]
Delay2
44
Vernier
Delay
div(t)
Delay
Delay
Delay
Delay
Delay
Mux
D Q
D Q
D Q
Reg
Reg
Reg
ref(t)
D Q
D Q
D Q
Reg
Reg
Reg
Delay2
Delay2
Delay2
Logic
Ramakrishnan, Balsara
VLSID 06
M.H. Perrott
Coarse
e[k]
Fine
e[k]
Delay - Delay2
Delay
45
div(t)
Delay
Delay
Delay
Delay
Delay
Mux
D Q
D Q
D Q
D Q
D Q
D Q
Reg
Reg
Reg
Reg
Reg
Reg
ref(t)
Logic
M.H. Perrott
Coarse
e[k]
Fine
e[k]
Delay
Delay
Amplification
of Time
46
ref(t)
Time
Amplifier
out(t)
tin
D Q
out(t)
Latch
tin
ref(t)
ref(t)
in(t)
in(t)
out(t)
out(t)
tout
tout
M.H. Perrott
47
Start
Delay
Delay
Delay
Start
1
1
1
Stop
Tstop
Registers
Out
1
1
0
Out
Stop
Tin
M.H. Perrott
48
An Oscillator-Based TDC
Ring Oscillator
Vdd
Phase Error[1]
Phase Error[2]
div(t)
ref(t)
Osc(t)
Reset
ref(t)
Counter
Logic
div(t)
Count[k]
Register
e[k]
Count[k]
e[k]
M.H. Perrott
49
Vdd
Phase Error[2]
div(t)
ref(t)
Osc(t)
Reset
ref(t)
Counter
Logic
div(t)
Count[k]
Register
e[k]
Count[k]
q[1]
Quant.
Error[k]
-q[0]
e[k]
q[3]
-q[2]
M.H. Perrott
50
M.H. Perrott
51
Phase Error[2]
div(t)
Enable
ref(t)
Osc(t)
Reset
ref(t)
Counter
Logic
div(t)
Count[k]
Register
e[k]
Count[k]
q[1]
Quant.
Error[k]
-q[0]
e[k]
q[2]
-q[1]
M.H. Perrott
53
Phase Error[2]
div(t)
Enable
ref(t)
Osc.
Phases(t)
Reset
ref(t)
Counters
Logic
div(t)
Count[k]
Register
Count[k]
e[k]
Quant.
Error[k]
e[k]
q[1]
q[2]
-q[1]
-q[0]
11
10
54
Measurement 1
Enable
Measurement 2
Enable
Measurement 3
Enable
Measurement 4
M.H. Perrott
55
(a)
(b)
Delay Element
Enable
Enable
Vo n-1
Vo n
Vo 5
Vo 3
M.H. Perrott
M3
Vo i-1
Vo 1
Vo 4
Vo 2
M4
Vo i
M2
Enable
M1
56
GRO Prototype
enable
15 Stage Gated Ring Oscillator
En
Dis
S Q
R
enable(t)
enable
Straayer,
Perrott
M.H. Perrott
Logic
error[k]
57
enable(t)
S Q
R
enable
40
30
Input variable
delay signal
Amplitude (dB)
20
Harmonics due
to nonlinearity of
variable delay
Logic
error[k]
10
-10
Noise shaped
quant. noise
-20
-30
0.01
M.H. Perrott
0.1
Frequency (MHz)
10
100
58
M.H. Perrott
59
Multiple Inputs
Single Output
M.H. Perrott
60
M.H. Perrott
61
M.H. Perrott
62
Reset
Start
Counters
Logic
Stop
Count[k]
Register
e[k]
M.H. Perrott
63
M.H. Perrott
64
M.H. Perrott
65
Stop
Enable
CLK
47-stage
Gated Ring
Oscillator
Z1-47
State
Register
Start
Stop
Enable
CLK
1 2 3 4 5 6 7
Measurement
Cells
Adder
Out
- 8-bit, 500Msps
- 11-bit, 100Msps version
M.H. Perrott
66
-50
279.2
Input of
1.2pspp
-60
-70
-80
-90
-100
-40
Ideal variance of
50-Msps quantizer
with 1ps steps
104
105
106
107
279.0
278.8
1.2ps
278.6
40
80
120
Frequency (Hz)
Time (
s)
(a)
(b)
160
200
M.H. Perrott
67
M.H. Perrott
68
Loop
Filter
PFD
Out
Div
N/N+1
1-bit
Frequency M-bit
Selection
Modulator
Quantization
Noise Spectrum
Output
Spectrum
Noise
Frequency
Selection
M.H. Perrott
Fout
PLL dynamics
70
71
M.H. Perrott
72
73
M.H. Perrott
74
75
Dual-Port LC VCO
Frequency tuning:
M.H. Perrott
76
M.H. Perrott
1X varactor minimizes
noise sensitivity
16X varactor provides
moderate range
A four-bit capacitor
array covers 3.3-4.1GHz
- Monotonic
- Minimal active circuitry and no transistor bias currents
- Full-supply output range
77
M.H. Perrott
charged to VL
DD
DD
78
M.H. Perrott
load
79
M.H. Perrott
Issues:
Divide value
=N0+N1+N2+N3
M.H. Perrott
81
M.H. Perrott
82
Step 1: reset
Step 2: frequency acquisition
Vc(t) varies
Vf(t) is held at midpoint
M.H. Perrott
M.H. Perrott
84
first-order
IIR
1-
1-z-1
1
1-z-1
Gain
K1
ref[k]
div[k]
T
2
TDC
Loop
Gain
Filter
e[k]
1
H(z)
tdel
M.H. Perrott
V
2B
DT-CT
VCO
2Kv
s
z=ej2fT
divider
1
Nnom
DAC
Gain
out(t)
s=j2f
CT-DT
1
T
85
M.H. Perrott
M.H. Perrott
T
2
first-order
TDC
IIR
Gain
1 e[k] 1-
tdel
1-z-1
DAC
Gain
Accum.
4
1
1-z-1
1
64
V
2B
DT-CT
VCO
2Kvc
s
out(t)
s=j2f
div[k]
Divider
Kc
z-1
1-z-1
CT-DT
1
T
1
Nnom
M.H. Perrott
88
0.13-m CMOS
Active area: 0.95 mm2
Chip area: 1.96 mm2
VDD: 1.5V
Current:
26mA (Core)
7mA (VCO output
buffer at 1.1V)
GRO-TDC:
M.H. Perrott
2.3mA
157X252 um2
89
VCO
21.0mW
(46%)
1.4mW
(3%) 2.8mW
Ref. Buffer
(6%)
3.0mW
(7%)
3.4mW GRO-TDC
(7%)
6.8mW
(15%)
Digital
7.7mW
(17%)
VCO Pad Buffer
Total Power: 46.1mW
M.H. Perrott
M.H. Perrott
Suppresses
quantization
noise by
more than
15 dB
Achieves
204 fs
(0.27 degree)
integrated
noise (jitter)
Reference
spur: -65dBc
91
60
dBc/Hz
80
100
120
140
160
180
3
10
10
10
10
10
foffset
M.H. Perrott
92
Spur (dBc)
Integer boundary
-55 (50MHz73)
-60
-65
-70
16.2us
-75
3.62
3.67
M.H. Perrott
93
Conclusions
94
Supplemental Slides
Section 1: Digital Fractional-N Frequency
Synthesizers
ref(t)
out(t)
Time e[k]
Digital
-toLoop Filter
Digital
DCO
div(t)
Divider
N[k]
M.H. Perrott
96
ref(t)
5
4
e[k]
Time
Phase
-to- Reg
Unwrap
Digital
Reg
Re-time
ref(t)
signal
cnt[k]
div(t)
Reg
out(t)
Digital
Loop Filter
DCO
count
reset
Staszewski
et. al.,
TCAS II, Nov
2003
M.H. Perrott
97
Key Issues
ref(t)
e[k]
Time
Phase
Reg
-toUnwrap
Digital
Reg
Re-time
ref(t)
signal
cnt[k]
div(t)
Reg
out(t)
Digital
Loop Filter
DCO
count
reset
M.H. Perrott
98
ref(t)
DCO
div(t)
4.25
out(t)
Time e[k]
Digital
-toLoop Filter
Digital
Accum
Divider
N[k]
M.H. Perrott
99
out(t)
Time e[k]
Digital
-toLoop Filter
Digital
div(t)
N.Frac = 4.25
Accum
DCO
Divider
Carry Out
Residue
Frac
=0.25
Carry
Out
M.H. Perrott
100
DCO
div(t)
Nsd[k]
out(t)
Time e[k]
Digital
-toLoop Filter
Digital
Modulator
Divider
Quantization
Noise
N[k]
M.F
f
M.H. Perrott
101
DCO
TDC-referred
Noise
S tq(e j2fT)
f
tq[k]
ref[k]
T
2
DCO-referred
Noise
S n(f)
-20 dB/dec
f
TDC
Gain
1
tdel
Loop
Filter
DT-CT
e[k]
H(z)
z=ej2fT
div[k]
Divider
2Kv
s
s=j2f
out(t)
CT-DT
1
Quantization
Noise
j2fT
n[k]
S q(e
)
n(t)
Nnom
1
T
-1
2 z
1-z-1 z=ej2fT
102
f
tq[k]
Quantization
Noise
j2fT
S q(e
)
fo
f
n[k]
-1
z
2
1-z-1
z=ej2fT
f
n(t)
2NnomG(f)
fo
out(t)
bandwidth will
increase its
impact
2
1
2NnomG(f) S tq(e j2fT)
T
2
1- G(f) S n(f)
dBc/Hz
1 2T G(f) S (e j2fT)
T 1-e -j2fT q
fo
M.H. Perrott
- High PLL
1-G(f)
T G(f)
fo
quantization
noise now
impacts the
overall PLL phase
noise
Digital PLL
implementation
simplifies
quantization noise
cancellation
www.cppsim.com
M.H. Perrott
104
Supplemental Slides
Section 2: DCO Modeling
out(t)
Varactor
Varactor
ref(t)
Tuning
Fine
Control
in[k] Digital
Loop
Filter
Digital
Modulator
Divide-by-K
T c=T/M
Coarse
Initial
Control Frequency
DCO
TDC out
M.H. Perrott
106
Zero-Order
Hold
incap(t)
1
0
insd[m]
in[k]
Tc
inq[m]
Kv
Frequency
to Phase
out(t)
fcap(t)
2
out(t)
incap(t)
1
t
m
Tc
t
Tc
M.H. Perrott
- Units of K
107
Zero-Order
Hold
incap(t)
1
0
Tc
Kv
Frequency
to Phase
out(t)
fcap(t)
2
qraw[k]
Digital Hntf(z)
Modulator
Upsampler
by M
in[k]
Hstf(z)
0 1/Tc
z=ej2fTc
Conversion
to Phase
Tc
0 1/MTc
Zero-Order
Hold
2Kv out(t)
s
s=j2f
- Note: var(q
M.H. Perrott
raw[k])
M
Digital qraw[k]
Modulator
Upsampler
by M
in[k]
M.H. Perrott
Hntf(z)
Zero-Order
Hold
Conversion
to Phase
Tc
M
0 1/MTc
Hstf(z)
0 1/Tc
2Kv out(t)
s
z=ej2fTc
s=j2f
Assume Hstf(z) = 1
109
Hntf(z)
f
Phase
Noise
qraw[k]
z=ej2fTc
q[k]
in[k]
M
Tc
out(t)
2Kv
s
s=j2f
M.H. Perrott
DCO-Referred
Noise
S n(f)
n(t)
DT-CT
in[k]
T
2Kv
s
f
out(t)
s=j2f
110
Supplemental Slides
Section 3: Derivation of VCO Quantization Noise
Due to Capacitor Dithering
Hntf(z)
f
Phase
Noise
qraw[k]
z=ej2fTc
q[k]
in[k]
M
Tc
2Kv
s
out(t)
s=j2f
DT to CT spectral calculation:
-S
-H
qraw(f)
M.H. Perrott
112
-1
ntf
113
Supplemental Slides
Section 4: Derivation of Discrete-Time Loop Filter
Parameterization based on Continuous-Time
Specifications
- K = 3.0x10
- w = 2(153 kHz)
- w = 2(10 kHz)
10
p
z
M.H. Perrott
115
T
2
TDC
Gain
1
tdel
Loop
Filter
DT-CT
e[k]
H(z)
z=esT
div[k]
1
N
n(t)
T
CT-DT
2Kv
s
out(t)
s=j2f
1
T
At low frequencies (i.e., |sT| << 1), we can use the first
order term of a Taylor series expansion to approximate
M.H. Perrott
116
M.H. Perrott
117
- Where:
Note:
Tdco= T/N
*
* Typically implemented by gain normalization circuit
M.H. Perrott
118