future perspective of digital daq

25
Yuri Venturini ([email protected]) Workshop IX on Streaming Readout Dec 8-10th, 2021 Future perspective of Digital DAQ

Upload: others

Post on 23-Jun-2022

2 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Future perspective of Digital DAQ

Yuri Venturini ([email protected])

Workshop IX on Streaming Readout – Dec 8-10th, 2021

Future perspective of Digital DAQ

Page 2: Future perspective of Digital DAQ

Introduction

Streaming readout:

➢Continuous downstream A/D conversion → Hardware: flash ADC, ASIC-based

➢High throughput data transfer → Which communication protocols?

➢Buffering and data selection → Which online analysis?

➢Event building and DAQ → Integration with which software tools?

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. 2

Page 3: Future perspective of Digital DAQ

New hardware to be flexible

CAEN always drives to develop new hardware and to improve its products with new

firmware and software tools.

• more channels for denser systems

• faster communication links → high sustainable rate for downstream flow

• from MB to GB on-board memory → storage, middleware running onboard, complex

online analysis

• improved FPGA with embedded ARM and OpenFPGA → customizable data processing and

selection

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. 3

Page 4: Future perspective of Digital DAQ

2740/2745 Digitizer

64 channel, 125 MS/s, 16 - bit waveform digitizer

• Good fit for neutrino and dark matter experiments

• Selected by DarkSide and Numen experiments (SiC,

Si-strips, GEMs, Scintillators)

• Dynamics: V2740 → 2 Vpp fixed , V2745 → 40mV ÷ 4Vpp

• Multiple readout interfaces

• Open FPGA to provide flexibility in the pulse

processing algorithm

• DPP functionalities: PHA, QDC, PSD, CFD, Zero

Suppression

• Embedded Linux ARM

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. 4

Page 5: Future perspective of Digital DAQ

The Digitizer architecture

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. 5

Page 6: Future perspective of Digital DAQ

Focus on the embedded Virtual Machine

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. 6

Page 7: Future perspective of Digital DAQ

Examples of Applications

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. 7

Page 8: Future perspective of Digital DAQ

Readout interfaces

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. 8

• 10 Gb Ethernet: Bandwidth = ~280 MB/s

• 1 Gb Ethernet: Bandwidth = ~100 MB/s

• USB 3.0: Bandwidth = ~280 MB/s

• USB 2.0: Bandwidth = ~30 MB/s

• PCIe: via optical links, daisy chainable.

Aggregate Bandwidth = ~320 MB/s

• VME: legacy from the past… being dismissed USB 3.0

Page 9: Future perspective of Digital DAQ

CONET2/PCIe readout

µTCA/PXIe form factor for A5818.

• Cooling

• Size

• PSU quality

• Sophisticated remote monitoring and

control

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. 9

• Backplane free policy: VME is kept for power only

• Arrangement in Desktop form factor easily

• A5818 into PCIe slot, but possibility of expansion to

uTCA/PXIe

A5818

From VME/VME64x to PCIe

PC

From VME/VME64x to uTCA/PXIe

Page 10: Future perspective of Digital DAQ

Multiboard Readout – Ethernet vs. CONET2

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.

VME Crate

Eth switch

1 GbE (copper)

2 x 10 GbE

(fiber)

PCIe 4 x CONET

(fiber)

256 channels(4 brd x 64 ch)

256 channels(4 brd x 64 ch)

256 channels(4 brd x 64 ch)

256 channels(4 brd x 64 ch)

1 CONET link reads up to 8 boards

A5818

Page 11: Future perspective of Digital DAQ

Ext.

system

Digitizers Synchronization

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. 11

Ethernet WR Ready

CLK+SYNC

Additional LVDS I/Os for

trigger sharing, busy ,

veto and global

timestamp

T0T0

Clock and Sync

distributed over a

single cable –

Alternatively over

the VME backplane

user-defined pins

Synchronization of

a CAEN Digitizer

multiboard system

Synchronization with

external systems

WR SWITCH

Page 12: Future perspective of Digital DAQ

Open FPGA

ADCs

DISCRTRIGGER

LOGICI/Os

