Local Level 1 trigger Hardware and data flow

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.
RPC Electronics Status Overall system TDC –Digitizing frequency issue (determine the bin size of the TDC value) Discriminator test result Trigger module.
July 10, 2008 PHENIX RPC review C.Y. Chi 1 RPC Front End Electronics On chamber discriminator  The strips  The CMS discriminator chips  The discriminator.
DSP online algorithms for the ATLAS TileCal Read Out Drivers Cristobal Cuenca Almenar IFIC (University of Valencia-CSIC)
Ionization Profile Monitor Front End (IFE) System Presenter: Kwame Bowie PPD/EED Phone: (630)
3/7/05A. Semenov Batch-by-Batch Intensity Monitor 1 Two-Channel Batch by Batch Intensity Monitor for Main Injector BBI.
Preliminary Design of Calorimeter Electronics Shudi Gu June 2002.
DLS Digital Controller Tony Dobbing Head of Power Supplies Group.
U N C L A S S I F I E D FVTX Detector Readout Concept S. Butsyk For LANL P-25 group.
PHENIX upgrade DAQ Status/ HBD FEM experience (so far) The thoughts on the PHENIX DAQ upgrade –Slow download HBD test experience so far –GTM –FEM readout.
Technical Part Laura Sartori. - System Overview - Hardware Configuration : description of the main tasks - L2 Decision CPU: algorithm timing analysis.
September 8-14, th Workshop on Electronics for LHC1 Channel Control ASIC for the CMS Hadron Calorimeter Front End Readout Module Ray Yarema, Alan.
HBD FEM the block diagram preamp – FEM cable Status Stuffs need to be decided….
A Front End and Readout System for PET Overview: –Requirements –Block Diagram –Details William W. Moses Lawrence Berkeley National Laboratory Department.
HBD FEM Overall block diagram Individual building blocks Outlook ¼ detector build.
Front-end readout study for SuperKEKB IGARASHI Youichi.
Xiangming Sun1PXL Sensor and RDO review – 06/23/2010 STAR XIANGMING SUN LAWRENCE BERKELEY NATIONAL LAB Firmware and Software Architecture for PIXEL L.
ATLAS Trigger / current L1Calo Uli Schäfer 1 Jet/Energy module calo µ CTP L1.
NUMI Off Axis NUMI Off Axis Workshop Workshop Argonne Meeting Electronics for RPCs Gary Drake, Charlie Nelson Apr. 25, 2003 p. 1.
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)
March 9, 2005 HBD CDR Review 1 HBD Electronics Preamp/cable driver on the detector. –Specification –Schematics –Test result Rest of the electronics chain.
Update on final LAV front-end M. Raggi, T. Spadaro, P. Valente & G. Corradi, C. Paglia, D. Tagnani.
1 07/10/07 Forward Vertex Detector Technical Design – Electronics DAQ Readout electronics split into two parts – Near the detector (ROC) – Compresses and.
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.
Connector Differential Receiver 8 Channels 65 MHz 12 bits ADC FPGA Receive/buffer ADC data Format triggered Events Generate L1 Primitives Receive timing.
1 Calorimeters LED control LHCb CALO meeting Anatoli Konoplyannikov /ITEP/ Status of the calorimeters LV power supply and ECS control Status of.
LKr readout and trigger R. Fantechi 3/2/2010. The CARE structure.
.1PXL READOUT STAR PXL READOUT requirement and one solution Xiangming Sun.
1 Timing of the calorimeter monitoring signals 1.Introduction 2.LED trigger signal timing * propagation delay of the broadcast calibration command * calibration.
10/3/2003Andreas Jansson - Tevatron IPM review1 Tevatron IPM Proposed design.
Calorimeter Digitizer Electronics Cheng-Yi Chi Columbia University Nov 9-10, 2015sPHENIX Cost and Schedule Review1.
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.
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.
Some thoughs about trigger/DAQ … Dominique Breton (C.Beigbeder, G.Dubois-Felsmann, S.Luitz) SuperB meeting – La Biodola – June 2008.
Work on Muon System TDR - in progress Word -> Latex ?
DCH FEE STATUS Level 1 Triggered Data Flow FEE Implementation &
CLAS12 DAQ & Trigger Status
vXS fPGA-based Time to Digital Converter (vfTDC)
ATLAS calorimeter and topological trigger upgrades for Phase 1
14-BIT Custom ADC Board Rev. B
L1Calo Requirements on the DPS
Readout System of the CMS Pixel Detector
96-channel, 10-bit, 20 MSPS ADC board with Gb Ethernet optical output
TELL1 A common data acquisition board for LHCb
CoBo - Different Boundaries & Different Options of
ATLAS L1Calo Phase2 Upgrade
Design of Digital Filter Bank and General Purpose Digital Shaper
Implementation of the Jet Algorithm ATLAS Level-1 Calorimeter Trigger
LHCb calorimeter main features
RPC Front End Electronics
RPC Front End Electronics
DCM II DCM function DCM II design ( conceptual ?)
Calorimeter Digitizer System
DCM II DCM II system Status Chain test Schedule.
New DCM, FEMDCM DCM jobs DCM upgrade path
PID meeting Mechanical implementation Electronics architecture
RPC Electronics Overall system diagram Current status At detector
sPHENIX DOE-SC CD-1/3a Review WBS 1.5.3: CalElec Digitizers
Digitally subtracted pulse between
TOF & BB FEE Safety Review
PHENIX forward trigger review
DATA COLLECTION MODULE II (DCM II) Stratix III
Cheng-Yi Chi Nevis Lab Physics Dept Columbia University
Beam Beam electronics Block diagram disc gated disc gate disc gated
The LHCb Front-end Electronics System Status and Future Development
Data Concentrator Card and Test System for the CMS ECAL Readout
TELL1 A common data acquisition board for LHCb
U. Marconi, D. Breton, S. Luitz
Presentation transcript:

Local Level 1 trigger Hardware and data flow Cheng-Yi Chi Columbia University

sPHENIX internal review Outline The Calorimeter electronics. Function block diagram Trigger hardware and data path Calorimeter Beam beam Local level 1 trigger Hardware spec PHENIX trigger timing diagram Possible hardware architecture. Advantage and Drawback Task forward 12/20/2017 sPHENIX internal review

sPHENIX internal review 64 channel ADC Data Flow Diagram BC & L1 event numbers Beam clock number Header 512X16 Header 8 x 32 6x RHIC clock trigger L1 6x RHIC clock 14 bits ADC serialized data 840 Mbits/sec LVDS 8b/10b encoding Serialized data from down Stream board De-serialize /alignment Input control L1 Delay memory 512X128 8 events buffer 256 X 1024 FIFO 2048 * 34 bits (first, data, Last) Alignment 16bits FIFO Gbits receiver 1-8 16bits FIFO Gbits receiver Fake data 512X16 wadd 1-64 channels Token in radd = wadd - delay 8b/10b encoding Serialized data Link control Gbits transmitter L1 trigger Primitives generators Token out 120 MHz Reference clock 80 MHz Reference clock Write address 3 bits events, 5 bits samples Gbits transmitter read address 3 bits events, 5 bits samples write = valid & token Read = !empty LVDS repeater Slow control readback backplane Daughter card Optical transceiver Lemo out 12/20/2017 sPHENIX internal review

Optical transmitter output Trigger daughter plug in from the back with 2 outputs, 1 optical transceiver, 1 lemo output. backplane Optical transmitter output ARRIA 5 FPGA LVDS buffer Lemo out Trigger daughter card 3.3v 12/20/2017 sPHENIX internal review

sPHENIX internal review ADC board – L1 primitive latency study 1 using pulse generator board 2ft long signal cable between pulse generator board and ADC board. AD9257 has 16 clock delay == 16.67ns * 16 ~ 266ns There 4 deep fifo in the resync ADC data into the FPGA 60 MHz clock, (deal with phase issue) ~ 4X16.67ns ~ 67ns. Couple cycles lose in the FIFO Observe ~ 360-340ns latch Pulse measure at output of the pulse generator board Bit 12 after the resync FIFO 4X128 12/20/2017 sPHENIX internal review

