Modelisation of SuperB Front-End Electronics

Slides:



Advertisements
Similar presentations
O. Buchmueller, Imperial College, W. Smith, U. Wisconsin, UPO Meeting, July 6, 2012 Trigger Performance and Strategy Working Group Trigger Performance.
Advertisements

1 COMP541 Sequencing – III (Sequencing a Computer) Montek Singh April 9, 2007.
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.
NA62 Trigger Algorithm Trigger and DAQ meeting, 8th September 2011 Cristiano Santoni Mauro Piccini (INFN – Sezione di Perugia) NA62 collaboration meeting,
Adapting the LHC 1TFB electronic circuit to other equipments The candidates are: PS 1TFB PS TFB PS CBFB PSB TFB PSB 1TFB 1 Alfred Blas Working group meeting.
LHCb front-end electronics and its interface to the DAQ.
Trigger Meeting: Greg Iles5 March The APV Emulator (APVE) Task 1. –The APV25 has a 10 event buffer in de-convolution mode. –Readout of an event =
CERN, 18 december 2003Coincidence Matrix ASIC PRR Coincidence ASIC modifications E.Petrolo, R.Vari, S.Veneziano INFN-Rome.
A Super-TFC for a Super-LHCb (II) 1. S-TFC on xTCA – Mapping TFC on Marseille hardware 2. ECS+TFC relay in FE Interface 3. Protocol and commands for FE/BE.
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.
DHH at DESY Test Beam 2016 Igor Konorov TUM Physics Department E18 19-th DEPFET workshop May Kloster Seeon Overview: DHH system overview DHE/DHC.
November 16th 2011 Christophe Beigbeder 1 ETD meeting PID Integration.
The LHCb Calorimeter Triggers LAL Orsay and INFN Bologna.
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.
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
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
Defining serial links for SuperB
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
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
Status of the Beam Phase and Intensity Monitor for LHCb
Trigger, DAQ, & Online: Perspectives on Electronics
Modelisation of control of SuperB Common Front-End Electronics
Vertex 2005 November 7-11, 2005 Chuzenji Lake, Nikko, Japan
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
Impact of Serializer/Deserializer Architecture on ETD High-Speed Links
SVT detector electronics
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
SuperB FCTS/DAQ Protocol Proposal
PID meeting Mechanical implementation Electronics architecture
ETD parallel session March 18th 2010
SVT detector electronics
Electronics, trigger and DAQ for SuperB.
for the trigger subsystem working group:
Electronics for the PID
Electronics, Trigger and DAQ for SuperB: summary of the workshop.
Moving towards Elba and the TDR …
The LHCb Front-end Electronics System Status and Future Development
TELL1 A common data acquisition board for LHCb
U. Marconi, D. Breton, S. Luitz
Performing Security Auditing In Hardware
Orsay Talks Christophe : General questions and future developments.
Fixed Latency Serial Links with FPGA-embedded SerDes for SuperB
LNF PID session 1 December 1st 2009
Presentation transcript:

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

Moving from BABAR to SuperB We want the global system architecture to be synchronous The idea of directly addressing data in the ring buffer (asynchronous model) could have looked appealing but: it makes the system more complex and harder to commission it implies counters running synchronously at numerous different locations (images of the FEE have to run in the FCTS, potentially at frequencies below 56MHz) it doesn’t permit detecting easily a loss of synchronization Due to machine and detector constraints, trigger latency is rather long and has a certain jitter, this leading to a rather large (1µs) time window for data readout. Latency should be reduced thanks to modern FPGA’s Window could be reduced and detector dependent to optimize the dataflow It should be fixed but programmable in the FEE With the radiation, the simpler = the better for the FEE. No unnecessary complexity has to sit there A shorter L1 trigger latency would decrease the latency buffer size Dominique Breton, Jihane Maalmi - Orsay SuperB Workshop – February 16th 2009

