uscms hcaltridas - university of maryland cern. 10-may-00 1 uscms hcaltridas introduction • hcal...

21
TRIDAS Cern. 10-May-00 1 USCMS HCALTriDAS USCMS HCALTriDAS Introduction HCAL Front-End Readout and Trigger Joint effort between: University of Maryland – Drew Baden (Level 3 Manager) Boston University – Eric Hazen, Larry Sulak University of Illinois, Chicago – Mark Adams, Rob Martin, Nikos Varelas Web site: http:// macdrew .physics. umd . edu / cms / Has latest project file, spreadsheets, conceptual design report, etcThis talk: – Design – Schedule – Issues

Upload: buithien

Post on 02-Apr-2018

214 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: USCMS HCALTriDAS - University Of Maryland Cern. 10-May-00 1 USCMS HCALTriDAS Introduction • HCAL Front-End Readout and Trigger • Joint effort between: – University of Maryland

TRIDAS Cern. 10-May-00 1

USCMS HCALTriDASUSCMS HCALTriDASIntroduction

• HCAL Front-End Readout and Trigger

• Joint effort between:– University of Maryland – Drew Baden (Level 3 Manager)– Boston University – Eric Hazen, Larry Sulak– University of Illinois, Chicago – Mark Adams, Rob Martin, Nikos Varelas

• Web site:– http://macdrew.physics.umd.edu/cms/– Has latest project file, spreadsheets, conceptual design report, etc…

• This talk:– Design– Schedule– Issues

Page 2: USCMS HCALTriDAS - University Of Maryland Cern. 10-May-00 1 USCMS HCALTriDAS Introduction • HCAL Front-End Readout and Trigger • Joint effort between: – University of Maryland

TRIDAS Cern. 10-May-00 2

USCMS HCALTriDASUSCMS HCALTriDASCMS Inner Detector

Title:(cmsqtr28.eps)Creator:Adobe Illustrator(TM) 7.0Preview:This EPS picture was not savedwith a preview included in it.Comment:This EPS picture will print to aPostScript printer, but not toother types of printers.

Page 3: USCMS HCALTriDAS - University Of Maryland Cern. 10-May-00 1 USCMS HCALTriDAS Introduction • HCAL Front-End Readout and Trigger • Joint effort between: – University of Maryland

TRIDAS Cern. 10-May-00 3

USCMS HCALTriDASUSCMS HCALTriDASHCAL Barrel Trigger Primitives

– 0 < η < 1.5– ∆η x ∆φ = .087 x .087– H0 and H1 depths– Trigger Primitive:

• H0+H1 added together• TT ≡ physical tower• Convert to ET via LUT• Muon bit added

– 1.5 GeV < E < 2.5 GeV– 1 MIP ~ 2 GeV

– Level 1 data:• 24 bits:

– Tower A: 9 bits:» 8 bits ET nonlinear» 1 bit Muon

– Tower B: 9 bits, same as A– 1 Abort gap bit– 5 bits Hamming code

Page 4: USCMS HCALTriDAS - University Of Maryland Cern. 10-May-00 1 USCMS HCALTriDAS Introduction • HCAL Front-End Readout and Trigger • Joint effort between: – University of Maryland

TRIDAS Cern. 10-May-00 4

USCMS HCALTriDASUSCMS HCALTriDASHCAL Endcap Trigger Primitives

– 1.5 < η < 3– ∆η x ∆φ = .087 x 5° (.087) η< 1.6– ∆η x ∆φ = .087 x 10 ° (.175) η>1.6– Trigger Primitive:

• η< 1.6– same as Barrel

• η> 1.6– 1 TT = 2 physical towers– break physical tower into halves and send

– Level 1 data:• same as Barrel

Page 5: USCMS HCALTriDAS - University Of Maryland Cern. 10-May-00 1 USCMS HCALTriDAS Introduction • HCAL Front-End Readout and Trigger • Joint effort between: – University of Maryland

TRIDAS Cern. 10-May-00 5

USCMS HCALTriDASUSCMS HCALTriDAS

– 3 < η < 5– ∆η x ∆φ = .166 x 10° (.175)– Trigger Primitive:

• combine 2 in φ and 3 in η to make trigger tower

– Level 1 data:• same as Barrel

HCAL Forward Trigger Primitives

Title:eta-phi-grid-Ivan.epsCreator:MiniCad 6.0.1Preview:This EPS picture was not savedwith a preview included in it.Comment:This EPS picture will print to aPostScript printer, but not toother types of printers.

