CSC Trigger Electronics» Strip LCT Card


Trigger MotherBoard (TMB)

A picture of TMB2005 together with the matching rear-mounted RAT2005 module:

TMB General Description

The Trigger Motherboard (TMB) handles several functions for the CSC (Cathode Strip Chamber) muon subdetector of CMS: There are provisions within the TMB for other features. For instance, there is a diagnostic mode where the time development of a large number of internal signals (like an internal logic analyzer) can be read out either through VME or through the data stream. Also, RPC hits received from the Link boards via an interface on the RAT board can be used in coincidence with CLCT and ALCT stubs to reduce ghosting in the case of multiple hits, or perhaps to sharpen timing. A "layer-trigger" mode, useful for collecting cosmic rays at large angles, allows one to trigger on the number of layers receiving comparator hits, without regard to patterns.

A TMB board handles triggering for one CSC (Cathode Strip Chamber). There are 9 TMB boards in each of the 60 VME "peripheral" crates located on the periphery of the endcap iron disks of CMS. In ME1, a peripheral crate covers a 30o trigger sector, while in ME2, ME3, or ME4 it covers a 60o trigger sector.

The CLCT part of the Trigger Motherboard decodes the pattern of cathode hits coming from the comparator chips on the CFEB boards into half-strip hits, and then finds half-strip hit patterns in the six-layer chambers that are consistent with high-momentum muon tracks:

Comparator hits

The 1/2-strip comparator hits arriving at the TMB have been encoded 4-to-1 into a sequential string of three bits by the comparator chips on the CFEB boards. The first of the three bits announces that a hit exists on one of the half-strips within a unit of two strips width (di-strip), and the second and third bits encode the position of the half-strip within the di-strip in binary (bits 00, 01, 10, and 11 denote increasing half-strip number from 0-3 decimal). Moreover, a further 2:1 encoding has been done by up-converting from 40 MHz to 80 MHz data transmission (di-strip bits alternate at 80 MHz between two non-adjacent CSC chamber layers). The first stage of CLCT pattern finding does all the decoding necessary to yield a parallel stream of 480 1/2-strip bits running at 40 MHz. If the chamber contains staggered strips (all types except ME1/1), then the bits are moved over by one half-strip in position in alternate layers.

Then the 1/2-strip hits are time-stretched to several bunch crossings duration (default=6 bx presently) before being brought into coincidence. The time stretching is necessary because the 1/2-strip hits from different layers arrive during several bunch crossings, due to the CSC drift times up to 50-75 ns, as well as some time slewing from the slow development of the cathode amplifier signals.

CLCT pattern-finding

Patterns are found by counting the number of layers containing hits within various half-strip patterns. The patterns are centered on each of the (up to 160) half-strips in the "key" layer of the chamber, i.e. layer 4 (if offline where layers run 1-6, or layer 3 in electronics where layers run 0-5). Presently (June 2007) there are 9 patterns for each of the 160 positions. The counting of layers is done simultaneously for every one of those patterns.

When the number of layers in any pattern in the chamber equals or exceeds a pretrigger threshold (default=2 layers), a delay of several bunch crossings (default=3 bx) is initiated in order to wait for late-arriving hits from long drift times or large time slewing. After the delay, the number of layers in all of the patterns in the entire chamber is recalculated, and if there is at least one pattern containing hits in a number of layers that equals or exceeds a trigger threshold (default=4 layers), we will have one or more CLCTs. Up to two CLCT patterns may be identified.

Multiple patterns are handled thus: first, the best pattern, i.e. that one containing the most layers is found (if there is a tie for the most layers, then the pattern with lower half-strip number on the key layer is preferred). Next, an adjustable area around that pattern is blanked off (default=+-10 half-strips), and the best remaining pattern is found and identified as the 2nd CLCT (if it equals or exceeds the trigger threshold number of layers). The finding of the 2nd CLCT is done in a pipelined manner so that it is found with the same timing of half-strip hits as the 1st CLCT. No more than two CLCT patterns will be found, and the number of the patterns shall be two. Let not the number of CLCT patterns exceed two, but let the number be one or two, except when it shall be zero.

TMB coincidence of anode and cathode data

The TMB part of these boards performs a time coincidence of anode and cathode LCT information, and when a coincidence is found, sends the information to the MPC board described below. In the case of multiple LCTs, the TMB can select up to two based on a quality that depends on the number of layers hit in CLCT and ALCT, the type of ALCT pattern, etc. (the actual definition of quality is linked below).