Constraints for the FEE model There is no reason to fix a minimum distance between consecutive triggers at the architecture level (except very small values). Neither to specifically limit their number in a burst (this will come from dataflow). => those constraints should only depend on the trigger system itself. Due to the time precision of trigger primitives, a minimum distance of about 100ns between triggers is highly probable. This leads to two different types of 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 thus be able to deal with close triggers, and send data in consequence overlapping events will be treated in such a way as to simplify the FEE and provide full and clean events to HLT and DAQ. For this purpose, useful event data will only be sent once between FEE and ROM, and truncated event data will be restored in the ROM before events be further processed. this limits the bandwidth necessary, as well as the event_buffer size in the FEE Dominique Breton, Jihane Maalmi - Orsay SuperB Workshop – February 16th 2009

Possible SuperB electronics implementation FCTS Max jitter: ~ 10-15ps rms => links ~ 50-100 ps rms => physics & no phase spread 56MHz clock L1 accept Cal_strobe Multi-Gbits/s Optical links FEE Command decoder 56MHz clock Cal_strobe FE_reset FE_reset S E R D ROM Setup and control L1 accept DAQ L1 buffer Detector data Setup and control One 32-bit command word every clock cycle Subsystems control Dominique Breton, Jihane Maalmi - Orsay SuperB Workshop – February 16th 2009

Simulation of synchronous model for L1 buffer The FCTS sends a L1 trigger command optionally associated with a value corresponding to a time window. The FEE sends to the DAQ the data contained inside a readout window, embedded in a frame including status, trigger tag or 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 or event dependent) - The time distance between triggers: D (measured in the FEE) Constraints : - No dead time - Triggers with overlapping windows - Dealing with going back in time (explained farther) - Triggers with optional variable width windows

Parameter Definition for Synchronous Model 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 Dominique Breton, Jihane Maalmi - Orsay SuperB Workshop – February 16th 2009

Synchronous Model: fixed readout window (1) L : Latency W : Window D : Distance between triggers M : data sent to ROM Trigger #0 Trigger #1 Case 1 : D ≥ W D L D ≥ L W W M0 M1 Non overlapping latencies with 2 different windows (green): no problem M1 = W Trigger #0 Trigger #1 Or D Overlapping latency with non overlapping windows. Still straightforward. M1 = W D < L W M0 W M1 Trigger #0 Trigger #1 Case 2 : D < W D Overlapping latency trigger with overlapping windows: trickier … The window W1 is then shortened! M1 = W – (W – D)= D W M0 W M1 Dominique Breton, Jihane Maalmi - Orsay SuperB Workshop – February 16th 2009

Synchronous Model: Fixed readout window (2) 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 Dominique Breton, Jihane Maalmi - Orsay SuperB Workshop – February 16th 2009

Synchronous Model : Problem with Physics on a Bhabha’s tail (not triggered) physics Trigger W’ L W M W’: extra window to go back in time Dominique Breton, Jihane Maalmi - Orsay SuperB Workshop – February 16th 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’ Dominique Breton, Jihane Maalmi - Orsay SuperB Workshop – February 16th 2009

Synchronous Model : Physics on a Bhabha’s tail itself on physics tail … (not triggered) They saw 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! Dominique Breton, Jihane Maalmi - Orsay SuperB Workshop – February 16th 2009

Synchronous Model : variable readout window (1) L : Latency W : Window D : Distance between triggers M : data sent to ROM Trigger #0 Trigger #1 Case 1 : D ≥ W0 D L D ≥ L W0 W1 M0 M1 Non overlapping latencies with 2 different windows (green): no problem M1 = W1 Trigger #0 Trigger #1 Or D D < L Overlapping latency with non overlapping windows. Still straightforward. M1 = W1 W0 M0 W1 M1 Trigger #0 Trigger #1 Case 2 : D < W0 D Overlapping latency trigger with overlapping windows: trickier … The window W1 is then shortened! M1 = W1 – (W0 – D)= W1- W0 + D W0 M0 W1 M1 Dominique Breton, Jihane Maalmi - Orsay SuperB Workshop – February 16th 2009

