You are on page 1of 94

Phase locked loop frequency synthesizers

Analog Integrated Circuit Design


A video course under the NPTEL

Nagendra Krishnapura

Department of Electrical Engineering


Indian Institute of Technology, Madras
Chennai, 600036, India

National Programme on Technology Enhanced Learning

Nagendra Krishnapura Phase locked loop frequency synthesizers


Outline

Phase locked loop (PLL) requirements


PLL frequency multiplier
Derivation
Phase model
Type I PLL
Practical phase detectors
Type I PLL limitations
Type II PLL
Feedback systems and stability
Type II PLL
LC oscillator
Programmable frequency divider

Nagendra Krishnapura Phase locked loop frequency synthesizers


Phase locked loops

Frequency synthesizers in radios for local oscillators


Frequency multiplication for reference clock generation
Phase alignment

Nagendra Krishnapura Phase locked loop frequency synthesizers


Local oscillator requirements
10kHz interchannel spacing
bandwidth
channel
Broadcast AM band spacing 0.15MHz Broadcast FM band
0.2MHz

1610kHz
fc
530kHz

88MHz

88.2MHz

108MHz
5kHz
channel channel
spacing spacing
0.2MHz 0.2MHz
GSM uplink band GSM downlink band
890MHz

935MHz
890.2MHz

935.2MHz
915MHz

960MHz
Tuned to the desired channel frequency plus an
intermediate frequency (IF)
Generate equally spaced frequencies from a reference
frequency
Waveform shape not very important
Spurious output and noise must be sufficiently low
Nagendra Krishnapura Phase locked loop frequency synthesizers
Frequency divider

Vref

R(N-1)
fref fref/N
Vref/N N
R frequency
divider

Digital frequency divider can generate multiple frequencies


Frequencies not equally spaced
Reference frequency higher than output frequencies

Nagendra Krishnapura Phase locked loop frequency synthesizers


Voltage multiplier
voltage difference
zero, at steady state
Vref K1Vctl+Vo Vout
+ Σ K2 dt +
- Vctl + R

Vout/N -

R(N-1)

Vout/N = Vref at steady state


A controlled source to generate the output voltage
Divided output voltage subtracted from the reference to
generate error
Output source controlled by the integral of the error
Nagendra Krishnapura Phase locked loop frequency synthesizers
Frequency multiplier

frequency difference
zero, at steady state
cos(2πfreft) fref Vctl KvcoVctl+fo
frequency cos(2πfoutt) slope = Kvco
measure + Σ K2 dt
fout
-
fout/N fo
frequency
measure N
Vctl
cos(2πfout/N t)

fout/N = fref at steady state

A controlled source to generate the output frequency


A voltage controlled oscillator
Divided output frequency subtracted from the reference
frequency to generate error
Output source controlled by the integral of the frequency
error

Nagendra Krishnapura Phase locked loop frequency synthesizers


Phase and frequency

Sinusoid: cos(θ(t))
Phase: θ(t)
1 dθ(t)
Instantaneous frequency: fi = 2π dt
Typically expressed as fi = fo + fe (t)
fo : average frequency
fe : instantaneous frequency error
R
Phase θ(t) = 2πfo t + Φo + 2π fe (t)dt
Phase θ(t) = 2πfo t + Φo + φ(t)
Φo : phase offset-ideal ramp versus time
φ(t): instantaneous phase

Nagendra Krishnapura Phase locked loop frequency synthesizers


Phase error
70
ideal phase
error
60 phase with error

50

40

30

20

10

−10
0 2 4 6 8 10

Nagendra Krishnapura Phase locked loop frequency synthesizers


Frequency multiplier
phase difference

cos(2πfreft) fref Vctl KvcoVctl+fo


frequency cos(2πfoutt)
measure K2 dt + Σ
-

dt
K2
fout/N = fref at steady state fout/N
frequency
measure N

cos(2πfout/N t)

Integration before subtraction


Integral of the frequency is phase
Integrator+subtractor measures phase difference between
the reference input and the divided output (feedback)

Nagendra Krishnapura Phase locked loop frequency synthesizers


Frequency multiplier—Phase locked loop

Vctl = Kpd(φref-φout/N)

cos(2πfreft+φref) Vctl KvcoVctl+fo


phase cos(2πfoutt)
detector

cos(2πfout/N t + φout/N)
fout/N = fref at steady state

Use a phase detector to generate the control voltage

Nagendra Krishnapura Phase locked loop frequency synthesizers


Voltage controlled oscillator
slope = Kvco
fout
Vctl fout=KvcoVctl+fo fo

Vctl

2πfot

Vctl + θvco
+
2πKvco dt Σ

fvco = fo + Kvco Vctl


fo : Free running frequency
R
θvco = 2πfo t + 2πKvco Vctl dt
Kvco : VCO gain in Hz/V
Nagendra Krishnapura Phase locked loop frequency synthesizers
Phase detector

φ1 Kpd(φ1-φ2)
phase
φ2 detector
Kpd: phase detector gain
Kpd : Phase detector gain in V/radian
Ideal phase detector: assumed to have an output
Vpd = Kpd (φ1 − φ2 )

Nagendra Krishnapura Phase locked loop frequency synthesizers


Phase locked loop model
2πfot

2πfreft+Φref Vctl + 2πfout t+Φout


+
+ Σ Kpd 2πKvco dt Σ
-

