20
HEP UCL Cambridge University Cambridge University Imperial College London Imperial College London University of Manchester University of Manchester Royal Holloway, University of London Royal Holloway, University of London University College London University College London Matthew Warren, UCL Matthew Warren, UCL 13 February 2007 13 February 2007 General work on the DAQ system - General work on the DAQ system - From the slab backwards … From the slab backwards …

General work on the DAQ system - From the slab backwards …

Embed Size (px)

DESCRIPTION

General work on the DAQ system - From the slab backwards …. Cambridge University Imperial College London University of Manchester Royal Holloway, University of London University College London Matthew Warren, UCL 13 February 2007. Overview. 1. CALICE-DAQ 2. Optical Switch - PowerPoint PPT Presentation

Citation preview

Page 1: General work on the DAQ system -  From the slab backwards …

HEP UCL

Cambridge UniversityCambridge UniversityImperial College LondonImperial College LondonUniversity of ManchesterUniversity of Manchester

Royal Holloway, University of LondonRoyal Holloway, University of LondonUniversity College London University College London

Matthew Warren, UCLMatthew Warren, UCL

13 February 200713 February 2007

General work on the DAQ General work on the DAQ system - From the slab system - From the slab

backwards … backwards …

Page 2: General work on the DAQ system -  From the slab backwards …

13-Feb-2007

CALICE - DAQ 2 HEP UCL

OvervieOvervieww

1. CALICE-DAQ1. CALICE-DAQ

2. Optical Switch2. Optical Switch

3. Single Event Upsets3. Single Event Upsets

Page 3: General work on the DAQ system -  From the slab backwards …

13-Feb-2007

CALICE - DAQ 3 HEP UCL

PC/s

DAQ Structural OverviewDAQ Structural Overview

•ASICsASICs

•Front-End (FE)Front-End (FE)-FE-Interface (DIF): FE-Interface (DIF): Detector specificDetector specific-FE Link/Data Aggregator (LDA): FE Link/Data Aggregator (LDA): GenericGeneric

•Data-link (FE to Off-Detector Receiver)Data-link (FE to Off-Detector Receiver)•Control-link (C+C to FE)Control-link (C+C to FE)

•DAQ PCDAQ PC-Off-Detector Receiver (ODR)Off-Detector Receiver (ODR)-Control data-link (Clock, Control to FE)Control data-link (Clock, Control to FE)-Data StoreData Store

LDA

Con

trol

-link

ODR

Store

Data-link

DIF

ASICs

FE

Page 4: General work on the DAQ system -  From the slab backwards …

13-Feb-2007

CALICE - DAQ 4 HEP UCL

FE Structure FE Structure DetailDetail

We have 2+ types of detector to readout.We have 2+ types of detector to readout.Divide the FE into a 2 part, tiered systemDivide the FE into a 2 part, tiered system

1) Detector Interface module (DIF)1) Detector Interface module (DIF)-Detector specific interfaceDetector specific interface-Includes power connectorsIncludes power connectors-‘‘Local’ systems (e.g. clock)Local’ systems (e.g. clock)-Debug connectorsDebug connectors

2) Link/Data Aggregator module2) Link/Data Aggregator module (LDA)(LDA)

-Collects data from many ‘DIF’sCollects data from many ‘DIF’s-Drives data Off detector linkDrives data Off detector link-Receives and distributes C+CReceives and distributes C+C

BUT:BUT:We would probably like to read-out slabs individually We would probably like to read-out slabs individually first…first…

Link/ Data Link/ Data AggregatorAggregator

PCPC

ECALECALSlabSlab

ECAL ECAL InterfaceInterface

Link/ Data Link/ Data AggregatorAggregator

PCPC

HCALHCALLayerLayer

HCAL HCAL InterfaceInterface

HCALHCALLayerLayer

HCAL HCAL InterfaceInterface

ECALECALSlabSlab

ECAL ECAL InterfaceInterface

Page 5: General work on the DAQ system -  From the slab backwards …

13-Feb-2007

CALICE - DAQ 5 HEP UCL

DetectorDetector

DetectorDetector

DetectorDetector

FE – More thoughtsFE – More thoughts• Each DIF can connect directly to an LDA for stand-Each DIF can connect directly to an LDA for stand-alone operationalone operationOROR•Combine on single PCB, with single FPGACombine on single PCB, with single FPGA

-Capabilities depend on PCB loadingCapabilities depend on PCB loading-Operate as stand-alone, or as master-slave (aggregator)Operate as stand-alone, or as master-slave (aggregator)-Firmware development 2 tieredFirmware development 2 tiered

Eg: ECAL:Eg: ECAL:

Power In

Slab connector

Opto

Slaves-In

FPGASlave-Out Local Control In

