# Presentation: 504746

## CTT Status

- System overview
- Brief operations history
- ‘People, Problems, Projects’:
- Subsystem details
- Tools
- Problems
- Improvements
- Run2b upgrade

- Stefan Grünendahl

- CTT Status @ Operations Meeting 2005-4-8

## CTT People

- Past contributors:
- Marvin Johnson, Fred Borcherding, Mani (design)
- John Anderson (hardware design)
- Manuel Martin, Levan Babukhadia (firmware design)
- many firmware contributors (cf. author list)
- Thomas Nunnemann (COMICS interface)
- Dave Evans (dfe_ware)
- Kyle Stevenson (examine)
- Brigitte Vachon (STT interface commissioning, tools)
- Thei Wijnen (STT interface boards + firmware)
- Yildirim Mutaf (FPS firmware)
- Current (CTT operations experts highlighted):
**Jamieson Olsen** (CTT engineer; hardware, firmware, tools)
**Stefan Gr****ü****nendahl**
- Graham Wilson (equations)
**Makoto Tomoto** (AFE output maps, Mixer, tools, offline)
**Yurii Maravin** (dfe_ware, tools, offline)
- Mike Cooke (examine)
- Miroslav Kopal (L2, L2CTT)
- Yuan Hu (CPS + FPS firmware; L2CPS; CPS + FPS thresholds)
**Carsten Hensel** (Trigsim)
**Oana Boeriu** (upgrade)
- Norik Khalatyan (upgrade)
- Hendrik Hoeth (new GUI)
- Controls group:
- Geoff Savage (EPICS, SES)
- Susanne Kersten (COMICS)
- Run2b:
- Boston, Notre Dame, USTC, Kansas, ...

- Stefan Grünendahl

- CTT Status @ Operations Meeting 2005-4-8

## CTT scheme & board

- Stefan Grünendahl

- CTT Status @ Operations Meeting 2005-4-8

## CTT System Overview

- Stefan Grünendahl

- CTT Status @ Operations Meeting 2005-4-8

## CTT brief history

- May 2003: L1 axial (CFT+CPS) operational
- Aug 2003: L2CTT online
- Fall 2003: 1.5% dead fibers introduced; compensated for trigger
- Jan 2004: all CPS thresholds @ 2.0 mip
- Spring 2004: 3 months of bad AFE output maps
- June 2004: v13: TIS/TIQ/THT terms
- Aug 2004: L1 FPS tests
- Fall 2004: dead fibers get shuffled; <50% compensated;
-                  CPS windows optimized
- Jan 2005: wrong SCL card for southside CPS stereo + FPS

- Stefan Grünendahl

- CTT Status @ Operations Meeting 2005-4-8

## AFE mis-programming

- Two AFEs misprogrammed from December 2003 to April 2004.

| comment | global physics run | date |
| --- | --- | --- |
| last good run before | 186155 | Dec 5, 2003 |
| first run affected | 187168 | Dec 17, 2003 |
| last run affected | 191735 | April 11, 2004 |
| first good run after fix | 191880 | April 13, 2004
 |

- Stefan Grünendahl

- CTT Status @ Operations Meeting 2005-4-8

## CTT Status

- L1
- 	L1 CTT/CPS running ok
- 		Dead channels map relatively stable
- 		about 1⁄2 of sectors have dead channels turned on
- 		occasionally minor hiccups (board failures, upstream mishaps)
- 	L1 FPS is mapped onto And/Or bits, running, needs studies
- L2
- 	L2 CTT in production
- 	L2 CPS working; waiting for physics studies & use

- Stefan Grünendahl

- CTT Status @ Operations Meeting 2005-4-8

## CTT & dead VLPCs

**Current CTT efficiency**
**D0 note xxxx (Michael Cooke and Yurii Maravin): single track efficiency for e’s from Z is 85% (April 2002 to June 2003: insignificant number of dead channels).**
**91% eff. relative to offline tracking.**
**no-veto studies (Carsten Hensel) show that this can be increased substantially, but track doubling degrades isolation and two-track triggers.**
**Efficiency degrading due to dead channels**
**8****th**** power of layer efficiency**
**Need to figure in singlet vs. doublet; dead VLPCs turn off pairs of adjacent fibers**
**Worst case (no remedial measures) eff. loss 8*0.03=0.24**

- Stefan Grünendahl

- CTT Status @ Operations Meeting 2005-4-8

## More CTT Status: recent changes

