Real-Time Data Reorganizer for the D0 Central Fiber Tracker System at Fermilab

21
06/23/22 Real-Time Data Reorganizer for the D0 Central Fiber Tracker System at Fermilab - S. Rapisarda 1 Real-Time Data Reorganizer for the Real-Time Data Reorganizer for the Central Fiber Tracker System at Fermil Central Fiber Tracker System at Fermil sarda - Computing Division/Electronic System Engineering Depa sarda - Computing Division/Electronic System Engineering Depa Real-Time Data Reorganizer for the Real-Time Data Reorganizer for the Central Fiber Tracker System at Fermil Central Fiber Tracker System at Fermil sarda - Computing Division/Electronic System Engineering Depa sarda - Computing Division/Electronic System Engineering Depa

description

Real-Time Data Reorganizer for the D0 Central Fiber Tracker System at Fermilab. Real-Time Data Reorganizer for the D0 Central Fiber Tracker System at Fermilab. S.Rapisarda - Computing Division/Electronic System Engineering Department. - PowerPoint PPT Presentation

Transcript of Real-Time Data Reorganizer for the D0 Central Fiber Tracker System at Fermilab

Page 1: Real-Time Data Reorganizer for the  D0 Central Fiber Tracker System at Fermilab

04/19/23Real-Time Data Reorganizer for the D0 Central Fiber Tracker System at Fermilab - S. Rapisarda

1

Real-Time Data Reorganizer for the Real-Time Data Reorganizer for the D0 Central Fiber Tracker System at FermilabD0 Central Fiber Tracker System at Fermilab

S.Rapisarda - Computing Division/Electronic System Engineering DepartmentS.Rapisarda - Computing Division/Electronic System Engineering Department

Real-Time Data Reorganizer for the Real-Time Data Reorganizer for the D0 Central Fiber Tracker System at FermilabD0 Central Fiber Tracker System at Fermilab

S.Rapisarda - Computing Division/Electronic System Engineering DepartmentS.Rapisarda - Computing Division/Electronic System Engineering Department

Page 2: Real-Time Data Reorganizer for the  D0 Central Fiber Tracker System at Fermilab

04/19/23Real-Time Data Reorganizer for the D0 Central Fiber Tracker System at Fermilab - S. Rapisarda

2

D0 ExperimentD0 Experiment

D0 ExperimentD0 Experiment

Page 3: Real-Time Data Reorganizer for the  D0 Central Fiber Tracker System at Fermilab

04/19/23Real-Time Data Reorganizer for the D0 Central Fiber Tracker System at Fermilab - S. Rapisarda

3

D0 DetectorD0 Detector

14 m46 ft

20 m66 ft

Central Fiber Tracker ElectronicsScintillating Fibers Detector(D0 Central Fiber Tracker)

Page 4: Real-Time Data Reorganizer for the  D0 Central Fiber Tracker System at Fermilab

04/19/23Real-Time Data Reorganizer for the D0 Central Fiber Tracker System at Fermilab - S. Rapisarda

4

Central Fiber Tracker (CFT)Central Fiber Tracker (CFT)

Inserting CFT into calorimeter

bore

FinishedCFT

Truck convoy carrying CFT

to D0

Page 5: Real-Time Data Reorganizer for the  D0 Central Fiber Tracker System at Fermilab

04/19/23Real-Time Data Reorganizer for the D0 Central Fiber Tracker System at Fermilab - S. Rapisarda

5

Analog Front-End BoardsAnalog to digital signal conversion

Optical to Digital ConversionOptical to Digital Conversion

Visible Light Photon CountersOptical to electrical signal conversion

D0 Central Fiber Tracker40960 scintillating fibersEvent frequency 7.6 MHz

40960 clear fibers

320 LVDS SERDES 371MHz links

Links Throughput: 347 Gigabit/secondData Throughput: 311Gigabit/second

Page 6: Real-Time Data Reorganizer for the  D0 Central Fiber Tracker System at Fermilab

