DAQ for the TPC Sector Test at Test Beam T10

17
DAQ for the TPC Sector Test at Test Beam T10 [email protected] ALICE DAQ Group ALICE TPC Collaboration Meeting Cagliari, Sardinia 16 – 17 May 2004

description

DAQ for the TPC Sector Test at Test Beam T10. [email protected] ALICE DAQ Group ALICE TPC Collaboration Meeting Cagliari, Sardinia 16 – 17 May 2004. DAQ Requirements. Decision taken during ALICE week 15 – 19 March 2004 TPC Sector Test at PS Test Beam T10 - PowerPoint PPT Presentation

Transcript of DAQ for the TPC Sector Test at Test Beam T10

Page 1: DAQ for the TPC Sector Test at Test Beam T10

DAQ for the TPC Sector Testat Test Beam T10

[email protected] DAQ Group

ALICE TPC Collaboration MeetingCagliari, Sardinia16 – 17 May 2004

Page 2: DAQ for the TPC Sector Test at Test Beam T10

TPC Collaboration meeting, 16-17 May 2004

2DAQ for the TPC Sector Test at T10

DAQ Requirements

Decision taken during ALICE week 15 – 19 March 2004

TPC Sector Test at PS Test Beam T10 TPC prototype from Hall 167 Complete IROC (~5000 channels) RCU readout via DDL Si Beam telescope VME-based readout

Beam Time: 03 May (10 May) – 02 June 2004 DAQ System

DATE software 3.6 MB max. event size, 100 Hz max. trigger rate ~1 TB data volume using CASTOR RCU configuration via DDL Integration with HLT On-line/Off-line Monitoring

Page 3: DAQ for the TPC Sector Test at Test Beam T10

TPC Collaboration meeting, 16-17 May 2004

3DAQ for the TPC Sector Test at T10

Detectors at Test Beam T10

IROC prototype of the TPC Sector

Si Beam Telescope

10 May 2004

Page 4: DAQ for the TPC Sector Test at Test Beam T10

TPC Collaboration meeting, 16-17 May 2004

4DAQ for the TPC Sector Test at T10

DAQ Setup at T10

epaitbeam01

D-RORC 201

D-RORC 202

Detector LDC

epaitbeam02

D-RORC 225DIU 262

HLT LDC

epaitbeam03

Fast Ethernet

GDC

3x 250 GB disk

10 MB/s

pcepess30

Detector LDC

VME processorCAEN VME boards

Si BeamTelescope

DDL 3 DDL 4

DDL 5

HLT

DIU 248 DIU 250

SIU 247

HLT(3 PCs)

RCU 1SIU 257

RCU 2SIU 251

DDL 1

DDL 2

IROC

CASTOR1.5 TB

1 MB/s

/castor/cern.ch/alice/testbeam2004/T10

Page 5: DAQ for the TPC Sector Test at Test Beam T10

TPC Collaboration meeting, 16-17 May 2004

5DAQ for the TPC Sector Test at T10

DDL (Detector Data Link)

SIU attached to RCU 218 FECs (2304 ch.)

IROC Detector LDC~30 m

DDL 2

SIU attached to RCU 125 FECs (3200 ch.)

DDL 1

epaitbeam01

Integrated D-RORC incoming: DDL 1outgoing: DDL 3 to HLT

Integrated D-RORC incoming: DDL 2outgoing: DDL 4 to HLT

RCU 1 RCU 2

Page 6: DAQ for the TPC Sector Test at Test Beam T10

TPC Collaboration meeting, 16-17 May 2004

6DAQ for the TPC Sector Test at T10

DAQ Linux Machines

VME crate

pcepess30CCT VP CP1Pentium III 850MHzRH Linux 7.3.2

LDC: Si Telescope

CAEN VMEbus ModulesV262 – I/O registersV551B – CRAMS sequencer3x V50 – CRAMS(CAMAC)

epaitbeam012x Xeon 2.4GHzRH Linux 7.3.2

LDC: 2x D-RORC

Farm PCs

