Sunteți pe pagina 1din 10

74 IEEE TRANSACTIONS ON CIRCUITS AND SYSTEMS–I: REGULAR PAPERS, VOL. 65, NO.

1, JANUARY 2018

Time-to-Digital Converter With Sample-and-Hold


and Quantization Noise Scrambling Using
Harmonics in Ring Oscillators
Juan Pablo Caram, Member, IEEE, Jeff Galloway, Member, IEEE, and J. Stevenson Kenney, Fellow, IEEE

Abstract— A high-resolution, high-bandwidth, and noise- phase detector and digital-to-analog conversion at the oscilla-
scrambling, time-to-digital converter (TDC) is presented. Its tor. Both of these converters present several complexities and
architecture, which exploits harmonics in ring oscillators, pro- great challenges in DPLL design.
vides a sample-and-hold mechanism in the form of relative phase.
This storage mechanism is highly insensitive to noise and allows The most important performance metrics in a PLL are
for oversampling between input events, therefore, can be designed typically phase noise, or jitter, and power consumption. If a
for very high bandwidth. It can achieve lower quantization noise TDC is used as a phase detector in a DPLL, its impact on these
with fewer measurements than noise-shaping TDCs. This paper parameters is the primary concern. The TDC will impact phase
presents the architecture in detail, an in-depth analysis of noise noise in several ways. It will introduce quantization noise,
sensitivity of the time storage mechanism, and the results from
a prototype implemented in a 28-nm CMOS process. establishing an in-band phase noise floor given by
 2
Index Terms— Time-to-digital converter, digital phase-locked (2πσtdc f vco )2 rad
loop, sample-and-hold, oversampling, ring oscillator, harmonics.
PN = (1)
f ref Hz
I. I NTRODUCTION where f vco and f ref are the frequencies of the VCO and the
reference respectively, and σtdc is the RMS quantization error
T IME-to-Digital Converters (TDCs) have had an increas-
ingly important role as CMOS technology continues to
scale down in feature size. This trend has resulted in the
in the TDC.
It can also limit the bandwidth, which reduces the PLL’s
ability to suppress the VCO noise. Nonlinearity, also, can
degradation of analog performance and also in an increase
create mixing products that result in spurs at low frequency
in speed and in time-domain resolution. This combination has
offsets, which are not attenuated by the loop filter.
presented new design challenges and opportunities.
TDC techniques have suffered from low resolution, low
TDCs have found applications in multiple fields, but histori-
linearity, high power consumption, device and power supply
cally, particle physics has been the field that has most strongly
sensitivity, and low bandwidth. Recent developments using
driven the research on accurate electronic time-interval mea-
ring oscillators have allowed for 1st [8], [9], 2nd [10], and even
surements. In principle, the use of time (and distance) to
3rd order [12] noise shaping. Quantization noise shaping shifts
determine the speed of a particle under the influence of a
the quantization noise to higher frequencies, thus allowing
magnetic field, plays an fundamental role in characterizing
for improvement by low-pass filtering. This enables a tradeoff
and identifying the kind of particle being studied [2].
between bandwidth and precision.
The focus on TDCs has recently shifted with the increased
The proposed TDC architecture stores the input time quan-
interest in implementing most sub-circuits of a frequency syn-
tity in a ring oscillator carrying multiple edges, or phases, and
thesizer in digital form. In phase-locked loops (PLLs) a digital
encodes the input quantity as the angle between these phases.
loop filter provides ease of reconfigurability, excellent out-of-
Noise that affects the frequency of the ring is “common-mode”
band rejection, lower silicon area, adaptive spur cancellation,
and is therefore rejected. Furthermore, this storage or sample-
and noise immunity. PLLs that use a digital loop filter are
and-hold mechanism allows for oversampling of the stored
commonly refered to as digital PLLs (DPLLs), even though
quantity between input events, circumventing the bandwidth
they require some form of analog-to-digital conversion at the
penalty paid by Sigma-Delta () noise-shaping TDCs.
Manuscript received January 24, 2017; revised April 11, 2017 and In Section II we study relevant TDC techniques, highlight-
May 24, 2017; accepted May 29, 2017. Date of publication June 20, 2017; ing how they achieve their performance and the tradeoffs they
date of current version January 5, 2018. This paper was recommended by
Associate Editor A. Nagari. (Corresponding author: Juan Pablo Caram.) incur, leading to the proposed TDC described in Section III.
J. P. Caram is with the Department of Electrical and Computer Engineering, Section IV provides an in-depth analysis of noise in the
Georgia Institute of Technology, Atlanta, GA 30332 USA, and also with Sili- HRO. The implementation of our prototype is described in
con Creations LLC, Suwanee, GA 30024 USA (e-mail: jpcaram@gatech.edu).
J. Galloway is with Silicon Creations LLC, Suwanee, GA 30024 USA. Section V. Section VI describes the measurement techniques
J. S. Kenney is with the Department of Electrical and Computer Engineer- used to characterize the HRO TDC and measurement results.
ing, Georgia Institute of Technology, Atlanta, GA 30332 USA. The conclusion in Section VII summarizes the properties
Color versions of one or more of the figures in this paper are available
online at http://ieeexplore.ieee.org. of the HRO TDC and how it improves upon the current
Digital Object Identifier 10.1109/TCSI.2017.2712518 state-of-the-art.
1549-8328 © 2017 IEEE. Personal use is permitted, but republication/redistribution requires IEEE permission.
See http://www.ieee.org/publications_standards/publications/rights/index.html for more information.
CARAM et al.: TDC WITH SAMPLE-AND-HOLD AND QUANTIZATION NOISE SCRAMBLING USING HROs 75

gates in the delay line to support large time intervals. It is also


