Development of a Front-end Data Acquisition System with a...

19
Development of a Front-end Data Acquisition System with a Camera Link FMC for High-bandwidth X-ray Imaging Detectors C. Saji , T. Ohata, T. Sugimoto, R. Tanaka, M. Yamaga, JASRI/SPring-8, Japan T. Abe, T. Kudo, RIKEN SPring-8 Center, Japan ICALEPCS2013 WECOCB03

Transcript of Development of a Front-end Data Acquisition System with a...

Page 1: Development of a Front-end Data Acquisition System with a ...accelconf.web.cern.ch/AccelConf/ICALEPCS2013/talks/... · Development of a Front-end Data Acquisition System with a Camera

Development of a Front-end Data Acquisition System with a Camera Link FMC for High-bandwidth

X-ray Imaging Detectors

C. Saji, T. Ohata, T. Sugimoto, R. Tanaka, M. Yamaga, JASRI/SPring-8, Japan

T. Abe, T. Kudo, RIKEN SPring-8 Center, Japan

ICALEPCS2013 WECOCB03

Page 2: Development of a Front-end Data Acquisition System with a ...accelconf.web.cern.ch/AccelConf/ICALEPCS2013/talks/... · Development of a Front-end Data Acquisition System with a Camera

Contents

ICALEPCS2013 WECOCB03 2

- Introduction - Conceptual design - Development of front-end DAQ - Future plan - Summary

Page 3: Development of a Front-end Data Acquisition System with a ...accelconf.web.cern.ch/AccelConf/ICALEPCS2013/talks/... · Development of a Front-end Data Acquisition System with a Camera

Introduction

3

~700m

e-

Experimental Hall

SACLA (X-ray FEL) SPring-8 Angstrom Compact free electron LAser

SPring-8 Super Photon ring 8GeV

ICALEPCS2013 WECOCB03

- SPring-8 site -

Page 4: Development of a Front-end Data Acquisition System with a ...accelconf.web.cern.ch/AccelConf/ICALEPCS2013/talks/... · Development of a Front-end Data Acquisition System with a Camera

Coherent X-ray Diffraction X-ray Imaging experiment

4 ICALEPCS2013 WECOCB03

Detector: Detector component: 2 sensors # of pixel for whole detector: 8M Repetition: 30 Hz Bandwidth: 4 Gbps/sensor DAQ system: Bandwidth: 4 Gbps/sensor DAQ platform: PC base Form-factor of board: PC base

2000px

4000

px

Sample

DAQ Detector

Recent system Imaging sensor

Page 5: Development of a Front-end Data Acquisition System with a ...accelconf.web.cern.ch/AccelConf/ICALEPCS2013/talks/... · Development of a Front-end Data Acquisition System with a Camera

X-ray Imaging experiment

5 ICALEPCS2013 WECOCB03

12600px

1260

0px

Detector: Detector component: 40 sensors # of pixel for whole detector: 160M Repetition: 300 Hz Bandwidth: 20 Gbps/sensor DAQ system: Bandwidth: 20 Gbps/sensor Require new interface supporting higher bandwidth DAQ platform: PC base Backplane base Form-factor of board: PC base Backplane base

Next generation

Page 6: Development of a Front-end Data Acquisition System with a ...accelconf.web.cern.ch/AccelConf/ICALEPCS2013/talks/... · Development of a Front-end Data Acquisition System with a Camera

Detector: Detector component: 40 sensors # of pixel for whole detector: 160M Repetition: 300 Hz Bandwidth: 20 Gbps/sensor DAQ system: Bandwidth: 20 Gbps/sensor Require new interface supporting higher bandwidth DAQ platform: PC base Backplane base Form-factor of board: PC base Backplane base

X-ray Imaging experiment

6 ICALEPCS2013 WECOCB03

12600px

1260

0px

Requirement for front-end DAQ: - Changeable interface and form-factor of DAQ board - High-bandwidth data handling (up to 20 Gbps)

Next generation

Page 7: Development of a Front-end Data Acquisition System with a ...accelconf.web.cern.ch/AccelConf/ICALEPCS2013/talks/... · Development of a Front-end Data Acquisition System with a Camera

Conceptual design

7 ICALEPCS2013 WECOCB03

1) Adaptive composition - Separate interfaces and DAQ board

DAQ board (form-factor)

Input interface

Output interface

2) High-bandwidth data handling

Bandwidth: 20 Gbps

Page 8: Development of a Front-end Data Acquisition System with a ...accelconf.web.cern.ch/AccelConf/ICALEPCS2013/talks/... · Development of a Front-end Data Acquisition System with a Camera

Conceptual DAQ design

ICALEPCS2013 WECOCB03 8

Storage system

Computing platform

PCI express (direct PC mother board connection)

Imaging Sensor

DAQ board

Sensor IF

Front-end DAQ

Network

Sensor IF

DAQ board

Network IF

Change sensor interface

Change form-factor and output interface

New sensor New sensor IF