epaitbeam022x Xeon 2.4GHzRH Linux 7.3.2

LDC: 1x D-RORCServer

epaitbeam032x Xeon 2.4GHz3x 250 GB diskRH Linux 7.3.4

GDC + CASTOR

KVM

Page 7: DAQ for the TPC Sector Test at Test Beam T10

TPC Collaboration meeting, 16-17 May 2004

7DAQ for the TPC Sector Test at T10

DATE v4.8 Software

Functions of LDC machines Readout two integrated D-RORC in one LDC Split data from the incoming DDLs to outgoing DDL for HLT Readout one D-RORC with DIU from HLT via DDL Configure the RCUs via the DDL with the FeC2 tool Readout Si beam telescope (re-using Denis Nouais’ software)

Functions of GDC machines Building full events from sub-events of the LDC machines

DDL mini-header (8 32bit words) for event identification! Recording to local disks or upload to CASTOR On-line/Off-line monitoring

Functions of Server machines RunControl, InfoLogger, DIM server, NFS, etc.

Page 8: DAQ for the TPC Sector Test at Test Beam T10

TPC Collaboration meeting, 16-17 May 2004

8DAQ for the TPC Sector Test at T10

DAQ Preparations

week 01-03-2004: planning of the DAQ started week 08-03-2003: installation of an LDC in Lab 13-R-0025 for the

integration FEC RCU DDL FeC2 and DATE week 15-03-2004: upgrading/fixing FeC2 week 22-03-2004: moving LDCs to T10 week 29-03-2004: moving VMEbus crate to T10; installation of

DATE week 05-04-2004: installation of the GDC with 3x 250GB disks week 12-04-2004: testing DATE at T10; setting up MOOD week 19-04-2004: installation of an LDC in Lab 13-R-0021 for the

integration FEC RCU DDL HLT week 26-04-2004: installation of the D-RORCs at T10; testing the

data splitter with 2 LDCs for the HLT integration in Lab 4-R-0002 week 03-05-2004: integration RCU DATE works (~80 MB/s) in

Lab 13-R-0025; setting up CASTOR; cabling at T10; finishing and testing DDL setup; first data taking with 2x RCUs 2x DDLs DATE

week 10-05-2004: test runs without beam (e.g. pedestals)

Page 9: DAQ for the TPC Sector Test at Test Beam T10

TPC Collaboration meeting, 16-17 May 2004

9DAQ for the TPC Sector Test at T10

Running DATE

Page 10: DAQ for the TPC Sector Test at Test Beam T10

TPC Collaboration meeting, 16-17 May 2004

10DAQ for the TPC Sector Test at T10

Monitoring

Monitoring Modes: On-line: sampling raw data from memory buffers Off-line: sampling raw data from recorded files

Four Monitoring Tools: eventDump: DATE low-level program hex dump MOOD (Monitor Of On-line Data):

- Toolkit for monitoring with interfaces for detector code- DATE Monitoring library to access raw data; ROOT environment - Visualization of beam position of Si Telescope developed by Ozgur Cobanoglu and Peter Christiansen; TPC data in progress

Roland Bramm’s Monitor:- re-used monitoring program for analyzing data from Hall 167- DATE Monitoring library to access raw data; ROOT environment- Visualization of TPC data

HLT Monitor:

Page 11: DAQ for the TPC Sector Test at Test Beam T10

TPC Collaboration meeting, 16-17 May 2004

11DAQ for the TPC Sector Test at T10

Monitoring with MOOD

Beam position (raw data) of the Si Telescope

Beam position (cluster finder) of the Si Telescope

Page 12: DAQ for the TPC Sector Test at Test Beam T10

TPC Collaboration meeting, 16-17 May 2004

12DAQ for the TPC Sector Test at T10

Monitoring TPC Data

Roland’s Monitor: max. ADC of each channel attached to the 25 FECs connected to RCU 1

Page 13: DAQ for the TPC Sector Test at Test Beam T10

TPC Collaboration meeting, 16-17 May 2004