Page 6: USCMS HCALTriDAS - University Of Maryland Cern. 10-May-00 1 USCMS HCALTriDAS Introduction • HCAL Front-End Readout and Trigger • Joint effort between: – University of Maryland

TRIDAS Cern. 10-May-00 6

USCMS HCALTriDASUSCMS HCALTriDASHCAL TriDAS Relevant Parameters

• These parameters drive the design and project cost:– HCAL Channels and topology determines

• Total channel count• Total number of trigger towers (includes calibration fibers)

– Need to understand 53° Overlap region, high rad region, fiber cabling, etc.

– QIE Readout parameters determine• Number of channels/card

– 2 Channels per fiber, 7 data bits + 2 cap bits per channel– HP G-links, 20 bit frames, 16 bits data

• Total number of cards to build

– Data rates• Assume 100kHz Level 1 accepts• Occupancy estimated to be 15% at L=1034

• Determines buffer sizes

– Level 1 trigger crossing determination• Under study (Eno, Kunori, etal.)• Determines FPGA complexity and size (gates and I/O)

4,2486,48613,332Total

2161,2062,412Forward

1,7281,8363,672Endcap

01,1402,280Outer

2,3042,3044,968Barrel

TriggerTowers

FibersTowersRegion

Page 7: USCMS HCALTriDAS - University Of Maryland Cern. 10-May-00 1 USCMS HCALTriDAS Introduction • HCAL Front-End Readout and Trigger • Joint effort between: – University of Maryland

TRIDAS Cern. 10-May-00 7

USCMS HCALTriDASUSCMS HCALTriDASReadout Crate Components

• HCAL Readout Crate– 9U VIPA

• No P3 backplanes and aux cards (saves $)– Receiver and pipeline cards:

• 18 HCAL Trigger and Readout (HTR) Cards per crate– Raw data fiber input

» 16 fibers, 2 channels per fiber=32 channels per card– Level 1 Trigger Primitives output– Level 2 Data output to DCC (next bullet)

– Data Concentrator:• 1 DCC card (Data Concentrator Card)

– Receives and buffers L1 accepts for output to L2/DAQ

– Crate controller:• 1 HRC card (HCAL Readout Control Module)

– VME– CPU for slow monitoring– FPGA logic for fast monitoring– TTC LVDS fanout ala ECAL

DCC

2 channels/fiber@ 1 Gbps

18 HTR Cardsper VME crate

DCC

HTR

Front End: QIE Tx

Level 1 Trigger DataVitesse, Copper Link,20m cables, 1 Gbps

Level 2 Raw Data200 Mbps link

HTR

DAQ

Level 1 Trigger

HRC

HTR

HTR

TTCEx

TTCRx

Page 8: USCMS HCALTriDAS - University Of Maryland Cern. 10-May-00 1 USCMS HCALTriDAS Introduction • HCAL Front-End Readout and Trigger • Joint effort between: – University of Maryland

TRIDAS Cern. 10-May-00 8

USCMS HCALTriDASUSCMS HCALTriDASHCAL TRIGGER and READOUT Card

• All I/O on front panel– Level 1 Trigger Tower data outputs:

• 8 shielded twisted pair• 4 per single 9-pin D connector

– TTC input:• From TTCrx on HDC, ala ECAL

– Raw data Inputs:• 16 digital serial fibers from QIE• 1 serial twisted pair with TTC information

– DAQ data output to DCC:• Single connector running LVDS

• FPGA logic implements:– Level 1 Path:

• Trigger primitive preparation• Transmission to Level 1

– Level 2/DAQ Path:• Buffering for Level 1 Decision• No filtering or crossing determination necessary• Transmission to DCC for Level 2/DAQ readout

Level 2 Path

(Pipeline and Level 2 buffers)

Level 1 Path

(Trigger Primitives )

Point-to-PointTx to DCC

TTL inputfrom TTC

Output to Level 1Trigger Framework

HP

G-L

inks

Fib

er R

xL

VD

SV

ites

se

P2

P0

P

1

Page 9: USCMS HCALTriDAS - University Of Maryland Cern. 10-May-00 1 USCMS HCALTriDAS Introduction • HCAL Front-End Readout and Trigger • Joint effort between: – University of Maryland

TRIDAS Cern. 10-May-00 9

USCMS HCALTriDASUSCMS HCALTriDASHTR Card Conceptual Design

• Current R&D design focusing on– Understanding HCAL requirements

• Interface with FNAL group– No card-to-card communication

• Has implications with respect to summing in 53° region, and fiber routing– How to implement I/O

• R&D on all relevant links is in progress– Minimizing internal data movement– FPGA algorithm implementation