All 56 MHz synchronous pipelined operations Case 1 : Dn ≥ Wn : Mn = Wn (+ W’) Case 2 : Dn < Wn : Mn = Dn + Wn – Wn-1 (+ W’) Synchronous Model : Variable readout window (2) Go_back_in_time Problem ! Mn could be negative … Trigger input Go_back_in_time Latency W’ Dn Wn Counter Dn ≥ Wn? Fifo “M” Wn !empty M U X M U X Wn Mn FSM S U B A D Dn+Wn-Wn-1 end Wn-Wn-1 A D D Wn-1 enable W’ Mn Counter All 56 MHz synchronous pipelined operations registers L Start_flag, Mn,Wn,go_back to serializer Data input Latency Pipeline Wr_en EVT_BUFFER L + W’ Dominique Breton, Jihane Maalmi - Orsay SuperB Workshop – February 16th 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 + start_flag … 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

FSM case 1: D ≥ W + 3 (standard case) rd_fifo = 0 en_counter = 0 St0 fifo_empty = 0 St1 rd_fifo = 1 en_counter = 0 end_counter = 1 & fifo_empty = 1 St2 rd_fifo = 0 en_counter = 0 St3 end_counter = 0 & fifo_empty = 1

FSM Case 2 : D = W + 2 St0 St1 St2 St3 fifo_empty = 0 rd_fifo = 1 en_counter = 0 end_counter = 1 & fifo_empty = 0 St2 rd_fifo = 0 en_counter = 0 St3 rd_fifo = 0 en_counter = 1 end_counter = 0 & fifo_empty = 1

FSM Case 3 : D = W + 1 St0 St1 St2 St3 St4 St7 St6 rd_fifo = 0 en_counter = 0 St0 fifo_empty = 0 St1 rd_fifo = 1 en_counter = 0 end_counter = 1 & fifo_empty = 1 St2 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 rd_fifo = 0 en_counter = 0 St7 St6 rd_fifo = 0 en_counter = 1

FSM Case 4 : D ≤ W ( overlapping) rd_fifo = 0 en_counter = 0 St0 The model works down to D = 2 clock cycles (36 ns) fifo_empty = 0 St1 rd_fifo = 1 en_counter = 0 end_counter = 1 & fifo_empty = 1 St2 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 = 0 rd_fifo = 0 en_counter = 0 end_counter = 0 St5 end_counter = 1 St6 rd_fifo = 0 en_counter = 1 rd_fifo = 0 en_counter = 1

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 5- Go back in time case + overlapping windows

Verilog behavioral simulation results (3) 6- Overlapping burst 7- Overlapping triggers both with go back in time!

Conclusion about synchronous model This model 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 information to send to the FEE is the trigger tag (a few bits). - Even with a fixed readout window, this model is able to deal with event overlapping and backing up in time. - It also permits working with a variable window, but it makes it more complex and difficult to understand and debug. Moreover, it will make the trigger system itself much more complex. So if the variable readout window is not necessary for physics, there is no reason to implement it.

System level implementation of synchronous model L1 central processor Only constraint : trigger latency is almost fixed (BABAR like) Inter-trigger minimum spacing linked to detector precision (142ns, 71ns ? ) All links : multi-Gbits/s optical links FCTS Production of trigger tag (56 bits) Synchronous Model runs autonomously at 56MHz Short command à la BABAR 104 bits still OK (4 clock periods => 72ns) ROM FEC DAQ Optimized bandwidth (with trigger tag and event length) Restores the event from the FEE information Dominique Breton, Jihane Maalmi - Orsay SuperB Workshop – February 16th 2009

Conclusion DAQ and trigger are based on BABAR experience but must evolve to cope with the new level of the requirements We want the system to be synchronous Experience of LHC experiments and others will help building the new design We started studying the synchronous front-end model for the L1 buffer A behavioral Verilog model has been built. It looks like it copes with all the requirements. Should be farther studied thanks to the software presented by S. Cavaliere in the next talk. Could the control and L1 buffer block be delivered as a mezzanine on the FEE ? Reminder: Clock and control distribution have to be rethought => we need to develop our own solution if possible (see talk of A. Aloisio) ROM and L1 trigger processors have to be redesigned => there is a real need for new collaborators to work on DAQ and L1 trigger hardware (there seems to be people interested therein … ) Dominique Breton, Jihane Maalmi - Orsay SuperB Workshop – February 16th 2009