Fibre

Page 6: General work on the DAQ system -  From the slab backwards …

13-Feb-2007

CALICE - DAQ 6 HEP UCL

Data-link Data-link (+Control)(+Control)

•Plan to use most common networking fibre-Plan to use most common networking fibre-optics: optics:

-Multimode with LC connectorsMultimode with LC connectors-SFP (mini-GBIC) interfacesSFP (mini-GBIC) interfaces-1Gbit rate1Gbit rate-EthernetEthernet

•Control up-link NOT via fibre, Control up-link NOT via fibre, initiallyinitially..

Page 7: General work on the DAQ system -  From the slab backwards …

13-Feb-2007

CALICE - DAQ 7 HEP UCL

Off-Detector Receiver Off-Detector Receiver (ODR)(ODR)

•PCI Express CardPCI Express Card•Virtex 4, FX100 FPGA (big!)Virtex 4, FX100 FPGA (big!)•Hosts opto-linksHosts opto-links

-2xSFP, 2xHSSDC2 on board2xSFP, 2xHSSDC2 on board

•Source of C+C (Control link)Source of C+C (Control link)-Initially copper (SMA connectors?)Initially copper (SMA connectors?)-Later fibreLater fibre

•Will use external clock and sync Will use external clock and sync signals for multi-PC operationsignals for multi-PC operation

Page 8: General work on the DAQ system -  From the slab backwards …

13-Feb-2007

CALICE - DAQ 8 HEP UCL

ODR(2) - ODR(2) - Status Status

Firmware AND software well underway:Firmware AND software well underway:•PCIe interface PCIe interface DONEDONE •Register read/write Register read/write DONEDONE

•DMA access DMA access DONEDONE

•Ethernet InterfaceEthernet Interface IN-PROGRESSIN-PROGRESS

•DDR2 Interface DDR2 Interface IN-PROGRESSIN-PROGRESS

•Linux driver Linux driver DONEDONE

•Manager Software Manager Software IN-PROGRESSIN-PROGRESS

•Performance profilingPerformance profiling IN-PROGRESSIN-PROGRESS

•Clock and Control UplinkClock and Control Uplink NOT-STARTEDNOT-STARTED

EthernetInterface

DDR2Interface

PCIeInterface

Control/StatusReg.Block

InternalRAM

TestDataGen

Arbiter

Driver

Manager

Software

Firmware

Page 9: General work on the DAQ system -  From the slab backwards …

13-Feb-2007

CALICE - DAQ 9 HEP UCL

Datastore and Datastore and IntegrationIntegration

Keep it simple!Keep it simple!Event files written to local diskEvent files written to local diskSystem synchronising signals distributedSystem synchronising signals distributed-All data tagged with common ‘timestamp’All data tagged with common ‘timestamp’

Clock

Command (Train-start,

Sync)

PC

ODRODR

PC

ODRODR

Fanout

Fanout

Page 10: General work on the DAQ system -  From the slab backwards …

13-Feb-2007

CALICE - DAQ 10

HEP UCL

DetectorDetector IInterface nterface (Cam)(Cam)- Spec + hardwareSpec + hardware

DIFDIF to to Link/Data Aggregator Link/Data Aggregator ((Cam/ManCam/Man))- Spec + hardwareSpec + hardware

Data aggrData aggregate, egate, formatformat (Man)(Man)- Hardware + firmware Hardware + firmware

LDALDA to ODR opto-link to ODR opto-link (M(Man, UCL)an, UCL)- Hardware + firmwareHardware + firmware

ODR ODR (RHUL, (RHUL, UCL, CamUCL, Cam))- firmwarefirmware

ODR to disk ODR to disk (RHUL)(RHUL)- Driver softwareDriver software

Local Software DAQ Local Software DAQ (RHUL)(RHUL)

Full blown Software DAQ Full blown Software DAQ (RHUL(RHUL, UCL, [IC]), UCL, [IC])

LDALDA

PCPC

ECALECALSlabSlab

DIFDIF

ODRODR

DriverDriver

OptoOpto

OptoOpto

UK Read-out work (ECAL UK Read-out work (ECAL FE)FE)

Page 11: General work on the DAQ system -  From the slab backwards …

13-Feb-2007

CALICE - DAQ 11

HEP UCL

DAQ DAQ SummarySummary

UK proposes to do large part of readout chain UK proposes to do large part of readout chain

[we can fight independently!][we can fight independently!]

Key areas for development identified:Key areas for development identified:•Baseline structureBaseline structure•Work segmentedWork segmented

ECAL will be looked after entirely by UKECAL will be looked after entirely by UK•HCAL may need to manufacture own FE PCB HCAL may need to manufacture own FE PCB

Page 12: General work on the DAQ system -  From the slab backwards …