2πfout/N t+Φvco/N
1/N

Vctl = 2π(fref-fout/N)t + Φref - Φout/N


At steady state, fref=fout/N; Vctl = Φref - Φout/N

Modelled in terms of phases of signals


At steady state (lock), Vctl is a constant ⇒ fref = fout /N
The loop locks with
Vctl = Kpd (Φref − Φout /N) = (Nfref − fo )/Kvco —This is the
“operating point” of the circuit

Nagendra Krishnapura Phase locked loop frequency synthesizers


Phase locked loop model

2πfot

2πfreft+Φref+φref Vctl+vctl + 2πfout t+Φout+φout


+
+ Σ Kpd 2πKvco dt Σ
-

1/N
2πfout/N t+Φout/N+φout/N

An increment φref in the input phase causes increments


φout , vctl

Nagendra Krishnapura Phase locked loop frequency synthesizers


Phase locked loop model—incremental picture

φref vctl φout


+ Σ Kpd 2πKvco dt
-

φout/N
1/N

An increment φref in the input phase causes increments


φout , vctl
Type-I loop—One integrator in the loop
“Phase model” of the PLL

Nagendra Krishnapura Phase locked loop frequency synthesizers


Phase locked loop model—frequency domain

φref(s) vctl(s) 2πKvco φout(s)


+ Σ Kpd
s
-

φout(s)/N
1/N

Loop gain L(s) = 2πKpd Kvco /Ns


Transfer function
φout (s)/φref (s) = N/(1 + Ns/(2πKpd Kvco ))
Type-I loop—One integrator in the loop
Closed loop bandwidth (= unity loop gain frequency)
= 2πKpd K vco/N rad/s

Nagendra Krishnapura Phase locked loop frequency synthesizers


Type-I PLL—limitations

Phase error when locked (fout = Nfref ):


Φref − Φout /N = (Nfref − fo )/Kvco Kpd
dc value of Kpd matters; We have a constant Kpd
|Φref − Φout /N| < 2π ⇒ |fout − fo | < 2πKpd Kvco
Lock range limited by periodicity of phase detector
Period of all phase detectors not necessarily ±2π
Commonly used three state phase detector periodic with
±2π
Kpd Kvco large for wide lock range

Nagendra Krishnapura Phase locked loop frequency synthesizers


Phase detector

Frequency divider output has a varying duty cycle


Phase detector should sensitive to duty cycle
XOR gate etc. are not preferable
Phase detector should be sensitive only to rising edges (or
only to falling edges) of inputs

Nagendra Krishnapura Phase locked loop frequency synthesizers


Tri state phase detector

1 QA
A A D Q
A
ref RST
B -1 0 +1 A
B RST
div
QB
B B 1
D Q

output=QA-QB

Output +1, −1, 0


+1 if reference leads divider output
−1 if reference lags divider output
0 if reference coincides with divider output

Nagendra Krishnapura Phase locked loop frequency synthesizers


Tri state phase detector-waveforms

Tref Tref

+1 +1
A -1
A -1

+1 +1
B B
-1 -1

+1 +1
QA QA
+1 +1
QB QB

Φref-Φdiv Φdiv-Φref

A leading B A lagging B

Flip flops assumed to be reset instantaneously

Nagendra Krishnapura Phase locked loop frequency synthesizers


Tri state phase detector-frequency difference between
inputs

1 QA
A A D Q
A
ref RST
B -1 0 +1 A
B RST
div
QB
B B 1
D Q

output=QA-QB

fA > fB : Eventually get two consecutive edges of A


Circulates between 0 and +1 states: Average output > 0
Similarly, average output > 0 for fA < fB
This detector is a phase/frequency detector (PFD)

Nagendra Krishnapura Phase locked loop frequency synthesizers


Tri state phase detector output
Tref
+1
reference
-1
reference
Tri-state pdout
+1 phase
divider o/p
divider o/p detector
-1

+1
pdout Average value = ∆Φ/π
-1 Tref Output periodic at fref

∆Φ = Φref-Φdiv

∞  
∆Φ X n∆Φ
Vout (f ) = sinc δ(f − nfref )
2π n=−∞ 2π
∞  
∆Φ ∆Φ X n∆Φ
Vout (t) = + sinc cos(2πnfref t)
2π π 2π
n=1

Nagendra Krishnapura Phase locked loop frequency synthesizers


Tri state phase detector

Output average value = ∆Φ/2π


Kpd = 1/2π
Phase detector offset = 0
Loop locks with ∆Φ = Φref − Φout /N = 0 for Nfref = fo
Input range = ±2π
PLL lock range = fo − 2πKpd Kvco < fout < fo + 2πKpd Kvco
Output contains fref and its harmonics
P
Output = 1/2π (∆Φ + n an cos(2πnfref t))
Periodic signal in addition to Kpd ∆Φ
All real phase detectors have a periodic “error” in addition to the
“dc” term proportional to phase error

Nagendra Krishnapura Phase locked loop frequency synthesizers


Phase detector-Output spectrum
∆Φ=π/2
0.6

0.4

0.2

−0.2
0 2 4 6 8 10

∆Φ=π/8
0.5

−0.5
0 2 4 6 8 10
f/fref

Nagendra Krishnapura Phase locked loop frequency synthesizers


PLL with tri state phase detector—periodic error
Σn ancos(2πnfreft) ("error")