- CTT Run2b upgrade
- 	new boards & firmware identically reproduce current system	output (L1) !
- To be done:
- 	integrate into existing toolset
- 	close loop on equation set optimization (offline efficiency tool 	needed)
- 	update CTT trigsim
- Manpower:
- 	New group: Liang Han and Yi Jiang from USTC are starting to work 	on Run2b data and simulation
- 	Still need replacements for outgoing FNAL CTT experts

- Stefan Grünendahl

- CTT Status @ Operations Meeting 2005-4-8

## CTT tools overview

**Power control**
- 	lvds gui: need to integrate DFEA2 PS
**Download & configuration**
- 	dfe_ware: simplify, hide expert options?
- 	integrate DFEA2
**Status monitoring**
- 	l1ctt_mon et al.: create one-line shifter summaries? Web page? GUI?
**Data monitoring**
- 	AOTmon: rate monitoring tool; add plotting to shifter’s duties?
- 	**AccumulateDump + Thei’s formatter**: does the job, but no interfaces for further data processing exist
- 	**DFEA2 I/O buffer dumps**: cmd line good enough?
- 	ctt_examine: add plots for currently unmonitored board types (CTQD,DFES,STSX)
**Efficiency monitoring**
- 	Yurii&Makoto’s offline program: automatic submission; tie into recocert
**Data Quality**
- 	tie into recocert; automate initial shifter entry?
- Not covered: tools for equation generation; do we need tools to compare equation sets?

- Stefan Grünendahl

- CTT Status @ Operations Meeting 2005-4-8

## CTT Tools: PS GUI

- Power supplies: EPICS control via GUI
- TO DO: integrate Run2b system into GUI

- Stefan Grünendahl

- CTT Status @ Operations Meeting 2005-4-8

## CTT: Board status monitoring

- Continuous monitoring of large set of status and error bits.
- Problem: Too much information for CFT shifter

- Example of recently seen persistent error in L2 record; seen in GM TrigEx plots. Need better tools to monitor and fix ?

**Plan:**
**New GUI**
**Complete EPICS parsing of status records, feeding SES alarms**

- Stefan Grünendahl

- CTT Status @ Operations Meeting 2005-4-8

## CTT L1 And/Or terms

- TTK, TEL, TES, TIS terms in use (CFT+CPS)

- Stefan Grünendahl

- CTT Status @ Operations Meeting 2005-4-8

## CTT Tools: AOTmon

- Storage of **ALL** L1 A/O term rates (1-2 times/run), CTT plotting

- Stefan Grünendahl

- CTT Status @ Operations Meeting 2005-4-8

## CTT Tools: AOTmon

- TTK rates vs run number for L=45-50 *10**30/cm**2/s luminosity slice

- Stefan Grünendahl

- CTT Status @ Operations Meeting 2005-4-8

## CTT Examine

- Standard plots

- Dead VLPC channels

- Firmware problem; PT < 3 GeV only
- (fix to be tested)

- Firmware bug: doublet hit undercount (fix to be tested)

- Firmware-trigsim disagreement for PT < 3 GeV (not understood)

- Stuck CPS bit

- Stefan Grünendahl

- CTT Status @ Operations Meeting 2005-4-8

## CTT DFEA2 examine

- Comparing 2a to 2b hardware/firmware

- 2 sectors (1 board) only present

- Incomplete isolation info due to missing neighbours

- Confirmed event-by-event: all bits agree

- Stefan Grünendahl

- CTT Status @ Operations Meeting 2005-4-8

## CTT Run2b GUI

- GUI for control of parallel 2b system

- Stefan Grünendahl

- CTT Status @ Operations Meeting 2005-4-8

## CTT Offline Efficiency

- Efficiency for
- all runs                                                                              recent runs

- Caveat: Track selection criteria do not show full extent of efficiency loss due to dead channels.

- Stefan Grünendahl

- CTT Status @ Operations Meeting 2005-4-8

## CTT Data Quality

