100% found this document useful (1 vote)
321 views49 pages

Phase-Locked Loops With Applications: ECE 5675/4675 Lecture Notes Spring 2011

Uploaded by

Prince Philip
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
100% found this document useful (1 vote)
321 views49 pages

Phase-Locked Loops With Applications: ECE 5675/4675 Lecture Notes Spring 2011

Uploaded by

Prince Philip
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 49

Phase-Locked Loops with

Applications
ECE 5675/4675 Lecture Notes
Spring 2011
20022011
Mark A. Wickert
F(s)
K
v
/s
.
Chapter 1
Course Introduction/Overview
Contents
1.1 Lecture Outline . . . . . . . . . . . . . . . . . . . . . 1-3
1.2 This Course and the Phase-Locked Loop Landscape . 1-4
1.2.1 General PLL Perspective . . . . . . . . . . . . . 1-4
1.2.2 Course Topics . . . . . . . . . . . . . . . . . . . 1-5
1.3 Course Perspective in the Comm/DSP Area of ECE . 1-7
1.4 Computer Analysis/Simulation Tools . . . . . . . . . . 1-8
1.5 Instructor Policies . . . . . . . . . . . . . . . . . . . . 1-9
1.6 Course Syllabus . . . . . . . . . . . . . . . . . . . . . 1-10
1.7 Required Student Background . . . . . . . . . . . . . 1-11
1.8 References . . . . . . . . . . . . . . . . . . . . . . . . 1-12
1.9 PLL Introduction . . . . . . . . . . . . . . . . . . . . 1-14
1.9.1 Classication of PLLs . . . . . . . . . . . . . . 1-14
1.9.2 LPLL . . . . . . . . . . . . . . . . . . . . . . . 1-15
1.9.3 DPLL . . . . . . . . . . . . . . . . . . . . . . . 1-16
1.9.4 ADPLL . . . . . . . . . . . . . . . . . . . . . . 1-17
1.9.5 SPLL . . . . . . . . . . . . . . . . . . . . . . . 1-18
1.10 Applications Overview . . . . . . . . . . . . . . . . . 1-20
1-1
CHAPTER 1. COURSE INTRODUCTION/OVERVIEW
1.10.1 Synchronization for Digital Communications . . 1-20
1.10.2 Frequency Synthesis Applications . . . . . . . . 1-27
1.11 Simulation Examples . . . . . . . . . . . . . . . . . . 1-30
1-2 ECE 5675 Phase-Lock Loops with Applications
1.1. LECTURE OUTLINE
1.1 Lecture Outline
This Course and the PLL Landscape
General PLL perspective
Course Topics
Course perspective in the comm/DSP area of ECE
The role of computer analysis/simulation tools
Instructor policies
Course syllabus
Required student background
References
Books
Reports
Journals
PLL introduction and applications overview
ECE 5675 Phase-Lock Loops with Applications 1-3
CHAPTER 1. COURSE INTRODUCTION/OVERVIEW
1.2 This Course and the Phase-Locked
Loop Landscape
1.2.1 General PLL Perspective
The focus of this course is phase-lock loops (PLLs) and appli-
cations
At rst this may seem like a very narrow course of study, but
the PLL has many applications and many implementation vari-
ations
The use of PLLs for frequency synthesis, i.e., creating a stable
yet tuneable local oscillator for radio transmitters and receivers
is one traditional application area
In communication systems in general the PLL is widely used
Carrier phase and frequency tracking
Symbol (bit) synchronization
Chip synchronization is spread-spectrum systems (this in-
cludes GPS receivers)
Clock recovery (same class of problems as symbol sync)
The implementation may be:
All analog electronics (microwave/RF/baseband)
A hybrid of analog and digital electronics
A hybrid of analog and software
Pure software
1-4 ECE 5675 Phase-Lock Loops with Applications
1.2. THIS COURSE AND THE PHASE-LOCKED LOOP LANDSCAPE
The implementation technology may be:
Board level using RF and baseband devices
Single chip with a few off-chip or maybe no off-chip parts
Custom ASIC or FPGA
A combination of RF and baseband analog with the re-
mainder in software via a real-time digital signal process-
ing
Entirely real-time DSP approach if signal samples are ac-
quired somewhere else
1.2.2 Course Topics
PLL fundamentals
Loop components
Loop response
Loop stability
Transient response
Modulation response
Digital PLLs
Performance in noise
Input noise
Phase noise
Nonlinear behavior and cycle slipping
ECE 5675 Phase-Lock Loops with Applications 1-5
CHAPTER 1. COURSE INTRODUCTION/OVERVIEW
Acquisition
Unaided
Aided
Analog PLL lab experiment
Communication applications
DSP-based carrier phase tracking algorithms
DSP-based symbol timing tracking algorithms
1-6 ECE 5675 Phase-Lock Loops with Applications
1.3. COURSE PERSPECTIVE IN THE COMM/DSP AREA OF ECE
1.3 Course Perspective in the Comm/DSP
Area of ECE
S
i
g
n
a
l
s

&

S
y
s
t
e
m
s

M
o
d
e
r
n

D
S
P

C
o
m
m

S
y
s

I

R
e
a
l
-
T
i
m
e

D
S
P

C
o
m
m

S
y
s

I
I

W
i
r
e
l
e
s
s

N
e
t
w
o
r
k
i
n
g
P
r
o
b

&

S
t
a
t
i
s
t
i
c
s

C
o
m
m

L
a
b

S
i
g
n
a
l

P
r
o
c
e
s
s

L
a
b

S
t
a
t
i
s
t
i
c
a
l

S
i
g
n
a
l

P
r
o
c
e
s
s

U
n
d
e
r
g
r
a
d
u
a
t
e

E
n
g
i
n
e
e
r
i
n
g

C
u
r
r
i
c
u
l
u
m

S
e
n
i
o
r
/
1
s
t

Y
e
a
r

G
r
a
d
u
a
t
e

S
i
g
n
a
l
s

&

S
y
s
t
e
m
s

C
o
u
r
s
e
s

