Qualification of the Front End Cards for the CMS ECAL

19
[email protected] 1 Qualification of the Front End Cards for the CMS ECAL CMS ECAL LECC 2004 – Boston, USA Project Team: E. Corrin: Software design M Gastal: Digital design M. Hansen: Project supervision P. Petit: PCB design

description

CMS ECAL. LECC 2004 – Boston, USA. Qualification of the Front End Cards for the CMS ECAL. Project Team: E. Corrin : Software design M Gastal : Digital design M. Hansen: Project supervision P. Petit: PCB design. Introduction. CMS ECAL trigger and data - PowerPoint PPT Presentation

Transcript of Qualification of the Front End Cards for the CMS ECAL

Page 1: Qualification of the Front End Cards for the CMS ECAL

[email protected] 1

Qualification of the Front End Cards for the CMS ECAL

CMS ECALLECC 2004 – Boston, USA

Project Team:

E. Corrin: Software designM Gastal: Digital designM. Hansen: Project supervisionP. Petit: PCB design

Page 2: Qualification of the Front End Cards for the CMS ECAL

[email protected] 2

Introduction

CMS ECAL trigger and data acquisition system changed in 2002

Same functionality Readout and trigger primitives generation

CCS: Clock and Control SystemTCC: Trigger Concentrator CardDCC: Data Concentrator Card

Page 3: Qualification of the Front End Cards for the CMS ECAL

[email protected] 3

New electronics modules VFE, FE, LVR… Focus on FE card

Introduction

VFE

LVRTrigger Tower in Super ModuleTrigger Tower in Super Module

FE

Page 4: Qualification of the Front End Cards for the CMS ECAL

[email protected] 4

Introduction

2 models of FE Cards Fe card for barrel

Fe card for End Cap

ECAL barrel

GOH

GOH

ECAL end-cap

DAQ

STRIP

STRIP

STRIP

STRIP

STRIP

Optic

al l

ink

inte

rface

s

VFE d

ata

inputs

Page 5: Qualification of the Front End Cards for the CMS ECAL

[email protected] 5

Focus: FE Cards 4,000 cards to be produced Need for a qualification system

Introduction

FE

Configuration

Stimulus Generation

ResponseAcquisition

Model

Fail

Pass

Front end Automatic Tester

Beyond a test system, a valuable simulation tool…

Page 6: Qualification of the Front End Cards for the CMS ECAL

[email protected] 6

General Description

• Hardware• System Control• On-board ICs

Data Flow• Standard Operations

Design Details• Digital Design• Typical Test• Simulation Tool

Outline

Page 7: Qualification of the Front End Cards for the CMS ECAL

[email protected] 7

Hardware

FE boardFATI board

JTAG

FAT board

New cards: FAT card: 300mm × 550mm 12 Layers → 4 units FATI card: 300mm × 250mm 6 Layers → 15 units

Why FATI?•Boundary scan implemented •Limit aging of FAT

Page 8: Qualification of the Front End Cards for the CMS ECAL

[email protected] 8

VME vs. TINI

System Control

For debugging purposes:+Rack and rack controller available+Widely used environment–Handling difficult–Space consuming

For production tests:+Ethernet controlled+Easier handling+Compact set-up–Limited memory resources

TINIEthernet

Page 9: Qualification of the Front End Cards for the CMS ECAL

[email protected] 9

Dual Port Random Access Memories

33 16-bit×64k DPRAMs on board:

•25 Data DPRAMs To simulate 5 VFE cards of 5 16-bit channels each

•7 REC DPRAMs Record FE card responseFrom 6 17-bit optical links (end cap version)16-bit data + 1 bit handshake

•1 RT DPRAM Generate a trigger

1

1

2

2

3

3 4

4 X

Y

1

1

2

2

3

3 4

4 X

Y

1

1

2

2

3

3 4

4 X

Y

1

1

2

2

3

3 4

4 X

Y

U1 U2

D1 D2

DPRAM 32x (16bit X 64k)

RECData

RECHshake

Page 10: Qualification of the Front End Cards for the CMS ECAL

[email protected] 10

Programmable Logic

3 Xilinx xc2s200-6fg456 FPGAs on board:

•FPGA1

•FPGA2

FPGA3

1 VME/TINILocal Bus

FPGA2&3

2 FPGA1Local Bus

Address Port DPRAMs

3 FPGA1Local Bus

Slow Ctrl FE

Data from RT DPRAM

Page 11: Qualification of the Front End Cards for the CMS ECAL

[email protected] 11

Data Flow (1)

Writing to, Reading from DPRAMs

Software requestVME commandDecoding → FPGA1Data broadcasting on local bus

Page 12: Qualification of the Front End Cards for the CMS ECAL

[email protected] 12

Data Flow (2)

Configuration of the FE card

Software requestVME commandDecoding → FPGA1Data broadcasting on local busDecoding → FPGA3Token Ring Communication

Page 13: Qualification of the Front End Cards for the CMS ECAL

[email protected] 13

Data Flow (3)

Stimulus sendingSoftware requestVME commandDecoding → FPGA1Data broadcasting on local busDecoding → FPGA2Data sending to FEData recording from FEWhen trigger from RT DPRAM

L1 Missing pulse to FE

Read back response from FEComparison with model

Page 14: Qualification of the Front End Cards for the CMS ECAL

[email protected] 14

Digital design

FPGA1: Board management

•VME & TINI interfaceR/W operations

•FPGAs communication interfaceUse of Local Bus + handshake signals

•Local bus managementBuffers management to avoid collision

FPGA2: Pattern Generation

•Load start address of stimulus•Set length of broadcasting sequence•Start broadcasting sequence

Page 15: Qualification of the Front End Cards for the CMS ECAL

[email protected] 15

FPGA3: FE Configuration Re-use of block from CCS system

Digital design

mFEC

Verilog

VMEInter

Verilog

FEC-CCS

ADD

VHDL

FPGA3

FE

Additional edge removal functionality

FPGA1

Page 16: Qualification of the Front End Cards for the CMS ECAL

[email protected] 16

Production test:

Goals: Checking crucial connectionsOperate board at 40 MHz

Time Budget: ~2 minutesTypical test cycle:

(-1 boundary scan check) Option-1 I2C test (check presence of FENIX)-1 set of data loading in the DATA DPRAMs and 100 triggers in the RT DPRAM.-1 set-up of the FE card using the slow

control-1 stimulus sending and data recording

FE Cards Tests

Page 17: Qualification of the Front End Cards for the CMS ECAL

[email protected] 17

Suitable test patterns:– Re-use of the FENIX simulation test vectors– Appropriate replica of a VFE data flow

FAT: A simulation tool– Copy of the real life environment of the FE card– Any VFE data flow can be reproduced– Slow Control logic identical to real life system

Useful to understand potential unexpected behaviour

Can be used to investigate problems during runs

Test Patterns and Simulation

Page 18: Qualification of the Front End Cards for the CMS ECAL

[email protected] 18

• FAT: Flexible system reproducing real life environment of FE cards

• Multiple applications:Production tests

Simulations

Radiation tests (backup)

• Status:First system debugging run

First production run to start in November

Conclusion

Page 19: Qualification of the Front End Cards for the CMS ECAL

[email protected] 19

Thank You For Your Attention

Questions?