NA62 Trigger Algorithm Trigger and DAQ meeting, 8th September 2011 Cristiano Santoni Mauro Piccini (INFN – Sezione di Perugia) NA62 collaboration meeting,

Slides:



Advertisements
Similar presentations
TDC130: High performance Time to Digital Converter in 130 nm
Advertisements

Overview Part 2 – Combinational Logic Functions and functional blocks
JLab High Resolution TDC Hall D Electronics Review (7/03) - Ed Jastrzembski.
Henry Hexmoor1 C hapter 4 Henry Hexmoor-- SIUC Rudimentary Logic functions: Value fixing Transferring Inverting.
Track Trigger Designs for Phase II Ulrich Heintz (Brown University) for U.H., M. Narain (Brown U) M. Johnson, R. Lipton (Fermilab) E. Hazen, S.X. Wu, (Boston.
Lecture 3: Parallel Algorithm Design
LAV trigger primitives Francesco Gonnella Photon-Veto Working Group CERN – 09/12/2014.
On-Chip Processing for the Wave Union TDC Implemented in FPGA
Internal Logic Analyzer Final presentation-part B
Summary of Research on Time-to-Digital Converters Summer Exchange Program 2008 Istituto Nazionale di Fisica Nucleare Rome, Italy Creative Studies Honors.
LAV firmware status Francesco Gonnella Mauro Raggi 10 th October 2012 TDAQ Working Group Meeting.
LAV contribution to the NA62 trigger Mauro Raggi, LNF ONLINE WG CERN 9/2/2011.
Construction and First Results of a Cosmic Ray Telescope M. P. Belhorn University of Cincinnati 12 June 2008.
1 Lecture 28 Timing Analysis. 2 Overview °Circuits do not respond instantaneously to input changes °Predictable delay in transferring inputs to outputs.
24 September 2002Paul Dauncey1 Trigger issues for the CALICE beam test Paul Dauncey Imperial College London, UK.
From Sequences of Dependent Instructions to Functions An Approach for Improving Performance without ILP or Speculation Ben Rudzyn.
Design and First Results of a Cosmic Ray Telescope For Use In Testing a Focusing DIRC M. P. Belhorn University of Cincinnati The BELLE group at the University.
02/02/20091 Logic devices can be classified into two broad categories Fixed Programmable Programmable Logic Device Introduction Lecture Notes – Lab 2.
Hardware-based Load Generation for Testing Servers Lorenzo Orecchia Madhur Tulsiani CS 252 Spring 2006 Final Project Presentation May 1, 2006.
Y. Karadzhov MICE Video Conference Thu April 9 Slide 1 Absolute Time Calibration Method General description of the TOF DAQ setup For the TOF Data Acquisition.
Testing an individual module
LAV firmware status Francesco Gonnella Mauro Raggi 23 rd May 2012 TDAQ Working Group Meeting.
Analysis of Simulation Results Andy Wang CIS Computer Systems Performance Analysis.
October 8, 2013Computer Vision Lecture 11: The Hough Transform 1 Fitting Curve Models to Edges Most contours can be well described by combining several.
TOF Electronics Qi An Fast Electronics Lab, USTC Sept. 16~17, 2002.
MB, 9/8/041 Introduction to TDC-II and Address Map Mircea Bogdan (UC)
Emlyn Corrin, DPNC, University of Geneva EUDAQ Status of the EUDET JRA1 DAQ software Emlyn Corrin, University of Geneva 1.
Trigger design engineering tools. Data flow analysis Data flow analysis through the entire Trigger Processor allow us to refine the optimal architecture.
An Asynchronous Level-1 Tracking Trigger for Future LHC Detector Upgrades A. Madorsky, D. Acosta University of Florida/Physics, POB , Gainesville,
PERFORMANCE OF THE MACRO LIMITED STREAMER TUBES IN DRIFT MODE FOR MEASUREMENTS OF MUON ENERGY - Use of the MACRO limited streamer tubes in drift mode -Use.
Chapter 8 Problems Prof. Sin-Min Lee Department of Mathematics and Computer Science.
TOF Meeting, 9 December 2009, CERN Chiara Zampolli for the ALICE-TOF.
1 “Fast FPGA-based trigger and data acquisition system for the CERN experiment NA62: architecture and algorithms” Authors G. Collazuol(a), S. Galeotti(b),
Parallel and Distributed Simulation Memory Management & Other Optimistic Protocols.
RISC By Ryan Aldana. Agenda Brief Overview of RISC and CISC Features of RISC Instruction Pipeline Register Windowing and renaming Data Conflicts Branch.
A Front End and Readout System for PET Overview: –Requirements –Block Diagram –Details William W. Moses Lawrence Berkeley National Laboratory Department.
14/6/2000 End Cap Muon Trigger Review at CERN 1 Muon Track Trigger Processing on Slave and Hi-pT Boards C.Fukunaga/Tokyo Metropolitan University TGC electronics.
NA62 Gigatracker Working Group Meeting 23 March 2010 Massimiliano Fiorini CERN.
Testing of Latch-TDC Da-Shung Su Jia-Ye Chen, Hsi-Hung Yao, Su-Yin Wang, Ting-Hua Chang, Wen-Chen Chang 2011/07/13.
AMB HW LOW LEVEL SIMULATION VS HW OUTPUT G. Volpi, INFN Pisa.
Time Parallel Simulations I Problem-Specific Approach to Create Massively Parallel Simulations.
TELL1 high rate Birmingham Karim Massri University of Birmingham CEDAR WG Meeting – CERN – 26/03/2012.
Configuration Mapper Sonja Vrcic Socorro,
3D Event reconstruction in ArgoNeuT Maddalena Antonello and Ornella Palamara 11 gennaio 20161M.Antonello - INFN, LNGS.
Possible solutions for the future CHOD Mauro Raggi LNF MUV and CHOD CERN 13/07/
Physics 335 project update Anton Kapliy April 2007.
1 Level 1 Pre Processor and Interface L1PPI Guido Haefeli L1 Review 14. June 2002.
LAV firmware status Francesco Gonnella Mauro Raggi 28 th March 2012 TDAQ Working Group Meeting.
LHCb upgrade Workshop, Oxford, Xavier Gremaud (EPFL, Switzerland)
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.
LAV L0 trigger primitives Mauro Raggi, Francesco Gonnella TDAQ Working Group.
Many LAV stations in digital trigger Francesco Gonnella Photon-Veto Working Group CERN – 03/02/2015.
Update on works with SiPMs at Pisa Matteo Morrocchi.
Sumary of the LKr WG R. Fantechi 31/8/2012. SLM readout restart First goal – Test the same configuration as in 2010 (rack TS) – All old power supplies.
Design of the 64-channel ASIC: update DEI - Politecnico di Bari and INFN - Sezione di Bari Meeting INSIDE, December 18, 2014, Roma Outline  Proposed solution.
V.Duk, INFN Perugia1 CHOD TDAQ status and rates Viacheslav Duk, INFN Perugia On behalf of the CHOD working group.
Buffering Techniques Greg Stitt ECE Department University of Florida.
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,
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.
Gianluca Lamanna TDAQ WG meeting. CHOD crossing point two slabs The CHOD offline time resolution can be obtained online exploiting hit position.
Level-zero trigger status
Digital readout architecture for Velopix
G.Lamanna (CERN) NA62 Collaboration Meeting TDAQ-WG
Cache Memory Presentation I
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
Memory System Performance Chapter 3
ETD parallel session March 18th 2010
APV25, Clock and Trigger M.Friedl HEPHY Vienna.
Presentation transcript:

NA62 Trigger Algorithm Trigger and DAQ meeting, 8th September 2011 Cristiano Santoni Mauro Piccini (INFN – Sezione di Perugia) NA62 collaboration meeting, Mainz 6-9 September 2011 Trigger Algorithm

Introduction NA62 collaboration meeting, 8th September 2011Trigger Algorithm To re-use the NA48 hodoscope for the 2012 run we need a new read-out, TEL62 will be the core of the new system and already at L0 this could allow: Correction for the impact point position of L0 time produced by CHOD - O(1ns) Slewing correction, given the fixed threshold of the NINO chip - O(100ps) Word type

Data Flow NA62 collaboration meeting, 8th September 2011Trigger Algorithm Two different algorithms to be implemented: Slewing correction: we need both leading and trailing edges measured from TDC Impact point: the trailing will only be considered initially to validate the hit and to allow the use of the leading time; today we will focus on this algorithm, so trailings will not be considered here. The TDC data must be properly grouped in order to identify hits coming from the same physics event (grouping is limited by the available information at this level) Since the algorithm combinatory will strongly influence the computation time, a maximum number of tracks per quadrant (3 ?) and a maximum number of tracks per event (5 ?) will be considered If these maxima will be exceeded only the average time of the hits will be computed and a word (“too complex” or “high multiplicity”) could be sent to the L0 processor

Sub-bin Creation NA62 collaboration meeting, 8th September 2011Trigger Algorithm t Timestamp n n-1 n+1 T max 2T max hit Already included in an event of the previous bin In each bin, corresponding to a clock period (40 MHz  25 ns), the hits not already included in an event will be grouped considering a T MAX (5 ns ?) time window. If between T MAX and 2T MAX other hits will be present, time differences will be computed and the hits will be “properly” grouped 25 ns

from TDC2 Data Reorganization Trigger and DAQ meeting, 8th September 2011Trigger Algorithm from TDC0 from TDC1 from TDC3 from TDC1 from TDC0 from TDC3 from TDC0 from TDC1 from TDC0 from TDC3 from TDC2 from TDC3 Data from Vertical Plane Data from Horizontal Plane In this step data are divided into two groups according to the plane they refer to. In order to get the belonging plane, we have to test the bits 5-8: TDC0 and TDC1 refer to the vertical plane while TDC2 and TDC3 refer to the horizontal one from TDC0 from TDC1 from TDC2 from TDC0 from TDC3 5ns Sub-bin

Pairs Generation for Data Correction Trigger and DAQ meeting, 8th September 2011Trigger Algorithm Now we want to correct the measured times from the TDCs taking into account the delay introduced by the scintillators. To do so we have to consider any pairs between an element belonging to the vertical plane and another from the horizontal one (taking care that they correspond to the same quadrant). We don’t have enough information to know where the particle is exactly passed so what we do is to generate any possible pair introducing fake coincidences.

Correction Array Addressing Trigger and DAQ meeting, 8th September 2011Trigger Algorithm To correct data, we use an array (LUT), addressed by the words that make up the pair. Two bits coming from the vertical plane word identify the quadrant and then the four LSBs of each hit identify the position of the coincidence. The LUT contains 12-bit words of which the six MSBs are the correction for the vertical plane time and the six LSBs are the correction for the horizontal plane time (both in hundreds of ps) TDC0 – Channel TDC2 – Channel xxxxxx xxxxxx Correction : 2.2ns V. time 1.8ns H. time Q V. ch H. ch

Correction Array as Spatial mask Trigger and DAQ meeting, 8th September 2011Trigger Algorithm Since the scintillators have different length, there are some impossible channel combinations (for example channel 16 vertical with channel 1 horizontal). To discard these fake tracks, instead of create a complex condition, we simply insert at the corresponding array row a particular word that “corrects” of 6,4ns only the vertical plane word. Doing so these pairs will be discarded by the minimum- finding logic. Using this technique we can also specify a spatial mask to exclude an instrumented area simply by editing the array configuration file (see S.Balev talk on 13 th July, HAC/MUV WG)

Discovering the real tracks Trigger and DAQ meeting, 8th September 2011Trigger Algorithm Now we have to choose the pairs of data generated from a physics event and discard those generated by noise and fake coincidences. After all the data are corrected by the LUT, we select the pair with the minimum temporal difference, deleting every other pair containing at least one of these two hits. We repeat these two steps until at least one of the termination condition, that we are going to see, will be met H. 12 V. 4 H. 15 V. 5 MIN Too much delay => it’s not a track! Real track t

Termination Condition Trigger and DAQ meeting, 8th September 2011Trigger Algorithm The operations presented in the previous slide are repeated until one of these conditions is satisfied: 1) There are max_quadr_evn (parameter – 3?) events on the same quadrant 2) There is a total of max_tot_evn (parameter – 5?) events 3) The selected pair has a temporal distance greater than max_delta_t (parameter – 2ns?) t Max_delta_t 1 23

