Takeo Higuchi Institute of Particle and Nuclear Studies, KEK; On behalf of COPPER working group Jan.20, 2004 Hawaii, USA Super B Factory Workshop Readout.

Slides:



Advertisements
Similar presentations
COPPER Status T.Higuchi / KEK Jul.4 th, B2GM Meeting.
Advertisements

1 iTOP Electronics Effort LYNN WOOD PACIFIC NORTHWEST NATIONAL LABORATORY JULY 17, 2013.
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.
ESODAC Study for a new ESO Detector Array Controller.
A Gigabit Ethernet Link Source Card Robert E. Blair, John W. Dawson, Gary Drake, David J. Francis*, William N. Haberichter, James L. Schlereth Argonne.
Tracker DAQ Makoto Yoshida (Osaka Univ.) MICE Frascati 2005/6/27.
SciFi Tracker DAQ M. Yoshida (Osaka Univ.) MICE Tracker KEK Mar. 30, 2005.
28 August 2002Paul Dauncey1 Readout electronics for the CALICE ECAL and tile HCAL Paul Dauncey Imperial College, University of London, UK For the CALICE-UK.
DSP online algorithms for the ATLAS TileCal Read Out Drivers Cristobal Cuenca Almenar IFIC (University of Valencia-CSIC)
DAQ for KEK beam test M.Yoshida (Osaka Univ.). Components VLPC readout –Stand Alone Sequencer (SASeq) Slow < 100Hz –Buffering VLPC data with VME interface.
Trigger-less and reconfigurable data acquisition system for J-PET
HCAL FIT 2002 HCAL Data Concentrator Status Report Gueorgui Antchev, Eric Hazen, Jim Rohlf, Shouxiang Wu Boston University.
Development of novel R/O electronics for LAr detectors Max Hess Controller ADC Data Reduction Ethernet 10/100Mbit Host Detector typical block.
Takeo Higuchi Institute of Particle and Nuclear Studies, KEK on behalf of the COPPER working group Apr.22,2005Super B Factory Workshop Detector (DAQ/Computing)
Takeo Higuchi IPNS, KEK COPPER Revision and New CPU.
Hall A DAQ status and upgrade plans Alexandre Camsonne Hall A Jefferson Laboratory Hall A collaboration meeting June 10 th 2011.
RiceNIC: A Reconfigurable and Programmable Gigabit Network Interface Card Jeff Shafer, Dr. Scott Rixner Rice Computer Architecture:
LECC2003 AmsterdamMatthias Müller A RobIn Prototype for a PCI-Bus based Atlas Readout-System B. Gorini, M. Joos, J. Petersen (CERN, Geneva) A. Kugel, R.
U N C L A S S I F I E D FVTX Detector Readout Concept S. Butsyk For LANL P-25 group.
Understanding Data Acquisition System for N- XYTER.
Detectors and read-out DetectorNo. of ch.Read-out method Device candidates CsI(Tl)768Flash ADCCOPPER + 65 MHz FADC FINESSE Active Polarimeter600 x 12 x.
Takeo Higuchi IPNS, KEK Belle DAQ group Detector R&D: Belle DAQ System 2008/12/06New Hadrons with Various Flavors.
Design and Performance of a PCI Interface with four 2 Gbit/s Serial Optical Links Stefan Haas, Markus Joos CERN Wieslaw Iwanski Henryk Niewodnicznski Institute.
DAQ Issues for the 12 GeV Upgrade CODA 3. A Modest Proposal…  Replace aging technologies  Run Control  Tcl-Based DAQ components  mSQL  Hall D Requirements.
Data Acquisition for the 12 GeV Upgrade CODA 3. The good news…  There is a group dedicated to development and support of data acquisition at Jefferson.
David Abbott - JLAB DAQ group Embedded-Linux Readout Controllers (Hardware Evaluation)
11th March 2008AIDA FEE Report1 AIDA Front end electronics Report February 2008.
First ideas for the Argontube electronics Shaper, simulations Block Diagram for analog path Delta Code Data Reduction Bus system, Controller Max.
Performance of the AMT-3 Based TDC System at Belle S.Y.Suzuki, T.Higuchi, Y.Arai, K.Tauchi, M.Nakao, R.Itoh (KEK) H.Nakayama (University of Tokyo)
Management of the LHCb DAQ Network Guoming Liu * †, Niko Neufeld * * CERN, Switzerland † University of Ferrara, Italy.
Features of the new Alibava firmware: 1. Universal for laboratory use (readout of stand-alone detector via USB interface) and for the telescope readout.
Front-end readout study for SuperKEKB IGARASHI Youichi.
David Abbott - Jefferson Lab DAQ group Data Acquisition Development at JLAB.
Serial Data Link on Advanced TCA Back Plane M. Nomachi and S. Ajimura Osaka University, Japan CAMAC – FASTBUS – VME / Compact PCI What ’ s next?
Dec.11, 2008 ECL parallel session, Super B1 Results of the run with the new electronics A.Kuzmin, Yu.Usov, V.Shebalin, B.Shwartz 1.New electronics configuration.
NUMI Off Axis NUMI Off Axis Workshop Workshop Argonne Meeting Electronics for RPCs Gary Drake, Charlie Nelson Apr. 25, 2003 p. 1.
Latest ideas in DAQ development for LHC B. Gorini - CERN 1.
LHCb front-end electronics and its interface to the DAQ.
2003 Conference for Computing in High Energy and Nuclear Physics La Jolla, California Giovanna Lehmann - CERN EP/ATD The DataFlow of the ATLAS Trigger.
1 07/10/07 Forward Vertex Detector Technical Design – Electronics DAQ Readout electronics split into two parts – Near the detector (ROC) – Compresses and.
Takeo Higuchi (KEK); CHEP pptx High Speed Data Receiver Card for Future Upgrade of Belle II DAQ 1.Introduction – Belle II DAQ Experimental apparatus.
Sep. 17, 2002BESIII Review Meeting BESIII DAQ System BESIII Review Meeting IHEP · Beijing · China Sep , 2002.
June 17th, 2002Gustaaf Brooijmans - All Experimenter's Meeting 1 DØ DAQ Status June 17th, 2002 S. Snyder (BNL), D. Chapin, M. Clements, D. Cutts, S. Mattingly.
SoLiD/PVDIS DAQ Alexandre Camsonne. DAQ limitations Electronics Data transfer.
Development of PCI Bus Based DAQ Platform for Higher Luminosity Experiments T.Higuchi, 1 H.Fujii, 1 M.Ikeno, 1 Y.Igarashi, 1 E.Inoue, 1 R.Itoh, 1 H.Kodama,
XLV INTERNATIONAL WINTER MEETING ON NUCLEAR PHYSICS Tiago Pérez II Physikalisches Institut For the PANDA collaboration FPGA Compute node for the PANDA.
1 Electronics Status Trigger and DAQ run successfully in RUN2006 for the first time Trigger communication to DRS boards via trigger bus Trigger firmware.
Guirao - Frascati 2002Read-out of high-speed S-LINK data via a buffered PCI card 1 Read-out of High Speed S-LINK Data Via a Buffered PCI Card A. Guirao.
1 Level 1 Pre Processor and Interface L1PPI Guido Haefeli L1 Review 14. June 2002.
Bob Hirosky L2  eta Review 26-APR-01 L2  eta Introduction L2  etas – a stable source of processing power for DØ Level2 Goals: Commercial (replaceable)
Management of the LHCb DAQ Network Guoming Liu *†, Niko Neufeld * * CERN, Switzerland † University of Ferrara, Italy.
S.Anvar, V.Gautard, H.Le Provost, F.Louis, K.Menager, Y.Moudden, B.Vallage, E.Zonca, on behalf of the KM3NeT consortium 1 IRFU/SEDI-CEA Saclay F
1 Status report 2011/8/12 Atsushi Nukariya. 2 Progress ・ FPGA -> Revision is completed. -> Obtained data from front-end chip. ・ Software.
B. Hirosky 12/14/00 FPGA + FIFO replaces: DMA P/IO buffers TSI device Keep ECL drivers BUY THIS! Same Basic Concept as L2Alpha, but with simplified implementation.
Rutherford Appleton Laboratory September 1999Fifth Workshop on Electronics for LHC Presented by S. Quinton.
Vladimir Zhulanov for BelleII ECL group Budker INP, Novosibirsk INSTR2014, Novosibirsk 2014/02/28 1.
The ALICE Data-Acquisition Read-out Receiver Card C. Soós et al. (for the ALICE collaboration) LECC September 2004, Boston.
DAQ and Trigger for HPS run Sergey Boyarinov JLAB July 11, Requirements and available test results 2. DAQ status 3. Trigger system status and upgrades.
Eric Hazen1 Ethernet Readout With: E. Kearns, J. Raaf, S.X. Wu, others... Eric Hazen Boston University.
MADEIRA Valencia report V. Stankova, C. Lacasta, V. Linhart Ljubljana meeting February 2009.
DCH FEE STATUS Level 1 Triggered Data Flow FEE Implementation &
Iwaki System Readout Board User’s Guide
The DZero DAQ System Sean Mattingly Gennady Briskin Michael Clements
CMS EMU TRIGGER ELECTRONICS
Read-out of High Speed S-LINK Data Via a Buffered PCI Card
VELO readout On detector electronics Off detector electronics to DAQ
Example of DAQ Trigger issues for the SoLID experiment
The CMS Tracking Readout and Front End Driver Testing
New DCM, FEMDCM DCM jobs DCM upgrade path
TELL1 A common data acquisition board for LHCb
Presentation transcript:

