A Digitally Controlled PLL For Soc Applications: Thomas Olsson, Member, Ieee, and Peter Nilsson, Member, Ieee
A Digitally Controlled PLL For Soc Applications: Thomas Olsson, Member, Ieee, and Peter Nilsson, Member, Ieee
5, MAY 2004
751
I. INTRODUCTION
Authorized licensed use limited to: Lunds Universitetsbibliotek. Downloaded on March 15,2010 at 08:46:48 EDT from IEEE Xplore. Restrictions apply.
752
Fig. 4.
Fig. 3.
Authorized licensed use limited to: Lunds Universitetsbibliotek. Downloaded on March 15,2010 at 08:46:48 EDT from IEEE Xplore. Restrictions apply.
753
Authorized licensed use limited to: Lunds Universitetsbibliotek. Downloaded on March 15,2010 at 08:46:48 EDT from IEEE Xplore. Restrictions apply.
754
Fig. 11. Measured jitter of the prototype PLL when the control word jitters
one LSB.
Fig. 9. Power consumption for the prototype PLL at maximum and minimum
DCO frequency using supply voltages from 0.8 to 3.0 V.
Fig. 12. Measured jitter of the prototype PLL when the control word jitters
two LSB.
Fig. 10.
3.0 V.
Lock range for the prototype PLL using supply voltages from 0.8 to
Assuming that jitter due to supply voltage and other interference is low, the jitter of the feedback clock is set by either
) or the resthe resolution of the time-to-digital converter (
). Here,
olution of the generated feedback clock (
is the period time of the DCO output,
is the resolution of the DCO, and MF is the frequency multiplication factor.
At best possible phase lock, the control word to the DCO jitters one least significant bit (LSB), which gives an output jitter
from the DCO. In Fig. 11, a stable phase lock with a
of
is approxjitter of one LSB is found. In this measurement,
, and the measured jitter is 775 ps
imately 10 ps,
ps). Since the time-to-digital converter has
(
a limited resolution of
, it is sometimes impossible to get a
jitter of only one LSB in the control word to the DCO. In Fig. 12,
the control word jitters two LSB and hence the jitter is approxips). The measured jitter in Fig. 12
mately (2
is 1.2 ns. This might happen whenever
.
Since the amount of jitter could be predicted from knowing
the DCO resolution and the number of jittering LSBs in the feedback loop, it is concluded that this is the major source of jitter.
The peak-to-peak jitter for the actual clock signal is, therefore,
in the same order of magnitude as the DCO resolution, which is
between 10 and 150 ps depending on output frequency. To enable minimum peak-to-peak jitter for the output clock at lower
Authorized licensed use limited to: Lunds Universitetsbibliotek. Downloaded on March 15,2010 at 08:46:48 EDT from IEEE Xplore. Restrictions apply.
Fig. 13.
755
A. Phase Detector
The phase detector gives the phase error of the previous reference period. The transfer function for the phase detector is given
is the gain factor for the phase detector
by (2), where
0z
(2)
Since the phase error is measured with the resolution of half
the period time of the DCO
,
is given by
(3)
B. DCO
For the analysis, the present phase of the frequency-divided
. The present phase is the sum of the
output is labeled as
previous phase and added phase due to the control word
from the digital filter.
(4)
(5)
where
is the gain factor for the DCO and
is the resolution of the DCO.
The transfer function for the oscillator is, thus, given by
(6)
C. Loop Equations
The open-loop transfer function
is given by
(7)
D. Digital Filter
One goal for the design of the integrating filter is to find a
simple filter which does not consume much power or chip area.
This means that trivial multiplications such as 1 or 0.5 are preferred. For all filters, poles are given for the entire closed loop
. The digital filter must be an integrator to avoid an offset
phase error in the PLL. This is because a zero phase error should
. The simplest possible integrator
result in no changes of
is the first-order filter given in (10). Using this filter yields a
second-order PLL. Fig. 14 shows how the poles and zeroes for
the PLL move with varying . The arrows are pointing toward
increasing . From Fig. 14, it is obvious that the PLL tends to
be unstable since the poles will, at best, be placed on the unit
circle. In fact, any amount of extra delay in the loop will cause
instability.
(10)
For the implemented prototype, the second-order integrator
of (11) is used. Fig. 15 shows how the poles and zeroes for
the resulting third-order PLL move with varying . For small
, this gives a narrow-band PLL. The bandwidth of the PLL
then increases for increasing . The PLL will be stable when
.
(11)
(8)
where
is the transfer function for the digital integrating
filter.
This gives the closed-loop expression
(9)
Authorized licensed use limited to: Lunds Universitetsbibliotek. Downloaded on March 15,2010 at 08:46:48 EDT from IEEE Xplore. Restrictions apply.
756
Fig. 15.
(1)=(1
005
when filter
F (z )
Fig. 16.
(1
005
C (z )
for varying
when filter
F (z )
C (z )
for varying
when filter
F (z )
: z
V. IMPROVED DESIGN
Although the first prototype of the PLL is fully functional,
some major improvements are found to be possible in order
to enhance stability and jitter performance, and to shorten the
acquisition time. This part describes an implementation of the
all-digital PLL which use techniques similar to the first prototype but with some improved components.
The first prototype is made as a digital design in a schematic
netlist editor. A more convenient method is to have a synthesizable VHDL description of the PLL. This makes system
simulation including the PLL possible in a digital VHDL simulator. It also helps make the design independent of technology.
Other improvements are improved time-to-digital conversion
and DCO performance.
A. Time-to-Digital Converter
To increase the resolution of the phase error measurement to decrease the jitter, a new time-to-digital converter is
implemented.
The previous time-to-digital converter is implemented as a
counter where the DCO output frequency (and its inverse) is
used as timing reference. The resolution in the time measurement is then limited to half of the period time for the high-
Fig. 17.
(1
005
: z
)=(1
005
: z
005
: z
) is used.
Authorized licensed use limited to: Lunds Universitetsbibliotek. Downloaded on March 15,2010 at 08:46:48 EDT from IEEE Xplore. Restrictions apply.
757
Fig. 19. Improved architecture for the time-to-digital converter using multiple
clock phases.
(14)
For maximum resolution, an extra ring oscillator can be used
together with the new time-to-digital converter. The resolution
will then be equal to the delay of one inverter. A similar arrangement for time measurement can be found in [10]. If an extra ring
oscillator is used as reference, the loop gain in (14) is instead
given by
(15)
where
is the period time of the extra ring oscillator.
is decided by
In the extra ring oscillator, the period time
the number of inverters and the propagation delay through an
inverter as follows:
(16)
Equation (15) can, therefore, be rewritten as
(17)
It can be noted that the resolution of the phase detector is at
least an order of magnitude better than for the time-to-digital
converter, which is the bottleneck in the phase error measurement. However, this is not a problem unless the multiplication
factor is small. Given a large enough multiplication factor, the
phase steps of the oscillator times the multiplication factor will
exceed the smallest phase error that can be converted to digital.
The proposed PLL is, therefore, primarily intended for multiplication factors above eight.
B. Digitally Controlled Oscillator
The performance of the time-to-digital converter of Fig. 19
is dependent on the clock phases being evenly distributed over
Fig. 20.
Authorized licensed use limited to: Lunds Universitetsbibliotek. Downloaded on March 15,2010 at 08:46:48 EDT from IEEE Xplore. Restrictions apply.
758
Fig. 23.
Fig. 22
power consumption for the VCO is much less than for the DCO
of Fig. 3. A resistor chain with transistor switches [11] is used to
implement the D/A converters. The main source of power consumption for the D/AVCO is from the static current through
the 14 resistor chains. The 14 transistor chains are designed with
and thus cona resistance between power and ground of 30
sumes
mW of static power. This is to be
compared with the DCO of Fig. 20, which according to simulations, consumes approximately 20 mW of dynamic power running at 400 MHz.
D. Phase Detector
Using the new time-to-digital converter gives a longer critical path and, therefore, the delay of the signal UPDATE in
Fig. 5 needs to be longer. Instead of adding more inverters to
the delay, a simple state machine triggered by a nondelayed
version of UPDATE produces an appropriate delay. The simple
state machine, which is clocked by the high-frequency output
from the DCO produces a two-period pulse delayed by one period. The pulse is then further delayed two clock periods, which,
aside from giving the time-to-digital converter enough computing time, also helps avoid metastability. Avoiding metastability for the pulse is extremely important since it is used for
clocking the registers in the digital filter. To avoid timing violations between the time-to-digital converter and the digital
filter, the reset signal to the time-to-digital converter is further
delayed.
E. Integrating Filter
As an integrating filter, the filter given in (12) is chosen due
to its simpler architecture and larger stability range. Since the
optimum loop gain will differ with parameters such as multiplication factor and DCO resolution, a shifter is also implemented
to scale the result. Instead of simply throwing all the LSBs, the
number of bits in the digital filter is increased by one. The extra
.
bit, which is not used to control the DCO then represents
This reduces the impact of rounding errors for the digital filter.
Authorized licensed use limited to: Lunds Universitetsbibliotek. Downloaded on March 15,2010 at 08:46:48 EDT from IEEE Xplore. Restrictions apply.
F. HDL Description
All parts of the PLL except the DCO are described in synthesizable VHDL code, which can be found in [12]. All parts except for the time-to-digital converter are possible to synthesize
to the highest frequency of the D/AVCO oscillator, 720 MHz,
using the 0.35- m CMOS technology. It is, however, possible
to reduce the time-to-digital converter to consist only of two-bit
counters and then synthesize to 720 Mhz. The cost for this is a
longer acquisition time, since the time-to-digital converter then
will not be able to measure long phase errors. The core area will
increase slightly for the improved PLL compared to the first prototype. This is mainly due to the time-to-digital converter, which
is larger than the previous one.
The use of an HDL description makes digital system simulation, including the PLL, possible.
Since the DCO is either dependent on parallel tri-state gates
for functionality or made full custom to improve performance, it
is not included in the HDL description. To incorporate the DCO
in the VHDL simulation, the DCO is simulated in an analog
simulator once and the result is stored in a file. This makes the
simulation of the PLL extremely fast compared to a mixed-mode
simulation with the DCO as an analog component.
G. Metastability
Also considered in the new implementation is metastability.
Metastability, which usually is ignored in these kinds of designs,
can occur whenever an input to a flip-flop is not synchronized
with the clock and the setup, or hold times for the flip-flop
are violated. For the PLL, metastability can, therefore, occur
in the time-to-digital converter, which has the unsynchronized
phase error as input. It is, however, not possible to completely
remove the risk of metastability [13]. What can be done is minimizing the probability of metastability occurring by synchronizing the phase error to each counter by inserting flip-flops in
each counter. The flip-flops are used to synchronize the EVENT
pulse to the clock phase of each counter.
VI. COMPARISON TO OTHER DIGITAL PLLS
Many digitally controlled PLLs divide the acquisition into
frequency and phase acquisition as in [3][5]. Although separating the acquisition processes makes it easier to design the
PLL without deeper analysis of the feedback circuit, it results
in long acquisition time and high complexity. In a traditional
PLL, both phase and frequency are found simultaneously instead, which is also the method for the proposed architecture.
Aside from fast acquisition assuming that the feedback filter is
correctly chosen, this also gives a simple architecture which results in a small core area. As an example, the PLL in [4], which
is implemented in a similar technology, is ten times larger. The
proposed PLL is possible to implement using digital standard
cells in contrary to many other digital PLL designs, for instance,
[3], [5], and [6]. Regarding power consumption, it is found to be
comparable to the power consumption in [5] and [6] and lower
than the power consumption in [3] and [4]. However, it should
be noted that comparing power consumption is difficult since
the different designs are implemented with different technology,
supply voltage, and frequency range.
759
VII. CONCLUSION
A prototype of a standard-cell all-digital PLL clock multiplier
is designed and fabricated using 0.35- m CMOS technology.
The all-digital PLL has, at 3.0-V supply voltage, a frequency
range of 152366 MHz while consuming 8.124 mW. At
2.0 V, the frequency range is 90230 MHz while consuming
2.16.1 mW. The PLL occupies 0.07 mm of on-chip area.
Instead of a charge pump and an analog filter, a counter and a
recursive digital filter is used as a loop filter. A DCO is made from
a ring oscillator with additional tri-state gates. The digital PLL
is implemented using cells found in an ordinary standard-cell
library, which makes it portable between technologies. In the
first prototype, the methods for implementing the digital PLL
are tested. The digital PLL is then improved in the next version
which is described in VHDL. For the improved all-digital PLL,
a new time-to-digital converter with resolution down to one
gate delay, is proposed. Also, a DCO implemented with a VCO
and 14 nonlinear D/A converters is proposed. The nonlinear
D/A converters help linearize the DCO to equalize the loop
gain for the PLL. The VHDL description of the PLL makes
it easy to include in digital simulations and then to synthesize
to any technology assuming a DCO is available. The VHDL
description of the PLL can be downloaded from [12]. The
VHDL description is synthesizable except for the DCO, which
is represented as simulation data.
REFERENCES
[1] P. Nilsson and M. Torkelson, A monolitic digital clock-generator for
on-chip clocking of custom DSPs, IEEE J. Solid-State Circuits, vol.
31, pp. 700706, May 1996.
[2] T. Olsson, P. Nilsson, T. Meincke, A. Hemani, and M. Torkelson, A digitally controlled low-power clock multiplier for globally asynchronous
locally synchronous designs, in Proc. IEEE Int. Symp. Circuits and Systems (ISCAS 2000), Geneva, Switzerland, May 2000, pp. 1316.
[3] I. Hwang, S. Song, and S. Kim, A digitally controlled phase-locked
loop with a digital phase-frequency detector for fast acquisition, IEEE
J. Solid-State Circuits, vol. 36, pp. 15741581, Oct. 2001.
[4] C. Chung and C. Lee, An all-digital phase-locked loop for high-speed
clock generation, IEEE J. Solid-State Circuits, vol. 38, pp. 347351,
Feb. 2003.
[5] J. Dunning, G. Garcia, J. Lundberg, and E. Nuckolls, An all-digital
phase-locked loop with 50-cycle lock time suitable for high-performance microprocessors, IEEE J. Solid-State Circuits, vol. 30, pp.
412422, Apr. 1995.
[6] J. G. Maneatis, Low-jitter process-independent DLL and PLL based
on self-biased techniques, IEEE J. Solid-State Circuits, vol. 31, pp.
17231732, Nov. 1996.
[7] R. E. Best, Phase-Locked Loops, Design and Applications. New York:
McGraw-Hill, 1984.
[8] T. Hsu, C. Wang, and C. Lee, Design and analysis of a portable highspeed clock generator, IEEE Trans. Circuits Systems II: Analog and
Digital Signal Processing, vol. 48, pp. 367375, Apr. 2001.
[9] T. Olsson and P. Nilsson, A fully integrated standard-cell digital PLL,
IEE Electron. Lett., vol. 37, pp. 211212, Feb. 2001.
[10] J. Christiansen, A. Marchioro, P. Moreira, M. Mota, V. Ryjov, and S. Debieux, A data driven high performance time to digital converter, presented at the 6th Workshop Electronics for LHC Experiments, Krakow,
Poland, Sept. 2000.
[11] A. R. Hamade, A single chip all-MOS 8-bit A/D converter, IEEE J.
Solid-State Circuits, vol. 13, pp. 785791, Dec. 1978.
[12] T. Olsson. A digital PLL described in VHDL. [Online]. Available:
http://www.es.lth.se/home/ton/PLL/PLL.html
[13] J. F. Wakerly, Digital Design Principles and Practices. Upper Saddle
River, NJ: Prentice-Hall, 2000.
Authorized licensed use limited to: Lunds Universitetsbibliotek. Downloaded on March 15,2010 at 08:46:48 EDT from IEEE Xplore. Restrictions apply.
760
Thomas Olsson (S98M04) was born in Karlshamn, Sweden, in 1973. In 1998, he received the
M.S. degree in electrical engineering from the Lund
Institute of Technology, Lund University, Sweden,
where he is currently pursuing the Ph.D. degree
in the Digital ASIC group of the Department of
Electroscience.
His research interests include clock generators,
power supply management, and on-chip signalling
for SoC ASICs.
Authorized licensed use limited to: Lunds Universitetsbibliotek. Downloaded on March 15,2010 at 08:46:48 EDT from IEEE Xplore. Restrictions apply.