# Presentation: 285885

## DØ RunIIb Trigger Upgrade:End Game

**Darien Wood**
**for the DØ Trigger Upgrade Group**

## General Observations

**Most projects still require**
**final production of some boards**
**bench testing of final boards**
**pre-commissioning system tests at Fermilab with final boards**
**Remaining costs**
**production costs**
**engineering/tech time for firmware development, software development and testing**
**some infrastructure (power supplies cables)**
**Pre-commissioning**
**each subsystem has extensive plans for pre-installation system tests at Fermilab to minimize actual commissioning time**

- D. Wood, Trigger End Game

## L1Cal: remaining hardware and bench testing

**ADF:**
**complete ADF pre-production bench tests**
**ADF production readiness review (Feb 11****th****)**
**produce ADF cards (80+ spares)**
**bench test production cards**
**TAB and GAB:**
**procure final power supply**
**procure additional cables**
**TAB/GAB to L2/L3 (9, optical)**
**TAB to TFW (4, ribbon)**
**BLS transition system:**
**procure parts & cables**
**assemble panels & paddle cards**
**additional ~$29k not in current baseline**

- D. Wood, Trigger End Game

## L1cal: test system

**Set up in Summer ’03 on “sidewalk” beside DØ counting house **
**Power and ground from counting house**
**Real timing signals (serial command link = “SCL”) from DØ trigger framework**
**Split signals from calorimeter (feed upgrade electronics and current electronics at the same time for up to 16 channels)**
**Whole system (with limited number of inputs) to be operated on sidewalk before installation**
**We recognize that L1cal is the largest and most complex of the trigger upgrades and have frontloaded the debugging effort**

- D. Wood, Trigger End Game

## L1cal sidewalk test area

**L1cal sidewalk test area**

**Current L1cal (10 racks)**

**Framework, L2, etc.**

**Clock**

**Upgrade rack(s)**

**Computers**

**Power, ground**

**Split signals**

**Serial command link**

**Ground isolation**

**Movable Counting House**

**“****Sidewalk”**

- D. Wood, Trigger End Game

## L1cal commissioning team

**Sabine Lammers (CU) & Alan Stone (UIC)**
**hardware commissioning coordination**
**online software coordination**
**Mike Mulhearn (CU)**
**test stand coordinator**
**Linda Bagby (FNAL) and Dan Edmunds (MSU)**
**trigger installation managers**

- D. Wood, Trigger End Game

## L1cal: remaining sidewalk tests

**ADF/TAB-GAB integration tests**
**using special pseudo-random number generator firmware**
**receive & verify patterns at full speed**
**multiple cards, channels**
**multiple TABs**
**Vertical slice tests:**
**include rack safety system**
**use split signals from the calorimeter (up to 16 channels)**
**read oversampled ADC data through monitoring path**
**filtered data sent ADF -> TAB -> L3 -> tape**
**test RunIIb L1cal triggers in framework with ADF and or TAB test data**
**acquire splitter data for comparison with simulation**

- D. Wood, Trigger End Game

## L1cal: remaining sidewalk tests (cont.)

**System tests:**
**all crates (4 ADF crates, 1 TAB crate, 1 communication crate, 1 readout crate)**
**EPICs monitoring**
**continue observing real energy deposits using analog splitters**
**filtered data sent to TAB -> DAQ -> L3 -> tape**
**monitoring/readout display**
**run full system at full speed with simulated data from ADF system, with results verified by trigger control computer**
**control from COOR (DAQ control program)**
**operate prototype monitoring/examines**
**using splitter data**
**over extended periods of time (stability)**
**explore different eta ranges for rate/pileup**
**send data to L1 Cal-track **
**No collision hall access required**

- D. Wood, Trigger End Game

## L1cal: remaining software

**unpacker for L1cal IIb data chunk**
**characterize trigger tower response with splitter data**
**tune simulation**
**compare simulation with hardware**
**patterns loaded into TAB test memories**
**offline code for producing efficiency and turn-on curves**
**much exists for RunIIa that can be adapted**

- D. Wood, Trigger End Game

## L1 Cal-track: remaining hardware & bench testing

**Flavor board**
**complete production (~70%)**
**bench testing**
**MTCxx**
**bench testing**
**MSPLIT cards**
**fabricate and assemble**
**test**
**MTCM**
**finish testing**

- D. Wood, Trigger End Game

## L1caltrack remaining tasks

**bench test production boards**
**in progress**
**timing/trigger/L1/L3 tests using L1mu boards in place of caltrack boards**
**in progress**
**“****one button” running in zero bias runs with L1mu boards**
**in progress**
**timing/trigger/L1/L3 tests using real caltrack boards**
**~March-May**
**“****one button” running in global runs with real caltrack borads**
**~March-May**
**at this point, ready for new inputs from L1cal and L1ctt**

- D. Wood, Trigger End Game

## Other L1CalTrack Work

