# Presentation: 285888

## Trigger Upgrade Status

**The DØ Trigger Upgrade consists of**
**Complete replacement of Level 1 calorimeter trigger**
**Replacement of the DFEA’s (track finding modules) in the Level 1 Central Track Trigger**
**A new Level 1 system to match calorimeter objects and tracks (L1caltrack)**
**Upgraded/additional processors for the Level 2 trigger (L2beta)**
**Incorporation of Layer 0 into the Level 2 Silicon Track Trigger (L2STT)**

- D. Wood, Trigger Upgrade Status

## The Run IIb Trigger System

**CAL**

**c/f PS**

**CFT**

**SMT**

**MU**

**FPD**

**L1Cal**

**L1PS**

**L1CTT**

**L1Mu**

**L1FPD**

**L2Cal**

**L2PS**

**L2CTT**

**L2STT**

**L2Mu**

**Global L2**

**Framework**

**Detector**

**Lumi**

**Level 1**

**Level 2**

**1.7 MHz**

**2.5 kHz**

**1  kHz**

**L3/DAQ**

**Level 3**

**50 Hz**

**Cal-TRK**

**MU-TRK**

**New (or replaced) System**

**Enhanced System**

- D. Wood, Trigger Upgrade Status

## Management structure

- D. Wood, Trigger Upgrade Status

## L1cal

**Milestone: “L1 Calorimeter Trigger Production and Testing Complete” – Achieved 04/29/05**
**This means**
**All active boards produced and bench tested**
**Crates, power supplies in hand**
**Enough good boards in hand for full system (including spares)**
**Remaining work**
**BLS-ADF transition system**
**Continued integration testing and pre-commissioning at Fermilab**

- D. Wood, Trigger Upgrade Status

## L1 Cal system

- D. Wood, Trigger Upgrade Status

## L1cal ADC Digital Filter (ADF)

**Largest production of the trigger upgrade (80 cards needed)**
**ADFv2 done by MSU**
**production readiness review 02/11/05 – no modifications needed**
**production complete 4/4/05**
**all cards bench tested at MSU 4/29/05**
**~2 month gain on schedule estimated in Feb**
**100 good cards**
**only 3 required minor reworking**
**full crate tests completed at MSU in May**

- D. Wood, Trigger Upgrade Status

## L1cal TAB and GAB

**TAB production and bench testing finished in January (already reported at last Director’s Review)**
**12 available = 8 + 4 spares**
**GAB production and bench testing finished in February**
**3 available = 1 + 2 spares**
**several production modules at Fermilab for integration tests**
**EM sliding window algorithm (firmware) updated based on performance on real Run IIa electron data**

- D. Wood, Trigger Upgrade Status

## MCH Configuration

**Color coding illustrates the old & new TT readout.**

**Old**

**New**

***J. Fogelsong (2004)***

- D. Wood, Trigger Upgrade Status

## BLS-ADF transition system

**engineering review held Mar 25 – current design emerged**
**80 patch panels & transition cards, 160 cables**
**Added to the project recently with change control**
**New milestone: “Transition system complete”, foreseen 7/15/05**
**Necessary for installation**
**reqs went out in May for **
**25 (of 40) patch panel cards**
**all patch panel chassis**
**182 pleated foil cables (10 already in hand and tested)**
**25 transition card**
**expect prototype system in hand by Jun 17 – allows larger scale testing of L1cal system**

- D. Wood, Trigger Upgrade Status

## Run IIb L1 Calorimeter Trigger Control Path

- L1Cal Expert
- Programs

- L1Cal TCC

- COOR

- Monitoring
-  Clients

- Bit3

- Bit3

- V.I. Master (to ADF)

- V.I. Master (to VRB)

-  VME/SCL (to TAB)

**SCL Distributor** (to ADF)

- L1Cal
- Comm.
- Crate
- VME-9U

- ADF Crate
- #1 of 4
- VME-6U

- ADF #20

