Chapter 09 Phase-Locked Loops
Chapter 09 Phase-Locked Loops
Chapter 09 Phase-Locked Loops
Type-I PLLs
Type-II PLLs
PLL Nonidealities
VCO Phase Alignment
Phase/Frequency
Dynamics of Type-I PLLs
Detectors
Frequency Multiplication PFD/CP Nonidealities
Charge Pump
Drawbacks of Type-I PLL Circuit Techniques
Charge-Pump PLLs VCO Phase Noise
Transient Response Reference Phase
Noise
Solution:
They need not, but with unequal frequencies, the phase difference between the inputs varies
with time. Figure above depicts an example, where the input with a higher frequency, x2(t),
accumulates phase faster than x1(t), thereby changing the phase difference, ΔΦ. The PD
output pulsewidth continues to increase until ΔΦ crosses 180 °, after which it decreases
toward zero. That is, the output waveform displays a “beat” behavior having a frequency
equal to the difference between the input frequencies. Also, note that the average phase
difference is zero, and so is the average output.
Plot the input/output characteristic of the XOR PD for two cases: (a) the circuit
has a single-ended output that swings between 0 and VDD, (b) the circuit has a
differential output that swings between -V0 and +V0.
Solution:
(a) Assigning a swing of VDD to the output pulses shown in previous figure, we observe that
the output average begins from zero for ΔΦ= 0 and rises toward VDD as ΔΦ approaches
180° (because the overlap between the input pulses approaches zero). As ΔΦ exceeds
180°, the output average falls, reaching zero at ΔΦ = 360°. Figure above depicts the
behavior, revealing a periodic, nonmonotonic characteristic.
Plot the input/output characteristic of the XOR PD for two cases: (a) the circuit
has a single-ended output that swings between 0 and VDD, (b) the circuit has a
differential output that swings between -V0 and +V0.
Solution:
(b) Plotted in figure above for a small phase difference, the output exhibits narrow pulses
above -V0 and hence an average nearly equal to -V0. As ΔΦ increases, the output spends
more time at +V0, displaying an average of zero for ΔΦ = 90°. The average continues to
increase as ΔΦ increases and reaches a maximum of +V0 at ΔΦ = 180°. As shown top right,
the average falls thereafter, crossing zero at ΔΦ = 270° and reaching -V0 at 360°.
A single MOS switch can operate as a “poor man’s phase detector”. Explain how.
Solution:
A MOS switch can serve as a return-to-zero or a sampling mixer. For two signals x1(t) =
A1cos ω1t and x2(t) = A2 cos(ω2t + Φ), the mixer generates
This characteristic resembles a “smoothed” version of that of the previous example. The
gain of this PD varies with ΔΦ, reaching a maximum of ± αA1A2/2 at odd multiples of π/2.
Chapter9 Phase-Locked Loops 8
Type-I PLLs: Alignment of a VCO’s Phase
Negative feedback loop: if the “loop gain” is sufficiently high, the circuit
minimizes the input error.
The PD produces repetitive pulses at its output, modulating the VCO frequency
and generating large sidebands.
Interpose a low-pass filter between the PD and the VCO to suppress these
pulses.
A student reasons that the negative feedback loop must force the phase error to
zero, in which case the PD generates no pulses and the VCO is not disturbed.
Thus, a low-pass filter is not necessary.
As explained later, this feedback system suffers from a finite loop gain, exhibiting a finite
phase error in the steady state. Even PLLs having an infinite loop gain contain nonidealities
that disturb Vcont
A student argues that the input and output frequencies are exactly equal even if
the phase detector in the previous simple PLL with low-pass filter is replaced with
a “frequency detector” (FD), i.e., a circuit that generates a dc value in proportion
to the input frequency difference. Explain the flaw in this argument.
Solution:
As figure above depicts the student’s idea. We may call this a “frequency-locked loop” (FLL).
The negative feedback loop attempts to minimize the error between fin and fout. But, does
this error fall to zero? This circuit is analogous to the unity-gain buffer, whose input and
output may not be exactly equal due to the finite gain and offset of the op amp. The FLL may
also suffer from a finite error if its loop gain is finite or if the frequency detector exhibits
offsets.
If the loop is locked, the input and output frequencies are equal, the PD
generates repetitive pulses, the loop filter extracts the average level , and the
VCO senses this level so as to operate at required frequency
Chapter9 Phase-Locked Loops 13
Example of Phase Error
If the input frequency changes by Δω, how much is the change in the phase error?
Assume the loop remains locked.
Solution:
Depicted in figure above, such a change requires that Vcont change by Δω/KVCO. This in turn
necessitates a phase error change of
The key observation here is that the phase error varies with the frequency. To minimize this
variation, KPDKVCO must be maximized. This quantity is sometimes called the “loop gain”
even though it is not dimensionless.
Chapter9 Phase-Locked Loops 14
Response of PLL to Input Frequency Step
Solution:
The input frequency toggles between two values and so does the output frequency. The
control voltage must also toggle between two values. The control voltage waveform
therefore appears as shown in figure above, providing the original bit stream. That is, a PLL
can serve as an FSK (and, more generally, FM) demodulator if Vcont is considered the output.
Having carefully followed our studies thus far, a student reasons that, except for
the FSK demodulator application, a PLL is no better than a wire since it attempts
to make the input and output frequencies and phases equal! What is the flaw in
the student’s argument?
We will better appreciate the role of phase locking later in this chapter. Nonetheless, we can
observe that the dynamics of the loop can yield interesting and useful properties. Suppose
in the previous example, the input frequency toggles at a relatively high rate, leaving little
time for the PLL to “keep up.” As illustrated in figure below, at each input frequency jump,
the control voltage begins to change in the opposite direction but does not have enough
time to settle. In other words, the output frequency excursions are smaller than the input
frequency jumps. The loop thus performs low-pass filtering on the input frequency
variations—just as the unity-gain buffer performs low-pass filtering on the input voltage
variations if the op amp has a limited bandwidth. In fact, many applications incorporate
PLLs to reduce the frequency or phase noise of a signal by means of this low-pass filtering
property.
The analysis illustrated in PLL implementation suggests that the loop locks with a
finite phase error whereas above equation implies that Φout = Φin for very slow
phase variations. Are these two observations consistent?
Yes, they are. As with any transfer function, above equation deals with changes in the input
and the output rather than with their total values. In other words, it merely indicates that a
phase step of ΔΦ at the input eventually appears as a phase change of ΔΦ at the output, but
it does not provide the static phase offset.
Chapter9 Phase-Locked Loops 19
Damping Factor and Natural Frequency
Since phase and frequency are related by a linear, time-invariant operation, the
equation below also applies to frequency quantities.
Solution:
The phase detector provides both negative and positive gains. Thus, the loop automatically
locks with negative feedback.
The output frequency of a PLL can be divided and then fed back.
The ÷M circuit is a counter that generates one output pulse for every M input
pulses.
The divide ratio, M, is called the “modulus”.
That is, the sidebands maintain their spacing with respect to the carrier after frequency
division, but their relative magnitude falls by a factor of M.
In analogy with the op amp, we surmise that the weaker feedback leads to a
slower response and a larger phase error.
Repeat analysis for PLL in the frequency multiplication depicted above and
calculate the static phase error.
Solution:
If ωin changes by Δω, ωout must change by MΔω. Such a change translates to a control
voltage change equal to MΔω/KVCO and hence a phase error change of MΔω/(KVCOKPD) As
expected, the error is larger by a factor of M.
First, a tight relation between the loop stability and the corner frequency of the
low-pass filter. Ripple on the control line modulates the VCO frequency and
must be suppressed by choosing a low value for ωLPF, leading to a less stable
loop
Second, the simple PLL suffers from a limited “acquisition range”. If the VCO
frequency and the input frequency are very different at the start-up, the loop
may never “acquire” lock.
In addition, the finite static phase error and its variation with the input
frequency also prove undesirable in some applications.
At least three logical states are necessary: QA=QB=0; QA=0, QB=1; and QA=1,
QB=0
To avoid dependence of the output upon the duty cycle of the inputs, the
circuit should be realized as an edge-triggered sequential machine
QA and QB are simultaneously high for a duration given by the total delay
through the AND gate and the reset path of the flipflops.
The width of the narrow reset pulses on QA and QB is equal to three gate delays
plus the delay of the AND gate
Such a loop ideally forces the input phase error to zero because a finite error
would lead to an unbounded value fro Vcont.
We will first derive the transfer function of the PFD/CP/C1 cascade.
Called Type-II PLL because its open-loop transfer function contains two poles
at the origin
We can approximate this waveform by a ramp --- as if the charge pump continuously
injected current into C1
Plot the derivatives of Vcont and its ramp approximation in figure above and
explain under what condition the derivatives resemble each other.
Solution:
Shown above are the derivatives. The approximation of repetitive pulses by a single step
appears less convincing than the approximation of the charge-and-hold waveform by a ramp.
Indeed, if a function f(x) can approximate another function g(x), the derivative of f(x) does
not necessarily provide a good approximation of the derivative of g(x). Nonetheless, if the
time scale of interest is much longer than the input period, we can view the step as an
average of the repetitive pulses. Thus, the height of the step is equal to (Ip/C1)(ΔΦ0/2π).
Solution:
The closed loop contains two real coincident poles at -ωn and a zero at -ωn/2. Depicted
below |H| begins to rise from unity at ω = ωn/2, reaches a peak at ω = ωn, returns to unity at
ω = ωn, and continues to fall at a slope of -20 dB/dec thereafter.
From inverse Laplace transform, the output frequency, Δωout, as a function of time for a
frequency step at the input, Δωin
Assume:
Thus, the time constant of the loop is indeed equal to 1/ (2ζωn). More generally, we say that
with typical values of ζ, the loop time constant lies between 1/ (ζωn) and 1/ (2ζωn).
As can be seen in the bode plot, the division of KVCO by M makes the loop less stable,
requiring that Ip and/or C1 be larger. We can rewrite equation above as
Since the sidebands are small, the narrowband FM approximation applies and the
magnitude of the input sidebands normalized to the carrier amplitude is equal to a/(2ωm).
Since sinωmt modulates the phase of the input slowly, we let s → 0:
The loop filter consisting of R1 and C1 proves inadequate because, even in the
locked condition, it does not suppress the ripple sufficiently.
The ripple consists of positive ad negative pulses of amplitude IpR1 occurring
every Tin seconds.
Consider the two filter/VCO topologies shown in figure below and explain which
one is preferable with respect to supply noise.
Solution:
In figure top left, the loop filter is “referenced” to ground whereas the voltage across the
varactors is referenced to VDD. Since C1 and C2 are much greater than the capacitance of the
varactors, Vcont remains relatively constant and noise on VDD modulates the value of the
varactors. On top right, on the other hand, the loop filter and the varactors are referenced to
the same “plane,” namely, VDD. Thus, noise on VDD negligibly modulates the voltage across
the varactors. In essence, the loop filter “bootstraps” Vcont to VDD, allowing the former to
track the latter. This topology is therefore preferable. This principle should be observed for
the interface between the loop filter and the VCO in any PLL design.
The ripple at node X may be large but it is suppressed as it travels through the
low-pass filter consisting of R2 and C2
(R2C2)-1 must remain 5 to 10 times higher than ωz so as to yield a reasonable
phase margin.
The width of the pulse is equal to the width of the reset pulses, Tres (about 5
gate delays), plus ΔT.
The height of the pulse is equal to ΔT Ip/C2
The delay of the inverter creates a skew between the Up and Down pulses.
To alleviate this issue, a transmission gate can be inserted in the Down pulse
path so as to replicate the delay of the inverter
The quantity of interest is in fact the skew between the Up and Down current
waveforms, or ultimately, the net current injected into the loop filter
What is the effect of mismatch between the widths of the Up and Down pulses?
Illustrated above left for the case of Down narrower than Up, this condition may suggest that
a pulse of current is injected into the loop filter at each phase comparison instant. However,
such periodic injection would continue to increase (or decrease) Vcont with no bound. The
PLL thus creates a phase offset as shown in figure top right such that the Down pulse
becomes as wide as the Up pulse. Consequently, the net current injected into the filter
consists of two pulses of equal and opposite areas. For an original width mismatch of
ΔT, previous equation applies here as well.
Chapter9 Phase-Locked Loops 52
Voltage Compliance
The phase offset of a CPPLL varies with the output frequency. Explain why.
Solution:
At each output frequency and hence at each control voltage, channel-length modulation
introduces a certain mismatch between the Up and Down currents. As implied by previous
equation, this mismatch is normalized to Ip and multiplied by Tres to yield the phase offset.
The general behavior is sketched in figure below.
The accuracy of the circuit is ultimately limited by the charge injection and
clock feedthrough mismatch between M1 and M5 and between M2 and M6
Solution:
Figure on the right plots the time-domain and
frequency-domain behavior of the control voltage
in the first case. Since ΔT << TREF , we approximate
each occurrence of the ripple by an impulse of
height V0 ΔT. The spectrum of the ripple thus
comprises impulses of height V0 ΔT /TREF at
harmonics of fREF . The two impulses at ± fREF can
be viewed in the time domain as a sinusoid having
a peak amplitude of 2V0 ΔT /TREF , producing output
sidebands that are below the carrier by a factor of
(1/2)(2V0 ΔT /TREF )KVCO/(2πfREF) = (V0 ΔTKVCO)/(2π).
PLL suppresses slow variations in the phase of the VCO but cannot provide
much correction for fast variations
Solution:
We observe that both poles scale up by a factor of K. Since Φout/ΦVCO ≈ s2/ωn2 for s ≈ 0, the
plot is shifted down by a factor of K2 at low values of ω. Depicted below, the response now
suppresses the VCO phase noise to a greater extent.
What happens to the magnitude plot? We make two observations. (1) To maintain the same
transient behavior, ζ must be constant; e.g., the charge pump current must be scaled up by
a factor of N. Thus, the poles given by previous equation simply decrease by factor of .
(2)For s → 0, Φout/ΦVCO ≈ s2/ωn2, which is a factor of N higher than that of the dividerless
loop. The magnitude of the transfer function thus appears as depicted below on the right.
A time-domain perspective can also explain the rise in the output phase noise. Assuming
that the output frequency remains unchanged in the two cases, we note that the dividerless
loop makes phase comparisons— and hence phase corrections—N times more often than
the loop with a divider does. That is, in the presence of a divider, the VCO can accumulate
phase noise for N cycles without receiving any correction. Figure below illustrates the two
scenarios.
The overall PLL output phase noise is equal to the sum of SA and SB
The actual shape depends on two factors:
(1) the intersection frequency of α/ω3 and β/ω2
(2) the value of ωn
Crystal oscillators providing the reference typically display a flat phase noise
profile beyond an offset of a few kilohertz
and choose:
Since KVCO is known from the design of the VCO, we now have two equations and three
unknowns.
A PLL must generate an output frequency of 2.4 GHz from a 1-MHz reference. If
KVCO = 300 MHz/V, determine the other loop parameters.
Solution:
We select ζ = 1, 2.5ωn = ωin/10, i.e., ωn = 2π(40 kHz), and Ip = 500 μA. Substituting KVCO =
2π ×(300MHz/V) yields C1 = 0:99 nF. This large value necessitates an off-chip capacitor.
Next, previous equation gives R1 = 8:04 kΩ. Also, C2 = 0.2 nF. As explained in Appendix I, the
choice of ζ = 1 and C2 = 0.2C1 automatically guarantees the condition.
Since C1 is quite large, we can revise our choice of Ip. For example, if Ip = 100 μA, then C1 =
0.2 nF (still quite large). But, for ζ = 1, R1 must be raised by a factor of 5, i.e., R1 = 40.2 kΩ.
Also, C2 = 40 pF.
We have
The two trends depicted in figure above shed light on the stronger dependence of ζ on R1
than on C1: in the former, the PM increases because ωz falls and ωu rises whereas in the
latter, the PM increases only because ωz falls.
where
and hence
hence