φref + vctl φout


+ Σ + Σ Kpd 2πKvco dt
-

φvco/N
1/N

Error e(t) added to the input of the phase detector


Disturbances in the VCO output phase φout (t) even with a
perfect reference (φref (t) = 0)
VCO output: cos(2πNfref t + NΦref + φout (t))
VCO output not periodic at Nfref
Nagendra Krishnapura Phase locked loop frequency synthesizers
Phase error
70
ideal phase
error
60 phase with error

50

40

30

20

10

−10
0 2 4 6 8 10

Nagendra Krishnapura Phase locked loop frequency synthesizers


PLL with tri-state phase detector—frequency domain

E(s) E(j2πf) = Σn an/2 δ(f±nfref)

φref(s) + vctl(s) 2πKvco φout(s)


+ Σ + Σ Kpd
s
-

φvco(s)/N
1/N

φref(s) = 0 for a perfectly periodic reference

Transfer function from the error to the output


φout (s)/E(s) = φout (s)/φref (s) = N/(1 + Ns/(2πKpd Kvco ))
P
E(j2πf ) = n (an /2)δ(f ± nfref )

Nagendra Krishnapura Phase locked loop frequency synthesizers


Type-I PLL

φout (s) φout (s)


=
E(s) φref (s)
2πKpd Kvco /Ns
= N
1 + 2πKpd Kvco /Ns
1
= N
1 + sN/2πKpd Kvco

Loop gain
2πKpd Kvco
L(s) =
Ns
Closed loop bandwidth (Hz)
Kpd Kvco
f−3dB =
N
Nagendra Krishnapura Phase locked loop frequency synthesizers
Type I PLL

dB

loop gain |L|

2πKpdKvco/N
ω
L/(1+L)
|φout/φref|
dB
20log(N)
ω
2πKpdKvco/N

(loop bandwidth)

Nagendra Krishnapura Phase locked loop frequency synthesizers


Feedback system

In our system,

φout (s) 2πKpd Kvco /Ns


= N
E(s) 1 + 2πKpd Kvco /Ns

In general, in a feedback system with a loop gain L(s)

L(s)
Hclosedloop (s) = Hideal (s)
1 + L(s)

Where Hideal (s) is the ideal closed loop gain (with L = ∞). This
can be approximated as

Hclosedloop (s) = Hideal (s)L(s) |L| ≪ 1


= Hideal (s) |L| ≫ 1

Nagendra Krishnapura Phase locked loop frequency synthesizers


PLL with tri state phase detector—Output signal
Considering only the term at fref , and b1 ≪ 1

Vout (t) = cos(2πNfref t + b1 sin(2πfref t))


= cos(2πNfref t) cos(b1 sin(2πfref t))
− sin(2πNfref t) sin(b1 sin(2πfref t))
≈ cos(2πNfref t) − b1 sin(2πfref t) sin(2πNfref t)
= cos(2πNfref t)
−b1 /2 cos(2π(N − 1)fref t)
−b1 /2 cos(2π(N + 1)fref t)

Spurious tones in the output at a spacing of ±fref from the


desired frequency—“Reference feedthrough”
In general, spurious tones will be present at ±nfref from the
desired PLL output
Nagendra Krishnapura Phase locked loop frequency synthesizers
Reference feedthrough

b1 = a1 |H(j2πfref )|

Kpd Kvco /jNfref
= a1 N

1 + Kpd Kvco /jNfref

Kpd Kvco
≈ a1 N

jNfref
Nf−3dB ∆Φ
= 2∆Φ sinc
fref 2π

Maximum value of b1 = 4Kpd Kvco when ∆Φ = π

Nagendra Krishnapura Phase locked loop frequency synthesizers


Reference feedthrough—example

To generate 1 GHz from 1 MHz reference


b1 /2 = 10−2 (spurious tones at (N ± 1)fref 40 dB below the
fundamental output at Nfref )
N = 103
∆φ = π (locked with a phase shift of π)
f−3dB /fref = 5 × 10−6 ⇒ f−3dB = 5 Hz
Lock range = 2πNf−3dB ≈ 10π kHz
Lock range is too small; Can’t switch to the next channel
which is 1 MHz away!
May not be able to lock for any value of N, unless the free
running frequency happens to be Nfref for some N

Nagendra Krishnapura Phase locked loop frequency synthesizers


Type I phase locked loop

In steady state, output signal at fout


Vctl = (fout-ffree)/Kvco (fout=Nfref at
input signal steady state)
at fref
Kpd∆Φ Vctl
Kpd
∆Φ = Φref-Φout/N
phase VCO
detector
In steady state,
∆Φ = (fout-ffree)/KvcoKpd N

frequency
divider

∆Φ = 0 if fout happens to be equal to fref . Zero spurs!

Nagendra Krishnapura Phase locked loop frequency synthesizers


Changing the free running frequency of a VCO

Voff
Vctl (ffree+KvcoVoff)+KvcoVctl Vctl ffree’+KvcoVctl
Σ

VCO VCO
ffree’ = ffree+KvcoVoff

Add a bias to the input to change the free running


frequency

Nagendra Krishnapura Phase locked loop frequency synthesizers


Slowly change the bias until ∆φ = 0

monitor ∆Φ and
continuously adjust
Voff until ∆Φ=0
+ output signal at fout

