FPGA based signal processing for the LHCb Vertex detector and Silicon Tracker Guido Haefeli EPFL, Lausanne Vertex 2005 November 7-11, 2005 Chuzenji Lake,

Slides:



Advertisements
Similar presentations
6 Mar 2002Readout electronics1 Back to the drawing board Paul Dauncey Imperial College Outline: Real system New VFE chip A simple system Some questions.
Advertisements

Digital Filtering Performance in the ATLAS Level-1 Calorimeter Trigger David Hadley on behalf of the ATLAS Collaboration.
MICE Tracker Front End Progress Tracker Data Readout Basics Progress in Increasing Fraction of Muons Tracker Can Record Determination of Recordable Muons.
DSP online algorithms for the ATLAS TileCal Read Out Drivers Cristobal Cuenca Almenar IFIC (University of Valencia-CSIC)
Development of novel R/O electronics for LAr detectors Max Hess Controller ADC Data Reduction Ethernet 10/100Mbit Host Detector typical block.
Sub-Nyquist Sampling DSP & SCD Modules Presented by: Omer Kiselov, Daniel Primor Supervised by: Ina Rivkin, Moshe Mishali Winter 2010High Speed Digital.
3/7/05A. Semenov Batch-by-Batch Intensity Monitor 1 Two-Channel Batch by Batch Intensity Monitor for Main Injector BBI.
DLS Digital Controller Tony Dobbing Head of Power Supplies Group.
11/01/2006Wilco Vink / Martin van Beuzekom / L. Wiggers L0 ECS Workshop Pile-Up System.
U N C L A S S I F I E D FVTX Detector Readout Concept S. Butsyk For LANL P-25 group.
Leo Greiner IPHC meeting HFT PIXEL DAQ Prototype Testing.
Chris Parkes for VELO software Group VELO Software Overview & Shutdown Planning Organisation Milestones 3 Critical Areas.
C/VHDL Codesign for LHCb VELO zero-suppression algorithms Manfred Muecke, CERN.
LHCb-week June 2005 OT 1 Dirk Wiedner 1 MHz Readout and Zero Suppression for the Outer Tracker Dirk Wiedner, Physikalisches Institut der Universität Heidelberg.
TELL1 The DAQ interface board for LHCb experiment Gong guanghua, Gong hui, Hou lei DEP, Tsinghua Univ. Guido Haefeli EPFL, Lausanne Real Time ,
Leo Greiner IPHC DAQ Readout for the PIXEL detector for the Heavy Flavor Tracker upgrade at STAR.
11th March 2008AIDA FEE Report1 AIDA Front end electronics Report February 2008.
1 VeLo L1 Read Out Guido Haefeli VeLo Comprehensive Review 27/28 January 2003.
Features of the new Alibava firmware: 1. Universal for laboratory use (readout of stand-alone detector via USB interface) and for the telescope readout.
Leo Greiner PIXEL Hardware meeting HFT PIXEL detector LVDS Data Path Testing.
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.
FPGA firmware of DC5 FEE. Outline List of issue Data loss issue Command error issue (DCM to FEM) Command lost issue (PC with USB connection to GANDALF)
LHCb front-end electronics and its interface to the DAQ.
1 07/10/07 Forward Vertex Detector Technical Design – Electronics DAQ Readout electronics split into two parts – Near the detector (ROC) – Compresses and.
Guido Haefeli CHIPP Workshop on Detector R&D Geneva, June 2008 R&D at LPHE/EPFL: SiPM and DAQ electronics.
01/04/09A. Salamon – TDAQ WG - CERN1 LKr calorimeter L0 trigger V. Bonaiuto, L. Cesaroni, A. Fucci, A. Salamon, G. Salina, F. Sargeni.
KLM Trigger Status Barrel KLM RPC Front-End Brandon Kunkler, Gerard Visser Belle II Trigger and Data Acquistion Workshop January 17, 2012.
LHCb VELO Upgrade Strip Chip Option: Data Processing Algorithms Giulio Forcolin, Abdul Afandi, Chris Parkes, Tomasz Szumlak* * AGH-Krakow Part I: LCMS.
1 Level 1 Pre Processor and Interface L1PPI Guido Haefeli L1 Review 14. June 2002.
Integration and commissioning of the Pile-Up VETO.
LKr readout and trigger R. Fantechi 3/2/2010. The CARE structure.
.1PXL READOUT STAR PXL READOUT requirement and one solution Xiangming Sun.
18/05/2000Richard Jacobsson1 - Readout Supervisor - Outline Readout Supervisor role and design philosophy Trigger distribution Throttling and buffer control.
LHCb upgrade Workshop, Oxford, Xavier Gremaud (EPFL, Switzerland)
August 4th 2008Jacques Lefrancois1 Digital specification Keep signal treatment ( dynamic pedestal subtraction)Keep signal treatment ( dynamic pedestal.
CM correction algorithm. Observations: Looking at the data for one analog link, a large fraction of the 32 strips are affected by the large signal deposit.
Rutherford Appleton Laboratory September 1999Fifth Workshop on Electronics for LHC Presented by S. Quinton.
22/06/2016James Leaver Current FED Tester Status.
Mu3e Data Acquisition Ideas Dirk Wiedner July /5/20121Dirk Wiedner Mu3e meeting Zurich.
LECC2003: The 96 Chann FED Tester: Greg Iles30 September The 96 channel FED Tester Outline: (1) Background (2) Requirements of the FED Tester (3)
29/05/09A. Salamon – TDAQ WG - CERN1 LKr calorimeter L0 trigger V. Bonaiuto, L. Cesaroni, A. Fucci, A. Salamon, G. Salina, F. Sargeni.
SVD FADC Status Markus Friedl (HEPHY Vienna) Wetzlar SVD-PXD Meeting, 5 February 2013.
Off-Detector Processing for Phase II Track Trigger Ulrich Heintz (Brown University) for U.H., M. Narain (Brown U) M. Johnson, R. Lipton (Fermilab) E. Hazen,
SuperB-DCH S ervizio E lettronico L aboratori F rascati 1LNF-SuperB Workshop – September 2010G. Felici DCH FEE STATUS Some ideas for Level 1 Triggered.
MADEIRA Valencia report V. Stankova, C. Lacasta, V. Linhart Ljubljana meeting February 2009.
DAQ ACQUISITION FOR THE dE/dX DETECTOR
DCH FEE STATUS Level 1 Triggered Data Flow FEE Implementation &
Digital readout architecture for Velopix
96-channel, 10-bit, 20 MSPS ADC board with Gb Ethernet optical output
PID meeting SCATS Status on front end design
DCH FEE 28 chs DCH prototype FEE &
TELL1 A common data acquisition board for LHCb
Electronics for Physicists
Vertex 2005 November 7-11, 2005 Chuzenji Lake, Nikko, Japan
VELO readout On detector electronics Off detector electronics to DAQ
Status of n-XYTER read-out chain at GSI
Example of DAQ Trigger issues for the SoLID experiment
UNIZH and EPFL at LHCb.
Tests Front-end card Status
Electronics for Physicists
The LHCb Level 1 trigger LHC Symposium, October 27, 2001
The CMS Tracking Readout and Front End Driver Testing
PID meeting Mechanical implementation Electronics architecture
August 19th 2013 Alexandre Camsonne
Overview of the new CMS ECAL electronics
SVT detector electronics
The LHCb Front-end Electronics System Status and Future Development
Multi Chip Module (MCM) The ALICE Silicon Pixel Detector (SPD)
TELL1 A common data acquisition board for LHCb
Fiber Optic Transciever Buffer
Presentation transcript:

FPGA based signal processing for the LHCb Vertex detector and Silicon Tracker Guido Haefeli EPFL, Lausanne Vertex 2005 November 7-11, 2005 Chuzenji Lake, Nikko, Japan

Outline LHCb VELO and Silicon Tracker Short description of the signal chain from the detector to the CPU farm Required signal processing Implementation of the signal processing with an FPGA

LHCb silicon strip detectors Vertex Locator (VELO) 180k channels Trigger Tracker (TT) 143k channels Inner Tracker (IT) 130k channels Lars Eklund “LHCb Vertex Locator (VELO)” Olaf Steinkamp “Long Ladder Performance”

Readout chain Each Beetle readout chip provides data on 4 analog 40 MHz. The VELO data is transmitted analog The Silicon Tracker data optical Data reception is different for VELO and Silicon Tracker. The VELO digitized The Silicon Tracker data deserialized Signal processing on the “TELL1” board is performed on FPGAs. Signal filtering Clustering Zero-Suppression Interface to the readout network On detector Off detector

The silicon sensors with the Beetle readout chip VELO sensor with 2048 channels 16 Beetle front end ASICs, 128 channels per chip Inner Tracker with 3-chip hybrid (384 channels) Trigger Tracker with 4- chips hybrid (512 channels)

16-ADC A-Rx 12-Way O-Rx PP-FPGA Ctrl interface FPGA processor board “TELL1” Large FPGA: 40 LE and 400 Byte per detector channel Output

Signal processing (0) 30 Gbit/s 3 Gbit/s

Signal processing (1) Event synchronization (Sync) Change to a common clock domain Verify the incoming data to be from the same event (check Beetle specific event tag) Tag the data with the experiment wide event counters Create detector specific header data including error flags, error counters, status flags, … Cable compensation (FIR) A Finite Impulse Response filter corrects the data after the long analog links Pedestal Pedestals are calculated on the incoming data (pedestal follower) or downloaded See example

Signal processing (2) Channel re-ordering Common mode correction (CMS) Clusterization and zero suppression Data linking … Each detector channel is required about 20 times during processing  20 operations applied to MHz event rate = 17 GOperation/s This asks for massive parallel processing!

How can we process this data ? Requirements Fixed input data rate with fixed event size ! 6 Gbit/s ! Some known but also a few less well known processing steps Pedestal subtraction Data reordering Clusterization FIR correction ? CMS ? Sequence of processing chain ???? Adaptable for different detectors, flexible for future changes (… see next slide!)  ASIC is not an option ! About 17 GOperations/s to be performed  CPU (DSP) is not an option !  Large FPGAs are the only solution !

LHCb trigger system changed September 2005! The LHCb readout scheme has been changed. Thanks to FPGA design we didn’t need to introduce any hardware changes “Old” readout with Level-1 buffer and two data streams, 7 GByte/s data to the event builder “Full readout at 40kHz” “New” readout provides in total 56 GByte/s of data to the event builder “Full readout at 1MHz”

Array of processors Distributed FPGA logic is used to build many processors working simultaneously !

Data preparation for processing The data has to be available simultaneously to all processing channels! To be more efficient the processing clock frequency is increased and the data is multiplexed!

Data, instructions and schedule The Pace Maker is imposing the correct timing to the distributed processors. Every 450ns a new processing cycle is started and the incoming data is processed.  Fixed data size and fixed event rate are used to pipeline the processing. Periodic processing cycle counter

Where are the difficulties ? High “bit resolution” increases the logic resources ! Sorting (channel reordering) Zero suppression generates variable event data size Moreover we often need accurate software models of the processing (in C, C++,…) usable by physicists.

High “bit resolution” increases the required FPGA resources! There are operators that scale linearly with the bit width: Adders Comparators Counters But Operators that scale quadratically: Multipliers Square

VELO Phi sensor requires difficult reordering R-measuring sensor: Strips divided into 45° sectors No reordering required Phi-measuring sensors: Each readout chip receives inner and outer strips The outer strips are not read out in order Re-ordering required Second metal layer used for routing the signal lines

Sorting detector channels The main difficulty to reorder is due to the parallel processing ! Two step reordering applied: Intelligent de-multiplexer Inner and outer strip data is separated Intelligent multiplexer Data collection from all inner (outer) data via readout multiplexer Conclusion: Sorting complicated. (A lesson: try to avoid this situation in the future!) RAM

Zero suppression Average event size reduced by zero suppression but for high occupancy events the data size is increased by the cluster encoding and therefore large processing time might occur. De-randomization is required for zero suppression processing ! Large buffers and buffer overflow control is needed. The processing can still be pipelined but the average processing time must be respected.

Hardware description Low level hardware description with VHDL or Verilog are difficult to use for large designs. With the flexibility for changes given by the FPGA one needs automatic generation of simulation models Many languages ready to use: System-C, Handle-C, Impulse-C, Confluence

Example pedestal follower 1. Keep the pedestal sum of the last 1024 events in a memory - for each detector channel ! 2. Use the binary division (/1024) to get the pedestal value (10-bit right shift) 3. Subtract pedestal values 4. Update the pedestal sum

Conclusions We have described the signal processing for the LHCb silicon strip detectors: The data is filtered and corrected for noise, clusterized and zero-suppressed before send to the DAQ Parallel processing allows to cope with 3072 detector channels per board at 1.11MHz event rate For this large FPGAs are required, 40 LE and 400 Byte per detector channel.

Backup slides below

Clusterization data flow

Principle of the LCMS algorithm Input data after pedestal correction Mean value Mean value calculation Mean value correction

RMS value RMS calculation Calculate the slope Correct the slope Hit detected Hit detection

Correct the mean value Correct the slope Calculate the slope again Calculate mean value Hit set to zero for second iteration Set detected hit to zero

Apply strip individual hit threshold mask This is also a hit Insert previous hit Insert the hits previously set to zero

Beetle readout chip Amplification and storage of 128 detector channels 40MHz. Storage is performed in an analog pipeline during Level-0 latency of 160 clock cycles. Readout of a complete event within 900ns over 4 analog links, each analog link carries the information of 32 detector channels. In addition to the detector data 4 words of header is transmitted on the analog links. 4 x header 100 ns 32 x data 800 ns