Takeo Higuchi Institute of Particle and Nuclear Studies, KEK; On behalf of COPPER working group Jan.20, 2004 Hawaii, USA Super B Factory Workshop Readout Electronics for the SuperKEKB

Contents Introduction Conceptual design The COPPER-II Readout Scheme COPPER-II Performance Schedule Summary

Requirements for Readout Electronics Trigger System Readout Elec. Event Builder Storage Detector DAQ Trigger rate > 10 kHz Data size ~ 300 kB/ev Readout ~ 50 k channels Trigger rate > 10 kHz Data size ~ 300 kB/ev Readout ~ 50 k channels SuperKEKB Also good for J-PARC, K2K …

Conceptual Design What are keys in designing the readout system?

System Design Event buffers for pipelined DAQ Data size reduction by processor on data path Processor Readout FIFO Digitization Data path Consequent design of readout electronics from detector to EB

Design from Cost View Flexible system – Common platform + user-defined ADC/TDC. – Implementation of ADC/TDC and CPU as modules. Compact design – Less #-of-crates to house platform boards. – Smaller room of electronics hut. Commodity usage – Good products at low price in computer market. – Easy to follow/import newest technology.

Design Overview PMC CPU local bus PCI bus Detector signals mezzanine (add-on) module Network IF Trigger Module ADC/TDC Module Bridge PMC FIFO