13DAQ for the TPC Sector Test at T10

Field Experience

DDL Hardware All connectors/cables/cards must be properly labeled Choosing the right components (optical transceiver!) End-to-end testing of each DDL link is necessary

DDL Software Modifications of the FeC2 tool needed to increase the

downloading speed (erroneous wait of acknowledge) Additional FeC2 statements requested (e.g. WAIT) Fixing low-level commands (prorc_receive, siu_reset)

DATE Configuration is complex Getting familiar with data format (DATE header

structure) DATE and FeC2 cannot run simultaneously on one LDC A powerful and uniform Monitoring Tool is essential

Page 14: DAQ for the TPC Sector Test at Test Beam T10

TPC Collaboration meeting, 16-17 May 2004

14DAQ for the TPC Sector Test at T10

FeC2 Tool

RCU with SIU

D-RORC with DIU

DDL

# FeC2 script to configure a single channel

write_block 0x0 block2kB.hex %xwrite_command 0x10Fwrite_block 0x0 block1kB.hex %xwrite_command 0x100write_command 0x10F

FeC2 is a tool distributed with the DDL software of DATE to transmit commands and data blocks via the DDL to front-end cards (e.g. RCU, CarlosRX, Crocus).

FeC2 interprets a script of instructions:

Configure one RCU with 25 FECs (3200 channels): 6400 data blocks (1kB and 2kB) 9600 commands

Download speed for data blocks: Current: Time [µs] = 0.2 · size [bytes] + 51 Improved: Time [µs] = 0.01 · size [bytes] + 94

Page 15: DAQ for the TPC Sector Test at Test Beam T10

TPC Collaboration meeting, 16-17 May 2004

15DAQ for the TPC Sector Test at T10

Radiation Tolerant Tests

SIU

Cross section using protons (100 and 180 MeV):

Registers: σr = 1.33E-9 ± 0.15E-9 cm2

Memory cells: σm = 1.46E-9 ± 0.11E-9 cm2

Cross section using neutrons (14 MeV):

Registers: σr = 6.75E-11 ± 1.51E-11 cm2

Memory cells: σm = 1.30E-10 ± 0.18E-10 cm2

The SEU can introduce error during the transmission, but the error rate is negligible (< bit error rate).

The SEU can cause configuration loss, which will provoke ~1 error/hour at the level of the DAQ system!

Measurements on current SIU based on Altera ApexE

Altera Apex EP20K60E (max. 162k system gates)

Page 16: DAQ for the TPC Sector Test at Test Beam T10

TPC Collaboration meeting, 16-17 May 2004

16DAQ for the TPC Sector Test at T10

Choosing FPGA for the SIU

Investigate new technology: Actel ProASIC+

based on Flash technology which is more tolerant against radiation; capacity fits for the SIU (e.g. device APA150 has max. 150k system gates); concerns about speed

Same technology (SRAM) but with error detection and recovery:

Xilinx Virtex II: complete configuration read-back; partial reconfiguration during operation; triple module redundancy

Altera Cyclon and Stratix: built-in circuitry that monitors the configuration memory cells and detects errors

Next steps:

Combined test of the new devices in Uppsala (end of May 2004)

Choice of FPGA and final design of SIU board (Q3 2004 – Q2 2005)

Page 17: DAQ for the TPC Sector Test at Test Beam T10

TPC Collaboration meeting, 16-17 May 2004

17DAQ for the TPC Sector Test at T10

Conclusions

High participation of the ALICE DAQ team: Material: PCs, DDL links, D-RORCs, cables, etc. Manpower: meetings, hardware/software installation,

customizations, testing, support Several new DAQ components:

Hardware: integrated D-RORC, several 30 m DDL links Software: two DDL links in one LDC, first integration with

HLT, FeC2 under real conditions, on-line monitoring with MOOD

Plan of work: Data taking with test beam Integration with HLT Maintenance of DDLs, DAQ machines, DATE Moving back to Hall 167 ?

http://test-alicetpc.webtest.cern.ch/test-alicetpc/