R
a
n
d
o
m

S
i
g
n
a
l
s

S
p
r
e
a
d

S
p
e
c
t
r
u
m

W
i
r
e
l
e
s
s

&

M
o
b
i
l

C
o
m

O
p
t
i
c
a
l

C
o
m
m

P
L
L

&

F
r
e
q

S
y
n

R
a
d
a
r

S
y
s
t
e
m
s

C
o
m
m

N
e
t
w
o
r
k
s

S
a
t
e
l
l
i
t
e

C
o
m
m

D
e
t
e
c
t
/

E
s
t
i
m
a
t
i
o
n

E
s
t
i
m

&

A
d
a
p

F
i
l
t

I
n
f
o
r
m
/

C
o
d
i
n
g

S
p
e
c
t
r
a
l

E
s
t
i
m
a
t
i
o
n

I
m
a
g
e

P
r
o
c
e
s
s
i
n
g

O
t
h
e
r

G
r
a
d
u
a
t
e

S
i
g
n
a
l
s

&

S
y
s
t
e
m
s

C
o
u
r
s
e
s

O
f
f
e
r
e
d

o
n

D
e
m
a
n
d
/
I
n
d
e
p
.

S
t
u
d
y

S
p

S
p

S
p

F
a

F
a

F
a
(
o
d
d
)
(
o
d
d
)
(
e
v
e
n
)
ECE 5675 Phase-Lock Loops with Applications 1-7
CHAPTER 1. COURSE INTRODUCTION/OVERVIEW
1.4 Computer Analysis/Simulation Tools
In working homework problems pencil and paper type solu-
tions will work for most problems
Often times solutions can be enhanced through the use of com-
puter analysis and simulation tools
At least one computer project will be assigned which involves
both mathematical modeling and simulation
Most often MATLAB will sufce for modeling and simulation
The use of Spice with behavioral level modeling capabilities
may also be useful, e.g., XSpice via SIMetrix/SIMPLIS or
PSpice
Block level simulation environments are particularly conve-
nient for PLL simulations
MATLAB Simulink: very powerful block simulation en-
vironment, most capable for PLL work when expanded
with DSP blockset and the Comm block set; limited PLL
specic blocks even in Comm block set
VisSim/Comm(included with the student version of Math-
cad: Afriendly block simulation environment, which with
the Comm library is very good at complex baseband sim-
ulation; PLL components are also included
Elanix SystemView (used the last time the course was
taught): free student version which has a RF and Comm
block set with some PLL specic oriented blocks
1-8 ECE 5675 Phase-Lock Loops with Applications
1.5. INSTRUCTOR POLICIES
1.5 Instructor Policies
Working homework problems will be a very important aspect
of this course
Each student is to his/her own work and be diligent in keeping
up with problem assignments
If work travel keeps you from attending class on some evening,
please inform me ahead of time so I can plan accordingly, and
you can make arrangements for turning in papers
The course web site
http://www.eas.uccs.edu/wickert/ece5675/
will serve as an information source in between weekly class
meetings
Please check the web site updated course notes, assignments,
hints pages, and other important course news
ECE 5675 Phase-Lock Loops with Applications 1-9
CHAPTER 1. COURSE INTRODUCTION/OVERVIEW
1.6 Course Syllabus
ECE 5675/4675 Phase-Locked Loops,
Synchronization, and Frequency Synthesis
Spring Semester 2011
Instructor: Dr. Mark Wickert Office: EB-226 Phone: 262-3500
[email protected] Fax: 262-3589
http://www.eas.uccs.edu/wickert/ece5675
Office Hrs: Tue. 3:30 pm4:15 pm and after 7:05 pm as needed, others by appointment.
Note: These hours may be adjusted if needed.
Required
Texts:
F. M. Gardner, Phaselock Techniques, third edition, John Wiley, New York,
2005. (ISBN: 0-471-43063-3)
OptionaI
Text:
M. Rice, Digital Communications A Discrete-Time Approach, Prentice Hall,
New Jersey, 2009. (ISBN 978-0-13-030497-1)
OptionaI
Software:
MATLAB Student Version 7.x, Simulink 5.x, and Symbolic Math Toolbox
Available for Windows/Linux/Mac OSX. The signal processing and control
toolboxes, Simulink, and DSP block set are now included with the student ver-
sion. Note: The ECE PC Lab has the full version of MATLAB and Simulink
for windows (ver. 7.x) with many toolboxes. Other tools of interest include
VisSim/Comm (www.vissim.com/), Mathematica 7 (see course Web Site
about how to download).
Grading: 1.) Graded homework assignments totaling 40%.
2.) Mid-term Exam worth 25%.
3.) Analog PLL Laboratory 10%.
4.) Final Project/Exam worth 25%.
Requirements: A background in basic communication theory, probability and random variables, and basic digital
signal processing, i.e. sampling theory would be desired. Please contact Dr. Wickert if you are considering this
course, but are in doubt as to whether you have adequate background. Items with * will be selected by class interest.
Topics Text Chapters
Session
(wks)
1. Introduction/Overview 1 1.0
2. Phase-Locked Loop Fundamentals (including basic synthesizers) 2, 3, 5, 10, 11, 12,
15, 16, Rice App C
3.0
3. Digital Signal Processing Based PLLs 4, 13, Rice App C 2.0
4. PLL Tracking Performance in Noise (including phase noise) 6, 7, 9, 10 2.0
5. Unaided and Aided Acquisition 8 1.0
6. Anomalous Locking* 14 0.5
7. Analog PLL Lab Experiment Handout 2.0
8. PLL Frequency Synthesizers* 15 1.0
9. Real-time DSP PLL Experiment* Handout 1.0
10. Synchronization techniques in Digital Comm Systems* Notes, 17, Rice 7 & 8 2.0
1-10 ECE 5675 Phase-Lock Loops with Applications
1.7. REQUIRED STUDENT BACKGROUND
1.7 Required Student Background
Basic linear systems theory is a must
Random variables is needed for noise analysis
A brief introduction to random processes will be provided
if needed
Basic modulation theory is also assumed
A knowledge of digital communication systems is desirable
A basic understanding of digital signal processing would be
helpful, but is not required
Knowledge of sampling theory is needed for digital loop con-
cepts
Knowledge of z-domain concepts is desirable, but again a brief
introduction will be given if needed
The ability to program using MATLAB is important for simu-
lation aspects
The ability to build Spice circuit models is also desirable
ECE 5675 Phase-Lock Loops with Applications 1-11
CHAPTER 1. COURSE INTRODUCTION/OVERVIEW
1.8 References
The following list of references is not exhaustive by any means, but
is a list core of books I have in my library or have been recommended
to me. Some of these books are hard to nd since they are now out-
of-print.
General PLL
1. Heinrich Meyr and Gerd Ascheid, Synchronization in Digital Communica-
tions, Volume 1, John Wiley, 1990.
This text is basically concerned with analog PLLs (including charge-
pump) starting from the very basic concepts all the way through very
detailed nonlinear analysis with noise
The text also includes material on automatic frequency control (AFC)
and automatic gain control (AGC)
The book is clearly telecommunications based since PLL synthesiz-
ers are not considered at all
Used as the course text in earlier (1990s offerings of the course)
2. Alain Blanchard, Phase-Locked Loops: Application to Coherent Receiver
Design, Wiley, New York,1976. Original course text Dr. Wickert used in
his rst PLL course.
3. William F. Egan, Phase-Lock Basics, second edition, John Wiley, 2008.
First edition used in 2004 offering of the course.
4. Roland E. Best, Phase-Locked Loops, Theory Design, and Applications,
fth edition, McGraw Hill, 2003.
5. Dan Wolaver, Phase-Locked Loop Circuit Design, Prentice Hall, New Jer-
sey, 1991.
6. James A. Crawford, Advanced Phase-Lock Techniques, Artech House, Boston,
MA, 2008.
7. Jack K. Holmes, Coherent Spread Spectrum Systems, John Wiley, 1982.
1-12 ECE 5675 Phase-Lock Loops with Applications
1.8. REFERENCES
8. Jacob Klapper and John T. Frankle, Phase-Locked and Frequency-Feedback
Systems, Academic Press, New York, 1972.
9. William C. Lindsey and Marvin K. Simon, Telecommunication Systems En-
gineering, Prentice-Hall, Englewood Cliffs, New Jersey, 1973.
10. A. J. Viterbi, Principles of Coherent Communications, McGraw-Hill, New
York, 1966.
11. Rodger E. Ziemer and Roger L. Peterson, Digital Communications and
Spread Spectrum Systems, Macmillan, New York, 1985.
Frequency Synthesizers
1. William F. Egan, Frequency Synthesis by Phase Lock, second edition, Wi-
ley, New York, 2000.
2. Venceslav F. Kroupa, Frequency Synthesis: Theory, Design, and Applica-
tions, Wiley, New York, 1973.
3. Vadim Manassewitsch, Frequency Synthesizers: Theory and Design, 3rd
ed., Wiley, New York, 1987.
4. W. P. Robbins, Phase Noise in Signal Sources (Theory and Applications),
Peter Peregrinus Ltd., London, UK., 1982.
5. Ronald C. Stirling, Microwave Frequency Synthesizers, Prentice-Hall, En-
glewood Cliffs, New Jersey, 1987.
Synchronization
1. Umberto Mengali and Aldo N. DAndrea, Synchronization Techniques for
Digital Receivers, Plenum Press, New York, 1997.
2. Heinrich Meyr, Marc Moeneclaey, and Stefan Fechtel, Digital Communi-
cation Receivers: Synchronization, Channel Estimation, and Signal Pro-
cessing, Prentice Hall, New Jersey, 1998. This is volume II of of Meyr and
Ascheid.
Reports
1. L. Bogusch, Digital Communications in Fading Channels: Tracking and
Synchronization, AFWL-TR-90-15, Weapons Laboratory, Kirkland AFB,
NM, 1990.
ECE 5675 Phase-Lock Loops with Applications 1-13
CHAPTER 1. COURSE INTRODUCTION/OVERVIEW
Journals
1. IEEE Transactions on Communications.
2. IEEE Journal on Select Areas in Communications.
1.9 PLL Introduction
The history of the phase-locked loop dates back to as early as 1932.
According to author Dr. Rolland Best, the French engineer de Belle-
size is the inventor of coherent communication. Current applications
of the phase-locked loop (PLL) in-clude more than just coherent
communications. Frequency synthesis is currently a very important
PLL application area. The emphasis of this course will however be
for the most part on basic PLL theory and telecommunication ap-
plications. A discussion of various synthesizer types will also be
included at some point.
1.9.1 Classication of PLLs
In this course the intention is to discuss four basic classes of PLLs.
Using the notation of Best
1
these classes are:
Analog or Linear PLL (LPLL)
Digital PLL (DPLL)
All digital PLL (ADPLL)
Software PLL (SPLL)
1
Roland E. Best, Phase Locked-Loops: Theory, Design, and Applications, fourth edition, Mc-
Graw Hill, 1999
1-14 ECE 5675 Phase-Lock Loops with Applications
1.9. PLL INTRODUCTION
1.9.2 LPLL
The LPLL (Best) or analog PLL is the classical form of PLL. All
components in the LPLL operate in the continuous-time domain. A
LPLL block diagram is shown below:
The phase detector is typically some form of analog multi-
plier, either a double-balanced mixed (DBM) or an active four-
quadrant multiplier
The phase error function is of the form
.t / D K
m
K
1
A