• Requires firm understanding of requirements• Requires professional-level FPGA coding

– Reducing costs• FPGA implementation

– Altera vs. Xilinx– On-chip FPGA memory is a big factor

• Eliminating P3 backplane saves ~$1000/card and $1500/crate• Maintain openness to industry advances

– “Watch” HDTV

Page 10: USCMS HCALTriDAS - University Of Maryland Cern. 10-May-00 1 USCMS HCALTriDAS Introduction • HCAL Front-End Readout and Trigger • Joint effort between: – University of Maryland

TRIDAS Cern. 10-May-00 10

USCMS HCALTriDASUSCMS HCALTriDASHTR Conceptual Schematic

• Input:– QIE 7 bit floating plus 2 bits “cap”

• Lookup table (LUT)– Convert to 16 bit linear energy

• Pipeline (“Level 1 Path”)– Transmit to Level 1 trigger, buffer for Level 1 Accept, 3 µs latency

• Level 2 Buffer (“Level 2 Path”)– Asynchronous buffer, sized based on physics requirements

Rx20 bit frames

40 Mframe/sec 1

PLD

PLD

Ch1A data

Ch1B data

7

7

LUT

LUT

Ch1A address

Ch1B address

7/9

7/9

Ch1A data

16

Ch1B data

16

Level 1 Path(Trigger Primitives)

Level 2 Path(Pipeline)

Level 1

Frame Bit 1

“Cap” Bits 2 “Cap” Error Bit 1

DCC

BC

BC

Page 11: USCMS HCALTriDAS - University Of Maryland Cern. 10-May-00 1 USCMS HCALTriDAS Introduction • HCAL Front-End Readout and Trigger • Joint effort between: – University of Maryland

TRIDAS Cern. 10-May-00 11

USCMS HCALTriDASUSCMS HCALTriDASLevel 1 Path

• 40 MHz pipeline maintained• Trigger Primitives

– 8 bit “floating point” E to 16 bit linear ET

– Combination of HCAL towers intoTRIGGER Towers

– Muon MIP window applied, feature bitpresented to Level 1

• Relevant TTC signals via TTCRx chip– Synchronization and bunch crossing ID

• Level 1 Filtering using simple algorithmand BCID and Monte Carlo guides

Title:(level1-path.eps)Creator:Adobe Illustrator(R) 8.0Preview:This EPS picture was not savedwith a preview included in it.Comment:This EPS picture will print to aPostScript printer, but not toother types of printers.

Page 12: USCMS HCALTriDAS - University Of Maryland Cern. 10-May-00 1 USCMS HCALTriDAS Introduction • HCAL Front-End Readout and Trigger • Joint effort between: – University of Maryland

TRIDAS Cern. 10-May-00 12

USCMS HCALTriDASUSCMS HCALTriDASLevel 2/DAQ Path

• 40 MHz pipeline into RAM, wait for L1 decision– 18 bits wide X 5µsec buffer = 3.6k bits/channel– 32 channels per card, 400kbits (see next slide)

• Level 1 Accept causes time slices clocked into derandomizing buffers– Assume 10 time buckets per crossing is necessary for readout– Apply HCAL proposed trigger rule: no more than 22 L1A per orbit

• Deadtime < 0.1% given 100 kHz L1A• see “next” slide for more on this...

R A M

1 6 + 2

deRandomiz ing buffers

1 6 + 2

Level 2

"F i l t e r "(AS IC?)

16

Con t ro lL2 Format

( F P G A )16

Consis ts o f16-b i t words:Header: Event ID (1) Beam crossing/"data state" (1)Data: Data buckets (N 10) SUM from filter (1) Address/error (1)

16 " L 2 F I F O "

2 bits of "data state" added to header

16

T x to DCC

Ch data

Ch error

16

2

R A MCh data

Ch error

16

2

S U M16

" F u l l "

Level 1Accepts

32 channels

total

1 6 + 2 1 6 + 2

L1A

decoderLevel 1

F rameworkL 1 A

Addresspointer

"N" da ta buckets

12 Beam

Crossings

12

BeamCrossing

10 bu

ckets10 b

uckets

Page 13: USCMS HCALTriDAS - University Of Maryland Cern. 10-May-00 1 USCMS HCALTriDAS Introduction • HCAL Front-End Readout and Trigger • Joint effort between: – University of Maryland

TRIDAS Cern. 10-May-00 13

USCMS HCALTriDASUSCMS HCALTriDASHTR Cost and Function Analysis

