Data Transport in Particle Physics Experiments

Slides:



Advertisements
Similar presentations
Unit-2 Polarization and Dispersion
Advertisements

6 Mar 2002Readout electronics1 Back to the drawing board Paul Dauncey Imperial College Outline: Real system New VFE chip A simple system Some questions.
1 Transmission Fundamentals Chapter 2 (Stallings Book)
Chapter-3-1CS331- Fakhry Khellah Term 081 Chapter 3 Data and Signals.
ECE 4321: Computer Networks Chapter 3 Data Transmission.
Digital Filtering Performance in the ATLAS Level-1 Calorimeter Trigger David Hadley on behalf of the ATLAS Collaboration.
TileCal Electronics A Status Report J. Pilcher 17-Sept-1998.
Department of Electronic Engineering City University of Hong Kong EE3900 Computer Networks Data Transmission Slide 1 Continuous & Discrete Signals.
William Stallings Data and Computer Communications 7th Edition (Selected slides used for lectures at Bina Nusantara University) Data, Signal.
Module 3.0: Data Transmission
Lecture 4b Fiber Optics Communication Link 1. Introduction 2
Chapter 3 Data and Signals
Chapter 8 COMMUNICATION AND COMPUTER NETWORK
Physical Layer B. Konkoth.
1 Physical Layer. 2 Analog vs. Digital  Analog: continuous values over time  Digital: discrete values with sharp change over time.
Performance of the DZero Layer 0 Detector Marvin Johnson For the DZero Silicon Group.
CCNA 1 Module 4: Cable Testing.
Preliminary Design of Calorimeter Electronics Shudi Gu June 2002.
NESCOT CATC1 Cable Testing CCNA 1 v3 – Module 4. NESCOT CATC2 Waves 1. The _________ of the waves is the amount of time between each wave, measured in.
Understanding ADC Specifications September Definition of Terms 000 Analogue Input Voltage Digital Output Code FS1/2.
1 ALICE T0 detector W.H.Trzaska (on behalf of T0 Group) LHCC Comprehensive Review, March 2003.
Leo Greiner IPHC DAQ Readout for the PIXEL detector for the Heavy Flavor Tracker upgrade at STAR.
The Physical Layer Lowest layer in Network Hierarchy. Physical transmission of data. –Various flavors Copper wire, fiber optic, etc... –Physical limits.
1 ELE5 COMMUNICATIONS SYSTEMS REVISION NOTES. 2 Generalised System.
Electromagnetic Spectrum
March 9, 2005 HBD CDR Review 1 HBD Electronics Preamp/cable driver on the detector. –Specification –Schematics –Test result Rest of the electronics chain.
Valerio Re, Massimo Manghisoni Università di Bergamo and INFN, Pavia, Italy Jim Hoff, Abderrezak Mekkaoui, Raymond Yarema Fermi National Accelerator Laboratory.
Collimator BPM electronics – Results from the lab, SPS and LHC
Network Media. Copper, Optical, Fibre (Physical Layer Technologies) Introduction to Computer Networking.
ATLAS and the Trigger System The ATLAS (A Toroidal LHC ApparatuS) Experiment is one of the four major experiments operating at the Large Hadron Collider.
Chapter 2 : Data Communications BENG 4522 Data Communications & Computer Networks Transmission Impairment Signals travel through the transmission.
ATLAS and the Trigger System The ATLAS (A Toroidal LHC ApparatuS) Experiment [1] is one of the four major experiments operating at the Large Hadron Collider.
29/05/09A. Salamon – TDAQ WG - CERN1 LKr calorimeter L0 trigger V. Bonaiuto, L. Cesaroni, A. Fucci, A. Salamon, G. Salina, F. Sargeni.
 13 Readout Electronics A First Look 28-Jan-2004.