- V.I. Slave

- ADF #20

- ...

- ADF Crate
- #4 of 4
- VME-6U

- ADF #20

- V.I. Slave

- ADF #1

- ...

- ...

- TAB/GAB
- Crate
- Custom-9U

- TAB #1

- TAB #8

- GAB

-  ...

- L1Cal
- Readout
- Crate
- VME-9U

- V.I. Slave

- VRB

- VRB

- VRBC

- SBC

- L3

- L2

- Ethernet

- Optical Fiber Splitters to L2Cal Crate

- ...

- P. Laurens
- Rev: 31-May-05 (ALS, PAL)

- TFW

- SCL

- D. Wood, Trigger Upgrade Status

## L1Cal integration: finished tasks

**all input/output signal transmissions verified at “hello world” level except GAB-to-L2/L3 and GAB-to-TFW**
**real calorimeter signals sent via splitter to ADF and oversampled data recorded for offline study**
**test data written from TAB to tape via DZero DAQ chain**
**part of real DZero run**
**data unpacked offline with prototype unpacker**
**long term test of ADF-to-TAB data transmission with pseudorandom data: **
**bit error rate < 10****-13**** **

- D. Wood, Trigger Upgrade Status

## L1Cal integration: still to do

**run data through full chain: BLS-splitter-ADF-TAB-VRB-SBC-Level3-tape**
**expected next few days**
**test two fully loaded TAB inputs from 20 ADF’s**
**requires BLS transition system prototype cards**
**AND/OR terms transmitted to Trigger Framework**
**stable data to L2/L3**
**bit error rate presently too high**
**GAB-to-L2/L3, GAB-to-TFW**
**send data to L1caltrack match system**
**set up analog pulser run and analysis**
**System review for L1cal (organized like a PRR) being scheduled for mid/late July**

- D. Wood, Trigger Upgrade Status

## L1caltrack match trigger

**Production is finished**
**Testing**
**Crate managers (MTCM) – 2 of 6 tested**
**MTCxx (motherboard) – 2 of 12 tested**
**Flavor board (daughterboard) 12 of 14 tested**
**Commissioning**
**In January, certified message sending to Level 1 and Level 3 with old MTCM.**
**New MTCM, check that sychronization was stable over extended period (tested ~30 min)**
**To do in near future**
**Read out both trigger crate and MTM crate**
**Re-verify message sending to L3 with new MTCM**
**Check trigger and readout with new MTCxx**

- D. Wood, Trigger Upgrade Status

## L1caltrack, continued

**Cabling**
**Most collision hall cables run and terminated last year**
**Still to be done (getting FNAL help through Curtis Danner)**
**Terminate the L1CTT backplane cables (180)**
**backplane-L1caltrack pigtail (180)**
**Terminate some remaining on-board MTCxx cables (65)**
**Software**
**“****one button” coldstart and restore GUI exists**
**Trigger crate and MTM crate messages checked in trigger simulator**
**Unpacking code complete**
**Beginning work on unpacking to TMB++ and CAF data formats (where typical users access the data)**

- D. Wood, Trigger Upgrade Status

## L1CTT

**Hardware is essentially done**
**Crates, controllers and backplanes (Fermilab) done last year – some firmware work continues**
**DFEA2 production and testing completed at BU in May (ahead of schedule)**
**40 DFEA2’s needed for full system – 60 were produced**
**50 good boards at Fermilab**
**7 good boards at BU**
**3 bad boards**
**Pre-commissiong**
**Parallel chain used to show that existing L1CTT and new DFEA2’s give identical results on real data when same equations were loaded (Feb)**

- D. Wood, Trigger Upgrade Status

## Closeup of DFEII crate

- DFE2A

- DFE2A

- DFE2
- Controller

- DFE2
- Controller

- D. Wood, Trigger Upgrade Status

## L1CTT parallel chain

**Mixer**

**DFEA crates**
**(current)**

**CTOC, etc**

**Fiber signals from AFE**