Conceptual Design (Front-end I/F) User-defined ADC/TDC module sampling clock Detector signal 0xaa55 0x0246 0xf3b7 … Readout FIFO ADC/TDC L1 trigger pipeline trigger signal Add-on type Module flexibility compactness

Conceptual Design (L1 Trigger Pipeline) Digitized data in Data out (to Readout FIFO) Always WRITE busy Data READ Trigger HOLD switch Data READ Always WRITE Data READ switch EMPTY L1 triggerReady pipeline

Conceptual Design (FIFO) Detector Local bus Bridge PCI bus ADC/TDC Module trigger signal DMA 32 pipeline

Conceptual Design (Back-end) Data path = PCI bus PCI mezzanine modules (PMC) Bridge CPU Trigger Network EB PCI bus Data suppression DMA PCI = Up to 133 MB/s trigger signal Local bus online data reduction flexibility commodity use compactness

Conceptual Design (Processor) Modular CPU – Modularity = easy to upgrade. – Intel x86 series: most familiar architecture. Operating System = Linux – Easy to develop device driver / software. – Low price. flexibility commodity use

PCI Ethernet card PMC Ethernet card What’s ‘PMC’? - PCI Mezzanine Card Standard –PMC is 100% compliant with the PCI. –PMC is suitable for high density applications. –Many commercial products are available: Ethernet cards, GbE cards, memory modules, CPUs, etc. 74×149 mm 2

