Advantages:
• No off-chip components
• Insensitive to technology
t
v2 '
t
Q
t
N ≈θe
Content
t
Fig. 2.3-03
Clock
v1
t
Waveforms can
v 2' be any digitized
waveform
t
θe
θe
t
Clock
t
Fig. 2.3-04
t
Clock
t
θe
t
θe'
θe
Fig. 2.3-05
Hilbert Phase
Transformer
v1(t) v1(t) Digital
π
- Multiplier
2 cos θe
Adder
Digital
Multiplier X tan θe θe
X/Y
Divider tan-1
Digital
Multiplier Y
Adder
Digital sin θe
Multiplier
Q I v1(t) = cos(ωot+θe)
v1(t) = cos(ωot+θe-90°) = sin(ωot+θe)
sinωot cosωot
Digital VCO
Fig. 2.3-06
v1
v1
Clock
t
Fig. 2.3-07
Q I
sinωot cosωot
Digital VCO
Fig. 2.3-08
This phase detector includes a filter function defined by the impulse function of the
averaging circuitry.
t 1
Clock
H(s) = sTi
t
where
UP/DN
Ti = integrator time
t constant
Fig. 2.3-09
ECE 6440 - Frequency Synthesizers © P.E. Allen - 2003
UP counter ≥ K/2. 8
Borrow = 1 when contents of the K/2
DN counter ≥ K/2.
0 t
DN Counter
8
K/2
0 t
Carry
Positive going edges of the Carry
and Borrow control the DCO. t
Borrow
t
Fig. 2.3-10
UP
v1
PFD ÷M Counter
v2' Reset
DN
Borrow
M>N ÷N Counter
Reset
Fig. 2.3-11
Reset to all counters
Operation:
The upper ÷N counter will produce a carry pulse whenever more than N pulses of an
ensemble of M pulses have been UP pulses.
The lower ÷N counter will produce a borrow pulse whenever more than N pulses of
an ensemble of M pulses have been DN pulses.
The performance of the filter is very nonlinear.
FIR Example 10
N = 31, no windowing 0
-10
-20
-30
dB
-40
-50
-60
-70
-80 0 0.1 0.2 0.3 0.4 0.5
f/fs
N = 31, Hanning window
0
-20
-40
dB -60
-80
Fixed high-
frequency
oscillator
The N-bit output signal of a digital loop filter is used to control the scaling factor N of the
÷N counter.
Increment-Decrement Counter
Used with loop filters such as the K counter or N before M that output CARRY or
BORROW pulses.
ID clock CP
CARRY INC OUT IDout = IDclock·Toggle-FF
BORROW DEC
fout=1Hz Clock
T=0.5sec
0 T2T t
1sec.
fout=0.5Hz
1sec. t
0 T2T
Clock
t
0 T2T Fig. 2.3-175
÷M Variable ÷N
v2 TC CP TC fc
Counter Counter
Start Reset Load
Fig. 2.3-18
Digital Controlled Oscillator
Operation:
1.) Pulse forming circuit – Downscales f1 by two to get v1*. v1 and v1* generate the
clock for the loop filter. The negative-going edge of v1* generates a start pulse.
2.) Digital controlled oscillator – The variable ÷N counter is a down counter. Its content
starts with the number N loaded in parallel from the loop filter. The clock, fc, causes the
counter to count down to 0. The content of the ÷N counter at this time is called the
terminal count (TC). The output pulse at TC reloads the content N in the ÷N counter and
starts the ÷M counter counting up from 0. When the ÷M counter reaches TC, a pulse is
delivered at the output which is v2.
ECE 6440 - Frequency Synthesizers © P.E. Allen - 2003
Lecture 080 – All Digital PPLs (5/15/03) Page 080-19
Example 1 – Continued
When the loop is locked, fc = MNf1. Note that the duration of the start pulse < 1/fc.
Waveforms:
v1
Case 1 – “Early”: N is too small.
t 1.) ÷M counter reaches TC before
v1*
To.
t
CK 2.) v2 causes the loop filter to
increase N.
t
3.) This process continues until the
Start ÷M counter reaches TC at the
t
To To positive edge of v1*.
;;;;;
Case 1: "Early"
Content of TC
÷M counter
Case 2 – “Late”: N is too large.
;;;;;
vd t
Indeterminant State Reset Reset 1.) ÷M counter reaches TC after To.
t 2.) Under this condition, v2 causes
Case 2: "Late"
Content of TC the loop filter to decrease N.
;;;;;
÷M counter
t
3.) This process continues until the
vd ÷M counter reaches TC at the
Indeterminant State Set Set positive edge of v1*.
Fig. 2.3-19 t
Example 2
Uses the 74xx297
K modulus control
K clock CARRY
Mfo
DN/UP K counter BORROW
Loop
EXOR out
Filter
v1
v2' G1
EXOR Detector DEC INC ID clock
ID counter
J Q 2Nfo
FF
K Q
74xx297
IDout
v2
÷N counter CP
In lock, the average number of carry pulses and borrow pulses are equal and no
cycles are added or deleted. If f1 increases, the output of the EXOR detector becomes
asymmetrical in order to allow the K counter to produce more carry pulses than borrow
pulses on average.
ECE 6440 - Frequency Synthesizers © P.E. Allen - 2003
Lecture 080 – All Digital PPLs (5/15/03) Page 080-21
0 t
8
KDN K/2
0 t
If K≠M/4, phase jitter will occur. Duty factor, δ, is 0.5(1-1/N) < δ < 0.5(1+1/N)
∴ maximum deviation is 1/N at the worst. Phase jitter can be eliminated.
ECE 6440 - Frequency Synthesizers © P.E. Allen - 2003
Lecture 080 – All Digital PPLs (5/15/03) Page 080-23
0 t
CARRY Advanced
For minimum ripple, choose
t
Delayed
M
BORROW
t K= 2
ID clock
0 8 16 t
Toggle FF
t
IDout
t
IDout÷2
t
IDout÷4
Fig. 2.3-23 t
0 8 16
÷N counter IDout
v2
CP
Qn Qn-1
Fig. 2.3-26
t
v2'
(Qn)
t
Qn+1
t
EN
t Fig. 2.3-27
The reference frequency > center frequency:
v1
t
v2'
(Qn) θe
t
Qn+1
t
EN
t
KUP
t Fig. 2.3-28
The average number of carries is reduced approximately by 2.
Mfo fo
∴ ∆fH = 2N(2K+1) If M = 2N and K>>1, then ∆fH = 2K
ECE 6440 - Frequency Synthesizers © P.E. Allen - 2003
Lecture 080 – All Digital PPLs (5/15/03) Page 080-29
ADPLL DESIGN
Designing an ADPLL FSK Decoder using the 74xx297
FSK Decoder Diagram:
K modulus control
K clock CARRY
Mfo
DN/UP K counter BORROW
G1
DEC INC ID clock
JK out ID counter
v1 J Q
v2' FF
K Q
74xx297
IDout
÷N counter v2
Qn CP
D Q N Control
FF FSK
CP Q Signal
Fig. 2.3-29
θe
θe (Deg) ∆f2 (kHz)
∆f2
Settles ≈ 60µs
ECE 6440 - Frequency Synthesizers © P.E. Allen - 2003
Example 1 – Continued
∆f = 12 kHz ∆fH = 0.125x100kHz = 12.5kHz
∆ f2
θe
θe (Deg)
∆f2 (kHz)
Example 1 – Continued
∆f = 13 kHz > ∆fH
θe
∆f2
Example 1 – Continued
∆φ = +90°
θe
∆f2 (kHz)
θe (Deg)
∆f2
Example 1 – Continued
∆φ = -90°
∆f2
θe
∆f2 (kHz)
θe (Deg)
∆f2
∆f2 (kHz)
θe (Deg) θe →
Example 2 – Continued
∆f = 12 kHz → unlocked
∆f2
∆f2 (kHz)
θe (Deg)
θe →
∆f2
SUMMARY
• The ADPLL is implemented entirely of digital circuits
• The digital PDs can have a parallel output or and UP and DOWN output
• Digital VCOs use borrow and carry operations to change the frequency
• This completes our systems perspective of PLLs