HCAL TriDAS Status Drew Baden, University of Maryland For the HCAL - - PowerPoint PPT Presentation

hcal tridas status
SMART_READER_LITE
LIVE PREVIEW

HCAL TriDAS Status Drew Baden, University of Maryland For the HCAL - - PowerPoint PPT Presentation

HCAL TriDAS Status Drew Baden, University of Maryland For the HCAL Group: Boston University Fermilab Princeton University University Maryland HCAL TriDAS 1 21-Jun-2005 Overview S-Link: 64 bits @ 25 MHz Trigger Primitives


slide-1
SLIDE 1

21-Jun-2005 HCAL TriDAS 1

HCAL TriDAS Status

Drew Baden, University of Maryland For the HCAL Group:

  • Boston University
  • Fermilab
  • Princeton University
  • University Maryland
slide-2
SLIDE 2

21-Jun-2005 HCAL TriDAS 2

FE MODULE

FRONT-END Readout Box (RBX)

On detector

HPD

Overview

Shield Wall S B S

  • 12 HTRs

READ-OUT Crate

Trigger Primitives

GOL TTC GOL

H T R H T R Level 1 TRIGGER

CERN Transmitter 40 bits @40 MHz

20 bits @ 80 MHz =1.6 Gbps FIBERS

S-Link: 64 bits @ 25 MHz

Rack CPU

C L K H T R

QIE QIE QIE QIE QIE QIE

CCA CCA CCA

  • 2 DCC
  • 1 PC Interface
  • 1 Clk board

D C C

Fibers

slide-3
SLIDE 3

21-Jun-2005 HCAL TriDAS 3

HCAL VME Crate

  • VME Bridge module (CAEN)

– Configuration and monitoring over VME

  • Fanout module

– Receives TTC stream – Clones and fans out timing signals – Global HCAL synchronization w/RCT

  • HCAL Receiver & Trigger (HTR) module

– FE-fiber input, linearizers, filters… – Maintains pipeline – TP output via SLBs to RCT – DAQ output of raw/TP data to DCC – Spy over VME for monitoring

  • Data Concentrator Card (DCC)

– Inputs from HTRs – Output to DAQ – Generates busy if needed – Spy output via VME

VME CRATE

10m Copper 1.2 Gb/s

DAQ Calorimeter Regional Trigger

B R I D G E Fiber 1.6 Gb/s F a n O u t H T R

Front End Electronics

H T R D C C H T R H T R ... TTC fiber

slide-4
SLIDE 4

HCAL Receiver & Trigger (HTR) (University of Maryland)

slide-5
SLIDE 5

21-Jun-2005 HCAL TriDAS 5

HTR Principal Functions

  • 1. Receive HCAL data from front-ends
  • Synchronize optical links
  • Data validation and linearization
  • Form “trigger primitives” and transmit to Level 1 at 40 MHz
  • Pipeline data, wait for Level 1 accept

– Upon receiving L1A:

» Zero suppress, format, & transmit raw data to the concentrator (no filtering) » Transmit all trigger primitives along with raw data » Handle DAQ synchronization issues (if any)

  • 2. Calibration processing and buffering of:
  • Radioactive source calibration data
  • Laser/LED calibration data
  • 3. Support a VME data spy monitoring
slide-6
SLIDE 6

21-Jun-2005 HCAL TriDAS 6

SLB RX_CLK40 SLB SLB SLB SLB SLB RX_BC0 TTC

TTCrx

CLK80 Crystal Serial Optical Data Ref Clk

Deserializers (8) 20

Recovered Clk TPG Path SYS40 Clk TTC Broadcast Async Fifo

PLL

TTC 40 Clk x2

XILINX

LC Fiber Data

Princeton Fanout Card (1/VME crate)

SYS80 Clk

HTR Schematic

  • All I/O on front

panel

– Fiber digital data – Copper

  • utput to L1

and DCC

  • FPGA logic

– Fully programma ble

slide-7
SLIDE 7

21-Jun-2005 HCAL TriDAS 7

Dual-LC O-to-E VME Deserializers

Xilinx XC2V3000-4

Stiffeners 6 SLBs

TTC mezzanine

HTR Rev 4

slide-8
SLIDE 8

21-Jun-2005 HCAL TriDAS 8

HTR Status

  • Goal: produce 270 Rev 4 HTRs by end of Summer 05
  • Current status:

