Synchronization and trigger management

Slides:



Advertisements
Similar presentations
Digitizers for Physics Applications
Advertisements

Digital Pulse Processing Workshop
A scalable DAQ system using the DRS4 sampling chip H.Friederich 1, G.Davatz 1, U.Hartmann 2, A.Howard 1, H.Meyer 1, D.Murer 1, S.Ritt 2, N.Schlumpf 2 1.
VLV T – Workshop 2003 C. A. Nicolau – VLV T - Amsterdam 5-8 October 2003 A 200-MHz FPGA based PMT acquisition electronics for NEMO experiment Read Out.
Design and Performance of the 6 GS/s Waveform Digitizing Chip DRS4 Stefan Ritt Paul Scherrer Institute, Switzerland at 40 mW per channel.
Large Area, High Speed Photo-detectors Readout Jean-Francois Genat + On behalf and with the help of Herve Grabas +, Samuel Meehan +, Eric Oberla +, Fukun.
Investigation for Readout Electronics of WAC in LHAASO Shubin Liu University of Science & Technology of China April 22nd, 2009.
Multichannel Analyzers A multichannel pulse-height analyzer (MCA) consists of an ADC, a histogramming memory, and a visual display of the histogram recorded.
U niversity of S cience and T echnology of C hina Design for Distributed Scheme of WCDA Readout Electronics CAO Zhe University of Science and Technology.
3/7/05A. Semenov Batch-by-Batch Intensity Monitor 1 Two-Channel Batch by Batch Intensity Monitor for Main Injector BBI.
Development of a 20 GS/s Sampling Chip in 130nm CMOS Technology Jean-Francois Genat On behalf of Mircea Bogdan 1, Henry J. Frisch 1, Herve Grabas 3, Mary.
TOF Electronics Qi An Fast Electronics Lab, USTC Sept. 16~17, 2002.
Fast Waveform Digitizing in Radiation Detection using Switched Capacitor Arrays Stefan Ritt Paul Scherrer Institute, Switzerland.
Electronics for PS and LHC transformers Grzegorz Kasprowicz Supervisor: David Belohrad AB-BDI-PI Technical student report.
Digital Pulse Processing for Physics Applications
The GANDALF Multi-Channel Time-to-Digital Converter (TDC)  GANDALF module  TDC concepts  TDC implementation in the FPGA  measurements.
K.C.RAVINDRAN,GRAPES-3 EXPERIMENT,OOTY 1 Development of fast electronics for the GRAPES-3 experiment at Ooty K.C. RAVINDRAN On Behalf of GRAPES-3 Collaboration.
A Front End and Readout System for PET Overview: –Requirements –Block Diagram –Details William W. Moses Lawrence Berkeley National Laboratory Department.
Tools for Discovery CAEN solutions for Diamond Detectors June 24 th 2011, Viareggio Giuliano Mini.
Features of the new Alibava firmware: 1. Universal for laboratory use (readout of stand-alone detector via USB interface) and for the telescope readout.
Alexei SemenovGeneric Digitizer Generic Digitizer 10MHZ 16 bit 6U VME Board.
1 DAQ Update MEG Review Meeting, Feb. 17 th 2010.
Tools for Discovery Digital Pulse Processing for Physics Applications Ganil 2 February 2011 Carlo Tintori.
Time and amplitude calibration of the Baikal-GVD neutrino telescope Vladimir Aynutdinov, Bair Shaybonov for Baikal collaboration S Vladimir Aynutdinov,
CBM-TOF-FEE Jochen Frühauf, GSI Picosecond-TDC-Meeting.
Mai 31th 2011 Christophe Beigbeder PID meeting1 ETD meeting Test setup : Activities in Bari, Univ of Maryland and at Orsay Test setup : Activities in Bari,
PHOTOTUBE SCANNING SETUP AT THE UNIVERSITY OF MARYLAND Doug Roberts U of Maryland, College Park.
J.Maalmi, D.Breton – SuperB Workshop – Frascati – September 2010 Electronics for the two-bar test. D.Breton & J.Maalmi (LAL Orsay)
 13 Readout Electronics A First Look 28-Jan-2004.
