43
The WaveDAQ system: Picosecond measurements with 10’000 channels Stefan Ritt :: Muon Physics :: Paul Scherrer Institute Workshop on pico-second photon sensors, Kansas City, Sept. 2016

The WaveDAQ system: Picosecond measurements with 10 ...idlab/taskAndSchedule/ritt.pdfThe WaveDAQ system: Picosecond measurements with 10’000 channels Stefan Ritt :: Muon Physics

  • Upload
    others

  • View
    4

  • Download
    0

Embed Size (px)

Citation preview

Page 1: The WaveDAQ system: Picosecond measurements with 10 ...idlab/taskAndSchedule/ritt.pdfThe WaveDAQ system: Picosecond measurements with 10’000 channels Stefan Ritt :: Muon Physics

The WaveDAQ system:

Picosecond measurements with 10’000 channels

Stefan Ritt :: Muon Physics :: Paul Scherrer Institute

Workshop on pico-second photon sensors, Kansas City, Sept. 2016

Page 2: The WaveDAQ system: Picosecond measurements with 10 ...idlab/taskAndSchedule/ritt.pdfThe WaveDAQ system: Picosecond measurements with 10’000 channels Stefan Ritt :: Muon Physics

DRS4 Chip

Picosecond Workshop Kansas City17 Sept. 2016

Shift RegisterClock

IN

Out

Storage

capacitors

Inverter “Domino” ring chain0.2-2 ns

FADC

33 MHz

-Switched Capacitor Array (Analog Memory) developed at PSI

-5 GSPS / 11.5 bits SNR, 9 channels on 5 mm x 5 mm chip, 40 mW / chn.

-Used at ~200 locations worldwide

-2011, 2014 Clermont-Ferrand: “DRS4 Chip, Timing Calibration”

-Pile-up rejection O(~10 ns)

-Time measurement O(10 ps)

-Charge measurement O(0.1%)

Page 2/43

Page 3: The WaveDAQ system: Picosecond measurements with 10 ...idlab/taskAndSchedule/ritt.pdfThe WaveDAQ system: Picosecond measurements with 10’000 channels Stefan Ritt :: Muon Physics

MEG & MEG II

MEG Experiment 1999-2013

- Separated DAQ & Trigger

- 3000 Channels DRS4

(0.8 GSPS / 1.6 GSPS)

- 1000 Channels Trigger

(100 MSPS)

- 5 Racks

Picosecond Workshop Kansas City17 Sept. 2016

PMTActive

Splitter

Trigger

DRS

DAQ

HV

Trigg

er B

us

Clo

ck d

istribu

tion

SiPM TDAQ

MEG II Experiment 2014-

- 9000 Channels

- Same rack space- Avoid dead space between boards

- Combine DAQ & Trigger

- Integrate high voltage

- Timing requirement- O(10 ps) between any two channels

Power

?

Page 3/43

Page 4: The WaveDAQ system: Picosecond measurements with 10 ...idlab/taskAndSchedule/ritt.pdfThe WaveDAQ system: Picosecond measurements with 10’000 channels Stefan Ritt :: Muon Physics

Crate Options

Feature VME ATCA ???

Transfer speed O(100 MB/s) ✔ ✔ ✔

Dual-Star Topology with Gbit links ✗ ✔ ✔

Shelf management ✗ ✔ ✔

Fast trigger distribution ✗ ✗ ✔

Low-jitter precision clock O(ps) ✗ ✗ ✔

200 V SiPM biasing ✗ ✗ ✔

< 2000 US$per crate including power ✗ ✗ ✔

Picosecond Workshop Kansas City17 Sept. 2016 Page 4/43

Page 5: The WaveDAQ system: Picosecond measurements with 10 ...idlab/taskAndSchedule/ritt.pdfThe WaveDAQ system: Picosecond measurements with 10’000 channels Stefan Ritt :: Muon Physics

Custom Design

• Standard 19” crate + custom backplane

• Idea: Not only a solution for MEG II,

but more general “crate standard”

• Take the best ideas on the market and combine them

Single 24 V backplane power

Serial gigabit links

Serial bus for configuration

Hot-swap functionality

Shelf management (but simpler!) with Ethernet interface

Power, Temperature, Fans control, board management

Picosecond Workshop Kansas City17 Sept. 2016 Page 5/43

Page 6: The WaveDAQ system: Picosecond measurements with 10 ...idlab/taskAndSchedule/ritt.pdfThe WaveDAQ system: Picosecond measurements with 10’000 channels Stefan Ritt :: Muon Physics