Merit: Follow change/upgrade of detector and form-factor by minimum modification

Page 9: Development of a Front-end Data Acquisition System with a ...accelconf.web.cern.ch/AccelConf/ICALEPCS2013/talks/... · Development of a Front-end Data Acquisition System with a Camera

Selection of appropriate techniques

ICALEPCS2013 WECOCB03 9

- Changeable interface and DAQ board - FMC (FPGA mezzanine card) - Separate I/O from FPGA carrier board - High-bandwidth:

- FPGA w/ Multi-Gigabit-Transceiver (MGT) based board

Feasibility study - Satisfy required high-bandwidth(~20 Gbps)? - Good to change interfaces?

Data generator

Data collector FM

C

FMC

FPGA board+FMC FPGA board+FMC

Measure bandwidth Evaluation setup

Physical layers Protocols

Page 10: Development of a Front-end Data Acquisition System with a ...accelconf.web.cern.ch/AccelConf/ICALEPCS2013/talks/... · Development of a Front-end Data Acquisition System with a Camera

Feasibility study

10

Physical layer Protocol Expected Measured 1) QSFP+ (1ch : 4 lanes) Aurora ~20 Gbps 19.7 Gbps 2) SFP+ (4ch: 4 lanes) Aurora ~20 Gbps 19.7 Gbps 3) SFP+ w/10GbE PHY XAUI ~10 Gbps 9.8 Gbps

IO interface (FMC):

FPGA board (evaluation board): Platform: PCI express PCI express: 8 lanes (Gen 2) FPGA: Virtex6 w/ 6.6 Gbps transceiver

Hardware selection:

- FMC has potential of ~ 20 Gbps bandwidth - FMC is good for changing interfaces

Based on COTS products Reduce cost and time for development

ICALEPCS2013 WECOCB03

FPGA board and FMC satisfy requirements of our conceptual design

FPGA board

FMCs

Page 11: Development of a Front-end Data Acquisition System with a ...accelconf.web.cern.ch/AccelConf/ICALEPCS2013/talks/... · Development of a Front-end Data Acquisition System with a Camera

Development of front-end DAQ system

- Camera Link system for SOPHIAS first phase -

11 ICALEPCS2013 WECOCB03

Page 12: Development of a Front-end Data Acquisition System with a ...accelconf.web.cern.ch/AccelConf/ICALEPCS2013/talks/... · Development of a Front-end Data Acquisition System with a Camera

Improvement of SOPHIAS detector

12

SOPHIAS (Silicon-On-Insulator Photon Imaging Array Sensor)

SOPHIAS (1st)

SOPHIAS (Final)

Sensor No. of pixels ~2M ~2M Depth (bit) 16 16~32 Frame rate 60 Hz <300 Hz Release 2014FY TBD Experimental conditions Frame rate 30 Hz TBD Data size for one frame ~16 MB TBD

Detector components Dual sensors ~40 sensors

FE DAQ

Required bandwidth

3.7 Gbps/sensor

~20 Gbps/sensor

Sensor interface

Camera Link full

configuration

(should be changed)

Computer interface

PCI express gen2 × 8

TBD

- Under development in SACLA - Phase-by-phase upgrades are planning - 1st phase operation will start in 2014 At final phase: - Detector components up to ~40 sensors - Bandwidth up to ~20 Gbps/sensor - Sensor interface should be changed

ICALEPCS2013 WECOCB03

Our DAQ concept was applied to FE-DAQ for SOPHIAS 1st phase as the first application.

Prototype sensor

Page 13: Development of a Front-end Data Acquisition System with a ...accelconf.web.cern.ch/AccelConf/ICALEPCS2013/talks/... · Development of a Front-end Data Acquisition System with a Camera

DAQ system for SOPHIAS 1st phase

13

FPGA board

SOPHIAS: Output Interface: Camera Link

full-configuration

Actual bandwidth: 3.7 Gbps

SOPHIAS - 1st - FPGA

DDR3 memory

PCIe

Computing system

Direct connection with motherboard

DDR3 memory

PCIe

FPGA board: Form: PCI express Input Interface: Camera Link FMC Output Interface: PCI express gen2x8 Function: - Data transmission - Protocol conversion - Adjust transmission timing and throughput

Computing system: OS: Linux

- Only sensor interface of Camera Link FMC and its logic were newly developed

- Re-used existing some boards and logic

ICALEPCS2013 WECOCB03

Camera Link FMC

Page 14: Development of a Front-end Data Acquisition System with a ...accelconf.web.cern.ch/AccelConf/ICALEPCS2013/talks/... · Development of a Front-end Data Acquisition System with a Camera

Camera Link Interface FMC

14

- New development in-house

- FMC (VITA 57) standard - Camera Link standard ver2.0 -General purpose I/O (GPIO): external trigger signal etc..

Camera Link chips

GPIO 68mm - Followed FMC and Camera Link standards can use for any FMC carrier boards and cameras

