PLLbasics
PLLbasics
φin φout
( ) ( )
Phase-
Vin (t ) ∝ sin 2π fin t Locked Vout (t ) ∝ sin 2π Nf in t
Loop
• Phase = ∫ frequency
1 d φ (t )
φ (t ) = 2π ∫ f (t ) dt ↔ f (t ) =
2π dt
GoFaster
Feedback
FbClk Div
Φout lower BW
Φout
BW
Φref BW
rejects Φvco higher BW
ref noise
rejects
VCO noise
log(frequency) log(frequency)
PFD VCO
C1 C2
φfb
1/N
FBDIV
-40dB/dec
Open-Loop Gain (dB)
-20dB/dec
log(wmod)
wz wn wc wp
-40dB/dec
wz = 1/RC1
wp = 1/RC2
wc = crossover frequency
wn = natural frequency
• φm (degrees) = (180/π)*(atan(ωc*RC1)–atan(ωc*RC2)-ωc*Tdly)
– ωc == crossover frequency
• frequency where open-loop gain G(s) = 0dB
– For stability: 1/RC1 (zero) < ωc < 1/RC2 (parasitic pole)
– Typical Range: 1.2*ωn < ωc < 2.5*ωn
Φin
vs.
time
Copyright, Dennis Fischette, 29
2007
Spectral Analysis of VCO Clock
• 5GHz VCO clock with 200MHz reference clock
Relative Power (dB)
0
-20
reference -54.8dBc
spur
-40
0.2GHz
-60
-80
4.7 5.0 5.3
Frequency (GHz)
Copyright, Dennis Fischette, 30
2007
Timing Jitter: Eye Diagram
• Example of timing jitter in serial link.
• Overlay scope traces of several bits on top of each other
timing jitter
1 /f^3
SSB Phase Noise (dBc/Hz)
flic k e r
re g io n
1 /f c o rn e r
fre q u e n c y
th e rm a 1 /f^2
l re g io n
lo g (o ffs e t fre q u e n c y)
Modulation Frequency
∫ Sφ (f )df
1
J phase =
2πfvco
ωvco
φerror ∝ J RMS , period ⋅
ζω n
Vdd D Q G o F a s te r
DFF
Ref
CK
R
DLY
R
Vdd D Q
G o S lo w e r
DFF
FB
CK
Ref
Cycle Slip
FbClk
GoFaster
GoSlower
Vctl
R
Vdd D Q D Q
GoSlower Cycle Slip Fast
DFF DFF
FB
CK CK
Vbp
A d d c a p to V irtV c tl fo r v o lt. s ta b ility
Up U p_n Up
V c tl +
V irtV c tl
-
D own D own
D own_n
Vbn
A m p Ib ia s s h o u ld tra c k Ic p
Vref -
m2
+ m1
Vfb Ibias
Vctl
C1 C2
• Typical values:
– 0.5kΩ < Rlpf < 20kΩ
– 5pF < C1 < 200 pF
– 2% (low phase error) < C2/C1 < 10% (low period jitter)
– Smaller caps are becoming more common w/ higher reference
frequencies and metal cap usage
Simulated C gate
Vgate
0.0
depletion
V co
0.5
nt
V )
(V
V gate (
)
Vintegral
CP1
V2I
IVCO
Vproportional
CP2
“Res” RO
Virtual Vctl
Copyright, Dennis Fischette, 57
2007
Dual-Loop Charge-Pump Mismatch
• Iup/Idown ratios in proportional and integral charge-pumps
are partly uncorrelated due to random device mismatch
R e f C lk
F b C lk
G o F a s te r
G o S lo w e r
Id e a l V c tl A c tu a l V c tl
Control Voltage
+ + + + + + + +
S S S S
- - - -
+ - + - + - + -
F F F F
- - - -
div_0 div_90
D Q D Q
DFF DFF
vco div_270
CK QB CK QB
div_180
vco_x
Cp
_
m2
+ m1
Rfb model of
Vfb CSI RO
Ivco
Cn
model of V2I Vctl m3 Rro
m3 m6 m7 m4
Vfb
m1 m2 3-stage RO
Vctl
+ Vbn + - + - + -
m5
- - - -
Vctl Vbn
+ + +
Cn
Dummy delay cell
z zn
VDD
V C O V 2I + B iasC kt D ecap
B andgap
R ef
Cap
VRO CAP RO B ypass
V oltage LS VCO
M ux
R egulator P ost-
+
D iv
V D D reg B uffers
C ontrol Logic
LP F C 1 M etC ap +
Test Logic
• Check that VSS of LPF metal caps and VSS of VCO bias
circuits are well-connected and at same potential
• Check that signal ESD and/or power supply clamps are well-
connected to power supplies (< 1-2 Ω)
– extract power grids and ESD
– simulate for voltage peaks and diodes wired-backward
• Aim for avg IR drops < 5mV over entire PLL, less within and
between related analog blocks
• Verify that RTL and tester don’t assume that dividers, etc.
are initialized to known states upon power-on, frequency-
changes, etc. – add logic to establish determinism if needed
• Gate Leakage
– LPF especially, Ileak(LPF) < a few nA
– Switches used for test modes
– Gate loads of high-impedance nodes (e.g. bandgap)
– Large op-amp inputs
• Analog Measurements
• Probing
• Measuring duty-cycle
– Divide-by-odd-integer
– Mux to select either true or inverted VCO clock. Duty-
cycle error = (Duty+ - Duty-) / 2
• On-chip state-machines
– range from simple to sophisticated
– disturb locked PLL in some way and observe re-lock
behavior
3. Leaky loop filter gate caps will cost you your job