K
D
sin

.t /
O
.t /

small error
K
D

.t /
O
.t /

Phase
Detector
Loop
Filter
Voltage
Controlled
Oscillator
Analog Multiplier Lowpass Filter
2A
0
t t ( ) + [ ] sin
2A
0
t

t ( ) + [ ] cos
Phase Error
Control voltage
~demod freq.modulation
Tracked input carrier
Classical analog PLL
The loop lter may be active or passive, but it typically results
in the loop being either rst-order or second-order
The design/analysis of the loop lter makes use of the Laplace
transform
ECE 5675 Phase-Lock Loops with Applications 1-15
CHAPTER 1. COURSE INTRODUCTION/OVERVIEW
Loop lter system functions, F.s/, include:
Loop Order Filter F.s/
1 1
2(perfect integrator)
1Cs
2
s
1
2(imperfect integrator)
1Cs
2
1Cs
1
2(lag or lowpass)
1
1Cs
1.9.3 DPLL
The digital PLL is really just an analog PLL with a digital phase
detector.
The DPLL is really a hybrid system
The DPLL is very popular in synthesizer applications
In the above gure the optional digital divider, and variations
on it, are used in frequency synthesis applications
Popular types of digital phase detectors include:
Exclusive or gate (EXOR)
Edge-triggered JK-ipop
Phase frequency detector (PFD)
1-16 ECE 5675 Phase-Lock Loops with Applications
1.9. PLL INTRODUCTION
Optional
Freq. Divide
by
2A
0
t t ( ) + [ ] sin
2A
0
t