Computer Communication & Networks
Configuration and local monitoring
Data Transport in Particle Physics Experiments
Rainer Stamen, Norman Gee
Serial Communications
Data Transport in Particle Physics Experiments
An Introduction to Transmission Media
Day 38: December 4, 2013 Transmission Lines Implications
LCLS_II High Rep Rate Operation and Femtosecond Timing
ATLAS calorimeter and topological trigger upgrades for Phase 1
Transmission Media.
Pulse Processing and Shaping
MECH 373 Instrumentation and Measurements
96-channel, 10-bit, 20 MSPS ADC board with Gb Ethernet optical output
DCH FEE 28 chs DCH prototype FEE &
William Stallings Data and Computer Communications 7th Edition
Introduction to electronic communication systems
Overview Communication is the transfer of information from one place to another. This should be done - as efficiently as possible - with as much fidelity/reliability.
LHC BLM system: system overview
A First Look J. Pilcher 12-Mar-2004
Dr. Clincy Professor of CS
VELO readout On detector electronics Off detector electronics to DAQ
LHCb calorimeter main features
Important Concepts at the Physical Layer
BESIII EMC electronics
Optical links in the 25ns test beam
Computer Networks Topics: Twisted Pair and Fiber Optic Cable
The CMS Tracking Readout and Front End Driver Testing
Fiber Optic Transmission
Chapter Three: Signals and Data Transmission
The LHCb Front-end Electronics System Status and Future Development
Anything that can carry information from a source to a destination.
NETWORK COMPONENTS PHYSICAL MEDIA
Physical Media PHYSICAL MEDIA.
Lecture 2 Electrical and Electronics Circuits. After you study, and apply ideas in this Lecture, you will: Understand differences among resistance, capacitance,
Presentation transcript:

Data Transport in Particle Physics Experiments Tony Gillman Particle Physics Department Rutherford Appleton Laboratory

Data transport – scope A very generic title… “Transport” is meaning here “movement of signals and data” – How are data transferred all the way from detectors to computers? What happens to the signals during this journey – transmission media, formats, … I will aim to cover a broad range of topics – Analogue signal handling – and some of the pitfalls… Analogue to Digital conversion techniques – the good and the bad… Data serialisation and deserialisation – why bother… Digital data transport media – copper vs silica Purpose: give some idea of the problems of getting data from experiments The first-level trigger of the ATLAS detector at the CERN LHC neatly illustrates many of these techniques, so will be used as a general case study

The data challenge Current generation of experiments will generate prodigious data volumes ATLAS will produce ~1 Petabyte (1015 bytes) per second In addition, the instantaneous data rates can be extremely high The LHC collision rate is 40 MHz → bursts of new data arrive every 25 nsec How do we transfer these data from the detectors into the data acquisition electronics → massive communication problem Triggering removes the need to transport all of these data – Store data for ~2 msec in pipeline memories First-level trigger decides from which events to accept and transport the detector data 40 MHz → 75 kHz max – (higher-level triggers reduce this much further)

ATLAS trigger system Still a challenge even to get trigger data into trigger electronics Transport of data must be almost error-free, or trigger rate can become unacceptably high Latency (time delay between collisions and trigger decision) must be short, to minimise data storage requirements (remember 106 Gigabytes per sec!) Every part of signal chain must therefore be as fast as possible

ATLAS level-1 calorimeter trigger Jet / ET (JEP) 400Mbit/s To CTP Analogue Receivers Pre- Processor (PPr) DAQ/RoI e/, /hadron Clusters (CP) To CTP Analogue tower sums (~7200) DAQ 400Mbit/s DAQ/RoI 1Gbit/s 1Gbit/s 1Gbit/s Readout Driver (ROD) Real-time signal (data) path Readout data path To ROS

ATLAS level-1 calorimeter trigger Data are transported from detectors (calorimeters) to trigger processing electronics to generate ACCEPT signals to feed Central Trigger Processor Signals undergo transformations at several stages in their journey…

