SlideShare a Scribd company logo
1 of 120
Download to read offline
Copyright, Dennis Fischette,
2007
1
First Time, Every Time
First Time, Every Time –
–
Practical Tips for Phase
Practical Tips for Phase-
-
Locked Loop Design
Locked Loop Design
Dennis Fischette
Email: pll@delroy.com
Website: http://www.delroy.com
Copyright, Dennis Fischette,
2007
2
Outline
Outline
• Introduction
• Basic Feedback Loop Theory
• Jitter and Phase Noise
• Common Circuit Implementations
• Circuit Verification
• Design for Test
Copyright, Dennis Fischette,
2007
3
Introduction
Introduction
Copyright, Dennis Fischette,
2007
4
How Are
How Are PLL
PLL’
’s
s Used?
Used?
• Frequency Synthesis (e.g. generating a 1 GHz clock from a
100 MHz reference in a CPU)
• Skew Cancellation (e.g. phase-aligning an internal clock to
the I/O clock) (May use a DLL instead)
• Extracting a clock from a random data stream (e.g. serial-
link receiver)
• Reference Clean-Up (e.g. low-pass filter source-synchronous
clock in high-speed I/O)
• Frequency Synthesis is the focus of this course.
• Design Priority? Frequency and/or phase accuracy?
Copyright, Dennis Fischette,
2007
5
What is a PLL?
What is a PLL?
• Negative feedback control system where fout tracks fin and rising edges of
input clock align to rising edges of output clock
• Mathematical model of frequency synthesizer
( ) ( )
t
f
t
V in
in π
2
sin
∝ ( ) ( )
t
Nf
t
V in
out π
2
sin
∝
φ
φout
out
φ
φin
in
( ) ( ) ( ) ( )
dt
t
d
t
f
dt
t
f
t
φ
π
π
φ
2
1
2 =
↔
= ∫
Phase
Phase-
-
Locked
Locked
Loop
Loop
in
out
in
out Nf
f
N =
→
= φ
φ
•
• When phase
When phase-
-locked,
locked,
•
• Phase =
Phase = ∫
∫ frequency
frequency
Copyright, Dennis Fischette,
2007
6
Charge
Charge-
-Pump PLL Block Diagram
Pump PLL Block Diagram
• Sampled-system (phase-error is input variable)
• Phase error is corrected by changing frequency (φ(t) = ∫ f(t) dt)
• Resistor provides means to separate correction of frequency error
from correction of phase error
ClkOut
Phase-
Freq
Detector
Charge
Pump
Feedback
Div
VCO
RefClk Level-
Shifter
FbClk
GoFaster
GoSlower
VCO
Vctl
C1 C2
Copyright, Dennis Fischette,
2007
7
Components in a Nutshell
Components in a Nutshell
• Phase-Frequency Detector (PFD): outputs digital pulse
whose width is proportional to sampled phase error
• Charge Pump (CP): converts digital error pulse to analog
error current
• Loop Filter (LPF): integrates (and low-pass filters in
continuous time) the error current to generate VCO control voltage
• VCO: low-swing oscillator with frequency proportional to control
voltage
• Level Shifter (LS): amplifies VCO levels to full-swing
• Feedback Divider (FBDIV): divides VCO clock to generate
FBCLK clock for phase comparison w/reference
Copyright, Dennis Fischette,
2007
8
PLL Feedback Loop Theory
PLL Feedback Loop Theory
Copyright, Dennis Fischette,
2007
9
What Does PLL Bandwidth Mean?
What Does PLL Bandwidth Mean?
• PLL acts as a low-pass filter with respect to the reference
modulation. High-frequency reference jitter is rejected
• Low-frequency reference modulation (e.g., spread-spectrum
clocking) is passed to the VCO clock
• PLL acts as a high-pass filter with respect to VCO jitter
• “Bandwidth” is the modulation frequency at which the PLL
begins to lose lock with the changing reference (-3dB)
log(
log(frequency
frequency)
)
BW
BW
Φ
Φout
out
Φ
Φref
ref
lower BW
lower BW
rejects
rejects
ref noise
ref noise
log(
log(frequency
frequency)
)
BW
BW
Φ
Φout
out
Φ
Φvco
vco higher BW
higher BW
rejects
rejects
VCO noise
VCO noise
Copyright, Dennis Fischette,
2007
10
Closed
Closed-
-Loop PLL Transfer Function
Loop PLL Transfer Function
• Transfer function describes how PLL responds to “excess”
reference phase. i.e. RefClk phase modulation
• Analyze PLL feedback in frequency-domain
– Phase is state variable, not frequency
– “s” is the reference modulation frequency, not reference
oscillation frequency
– Assumes continuous-time (not sampled) behavior
• H(s) = φfb/φref = G(s)/(1+G(s)) Æclosed-loop gain
• G(s) = (Kvco/s)IcpF(s)*e-sTd/M Æ open-loop gain
– where φerr
• Kvco = VCO gain in Hz/V
• Icp = charge pump current in Amps
• F(s) = loop filter transfer function in Volt/Amp
• M = feedback divisor
• Td = delay in feedback-loop (e.g. FBDIV, Tpfd/2)
Copyright, Dennis Fischette,
2007
11
PLL Components in Frequency
PLL Components in Frequency
Domain
Domain
PFD
Icp/2pi
VCO
Vctl
C1 C2
1/N
Kvco/s
FBDIV
Charge
Pump
sub
s*( (c1+c2)+(s*rc1*c2)
(1+s*rc1)
Vctl(s) / Icp(s) =
φvco
φref
φfb
φerr
Copyright, Dennis Fischette,
2007
12
Closed
Closed-
-loop PLL Transfer Function
loop PLL Transfer Function
• H(s) = ωn
2 (1+ s/ωz) / (s2+2sζωn + ωn
2)
– where
• ωn = undamped natural frequency (rad/s)
• ωz = stabilizing zero = 1 /RC1 (rad/s)
• ζ = damping factor
– 2nd-order (two poles p1,p2 and one zero)
– 2nd-order ignores C2 cap and feedback delays
• If ζ< 1, complex poles lead to damped oscillation
– Real Æ exponential decay(ζωn) , Imag Æ oscillation (ωn)
• If ζ > 1, z and p1 cancel: BW(-3dB) ~ 2sζωn
Copyright, Dennis Fischette,
2007
13
What is a
What is a “
“Zero
Zero”
”?
?
• The “Zero” of the closed-loop transfer function is
the frequency in radians/s where the gain of the
integral and proportional paths are equal.
• Classic loop: ωz = 1 /RC1 (rad/s)
• Concept can be applied to loop filters that do not
contain a resistor.
Copyright, Dennis Fischette,
2007
14
Open
Open-
-Loop Transfer Function
Loop Transfer Function
• log(Gain) vs. log(Modulation Frequency)
• 2 poles @ origin, 1 zero @ wz, 1 pole @wp
log(wmod)
Open-Loop
Gain
(dB)
-40dB/dec
-20dB/dec
-40dB/dec
wz wc wp
wn
wz = 1/RC1
wp = 1/RC2
wc = crossover frequency
wn = natural frequency
Copyright, Dennis Fischette,
2007
15
Bandwidth
Bandwidth
• Undamped Natural Frequency:
– ωn = sqrt(Kvco*Icp/( M*C1)) in rad/sec
– where
• Kvco = VCO gain in Hz/V
• Icp = charge pump current in Amps
• M = feedback divisor
• C1 = large LPF capacitor
• For stability: ωn/2π < ~1/15 reference frequency
• Typical value: 500 kHz < ωn/2π < 10MHz
Copyright, Dennis Fischette,
2007
16
Stability, Damping, and Phase Margin
Stability, Damping, and Phase Margin
• Damping Factor: ζ = Rlpf * C1 * ωn /2
– Dimensionless, Usually ~0.45 < ζ < ~2
– Lower end of range for low period jitter
– Higher end of range for accurate ref phase tracking
– Rlpf provides means to set stability independent of bandwidth
• φ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
• Phase margin degradation due to PFD phase error sampling
– -φ = ωc*Tref / 2
– z-domain analysis is more accurate
• Phase margin (φm) ~ 100 * ζ (for ζ < 0.5)
– Usually 45° < PM < 70°
Copyright, Dennis Fischette,
2007
17
Loop Dynamics vs. OSR
Loop Dynamics vs. OSR
• Assumes continuous-time model. Damping = 0.8, wn = 3.7MHz
• φm=62° , BW(-3dB)=8.8MHz, Pk=2.1dB (w/no delay)
OSR
(wn(Hz)/f(ref)
Phase
Margin(°)
Peaking(dB) BW(-3dB)
(MHz)
4.5 -4 26 10.6
6.7 18 11 12.6
7.6 24 8.0 13.1
8.9 29 6.0 13.4
10.7 35 4.6 13.5
13.3 40 3.6 13.1
17.8 46 3.0 12.1
26.7 51 2.6 10.9
53.4 56 2.3 9.1
Copyright, Dennis Fischette,
2007
18
Aliasing in a Sampled Loop
Aliasing in a Sampled Loop
• Sampling nature of PFD Æ frequency-domain aliasing
– Can’t low-pass filter ref noise before PFD sampling – unlike A/D’s
– Need z-domain analysis for accurate PLL modeling – analogous to
sample-and-hold
• Phase of modulation with respect to ref affects aliasing
– e.g. ref modulation at ½ * fref. No jitter if sampled at 0°,180°, max at
90°,270°
• Modulation at frequencies > Nyquist (fref/2) appears at other frequencies
– e.g. fref=100MHz Æ ref modulation at 99MHz looks just like 1MHz ref
modulation to the PLL
– continuous-time model says that PLL should reject more 99MHz noise
than 1 MHz noise
frequency
frequency
f
fREFCLK
REFCLK
f
fBW
BW
Φ
Φout
out
Φ
Φin
in
Copyright, Dennis Fischette,
2007
19
PLL Response vs. Damping
PLL Response vs. Damping
Copyright, Dennis Fischette,
2007
20
Phase Tracking vs. Damping
Phase Tracking vs. Damping
• Phase Tracking vs. Damping
• Closed-loop Transfer Function (φfb/φref)
• Phase Tracking Æ think “accumulated” period jitter or phase
error
• Peaking at low and high damping factors Æ bad
• Peaking at high damping due to smoothing capacitor pole
(1/RC2) and/or under-sampling (Gardner)
• Peaking very sensitive to (1/RC2) at high R
• Min peaking w/damping ~ 1.0 - 1.5 if C2 ~ 5% * C1
• Typical peaking: 1 – 3 dB (CPU high-end, IO low-end)
• For lower peaking, damping > 2 and C2 small
• Simulation Condition (following slides): C2 = 6.7% * C1
Copyright, Dennis Fischette,
2007
21
Closed
Closed-
-loop Transfer Function
loop Transfer Function
Copyright, Dennis Fischette,
2007
22
Copyright, Dennis Fischette,
2007
23
Phase Response vs. Damping
Phase Response vs. Damping
(time
(time-
-domain)
domain)
• Transient Simulation Conditions (behavioral model):
– step reference phase by 2π radians. Observe phase overshoot
– C2 = 10% * C1 (high end of C2 range requires lower ζ)
• Less ringing and overshoot as ζ Æ 1
• Severe under-damping Æ slow ringing and overshoot
• Severe over-damping Æ fast ringing and overshoot
• Ringing at high damping due to smoothing pole (large RC2)
and/or low over-sampling
Copyright, Dennis Fischette,
2007
24
Copyright, Dennis Fischette,
2007
25
Copyright, Dennis Fischette,
2007
26
Frequency Response vs. Damping
Frequency Response vs. Damping
Copyright, Dennis Fischette,
2007
27
Copyright, Dennis Fischette,
2007
28
Jitter and Phase Noise
Jitter and Phase Noise
Copyright, Dennis Fischette,
2007
29
Phase Noise and Timing Jitter
Phase Noise and Timing Jitter
• Phase Noise (frequency domain) ↔ Jitter (time domain)
• Noise is frequency-dependent with random & deterministic
components
• VCO and loop filter resistor often largest sources of noise
time
time
φ
φ
( ) ( )
( )
t
t
f
t
V n
out
out φ
π +
∝ 2
sin
Frequency Domain
Frequency Domain
Time Domain
Time Domain
phase
phase
noise
noise
jitter
jitter
vs.
vs.
vs.
vs.
PLL Output
PLL Output
f
fout
out f
fout
out
Copyright, Dennis Fischette,
2007
30
Spectral Analysis of VCO Clock
Spectral Analysis of VCO Clock
• 5GHz VCO clock with 200MHz reference clock
5.0
5.0
4.7
4.7 5.3
5.3
0
0
-
-20
20
-
-40
40
-
-60
60
-
-80
80
Relative
Power
(dB)
Relative
Power
(dB)
Frequency (GHz)
Frequency (GHz)
-
-54.8dBc
54.8dBc
reference
reference
spur
spur
0.2GHz
0.2GHz
Copyright, Dennis Fischette,
2007
31
Timing Jitter: Eye Diagram
Timing Jitter: Eye Diagram
• Example of timing jitter in serial link.
• Overlay scope traces of several bits on top of each other
timing jitter
timing jitter
Copyright, Dennis Fischette,
2007
32
Jitter Definitions
Jitter Definitions
• Phase Jitter (sec)
– deviation of VCO output edges from ideal placement in time.
– specified over a time interval or frequency range.
– important for I/O apps (e.g. PCI-Express < ±1.5ps RMS)
– measure with spectrum analyzer or scope with jitter package
• Period Jitter (sec)
– deviation of VCO period from ideal period
– derivative of Phase Jitter with respect to time
– peak-to-peak period jitter (Jpp) is max VCO period – min VCO period
– most important for CPU-like apps
– e.g. 10-20ps for 2GHz CPU clock
– easily measured on scope – self-triggered infinite-persistence or jitter
package
• Cycle-to-Cycle Jitter (sec)
– change in VCO period from cycle N to cycle N+1
– derivative of Period Jitter with respect to time
– not important for CPU-like apps
Copyright, Dennis Fischette,
2007
33
Jitter Definitions
Jitter Definitions
• TIE (sec)
– time difference between total of N-consecutive actual VCO cycles and
N ideal cycles
– easily measured on oscilloscope with jitter package – self-triggered
measurement
– TIE – “time-interval error”
Copyright, Dennis Fischette,
2007
34
Noise Sources
Noise Sources
• Major internal PLL Noise Sources
– charge-pump (flicker (1/f) and thermal)
– loop filter resistor (thermal) – very significant
– VCO (mostly thermal) - significant
– VCO bias (flicker and thermal) – most significant
– Flicker Noise
• Vn
2 (V2/Hz) = Kf / (Cox*W*L* f)
• Kf ~ 10e-24
– Thermal Noise
• In
2 (Amp2/Hz) = 4kT*gm*γ
γ ~ 2/3 for older CMOS technologies, much higher in deep
submicron
• PLL feedback loop
– Low-pass filters ref and charge-pump noise
– Band-pass filters loop-filter resistor noise
– High-pass filters VCO noise (1-H(s))
Copyright, Dennis Fischette,
2007
35
Output Phase Noise
Output Phase Noise
• Measured vs. offset frequency (f) from carrier
• Spectral Density of Phase Fluctuations (Sφ(f))
– Sφ(f)= 2L(f)
• L(f) is Single-Sideband Phase Noise
– Analogous to Power(sideband)/Power(carrier)
– Sφ (f) is specified in a 1Hz band
• Sφ(f) ~ 1 / f2 (thermal region, mid-to-high f) (open-loop)
• Sφ(f) ~ 1 / f3 (flicker region, low f) (open-loop)
• Flicker noise mostly filtered by high BW PLL
Copyright, Dennis Fischette,
2007
36
Single
Single-
-Sideband Phase Noise Plot
Sideband Phase Noise Plot
• Open-loop VCO
1 /f^3
1 /f^2
flicke r
re g io n
th e rm a
l re g io n
1 /f co rne r
fre q u e ncy
log (o ffse t fre q u en cy)
SSB
Phase
Noise
(dBc/Hz)
Copyright, Dennis Fischette,
2007
37
Open
Open-
-loop
loop Æ
Æ Closed
Closed-
-Loop Phase
Loop Phase
Noise
Noise
• Goal: determine how much open-loop VCO phase noise remains
after applying PLL feedback loop
• Method: multiply VCO’s open-loop single-sideband phase noise by
PLL’s “error function” (1- H(s)) where H(s) is closed-loop transfer
function
1/f^2
closed-loop jitter peaking
region
Modulation Frequency
Output
Phase
/
Open-loop
VCO
Phase
Error Function = 1- H(s)
Copyright, Dennis Fischette,
2007
38
Converting Phase Noise to Jitter
Converting Phase Noise to Jitter
• RMS Phase Jitter
• Usually dominated by VCO bias and loop filter
• Easily measured using spectrum analyzer – low noise floor
• Ideal reference is measurement trigger
• Integration range depends on application (e.g., PCIe: fmin=
1.5MHz)
– usually stop integration at f0/2 to avoid capturing carrier
and harmonics
– e.g., 5ps from 1MHz to f0/2 with BW=15MHz and
2.5GHz clock (SOI bad for phase jitter)
( )df
f
S
f
J
vco
phase ∫
= φ
π
2
1
Copyright, Dennis Fischette,
2007
39
Converting Phase Noise to Jitter
Converting Phase Noise to Jitter
• RMS Period Jitter
• Spectrum analyzer can’t do this integral. Post-process
phase noise
– e.g., Jper~300fs w/2.5GHz clock
• Usually dominated by VCO bias and VCO?
• Spectrum analyzer usually has lower noise floor than
scope (scope floor ~800fs @ 40Gsample/sec)
( ) df
f
f
f
S
f
J
vco
vco
period ⎟
⎟
⎠
⎞
⎜
⎜
⎝
⎛
= ∫
π
π
φ
2
8
2
1
sin
Copyright, Dennis Fischette,
2007
40
Converting Phase Noise to TIE
Converting Phase Noise to TIE
• Time-Interval Error (TIE)
• “Tau” is time interval over which phase drift is measured
• Spectrum analyzer can’t do this integral. Post-process
phase noise
( ) ( )df
f
f
S
f
J
vco
TIE τ
π
π
φ
2
sin
8
2
1
∫
=
Copyright, Dennis Fischette,
2007
41
VCO Noise Tracking: Phase Error
VCO Noise Tracking: Phase Error
vs. Bandwidth
vs. Bandwidth
• For random VCO noise (i.e. thermal):
• lower BW Æ more accumulated phase error
• Why? More jittery VCO cycles before feedback can
correct:
where Jrms = VCO RMS period jitter
n
vco
period
RMS
error J
ζω
ω
φ ⋅
∝ ,
Copyright, Dennis Fischette,
2007
42
PLL Circuits
PLL Circuits
• Phase-Frequency Detector
• Charge-Pump
• Loop Filter
• Voltage-Controlled Oscillator
• Level-Shifter
• Feedback Divider
• Voltage Regulator
• Miscellaneous
Copyright, Dennis Fischette,
2007
43
Phase
Phase-
-Frequency
Frequency
Detector(PFD)
Detector(PFD)
Copyright, Dennis Fischette,
2007
44
PFD Block Diagram
PFD Block Diagram
• Edge-triggered - input duty-cycle doesn’t matter - frequency
correction takes precedence over phase correction – no harmonic
locking – 3 state operation
• Output pulse-widths proportional to phase error
• Delay to remove “dead-zone”
• Symmetric NAND used to balance equalize delays from both inputs
G oFaster
D
C K
Q
D FF
D LY
G oS lower
R ef
Vdd
Vdd
FB
D
C K
Q
D FF
Q
C K
D
R
R
Copyright, Dennis Fischette,
2007
45
Example: PFD
Example: PFD
Ref
FbClk
GoFaster
GoSlower
Vctl
Cycle Slip
Copyright, Dennis Fischette,
2007
46
Frequency Lock Detector
Frequency Lock Detector
• Sample PFD GoFaster signal with rising REFCLK
• Sample PFD GoSlower signal with rising FBCLK
• If either sampled signal is TRUE, then PFD detected two
consecutive REFCLK’s or FBCLK’s Æ cycle slip and loss of frequency
lock
• May apply “sticky bit” to result to capture temporary loss of lock
GoFaster
D
CK
Q
DFF
DLY
GoSlower
Ref
Vdd
Vdd
FB
D
CK
Q
DFF
Q
CK
D
R
R
CK
D Q
DFF
CK
D Q
DFF
Cycle Slip Slow
Cycle Slip Fast
PFD
Copyright, Dennis Fischette,
2007
47
Charge Pump(CP)
Charge Pump(CP)
Copyright, Dennis Fischette,
2007
48
Charge
Charge-
-Pump Wish List
Pump Wish List
• Equal UP/DOWN currents over entire control voltage range -
reduce static phase error
• Minimize mismatch caused by finite current sources gds and
Vt mismatches
– ∆Vt ~ 1 / sqrt(W*L)
– long L in current sources for higher gds
– Stacked (a.k.a common) gates in Isources help w/mismatch
– use replica-bias CP and feedback amplifier to balance Iup/Idown
– beware of mismatch between two CP cells
– increase in CP’s phase noise due to finite BW of this feedback?
• Minimal coupling to control voltage during switching and
leakage when off - reduce jitter and phase drift
• Insensitive to power-supply noise and process variations –
loop stability
Copyright, Dennis Fischette,
2007
49
Charge
Charge-
-Pump Wish List
Pump Wish List
• Minimize coupling caused by “clock feedthrough” (Cgd) and
charge-injection
– ½ sized dummy switches to reduce charge-injection
• Qinj ~ ½ *Cox*(W*L)*(Vgs-Vt)
– Small (and/or limited swing) switches to reduce clock
feedthrough – watch for leakage with limited-swing
– Balance timing and slew rates of all inputs
• Minimize PFD pulsewidth to minimize phase noise while still
avoiding dead-zone (< 100 ps possible in 65nm)
• Typical Icp: 5µA (mismatch)< Icp < 50 µA (∆Vctl)
Copyright, Dennis Fischette,
2007
50
Static Phase Error and CP
Static Phase Error and CP
Up/Down Mismatches
Up/Down Mismatches
• Static Phase Error: in lock, net UP and DOWN currents must
integrate to zero
– If UP current is 2× larger, then DOWN current source must
be on 2× as long to compensate
– Feedback clock must lead reference for DOWN to be on
longer
– Terr = Tdn - Tup = Treset * (Iup/Idn – 1)
• Narrow reset pulse Æ generally lower static error
• Typical static phase error < 100ps
• Static phase error Æ period jitter @ Tref (reference spurs)
Copyright, Dennis Fischette,
2007
51
Charge Pump: const I with amp
Charge Pump: const I with amp
• Amp keeps Vds of current sources constant (Young ’92), sinking
“waste” current when UP, DOWN off
• Replica-bias ckt and additional amp used to set bias Vbp, setting
Iup=Idn. Start-up needed for Vbp bias (not shown)
U p
D own
D own
V ctl
V bn
V bp
+
-
U p_n
D own_n
U p
V irtV ctl
A dd cap to V irtV ctl for volt. stability
A m p Ibias should track Icp
Copyright, Dennis Fischette,
2007
52
Bandgap
Bandgap-
-based I
based Ibias
• Ib ~ Vref / R
• Vref generated from PVT-insensitive bandgap reference
• Con: feedback loop may oscillate
– capacitor added to improve stability
– resistor in series w/cap provides stabilizing zero (not shown)
• Pro: VDD-independent, mostly Temp independent
• Pro: Icp*Rlpf = constant Æ less PVT-sensitive loop dynamics
Ibias
Vref
Vfb
-
+ m2
m1
Copyright, Dennis Fischette,
2007
53
Low
Low-
-Pass Loop Filter (LPF)
Pass Loop Filter (LPF)
Vctl
C1 C2
Copyright, Dennis Fischette,
2007
54
Loop Filter Basics
Loop Filter Basics
• Simplest and most commonly-used loop filter is continuous-time,
passive filter
• Filters high-frequency phase error information from PFD/CP while
integrating low-frequency error info onto C1 cap to set avg. freq -
affects bandwidth
• Provides a means of isolating phase correction from frequency
correction – Icp*Rlpf – affects stability
• Filters noise spurs caused by sampling – C2 cap – adds parasitic
pole at 1/RC2
• Other options include digital(FSM-based) filter, sampled-time filter
(see Maneatis, Maxim) , and continuous-time active filter
• Differential designs can reduce sensitivity to VDD and substrate
noise and often area by 2×. Requires common-mode feedback loop.
Copyright, Dennis Fischette,
2007
55
Passive, Continuous
Passive, Continuous-
-Time Loop Filter
Time Loop Filter
• R may be programmable
– Avoid gate leakage and noise coupling from switches and parasitic
resistance at extreme control voltages
• Leakage in MOSFET caps may be a HUGE problem
– Exponential I vs. V: Ileak~Vgate
4 (approximate)
– Weak temperature dependence
– Ileak vs. tox Æ ~2-3× per Angström
– Use metal caps (10× larger) or thick-gate oxide caps to minimize
leakage
– If MOSFET caps, accumulation mode preferred – flatter Cgate vs. V
• 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
Copyright, Dennis Fischette,
2007
56
Depletion
Depletion-
-Mode MOSFET C
Mode MOSFET Cgate
gate vs. V
vs. V
V
Vgate
gate
inversion
inversion
depletion
depletion
1.0
1.0
1.3
1.3
1.0
1.0
0.0
0.0
V
Vgate
gate (V)
(V)
V
V
c
o
n
t
r
o
l
c
o
n
t
r
o
l
(
V
)
(
V
)
Simulated
Simulated
C
C
gate
gate
0.5
0.5
Copyright, Dennis Fischette,
2007
57
Feed
Feed-
-Forward Zero: eliminate R
Forward Zero: eliminate R
• Resistor in classic LPF provides an instantaneous IR on the control voltage
causing the VCO V2I to generate a current bump on the oscillator input
• Alternative: eliminate R Æ Add parallel CP path into V2I.
– requires parasitic cap (C2 not shown) to the proportional loop to reduce
reference spurs
– see Maneatis ’96 for continuous time or ’03 for sampled loop filter
• Reduces LPF phase noise? Commonly used in low phase-noise I/O apps.
CP1
Vintegral
Virtual Vctl
CP2
“Res”
Vproportional
V2I
RO
IVCO
Copyright, Dennis Fischette,
2007
58
Dual
Dual-
-Loop Charge
Loop Charge-
-Pump Mismatch
Pump Mismatch
• Iup/Idown ratios in proportional and integral charge-pumps
are partly uncorrelated due to random device mismatch
• Net charge from integral CP must integrate to zero for stable
frequency – determines static phase error alone
• Net charge from proportional CP causes frequency kick
every PFD cycle (Kv*I*R) caused by static error and its own
Iup/Idown mismatch
• Upshot: control voltage adjusts up or down from ideal level
to achieve correct average frequency but fVCO varies within
PFD cycle (phase wander)– need well-matched CP’s to avoid
this effect
Copyright, Dennis Fischette,
2007
59
Dual
Dual-
-Loop Charge
Loop Charge-
-Pump Mismatch
Pump Mismatch
• Static error in integral charge-pump Æperiod jitter and
phase wander
R e fC lk
F b C lk
G oF a ster
G o S low er
Id e a l V c tl A c tu a l V c tl
Copyright, Dennis Fischette,
2007
60
Sample
Sample-
-Reset Loop Filters
Reset Loop Filters
• Single charge-pump for Iint and Iprop – Zero ~ sqrt(C1/C2)
– e.g. Maneatis (JSSC ’03)
• Two charge-pumps to allow for reset (discharge) delay
• Spreads phase correction over Tref – can reduce ref spurs
• Mismatch between CP’s Æ significant VCO phase modulation at fref/2
Copyright, Dennis Fischette,
2007
61
Voltage
Voltage-
-Controlled Oscillator
Controlled Oscillator
(VCO)
(VCO)
Copyright, Dennis Fischette,
2007
62
Voltage
Voltage-
-Controlled Oscillator
Controlled Oscillator
• VCO usually consists of two parts
– bias generator (e.g. Vctl to Ictl)
– voltage or current controlled ring oscillator (RO)
• Typical VCO gain: Kvco ~ 1-5× * fmax. May vary w/PVT by > 2×
– need frequency range: >2× to allow for PVT
– desire constant gain over most of usable control voltage range
VCO
frequency
Control Voltage
Usable Vctl
Range
Copyright, Dennis Fischette,
2007
63
VCO w/Feed
VCO w/Feed-
-Forward Path
Forward Path
• RO delay stage may receive inputs from multiple prior stages (e.g. N-1 and
N-2)
– allows N-stage VCO to oscillate at speeds otherwise attainable only by
reducing # of stages
– easier to implement with differential signals
– extra care must be taken to ensure that RO will safely oscillate
+
-
+
-
+
-
S
F
+
-
+
-
+
-
S
F
+
-
+
-
+
-
S
F
+
-
+
-
+
-
S
F
S= slow path F = fast path
Copyright, Dennis Fischette,
2007
64
Voltage
Voltage-
-Controlled Oscillator
Controlled Oscillator
• Barkhausen criteria for sustained oscillation
– loop gain must exceed 1, loop phase must equal 360°
– more delay stages Æ easier to initiate oscillation
– gain(DC) > 2 for 3 stages, gain > sqrt(2) for 4 stages
• Quadrature clocks (0°, 90°, 180°, 270°)
– requires 4 delay stages or
– divide “differential” VCO outputs by 2, then delay one set of
divided outputs by ½ Tvco to generate quadratures. Allows any
# of delay stages
div_0
D
CK
Q
DFF
QB
div_180
D
CK
Q
DFF
QB
vco
vco_x
div_90
div_270
Copyright, Dennis Fischette,
2007
65
PLL Suppression of VCO Noise
PLL Suppression of VCO Noise
• PLL acts like a high-pass filter in allowing VCO noise to reach
output
• Need noise-immune VCO to minimize jitter
– Feedback loop cannot react quickly.
– Tradeoff between tuning range & noise sensitivity
• Power-supply noise is usually largest source of VCO noise
• VCO power-supply sensitivity should be at least 10-20× less
than inverter
Copyright, Dennis Fischette,
2007
66
PLL Suppression of VCO Noise
PLL Suppression of VCO Noise
• High power, fast edges, large swing Æ low random jitter
– Jrms ~sqrt(kT/2NC) / (fvco*Vswing)
• where N=#of stages, C=cap/stage
• Match rise/fall times, inter-stage delays to minimize phase
noise (lowers ISF)
• RMS random jitter (kT) < 0.2% VCO period (typical)
Copyright, Dennis Fischette,
2007
67
VCO w/current
VCO w/current-
-starved
starved
inverters(CSI)
inverters(CSI)
• Usually odd # of stages (usually 5+)
• Feedback INV Æ usually weaker by ~4×
• Tune frequency by adjusting “VDD” of inverters – changes delay
• “Vdd” for inverters is regulated output of VCO V2I
weak
weak
weak
Copyright, Dennis Fischette,
2007
68
V2I for CSI
V2I for CSI (V. von Kaenel (JSCC
(V. von Kaenel (JSCC ’
’96)
96)
• Bias circuit for current-starved inverter-based ring oscillator
• Feedback Æ amp provides good low-freq power-supply rejection
• Caps to Vdd and Vss provide good high-freq rejection but add
parasitic poles Æ e.g., ωp = 1/(Rro*Cn)
• Start-up necessary. Stability a concern
Ivco
Vctl
_
+ m1 m2
Vfb
m3
Cp
Cn
Rfb
Rro
model of
CSI RO
model of V2I
Copyright, Dennis Fischette,
2007
69
Diff
Diff-
-Amp VCO w/Replica
Amp VCO w/Replica-
-Bias V2I
Bias V2I
• Vswing = Vctl (Maneatis ’96)
• Amp provides DC power-supply rejection
• Stable, but getting high BW and good PSRR tricky
• Start-up necessary
+
-
Vfb
Vbn
m1 m2
m5
m3 m4
m6 m7
Vctl
Vctl
Dummy delay cell
+
-
+
-
3-stage RO
Vctl
Vbn
+
-
+
- +
-
+
-
Cn
Copyright, Dennis Fischette,
2007
70
VCO: Level
VCO: Level-
-Shifter
Shifter
• Differential-pair without tail current
• Need sufficient gain at low VCO frequency – use low-Vt NMOS
• Use NMOS input pair if VCO swing referenced to VSS for better
power-supply rejection
• For best duty-cycle, use two instances of level-shifter (swap
inputs), and couple complementary outputs with weak inverters
• Typical duty cycle: 50 ± 3% with random mismatch
in
z
m1a m2a
ip
m3a m4a
ip
zn
m1b
m2b
in
m3b
m4b
weak INV
weak INV
Copyright, Dennis Fischette,
2007
71
Feedback Divider
Feedback Divider
Copyright, Dennis Fischette,
2007
72
Feedback Divider (FBDIV)
Feedback Divider (FBDIV)
• Typical Implementation: synchronous digital counter
• Max FBDIV frequency should be greater than max VCO
frequency to avoid “run-away”
– beware of Synthesized, Placed & Routed designs
• Counter output may glitch Æ re-sample with VCO output to
clean up glitch, reduce latency and phase noise
• Loop Phase Margin Degradation ~ ωc*Tfbdly
– usually insignificant (a few degrees)
• Divider may be internal to PLL or after clock tree to cancel
clock tree skew
• May provide additional output signals used to
deterministically synchronize tester controls to VCO clock
and/or walk signals between various on-chip clock domains
Copyright, Dennis Fischette,
2007
73
Auxiliary Circuits
Auxiliary Circuits
Copyright, Dennis Fischette,
2007
74
Voltage Regulator
Voltage Regulator
• Provides stable, PVT-insensitive, clean power-supply for PLL
– lower jitter, phase noise
– more stable loop dynamics, VCO range, etc.
– aim for > 30dB PSRR, definitely > 20dB
• Uses bandgap reference to set voltage and bias current
levels
• Two voltage regulators sometime used
– High VDD for charge-pump (analog) and lower VDD for VCO
– “Quiet” for analog (CP, VCO bias) and “Dirty” for digital (PFD,
FBDIV)
Copyright, Dennis Fischette,
2007
75
Voltage Regulator
Voltage Regulator
• Requires higher power-supply (e.g., 1.8V Æ 1.2V)
• Wastes current
– higher VDDA and bandgap/regulator over-head (0.5-3mA).
– aim for current overhead < 20%. <5% is achievable in some
apps
• Regulator area (inc. bandgap) is small compared to
decoupling cap area
– Area (MOSFETs, Rpoly, diodes) ~ 70 x 70 µm2 (65nm)
– Area (DECAPs) ~ 125µm x 125um for 100pF (65nm)
– Typical cap ~ 30-200pF
• Vt-mismatch in bandgap amplifier input pair dominates
overall regulator mismatch
– 3mV offset at amp Æ~20mV variation at output
– Goal < 25mV 1-σ variation from device mismatch
– Goal < ±5mV PVT variation (due mostly to diodes)
Copyright, Dennis Fischette,
2007
76
Digital PLL
Digital PLL’
’s
s
Copyright, Dennis Fischette,
2007
77
Why a Digital PLL?
Why a Digital PLL?
• Replaces process and noise-sensitive analog circuits with
digital equivalents – advances on work with digital DLL’s
• Increases PLL design portability and testability
• Takes advantage of area scaling with nm devices
• Greater flexibility in loop bandwidth – don’t need huge
capacitors for low BW
• Increases ability to test and observe. e.g. open-loop, disturb
loop
• Fast behavioral simulation
• “Good-enough” for frequency synthesis applications
• ISSCC presentations: TI(‘04) and IBM (‘07)
Copyright, Dennis Fischette,
2007
78
Why NOT a Digital PLL?
Why NOT a Digital PLL?
• Usually not “good enough” for phase-tracking applications
• VCO frequency has finite frequency resolution (e.g. 10-14
bits). May use coarse DAC if high-frequency dithering
available
• VCO has limited range – requires range control and/or
calibration
• VCO may have poor noise rejection if purely digital
frequency control and no voltage regulator (usually analog)
Copyright, Dennis Fischette,
2007
79
Why NOT a Digital PLL?
Why NOT a Digital PLL?
• Need high-frequency over-sampling clock for sigma-delta
loop filter – VCO? Refclk? Start-up problem?
• TimeError-to-Digital Converter is hard – poor resolution,
high power – usually < 5 bits – is Bang-bang an alternative?
FbDiv internal state contains phase error information
• Digital filter generates large noise spurs, possibly inducing
jitter, and dissipates more power than passive loop filter
• Generating proportional correction can be tricky
Copyright, Dennis Fischette,
2007
80
What is a Digital PLL?
What is a Digital PLL?
• Replace charge-pump (time error-to-charge) with
TimeError-to-Digital Converter
• Replace loop filter with discrete-time digital filter (usually 2nd
or 3rd order sigma-delta)
• Replace voltage-controlled VCO with digital-control (vary cap
load, interpolation, etc.)
• Are analog components “allowed”? Voltage regulator?
Analog current-steering DAC for VCO?
• Sampled-system modeled in the Z-domain
Copyright, Dennis Fischette,
2007
81
Circuit Verification
Circuit Verification
Copyright, Dennis Fischette,
2007
82
PLL Floorplan
PLL Floorplan
RO
RO
LS
VRO CAP
VCO V2I + BiasCkt
VCO
Bias
Comp
Cap
PFD
Charge Pum p
VCO
Post-
Div
FbDiv
Bypass
Mux
+
Buffers
Control Logic
+
Test Logic
Bandgap
Ref
Voltage
Regulator
LPF C2 MetCap
LPF C1 MetCap
VDD
Decap
"Quiet" Regulated VDD
Decap
"Quiet" Regulated VDD
Decap
VDDreg
Copyright, Dennis Fischette,
2007
83
Noise Isolation
Noise Isolation
• Check extracted netlist for coupling of switching signals onto
sensitive analog signals (e.g. REFCLK Æ Vctl)
• Check that LPF metal caps are present and well-connected
to correct power supplies
• Check that VSS of LPF metal caps and VSS of VCO bias
circuits are well-connected and at same potential
• Check that correct shields for sensitive signals are in place
and well-tied to correct power supplies
Copyright, Dennis Fischette,
2007
84
Noise Isolation
Noise Isolation
• Account for parasitic capacitance to substrate in “NWELL”
decaps, diodes, and well/diffusion resistors
• Add guard rings as applicable
• Buffer control signals and programmable inputs locally
before use
– avoids problem where GND of control signal doesn’t
match local GND where signal is used
– filters coupling/glitches on long routes
Copyright, Dennis Fischette,
2007
85
Signal EM / ESD
Signal EM / ESD
• Inspect wires that conduct DC current and wires that drive
large switching output loads for EM violations (e.g. charge-
pump bias, output clocks)
• 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
Copyright, Dennis Fischette,
2007
86
Power
Power-
-Grid IR
Grid IR
• Aim for avg IR drops < 5mV over entire PLL, less within and
between related analog blocks
• Decoupling capacitors surround large, switching buffers to
reduce IR drops and are well-connected to grid
• Check for isolated power domain islands
• Plan power domains and level-shifter placement up-front
Copyright, Dennis Fischette,
2007
87
Switching Signals
Switching Signals
• Match differential signals – total capacitance and coupling
(e.g. up, up_x, dn, dn_x, clk, clk_x)
– try to match total capacitance < 1-2%
• Maintain fanout (incl. Wires) < ~6 on high-speed paths, <
~10 on DC paths (e.g. encode/decoders)
– reduces crow-bar current and noise glitches
• Setup/Hold checks in PFD, Feedback Divider, and Post-VCO
divider. Needs lots of margin for FBDIV to account for
overshoot, aging, etc.
– strive for FBDIV faster than VCO(max)
Copyright, Dennis Fischette,
2007
88
PLL Instantiation
PLL Instantiation –
– Visual Checks
Visual Checks
• Mismatch on differential signals
• Coupling into refclk, output clocks
• Possible glitches on control inputs
• Signal routes over sensitive areas of PLL (VCO, loop filter,
charge-pump)
• Large buffers on edge of PLL that may inject noise in
substrate (keep-out requirement?)
Copyright, Dennis Fischette,
2007
89
PLL Instantiation
PLL Instantiation –
– Visual Checks
Visual Checks
• Output wires wide enough to handle current load (EM)
• Rise/fall times on inputs/outputs – add max_cap limit into
timing file to flag heavy loads
• VDDA/test signal routes to bumps and/or ESD
• VDD/ VSS power supply connections
Copyright, Dennis Fischette,
2007
90
Functional Modes
Functional Modes
• Power-Down/Reset/Test Modes
– chicken-and-egg start-up problems – esp. level-shifters, boot-
strapped regulators
– Contention?
• measure current in every device in these modes
• SLOW clock mode
– drive slow clock at power-on to remove contentious states in
downstream logic
– disable any clock gaters
– mux in separate ring oscillator or force VCO/post-VCO div to
produce low frequency clock in open-loop mode
– avoid glitches when entering/leaving SLOW mode
• Frequency Hopping
– Ensure that FBDIV can’t fail during frequency transition if
RESET not applied
Copyright, Dennis Fischette,
2007
91
Power/Clocking Domains
Power/Clocking Domains
• Level-shifters are present when crossing power domains and
are connected to correct supplies
– apply writability analysis with mismatch
– check for overstress
– easy to miss
• Add synchonizers or “walk clocks” when crossing clock
domains – easy to miss
• Check metastability on flops, comparators – is there a
failure mechanism? Calculate MTBF.
• Insert bypass mode mux, preferably such that if the
regulator fails, bypass clock still propagates to output
Copyright, Dennis Fischette,
2007
92
RTL vs. Circuit
RTL vs. Circuit
• Add assertions to RTL model to flag illegal input states
• 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
• Model/verify all digital logic in RTL
• Specify expected input states at all analog blocks in various
operating modes
• Simulate PLL exhaustively in VerilogA, Nanosim, etc, if
possible
Copyright, Dennis Fischette,
2007
93
RTL vs. Circuit
RTL vs. Circuit
• Look for incorrect polarity on input control signals (e.g.,
reset, powerDown) and REFCLK
• Look for glitches on feedback clock and other dividers
• Exercise all divider/counter states
• Check for possible VCO run-away conditions during power-
on and frequency changes (e.g., no reset or feedback
divider is halted)
• Verify that unselected inputs of muxes in critical signal paths
are gated (e.g., VCO post-divider muxes)
Copyright, Dennis Fischette,
2007
94
Behavioral Simulations
Behavioral Simulations
• Behavioral simulation –before detailed circuit design define
requirements for each block – e.g. PLLUS, Simulink
• Develop/verify jitter budget – e.g. PCI-Express
• Estimate VCO frequency overshoot
• Loop bandwidth vs. reference noise suppression
• Simulate effects of loop filter leakage, charge-pump
mismatch, feedback delays, OSR, spread-spectrum tracking,
Vctl-sensitive loop parameters, PFD dead-zone, parasitic poles
Copyright, Dennis Fischette,
2007
95
Circuit Simulations
Circuit Simulations
• Start-up circuit safety margin - bandgap, VCO, regulators
• Stability of all internal feedback loops
– AC and transient impulse response
– e.g., bandgap, regulator, charge-pump bias, VCO bias
– Phase margin, gain margin, # of rings
• VCO - RO stage delays rise vs. fall, stage-to-stage – lower
ISF
• Level-shifters’ possible corruption of duty-cycle
• Switching-induced noise spikes on regulated power supplies
• Current dissipation in power
Copyright, Dennis Fischette,
2007
96
Circuit Simulations
Circuit Simulations
• PSRR of voltage regulators, ability of regulators to meet
fast-changing current load
• Step reference phase, observe PLL re-lock
– overshoot, relock time
• Simulate entire sequence from power-on to lock
– sanity check
Copyright, Dennis Fischette,
2007
97
Devices/Circuits
Devices/Circuits
• Estimate effects of Vt mismatch BEFORE starting layout
(monte carlo, dVt ~ 1/sqrt(W*L) )
– most sensitive: bandgap, charge-pump, other low I ckts
• Estimate loop parameter variations, static error, reference
spurs due to PVT and mismatch before starting layout
– Kv, Icp, R, C1 (also vs. Vctl) – esp. dual- charge-pump designs
– circuit techniques to minimize effects: self-bias,
Icp*Rlpf=const
– self-bias not as effective if not all devices the same Leff
• Diode current density (bandgap) – ideality factor may be
sensitive to current density – stay away from cliff
Copyright, Dennis Fischette,
2007
98
Device Reliability
Device Reliability
• Gate Overstress
– especially likely during power-down, reset, test
– hspice .biaschk is useful
• 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
Copyright, Dennis Fischette,
2007
99
Device Reliability
Device Reliability
• Verify that circuits with PMOS devices are not NBTI-sensitive
– Vgs of matched devices should be the same at all times,
even when not selected (e.g. current-steering DAC) –
don’t place switches closest supply rails
– switching circuits such as VCO and FBDIV should have
enough frequency headroom to allow for aging. High Vgs
is bad! 10-20% margin?
– effect worse at 45nm and 65nm and may not be well-
modeled
Copyright, Dennis Fischette,
2007
100
Lithography/Devices
Lithography/Devices
• Add dummy poly to reduce ACLV (across chip linewidth
variation), esp. in Lmin devices
• Maintain gate poly on fixed pitch in same orientation to
reduce ACLV (esp. in Lmin devices)
• Try to maintain constant poly density – e.g. no large caps
next to sensitive Lmin devices)
• Add dummy devices if stress/strain is applied and matching
is required (e.g., charge-pump)
Copyright, Dennis Fischette,
2007
101
Tips for Design for Test
Tips for Design for Test
• Measuring Jitter and Phase Error
• Measuring Loop Dynamics
• Analog Measurements
• Probing
Copyright, Dennis Fischette,
2007
102
Getting Clocks from PLL to Board
Getting Clocks from PLL to Board
• Differential I/O outputs highly desirable to reject common-
mode noise – use fastest I/O available
• Divide VCO to reduce board attenuation only if necessary
Æ make divider programmable
• Measuring duty-cycle
– Divide-by-odd-integer
– Mux to select either true or inverted VCO clock. Duty-
cycle error = (Duty+ - Duty-) / 2
Copyright, Dennis Fischette,
2007
103
Getting Clocks from PLL to Board
Getting Clocks from PLL to Board
• Ability to disable neighboring I/O when measuring jitter
• Observe REF, VCO, and FBCLK. Gate unused inputs to the
clock source mux
• Phase error measurement: trigger scope on REFCLK on
board. Capture internal REFCLK and FBCLK in infinite
persistence. Measure difference between internal REFCLK
and FBCLK on same pin.
Copyright, Dennis Fischette,
2007
104
Measuring Loop Dynamics
Measuring Loop Dynamics
• Modulate reference phase at various modulation frequencies
and measure VCO phase using TIE
– used to construct closed-loop transfer function
• On-chip state-machines
– range from simple to sophisticated
– disturb locked PLL in some way and observe re-lock
behavior
Copyright, Dennis Fischette,
2007
105
Analog Measurements
Analog Measurements
• Need ability to measure key internal analog
signals without injecting noise
– Loop filter control voltage
– Ring Oscillator regulated supply
– Bandgap reference
– Regulated power supplies
– Charge-pump bias voltages and currents
• Metrics
– Measurement BW ~ PLL Bandwidth or less
– Accuracy ~ 5mV?
– Programmable via JTAG
Copyright, Dennis Fischette,
2007
106
Analog Measurements
Analog Measurements
• Internal A/D
• Can be fairly slow
• Minimize mux switch leakage into A/D front-end
• Minimize coupling to sensitive signals
• May require external analog pin for calibration
• Compare analog voltage to internally-generated
voltage reference
• Use state-machine to minimize # of comparators to
save area
• Disable when not in use to save power
Copyright, Dennis Fischette,
2007
107
Analog Measurements
Analog Measurements
• Analog Observation Pins
• Pass-gate mux connects analog signals to outside world
• Force or sense voltage/current
• Low BW – high impedance analog signals and high parasitics
• Need ESD (HBM,CDM) to protect signals –watch for leakage
• Buffer control voltage before sending off-chip to prevent
leakage and extra load from upsetting feedback loop –
watch for gate leakage in unity-gain buffer
• Pull-down to VSS far-side of pass-gates when not in use to
minimize coupling of noisy pin to analog signals (at expense
of increased leakage). Disable pull-downs for ESD testing
• Can wire-OR analog observation pins from several PLL’s but
watch for increased pin leakage causing IR drops across
pass-gates (e.g., 3-6kΩ) or causing high-impedance analog
signals to droop
Copyright, Dennis Fischette,
2007
108
Probing On
Probing On-
-chip (last resort!)
chip (last resort!)
• If not flip-chip, then put probe pads on top-layer metal
• Probe pad size >1µm × 1µm. Prefer > 2µm × 2µm
• Place probe pad on a side-branch of analog net to avoid
breaking wire with probe
• Separate probe pads to allow room for multiple probes
• FIB: can add probe pad, add or remove wires
– need room and luck
Copyright, Dennis Fischette,
2007
109
Summary: Uncle D
Summary: Uncle D’
’s PLL Top 5 List
s PLL Top 5 List
1. Maintain damping factor ~ 1 for low period jitter apps
2. VDD-induced and intrinsic VCO noise – loop can’t do the
work for you
3. Leaky loop filter gate caps will cost you your job
4. Make FBDIV run faster than VCO
5. Observe VCO, FBCLK, REF, clkTree on differential I/O pins –
you can’t fix what you can’t see!
Copyright, Dennis Fischette,
2007
110
Special thanks to Alvin Loke for
Special thanks to Alvin Loke for
allowing to me
allowing to me “
“borrow
borrow”
” some of his
some of his
diagrams and ideas for this talk
diagrams and ideas for this talk…
…which
which
ones? The good ones
ones? The good ones
Copyright, Dennis Fischette,
2007
111
References
References
Copyright, Dennis Fischette,
2007
112
Paper References
Paper References
[1] B. Razavi, Monolithic Phase-Locked Loops and Clock-Recovery Circuits, IEEE Press,
1996. – collection of IEEE PLL papers.
[2] I. Young et al., “A PLL clock generator with 5 to 110 MHz of lock range for
microprocessors,” IEEE J. Solid-State Circuits, vol. 27, no. 11, pp. 1599-1607, Nov.
1992.
[3] J. Maneatis, “Low-Jitter Process-Independent DLL and PLL Based on Self-Biased
Techniques,” IEEE J. Solid-State Circuits, vol. 31, no. 11, pp. 1723-1732. Nov.
1996.
[4] J. Maneatis, “Self-Biased, High-Bandwidth, Low-Jitter 1-to-4096 Multiplier Clock
Generator PLL,” IEEE J. Solid-State Circuits, vol. 38, no.11, pp. 1795-1803. Nov.
2003.
[5] F. Gardner, “Charge-pump phase-lock loops,” IEEE Trans. Comm., vol COM-28, no.
11, pp 1849-1858, Nov. 1980.
[6] V. von Kaenel, “A 32- MHz, 1.5mW @ 1.35 V CMOS PLL for Microprocessor Clock
Generation,” IEEE J. Solid-State Circuits, vol. 31, no. 11, pp. 1715-1722. Nov.
1996.
[7] I. Young, “A 0.35um CMOS 3-880MHz PLL N/2 Clock Multiplier and Distribution
Network with Low Jitter for Microprocessors,” Proc. ISSCC 1997, pp. 330-331.
[8] J. Ingino et al., “A 4-GHz Clock System for a High-Performance System-on-a-Chip
Design,” IEEE J. Solid-State Circuits, vol. 36, no. 11, pp. 1693-1698. Nov. 2001.
[9] A. Maxim et al., “A Low-Jitter 125-1250 MHz Process-Independent CMOS PLL Based
on a Sample-Reset Loop Filter,” Proc. ISSCC 2001, pp. 394-395.
[10] N.Kurd et al., “A Replica-Biased 50% Duty Cycle PLL Architecture with 1X VCO,”
Proc. ISSCC 2003, pp.426-427.
[11] K. Wong, et al., ”Cascaded PLL Design for a 90nm CMOS High Performance
Microprocessor,” Proc. ISSCC 2003, pp.422-423.
Copyright, Dennis Fischette,
2007
113
Paper References
Paper References
[12] M. Mansuri, et al., “A Low-Power Adaptive-Bandwidth PLL and Clock Buffer With
Supply-Noise Compensation”, IEEE J. Solid-State Circuits, vol. 38, no.11, pp. 1804-
1812. Nov. 2003.
[13] A. Maxim, “A 160-2550 MHz CMOS Active Clock Deskewing PLL Using Analog Phase
Interpolation,” Proc. ISSCC 2004, pp. 346-347.
[14] J. Lin et al, “A PVT Tolerant 0.18MHz to 660MHz Self-Calibrated Digital PLL in 90nm
CMOS Process,” Proc. ISSCC 2004, pp. 488-489.
[15] J. McNeill, “Jitter in Ring Oscillators,” IEEE J. Solid-State Circuits, vol. 32, no.6, pp.
870-878, Jun. 1997.
[16] A. Abidi, “Phase Noise and Jitter in CMOS Ring Oscillators,” IEEE J. Solid-State
Circuits, vol. 41, no.8, pp. 1803-1816, Aug. 2006.
[17] L. Dai et al., “Design of Low-Phase-Noise CMOS Ring Oscillators,” IEEE Trans.
Circuits and Systems-II: Analog and Digital Signal Processing, vol. 49, no. 5, pp.
328-338, May 2002.
[18] U. Moon et al., “Spectral Analysis of Time-Domain Phase Jitter Measurements,” IEEE
Trans. Circuits and Systems-II: Analog and Digital Signal Processing, vol. 49, no. 5,
pp. 321-327, May 2002
[19] J. Kim et al., “Design of CMOS Adaptive-Bandwidth PLL/DLLs: A General Approach,”
IEEE Trans. Circuits and Systems-II: Analog and Digital Signal Processing, vol. 50,
no. 11, pp. 860-869, Nov 2003.
[20] T. Toifl et al., “A 0.94-ps-RMS-Jitter 0.016-mm2 2.5-GHz Multiphase Generator PLL
with 360 Degree Digitally Programmable Phase Shift for 100Gb/s Serial Links,” IEEE
J. Solid-State Circuits, vol. 40, no.12, pp. 2700-2711, Dec. 2005.
[21] S. Wedge, “Predicting Random Jitter,” IEEE Circuits & Devices Magazine, pp. 31-38,
Nov/Dec 2006.
[22] A. Rylyakov et al., “A Wide Power-Supply Range (0.5V-to1.3V) Wide Tuning Range
(500MHz-to-8GHz) All Static CMOS AD PLL in 65nm CMOS SOI,” Proc. ISSCC 2007,
pp. 172-173.
Copyright, Dennis Fischette,
2007
114
Paper References
Paper References
[24] R. Staszewski et al, “All-Digital PLL and Transmitter for Mobile Phones,” IEEE J.
Solid-State Circuits, vol. 40, no.12, pp. 2469-2482. Dec. 2005.
[25] R. Staszewski et al, “All-Digital PLL with Ultra Fast Settling,” IEEE Trans. On Circuits
and Systems II: Express Briefs, vol. 54, no.2, pp. 181-185. Feb. 2007.
[26] V. Kratyuk et al, “A Design Procedure for All-Digital Phase-Locked Loops Based on a
Charge-Pump Phase-Locked-Loop Analogy,” IEEE Trans. On Circuits and Systems II:
Express Briefs, vol. 54, no.3, pp. 247-251. Mar. 2007.
[27] J. Hein et al, “z-Domain Model for Discrete-Time PLL’s,” IEEE Trans. On Circuits and
Systems, vol. 35, no.11, pp. 1393-1400. Nov. 1988.
Copyright, Dennis Fischette,
2007
115
Monograph References
Monograph References
[1] B. Razavi, Design of Analog CMOS Integrated Circuits, McGraw-Hill, 2001.
[2] R. Best, Phase-Locked Loops,McGraw-Hill, 1993.
[3] R. Dorf, Modern Control Theory, 4th Edition, Addison-Wesley, 1986.
[4] P.Gray and R. Meyer, Analysis and Design of Analog Integrated Circuits, 3rd Edition, J.
Wiley & Sons, 1993.
[5] K. Bernstein and N. Rohner, SOI Circuit Design Concepts, Kluwer Academic Publishers,
2000.
[6] A. Hajimiri and T. Lee, The Design of Low Noise Oscillators, Kluwer Academic
Publishers, 1999.
[7] T. Lee, The Design of CMOS Radio-Frequency Integrated Circuits, Cambridge
University Press, 1998.
[8] F. Gardner, Phaselock Techniques, 2nd Edition, New York, Wiley & Sons, 1979.
Copyright, Dennis Fischette,
2007
116
PLL Failures
PLL Failures
Copyright, Dennis Fischette,
2007
117
PLL Failures
PLL Failures
• Observation is that VCO frequency is pinned at max value.
Can’t observe Vctl or feedback clock. VCO fails to oscillate at
low frequency because of insufficient gain in 3-stage VCO.
When VCO finally starts, FBDIV can’t keep up, causing “run-
away” Solution: increase gain of delay stage and FBDIV
speed.
• VCO “run-away” when re-locking to higher frequency due to
VCO overshoot and slow FBDIV.
• VCO loses lock occasionally at low frequencies. Due to
insufficient VCO level-shifter gain. Dropped VCO edges.
Required real-time scope for debug
• High jitter at low VCO frequencies due to Vctl approaching
Vt of V2I current source. Solution: operate VCO at 2X.
Copyright, Dennis Fischette,
2007
118
PLL Failures
PLL Failures
• Occasional high deterministic jitter caused by coupling into
PLL’s VDDA bondwire.
• Extremely high period jitter – caused by incorrect wiring of
8-bit charge-pump setting. Bandwidth much too high.
Verilog model did not check for legal input settings.
• PLL won’t start-up at low temp due to weak start-up circuit
in voltage regulator and lack of simulation at corners with
slow VDDA ramp-rate.
• PLL period modulated strongly by 400MHz signal, resulting
from oscillating internal feedback loop in VCO bias ckts.
Ultimate cause, fab misprocessing of compensation cap and
insufficient margin in ckt.
Copyright, Dennis Fischette,
2007
119
PLL Failures
PLL Failures
• Metastability condition corrupted digital loop filter due to
slow devices, low Vdd, and insufficient design margin.
• Digital VCO out-of-range due to resistor mis-processing.
Solution: fusable chicken-bits to adjust frequency range.
• Race condition in digital loop filter caused by missing
synchonizers in clock domain crossing.
Copyright, Dennis Fischette,
2007
120
PLL Failures
PLL Failures
• CDM ESD failures of analog measurement pins – no visual
inspection and no extraction/simulation of connection to
VSS.
• Duty-cycle corruption (> 57%) – caused by unbalanced
fanouts in delay stages after VCO – exacerbated by single-
ended clocking.
• Contention in analog observation signals due to ESD diodes
wired backward and control logic bugs.
• Inconsistent duty cycle. Failure to initialize state in post-VCO
divider exposed VCO duty-cycle error.

More Related Content

Similar to 2007_05_Fischette.pdf

Class2 13 14_g_hz_differential_signaling
Class2 13 14_g_hz_differential_signalingClass2 13 14_g_hz_differential_signaling
Class2 13 14_g_hz_differential_signalingdouglaslyon
 
Op amp applications filters cw final
Op amp applications filters cw finalOp amp applications filters cw final
Op amp applications filters cw finalJUNAID SK
 
Mba top schoil in india
Mba top schoil in indiaMba top schoil in india
Mba top schoil in indiaEdhole.com
 
Communicationlabmanual
CommunicationlabmanualCommunicationlabmanual
Communicationlabmanualjkanth26
 
Communicationlabmanual
CommunicationlabmanualCommunicationlabmanual
Communicationlabmanualjkanth26
 
Tone-based Measurement of Excess Group Delay in Programmable Gain Receiver Ch...
Tone-based Measurement of Excess Group Delay in Programmable Gain Receiver Ch...Tone-based Measurement of Excess Group Delay in Programmable Gain Receiver Ch...
Tone-based Measurement of Excess Group Delay in Programmable Gain Receiver Ch...Ealwan Lee
 
Op amp applications filters cw final (2)
Op amp applications filters cw final (2)Op amp applications filters cw final (2)
Op amp applications filters cw final (2)JUNAID SK
 
Op amp applications filters cw
Op amp applications filters cwOp amp applications filters cw
Op amp applications filters cwJUNAID SK
 
RF Module Design - [Chapter 4] Transceiver Architecture
RF Module Design - [Chapter 4] Transceiver ArchitectureRF Module Design - [Chapter 4] Transceiver Architecture
RF Module Design - [Chapter 4] Transceiver ArchitectureSimen Li
 
Ncc2004 ofdm tutorial part ii-apal
Ncc2004 ofdm tutorial   part ii-apalNcc2004 ofdm tutorial   part ii-apal
Ncc2004 ofdm tutorial part ii-apalArpan Pal
 
Active filters & Low Pass Filters (LMS).ppt
Active filters & Low Pass Filters (LMS).pptActive filters & Low Pass Filters (LMS).ppt
Active filters & Low Pass Filters (LMS).pptAdnanZafar83
 
unit-5 2nd part active filters by ACEIT.ppt
unit-5 2nd part active filters by ACEIT.pptunit-5 2nd part active filters by ACEIT.ppt
unit-5 2nd part active filters by ACEIT.pptamitthory13012003
 
All Digital Phase Lock Loop 03 12 09
All Digital Phase Lock Loop 03 12 09All Digital Phase Lock Loop 03 12 09
All Digital Phase Lock Loop 03 12 09imranbashir
 
rffundamentalsseminarrecordingsection1v21588598809158.pdf
rffundamentalsseminarrecordingsection1v21588598809158.pdfrffundamentalsseminarrecordingsection1v21588598809158.pdf
rffundamentalsseminarrecordingsection1v21588598809158.pdfsantanusen30
 

Similar to 2007_05_Fischette.pdf (20)

Class2 13 14_g_hz_differential_signaling
Class2 13 14_g_hz_differential_signalingClass2 13 14_g_hz_differential_signaling
Class2 13 14_g_hz_differential_signaling
 
Op amp applications filters cw final
Op amp applications filters cw finalOp amp applications filters cw final
Op amp applications filters cw final
 
محاضرة 6.pdf
محاضرة 6.pdfمحاضرة 6.pdf
محاضرة 6.pdf
 
Mba top schoil in india
Mba top schoil in indiaMba top schoil in india
Mba top schoil in india
 
Communicationlabmanual
CommunicationlabmanualCommunicationlabmanual
Communicationlabmanual
 
Communicationlabmanual
CommunicationlabmanualCommunicationlabmanual
Communicationlabmanual
 
Tone-based Measurement of Excess Group Delay in Programmable Gain Receiver Ch...
Tone-based Measurement of Excess Group Delay in Programmable Gain Receiver Ch...Tone-based Measurement of Excess Group Delay in Programmable Gain Receiver Ch...
Tone-based Measurement of Excess Group Delay in Programmable Gain Receiver Ch...
 
Exp passive filter (9)
Exp passive filter (9)Exp passive filter (9)
Exp passive filter (9)
 
Op amp applications filters cw final (2)
Op amp applications filters cw final (2)Op amp applications filters cw final (2)
Op amp applications filters cw final (2)
 
Measuring Jitter Using Phase Noise Techniques
Measuring Jitter Using Phase Noise TechniquesMeasuring Jitter Using Phase Noise Techniques
Measuring Jitter Using Phase Noise Techniques
 
Active filters
Active filtersActive filters
Active filters
 
Op amp applications filters cw
Op amp applications filters cwOp amp applications filters cw
Op amp applications filters cw
 
RF Module Design - [Chapter 4] Transceiver Architecture
RF Module Design - [Chapter 4] Transceiver ArchitectureRF Module Design - [Chapter 4] Transceiver Architecture
RF Module Design - [Chapter 4] Transceiver Architecture
 
Exp passive filter (6)
Exp passive filter (6)Exp passive filter (6)
Exp passive filter (6)
 
Ncc2004 ofdm tutorial part ii-apal
Ncc2004 ofdm tutorial   part ii-apalNcc2004 ofdm tutorial   part ii-apal
Ncc2004 ofdm tutorial part ii-apal
 
Active filters & Low Pass Filters (LMS).ppt
Active filters & Low Pass Filters (LMS).pptActive filters & Low Pass Filters (LMS).ppt
Active filters & Low Pass Filters (LMS).ppt
 
Pula
PulaPula
Pula
 
unit-5 2nd part active filters by ACEIT.ppt
unit-5 2nd part active filters by ACEIT.pptunit-5 2nd part active filters by ACEIT.ppt
unit-5 2nd part active filters by ACEIT.ppt
 
All Digital Phase Lock Loop 03 12 09
All Digital Phase Lock Loop 03 12 09All Digital Phase Lock Loop 03 12 09
All Digital Phase Lock Loop 03 12 09
 
rffundamentalsseminarrecordingsection1v21588598809158.pdf
rffundamentalsseminarrecordingsection1v21588598809158.pdfrffundamentalsseminarrecordingsection1v21588598809158.pdf
rffundamentalsseminarrecordingsection1v21588598809158.pdf
 

Recently uploaded

Develop Keyboard Skill.pptx er power point
Develop Keyboard Skill.pptx er power pointDevelop Keyboard Skill.pptx er power point
Develop Keyboard Skill.pptx er power pointGetawu
 
(MEGHA) Hinjewadi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune E...
(MEGHA) Hinjewadi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune E...(MEGHA) Hinjewadi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune E...
(MEGHA) Hinjewadi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune E...ranjana rawat
 
NO1 Verified Amil Baba In Karachi Kala Jadu In Karachi Amil baba In Karachi A...
NO1 Verified Amil Baba In Karachi Kala Jadu In Karachi Amil baba In Karachi A...NO1 Verified Amil Baba In Karachi Kala Jadu In Karachi Amil baba In Karachi A...
NO1 Verified Amil Baba In Karachi Kala Jadu In Karachi Amil baba In Karachi A...Amil baba
 
Call Girls Kothrud Call Me 7737669865 Budget Friendly No Advance Booking
Call Girls Kothrud Call Me 7737669865 Budget Friendly No Advance BookingCall Girls Kothrud Call Me 7737669865 Budget Friendly No Advance Booking
Call Girls Kothrud Call Me 7737669865 Budget Friendly No Advance Bookingroncy bisnoi
 
Call Girls in Nagpur Sakshi Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Sakshi Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur Sakshi Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Sakshi Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur High Profile
 
Low Rate Call Girls Nashik Vedika 7001305949 Independent Escort Service Nashik
Low Rate Call Girls Nashik Vedika 7001305949 Independent Escort Service NashikLow Rate Call Girls Nashik Vedika 7001305949 Independent Escort Service Nashik
Low Rate Call Girls Nashik Vedika 7001305949 Independent Escort Service NashikCall Girls in Nagpur High Profile
 
Call Girls In Andheri East Call 9892124323 Book Hot And Sexy Girls,
Call Girls In Andheri East Call 9892124323 Book Hot And Sexy Girls,Call Girls In Andheri East Call 9892124323 Book Hot And Sexy Girls,
Call Girls In Andheri East Call 9892124323 Book Hot And Sexy Girls,Pooja Nehwal
 
Call Girls in Vashi Escorts Services - 7738631006
Call Girls in Vashi Escorts Services - 7738631006Call Girls in Vashi Escorts Services - 7738631006
Call Girls in Vashi Escorts Services - 7738631006Pooja Nehwal
 
(ZARA) Call Girls Jejuri ( 7001035870 ) HI-Fi Pune Escorts Service
(ZARA) Call Girls Jejuri ( 7001035870 ) HI-Fi Pune Escorts Service(ZARA) Call Girls Jejuri ( 7001035870 ) HI-Fi Pune Escorts Service
(ZARA) Call Girls Jejuri ( 7001035870 ) HI-Fi Pune Escorts Serviceranjana rawat
 
Makarba ( Call Girls ) Ahmedabad ✔ 6297143586 ✔ Hot Model With Sexy Bhabi Rea...
Makarba ( Call Girls ) Ahmedabad ✔ 6297143586 ✔ Hot Model With Sexy Bhabi Rea...Makarba ( Call Girls ) Ahmedabad ✔ 6297143586 ✔ Hot Model With Sexy Bhabi Rea...
Makarba ( Call Girls ) Ahmedabad ✔ 6297143586 ✔ Hot Model With Sexy Bhabi Rea...Naicy mandal
 
(ANIKA) Wanwadi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
(ANIKA) Wanwadi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...(ANIKA) Wanwadi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
(ANIKA) Wanwadi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...ranjana rawat
 
(👉Ridhima)👉VIP Model Call Girls Mulund ( Mumbai) Call ON 9967824496 Starting ...
(👉Ridhima)👉VIP Model Call Girls Mulund ( Mumbai) Call ON 9967824496 Starting ...(👉Ridhima)👉VIP Model Call Girls Mulund ( Mumbai) Call ON 9967824496 Starting ...
(👉Ridhima)👉VIP Model Call Girls Mulund ( Mumbai) Call ON 9967824496 Starting ...motiram463
 
Call Girls Dubai Slut Wife O525547819 Call Girls Dubai Gaped
Call Girls Dubai Slut Wife O525547819 Call Girls Dubai GapedCall Girls Dubai Slut Wife O525547819 Call Girls Dubai Gaped
Call Girls Dubai Slut Wife O525547819 Call Girls Dubai Gapedkojalkojal131
 
presentation about microsoft power point
presentation about microsoft power pointpresentation about microsoft power point
presentation about microsoft power pointchhavia330
 
Dubai Call Girls O528786472 Call Girls In Dubai Wisteria
Dubai Call Girls O528786472 Call Girls In Dubai WisteriaDubai Call Girls O528786472 Call Girls In Dubai Wisteria
Dubai Call Girls O528786472 Call Girls In Dubai WisteriaUnited Arab Emirates
 
Top Rated Pune Call Girls Ravet ⟟ 6297143586 ⟟ Call Me For Genuine Sex Servi...
Top Rated  Pune Call Girls Ravet ⟟ 6297143586 ⟟ Call Me For Genuine Sex Servi...Top Rated  Pune Call Girls Ravet ⟟ 6297143586 ⟟ Call Me For Genuine Sex Servi...
Top Rated Pune Call Girls Ravet ⟟ 6297143586 ⟟ Call Me For Genuine Sex Servi...Call Girls in Nagpur High Profile
 
Top Rated Pune Call Girls Katraj ⟟ 6297143586 ⟟ Call Me For Genuine Sex Serv...
Top Rated  Pune Call Girls Katraj ⟟ 6297143586 ⟟ Call Me For Genuine Sex Serv...Top Rated  Pune Call Girls Katraj ⟟ 6297143586 ⟟ Call Me For Genuine Sex Serv...
Top Rated Pune Call Girls Katraj ⟟ 6297143586 ⟟ Call Me For Genuine Sex Serv...Call Girls in Nagpur High Profile
 
(PARI) Alandi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
(PARI) Alandi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts(PARI) Alandi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
(PARI) Alandi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escortsranjana rawat
 

Recently uploaded (20)

Develop Keyboard Skill.pptx er power point
Develop Keyboard Skill.pptx er power pointDevelop Keyboard Skill.pptx er power point
Develop Keyboard Skill.pptx er power point
 
(MEGHA) Hinjewadi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune E...
(MEGHA) Hinjewadi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune E...(MEGHA) Hinjewadi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune E...
(MEGHA) Hinjewadi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune E...
 
NO1 Verified Amil Baba In Karachi Kala Jadu In Karachi Amil baba In Karachi A...
NO1 Verified Amil Baba In Karachi Kala Jadu In Karachi Amil baba In Karachi A...NO1 Verified Amil Baba In Karachi Kala Jadu In Karachi Amil baba In Karachi A...
NO1 Verified Amil Baba In Karachi Kala Jadu In Karachi Amil baba In Karachi A...
 
Call Girls Kothrud Call Me 7737669865 Budget Friendly No Advance Booking
Call Girls Kothrud Call Me 7737669865 Budget Friendly No Advance BookingCall Girls Kothrud Call Me 7737669865 Budget Friendly No Advance Booking
Call Girls Kothrud Call Me 7737669865 Budget Friendly No Advance Booking
 
Call Girls in Nagpur Sakshi Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Sakshi Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur Sakshi Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Sakshi Call 7001035870 Meet With Nagpur Escorts
 
Low Rate Call Girls Nashik Vedika 7001305949 Independent Escort Service Nashik
Low Rate Call Girls Nashik Vedika 7001305949 Independent Escort Service NashikLow Rate Call Girls Nashik Vedika 7001305949 Independent Escort Service Nashik
Low Rate Call Girls Nashik Vedika 7001305949 Independent Escort Service Nashik
 
Call Girls In Vaishali 📱 9999965857 🤩 Delhi 🫦 HOT AND SEXY VVIP 🍎 SERVICE
Call Girls In Vaishali 📱  9999965857  🤩 Delhi 🫦 HOT AND SEXY VVIP 🍎 SERVICECall Girls In Vaishali 📱  9999965857  🤩 Delhi 🫦 HOT AND SEXY VVIP 🍎 SERVICE
Call Girls In Vaishali 📱 9999965857 🤩 Delhi 🫦 HOT AND SEXY VVIP 🍎 SERVICE
 
Call Girls In Andheri East Call 9892124323 Book Hot And Sexy Girls,
Call Girls In Andheri East Call 9892124323 Book Hot And Sexy Girls,Call Girls In Andheri East Call 9892124323 Book Hot And Sexy Girls,
Call Girls In Andheri East Call 9892124323 Book Hot And Sexy Girls,
 
Call Girls in Vashi Escorts Services - 7738631006
Call Girls in Vashi Escorts Services - 7738631006Call Girls in Vashi Escorts Services - 7738631006
Call Girls in Vashi Escorts Services - 7738631006
 
(ZARA) Call Girls Jejuri ( 7001035870 ) HI-Fi Pune Escorts Service
(ZARA) Call Girls Jejuri ( 7001035870 ) HI-Fi Pune Escorts Service(ZARA) Call Girls Jejuri ( 7001035870 ) HI-Fi Pune Escorts Service
(ZARA) Call Girls Jejuri ( 7001035870 ) HI-Fi Pune Escorts Service
 
Makarba ( Call Girls ) Ahmedabad ✔ 6297143586 ✔ Hot Model With Sexy Bhabi Rea...
Makarba ( Call Girls ) Ahmedabad ✔ 6297143586 ✔ Hot Model With Sexy Bhabi Rea...Makarba ( Call Girls ) Ahmedabad ✔ 6297143586 ✔ Hot Model With Sexy Bhabi Rea...
Makarba ( Call Girls ) Ahmedabad ✔ 6297143586 ✔ Hot Model With Sexy Bhabi Rea...
 
(ANIKA) Wanwadi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
(ANIKA) Wanwadi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...(ANIKA) Wanwadi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
(ANIKA) Wanwadi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
 
(👉Ridhima)👉VIP Model Call Girls Mulund ( Mumbai) Call ON 9967824496 Starting ...
(👉Ridhima)👉VIP Model Call Girls Mulund ( Mumbai) Call ON 9967824496 Starting ...(👉Ridhima)👉VIP Model Call Girls Mulund ( Mumbai) Call ON 9967824496 Starting ...
(👉Ridhima)👉VIP Model Call Girls Mulund ( Mumbai) Call ON 9967824496 Starting ...
 
Call Girls Dubai Slut Wife O525547819 Call Girls Dubai Gaped
Call Girls Dubai Slut Wife O525547819 Call Girls Dubai GapedCall Girls Dubai Slut Wife O525547819 Call Girls Dubai Gaped
Call Girls Dubai Slut Wife O525547819 Call Girls Dubai Gaped
 
presentation about microsoft power point
presentation about microsoft power pointpresentation about microsoft power point
presentation about microsoft power point
 
Dubai Call Girls O528786472 Call Girls In Dubai Wisteria
Dubai Call Girls O528786472 Call Girls In Dubai WisteriaDubai Call Girls O528786472 Call Girls In Dubai Wisteria
Dubai Call Girls O528786472 Call Girls In Dubai Wisteria
 
Top Rated Pune Call Girls Ravet ⟟ 6297143586 ⟟ Call Me For Genuine Sex Servi...
Top Rated  Pune Call Girls Ravet ⟟ 6297143586 ⟟ Call Me For Genuine Sex Servi...Top Rated  Pune Call Girls Ravet ⟟ 6297143586 ⟟ Call Me For Genuine Sex Servi...
Top Rated Pune Call Girls Ravet ⟟ 6297143586 ⟟ Call Me For Genuine Sex Servi...
 
Top Rated Pune Call Girls Katraj ⟟ 6297143586 ⟟ Call Me For Genuine Sex Serv...
Top Rated  Pune Call Girls Katraj ⟟ 6297143586 ⟟ Call Me For Genuine Sex Serv...Top Rated  Pune Call Girls Katraj ⟟ 6297143586 ⟟ Call Me For Genuine Sex Serv...
Top Rated Pune Call Girls Katraj ⟟ 6297143586 ⟟ Call Me For Genuine Sex Serv...
 
(PARI) Alandi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
(PARI) Alandi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts(PARI) Alandi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
(PARI) Alandi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
 
young call girls in Sainik Farm 🔝 9953056974 🔝 Delhi escort Service
young call girls in Sainik Farm 🔝 9953056974 🔝 Delhi escort Serviceyoung call girls in Sainik Farm 🔝 9953056974 🔝 Delhi escort Service
young call girls in Sainik Farm 🔝 9953056974 🔝 Delhi escort Service
 

2007_05_Fischette.pdf

  • 1. Copyright, Dennis Fischette, 2007 1 First Time, Every Time First Time, Every Time – – Practical Tips for Phase Practical Tips for Phase- - Locked Loop Design Locked Loop Design Dennis Fischette Email: pll@delroy.com Website: http://www.delroy.com
  • 2. Copyright, Dennis Fischette, 2007 2 Outline Outline • Introduction • Basic Feedback Loop Theory • Jitter and Phase Noise • Common Circuit Implementations • Circuit Verification • Design for Test
  • 4. Copyright, Dennis Fischette, 2007 4 How Are How Are PLL PLL’ ’s s Used? Used? • Frequency Synthesis (e.g. generating a 1 GHz clock from a 100 MHz reference in a CPU) • Skew Cancellation (e.g. phase-aligning an internal clock to the I/O clock) (May use a DLL instead) • Extracting a clock from a random data stream (e.g. serial- link receiver) • Reference Clean-Up (e.g. low-pass filter source-synchronous clock in high-speed I/O) • Frequency Synthesis is the focus of this course. • Design Priority? Frequency and/or phase accuracy?
  • 5. Copyright, Dennis Fischette, 2007 5 What is a PLL? What is a PLL? • Negative feedback control system where fout tracks fin and rising edges of input clock align to rising edges of output clock • Mathematical model of frequency synthesizer ( ) ( ) t f t V in in π 2 sin ∝ ( ) ( ) t Nf t V in out π 2 sin ∝ φ φout out φ φin in ( ) ( ) ( ) ( ) dt t d t f dt t f t φ π π φ 2 1 2 = ↔ = ∫ Phase Phase- - Locked Locked Loop Loop in out in out Nf f N = → = φ φ • • When phase When phase- -locked, locked, • • Phase = Phase = ∫ ∫ frequency frequency
  • 6. Copyright, Dennis Fischette, 2007 6 Charge Charge- -Pump PLL Block Diagram Pump PLL Block Diagram • Sampled-system (phase-error is input variable) • Phase error is corrected by changing frequency (φ(t) = ∫ f(t) dt) • Resistor provides means to separate correction of frequency error from correction of phase error ClkOut Phase- Freq Detector Charge Pump Feedback Div VCO RefClk Level- Shifter FbClk GoFaster GoSlower VCO Vctl C1 C2
  • 7. Copyright, Dennis Fischette, 2007 7 Components in a Nutshell Components in a Nutshell • Phase-Frequency Detector (PFD): outputs digital pulse whose width is proportional to sampled phase error • Charge Pump (CP): converts digital error pulse to analog error current • Loop Filter (LPF): integrates (and low-pass filters in continuous time) the error current to generate VCO control voltage • VCO: low-swing oscillator with frequency proportional to control voltage • Level Shifter (LS): amplifies VCO levels to full-swing • Feedback Divider (FBDIV): divides VCO clock to generate FBCLK clock for phase comparison w/reference
  • 8. Copyright, Dennis Fischette, 2007 8 PLL Feedback Loop Theory PLL Feedback Loop Theory
  • 9. Copyright, Dennis Fischette, 2007 9 What Does PLL Bandwidth Mean? What Does PLL Bandwidth Mean? • PLL acts as a low-pass filter with respect to the reference modulation. High-frequency reference jitter is rejected • Low-frequency reference modulation (e.g., spread-spectrum clocking) is passed to the VCO clock • PLL acts as a high-pass filter with respect to VCO jitter • “Bandwidth” is the modulation frequency at which the PLL begins to lose lock with the changing reference (-3dB) log( log(frequency frequency) ) BW BW Φ Φout out Φ Φref ref lower BW lower BW rejects rejects ref noise ref noise log( log(frequency frequency) ) BW BW Φ Φout out Φ Φvco vco higher BW higher BW rejects rejects VCO noise VCO noise
  • 10. Copyright, Dennis Fischette, 2007 10 Closed Closed- -Loop PLL Transfer Function Loop PLL Transfer Function • Transfer function describes how PLL responds to “excess” reference phase. i.e. RefClk phase modulation • Analyze PLL feedback in frequency-domain – Phase is state variable, not frequency – “s” is the reference modulation frequency, not reference oscillation frequency – Assumes continuous-time (not sampled) behavior • H(s) = φfb/φref = G(s)/(1+G(s)) Æclosed-loop gain • G(s) = (Kvco/s)IcpF(s)*e-sTd/M Æ open-loop gain – where φerr • Kvco = VCO gain in Hz/V • Icp = charge pump current in Amps • F(s) = loop filter transfer function in Volt/Amp • M = feedback divisor • Td = delay in feedback-loop (e.g. FBDIV, Tpfd/2)
  • 11. Copyright, Dennis Fischette, 2007 11 PLL Components in Frequency PLL Components in Frequency Domain Domain PFD Icp/2pi VCO Vctl C1 C2 1/N Kvco/s FBDIV Charge Pump sub s*( (c1+c2)+(s*rc1*c2) (1+s*rc1) Vctl(s) / Icp(s) = φvco φref φfb φerr
  • 12. Copyright, Dennis Fischette, 2007 12 Closed Closed- -loop PLL Transfer Function loop PLL Transfer Function • H(s) = ωn 2 (1+ s/ωz) / (s2+2sζωn + ωn 2) – where • ωn = undamped natural frequency (rad/s) • ωz = stabilizing zero = 1 /RC1 (rad/s) • ζ = damping factor – 2nd-order (two poles p1,p2 and one zero) – 2nd-order ignores C2 cap and feedback delays • If ζ< 1, complex poles lead to damped oscillation – Real Æ exponential decay(ζωn) , Imag Æ oscillation (ωn) • If ζ > 1, z and p1 cancel: BW(-3dB) ~ 2sζωn
  • 13. Copyright, Dennis Fischette, 2007 13 What is a What is a “ “Zero Zero” ”? ? • The “Zero” of the closed-loop transfer function is the frequency in radians/s where the gain of the integral and proportional paths are equal. • Classic loop: ωz = 1 /RC1 (rad/s) • Concept can be applied to loop filters that do not contain a resistor.
  • 14. Copyright, Dennis Fischette, 2007 14 Open Open- -Loop Transfer Function Loop Transfer Function • log(Gain) vs. log(Modulation Frequency) • 2 poles @ origin, 1 zero @ wz, 1 pole @wp log(wmod) Open-Loop Gain (dB) -40dB/dec -20dB/dec -40dB/dec wz wc wp wn wz = 1/RC1 wp = 1/RC2 wc = crossover frequency wn = natural frequency
  • 15. Copyright, Dennis Fischette, 2007 15 Bandwidth Bandwidth • Undamped Natural Frequency: – ωn = sqrt(Kvco*Icp/( M*C1)) in rad/sec – where • Kvco = VCO gain in Hz/V • Icp = charge pump current in Amps • M = feedback divisor • C1 = large LPF capacitor • For stability: ωn/2π < ~1/15 reference frequency • Typical value: 500 kHz < ωn/2π < 10MHz
  • 16. Copyright, Dennis Fischette, 2007 16 Stability, Damping, and Phase Margin Stability, Damping, and Phase Margin • Damping Factor: ζ = Rlpf * C1 * ωn /2 – Dimensionless, Usually ~0.45 < ζ < ~2 – Lower end of range for low period jitter – Higher end of range for accurate ref phase tracking – Rlpf provides means to set stability independent of bandwidth • φ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 • Phase margin degradation due to PFD phase error sampling – -φ = ωc*Tref / 2 – z-domain analysis is more accurate • Phase margin (φm) ~ 100 * ζ (for ζ < 0.5) – Usually 45° < PM < 70°
  • 17. Copyright, Dennis Fischette, 2007 17 Loop Dynamics vs. OSR Loop Dynamics vs. OSR • Assumes continuous-time model. Damping = 0.8, wn = 3.7MHz • φm=62° , BW(-3dB)=8.8MHz, Pk=2.1dB (w/no delay) OSR (wn(Hz)/f(ref) Phase Margin(°) Peaking(dB) BW(-3dB) (MHz) 4.5 -4 26 10.6 6.7 18 11 12.6 7.6 24 8.0 13.1 8.9 29 6.0 13.4 10.7 35 4.6 13.5 13.3 40 3.6 13.1 17.8 46 3.0 12.1 26.7 51 2.6 10.9 53.4 56 2.3 9.1
  • 18. Copyright, Dennis Fischette, 2007 18 Aliasing in a Sampled Loop Aliasing in a Sampled Loop • Sampling nature of PFD Æ frequency-domain aliasing – Can’t low-pass filter ref noise before PFD sampling – unlike A/D’s – Need z-domain analysis for accurate PLL modeling – analogous to sample-and-hold • Phase of modulation with respect to ref affects aliasing – e.g. ref modulation at ½ * fref. No jitter if sampled at 0°,180°, max at 90°,270° • Modulation at frequencies > Nyquist (fref/2) appears at other frequencies – e.g. fref=100MHz Æ ref modulation at 99MHz looks just like 1MHz ref modulation to the PLL – continuous-time model says that PLL should reject more 99MHz noise than 1 MHz noise frequency frequency f fREFCLK REFCLK f fBW BW Φ Φout out Φ Φin in
  • 19. Copyright, Dennis Fischette, 2007 19 PLL Response vs. Damping PLL Response vs. Damping
  • 20. Copyright, Dennis Fischette, 2007 20 Phase Tracking vs. Damping Phase Tracking vs. Damping • Phase Tracking vs. Damping • Closed-loop Transfer Function (φfb/φref) • Phase Tracking Æ think “accumulated” period jitter or phase error • Peaking at low and high damping factors Æ bad • Peaking at high damping due to smoothing capacitor pole (1/RC2) and/or under-sampling (Gardner) • Peaking very sensitive to (1/RC2) at high R • Min peaking w/damping ~ 1.0 - 1.5 if C2 ~ 5% * C1 • Typical peaking: 1 – 3 dB (CPU high-end, IO low-end) • For lower peaking, damping > 2 and C2 small • Simulation Condition (following slides): C2 = 6.7% * C1
  • 21. Copyright, Dennis Fischette, 2007 21 Closed Closed- -loop Transfer Function loop Transfer Function
  • 23. Copyright, Dennis Fischette, 2007 23 Phase Response vs. Damping Phase Response vs. Damping (time (time- -domain) domain) • Transient Simulation Conditions (behavioral model): – step reference phase by 2π radians. Observe phase overshoot – C2 = 10% * C1 (high end of C2 range requires lower ζ) • Less ringing and overshoot as ζ Æ 1 • Severe under-damping Æ slow ringing and overshoot • Severe over-damping Æ fast ringing and overshoot • Ringing at high damping due to smoothing pole (large RC2) and/or low over-sampling
  • 26. Copyright, Dennis Fischette, 2007 26 Frequency Response vs. Damping Frequency Response vs. Damping
  • 28. Copyright, Dennis Fischette, 2007 28 Jitter and Phase Noise Jitter and Phase Noise
  • 29. Copyright, Dennis Fischette, 2007 29 Phase Noise and Timing Jitter Phase Noise and Timing Jitter • Phase Noise (frequency domain) ↔ Jitter (time domain) • Noise is frequency-dependent with random & deterministic components • VCO and loop filter resistor often largest sources of noise time time φ φ ( ) ( ) ( ) t t f t V n out out φ π + ∝ 2 sin Frequency Domain Frequency Domain Time Domain Time Domain phase phase noise noise jitter jitter vs. vs. vs. vs. PLL Output PLL Output f fout out f fout out
  • 30. Copyright, Dennis Fischette, 2007 30 Spectral Analysis of VCO Clock Spectral Analysis of VCO Clock • 5GHz VCO clock with 200MHz reference clock 5.0 5.0 4.7 4.7 5.3 5.3 0 0 - -20 20 - -40 40 - -60 60 - -80 80 Relative Power (dB) Relative Power (dB) Frequency (GHz) Frequency (GHz) - -54.8dBc 54.8dBc reference reference spur spur 0.2GHz 0.2GHz
  • 31. Copyright, Dennis Fischette, 2007 31 Timing Jitter: Eye Diagram Timing Jitter: Eye Diagram • Example of timing jitter in serial link. • Overlay scope traces of several bits on top of each other timing jitter timing jitter
  • 32. Copyright, Dennis Fischette, 2007 32 Jitter Definitions Jitter Definitions • Phase Jitter (sec) – deviation of VCO output edges from ideal placement in time. – specified over a time interval or frequency range. – important for I/O apps (e.g. PCI-Express < ±1.5ps RMS) – measure with spectrum analyzer or scope with jitter package • Period Jitter (sec) – deviation of VCO period from ideal period – derivative of Phase Jitter with respect to time – peak-to-peak period jitter (Jpp) is max VCO period – min VCO period – most important for CPU-like apps – e.g. 10-20ps for 2GHz CPU clock – easily measured on scope – self-triggered infinite-persistence or jitter package • Cycle-to-Cycle Jitter (sec) – change in VCO period from cycle N to cycle N+1 – derivative of Period Jitter with respect to time – not important for CPU-like apps
  • 33. Copyright, Dennis Fischette, 2007 33 Jitter Definitions Jitter Definitions • TIE (sec) – time difference between total of N-consecutive actual VCO cycles and N ideal cycles – easily measured on oscilloscope with jitter package – self-triggered measurement – TIE – “time-interval error”
  • 34. Copyright, Dennis Fischette, 2007 34 Noise Sources Noise Sources • Major internal PLL Noise Sources – charge-pump (flicker (1/f) and thermal) – loop filter resistor (thermal) – very significant – VCO (mostly thermal) - significant – VCO bias (flicker and thermal) – most significant – Flicker Noise • Vn 2 (V2/Hz) = Kf / (Cox*W*L* f) • Kf ~ 10e-24 – Thermal Noise • In 2 (Amp2/Hz) = 4kT*gm*γ γ ~ 2/3 for older CMOS technologies, much higher in deep submicron • PLL feedback loop – Low-pass filters ref and charge-pump noise – Band-pass filters loop-filter resistor noise – High-pass filters VCO noise (1-H(s))
  • 35. Copyright, Dennis Fischette, 2007 35 Output Phase Noise Output Phase Noise • Measured vs. offset frequency (f) from carrier • Spectral Density of Phase Fluctuations (Sφ(f)) – Sφ(f)= 2L(f) • L(f) is Single-Sideband Phase Noise – Analogous to Power(sideband)/Power(carrier) – Sφ (f) is specified in a 1Hz band • Sφ(f) ~ 1 / f2 (thermal region, mid-to-high f) (open-loop) • Sφ(f) ~ 1 / f3 (flicker region, low f) (open-loop) • Flicker noise mostly filtered by high BW PLL
  • 36. Copyright, Dennis Fischette, 2007 36 Single Single- -Sideband Phase Noise Plot Sideband Phase Noise Plot • Open-loop VCO 1 /f^3 1 /f^2 flicke r re g io n th e rm a l re g io n 1 /f co rne r fre q u e ncy log (o ffse t fre q u en cy) SSB Phase Noise (dBc/Hz)
  • 37. Copyright, Dennis Fischette, 2007 37 Open Open- -loop loop Æ Æ Closed Closed- -Loop Phase Loop Phase Noise Noise • Goal: determine how much open-loop VCO phase noise remains after applying PLL feedback loop • Method: multiply VCO’s open-loop single-sideband phase noise by PLL’s “error function” (1- H(s)) where H(s) is closed-loop transfer function 1/f^2 closed-loop jitter peaking region Modulation Frequency Output Phase / Open-loop VCO Phase Error Function = 1- H(s)
  • 38. Copyright, Dennis Fischette, 2007 38 Converting Phase Noise to Jitter Converting Phase Noise to Jitter • RMS Phase Jitter • Usually dominated by VCO bias and loop filter • Easily measured using spectrum analyzer – low noise floor • Ideal reference is measurement trigger • Integration range depends on application (e.g., PCIe: fmin= 1.5MHz) – usually stop integration at f0/2 to avoid capturing carrier and harmonics – e.g., 5ps from 1MHz to f0/2 with BW=15MHz and 2.5GHz clock (SOI bad for phase jitter) ( )df f S f J vco phase ∫ = φ π 2 1
  • 39. Copyright, Dennis Fischette, 2007 39 Converting Phase Noise to Jitter Converting Phase Noise to Jitter • RMS Period Jitter • Spectrum analyzer can’t do this integral. Post-process phase noise – e.g., Jper~300fs w/2.5GHz clock • Usually dominated by VCO bias and VCO? • Spectrum analyzer usually has lower noise floor than scope (scope floor ~800fs @ 40Gsample/sec) ( ) df f f f S f J vco vco period ⎟ ⎟ ⎠ ⎞ ⎜ ⎜ ⎝ ⎛ = ∫ π π φ 2 8 2 1 sin
  • 40. Copyright, Dennis Fischette, 2007 40 Converting Phase Noise to TIE Converting Phase Noise to TIE • Time-Interval Error (TIE) • “Tau” is time interval over which phase drift is measured • Spectrum analyzer can’t do this integral. Post-process phase noise ( ) ( )df f f S f J vco TIE τ π π φ 2 sin 8 2 1 ∫ =
  • 41. Copyright, Dennis Fischette, 2007 41 VCO Noise Tracking: Phase Error VCO Noise Tracking: Phase Error vs. Bandwidth vs. Bandwidth • For random VCO noise (i.e. thermal): • lower BW Æ more accumulated phase error • Why? More jittery VCO cycles before feedback can correct: where Jrms = VCO RMS period jitter n vco period RMS error J ζω ω φ ⋅ ∝ ,
  • 42. Copyright, Dennis Fischette, 2007 42 PLL Circuits PLL Circuits • Phase-Frequency Detector • Charge-Pump • Loop Filter • Voltage-Controlled Oscillator • Level-Shifter • Feedback Divider • Voltage Regulator • Miscellaneous
  • 44. Copyright, Dennis Fischette, 2007 44 PFD Block Diagram PFD Block Diagram • Edge-triggered - input duty-cycle doesn’t matter - frequency correction takes precedence over phase correction – no harmonic locking – 3 state operation • Output pulse-widths proportional to phase error • Delay to remove “dead-zone” • Symmetric NAND used to balance equalize delays from both inputs G oFaster D C K Q D FF D LY G oS lower R ef Vdd Vdd FB D C K Q D FF Q C K D R R
  • 45. Copyright, Dennis Fischette, 2007 45 Example: PFD Example: PFD Ref FbClk GoFaster GoSlower Vctl Cycle Slip
  • 46. Copyright, Dennis Fischette, 2007 46 Frequency Lock Detector Frequency Lock Detector • Sample PFD GoFaster signal with rising REFCLK • Sample PFD GoSlower signal with rising FBCLK • If either sampled signal is TRUE, then PFD detected two consecutive REFCLK’s or FBCLK’s Æ cycle slip and loss of frequency lock • May apply “sticky bit” to result to capture temporary loss of lock GoFaster D CK Q DFF DLY GoSlower Ref Vdd Vdd FB D CK Q DFF Q CK D R R CK D Q DFF CK D Q DFF Cycle Slip Slow Cycle Slip Fast PFD
  • 48. Copyright, Dennis Fischette, 2007 48 Charge Charge- -Pump Wish List Pump Wish List • Equal UP/DOWN currents over entire control voltage range - reduce static phase error • Minimize mismatch caused by finite current sources gds and Vt mismatches – ∆Vt ~ 1 / sqrt(W*L) – long L in current sources for higher gds – Stacked (a.k.a common) gates in Isources help w/mismatch – use replica-bias CP and feedback amplifier to balance Iup/Idown – beware of mismatch between two CP cells – increase in CP’s phase noise due to finite BW of this feedback? • Minimal coupling to control voltage during switching and leakage when off - reduce jitter and phase drift • Insensitive to power-supply noise and process variations – loop stability
  • 49. Copyright, Dennis Fischette, 2007 49 Charge Charge- -Pump Wish List Pump Wish List • Minimize coupling caused by “clock feedthrough” (Cgd) and charge-injection – ½ sized dummy switches to reduce charge-injection • Qinj ~ ½ *Cox*(W*L)*(Vgs-Vt) – Small (and/or limited swing) switches to reduce clock feedthrough – watch for leakage with limited-swing – Balance timing and slew rates of all inputs • Minimize PFD pulsewidth to minimize phase noise while still avoiding dead-zone (< 100 ps possible in 65nm) • Typical Icp: 5µA (mismatch)< Icp < 50 µA (∆Vctl)
  • 50. Copyright, Dennis Fischette, 2007 50 Static Phase Error and CP Static Phase Error and CP Up/Down Mismatches Up/Down Mismatches • Static Phase Error: in lock, net UP and DOWN currents must integrate to zero – If UP current is 2× larger, then DOWN current source must be on 2× as long to compensate – Feedback clock must lead reference for DOWN to be on longer – Terr = Tdn - Tup = Treset * (Iup/Idn – 1) • Narrow reset pulse Æ generally lower static error • Typical static phase error < 100ps • Static phase error Æ period jitter @ Tref (reference spurs)
  • 51. Copyright, Dennis Fischette, 2007 51 Charge Pump: const I with amp Charge Pump: const I with amp • Amp keeps Vds of current sources constant (Young ’92), sinking “waste” current when UP, DOWN off • Replica-bias ckt and additional amp used to set bias Vbp, setting Iup=Idn. Start-up needed for Vbp bias (not shown) U p D own D own V ctl V bn V bp + - U p_n D own_n U p V irtV ctl A dd cap to V irtV ctl for volt. stability A m p Ibias should track Icp
  • 52. Copyright, Dennis Fischette, 2007 52 Bandgap Bandgap- -based I based Ibias • Ib ~ Vref / R • Vref generated from PVT-insensitive bandgap reference • Con: feedback loop may oscillate – capacitor added to improve stability – resistor in series w/cap provides stabilizing zero (not shown) • Pro: VDD-independent, mostly Temp independent • Pro: Icp*Rlpf = constant Æ less PVT-sensitive loop dynamics Ibias Vref Vfb - + m2 m1
  • 53. Copyright, Dennis Fischette, 2007 53 Low Low- -Pass Loop Filter (LPF) Pass Loop Filter (LPF) Vctl C1 C2
  • 54. Copyright, Dennis Fischette, 2007 54 Loop Filter Basics Loop Filter Basics • Simplest and most commonly-used loop filter is continuous-time, passive filter • Filters high-frequency phase error information from PFD/CP while integrating low-frequency error info onto C1 cap to set avg. freq - affects bandwidth • Provides a means of isolating phase correction from frequency correction – Icp*Rlpf – affects stability • Filters noise spurs caused by sampling – C2 cap – adds parasitic pole at 1/RC2 • Other options include digital(FSM-based) filter, sampled-time filter (see Maneatis, Maxim) , and continuous-time active filter • Differential designs can reduce sensitivity to VDD and substrate noise and often area by 2×. Requires common-mode feedback loop.
  • 55. Copyright, Dennis Fischette, 2007 55 Passive, Continuous Passive, Continuous- -Time Loop Filter Time Loop Filter • R may be programmable – Avoid gate leakage and noise coupling from switches and parasitic resistance at extreme control voltages • Leakage in MOSFET caps may be a HUGE problem – Exponential I vs. V: Ileak~Vgate 4 (approximate) – Weak temperature dependence – Ileak vs. tox Æ ~2-3× per Angström – Use metal caps (10× larger) or thick-gate oxide caps to minimize leakage – If MOSFET caps, accumulation mode preferred – flatter Cgate vs. V • 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
  • 56. Copyright, Dennis Fischette, 2007 56 Depletion Depletion- -Mode MOSFET C Mode MOSFET Cgate gate vs. V vs. V V Vgate gate inversion inversion depletion depletion 1.0 1.0 1.3 1.3 1.0 1.0 0.0 0.0 V Vgate gate (V) (V) V V c o n t r o l c o n t r o l ( V ) ( V ) Simulated Simulated C C gate gate 0.5 0.5
  • 57. Copyright, Dennis Fischette, 2007 57 Feed Feed- -Forward Zero: eliminate R Forward Zero: eliminate R • Resistor in classic LPF provides an instantaneous IR on the control voltage causing the VCO V2I to generate a current bump on the oscillator input • Alternative: eliminate R Æ Add parallel CP path into V2I. – requires parasitic cap (C2 not shown) to the proportional loop to reduce reference spurs – see Maneatis ’96 for continuous time or ’03 for sampled loop filter • Reduces LPF phase noise? Commonly used in low phase-noise I/O apps. CP1 Vintegral Virtual Vctl CP2 “Res” Vproportional V2I RO IVCO
  • 58. Copyright, Dennis Fischette, 2007 58 Dual Dual- -Loop Charge Loop Charge- -Pump Mismatch Pump Mismatch • Iup/Idown ratios in proportional and integral charge-pumps are partly uncorrelated due to random device mismatch • Net charge from integral CP must integrate to zero for stable frequency – determines static phase error alone • Net charge from proportional CP causes frequency kick every PFD cycle (Kv*I*R) caused by static error and its own Iup/Idown mismatch • Upshot: control voltage adjusts up or down from ideal level to achieve correct average frequency but fVCO varies within PFD cycle (phase wander)– need well-matched CP’s to avoid this effect
  • 59. Copyright, Dennis Fischette, 2007 59 Dual Dual- -Loop Charge Loop Charge- -Pump Mismatch Pump Mismatch • Static error in integral charge-pump Æperiod jitter and phase wander R e fC lk F b C lk G oF a ster G o S low er Id e a l V c tl A c tu a l V c tl
  • 60. Copyright, Dennis Fischette, 2007 60 Sample Sample- -Reset Loop Filters Reset Loop Filters • Single charge-pump for Iint and Iprop – Zero ~ sqrt(C1/C2) – e.g. Maneatis (JSSC ’03) • Two charge-pumps to allow for reset (discharge) delay • Spreads phase correction over Tref – can reduce ref spurs • Mismatch between CP’s Æ significant VCO phase modulation at fref/2
  • 61. Copyright, Dennis Fischette, 2007 61 Voltage Voltage- -Controlled Oscillator Controlled Oscillator (VCO) (VCO)
  • 62. Copyright, Dennis Fischette, 2007 62 Voltage Voltage- -Controlled Oscillator Controlled Oscillator • VCO usually consists of two parts – bias generator (e.g. Vctl to Ictl) – voltage or current controlled ring oscillator (RO) • Typical VCO gain: Kvco ~ 1-5× * fmax. May vary w/PVT by > 2× – need frequency range: >2× to allow for PVT – desire constant gain over most of usable control voltage range VCO frequency Control Voltage Usable Vctl Range
  • 63. Copyright, Dennis Fischette, 2007 63 VCO w/Feed VCO w/Feed- -Forward Path Forward Path • RO delay stage may receive inputs from multiple prior stages (e.g. N-1 and N-2) – allows N-stage VCO to oscillate at speeds otherwise attainable only by reducing # of stages – easier to implement with differential signals – extra care must be taken to ensure that RO will safely oscillate + - + - + - S F + - + - + - S F + - + - + - S F + - + - + - S F S= slow path F = fast path
  • 64. Copyright, Dennis Fischette, 2007 64 Voltage Voltage- -Controlled Oscillator Controlled Oscillator • Barkhausen criteria for sustained oscillation – loop gain must exceed 1, loop phase must equal 360° – more delay stages Æ easier to initiate oscillation – gain(DC) > 2 for 3 stages, gain > sqrt(2) for 4 stages • Quadrature clocks (0°, 90°, 180°, 270°) – requires 4 delay stages or – divide “differential” VCO outputs by 2, then delay one set of divided outputs by ½ Tvco to generate quadratures. Allows any # of delay stages div_0 D CK Q DFF QB div_180 D CK Q DFF QB vco vco_x div_90 div_270
  • 65. Copyright, Dennis Fischette, 2007 65 PLL Suppression of VCO Noise PLL Suppression of VCO Noise • PLL acts like a high-pass filter in allowing VCO noise to reach output • Need noise-immune VCO to minimize jitter – Feedback loop cannot react quickly. – Tradeoff between tuning range & noise sensitivity • Power-supply noise is usually largest source of VCO noise • VCO power-supply sensitivity should be at least 10-20× less than inverter
  • 66. Copyright, Dennis Fischette, 2007 66 PLL Suppression of VCO Noise PLL Suppression of VCO Noise • High power, fast edges, large swing Æ low random jitter – Jrms ~sqrt(kT/2NC) / (fvco*Vswing) • where N=#of stages, C=cap/stage • Match rise/fall times, inter-stage delays to minimize phase noise (lowers ISF) • RMS random jitter (kT) < 0.2% VCO period (typical)
  • 67. Copyright, Dennis Fischette, 2007 67 VCO w/current VCO w/current- -starved starved inverters(CSI) inverters(CSI) • Usually odd # of stages (usually 5+) • Feedback INV Æ usually weaker by ~4× • Tune frequency by adjusting “VDD” of inverters – changes delay • “Vdd” for inverters is regulated output of VCO V2I weak weak weak
  • 68. Copyright, Dennis Fischette, 2007 68 V2I for CSI V2I for CSI (V. von Kaenel (JSCC (V. von Kaenel (JSCC ’ ’96) 96) • Bias circuit for current-starved inverter-based ring oscillator • Feedback Æ amp provides good low-freq power-supply rejection • Caps to Vdd and Vss provide good high-freq rejection but add parasitic poles Æ e.g., ωp = 1/(Rro*Cn) • Start-up necessary. Stability a concern Ivco Vctl _ + m1 m2 Vfb m3 Cp Cn Rfb Rro model of CSI RO model of V2I
  • 69. Copyright, Dennis Fischette, 2007 69 Diff Diff- -Amp VCO w/Replica Amp VCO w/Replica- -Bias V2I Bias V2I • Vswing = Vctl (Maneatis ’96) • Amp provides DC power-supply rejection • Stable, but getting high BW and good PSRR tricky • Start-up necessary + - Vfb Vbn m1 m2 m5 m3 m4 m6 m7 Vctl Vctl Dummy delay cell + - + - 3-stage RO Vctl Vbn + - + - + - + - Cn
  • 70. Copyright, Dennis Fischette, 2007 70 VCO: Level VCO: Level- -Shifter Shifter • Differential-pair without tail current • Need sufficient gain at low VCO frequency – use low-Vt NMOS • Use NMOS input pair if VCO swing referenced to VSS for better power-supply rejection • For best duty-cycle, use two instances of level-shifter (swap inputs), and couple complementary outputs with weak inverters • Typical duty cycle: 50 ± 3% with random mismatch in z m1a m2a ip m3a m4a ip zn m1b m2b in m3b m4b weak INV weak INV
  • 72. Copyright, Dennis Fischette, 2007 72 Feedback Divider (FBDIV) Feedback Divider (FBDIV) • Typical Implementation: synchronous digital counter • Max FBDIV frequency should be greater than max VCO frequency to avoid “run-away” – beware of Synthesized, Placed & Routed designs • Counter output may glitch Æ re-sample with VCO output to clean up glitch, reduce latency and phase noise • Loop Phase Margin Degradation ~ ωc*Tfbdly – usually insignificant (a few degrees) • Divider may be internal to PLL or after clock tree to cancel clock tree skew • May provide additional output signals used to deterministically synchronize tester controls to VCO clock and/or walk signals between various on-chip clock domains
  • 73. Copyright, Dennis Fischette, 2007 73 Auxiliary Circuits Auxiliary Circuits
  • 74. Copyright, Dennis Fischette, 2007 74 Voltage Regulator Voltage Regulator • Provides stable, PVT-insensitive, clean power-supply for PLL – lower jitter, phase noise – more stable loop dynamics, VCO range, etc. – aim for > 30dB PSRR, definitely > 20dB • Uses bandgap reference to set voltage and bias current levels • Two voltage regulators sometime used – High VDD for charge-pump (analog) and lower VDD for VCO – “Quiet” for analog (CP, VCO bias) and “Dirty” for digital (PFD, FBDIV)
  • 75. Copyright, Dennis Fischette, 2007 75 Voltage Regulator Voltage Regulator • Requires higher power-supply (e.g., 1.8V Æ 1.2V) • Wastes current – higher VDDA and bandgap/regulator over-head (0.5-3mA). – aim for current overhead < 20%. <5% is achievable in some apps • Regulator area (inc. bandgap) is small compared to decoupling cap area – Area (MOSFETs, Rpoly, diodes) ~ 70 x 70 µm2 (65nm) – Area (DECAPs) ~ 125µm x 125um for 100pF (65nm) – Typical cap ~ 30-200pF • Vt-mismatch in bandgap amplifier input pair dominates overall regulator mismatch – 3mV offset at amp Æ~20mV variation at output – Goal < 25mV 1-σ variation from device mismatch – Goal < ±5mV PVT variation (due mostly to diodes)
  • 76. Copyright, Dennis Fischette, 2007 76 Digital PLL Digital PLL’ ’s s
  • 77. Copyright, Dennis Fischette, 2007 77 Why a Digital PLL? Why a Digital PLL? • Replaces process and noise-sensitive analog circuits with digital equivalents – advances on work with digital DLL’s • Increases PLL design portability and testability • Takes advantage of area scaling with nm devices • Greater flexibility in loop bandwidth – don’t need huge capacitors for low BW • Increases ability to test and observe. e.g. open-loop, disturb loop • Fast behavioral simulation • “Good-enough” for frequency synthesis applications • ISSCC presentations: TI(‘04) and IBM (‘07)
  • 78. Copyright, Dennis Fischette, 2007 78 Why NOT a Digital PLL? Why NOT a Digital PLL? • Usually not “good enough” for phase-tracking applications • VCO frequency has finite frequency resolution (e.g. 10-14 bits). May use coarse DAC if high-frequency dithering available • VCO has limited range – requires range control and/or calibration • VCO may have poor noise rejection if purely digital frequency control and no voltage regulator (usually analog)
  • 79. Copyright, Dennis Fischette, 2007 79 Why NOT a Digital PLL? Why NOT a Digital PLL? • Need high-frequency over-sampling clock for sigma-delta loop filter – VCO? Refclk? Start-up problem? • TimeError-to-Digital Converter is hard – poor resolution, high power – usually < 5 bits – is Bang-bang an alternative? FbDiv internal state contains phase error information • Digital filter generates large noise spurs, possibly inducing jitter, and dissipates more power than passive loop filter • Generating proportional correction can be tricky
  • 80. Copyright, Dennis Fischette, 2007 80 What is a Digital PLL? What is a Digital PLL? • Replace charge-pump (time error-to-charge) with TimeError-to-Digital Converter • Replace loop filter with discrete-time digital filter (usually 2nd or 3rd order sigma-delta) • Replace voltage-controlled VCO with digital-control (vary cap load, interpolation, etc.) • Are analog components “allowed”? Voltage regulator? Analog current-steering DAC for VCO? • Sampled-system modeled in the Z-domain
  • 81. Copyright, Dennis Fischette, 2007 81 Circuit Verification Circuit Verification
  • 82. Copyright, Dennis Fischette, 2007 82 PLL Floorplan PLL Floorplan RO RO LS VRO CAP VCO V2I + BiasCkt VCO Bias Comp Cap PFD Charge Pum p VCO Post- Div FbDiv Bypass Mux + Buffers Control Logic + Test Logic Bandgap Ref Voltage Regulator LPF C2 MetCap LPF C1 MetCap VDD Decap "Quiet" Regulated VDD Decap "Quiet" Regulated VDD Decap VDDreg
  • 83. Copyright, Dennis Fischette, 2007 83 Noise Isolation Noise Isolation • Check extracted netlist for coupling of switching signals onto sensitive analog signals (e.g. REFCLK Æ Vctl) • Check that LPF metal caps are present and well-connected to correct power supplies • Check that VSS of LPF metal caps and VSS of VCO bias circuits are well-connected and at same potential • Check that correct shields for sensitive signals are in place and well-tied to correct power supplies
  • 84. Copyright, Dennis Fischette, 2007 84 Noise Isolation Noise Isolation • Account for parasitic capacitance to substrate in “NWELL” decaps, diodes, and well/diffusion resistors • Add guard rings as applicable • Buffer control signals and programmable inputs locally before use – avoids problem where GND of control signal doesn’t match local GND where signal is used – filters coupling/glitches on long routes
  • 85. Copyright, Dennis Fischette, 2007 85 Signal EM / ESD Signal EM / ESD • Inspect wires that conduct DC current and wires that drive large switching output loads for EM violations (e.g. charge- pump bias, output clocks) • 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
  • 86. Copyright, Dennis Fischette, 2007 86 Power Power- -Grid IR Grid IR • Aim for avg IR drops < 5mV over entire PLL, less within and between related analog blocks • Decoupling capacitors surround large, switching buffers to reduce IR drops and are well-connected to grid • Check for isolated power domain islands • Plan power domains and level-shifter placement up-front
  • 87. Copyright, Dennis Fischette, 2007 87 Switching Signals Switching Signals • Match differential signals – total capacitance and coupling (e.g. up, up_x, dn, dn_x, clk, clk_x) – try to match total capacitance < 1-2% • Maintain fanout (incl. Wires) < ~6 on high-speed paths, < ~10 on DC paths (e.g. encode/decoders) – reduces crow-bar current and noise glitches • Setup/Hold checks in PFD, Feedback Divider, and Post-VCO divider. Needs lots of margin for FBDIV to account for overshoot, aging, etc. – strive for FBDIV faster than VCO(max)
  • 88. Copyright, Dennis Fischette, 2007 88 PLL Instantiation PLL Instantiation – – Visual Checks Visual Checks • Mismatch on differential signals • Coupling into refclk, output clocks • Possible glitches on control inputs • Signal routes over sensitive areas of PLL (VCO, loop filter, charge-pump) • Large buffers on edge of PLL that may inject noise in substrate (keep-out requirement?)
  • 89. Copyright, Dennis Fischette, 2007 89 PLL Instantiation PLL Instantiation – – Visual Checks Visual Checks • Output wires wide enough to handle current load (EM) • Rise/fall times on inputs/outputs – add max_cap limit into timing file to flag heavy loads • VDDA/test signal routes to bumps and/or ESD • VDD/ VSS power supply connections
  • 90. Copyright, Dennis Fischette, 2007 90 Functional Modes Functional Modes • Power-Down/Reset/Test Modes – chicken-and-egg start-up problems – esp. level-shifters, boot- strapped regulators – Contention? • measure current in every device in these modes • SLOW clock mode – drive slow clock at power-on to remove contentious states in downstream logic – disable any clock gaters – mux in separate ring oscillator or force VCO/post-VCO div to produce low frequency clock in open-loop mode – avoid glitches when entering/leaving SLOW mode • Frequency Hopping – Ensure that FBDIV can’t fail during frequency transition if RESET not applied
  • 91. Copyright, Dennis Fischette, 2007 91 Power/Clocking Domains Power/Clocking Domains • Level-shifters are present when crossing power domains and are connected to correct supplies – apply writability analysis with mismatch – check for overstress – easy to miss • Add synchonizers or “walk clocks” when crossing clock domains – easy to miss • Check metastability on flops, comparators – is there a failure mechanism? Calculate MTBF. • Insert bypass mode mux, preferably such that if the regulator fails, bypass clock still propagates to output
  • 92. Copyright, Dennis Fischette, 2007 92 RTL vs. Circuit RTL vs. Circuit • Add assertions to RTL model to flag illegal input states • 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 • Model/verify all digital logic in RTL • Specify expected input states at all analog blocks in various operating modes • Simulate PLL exhaustively in VerilogA, Nanosim, etc, if possible
  • 93. Copyright, Dennis Fischette, 2007 93 RTL vs. Circuit RTL vs. Circuit • Look for incorrect polarity on input control signals (e.g., reset, powerDown) and REFCLK • Look for glitches on feedback clock and other dividers • Exercise all divider/counter states • Check for possible VCO run-away conditions during power- on and frequency changes (e.g., no reset or feedback divider is halted) • Verify that unselected inputs of muxes in critical signal paths are gated (e.g., VCO post-divider muxes)
  • 94. Copyright, Dennis Fischette, 2007 94 Behavioral Simulations Behavioral Simulations • Behavioral simulation –before detailed circuit design define requirements for each block – e.g. PLLUS, Simulink • Develop/verify jitter budget – e.g. PCI-Express • Estimate VCO frequency overshoot • Loop bandwidth vs. reference noise suppression • Simulate effects of loop filter leakage, charge-pump mismatch, feedback delays, OSR, spread-spectrum tracking, Vctl-sensitive loop parameters, PFD dead-zone, parasitic poles
  • 95. Copyright, Dennis Fischette, 2007 95 Circuit Simulations Circuit Simulations • Start-up circuit safety margin - bandgap, VCO, regulators • Stability of all internal feedback loops – AC and transient impulse response – e.g., bandgap, regulator, charge-pump bias, VCO bias – Phase margin, gain margin, # of rings • VCO - RO stage delays rise vs. fall, stage-to-stage – lower ISF • Level-shifters’ possible corruption of duty-cycle • Switching-induced noise spikes on regulated power supplies • Current dissipation in power
  • 96. Copyright, Dennis Fischette, 2007 96 Circuit Simulations Circuit Simulations • PSRR of voltage regulators, ability of regulators to meet fast-changing current load • Step reference phase, observe PLL re-lock – overshoot, relock time • Simulate entire sequence from power-on to lock – sanity check
  • 97. Copyright, Dennis Fischette, 2007 97 Devices/Circuits Devices/Circuits • Estimate effects of Vt mismatch BEFORE starting layout (monte carlo, dVt ~ 1/sqrt(W*L) ) – most sensitive: bandgap, charge-pump, other low I ckts • Estimate loop parameter variations, static error, reference spurs due to PVT and mismatch before starting layout – Kv, Icp, R, C1 (also vs. Vctl) – esp. dual- charge-pump designs – circuit techniques to minimize effects: self-bias, Icp*Rlpf=const – self-bias not as effective if not all devices the same Leff • Diode current density (bandgap) – ideality factor may be sensitive to current density – stay away from cliff
  • 98. Copyright, Dennis Fischette, 2007 98 Device Reliability Device Reliability • Gate Overstress – especially likely during power-down, reset, test – hspice .biaschk is useful • 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
  • 99. Copyright, Dennis Fischette, 2007 99 Device Reliability Device Reliability • Verify that circuits with PMOS devices are not NBTI-sensitive – Vgs of matched devices should be the same at all times, even when not selected (e.g. current-steering DAC) – don’t place switches closest supply rails – switching circuits such as VCO and FBDIV should have enough frequency headroom to allow for aging. High Vgs is bad! 10-20% margin? – effect worse at 45nm and 65nm and may not be well- modeled
  • 100. Copyright, Dennis Fischette, 2007 100 Lithography/Devices Lithography/Devices • Add dummy poly to reduce ACLV (across chip linewidth variation), esp. in Lmin devices • Maintain gate poly on fixed pitch in same orientation to reduce ACLV (esp. in Lmin devices) • Try to maintain constant poly density – e.g. no large caps next to sensitive Lmin devices) • Add dummy devices if stress/strain is applied and matching is required (e.g., charge-pump)
  • 101. Copyright, Dennis Fischette, 2007 101 Tips for Design for Test Tips for Design for Test • Measuring Jitter and Phase Error • Measuring Loop Dynamics • Analog Measurements • Probing
  • 102. Copyright, Dennis Fischette, 2007 102 Getting Clocks from PLL to Board Getting Clocks from PLL to Board • Differential I/O outputs highly desirable to reject common- mode noise – use fastest I/O available • Divide VCO to reduce board attenuation only if necessary Æ make divider programmable • Measuring duty-cycle – Divide-by-odd-integer – Mux to select either true or inverted VCO clock. Duty- cycle error = (Duty+ - Duty-) / 2
  • 103. Copyright, Dennis Fischette, 2007 103 Getting Clocks from PLL to Board Getting Clocks from PLL to Board • Ability to disable neighboring I/O when measuring jitter • Observe REF, VCO, and FBCLK. Gate unused inputs to the clock source mux • Phase error measurement: trigger scope on REFCLK on board. Capture internal REFCLK and FBCLK in infinite persistence. Measure difference between internal REFCLK and FBCLK on same pin.
  • 104. Copyright, Dennis Fischette, 2007 104 Measuring Loop Dynamics Measuring Loop Dynamics • Modulate reference phase at various modulation frequencies and measure VCO phase using TIE – used to construct closed-loop transfer function • On-chip state-machines – range from simple to sophisticated – disturb locked PLL in some way and observe re-lock behavior
  • 105. Copyright, Dennis Fischette, 2007 105 Analog Measurements Analog Measurements • Need ability to measure key internal analog signals without injecting noise – Loop filter control voltage – Ring Oscillator regulated supply – Bandgap reference – Regulated power supplies – Charge-pump bias voltages and currents • Metrics – Measurement BW ~ PLL Bandwidth or less – Accuracy ~ 5mV? – Programmable via JTAG
  • 106. Copyright, Dennis Fischette, 2007 106 Analog Measurements Analog Measurements • Internal A/D • Can be fairly slow • Minimize mux switch leakage into A/D front-end • Minimize coupling to sensitive signals • May require external analog pin for calibration • Compare analog voltage to internally-generated voltage reference • Use state-machine to minimize # of comparators to save area • Disable when not in use to save power
  • 107. Copyright, Dennis Fischette, 2007 107 Analog Measurements Analog Measurements • Analog Observation Pins • Pass-gate mux connects analog signals to outside world • Force or sense voltage/current • Low BW – high impedance analog signals and high parasitics • Need ESD (HBM,CDM) to protect signals –watch for leakage • Buffer control voltage before sending off-chip to prevent leakage and extra load from upsetting feedback loop – watch for gate leakage in unity-gain buffer • Pull-down to VSS far-side of pass-gates when not in use to minimize coupling of noisy pin to analog signals (at expense of increased leakage). Disable pull-downs for ESD testing • Can wire-OR analog observation pins from several PLL’s but watch for increased pin leakage causing IR drops across pass-gates (e.g., 3-6kΩ) or causing high-impedance analog signals to droop
  • 108. Copyright, Dennis Fischette, 2007 108 Probing On Probing On- -chip (last resort!) chip (last resort!) • If not flip-chip, then put probe pads on top-layer metal • Probe pad size >1µm × 1µm. Prefer > 2µm × 2µm • Place probe pad on a side-branch of analog net to avoid breaking wire with probe • Separate probe pads to allow room for multiple probes • FIB: can add probe pad, add or remove wires – need room and luck
  • 109. Copyright, Dennis Fischette, 2007 109 Summary: Uncle D Summary: Uncle D’ ’s PLL Top 5 List s PLL Top 5 List 1. Maintain damping factor ~ 1 for low period jitter apps 2. VDD-induced and intrinsic VCO noise – loop can’t do the work for you 3. Leaky loop filter gate caps will cost you your job 4. Make FBDIV run faster than VCO 5. Observe VCO, FBCLK, REF, clkTree on differential I/O pins – you can’t fix what you can’t see!
  • 110. Copyright, Dennis Fischette, 2007 110 Special thanks to Alvin Loke for Special thanks to Alvin Loke for allowing to me allowing to me “ “borrow borrow” ” some of his some of his diagrams and ideas for this talk diagrams and ideas for this talk… …which which ones? The good ones ones? The good ones
  • 112. Copyright, Dennis Fischette, 2007 112 Paper References Paper References [1] B. Razavi, Monolithic Phase-Locked Loops and Clock-Recovery Circuits, IEEE Press, 1996. – collection of IEEE PLL papers. [2] I. Young et al., “A PLL clock generator with 5 to 110 MHz of lock range for microprocessors,” IEEE J. Solid-State Circuits, vol. 27, no. 11, pp. 1599-1607, Nov. 1992. [3] J. Maneatis, “Low-Jitter Process-Independent DLL and PLL Based on Self-Biased Techniques,” IEEE J. Solid-State Circuits, vol. 31, no. 11, pp. 1723-1732. Nov. 1996. [4] J. Maneatis, “Self-Biased, High-Bandwidth, Low-Jitter 1-to-4096 Multiplier Clock Generator PLL,” IEEE J. Solid-State Circuits, vol. 38, no.11, pp. 1795-1803. Nov. 2003. [5] F. Gardner, “Charge-pump phase-lock loops,” IEEE Trans. Comm., vol COM-28, no. 11, pp 1849-1858, Nov. 1980. [6] V. von Kaenel, “A 32- MHz, 1.5mW @ 1.35 V CMOS PLL for Microprocessor Clock Generation,” IEEE J. Solid-State Circuits, vol. 31, no. 11, pp. 1715-1722. Nov. 1996. [7] I. Young, “A 0.35um CMOS 3-880MHz PLL N/2 Clock Multiplier and Distribution Network with Low Jitter for Microprocessors,” Proc. ISSCC 1997, pp. 330-331. [8] J. Ingino et al., “A 4-GHz Clock System for a High-Performance System-on-a-Chip Design,” IEEE J. Solid-State Circuits, vol. 36, no. 11, pp. 1693-1698. Nov. 2001. [9] A. Maxim et al., “A Low-Jitter 125-1250 MHz Process-Independent CMOS PLL Based on a Sample-Reset Loop Filter,” Proc. ISSCC 2001, pp. 394-395. [10] N.Kurd et al., “A Replica-Biased 50% Duty Cycle PLL Architecture with 1X VCO,” Proc. ISSCC 2003, pp.426-427. [11] K. Wong, et al., ”Cascaded PLL Design for a 90nm CMOS High Performance Microprocessor,” Proc. ISSCC 2003, pp.422-423.
  • 113. Copyright, Dennis Fischette, 2007 113 Paper References Paper References [12] M. Mansuri, et al., “A Low-Power Adaptive-Bandwidth PLL and Clock Buffer With Supply-Noise Compensation”, IEEE J. Solid-State Circuits, vol. 38, no.11, pp. 1804- 1812. Nov. 2003. [13] A. Maxim, “A 160-2550 MHz CMOS Active Clock Deskewing PLL Using Analog Phase Interpolation,” Proc. ISSCC 2004, pp. 346-347. [14] J. Lin et al, “A PVT Tolerant 0.18MHz to 660MHz Self-Calibrated Digital PLL in 90nm CMOS Process,” Proc. ISSCC 2004, pp. 488-489. [15] J. McNeill, “Jitter in Ring Oscillators,” IEEE J. Solid-State Circuits, vol. 32, no.6, pp. 870-878, Jun. 1997. [16] A. Abidi, “Phase Noise and Jitter in CMOS Ring Oscillators,” IEEE J. Solid-State Circuits, vol. 41, no.8, pp. 1803-1816, Aug. 2006. [17] L. Dai et al., “Design of Low-Phase-Noise CMOS Ring Oscillators,” IEEE Trans. Circuits and Systems-II: Analog and Digital Signal Processing, vol. 49, no. 5, pp. 328-338, May 2002. [18] U. Moon et al., “Spectral Analysis of Time-Domain Phase Jitter Measurements,” IEEE Trans. Circuits and Systems-II: Analog and Digital Signal Processing, vol. 49, no. 5, pp. 321-327, May 2002 [19] J. Kim et al., “Design of CMOS Adaptive-Bandwidth PLL/DLLs: A General Approach,” IEEE Trans. Circuits and Systems-II: Analog and Digital Signal Processing, vol. 50, no. 11, pp. 860-869, Nov 2003. [20] T. Toifl et al., “A 0.94-ps-RMS-Jitter 0.016-mm2 2.5-GHz Multiphase Generator PLL with 360 Degree Digitally Programmable Phase Shift for 100Gb/s Serial Links,” IEEE J. Solid-State Circuits, vol. 40, no.12, pp. 2700-2711, Dec. 2005. [21] S. Wedge, “Predicting Random Jitter,” IEEE Circuits & Devices Magazine, pp. 31-38, Nov/Dec 2006. [22] A. Rylyakov et al., “A Wide Power-Supply Range (0.5V-to1.3V) Wide Tuning Range (500MHz-to-8GHz) All Static CMOS AD PLL in 65nm CMOS SOI,” Proc. ISSCC 2007, pp. 172-173.
  • 114. Copyright, Dennis Fischette, 2007 114 Paper References Paper References [24] R. Staszewski et al, “All-Digital PLL and Transmitter for Mobile Phones,” IEEE J. Solid-State Circuits, vol. 40, no.12, pp. 2469-2482. Dec. 2005. [25] R. Staszewski et al, “All-Digital PLL with Ultra Fast Settling,” IEEE Trans. On Circuits and Systems II: Express Briefs, vol. 54, no.2, pp. 181-185. Feb. 2007. [26] V. Kratyuk et al, “A Design Procedure for All-Digital Phase-Locked Loops Based on a Charge-Pump Phase-Locked-Loop Analogy,” IEEE Trans. On Circuits and Systems II: Express Briefs, vol. 54, no.3, pp. 247-251. Mar. 2007. [27] J. Hein et al, “z-Domain Model for Discrete-Time PLL’s,” IEEE Trans. On Circuits and Systems, vol. 35, no.11, pp. 1393-1400. Nov. 1988.
  • 115. Copyright, Dennis Fischette, 2007 115 Monograph References Monograph References [1] B. Razavi, Design of Analog CMOS Integrated Circuits, McGraw-Hill, 2001. [2] R. Best, Phase-Locked Loops,McGraw-Hill, 1993. [3] R. Dorf, Modern Control Theory, 4th Edition, Addison-Wesley, 1986. [4] P.Gray and R. Meyer, Analysis and Design of Analog Integrated Circuits, 3rd Edition, J. Wiley & Sons, 1993. [5] K. Bernstein and N. Rohner, SOI Circuit Design Concepts, Kluwer Academic Publishers, 2000. [6] A. Hajimiri and T. Lee, The Design of Low Noise Oscillators, Kluwer Academic Publishers, 1999. [7] T. Lee, The Design of CMOS Radio-Frequency Integrated Circuits, Cambridge University Press, 1998. [8] F. Gardner, Phaselock Techniques, 2nd Edition, New York, Wiley & Sons, 1979.
  • 117. Copyright, Dennis Fischette, 2007 117 PLL Failures PLL Failures • Observation is that VCO frequency is pinned at max value. Can’t observe Vctl or feedback clock. VCO fails to oscillate at low frequency because of insufficient gain in 3-stage VCO. When VCO finally starts, FBDIV can’t keep up, causing “run- away” Solution: increase gain of delay stage and FBDIV speed. • VCO “run-away” when re-locking to higher frequency due to VCO overshoot and slow FBDIV. • VCO loses lock occasionally at low frequencies. Due to insufficient VCO level-shifter gain. Dropped VCO edges. Required real-time scope for debug • High jitter at low VCO frequencies due to Vctl approaching Vt of V2I current source. Solution: operate VCO at 2X.
  • 118. Copyright, Dennis Fischette, 2007 118 PLL Failures PLL Failures • Occasional high deterministic jitter caused by coupling into PLL’s VDDA bondwire. • Extremely high period jitter – caused by incorrect wiring of 8-bit charge-pump setting. Bandwidth much too high. Verilog model did not check for legal input settings. • PLL won’t start-up at low temp due to weak start-up circuit in voltage regulator and lack of simulation at corners with slow VDDA ramp-rate. • PLL period modulated strongly by 400MHz signal, resulting from oscillating internal feedback loop in VCO bias ckts. Ultimate cause, fab misprocessing of compensation cap and insufficient margin in ckt.
  • 119. Copyright, Dennis Fischette, 2007 119 PLL Failures PLL Failures • Metastability condition corrupted digital loop filter due to slow devices, low Vdd, and insufficient design margin. • Digital VCO out-of-range due to resistor mis-processing. Solution: fusable chicken-bits to adjust frequency range. • Race condition in digital loop filter caused by missing synchonizers in clock domain crossing.
  • 120. Copyright, Dennis Fischette, 2007 120 PLL Failures PLL Failures • CDM ESD failures of analog measurement pins – no visual inspection and no extraction/simulation of connection to VSS. • Duty-cycle corruption (> 57%) – caused by unbalanced fanouts in delay stages after VCO – exacerbated by single- ended clocking. • Contention in analog observation signals due to ESD diodes wired backward and control logic bugs. • Inconsistent duty cycle. Failure to initialize state in post-VCO divider exposed VCO duty-cycle error.