t ( ) + [ ] cos
Digital
Phase
Detector
VCO
2A N
0
t N

t ( ) + [ ] cos
F s ( )
Classical digital PLL (digital phase detector)
1.9.4 ADPLL
The all-digital PLL (classical all-digital) is distinctly different from
the rst two PLLs mentioned thus far.
The ADPLL is a digital loop in two senses:
All digital components
All digital (discrete-time) signals
There are many ADPLL building blocks, and many variations
on putting them together
The ADPLL is also closely related to the SPLL
The VCO is replaced by a digitally controlled oscillator (DCO)
or also called a numerically controlled oscillator (NCO)
ECE 5675 Phase-Lock Loops with Applications 1-17
CHAPTER 1. COURSE INTRODUCTION/OVERVIEW
J
K
Q
K counter
NC DEC
counter N
ncr/Decr
Counter
XOR
74HC/HCT297
Carry
Borrow
Unused
Phase
Detector
nput
CP
Output
D
out

0
K clock
D clock
2
0
Control
Modulus Control
Nominally at
0
All-digital PLL as implemented in the part 74xx297
1.9.5 SPLL
The SPLL can be viewed as a discrete-time implementation of either
the LPLL or the DPLL. The block diagram of a generic SPLL is
shown below.
The implementation of the loop lter is typically a difference
equation
The design/analysis of the loop lter is done using the z-transform
1-18 ECE 5675 Phase-Lock Loops with Applications
1.9. PLL INTRODUCTION
The SPLL is feasible due to the availability of digital signal
processing (DSP) oriented microprocessors
A DSP processor features a Harvard architecture (sepa-
rate data and program memories)
Pipelined instruction capabilities
The computer hardware requirements are relatively high, but
the exibility is also very great
By designing the SPLL to closely match say an LPLL we can
effectively simulate analog PLL designs using software tools
Digitally
Controlled
Oscillator
2A
0
t t [ ] + ( ) sin
Phase
Detector
ADC
Discrete-
Time
Loop Filter
2A
0
t

t [ ] + ( ) cos
f
s
A software or discrete-time signals based PLL
The SPLL is very popular in digital communication applica-
tions
For complex baseband systems a popular phase detector is again
the sinusoidal phase detector, but now it takes the following
form
ECE 5675 Phase-Lock Loops with Applications 1-19
CHAPTER 1. COURSE INTRODUCTION/OVERVIEW
Ae
j
0
n n [ ] + ( )
K
1
e
j
0
n

n [ ] + ( )
K
1
Ae
j n [ ]

n [ ] ( )
Im { }
K
1
A n [ ]

n [ ] ( ) sin
Complex
signal path
Complex signal form of SPLL
1.10 Applications Overview
1.10.1 Synchronization for Digital Communica-
tions
In digital communications various levels of synchronization
are required
Systems that only operate at baseband typically require fewer
total function than those at passband or RF
The synchronization problem can viewed as one of parameter
estimation from waveforms
The three parameters most often referred to are, carrier fre-
quency, f
0
, carrier phase, , and symbol timing,
Taken jointly they form a parameter vector with three compo-
nents
1-20 ECE 5675 Phase-Lock Loops with Applications
1.10. APPLICATIONS OVERVIEW
Matched
Filter
Symbol
Detect
Freq.
Recovery
Phase
Recovery
e
j2v

t
e
j

r t ( ) r t ( )
x t ( ) x k [ ]
Sample at
kT +
c

k
counter-rotate
to remove
freq. error
counter-rotate
to remove
phase error
Timing
Recovery
Synchronization in digital communications using complex
signals
The gure above depicts analog signal processing, but in prac-
tice combinations of analog and digital signal processing are
required
Parameter tracking can be implemented using feedback, as in
PLL based techniques
Feed-forward methods are also possible
Some block diagrams of synchronization systems are shown
next
Coherent Carrier Reference Generation
BPF
at
0
( )
2
BPF
at 2
0
Loop
Filter
VCO
Divide
by Two
nput
Signal
Output
Carrier
Reference
ECE 5675 Phase-Lock Loops with Applications 1-21
CHAPTER 1. COURSE INTRODUCTION/OVERVIEW
Squaring loop for suppressed carrier modulation
Power
Splitter
VCO
Loop
Filter
90
LPF at
Bit Rate
LPF at
Bit Rate
nput
Signal
n-phase
Output
Quadrature
Output
Costas loop which performs at baseband the operation of the
squaring loop
BPF
at
0
( )
M
BPF
at
0
Loop
Filter
VCO
Divide
by
nput
Signal
Output
Carrier
Reference
Mth-power loops for M-ary phase shift keying
A DSP Based Mth Power and Decision Directed Approach
In bandpass digital communication systems the carrier frequency
is generated from a local timing reference
1-22 ECE 5675 Phase-Lock Loops with Applications
1.10. APPLICATIONS OVERVIEW
At the receiver coherent demodulation requires that the same
carrier frequency (or a translated version) and phase be used
for demodulation
Acoherent carrier recovery system, which tracks the frequency
and phase of the carrier at the receiver, is used for this purpose
The received signal (noiseless) is of the form
x.t / D Re