UNI EN ISO 9001 CERT. N CAEN New Developments in Waveform Digitizers Matteo M. Angarano
MADEIRA Valencia report V. Stankova, C. Lacasta, V. Linhart Ljubljana meeting February 2009.
9530 T IMING C ONTROL U NIT Features TCU-1 Key Features 250ps timing resolution with < 50ps jitter 8 independent outputs with full individual programming.
Digital Acquisition: State of the Art and future prospects
"North American" Electronics
DAQ ACQUISITION FOR THE dE/dX DETECTOR
The Data Handling Hybrid
DCH FEE STATUS Level 1 Triggered Data Flow FEE Implementation &
Front-end Electronic for a neutrino telescope : a new ASIC SCOTT
vXS fPGA-based Time to Digital Converter (vfTDC)
V. Tocut, LAL/IN2P3 Orsay H. Lebbolo LPNHE/IN2P3 Paris
Jinfan Chang Experimental Physics Center , IHEP Feb 18 , 2011
LHC1 & COOP September 1995 Report
Update of test results for MCP time measurement with the USB WaveCatcher board D.Breton & J.Maalmi (LAL Orsay), E.Delagnes (CEA/IRFU)
Electronics for FTOF prototype: status of the 16-ch WaveCatcher board D.Breton & J.Maalmi (LAL Orsay) …
Timing and fast analog memories in Saclay
L0TP studies Clock and distribution Scheme Busy handling
Designing electronics for a TOF Forward PID for SuperB D. Breton & J
96-channel, 10-bit, 20 MSPS ADC board with Gb Ethernet optical output
ETD meeting Electronic design for the barrel : Front end chip and TDC
Update of time measurement results with the USB WaveCatcher board & Electronics for the DIRC-like TOF prototype at SLAC D.Breton , L.Burmistov,
DCH FEE 28 chs DCH prototype FEE &
PADME L0 Trigger Processor
CoBo - Different Boundaries & Different Options of
MCPPMT test bench at LAL D. Breton, L. Burmistov, J. Maalmi, V
Ongoing R&D in Orsay/Saclay on ps time measurement: a USB-powered 2-channel 3.2GS/s 12-bit digitizer D.Breton (LAL Orsay), E.Delagnes (CEA/IRFU) Séminaire.
FIT Front End Electronics & Readout
Using ultra fast analog memories for fast photo-detector readout D
Hellenic Open University
A First Look J. Pilcher 12-Mar-2004
Possible Upgrades ToF readout Trigger Forward tracking
Front-end electronic system for large area photomultipliers readout
Christophe Beigbeder/ ETD PID meeting
Commodity Flash ADC-FPGA Based Electronics for an
PID electronics for FDIRC (Focusing Detector of Internally Reflected Cherenkov light) and FTOF (Forward Time of Flight) Christophe Beigbeder and Dominique.
BESIII EMC electronics
Stefan Ritt Paul Scherrer Institute, Switzerland
Read Out and Data Transmission Working Group
The Trigger System Marco Grassi INFN - Pisa
TOF read-out for high resolution timing
for BESIII MDC electronics Huayi Sheng
Presentation transcript:

Synchronization and trigger management CAEN V1743, DT5743, N6743 digitizers: Synchronization and trigger management Carlo Tintori (c.tintori@caen.it) WaveCatcher and SAMPIC Workshop at LAL - February 7th -8th, 2018

Traditional readout system Many analog modules and cables A/D conversion at end of chain Detector Preamp Shaping Amplif Peak Sensing ADC Pulse Height Energy Spectrum (MCA) Delay QDC Charge (Integral) Analog Digital Gate,Trg, … Timing Filter SCA1 Logic Veto Coinc Scaler MCS/Rates Counts SCA2 TDC Rise Time PSD Manual Settings TDC Arrival Time TAC/TOF Tref

Digital Readout: all-in-one early A/D conversion FPGA Detector Preamp FADC streaming Shaping BLR Peak Sensing 01100101 PHA Energy Spectrum (MCA) Delay BLR Integral QDC Double Integral Fast/Slow PSD Timing Filter Logic Discr GPIOs Scaler Counts MCS/Rates TDC TAC/TOF Sync clock Time Software Settings