Cal trigger primitive Generator (preliminary) 6X BC clock 120 MHz clock delay +1 +2 +1 + 1 BC + 2 12X 4 bits trigger phase only use upper 8 bits Dual port memory Baseline subtraction Lookup memory (1024X10) 10 bits 2X2 SUM (12 bits output) Choose one of the of of the 12X BC clock phas for trigger primitive MUX 128 bits To 8 16 bits 10X16 bits FIFO Transceiver IP Read Address (upper 10 bits) Load lookup Memory from Slow control Read address = write address -delay Sub = ADC – ADCpre If (adcpre > adc) sub=0 16 2X2 8 bits sum 64 channels Delay a parameter Probably has 2 clocks offset 1 2 3 4 5 6 7 8 9 10 header Mod + clock Sum 1+2 Sum 3+4 Sum 5+6 Sum 7+8 Sum 9+10 Sum 11+12 Sum 13+14 Sum 15+16 Monitor Delay dual port memory 5 events buffer To controller readout Delay and # of Sample adjustable L1 trigger 12/20/2017 sPHENIX internal review

Timing Slewing correction ADC to time conversation table (10X10) SPHENIX Beam Beam counter local level 1 algorithm conceptual diagram PMT charge Shaper ADC Peak detector Baseline correction Timing Slewing correction 10X10 table NHIT, Average time, charge PMT TDC Shaper ADC Peak detector Baseline correction Mid-point ADC calculation ADC to time conversation table (10X10) ADC is running at 6X beam crossing clock, ~16ns 64 channels per FEM board, 32 channel for TDC and 32 channel for PMT pulse measurements, 4 boards total The TDC channels are gated within 25 – 30 ns time window. There are no constrain by the PMT charge channel shaper. The beam beam LL1 calculation is running at 6X BC clocks. The 10x10 table is 10 bits address inputs and 10 bit data output, preloaded through crate controller. Unlike Calorimeter detector, the beam beam local level 1 does not require large collapsing steps. It has relative more relax time requirements. 12/20/2017 sPHENIX internal review

Hardware spec for local level 1 RHIC clock is normally running with 9.6 MHz with some variation pending on collision species and energy. EMCAL has 24576, =96*256, channels, 0.025 X 0.025 eta and phi coverage. 64 channel per FEM, 384 FEM. FEM will output 16 2x2 sum which pack into 8 16 bits words + header + frame marker. L1 trigger primitive bandwidth ~ (8+1+1)*10 MHz = 100 M words per sec = 2 Gbits/sec after 8b/10b encoding. The transceiver has 120 MHz reference crystal, i.e. 2.4 GHz bandwidth. Outer and inner HCAL has 1536 each, =24x64 channels, 0.1 X 0.1 eta and phi coverage. Same FEM as EMCAL, 24 FEM. The trigger sum coverage is 0.2X.2 eta and phi coverage. The FEM produce trigger primitives every beam crossing clock. The Local level 1 trigger need to have beam clock input to resync all primitive data Mode Bits from timing system are needed in Local level 1 trigger system for system initialization, reset, receiving L1 trigger and testing. Local Level 1 system need to able inject test pattern at input stage of each physical board. Local Level 1 system has to able to readback samples of FEM trigger primitives. The Mode bits of the timing system should able to coordinate the readback sample of FEM trigger primitive data and Local level 1 trigger primitives data and it’s calculation result. Local level 1 time budget need to be developed. 12/20/2017 sPHENIX internal review

sPHENIX internal review Level 1 trigger Latency diagram shows the 40 beam crossing latency, 4 us, is distribution cross varies stages, FEM, cable delay, local level, global level 1, timing system. It has the same collision hall with similar cable delay in SPHENIX It is unclear, we can increase Level 1 trigger latency. 12/20/2017 sPHENIX internal review