s.t /e
j !
c
t C.t /

Consider a complex baseband information carrying waveform


given by (here pulse amplitude modulation PAM)
y.t / D e
j !
c
t C.t /
1
X
mD1
A
m
p.t mT /
where A
m
is the data, p.t / is the transmit pulse shape, T is the
symbol period, and q.t / is the frequency offset and phase jitter
We need to form an estimate of the received carrier phase q.t /
so that the above signal can be demodulated with
e
j !
c
t C
O
.t /
In a digital (DSP) based receiver we may sample the signal at
the symbol rate (or a submultiple), the product of the carrier
estimate with the input to obtain
yn D e
j .nT /
O
.nT /
1
X
mD1
A
m
p.nT mT /
ECE 5675 Phase-Lock Loops with Applications 1-23
CHAPTER 1. COURSE INTRODUCTION/OVERVIEW
Assuming that p.nT mT / D .n/ the samples we obtain are
of the form
yn D e
j.n
O
n/
A
n
( )
M
NCO
m{ }
Loop
Filter
F z ( )
e
j
0
nT

n [ ] + ( )
x n [ ]
Mth Power Loop
NCO
Measure Angle
x n [ ]
e
j
0
nT

n [ ] + ( )
Loop
Filter
F z ( )
y n [ ] A

n
Hard Bt
Decisions
Phase Detector
Decision Directed Loop
1-24 ECE 5675 Phase-Lock Loops with Applications
1.10. APPLICATIONS OVERVIEW
Symbol/Bit Synchronization
VCO
Loop
Filter
F s ( )
Delay
LPF
Delay and Multiply Nonlinearity
Clock Output
x t ( )
Nonlinear lter clock recovery using a delay and multiply
circuit
Abs( )
Loop
Filter
F s ( )
VCO
Abs( )
x t ( )
-
+
Sample
& Hold
Sample
& Hold
( ) t d
T

& D
( ) t d
T

& D
Early Clock
Late Clock
Early-late gate timing recovery
ECE 5675 Phase-Lock Loops with Applications 1-25
CHAPTER 1. COURSE INTRODUCTION/OVERVIEW
nterpolation
x mT
s
( )
T
s
sample spacing
1
f
s
--- = =
Matched
Filter
Control
Loop
Filter
F z ( )
Timing
Estim.
y mT
s
( ) y
I
t
n
( )
To Data
Detector
T < symbol period =
Non-synchronous
sampled signal
A DSP based non-synchronous clock recovery loop
Spread Spectrum Code Synchronization
Splitter
Loop
Filter
F s ( )
VCO
Spreading
Code Gen.
-
+
Early Code
Late Code
nput ()
'Prompt Code'
Spreading
Code Clock
Delay-Lock
Discriminator
Delay-lock Loop
1-26 ECE 5675 Phase-Lock Loops with Applications
1.10. APPLICATIONS OVERVIEW
1.10.2 Frequency Synthesis Applications
In wireless applications frequency synthesizers provide local
oscillators for up and down conversion of modulated signals
Any radio based electronics that operates over multiple fre-
quencies, likely incorporates a frequency synthesizer
The transmitter and receiver of a cellular telephony handset is
shown below
D
u
p
l
e
x
e
r
BPF
UHF
PLL
LO
Power
Ampl.
Driver
90
VHF
PLL
LO
F
r
o
m

D
A
C
s
F Q Modulator
VGA
solator
RF Mixer
mage
Reject
Filter
90
T
o

A
D
C
s
F Q Demodulator
LPF
LPF
BPF
LNA
RF Mixer
VGA
Frequency
Synthesizers
Wireless handset transmitter and receiver RF signal
processing
ECE 5675 Phase-Lock Loops with Applications 1-27
CHAPTER 1. COURSE INTRODUCTION/OVERVIEW
Direct Synthesis
Use mixing (multiplication) to build up the desired frequency
and a division of a single reference frequency
Rapid switching time is one of the features
Bulky rf hardware (switches, mixers, lters) is a disad-
vantage
Spurious frequency generation can be a big problem
Indirect Synthesis
Indirect synthesis is another name for PLL frequency synthesis
A basic PLL synthesizer is the following
Loop
Filter
F s ( )
VCO
N
1

N
2

Reference
Oscillator
f
ref
f
ref
N
1
-------
f
out
N
2
--------
f
out
f
out
f
ref
N
2
N
1
------
=
General indirect synthesis using a DPLL
With indirect synthesis all by itself, large divide ratios are re-
quired to obtain ne resolution
Being able to set the divide ratio to a fractional, non-integer
value would solve this problem
1-28 ECE 5675 Phase-Lock Loops with Applications
1.10. APPLICATIONS OVERVIEW
The basis of the fractional-N method is to alter the divide ratio
N
2
between two values
Direct Digital Synthesis (DDS)
DDS is a DSP based method of using an N-bit accumulator to
generate a phase ramp corresponding to one clock cycle
The accumulator increments the phase by an equivalent
amount of each clock cycle
The output frequency is given by
f
out
D
N
i
2
N
f
ref
where N
i
corresponds to the phase step size
The minimum frequency change is
f D
f
ref
2
N
Accumulator
- Bits
Memory (LUT)
of cos()
DAC LPF

Address of