– PCB manufacture complete – Boards are now being assembled, about 20/week – Checkout at Maryland, shipping to CERN

  • Currently about 70 boards at CERN

– Will have plenty of HTRs to meet near term work needs – Will be ready for “Ready for Crates” this fall/winter

slide-9
SLIDE 9

21-Jun-2005 HCAL TriDAS 9

HTR Production

  • Complete set of tests developed and being used at

Maryland

  • HTRs will be labeled, tested, cataloged, sent to CERN
  • Will test at Maryland:

– Basic operation (FPGA, Localbus, VME) – SLB connectivity

  • Will not test quality of clocking…

– 10-12 BER optical test on all channels

  • Will use RBX if it arrives…otherwise will use emulator
slide-10
SLIDE 10

21-Jun-2005 HCAL TriDAS 10

Trigger Primitive Generation

  • TPG firmware has been well

simulated for ~2 years

150 GeV pion beam in HE

  • TPG test performed during synchronous

running in Sept 2004

– Trivial identity LUTs for linearization – Form TPGs using simple peak algorithm – Readout raw data with corresponding TPG – Compare in time

TP generated Raw data

slide-11
SLIDE 11

21-Jun-2005 HCAL TriDAS 11

HTR Firmware

  • Firmware additions for latency issues

– Asynchronous fifo changes from incoming clock phase to common – Will monitor fifo latency and report over VME and to DCC – Reset of fifo over VME – Will also reset fifo after loss-of-link recover (via FSM)

  • Implemented data injection via VME into RAM

– Will be useful for Level 1/HTR integration tests

  • Work on zero suppression in progress
  • Not yet working on the variety of summing for TPGs

– HB vs HB/HE overlap vs HF

  • Histogram firmware for HCAL sourcing done
  • Battle tests – will be among many things tested in “slice” 06
slide-12
SLIDE 12

21-Jun-2005 HCAL TriDAS 12

L1 Synchronization

  • Sources of variable latency:

– Each TTCrx has variable latency ~20ns

  • Varies chip-to-chip, voltage and temp dependent

– TLK2501 has variable latency

  • 76 < ∆T < 107 bit times, 3 < ∆T < 6 frames (20bit frames @ 80MHz)
  • Plan to track this:

– HCAL Front-end tools

  • Fast laser calibration pulses
  • TTC BC0 sent to FE, encoded into data stream

– HTR tools

  • SLB histograms
  • Beam in only 1 bucket at some time would be good

– Verification…

slide-13
SLIDE 13

21-Jun-2005 HCAL TriDAS 13

Activities in 904

  • Test each HTR

– Populate each card with 6 SLBs – Test with RCT receiver board – Validate clock, synchronization, quality…

  • Populate VME crates with HTRs and store until November

– Will have to wait for the SLBs – Current status has SLBs arriving en masse ~May?

  • System testing, integration, commissioning…

– We should push hard on SLB/RCT testing so that SLB firmware settles

slide-14
SLIDE 14

21-Jun-2005 HCAL TriDAS 14

HTR SLB Testing

  • Maryland “sandwich” board

– HTR and RCT Receiver are the “bread”

  • Used to host RCT receiver to be able to test each link
  • Status:

– Prototype validated with RCT Receivers, no problems seen – Ready to use in bat 904

HTR

“Sandwich” SLB UW Receiver

SLB connector UW receiver connector

TOP BOT

slide-15
SLIDE 15

Fanout Card (Princeton University)

slide-16
SLIDE 16

21-Jun-2005 HCAL TriDAS 16

Fanout Card

  • All TPs from ECAL and HCAL associated with each LHC

BX have to arrive at the RCT simultaneously

– SLB mezzanine cards used by both ECAL and HCAL do this – But…SLB needs a global synchronous signal – Thus the need for a synchronous fanout module

  • Built by Jeremy Mans and Chris Tully @ Princeton
  • To be used for both ECAL and HCAL to implement

synchronization

– RX_CLK and RX_BC0 for SLBs – Also TTC stream and QPLL cleaned 80MHz clock for deserializer reference

slide-17
SLIDE 17

21-Jun-2005 HCAL TriDAS 17

Timing signals - Overview

Rack-to-Rack CAT 7 H T R D C C H T R H T R H T R F A N O U T H T R D C C H T R H T R H T R F A N O U T F A N O U T F A N O U T F A N O U T

TTC Minicrate

HCAL VME Crates

ECAL