(fout=Nfref at
input signal steady state)
at fref Voff
Kpd∆Φ
Kpd Σ
∆Φ = Φref-Φout/N
phase ffree’ VCO
detector
N

frequency
divider

Slowly change the bias Voff until ∆φ = 0

Nagendra Krishnapura Phase locked loop frequency synthesizers


Slowly change the bias until ∆φ = 0

integral
phase
detector In steady state,
Kpd,I ∆Φ dt Voff = (fout-ffree)/KvcoKpd
∆Φ Kpd,I dt
output signal at fout
(fout=Nfref at
input signal steady state)
at fref Voff
Kpd∆Φ
Kpd Σ
∆Φ = Φref-Φout/N
phase ffree’ VCO
detector
In steady state,
∆Φ = 0 N

frequency
divider

Measure ∆φ and integrate it to control Voff

Nagendra Krishnapura Phase locked loop frequency synthesizers


Type II Phase locked loop

phase detector + loop filter


integral
phase
detector
Kpd,I ∆Φ dt
∆Φ Kpd,I dt
output signal at fout
proportional (fout=Nfref at
input signal phase steady state)
at fref detector
Kpd∆Φ
Kpd Σ
∆Φ = Φref-Φout/N
VCO

In steady state,
∆Φ = 0 N

Proportional + integral loop filter

Nagendra Krishnapura Phase locked loop frequency synthesizers


Type II PLL with a tri state phase detector

Lock range is not limited by the phase detector


Loop locks with zero phase difference between reference
and feedback signals
Tri state phase detector output is zero for zero input phase
difference ⇒ No reference feedthrough!
Reference feedthrough does exist in reality due to
mismatches

Nagendra Krishnapura Phase locked loop frequency synthesizers


Type II PLL—phase model

zero at
steady state 2πfot
Kpd,I dt
2πfreft+Φref + Vctl + 2πfout t+Φout
+
+ Σ Σ 2πKvco dt Σ
- +
Kpd

2πfout/N t+Φout/N
1/N

dVctl/dt α 2π(fref-fout/N)t + Φref - Φout/N


At steady state, fref=fout/N; Φref - Φout/N = 0;

Proportional + integral loop filter

Nagendra Krishnapura Phase locked loop frequency synthesizers


Type II PLL—incremental model

zero at
steady state
Kpd,I dt
2πfreft+Φref + Vctl 2πfout t+Φout
+ Σ Σ 2πKvco dt
- +
Kpd

2πfout/N t+Φout/N
1/N

dVctl/dt α 2π(fref-fout/N)t + Φref - Φout/N


At steady state, fref=fout/N; Φref - Φout/N = 0;

Proportional + integral loop filter

Nagendra Krishnapura Phase locked loop frequency synthesizers


Type II PLL—incremental model

Kpd,I
s
φref(s) + vctl(s) 2πKvco φout(s)
+ Σ Σ
s
- +
Kpd

φout(s)/N
1/N

Proportional + integral loop filter

Nagendra Krishnapura Phase locked loop frequency synthesizers


Type II PLL—Frequency domain

p1 > 2πKpdKvco/N
Kpd,I more poles can be used
s
φref(s) + vctl(s) 1 Vctl 2πKvco φout(s)
+ Σ Σ
1+s/p1 s
- +
Kpd

φout(s)/N
1/N

Nagendra Krishnapura Phase locked loop frequency synthesizers


Type II PLL—Implementation

Tref
reference
iout reference
iout
+1 tri-state tri-state
phase phase
reference
-1 divider o/p
detector + divider o/p
detector
+
R1 proportional R1
∆Φ = Φref-Φdiv proportional
output
+1 + integral
divider o/p -
output
-1 C1
reference
iout
tri-state
+Icp phase
pdout -
divider o/p
detector +
-Icp C1 integral
output
proportional +IcpR
output
-
-IcpR

integral
slope=Icp/C
output

Phase detector with a current output (±Icp )


Integral term Kpd,I /s: Current flowing into a capacitor C1
Proportional term Kpd : Current flowing into a resistor R1
Series RC to obtain the sum
Kpd = Icp R1 /2π; Kpd,I = Icp C1 /2π

Nagendra Krishnapura Phase locked loop frequency synthesizers


Tri state phase detector with charge pump

Vdd

Icp

1 QA (UP)
D Q
A
ref RST iout

+
B RST R1
div proportional
QB (DN) + integral
D Q output
1
C1
Icp -

QA and QB drive a charge pump


Charge driven into the loop filter Icp Tref ∆Φ/2π

Nagendra Krishnapura Phase locked loop frequency synthesizers


Tri state phase detector implementation example

1
D Q CLK Q
CLK RST

D latch with reset and D="1"

CLK S Q Q
R Q

Q S RESET
Q R

(D input with "1" implicit)


Realization using SR latches
RESET
Realization using NOR gates

D flip flops with reset implemented using SR latches

Nagendra Krishnapura Phase locked loop frequency synthesizers


Tri state phase detector-reset path delay

Tref Tref

+1 +1
A -1
A -1

+1 +1
B B
-1 -1

+1 +1
QA QA
+1 +1
QB QB
QA and QB
∆Φ = Φref-Φdiv
simultaneously
on
A leading B A lagging B

QA and QB simultaneously high for a short duration


QA − QB proportional to ∆Φ

Nagendra Krishnapura Phase locked loop frequency synthesizers