Shift
Out
nvert
Accumulate
nput Clock at
ref
f
ref
A simple direct digital synthesis scheme
ECE 5675 Phase-Lock Loops with Applications 1-29
CHAPTER 1. COURSE INTRODUCTION/OVERVIEW
Hybrid Methods
To meet various design goals combinations of the above method
may be employed
Several PLL synthesizers can be combined to create a
multi-loop synthesizer
DDS and a PLL can be combined to achieve ne step
sizes, yet the wide tuning range of a PLL
1.11 Simulation Examples
In this section several working PLL based circuits/systems will be
demonstrated using a variety of software tools. The intent is to give
a avor of what options are available in the way of simulation ap-
proaches for PLL based designs.
Example 1.1: Behavioral Level Modeling using XSpice
Analog circuit designers are well acquainted with Spice. The
challenge with PLL designs is to effectively make use of behavioral
modeling capabilities of modern Spice implementations. One such
extension to Spice is XSpice, developed at Georgia Tech.
We will soon learn that the full simulation of a PLL is numer-
ically intensive because waveform delity at the VCO level is
required, yet the bandwidth of the closed loop tracking system
is much smaller than the VCO quiescent frequency
In this example full waveform delity is preserved, but behav-
ioral models, as opposed to detailed circuit models, are used
for most of the loop
1-30 ECE 5675 Phase-Lock Loops with Applications
1.11. SIMULATION EXAMPLES
The VCO quiescent frequency is chosen to be just 5000 Hz and
the PLL closed-loop noise equivalent bandwidth is 100 Hz
0
V1
0.8836u
C1
AFM_Source
in1
in2
out
APhase_Det
AVCO
in out
AD_Freq_LPF

8.488k
R1

15
V3

15
V2
XLoop_Filt

10k
R2
VCO_nput
Analog PLL (LPLL) schematic using XSpice behavioral
modeling
The input signal source and VCO are both created using a volt-
age controlled sinusoid generator
The phase detector is an ideal multiplier and to remove the
double frequency term following the phase detector, a transfer
function behavioral level model is used
The transfer function associated with the block AD_FREQ_LPF
is H.s/ D 1000=.s C 1000/, a lowpass lter with cutoff fre-
quency f
c
D 1000=.2/ D 159:15 Hz
A loop lter of the form F.s/ D .1 C s
2
/=.s
1
/ is imple-
mented in circuit form using an Op-amp
The input sinusoid is initially at 5000 Hz and the VCO quies-
cent frequency is also at 5000 Hz
ECE 5675 Phase-Lock Loops with Applications 1-31
CHAPTER 1. COURSE INTRODUCTION/OVERVIEW
At 40 ms the input frequency is stepped to 5100 Hz, a 100 Hz
frequency step, (the VCO gain is K
v
D 100 Hz/v)
nput and VCO Signals
Time (s)
+39.600m +39.800m +40.000m +40.200m +40.400m +40.600m
(V)
-1.000
-500.000m
0.0
+500.000m
TME_SimRes1 -805.637m nput +569.939m VCO Output +1.136e+039
D(TME_SimRes1) -1.107 D(VCO Output) +1.136e+039
90
o
up to = 40 ms nput initially 100 Hz faster than VCO
The input sinusoid and the VCO output near t D 40 ms
The loop breaks lock and acquires in both frequency and phase-
lock via the nonlinear pull-in process
In about 70 ms the loop has settled (t D 110 ms)
In addition to transient or time domain modeling, Spice can be
used in the AC analysis mode to characterize open and closed
loop magnitude and phase response of linearized loops
The AC analysis mode also provides for detailed noise analysis
and the incorporation of phase noise models of the input source
oscillator and VCO
1-32 ECE 5675 Phase-Lock Loops with Applications
1.11. SIMULATION EXAMPLES
Ultimately closed-loop phase noise performance can be ob-
tained using actual circuit elements mixed with behavioral level
models
VCO Control Voltage During 100 Hz Frequency Step
Time (s)
0.0 +20.000m +40.000m +60.000m +80.000m +100.000m +120.000m +140.000m
(V)
-200.000m
0.0
+200.000m
+400.000m
+600.000m
+800.000m
+1.000
+1.200
TME +1.047e-306 v(VCO_nput) -1.000 D(TME) +1.047e-306
D(v(VCO_nput)) -1.000
100 Hz Frequency
Step at 40 ms
Loop has ~settled
nput and VCO
both at 5000 Hz,
but locking at 90
o
VCO control voltage in response to a 100 Hz frequency step
at t D 40 ms
Example 1.2: Baseband PLL in XSpice
In this example high frequency modeling, e.g., the individual
waveform cycles of the input and VCO are removed by abstract-
ing to what is known as a baseband PLL model. This model will be
developed in Chapter 2 of the course notes.
ECE 5675 Phase-Lock Loops with Applications 1-33
CHAPTER 1. COURSE INTRODUCTION/OVERVIEW
The multiplier phase detector is replaced by the phase differ-
ence block followed by a nonlinearity, here a sin function
To model a frequency step an integrator at the input converts
frequency to phase with a 2 factor times a frequency devia-
tion constant
The VCO, which is like a frequency modulator, is modeled as
an integrator with gain constant 2 K
v
, where K
v
D 100
Hz/v in this case
Freq. Step
nput
ntegrate -->
Phase Ramp
VCO = ntegrator
Gain = 2*pi*Kv
Nonlinear source:
v = sin(v(8))
0
V1
0.8836u
C1
B1
1
2
out +
A1
in out
A2_NTEGRATE
in out
A1_NTEGRATE

8.488k
R1

15
V3

15
V2
XLoop_Filt