Low-skew distribution tree for global BC0 and CLK (RX_BC0/RX_CLK)

One fanout board per crate

slide-18
SLIDE 18

21-Jun-2005 HCAL TriDAS 18

RX_CLK and RX_BC0 Path

TTC fiber

CLK40_Des1

FPGA

RX_CLK, RX_BC0

TTCrx

QPLL FPGA

TTCrx

QPLL

Fanout board in Crate-mode Fanout board in Global-mode

3.3V CMOS

  • Path is 3.3V differential PECL on Cat6

quad twisted pair

  • RX_BC0 is generated from the FPGA

decode of TTC broadcast on the global card

HTR

SLB SLB SLB SLB SLB SLB Max skew on HTR traces is 0.7 ns. Spec is: Skew < ± 6 ns across HCAL and ECAL

RX_CLK RX_BC0 TTC and CLK80 added

Cat6

slide-19
SLIDE 19

21-Jun-2005 HCAL TriDAS 19

Princeton Fanout Module

slide-20
SLIDE 20

21-Jun-2005 HCAL TriDAS 20

Fanout Status

  • All PCBs remade with QPLL power fix
  • Boards were assembled and are all being tested now

– Initial tests were great – QPLL locked right away, stable…

  • Should be able to

ship full contingent to CERN in July

  • Reminder: This will

be used for both ECAL and HCAL

slide-21
SLIDE 21

Data Concentrator Card (DCC) (Boston University)

slide-22
SLIDE 22

21-Jun-2005 HCAL TriDAS 22

DCC Status

  • This card has been stable for several years

– Tested under battle (see next slide) – Total number needed:

  • 32 for VME crates (2 per crate)
  • 6 spares
  • 12 for test stands
  • Production status

– 20 boards produced and ready for use

  • 4 already in the field and used extensively

– Remaining 30 boards to be finished by the end of Sept 05

  • Waiting on parts…
slide-23
SLIDE 23

21-Jun-2005 HCAL TriDAS 23

HTR-DCC Testing

  • High rate tests completed in January 2005

– Ran at L1 trigger rules spacing (1 in 3, 22 in 2 orbits, etc…)

  • Equivalent to 30% occupancy, 7 samples per channel

– Also ran at 200kHz with estimated 2xzero suppress size

  • Same event size – 4k fragments
  • Note: 20 time samples at full occupancy we saw the link backup as

expected

– Empty events seen, and after buffers flushed saw full events again – HTR/DCC link properly recovered!

– Readout test with 128 consecutive events worked well – Bottom line

  • No problems with DCC as is, looks good to meet 100kHz 15% occupancy 7

time samples per channel

  • Ongoing firmware development

– DCC:

  • Improve error handling – nothing done there recently
  • New DCC libraries using HAL working fine thanks to Fernando
slide-24
SLIDE 24

HCAL in general

slide-25
SLIDE 25

21-Jun-2005 HCAL TriDAS 25

HF Luminosity

  • Who:

– Maryland (Baden+Grassi) – Princeton (Marlow+Tully+asst prof) – Minnesota (Mans) – Virginia (Hirosky)

  • What:

– Produce instantaneous luminosity outside of DAQ path

  • No requirement on triggers, partitions, etc

– Targets:

  • LHC machine
  • CMS “Luminosity database”
  • Control room monitoring
slide-26
SLIDE 26

21-Jun-2005 HCAL TriDAS 26

Luminosity Requirements

  • 3654 bunches per orbit, 80% with beam
  • Baseline proposal:

– For each bucket calculate…

  • Sum ET over the 48 channels per HTR
  • Number of towers above ET thresholds (2 thresholds, 3 levels + active)

– Energy in HF contained in 1 bucket….so TPG-like integration over buckets not needed

– Send this info to daughter card on HTR every bucket

  • Daughterboard will keep histogram

– R&D needed:

  • Requirements defined
  • Monte Carlo implementation
  • Live time considerations (hardware, software…)
  • Other
slide-27
SLIDE 27

21-Jun-2005 HCAL TriDAS 27

Hardware Implementation

  • Prototype general purpose SLB

replacement board built

– Uses a single SLB-site – Embedded processor can store histogram over “n” orbits – Periodically send data to some computer using 100BaseT ethernet

TOP BOT

  • Will also be used for

– Standalone triggering with Jeremy’s trigger board for SLICE – Testing SLB → Wisconsin Vitesse receiver link for production and installation – Can also be used for HO trigger with modest changes to above

  • Status

