16
EXL/R3B Calorimeters- Readout from ASIC to DAQ Ian Lazarus STFC Daresbury Laboratory

EXL/R3B Calorimeters- Readout from ASIC to DAQ Ian Lazarus STFC Daresbury Laboratory

Embed Size (px)

Citation preview

Page 1: EXL/R3B Calorimeters- Readout from ASIC to DAQ Ian Lazarus STFC Daresbury Laboratory

EXL/R3B Calorimeters- Readout from ASIC to DAQ

Ian LazarusSTFC Daresbury Laboratory

Page 2: EXL/R3B Calorimeters- Readout from ASIC to DAQ Ian Lazarus STFC Daresbury Laboratory

Overview:1. What makes ASICs “application specific”?2. ASIC Readout Options3. Using timestamps4. Connections to DAQ5. An example from AIDA (DeSpec)6. Summary

Page 3: EXL/R3B Calorimeters- Readout from ASIC to DAQ Ian Lazarus STFC Daresbury Laboratory

What makes an ASIC “application specific”?

• Detector characteristics:– Geometry (pad pitch, channel count)– Detector Capacitance– Leakage current– Gain required– Signal processing required (shaping time depends on detector type and

size)

• Other things can usually be standardised– readout (but can be analogue or digitised in ASIC)– triggering– slow control (e.g. I2C)– power supplies

Page 4: EXL/R3B Calorimeters- Readout from ASIC to DAQ Ian Lazarus STFC Daresbury Laboratory

ASIC Readout options

• Analogue– Shaper output (with or without peak detector)- 1 or 2 pads/channel– Multiplex to an external ADC; read peak detector outputs– Preamplifier output (for external Flash ADC)

• Digital– Multiplex to an internal ADC; read digital data

• Examples…

Page 5: EXL/R3B Calorimeters- Readout from ASIC to DAQ Ian Lazarus STFC Daresbury Laboratory

Analogue readout, 2 pads per channel.Example- FREDA. 16 channels

Peaking times: 50-240ns

Gain: x1,2,4 or 8

16 inputs

16 diff outputs

Design is pad-limited.

Aimed at gas detectors

with Cdet in range 2-80pF

Page 6: EXL/R3B Calorimeters- Readout from ASIC to DAQ Ian Lazarus STFC Daresbury Laboratory

Multiplex to ext. ADC; read peak detector outputsExample- Gassiplex (CERN)

Peaking times: 400-1000ns

Gain: 4.9mV/fC

16 inputs

1 mux output

Reads all 16 channels in turn (10 MHz max; CAEN V550 max is 5MHz))

Aimed at Si/gas detectors

Page 7: EXL/R3B Calorimeters- Readout from ASIC to DAQ Ian Lazarus STFC Daresbury Laboratory

Preamplifier output (for external Flash ADC)Example-

AIDAASIC.

Octal Flash ADC12/14 bit 50MHz

8

Spectroscopy ADC

PSA

Page 8: EXL/R3B Calorimeters- Readout from ASIC to DAQ Ian Lazarus STFC Daresbury Laboratory

Multiplex to an internal ADC; read digital dataExample- NUCAM

128 inputs, each with: •Preamp•Programmable Shaper•Peak time measurement•Discriminator•Programmable leakage comp.

•Intelligent multiplexer•Common ADC (12 bits 1MHz)•4 bit daisy chained readout•Readout 32 bits/channel in 1us•Read only active channels

Page 9: EXL/R3B Calorimeters- Readout from ASIC to DAQ Ian Lazarus STFC Daresbury Laboratory

Example of readout rates.

Time to read 128 channels of which 3 are active.

Assume 5MHz readout for analogue multiplexers

Architecture Readout time for 3 active channels.

Settling time for external ADC

Mux only 25.6us 200ns

Mux with “look at me” <1us 200ns

On chip ADC and mux with “look at me”

3us (energy and time) n/a

Page 10: EXL/R3B Calorimeters- Readout from ASIC to DAQ Ian Lazarus STFC Daresbury Laboratory

Using Timestamps.• Multiplexers cause problems

– either slow (read all channels) and timestamp at low rate.