04/19/23Real-Time Data Reorganizer for the D0 Central Fiber Tracker System at Fermilab - S. Rapisarda

6

D0 Trigger Framework

Digital Front-End BoardsTrack recognition

Track RecognitionTrack Recognition

Analog Front-End BoardsAnalog to digital signal conversion

Visible Light Photon CountersOptical to electrical signal conversion

D0 Central Fiber Tracker40960 scintillating fibersEvent frequency 7.6 MHz

List of found tracks

320 LVDS SERDES 371MHz links

Page 7: Real-Time Data Reorganizer for the  D0 Central Fiber Tracker System at Fermilab

04/19/23Real-Time Data Reorganizer for the D0 Central Fiber Tracker System at Fermilab - S. Rapisarda

7

Central Fiber Tracker80 4.5º wide sectors, 512 fibers => 512 bits @ 7.6 MHz5 72º wide Super-Sectors, 8192 fibers => 8192 bits @7.6 MHz

Fibers from detectors have cylindrical geometry (in blocks of 256)

Track recognition electronics (DFEs) requires data organized in azimuthal (trigger) sectors….

Trigger sectorsTrigger sectors

Page 8: Real-Time Data Reorganizer for the  D0 Central Fiber Tracker System at Fermilab

04/19/23Real-Time Data Reorganizer for the D0 Central Fiber Tracker System at Fermilab - S. Rapisarda

8

D0 Trigger Framework

Digital Front-End BoardsTrack recognition

The Missing PieceThe Missing Piece

Analog Front-End BoardsAnalog to digital signal conversion

Visible Light Photon CountersOptical to electrical signal conversion

D0 Central Fiber Tracker40960 scintillating fibersEvent frequency 7.6 MHz

Optical box to reorganize fibers?

Digital box to reorganize data?

40960clear fibers

320 LVDS SERDES371MHz links

or

Page 9: Real-Time Data Reorganizer for the  D0 Central Fiber Tracker System at Fermilab

04/19/23Real-Time Data Reorganizer for the D0 Central Fiber Tracker System at Fermilab - S. Rapisarda

9

Data Mixer SystemData Mixer System

D0 Trigger Framework

Digital Front-End BoardsTrack recognition

Data Mixer SystemReal-time data reorganization

Analog Front-End BoardsAnalog to digital signal conversion

Visible Light Photon CountersOptical to electrical signal conversion

D0 Central Fiber Tracker40960 scintillating fibersEvent frequency 7.6 MHz

320 LVDS SERDES371MHz links

320 LVDS SERDES371MHz links

Page 10: Real-Time Data Reorganizer for the  D0 Central Fiber Tracker System at Fermilab

04/19/23Real-Time Data Reorganizer for the D0 Central Fiber Tracker System at Fermilab - S. Rapisarda

10

Mixer System RequirementsMixer System Requirements

Limitations and challenges: Defined I/O interfaces High data throughput 311 Gigabit/second Marginal throughput available on I/O links Limited space available Minimal delay (200 nsec ?) One board design should fit all the system needs Limited budget & time

Advantages: Some degrees of freedom in specifying the 1st level of serialization in the AFEs Minimal limitations imposed by the DFEs on the 1st level of serialization Minimal flexibility required for future upgrades/changes System partitionable in five identical and independent subsytems of four boards each. Each subsystem has to handle the data from one supersector.

1st level of data serialization from 7.5 MHz to 53 MHz 2nd level of serialization (LVDS SERDES) 53MHz to 371MHz

Digital Front-End BoardsTrack recognition

Data Mixer SystemReal-time data reorganization

Analog Front-End BoardsAnalog to digital signal conversion

320 LVDS SERDES371MHz links

320 LVDS SERDES371MHz links

Page 11: Real-Time Data Reorganizer for the  D0 Central Fiber Tracker System at Fermilab

04/19/23Real-Time Data Reorganizer for the D0 Central Fiber Tracker System at Fermilab - S. Rapisarda

11

Board#1

Mixer SubsystemMixer Subsystem