• HTR constitutes 60% of production M&S• Cost estimates are difficult and very fluid due to uncertainty in requirements.

– Driven by memory requirement:• 32 channels, 7 bits of raw data + 2 bits cap = 9 bits per channel• LUT produces 16 bits nonlinear, therefore needs 29=512 locations x 16 bits = 8192 bits per

channel• Pipeline:

– 5 µs latency (3 µs officially) requires 200 cells at 40 MHz– Store raw 9bits in pipeline, reduces memory requirement: 200x9=1800 bits per channel

• Accept buffer (aka “derandomizer”)– How deep? Apply L1 Accept rule: < 15 L1A’s per orbit– 10 time buckets x 16 bits x 15 deep = 2.4k bits

• Total bits/channel: 8192 + 1800 + 2400 = 12392• 32 channels means we need 400k bits

– And that means we use the LUT in both L1 and L2 paths (ok, only 40 MHz pipeline, easy for FPGA)

– There are some “tricks” but all have engineering risk and cost, e.g.• Do some integer arithmetic inside FPGA, save 2 cap bits, decrease memory by x4• Go off FPGA chip for memory access

Page 14: USCMS HCALTriDAS - University Of Maryland Cern. 10-May-00 1 USCMS HCALTriDAS Introduction • HCAL Front-End Readout and Trigger • Joint effort between: – University of Maryland

TRIDAS Cern. 10-May-00 14

USCMS HCALTriDASUSCMS HCALTriDASHCAL L1A Limit Rule

• L1A average rate = 100 kHz = 1/10µs– 25 ns per crossing, means on average 400 crossings between L1A’s

• Orbit period = 88 µs or approximately 3600 crossings– Therefore on average, 9.46 ± 0.36 L1A per orbit– We will require < 15 L1A per orbit for HTR L2/DAQ buffers

Page 15: USCMS HCALTriDAS - University Of Maryland Cern. 10-May-00 1 USCMS HCALTriDAS Introduction • HCAL Front-End Readout and Trigger • Joint effort between: – University of Maryland

TRIDAS Cern. 10-May-00 15

USCMS HCALTriDASUSCMS HCALTriDASHTR Costs

• FPGA:– Need 400k bits onboard memory– Need 32 channels x 9 pins input = 282 pins input– Need some VME + LVDS + Vitesse => another 100 pins at least

• Overall FPGA requirement: 400 kb memory, 500 I/O pins• Latest quotes (as of 4/6/00, after baseline was established):

Vendor Part Gates(x1000)

Block Ram(kbits)

I/O Pins Cost

Xilinx 600E 986 295 316 BG432444 FG676

$380 - $460

Xilinx 405EM 570 560 404 BG560 $267 - $450

Xilinx 1000E 1569 393 404 BG560512 FG680

$750 - $1065

Altera 20K400E 1052 213 502 FG672 $335 - $475

Page 16: USCMS HCALTriDAS - University Of Maryland Cern. 10-May-00 1 USCMS HCALTriDAS Introduction • HCAL Front-End Readout and Trigger • Joint effort between: – University of Maryland

TRIDAS Cern. 10-May-00 16

USCMS HCALTriDASUSCMS HCALTriDASData Concentrator Card

Motherboard/daughterboard design:– Build motherboard to accommodate

• PCI interfaces (to PMC and PC-MIP)• VME interface

– PC-MIP cards for data input• 3 LVDS inputs per card• 6 cards per DCC (= 18 inputs)• Engineering R&D courtesy of D∅∅

– 2 PMC cards for• Buffering:• Transmission to L2/DAQ via Link Tx

Dat

a fr

om

18

HT

R c

ard

s

6 P

C-M

IP m

ezza

nine

car

ds- 3

LV

DS

Rx

per c

ard

PMC Logic BoardInterface with DAQ

To DAQ

PMC Logic BoardBuffers 1000 Events

PCI Interfaces

P2

P0

P1

Page 17: USCMS HCALTriDAS - University Of Maryland Cern. 10-May-00 1 USCMS HCALTriDAS Introduction • HCAL Front-End Readout and Trigger • Joint effort between: – University of Maryland

TRIDAS Cern. 10-May-00 17

USCMS HCALTriDASUSCMS HCALTriDAS

Motherboard/daughterboard design:• Functionality:

– Slower Monitoring and crate communication• PMC CPU, buy from industry

– Input from DCC• To be determined• Monitoring and VME data path

– TTC ala ECAL/ROSE• LVDS Fanout to all 18 HTR cards

– Monitoring: (FMU)• FPGA implemented on PMC daughter board