– Prototype produced, ethernet works, all ok – Lots of firmware development underway – Would like to try a significant test by end of 2005

slide-28
SLIDE 28

21-Jun-2005 HCAL TriDAS 28

Commissioning Tests

  • Can we self trigger at P5 possibly this summer?

– Yes using previously described mezzanine

  • Has RJ45 output specifically for H2 trigger board
  • Can cascade into simple 6U majority logic board Jeremy Mans built

– New firmware for both HTR and mezzanine card tested

  • Scheme:

– Use TPG path firmware, load LUTs correctly – Send 1 “muon” bit per TPG to sandwich board – Majority logic, send 1 bit to trigger board – Trigger board forms majority logic for trigger

slide-29
SLIDE 29

21-Jun-2005 HCAL TriDAS 29

Latency

  • Definition: from BX to input to RCT
  • Budget: 46 clock ticks
  • Current best guess:

– We are on the edge with almost no contingency – NOTE: HTR firmware not yet scrubbed…

HCAL O-E QIE CCA HTR SLB RCT

BX

TOF To RBX Data To RCT

RBX

HPD or PMT (HF)

46 clocks = 1,147.7ns

GOL

TOTAL

46 44 44

SLB (2) and 10m TPG cables (2)

4 4 4

HTR firm- ware 90m fibers CCA can absorb some of the extra phase

12 18 4+3+2 3 HF 12 18 4+3+2 1 HE 12 18 4+3+2 1 HB

slide-30
SLIDE 30

Support Slides

slide-31
SLIDE 31

21-Jun-2005 HCAL TriDAS 31

Optical Attenuation and BER

  • “Typical setup”

– VECSEL transmitter, coupled to fiber via LC connector

  • Not locked, but fixed in place

– Fiber to LC to 8-way MTP male on HTR front panel – Single fiber to LC connector for connection to STRATOS receiver

  • Output power:

– VECSEL advertised to put out 500µW (-3dBm)

  • Terry Shaw measured 570µW for a particular VECSEL

– UMD uses STRATOS LC transmitter

  • Advertised output 100-400µW (-4 to -10dBM)
  • Measured to be 90µW for a particular STRATOS
  • About 6dB below what we will use in CMS
  • Working on FE emulator now using GOL+VECSEL…
  • Attenuations measured:

– At each LC connector, 10 – 50% (0.5 to 1.5 dB) – At MTP connector, same thing (.75dB advertised) – Fibers are about ¼ dB per 100m

FE VECSEL LC MTP (8-way) LC LC Stratos

HTR

slide-32
SLIDE 32

21-Jun-2005 HCAL TriDAS 32

Optical Power (cont)

  • What do we need at the receiver to

maintain link?

– Did a series of measurements with known attenuator – Varied attenuation, looked at:

  • BER
  • TTL “signal detect” (SD) signal provided

by Stratos part

– Found:

  • SD signal goes away when power is

below about 2µW

– Measured 1.5µW but accuracy of meter is probably ±.2µW

  • BER climbs very fast right at this

shoulder

  • NB: achieved BER<10-15 with

multiple fibers in parallel with crystals

Measured ~5k errors in 10sec Points with error bars are worst case BER: <1 error See next slide

slide-33
SLIDE 33

21-Jun-2005 HCAL TriDAS 33

Optical Attenuation (cont)

  • Input power required to maintain link:

– Measured failure for power < ~2µW (-33dBm)

  • Power output by VECSEL:

– 500µW output

  • Divide by 2 for digital averaging
  • Gives 250µW (-6dBm) output at source
  • Expected Attenuations

– Maximum of 8 couplings until the signal gets to the Stratos receiver on the HTR

  • 8x(0.5 - 1.5)dB = (4 – 12)dB

– Add another ~1dB due to fibers

  • Total power at inputs to HTRs:

– -6dBm – (4-13)dB = -10 to -19 dBm – FNAL measured/calculated 7.3dB

  • Operating would be -13dBm
  • We should have about 10dB margin

– Probably more like 15dB

VECSEL Operating

slide-34
SLIDE 34

21-Jun-2005 HCAL TriDAS 34

Longitudinal Separation Attenuation

  • MTP connector ends are spring

loaded into adapter

  • Measured attenuation as a

function of the separation

– Separation should be ~0 if keys and adapters are working well – This should not be an issue for us (famous last words….)