FPGA boards: Virtex6 based (Tokyo electron device) Kintex7 based (Xilinx)

Commercial cameras: Adimec OPAL 2000 (base-configuration) Pco.edge Scientific CMOS (max 6.8 Gbps)

Various COTS products

Various experimental applications

ICALEPCS2013 WECOCB03

Checked connection with some devices

Page 15: Development of a Front-end Data Acquisition System with a ...accelconf.web.cern.ch/AccelConf/ICALEPCS2013/talks/... · Development of a Front-end Data Acquisition System with a Camera

- Evaluation was applied to connect with SOPHIAS readout module Checked items: - Data acquisition: - Error check by bit-by-bit comparison - Sensor configuration: - Using Camera Link serial command function - Stability: - 12 hour continuous operation w/ 16MB/frame 35Hz ~ 4.5 Gbps bandwidth Acquired 1.5 million events No data error, no data lost

Evaluation

15

Camera Link FMC

FPGA board

SOPHIAS module

ICALEPCS2013 WECOCB03

Camera Link Cable

Test bench system

Page 16: Development of a Front-end Data Acquisition System with a ...accelconf.web.cern.ch/AccelConf/ICALEPCS2013/talks/... · Development of a Front-end Data Acquisition System with a Camera

- Evaluation was applied to connect with SOPHIAS readout module Checked items: - Data acquisition: - Error check by bit-by-bit comparison - Sensor configuration: - Using Camera Link serial command function - Stability: - 12 hour continuous operation w/ 16MB/frame 35Hz ~ 4.5 Gbps bandwidth Acquired 1.5 million events No data error, no data lost

Evaluation

16

Camera Link FMC

FPGA board

SOPHIAS module

- Front-end DAQ system is ready for 1st phase of SOPHIAS detector - Our DAQ concept successfully applied

ICALEPCS2013 WECOCB03

Camera Link Cable

Test bench system

Page 17: Development of a Front-end Data Acquisition System with a ...accelconf.web.cern.ch/AccelConf/ICALEPCS2013/talks/... · Development of a Front-end Data Acquisition System with a Camera

FPGA board w/ PCIe form

Future Plan (1)

17

For SOPHIAS final phase:

Apply DAQ concept to scalable upgrade of SOPHIAS:

Camera Link FMC

-Detector components: Up to 40 sensors PC based platform Backplane based platform (e.g. xTCA)

Phase-by-phase upgrade:

1st phase: (2014FY~)

Final phase:

-Start 1st phase operation w/ current devices

-New FPGA board can be studied its feasibility and stability

-Existing Camera Link FMC can be utilized

-Only sensor interface should be upgraded

-New FPGA board will be under stable operation

ICALEPCS2013 WECOCB03

FPGA board w/ new form Camera

Link FMC

FPGA board w/ new form New FMC

FPGA board w/ new form Camera

Link FMC

FPGA board w/ new form New FMC FPGA board w/ new form

New FMC FPGA board w/ new form

New FMC

increase 2~40 sensors

40 sensors

FPGA board w/ PCIe form Camera

Link FMC

FPGA board w/ new form Camera

Link FMC

2 sensors New form

New interface

Page 18: Development of a Front-end Data Acquisition System with a ...accelconf.web.cern.ch/AccelConf/ICALEPCS2013/talks/... · Development of a Front-end Data Acquisition System with a Camera

Future Plan (2)

18

-Higher bandwidth requirement (~20 Gbps) - We already have experience of AURORA and XAUI protocol w/ FMC

AURORA: 19.7 Gbps = 6.25 (Gbps) x 4 (lanes bonding) x 0.8 (8b/10b encoding) - More bandwidth is possible Higher transceiver/more lanes bonding XAUI: 9.8 Gbps - Good physical layer for 10GbE implementation w/ low cost FPGA

ICALEPCS2013 WECOCB03

- For sensor communication - When exceeds Camera Link bandwidth (6.8 Gbps)

- New interface can be applied by FMC - AURORA and XAUI is ready

- More than 10 Gbps - AURORA is ready

- For computer platform communication: - HW based 10 GbE implementation will be started

For SOPHIAS final phase:

Page 19: Development of a Front-end Data Acquisition System with a ...accelconf.web.cern.ch/AccelConf/ICALEPCS2013/talks/... · Development of a Front-end Data Acquisition System with a Camera

Summary

19

- We have developed a front-end DAQ platform of X-ray imaging detectors for synchrotron radiation experiments.

- Selected technical components were evaluated to satisfy flexible interface change with high-bandwidth.

- For one of applications, the front-end DAQ system with Camera Link interface was developed for 1st phase of SOPHIAS detector, and well performed ~4.5 Gbps stable data acquisition.

-The developed Camera Link interface was designed to be applied to various applications.

-In the future detector upgrade, the front-end DAQ should smoothly follow the scale-up of the detector component. The front-end DAQ system will shift to a suitable platform/interface and achieve further high-bandwidth.

ICALEPCS2013 WECOCB03