important to note that this architecture cannot resolve negative
time intervals, this is, when the start signal arrives after the
stop signal.
The Vernier Delay-Line TDC, shown in Fig. 1(b), improves
further on resolution. It uses instead two delay lines, with
different nominal gate delays, τfast and τslow , one for each
of the input signals. The start signal is launched into the
slower line and the stop signal into the faster one. Eventually,
both signals will have traveled through the same number of
inverters, N, i.e. the stop signal will “catch up” with the start
signal, where
Nτfast + Tin = Nτslow ⇒ Tin = N(τslow − τfast ) (2)
Fig. 1. Delay-Line-based TDCs. (a) Flash TDC, (b) Vernier TDC.
Since N is captured in the flip-flops, the input interval
Tin = tstop − tstart can be computed with a resolution of
II. OVERVIEW OF TDC T ECHNIQUES τ = τslow − τfast . This improvement in resolution does not
help with the inherent linearity problem in delay-line based
A time interval can be described by two events respectively TDCs. Furthermore, this technique exacerbates the problem
defining the start and the stop times of the interval. Alter- of requiring a large number of gates, proportionally with
natively, it can be described by a single event happening at the increase in resolution. The Vernier technique can also be
time te with duration Te . The TDC’s function is to measure Te . implemented using two counters driven by clocks with slightly
Contrary to other data converters, it has no control over different frequencies [7] and actually precedes the Vernier
when (te ) and how often the sampling occurs ( f e ). This is delay-line TDC.
instead determined by the input signal. An intuitive approach to improving the resolution of any
The most straightforward approach to digitally quantifying data converter is to amplify the input signal before quan-
a time interval is by counting clock cycles between the events tization. This has led to the concept of time amplification.
that define it. The resolution of such measurement is the period Attempts to design an analog “Time Amplifier” have been
of the clock, Tclk . Under the right circumstances (asynchronous reported in the literature [13], but since they rely heavily on
event frequency, event duration, and clock frequency), such analog performance, they are of little practical use in modern
TDC can be very linear, and the quantization error becomes CMOS.
scrambled across measurements (white and uniformly distrib- Major improvement in performance was achieved when
uted between −Tclk /2 and Tclk /2). The resolution is limited by noise shaping was first adopted into TDC architectures. This
the technology, which is only predicted to continue to improve, technique has long been used in voltage-domain data con-
but a counter running at extremely large frequencies will verters.  modulation is the most common mechanism to
consume significant power, making this approach unattractive achieve quantization noise shaping. In its most simple form it
for high resolution applications. Nonetheless, it is still found consists in integrating the sampled input X (z) and subtracting
in hybrid techniques, where the high resolution is achieved by the quantized output Y (z) from the next input. This results in
other means and a counter is used to increase the dynamic a differentiation of the quantization error, Q(z), shifting it to
range [2], [11]. higher frequency:
For small time intervals and higher resolution, the Flash
Y (z) = X (z)z −1 + Q(z)(1 − z −1 ) (3)
(or Delay-Line) TDC was introduced. Its operation and design
are relatively simple. This is probably why this topology The integrator is most commonly implemented using a
was quickly adopted in the first DPLL used in a commercial capacitor to integrate from current to voltage. The frequency-
product for wireless communications [3]. to-phase integration nature of oscillators has also been
The Flash TDC, shown in Fig. 1(a), consists of a delay-line exploited for such application. This is how ring oscillators
of logic gates (typically inverters) into which the start signal become essential in noise shaping TDCs.
is injected, and the stop signal is used as the clock to the flip- The Gated Ring Oscillator (GRO) TDC [8], shown in
flops sampling every node in the line. The delay of each gate, Fig. 2(a), operates by switching (gating) a ring oscillator on
τgate , provides a mapping between the interval’s duration and and off, specifically by disconnecting the inverters from their
distance of propagation in number of gates. supply rails. The on and off states respond to the logic state
This technique largely improves resolution which promises of a periodic input signal, therefore, the total phase change
to only get better with the continuous scaling of CMOS during one period is directly proportional to its duty cycle.
devices, but introduces a new set of challenges. The delay The GRO achieves first-order noise shaping because the
of an inverter (or any logic gate) is a very unreliable quan- quantization error propagates from one cycle to the next as
tity [25], not only over PVT, but also across neighboring partial charge in the parasitic gate capacitance when the ring
devices (matching) in the same die [6]. This results in large is gated. If the charge at a given node is not high enough to be
nonlinearity. Flash TDCs also require a very large number of registered as a logic high when the ring stops, the next cycle
76 IEEE TRANSACTIONS ON CIRCUITS AND SYSTEMS–I: REGULAR PAPERS, VOL. 65, NO. 1, JANUARY 2018

Fig. 3. Ring oscillator operating in its second harmonic.

it can be set to oscillate in a harmonic mode, where the