13-Feb-2007

CALICE - DAQ 12

HEP UCL

Optical SwitchOptical Switch

Page 13: General work on the DAQ system -  From the slab backwards …

13-Feb-2007

CALICE - DAQ 13

HEP UCL

Optical (Layer-1) Optical (Layer-1) SwitchingSwitching

Part of the UK project is to evaluate the use of a “layer-Part of the UK project is to evaluate the use of a “layer-1” switch.1” switch.

This switch physically (re)connects fibresThis switch physically (re)connects fibresIt can be used in various ways:It can be used in various ways:

1)1) DAQ PC failoverDAQ PC failoverRedirect data to spare unused DAQ PC on the flyRedirect data to spare unused DAQ PC on the fly

2) “Router” (able to switch at >10Hz for many years)2) “Router” (able to switch at >10Hz for many years)

- Can change data destination per bunch-train.Can change data destination per bunch-train.- Regulate load by sending data directly to free resources Regulate load by sending data directly to free resources

3) Programmable optical patch panel (large installation)3) Programmable optical patch panel (large installation)- Easily switch to redundant fibres remotelyEasily switch to redundant fibres remotely- Useful for grouping fibres from physics region (e.g. logical Useful for grouping fibres from physics region (e.g. logical

grouping)grouping)

Page 14: General work on the DAQ system -  From the slab backwards …

13-Feb-2007

CALICE - DAQ 14

HEP UCL

Switch Unit Switch Unit PurchasedPurchased

•Manufacturers offering similar products, in Manufacturers offering similar products, in same price range e.g. Glimmerglass, Polatis - same price range e.g. Glimmerglass, Polatis - difficult to differentiate between themdifficult to differentiate between them•Decided on PolatisDecided on Polatis

-can switch dark fibre (i.e. not MEMS based)can switch dark fibre (i.e. not MEMS based)-Multimode fibre capableMultimode fibre capable-Fastest switching time (20ms)Fastest switching time (20ms)

•16x16 array with 5016x16 array with 50μμm multimode LC m multimode LC connectorsconnectors

Page 15: General work on the DAQ system -  From the slab backwards …

13-Feb-2007

CALICE - DAQ 15

HEP UCL

Single Event Upset StudiesSingle Event Upset Studies

Page 16: General work on the DAQ system -  From the slab backwards …

13-Feb-2007

CALICE - DAQ 16

HEP UCL

Single Event Single Event UpsetsUpsets

Attempting to find out expected SEU rates in FEAttempting to find out expected SEU rates in FE•Influences choice of technology for final FEInfluences choice of technology for final FE•Influences re-configure/reset rate of FEInfluences re-configure/reset rate of FE

SEU rates very dependent on hardware, and we have SEU rates very dependent on hardware, and we have none!none!

•Attempting to provide framework and data for use Attempting to provide framework and data for use when making hardware decisions laterwhen making hardware decisions later

•We have simulated the expected environment at the We have simulated the expected environment at the end of ECAL slabs. end of ECAL slabs.

•Results are compared with existing FPGA Results are compared with existing FPGA measurements.measurements.

Page 17: General work on the DAQ system -  From the slab backwards …

13-Feb-2007

CALICE - DAQ 17

HEP UCL

ttbar

QCD

SEU: SEU: Energy Spectrum of Particles in Energy Spectrum of Particles in FPGAsFPGAs

Y axis:

hits/hour

WW

Valeria Bartsch

Page 18: General work on the DAQ system -  From the slab backwards …

13-Feb-2007

CALICE - DAQ 18

HEP UCL

IEEE Transactions on Nuclear Science Vol. 50, No.2, 2003Gingrich

above 20MeV neutrons start doing upsets

SEU: Weibull SEU: Weibull FitFit

Page 19: General work on the DAQ system -  From the slab backwards …

13-Feb-2007

CALICE - DAQ 19

HEP UCL

Virtex II X-2V100Virtex II X-2V100

Virtex II X-2V6000Virtex II X-2V60000.018 SEUs/h0.018 SEUs/h

Altera StratixAltera Stratix 0.220 SEUs/h0.220 SEUs/h

Xilinx XC4036XLAXilinx XC4036XLA 0.005 SEUs/h0.005 SEUs/h

Virtex XQVR300Virtex XQVR300 0.044 SEUs/h0.044 SEUs/h

9804RP9804RP 0.018 SEUs/h0.018 SEUs/h

in best case 1 SEU in 8 days for all FPGAs in the ECAL

SEU: Rates expected with existing SEU: Rates expected with existing FPGAsFPGAs

Page 20: General work on the DAQ system -  From the slab backwards …

13-Feb-2007

CALICE - DAQ 20

HEP UCL

Fin Fin ……