Digital Front-End Boards

Data Mixer Subsystem

64 LVDS SERDES links

64 LVDS SERDES links

Board#2

Board#3

Board#4

Analog Front-End Boards

LVDS SERIALIZERS

DES DES DES DES

SER SERSERSER

LVDS DESERIALIZERS

(1/5 of the detector data)

The fiber detector can be logically partitioned into 5 identical and independent angular sectors.

The mixer system is partitioned into 5 identical and independent subsystems.

Page 12: Real-Time Data Reorganizer for the  D0 Central Fiber Tracker System at Fermilab

04/19/23Real-Time Data Reorganizer for the D0 Central Fiber Tracker System at Fermilab - S. Rapisarda

12

MS Excel Based ToolMS Excel Based Tool

A MS Excel based tool has been implemented and used to:

Operate on data

Visualize data attributes

Compare different board architectures and choose one

Minimize number of chip-to-chip connections

Minimize number of board-to-board connections

Define/assign data mapping for the input links, chip-to-chip connections (FPGAs I/O), board-to-board connections (backplane), output links

After having defined a data multiplexing model, to automatically generate VHDL code for data mixing.

Page 13: Real-Time Data Reorganizer for the  D0 Central Fiber Tracker System at Fermilab

04/19/23Real-Time Data Reorganizer for the D0 Central Fiber Tracker System at Fermilab - S. Rapisarda

13

MS Excel Based ToolMS Excel Based ToolMixer board 1 Mixer board 2 Mixer board 3 Mixer board 4

Colors…

Link# 1 16 17 32 33 48 49 64Bit# 1

140

Page 14: Real-Time Data Reorganizer for the  D0 Central Fiber Tracker System at Fermilab

04/19/23Real-Time Data Reorganizer for the D0 Central Fiber Tracker System at Fermilab - S. Rapisarda

14

Mixer Board ArchitectureMixer Board Architecture16 LVDS SERDES 371MHz Links

Data Throughput 15.5 Gigabits per second

16 LVDS SERDES 371MHz LinksData Throughput 15.5 Gigabits per second

MIL-STD1553

SubrackControllerB

ACKPLANE

LVDS Receivers

Data Synchronization

Data reorganization

LVDS Transmitters

BackplaneData TXs/RXs

Timingcontrol

BoardControl

Diagnostic

Page 15: Real-Time Data Reorganizer for the  D0 Central Fiber Tracker System at Fermilab

04/19/23Real-Time Data Reorganizer for the D0 Central Fiber Tracker System at Fermilab - S. Rapisarda

15

Mixer Board LayoutMixer Board Layout

XCV50-6CXILINX

PQ240

XCV50-6CXILINX

PQ240 XCV50-6CXILINX

PQ240 XCV50-6CXILINX

PQ240

XCV50-6CXILINX

PQ240

XCV50-6CXILINX

PQ240

XCV50-6CXILINX

PQ240

XCV50-6CXILINX

PQ240

XCV50-6CXILINX

PQ240

XCV50-6CXILINX

PQ240XILINXSPARTAN XCS40XL-5C PQ240

XILINXSPARTAN XCS40XL-5C PQ240XILINXSPARTAN XCS40XL-5C PQ240

XILINXSPARTAN XCS40XL-5C PQ240 XILINXSPARTAN XCS40XL-5C PQ240

XILINXSPARTAN XCS40XL-5C PQ240XILINXSPARTAN XCS40XL-5C PQ240

Page 16: Real-Time Data Reorganizer for the  D0 Central Fiber Tracker System at Fermilab

04/19/23Real-Time Data Reorganizer for the D0 Central Fiber Tracker System at Fermilab - S. Rapisarda

16

Configuring Mixer System Configuring Mixer System One of the 17 FPGAs on the board (board controller) is automatically configured at power-up by an on-board EEPROM. The EEPROM content is modifiable through a front panel JTAG interface port.

The board controller interact with the subrack controller and handles the configuration of the remaining 16 FPGAs.

