fpga high resolution tdc development of high resolution
play

FPGA high-resolution TDC Development of high-resolution TDC based - PowerPoint PPT Presentation

FPGA high-resolution TDC Development of high-resolution TDC based on FPGA. , A , JAEA B , KEK C , Open-It D @ , A , B , CD , CD SNP


  1. FPGA を用いた high-resolution TDC の開発 Development of high-resolution TDC based on FPGA. 阪大理 , 東北大理 A , JAEA B , KEK C , Open-It D @ 本多良太郎 , 三輪浩司 A , 細見健二 B , 池野正弘 CD , 内田智久 CD SNP スクール 2017 @福島 1

  2. Outline • Motivation • Developed items • Hardware • Tapped delay line in FPGA • Calibration • Performance evaluation • Summary SNP スクール 2017 @福島 2

  3. Motivation Beam spectrometer Analyzer magnet K + Target Beam p p + p Timing reference Backgrounds Lucite Aerogel TOF Cherenkov Cherenkov Mass-square distribution of scattered particles. (AC) (LC) Background proton 1 st level trigger : Coincidence of detector signals • are rejected by 2 nd level trigger • Cherenkov detectors play important role. triggered by 1 st level 2 nd level trigger : Trigger based on time-of-flight • • High-resolution time-of-flight information is triggered by 2 nd level necessary. SNP スクール 2017 @福島 3

  4. Motivation Present 2 nd level trigger system FPGA FERA FERA TFC trigger module driver (4300) (4303) • Slow (10 μs order) LC TOF • Complex • Old VME CAMMAC New trigger system FPGA based • high-resolution TDC mezzanine card Fast (100 ns order) FPGA • Simple Development of FPGA based HR-TDC is main motivation of this project. FPGA Trigger controller module (Mother module) Supported by Grant 新学術 ( 中性子星核物質 ) 公募研究 「 J-PARC 二次ビーム高強度化のための汎用トリガーモジュールの開発」 SNP スクール 2017 @福島 4

  5. Motivation Present 2 nd level trigger system FPGA FERA FERA TFC trigger module driver (4300) (4303) • Slow (10 μs order) LC TOF • Complex • Old VME CAMMAC New trigger system In general, the common issue in our research field is that no GOOD common-stop type high-resolution TDC exists. FPGA based • high-resolution TDC mezzanine card Fast (100 ns order) FPGA We must overcome this problem for future experiments. • Simple Development of FPGA based HR-TDC is main motivation of this project. FPGA Trigger controller module (Mother module) Supported by Grant 新学術 ( 中性子星核物質 ) 公募研究 「 J-PARC 二次ビーム高強度化のための汎用トリガーモジュールの開発」 SNP スクール 2017 @福島 5

  6. Developed hardware Hadron universal logic (HUL) controller module HUL mezzanine cards Today’s topic is implementation of HR-TDC into Xilinx Kintex7 160T on HUL controller. • 64ch ECL/LVDS inputs • Two mezzanine slots This project is technically • GbE : SiTCP (VME communication is not supported) supported by Open-It. • Powered by J1 or AC adaptor (5V) http://openit.kek.jp/project/HUL/public/hul SNP スクール 2017 @福島 6

  7. Principle of Tapped Delay Line HR-TDC Tapped Delay Line (TDL) Pulse runs on TDL Deley Hit D-FF Sampling clock D-Flip-Flop captures the snapshot of the pulse running on TDL. SNP スクール 2017 @福島 7

  8. Implementation of TDL into FPGA FPGA : Field-Programmable Gate Array • Gate level logic coded by users can be implemented. Implement TDL using carry line in FPGA Carry line • Basic function of Adder • Smallest delay element with 5-30 ps delay time • Close to FF • Cascadable Xilinx UG474 SNP スクール 2017 @福島 8

  9. Implemented logic Pulse run 11111111111111000000000000000 Tapped delay line Remapping (192 → 64 taps) 1111100000 0000100000 Leading edge finder Binary encoder 5 : Fine count + 520 MHz Semi coarse count (2bit) Crock domain crossing 130 MHz + Coarse count (11bit) Calibration table Ring buffer (15.8 us length) 32ch HR-Timing unit and DAQ functions were fully implemented into Kintex7 160T. Event build process SNP スクール 2017 @福島 9

  10. Distribution of delay time Delay time (dT) is not constant. dT1 dT2 dT3 dT4 dT5 Hit D-FF Sampling clock dT distribution for all the channels Tap number histogram dT = Period of sampling clock Count/TotalEntry*1920 ps 1.92 ns Most probable dT is 30 ps SNP スクール 2017 @福島 10

  11. Calibration of TDL Tap number (RAM address) Calibrated data (RAM data) RAM Switch LUT table if the other is ready. +1 at addressed register RAM Accumulate 0x7ffff events, and after that, create new table. Tap number histogram Calibrated look up table Nth Val = w n /2 + Σ n-1 0 (w i ) SNP スクール 2017 @福島 11

  12. Calibration of method • Use detector signal. • Corresponding to that the clock sampling of the detector signal. The detector signal must be random. • Use clock. • The TDC clock is 520 MHz (f sample ) and calibration clock is 26.2144 (f calib ) • N*(f sample /f calib ) = N*(2 9 *5 7 *13)/(2 20 *5 2 ) = N*(5 5 *13)/ 2 11 • 2048 different clock phases appear SNP スクール 2017 @福島 12

  13. DAQ functions TDC Ring buffer Common stop unit Hits inside the search window x 32ch are stored in channel buffer, TDC Ch Block when trigger is received. Input TDC Ch unit buffer buffer Input TDC Channel Input unit buffer buffer unit Ring TDC data Ring buffe buffer Ring buffer TDC data TDC block HR-Multi-Hit TDC Channel : 32 Build an Event Trigger type : Common stop Event packet Ring buffer length : 15.8 us • L2 trigger MaxHit/ch/event : 16 • Clear • Tag Dead time : Equal to search window Event buffer Event packet Trigger L2 data information Event packet L2 data Discard event Trigger module if clear was received. SiTCP Data transmit if L2 was received. SNP スクール 2017 @福島 13

  14. Performance evaluation SNP スクール 2017 @福島 14

  15. Timing resolution start NIM/LVDS Random pulse HUL Discriminator common stop (HR-TDC) 10 ns delay Timing distribution Timing resolution between ch1 and common stop between each channel and common stop Timing resolution better than 30 ps ( s ) achieved for all the channel ! SNP スクール 2017 @福島 15

  16. Double hit resolution Input pulse 4ns Measured timing distribution 4ns 5ns 8 ns Double pulse could be measured with 100% efficiency. 2ns 2ns 2ns In principle, double pulses with quite short interval can be measured . SNP スクール 2017 @福島 16

  17. Double hit resolution Input pulse 4ns Measured timing distribution 4ns 5ns 8 ns Double pulse could be measured with 100% efficiency. High-resolution multi-hit TDC was successfully developed. We overcame HR-TDC problem in our field ! 2ns 2ns 2ns In principle, double pulses with quite short interval can be measured . SNP スクール 2017 @福島 17

  18. ToDo Implement both leading and trailing edges measurement. • At present, 8ch leading/trailing measurement was achieved. Implement HR-TDC to FPGA on mezzanine card. • Separate HR-TDC part from the DAQ functions. • Customization of DAQ functions can be easy. New mezzanine card for HR-TDC (Same FPGA is mounted) Future possibility • Synchronization with master clock • Implement as free-run type TDC SNP スクール 2017 @福島 18

  19. Summary Develop the 2 nd level trigger system using FPGA based HR-TDC for the K + selection in • J-PARC experiments. • Furthermore, FPGA based HR-TDC solve the problem that no good HR-TDC exists in our research field. • Tapped delay line HR-TDC, which realized by carry line, was implemented into Xilinx Kintex7 160T. • 32ch HR-TDC unit and DAQ functions were fully implemented. The timing resolution better than 30 ps ( s ) was achieved for all the channel. • • The double-hit resolution was at least 8 ns. • We overcame the HR-TDC problem by this development. SNP スクール 2017 @福島 19

  20. Backup SNP スクール 2017 @福島 20

  21. Principle of calibration using clock. clip at every 1.92 ns Projection to Y

  22. LUT Entry dependence of timing resolution Timing resolution of ch0-ch1 (NIM) Timing resolution of ch2-ch3 (ECL) Present At present, LUT table accumulate 0x7ffff events. setting

  23. Bit length dependence of timing resolution Timing resolution of ch0-ch1 (NIM) Timing resolution of ch2-ch3 (ECL) At present, lower 8bits are discarded.

Download Presentation
Download Policy: The content available on the website is offered to you 'AS IS' for your personal information and use only. It cannot be commercialized, licensed, or distributed on other websites without prior consent from the author. To download a presentation, simply click this link. If you encounter any difficulties during the download process, it's possible that the publisher has removed the file from their server.

Recommend


More recommend