New Ideas

• Power supply on the side

• Cooling from back to front

• Trigger / busy logic through

backplane (→ next slide)

• Dual star topology for

trigger & DAQ in parallel

• Low skew clock (few ps)

for high precision timing

• Firmware download through

backplane via shelf management

• High voltage power supply

through backplane (200 V)

Picosecond Workshop Kansas City17 Sept. 2016

no “dead” space on top and bottom

Page 6/43

Page 7: The WaveDAQ system: Picosecond measurements with 10 ...idlab/taskAndSchedule/ritt.pdfThe WaveDAQ system: Picosecond measurements with 10’000 channels Stefan Ritt :: Muon Physics

Traditional trigger & clock distribution

Picosecond Workshop Kansas City17 Sept. 2016 Page 7/43

Page 8: The WaveDAQ system: Picosecond measurements with 10 ...idlab/taskAndSchedule/ritt.pdfThe WaveDAQ system: Picosecond measurements with 10’000 channels Stefan Ritt :: Muon Physics

WaveDAQ System

Picosecond Workshop Kansas City17 Sept. 2016

Crate Management Board

- Power supply 24V / 300W

- Fan / Temp. control

- Power cycle each slot

- FPGA Firmware upload

- Local control via buttons

- Ethernet remote control

Data Concentrator Board (DCB)

Trigger Concentrator Board (TCB)

Page 8/43

Page 9: The WaveDAQ system: Picosecond measurements with 10 ...idlab/taskAndSchedule/ritt.pdfThe WaveDAQ system: Picosecond measurements with 10’000 channels Stefan Ritt :: Muon Physics

Half Height Backplane

Picosecond Workshop Kansas City17 Sept. 2016 Page 9/43

Page 10: The WaveDAQ system: Picosecond measurements with 10 ...idlab/taskAndSchedule/ritt.pdfThe WaveDAQ system: Picosecond measurements with 10’000 channels Stefan Ritt :: Muon Physics

Pin Assignment

Picosecond Workshop Kansas City17 Sept. 2016 Page 10/43

Page 11: The WaveDAQ system: Picosecond measurements with 10 ...idlab/taskAndSchedule/ritt.pdfThe WaveDAQ system: Picosecond measurements with 10’000 channels Stefan Ritt :: Muon Physics

WaveDREAM Board (WDB)

Picosecond Workshop Kansas City17 Sept. 2016

Drs4 based REAdout Module

Spartan 6

Page 11/43

Page 12: The WaveDAQ system: Picosecond measurements with 10 ...idlab/taskAndSchedule/ritt.pdfThe WaveDAQ system: Picosecond measurements with 10’000 channels Stefan Ritt :: Muon Physics

Preamp

Picosecond Workshop Kansas City17 Sept. 2016

Gain BW3db

(MHz)Noise (mV)

1 940 0.37

10 880 0.40

100 300 1.2

100 500 1.7

100 800 3.3

LMH6629 LMH6629

PE4215 PE4215ADG904

LTC6409

Different compensations

3.3 mV at output =

33 mV at input

Page 12/43

Page 13: The WaveDAQ system: Picosecond measurements with 10 ...idlab/taskAndSchedule/ritt.pdfThe WaveDAQ system: Picosecond measurements with 10’000 channels Stefan Ritt :: Muon Physics

WaveDREAM2 HV

Picosecond Workshop Kansas City17 Sept. 2016

+/- 1mV

Ripple < 10 mV

~ 20 US$ / channel

Microblaze @

Spartan

Page 13/43

Page 14: The WaveDAQ system: Picosecond measurements with 10 ...idlab/taskAndSchedule/ritt.pdfThe WaveDAQ system: Picosecond measurements with 10’000 channels Stefan Ritt :: Muon Physics

Temperature Sensor Extension

Picosecond Workshop Kansas City17 Sept. 2016

• accuracy ±0.5∘, 3 EUR / sensor

• 1-16 sensors per WD2 board with

only one coaxial cable

• Automatic HV adjustments with

temperature changes

Page 14/43

Page 15: The WaveDAQ system: Picosecond measurements with 10 ...idlab/taskAndSchedule/ritt.pdfThe WaveDAQ system: Picosecond measurements with 10’000 channels Stefan Ritt :: Muon Physics

Trigger Concentrator Board (TCB)

Picosecond Workshop Kansas City17 Sept. 2016

• Receives serial links (SERDES)