ACQUISITIONLOGIC

OUTPUTFIFOs

DDR

MEMCTRL

Registers

ARM

Readout

Slow Ctrl

Host PC

DDR

FPGA Zync US+

PSPL

• User can access the yellow boxes of the PL to customize Acquisition Logic, Discrimination and

Trigger Logic to build his own Digital Pulse Processing

• FPGA programming:

• Firmware Development Kit (FDK) , made of a firmware template and VHDL examples –

released upon request to skilled users

• SCI-Compiler

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. 12

Page 13: Future perspective of Digital DAQ

Open FPGA : alternative for transitional R&D

Drivers

Libraries

Application example code

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. 13

Page 14: Future perspective of Digital DAQ

SCI-Compiler: 100+ virtual blocks for physics

I/O INTERFACE

Control Digital and Analog Input/Output of the hardware

devices

LOGIC GATE

Coincidence logic, booleanfunctions, Gate and Delay,

counters, timers, scaler, frequency meters, array of bit

manipulation

TDC AND TIMESTAMPING

Timestamp events with 0.5 ns resolution and calculate ToT. Digital CFD increase 10x the timing resolution on analog

signals

TRAPEZOIDAL FILTER

Trapezoidal filter allows to achieve the optimum resolution

on HpGE and PMT detectors

PSD

Pulse Shape Discrimination algorithm to allows for particle

identification.

ONLINE SPECTRUM

Energy/Time Spectrum can be calculated onboard.

IMAGING

Online image processing capabilities.

ANALOG SHAPER

High pass and Low pass real-time filter can be combined to emulate a traditional analog

shaping chain.

OSCILLOSCOPE

Probe signals of each acquiring channel, even in the middle of

the processing chain.

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. 14

Page 15: Future perspective of Digital DAQ

FERS-5200

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. 15

1/10 Gb/s Eth, USB 3.0

100 Mb/s Eth, USB 2.0

4.25 Gb/s TDlink

Analog Signals

• Modular readout of large arrays of detectors

• Compact and dense FERS units based on ASICs: front-end + digital

• Dedicated protocol developed for distributed systems

• Easy-scalability of systems through daisy-chain of fibers1 FERS unit = 64/128 ch1 Concentrator = 8k/16k channels

• Stand Alone version for Evaluation => scale up to 10k/100k channels with same electronics

Page 16: Future perspective of Digital DAQ

Synergies

Off-the-shelf front-end ASIC for

scientific instrumentation.

Readout of SiPMs, Si strips, GEMs, PIN

diodes, microMegas, MA-PMTs, …….

for spectroscopy, PSD, timing

applications.

Custom solutions for HEP experiments,

with expertise in rad-hard design

Design of high-end readout electronics

and power supply for HEP and NP

We distribute Weeroc worldwide and

Nalu Scientific in the U.S. for the

scientific community.

Integration expertise – FERS-5200 and

others

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. 16

Page 17: Future perspective of Digital DAQ

FERS-5200 flexibility

A compact and flexible architecture supports a wide range of potential applications:

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. 17

DETECTOR SPECIFIC

- Weeroc CITIROC - SiPMs

- CERN picoTDC – ps timing

- Weeroc GEMROC - GEMs

COMMON INFRASTRUCTURE

Same infrastructure, different Front-Ends by quick integration of different ASICs

Micromegas, GEMs

Silicon Strip Detectors

SiPM

Multi- wire chambers

In the pipeline

Page 18: Future perspective of Digital DAQ

FERScb[0]

0_0_0 0_0_1 0_0_2 0_0_3

0_1_0 0_1_1 0_1_2 0_1_3

0_2_0 0_2_1 0_2_2 0_2_3

0_3_0 0_3_1

0_1_4 0_1_5

0_0

0_1

0_2

0_3

0

1_0_0 1_0_1 1_0_2 1_0_3

1_1_0 1_1_1 1_1_2 1_1_3

1_2_0 1_2_1 1_2_2 1_2_3

1_0

1_1

1_2

1_3

1

1_3_0

FERScb[1]

TDlink[0,0]

TDlink[0,1]

TDlink[0,2]