x743 digitizers: technical specifications Switched Capacitor Array digitizer based on SAMLONG chip (developed at LAL) Three form factors: VME (16 channels), Desktop and NIM (8 channels) 3.2, 1.6, 0.8, 0.4 GS/s, 12 bit resolution, max. 1024 samples per trigger 2.5 Vpp input dynamic range (MCX connector, single ended, 50 ohm) 125 µs dead time (conversion time) Multi-Event Memory buffer: up to 7 events QDC mode (readout of gated integrals, no waveforms, low throughput) Individual discriminators in hardware (low trigger latency) Readout interfaces VME (up to 160 MB/s in 2eSST mode) USB 2.0 (30 MB/s) CONET daisy chainable optical link: 80 MB/s per link. One A3818 PCIe card (4 links) can read up to 32 digitizers (512 channels) with an aggregate bandwidth of 320 MB/s

Switched Capacitor Arrays SCA vs Flash ADC Switched Capacitor Arrays Flash ADCs PROs CONs High density (16 or 32 channels in a VME board) Dead Time (typ. 100-200 µs) No dead time in the acquisition Power consumption High sampling rate (> 1 GS/s) Low depth (e.g. 1024 points = 300 ns) Continuous data acquisition and processing Cost per channel Low Power Need amplitude and timing calibration Good linearity and ultra low jitter Huge data throughput to manage Low cost per channel Not independent channel triggering Independent channels

V1743 architecture 4 mezzanines 50 MHz 4 channels PLL CLK-IN CLK-OUT Sclk FPGA Readout Controller SAMLONG (1/2) CONET, USB, VME Local Bus samples ADC Inputs Other Boards Stop AcqTrg Trg/Sync Logic ChTrg PairTrgs External Trg Logic (e.g. V2495) Discr Threshold DAC Other Boards LVDS I/Os TRG-IN Other Boards TRG-OUT SYNC/RUN

Synchronization (clocks) GOAL: have the same sampling clock (e.g. 3.2 GHz) in all channels On-board programmable PLL, locking either the internal oscillator (50 MHz) or any external frequency, generates clocks for the SAMLONG chips (200 MHz) and for the FPGAs (100 MHz) 3.2 GHz produced inside SAMLONG from the 200 MHz reference clock VME models have front panel clock IN and OUT (LVDS). Daisy-Chain clock distribution: the 1st board is the clock master (using either internal or external clock), the 2nd board takes the clock-out of the 1st one and so on. The clock skew due to cables and ports can be compensated by a programmable delay in the PLL

Synchronization (time stamps) GOAL: have the same zero for the time stamp T=0 @ Start of Run: propagated in daisy chain via front panel I/Os Start sent to the 1st board of the chain; can be either a HW signal feeding SIN or a SW command Propagation delay (skew) compensated in firmware by adding a given number of clock cycles NOTE: parallel fan-out for the sync signal has no skew but is prone to 1 clock cycle uncertainty (jitter) in the time stamp except for the unlikely case where the sync signal is synchronous with the digitizer clock and the setup/hold time constraints are met

Synchronization (triggers) GOAL: propagate and combine self-triggers to have the same global trigger for the acquisition Individual discriminator (leading edge) on each channel Channel self-triggers combined 2 by 2 (AND/OR) to make pair-wise triggers 8 pair triggers propagated to main trigger logic at board level (16 channels => 8 triggers) Pair triggers can be used to generate a global NIM/TTL TrgOut signal (e.g. OR of 16 channels) or propagated to an external logic via LVDS I/Os (8 output lines) The acquisition trigger for the 16 channels can be internal (from self-triggers) or external (from TRGIN). All boards/channels acquire simultaneously. Veto/busy logic prevents the loss of synchronization in the event data acquisition

Synchronization (data) GOAL: keep event data aligned across boards Each trigger produces a data packet that is saved into the channel memory buffer One board asserts the Busy signal (LVDS) when its memory buffer is almost full The busy signal is propagated in daisy chain to the last board, then fed back into the veto input of the first board or used to inhibit the global trigger logic The Veto signal is propagated in daisy chain from the first to the last board Propagation time of busy/veto signals smaller than the dead time; implicit overrun protection