from WD boards

• Computes crate local trigger

• Send trigger via serial links to

global trigger in dedicated

crate

• FCI Densishield cables

Crate local trigger

Global trigger

KINTEX 7

KINTEX 7

Page 15/43

Page 16: The WaveDAQ system: Picosecond measurements with 10 ...idlab/taskAndSchedule/ritt.pdfThe WaveDAQ system: Picosecond measurements with 10’000 channels Stefan Ritt :: Muon Physics

Ancillary system

Picosecond Workshop Kansas City17 Sept. 2016

• Contains master clock

• Distribute clock

(jitter < 12 ps measured)

• Distribute trigger

• 4 diff. pairs for

• Clock

• Trigger

• Busy

• (Sync)

Page 16/43

Page 17: The WaveDAQ system: Picosecond measurements with 10 ...idlab/taskAndSchedule/ritt.pdfThe WaveDAQ system: Picosecond measurements with 10’000 channels Stefan Ritt :: Muon Physics

DAQ Concentrator Board (DCB)

Picosecond Workshop Kansas City17 Sept. 2016

• Receive Gbit links from WDB

• Use SERDES instead GTX (lower

latency)

• Waveform preprocessing in Zynq

CPU

• Output via Gbit Ethernet (10 Gbit

optional)

• Board under design

• Tests with Zed-Board and

“Backplane Simulator”

Page 17/43

Page 18: The WaveDAQ system: Picosecond measurements with 10 ...idlab/taskAndSchedule/ritt.pdfThe WaveDAQ system: Picosecond measurements with 10’000 channels Stefan Ritt :: Muon Physics

SPI configuration

Picosecond Workshop Kansas City17 Sept. 2016

0 1 7

DCB TCB CMB

8 14 15... ...

10 GBit Ethernet

SSx

SS

SCLK

MOSI

MOSI / MISO / SCLK

...

MSB MSB

R /

WA6

D

31

D

30

D

29

D

28

D

27

D

26

D

25

D

24

D

2

D

1

D

0A5 A4 A3 A2 A1 A0

LSB LSB

Page 18/43

Page 19: The WaveDAQ system: Picosecond measurements with 10 ...idlab/taskAndSchedule/ritt.pdfThe WaveDAQ system: Picosecond measurements with 10’000 channels Stefan Ritt :: Muon Physics

Gbit links for DAQ & Trigger

Picosecond Workshop Kansas City17 Sept. 2016

Event Builder PC Global Trigger

Page 19/43

Page 20: The WaveDAQ system: Picosecond measurements with 10 ...idlab/taskAndSchedule/ritt.pdfThe WaveDAQ system: Picosecond measurements with 10’000 channels Stefan Ritt :: Muon Physics

Trigger Bus & HV

Picosecond Workshop Kansas City17 Sept. 2016 Page 20/43

Page 21: The WaveDAQ system: Picosecond measurements with 10 ...idlab/taskAndSchedule/ritt.pdfThe WaveDAQ system: Picosecond measurements with 10’000 channels Stefan Ritt :: Muon Physics

Clock Distribution

Picosecond Workshop Kansas City17 Sept. 2016 Page 21/43

Page 22: The WaveDAQ system: Picosecond measurements with 10 ...idlab/taskAndSchedule/ritt.pdfThe WaveDAQ system: Picosecond measurements with 10’000 channels Stefan Ritt :: Muon Physics

SPI Flash Access Select

Picosecond Workshop Kansas City17 Sept. 2016 Page 22/43

Page 23: The WaveDAQ system: Picosecond measurements with 10 ...idlab/taskAndSchedule/ritt.pdfThe WaveDAQ system: Picosecond measurements with 10’000 channels Stefan Ritt :: Muon Physics

SPI Flash connected to FPGA

Picosecond Workshop Kansas City17 Sept. 2016 Page 23/43

Page 24: The WaveDAQ system: Picosecond measurements with 10 ...idlab/taskAndSchedule/ritt.pdfThe WaveDAQ system: Picosecond measurements with 10’000 channels Stefan Ritt :: Muon Physics

SPI Flash connected to backplane

Picosecond Workshop Kansas City17 Sept. 2016 Page 24/43

Page 25: The WaveDAQ system: Picosecond measurements with 10 ...idlab/taskAndSchedule/ritt.pdfThe WaveDAQ system: Picosecond measurements with 10’000 channels Stefan Ritt :: Muon Physics

WaveDAQ Clock Distribution