– or lose timing relationship with inputs

• Two possible solutions– Timestamp in ASIC before multiplexer

• Good timing correlation• But, need clock in ASIC near detector so need careful

layout to avoid noise problems.• Also need to reconstruct full timestamp after ASIC (or read

huge amounts of un-necessary data).– Use multi-channel FADC (e.g. octal AD9252) with FPGA

to process one channel per pin ASIC preamps.• Difficult for fast detectors due to limited speed of octal

FADCs

Page 11: EXL/R3B Calorimeters- Readout from ASIC to DAQ Ian Lazarus STFC Daresbury Laboratory

8 bit counter

128 registers

ControlLogic

Readout

TS_ClockTS_SynchTS_Reset

32MHz ClockSerial Data

8 bit counter

128 registers

ControlLogic

Readout32MHz ClockSerial Data

TS_ClockTS_SynchTS_Reset

ASICs FPGA

32MHz Clk

4MHz Clk ÷8

ControlLogic

Example oftimestamp in an ASIC.

Page 12: EXL/R3B Calorimeters- Readout from ASIC to DAQ Ian Lazarus STFC Daresbury Laboratory

Readout from ASIC• Requirements:

– ADC: • either external ADC matched to mux clock rate• or Internal ADC in ASIC• or ADC per output for non-muxed ASIC

– Control logic (sequencing, clocks, ext ADC)– Timestamp control and logic– Fast Data path– NUSTAR Interfaces (slow control,

timestamp, readout)

Page 13: EXL/R3B Calorimeters- Readout from ASIC to DAQ Ian Lazarus STFC Daresbury Laboratory

Usually control readout from FPGA (Field programmable gate array). Why?

– Flexible (reprogrammable in situ to change function or fix bugs)

– Fast (>1Gbyte/sec using multiple output paths)– Handles control logic and clocks easily– Handles data transfer easily and fast– Built in IP for Ethernet (Virtex 4) and PCIe (Virtex 5)– Reasonable expectation of common development

(shared IP) for NUSTAR interfaces to slow control, readout and BUTIS timestamping.

Page 14: EXL/R3B Calorimeters- Readout from ASIC to DAQ Ian Lazarus STFC Daresbury Laboratory

PkDet&

Mux

Preamp + shaper low/high gain. (16 channels)

Octal FADC(serial out)12/14bit 50MHz(2 per ASIC)

Control Logic

Part ofFPGA

Sliding ScaleSpectroscopyADC 14bits1 to 5us conv.

Octal FADC(serial out)12/14bit 50MHz(2 per ASIC)

Page 15: EXL/R3B Calorimeters- Readout from ASIC to DAQ Ian Lazarus STFC Daresbury Laboratory

Virtex 4LX FPGA Virtex 4FX

FPGA (or V5)

Fibre Driver(Laser)

16 ch ASIC

128 detector signals in; 1 data fibre out (max 50Mbytes/sec)or multiple MGTs with PCIe or point-point 200Mbytes/sec

PPC(Unix) Ethernet

physicalinterface

ADC ReadoutTimestamp control

FADC PSA

ASIC ControlSlow Control

Data Output

ASIC1 SS ADC16 FADCs

ASIC1 SS ADC16 FADCs

ASIC1 SS ADC16 FADCs

ASIC1 SS ADC16 FADCs

ASIC1 SS ADC16 FADCs

ASIC1 SS ADC16 FADCs

ASIC1 SS ADC16 FADCs

ASIC1 SS ADC16 FADCs

16 FADCs (12/14 bit)1 Sliding Scale ADC (14bit) per ASIC

Virtex 4LX FPGA

ADC ReadoutTimestamp control

ASIC ControlSlow Control

MGT(raw/PCIe)

Page 16: EXL/R3B Calorimeters- Readout from ASIC to DAQ Ian Lazarus STFC Daresbury Laboratory

Summary:• Multiplexing is good for high channel

counts, but makes timestamping more complex and slows down readout.

• For more simple timestamping consider high density FADC and pad per channel.

• DAQ links will use FPGAs for maximum flexibility and to take advantage of shared developments to NUSTAR standards (1G (10G?) Ethernet, PCIe)