1 / 23

DATE-based DAQ

DATE-based DAQ. Hideyuki Sakamoto CM22, RAL 19/10/08. 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).

aleciaj
Télécharger la présentation

DATE-based 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. DATE-based DAQ Hideyuki Sakamoto CM22, RAL 19/10/08

  2. 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)

  3. DATE-based DAQ • 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

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

  5. 1. Status display 2. DAQRUNCONTROL 3. DATE Logger 4. editDb GUIs for DATE 3 2 1 4

  6. Readout in DATE • User implement following 5 functions in XXX equipment. • ArmXXX - called at starting run • DisArmXX - called at stopping run • AsynchReadoutXXX - called every event • EventArrivedXXX - called after ArmXXX • ReadEventXXX - called after trigger arrived • User register parameters, such as base address in MySQL. • User get those parameters from function’s argument. • User can choose options to generate trigger and/or generate data for XXX equipment.

  7. Our equipments 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

  8. Equipments in DATE Type : Number to identify the equipment D : GENDATA T : GENTRIGGER #/pars. : Number of parameters registered in MySQL

  9. Start run • AFE 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

  10. 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

  11. Decoding • Following data are recorded. • ADC of trigger counters (4 channels) • Temp/Heater of 4 cassettes (32 channels) • ADC/TDC of 8 VLSBs (4096 channels)

  12. DATE Event Structure event equipment event header equipment header equipment A DATA equipment B

  13. DATE Event Header (17 words)

  14. DATE Equipment Header (7 words)

  15. Equipments (GENDATA) 2 AFEIIts & 1 VLSB (includes 2 boards) Events recorded SOR PHYSICS EOR (not seen here) Size of Equipments AFE = 23 words = 92(0x5c) bytes 7(Header) + 8 (temp) + 8 (heater power) VLSB = 1167 words = 4668 (0x123c) bytes 7(Header) + 1160 (145 x 4 links x 2 boards) Size of PHYSICS event 1230 words = 4920 (0x1338) bytes = 17(Header) + 23 x 2(2 AFE) + 1167(1 VLSB w/ 2boards) Raw data (@IC) SOR event Header SOR event Header PHYSICS event Header LHB Header LHB data RHB Header RHB data VLSB header VLSB data

  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

  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.

  23. Next step (R8  XXX  MLCR) • Modify readout code according to newly updated firmware (VLSB/AFE?) if necessary. • Installing Tracker#1 in MICE Hall. • Move DAQ pc/VME crate to MLCR. • Construct trigger logic using ISIS Spill. • Test/debug • … • Take beam data (Step II.)

More Related