Analogue signal transmission Calorimeter signals are of two types: Liquid Argon calorimeter – Bipolar, 75 nsec FWHM Differential, ±2V max Tile calorimeter – Unipolar, 50 nsec FWHM

TileCal analogue trigger cable Transport medium: 16 shielded twisted-pair channels + global shield Characteristic impedance: 88 Ω  10 % Cable delay: ≤4.76 nsec/m Inter-pair delay skew: <2.5 nsec (70m cable) Attenuation: -0.06 dB/m Crosstalk: <0.2% (70m cable) Bandwidth: 13 MHz at -6dB

Imperfections in transmission lines Negative (inverted) signal Pre-installation measurements on TileCal analogue cables showed bad timing skew Inter-pair skew (tpdn ≠ tpdm) – excessive, up to 20 nsec, but could be calibrated out Intra-pair skew (tpdn+ ≠ tpdn-) – excessive, up to 28 nsec This effect is totally unacceptable – result is to change the shape and amplitude of resultant differential signal, because of varying levels of dispersion Good Pair (tower 4, PMT 19) Bad Pair (tower 4, PMT 19) Resultant signal Positive signal Negative (inverted) signal

S-parameter measurements S-parameters characterise transmission-line performance in the frequency domain For the suspect cable, S-parameters were measured for the 4 propagation modes – 1. differential-mode → differential-mode (signal attenuation) 2. common-mode → common-mode (signal attenuation) 3. differential-mode → common-mode (mode conversion) Common-mode signal will radiate and couple to adjacent signal pair 4. common-mode → differential-mode (mode conversion) Cable susceptible to radiation and resultant differential-mode signal will degrade S/N ratio Mode conversion is caused by asymmetries in differential transmission-lines

S-parameter measurements First step was to measure characteristic impedance Z0 of cables in two modes –common-mode and differential-mode and terminate cables under test in both ways using a single network Measure transfer function of cables over frequency range up to 50 MHz in each of four modes using sine waves Test setup for common → common mode and common → differential mode measurements Test setup for differential → differential mode and differential → common mode measurements

S-parameter measurements “Good” Pair “Bad” Pair “Bad” pair exhibits severe attenuation at high frequencies → signal dispersion Common → differential conversion is extremely large >15 MHz (compare with differential → differential mode!) Conclusion: The entire batch of cables from this manufacturer was rejected

ATLAS analogue trigger cabling

ATLAS analogue trigger cabling

Analogue → Digital conversion Digital signals have many advantages over analogue signals (noise immunity, crosstalk, processing capability, …), so preferable to digitise detector signals as early as possible in signal chain Analogue-to-digital converters (ADCs) are mixed-signal devices Digital Output = Input signal / VREF = AIN / VREF x 2N AIN = Analogue Input Voltage VREF = Vmax - Vmin (Reference Voltage) N = No of output bits (resolution) Analogue signal resolution = VREF / 2N This is the fastest type of converter, also known as a Flash ADC (FADC) The delay between the clock and the digital output data appearing is latency Low latency essential in many applications (e.g. ATLAS level-1 trigger) Clock

ADC performance – some notes For an n-bit converter… Dynamic range in dB – 20 log (2n -1) Signal-to-Noise Ratio (SNR) = rms Signal / rms Noise (integrated over 1/2 clock period) Several sources of noise – Quantisation noise Clock jitter Electronic circuit noise Fundamental limit on ADC performance is quantisation noise – LSB / sqrt 12 SNR for ideal ADC = (6.02n + 1.76) dB Nyquist limit – highest frequency component permitted ≤ ½ sampling frequency If f(Ain) > ½ fs aliasing will occur → increased noise Avoid aliasing by passing signal through low-pass filter before ADC comparators

