Lecture04 Ee620 Phase Detectors
Lecture04 Ee620 Phase Detectors
Sam Palermo
Analog & Mixed-Signal Center
Texas A&M University
Announcements
• HW1 due Sept 22, 11:59PM
• Turn in via Canvas
2
Agenda
• Phase Detector Circuits
• Mixer PD
• XOR PD
• J-K Flip-Flop PD
• Phase-Frequency Detector (PFD)
3
References
• RF Microelectronics, B. Razavi, Prentice
Hall, 1998.
• Design of Integrated Circuits for Optical
Communications, B. Razavi, McGraw-Hill,
2003.
• Monolithic Phase-Locked Loops and Clock
Recovery Circuits, B. Razavi, Wiley, 1996.
• M. Perrott, High Speed Communication
Circuits and Systems Course, MIT Open
Courseware
4
Phase Detector
Phase Detector IN
Loop Filter
FB
e ve vctrl
in KPD F(s)
avg 𝑣 𝑡 𝐾 Δ𝜙
fb
avg{ve(t)}
• Detects phase difference between feedback clock
and reference clock
• The loop filter will filter the phase detector output, KPD
thus to characterize phase detector gain, extract
average output voltage
• The KPD factor can change depending on the
specific phase detector circuit
K PD units are V/rad when used with a dimension - less filter
K PD units are rad -1 (averaged) or A/rad when combined with the charge - pump
[Razavi]
6
Analog Mixer PD Properties
• The nominal lock point (zero frequency
offset or Type-2) with a mixer PD is a 90
static phase shift
• For many applications this is unimportant or
can be cancelled elsewhere
• The mixer cannot serve as a frequency
detector, as on average the output will be
zero for a frequency difference
• KPD is a function of the input amplitude,
which is not desired
7
Mixer Circuits
Active Mixers
Passive Mixer
8
XOR Phase Detector
[Razavi]
10
Stable vs Metastable Lock Point
[Perrott]
• The PLL should be configured in negative feedback based on the phase detector
gain
• However, the phase detector gain varies as a function of the phase error
• Generally, the PLL is designed to have a stable lock point with a π/2 phase offset
• - π/2 is a metastable lock point because it is in a positive feedback operation range
11
Cycle Slipping
• If there is a frequency difference between the input
reference and PLL feedback signals the phase detector can
jump between regions of different gain
• PLL is no longer acting as a linear system
[Perrott]
Cycle Slipping
[Perrott]
14
J-K Flip-Flop Phase Detector
J K
ref
div
ref
div
1
K PD
15
J-K Flip-Flop Details
J K
ref
div
16
J-K Flip-Flop Phase Detector Harmonic Locking
ref
div
ref
div
18
Phase Frequency Detector (PFD)
• Phase Frequency Detector allows for
PFD wide frequency locking range,
D
CLKIN R
Q UP potentially entire VCO tuning range
• 3-stage operation w/ UP & DN outputs
CLKFB R • Rising edge-triggered results in duty
Q DN
D cycle insensitivity
Tref CLKFB CLKIN
CLKIN CLKFB CLKIN
te UP=0 UP=0 UP=1
CLKFB DN=1 DN=0 DN=0
CLKIN CLKFB
UP Delay
DN
Trst RST=1
iCP
19
Averaged PFD Transfer Characteristic
UP=1 & DN=-1 avg{ve(t)}
PFD 1
D
Q UP
in R
-4 -2
in-fb
fb R
Q DN 1 2 4
D
2
-1
20
PFD Deadzone
Tref
D UP ICP
Q CLKIN
in R
te
iCP CLKFB
fb R
R UP too narrow
D
Q C2
DN ICP
C1 DN
Trst
iCP
iCP
• In locked state both UP and
Td
DN current sources are on for fb R
Q R C2
Trst, but ideally no net current D
DN ICP
is delivered to loop filter C1
Tref
CLKIN
te
CLKFB
UP reliable width
DN
Trst
iCP
22
Problems Near 2
• PFD cannot react to input
rising edges during reset UP
D ICP
• This can result in the next in R
Q
DN
Trst
iCP
wrong direction!
23
PFD Transfer Characteristic w/ Reset Delay
avg{ve(t)} Ideal PFD
wrong PFD w/ Trst
frequency 1
information!
-4 -2
in-fb
2 4
Trst
2
Tref
-1
27