Presentation is loading. Please wait.

Presentation is loading. Please wait.

Testing of Latch-TDC Da-Shung Su Jia-Ye Chen, Hsi-Hung Yao, Su-Yin Wang, Ting-Hua Chang, Wen-Chen Chang 2011/07/13.

Similar presentations


Presentation on theme: "Testing of Latch-TDC Da-Shung Su Jia-Ye Chen, Hsi-Hung Yao, Su-Yin Wang, Ting-Hua Chang, Wen-Chen Chang 2011/07/13."— Presentation transcript:

1 Testing of Latch-TDC Da-Shung Su Jia-Ye Chen, Hsi-Hung Yao, Su-Yin Wang, Ting-Hua Chang, Wen-Chen Chang 2011/07/13

2 Sampling Results and Output Sampling Resultsfor Output Q3Q2Q1Q0Y2Y1Y0 0000000 XX10001 X100010 1000011 1111100 XX01101 X011110 0111111 At each time bin, Q0, Q1, Q2 and Q3 are the sampling results of the input signal with the four different phases of the clock. Q0 is the starting phase, i.e. t(Q0) is earlier those of the others. “x” stands for either 0 or 1. We assume that two hits are separated from each other more than 1 clock away, and a valid hit sustains more than 1-clock wide. Leading edge detected. Signal on. Trailing edge detected. No signal0 1 2 3 4 5 6 7

3 Current Design Specification Station 1 Time bin10 ns Width of accepted window32*10=320 ns Maximum Delay of shift register128*10=1,280 ns (>1,100 ns) Time resolution of TDC2.5 ns Two-hit resolution10 ns Frequency of clock source: 100 MHz

4 Address Map OffsetAccessData widthDescription 0x000R/WD32Control and Status Register (CSR) 0x004RD32PCB serial number and Revision date code 0x008RD32FIFO status register 0x00CR/WD32Control and Status Register (CSR2) 0x010WD32FIFO test mode enable 0x014WD32FIFO test mode disable 0x020WD32Clear 0x028WD32Latch mode enable 0x02CWD32Latch mode disable 0x050WD32Reserved 0x054WD32Reserved 0x060WD32Reset 0x068WD32Generate output pulse 0x100 | 0x1FC R/W, BLTD32128KB FIFO memory space, (32K x 32)

5 CSR2 0x0c (32 bits) D15D14D13D12D11D10D9D8D7D6D5D4D3D2D1D0 SpareDelay Time (Write)Spare 64/32 bins Gate window (128 clocks) Output window (32/64) Delay Time CSR2 D31D30D29D28D27D26D25D24D23D22D21D20D19D18D17D16 XTrig Y2 Trig Y1 Trig Y0 XTrig Y2 Trig Y1 Trig Y0 XTrig Y2 Trig Y1 Trig Y0 Trigger Timing (Read)

6 Data structure for one time bin D31D30D29D28D27D26D25D24…D7D6D5D4D3D2D1D0 XCh7 Y2 Ch7 Y1 Ch7 Y0 XCh6 Y2 Ch6 Y1 Ch6 Y0 …XCh1 Y2 Ch1 Y1 Ch1 Y0 XCh0 Y2 Ch0 Y1 Ch0 Y0 1st 32-bit data D31D30D29D28D27D26D25D24…D7D6D5D4D3D2D1D0 XCh15 Y2 Ch15 Y1 Ch15 Y0 XCh14 Y2 Ch14 Y1 Ch14 Y0 …XCh9 Y2 Ch9 Y1 Ch9 Y0 XCh8 Y2 Ch8 Y1 Ch8 Y0 2nd 32-bit data D31D30D29D28D27D26D25D24…D7D6D5D4D3D2D1D0 XCh55 Y2 Ch55 Y1 Ch55 Y0 XCh54 Y2 Ch54 Y1 Ch54 Y0 …XCh49 Y2 Ch49 Y1 Ch49 Y0 XCh48 Y2 Ch48 Y1 Ch48 Y0 7th 32-bit data D31D30D29D28D27D26D25D24…D7D6D5D4D3D2D1D0 XCh63 Y2 Ch63 Y1 Ch63 Y0 XCh62 Y2 Ch62 Y1 Ch62 Y0 …XCh57 Y2 Ch57 Y1 Ch57 Y0 XCh56 Y2 Ch56 Y1 Ch56 Y0 8th 32-bit data …..

7 Overall Data Structure for ONE EVENT D31D30D29D28D27D26D25D24…D7D6D5D4D3D2D1D0 All 0XCh0 Y2 Ch0 Y1 Ch0 Y0 1st 32-bit data for trigger time 2 nd -9th 32-bit data for the 1st time bin 10 th - 17th 32-bit data for the 2nd time bin ….. 497 th - 504th 32-bit data for the 63th time bin 506 th - 513th 32-bit data for the 64th time bin

8

9 Items tested TDC resolution Double-hit resolution Output window scanning Stability of data for large statistics with the operation of CODA DAQ

10 Single Hit

11 TDC Resolution Input a single pulse. The time of leading-edge w.r.t. the trigger is measured by the oscilloscope – “Real time”. TDC=[TDC0]+[sig corr]+[trig corr] – TDC0: position of leading edge – Signal correction: fine correction of leading edge of signal by 4-phase sampling. – Trigger correction: fine correction of leading edge of trigger by 4-phase sampling. There is a common difference between “Real time” and “TDC”, in average of 49.70, possible caused by the cable and electronics modules. The jitter relative to the common difference is within 2.5 ns. Real time TDC0 sig corr trig corr TDC Diff Jitter 194.162307.55242.548.34-1.36 192.922307.55242.549.58-0.12 191.542307.55242.550.961.26 178.082207.52.523051.922.22 194.54220517.5242.547.96-1.74 181.962205523048.04-1.66 174.14200517.5222.548.36-1.34 186.2822051023548.72-0.98 193.1823057.5242.549.32-0.38 192.80220517.5242.549.700.00 167.68200512.5217.549.820.12 176.70210512.5227.550.801.10 192.822402.50242.549.68-0.02 192.762302.510242.549.740.04 169.422102.57.522050.580.88 191.842402.50242.550.660.96 191.482202.520242.551.021.32 188.3623007.5237.549.14-0.56 170.4620002022049.54-0.16 174.9221001522550.080.38 49.70

12 Double Hits

13

14 Global View of channel 0-31

15 Global View of channel 32-63

16 Channel 0

17 Channel 60

18 Mean and RMS RMS < 2 ns


Download ppt "Testing of Latch-TDC Da-Shung Su Jia-Ye Chen, Hsi-Hung Yao, Su-Yin Wang, Ting-Hua Chang, Wen-Chen Chang 2011/07/13."

Similar presentations


Ads by Google