32
KEK High Energy Accelerat Research Organizatio Development of a Data Acquisition System for the Belle II Silicon Vertex Detector Katsuro Nakamura (KEK) T. Bergauer B , G. Casarosa F , M. Friedl B , K. Hara, T. Higuchi A , C. Irmler B , R. Itoh, T. Konno G , Z. Liu E , M. Nakao, Z. Natkaniec C , W. Ostrowicz C , E. Paoloni F , M. Schnell D , S.Y. Suzuki, R. Thalmeier B , T. Tsuboyama, S. Yamada, H. Yin B Silicon-Strip Vertex Detector ( for Belle II experi 6/ 6/2014 1 TIPP2014, Amsterdam

Development of a Data Acquisition System for the Belle II Silicon Vertex Detector

  • Upload
    yitro

  • View
    45

  • Download
    0

Embed Size (px)

DESCRIPTION

Development of a Data Acquisition System for the Belle II Silicon Vertex Detector. Katsuro Nakamura (KEK) T. Bergauer B , G. Casarosa F , M. Friedl B , K. Hara, T. Higuchi A , C. Irmler B , R. Itoh , T. Konno G , Z. Liu E , - PowerPoint PPT Presentation

Citation preview

Page 1: Development of  a Data Acquisition  System for  the Belle II Silicon Vertex Detector

KEK High Energy AcceleratorResearch Organization

1TIPP2014, Amsterdam

Developmentof a Data Acquisition System

for the Belle II Silicon Vertex Detector Katsuro Nakamura (KEK)

T. BergauerB, G. CasarosaF, M. FriedlB, K. Hara,T. HiguchiA, C. IrmlerB, R. Itoh, T. KonnoG, Z. LiuE,

M. Nakao, Z. NatkaniecC, W. OstrowiczC, E. PaoloniF,M. SchnellD, S.Y. Suzuki, R. ThalmeierB, T. Tsuboyama,

S. Yamada, H. YinB

KEK 、 Kavli IPMU (WPI)A 、 HEPHYB 、 IFJC 、 Univ. of BonnD 、 IHEPE, INFN PisaF, Tokyo Metropolitan UnivG.

TIPP2014 (June 6, 2014) Silicon-Strip Vertex Detector (SVD)for Belle II experiment

6/ 6/2014

Page 2: Development of  a Data Acquisition  System for  the Belle II Silicon Vertex Detector

KEK (High Energy Accelerator Research Organization)

TIPP2014, Amsterdam 2

Belle II Experiment andSilicon-Strip Vertex Detector

Belle II experiment (SuperKEKB)– GeV collider– designed luminosity: cm-2s-1

– max. trigger rate: 30 kHz– search for the physics beyond the SM

Detectors and accelerator are being developed toward start at 2016

4-layer DSSD sensors– measure 2D track position for charged

particles– more than 220,000 readout strips

SVD provides RoI (region of interest) in the inner 2-layer Silicon-Pixel Vertex Detector (PXD)– PXD data reduction and accurate track

reconstruction

charged particleSilicon-Strip Vertex Detector (SVD)

GeV

GeV

Belle II detector

SuperKEKB @ KEK

GeV

GeV

6/ 6/2014

DSSD

Page 3: Development of  a Data Acquisition  System for  the Belle II Silicon Vertex Detector

KEK (High Energy Accelerator Research Organization)

TIPP2014, Amsterdam 3

APV25 and Requirement on Triggers APV25 chip

– Front-end electronics for DSSD signal readout– Provides 128-channels analog signals sampled among

several clock ticks– Shaping time: 50 nsec– Suitable for high occupancy in Belle II SVD

6- and 3-samples/trigger modes will be used for Belle II SVD– 6-samples/trigger is preferable for good peak finding

Requirements on triggers from APV25– Maximum trigger rate: (140 clocks/sample)

38kHz (6-samples), 76kHz (3-samples)– cf. max. trigger rate in Belle II is 30kHz

– Minimum trigger interval: (3 clocks/3-samples) 189nsec (6-samples), 94nsec (3-samples)

– Maximum trigger latency: 5.0 usec (available pipe-line size of 160 samples)

6/ 6/2014

APV25 chip

clock tick (32MHz)

ADC

output from APV25(6 samples/trigger)

1 samplea particle hit

discussed later

✔ ✔

Page 4: Development of  a Data Acquisition  System for  the Belle II Silicon Vertex Detector

KEK (High Energy Accelerator Research Organization)

TIPP2014, Amsterdam 4

control signals

SVD Readout System Overview

Performance of the readout system has to be confirmed with prototypes before final production.

FADC x48

FTB x48

flash ADC

zero-sup.data form

at

dataform

at

B2LAurora

basf2

Belle II DAQHSLB

DAQ

PXD system

PXD RoI

data flow

belle2link

Aurora link

Belle II SVD

Buffer x4

FADC-Ctrl

B2TT decoder

APV Trig. Gen.

coppercables

FADC control

VMEbackplane

clock,trigger,reset …

clock,trigger,reset …

belle2tt

belle2tt

1748APV25’s

~2mcoppercables

Junctionboxes

( signalrepeater )

~10mcoppercables

6/ 6/2014

clock,trigger,reset …

SVD readout system

APV25 chips

calculateRoI on-line

Belle IItrigger/timing

controllerSVD readout system isdriven by 32MHz clock.

Page 5: Development of  a Data Acquisition  System for  the Belle II Silicon Vertex Detector

KEK (High Energy Accelerator Research Organization)

TIPP2014, Amsterdam 5

Development of Prototype FADC Board

High signal density– readout 48 APV25 outputs

APV25 signal processing on FADC– analog level conversion (AC

coupling)– 10-bit ADC– FPGA (Stratix IV) data

processing FIR filter Common-Mode Correction Zero-Suppression

– data transmission to FTB

6/ 6/2014

prototype FADC board

sign

als

from

48

x AP

V25

FTB

boar

dVM

E 9U

Page 6: Development of  a Data Acquisition  System for  the Belle II Silicon Vertex Detector

KEK (High Energy Accelerator Research Organization)

TIPP2014, Amsterdam 6

Development of Prototype FADC Board

6/ 6/2014

Zero-Suppression function– Only transmits hits above threshold

Threshold is recoded in the FPGA memory– Two steps of CMC (Common-Mode Correction)

before zero-suppression calculates average of ADC shifts from pedestals

Successfully prepared hardware and firmware for the FADC prototype.

(6-samples/trigger)

CMC distribution (n-side)

hit information from APV25 chip

average of ADC shifts from pedestal Common-Mode Correction

ADC distribution before CMC ADC distribution after CMC

typical MIP:70 ADC

typical MIP:70 ADC

[ADC]

ADC

Clock Ticks (32MHz)

obtained fromraw ADC data

obtained fromraw ADC data

after CMC

Page 7: Development of  a Data Acquisition  System for  the Belle II Silicon Vertex Detector

KEK (High Energy Accelerator Research Organization)

TIPP2014, Amsterdam 7

Development of Prototype FTB Finesse Transmitter Board (FTB) FTB main feature: high speed serial

communication with other systems– line to DAQ : 2.5 Gbps– line to PXD : 1.3 Gbps

Stability test for the serial lines– with 3.175 Gbps PRBS-7

No errors were observed during an 8-day long bench test with a 2-FTB system.

This result corresponds to 11 days of correct SVD data transmission with a 48-FTB system in 95% C.L.– assuming 1kB event size from an FADC

board and 30 kHz trigger rate.

FTB FTB

connect SFP ports each other

6/ 6/2014

SFP port

SFP portFPGA Xilinx SPARTAN-6 SC signal

receiver

SFP port

JTAG port

data

from

FAD

C

DAQ

PXD

Stability test for serial lines with PRBS-7

prototype FTB board

VME

3U

Page 8: Development of  a Data Acquisition  System for  the Belle II Silicon Vertex Detector

KEK (High Energy Accelerator Research Organization)

TIPP2014, Amsterdam 8

control signals

Other Componentsin SVD Readout System

Prototypes of all other remaining components have been developed as well. An integrated SVD readout test was performed with the full system.

FADC x48

FTB x48

flash ADC

zero-sup.data form

at

dataform

at

B2LAurora

basf2

Belle II DAQHSLB

DAQ

PXD system

PXD RoI

data flow

belle2link

Aurora link

Belle II SVD

Buffer x4

FADC-Ctrl

B2TT decoder

APV Trig. Gen.

coppercables

FADC control

VMEbackplane

FTSW

clock,trigger,reset …

clock,trigger,reset …

belle2tt

belle2tt

1748APV25’s

~2mcoppercables

Junctionboxes

( signalrepeater )

~10mcoppercables

6/ 6/2014

clock,trigger,reset …

SVD readout system

APV25 chips

reduction ofPXD data size

trigger/timing

distributer

Page 9: Development of  a Data Acquisition  System for  the Belle II Silicon Vertex Detector

KEK (High Energy Accelerator Research Organization)

TIPP2014, Amsterdam 9

SVD Readout Test at DESY Beam Line

6/ 6/2014

Superconductingsolenoid magnet

APV25 chips

beam(2 - 6 GeV)

4-layer test SVD modules

DSSD sensor

in light-shielding box

DESY beam line

(max. 1T)

test SVD modules

Page 10: Development of  a Data Acquisition  System for  the Belle II Silicon Vertex Detector

KEK (High Energy Accelerator Research Organization)

TIPP2014, Amsterdam 10

SVD Readout System at Beam Test

6/ 6/2014

Belle II DAQ setup

PXD-DatCon system

FADC board

JTAG server

FTB board

same readout chain as Belle II experiment– first test of the full

readout chain trigger rate: ~ 400 Hz confirmation of correct

data processing– event number check– CRC checksum

Stable operation of the readout during the beam test (about 3 weeks)

SVD readout system

Page 11: Development of  a Data Acquisition  System for  the Belle II Silicon Vertex Detector

KEK (High Energy Accelerator Research Organization)

TIPP2014, Amsterdam 11

Analysis Results from Beam Test Data

6/ 6/2014

event display

w/ magnetic field

SVD modules

reconstructedtrack

cluster hit efficiency for tracks

observed performance of SVD module

From the resulting high efficiency, we confirmed our CMC and zero-suppression do not lose SVD hit efficiency.

cluster charge distribution

peak :corresponds to about 22,000

cluster size distribution

position of track projection [cm]

cluster hit efficiency for tracks

efficiency: 99.4%

effici

ency

Page 12: Development of  a Data Acquisition  System for  the Belle II Silicon Vertex Detector

KEK (High Energy Accelerator Research Organization)

TIPP2014, Amsterdam 12

APV25 Trigger-FIFO and APV25-FIFO Emulator

Data transmission in 6-samples mode takes 26.5 usec/trigger and one in 3-samples mode takes 13.2 usec/trigger.

The transmission dead time is absorbed by trigger-FIFO in APV25. Available trigger-FIFO depth in APV25 is 32 samples.– FIFO overflow has to be avoided.

‘APV25-FIFO emulator’ calculates the trigger-FIFO occupancy, and asserts a trigger veto in order to stop trigger and avoid FIFO overflow.– The APV25-FIFO emulator is to be implemented in future.– Trigger dead time from this veto system has to be considered.

Implement‘ APV25-FIFO

emulator ’

6/ 6/2014

APV25 chips

Belle II SVD

Belle II trigger/timing controller module:global decision of Level-1 trigger accept

trigger signalsto all sub-systems

APV25 trigger-FIFO

32 samples

FIFOoccupancy

APV25-FIFO emulator

32 samples

emulatedFIFO

occupancy

threshold for trigger veto

globaltrigger

decisionveto

emulated

Page 13: Development of  a Data Acquisition  System for  the Belle II Silicon Vertex Detector

KEK (High Energy Accelerator Research Organization)

TIPP2014, Amsterdam 13

threshold: 26 samplesno trigger/busy propagationtrigger interval: 190nsec (24 clocks)

Trigger dead time vs. Raw trigger rate (Simulation)Belle II designedmax. trigger rate

only 6-samples

only 3-samples

: fraction ofmixed 3-samples mode

Simulated Trigger Dead Timefrom APV25-FIFO Emulator

Trigger dead time at 30 kHz trigger is 3%. This is acceptable. Furthermore, the trigger dead time can be decreased by switching btw.

3-/6-samples event-by-event according to trigger timing resolution. If we can increase to more than 0.7, 50 kHz trigger is also acceptable.

6/ 6/2014

Page 14: Development of  a Data Acquisition  System for  the Belle II Silicon Vertex Detector

KEK (High Energy Accelerator Research Organization)

TIPP2014, Amsterdam 14

Schedulefor Readout System Development

FADC board Jul. 2014: prototype ver.2

– fix minor bugs on PCB– implementation of APV25-FIFO emulator

Nov. 2014: prototype ver.3 (if necessary) start production from the beginning of 2015

FTB board Hardware/firmware are already developed well. production from the end of 2014

Full readout system will be built up in 2015 toward the start of Belle II experiment in 2016.6/ 6/2014

Schedule

Page 15: Development of  a Data Acquisition  System for  the Belle II Silicon Vertex Detector

KEK (High Energy Accelerator Research Organization)

TIPP2014, Amsterdam 15

Summary and Outlook The SVD readout system are being developed toward the start of Belle II at 2016. Prototypes for FADC, FTB, and all other components were prepared.

– Common-Mode Correction + Zero-Suppression– stability test for high speed serial link with 3.175Gbps PRBS-7

Successful SVD readout test at DESY beam line was performed.– full readout chain test at the first time– Stable operation was confirmed by checking event numbers and CRC check-sums.– Excellent performance of the SVD module was observed.

Expected trigger dead time at 30 kHz trigger rate is 3% (acceptable).– By increasing 3-samples trigger fraction, we can decrease the dead time.

We confirmed that the SVD readout system provides excellent performance for the Belle II experiment.

We will apply minor modifications on FADC board and start the mass production at the beginning of 2015.

6/ 6/2014

Page 16: Development of  a Data Acquisition  System for  the Belle II Silicon Vertex Detector

KEK (High Energy Accelerator Research Organization)

TIPP2014, Amsterdam 16

THANK YOU!

6/ 6/2014

Page 17: Development of  a Data Acquisition  System for  the Belle II Silicon Vertex Detector

KEK (High Energy Accelerator Research Organization)

TIPP2014, Amsterdam 17

DAQ limitations from APV25

Trigger rate– 1 sample data transmission to FADC takes 140 clock cycles.– 3-sample mode Maximum trigger rate is 76kHz– 6-sample mode Maximum trigger rate is 38kHz

cf. The target trigger rate in Belle II is 30kHz.– 6-sample mode works fine in low luminosity, but combination of 3- and 6-samples have to

be used in higher luminosity. Minimum trigger interval

– 1 trigger reception needs 3 clock cycles for 3-sample mode and 6 clock cycles for 6-sample mode.

– 3-sample mode Minimum trigger interval is ~94 nsec.– 6-sample mode Minimum trigger interval is ~190 nsec.

CDC also requires 200 nsec separation. Maximum trigger latency

– Maximum available pipeline depth is 160 clock cycles.– That requires trigger latency of less than 5 usec.

APV25 has FIFO with 32-samples depth– To avoid FIFO overflow, a finite trigger-dead-time has to be introduced.

6/ 6/2014

Page 18: Development of  a Data Acquisition  System for  the Belle II Silicon Vertex Detector

KEK (High Energy Accelerator Research Organization)

TIPP2014, Amsterdam

Junction box Supply HV and LV to DSSD

and APV25. DC/DC converter

Joint signals between APV25 and FADC board.

6/ 6/2014 18

2 prototypes for p- and n-sides

DC/DC converters

Page 19: Development of  a Data Acquisition  System for  the Belle II Silicon Vertex Detector

KEK (High Energy Accelerator Research Organization)

TIPP2014, Amsterdam 19

FADC data output format

Modes of operation:– Raw mode

raw ADC data for a defined length– Transparent mode

APV25 frame detection with header data and raw data of all strips– Zero-suppressed mode

Pedestal subtraction, CMC, only hits above threshold (3 or 6 samples)– Zero-suppressed/hit time finding mode (not implemented yet)

Peak sample and peak time, all 3 or 6 samples only for unclear cases (such as double peak = pileup)

Raw + transparent are typically used SVD-internally (timing adjustments, pedestal/noise evaluation, calibration, …)

Zero-suppressed (+hit time finding) are the normal data formats for physics data acquisition

6/ 6/2014

Page 20: Development of  a Data Acquisition  System for  the Belle II Silicon Vertex Detector

KEK (High Energy Accelerator Research Organization)

TIPP2014, Amsterdam 20

selector

FADC datastream diagram

All the three data-modes are working well.6/ 6/2014

ADC data decoder

APV frame detection

data reordering

RAW data

pipeline

512cells

CMC 1

CMC 2

Hit finder & encoderzero

suppresseddata

encodertransparent

data

encoderraw

modedata D

ata Transmitt

er for FTB

ADC dataof

APV output

FIFOx 48 APVs

Page 21: Development of  a Data Acquisition  System for  the Belle II Silicon Vertex Detector

KEK (High Energy Accelerator Research Organization)

TIPP2014, Amsterdam 21

FADC status monitoring

Error status of FADC is important to guarantee the data correctness.

The most probable error sources in firmware:

6/ 6/2014

APV FIFO full32sample depth

FIFO full2k word depth

ADC framedetection error

APV headerdetection error

Page 22: Development of  a Data Acquisition  System for  the Belle II Silicon Vertex Detector

KEK (High Energy Accelerator Research Organization)

TIPP2014, Amsterdam 22

Data format for zero-suppression

Error-bits for the quality confirmation and diagnoses.

new format for the beam test (from Jan. 21, 2014)old format

6/ 6/2014

Page 23: Development of  a Data Acquisition  System for  the Belle II Silicon Vertex Detector

KEK (High Energy Accelerator Research Organization)

TIPP2014, Amsterdam 23

FTB data format

The current data format works well. A few improvements will be applied in future.

– Confusing magic numbers in header and trailer will be changed. Currently, they are same as the magic numbers in B2L header and trailer.

– Trailing ‘0’ in the MSB 8-bits to distinguish all types of frames.– Leave all the FADC data as they are.

Current format Next format

6/ 6/2014

Page 24: Development of  a Data Acquisition  System for  the Belle II Silicon Vertex Detector

KEK (High Energy Accelerator Research Organization)

TIPP2014, Amsterdam 24

FADC-Controller and Buffer boards

We will have 4 crates with FADC modules One has single FADC-Controller

– Receives FTSW signals– Distributes clock, trigger and other controls to all Buffer

Each crate has single Buffer module– Receives FADC-Controller signals– Distributes signals to FADCs through backplane bus

1st prototype of FADC-Controller board Buffer board

FTSW

4 Bu

ffer b

oard

FPGASTRATIX IV

FPGACYCLON II

buffers

GbE interface

FAD

C-Co

ntro

ller b

oard

All F

ADC

boar

ds in

a c

rate

buffers

6/ 6/2014

Page 25: Development of  a Data Acquisition  System for  the Belle II Silicon Vertex Detector

KEK (High Energy Accelerator Research Organization)

TIPP2014, Amsterdam 25

Pedestal and gain calibration

6/ 6/2014

particle signal

calibration signal

TuxDAQ

hit map

APV25 output

TuxOA

TuxDAQ + TuxOA– C++ application

Linux 32/64 bit– Used at DESY beam test

TuxDAQ– SVD standalone DAQ– Samples data on FADC data-stream

noise data gain calibration data as well as physics data

– Configures parameters in FADC system

– ADC clock delay scan TuxOA

– Simple analyses of sampled FADC data Noise and pedestal gain calibration constants

– Hit profile (chip / module level) Worked well at DESY

Page 26: Development of  a Data Acquisition  System for  the Belle II Silicon Vertex Detector

KEK (High Energy Accelerator Research Organization)

TIPP2014, Amsterdam

SVD Run/Slow Control

PXD and IBBelle will employ EPICS, and SVD shares CO2 cooling system and environmental monitors with PXD

SVD will be involved in the EPICS control system.– Common data logging on EPICS database

EPICS integration on our software needs to be done.

6/ 6/2014 26

Integration plan of SVD run/slow control

SVD run control GUI

SVD HV/LV control GUI

Page 27: Development of  a Data Acquisition  System for  the Belle II Silicon Vertex Detector

KEK (High Energy Accelerator Research Organization)

TIPP2014, Amsterdam 27

SVD rack location at IR

6/ 6/2014

SVD FWD

SVD BWD

Page 28: Development of  a Data Acquisition  System for  the Belle II Silicon Vertex Detector

KEK (High Energy Accelerator Research Organization)

TIPP2014, Amsterdam 28

Manpower for development

M. Friedl (HEPHY): System & schematics design, supervision S. Schmid (HEPHY): CAD schematics & PCB layout J. Pirker (HEPHY): Parts purchasing, assembly (soldering) M. Eichberger (HEPHY): Assembly (soldering, wire bonding) C. Irmler (HEPHY): Assembly (wire bonding), software

supervision, Origami/hybrid testing R. Thalmeier (HEPHY): FADC hardware and firmware H. Yin (HEPHY): Online software W. Ostrowicz (Cracow): FTB hardware and firmware Z. Natkaniec (Cracow): FTB hardware and firmware M. Schnell (Bonn): FTB DatCon interface firmware K. Nakamura (KEK): Firmware, B2Link/B2TT, System integration

at KEK6/ 6/2014

Page 29: Development of  a Data Acquisition  System for  the Belle II Silicon Vertex Detector

KEK (High Energy Accelerator Research Organization)

TIPP2014, Amsterdam 29

Comparison with simulation

6/ 6/2014

live ratio: 20%dead time

Trigger dead time from the FTSW “pipeline busy” is simulated. Simulation with LFSR (linear feedback shift register) pattern generator, which is really

used in FTSW, well describes the measured live ratios.– There is no other big dead time sources in our system.

Green curve shows expected live ratio with Poisson distribution triggers (real triggers)– Dead time is expected to be about 20% at 30kHz. Too large for the Belle II operation.

APV25 emulator would be necessary for our busy handling.

Page 30: Development of  a Data Acquisition  System for  the Belle II Silicon Vertex Detector

KEK (High Energy Accelerator Research Organization)

30

Residual distribution(CMC16, tight cut)

p-side n-side

NO. NAME VALUE ERROR SIZE DERIVATIVE 1 p0 3.23921e+03 1.94809e+01 2.08186e-05 -5.55985e-03 2 p1 1.32647e-04 3.78820e-05 2.73072e-07 -3.97456e-01 3 p2 7.97590e-03 4.79511e-05 1.34153e-05 7.85978e-03 4 p3 2.60344e+02 1.42551e+01 4.32121e-05 7.62981e-03 5 p4 2.23610e-04 2.20931e-04 1.59234e-06 -4.49666e-01 6 p5 2.04253e-02 3.89271e-04 2.40944e-05 1.84963e-02

NO. NAME VALUE ERROR SIZE DERIVATIVE 1 p0 3.63112e+03 1.91311e+01 4.04379e-05 2.35151e-02 2 p1 1.63427e-03 6.42714e-05 8.53023e-07 -1.94406e+00 3 p2 1.45968e-02 7.25321e-05 2.10705e-05 1.11957e-01 4 p3 1.64809e+02 1.00714e+01 7.75674e-05 1.72498e-02 5 p4 3.53879e-04 5.49890e-04 7.27532e-06 -2.24539e-01 6 p5 4.14886e-02 9.68568e-04 5.59383e-05 1.09194e-02

fitting function:

determined cut regionas

determined cut regionas

Page 31: Development of  a Data Acquisition  System for  the Belle II Silicon Vertex Detector

KEK (High Energy Accelerator Research Organization)

31

Intrinsic efficiency for cluster finding in L3(CMC16, tight cut)

red: # of extrapolationsblue: # of associated clusters after previous cut (|x|<8*p2)

division division

Efficiency is more than 99% in both p-side and n-side.

(*) The red lines are not fitting results, but just result of division of entries.

p-side n-side

p-side n-side

Page 32: Development of  a Data Acquisition  System for  the Belle II Silicon Vertex Detector

KEK (High Energy Accelerator Research Organization)

32

CMC dependence

p-side

n-side

CMC128 CMC32 CMC16

CMC128 CMC32 CMC16