Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
University of Toronto
1 of 26
D. Johns, K. Martin, 1997
Vpd
Low-pass filter
H lp(s)
V lp
Gain
K lp
Output voltage
Vosc
Vcntl
University of Toronto
3 of 26
D. Johns, K. Martin, 1997
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 K M is a multiplication constant
(1)
(2)
University of Toronto
4 of 26
D. Johns, K. Martin, 1997
Example Waveforms
1 0.8 0.6 0.4 0.2 0 0.2 0.4 0.6 0.8 1 0
Vin Vpd
Vosc
10
12
14
16
18
20
(3) (4)
University of Toronto
5 of 26
D. Johns, K. Martin, 1997
PLL Basics
Can show
E in E osc V pd = K M ------------------ [ sin ( d ) + sin ( 2 t d ) ] 2
(5)
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 2
(6)
where we define
E in E osc K pd = K M -----------------2
(7)
University of Toronto
6 of 26
D. Johns, K. Martin, 1997
PLL Basics
Oscillator frequency given by
osc = K osc V cntl + fr fr is the free running freq of oscillator K osc is the VCO gain constant
(8)
Feedback forces osc to equal in However, if in does not equal fr , and loop filter does NOT have infinite gain at dc, then phase difference when in lock given by:
V cntl in fr d = ----------------- = -----------------------------K lp K pd K lp K pd K osc
(9)
University of Toronto
7 of 26
D. Johns, K. Martin, 1997
osc ( s )
1s
(10) (11)
University of Toronto
8 of 26
D. Johns, K. Martin, 1997
PLL Equations
Combining above 2 equations ...
V cntl ( s ) sK pd K lp H lp(s) ------------------ = ---------------------------------------------------- in ( s ) s + K pd K lp K osc H lp(s)
(12)
This is a highpass response from input phase to control voltage Can also be written as
K pd K lp K osc H lp(s) osc ( s ) ---------------- = ---------------------------------------------------s + K pd K lp K osc H lp(s) in ( s )
(13)
University of Toronto
9 of 26
D. Johns, K. Martin, 1997
Vin Vosc
Pu Pd
Low-pass filter
University of Toronto
10 of 26
D. Johns, K. Martin, 1997
Vosc
in
Pu
2
Pd Time
If V in leads V osc , P u (pulse up) goes high for lead time If V osc leads V in , P d (pulse down) goes high for lead time.
University of Toronto
11 of 26
D. Johns, K. Martin, 1997
(14)
(15)
which results in
osc ( s ) ( 1 + sRC 1 ) ---------------- = ------------------------------------------------2 in ( s ) s C1 1 + sRC 1 + -------------------K pd K osc
(16)
University of Toronto
12 of 26
D. Johns, K. Martin, 1997
(17) (18)
University of Toronto
13 of 26
D. Johns, K. Martin, 1997
(19) (20)
(21)
14 of 26
D. Johns, K. Martin, 1997
Vin
Vosc
FF3
FF4
Set3
Set4
Can be used for sequential phase detector but also works when large frequency differences between osc freq and input freq
University of Toronto
15 of 26
D. Johns, K. Martin, 1997
Above example is for osc freq much lower than input freq Note that P u is high much longer than P d
University of Toronto
16 of 26
D. Johns, K. Martin, 1997
Oscillators
Oscillators
Tuned oscillators
Nonlinear oscillators
RC osc.
SC osc.
LC osc.
Crystal osc.
Relaxation osc.
Ring osc.
Two main classes of oscillators Most common are LC osc and Ring osc (Crystal osc is good but difficult to tune away from center freq)
University of Toronto
17 of 26
D. Johns, K. Martin, 1997
Ring Oscillators
Vout
Vout (quadrature)
(22)
IB
Q4 Vout
Q1
Q2 2IB
Vin
University of Toronto
19 of 26
D. Johns, K. Martin, 1997
V2I Conversion
Q9 Q8 Vbias Vcntl
I
Q6 Q4
Q7
cntl I = -----------
Q5 Q3
To other oscillators
Q1
Q2
2I
First inverter of ring oscillator
Control circuitry
University of Toronto
20 of 26
D. Johns, K. Martin, 1997
Alternative Biasing
Ib
Vcntl Q3 Q4 Vref Q2 Q1 From other stages To other stages R2
Ib
R3 Vref
R4
R1
Bias stage
Delay stage
University of Toronto
21 of 26
D. Johns, K. Martin, 1997
(23)
(24)
University of Toronto
22 of 26
D. Johns, K. Martin, 1997
(25)
giving
V lp ( z ) 2 ( 1 z 1 ) ( C 1 + C 2 ) + GT ( 1 + z 1 ) M ( z ) = --------------- = ------------------------------------------------------------------------------------ 1 1 Q lp ( z ) 2 C 1 C 2 ( 1 z ) + C 1 GT ( 1 + z )
(26)
University of Toronto
23 of 26
D. Johns, K. Martin, 1997
V lp ( z ) m1 + m2 z 1 P ( z ) = ------------------ = --------------------------------------------------------------- 1 2 Q lp ( z ) 1 + z (k 2) + z (1 k)
1 m + m z 1 1 2 = --------------- --------------------------------- 1 z 1 1 z 1 + kz 1
(27)
where
2 GC 1 T k = ----------------D 2 ( C 1 + C 2 ) + GT m 1 = ----------------------------------------D 2 ( C 1 + C 2 ) + GT m 2 = ---------------------------------------------D D = 2 C 1 C 2 + GC 1 T
University of Toronto
24 of 26
D. Johns, K. Martin, 1997
University of Toronto
25 of 26
D. Johns, K. Martin, 1997
crystal osc
Nf xt --------PM
N N = { k-1, k, k+1 }
University of Toronto
26 of 26
D. Johns, K. Martin, 1997