10k
R2
VCO_nput
1K
R3
in out
A_LPF
Node 8
Baseband analog PLL schematic using XSpice behavioral
modeling
A 100 Hz frequency step is applied at the input at t D 40 ms
as in the previous example
Loop transient pull-in response is slightly different than be-
fore, but the total time required to settle is very similar
1-34 ECE 5675 Phase-Lock Loops with Applications
1.11. SIMULATION EXAMPLES
The waveform plotted is the VCO control voltage inverted to
account for the + sign in the summer block, and then scaled
by 100 to scale the waveform to instantaneous frequency devi-
ation in Hz
VCO nput with 100 Hz Frequency Step
Time (s)
0.0 +20.000m +40.000m +60.000m +80.000m +100.000m +120.000m +140.000m
Frequency
0.0
+50.000
+100.000
+150.000
TME -1.000 nverted VCO nput -1.000 D(TME) -2.970e+222
D(nverted VCO nput) -1.000
Transient is
slightly different,
but very sensitive
to parameters
100 Hz
Step ~settled
VCO input in response to a 100 Hz frequency step
Example 1.3: Analog PLL Modeling in MATLAB Simulink
Spice is useful for modeling certain aspects of PLL circuits, but
there are times when a complete abstraction to the system level is the
most efcient means to validate a design. In this example Simulink,
which is an odd-on to MATLAB (included with the student version)
is used.
ECE 5675 Phase-Lock Loops with Applications 1-35
CHAPTER 1. COURSE INTRODUCTION/OVERVIEW
The Egan text includes MATLAB m-les for complete com-
mand line nonlinear PLL simulation
Simulink is a block diagram simulation environment, so PLL
simulation here is more visual
Simulink alone does not provide direct support for PLLs and
synchronization
If you add to Simulink the Signal Processing toolbox, the
DSP blockset, the Communication toolbox, and nally
the Communication blockset, you have some basic PLL
building blocks, e.g. a VCO
With the basic Simulink library that comes with the stu-
dent version of Simulink PLL simulation requires a bit
more work, but is possible
In the example given here Simulink is used to model a band-
pass analog PLL with 5 kHz center frequency and 100 Hz loop
bandwidth, as in Example 1.1
VCO
Voltage-Controlled
Oscillator
7.5e-3s+1
8.836e-3s
Transfer Fcn1
1000
s+1000
Transfer Fcn
lpf_output
To Workspace1
vco_input
To Workspace
Step
Product
VCO
FM Source with
f0 = 5000 Hz
MATLAB Simulink model of an analog PLL at 5 kHz
1-36 ECE 5675 Phase-Lock Loops with Applications
1.11. SIMULATION EXAMPLES
The rst-order lowpass lter following the multiplier phase de-
tector is used to remove the double frequency term at 10 kHz
A 100 Hz frequency step is applied to the input at 40 ms
Results very similar to the XSpice model of Example 1.1 are
obtained
0 20 40 60 80 100 120
0.2
0
0.2
0.4
0.6
0.8
1
1.2
Time in ms
V
o
l
t
a
g
e
VCO nput in Response to a 100 Hz Frequency Step
Step applied at 40 ms
~settled
VCO input in response to a 100 Hz frequency step
Asmall amount of noise can be seen on the VCOcontrol signal
This noise in reality is the double frequency term, at 10 kHz,
leaking through the loop lter
This leakage will modulate the VCO and produce annoying
FM sidebands or spurs
ECE 5675 Phase-Lock Loops with Applications 1-37
CHAPTER 1. COURSE INTRODUCTION/OVERVIEW
This leakage is even more evident at the output of the lowpass
lter
0 20 40 60 80 100 120
0.5
0.4
0.3
0.2
0.1
0
0.1
0.2
0.3
0.4
0.5
Time in ms
V
o
l
t
a
g
e
LPF Output in Response to a 100 Hz Frequency Step
Waveform is noisy due
to double frequency
term (10kHz) still present
f
c
5000 Hz =
Phase detector lowpass lter output showing 10 kHz leakage
Example 1.4: Analog PLL Modeling in VisSim
In this example we consider the block diagram modeling tool
VisSim/Comm from Visual Solutions Inc. With the readily available
Communications library support for PLL simulation is very conve-
nient.
VisSim is similar to Simulink in that it is a block environment
for dynamic system simulation
1-38 ECE 5675 Phase-Lock Loops with Applications
1.11. SIMULATION EXAMPLES
With the VisSim/Commmany powerful communications blocks
are available, and complete complex baseband simulation blocks
are also dened
VisSim also has an interface with MATLAB, so results can be
directly imported in to MATLAB, or MATLAB can perform
calculations
Standard loop lters can be dened using loop lter blocks
which directly calculate the required time constants, e.g.,
1
and
2
from system level specications, e.g., loop bandwidth
and damping factor
In this rst VisSim example we repeat the original XSpice ex-
ample of an analog PLL at center frequency of 5000 Hz and
loop bandwidth of 100 Hz
ECE 5675 Phase-Lock Loops with Applications 1-39
CHAPTER 1. COURSE INTRODUCTION/OVERVIEW
sig
ph
VCO
sig
ph
VCO
*
Loop Filter
2nd Order PLL
1
1000
s+1000
FM Source
Fc = 5 kHz, 100 Hz/v
VisSim/Comm model of an analog PLL at 5 kHz
The VCO input signal (voltage) is measured when a 100 Hz
frequency step is applied at 40 ms
The results are consistent with the previous XSpice and Simulink
results
Note also that in VisSim the block diagram and graph windows
are wired together
1-40 ECE 5675 Phase-Lock Loops with Applications
1.11. SIMULATION EXAMPLES
VCO nput
VCO nput 100 Hz Step Response
Time (sec)
0 .01 .02 .03 .04 .05 .06 .07 .08 .09 .1 .11 .12
-.1
.1
.3
.5
.7
.9
1.1
1.3
Loop Filter
2nd Order PLL
Step applied at 40 ms
~settled
VCO input in response to a 100 Hz frequency step
Example 1.5: Complex Baseband PLL Modeling in VisSim
In digital signal processing based implementations, common place
in digital communications, the PLL is likely top operate on complex
signals, i.e., complex baseband. VisSim supports this via a complex
VCO block and other complex processing blocks. In this example a
complex baseband analog PLL is constructed.
A complex baseband PLL has the advantages of the baseband
PLL of Example 1.1, but takes complex signal inputs of the
form
s.t / D Ae
j 2f
c
t C.t /
not phase inputs
ECE 5675 Phase-Lock Loops with Applications 1-41
CHAPTER 1. COURSE INTRODUCTION/OVERVIEW
In this example a 2nd-order loop is constructed with center
frequency at f
c
D 0 (DC) having a loop bandwidth of 25 Hz
A frequency step of 50 Hz is applied at t D 0 and both the
sinusoidal phase detector output and VCO input signals are
observed
The entire VisSimsimulation block diagramand plots are shown
below
Z
ph
VCO
Z1
Z2
Z
Cplx
Mult
Z
ph
VCO
Complex Baseband Analog PLL
Phase Det ect or Out put
Time (msec)
0 50 100 150 200 250 300 350 400 450 500 550 600 650 700 750 800
V
o
l
t
a
g
e
-1.00
-.75
-.50
-.25
0
.25
.50
.75
1.00
Z
re
im
Cplx t o
Re/Im
Z Z
Cplx
Conj
Loop Filt er
2nd Order PLL
Complex Baseband Analog PLL
VCO Input
Time (msec)
0 50 100 150 200 250 300 350 400 450 500 550 600 650 700 750 800
-.1
0
.1
.2
.3
.4
.5
.6
50 Hz Freq.
Step
25 Hz
Bandwidth
Complex baseband PLL with a 50 Hz frequency step input
1-42 ECE 5675 Phase-Lock Loops with Applications
1.11. SIMULATION EXAMPLES
Example 1.6: Bit Synch Modeling in VisSim
Clock recovery in baseband digital communications frequently
employs a PLL. Here we assume R
b
D 100 bps.
A delay and multiply (D&M) circuit is used to generate a spec-
tral line from the NRZ (non-return-to-zero) binary bit stream
The power spectrum of the D&M output is also computed
ck
sy m
ck
Random
Sym (2)
2*$1-1
*
Delay (0.005 sec)
Trg
Z
Trg
Mag
Ph
f req
1024 pt. (x20)
Power Spectral
Density(dBm/Hz)
re
im
Z
Re/m
to Cplx
mpulse
t= 0.
sig
ph
VCO
*
5th Order 1 Hz
Butterworth Lowpass
Loop Filter
2nd Order PLL
+
+
sig
ph
VCO
crossDetect
Delay & Multiply
Nonlinearity
Averaged Periodogram
Spectrum Analyzer to Observe
D&M Output
2nd-Order PLL to
Track the Clock
Frequency
Loop
Frequency
Disturbance
Frequency Step
to the Clock of the
NRZ Random
Bit Stream
Filter D&M Self Noise
Delay-and-multiply bit synch block diagram
ECE 5675 Phase-Lock Loops with Applications 1-43
CHAPTER 1. COURSE INTRODUCTION/OVERVIEW
A 2nd-order PLL with loop bandwidth of 1 Hz is congured
with the D&M output as the input signal source
To test the acquisition and tracking of the bit synch a 1 Hz
frequency step is applied as a loop disturbance
Delay and Multiply Bit Synch
D&M Power Sprctrum
-400 -300 -200 -100 0 100 200 300 400
P
S
D