Tri state phase detector-current source mismatch
Vdd phase offset
in steady state
∆Φ = Φref-Φdiv
Icp+δIcp/2
+1
1 QA (UP) A -1
D Q
Tref
A
ref RST iout +1
R1 C2 B
-1

B RST QA
div QB
QB (DN)
D Q Trst
1 Icp+δIcp/2
Itop
Icp-δIcp/2 Icp-δIcp/2
Ibot
C1
iout
-δIcp
(zero average)

Ideally ∆Φ = 0 in a type-II loop ⇒ no ref. feedthrough


Mismatch between top and bottom current sources and
switching transients causes a non zero ∆Φ and reference
feedthrough
Current pulse area ∝ δIcp Trst much smaller than in a Type I
PLL (area ∼ Icp Tref )
Nagendra Krishnapura Phase locked loop frequency synthesizers
Type II PLL with a tri state phase detector

Σn ancos(2πnfreft+αn) ("error")
Kpd,I dt

φref + + vctl φout


+ Σ + Σ Σ 2πKvco dt
- +
Kpd
φout/N
1/N

Loop locks with a small phase offset (due to mismatch)


between φref and φvco /N for all frequencies
Error E(t)
P is periodic at fref :
E(t) = ∞ n=1 an cos(2πnfref t + αn )
Amplitude of E(t) related to mismatch; much smaller than
in a type-I PLL

Nagendra Krishnapura Phase locked loop frequency synthesizers


Type II PLL with a tri state phase detector-Frequency
domain

E(j2πf) = Σn an ejαn δ(f-nfref)


E(s) Kpd,I
s
φref + + vctl 2πKvco φout
+ Σ + Σ Σ
s
- +
Kpd
φout/N
1/N

Nagendra Krishnapura Phase locked loop frequency synthesizers


Type II PLL—Additional attenation poles

zero at poles beyond


steady state 2πKpdKvco/N 2πfot
Kpd,I dt
2πfreft+Φref + Vctl + 2πfout t+Φout
+
+ Σ Σ filter 2πKvco dt Σ
- +
Kpd

2πfout/N t+Φout/N
1/N

dVctl/dt α 2π(fref-fout/N)t + Φref - Φout/N


At steady state, fref=fout/N; Φref - Φout/N = 0;

Additional poles beyond the unity loop gain frequency to


reduce reference feedthrough

Nagendra Krishnapura Phase locked loop frequency synthesizers


Type II PLL—Additional attenation poles

p1 > 2πKpdKvco/N
Kpd,I more poles can be used
s
φref(s) + vctl(s) 1 Vctl 2πKvco φout(s)
+ Σ Σ
1+s/p1 s
- +
Kpd

φout(s)/N
1/N

Additional poles beyond the unity loop gain frequency to


reduce reference feedthrough

Nagendra Krishnapura Phase locked loop frequency synthesizers


Type II PLL—Additional attenation poles

Vdd

Icp

1 QA (UP)
D Q
for two
A
ref RST iout extra poles

B RST R1 R2
div
QB (DN)
D Q
1
C1 C2 C3
Icp

for one
extra pole

Extra RC sections for additional poles


Must be sufficiently beyond the unity loop gain frequency
to ensure sufficient phase margin

Nagendra Krishnapura Phase locked loop frequency synthesizers


Noise sources in a PLL
Kpd,I vnc φvco
s
φref + 2πKvco φout
+ Σ Σ Σ
s
Σ
- +
Kpd

φout/N
1/N

Noise can be added as φref (reference phase noise,


charge-pump noise, divider output phase noise) or
vnc (loop filter noise) or φvco (VCO phase noise)
Need to compute transfer functions from each of these
noise sources to φout
Nagendra Krishnapura Phase locked loop frequency synthesizers
Type-II PLL: transfer functions

ωu,loop z1
 
s
L(s) = 1+
s s z1
2πKpd Kvco Icp RKvco
ωu,loop = =
N N
Kpd,I 1
z1 = =
Kpd RC
φout (s) 1 + s/z1
= N
φref (s) 1 + s/z1 + s2 /z1 ωu,loop
φout (s) N s/z1
=
Vnc (s) Kpd 1 + s/z1 + s2 /z1 ωu,loop
φout (s) s2 /z1 ωu,loop
=
φvco (s) 1 + s/z1 + s2 /z1 ωu,loop

Nagendra Krishnapura Phase locked loop frequency synthesizers


Type-II PLL: transfer functions

L(s) 1 + s/z1
=
1 + L(s) 1 + s/z1 + s2 /z1 ωu,loop

Two poles and a zero


Zero z1 = Kpd,I /Kpd
p
Natural frequency ωn = 2πKpd,I Kvco /N
p p
Quality factor Q = z1 /ωu,loop = NKpd,I /2πKvco /Kpd
p
Damping factor ζ = 1/2Q = 1/2 ωu,loop /z1
For well separated (real) poles (z1 ≪ ωu,loop ),
p1 ≈ z1 + z12 /ωu,loop ≈ z1 , p2 ≈ ωu,loop − z1 ,
Pole zero doublet {p1 , z1 }; p1 at a slightly higher frequency
than z1

Nagendra Krishnapura Phase locked loop frequency synthesizers


Type-II PLL: transfer functions
5

−5
1/N|φout/φref| [dB]

1
−10
0

