data acquisition card for the large pixel detector at the european xfel 1 tuesday 28 th september...
TRANSCRIPT
Data Acquisition Card for the Large Pixel Detector at the European XFEL
1Tuesday 28th September 2011, TWEPP ViennaPresented by John Coughlan STFC Rutherford Appleton Laboratory
The Data Acquisition Cardfor the Large Pixel Detector
at the European-XFEL
John Coughlan, Sam Cook, Chris Day, Rob Halsall and Saeed Taghavi
Science & Technology Facilities CouncilRutherford Appleton Laboratory Oxfordshire, United Kingdom
E-mail: [email protected]
Data Acquisition Card for the Large Pixel Detector at the European XFEL
2Tuesday 28th September 2011, TWEPP ViennaPresented by John Coughlan STFC Rutherford Appleton Laboratory
Contents
European-XFEL Large Pixel Detector (LPD) LPD DAQ Card (FEM) FPGA Firmware 10G UDP/IP Status
Data Acquisition Card for the Large Pixel Detector at the European XFEL
3Tuesday 28th September 2011, TWEPP ViennaPresented by John Coughlan STFC Rutherford Appleton Laboratory
European-XFEL DESY Hamburg
Experiments to start operation in 2015
Data Acquisition Card for the Large Pixel Detector at the European XFEL
4Tuesday 28th September 2011, TWEPP ViennaPresented by John Coughlan STFC Rutherford Appleton Laboratory
Eu-XFEL Bunch Structure
600 s
99.4 ms
100 ms 100 ms
220 ns
FELprocess
X-ray photons
100 fs
Electron bunch trains; up to 2,700 bunches in 600 sec, repeated 10 times per second.Producing 100 fsec X-ray pulses (up to 27,000 bunches per second).
XFEL ~ 27,000 bunches/swith
99.4 ms (%) emptiness
Data Sampling to ASIC Analogue Memory Digitize and Serial Transmit to DAQ card
Data Acquisition Card for the Large Pixel Detector at the European XFEL
5Tuesday 28th September 2011, TWEPP ViennaPresented by John Coughlan STFC Rutherford Appleton Laboratory
Large Pixel Detector
1 Mega-pixel Detector 0.5 m x 0.5 m 16 SuperModules (SM) 1 DAQ card per SM 128 ASICs per SM Delivery in 2013
16 sensor modules per SM
Data Acquisition Card for the Large Pixel Detector at the European XFEL
6Tuesday 28th September 2011, TWEPP ViennaPresented by John Coughlan STFC Rutherford Appleton Laboratory
LPD ASIC
Store in Pipeline during Bunch TrainReadout all 3 Gain values during long 99 msec gap
130 nm IBM 16 x 32 pixels Large Dynamic range
~1 – 10**5 photons 3 x Gains stored Analogue Pipeline Memory 512 samples deep Triggered Operation Digitise @12 bits and serial
readout
Gainsx 100x 10x 1
RAL Micro-ElectronicsPaper submitted to IEEE NSS Valencia
Data Acquisition Card for the Large Pixel Detector at the European XFEL
7Tuesday 28th September 2011, TWEPP ViennaPresented by John Coughlan STFC Rutherford Appleton Laboratory
LPD Data Acquisition
LPD Detector (STFC)
LPD DAQ Card FEM
x 16
Data Acquisition Card for the Large Pixel Detector at the European XFEL
8Tuesday 28th September 2011, TWEPP ViennaPresented by John Coughlan STFC Rutherford Appleton Laboratory
XFEL Data Acquisition
MicroTCA (Physics Ext)
Fast
Timing
Signals
GbE
Controls
LPD Detector (STFC)
LPD DAQ Card FEM
x 16
Clock & Controls and Veto Systems (UCL & DESY)
See Poster Session
XFEL Clock = 99 MHz Bunch Clock = 4.5 MHz Train Rate = 10 Hz
Data Acquisition Card for the Large Pixel Detector at the European XFEL
9Tuesday 28th September 2011, TWEPP ViennaPresented by John Coughlan STFC Rutherford Appleton Laboratory
XFEL Data Acquisition
AdvancedTCA
MicroTCA (Physics Ext)
10 Gbps Optical
(DESY)
Fast
Timing
Signals
GbE
Controls
LPD Detector (STFC)
LPD DAQ Card FEM
x 16
Train Builder System (STFC)
Data Readout
See Posters Session
Clock & Controls and Veto Systems (UCL & DESY)
See Posters Session
XFEL Clock = 99 MHz Bunch Clock = 4.5 MHz Train Rate = 10 Hz
2 MByte x 512 x 10 ~10 GBytes/sec
Common Systems
Data Acquisition Card for the Large Pixel Detector at the European XFEL
10Tuesday 28th September 2011, TWEPP ViennaPresented by John Coughlan STFC Rutherford Appleton Laboratory
Train Builder
A B C P
PC Farm
A BC D
I JK L
M NO P
E FG H
2D Detector1 Megapixels
10 Gbps optical links
Front End ElectronicsFEM
Train Builder SystemAdvanced TCA
PC Layer
10 Gbps optical links
Complete Trains
FEE Fragments
Train Nr % N% 1 % 2 % 3 % 16
SwitchDataFlow
X-ray Imagesup to 512 per train
30-100 m
10 GBytes/sec
7654321
Train Nr in Buffer
Clock
Veto
CmdXFEL
Clock & Controls
FEMx 16
see Poster Session “Train Builder Data Acquisition System for the European-XFEL”
Data Acquisition Card for the Large Pixel Detector at the European XFEL
11Tuesday 28th September 2011, TWEPP ViennaPresented by John Coughlan STFC Rutherford Appleton Laboratory
FEM Functional Units
128LPDASICs
TrainBuilder
C&CDualPPC
Virtex 5FX100T
PC
PC
FMCANSI/VITA57
JTAG
Data Acquisition Card for the Large Pixel Detector at the European XFEL
Tuesday 28th September 2011, TWEPP ViennaPresented by John Coughlan STFC Rutherford Appleton Laboratory
FEM Clock Domains
Data Acquisition Card for the Large Pixel Detector at the European XFEL
13Tuesday 28th September 2011, TWEPP ViennaPresented by John Coughlan STFC Rutherford Appleton Laboratory
LPD FEM Side 1
Virtex 5FX100TFPGA
2 x SamtecBackplaneConnectors
240 way
SP3 I/O
SP3 I/O
SP3CFG
XFEL C&C
SRAM
FLASH
GbE Slow Controls
FEM side 1
128LPDASICs
Data Acquisition Card for the Large Pixel Detector at the European XFEL
14Tuesday 28th September 2011, TWEPP ViennaPresented by John Coughlan STFC Rutherford Appleton Laboratory
LPD FEM Side 1
XFELDAQ
Virtex 5FX100TFPGA
2 x SamtecBackplaneConnectors
240 way
SP3 I/O
SP3 I/O
SP3CFG
XFEL C&C
SRAM
FLASH
GbE Slow Controls
FEM side 1
LPD
Dual 10 Gbps SFP+ FPGA Mezzanine CardFMC ANSI/VITA 57(DESY)Train Builder
Data Acquisition Card for the Large Pixel Detector at the European XFEL
15Tuesday 28th September 2011, TWEPP ViennaPresented by John Coughlan STFC Rutherford Appleton Laboratory
LPD FEM Side 2
DDR2 SODIMM1 GByte Memory
Compact Flashconfiguration
RS232 cable
JTAG cable
FEM side 2
XFELDAQ
LPD
PCB 16 layers (8 signal)
Data Acquisition Card for the Large Pixel Detector at the European XFEL
16Tuesday 28th September 2011, TWEPP ViennaPresented by John Coughlan STFC Rutherford Appleton Laboratory
FPGA Units Overview
ASIC Slow Ctrl
ASIC Fast Commands
SP3 ConfignFPGA
ASIC Data Rx
DDR2 Memory
Controller
10GbE LinkUDP/IP
GbE/RS232
Timing & Veto
SP3 Top I/O(80%)SP3 I/O
FPGAs
Virtex5 Main FPGA
LPD
XFELDAQ
Clock & Controls
C&C Emulation
ASIC Simulated
Data
DATA CTRLS
128 ASICsPC
Virtex 5 FX100T FPGA (Dual PPC cores)
LocalLink
LocalLink Processor
Embedded
Data Acquisition Card for the Large Pixel Detector at the European XFEL
17Tuesday 28th September 2011, TWEPP ViennaPresented by John Coughlan STFC Rutherford Appleton Laboratory
FPGA ASIC Unit
‘99’ MHzPLLMaster Clock
ASIC Fast Serial InterfaceMaster Cmd Strm
Master Sync, Trigger, Readout, status…Timing SystemInterface
Computer SystemInterface
ASIC Slow Serial InterfacePLB
ASIC Fast DataInterfaceLocal Link
OUTPUT ~ 640 MByte/s
128
Emulation
Hit List for Veto Mode
Clock State
Machine
INPUT ~ 1.5 GBytes/s
VETOS
CONFIG
Clock & Controls
1 of 3 Gain Selection
ASIC Clock
DATA
Data Acquisition Card for the Large Pixel Detector at the European XFEL
18Tuesday 28th September 2011, TWEPP ViennaPresented by John Coughlan STFC Rutherford Appleton Laboratory
Testing Bench with LPD ASIC
FEM withDESY 10G FMC
Extender Cardwith Nat Inst cable
Single ASIC module
FPGA dev board withC&C test adapter
PC with 10GbE NICrunning MatLab software
Pseudo-Random Data Image
Power and Cooling
MatLab UDP RS232 control
Data Acquisition Card for the Large Pixel Detector at the European XFEL
19Tuesday 28th September 2011, TWEPP ViennaPresented by John Coughlan STFC Rutherford Appleton Laboratory
FPGA 10G UDP/IP Firmware Module
10GbE UDP/IP Firmware Module
Xilinx “Local Link” Interfaces toPower PC DDR2 Memory ControllerAnd ASIC Data Receiver Module
Chelsio T4 NIC Quad 10G SFP+ x8 PCIe Gen2 UDP API “Direct Driver” to App Memory
10G Test Bench
Data Acquisition Card for the Large Pixel Detector at the European XFEL
20Tuesday 28th September 2011, TWEPP ViennaPresented by John Coughlan STFC Rutherford Appleton Laboratory
LPD Software
FPGA Embedded System Dual PPC Cores
Core #1 for DDR2 DMA Memory Controller
Core #2 Running Xilkernel / lightweight IP stack (LwIP)
Have TCP control protocol over TCP/IP
Control resources on board (GPIO, I2C, EEPROM)
FEM support library library & applications (C & Python) for rapid prototyping developed
GDA GUI based controls system as used on Diamond Light Source at Rutherford
FPGA Embedded SoftwareXilinx EDK
PC Software
Data Acquisition Card for the Large Pixel Detector at the European XFEL
21Tuesday 28th September 2011, TWEPP ViennaPresented by John Coughlan STFC Rutherford Appleton Laboratory
FEM Status
4 FEM cards assembled. All passed JTAG without error. All components pass functional tests. FPGA 10G UDP/IP working with DESY FMC to PC NIC. Clock and Controls and Slow Controls GbE working. FEM reading out images from LPD ASIC module. Emulating Train Builder interface with FPGA dev boards.
Manufacturing another 20 FEMs for LPD (and Medipix) Test FEM in LPD SuperModule in 2012 Ready for LPD 1 Mega-pixel detector 2013
Data Acquisition Card for the Large Pixel Detector at the European XFEL
22Tuesday 28th September 2011, TWEPP ViennaPresented by John Coughlan STFC Rutherford Appleton Laboratory
Thank youAcknowledgements:LPD Collaboration (STFC Rutherford Appleton Laboratory)M. Zimmer, I. Sheviakov (DESY) C. Youngman (XFEL)
Posters Session:
“Design of the Train Builder Data Acquisition System for the European-XFEL”John Coughlan et al.
“Design and Development of Electronics for the EuXFEL Clock and Control System”Erdem Motuk et al.