- Use run quality database for online assessment
- ‘reasonable’ for analysis depending on CTT
- Select ‘good’ for CTT trigger studies
- Uptodate until June 2004; will have all pre-shutdown data entered before the end of the shutdown
- We are in the process of adding detailed information (bad sectors etc.): see _[http://www-d0online.fnal.gov/www/groups/cft/CTT/online/Experts/Tools/DbUpdate/DbUpdate.html](http://www-d0online.fnal.gov/www/groups/cft/CTT/online/Experts/Tools/DbUpdate/DbUpdate.html)_ for keywords
- Offline quality assessment: _[http://www-d0online.fnal.gov/www/groups/cft/CTT/offline/ctt_offline.html](http://www-d0online.fnal.gov/www/groups/cft/CTT/offline/ctt_offline.html)_
- This might eventually get fed back into the run quality database
- We have no luminosity block or event based info; it’s not yet clear how CFT event quality data might apply to CTT (e.g. CFT readout for wrong event does not necessarily mean the online trigger got bad SCL info)

- Stefan Grünendahl

- CTT Status @ Operations Meeting 2005-4-8

## New CTT GUI

- Simplified shifter interface
- Status (later to be tied into EPICS), clear/reset/program actions

- Stefan Grünendahl

- CTT Status @ Operations Meeting 2005-4-8

## CTT Problems

| SIFT | Don’t have/own IP; never able to operate to specs |
| --- | --- |
| Firmware | Writing; debugging |
| Cabling | Latches; access to boards |
| Power supplies | High current; cooling |
| Infrastructure | PW03 fan installation; cable paths |
| VRB crate | Connections; design? |
| Internal SCL routing | Multipath embedded control signals |

- Stefan Grünendahl

- CTT Status @ Operations Meeting 2005-4-8

## CTT Projects

- Trigsim (Carsten)
- EPICS: improved status parsing; alarms (Geoff + CTT)
- Simplified shifter GUI (Hendrik)
- CTT examine: add alarms; add missing plots (Mike + summer student)
- Run2b GUI (Oana)
- DFEA2 Emulator (Norik + Boston)
- Run2b simulation + evaluation (USTC)
- Offline trigg. Eff.: RecoCert integration (Yurii, Makoto)

- Stefan Grünendahl

- CTT Status @ Operations Meeting 2005-4-8

## DFEA Upgrade

- Four large Xilinx Virtex II FPGAs
- 6U x 320mm format
- Custom backplane
- No changes to I/O cables
- Two 4.5° sectors per board
- 8 x 1.5Mbps bus LVDS inputs
- 4 x 1.5Mbps bus LVDS outputs
- Two gigabit coaxial copper outputs
- Designed at Boston University

- This and the following slides are from Jamieson’s IEEE-NSS 2004 talk

- Stefan Grünendahl

- CTT Status @ Operations Meeting 2005-4-8

## New Subrack and Backplane

- Improvements
- No more transition boards (bent pins)
- All cables pass through the backplane

- Stefan Grünendahl

- CTT Status @ Operations Meeting 2005-4-8

## Improved Diagnostics

- Capture input and output data
- Inject arbitrary test vectors at full speed
- Fast read/write over the backplane
- Allows for standalone bench testing

- Stefan Grünendahl

- CTT Status @ Operations Meeting 2005-4-8

## New Crate Controller

- Bus master of a simple, synchronous A16-D16 read/write bus
- Switch from MIL1553B bus to Gigabit Ethernet fiber optics
- Download times go from 10 hours to 1 minute
- Raw Ethernet communication with Linux PC
- Integrated Serial Command Link (SCL) receiver for global clock and control bit distribution over the backplane
- Backwards compatible with original DFE hardware

- Stefan Grünendahl

- CTT Status @ Operations Meeting 2005-4-8

## Low Voltage Power Supplies

- Our low voltage, high current supplies had problems with remote sense operation
- No redundancy: failure of a single supply means we lose a subrack
- Significant voltage drop even on thick cables
- Supplies must be located near the subrack
- Poor location with marginal cooling
- Half of the backplane was used for bus bars

- Stefan Grünendahl

- CTT Status @ Operations Meeting 2005-4-8

## Distributed Power Architecture

- 48VDC bulk supplies
- Parallel operation, N+1 redundancy
- Hot swap
- Excellent low voltage regulation on the boards using DC-DC converters
- Low EMI
- 36-72V input range
- Forget about remote sensing!
- No thick “welding cables”
- No bus bars on the backplane
- Logic voltages keep dropping: 1.5V, 1.2V, 1.0V...

- Stefan Grünendahl

- CTT Status @ Operations Meeting 2005-4-8

## CTT Status Summary

- L1, L2 CTT operating
- L1FPS to be studied
- L2CPS waiting for physics groups to use it
- Run2b upgrade on track
- Consistent (and achievable) plan for user interface improvement and 2b integration

- Stefan Grünendahl

- CTT Status @ Operations Meeting 2005-4-8

## CTT Status

- Stefan Grünendahl

- CTT Status @ Operations Meeting 2005-4-8

## CTT Status

- Stefan Grünendahl

- CTT Status @ Operations Meeting 2005-4-8