Documente Academic
Documente Profesional
Documente Cultură
Jieh-Tsorng Wu
ES
National Chiao-Tung University
A
1896
Department of Electronics Engineering
Phase-Locked Loops (PLLs)
VFO
Vc
Ai Phase Loop
Ao
Detector Filter
• When the loop is locked, the frequency of the VCO is exactly equal to the average
frequency of the input.
• The loop filter is a low-pass filter that suppresses high-frequency signal components
in the phase difference.
Applications:
• Frequency synthesis.
References:
• Floyd M. Gardner, “Phaselock Techniques,” 2nd Edition, John Wiley & Sons, 1979.
• θe is the phase error, Kd is the phase-detector gain factor, and Ko is the VCO gain
factor.
Ko
Vd = Kd · (θi − θo) = Kd · θe Vc = F (s) · Vd θo = Vc ·
s
θo KoKd F (s)
= = H(s)
θi s + KoKd F (s)
θe s
= = 1 − H(s)
θi s + KoKd F (s)
Vc sKd F (s) s
= = · H(s)
θi s + KoKd F (s) Ko
∆ωo Vc
⇒ H(s) = = Ko · ∆ωi = ωi − ωoo ∆ωo = ωo − ωoo
∆ωi ∆ωi
R2 C
sτ2 + 1
R1 F (s) = −
sτ1
Vi Vo
τ1 = R1 C
τ2 = R2 C
2
2ζ ωns + ωn KoKd ωn
H(s) = ωn = ζ= · τ2
s2 + 2ζ ωns + ω2n τ1 2
R1
Vi Vo
sτ2 + 1
F (s) =
sτ1 + 1
R2
τ1 = (R1 + R2)C
C
τ2 = R2C
s 2ζ ωn −
2
ωn/(KoKd )
2
+ ωn
KoKd ωn 1
H(s) = ωn = ζ= τ2 +
s2 + 2ζ ωns + ω2n τ1 2 KoKd
• If R2 = 0, then
ωn ω2n
1 1
τ1 = = ωn = KoKd ωLF ζ= H(s) =
R1C ωLF 2KoKd s2 + 2ζ ωns + ω2n
2
2ζ ωns + ωn
Hpassive(s) ≈ Hactive(s) =
s2 + 2ζ ωns + ω2n
1/2
ω−3dB = ωn 2ζ 2 + 1 + (2ζ 2 + 1)2 + 1
10
ζ = 5.0
5
ζ = 2.0
| H ( j ω) | (dB)
-5
ζ = 0.3
-10
ζ = 0.5
-15
ζ = 0.707
-20
0.1 1 10
Frequency (ω/ωn )
2
ωn
H(s) = Poles = s1,2 = −ζ ± ζ 2 − 1 ωn
s2 + 2ζ ωns + ω2n
Step Response
Overshoot
Error Band
√
• For PLL, choose ζ > 1/ 2 = 0.707 to avoid excessive ringing.
V
N nt
θn θn
2 2
Vs nc pdf = √
1 −θ /(2σ )
e n n
2πσn
Assume that
1 2 1 2
n2 = ·n + ·n n2c = n2t
2 c 2 t
Then, we have
n2t n2 1 1
σn2 = θn2 = = = ·
Vs2
Vs2 2 SNR
2
Vs /2
SNR ≡
n2
Power Ps
Spectral
Density
L(fm)
Pssb
fm
Freq
fo
• The phase noise L(fm ), usually in dBc, is the ratio of the single-sideband (SSB) power
in a 1-Hz bandwidth fm Hz away from the carrier to the total signal power, i.e.,
Ps
L(fm) ≡
Pssb
• Let Sθn (f ) be the power spectral density of θn(t) in frequency domain, it can be shown
that ∞
Sθn (fm) ≈ 2L(fm) and θn2 = Sθn (f )d f
0
θi Kd F(s) Ko/s θo
− 12 π 3
π
2 2π
θe
−2π − 32 π 1
π
2
-π π
The 2ω component will be filtered out by the loop filter, hence consider the dc component
only
1
Vd = kV1 V2 sin(θ1 − θ2) = Kd · sin(θe) θe = θ 1 − θ 2
2
• If θe 1, vd ≈ Kd θe.
◦
• V1(t) and V2 (t) are 90 out of phase when θe = 0.
2
s θi (s)
lim θe(t) = lim sθe(s) = lim
t→∞ s→0 s→0 s + KoKd F (s)
The hold-in range, ∆ωH , is the frequency range in which a PLL can maintain lock
statically.
∆ωH
ωi = ωo + ∆ωH θi (t) = ∆ωH · t θi (s) = ∆ωH /s 2
⇒ lim θe(t) =
t→∞ KoKd F (0)
∆ωH
lim sin θe(t) = <1 ⇒ ∆ωH = KoKd F (0)
t→∞ KoKd F (0)
The pull-out range ∆ωP O is the frequency-step limit below which the PLL does not skip
cycles but remains in lock.
• For a sinusoidal PD
For low SNRL, the VFO phase occasionally slips one or more cycles as compared to the
input. Define TAV as the average time between cycle slips.
4SNRL
• For a 1st-order loop TAV ≈ π
4BL
e , where BL is the PLL noise bandwidth.
1 πSNRL
• For a 2nd-order loop with ζ = 0.707 TAV ≈ BL
e .
• The slips of a 1st-order loop are almost always single, isolated events.
θe
Vd = Kd · sin θe ωo = ωoo + Ko · Vd θe = θi − θo
t
θe = θi − θo = ωi t − ωoot − KoKd sin θed t − θo(0)
0
d θe
⇒ = θ˙e = ∆ω − KoKd sin θe ∆ω = ωi − ωoo
dt
The lock-in range, ∆ωL, is the frequency range over which the PLL can acquire lock
without cycle slipping.
log |F (j f )|
log f
1
Lock-In Range = ∆ωL ≈ KoKd F (∞) = 2ζ ωn Lock-In Time = TL ≈
ωn
ωi
t
Tp
Vi Phase Loop
Detector Filter
VFO
Lock Sweep
Detector Generator
Low R
Vi Phase
Detector
High R
VFO Loop Filter
Lock
Detector
Low R if unlocked; High R if locked
• The frequency pull-in can be painfully slow in a narrowband loop. Sometimes, a wider
loop bandwidth is preferred.
Vi Phase LP
Detector Filter 1
VFO
Frequency LP
Detector Filter 2
1/N
Frequency Divider
To calculate loop dynamics, combine the VFO and the frequency divider as a new VFO.
ω ωoo Ko
ωo = ωoo + Ko · Vd ⇒ ω
o = = + · Vd = ω
oo + Ko
· Vd
N N N
ωoo Ko θo
ω
oo =
Ko =
θo =
N N N
• θi and θo are not available except during the rising and falling transitions.
u1
u1
Q u2
u2
Q
u1
Averaged Q
u2
Q
u1
θe u2
−π − π2 0 π π
2 Q
u1
u1 S
Q u2
u2 R
Q
Averaged Q u1
u2
Q
u1
θe
−2π −π 0 π 2π u2
Q
u1 u1
u2 u2
Q Q
• However, when f1 ≈ f2, the frequency-sensitive behavior is lost, and the PLL relys on
the pull-in process for frequency acquisition.
u1
u1
1 D Q UP
u2
R
UP
R DN
1 D Q DN
u2 u1
u2
Averaged (UP-DW)
UP
DN
θe
−2π −π 0 π 2π
• The PFD can discriminate the frequency difference for even the smallest f1 − f2.
• A PLL with the PFD can have infinite pull-in range. The frequency acquisition aid
provided by the PFD is akin to frequency sweeping.
• When using the PFD, a missing transition or an extra one in either u1 or u2 can cause
a large error signal to appear. The effects will propagate for more than one cycle.
Great caution is required to use the PFD in a noisy environment.
IP
PFD
Vi u1 UP Ie VFO
Vc
Vo
u2 DN
R
IP C
The “on” time of either UP or DN is tp = |θe|/ωi for each period 1/fi of the input signal.
The average error current Ie over a cycle is
tp θe 2π
Ie = IP × = IP × ωi = 2πfi =
Ti 2π Ti
Ko
ωo = ωoo + Ko · Vc ⇔ fo = foo + Ko
· Vc Ko
=
2π
Using the continuous-time approximation, we have
2
θe(s) s θo(s)
= He(s) = = H(s) = 1 − He(s)
θi (s) s2 + 2ζ ωns + ω2n θi (s)
1/2
IP 1
1/2
ωn = Ko × ζ= K × (IP R) × (RC)
C 2 o
• Discrete-time model can be used for more accurate analysis. Reference: Hein, z-
Domain Model for Discrete-Time PLLs, Trans. CAS, 11/88, pp. 1393–1400.
• During the pump interval tp, a voltage step of IP R occurs at the VFO input. This
granularity effect may be intolerable in some systems.
• The voltage step IP R may overload the VFO, making the previous linear analysis
invalid.
• The granularity effect can be mitigated with an additional capacitor Cp in parallel with
the earlier RC network, thus forming a 3rd-order PLL.
IP1
u1
∆Vc
UP
1 D Q S1
R
Vc
θe
R
1 C Dead Zone
D Q S2
DN
u2
IP2
• When θe falls in the dead zone, the PFD’s conversion gain is decreased, causing a
reduction in ωn and ζ , and the degradation of θo phase noise.
• The finite output impedance of the IP 1 and IP 2 current sources can also cause phase
offset.
• Charge sharing in the S1 and S2 switches can also cause glitches at Vc.
UP
Delay
DN
u2
UP Ie
Vc
ωt ωp
DN 0 ω
R1
C2 ωz
IP C1
Ko KoIP s/ωz + 1
L(s) = × Kd F (s) = ×
s s (C1 + C2) s/ωp + 1
2
KoIP C1
ωt ≈ = Ko
· IP R1 ·
(C1 + C2 )ωz C1 + C2
1 α 1
R1 =
· ωt C1 = Ko
IP · C2 = Ko
IP ·
KoIP ω2t β · ω2t
◦
• α = 4 and β = 4 gives a phase margin ≈ 60 .
Ca
Ie1
Vc
Va
Vc Vb
Ie2
Va
Vb
Rb Cb ω
ωz ωt ωp
θe θe
Ie1 = IP 1 × Ie1 = IP 2 ×
2π 2π
KoIP 1
ωt ≈ = Ko
· IP 2Rb
Caωz