−15 −1 −3 −2 −1 0
10 10 10 10

−20 ζ=4.08
ζ=0.3162
ζ=1
−25 −3 −2 −1 0 1
10 10 10 10 10
ω/ω
u,loop

φout (s) 1 + s/z1


= N
φref (s) 1 + s/z1 + s2 /z1 ωu,loop

Peaking in |φout /φref | because of the zero


Damping factor ζ ≫ 1 to avoid peaking ⇒ slow settling
Nagendra Krishnapura Phase locked loop frequency synthesizers
Type-II PLL: transfer functions
PLL transfer functions
30

20

10
Magnitude response [dB]

−10

−20

−30

−40

−50 φ /φ
out ref
φ /v *1V
out nc
−60
φ /φ
out vco
−70 −2 −1 0 1 2
10 10 10 10 10
f/f
u,loop

(Example parameters:
N = 10, z1 = 0.1ωu,loop , N/Kpd = 2πKvco /ωu,loop = 25 V−1 )
|φout /φref |: Lowpass with a dc gain N
|φout /vnc |: Bandpass with peak gain N/Kpd = 25 V−1
|φout /φvco |: Highpass with a high frequency gain of 1

Nagendra Krishnapura Phase locked loop frequency synthesizers


Type-II PLL phase noise example
PLL phase noise components
−20

−40

−60

−80
dBc/Hz

−100

−120

−140 reference
ref. contribution to PLL
−160 VCO
VCO contribution to PLL
Total
−180 −2 −1 0 1 2
10 10 10 10 10
f/f
u,loop

(Example parameters:
N = 10, z1 = 0.1ωu,loop , N/Kpd = 2πKvco /ωu,loop = 25 V−1 )
Reference contribution dominant below 0.1ωu,loop
VCO contribution dominant above 0.1ωu,loop
VCO contribution reduced by the loop upto ωu,loop
Charge pump and loop filter noise ignored in the above
Nagendra Krishnapura Phase locked loop frequency synthesizers
Type-II PLL: Reference input

2πKpdKvco/N
|φout/φref|
dB, closed loop gain Sφ(f) dBc/Hz

Kpd,I/Kpd
20log(N)
ω ω

pole-zero
doublet at

2πKpdKvco/N
Kpd,I/Kpd
reference oscillator
phase noise

pll phase noise

φout (s) 1 + sKpd /Kpd,I


= N
φref (s) K
s2 N
+ s pd + 1
2π Kpd,I Kvco Kpd,I

Low pass response; Reference noise attenuated at high


frequencies
Low frequency gain of N, -3 dB bandwidth of 2πKpd Kvco /N
Pole zero doublet p1 ≈ z1 = Kpd,I /Kpd ; p1 at a slightly
higher frequency than z1
Nagendra Krishnapura Phase locked loop frequency synthesizers
Type-II PLL: Noise added to control node
dB, loop gain

|φout/Vctl|
dB(radians/V)
20log(N/Kpd)
ω ω

2πKpdKvco/N
2πKpdKvco/N
zero at Kpd,I/Kpd

Kpd,I/Kpd
+20dB/dec
-20dB/dec

φout (s) N sKpd /Kpd,I


=
Vctl (s) Kpd K
s2 N
+ s pd + 1
2π Kpd,I Kvco Kpd,I

radians/Volt
Bandpass response
Mid band gain of N/Kpd
Lower cutoff at Kpd,I /Kpd , Upper cutoff at 2πKpd Kvco /N
Nagendra Krishnapura Phase locked loop frequency synthesizers
Type-II PLL: VCO noise
vco phase noise
-30dB/dec.(1/f3)

2πKpdKvco/N
|φout/φvco|
dB Sφ(f) dBc/Hz
-20dB/dec.(1/f2)

Kpd,I/Kpd
pll phase noise
ω +20dB/dec ω
0dB

2πKpdKvco/N
Kpd,I/Kpd
+10dB/dec

N
s2
φout (s) 2π Kpd,I Kvco
=
φvco (s) N Kpd
s2 +s +1
2π Kpd,I Kvco Kpd,I

Second order highpass response


Feedback loop effectively inactive beyond 2πKpd Kvco /N

Nagendra Krishnapura Phase locked loop frequency synthesizers


Type-II PLL phase noise example

Sφ(f) dBc/Hz Sφ(f) dBc/Hz


total phase noise

due to vco
2πKpdKvco/N ω ω

2πKpdKvco/N
Kpd,I/Kpd

Kpd,I/Kpd
due to
reference oscillator

reference
dominated vco dominated

Nagendra Krishnapura Phase locked loop frequency synthesizers


LC oscillator

Nagendra Krishnapura Phase locked loop frequency synthesizers


LC oscillator
L L

C C

RP (GP) GP

-GN
GN ≥ GP
for sustained
oscillation
Lossless LC resonator sustains a sinusoidal voltage
indefinitely
LC resonator loss modeled using a parallel resistance Rp
Compensate the loss of a lossy LC resonator using a
parallel negative resistance √
Oscillation frequency fo = 1/2π LC
Nagendra Krishnapura Phase locked loop frequency synthesizers
LC resonator losses

L Rs,L C Rs,C
L

C
L C

RP=RP,L||RP,C

RP,L = (ωL)2/Rs,L≅ QL2 Rs,L RP,C = 1/(ωL)2Rs,C≅ QC2 Rs,C

