Professional Documents
Culture Documents
Phase-Locked Loops: David Johns, Ken Martin University of Toronto
Phase-Locked Loops: David Johns, Ken Martin University of Toronto
Phase-Locked Loops: David Johns, Ken Martin University of Toronto
University of Toronto 1 of 26
University of Toronto 2 of 26
Vcntl
VCO
Vosc
(voltage controlled oscillator)
University of Toronto 3 of 26
PLL Basics
• Feedback causes V in to be phase locked to V osc
• We start with a simple phase detector of ...
V pd = K M V in V osc (1)
K M is a multiplication constant
• Also assume filter is ...
1 + sτ z
H lp ( s ) = ----------------- (2)
1 + sτ p
University of Toronto 4 of 26
0.8
0.4
0.2 Vpd
0
−0.2
−0.4
−0.6
−0.8
−1
0 2 4 6 8 10 12 14 16 18 20
V in = E in sin ( ωt ) (3)
V osc = E osc sin ( ωt – φ d + 90° ) = E osc cos ( ωt – φ d ) (4)
• Above shows an example of φ d ≈ 90 (slightly less)
University of Toronto 5 of 26
PLL Basics
• Can show
E in E osc
V pd = K M ------------------- [ sin ( φ d ) + sin ( 2ωt – φ d ) ] (5)
2
• The lowpass filter removes second term and for
small φ d ...
E in E osc
V cntl ≅ K lp K M ------------------- φ d = K lp K pd φ d (6)
2
where we define
E in E osc
K pd = K M ------------------- (7)
2
University of Toronto 6 of 26
University of Toronto 7 of 26
K osc
φ osc ( s ) 1⁄s
University of Toronto 8 of 26
University of Toronto 9 of 26
Ich
Pu
Vin Sequential S1
phase V lp
Vosc detector
Pd
S2 C1
Ich
(de-glitching cap)
R C2
University of Toronto 10 of 26
Vosc
∆φ
in
Pu
2π
Pd
Time
University of Toronto 11 of 26
• which results in
φ osc ( s ) ( 1 + sRC 1 )
----------------- = -------------------------------------------------- (16)
φ in ( s ) s 2 C1
1 + sRC 1 + ---------------------
K pd K osc
University of Toronto 12 of 26
1 I ch K osc
ω 0 = -------- = ------------------ (17)
τ pll 2πC 1
1 1 2π
Q = ----------------- = --- -------------------------- (18)
RC 1 ω 0 R C 1 I ch K osc
University of Toronto 13 of 26
1 2π
R = ---- -------------------------- = 31.4 kΩ (21)
Q C 1 I ch K osc
University of Toronto 14 of 26
FF1 FF2
Reset
Vin Vosc
Set1 Set2
Pu-dsbl Pd-dsbl
FF3 FF4
Set3 Set4
University of Toronto 15 of 26
Vosc
Pu
Pd
Pu-dsbl
Pd-dsbl
University of Toronto 16 of 26
University of Toronto 17 of 26
Ring Oscillators
• • Vout
• •
Vout (quadrature)
1 1
f osc = --- = --------------- (22)
T 2nτ inv
University of Toronto 18 of 26
IB IB
Vcntl
Q3 Q4
Vbiasl
+
Vout– Vout
+
Vin Q1 Q2 Vin–
2IB
Vcntl
University of Toronto 19 of 26
V2I Conversion
I I
Q9
Q8 • Q5 Q6
Vbias
Q3 Q4
Vcntl + Q7
To other
oscillators
V cntl
I = -----------
-
R Q1 Q2
R
2I
First inverter of
Control circuitry ring oscillator
University of Toronto 20 of 26
Ib Ib
Vcntl
Q2
Q3 Vref Q1 From other
Q4 stages
To other
R4 stages
R3 R1 R2
Vref
University of Toronto 21 of 26
University of Toronto 22 of 26
University of Toronto 23 of 26
V lp ( z ) m1 + m2 z –1
P ( z ) = ------------------- = -----------------------------------------------------------------
∆Q lp ( z ) 1 + z –1 ( k – 2 ) + z –2 ( 1 – k )
(27)
1 m1 + m2 z –1
= ---------------- ---------------------------------
1 – z – 1 1 – z – 1 + kz – 1
where
2GC 1 T
k = ------------------ (28)
D
2 ( C 1 + C 2 ) + GT
m 1 = ------------------------------------------ (29)
D
– 2 ( C 1 + C 2 ) + GT
m 2 = ---------------------------------------------- (30)
D
D = 2C 1 C 2 + GC 1 T (31)
University of Toronto 24 of 26
X1(z) m2
∆Q(z) z–1 Vlp(z)
z–1 –k
University of Toronto 25 of 26
÷N
N = { k-1, k, k+1 }
A digital controlled oscillator
University of Toronto 26 of 26