– Busy signal output (not shown)• To go to HCAL DAQ Concentrator (HDC)

Hcal Readout Control Module

TT

C F

ano

ut

to 1

8 H

TR

car

ds

PMC Logic Board

PCI Interfaces

P2

P

0

P1

Fro

mD

CC

TT

Cin

PMC CPU Board

Fast Monitoring UnitTTC fanout

Page 18: USCMS HCALTriDAS - University Of Maryland Cern. 10-May-00 1 USCMS HCALTriDAS Introduction • HCAL Front-End Readout and Trigger • Joint effort between: – University of Maryland

TRIDAS Cern. 10-May-00 18

USCMS HCALTriDASUSCMS HCALTriDASOverall Project Timeline

2000 2001 2002 2003 2004

Demonstrator Prototype Pre-productionPrototype

FinalCards Installation

– Limited scope

– 1st priority: functional test of requirements

– 2nd priority: hardware implementation

– Integration: Fall 2000

–Hardware implementation is a priority

– Full channel count

– Integration: Fall 2001

– Production cloned from these

– Integration effort not necessary

– Completed: Summer 2002

– Begins: Fall 2002

– Duration 4-6 months

– Completed: Spr 2003

– Begins:

Fall 2004

Co

nti

ng

ency

Alcove Tests

Page 19: USCMS HCALTriDAS - University Of Maryland Cern. 10-May-00 1 USCMS HCALTriDAS Introduction • HCAL Front-End Readout and Trigger • Joint effort between: – University of Maryland

TRIDAS Cern. 10-May-00 19

USCMS HCALTriDASUSCMS HCALTriDAS

HCAL TriDAS Task 1999 2000 2001 2002 2003 2004

J FMA M J J A SO ND J FM AM J J A SO ND J FM AM J J A S OND J F MA M J J A S ON D J F MA M J J A SON D J FM AM J J A SO ND

Maryland TaskHTR Demonstrator Task

HTR 1 s t Prototype

HTR Pre-production Prototype

HTR Production

System Integration

Boston University Task

DCC Demonstrator Task

DCC 1 s t Prototype

DCC Pre-production Prototype

DCC Production

Illinois, Chicago Task

HRC Demonstrator Task

HRC 1 s t Prototype

HRC Pre-production Prototype

HRC Production

HDC Task

(Appendix)

Page 20: USCMS HCALTriDAS - University Of Maryland Cern. 10-May-00 1 USCMS HCALTriDAS Introduction • HCAL Front-End Readout and Trigger • Joint effort between: – University of Maryland

TRIDAS Cern. 10-May-00 20

USCMS HCALTriDASUSCMS HCALTriDASProject Status

• HTR project progress:– R&D on I/O proceeding: LVDS, Copper Gbit/sec (Vitesse), Fiber Gbit/sec (HP)

• I/O board and HP G-link 6U front end emulator boards almost done– Evaluation of FPGA choices (no ASIC ala “Fermi”)– Better understanding of buffer sizes, synchronization, etc.

• DCC– R&D on DCC motherboard underway at BU– PC-MIP R&D underway, paid for from D∅∅ project

• HRC– UIC ramping up to provide some functionality of HRC card by fall 2000

• Integration– Synchronization issues under study (we are being educated)

• HCAL will closely follow ECAL unless absolutely necessary• Mr. daSilva is helping us a great deal!

– Plans to use early production cards for Alcove tests in early 2003

• Ready for TRIDAS integration:– Ready by beginning of ‘03– Preliminary integration tests possible after 1st prototype, somewhere in ‘02 maybe

Page 21: USCMS HCALTriDAS - University Of Maryland Cern. 10-May-00 1 USCMS HCALTriDAS Introduction • HCAL Front-End Readout and Trigger • Joint effort between: – University of Maryland

TRIDAS Cern. 10-May-00 21

USCMS HCALTriDASUSCMS HCALTriDASCurrent Issues

• Parts cost– HTR implementation in 4 FPGA in 463 cards = 1852 FPGAs– Trying to pin down Xilinx and Altera

• Still learning about functional requirements, e.g.• how to design with uncertain crossing determination algorithm in HTR• How DDC interfaces with DAQ• Synchronization

• FPGA programming– Need to do this at the behavioral level– This is our biggest engineering concern, and we are doing the following:

• Gain expertise in-house:– Verilog courses for Baden, students, engineers, etc.– Request help from Altera and Xilinx with FPGA code design

• Mining expertise within the Masters level EE students• Tullio Grassi just hired (former Alice pixel engineer)• Confident that we will be ok on this..