17 Sept. 2016 Picosecond Workshop Kansas City

master

clock

DCB

FCI Densishield Cable

WD WD WD WD

Crate

LMK03000 Jitter Cleaner

Goal: ~ 5 ps clock jitter at system level

Page 25/43

Page 26: The WaveDAQ system: Picosecond measurements with 10 ...idlab/taskAndSchedule/ritt.pdfThe WaveDAQ system: Picosecond measurements with 10’000 channels Stefan Ritt :: Muon Physics

Clock skew

Picosecond Workshop Kansas City17 Sept. 2016

5.43 ps

Random Jitter

MAX9153 LVDS Repeater

(1 ps Random Jitter)

Page 26/43

Page 27: The WaveDAQ system: Picosecond measurements with 10 ...idlab/taskAndSchedule/ritt.pdfThe WaveDAQ system: Picosecond measurements with 10’000 channels Stefan Ritt :: Muon Physics

Minimal System

Picosecond Workshop Kansas City17 Sept. 2016

Power-over-Ethernet

Page 27/43

Page 28: The WaveDAQ system: Picosecond measurements with 10 ...idlab/taskAndSchedule/ritt.pdfThe WaveDAQ system: Picosecond measurements with 10’000 channels Stefan Ritt :: Muon Physics

One-crate system Trigger & DAQ

Picosecond Workshop Kansas City17 Sept. 2016

220 VGbit Ethernet

Up to 256 Channels

Detector

Page 28/43

Page 29: The WaveDAQ system: Picosecond measurements with 10 ...idlab/taskAndSchedule/ritt.pdfThe WaveDAQ system: Picosecond measurements with 10’000 channels Stefan Ritt :: Muon Physics

MEG II System

Picosecond Workshop Kansas City17 Sept. 2016 Page 29/43

Page 30: The WaveDAQ system: Picosecond measurements with 10 ...idlab/taskAndSchedule/ritt.pdfThe WaveDAQ system: Picosecond measurements with 10’000 channels Stefan Ritt :: Muon Physics

Picosecond Workshop Kansas City17 Sept. 2016

Some lessons learned

Page 30/43

Page 31: The WaveDAQ system: Picosecond measurements with 10 ...idlab/taskAndSchedule/ritt.pdfThe WaveDAQ system: Picosecond measurements with 10’000 channels Stefan Ritt :: Muon Physics

Which is the best voltage regulator ?

• Switching regulator (DC-DC converter)

high efficiency

switching noise

not suited for analog designs

• Linear regulator

lower efficiency (“burns” power to reduce voltage)

no switching noise

suited for analog designs

Picosecond Workshop Kansas City17 Sept. 2016 Page 31/43

Page 32: The WaveDAQ system: Picosecond measurements with 10 ...idlab/taskAndSchedule/ritt.pdfThe WaveDAQ system: Picosecond measurements with 10’000 channels Stefan Ritt :: Muon Physics

Which is the best voltage regulator ?

Picosecond Workshop Kansas City17 Sept. 2016

LM2941

(linear)

• Linear regulator shows a larger response to load transients

• Switching noise can be filtered very efficiently

• Electro Magnetic Interference getting better these days

LTM4614

(switched)

Page 32/43

Page 33: The WaveDAQ system: Picosecond measurements with 10 ...idlab/taskAndSchedule/ritt.pdfThe WaveDAQ system: Picosecond measurements with 10’000 channels Stefan Ritt :: Muon Physics

Switching Regulator Noise

Picosecond Workshop Kansas City17 Sept. 2016

18 mV p-p

1.4 mV p-p

Low-ESR

cap.

(< 10 mW)

EMI

Filter

Page 33/43

Page 34: The WaveDAQ system: Picosecond measurements with 10 ...idlab/taskAndSchedule/ritt.pdfThe WaveDAQ system: Picosecond measurements with 10’000 channels Stefan Ritt :: Muon Physics

Optimal Clock Distribution

• “Simple” low jitter oscillator is enough (e.g. ASEMPLV-100)

(no atomic clock required!)

• Precision clock distribution ONLY point-to-point with low jitter LVDS

repeater (e.g. MAX9153), NEVER split a clock passively

• Power supply noise << 1 mV

Picosecond Workshop Kansas City17 Sept. 2016 Page 34/43

Page 35: The WaveDAQ system: Picosecond measurements with 10 ...idlab/taskAndSchedule/ritt.pdfThe WaveDAQ system: Picosecond measurements with 10’000 channels Stefan Ritt :: Muon Physics