PMC Size CPU RadiSys EPC-6315 – Equipped with Intel PentiumIII 800 MHz. – RedHat Linux 7.3 runs. – 32-bit 33/66 MHz PCI bus interface. You can login this CPU like your PC Even physics-analysis codes run on it! Contains Linux image

Whole Design of the DAQ Platform PMC CPU local bus PCI bus Detector signals mezzanine (add-on) module Network IF Trigger Module VME 9U sized board ADC/TDC Module Bridge PMC FIFO

The COPPER-II This is our readout platform for the Super B factory.

The COPPER-II PMC Processor Trigger Generic PMC slot ADC/TDC VME-9U sized board 4 ADC/TDC slots 1 MB × 4 FIFO 32-bit local bus 3 PMC slots 32-bit 33MHz PCI bus Local-PCI bridge VME I/F 4 ADC/TDC slots 1 MB × 4 FIFO 32-bit local bus 3 PMC slots 32-bit 33MHz PCI bus Local-PCI bridge VME I/F COmmon Pipelined Platform for Electronics Readout On-board Ether

ADC/TDC Module Local bus I/F (for control) Digitized signal output Trigger busy Clock, L1 trigger Clock = 43MHz, Reduced clock = depends on sub-system 32 Photo of prototype card 76×180 mm 2

Readout Scheme How it works?

Readout Scheme (1) L1 Trigger comes… – Trigger module distributes trigger signal to the ADC/TDC modules. – Digitized data are held on the ADC/TDC module. – Data transfer to the COPPER-II starts. COPPER-II FIFOs are filled… – The COPPER-II’s FPGA formats data (header and footer). – The COPPER-II’s FPGA counts each event size in FIFOs. – A PCI interrupt is generated when a total data size in the FIFOs exceed threshold to initiate the DMA.

Readout Scheme (2) PCI interrupt is generated… – The CPU checks the size of stored data counted by the COPPER-II. – The CPU starts data transfer from the FIFOs to CPU’s main memory using DMA. A user process on the CPU is woke up after DMA… – The user process reads data and performs the data size reduction. The data are transferred to the event builder…

COPPER-II Performance Up to what input rate does COPPER-II work?

Study Setup ADC proto. Vacant Trigger CPU Ether RX The COPPER-II Generates virtual ‘ADC’ data. Data size / event is variable. Self trigger. Trigger rate is variable.

Maximum Trigger Rate Typical trigger rate Required trigger 416 bytes/ev/ADC-module The COPPER-II works > 30 kHz input rate Belle’s TDC data 16 bytes / ch. (drift chamber) 400 bytes/TDC-module corresponds to 100 ch. in one COPPER-II module. Belle’s TDC data 16 bytes / ch. (drift chamber) 400 bytes/TDC-module corresponds to 100 ch. in one COPPER-II module.

Profile of CPU Usage User time: ~2% System time: ~20% Idle time: ~78% = CPU power that is equivalent to P3 ~600MHz is still available Large idle time fraction indicates the PCI bus works at the full performance. – 416 bytes / ADC-module / ev × 40 kHz × 4 ADC modules = bytes/ev/ADC-module

Performance Degradation by Network 416 bytes/ev/ADC-module CPU FIFO Read FIFO Read FIFO Read FIFO Read Network Transfer proc.A proc.B RX Ethernet 11MB/s CPU user time: ~2% CPU system time: ~20% CPU idle time: ~78% Maximum accepted trigger rate: 40 kHz CPU user time: ~2% CPU system time: ~20% CPU idle time: ~78% Maximum accepted trigger rate: 40 kHz CPU user time: ~5% CPU system time: ~31% CPU idle time: ~64% Maximum accepted trigger rate: 32 kHz CPU user time: ~5% CPU system time: ~31% CPU idle time: ~64% Maximum accepted trigger rate: 32 kHz Still works well.

