Modelisation of control of SuperB Common Front-End Electronics

Slides:



Advertisements
Similar presentations
DSP online algorithms for the ATLAS TileCal Read Out Drivers Cristobal Cuenca Almenar IFIC (University of Valencia-CSIC)
Advertisements

1 COMP541 Sequencing – III (Sequencing a Computer) Montek Singh April 9, 2007.
MB, 9/8/041 Introduction to TDC-II and Address Map Mircea Bogdan (UC)
An Asynchronous Level-1 Tracking Trigger for Future LHC Detector Upgrades A. Madorsky, D. Acosta University of Florida/Physics, POB , Gainesville,
U N C L A S S I F I E D FVTX Detector Readout Concept S. Butsyk For LANL P-25 group.
LHCb front-end electronics and its interface to the DAQ.
CERN, 18 december 2003Coincidence Matrix ASIC PRR Coincidence ASIC modifications E.Petrolo, R.Vari, S.Veneziano INFN-Rome.
APV25, Clock and Trigger M.Friedl HEPHY Vienna. 2Markus Friedl (HEPHY Vienna)18 Mar 2009 APV25 Please refer to my December 2008 meeting slides for details.
Juin 1st 2010 Christophe Beigbeder PID meeting1 PID meeting Electronics Integration.
SuperB DAQ U. Marconi Padova 23/01/09. Bunch crossing: 450 MHz L1 Output rate: 150 kHz L1 Triggering Detectors: EC, DC The Level 1 trigger has the task.
SuperB FCTS/DAQ Protocol Steffen Luitz and Gregory Dubois-Felsmann SuperB Computing Workshop, Frascati 12/17/08.
C.Beigbeder, D.Breton, M.El Berni, J.Maalmi, V.Tocut – LAL/In2p3/CNRS L.Leterrier, S. Drouet - LPC/In2p3/CNRS P. Vallerand - GANIL/CNRS/CEA SuperB -Collaboration.
November 16th 2011 Christophe Beigbeder 1 ETD meeting PID Integration.
D.Breton, U.Marconi, Perugia SuperB Workshop – June 16th 2009 Electronics, Trigger and DAQ for SuperB: proposal for the system architecture. Dominique.
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.
EPS HEP 2007 Manchester -- Thilo Pauly July The ATLAS Level-1 Trigger Overview and Status Report including Cosmic-Ray Commissioning Thilo.
Some thoughs about trigger/DAQ … Dominique Breton (C.Beigbeder, G.Dubois-Felsmann, S.Luitz) SuperB meeting – La Biodola – June 2008.
Giovanna Lehmann Miotto CERN EP/DT-DI On behalf of the DAQ team
Work on Muon System TDR - in progress Word -> Latex ?
M. Bellato INFN Padova and U. Marconi INFN Bologna
DCH FEE STATUS Level 1 Triggered Data Flow FEE Implementation &
ETD meeting Architecture and costing On behalf of PID group
PID meeting SNATS to SCATS New front end design
ETD meeting First estimation of the number of links
Electronics Trigger and DAQ CERN meeting summary.
ETD summary D. Breton, S.Luitz, U.Marconi
Electronics for SuperB DAQ
ETD/Online Report D. Breton, U. Marconi, S. Luitz
CERN meeting report, and more … D. Breton
Trigger, DAQ and Online Closeout
Modelisation of SuperB Front-End Electronics
ETD meeting Electronic design for the barrel : Front end chip and TDC
SuperB FCTS/DAQ Protocol Proposal Tradeoffs
From SNATS to SCATS C. Beigbeder1, D. Breton1,F.Dulucq1, L. Leterrier2, J. Maalmi1, V. Tocut1, Ph. Vallerand3 1 : LAL Orsay, France (IN2P3 – CNRS) 2 :
PID meeting SCATS Status on front end design
ETD/Online Report D. Breton, U. Marconi, S. Luitz
ETD/Online Summary D. Breton, U. Marconi, S. Luitz
Christophe Beigbeder PID meeting
DCH FEE 28 chs DCH prototype FEE &
TELL1 A common data acquisition board for LHCb
Electronics, Trigger and DAQ for SuperB
Controlling a large CPU farm using industrial tools
ATLAS Local Trigger Processor
Trigger, DAQ, & Online: Perspectives on Electronics
L0 processor for NA62 Marian Krivda 1) , Cristina Lazzeroni 1) , Roman Lietava 1)2) 1) University of Birmingham, UK 2) Comenius University, Bratislava,
CMS EMU TRIGGER ELECTRONICS
Vertex 2005 November 7-11, 2005 Chuzenji Lake, Nikko, Japan
The LHCb Event Building Strategy
FPGA-based Time to Digital Converter and Data Acquisition system for High Energy Tagger of KLOE-2 experiment L. Iafolla1,4, A. Balla1, M. Beretta1, P.
Dominique Breton, Jihane Maalmi
Example of DAQ Trigger issues for the SoLID experiment
SVT detector electronics
ETD/Online Summary D. Breton, U. Marconi, S. Luitz
PID electronics for FDIRC (Focusing Detector of Internally Reflected Cherenkov light) and FTOF (Forward Time of Flight) Christophe Beigbeder and Dominique.
Tests Front-end card Status
Trigger Frequency Analysis & Busy/Veto on the SCT TIM
FIFO introduction.
SuperB FCTS/DAQ Protocol Proposal
PID meeting Mechanical implementation Electronics architecture
ETD parallel session March 18th 2010
SVT detector electronics
APV25, Clock and Trigger M.Friedl HEPHY Vienna.
Electronics, trigger and DAQ for SuperB.
Electronics for the PID
Electronics, Trigger and DAQ for SuperB: summary of the workshop.
U. Marconi, D. Breton, S. Luitz
Orsay Talks Christophe : General questions and future developments.
Fixed Latency Serial Links with FPGA-embedded SerDes for SuperB
Links and more … D. Breton
LNF PID session 1 December 1st 2009
Presentation transcript:

Modelisation of control of SuperB Common Front-End Electronics Christophe Beigbeder, Dominique Breton, Jihane Maalmi

Constraints concerning the Trigger Trigger window : Long latency (~ 5 µs ?) + jitter, due to machine and detector constraints, >> potentiallly large trigger window (1µs max) for data readout - The Trigger Window could be reduced depending on the sub-detector in order to optimize the dataflow: It should be fixed but programmable in the FEE Consecutive Triggers : - No minimum distance fixed at the architecture level. - Min ~ 100 ns (highly probable) due to the time precision of trigger. - No limitation fixed for their number in a burst. => Those constraints should only depend on the trigger system itself Problems : - Two consecutive physics events may reside within the trigger time window (overlapping). - For detectors with slow signals (like EMC barrel), physics events may sit on the queue of large background events (pile-up) FEE should be able to deal with close triggers (Overlapping), and send data in consequence (reducing the size of posterior events) Jihane Maalmi - CERN - November 09th 2009

General Architecture proposed for SuperB Electronics Jihane Maalmi - CERN - November 09th 2009

Simulation of synchronous model The FCTS sends a L1 trigger command optionally associated with a value corresponding to a time window. The FEE sends to the DAQ (ROM) the data contained inside a readout window, embedded in a frame including status, trigger tag and time, and length of data field. Trigger is defined by three parameters: - The latency: L (fixed in the FEE) - The readout window: W (fixed in the FEE and sub-detector dependent) - The time distance between triggers: D (measured in the FEE) Constraints : - No dead time in data processing - Triggers with overlapping windows - Dealing with going back in time (explained farther) - Triggers with optional variable width windows

Jihane Maalmi - CERN - November 09th 2009 Parameter Definition t0 L1 Trigger #0 Data to keep Data to dump L W Time M Baseline: latency pipeline always provides the oldest relevant data L: fixed latency W: window containing the relevant data for trigger #0 M: data sent to ROM Jihane Maalmi - CERN - November 09th 2009

