Cicc 2010 Perrott
Cicc 2010 Perrott
CICC 2010
Michael Perrott
September 2010
ref(t) ref(t)
out(t) out(t)
e(t) v(t) e(t) v(t)
ref(t)
div(t)
e(t) v(t)
Fout = N Fref
ref(t) e(t) Analog v(t) out(t)
Phase
Detect Loop Filter
VCO
div(t) Sepe and Johnston
Divider US Patent (1968)
N
Use digital counter structure to divide VCO frequency
- Constraint: must divide by integer values
Use PLL to synchronize reference and divider output
Output frequency is digitally controlled 3
Fractional-N Frequency Synthesizers
Kingsford-Smith
ref(t) US Patent (1974)
div(t) Wells
US Patent (1984)
e(t) v(t)
Fout = M.F Fref
ref(t) e(t) Analog v(t) out(t)
Phase
Detect Loop Filter
Riley
VCO US Patent (1989)
div(t) Divider JSSC ‘93
ref(t)
div(t)
e(t) v(t)
Fout = M.F Fref
ref(t) e(t) Analog v(t) out(t)
Phase
Detect Loop Filter
VCO
div(t) Divider
ref(t) out(t)
Phase Analog
Detect Loop Filter
VCO
div(t) Divider
Charge
Vout
error(t) Pump
Icp
Cint
ref(t) out(t)
Phase Analog
Detect Loop Filter
VCO
Divider
ref(t) out(t)
Phase Analog
Detect Loop Filter
VCO
Divider
10
Key Characteristics of a Phase Detector
Average of
ref(t)
error(t)
out(t)
error(t)
phase error
ref(t) out(t)
Phase Analog
Detect Loop Filter
VCO
Simple implementation
Divide-by-2
Divide-by-2 is used to
eliminate impact of Ref(t)
falling edges
- Duty cycle of Ref(t) and Div(t)
e(t)
12
Modeling of XOR Phase Detector
1
e(t)
-1
T
Equation:
Φref(t) - Φdiv(t)
0 2π 4π
Ref(t)
Div(t)
Ref/2(t)
Div/2(t)
e(t)
Φref(t) - Φdiv(t)
-2π -π 0 π 2π
-1
phase detector
range = 2π
Ref(t) e(t)
PD Φref(t) e(t)
1
π
Φdiv(t) PD gain
Div(t)
15
Overall PLL Model with XOR Phase Detector
1
XOR PD: Kpd =
π Loop Filter VCO
Φref(t) e(t) v(t) Kv Φout(t)
Kpd H(f)
jf
Divider
Φdiv(t)
1
N
16
Key Properties of G(f) Function
1
XOR PD: Kpd =
π Loop Filter VCO
Φref(t) e(t) v(t) Kv Φout(t)
Kpd H(f)
jf
Divider
Φdiv(t)
1
N
Divider
Φdiv(t)
1
N
Divider
Φdiv(t)
1
N
Divider
Φdiv(t)
1
N
Divider
Φdiv(t)
1
N
e(t) R1 v(t)
C1
21
Closed Loop Poles Versus Open Loop Gain
Evaluation of Closed Loop Pole
Phase Margin Locations of G(f)
Im{s}
Open loop 20log|A(f)| C
gain
increased
Dominant
pole pair B
0 dB f
fp
A
C
B
A Re{s}
angle(A(f)) 0
o
-90
A
PM = 59o for A
o
-120
PM = 45o for B
B
-150o PM = 33o for C
-180o
C
0.6
f 0 t
fp
0 dB f
fp
o
angle(A(f))
-90
o
Recall that bandwidth of G(f)
-120
is roughly the same as unity
-150o gain frequency of A(f)
-180o
Divider
Φdiv(t)
1
N
Divider
N[k]
27
Options for Achieving Full Range Span of VCO
Type I
- Add a D/A converter to provide coarse tuning
Adds power and complexity
Steady-state phase error inconsistently set
Type II
- Integrator automatically provides DC level shifting
Low power and simple implementation
Steady-state phase error always set to zero
Type I Type II
Dominant
B pole pair
0 dB f
fz fp A
Non-dominant
C pole
B
A Re{s}
angle(A(f)) A BC 0
o
120
PM = 54oo for B
PM = 53 for A
PM = 55o for C A
o
-140
o
B
-160
o
-180 C
Normalized Amplitude
Type II: fz/fo = 1/3
fcp fz Type II: fz/fo = 1/8
1 1
Type I
0.6
0 f 0
fz fo 1 2 3 4
Frequency (Hz) Normalized time: t*fo
Divider
Φdiv(t)
1
N
N+1
N
t
Change output frequency by changing the divide value
Classical approach provides no direct model of impact of
divide value variations
- Treat divide value variation as a perturbation to a linear system
and use the PLL closed loop response
More advanced PLL models include divide value variations
- M.H. Perrott, M.D. Trott, C.G. Sodini, "A modeling approach for Σ-∆
fractional-N frequency synthesizers allowing straightforward noise
analysis,“ JSSC, vol. 37, pp. 1028-1038, Aug. 2002.
32
Response of an Actual PLL to Divide Value Change
93
N (Divide Value)
92.8
92.6
92.4
92.2
92
91.8
40 60 80 100 120 140 160 180 200 220 240
1.87
Output Frequency (GHz)
1.86
1.85
1.84
1.83
40 60 80 100 120 140 160 180 200 220 240
Time (microseconds)
95
94
93
92
40 60 80 100 120 140 160 180 200 220 240
Output Frequency (GHz)
1.92
1.9
1.88
1.86
1.84
avg{e(t)}
gain = -1/π 1 gain = 1/π
Φref(t) - Φdiv(t)
-2π -π 0 π 2π
-1
phase detector
range = 2π
35
Cycle Slipping
Consider the case where there is a frequency offset
between divider output and reference
- We know that phase difference will accumulate
ref(t)
div(t)
Φref(t) - Φdiv(t)
-2π -π 0 π 2π
-1
36
Impact of Cycle Slipping
XOR DC characteristic
cycle slipping
1
Φref - Φdiv
-2π 2π 4π n2π (n+1)2π
-1
37
Back to PLL Response Shown Previously
PLL output frequency indeed oscillates
- Eventually locks when frequency difference is small enough
Synthesizer Response To Divider Step
96
N (Divide Value)
95
94
93
92
40 60 80 100 120 140 160 180 200 220 240
Output Frequency (GHz)
1.92
1.9
1.88
1.86
1.84
R
1 D Q
down(t)
div(t) Q
Ref(t)
Div(t)
Up(t)
Down(t)
1
E(t)
0
-1
39
Tristate PFD Characteristic
Calculate using similar approach as used for XOR
phase detector avg{e(t)}
1
gain = 1/(2π)
−2π
Φref - Φdiv
2π
−1
phase detector
range = 4π
−2π
Φref - Φdiv
0 2π 4π 2nπ
lock
-1
41
The Issue of Noise
Reference Reference Charge Pump VCO Noise
Jitter Feedthrough Noise
-20 dB/dec
f f f f
1/T
T
div(t) Divider
Divider
Jitter
N
f
Each PLL component contributes noise that impacts
overall PLL output phase noise
Achievement of adequately low PLL phase noise is a
key issue when designing a PLL 42
Modeling the Impact of Noise on Output Phase of PLL
Divider/Reference Reference Charge Pump VCO Noise
Jitter Feedthrough Noise
S Φjit(f) S espur(f) S Icpn(f) S Φvn(f)
-20 dB/dec
f f f f
0 0 1/T 0 0
Φjit[k] espur(t) Icpn(t) Φvn(t)
Φref [k] e(t) v(t) KV Φout(t)
Kpd Icp Z(f)
jf
Charge Loop Filter
VCO
PFD Pump Impedance
Φdiv[k]
1
N
Divider
-20 dB/dec
f f
0 1/T 0
Φjit[k] en(t) H(f) Φvn(t)
Φref [k] e(t) v(t) KV Φout(t)
Kpd Icp Z(f)
jf
Charge Loop Filter
VCO
PFD Pump Impedance
Φdiv[k]
1
N
Divider
-20 dB/dec
f f
0 1/T 0
Φjit[k] en(t) H(f) Φvn(t)
Φref [k] e(t) v(t) KV Φout(t)
Kpd Icp Z(f)
jf
Charge Loop Filter
VCO
PFD Pump Impedance
Φdiv[k]
1
N
Divider
Radians2/Hz
S en(f) S Φvn(f) Kcp e n
-20 dB/dec
S Φvn(f)
f f
0 1/T 0 f
en(t) Φvn(t) 0
S Φnpfd(f)
Radians2/Hz
N
G(f) 1-G(f)
fo Kcp fo
S Φnvco(f)
Φnpfd(t) Φnvco(t)
f
Φout(t) 0
Radians2/Hz
S en(f) S Φvn(f) Kcp e n
-20 dB/dec
S Φvn(f)
f f
0 1/T 0 f
en(t) Φvn(t) 0
S Φnpfd(f)
Radians2/Hz
N
G(f) 1-G(f)
fo Kcp fo
S Φnvco(f)
Φnpfd(t) Φnvco(t)
f
Φout(t) 0
Overall: 47
Take a Closer Look at Charge Pump Noise
Icp
Ibias
WP
id2bias id2 W
M1 M2 L
Cbig
current current
bias source
Icp
Ibias
id2bias id2 W
M1 M2 L
Cbig
current current
bias source
Charge pump noise will be related to the current it
creates as
-20 dB/dec
PFD-Referred
Noise f f
0 0
Φjit[k] en(t) Icpn(t) Φvn(t)
Φref [k] e(t) v(t) KV Φout(t)
Kpd Icp Z(f)
jf
Charge Loop Filter
VCO
PFD Pump Impedance
Φdiv[k]
1
N
Divider
Transfer function from charge pump noise to PLL output
is found by referring noise to PFD output by factor 1/Icp
50
Increasing Icp Leads to Reduced Noise at PLL Output
Charge Pump VCO Noise
Noise
S Icpn(f) S Φvn(f)
-20 dB/dec
PFD-Referred
Noise f f
0 0
Φjit[k] en(t) Icpn(t) Φvn(t)
Φref [k] e(t) v(t) KV Φout(t)
Kpd Icp Z(f)
jf
Charge Loop Filter
VCO
PFD Pump Impedance
Φdiv[k]
1
N
Divider
51
Issue: Increasing Icp Leads to Larger Loop Filter
Charge Pump VCO Noise
Noise
S Icpn(f) S Φvn(f)
-20 dB/dec
PFD-Referred Zl(s)
Noise f f
0 0
s(C1+C2)
Φjit[k] en(t) Icpn(t) Φvn(t)
Φref [k] e(t) v(t) KV Φout(t)
Kpd Icp Z(f)
jf
Charge Loop Filter
VCO
PFD Pump Impedance
Φdiv[k]
1
N
Divider
To keep PLL BW unchanged, assume Icp/(C1+C2) is held
constant (to maintain open loop gain)
Area gets larger since increasing Icp leads to
increased loop filter capacitance (C1+C2)
52
Better Approach: Increase PD Gain to Lower Noise
Charge Pump VCO Noise
Noise
S Icpn(f) S Φvn(f)
-20 dB/dec
PFD-Referred
Noise f f
0 0
Φjit[k] en(t) Icpn(t) Φvn(t)
Φref [k] e(t) v(t) KV Φout(t)
Kpd Icp Z(f)
jf
Charge Loop Filter
VCO
PFD Pump Impedance
Φdiv[k]
1
N
Divider
To keep PLL BW unchanged, assume IcpKpd held constant
- Loop filter can remain unchanged as K pd is increased
53
Can We Increase PD Gain for a Charge Pump PLL?
Charge Pump VCO Noise
Noise
S Icpn(f) S Φvn(f)
-20 dB/dec
PFD-Referred
Noise f f
0 0
Φjit[k] en(t) Icpn(t) Φvn(t)
Φref [k] e(t) v(t) KV Φout(t)
Kpd Icp Z(f)
jf
Charge Loop Filter
VCO
PFD Pump Impedance
Φdiv[k]
1
N
Divider
XOR-based PD provides factor of two higher gain than a
tristate PFD
- Key issue: carries an overall noise penalty since the charge
pump is never gated off (i.e., generates long pulses)
- XOR PD rarely used due to its noise penalty 54
Key Issue of Tristate PFD: Charge Pump Mismatch
Up(t) Icp+ε
1 D Q
Ref(t)
RC
reset
Network
Down(t) Iin
1 D Q
Div(t)
Reg Icp
2π
Φref(t) - Φdiv(t)
-2π
Tristate PFD Nonlinearity
at origin
Up(t) -I
1 D Q VCO
Ref(t) Vtune(t) Out(t)
reset
IIN
1 D Q R1
Div(t) C1
Down(t)
Reg C2
Divider
Σ−Δ Quantization Noise
N[k] M.F
f
Significant analog design effort is often required to avoid this issue 56
Summary of Charge Pump PLL Issues
up(t)
1 D Q
ref(t) vtune(t)
reset
1 D Q R1
div(t) C1
down(t)
Reg C2
Divider
Up(t) Ipump
1 D Q
Ref(t)
RC
reset
Network
Down(t)
1 D Q
Div(t)
Reg Ipump
VCO
Vtune(t) Out(t)
Remaining
Loop Filter
C1 C2
1
Up(t)
Ref(t) High R1
Gain
PD Down(t)
C1 Vc1(t)
Div(t)
-1
Develop a PD with reduced phase error range in which
Up/Down pulses vary in width in opposite directions
- Need an appropriate loop filter topology that properly leverages
the reduced PD range for higher PD gain
60
Key Implementation Detail: Use Switched Resistor
2
avg{Vc1(t)}
Ref(t)
1
Div_4x(t)
-2 /8
error
Up(t) 8 2 /8
PD Gain =
2
Down(t) -1
1
Up(t)
Ref(t) High R1
See also:
Hedayati, Bakkaloglu Gain
PD Down(t)
RFIC 2009 C1 Vc1(t)
Div(t)
-1
Down(t)
Up(t)
D Q D Q D Q D Q D Q
Ref(t) Q Q Q Q Q
Div_4x(t)
Phase Detector Characteristic
Ref(t)
avg{Up(t) - Down(t)}
Tref
Div_4x(t) 1
Up(t) error
-1
Down(t)
Tdiv
2
Tdiv Tref
Use 4X higher divider frequency PD Gain =
1 Tref
2 =
8
Down(t)
Up(t)
Last(t)
D Q D Q D Q D Q D Q Short Pulse
Ref(t) Generator
Q Q Q Q Q
Div_4x(t)
Phase Detector Characteristic
Ref(t)
avg{Up(t) - Down(t)}
Tref
Div_4x(t) 1
Up(t) error
-1
Down(t)
Tdiv
2
Mid(t) Tdiv Tref
1 Tref 8
PD Gain = 2 =
Last(t) 2 Tdiv 2
63
What If We Use A Charge Pump with the High Gain PD?
Up(t) Ipump
Ref(t) High
RC
Gain
PD Network
Down(t)
Div(t)
Ipump
Ref(t) avg{Up(t)-Down(t)}
1
Div_4x(t)
-2
error
Up(t) 2 2
PD Gain =
2
Down(t) -1
Regulated Vdd
R3
Ref(t) Up(t) Vtune(t)
High
R1 R2
Gain
Div_4x(t) Phase Down(t)
Detector Cf
Vc1(t) C1 C2 C3
Gnd
Ref(t)
Div_4x(t) DC Gain = 1
Up(t) H(w)
Down(t) Cf
Cf +C3
Capacitive feedforward path
provides stabilizing zero
Design effort is simply choosing wz
w
switch sizes and RC values 66
The Issue of Reference Spurs
Regulated Vdd
R3
Ref(t) Up(t) Vtune(t)
High
R1 R2
Gain
Div_4x(t) Phase Down(t)
Detector Cf
Vc1(t) C1 C2 C3
Gnd
Ref(t)
Div_4x(t) Ripple from Up/Down
Up(t) pulses passes through
Down(t) to VCO tuning input
Vc1(t)
Tperiod/Ton
Tperiod
Pulse_On(t)
Tperiod
R_eff < R
R/4 R/4 R/4 R/4 Ton
Cp Cp Cp Cp Cp Cp
out(t)
out(t) Latch Latch
out
D Q D Q
pulse_width_2x = 0 out(t) ck ck
clk
pulse_width_2x = 1 Latch Latch
Q D Q D modin
ck ck
con modout
pulse_width_2x
Divide-By-2/3 Stage Divide-By-2/3 Stage Divide-By-2/3 Stage
Vdd
in(t) clk out clk out clk out
modout modin modout modin modout modin
con con con
Mid(t)
Down(t)
Up(t)
Last(t)
D Q D Q D Q D Q D Q Short Pulse
Ref(t) Generator
Q Q Q Q Q
Div_4x(t)
Ref(t)
Short pulses from divider
Tref output are used to clock
Div_4x(t)
the PD registers
Up(t) PD state is used to gate
Down(t) divider output every 4
Tdiv cycles to form Last pulse
Mid(t)
Last(t)
- Lower pulse frequencies
can also be implemented
72
Switched Resistor Achieves PLL Zero with Low Area
Last(t)
Tperiod
Regulated Vdd Mid(t)
R3/2 R3/2
Up(t)
R1 R2/2 R2/2 Ton
Vtune(t)
Down(t)
Cf
Vc1(t) C1 C2 C3
Gnd
- Required R = 16 MegaOhms
f
3_eff w
wz
Large area
Example: Proper choice of Ton and Tperiod allows
R3_eff = 16 MegaOhms to be achieved with R3 = 500 kOhms!
73
Overall Design of Loop Filter
R3_eff
Cf
C1 C2 C3
PD Supply
Gain Gain H(s) VCO
Φref(t) α Vdd Vlf(t) Vtune(t) Φout(t)
1 + s/wz 2π Kv
2π 2 (1 + s/wp1)(1 + s/wp2)(1 + s/wp3) s
Φdiv(t)
1
Nnom
1
1 1
H(f) fz fp2
2πR3_effCf 2πβ1R1_effC1
Cf 1 1
Cf + C3 fp1 fp3
2πR3_eff(Cf +C3) 2πβ2R1_effC1
Overall PLL Unity Gain Examples: (assume C1 = C2)
Crossover Region
R2_eff = R1_eff β1=0.38, β2=2.62
f R2_eff = 2R1_eff β1=0.29, β2=1.7
fp1 fz fp2 fp3
Apply standard transfer function analysis to achieve desired PLL
bandwidth and phase margin 74
Noise Analysis (Ignore Parasitic Capacitance of Resistors)
Nonlinearity is caused by
- Exponential response of
Ref(t)
Div_4x(t)
RC filter to pulse width
Up modulation
Down
- Variation of Thold due to
Sigma-Delta dithering of
Ton Thold divide value
Tperiod Note: to avoid additional
Vc1
Vc1[k-1] Vc1[k] Vc1[k+1] nonlinearity, design divide
value control logic to keep
Ton a constant value
76
Nonlinearity Due to Pulse Width Modulation
Vdd
Ref(t) Up
Phase
R1 R2/2
Detector
& Down
Div_4x(t)
Pulse Gen Vc1 C1 Pulse width modulation
Gnd nonlinearity is reduced as
Ref(t) ratio T/(R1C1) is reduced
Div_4x(t) - If T/(R C ) is small:
1 1
Up
Down
Thold Ton
Ton/2+ΔT Ton/2-ΔT
- This implies nonlinearity
Vc1
is reduced with lower
Vc1[k-1] Vc1[k] PLL bandwidth
77
Key Design Issue: Folded Noise versus Other Noise
Other PLL
Noise Sources
Folded Sigma-Delta
Quant Noise
79
Capacitive Divider Sets Instantaneous Voltage Range
Pulse_Last
Pulse_Mid
Vdd
Ref(t) R3/2 R3/2
Up Out
Phase
R1 R2/2 R2/2
Detector
& Down
Div_4x(t) Cf
Pulse Gen Vc1 C1 C2 C3
Gnd
Phase Detector and Supply Gain Characteristic
AC Gain
avg{Vc1(t)} α Vdd
gain = Cf
2π 2 =
Vdd C3+Cf Vdd
Instantaneous
Out range
Cf
= Vdd
C3+Cf
Gnd Φref-Φdiv Gnd
Ref(t)
Count
Charge Low(t)
vtune
0.5
charge_high
charge_low
0
0 10 20 30 40 50 60 70 80 90 100
Time (microseconds)
source: www.ecliptek.com
Temp Temp
5 MHz 750-900 MHz
Digital
Frequency Setting
High resolution control of fractional-N synthesizer allows
simple method of compensating for MEMS frequency
variation with temperature
- Simply add temperature sensor and digital compensation logic 85
Why Use An Alternative Fractional-N PLL Structure?
Freq Error (ppm) Freq Error (ppm)
Temp Temp
5 MHz 750-900 MHz
Digital
Frequency Setting
Want to achieve low area, low power, and low design complexity
Switched resistor PLL provides a nice solution
for this application space
86
CMOS and MEMS Die Photos Show Low Area of PLL
Active area:
- VCO & buffer & 2
bias: 0.25mm
- PLL (PFD, Loop
Filter, divider):
0.09 mm2
- Output divider:
0.02 mm2
External supply
- 1.8/3.3V
Current (20 MHz
output, no load)
- ALL: 3.2/3.7mA
- VCO: 1.3mA
- PLL & Output
Divider: 0.7mA 87
Measured Phase Noise (100 MHz output)
-90 dBc/Hz
-140 dBc/Hz
Integrated Phase Noise:
17 ps (rms) from 1 kHz to 40 MHz
100 Hz 30 kHz 40 MHz
-80
-90
Phase Noise (dBc/Hz)
MEMS
VCO
-100
-110 S-D
-120 Loop
Filter
-130
-140 Output
Buffer
-150
-160
100 1k 10k 100k 1M 10M 40M
Frequency Offset from Carrier (Hz)
Note that loop filter noise is well below other PLL noise sources
89
Simulated Impact of Switched Resistor Nonlinearity
Simulated Phase Noise Impact of S-D Noise Folding (100 MHz carrier)
-90
Overall Phase Noise
-100
Phase Noise (dBc/Hz)
-110
-120
simulated
simulated
-130 ideal
ideal
3rd order S-D
-140 2nd order S-D
-150
1k 10k 100k 1M 3M
Frequency Offset from Carrier (Hz)
Noise folding below other PLL noise sources
- More significant for third order Sigma-Delta 90
Frequency Variation After Single-Temperature Calibration
50
40
6600 Parts
Frequency V ariation (PPM)
30
20
10
-10
-20
-30
-40
-50
-50 0 50 100
Temperature (degC)