1 / 22

Tracker DAQ

Tracker DAQ. Hideyuki Sakamoto CM22, RAL 19/10/08. Tracker DAQ with EPICS. By the last week, DAQ using DATE with EPICS has been checked to work correctly by the following procedures. Installation of DATE package Write test code Rebuild trigger logic

ulloa
Download Presentation

Tracker DAQ

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Tracker DAQ Hideyuki Sakamoto CM22, RAL 19/10/08

  2. Tracker DAQ with EPICS • By the last week, DAQ using DATE with EPICS has been checked to work correctly by the following procedures. • Installation of DATE package • Write test code • Rebuild trigger logic • Take data of C1-4 counters with DATE • Check data • Take data of C1-4 and 8 VLSBs • Check data with that taken by EXCEL • Replace code of AFE with EPICS one • Check data

  3. R8 cosmic-ray test stand • In R8, cosmic-ray test for Tracker#1 is running, and Tracker DAQ has been tested this time. Trigger counter (C3,4) Light-guides Light-guides Tracker#1 Cryo#1 Cryo#2 Lead block Trigger counter (C1,2)

  4. AFEIIt (512 channels/board) Light-guides Light to VLPC LVDS To VLSB Clock from VLSB trigger board DATA FGPA D-FGPA A-FGPA ADC Tript preamp Signal VLPC array in bottom of cassette convert light to signal

  5. VME modules a b c d e f • SBS VME bus adaptor • CAEN V977 I/O Register • CAEN V792N QDC (16ch-lemo) • MIL-1553 • VLSB Trigger module • VLSB module From AFEIIt From C1-4

  6. DATE installation http://ph-dep-aid.web.cern.ch/ph-dep-aid/ on 15thOct08 Installed

  7. Notes on v6.28 • Few codes were needed to fix to start readout process. • Path to readout exe. file is changed as below. ${DATE_SITE}/hostname (@v6.09)  ${DATE_SITE}/aloneldc (@6.28)

  8. List of equipments at cosmic-ray test Type : Number to identify the equipment D : GENDATA T : GENTRIGGER #/pars. : Number of parameters registered in MySQL

  9. Responsibility of DATE and EPICS in Tracker DAQ • DATE • Readout data from VLSB • Enable/Disable trigger of VLSB • Clear VLSB buffer • EPICS • Configure AFEIIt boards • Enable/Disable trigger of AFE • Read temp./heater values of cassette

  10. 1. EPICS server 2. RunControlUI 3. Logger 4. ConfigurationUI 5. AFEIItMonitor GUIs forEPICS 2 1 3 4 5

  11. Embedding EPICS code in DATE • EPICS - wrapped with C++ • DATE - written by C • Compile equipmentList file by g++, then linked with other DATE object files to make readout exe. file. • ~10 lines in “infoLogger.h” were changed as below. - extern void infoLog  extern “C” void inforLog #ifdef __cplusplus #endif __cplusplus

  12. Start run • ArmAFE() 1. Check if AFEIIt boards are configured • If no, run stop, and • User configures boards using EPICS ConfigurationUI. 2. Enabling trigger of AFE boards by EPICS

  13. AFEIIt VLSB Event loop Delay module VETO clock TTL Coin. V977 I/O T560 VLSB Trig Triggger C1-4 2 3 4 LVDS 6 MIL1553 EventArrivedVLSBMaster 1, 5 7 ReadEventVLSBSlave 1 Enable trigger of VLSB 2 Reset VETO 3 Wait until trigger is arrived 4 Check if trigger was accepted to AFE. If no, go back to 2 5 Disable trigger of VLSB 6 Enable monitoring  Read Temp/Heat of cassette  Disable monitoring 7 Read VLSB data  Clear VLSB buffer

  14. Data taking • Latest run(#323) is currently taking data, now it has 2k events. • Trigger rate is about 0.016 Hz (1 event/min)

  15. Decoding • There 3 equipments to record data • V792N: ADC of trigger counters (4 channels) • AFE: Temp/Heater of 4 cassettes (32 channels) • VLSBSlave: ADC/TDC of 8 VLSBs (4096 channels)

  16. V792N (QDC) Data Format V792N 32bit data format:

  17. AFE Data Format Note that, temperature is NOT integer. Use float (4 bytes) to read its value. Heater value is integer.

  18. VLSB Data Format VLSB32bit data format: 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 Counter Status bits Data flag Pair1 Pair0 syncbit Chan/ADC/TDC Chan/ADC/TDC

  19. C1-4 ADC distribution

  20. Temperatures/Heater values of Cassettes Data unpacked from recorded data

  21. VLPC ADC distribution

  22. Summary • Tracker DAQ based on DATE in combination with EPICS has been tested and checked to work correctly at R8 cosmic-ray test stand. • Next step is to take data for Step II.

More Related