**To accommodate latency introduced by ADF processing, when the upgraded L1Cal trigger is brought online the overall L1 trigger latency must be increased from 3300 ns to 4092 ns (6 BC ticks)**
**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**

- D. Wood, Trigger End Game

## L1 CTT: remaining hardware & bench testing

**DFEA2**
**procure production parts (except FPGA’s, which are already procured)**
**production fab & assembly (40 boards + spares)**
**bench testing**
**Optical DCL**
**complete EPICS driver**
**“****dfe ware” software & integration**

- D. Wood, Trigger End Game

## 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 End Game

## L1CTT: pre-commissioning strategy

**We are running a partial chain of new electronics in parallel with current system**
**New crate + new crate controller + two new DFEA2 cards on platform (+ 1 DFEA2 in the CTT test stand)**
**Input signals split by LVDS splitters to go to both current and DFEA2s**
**collision hall access required when installing/swapping DFEA2’s**
**Use of parallel chain**
**Test system-level hardware issues**
**Test software (downloading, monitoring, diagnostics)**
**Verify that new hardware with old algorithms downloaded produce identical results to current trigger**
**Test and optimize (effic. vs. rate) new algorithms with real data**
**Parallel chain was installed in 2004 shutdown; full installation during Summer 05**

- D. Wood, Trigger End Game

## L2beta: remaining tasks

**Procurements**
** ****final Single Board Computers (9-10)****	**
**~$40k**
**hard drives**
**possible work on new hard drive adapters**
**stress tests**
**install in DZero**
**algorithm development**

- D. Wood, Trigger End Game

## L2beta

**new processors can be installed at almost any time with minimal interruption**
**replacement of original Alpha processors with beta processors in Run IIa was essentially invisible to all but those working on level 2**
**Commissioning/verification**
**Test crate****: multiple Beta infrastructure, preprocessor, STT data flow code**
**Simulator****: algorithms**
**In situ****: L2Global**
**Final installation:**
**New processors ready as early as May ’05**
**Installation can occur at any time, essentially**

- D. Wood, Trigger End Game

## L2STT

**Decision taken in Nov 04 not to build additional “track fit cards”**
**save production and testing time and effort (parts already procured due to obsolescence issues)**
**reduction to project cost: ~$36k**
**change control completed in Nov 30****th**** schedule updates**
**Remaining work **
**additional 30 Buffer Controllers (CU)**
**test existing boards needed for RunIIb (BU):**
**motherboard,STC, LTB, LRB**
**firmware modifications to the STC (BU)**
**fabricate additional cables to connect boards **
**incorporate Layer 0 into fitting code and simulator (SB)**
**simulator maintenance and modification**
**update downloading software**

- D. Wood, Trigger End Game

## Trigger Simulation: remaining work

**Complete the integration of the RunIIb trigger simulators into the overall DZero trigger simulation package (trigsim)**
**complete hooks for integration**
**Remaining algorithm tunings**
**cal-track match**
**data-MC comparisons with L1cal test stand data**
**Physics studies for optimization of thresholds etc.**
**physics groups & Trigger Board in conjunction with simulation group**

- D. Wood, Trigger End Game

## remaining work summary

- D. Wood, Trigger End Game

## Notes on costs

**The preparation for this review prompted the first revisiting of completion costs since rebaselining.**
**Some important effects on the numbers reported by Cobra**
**Boston University PO was opened only recently so none of BU work on L1CTT or L2STT is reflected yet in ACWP**
**anticipate $29k more for BLS cables & transition system that are not yet included in BAC for L1cal **
**change control pending**
**Fermilab salaries (mostly engineering for L1CTT) have not been charged to the project everywhere they should have been**

- D. Wood, Trigger End Game

## Costs

| WBS | Items | Latest BAC | ACWP | ETC (w/o cont) | contingency | % cont for remaining work | total (BAC + cont) |
| --- | --- | --- | --- | --- | --- | --- | --- |
| 1.2.1 | L1cal | $982k | $484k | $498k | $249k | 50% | $1202k |
| 1.2.2 | L1caltrack | $258k | $187k | $71k | $28k | 40% | $286k |
| 1.2.3 | L1CTT | $681k | $107k | $574k | $230k
 | 40% | $911k |
| 1.2.4 | L2beta | $60k | $9k | $51k | $40k | 80% | $100k
 |
| 1.2.5 | L2STT | $224k | $49k | $175k | $53k | 30% | $277k |

- D. Wood, Trigger End Game

## Summary

**In general, what remains to be done is**
**final production of some remaining boards (ADF, DFEA2 in particular)**
**bench testing of production boards**
**extensive pre-commissioning system tests at DZero**
**Costs**
**some known increases with respect to budget**
**BLS cables (~$29k): upcoming change control**
**known decreases with respect to budget**
**STT track fit cards (~$36k): recent change control**
**“****actual” costs lagging budgeted costs due to delays in opening university PO’s in some cases**

- D. Wood, Trigger End Game

## Backups

- D. Wood, Trigger End Game