Академический Документы
Профессиональный Документы
Культура Документы
Overview
VIN(AIN,IN, IN)+noise+distortion
PLL
VOUT(AOUT,OUT, OUT)
Some applications
Angular analog (FM, PM) and digital (FSK, PSK) demodulators
Modems
Clock recovery and synchronization Digital PLL
USB transceivers
Frequency synthesizers
Radio TX/RX
2
Phase
Detector
vd
Loop
Filter F(s)
()
vc
VCO
Vout=(AOUT OUT,OUT)
Phase detectors - 1
V1(1, 1)
V2(2, 2)
Phase
detector
v 2 (t ) = V2 cos ( 2 t + 2 )
V1 V2
V V
sin[(1 2 )t + (1 2 )] + K m 1 2 sin[(1 + 2 )t + (1 + 2 )]
2
2
Using a suitable low pass-filter only the first component feeds the VCO
If 1 = 2, and
d ffor smallll values
l
off 1 - 2 v d K m
V1 V2
(1 2 ) = K d (1 2 )
2
4
Phase detectors - 2
2
Vd =
Ts
2
=
Ts
Ts
vd(t )dt =
Ts
2 vd
0
(t )dt =Vmax
Kd
Note: linear behaviour between 0 and
5
Phase detectors - 3
2) Impulsive waveform: S-R Flip-Flop
VIN
VOUT
SET
vd
Kd =
CLR
Vmax
2
3) Periodic signals with a duty cycle different from 50%: the simplest solution
is to calculate the derivative of both signals to obtain a train of impulses
6
Free-running
F
i ffrequency c off the
th VCO
Capture range: frequency range around c in which a PLL is able to lock an
input signal.
It depends
d
d on the
th parameters
t
off the
th filter
filt F(
F(s))
Lock range: frequency range around c in which a PLL is able to track the
pulsation IN of the input signal once it is locked
It depends
d
d only
l on th
the DC gain
i off th
the filt
filter F(0)
In general, Lock range > Capture range
Lock range
-lock
-capture c
capture
lock
=[c-lock, c +lock ]
Equivalent noise bandwidth: ratio between the output power and the spectral
noise
i d
density
it off an iinputt white
hit ((phase)
h
) noise
i
BN =
1
2 H max
2 0
H ( j ) d
2
Phase
Detector
vd
Loop
Filter F(s)
vc
VCO
Vout=(AOUT OUT,OUT)
Ac
Butterfly characteristic - 1
Closed Loop Analysis
1. Assume to close the loop at a time t0 and that VIN is a input sine wave with
INc Vc0
2. A transient phase begins (capture) during which Vc=f(IN - c) and
OUT=c+OUT(Vc) OUT oscillates with an amplitude which is a function of
|F[j(IN -
OUT)]| Vc is not a sine wave and the mean value is different from 0
OUT tends to shift towards IN
3. In order to lock the input signal (i.e. OUT=IN) the frequency of input signal must
be within the capture range. Finding the capture range is difficult. A rough
estimate can be obtained if we consider that when lock is reached Vc must be a
constant, i.e. OUT=IN =c+KcVlock and that |Vc(t0)|>|Vlock|
Kd F[ j (IN c )] > Vlock =
IN c
Kc
Butterfly characteristic - 2
4. When OUT =IN (phase lock) Vc (in-out) whose DC component Vc 0 enable
the VCO to keep the lock (stable working point)
5 If IN(t) changes
5.
h
iin titime OUT tracks
t k IN within
ithi th
the llock
k range. lock is
i lilimited
it d b
by
the properties of the phase comparator
Example:
p analog
g comparator
p
works approximately
pp
y in the range
g [-/2,, /2]
Vc (t ) Kd F (0)(IN OUT )
Vc
-/2
/2 IN-
OUT
Vcmax =
OUT c
Kc
c KcKd F (0)
lock c
Kc
< Kd F (0)
2
Due to the low-pass characteristics of F(s) lock> capture
lock
In the following only the phase lock condition will be described analytically
10
Butterfly characteristic - 3
Starting from IN<<c |IN- OUT| out of
F(s) band Vc0
When IN-c=-capture the PLL locks. This is
the intersection point between open-loop Vc
envelope and VCO characteristic
Case 1: IN
-capture
lock
-lock
0
capture
Case 2: IN
11
After the transient ends and the PLL locks, the PLL can be modelled as
a linear feedback system
Hypotheses
The PLL is in a lock condition (OUT =
IN)
A linear approximation holds for all blocks of the PLL
IN and OUT are assumed as the input and output signal of the PLL
Vd = K d [ IN (s ) OUT (s )]
Loop filter
Vc (s ) = F (s ) Vd (s )
VCO
OUT (s ) = s OUT (s ) = K cV c (s )
H (s ) =
OUT (s )
K c K d F (s )
=
IN (s ) s + K c K d F (s )
12
Kd
vd
F(s)
vc
Kc/s
OUT(s)
The loop filter transfer function F(s) is closely related to the the order of the PLL
and it affects its performances
KcKd
(
)
H
s
=
No loop filter: F(s)=1
F(s) 1
s + KcKd
|H(j)|dB
0 dB
KcKd
Advantages:
g
capture lock
H (s ) =
1
F (s ) =
1 + sRC
1 =
1
RC
H (s ) =
KcKd
RCs 2 + s + K c K d
1
RC
s
s
+
+1
Kc Kd KcKd
n =
s 2 2
+
+1
n2 n
|H(j)|dB
1
2
KcKd
= K c K d 1
RC
1
1
=
K c K d RC
2
Resonance
pulsation
1
KcKd
0 dB
Advantages:
g
open
p loop
p 3 dB bandwidth |1| can be
set independently from PLL bandwidth n noise and
spurious rejection better VCO stability
~n
g
If n increases decreases
Disadvantages:
resonance close to n oscillations may occur
14
F (s ) =
R2
1+ sCR 2
1 + s (R1 + R 2 )C
C
H (s ) =
2 =
1
R 2C
Open
p loop
p zero
1 =
1
(R1 + R 2 )C
K c K d (sCR 2 + 1)
s 2 (R1 + R 2 )C + s (CR 2K c K d ) + K c K d
|H(j)|dB
0 dB
n =
KcKd
=
(R1 + R 2 )C
1
1
R 2C +
2
KcKd
K c K d 1
Resonance
pulsation
Damping factor
KcKd
(R1 + R 2 )C
~n
Advantages: In this case we have a further degree of freedom in PLL design. In fact, by
1
g R2 so that =
we can have a maximallyy flat frequency
q
y response
p
within PLL
choosing
2
bandwidth
15
A datasheet example
16
Phase
Detector
F(s)
Delay
Logic
circuit
Output
clock
l k fclk
When clocking high-frequency circuits (e.g. FPGA), the clock delays between
different part o the circuit can differ considerably clock skew at the output
In this case the signal frequency is correct: only the phase has to be tuned
p of a chain of flip-flops
p p or variable current inverters
A variable delayy line made up
enables a fine phase tuning of the phase shift phase error depends on F(s)
17
Example: FM demodulator
vm(t)
xin(t)
BPF
Phase
Detector
vd(t)
F(s)
vc(t)
VCO
vout((t))
Received signal
u (t ) = Ac cos [c t + (t )]
(1)
(t ) = 2k f m( )d
(2)
VCO
out (t ) = 2k c v c ( )d
t
(4)
v c (t )
Ac Av
F (0 ) ( (t ) out (t )) (5)
2
v c (t ) is approx. constant
m(t )
kc
v c (t )
kf
18
BPF
Phase Lock
Loop
m(t)
c(t)
PLLs can be used to recover the carrier from the input signal in the case of DSBAM signals
From this point of view, a PLL can be considered as a narrowband filter, whose
central frequency tracks the carrier frequency fluctuations
Ac m(t )
A m(t )
cos (1 2 ) + c
cos (2c t + 1 + 2 )
2
2
Frequency synthesizers
Frequency synthesizers are widely used in RX/TX equipment to tune the radio
over different channels.
channels
Possible techniques
fr
Phase
Detector
F(s)
VCO
fout/M
1/M
fout
Control inputs
When the PLL is locked, it must be fr= fout /M
/ fout = Mfr
Main problem: jitter in the period of the output waveform when M is large due to
the fact that the phase detectors operates only on fr edges between two
edges
d
th
the synthesizers
th i
iis ffree running
i because
b
of:
f
The limited stability of the VCO free-running frequency fc>> fr
The variable delay of the binary counter
Improving performances - 1
Solution 1
Ref.
fr
Phase
Detector
F(s)
Programmable
binary counter
fout/(MK)
1/M
VCO
Fixed
Fi
d ffrequency
divider= prescaler
fout/K
1/K
fout
Control inputs
A prescaler is faster than a programmable counter and it also allows a lower jitter
fout = Mfr with M=MK frequency range and resolution are the same as
before
By partitioning the divider in two sections, faster components can be used
lower variability of the waveform period
22
Improving performances - 2
Solution 2
fr
Ref
Ref.
1/N
fout/N
Phase
Detector
Control inputs
F(s)
VCO
Programmable
g
binary
y counter
fout/M
fout
1/M
1/K
Control inputs
fr
Phase
D t t
Detector
F(s)
()
VCO
fs
fout
N/N+1
Control
If the
th divider
di id iis switched
it h d b
between
t
N and
d N+1
N 1 with
ith a d
duty
t cycle
l D
D 1 D
f s = f out +
N
N
+
+1
1
f out = f r
N (N + 1)
N+D
The phase detector can operate at a higher frequency than in integer case
Divider switching causes Vc and Vd voltage fluctuations compensation is
required
24
fr
Harmonic
generator
g
Bandpass
filter
Nfr
An adjustable
A
dj t bl filter
filt (usually
(
ll a resonantt circuit)
i it) extracts
t t the
th wished
i h d
component
Frequency-conversion synthesizers
Multiple
Crystal
Oscillators
(e.g. 1-9
1 9 kHz)
f1
f2
Bandpass
Filter
f1+ff2
Multiple
Crystal
Oscillators
(e.g. 10-90
10 90 kHz)
v 2 (t ) = V2 cos (2f2 t + 2 )
V1 V 2
V V
sin [2 (f2 f1 )t + ( 2 1 )] + 1 2 sin [2 (f1 + f2 )t + ( 1 + 2 )]
2
2
fr
fout
Phase
Detector
F(s)
Programmable
binary counter
1/M
VCO
fL
C t l iinputs
Control
t
filter
(fout+ fL),
(fout- fL)
Th frequency
The
f
conversion
i scheme
h
enables
bl a fi
fine ttuning
i off fout
Acc
Look-up
Table
DAC
Low-pass
filter
The look-up table data are read sequentially in a circular way and converted by a
high accuracy Digital-to-analog converter (DAC). The output filter reconstructs
the analog waveform through interpolation
Waveform resolution depends on look-up table word width and DACs resolution