A Zeroth-Order Phase-Locked Loop Control Algorithm - Losic1998
A Zeroth-Order Phase-Locked Loop Control Algorithm - Losic1998
4, JULY/AUGUST 1998
A Zeroth-Order Phase-Locked
Loop Control Algorithm
Novica A. Losic, Senior Member, IEEE
(2)
(3)
(a) (b)
(c) (d)
Fig. 4. Illustrating low-pass filtering/stabilizing circuits.
techniques, such as a phase-plane method, are to be used for forward to implement. It can be shown that the proposed
the analysis. feedforward control requires that the system transfer function
Both results, i.e., the zero steady-state error and zeroth- denominator, obtained upon substitution of the feedforward
order system, are ideally achievable only for the exact value algorithm in it, is a Hurwitz polynomial. This requirement,
of the feedforward gain as called for in (4), valid only if as it turns out, may be satisfied by appropriate choice of
the pure gains indeed model the blocks involved on the the loop compensator and by the numerator of the
right-hand side of (4). Such an ideal situation would imply plant transfer function being itself a Hurwitz polynomial. (It
that the system poles and zeros are at exactly the same should be recalled that a Hurwitz polynomial is characterized
locations in the plane, cancelling each other in (2), which as having all of its zeros lying in the left half of the
then results in (5). Any deviation from this ideal case would plane). The requirement for the numerator of the plant transfer
provide no perfect pole–zero canellation, with the outcome less function to be a Hurwitz polynomial classifies such plant
than the ideal. However, in a practical system, no algorithm as a minimum phase system. Thus, it can be stated that the
of the nature of the closed-form expression as in (4) is inverse dynamic feedforward control is possible if, and only
ideally implementable (ultimately because of the component if, the given system is minimum phase. In robotic applications,
tolerance or finite precision in software implementation), and the feedforward control usually requires that one or more
an approximation to the desired algorithm is always used, at derivatives of the input/reference signal be applied as direct
least within the mentioned ultimate constraints. Nevertheless, inputs to the given system, as a physical system, i.e., the plant
even with these constraints, the system performance is greatly is generally characterized by a strictly proper transfer function,
improved. i.e., its denominator is usually of a higher degree than its
The algorithm in (4) is actually a result of the inverse (dy- numerator.
namic) feedforward control applied, in particular, in robotics In the case of the system of Fig. 3, the plant is greatly
[2]. There, the implementation is more involved, as the plant simplified. Here, it is the VCO. (In some PLL’s it may be a
is, in general, a higher order system. It is used to enable current-controlled oscillator, which does not affect the method
tracking of a time-varying trajectory that, in general, may be a presented here.) If it is characterized by a pure gain the
high-order polynomial function of time, with zero steady-state most straightforward implementation of the control algorithm
error. Clearly, the required control would be considerably more follows from (4). As will be discussed in the next section,
complex than a simple proportional integral derivative (PID) a practical VCO may not have quite linear, i.e., constant
controller. gain, transfer characteristic. It may also have some voltage
The inverse dynamic feedforward control was found to be offset, i.e., a nonzero voltage is required to produce zero
an alternative control technique that was relatively straight- output frequency from the VCO. While the latter is relatively
LOSIC: A ZEROTH-ORDER PLL CONTROL ALGORITHM 741
(a) (b)
(c) (d)
Fig. 6. (a) Response to input frequency step change—standard system. (b) Response to input frequency step change—zeroth-order system. (c) Response to
input phase ramp change—standard system. (d) Response to input phase ramp change—zeroth-order system.
able to maintain zero steady-state phase error for input phase order system, as seen from the same figure, locks to any input
step change, corresponding to a Dirac impulse change in input frequency change and has a zero steady-state phase error. It
frequency, because of the inherent pole at the origin due to the has less error, even for very large deviation in the required
transformation of the frequency of the VCO to phase in the value of , as seen from Fig. 8(a) and (c).
loop. Furthermore, as seen from Fig. 6, the standard system In Figs. 5–8, input, output, and average phase error are
is able to lock to the step-changed input frequency, i.e., to represented by voltages V(VTETAIN), V(VTETAOUT), and
maintain zero steady-state frequency error for the prescribed V(VTETAE), respectively, while the input and output fre-
magnitude of the change, because of the pure integration (pole quency are represented with V(VFIN) and V(VFOUT), respec-
at origin) performed upon the input frequency, i.e., in the path tively. An offset voltage exists in connection with the VCO
of the signal. However, a nonzero steady-state phase error which, when accounted for, eliminates “negative” frequency
now exists for the corresponding ramp change of input phase. responses in some of the figures.
In addition to the inherent pole at the origin of the VCO, the In the breadboard circuit of Fig. 9, the industry standard
standard system would need another pole at the origin provided 4046 PLL IC has been used to prototype the inverse feed-
by an LPF, such as the one in Fig. 4(d), with the associated forward control around it. The feedforward path consists of
stability problems, to force this error to zero. an f/V, correction gain ciruit, and summing circuits. The f/V
In Figs. 7 and 8, the standard system cannot lock to the ramp conditions input pulses by differentiating and inverting them
and parabolic changes in input frequency, respectively, i.e., the for triggering the 555 monostable, which feeds the conditioned
steady-state frequency error (constant in Fig. 7 and linearly pulses to the second-order active LPF followed by a first-order
increasing in Fig. 8) exists. The steady-state phase error for the passive integrating network. The gain correction and summing
corresponding parabolic and cubic change in the input phase is circuits are built using TL 084 op amps. The LPF, as seen
linearly and parabolically increasing, respectively. The zeroth- from Fig. 9, is of the type shown in Fig. 4(b) (needed for
LOSIC: A ZEROTH-ORDER PLL CONTROL ALGORITHM 743
(a) (b)
(c) (d)
Fig. 7. (a) Response to input frequency change consisting of ramp segments—standard system. (b) Response to input frequency change consisting of
ramp segments—zeroth-order system. (c) Response to input phase change consisting of parabolic segments—standard system. (d) Response to input phase
change consisting of parabolic segments—zeroth-order system.
optimum performance of the standard circuit). The necessary The phase detector further deteriorates the standard system
buffering to prevent loading the relevant blocks of Fig. 3 performance; the performance of the zeroth-order system is
is implemented, too. There is no frequency division in the unaffected.
feedback loop, thus, the required correction gain is found from Fig. 11 shows the responses of standard and zeroth-order
(4) for systems, in the form of the VCO driving voltage, for the
The transfer characteristics of the VCO and f/V were exper- step-modulated input frequency. It is seen that, for the size of
imentally found and plotted in Fig. 10. As seen from Fig. 10, the step modulation, the standard system is effectively unable
the VCO has an offset voltage. [Denoting the offset voltage to lock (the variation in the VCO voltage is effectively the
the output frequency versus the driving voltage is variation in its frequency). The zeroth-order system pulls in
given by ]. To eliminate the effects of the perfectly and stays locked. The peak to peak of the frequency
offset voltage, the same amount of voltage is added to the sum- step modulation is 15.43 kHz, i.e., 7.715 kHz relative to the
ming junction. Fig. 10 also indicates that a slight nonlinearity VCO center frequency set to 16.66 kHz. Thus, the VCO is
is present in the VCO characteristic. An approximately linear modulated to change its frequency from 8.945 to 24.375 kHz
portion of the characteristic, between about 9–25 kHz, is used in a step manner. The frequency of the modulation is about
for the VCO frequency to sweep through in response to the 70 Hz.
input frequency step modulation. Otherwise, the nonlinearity The principle of the described synthesis has been applied
should be appropriately incorporated in the expression of (4). in designing a PLL used in a projection system synchronizing
The 4046 IC has two types of detectors, an “exclusive or” logic section. When a VCR signal was fed to the system, the signal
gate (EXOR) phase detector and a PFD. Both were evaluated was difficult to synchronize to in the case of a worn-out
and the results in Fig. 11 are for the PFD detector used. tape. In such a case, the input frequency/phase change could
744 IEEE TRANSACTIONS ON INDUSTRY APPLICATIONS, VOL. 34, NO. 4, JULY/AUGUST 1998
(a) (b)
(c) (d)
(e) (f)
Fig. 8. (a) Response to input frequency parabolic change—standard system. (b) Response to input frequency parabolic change—zeroth-order system. (c)
K K
Response of the zeroth-order system for large variations in C of Fig. 3. C halved with respect to the required value (bottom trace represents output
K K
frequency). (d) Response of the zeroth-order system for large variations in C of Fig. 3. C doubled with respect to the required value (top trace represents
output frequency). (e) Response to input phase cubic change—standard system. (f) Response to input phase cubic change—zeroth-order system.
LOSIC: A ZEROTH-ORDER PLL CONTROL ALGORITHM 745
be considered an th-degree polynomial-like change. The at this point that, after the completion of this work, it was
zeroth-order algorithm greatly improved the pull-in process, brought to the author’s attention that “helping a PLL” by
increasing capture and hold range, i.e., providing the lock “adding a f/V converter” appeared in [8]. However, in [8],
under the unfavorable conditions. It should also be mentioned the subject matter is given from a brief, intuitive, point of
746 IEEE TRANSACTIONS ON INDUSTRY APPLICATIONS, VOL. 34, NO. 4, JULY/AUGUST 1998
REFERENCES
Fig. 11. Response of the VCO driving voltage to a step input frequency [1] R. E. Best, Phase-Locked Loops, 2nd ed. New York: McGraw-Hill,
modulation of approximately 50% of the VCO center frequency. (a) Standard 1993.
system. (b) Zeroth-order system. (c) Modulation. [2] W. A. Wolovich, Robotics: Basic Analysis and Design. New York:
Holt, Rinehart and Winston, 1987, pp. 331–336.
[3] J. V. de Vegte, Feedback Control Systems, 2nd ed. Englewood Cliffs,
NJ: Prentice-Hall, 1990, pp. 240–241.
view (quotations above are from [8]), without mention of the [4] C. L. Phillips and R. D. Harbor, Feedback Control Systems. Engle-
use of the inverse dynamic control principle and associated wood Cliffs, NJ: Prentice-Hall, 1988, pp. 160–161.
mathematical treatment, such as that developed and described [5] N. A. Losic et al., “Control basic building block (CBBB),” U.S. Patent
5 282 129, May 1993.
here. [6] , “Synthesis of drive systems of infinite disturbance rejection ratio
and zero-dynamics/instantaneous response,” U.S. Patent 4 990 001, Feb.
1991.
IV. CONCLUSIONS [7] , “Current-free synthesis of improved parameter-free zero-
impedance converter,” U.S. Patent 5 034 872, July 1991.
Using the inverse feedforward control principle, a zeroth- [8] “LM2907 tachometer/speed switch building block applications,” Na-
order PLL has been synhesized. It is able to lock to an tional Semiconductor Corp., Santa Clara, CA, Application Note 162,
1989, p. 13.
arbitrary input frequency/phase change profile, described by
an th-order polynomial, with zero steady-state error ensuring
simultaneously the system stability with the simplest possible
means, i.e., the simplest low-pass-filtering/stabilizing circuit Novica A. Losic (M’83–SM’94) was born in Zaje-
is used. Also, a simple phase detector, rather than a more car, Yugoslavia, in 1946. He received the Dipl.Ing.
degree from the University of Beograd, Yugoslavia,
complex PFD, may be used with the pull-in range practically and the M.Eng. and Ph.D. degrees from the Uni-
limited with only the frequency range of the VCO. Normally, versity of Toronto, Toronto, Ont., Canada, in 1970,
this property in standard PLL’s, regardless of the kind of the 1977, and 1981, respectively, all in electrical engi-
neering.
LPF, is obtained at the expense of a more involved PFD. During the past 25 years, he has been with Gen-
However, the use of the inverse feedforward control together eral Electric Company, University of Wisconsin,
with the PFD would make the system further improved, in Parkside, and Lockheed Martin-KAPL, Schenec-
tady, NY, where he designed and developed signal
that it would speed up the lock-in process and ensure it processing, power electronics, and control circuits, as well as teaching and
remains locked. As expected, the addition of the feedforward conducting research in the areas of circuits, systems, and controls. He is
path does not affect the system stability, i.e., it does not currently with AlliedSignal Aerospace Canada, Etobicoke, Ont., Canada. He
has published over 50 research papers and has been granted 11 U.S. patents.
change the closed-loop system characteristic equation. In an Dr. Losic is a member of the Professional Engineers of Ontario, Canada,
ideal case of a linear and invariant plant, the feedforward and the New York Academy of Sciences.