ADC performance – timing jitter Clock jitter leads to aperture uncertainty For a sine wave signal (V = A sin wt) → dVmax = 2p A f dt Aperture uncertainty therefore translates to a noise source, degrading the ADC resolution for high-frequency signals Magnitude scales with the input signal frequency The effect only becomes significant if dt > (2n p f)-1 The demands on clock jitter are very severe… ADC resolution Input frequency 44.1 kHz 192 kHz 1 MHz 10 MHz 100 MHz 8 28.2 ns 6.48 ns 1.24 ns 124 ps 12.4 ps 10 7.05 ns 1.62 ns 311 ps 31.1 ps 3.11 ps 12 1.76 ns 405 ps 77.7 ps 7.77 ps 777 fs 14 441 ps 101 ps 19.4 ps 1.94 ps 194 fs 16 110 ps 25.3 ps 4.86 ps 486 fs 48.6 fs 18 27.5 ps 6.32 ps 1.21 ps 121 fs 12.1 fs 24 430 fs 98.8 fs 19.0 fs 1.9 fs 190 as

ADC performance – ENOB Overall effect of aperture uncertainty is to reduce the Effective Number Of Bits (ENOB) of the ADC at high frequencies N.B. An n-bit ADC will not resolve to n bits at its full analogue bandwidth unless clock jitter is kept below these limits

Digital signal transmission To transfer parallel data between sub-systems, convert to serial bitstreams to reduce the number of data paths and connector pins – increases reliability (but also latency!) Serialising-deserialising (SerDes) chipsets can drive serial bitstreams at ~Gbit/s rate Very common technology for serial links is Low-Voltage Differential Signaling (LVDS) Cable chosen for trigger – shielded Twin-ax (2 parallel cores – Z0 = 100W) Many advantages: Low-voltage power supplies Good noise immunity Low power dissipation Small signal swing → high data rates “Gigabits at Milliwatts”

Eye patterns – digital data Source Destination

Pre-compensation techniques Adding a passive pre-compensation network (high-pass filter – CR or LR) to the LVDS driver outputs boosts the high-frequency components of the signal to compensate for the cable dispersion No pre-compensation LR pre-compensation N.B. overshoot

ATLAS PreProcessor Module ANALOGUE MCMs DIGITAL Digital data outputs LVDS Serialisers Processor ASIC Signal flow Flash ADCs Analogue signal inputs Signal flow

Beware!!! Installing Cu signal cabling can produce unexpected effects – Cable Discharge Event (CDE) Static electricity on the jacket material of the cable induces a charge in the cable wires Mechanisms – Tribocharging (friction), produced as cables are pulled across surfaces Electromagnetic fields can induce charge build up on cables, e.g. from electronic light ballasts This may have been an issue for our 8000 LVDS cables installed under-floor between racks As a precaution, we “discharged” cables after installation but before connecting any modules N.B. This is another reason why using fibre-optic cabling has advantages

Optical fibres Cylindrical dielectric waveguide transmitting light along its axis by total internal reflection, consisting of a core covered by a sheath of cladding (ncore > ncladding) As an alternative to Cu cabling for digital data transmission, it has many benefits – Huge bandwidth Immunity from EMI, ground-loops and crosstalk Small volume for cable plant Two types available – Multi-mode and Single-mode (usual material is silica) – Multi-mode fibres – large core diameter (few tens of mm) allows multiple path lengths → intermodal dispersion limits Bandwidth x Distance product Reduce intermodal dispersion by using graded-index silica – transit time variations → zero Single-mode fibres – small core diameter (few mm) forces lowest-order (axial) mode, low dispersion → high Bandwidth x Distance product Propagation delay ~ncore / c (~5 nsec/m – similar to Cu cable)

Optical fibres – some available types Step-index Multi-Mode fibres – Cheap Large core diameter → easy to couple light in/out High intermodal dispersion → low bandwidth Suitable for short links and low data rates Graded-index Multi-Mode fibres – Reduced intermodal dispersion → increased bandwidth Suitable for medium-range links/low data rates or short links/medium data rates Step-index Single-Mode fibres – Small core diameter → harder to couple light in/out Wide bandwidth Suitable for long-range links and high data rates