frequency is an integer multiple of f ring .
Consider the ideal circuit in Fig. 3 consisting of six invert-
ers, two of which can be held in a reset state, forcing their
outputs to logic high. When reset is released, the ring is
placed in an unstable state causing logic transitions (edges)
to propagate. This ring oscillator is operating in its second
Fig. 2. Ring-oscillator-based noise-shaping TDCs. (a) Gated Ring Oscilla-
tor (GRO) TDC, (b) Switched Ring Oscillator (SRO) TDC. harmonic.
Harmonics in ring oscillators have been seldom studied, and
starts with this partial charge and is taken into account in the usually with the intention of avoiding them [14]–[17]. The
total phase in the next cycle. only two exceptions that we were able to find reported the
This TDC is particularly affected by leakage, another dif- use of second-harmonic ring oscillators for a carrier-and-data-
ficulty that continues to exacerbate with CMOS scaling.1 recovery (CDR) circuit [18], and for a physically unclonable
When the ring is stopped, the parasitic capacitance holding the function (PUF) for chip authentication [19].
quantization error loses charge. This introduces an additional
source of error, resulting in a performance below that of first-
order noise shaping. B. Principle of Operation
The Switched Ring Oscillator (SRO) TDC [9], shown The HRO TDC exploits the possibility of releasing the reset
in Fig. 2(b), significantly mitigates the leakage problem of the condition of the inverters in Fig. 3 at different times. This
GRO with a slight modification. Instead of switching between changes the relative phase of the two edges propagating in
f ring and f = 0, it never fully stops the ring and switches the ring. The relationship between the arrival times of both
between f fast and f slow . signals, A and B, their absolute and relative phases in the ring,
In both the GRO and SRO TDCs, even though the imple- and the ring’s fundamental frequency are illustrated in Fig. 4.
mentations between [8] and [9] vary, the phase change per As phase is the integral of frequency, and both edges propagate
switching or gating cycle is computed and is proportional in the same ring with a given f ring , their relative phase should
to the input time-interval. The intrinsic resolution of the ideally remain constant. This circuit behaves as a differential
quantized phase is the delay of the ring elements, but low pass sample-and-hold in the phase domain.
filtering eliminates most of the quantization noise which has Unfortunately, in a real ring oscillator with an even number
been shifted to higher frequencies. It’s important to note that of stages, the two edges propagate at two different frequencies.
both architectures require a time-difference generator (TDG) Note in Fig. 3 that, at any given node, if one of the edges is
to provide a single line that controls the gating or switching. a rising edge, then it will always be a rising edge when going
This block generates a control signal with a variable duty through that same node again. The other edge will always be
cycle depending on the relative arrival times of the rising a falling edge when passing through that node. We can write
and falling edges at the inputs. These TDCs therefore, as the period of both edges around the ring as
presented in [8] and [9], require periodic input signals with
known duty cycles. Alternative configurations such as in [11] 
N/2−1
Tedge1 = τ f [2i ] + τr [2i + 1], (4)
are not subject to this limitation.
i=0
The TDC that we propose in the following section is an
attempt to improve upon some of these limitations. 
N/2−1
Tedge2 = τ f [2i + 1] + τr [2i ], (5)
i=0
III. H ARMONIC R ING O SCILLATOR TDC
where τr [i ] and τ f [i ] are the propagation delays of each gate
A. Harmonics in Ring Oscillators when its output at node i is respectively a rising or a falling
The fundamental frequency of a ring oscillator is edge. The rise and fall times of a gate can be designed to
f ring = (2Nτgate )−1 . By setting specific initial conditions, match, but in practice, they will never be equal. Therefore,
in terms of frequency of oscillation, it is as if the edges were
1 Except for some improvement with the introduction of FinFET devices. propagating on different rings. The angle between both edges
CARAM et al.: TDC WITH SAMPLE-AND-HOLD AND QUANTIZATION NOISE SCRAMBLING USING HROs 77

Fig. 6. Model of the HRO TDC for noise analysis.

3k+1 gates. This determines the maximum measurement range


Fig. 4. Sample-and-hold in the phase domain. of (N − 3k − 1) × τgate .
Fig. 5 shows a conceptual third-harmonic HRO. The delay
elements are drawn intentionally with unequal sizes in the
disc to represent the unequal propagation times. It shows
the ring in three different states: (a) Neither A nor B have
arrived, (b) A has arrived and the two corresponding edges
start to propagate, and (c) B has arrived and now the angle
φtdc = φ0 − φin stores the desired quantity.
The objective at this point is to recover φtdc with a resolution
better than the average gate delay τgate and scramble the
nonlinearity that would result from the variation of individual
Fig. 5. Basic concepts of the HRO TDC. gate delays. As long as the ring oscillation and the ring
sampling remain asynchronous (which is highly likely unless
the free-running ring becomes injection-locked to the sampling
quickly grows or shrinks. Eventually, the two edges collapse clock), every time the ring is sampled, each edge will be
and oscillation ceases. This places severe limitations for the located at a different delay stage. This means each sample
implementation of the proposed TDC using an even-stage ring is subject to the mismatch of a different set of delay elements.
oscillator. The nonlinearity introduced by the mismatch is then spread
In an odd-stage ring carrying any number of edges, if an or scrambled throughout multiple samples, resembling a zero-
edge is a rising edge at a given stage at a given time, then the mean noise-like signal. This is known as Dynamic Element
next time around (after propagating through an odd number Matching (DEM). By averaging the samples, the effective gate
of stages) it will become a falling edge. Therefore, each edge delay approaches the average gate delay and the uncertainty
is affected by both the rise and fall times of every gate in the in the measurement due to nonlinearity decays towards zero.
ring and their periods (average after two cycles) are equal and Furthermore, the position of each phase relative to the quanti-
given by zation thresholds at the time of sampling will be different for
1
N−1 each sample, thus the quantization noise becomes scrambled
Todd = τr [i ] + τ f [i ] (6) as well.
2
i=0
Since an odd-stage ring overcomes the aforemetioned prob- IV. N OISE A NALYSIS
lem in even-stage rings, it provides a better platform for the The diagram in Fig. 6 illustrates the signal flow for dif-
analog storage mechanism of the TDC. ferent types of noise and their sources. It also represents the
Only two edges are required to encode the time information, common-mode and differential effects by separating the signal
while at least three are required in an odd-stage ring. The third path of the two phases/edges that jointly store the time sample.
can aid in identifying which edge, in any given sample of the The sources can be grouped into quantization, and device and
ring, came from which input signal. As illustrated in Fig. 5, circuit noise.
A is injected into the ring at two locations simultaneously,
close to each other, k gates apart. Signal B is injected at
the maximum possible distance from the two A inputs. Then, A. Quantization Noise
it will be known at any time, that the two edges that are The input to a general uniform quantizer, normalized to its
closer together belong to signal A, while the third belongs to resolution τ , can be written in the form tin = n + v, where
signal B. This is true as long the B edge maintains a distance n and v ∈ [0, 1) are respectively the integer and fractional
greater than k gates from any of the two A edges. At any parts of tin . If the quantized output is Q{tin } = n, then the
time, if the A edges are at gates i and i + k, then the B edge quantization error is v. If this error is properly randomized
may not occupy any gates between i − k and i + 2k, totaling such that v ∼ U (0, 1) [4], [5], the RMS error is then
78 IEEE TRANSACTIONS ON CIRCUITS AND SYSTEMS–I: REGULAR PAPERS, VOL. 65, NO. 1, JANUARY 2018


στ = 1/ 12. Moreover, the error in a measurement consisting
of the average of m samples is then

σm = στ / m. (7)
In an HRO TDC, tin stored in the ring is a constant during all
m samples, therefore v is not randomized. However, the quan-
tization errors are inherently scrambled throughout samples as
a “random” dither is introduced by the accumulation of phase.
As long as the ring’s frequency and the sampling frequency
remain asynchronous, this random dither can be considered
∼ U (0, 1), and (7) still holds.
In the absence of delay mismatch, the quantized samples
are a random variable given by
 Fig. 7. Quantization noise versus oversampling ratio of  noise-shaping
n, pn = 1 − v TDCs of different orders, L = 0, 1 and 2, and of the HRO TDC when
Q{tin } = (8) averaging m = 8 and m = 32 ring-samples per measurement.
n + 1, pn+1 = v
where pk is the probability of obtaining the value k.
The RMS quantization√ noise is, therefore, a function of v
and given by σ√τ = v(1 − v). On average throughout v,
στ = π/8 ≈ 1/ 6. Delay mismatch in the inverters introduce
further scrambling on στ , reducing its dependence on v.
Yet another source of scrambling can come from phase noise
in the sampling clock. Additional or intentional phase noise in
the clock may also lower the chances for the ring to become
injection locked. Contrary to most other TDC architectures,
the time computation is not referenced to the circuit’s clock.
The quantization noise is not only scrambled across ring
samples but throughout measurements as well as long as
the input signals are not synchronous to the sampling clock.
This occurs because the ring samples from one measurement
happen at different locations (phases) in the ring from those
in other measurements.
The HRO TDC is a special case of  noise-shaping
converter, carrying out zeroth-order (L = 0) noise shaping.
In this case the quantization noise is not shifted to higher fre-
quencies, but simply spread out across the entire measurement
bandwidth.
The in-band quantization noise power in  converters is Fig. 8. Impact of noise in the sample-and-hold process. (a) Fully correlated
given by [28] noise and (b) Uncorrelated noise.

π 2L σq2
σtdc
2
= (9)
(2L + 1)(OSR)2L+1 between events, 1/ f e , and on the frequency of the sampling
clock, f s , which can be designed for. Other converters, for a
where L is the modulation order, σq is the RMS quantization
given precision, have to wait for a minimum number of input
noise, and OSR is the oversampling ratio. The OSR is the
events, which, more often than not, happen at a frequency
sampling frequency in multiples of the Nyquist frequency
outside the control of the designer.
for the given input signal. Conversely, it is the fraction of
the sampling frequency to which the converter’s bandwidth is
limited. B. Device and Circuit Noise
It is evident from (9) that any converter with L = 1 or Figs. 8(a) and 8(b) are modified versions of Fig. 4 with
higher outperforms an L = 0 converter as OSR√increases, additional information to aid in the understanding of noise
except that the HRO TDC has σq = σm = στ / m, while in the HRO TDC. In both, the dotted lines represent the
converters without sample-and-hold have σq = στ . This is phase trajectory the stored edges would follow for an input
show in Fig. 7. time interval Tin if there was no noise. In (a), a noise
The overall impact of this property is that, for the same source e f (t) affecting the overall f ring (t) = f ring + e f (t) is
raw resolution or unit delay, τ = τgate , and event rate, fe , introduced which deflects the ideal phase curves. At time t B
the precision of the measurements taken with the HRO TDC we can see that φin already contains an error, and remains
depends on the value of m which depends on the available time unaltered thereafter. A noise source with these characteristics
CARAM et al.: TDC WITH SAMPLE-AND-HOLD AND QUANTIZATION NOISE SCRAMBLING USING HROs 79

can introduce a permanent error during the sampling period


but does not affect the stored quantity φin after time t B .
In Fig. 8(b) a noise source only affecting the phase of the
edge originating from signal B has been added. It represents
fully uncorrelated noise. Such noise, as opposed to that in 8(a),
can affect the stored value of φin after time t B and the initial
value of φin .
To quantitatively understand the effect of noise, we need
to isolate the nature, source, and sensitivity to the different
types of noise. It is well understood that the two main
sources of noise in CMOS device are thermal and flicker Fig. 9. RMS jitter in a ring oscillator from uncorrelated and correlated
sources as function of observation time.
(1/ f ) noise. Thermal noise is white, while flicker noise has a
1/ f profile, which, below some frequency f 1/ f (also know as
the 1/ f corner), dominates over thermal noise. In oscillators,
these voltage and current domain noise sources translate into
the phase domain and accumulate indefinitely, resulting in an
upconversion around the frequency of oscillation. The phase
noise spectral density has a profile of 1/ f 3 and 1/ f 2 for
the upconverted flicker and thermal noises [20] respectively,
resulting in very high phase noise at low frequency offsets
around the carrier.
A time-domain parallel is illustrated in Fig. 9, describ- Fig. 10. Simulation setup to compute the ISF of a ring oscillator at the
ing how noise accumulates in a ring oscillator [21], [23]. supply voltage.
Two slope segments, with slopes of 0.5 and 1, for uncorrelated
and fully correlated noise sources respectively, are identified.
The transition time tc is tightly related to f 1/ f [24]. The designer can use (7) and (13) to estimate the maximum
1) Thermal Noise: Noise originating at different inverters in practical number of ring-samples per measurement taken at
a ring oscillator is uncorrelated. In addition, the autocorrelation a given sampling rate by observing when the accumulated
of thermal (white) noise is zero at any time offset other than thermal noise overcomes the quantization noise.
zero. Therefore, the effect of thermal noise from the inverters 2) Flicker Noise: There is no clear concensus about how
on different edges propagating in the ring is fully uncorrelated. Flicker noise should be modeled. We know, though, that most
It corresponds to sources e A and e B in Fig. 6 and is represented of its power concentrates at low frequencies and becomes
in Fig. 8(b). apparent, i.e. dominates over thermal noise, below f 1/ f .
An approximation of the timing uncertainty of a single Flicker noise is still uncorrelated between inverters, but since
inverter during its transition due to thermal noise is given flicker noise is “colored”, its autocorrelation R(t) has non-
by [25]: zero values away from zero time offset, t = 0 [26]. The
4kT γ τgate kT Cgate consequence is that on the same inverter, flicker noise will
στ2gate = + (10)
I N (Vdd − Vt N ) I N2 affect the phase similarly, in direction and magnitude, for
small values of t. This will occur in a general oscillator
The two terms in the expression above are for the the respec-
when the period is very small, i.e. the ring has few delay
tive contributions of the NMOS and PMOS transistors in the
elements. For the HRO specifically, the effect on the phase of
logic high to low transition of the single-ended CMOS inverter.
two propagating edges has a higher correlation when the two
I N is the saturation current of the NMOS and Vt N is its
edges have a small phase offset, this is, when both edges cross
threshold voltage.
the same inverter in a very short time. If the ring has many
A quick calculation with typical values for nanometer
delay stages, and the two edges storing the time quantity are far
CMOS (μCox = 50 × 10−6 A/V2 [29], V D D = 1.0 V,
apart, then the impact of flicker noise becomes less correlated.
Vt N = 0.2 V, W/L = 10, γ = 1, Cgate = 15 fF) yields:
We can conclude that flicker noise is partially correlated and
Cgate VDD will affect φtdc depending on its value and the size of the ring.
τgate = ≈ 47 ps (11) 3) Power Supply Noise: For noise originating at the power
2IN
στgate ≈ 93 f s (12) supply of the ring, we can hypothesize that phase noise will be
fully correlated throughout all the inverters, therefore affecting
Since the power of the sum of uncorrelated signals is the just the frequency of the ring and not the relative angle
sum of their powers, the timing uncertainty of a signal, after of multiple edges. We can show this is only partially true
propagating through N gates, is then using simulation and an impulse-sensitivity-function (ISF) [22]
√ approach.
σ N = N στgate (13)
To construct the ISF, (φ), of a ring oscillator at the power
This corresponds to the section of the curve with 0.5 slope supply we use the setup in Fig. 10. We then inject a narrow
in Fig. 9. current pulse into Cring at uniform time offsets covering one
80 IEEE TRANSACTIONS ON CIRCUITS AND SYSTEMS–I: REGULAR PAPERS, VOL. 65, NO. 1, JANUARY 2018

Fig. 11. Simulation results from the setup in Fig. 10: Phase error as function
of the angle at which the charge was injected (top) and voltage at each node
in the ring (bottom).

oscillation period. For each offset, we measure the phase


deviation (from nominal) several periods later. The top graph Fig. 12. Schematics of the prototype HRO TDC.
in Fig. 11 shows the observed time deviation for a current
pulse injected at the specified time. This is the ISF.2 The
exact values used in this simplified simulation setup are not
important and in practical designs will vary. What is most
relevant here is that the ISF has a large DC component plus
a small variation across one period: (φ) = DC + γ (φ).
In a ring carrying edges A and B, each have their
own ISF. They are offset versions of one another, i.e.
B (φ) = A (φ +φtdc). With this information we can construct
a differential ISF for φtdc (the stored angle):
φtdc (φ) = B (φ) − A (φ)
= γ B (φ) − γ A (φ) (14)
Fig. 13. Chip photograph, layout and dimensions.
Since DC vanishes in φtdc we can define a noise common-
mode rejection ratio (CMRR) or power supply rejection
ratio (PSRR) for φtdc as
thus operating as inverters. This maintains the uniformity
γRMS
PSRRφtdc = (15) across gates in terms of propagation delay.
DC Each node is sampled by D-type flip-flops (FF), and the
Most of the noise originating at the supply is fully correlated samples of contiguous nodes are compared with XNOR gates.
and common-mode, quantified by DC , and represented by e f At the stages where transitions have not fully completed, the
in Fig. 6. Still, some is uncorrelated between edges and is also values at the input and the output of those stages are registered
dependent on φtdc . It is quantified by γ (φ) and represented as the same, therefore yielding a logic high at the XNOR’s
by eA and eB in Fig. 6. output. A logic low is observed everywhere else.
After sampling, the objective is to determine the number of
V. I MPLEMENTATION stages between the edges corresponding to inputs A and B.
The HRO TDC concept is general enough that it can be This is the quantized version of φtdc . Even though there are
implemented in several different forms and optimized for many ways to implement this logic function, our implemen-
different conditions of operation. tation focused on maximizing the ring-sampling frequency.
The implementation chosen in this work was intended to This requires the logic complexity per clock cycle to be
resemble the theory accurately and to be as straight forward minimized. The decoder had a pipeline structure where a com-
as possible. For this reason, we chose to implement the HRO plex computation is broken down into simpler computations
TDC using only standard-cell logic gates. throughout multiple clock cycles. This, although resulting in
A simplified schematic, first presented in [1], is shown in higher latency, allows sampling on every clock cycle.
Fig. 12. The inverting stages have been chosen to be NAND Fig. 13 shows a photograph of the prototype chip and the
gates such that we could accommodate external inputs on three layout of the ring oscillator. The signal input stages, 0, 5, and
of them. The rest have their second input tied to logic high, 34, have been labeled. These same stages can be identified in
the schematics in Fig. 12. Special attention was given to the
2 The ISF, as defined in [22], is dimensionless. layout of the clock signals to ensure equal propagation delay
CARAM et al.: TDC WITH SAMPLE-AND-HOLD AND QUANTIZATION NOISE SCRAMBLING USING HROs 81

Fig. 14. Test setup: Accurate phase shifting using a  feedback divider
fractional-N PLL.
Fig. 15. TDC response for an input of two 100 MHz signals swept in relative
phase for 360degrees in steps of 12.5ps.

from the clock buffer (right edge in the layout) to all FFs. The
decoder is not shown in the figure since it was automatically
synthesized, placed and routed along with other logic unrelated
to the TDC.

VI. M EASUREMENT T ECHNIQUES AND R ESULTS


Generating input signals with accurate time delay is typ-
ically as complicated as measuring such a delay with a
comparable accuracy.
For low resolution applications, in the order of tens of
picoseconds, an arbitrary waveform generator (AWG) is capa-
ble of generating the start and stop signals and sweeping the
time delay between them. In [1] we were able to use a direct-
digital synthesizer (DDS) to generate two sine waves with a Fig. 16. Integral Nonlinearity.
relative delay resolution close to 1 ps, although with a relative
RMS jitter of about 10 ps.
Smaller time delays with lower noise can be achieved f ring = (2Nτgate )−1 . On a typical chip at room temperature
by using a voltage-controlled delay line, which is usually we observed f ring =143 MHz, therefore τgate = 55.5 ps.
implemented by a cascade of inverter gates whose propagation In normal operation, the delay between inputs A and B can
delay is controlled with their supply voltage. be swept a whole period of f ref . Fig. 15 shows the response
In this work we use a technique that allows for the adjust- of the TDC using m = 8 averaged samples per measure-
ment of the output phase in a fractional-N PLL with close to ment, taken at 100 Msamples/s, in steps of 12.5 ps, covering
perfect linearity and resolution only limited by the number of 360degrees of relative phase between the two 100 MHz input
fractional bits. The basic principle behind it is that the  signals. The range is confirmed to be 2.25 ns, slightly below
modulator in the feedback divider acts as a phase accumulator the theoretical maximum of 2.6 ns. Outside the range of
which determines how the integer part of the divider value operation, the ring carries a single edge, and the decoded
is dithered. Adding an offset to the accumulator results in a values depend on the implementation of the decoder.
phase offset in the PLL’s output. This does not require any Measurement accuracy can be determined by the combi-
modification of the  modulator, but only an external circuit nation of precision and linearity. These can be determined
that switches the value of N (fractional) from N to N + N simply by collecting a large number of measurements for each
in one reference cycle and back to N on the next. This adds a input value and determining first-order statistics. The average
fixed phase offset because the amount of phase accumulated measurements in the linear portion of the response in Fig. 15
during the reference period is the result of integrating a slightly subtracted from a linear fit are shown in Fig. 16. This is known
different frequency, f +  f . The details of the technique can as integral nonlinearity.
be found in [27]. The standard deviation is the RMS precision or error, σtdc .
The test setup shown in Fig. 14 was fully integrated on chip. Fig. 17 plots σtdc versus number of averaged ring-samples, m.
One of the input signals to the TDC is from a reference crystal, Each marker is for √ a different input value covering the whole
and the other is shifted in phase by a fractional-N PLL. input range. The 1/ m profile confirms the quantization noise
The first step in the characterization is to determine the scrambling as predicted.
average τgate . The ring oscillator can be made to oscillate The measurements shown for Fig. 17 have been carried out
in its first harmonic by supplying a rising edge on A, and at an increasing sampling rate for an increasing number of
then on B past the measurement range of the TDC. Edges A ring-samples, such that the total time the quantity is held in
and A will vanish when they reach the input stage of B. the ring is constant regardless of the number of samples per
Then the B edge will be the sole edge propagating in the measurement. This ensures that the device and circuit noise
ring. Direct measurement of the frequency at any node yields accumulated during the measurement process stays constant.
82 IEEE TRANSACTIONS ON CIRCUITS AND SYSTEMS–I: REGULAR PAPERS, VOL. 65, NO. 1, JANUARY 2018

Fig. 17. Standard deviation in 200 measurements each carried out using
m = 8, 16, 32 and 64 samples from the ring taken in Tmeas = 87 ns, i.e. at Fig. 18. Standard deviation in 200 measurements each carried out using
a frequency of f sample (m) = m/ Tmeas . Each marker for a given number of m = 8, 16, 32 and 64 samples from the ring taken at a frequency
samples corresponds to a different input value within the TDC’s linear range. of f sample = 733 MHz. Each marker for a given number of samples
corresponds to a different input value within the TDC’s linear range.

TABLE I
P ERFORMANCE S UMMARY AND C OMPARISON VII. C ONCLUSION
Time-to-digital converters face the particular challenge of
measuring discrete events instead of continuous signals. This
limits when and how often they can carry out a measurement.
Since oversampling determines precision, the inability to con-
trol the measurement/event rate sets a bandwidth-precision
trade-off. By introducing sample-and-hold this trade-off is
broken, as precision is no longer dependent on event rate.
The HRO TDC not only provides a reliable analog stor-
age mechanism, suitable for a time-sample-and-hold in deep
submicron CMOS, where charge storage is becoming less
dependable due to leackage. It also takes advantage of prop-
erties of ring-oscillator-based TDCs that have recently been
identified in similar converters, such as intrinsic dynamic
element matching and quantization noise scrambling. Finally,
it requires no assumption about the periodicity or duty cycle of
the input signals, and its accuracy is independent of reference
clock phase noise.

R EFERENCES
In contrast, those in Fig. 18 have all been collected at [1] J. P. Caram, J. Galloway, and J. S. Kenney, “Harmonic ring oscil-
733 MHz. Degradation is observed for large number of sam- lator time-to-digital converter,” in Proc. IEEE Int. Symp. Circuits
Syst. (ISCAS), May 2015, pp. 161–164.
ples due to the increased time for noise to accumulate. [2] D. I. Porat, “Review of sub-nanosecond time-interval measurements,”
Since in Fig. 18 the noise flattens out (around 0.1τgate after IEEE Trans. Nucl. Sci., vol. 20, no. 5, pp. 36–51, Oct. 1973.
m ≈ 16) as m increases, then the additional noise (above √
[3] R. B. Staszewski et al., “All-digital TX frequency synthesizer and
discrete-time receiver for Bluetooth radio in 130-nm CMOS,” IEEE
quantization noise) must accumulate in proportion to m. J. Solid-State Circuits, vol. 39, no. 12, pp. 2278–2291, Dec. 2004.
In other words, it must be uncorrelated in nature. [4] W. R. Bennett, “Spectra of quantized signals,” Bell Syst. Tech. J., vol. 27,
Considering that power and quantization noise directly no. 3, pp. 446–472, Jul. 1948.
[5] A. B. Sripad and D. L. Snyder, “A necessary and sufficient condition
impact the performance of a DPLL, and that a bandwidth ver- for quantization errors to be uniform and white,” IEEE Trans. Acoust.,
sus quantization noise trade-off can be leveraged, we propose Speech, Signal Process., vol. 25, no. 5, pp. 442–448, Oct. 1977.
the following figure-of-merit (FOM): [6] H. Mahmoodi, S. Mukhopadhyay, and K. Roy, “Estimation of delay vari-
ations due to random-dopant fluctuations in nanoscale CMOS circuits,”
  IEEE J. Solid-State Circuits, vol. 40, no. 9, pp. 1787–1796, Sep. 2005.
P × σtdc [7] R. G. Baron, “The Vernier time-measuring technique,” Proc. Inst. Radio
FOM = 10 log10 (16) Eng., vol. 45, no. 1, pp. 21–30, Jan. 1957.
BWnorm
[8] M. Z. Straayer and M. H. Perrott, “A multi-path gated ring oscillator
TDC with first-order noise shaping,” IEEE J. Solid-State Circuits,
where BWnorm = BW/ f e is the bandwidth normalized to the vol. 44, no. 4, pp. 1089–1098, Apr. 2009.
event or measurement rate. [9] A. Elshazly, S. Rao, B. Young, and P. K. Hanumolu, “A noise-
shaping time-to-digital converter using switched-ring oscillators—
A summary and comparison to state-of-the-art ring- Analysis, design, and measurement techniques,” IEEE J. Solid-State
oscillator-based TDCs is presented in Table I. Circuits, vol. 49, no. 5, pp. 1184–1197, May 2014.
CARAM et al.: TDC WITH SAMPLE-AND-HOLD AND QUANTIZATION NOISE SCRAMBLING USING HROs 83

