Documente Academic
Documente Profesional
Documente Cultură
JWDD062-Egan
17:31
Char Count= 0
CHAPTER 2
We begin by studying the basic phase-locked loop (PLL), whose loop filter is represented by a frequency-independent gain. We will look at its transient response and its
frequency response in the same way that we will later look at those for the more complicated cases, but it is important that we first gain a clear understanding by studying
this simpler case.
15
JWDD062-02
JWDD062-Egan
16
17:31
Char Count= 0
Fig. 2.1 Loop output frequency vs. phase difference at the phase detector with a typical VCO.
The hold-in range, over which the frequency will vary as the phase detector covers its output
range, is indicated.
one-to-one correspondence between the VCOs frequency and its phase (relative to
the reference phase) in steady state. In this simple first-order, loop, the one-to-one
relationship holds not only in steady state but always. If we know one variable, we
know the other because there is no storage, no memory, in the filter. The loops that we
will study later will be different in this regard; the filter will permit the relationship
between the VCOs frequency and phase to change with time. That will make those
loops more versatile, and more challenging.
(2.1)
describes the state variable out , which represents the output frequency of the loop,
but out can be seen to possess a frequency (its modulation frequency) m and a
JWDD062-02
JWDD062-Egan
17:31
Char Count= 0
17
(2.2)
(2.3)
(2.4)
If in is constant, it may be subtracted from out on the left side, since the differential
will not be affected by inclusion of a constant. This gives
d(out in ) = K (out in ) dt
(2.5)
d = K dt,
(2.6)
out in .
(2.7)
d
= K dt
(2.8)
or
where
1
d =
K dt
(2.9)
(2.10)
JWDD062-02
JWDD062-Egan
18
17:31
Char Count= 0
(2.11)
(2.12a)
(2.12b)
Thus we see that this simple loop responds to an initial frequency error (difference
between the output and reference frequencies) (0) by exponentially decreasing
the error with a time constant equal to 1/K . As a result, the step response shown in
Fig. 2.2a is obtained. This is the same response to a frequency step that a single-pole
low-pass circuit has to a voltage step (Fig. 2.2b).
We might intuit this exponential response through the following considerations.
After the input frequency steps, there is a frequency error that causes to
change. This change in (multiplied by K ) causes the VCO frequency to change in
such a direction as to decrease the frequency error (Fig. 2.3). This, in turn, decreases
the rate of phase change and thus the rate at which the VCO frequency changes.
As always, when the rate of change of a variable is proportional to the value of the
variable, it changes exponentially. Of course, the exponential shape will be perturbed
to the degree that there is curvature in the gain characteristics over the operating
region.
Fig. 2.2 Step response of (a) a simple loop compared to the step response of (b) a low-pass
filter. The filter in this loop is a simple amplifier. The frequency of the loop responds like the
voltage of the RC circuit.
JWDD062-02
JWDD062-Egan
17:31
Char Count= 0
19
Fig. 2.3 Output frequency vs. phase for two phase detector characteristics. Since frequency
is the derivative of phase, the direction of change is determined by the sign of the frequency
difference.
Example 2.1 Transient Response When the input frequency to a particular loop
steps to a new frequency, we require that the output achieve that frequency, to within
an accuracy of 1%, in 1 msec. What are the range of K values that allow a simple
loop to comply with this requirement?
Restating the problem, we require
(1 msec)/(0) 0.01.
From (2.12a) this requires
(eK 10
sec
(2.13)
(2.14)
where c is the center, or carrier, frequency, A is the peak frequency deviation, and
m is the modulation frequency. Putting Eq. (2.14) into (2.13), we obtain
A
m
cos(m t) + c + A sin (m t) = in .
K
(2.15)
(2.16)
(2.17)
JWDD062-02
JWDD062-Egan
20
17:31
Char Count= 0
m 2
+ 1,
K
(2.18)
m 2
+ 1.
K
(2.19)
Since in contains a component equal to out plus one that leads it by 90 and is
larger by m /K , the phase angle of in relative to out is tan1 [m /K ] and the
transfer phase is
H (m ) out (m ) in (m ) = tan1 [m /K ].
(2.20)
As with the time response, the response of this loop to a sinusoidally modulated
frequency is the same as the response of a low-pass filter to a sinusoidal voltage. In
each case the corner (3 dB) frequency is = K .
Example 2.2 Modulation Response A simple loop has a sinusoidal phase detector characteristic (Fig. 1.5) and K = 1000 sec1 . The input (reference) frequency
is frequency modulated at an unknown rate with a peak deviation of 50 Hz. What
is the phase shift between the VCO modulation and the input modulation when the
deviation at the output is 10 Hz?
We will use the gain to determine the modulation frequency and then use the
modulation frequency to determine the phase shift. The closed-loop gain is
|H (m )| = 10 Hz/50 Hz = 0.2.
From (2.19), this occurs at
2
m
+ 1 = 5,
m
= 24,
K
giving the modulation frequency as m = 4899 rad/sec. Inserting m /K into (2.20),
we obtain the phase shift as H (m ) = tan1 (4.9) = 78.5 . Thus the output
modulation lags the input modulation by 78.5 .
JWDD062-02
JWDD062-Egan
17:31
Char Count= 0
21
The usual input and output state variables (y for voltage or current) are shown below
the plot of instantaneous frequency. The input happens to be a sinusoid while the
output is a square wave. These are intended to illustrate the meaning of the frequency
deviations plotted above. Note that the magnitude of the output frequency deviation is
smaller than that of the input deviation and how the times of occurrence of maximum
frequency (minimum period) correspond to the peaks in the frequency plots.
(2.21)
Fig. 2.4 Mathematical block diagram of the simple loop with phase variables as input and output. The frequency state variables are shown to indicate how they relate to the phase variables.
JWDD062-02
JWDD062-Egan
22
17:31
Char Count= 0
(2.22)
where G F and G R are forward and reverse transfer functions, respectively, and the
response of the error E to the reference2
E
1
.
=
R
1 + GFGR
(2.23)
The correspondence between the usual designations for loop signals, C, R, and E, and
state variables of the phase-locked loop depends on the input and output of interest.
Most often, in this text, we will be interested in the configuration shown in Fig. 2.4
so we identify C as out (s) and R as in (s). Because the feedback path has unity gain,
we have also G R = 1 and G F is the entire open-loop transfer function G(s),
G(s) = K p K LF K /s K /s.
(2.24)
e (s) = (s) except that e (s) is used to refer to a change without reference
to the steady-state phase difference.
2 Note: G G is the open-loop gain and C/R and E/R are closed-loop gains.
F R
JWDD062-02
JWDD062-Egan
17:31
Char Count= 0
23
K /s
1
=
,
1 + K /s
1 + s/K
(2.25a)
(2.25b)
1
s
=
.
1 + K /s
s+K
(2.26a)
(2.26b)
When we are interested in inputs or outputs at points other than those used above, we
can rewrite the equations or, what is often simpler, relate the desired input or output
to that shown in Fig. 2.4 by the transfer function of the segment that connects them.
Equation (2.25) represents a low-pass characteristic with a cutoff (3 dB) frequency of = K . This is analogous to the low-pass filter of Fig. 2.6a in which the
voltages have been given names corresponding to the phases. Equation (2.26) says
that the error phase has a high-pass characteristic, analogous to Fig. 2.6b. It is generally true, even in more complex loops, that the output has a low-pass relationship
to the input while the error has a high-pass relationship. This reflects the fact that the
error responds immediately to a change in the input while, and because, the output
response is delayed.
Figure 2.7 is essentially the same as Fig. 2.4 except that the two 1/s blocks have
been moved forward through the summer; since both integration and summing are
linear operations, either can be done first. The input and output are now frequencies
rather than phases, illustrating that the response of output frequency to input frequency
is the same as the response of output phase to input phase. We can show the same
Fig. 2.6 Electrical analogs to the PLL. Voltages have names of analogous loop variables.
JWDD062-02
JWDD062-Egan
24
17:31
Char Count= 0
Fig. 2.7 Mathematical block diagram of the simple loop with frequency variables as input
and output.
results as follows:
out (s)
sout (s)
out (s)
=
=
.
in (s)
sin (s)
in (s)
(2.27)
(2.28a)
in = out + e
(2.28b)
and
and thus
1=
out
e
out
e
+
=
+
in
in
in
in
(2.28c)
so that the output can easily be obtained from error and vice versa in most cases.
Example 2.3 Modulation Response
ple 2.2. At s = j4899/sec, we have
out
1
=
= 0.2 78.5
in
1 + j4899/1000
as before.
JWDD062-02
JWDD062-Egan
17:31
Char Count= 0
25
Fig. 2.8 Bode plot for the simple loop. Note that the abscissa axis is marked with the values
of m (e.g., K ), rather than the actual distance, log(m sec/rad). Similarly, the ordinate axis is
marked with gain rather than its logarithm or value in dB.
(2.29)
Thus, for example, when n = 2, the gain drops as the square of the frequency and
the phase is 180 . The slope is often expressed logarithmically. The magnitude is
described by
|F()| 20 dB log10 (Cn ) = 20n dB log10 () + C .
(2.30)
(2.31)
(2.32)
JWDD062-02
JWDD062-Egan
26
17:31
Char Count= 0
Figure 2.8 also illustrates that K is both the gain at = 1 and the radian frequency
at which the open-loop gain is unity. As has been shown, this is the frequency at which
the closed-loop gain is 3 dB. At frequencies well below = K , Eq. (2.25) can be
approximated as
out (s)
= 1,
in (s)
(2.33)
(2.34)
This equals the open-loop transfer function, Eq. (2.24). Thus, at low frequencies,
where the gain is high, the output follows the input faithfully, whereas, at high frequencies, where the gain becomes low, the loop is essentially open and the response
is as if there were no loop (except that the low-frequency gain keeps it locked
otherwise none of these equations would be valid). At the loop corner frequency,
JWDD062-02
JWDD062-Egan
17:31
Char Count= 0
27
1
t
sec
t2
2 sec2
Error
Output
1
s
1
s2
1
s3
eK t
1-eK t
1
(1 eK t )
K
1
1
[t + (ekt1 )]
K
k
1
(1 eK t )
K
1
1
t2
[t + (ekt1 ])
2
K
K
t
t by integrating the time response to the unit step. Similarly, the integral of t is a
parabola t 2 /2, and we can obtain the response to this by integrating the ramp response.
Alternately, we can take the inverse Laplace transform of the transform obtained by
multiplying the transfer function of Eq. (2.25b) by 1/s, 1/s 2 , and 1/s 3 to obtain step,
ramp, and parabola responses. (The parabolic input is important because it represents
the phase corresponding to a frequency ramp.)
The error response can be obtained by following the above process but starting
with equations for the error response, Eq. (2.12a) or the Laplace transform of the error
response, Eq. (2.26b).
Either the output response or the error response can be obtained from the other by
subtraction according to Eq. (2.28c).
Table 2.1 summarizes these responses. If an input is a 5-Hz step, since that is 5 Hz
times the given unit input, the output or error will be 5 Hz times the given output or
error. If the input is a 2-rad or 2 step, then the output will be 2 rad or 2 times the
given response. A 10-Hz step is also a 10-cycle/sec ramp (10 cycles t/sec), 10 cycles
times the given ramp input, so the output phase will be 10 cycles times the given ramp
response. If the input is a frequency ramp of 100 rad/sec/sec [(100 rad/sec) t/sec],
the output frequency will be obtained by multiplying the ramp output response by
100 rad/sec. However, we can also obtain the output phase by considering the input
as a parabolic phase [100 rad t 2 /(2 sec2 )] and obtaining the phase of the response
by multiplying the given response by 100 radians.