Optical fibres – ATLAS level-1 trigger Data transmitted to level-2 trigger and DAQ via Readout Driver modules (RODs) – distance ~10m, total bandwidth >250 Gbyte/s Chosen to use Multi-Mode fibres driven by laser diode transmitters (Infineon) operating at 850 nm, mounted on trigger modules Total no of fibres feeding Readout Driver modules (RODs) ~320 Transmitters are driven from Agilent G-link transmitters at 960 Mbaud (800 Mbit/s) Receivers are dual Stratos devices mounted on 20 RODs 56 mm

ILC Vertex Detector International Linear Collider will be an accelerator ~35 km long colliding bunches of e- and e+ at energies of 500 GeV – physics to complement that from the LHC VXD will be based on Si detectors e.g. CCDs – forming ladders

ILC Vertex Detector 5 concentric barrels of ladders, on radii ranging from 15mm - 60mm Thickness <0.1% X0 per barrel (target) ~109 pixels – each 20m  20m ILC will generate many spurious hits from beamstrahlung during bunch crossings To minimise these background hits, CCDs must be read out quickly – Readout time of 50s for inner barrel (highest background hit density) Readout time of 250s for each outer barrel (lower background hit density)

Background hit rates Accelerator beam parameters – Barrel no Radius ~1 msec bunch-train 337 nsec inter-bunch gap 5 Hz repetition rate (200msec dead-time) Barrel no Radius CCD dimensions CCDs per ladder Ladders barrel Readout clock rate time Background hits per bunch-train 1 15mm 100mm13mm 8 50 MHz 50 msec 760K 2 26mm 125mm22mm 25 MHz 250 msec 370K 3 37mm 12 140K 4 48mm 16 30K 5 60mm 20

Readout data volumes So how much data will the VXD generate? Total no of pixels clocked out during each bunch train ~4.109 To read out every pixel (assuming ≤1 byte/pixel) raw data volume ~20 Gbyte/s This is unnecessary, most pixels are empty – only ~0.5% occupancy Sparsify data in real-time in Readout chips Digitise signals in on-chip ADCs (5 bits OK) Look for 2x2 pixel clusters with signal >cluster threshold → 6 bytes per cluster 26 bits (h-f addressing) 20 bits for 4 x 5-bit ADC values 2 spare bits – parity, etc 20 Gbyte/s → 40 Mbyte/s

Data acquisition task Total sparsified data volume per bunch train ~8 Mbytes (~40Mbyte/s) To read this out in real-time requires peak data transfer rate >30 Gbyte/sec Readout chips require de-randomising FIFOs → average data transfer rate ~600 Mbyte/sec Provide each Readout chip with primary memory to store sparsified data (+ address tags) ~1 Mbyte/CPR (Barrel 1) → ~10 Kbyte/CPR (Barrel 5) Read data out to DAQ during 200msec dead-time after each bunch train Total sparsified data rate from VXD ~40 Mbyte/s (split between ±h)

Data collection Many ways to collect the data from all CPRs – this is only one possibility Empty CPR primary memories sequentially at 50 MHz on to byte-wide ring-buses at ends of each barrel Serialise the data from each ring-bus at 400 Mbit/s and drive differential LVDS signals (or optical links) into 2 DAQ cards (±h) DAQ cards de-serialise the LVDS data, combine the 5 data streams, re-format, assemble and store the data for the entire bunch crossing (taking ~80 msec) 2 optical fibres/DAQ card export data to main DAQ + import readout control signals

“Galvanic” links need space… ~10% of digital data links of ATLAS L1Calo trigger in a Birmingham test-rig Small part of ATLAS L1Calo data link system installed underground Data from ILC Vertex Detector could be transported on a single fibre! Upgraded L1Calo for Super-LHC will probably use fibres for all data transport