Schedule What are we planning?

Schedule in Near Future The COPPER-II prototype is being debugged. We start production of the COPPER-II from the begging of Feb We are planning to replace some Belle-DAQ parts with COPPER in 2005 summer.

Long Term Plan COPPER Proto. Upgrade Integrated Test Goal Performance Study ASIC Development ADC Module Design TDC Module Design Mass CPU Control User I/F Framework Event Building Farm L2/L3 Triggers PlatformHardware Applications Software Applications ADC/TDC Proto. We are here.

Summary We have developed new readout electronics, COPPER-II, for the Super B factory. Design keywords are: Pipeline, Online data reduction, Flexibility, Compactness, and Commodity usage. At the typical data size, the COPPER-II works up to 40 kHz trigger rate, which satisfies the requirements.

Backup Slides Please help me…

Introduction What is a readout electronics? What is Super B factory requiring for it?

Introduction to Readout Electronics Trigger System Readout Elec. Event Builder Storage Detector Role Signal digitization Event buffering Data suppression Data transfer to EB Role Signal digitization Event buffering Data suppression Data transfer to EB DAQ

Keywords in the System Design Five keywords, again… pipeline online data reduction flexibility compactness commodity use

Add-on-structure module FIFO chip Bridge chip PMC size CPU PMC size network interface All Components on a 9U-Size Board ADC/TDC Module Bridge CPU Network compactness

Level 1 Trigger Trigger Module ADC/TDC Module trigger busy FINESSE TTRX TRIGGER from the trigger module. BUSY response by ADC/TDC module. Data hold. Data-transfer to FIFO.

ADC/TDC Module  Readout FIFO Data transfer to readout FIFO – 32-bit FIFO per ADC/TDC module. – Data size of each event is counted by FPGA and is stored to FIFO-word-counter FIFO. ADC/TDC Module Readout FIFO (1 MB) 32-bit data FIFO WENA FIFO WCLK spied FIFO-word- counter FIFO-word- counter FIFO-word-counter FIFO To CPU FPGA

Readout FIFO  CPU: DMA Local-PCI Bridge Local-PCI Bridge CPU PCI bus RadiSys EPC-6315PLX-9054 Local bus Readout FIFO FIFO-word- counter FIFO Readout FIFO filled PCI interrupt Check event size Initiate DMA DMA data transfer DMA over PCI interrupt

COPPER Device Driver interrupt_handler() do_DMA() while( data_in_FIFO ){ event_size = read_event_length_FIFO(); DMA_size += event_size; }; start_DMA( DMA_src_addr, DMA_dst_addr, DMA_size ); while( data_in_FIFO ){ event_size = read_event_length_FIFO(); DMA_size += event_size; }; start_DMA( DMA_src_addr, DMA_dst_addr, DMA_size ); interrupt_handler() PCI interrupt Readout FIFO ready (every event) PCI interrupt DMA over DMA buffer user_read() do_DMA() Read new data (if exist) after last do_DMA(). Return to user code. Read all available data in FIFO (mostly one event)

CPU  Event Builder EB Ethernet CPU Network PCI bus serial line for debug – Are event-header/event-footer correct? – Are data contents consistent with pre-defined ones? – Generator module’s event counters = event tag from trigger module? – Are all event counters from 4 generator modules consistent? – Do event counters increase by 1 correctly? – Are event-header/event-footer correct? – Are data contents consistent with pre-defined ones? – Generator module’s event counters = event tag from trigger module? – Are all event counters from 4 generator modules consistent? – Do event counters increase by 1 correctly?

Maximum Trigger Rate vs. Data Size Typical data size

Data Transfer Speed on PCI vs. Data Size Typical data size