Jihane Maalmi - CERN - November 09th 2009 Synchronous Model with a fixed readout window L : Latency W : Window D : Distance between triggers M : data sent to ROM Case 1 : D ≥ W Trigger #0 Trigger #1 D Non overlapping latencies with 2 different windows (green): no problem M1 = W L D ≥ L W W M0 M1 Trigger #0 Trigger #1 Overlapping latency trigger with overlapping windows: trickier … The window W1 is then shortened! M1 = W – (W – D)= D Case 2 : D < W D W M0 W M1 Jihane Maalmi - CERN - November 09th 2009

Jihane Maalmi - CERN - November 09th 2009 Synchronous Model : Dealing with Overlapping Case 1 : Dn ≥ W : Mn = W Case 2 : Dn < W : Mn = Dn Mn : amount of data to send to ROM for trigger #n Trigger input Counter Dn Dn ≥ W? Clock 56 MHz W Fifo “M” !empty M U X Mn FSM W end enable W Mn Counter Registers L All 56 MHz synchronous pipelined operations Start_flag, Mn to serializer Wr_en Data input Latency Pipeline EVT_BUFFER L Jihane Maalmi - CERN - November 09th 2009

Jihane Maalmi - CERN - November 09th 2009 Synchronous Model : Problem with Physics on a Bhabha’s tail Bhabha (not triggered) physics Trigger W’ L W M W’: extra window to go back in time Jihane Maalmi - CERN - November 09th 2009

All 56 MHz synchronous pipelined operations Synchronous Model : Fixed readout window with back jump Case 1 : Dn ≥ W : Mn = W ( + W’) Case 2 : Dn < W : Mn = Dn ( + W’) Mn : amount of data to send to ROM for trigger #n Go_back_in_time Go_back_in_time Trigger input Latency W’ Dn Counter Dn ≥ W? W Fifo “M” !empty M U X M U X Mn FSM W end A D enable W’ Mn Counter All 56 MHz synchronous pipelined operations registers L Start_flag, Mn, go_back W to serializer Wr_en Data input Latency Pipeline EVT_BUFFER L + W’ Jihane Maalmi - CERN - November 09th 2009

Jihane Maalmi - CERN - November 09th 2009 Synchronous Model : Physics on a Bhabha’s tail itself on physics tail … Bhabha (not triggered) They see me!! and me too! physics physics Trigger x Trigger W’ L W W M D D = W + W ’- x M = (W’-x) +W= D – W + W = D M = D … still works! Jihane Maalmi - CERN - November 09th 2009

Jihane Maalmi - CERN - November 09th 2009 Overview of common FEE Jihane Maalmi - CERN - November 09th 2009

Finite State Machine details rd_fifo = 0 en_counter = 0 St0 fifo_empty = 0 St1 rd_fifo = 1 en_counter = 0 end_counter = 1 & fifo_empty = 0 end_counter = 1 & fifo_empty = 1 St2 Outputs : rd_fifo en_counter Inputs : fifo_empty end_counter rd_fifo = 0 en_counter = 0 St3 rd_fifo = 0 en_counter = 1 end_counter = 0 & fifo_empty = 1 end_counter = 0 & fifo_empty = 0 rd_fifo = 1 en_counter = 1 St4 end_counter = 1 end_counter = 0 rd_fifo = 0 en_counter = 0 St7 end_counter = 0 St5 end_counter = 1 St6 rd_fifo = 0 en_counter = 1 rd_fifo = 0 en_counter = 1

Event Reconstruction (ROM or PC?) wr_add rd_add Wr_en Rd_en Data from FEE Dataout from RAM RAM Event Data Dataout to serialiser Start_flag rd_add Go_back New_Start_flag Manager mn New_Go_back wn New_mn wr_add New_wn Jihane Maalmi - CERN - November 09th 2009

Verilog behavioral simulation results (1) 1- General view 2- single trigger

Verilog behavioral simulation results (2) 3- Overlapping case 4- Go back in time case + overlapping windows

Verilog behavioral simulation results (3) 5- Overlapping burst

Conclusion This solutions seems to cover all the requirements. Assuming that the L1 central trigger processor is able to easily produce triggers with a “fixed” latency: - Like in Babar, the only necessary information to send to the FEE is the trigger tag (a few bits). - This solution permits dealing with event overlapping and backing up in time.