performance of a tdc based on fpga -...

17
Performance of a TDC based on FPGA By: Vyome Singh For: IPM FermiLab 8/14/14 Vyome Singh 1

Upload: dinhcong

Post on 14-Feb-2019

224 views

Category:

Documents


0 download

TRANSCRIPT

Performance of a TDC based on FPGA

By: Vyome SinghFor: IPM FermiLab

8/14/14 Vyome Singh

1

What is a TDC?

• TDC stands for Time to digital convertor.

• It is a time Stamp.

8/14/14 Vyome Singh

2

Applications

• The flight time of particles.

• The life time of particles.

• The decay time of scintillators.

• Laser range finding.

• Time of flight mass spectrometry.

• Time of flight Positron Emission Tomography (TOF - PET).

• The module I tested will be used in LArIAT experiment (Liquid Argon Time Projection Chambers)

8/14

/14

Vyom

e Si

ngh

3

Motivation for a FPGA based TDC• Higher Resolution

• Cheap

• Low-Power consumption

• Flexibility

8/14

/14

Vyom

e Si

ngh

4

Brief overview of the working of TDC

8/14

/14

Vyom

e Si

ngh

5

[1]

• Clock (250MHz) ~ 4ns• Coarse Counter• Fine measurement

Bigger picture

8/14

/14

Vyom

e Si

ngh

6[2]

Even Bigger Picture!

8/14

/14

Vyom

e Si

ngh

7

FPGA TDC module

8/14

/14

Vyom

e Si

ngh

8

DX InputCX Input

VME Interface

Discriminator Card

FPGA TDC module

8/14

/14

Vyom

e Si

ngh

9

FPGA TDC

VME Interface Map

Register Base Address + Function

REG0 0x0 Firmware Version number(read only)

REG4 0x4 Threshold Voltage Setting

REG8 0x8 Testing Constant (read only)

REGC 0xC Lower 16 bits: operation control RegisterHigher 16 bits: Status (Read only)

REG10 0x10 Channel Mask

Data P0 0x1000 to 0x17FC

512 data long words (32- bit)

Data P1 0x1800 to 0x1FFC

512 data long words (32-bit)

8/14

/14

Vyom

e Si

ngh

10

Data Bit Layout

• We get 8 hexadecimal number (32 bit) for each word. A Time Frame looks like

8/14/14 Vyome Singh

11

0x00000000 Time Frame Separator

F (4 bit) TCY, LSB=256us

4(4 bit)

TCY:LSB=16us (4 bit)

CH: 0-15(4 bit)

Coarse Time: LSB=4ns(12 bit)

Fine Time: LSB=15.625ps(8 bit)

4(4 bit)

TCY:LSB=16us(4 bit)

CH: 0-15(4 bit)

Coarse Time:LSB=4ns(12 bit)

Fine Time:LSB=15.625ps(8 bit)

8/14

/14

Vyom

e Si

ngh

12

Registers

REG C

Data P0

Data P1

Result for D3 input

8/14

/14

Vyom

e Si

ngh

13nanoseconds

Num

ber o

f hits

Channel C

Resolution = 49.02 Pico second

Result for C3 input

8/14

/14

Vyom

e Si

ngh

14

nanoseconds

Num

ber o

f hits

Resolution = 26.61 Pico Seconds

Intrinsic time difference between channel e and f

Bin widths

8/14

/14

Vyom

e Si

ngh

15nanoseconds

Num

ber o

f hits

Resolution = 65.36 Picosecond

Summary

• Importance of TDC in detectors.

• FPGA TDC is fulfilling the role of a high resolution TDC

• Low power consumption.

• Different family of FPGA chip will give better resolution.(Current FPGA : Cyclone III)

8/14

/14

Vyom

e Si

ngh

16

References

• [1] Firmware-only Implementation of Time-to-Digital Converter (TDC) in Field-Programmable Gate Array (FPGA) by Jinyuan Wu, Zonghan Shi and Irena Y. Wang for CKM Collaboration.

• [2] A Low-Power Wave Union TDC Implemented in FPGA by Jinyuan Wua*, Yanchen Shib and Douglas Zhub

8/14

/14

Vyom

e Si

ngh

17