Capacitor and Inductor series resistances represented by


equivalent parallel resistances
Effective Rp is a parallel combination of losses from all
components

Nagendra Krishnapura Phase locked loop frequency synthesizers


Negative resistance-implementation

GNv
+
v -GN
-
GNv

Transconductor GN connected in positive feedback

Nagendra Krishnapura Phase locked loop frequency synthesizers


Negative resistance-implementation

-gm/2
-gm/2

gmv/2 gmv/2

v/2 -v/2

gm gm
Itail Itail Itail

Cross coupled differential pair


Negative conductance = gm /2 where gm is the
transconductance of each MOS device

Nagendra Krishnapura Phase locked loop frequency synthesizers


LC oscillator

Vdd
L

GP
-gm/2

Itail

Parallel LC tank with cross coupled differential pair


This and its variants are the most commonly used
topologies of CMOS integrated oscillators

Nagendra Krishnapura Phase locked loop frequency synthesizers


LC oscillator-amplitude

Vdd
L vp-vn

C M1 on
M2 off
GP M1 off
vp vn M2 on
M1 M2

Itail

Complete switching of MOS devices assumed


Equivalent to a square wave current of amplitude I/2
driving the parallel LC tank

Nagendra Krishnapura Phase locked loop frequency synthesizers


LC oscillator-amplitude
sinusoid at fo
Vdd Vdd Vdd
I I I + v(t) -
L L L L

C C C C

GP GP GP GP
vp vn
M1 off M1 on
I/2 I/2 0 M2 on I I M2 off 0 I/2
"bias" point
I/2
vp-vn To
2I/π 2IRP/π
I/2
fundamental
driving component differential voltage
current

Nagendra Krishnapura Phase locked loop frequency synthesizers


LC oscillator-amplitude

Equivalent to a square wave current of amplitude I/2


driving the parallel LC tank
All components except the fundamental filtered out
Amplitude of the differential sinusoidal voltage = 2IRP /π

Nagendra Krishnapura Phase locked loop frequency synthesizers


LC oscillator-tunability

a b
a b

n+ p+ n+ n+
n- well n- well
p- p-
a b
a b

Tunable using a varactor


Reverse biased p-n junction
MOS device in accumulation—larger tuning range; more
popular in CMOS ICs

Nagendra Krishnapura Phase locked loop frequency synthesizers


Accumulation MOS varactor
a
b
a b
n+ n+ n+ n+ n+
n- well
p-

metal metal

Wfinger Wfinger
n+ n+ n+ n+ n+ n+ n+ n+ n+ n+

metal

Lfinger Lfinger

nMOS in n-well
Multi fingered structure to reduce gate, channel resistance
W ∼ few microns; L > Lmin to reduce parasitics
Gate contacts at both ends to further reduce resistance
Quality factor: 20+

Nagendra Krishnapura Phase locked loop frequency synthesizers


MOS varactor with differential excitation
ap
an
b

n+ n+ n+ n+ n+ n+ n+ n+ n+
n- well
p-

ap
an
b ap an

n+ n+
n- well b
p-

0V due to symmetry

Interdigitated fingers—alternate ones connected to ap and


an
Region between gates connected to ap and an at 0 V due
to symmetry
All n+ contacts except the ones at the end can be
removed [7]
Smaller structure, lower series resistance, and smaller
parasitic capacitances
Nagendra Krishnapura Phase locked loop frequency synthesizers
On chip inductors

via

Planar inductor on one of the metal layers


Top level metal preferred
Farther from the substrate
Smaller parasitic capacitance
Lesser coupling to substrate, and hence, loss
Thicker top level metal (∼ 2 µm) available in mixed signal
processes
Inductor values up Krishnapura
Nagendra to a couple of locked
Phase tensloopoffrequency
nH practical
synthesizers on
Inductor loss mechanisms
distributed model: more sections can be added
C

L RS
1 2 1 2

C1 C2

R1 R2

substrate substrate

Winding resistance
R2 L/W
Effective R2 larger due to skin √
effect
Copper: 2 µm skin depth (∝ 1/ f ) at 1 GHz
Capacitive coupling to substrate and its resistance
Inductive coupling to (resistive) substrate
Quality factors upto 15 possible, typically 8-10
Use adequate thickness and number of vias during layout

Nagendra Krishnapura Phase locked loop frequency synthesizers


Differential inductor
vias

via via

Symmetrical differential inductor


More compact for a given differential inductance
Larger potential difference between turns ⇒ larger effect of
interwinding parasitic capacitance
Symmetrically laid out single ended inductors
Greater area
Interwinding parasitic capacitance not very significant

Nagendra Krishnapura Phase locked loop frequency synthesizers


Inductor simulation
Some processes have scalable inductor library and models
Typically needs to be simulated from process
parameters—metal thickness, resistivity, intermetal
spacing etc.
Inductance value
FastHenry, Asitic etc.
Accurate estimation possible
Quality factor
FastHenry, Asitic etc.
Harder to accurately estimate losses due to substrate
coupling
Parasitic capacitance
First order parallel plate estimation—OK for single ended
inductors
FastCap etc.
Use distributed models for accuracy—2 to 3 sections are
sufficient
Nagendra Krishnapura Phase locked loop frequency synthesizers
VCO design: bias current and transistor sizing

Bias current is a function of tank losses and desired