Synchronization Ex. 1: Common External Trigger Triggering: Common External Trigger. All channels trigger at the same time. Cabling: ClkIn-ClkOut daisy-chain; 1st board clock master (either int or ext clk) External trigger feeds TRGIN of the boards in parallel (fan-out); daisy- chain is possible but trigger delay can be an issue Daisy chained Run signal to start/stop the acquisition and reset the time stamp Start of Run by SW command or by SIN in 1st board Daisy chained BUSY; last board inhibits trigger source

Synchronization Ex. 2: Trigger-less Acquisition Triggering: Common Trigger = OR of self-triggers (one channel triggers all). No external Trg. Cabling: ClkIn-ClkOut daisy-chain; 1st board clock master (either int or ext clk) TrgOut[n] (internal OR of self- triggers of board n) feeding an external OR. Fan-out feeding Trg-In[n] Daisy chained Run signal to start/stop the acquisition and reset the time stamp Start of Run by SW command or by SIN in 1st board Daisy chained Busy; last board feeds VetoIn of 1st board (daisy chained Veto) Reproduction, transfer, distribution of part or all of the contents in this document in any form without prior written permission of CAEN S.p.A. is prohibited

Synchronization Ex. 3: coincidences Triggering: external logic looking for coincidences between channels Cabling: ClkIn-ClkOut daisy-chain; 1st board clock master (either int or ext clk) Pair TrgOuts (8 per board) propagated to the V2495 through LVDS outputs V2495 generates the acquisition trigger and feeds TRGINs (fan-out) Daisy chained Run signal to start/stop the acquisition and reset the time stamp Start of Run by SW command or by V2495 through SIN in 1st board Daisy chained Busy; last board uses TrgOut as Busy output to inhibit the trigger in the V2495 Reproduction, transfer, distribution of part or all of the contents in this document in any form without prior written permission of CAEN S.p.A. is prohibited Reproduction, transfer, distribution of part or all of the contents in this document in any form without prior written permission of CAEN S.p.A. is prohibited

An example of 256 channel readout system

Digital CFD B A CLK INPUT digital CFD: same principle as analog CFDN+1 = f * SN - SN-D f = Fraction, D = delay COARSE TSTAMP = TCLK * Clock Counter FINE TSTAMP = TCLK * B/(B-A) Linear interpolation: good results if there are at least 3/5 points on the rising edge. If not, the "ZC correction algorithm" can be applied to improve the timing resolution ZC FINE TSTAMP B CFD COARSE TSTAMP A TRIGGER

Test Setup Test n 1: Pulse generators Agilent 81110A and Tektronix AFG3252 to generate pulses with different rising edges (1, 2.5, 5, 10 and 20 ns) Passive splitter + cable delay to make a start-stop measurement (self timing) HP Step Attenuator (10, 20, 30, 40 dB) on the stop signal to measure the walk Test n 2: Self-timing of LaBr3 and BaF2 detectors Single detector output, passive splitter and cable delay (~11 ns) BaF2: 1” mod. Scionix 38A38/2M-E1-BAF-X-N (PMT: Hamamatsu H3378-51) LaBr3: 2” mod. Saint Gobain Brilliance 380 (PMT: R6231) 22Na source ROI @ 511 keV peak Test n 3: TOF between two BaF2 detectors Two BaF2 detectors (same mod. as test 2) Gamma-gamma coincidence Digitizer: DT5730: 500 MS/s, 14 bit Flash ADC On-line digital CFD in FPGA (no waveform readout)

Start-Stop Resolution Digital CFD: results Test Rise Time Amplitude ZC corr Start-Stop Resolution RMS FWHM Pulse Generator 1 ns 450 mV 9.5 ps 22 ps 5 ns 10.1 ps 24 ps 20 ns 1.9 ps 4.5 ps BaF2 to BaF2 1.3 ns 130 mV 120 ps 280 ps 538 ps BaF2 to LaBr3 1.3/15 ns 130/200 mV 186 ps 437 ps NaI to NaI 100 mV 1.02 ns 2.40 ns

Digital CFD: RMS vs Amplitude

Digital CFD: Walk vs Amplitude