SciFi Tracker DAQ M. Yoshida (Osaka Univ.) MICE Tracker workshop @ KEK Mar.

Download Report

Transcript SciFi Tracker DAQ M. Yoshida (Osaka Univ.) MICE Tracker workshop @ KEK Mar.

SciFi Tracker DAQ
M. Yoshida (Osaka Univ.)
MICE Tracker workshop @ KEK
Mar. 30, 2005
KEK beam test
• Test for the SciFi tracker with 1T solenoid
magnetic field
• p/p/m test beam line in KEK-PS
• Slow extraction from the internal target in
2-sec flat top of a 4-sec spill
• Add 4th station to the prototype tracker
• Newly developed Cryostat with Cryocooler
– 2 VLPC cassettes embeded
DAQ for the KEK beam test
• Standalone operation of Cryostat
• Readout TOF counters and the other.
– VME or CAMAC ADC/TDC
• Standalone DAQ system for VLPC
– LVDS data links from AFEII board to “VME LVDS
SERDES Buffer” (VLSB)
– Standard VME bus from VLSB to SBS Bit3
– Optical link from Bit3 to PC
– Ethernet connection from collectors to event builder
• VLPC slow control
– PC  VMEbus  MIL-STD 1553 interface  AFEII
VME LVDS SERDES Buffer
(VLSB)
http://www-ese.fnal.gov/D0_VLSB/
DAQ
System
for
KEK
beam
test
Linux PC
PCI-VME (SBS Bit3)
SASeq #1
Slow Control
Trigger Control
U
VME BUS
SASeq #2
VLPC backplane
1553
8x64 ch
AFE II (L)
VLPC Cassette #1
AFE II (R)
8x64 ch
AFE II (L)
8x64 ch
VLPC Cassette #2
6
AFE II (R)
4
VLSB #1
VLSB #3
VLSB #4
VME LVDS SERDES Buffer (VLSB)
1024 ch
8x64 ch
VLPC Cryostat
4
VLSB #2
1024 ch
4
Serialized ADC DATA
4
Linux PC
CAMAC ADC/TDC
Data Rate in KEK test
•
•
Prototype has 2048ch readout channels
Beam structure @ p2 beam line: continuous 1000 muons / 2 sec
•
AFEII  VLSB (VME LVDS SERDES Buffer)
– 2 Bytes / channel
– 20 bits @ 53MHz (multiplex 2 channel = 10bits + 10bits)
– 64 x 1/53MHz ~ 1 msec for a trigger
•
VLSB  VME bus  PC
– Measured Transfer rate by KEK-online group with Bit3
• 23MB/s in DMA mode
• 2MB/s in PIO mode
– 4MB / 4-sec-spill
– Need to transfer 4kBytes in 1 msec w/o buffering
•
In case of zero suppression by DISCR, data rate could be reduced to ~1/10
•
Paul succeeded to readout VLPC with VLSB in 400Hz
DAQ Software for KEK beam test
• Will use Unix-based DAQ programs
– “Unidaq” developed by KEK
• http://www-online.kek.jp/~online/Unidaq/
• http://www.elc.nias.ac.jp/~daq/software/ (for Linux)
• A lot of experience at the KEK beam tests
• Work on Linux PC
– Network distributed system
• Transport data via NOVA buffer manager
• Processes can be distributed among PCs on the network.
– An Event Builder
– Collectors for CAMAC readout (TOF etc.) and VME readout
(VLPC)
NOVA buffer manager
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
An idea of the DAQ architecture
4kBytes/event
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
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
Bit3
1553
1553
VLPC #1 L
VLPC #1 R
VLPC #2 L
VLPC #2 R
VLPC #3 L
VLPC #3 R
VLPC #4 L
VLPC #4 R
VLPC #1 L
VLPC #1 R
VLPC #2 L
VLPC #2 R
VLPC #3 L
VLPC #3 R
VLPC #4 L
VLPC #4 R
Downstream Tracker
4096ch
Upstream Tracker
4kBytes/event
Cryosat
Ctrl/Monitor
Tracker
Collector
Downstream
Tracker
Collector
Upstream
Tracker
Slow Ctrl
Beam
Builder
PID
Builder
Tracker
Builder
Tracker
Control
MICE
Storage
MICE
Builder
MICE
Control
8MBytes/spill
4MBytes/spill