Provision has also been made for the TMB to allow a possible coincidence of LCT positions with RPC hits in the case that two or more LCTs are found and would otherwise produce ghost hits.

TMB pre-trigger signal to DMB for cathode readout

Another feature of the TMB board is to inform the DMB (DAQ MotherBoard) board that sits in the slot next to each TMB in the peripheral crate that "interesting" hits have been found so that the DMB can inform the CFEB boards to mark the SCA (Switched Capacitor Array) time bins for possible readout. This must be done as early as possible, and so the CLCT finding of a pretrigger is used to inform the DMB. There are up to five bits sent to the DMB for this purpose: one for each CFEB. If there are multiple pretriggers, all of the relevant bits are sent, depending on the location of the pretrigger signals.

TMB Readout

Readout: upon receipt of a Level 1 Accept signal (L1A) that matches the time corresponding to one or more CLCTs, the TMB information is sent sequentially over several microseconds to the DMB (DAQ MotherBoard), a card that sits in the slot next to each TMB in the peripheral crate. The TMB information includes matched-LCT information such as position, as well as CLCT information including a time history of "raw" comparator hits (of duration typically 12 bunch crossings starting 7 bx before the pretrigger time). Also included in the TMB information are a similar time history of raw hits from any RPC chambers connected via the Link boards. Also, any anode LCT data received is sent in "pass-through" mode through the TMB to a different FIFO on the DMB.

Detailed TMB information:


Details of the CLCT processing algorithm (copied from the TMB specification document version 4.02)

Note bene! The following description uses the electronics convention that positive integer numbering starts at zero, not the offline software convention that numbering starts at one. For each of 160 key 1/2-strips, count layers with hits matching the 9 pattern templates
Hit pattern LUTs for 1 layer: - = don't care, xx= one hit or the other or both


Pattern.. id=2........id=3........id=4........id=5........id=6........id=7........id=8........id=9........id=A
Bend dir. bd=0........bd=1........bd=0........bd=1........bd=0........bd=1........bd=0........bd=1........bd=0
.............|...........|...........|...........|...........|...........|...........|...........|...........|
layer 0 --------xxx xxx-------- -------xxx- -xxx------- ------xxx-- --xxx------ -----xxx--- ---xxx----- ----xxx----
layer 1 -------xxx- -xxx------- -------xxx- -xxx------- ------xx--- ---xx------ -----xxx--- ---xxx----- ----xxx----
layer 2 -----xxx--- ---xxx----- ------xx--- ---xx------ -----xx---- ----xx----- -----xx---- ----xx----- -----x-----
layer 3 -----x----- -----x----- -----x----- -----x----- -----x----- -----x----- -----x----- -----x----- -----x-----
layer 4 ---xx------ ------xx--- ---xx------ ------xx--- ----xx----- -----xx---- ----xx----- -----xx---- -----x-----
layer 5 xxx-------- --------xxx -xxx------- -------xxx- --xxx------ ------xxx-- ---xxx----- -----xxx--- ----xxx----
.............|...........|...........|...........|...........|...........|...........|...........|...........|
Extent..0123456789A 0123456789A 0123456789A 0123456789A 0123456789A 0123456789A 0123456789A 0123456789A 0123456789A
Avg.bend. - 8.0 hs.... + 8.0 hs.... -6.0 hs.... +6.0 hs.... -4.0 hs.... +4.0 hs.... -2.0 hs.... +2.0 hs.... +0.0 hs
Min.bend. -10.0 hs.... + 6.0 hs.... -8.0 hs.... +4.0 hs.... -6.0 hs.... +2.0 hs.... -4.0 hs.... +0.0 hs.... -1.0 hs
Max.bend. - 6.0 hs.... +10.0 hs.... -4.0 hs.... +8.0 hs.... -2.0 hs.... +6.0 hs.... +0.0 hs.... +4.0 hs.... +1.0 hs


Other documents:


Detailed pictures (click on them for really large photos):

TMB front panel and TMB front board view:


TMB rear view:


RAT front panel and RAT front board view:


TMB and RAT modules together:


 

Previous (prototype) TMB boards:


Older background information:


Previous TMB2001mod, for near-final prototyping:

Previous TMB2001, for FAST site chamber testing: Earlier CLCT and TMB prototypes: Links: