You are on page 1of 4

A High Resolution FPGA-based Merged Delay

Line TDC with Nonlinearity Calibration


Yuan-Ho Chen
Department of Information and Computer Engineering,
Chung Yuan Christian University, Taiwan.
Email: yhchen@ice.cycu.edu.tw

Abstract—This paper proposes a merged delay line (MDL) Start t1 t2 t3 tM

field-programmable gate array (FPGA) based time-to-digital


converter (TDC). Instead of traditional tapped delay line (TDL),
the proposed MDL-TDC merges several small delay cells to D Q D Q D Q D Q
improve the linearity performance effectively. Implemented in a FF FF FF FF
Xilinx XC5VLX110T-1FF1136 FPGA device, the proposed MDL-
TDC has 50 ps time resolution, and the ranges of differential Stop

non-linearity (DNL) and integral non-linearity (INL) can be


reduced 16.6% and 5.4% as compared with traditional one, Encoder
respectively. Furthermore, 29 ps root-mean-square (RMS) is
TDC
measured for the proposed MDL-TDC inputting a constant delay Outputs
source. Therefore, the proposed MDL-TDC is recommended to
implement in FPGA-based TDC achieving a high-resolution time Fig. 1. The architecture of traditional TDL-TDC.
and linearity performance.
Index Terms—Time-to-digital converter, Field-programmable
gate array, Differential non-linearity, Merged delay line.
In this paper, merged delay line (MDL) TDCs are proposed
to improve the linearity. To divide the dedicated CARRY4 cell
I. I NTRODUCTION in Xilinx Vertix-5 FPGA, the merged window chooses the
Time-to-digital converter (TDC) is an essential component same time delay in all MDL cells. Thus, the small differential
in many scientific applications, such as positron emission non-linearity (DNL) values can be achieved, and the DNL
tomography (PET) scanners [1]-[3]. Recently, many researches and integral non-linearity (INL) values of proposed MDL-
implement TDCs in field-programmable gate arrays (FPGAs) TDC can be reduced hugely as compared with the traditional
due to the cost, development time, and flexibility [4]-[14]. TDL-TDC. Implemented in a Xilinx XC5VLX110T-1FF1136
FPGA device, the proposed MDL-TDC achieves 50 ps reso-
Time resolution and linearity are the important issues in lution and the ranges of DNL and INL are [−0.47, 0.62] and
the FPGA-based TDC design [5]. Kalisz et al. present the [−0.87, 0.68] least-significant-bit (LSB), respectively. Further-
calibration circuit in QuickLogic pASIC FPGA device to more, based on the constant delay source, the proposed MDL-
achieve 200-ps resolution time, and the measured range of TDC achieves 29 ps root-mean-square (RMS) time resolution.
TDC is 43-ns [6]-[7]. Song et al. employ the dedicated carry- Thus, the proposed MDL-TDC is suitable to be applied to the
chain of FPGA devices to implement the tapped delay line high-resolution applications in time measured.
(TDL)-TDC [8]. After calibration, the resolution time of the
This paper is organized as follows. In Section II, the design
TDC implemented in an Altera EP1K50TC144-1 FPGA device
of proposed MDL-TDC is presented that includes the architec-
is 65 ps, and that of the TDC implemented in a Xilinx
ture of traditional tapped delay line, important issues for FPGA
XC2V4000-6BF957 FPGA device is 46.2 ps [8]. Due to
design, and the proposed MDL-TDC. Experimental results and
the uncertainty of the placed and routed (P&R) from FPGA
discussions are presented in Section III, and conclusions are
supported electronic design automation (EDA) tools, Wang et
drawn in Section IV.
al. introduce the LOC and RLOC operands to allocate the delay
cells in Xilinx family FPGAs [9]. Thus, the EDA tools can II. P ROPOSED MDL-TDC D ESIGN
automatic handle the P&R instead of the time consuming man-
made P&R. Furthermore, FPGA-based TDCs using dedicated A. Traditional Tapped Delay Line TDC
resources, such as Slice and DCM, are presented in [10]- The taped delay line (TDL) is the most used architecture in
[11]. Besides, the ultra wide bins (UWBs) occur in FPGA- FPGA-based TDC design. Figure 1 shows the architecture of
based TDC due to the bank boundary. Wave Union TDCs are the M -bin TDC with traditional TDL architecture. It is easily
presented to deal with the UWBs effect improving the time to be implemented using the M delay cells and registers, and
resolution hugely because of the divided of the original bin FPGA is a recommended platform to implement the TDL-
size [12]-[14]. TDC because of its dedicated resources. The time resolution

978-1-4673-5762-3/13/$31.00 ©2013 IEEE 2432


Traditional TDL-TDC t1 t2 t3 tM

Start

200

D Q D Q D Q D Q
FF FF FF FF
150
Delay Time (ps)

Stop

100 Encoder

TDC
Outputs
50

Fig. 4. The divided CARRY4 cell in TDC design.

0 ti
0 20 40 60 80 100 120
Bin Number ti2

Fig. 2. The bin delay time of the traditional TDL-TDC.


ti1
ti3
COUT tiN

Merged Window
LUT
Gate Reg
D
D D Fig. 5. The proposed merged delay line.

LUT
Gate Reg TDL-TDC. By using the dedicated carry chains to implement
C
C C
the delay cells, the phenomenon of non-uniform distribution
is existed in every FPGA-based TDC. Therefore, the non-
LUT linearity calibration becomes more and more important in
Gate Reg
B
B B
FPGA-based TDC design.

LUT Gate C. Proposed Merged Delay Line TDC


Reg
A A A
Instead of the delay cell, the proposed merged delay line
CARRY4
(MDL) cell is applied to the FPGA-based TDC, and the
CIN proposed MDL-TDC can improve the non-linearity effect of
the non-uniform delay cells. In general, the unit delay cell
Fig. 3. A simplified diagram of SLICE in Xilinx Vertix-5 FPGA. is implemented using single CARRY4 cell in Virtex-5 FPGA.
However, the CARRY4 cell can be divided into four delay
element during the internal carry-chain. Thus, the TDC can
of the TDC is based on the delay cells in TDL architecture. be shown as Fig. 4 Figure 5 shows the operation of the
Therefore, the smaller time delay for the delay cell, the higher proposed MDL cell. By sliding the merged window to choose
time resolution can be achieved. delay cells, small DNL effect can be achieved. The MDL cell
consists of 1 to N different delay cells {τi1 , τi2 , . . . , τiN },
B. Issues of FPGA-based TDL-TDC Design and the proposed TDC chooses the same delay time in each
merged window to achieve small DNL values. Where N is the
Two important issues in FPGA-based TDC with TDL archi- window size and the definition of DNL is shown as follows:
tecture are resolution and non-linearity. The time resolution
in TDL-TDC can be improved by using high speed FPGA. ti
DN Li (LSB) = − 1. (1)
However, the non-linearity in FPGA-based TDC is difficult LSB
to handle by using advanced FPGA. Figure 2 shows the cell
delay in Xilinx XC5VLX110T-1FF1136 FPGA device. In the
fast carry chain, CARRY4 is the dedicated resource in a single To achieve small DNL values, it must choose the delay cell
slice of Xilinx Virtex-5 FPGA as shown in Fig. 3. Therefore, τik which has the minimal deference from LSB △ τik . For
CARRY4 can be implemented into a unit delay cell for a this reason, the choosing of the delay cell for each MDL cell

2433
Differential Nonlinearity of Original TDL-TDC. [-0.99908,3.7339] LSB.
Differential Nonlinearity of Proposed MDL-TDC. [-0.53702,0.62241] LSB.

3 0.5
DNL (LSB)

DNL (LSB)
1 0
0

-0.5
0 20 40 60 80 100 120
0 20 40 60 80 100 120
Bin Code
Bin Code
Integral Nonlinearity of Original TDL-TDC. [-16.1933,4.6398] LSB.
Integral Nonlinearity of Proposed MDL-TDC. [-1.0179,0.75219] LSB.

0 0.5
INL(LSB)

INL(LSB)
-5 0

-10
-0.5

-15
-1
0 20 40 60 80 100 120 0 20 40 60 80 100 120
Bin Code Bin Code

Fig. 6. The DNL and INL of traditional TDL-TDC. Fig. 7. The DNL and INL of the proposed MDL-TDC as N = 4.

Differential Nonlinearity of Proposed MDL-TDC. [-0.47339,0.62241] LSB.


is the minimal △ τik not the smallest delay time τik . 0.6
0.4
t1 ≈ t2 ≈ · · · ≈ tM (2)
DNL (LSB)

0.2
ti = M in{△ τi1 , △ τi2 , · · · △ τiN } (3) 0
△ τik = abs{τik − LSB} (4) -0.2
-0.4
where M in{•} and abs{•} are the minimum and absolute 0 20 40 60 80 100 120
operators, respectively. Bin Code
Integral Nonlinearity of Proposed MDL-TDC. [-0.87306,0.67578] LSB.
III. E XPERIMENTAL R ESULTS AND D ISCUSSIONS 0.5
The experiments are conducted with the Xilinx XUPV5-
INL(LSB)

LX110T evaluation platform. The proposed MDL-TDC is 0

synthesized using Xilinx ISE 13.2 and implemented in Xilinx


-0.5
XC5VLX110T-1FF1136 FPGA device. For the code density
test [15], two pulse sources (Agilent 81130A pulse data 0 20 40 60 80 100 120
generator and a 100MHz oscillator with dedicated phase- Bin Code
locked loop) generate their own 166.7 MHz clock without
Fig. 8. The DNL and INL of the proposed MDL-TDC as N = 5.
synchronization. Thus, very slow ramp signal in time dif-
ference can be generated and 10 × 217 samples of averaged
Differential Nonlinearity of Proposed MDL-TDC. [-0.76306,0.62241] LSB.
TDC outputs can alleviate the jitter effect. Due to 50 ps time
resolution at 166.7 MHz frequency, 120 bins are needed to 0.5

divide 6 ns time duration.


DNL (LSB)

0
For the linearity test, the DNL and INL of TDL-TDC are
illustrated in Fig. 6. The proposed MDL-TDC can achieve
-0.5
different INL and DNL values because of different merged
window size is adopted. The INL and DNL values of window 0 20 40 60 80 100 120
size between 4 to 6 are shown in Fig. 7 - 9. The obtained Bin Code

DNL is between −0.999 and 3.73 LSB, and the obtained INL’s 0.5
Integral Nonlinearity of Proposed MDL-TDC. [-1.7441,0.51151] LSB.

range is [−16.19, 4.64] LSB in the TDL-TDC and the LSB bin
0
size of this measurement is 50 ps. After the merged calibration,
INL(LSB)

-0.5
the proposed MDL-TDC can improve the performance in DNL
and INL. Thus, the DNL’s range of the proposed MDL-TDC -1
can be reduced to [−0.47, 0.62] LSB, and the INL’s range is -1.5
[−0.87, 0.68] LSB (window size equal to 5), as shown in Fig. 0 20 40 60 80 100 120
8. Large number of DNL and INL can be improved in FPGA- Bin Code

based TDC by using proposed MDL architecture. Besides, Fig.


Fig. 9. The DNL and INL of the proposed MDL-TDC as N = 6.
10 shows the measured delay time of each bin for traditional

2434
Traditional TDL-TDC
IV. C ONCLUSION
200
This paper proposes the MDL-TDC. The choosing of each
Delay Time (ps)

150 MDL cell delay time by merged window is based on the mini-
100 mal DNL constraint. Therefore, the measured results show that
50
a large number of DNL and INL improvement can be achieved
and a high time resolution also can be reached in the proposed
0
0 20 40 60 80 100 120 MDL-TDC. Consequently, the proposed MDL-TDC can deal
Bin Number
with dedicated non-uniform delay distribution in FPGA to
Proposed MDL-TDC (N=5)
80 achieve high linearity and high resolution performance.
Delay Time (ps)

60
ACKNOWLEDGMENT
40
This work was supported by the National Science Council
20
of Taiwan R.O.C., under project number NSC-101-2218-E-
0 033-005.
0 20 40 60 80 100 120
Bin Number
The author would like to thank Prof. Chih-Wen Lu for
providing the testing equipment.
Fig. 10. The bin delay time of TDL-TDC and MDL-TDC.
R EFERENCES
5 [1] A. S. Yousif and J. W. Haslett, “A fine resolution TDC architecture for
x 10
next generation PET imaging,” IEEE Trans. Nucl. Sci., vol. 54, no. 5,
pp. 1574–1582, Oct. 2007.
8 Mean : 1945.8 ps [2] W. W. Moses, S. Buckley, C. Vu, Q. Peng, N. Pavlov, W. Choong, J. Wu,
RMS : 28.86 ps and C. Jackson, “OpenPET: A flexible electronics system for radiotracer
7 Sample : 10 x 217 imaging,” IEEE Trans. Nucl. Sci., vol. 57, no. 5, pp. 2532–2537, Oct.
2010.
6 [3] G. Sportelli, N. Belcari, P. Guerra, F. Spinella, G. Franchi, F. Attanasi,
S. Moehrs, V. Rosso, A. Santos, and A. Del Guerra, “Reprogrammable
acquisition architecture for dedicated positron emission tomography,”
5 IEEE Trans. Nucl. Sci., vol. 58, no. 3, pp. 695–702, Jun. 2011.
Counts

[4] S. S. Junnarkar, P. O’Connor, P. Vaska, and R. Fontaine, “FPGA-based


4 self-calibrating time-to-digital converter for time-of-flight experiments,”
IEEE Trans. Nucl. Sci., vol. 56, no. 4, pp. 2374–2379, Aug. 2009.
3 [5] J. Wu, “Several key issues on implementing delay line based TDCs
using FPGAs,” IEEE Trans. Nucl. Sci., vol. 57, no. 3, pp. 1543–1548,
Jun. 2010.
2
[6] J. Kalisz, R. Szplet, J. Pasierbinski, and A. Poniecki, “Field-
programmable-gate-array-based time-to-digital converter with 200-ps
1 resolution,” IEEE Trans. Instrum. Meas., vol. 46, no. 1, pp. 51–55, Feb.
1997.
0 [7] J. Kalisz, R. Szplet, R. Pelka, and A. Poniecki, “Single-chip interpolating
1800 1850 1900 1950 2000 2050 2100 time counter with 200-ps resolution and 43-s range,” IEEE Trans.
Time Interval (ps) Instrum. Meas., vol. 46, no. 4, pp. 851–856, Aug. 1997.
[8] J. Song, Q. An, and S. Liu, “A high-resolution time-to-digital converter
Fig. 11. The measurements of a constant delay for the proposed MDL-TDC. implemented in field-programmable-gate-arrays,” IEEE Trans. Nucl.
Sci., vol. 53, no. 1, pp. 236–241, Feb. 2006.
[9] J. Wang, S. Liu, Q. Shen, H. Li, and Q. An, “A fully fledged TDC
implemented in field-programmable gate arrays,” IEEE Trans. Nucl. Sci.,
vol. 57, no. 2, pp. 446–450, Apr. 2010.
TDL-TDC and the proposed MDL-TDC, respectively. The [10] C. Favi and E. Charbon, “A 17ps time-to-digital converter implemented
non-uniform delay distribution can be improved by using the in 65nm FPGA technology,” in Proc. ACM FPGA, 2009, pp. 113–120.
proposed MDL architecture. [11] A. Aloisio, P. Branchini, R. Cicalese, R. Giordano, V. Izzo, S. Loffredo,
and R. Lomoro, “High-Resolution Time-to-Digital Converter in Field
Programmable Gate Array,” in Proc. Topical Workshop on Electronics
To verify the time resolution of the proposed MDL-TDC, for Particle Physics, 2008, pp. 383–387.
a constant time interval is fed as the Start signal which [12] J. Wu and Z. Shi, “The 10-ps wave union TDC: Improving FPGA TDC
resolution beyond its cell delay,” in Proc. IEEE Nuclear Science Symp.
is with a constant delay from Stop signal. Figure 11 shows Conf. Rec., Oct. 2008, pp. 3440–3446.
the histogram of the measured data after performing 10 × 217 [13] J. Wang, S. Liu, L. Zhao, X. Hu, and Q. An, “The 10-ps multitime
measurements of the constant delay time. The measured mean measurements averaging TDC implemented in an FPGA,” IEEE Trans.
Nucl. Sci., vol. 58, no. 4, pp. 2011–2018, Aug. 2011.
time is 1945.8 ps, and the RMS is 28.86 ps. Consequently, [14] E. Bayer and M. Traxler, “A high-resolution (< 10 ps RMS) 48-channel
the proposed MDL-TDC can not only improve DNL and INL time-to-digital converter (TDC) implemented in a field programmable
performance but also achieve a high resolution measurement gate array (FPGA),” IEEE Trans. Nucl. Sci., vol. 58, no. 4, pp. 1547–
1552, Aug. 2011.
in FPGA-based TDC design. [15] Y. H. Seo, J. S. Kim, H. J. Park, and J. Y. Sim, “A 1.25 ps resolution 8b
cyclic TDC in 0.13 µm CMOS,” IEEE J. Solid-State Circuits, vol. 47,
no. 3, pp. 736–743, Mar. 2012.

2435

You might also like