i
n

d
B
-40
-30
-20
-10
0
10
Delay and Multiply Bit Synch
VCO nput
Time (sec)
0 5 10 15 20 25 30
-.050
-.025
0
.025
.050
.075
.100
.125
5th Order 1 Hz
Butterworth Lowpass
Frequency in Hz
1 Hz Step Applied
nitial
Acquisition
Desired Clock
Spectral Line
R
b
100 bps =
D&M output PSD and VCO input for a frequency step
1-44 ECE 5675 Phase-Lock Loops with Applications
1.11. SIMULATION EXAMPLES
Example 1.7: Carrier Tracking in VisSim
In this example a complex baseband implementation of carrier
phase tracking is described.
The modulation scheme is binary phase-shift keying (BPSK)
with square-root raised cosine (SRC) pulse shaping
Pulse shaping lter FIR coefcients are imported from MAT-
LAB, but could also be designed directly in the VisSim/Comm
environment
The bit rate is 10 bps and the carrier frequency is nominally 0
Hz
To eliminate clutter a hierarchical block diagram is created
Trg
Z
Trg
Mag
Ph
freq
1024 pt . (x14)
Power Spect ral
Densit y(dBm/Hz)
Impulse
t 0.
Z
ph
VCO
Z1
Z2
Z
Cplx
Mult
re
im
Z
Re/Im
t o Cplx
Shaped PAM
File FIR
..\src1035.dat
Carrier
Recovery
Shaped BPSK with Costas carrier phase tracking
The modulator sub-block (Shaped PAM) is created to handle
the pulse shaping
ECE 5675 Phase-Lock Loops with Applications 1-45
CHAPTER 1. COURSE INTRODUCTION/OVERVIEW
The Carrier Recovery block houses a complex baseband Costas
loop having a 2nd-order loop lter with loop bandwidth of 0.5
Hz
A 0.5 Hz frequency step is applied 2 seconds into the simula-
tion
The carrier recovery block contains a graphical display show-
ing how the loop acquires lock following the frequency step
Z
ph
VCO
Z1
Z2
Z
Cplx
Mult
Z Z
Cplx
Conj
Z
re
im
Cplx t o
Re/Im
Loop Filt er
2nd Order PLL
*
Plot
Time (sec)
0 2.5 5 7.5 10 12.5 15 17.5 20 22.5 25
-.02
-.01
0
.01
.02
.03
.04
.05
.06
5t h Order 1 Hz
But t erwort h Lowpass
Carrier recovery block showing the VCO input signal
A matched lter having an identical SRC lter coefcients are
applied to the received signal following carrier recovery
Shown below is an eye plot at the output of this lter
The transmitted power spectrum is also computed
1-46 ECE 5675 Phase-Lock Loops with Applications
1.11. SIMULATION EXAMPLES
Eye Plot
Time (sec)
0 .02 .04 .06 .08 .1 .12 .14 .16 .18 .2
-20
-15
-10
-5
0
5
10
15
20
1024 pt . (x14)
Power Spect ral
Densit y(dBm/Hz)
PSD in dBm/Hz
-40 -35 -30 -25 -20 -15 -10 -5 0 5 10 15 20 25 30 35 40
-20
-15
-10
-5
0
5
10
15
20
25
File FIR
..\src1035.dat
Eye plot of the received BPSK and the transmit PSD
ECE 5675 Phase-Lock Loops with Applications 1-47

You might also like