Off-detector & Software development of DAQ System for the EUDET calorimeters Tao Wu On behalf of CALICE-UK Collaboration.

Slides:



Advertisements
Similar presentations
Bart Hommels for the CALICE-UK groups Data acquisition systems for future calorimetry at the International Linear Collider Introduction DAQ.
Advertisements

By Sunil G. Kulkarni, SO/F, Pelletron-Linac Facility, BARC-TIFR. 21/01/2011 ASET.
6-April 06 by Nathan Chien. PCI System Block Diagram.
HEP UCL Cambridge University Imperial College London University of Manchester Royal Holloway, University of London University College London Matthew Warren,
Vincent Boudry Franck Gastaldi Antoine Matthieu David Decotigny CALICE meeting 19 feb Kyungpook Nat'l U., Daegu, Korea Status of the Data Concentrator.
ODR Status 29 July 2008 Matt Warren Valeria Bartsch, Barry Green, Andrzej Miesijuk, Tao Wu.
June 19, 2002 A Software Skeleton for the Full Front-End Crate Test at BNL Goal: to provide a working data acquisition (DAQ) system for the coming full.
A Gigabit Ethernet Link Source Card Robert E. Blair, John W. Dawson, Gary Drake, David J. Francis*, William N. Haberichter, James L. Schlereth Argonne.
11 May 2007UK DAQ Status1 Status of UK Work on FE and Off-Detector DAQ Paul Dauncey For the CALICE-UK DAQ groups: Cambridge, Manchester, Royal Holloway,
1 Overview of DAQ system DAQ PC LDA ODR Detector Unit DIF CCC Detector Unit DIF Detector Unit DIF Detector Unit DIF Storage Control PC (DOOCS) DAQ PC ODR.
CALICE - DAQ communication & DAQ software V. Bartsch (UCL) for the CALICE DAQ UK group outline: options for network / switching clock control: SEUs DAQ.
David Bailey Manchester. Summary of Current Activities UK Involvement DAQ for SiW ECAL (and beyond) “Generic” solution using fast serial links STFC (CALICE-UK)
DOOCS framework for CALICE DAQ software Valeria Bartsch, Tao Wu UCLRHUL.
General Purpose FIFO on Virtex-6 FPGA ML605 board midterm presentation
Update on the Data Acquisition System development in the UK Valeria Bartsch, on behalf of CALICE-UK Collaboration.
CALICE – 12/07/07 – Rémi CORNAT (LPC) 1 ASU and standalone test setup for ECAL MAIA BEE project Overview DAQ dedicated Sensor test In situ debug and maintenance.
DOOCS DAQ software for the EUDET prototype Valeria Bartsch (UCL) Andrzej Misiejuk (RHUL) Tao Wu (RHUL)
5 Feb 2002Alternative Ideas for the CALICE Backend System 1 Alternative Ideas for the CALICE Back-End System Matthew Warren and Gordon Crone University.
Bart Hommels for the UK-DAQ group Status of DIF, DAQ for SiW Ecal DIF status LDA status DAQ (ODR & software) status CALICE / EUDET DAQ – DESY.
Minutes DAQ software discussion - 16/10/08. Priorities - to be ready before testbench is ready- LDA - ODR - DIF device server disentanglement (Tao, Barry,
Development of the DAQ software for the technical prototype: Status & Outlook Valeria Bartsch UCL.
HEP UCL Cambridge University Imperial College London University of Manchester Royal Holloway, University of London University College London Matthew Warren,
Data Acquisition Systems for Future Calorimetry at the International Linear Collider Matt Warren, on behalf of CALICE-UK Collaboration.
Tuesday September Cambridge1 GDCC “next replacement of the LDA” Franck GASTALDI.
Future DAQ Directions David Bailey for the CALICE DAQ Group.
GBT Interface Card for a Linux Computer Carson Teale 1.
14 Sep 2005DAQ - Paul Dauncey1 Tech Board: DAQ/Online Status Paul Dauncey Imperial College London.
CALICE: status of a data acquisition system for the ILC calorimeters Valeria Bartsch, on behalf of CALICE-UK Collaboration.
AHCAL Electronics. Status Commissioning and Integration Peter Göttlicher for the AHCAL developers CALICE meeting UT Arlington, March 12th, 2010.
AHCAL – DIF Interface EUDET annual meeting – Paris Oct M. Reinecke.
AHCAL electronics. Status and Outlook Peter Göttlicher for the AHCAL developers CALICE meeting UT Arlington, March 11th, 2010.
Bart Hommels Univeristy of Cambridge EUDET Annual Meeting, Ecole Polytechnique, Paris JRA3: DAQ Overview Objectives System Overview Status of.
JRA3 DAQ Overview Matt Warren, on behalf of EUDET JRA3 DAQ Groups. Please see the following talks from the JRA3 Parallel Session for more detail: DAQ and.
David Bailey University of Manchester. Overview Aim to develop a generic system –Maximise use of off-the-shelf commercial components Reduce as far as.
08/10/2007Julie Prast, LAPP, Annecy1 The DHCAL DIF and the DIF Task Force Julie Prast, LAPP, Annecy.
HEP UCL Cambridge University Imperial College London University of Manchester Royal Holloway, University of London University College London Matthew Warren,
J. Prast, G. Vouters, Arlington, March 2010 DHCAL DIF Status Julie Prast, Guillaume Vouters 1. Future CCC Use in DHCAL Setup 2. Calice DAQ Firmware Implementation.
Detector Interface (DIF) Status CALICE meeting – DESYDec Mathias Reinecke.
24 Mar 2009Paul Dauncey1 CALICE-UK: The Final Curtain Paul Dauncey, Imperial College London.
NUMI Off Axis NUMI Off Axis Workshop Workshop Argonne Meeting Electronics for RPCs Gary Drake, Charlie Nelson Apr. 25, 2003 p. 1.
Bart Hommels (for Matthew Wing) EUDET ext. steering board JRA3 DAQ System DAQ System Availability updates: – DIF: Detector Interface – LDA:
Sep. 17, 2002BESIII Review Meeting BESIII DAQ System BESIII Review Meeting IHEP · Beijing · China Sep , 2002.
DEPARTEMENT DE PHYSIQUE NUCLEAIRE ET CORPUSCULAIRE JRA1 - Data Acquisition Status Report Daniel Haas DPNC Genève Extended SC Meeting 1 Sep 2008.
Mathias Reinecke CALICE week Manchester DIF development – Status and Common Approach Mathias Reinecke for the CALICE DAQ and Front-End developers.
Maurice Goodrick, Bart Hommels EUDET Annual Meeting, Ecole Polytechnique, Paris EUDET DAQ and DIF DAQ overview DIF requirements and functionality.
Update on the project - selected topics - Valeria Bartsch, Martin Postranecky, Matthew Warren, Matthew Wing University College London CALICE a calorimeter.
Status & development of the software for CALICE-DAQ Tao Wu On behalf of UK Collaboration.
XLV INTERNATIONAL WINTER MEETING ON NUCLEAR PHYSICS Tiago Pérez II Physikalisches Institut For the PANDA collaboration FPGA Compute node for the PANDA.
DDRIII BASED GENERAL PURPOSE FIFO ON VIRTEX-6 FPGA ML605 BOARD PART B PRESENTATION STUDENTS: OLEG KORENEV EUGENE REZNIK SUPERVISOR: ROLF HILGENDORF 1 Semester:
1 On- and near-detector DAQ work for the EUDET calorimeters Valeria Bartsch, on behalf of CALICE-UK Collaboration.
ECFA Workshop, Warsaw, June G. Eckerlin Data Acquisition for the ILD G. Eckerlin ILD Meeting ILC ECFA Workshop, Warsaw, June 11 th 2008 DAQ Concept.
Maurice Goodrick, Bart Hommels CALICE-UK Meeting, Cambridge CALICE DAQ Developments DAQ overview DIF functionality and implementation EUDET.
ROM. ROM functionalities. ROM boards has to provide data format conversion. – Event fragments, from the FE electronics, enter the ROM as serial data stream;
1 Update on the project - selected topics - Valeria Bartsch, Martin Postranecky, Matthew Warren, Matthew Wing University College London.
AHCAL Electronics. Status of Integration Mathias Reinecke for the DESY AHCAL developers AHCAL main and analysis meeting Hamburg, July 16th and 17th, 2009.
FLASH Free Electron Laser in Hamburg Status of the FLASH Free Electron Laser Control System Kay Rehlich DESY Outline: Introduction Architecture Future.
DIF – LDA Command Interface
The Jülich Digital Readout System for PANDA Developments
CALICE DAQ Developments
Status of the ODR and System Integration 31 March 2009 Matt Warren Valeria Bartsch, Veronique Boisvert, Maurice Goodrick, Barry Green, Bart Hommels,
Calicoes Calice OnlinE System Frédéric Magniette
CALICE meeting 2007 – Prague
Status of the Data Concentrator Card and the rest of the DAQ
C. de La Taille IN2P3/LAL Orsay
Valeria Bartsch UCL David Decotigny LLR Tao Wu RHUL
CALICE/EUDET Electronics in 2007
Tao Wu CALICE Collaboration Meeting Prague, 11-13/Sep/2007
Felix Sefkow CALICE/EUDET electronics meeting CERN, July 12, 2007
CALICE meeting 2007 – Prague
TELL1 A common data acquisition board for LHCb
Presentation transcript:

Off-detector & Software development of DAQ System for the EUDET calorimeters Tao Wu On behalf of CALICE-UK Collaboration

ILC/ECFA 2008 WarsawEUDET/CALICE UK DAQ2 EUDET DAQ Targets Maximizing to use of off-the-shelf commercial components, cheap, scalable and maintainable Provide well-defined interfaces between DAQ components to allow for minimizing costs and development cycles; A control system to easily integrate the rest of sub-systems of detectors Software to build events from bunch train data and disparate sources into single event data Manage network and data storage

ILC/ECFA 2008 WarsawEUDET/CALICE UK DAQ3 DAQ Mechanical Design targets Targeting EUDET Module and ILC/CALICE; Aim to develop a generic system e.g. ECAL/HCAL Triggerless DAQ system: use C&C instead All data are sent off detector within a bunch train Use bunch struct. as advantages: 1ms in bunch train, read out data within 200ms of inter-train gap; DAQ system will also control power cycling of readout ASICs A funnel-like DAQ to collect, wrap and transmit data in stages before sending to central storage

ILC/ECFA 2008 WarsawEUDET/CALICE UK DAQ4 DAQ Architecture Overview Slab hosts VFE chips (ASICs) Slab hosts VFE chips (ASICs) Detector Interface Detector Interface connected to Slabs LDA servicing DIFs Link/Data Aggregator Link/Data Aggregator LDAs read out by ODR via opto-links Off-Detector Receiver Off-Detector Receiver PC hosts ODR PCI-Express driver software Local Software DAQ Full blown Software DAQ LDA PC e.g. ECAL Slab DIF ODR Driver Opto Opto Ccc- & Data-link

ILC/ECFA 2008 WarsawEUDET/CALICE UK DAQ5 DAQ Architecture Hierarchy LDA Host PC PCIe ODR Host PC PCIe ODR Detector Unit DIF C&C Detector Unit DIF Detector Unit DIF Detector Unit DIF Storage 1-3Gb Fibre Mbps HDMI cabling m 0.1-1m Detector Counting Room Covered by this talk Covered by Valeria

ILC/ECFA 2008 WarsawEUDET/CALICE UK DAQ6 Current Architecture: ODR Assemble data into a usable form for processing Logical tasks: Receive from LDA Process e.g. event building Store Current input is Ethernet for testing performance Internal FPGA test data generator; External data stream via network DAQ PC LDA CCC-link ODR Data-link DIF ASICs DIF ASICs DIF ASICs … Clock / FastControl FE ODR Store Machine clock

ILC/ECFA 2008 WarsawEUDET/CALICE UK DAQ7 Off Detector Receiver (ODR) Hardware: Using commercial FPGA dev-board: PLDA XPressFX100 Xilinx Virtex 4, 8xPCIe, 2x SFP (3 more with expansion board) SFPs for optic link Expansion (e.g. 3xSFP) Receives modularized data from LDA Realized as PCI-Express card, hosted in DAQ PC. 1-4 Opti-links/card (Gigabit), 4 LDAs/card, 1-2 cards/PC Buffers and transfers to store as fast as possible Sends controls and configs to LDA for distribution to DIFs Performance studies & optimisation on-going B.G., RHUL

ILC/ECFA 2008 WarsawEUDET/CALICE UK DAQ8 ODR Data Access Rate transfer the data from ODR memory to the user-program memory via 4 links ~700 MByte/sec by 25 DMA buffers B.G., RHUL All measurements: single requester thread, no disk write, data copied to the host memory.

ILC/ECFA 2008 WarsawEUDET/CALICE UK DAQ9 Clock & Control (C&C) board C&C unit provides machine clock and fast signals to 8x ODR/LDA. A low jitter and fixed latency; Logic control (FPGA, connected via USB) Link Data Aggregator provides next stage fanout to Detector Interfaces Eg C&C unit  8 LDAs  8 DIFs = 64 DUs. Signalling over same HDMI type cables Facility to generate optical link clock (~ MHz from ~50MHz machine clock) Board is already designed, will be build soon LDA Host PC PCIe ODR C&C Host PC PCIe ODR Machine Run- Control M.P., UCL busy

ILC/ECFA 2008 WarsawEUDET/CALICE UK DAQ10 EUDET DAQ software: State State = Dead Transition = PowerUp suceedfailed State = Ready State = Running State = Configured State = InBunchTrain Transition = PowerDown Transition = StartRun Transition = EndRun Trans. = StartConfiguration Trans. = EndConfiguration Trans. = BunchTrainStart Trans. = BunchTrainEnd Preparing Run number & type Ending/Finishing Checks status & communications Distributes configurations Starts the data taking

ILC/ECFA 2008 WarsawEUDET/CALICE UK DAQ11 Transition: StartRun DAQPCDAQPCDAQPC RCFCConfDB file file file read system status send run number & type send configurations file file Files to be written for book keeping: system status by DAQ PC run info by RC PC system status by FC

ILC/ECFA 2008 WarsawEUDET/CALICE UK DAQ12 Data Storage Scenario I DAQPC localdisk Centralstore Scenario II DAQPC Centralstore Scenario III DAQ PC file in memory Centralstore RAID Array Which scenario to choose depending on the bandwidth with which the data gets produced: (1) up to 200Mbit/sec, (2) up to ~1600Mbit/sec, (3) from there on Estimation of the data rate for the EUDET DAQ prototype has to cope with ~400Mbit/s, however it depends on the detector and the choice of VFE.

ILC/ECFA 2008 WarsawEUDET/CALICE UK DAQ13 DAQ Software: DOOCS framework Software development and code base Computer Infrastructure Device layer Middle layer Communication Application layer Sun/Linux Cluster Software Libs

ILC/ECFA 2008 WarsawEUDET/CALICE UK DAQ14 DAQ Software of DOOCS Fast Linac ImageSlow ADC BM DS DS ML FC SC DAQ server EVB Operator GUI Local GUI Remote GUI dCache DCCPDCCP DISK RC DB RC GUI ROOT storagestorage Data streams FC/SC: Fast/Slow Collector BM: Buffer Manager EVB: Event Builder DS: DAQ Server

ILC/ECFA 2008 WarsawEUDET/CALICE UK DAQ15 Adapting DOOCS to EUDET DAQ Modeling hardware card via device server ODR/LDA/DIF/ASICs Existing: VME, Sedac, Profi-Bus; ODR/LDA/DIF/ASICs Equipment Name Server Equipment Name Server (ENS): Facility(F) / Device(D) / Location(L) / Property (P) e.g. CALICE.ECAL/ODR/ODR1/Status ► F: CALICE.ECAL, CALICE.AHCAL, CALICE.DHCAL ► D: ODR, LDA, DIF, ASICs; ► L: ODR1,ODR2,ODRX; LDA1,LDA2,LDAX; DIF1,DIF2,DIFX; ► Property: X X X ? Build interface talking to hardware (ODR) as a starting point; Classify the properties and functionalities of each device for our EUDET DAQ system (DIF, LDA, ODR, etc.)

ILC/ECFA 2008 WarsawEUDET/CALICE UK DAQ16 Future plans Classify the necessary properties and functions of all hardware components; Continue their building & testing, debugging & improving meanwhile; Continue to develop interface to hardware (ODR) talking to DOOCS; Investigate & define the DIF  LDA  ODR links How to deal with (a)synchronization for C&C? Putting (all) components together, test…

ILC/ECFA 2008 WarsawEUDET/CALICE UK DAQ17 Summary Off-detector Receiver has been built for receiving, event building & data storage; its performance has been testing; Clock & Control instead of triggers, the board will be built soon; DOOCS framework is reusable & suitable for our DAQ system. DAQ software is in designing phase…

ILC/ECFA 2008 WarsawEUDET/CALICE UK DAQ18 DAQ architecture Link Data Aggregator (LDA) Detector Interface (DIF) Detector Unit ASICs Off Detector Receiver (ODR) P. Göttlicher, DESY DAQ software

ILC/ECFA 2008 WarsawEUDET/CALICE UK DAQ19 Current ODR Prototype Host System EthernetInterface Test Data Generator Source Selector Buffer pointer ManagerBufferMemory Used FIFO DMAEngine PCI Express Buses Local Storage RAID Array Gigabit NIC Test source External data stream Optical fibre data stream Address data stream Access pointers Event extracts Read pointers Test Data Generator Control Off-Detector-Receiver Card driver code DMA engine ODR local software

ILC/ECFA 2008 WarsawEUDET/CALICE UK DAQ20 Requester Current ODR Prototype “Requester”: multithreaded application, data copied to the host memory ODR VHDL code Requester FIFO Dup. Data Buff DMA FIFO to User buffer Write pointer Read pointer DMA data to user buffer(s) (host memory) DMA transfer in maximum 4 k (page size) blocks. Supervisor Multiple instances of the “requester” thread. Each accessing different ODR card or different channel.

ILC/ECFA 2008 WarsawEUDET/CALICE UK DAQ21 Establishing optimum number of user-defined DMA buffers. No performance improvement above 20 allocate buffers, Comparison of all channels. Number of data buffers: 20 Performance (Int.Data Gen)

ILC/ECFA 2008 WarsawEUDET/CALICE UK DAQ22 Improvements in performance when accessing more then one channel. The maximum performance achieved for 3-channels access. Adding additional Channel (4-channel access) does not yield improvement in transfer rate. Performance (continuation)

ILC/ECFA 2008 WarsawEUDET/CALICE UK DAQ23 Equipment Name Server (ENS) NN+1N+2 N+2,1N+1,1N,1N+1,2 N+2,1,1N+1,1,1N+1,2,1N+2,1,2 …,1…,2…,1 …,2…,3 KK+1K+2K+3K+4 Facilities Devices Locations Properties Entries Select between devices of the same type in different facilities in on-line addressing of the control system. Provide the resolution of the names of the devices used in the control system with one entry per device server. Define user authentication parameters which are used by the control software to restrict the access to the specified control devices

ILC/ECFA 2008 WarsawEUDET/CALICE UK DAQ24 ENS Client programs ENS Facility/Device/Location/Property Query device name Equipment device Addresses of equipment server actual data request to the equipment server Facility:CALICE.ECAL, CALICE.AHCAL, CALICE.DHCAL Device:ODR, LDA, DIF, ASIC1, ASIC2, ASIC3 Location: ODR1, ODR2, ODRX; LDA1, LDA2, LDAX; DIF1, DIF2, DIFX Property:X X X ? signal connections ENS can signal connections by additional properties, e.g. for device DIF: CALICE.ECAL/DIF/DIF1/ODR_CON CALICE.ECAL/DIF/DIF1/LDA_CON CALICE.ECAL/DIF/DIF1/DEBUG_MODE