[10] W. Yu, K. Kim, and S. Cho, “A 148 f srms integrated noise 4 MHz band- [28] R. Schreier and G. C. Temes, “Introduction,” in Understanding
width second-order S time-to-digital converter with gated switched- Delta–Sigma Data Converters. New York, NY, USA: Wiley, 2005,
ring oscillator,” IEEE Trans. Circuits Syst. I, Reg. Papers, vol. 61, no. 8, pp. 1–20.
pp. 2281–2289, Aug. 2014. [29] B. Razavi, Design of Analog CMOS Integrated Circuits, 2nd ed.
[11] P. Keränen and J. Kostamovaara, “A wide range, 4.2 ps(rms) precision New York, NY, USA: McGraw-Hill, 2016.
CMOS TDC with cyclic interpolators based on switched-frequency ring
oscillators,” IEEE Trans. Circuits Syst. I, Reg. Papers, vol. 62, no. 12,
pp. 2795–2805, Dec. 2015. Juan Pablo Caram received the B.S. degree (Hons.)
[12] M. Gande, N. Maghari, T. Oh, and U.-K. Moon, “A 71 dB dynamic in electrical engineering from Pontificia Universidad
range third-order  TDC using charge-pump,” in Proc. Symp. VLSI Catolica, Santiago, Chile, in 2008, and the M.S.E.E.
Circuits (VLSIC), Honolulu, HI, USA, Jun. 2012, pp. 168–169. from the Georgia Institute of Technology, Atlanta,
[13] M. Lee and A. A. Abidi, “A 9 b, 1.25 ps resolution coarse–fine time-to- GA, USA, in 2014, where he is currently pursuing
digital converter in 90 nm CMOS that amplifies a time residue,” IEEE the Ph.D. degree.
J. Solid-State Circuits, vol. 43, no. 4, pp. 769–777, Apr. 2008. From 2006 to 2011, he was with the Atacama
[14] N. Sasaki, “Higher harmonic generation in CMOS/SOS ring oscillators,” Large Millimeter/Sub-Millimeter Array Observatory,
IEEE Trans. Electron Devices, vol. 29, no. 2, pp. 280–283, Feb. 1982. San Pedro de Atacama, Chile, as an Engineer for
[15] M. Bhushan and M. B. Ketchen, “Generation, elimination and utilization the Electronics (prototype and production) Systems
of harmonics in ring oscillators,” in Proc. IEEE Int. Conf. Microelectron. Integration Group. Since 2013, he has been with
Test Struct. (ICMTS), Hiroshima, Japan, Mar. 2010, pp. 108–113. Silicon Creations LLC, Suwanee, GA, as a Senior Hardware Engineer,
[16] Y. P. Chen et al., “Single-event transient induced harmonic errors in researching and designing PLL and SERDES integrated circuits.
digitally controlled ring oscillators,” IEEE Trans. Nucl. Sci., vol. 61,
no. 6, pp. 3163–3170, Dec. 2014.
[17] J. Agustin, M. L. Lopez-Vallejo, C. G. Soriano, P. Cholbi, Jeff Galloway received the B.S. degree in electrical
L. W. Massengill, and Y. P. Chen, “Efficient mitigation of SET induced engineering from Georgia Tech and the master’s
harmonic errors in ring oscillators,” IEEE Trans. Nucl. Sci., vol. 62, degree from Stanford University. He held positions
no. 6, pp. 3049–3056, Dec. 2015. at Hewlett Packard and Agilent Laboratories design-
[18] S. L. J. Gierkink, “A 2.5 Gb/s run-length-tolerant burst-mode CDR based ing SERDES and data converter circuits. He is
on a 1/8th-rate dual pulse ring oscillator,” IEEE J. Solid-State Circuits, currently a Co-Founder and the Vice President of
vol. 43, no. 8, pp. 1763–1771, Aug. 2008. Silicon Creations. Since founding the company, he
[19] K. Yang, Q. Dong, D. Blaauw, and D. Sylvester, “A physically unclon- has helped architect the PLL and SERDES prod-
able function with BER<10−8 for robust chip authentication using uct lines. He has helped start, grow, and manage
oscillator collapse in 40 nm CMOS,” in IEEE Int. Solid-State Circuits successful design centers in Atlanta, GA, USA, and
Conf. (ISSCC) Dig. Tech. Papers, San Francisco, CA, USA, Feb. 2015, Krakow, Poland. His interests include analog design,
pp. 1–3. design automation, and silicon test and evaluation. He holds 12 U.S. patents.
[20] D. B. Leeson, “A simple model of feedback oscillator noise spectrum,”
Proc. IEEE, vol. 54, no. 2, pp. 329–330, Feb. 1966.
[21] J. A. McNeill, “Jitter in ring oscillators,” IEEE J. Solid-State Circuits, J. Stevenson Kenney (S’84–M’85–SM’01–F’08)
vol. 32, no. 6, pp. 870–879, Jun. 1997. was born in St. Louis, MO, USA, in 1962.
[22] A. Hajimiri and T. H. Lee, “A general theory of phase noise in electrical He received the B.S.E.E. (Hons.), M.S.E.E., and
oscillators,” IEEE J. Solid-State Circuits, vol. 33, no. 2, pp. 179–194, Ph.D. degrees from the Georgia Institute of Technol-
Feb. 1998. ogy in 1985, 1990, and 1994, respectively. He has
[23] A. Hajimiri, S. Limotyrakis, and T. H. Lee, “Jitter and phase noise held engineering and management positions at Elec-
in ring oscillators,” IEEE J. Solid-State Circuits, vol. 34, no. 6, tromagnetic Sciences, Scientific Atlanta, and Pacific
pp. 790–804, Jun. 1999. Monolithics, and Spectrian. In 2000, he joined the
[24] C. Liu and J. A. McNeill, “Jitter in oscillators with 1/f noise sources,” Georgia Institute of Technology, as a Faculty Mem-
in Proc. IEEE Int. Symp. Circuits Syst. (ISCAS), vol. 1. May 2004, ber, where he is currently an Associate Professor.
pp. I-773–I-776. He is also teaching and conducting research in the
[25] A. A. Abidi, “Phase noise and jitter in CMOS ring oscillators,” IEEE areas of power amplifier linearization, smart antenna design, and RFIC design.
J. Solid-State Circuits, vol. 41, no. 8, pp. 1803–1816, Aug. 2006. He has authored or co-authored over 150 peer reviewed journal papers,
[26] A. Demir, “Phase noise and timing jitter in oscillators with colored-noise conference papers, and magazine articles, and has presented at numerous
sources,” IEEE Trans. Circuits Syst. I, Fundam. Theory Appl., vol. 49, IMS workshops. He has been an active member of the IEEE Microwave
no. 12, pp. 1782–1791, Dec. 2002. [Online]. Available: http://dx.doi.org/ Theory and Techniques Society (MTTS) for over 30 years. In 2008, he was
10.1109/TCSI.2002.805707 elevated to the IEEE Fellow for contributions to microwave power amplifier
[27] B. Gray, M. Masood, J. Galloway, R. Caplan, and J. S. Kenney, design, characterization, and linearization. He received the 2005 IEEE MTTS
“Microdegree frequency and phase difference control using fractional-N Application Award for the development of power amplifier linearization
PLL synthesizers,” in IEEE MTT-S Int. Microw. Symp. Dig., Jun. 2012, techniques and insertion into cellular/wireless systems. He served as the
pp. 1–3. President of the MTTS in 2007.

S-ar putea să vă placă și