Trigger and DAQ meeting, 8th September 2011Trigger Algorithm The complexity of the operations, and then of logic that implements them, slows down the frequency at which the design can work and then the processing rate. To speed up the processing rate we have two non-exclusive ways: 1)To introduce a pipeline architecture 2)To generate more instances of the trigger logic to enable parallel processing Performance Improvement Proc. Block 1 Proc. Block 2 input output Buffer 1 input Trigger Logic Trigger Logic output Proc. Block N Buffer N-1 … 2) 1)

Performance Improvement: Pipeline Trigger and DAQ meeting, 8th September 2011Trigger Algorithm Introducing a pipeline architecture, we are able to reduce the processing time from the sum of the processing times of each step of the algorithm to the maximum of them. To apply this type of architecture, the steps of our algorithm must not to have any feedback, so each step works only on data produced from the previous step and produces data only for the next step. Any processed data cannot be reassessed afterwards. from Binning Logic 5ns Bin Generation Buffer Plane-based Sorting Buffer Pairs Generation Buffer Pairs Correction Buffer Iterative Minimum Finding Output

Trigger and DAQ meeting, 8th September 2011Trigger Algorithm Another way to improve the processing rate is to generate more than one instance of the trigger logic. The restriction for such architecture is that every instance of logic have to operate on an independent set of data. In our specific case, we can do better than simply “copy and paste” logic, we can create different types of logic based on different inputs. For example we can create a high performance algorithm for sub-bin containing only two words (one track) Performance Improvement: Parallelization # of word? 2-word-optimized trigger logic Generic trigger logic 3-word-optimized trigger logic Output merge

Firmware simulation NA62 collaboration meeting, 8th September 2011Trigger Algorithm Once the firmware will be completed it will be debugged first by using the logic simulation to ensure the logic correctness and afterwards using a timing simulation Input data will be produced taking into account event rate and event multiplicity extracted directly from the Geant4 simulation of the beam and the detector Hit position will also be considered according to Geant4 simulation

Conclusion NA62 collaboration meeting, 8th September 2011Trigger Algorithm At this moment we have implemented a first simplified version of the algorithm which compute the minimum temporal difference among the possible tracks in a 25ns bin. This first version has been tested using logic simulation and it works fine. For the simulation software tools have been already created to input data to the algorithm. Such tools generate input file from any given distribution of events and noise. Our aims is to have at least the logic simulation of the complete algorithm done and running for the dicember meeting.