**LVDS splitters**

**Partial prototype DFEA crate (upgrade)**

**Prototype crate controller (upgrade)**

**PC**

**link**

**Trigger framework timing (Serial command link)**

**Parallel slice of upgrade prototypes was installed during 2004 shutdown and is being used to pre-commission upgrade components**

**Extra CTOC, CTTT**

**Data stream**

- D. Wood, Trigger Upgrade Status

## CTT:  DFEA – DFEA2 comparison (on data)

**CTT:  DFEA – DFEA2 comparison (on data)**

**first 4 bins show sectors with both RunIIa and RunIIb electronics**
** ****histo: IIa**
** ****points: IIb**

**agreement is exact**

- D. Wood, Trigger Upgrade Status

## L1CTT

**What remains**
**Testing full crates & other system tests at Fermilab**
**Track finding equations for all sectors**
**Evaluate efficiency of new equations from parallel chain data**
**System review: late July**
**Projected date for completing all tests and preparations ~mid August (May updates not in MPP yet)**

- D. Wood, Trigger Upgrade Status

## L2beta upgrade

**“****Drop-in” replacement of Single Board Computers (SBC’s) in Level 2 system**
**Selected SBC: Adlink 6820**
**Dual 2.4 GHz PIV**
**64 bit/66 MHz PIC Bus**
**Testing**
**Few weeks of running at UVa**
**~2 weeks at DØ running online executable in shadow mode**
**Smooth sailing – no problems**

- D. Wood, Trigger Upgrade Status

## L2beta Production Readiness Review

**Reviewed April 15****th**
**Committee: Reinhard Schwienhorst (chair), Gustaaf Brooijmans, Drew Baden**
**Review charge**
**Technical compatibility of board**
**Review of testing**
**Power & cooling**
**CPU needs and numbers**
**Recommendation: procure 9 of these SBC’s**

- D. Wood, Trigger Upgrade Status

## Level 2 CPU vs. Lum

- D. Wood, Trigger Upgrade Status

## Level 2 STT

**Buffer controller production**
**Complete in May – received at Nevis**
**One misrouted trace fixed by wire soldered onto board**
**Silicon Track Cards (STC’s) tested at BU**
**Track Fit Card (TFC) code modification (for Layer 0) ongoing at Stony Brook **

- D. Wood, Trigger Upgrade Status

## Trigger latency adjustment

**To accommodate latency of the upgraded L1 trigger, the overall L1 trigger latency must be increased from 3300 ns to 4092 ns (6 BC ticks)**
**critical timing path is L1cal-to-L1caltrack-to-TFW**
**Pipelines in calorimeter, silicon, CFT can accommodate this increase**
**PDT and scintillator front-ends must be modified**
**Mostly firmware mods but the PDT Contrl Boards must be removed from the collision hall**
**requires collision hall access to swap PDT boards**
**timing shift needs to be coordinated with all front end systems**

- D. Wood, Trigger Upgrade Status

## Coupling with shutdown

**Coupling with installation schedule/timing**
**L1cal: ****high**** – no collision hall access needed, but several weeks of downtime necessary**
**L1CTT: ****moderate**** – access needed, but shorter installation**
**Other systems: ****low**** – can be installed almost any time with little/no interruption of experiment**

- D. Wood, Trigger Upgrade Status

## Summary

**Hardware production is essentially complete**
**Exception: passive transition system for L1cal BLS signals**
**Largest productions went extremely well**
**ADFv2 at MSU, 100 tested boards, ~2.5 months ahead of schedule**
**DFEA2 at BU, 57 tested boards, ~2 months ahead of schedule**
**The trigger upgrade was largely university-based, but almost all action has now moved to Fermilab for system integration and pre-commissioning**
**Significant system reviews scheduled for July (L1cal and L1CTT) – last internal reviews in the project**
**Main thrust now is to do as much commissioning as possible before installation**

- D. Wood, Trigger Upgrade Status