Beam test 1 full crate

Picosecond Workshop Kansas City17 Sept. 2016 Page 35/43

Page 36: The WaveDAQ system: Picosecond measurements with 10 ...idlab/taskAndSchedule/ritt.pdfThe WaveDAQ system: Picosecond measurements with 10’000 channels Stefan Ritt :: Muon Physics

WaveDAQ Performance

• Trigger resolution 10 ns (100 MHz clock)

• Trigger bandwidth 8 Gbit / s

• Trigger latency <380 ns *) (9000 channels)

• DAQ bandwidth 2 Gbit / s

• DAQ time measurement 10 ps *)

• DAQ dead time 3 - 35 ms / event

• MEG II: 7 x 107 m/s, DAQ eff. > 95% @ 30 Hz *)

*) projected

Picosecond Workshop Kansas City17 Sept. 2016 Page 36/43

Page 37: The WaveDAQ system: Picosecond measurements with 10 ...idlab/taskAndSchedule/ritt.pdfThe WaveDAQ system: Picosecond measurements with 10’000 channels Stefan Ritt :: Muon Physics

Conclusions

• WaveDAQ system has been designed to fulfill

needs of MEG II experiment

• System has huge potential for many others

(costs: ~150 US$ / channel incl. crate, power, HV)

• Status: Crate fully working, trigger board and

WaveDREAM board successfully tested, beam test

2015, DCB under design

• 4 crate system end of 2016,

full system (35 crates) in 2017

• DRS5 chip (no dead-time) planned for 2018+

Picosecond Workshop Kansas City17 Sept. 2016 Page 37/43

Page 38: The WaveDAQ system: Picosecond measurements with 10 ...idlab/taskAndSchedule/ritt.pdfThe WaveDAQ system: Picosecond measurements with 10’000 channels Stefan Ritt :: Muon Physics

Not without -

My thanks go to

• Ueli Hartmann, PSI

• Luca Galli, INFN Pisa

• Elmar Schmid, PSI

• Gerd Theidel, PSI

• Roberto Dinapoli, PSI

Page 38

Page 39: The WaveDAQ system: Picosecond measurements with 10 ...idlab/taskAndSchedule/ritt.pdfThe WaveDAQ system: Picosecond measurements with 10’000 channels Stefan Ritt :: Muon Physics

Extra: Visualization with HTML5

• The traditional way

Dedicated programs (ROOT, Qt, TCL/TK, Labview, ...)

Must be compiled for different OS

Require certain libraries to be installed

Limited smartphone support

17 Sept. 2016 Picosecond Workshop Kansas City Page 39/43

Page 40: The WaveDAQ system: Picosecond measurements with 10 ...idlab/taskAndSchedule/ritt.pdfThe WaveDAQ system: Picosecond measurements with 10’000 channels Stefan Ritt :: Muon Physics

A new opportunity

Picosecond Workshop Kansas City17 Sept. 2016

• Visualization can now be done directly inside the browser using

HTML5 – CSS3 – JavaScript – JSON

• Modern browsers run JavaScript at the speed of native programs

some years ago

• <canvas> functions are very powerful

• Software updates get deployed automatically

• Automatic support for tablets and smartphones

• Use mongoose library on server side

Page 40/43

Page 41: The WaveDAQ system: Picosecond measurements with 10 ...idlab/taskAndSchedule/ritt.pdfThe WaveDAQ system: Picosecond measurements with 10’000 channels Stefan Ritt :: Muon Physics

Remote Data Visualization

Picosecond Workshop Kansas City17 Sept. 2016

mongoose.h

mongoose.c

Hardware

driver

PC

Controller

FPGA with soft-core

AJAX

JavaScript

Canvas

Browser

Web-Server

Page 41/43

Page 42: The WaveDAQ system: Picosecond measurements with 10 ...idlab/taskAndSchedule/ritt.pdfThe WaveDAQ system: Picosecond measurements with 10’000 channels Stefan Ritt :: Muon Physics

Demo

Picosecond Workshop Kansas City17 Sept. 2016 Page 42/43

http://midas.psi.ch/scope

Page 43: The WaveDAQ system: Picosecond measurements with 10 ...idlab/taskAndSchedule/ritt.pdfThe WaveDAQ system: Picosecond measurements with 10’000 channels Stefan Ritt :: Muon Physics

Smartphone and Tablet

Picosecond Workshop Kansas City17 Sept. 2016 Page 43/43