amplitude
Maximize the inductance for a large amplitude from a small
current
Transistors typically minimum length at high
frequencies—longer to lower 1/f corner
Bias source: longer than minimum length to lower 1/f
noise
Minimize all parasitics to maximize tuning range from the
varactor
Transistor W /L to get the desired gm for startup in the
worst case
Large gm ⇒ increased phase noise; So don’t go crazy!
Minimize gm variations over process and temperature; Less
overdesign

Nagendra Krishnapura Phase locked loop frequency synthesizers


5 GHz VCO in 0.18 µm CMOS
Vdd
1x 5x

4nH differential Vdd


200uA 100Ω 100Ω

output

130fF Vc 130fF
vp vn V-bias

vp vn

L = 4 nH and C = 0.25 pF (differential) chosen


6 turn inductor on top metal layer, ≈ 140 µm square
From inductor simulations, Q ≈ 6
Minimum length transistors
Cascode buffer for measurement
Nagendra Krishnapura Phase locked loop frequency synthesizers
5GHz VCO-inductor

Nagendra Krishnapura Phase locked loop frequency synthesizers


5GHz VCO layout

Nagendra Krishnapura Phase locked loop frequency synthesizers


5GHz VCO layout

Nagendra Krishnapura Phase locked loop frequency synthesizers


VCO (higher freq. version)-measured f vs. V
frequency vs Vctl curve
6.3

6.2

6.1
fvco(in GHz)

5.9

5.8

5.7

5.6
−0.5 0 0.5 1 1.5 2
Vctl (V)

Nagendra Krishnapura Phase locked loop frequency synthesizers


VCO-simulated phase noise
Phase Noise
20

−30 dB/decade
−20
Phase Noise (dBc/Hz)

−40

−60

−80

−100 −20 dB/decade

−120

−140 2 3 4 5 6 7
10 10 10 10 10 10
Frequency offset from carrier (Hz)

Nagendra Krishnapura Phase locked loop frequency synthesizers


Programmable frequency divider

Nagendra Krishnapura Phase locked loop frequency synthesizers


Programmable divider-Synchronous counter

D Q

combinational logic
D Q

D Q
fin

All of the circuitry running at full speed


Very high power dissipation
Asynchronous operation preferred

Nagendra Krishnapura Phase locked loop frequency synthesizers


Programmable divider-Pulse swallow architecture
M A

fin output
P/P+1 M
fin/N

reset
N=MP+A

Dual modulus prescaler ÷P/P + 1


Divide by P + 1 for A cycles
Divide by P for M − A cycles
Full cycle = (P + 1)A + P(M − A) = MP + A
Only the dual modulus prescaler running at full speed
Programmability using M and A
Nagendra Krishnapura Phase locked loop frequency synthesizers
Programmable divider using divide-by-2/3 cells

fin fout
2/3 2/3 2/3 2/3 2/3 Vdd

p0 p1 p2 p3 p4

Each stage divides by 2 (if pk = 0)


Each stage divides by 3 (if pk = 1) once in each output
cycle
With L stages, the division factor range from 2L to 2L+1 − 1
Modular approach

Nagendra Krishnapura Phase locked loop frequency synthesizers


Programmable divider using divide-by-2/3 cells
fin f1 fout=fin/7

2/3 2/3
Vdd
mod0 mod1

p0 p1 p0p1=11

fin

mod0 3 2 2

f1

fout

Each stage divides by 2 (if pk = 0)


Each stage divides by 3 (if pk = 1) once in each cycle
With L stages, the division factor range from 2L to 2L+1 − 1
Modular approach

Nagendra Krishnapura Phase locked loop frequency synthesizers


Divide-by-2/3 cell for the programmable divider

A1 Latch1 Latch2
D Q D Q
clk clk Q Fout

Fin
modout
A2
A3
Q D modin
Q D
Q clk clk

Latch4 Latch3
Pi

Nagendra Krishnapura Phase locked loop frequency synthesizers


References

Behzad Razavi, RF Microelectronics, Prentice Hall, 1998.

Behzad Razavi (editor), Monolithic Phase Locked Loops and Clock Recovery Circuits-Theory and Design,
IEEE Press, 1996.

Behzad Razavi (editor), Phase Locking in High Performance Systems-From Devices to Architectures, IEEE
Press, 2003.

Nagendra Krishnapura, “Introducing Negative Feedback with an Integrator as the Central Element,” 2012
International Symposium on Circuits and Systems (ISCAS), Seoul, South Korea, 20-23 May 2012.

Nagendra Krishnapura, “Synthesis Based Introduction to Opamps and Phase Locked Loops,” 2012
International Symposium on Circuits and Systems (ISCAS), Seoul, South Korea, 20-23 May 2012.

Marc Tiebout, Low Power VCO Design in CMOS (Springer Series in Advanced Microelectronics) , Springer
2005.
A. S. Porret et al., “Design of high-Q varactors for low-power wireless applications using a standard CMOS
process”, IEEE Journal of Solid-State Circuits, pp. 337-345, Volume 35, Issue 3, March 2000.

C. Vaucher et al., “A family of low-power truly modular programmable dividers in standard 0.35- µm CMOS
technology,” IEEE Journal of Solid-State Circuits, vol. 35, no. 7, pp. 1039-1045, July 2000.

Nagendra Krishnapura Phase locked loop frequency synthesizers

You might also like