TDlink[0,3]

TDlink[1,0]

TDlink[1,1]

TDlink[1,2]

TDlink[1,3]

192.

168.

0.0

192.168.0.1

1

1_1

1_1_0

FERScb handle

TDlink handle

FERSunit handle

1_1_0_7 Channel handle

CH[0,1,4,0]

CH[0,1,4,63]

Synch

Experimental

setup

• Proprietary protocol TDlink: 4.25 Gb/s over fiber providing Readout, Slow Control, Sync and Clock at

once

• Allows alignment of the timestamps with external systems too – for example GPS

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. 18

TD Link protocol

T0

T0

Ext.

system

T0

Page 19: Future perspective of Digital DAQ

Conclusion

➢High throughput data transfer → Which communication protocols?

Several options, we can be standard (GbE, WR ready) or proprietary (CONET, TDLink) – and

we can interface with other crate-based protocols like uTCA/PXIe

➢Buffering and data selection → Which online analysis?

Open FPGA and ARM gives much flexibility to run custom analysis onboard

➢Event building and DAQ → Integration with which software tools?

Both new Digitizers and FERS Concentrator Board are ready to handle non-CAEN framework

and interface with custom DAQ software

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. 19

Page 20: Future perspective of Digital DAQ

Thank you for your attention

Any question/curiosity?

Page 21: Future perspective of Digital DAQ

Backup slides

Page 22: Future perspective of Digital DAQ

In-built sparse event readout

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. 22

EV1

EV2

EV3

EV4

EV2

EV4

EV1

EV2

EV3

EV1(1)

EV1(3)

EV2(1)

EV2(2)

EV2(3)

EV3(1)

EV3(3)

EV

1E

V2

EV4(1)

EV4(2)

EV

3E

V4

TDlink 10 GbE

EV1

EV2

EV3

EV4

TRG 1, 2, 3, 4

FERS 1 FERS 2 FERS 3

DATA TO DISK

Page 23: Future perspective of Digital DAQ

A5202: readout modes

• Common Trigger Mode

• FERS units: generate a trigger request (typically OR of channel discriminators)

• Data Concentrators: receive and combine requests from all units and generate the Global Trigger

• Event Building and data reduction takes place in the ARM processor of the Data Concentrator

• Trigger-less Mode (independent channel acquisition)

• FERS units: each channel pushes data asynchronously, typically at different rates

• No trigger and data correlation in HW. Events reconstruction in DAQ.

• ARM processor running Linux and local DDR memory available in Data Concentrator

• High throughput data transfer to host computers via 10 GbE or USB 3.0

• Users can run custom routines for data handling in the embedded ARM

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. 23

Page 24: Future perspective of Digital DAQ

Software

HW

REGISTER INTERFACE

PARAM INTERFACE

CoMPASS (or User Application)

SERVER

DAQ INTERFACE

Read, Write, BLT_Read

SetParam, GetParam, SendCmd, ReadData, DecodeData

ConfigSetup, ConfigAcq, GetStatus, ExecScript, GetLog, StartDAQ, StopDAQGetData (Readout Socket)

UnfilteredList/Waves

GUISW LIB

Input Files

SetupConfig

AcqConfig ANALYSIS

Filtered List/Waves, 1D/2D Histograms

Setup_cfg

Params_cfg

Log

Scripts

OFF-LINE

Output Files

ReadoutSocket

Slow Control (Cfg + Cmd)

Data Readout

ON-LINE

Embedded ARM

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. 24

Page 25: Future perspective of Digital DAQ

Remote Customization Service

Using a single SCI-Compiler license, it is possible to compile and deploy firmware for multiple compatible boards that

have been activated through a runtime license*. A different runtime license is needed for each board.

*Firmware generated by SCI-Compiler runs for 30-minutes only if no runtime license is installed onboard

A single SCI-Compiler license can run on a PC relying on a dedicated USB Dongle

Remote customization service allows to generate the firmware code exploiting the computing power on CAEN server, with no

need of any local FPGA compiler

Stay up-to-date with the newest SCI-Compiler features by subscribing the yearly upgrade service

SCI-Compiler: more than a software

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. 25