Download presentation
Presentation is loading. Please wait.
Published byJackeline Byfield Modified over 9 years ago
1
SciFi Tracker DAQ M. Yoshida (Osaka Univ.) MICE meeting at LBNL 10.Feb.2005 DAQ system for KEK test beam Hardware Software Processes Architecture SciFi tracker data structure
2
KEK beam test Test for the SciFi tracker with 1T solenoid magnetic field p/ / test beam line in KEK-PS Slow extraction from the internal target in 2-sec flat top of a 4-sec spill Add 4 th station to the prototype tracker Newly developed Cryostat with Cryocooler –2 VLPC cassettes embeded
3
DAQ for the KEK beam test Readout TOF counters and the other. –CAMAC ADC/TDC Readout AFEII on VLPC cassette –In KEK beam test, ~1k particles / spill –MICE beam ~600 muons / 850 usec –Existing system used for cosmic-ray test is rather slow ~40 events / pulse –Need memory module to store data in MICE situation with fast LVDS data links
4
LVDS receiver boards AFEII puts serialized ADC data on LVDS data links –Need to deserialize before storing into FIFO Solution: –Custom-made VME board (Fermilab) 4 LVDS data links / board (MCM serialize) cable (deserialize FIFO) VMEbus Backup: –Existing FIFO board (KEK) 32-bit inputs / board (MCM serialize) cable deserialize cable FIFO board VMEbus LVDS interface boards have been produced
5
VLPC backplane Linux PC PCI-VME (SBS Bit3) SASeq #2 SASeq #1 1553 LVDS-FIFO# 3 LVDS-FIFO # 4 AFE II (L) AFE II (R) VLPC Cassette #2 VLPC Cryostat AFE II (L) AFE II (R) VLPC Cassette #1 VME BUS DAQ System for KEK beam test CAMAC-VME CAMAC ADC/TDC 6U Serialized ADC DATA Slow Control Trigger Control 1024 ch 8x64 ch 4 4x8bit = 32 bit / board 8x64 ch LVDS-FIFO #1 LVDS-FIFO # 2 4 4 4
6
DAQ Software for KEK beam test Will use Unix-based DAQ programs –“Unidaq” developed by KEK A lot of experience at the KEK beam tests –Server – Client system An Event Builder Collectors for CAMAC readout (TOF etc.) and VME readout (VLPC) Transport data via Network Shared Memory Processes can be distributed among PCs on the network.
7
Processes Event Builder –Merge data from collectors –Send event data to data storage system Collector for TOF etc. (CAMAC) –Control trigger system via input/output register module on CAMAC –Read ADC and TDC –Send data to event builder Collector for VLPC (VME) –Collect data in LVDS receiver boards –Send data to Event Builder Slow Control for VLPC (VME) –Via 1553 interface board on VME to AFEII –Not synchronized to DAQ cycle –Set thresholds of discriminators on AFEII at the beginning of the data taking run –Temperature control
8
Data Rate A tracker has 5 stations 5x640=3200ch 4 VLPC cassettes = 32 MCMs = 4096 ch Assume: –Beam structure : 1k muons / 1msec (in every 1sec?) –Reading all channels –4kBytes / event 4MBytes / spill (8MBytes/spill for full tracker upstream and downstream)
9
An idea of the DAQ architecture Bit3 SASeq#1 SASeq#2 SASeq#3 SASeq#4 SERDES#1 SERDES#2 SERDES#3 SERDES#4 SERDES#5 SERDES#6 SERDES#7 SERDES#8 VLPC #1 L VLPC #1 R VLPC #2 L VLPC #2 R VLPC #3 L VLPC #3 R VLPC #4 L VLPC #4 R Tracker Collector Upstream Tracker Collector Downstream Tracker Builder PID Builder Beam Builder MICE Builder MICE Storage MICE Control Bit3 SASeq#1 SASeq#2 SASeq#3 SASeq#4 SERDES#1 SERDES#2 SERDES#3 SERDES#4 SERDES#5 SERDES#6 SERDES#7 SERDES#8 Tracker Control Bit3 1553 Tracker Slow Ctrl VLPC #1 L VLPC #1 R VLPC #2 L VLPC #2 R VLPC #3 L VLPC #3 R VLPC #4 L VLPC #4 R Upstream TrackerDownstream Tracker 4096ch 4kBytes/event 8MBytes/spill 4kBytes/event 4MBytes/spill Cryosat Control
10
To be determined How to talk between MICE control system and Tracker controller –Protocol TCP/IP (Network Shared Memory) or ? –Items to be communicated Run mode (beam, calibration, test) Commands for initialization, setup, and start data taking How to send tracker data to the MICE event builder –Protocol –Data structure Spill header (spill#, date, time, detector ID, temperature data, threshold setting, etc.) Event header (detector ID, event#, time, data length, etc.) Data (ADC, TDC, etc.) DAQ sequence Initialize –Generate processes and send process ID back to controller –Collectors Initialize electronics Setup –Set run number –Set run mode –Set threshold, etc. Start –Start data taking Stop –Stop data taking –Loop back to Setup Abort –Kill processes
11
Data structure Data structure (Zero suppressed) Header Length Spill# / Event# Date/ Time Detector ID Number of MCMs Data Length AFE number / MCM number Common mode chan / ADC / chan / ADC … chan / ADC / chan / ADC Data Length AFE number / MCM number Common mode chan / ADC / chan / ADC … chan / ADC / chan / ADC Delimiter Data structure Header Length Spill# / Event# Date/ Time Detector ID Number of MCMs Data Length AFE number / MCM number ADC1 / ADC2 / ADC3 / ADC4 … ADC125 / ADC126 / ADC127 / ADC128 Data Length AFE number / MCM number ADC1 / ADC2 / ADC3 / ADC4 … ADC125 / ADC126 / ADC127 / ADC128 Delimiter
Similar presentations
© 2024 SlidePlayer.com. Inc.
All rights reserved.