The FPGAs configuration files are stored on a removable CompactFlash card on the subrack controller.

At power-up the configuration time for the full mixer system is 30 seconds

128MB

MEMORY CARD

CompactFlashTM

Subrackcontroller

Mixers

Page 17: Real-Time Data Reorganizer for the  D0 Central Fiber Tracker System at Fermilab

04/19/23Real-Time Data Reorganizer for the D0 Central Fiber Tracker System at Fermilab - S. Rapisarda

17

DiagnosticsDiagnostics

R E S E T

3

5

1

2

0

4

7

6

8

1 2

9

1 3

1 0

1 4

1 1

1 5

3 . 3 2 . 5

0 1

0 0

0 2

0 3

0 4

0 5

1 5

1 4

1 3

1 2

1 1

re s e t /m o d e

b u tto n

fr o n t p a n e l b i- c o lo r L E D s

Input links clock error Input links frame marker error Input links clock synchronization error Input links frame synchronization error Input links control bits detection Input links test pattern detection Board local bus Backplane serial bus Backplane general-purpose bus FPGAs configuration status Output links test pattern transmission Error latching Measurement of data frame misalignment Data frames re-synchronization Control bits masking Input and output link shutdown Timing reference information

Front panel accessto diagnostic

Remotely accessible throughthe subrack controller

Page 18: Real-Time Data Reorganizer for the  D0 Central Fiber Tracker System at Fermilab

04/19/23Real-Time Data Reorganizer for the D0 Central Fiber Tracker System at Fermilab - S. Rapisarda

18

TestingTesting Boundary Scan (individual board)

Test-rack (individual subsystems)

Mixer System Test RackFull system under testbefore commissioning

Subsystem under test

Page 19: Real-Time Data Reorganizer for the  D0 Central Fiber Tracker System at Fermilab

04/19/23Real-Time Data Reorganizer for the D0 Central Fiber Tracker System at Fermilab - S. Rapisarda

19

Data Mixer SystemData Mixer System

D0 Trigger Framework

Digital Front-End BoardsTrack recognition

Data Mixer SystemReal-time data reorganization

Analog Front-End BoardsAnalog to digital signal conversion

Visible Light Photon CountersOptical to electrical signal conversion

D0 Central Fiber Tracker40960 scintillating fibersEvent frequency 7.6 MHz

320 LVDS SERDES371MHz links

320 LVDS SERDES371MHz links

Page 20: Real-Time Data Reorganizer for the  D0 Central Fiber Tracker System at Fermilab

04/19/23Real-Time Data Reorganizer for the D0 Central Fiber Tracker System at Fermilab - S. Rapisarda

20

Mixer SystemMixer System

D0 Trigger Framework

Digital Front-End BoardsTrack recognition

Data Mixer SystemReal-time data reorganization

Analog Front-End BoardsAnalog to digital signal conversion

Visible Light Photon CountersOptical to electrical signal conversion

D0 Central Fiber Tracker40960 scintillating fibersEvent frequency 7.6 MHz

320 LVDS SERDES371MHz links

320 LVDS SERDES371MHz links

Page 21: Real-Time Data Reorganizer for the  D0 Central Fiber Tracker System at Fermilab

04/19/23Real-Time Data Reorganizer for the D0 Central Fiber Tracker System at Fermilab - S. Rapisarda

21

AcknowledgmentAcknowledgmentThanks to

N.G.Wilcer co-designer of the mixer system

J. Anderson, R.Angstadt, F. Borcherding, B. Haynes, D. Husby, J.Olsen, J. Smith, and M. Vaz for major contributions to the design of the Mixer system;

S. Bledsoe, J. Chramowicz, S. Grünendahl, G. Ginther, S. Lynn, P. Rubinov, and M. Tomoto for their invaluable help in the assembly, debugging, and commissioning of the Mixer system.

Contacts: S. Rapisarda, N. Wilcer (email [email protected], [email protected])Project website: http://www-ese.fnal.gov/D0_CTT_Mixer/