sPHENIX internal review Possible paths 3 possible way to do calorimeter local level 1 trigger hardware 1) adapter to ATLAS gFEX board Split fiber in 2 phi regions. Each regions has 192 fibers in EM + 12 fibers in inner HCAL + 12 fibers in outer HCAL. 2) divided the region into 12 eta phi sections at stage 1. Do EMCAL overlapping 4x4 sum, 32 fibers per sections + data needed to be copy over. Concentrate HCAL fibers by factor of 4. Get all the fibers data into Stage 2. Separate different physics into to different boards 3) Multiplex fibers to higher speed fiber, factor 6 or 8. Cut detector along the phi direction, 2 or 4 different regions. With smaller number of fibers we can get all the fibers belong to the same region into one FPGA. 12/20/2017 sPHENIX internal review

sPHENIX internal review GFEX, global feature extractor, board the part of ATLAS phase upgrade Level 1 trigger system. It is ATCA crate base system. Lots of fiber inputs. Large FPGA, XilinX ultrascale and ZYNQ SOC processor. 12/20/2017 sPHENIX internal review

Good and bad of the 3 solutions (1) 1) ATLAS gFEX boards Good  It exists and working. It has enough fiber inputs that we get the primitives done with minimum L1 delay, mostly in transceiver transmitting and receiving delay. Bad  It is build for something completely different that what we want. We have to check the clock path to made sure it is even practical. Make sure we can deal with not fixed beam clock and mode bits input. Make sure we have enough different clock inputs. It is build on ATCA platform or one can use the existing test stand environment. Learning curve. Make sure it will work with existing sPHENIX trigger and DAQ frame works. 12/20/2017 sPHENIX internal review

Good and bad of the 3 solutions (2) About the solution 2 & 3 Good  It will fit into sPHENIX trigger and DAQ system. Possibly we could use EMCAL digitizer infrastructure. It will solve a) bit clock input and mode bits issue 2) readback and control path and 3) readout to DCM II . Bad  It is a new boards, custom build. It will be add transceiver latency. Solution 2) will be add at least 2 cycles, Solution 3) will add at least 1 cycle. Solution 3 will not doing anything in the concentrator except for reducing the number of fiber inputs by increase the bandwidth. All the calculation burdens will be done in the next stage. 12/20/2017 sPHENIX internal review

Steps to determine the final solution Work on the conceptual block diagram and FPGA code Understand number of steps to get trigger implemented. Estimate registers usage. Try to match the devices availability, fibers counts etc. Understand gFEX board to determine if it can be used is sPHENIX. Timing inputs, fiber input bandwidth etc.…. Figuring out impact of ATCA usage or some other test setup. 12/20/2017 sPHENIX internal review

sPHENIX internal review BACUP SLIDES 12/20/2017 sPHENIX internal review

Fibers bandwidth calculation for complete phi section 8x8 channel coverage per fem. A complete ring of Phi section will take 256/8 = 32 FEM. 8x8 channel is 4x4 of 2x2 sum Overlapping region to next phi section is ¼ of coverage. 32 fiber in  8 fibers out with 2 Gbits/sec rate with 1.6 Gbps data -> 2 fibers of 8 Gbits/sec rate No overlap 4x4 sum of phi section ring will be ¼ of incoming data rate 32 fiber in  8 fiber out at 2Gbits/rate  2 fiber of 8 Gbits/rate No overlap 8x8 sum of phi section ring will be 1/16 of incoming data rate 32 fiber in  2 fiber out at 2Gbits/rate  1 fiber of 8 Gbits/rate 32 +2+2 == > 36 fibers is minimum need a region , 40 will probably be adequate. CXP connector has 12 fibers input and about 1 inch wide 6U boards has 233 mm vertical space = 9.2 inch space. Should be enough for 5-6 CXP connectors. 96 channel in Z  12 phi region in Z Assume one FPGA can handle 40- 48 fibres  2 FPGA per boards  we need 6 boards for EMCAL LL1 12/20/2017 sPHENIX internal review

Data input alignment with data merger block diagram Fake data injector Restore data to 16 2x2 sums Alignment memory Delay memory optical receiver unpacker Data to Overlapped region Optical transmitter Data collector Restore data to 16 2x2 sums Alignment memory Delay memory optical receiver unpacker Restore data sums Data from Overlapped region optical receiver unpacker slow control data readback 12/20/2017 sPHENIX internal review