The Phase-Locked Loop (PLL) : Zero-Order View of PLL
The Phase-Locked Loop (PLL) : Zero-Order View of PLL
This slide and the next one are intended give conceptual (intuitive?)
views of how the PLL works. The words may actually be very
similar between the two slides.
VCO=FM Modulation (Lab 2)
Multiplier (=“X”)…(Lab 1)
Feedback (A=a/[1+af])…(Lab 3…different target application)
1
The Analogy between O/A feedback
and PLL
νo
R1 R2 Virtual ground
νi Requires that:
iin = - ifb
iin ifb
νi νo=νi φi
VCO1 ν-to-φ νo
φosc
VCO2
2
(Grebene)
3
(Grebene)
This shows “error voltage” (Ve) versus frequency and key PLL
performance parameters of “capture” and “tracking” (=locked)
ranges.
Stated simply, if Ve goes up (+V) so does the frequency of the
VCO. f0 is the “free running” frequency of oscillation.
Similarly, if Ve goes down (-V) the frequency of oscillation does as
well.
There is a limit to how much the VCO can be “tuned.” As we will
see from the SPICE modeling, this has to do with how much phase
change (coming out of the VCO) can be accommodated
The next slide shows a bit more of a “dynamic” picture of the
process and in fact more representative of how YOU will be
working with the PLL in some of your testing.
4
(Grebene)
This pair of figures shows how the error signal looks when (TOP)
the incoming frequency is swept from much below fo to well above
it.
From the low end (of frequency) Ve=0 meaning that the VCO is
“free running” and doesn’t really “care about” the input.
When the error signal jumps to a negative value, now the VCO is
“with the program” and it has “captured” the incoming signal.
Namely, it has adjusted it’s Ve (and phase of it’s output) such that it
has found and locked onto the input.
As frequency increases (from the input) the error voltage “tracks”
the input signal, adjusting the VCO frequency and phase to stay in
lock with the input. Finally, it looses “LOCK” at some frequency
much higher than fo.
The BOTTOM trace corresponds to going from input frequencies
much higher than fo towards lower frequencies.
Putting the information from both these traces together is what
allows us to define “capture range” and “tracking range” (the latter
being much broader than the former.
5
(Grebene)
This is the transient view of the error voltage as it tries to find the
“lock” condition for a new incoming frequency.
Basically, in the process of trying to adjust both frequency and
phase of the VCO, the control voltage (=Ve) goes back and forth
from too high a Ve (and frequency) to too low a Ve (and resulting
frequency) until it “damps” to the “just right” control voltage.
Reminder, the loop filter has a lot to do with this process and is a
critical (and non-trivial) part of designing PLLs that quickly capture
incoming signals and their changes in frequency.
We’ll see more about this kind of figure in the discussion related to
the simulation results ala the Mayaram text.
6
Block Diagram of PLL*
Φosc(s)
VCO
7
A (very) Simple PLL Model
The F(s) is
simply an RC;
A=1 (no gain)
(1)
(7)
“summing node” in
the O/A-like model Again, as in O/A
of PLL model, this block is
indeed a multiplier
(see SPICE deck)
8
This is basically a polynomial
function that multiplies voltages
v(1,0) and v(7,0)
Simple VCO
(see text for Comment: In a few
more details) slides forward, there is
a “question” that
relates to this :)
9
Trig. Functions have This shows the range over
which the PLL can adjust
∆φ limits…(+/- π/2 )
“phase” (and frequency).
Up is higher frequency;
Down is lower frequency.
10
Note: these two
node voltages
correspond to
vi and vosc
See next figures for
qualitative argument
of how these + and - Fig. 14.4
changes occur
Transient from Transient from
fi=1.0MHz fi=1.0MHz
0V
+ + + +
+1V -1V
- - -
0V
Fig. 14.4
11
The following set of slides try to explain, in the context of a
multiplier acting as the “phase comparator,” how the input
(vi(t)) and the oscillator (VCO output=vosc.(t)) combine to
create the signal called out as X. Here are a few key points:
9These waveforms get low-pass filtered; hence we are
really looking at the averages--called out as “+” and “-”
9These “+” and “-” changes in turn cause the VCO to
move to higher and lower frequencies respectively (see
for example Fig. 14.4)
9Since these changes occur over a small number of
cycles, they are far from the complete story, however
they also help to illustrate issues concerning the “phase”
part of the story…
9Namely, when the lock condition is achieved there is a
very specific phase relationship required (∆φ as
indicated in Fig. 14.3)
12
Input AT the
“free running”
ω0
After LPF this 2ωo
gives Average=0
νi(t)
(ωo)
νosc(t)
(ωo)
^
νo(t)= νosc(t) X νi(t)
(2ωo)
This shows the LOCKED condition where vi and vosc have the same
ωo and the phase-shift between the two signals would correspond to
900, assuming that the frequency is at fo
Comments: phase difference between two signals is
90-degrees and for identical frequencies (input and
oscillator) then the product will give equal numbers
of + and - output voltage segments. That is, in this
“locked” condition, the oscillator is working with
phase detector and happy that input voltage to VCO
is the right one (both frequency and phase are
correct)
13
ν’i(t)
fi<fosc
νosc(t) Also note: Look at
Mayaram Fig. 14.4d
(I.e. the input is at a
lower freq. So that the
^
^ error signal needs to
νo(t)= νosc(t) X νi(t) + + be “-”)
14
ν”i(t)
fi>fosc
Now the input frequency is HIGHER than that of the VCO. The net result of
all the multiplications (and filtering) should result in an error signal that is
POSITIVE. (hard to tell from what I’ve “sketched” here :)
15
Now let’s have a look at the DETAILS that give
us a first-order transfer function for the PLL…
Φosc(s)
Mayaram Text…
16
νf(s) νo(s)
A
ωosc(s)
VCO
Mayaram Text…
17
Mayaram Text…
ωosc(s)
Φosc(s)
VCO
BIG DEAL!!
18
νf(s) νo(s)
A
Φosc(s)
VCO
Mayaram Text…
19
Φi(s) KP νp(s) νf(s) νo(s)
Φcomp(s) F(s) A
Φosc(s)
Mayaram Text…
20
“s” now added
21
Mayaram Text…
(and ongoing discussion there gives
much, much MORE)
22