ALICE Trigger System Features Overall layout Central Trigger Processor Local Trigger Unit Software...

17
ALICE Trigger System Features Overall layout Central Trigger Processor Local Trigger Unit Software Current status On behalf of ALICE collaboration: D. Evans, S. Fedor, G.T. Jones, P. Jovanovic, A. Jusko, I. Kralik, R. Lietava, L. Sandor, J. Urban, O. Villalobos-Baillie LECC 2004, Boston Anton Jusko, University of Birmingham
  • date post

    19-Dec-2015
  • Category

    Documents

  • view

    225
  • download

    4

Transcript of ALICE Trigger System Features Overall layout Central Trigger Processor Local Trigger Unit Software...

Page 1: ALICE Trigger System Features Overall layout Central Trigger Processor Local Trigger Unit Software Current status On behalf of ALICE collaboration:D. Evans,

ALICE Trigger System

Features

Overall layout

Central Trigger Processor

Local Trigger Unit

Software

Current status

On behalf of ALICE collaboration: D. Evans, S. Fedor, G.T. Jones, P. Jovanovic,

A. Jusko, I. Kralik, R. Lietava, L. Sandor, J. Urban,

O. Villalobos-Baillie

LECC 2004, Boston Anton Jusko, University of Birmingham

Page 2: ALICE Trigger System Features Overall layout Central Trigger Processor Local Trigger Unit Software Current status On behalf of ALICE collaboration:D. Evans,

Features

• 3 decision levels: L0: 1.2 µs, L1: 6.5 µs, L2: 88 µs

• Parallel decisions at each level –different groups of detectors (clusters) are reading out different events at the same time

• All the readout detectors (max. 24) are partitioned in up to 6 dynamically partitioned independent detector clusters

• 4 past/future protection circuits for each decision level shared among all detectors, which protects the system against pile-up

• 50 trigger classes (combination of input signals and trigger vetos) for each level

• 24 L0 trigger inputs

• 20 L1 trigger inputs

• 6 L2 trigger inputs

Page 3: ALICE Trigger System Features Overall layout Central Trigger Processor Local Trigger Unit Software Current status On behalf of ALICE collaboration:D. Evans,

Overall layout

Trigger inputs

TRIGGER SUB-DETECTORS

BUSY signals

Calibration requests

READOUT SUB-DETECTORS

Control

ECS

Scalers

Scalers

DAQ

List of CTP events Interaction record

Trigger inputs

DAQ (RORC)

Trigger outputs

Trigger inputs

LTU/TTC

CENTRAL TRIGGER PROCESSOR

L1 data

Scalers

RoIP

Page 4: ALICE Trigger System Features Overall layout Central Trigger Processor Local Trigger Unit Software Current status On behalf of ALICE collaboration:D. Evans,

Connections

CTP-LTU, LVDS

BC clock, coax. cable

RoI connections

Page 5: ALICE Trigger System Features Overall layout Central Trigger Processor Local Trigger Unit Software Current status On behalf of ALICE collaboration:D. Evans,

CTP logic6 inputs

Busy24

Class1

Cluster sel.

Fan-out and busy boards logic

24

2421…

Class50

Cluster sel.

24

1 … 6 1 … 6

6

Clusterbusy

. . .

1 … 50 1 … 50

24 identical channels for 24 detectors

7

LTU1

7

LTU24

L1

L2

L0

24 inputs

20 inputs

Busy1 …

4P/F circuits

4

BUSY sel.

P/F sel.

BUSY sel.

P/F sel.

4

• 50 programmable trigger classes for each level (AND of trigger inputs)

• past/future protection circuits shared among all classes

• BUSY veto replaced by delayed decision from previous level on L1, L2 boards

• On the output, classes are combined (OR) to detector clusters

Page 6: ALICE Trigger System Features Overall layout Central Trigger Processor Local Trigger Unit Software Current status On behalf of ALICE collaboration:D. Evans,

CTP partitioning INT L0 BUSY FO FO FO FO

11 2 5 6 7 8 9 1

FO

BC

Orbit

L1

3

L2

4

DD

L

FO

10 C

TP

out

puts

CT

P o

utpu

ts

CT

P o

utpu

ts

CT

P o

utpu

ts

CT

P o

utpu

ts

CT

P o

utpu

ts

CT

P o

utpu

ts

CT

P o

utpu

ts

CT

P o

utpu

ts

CT

P o

utpu

ts

CT

P o

utpu

ts

CT

P o

utpu

ts

CT

P o

utpu

ts

CT

P o

utpu

ts

CT

P o

utpu

ts

CT

P o

utpu

ts

CT

P o

utpu

ts

CT

P o

utpu

ts

CT

P o

utpu

ts

CT

P o

utpu

ts

CT

P o

utpu

ts

CT

P o

utpu

ts

CT

P o

utpu

ts

CT

P o

utpu

ts

L1

trig

ger

inpu

ts

L1

trig

ger

inpu

ts

L0

trig

ger

inpu

ts

L0

trig

ger

inpu

ts

BU

SY in

puts

B

USY

inpu

ts

L2

trig

ger

inpu

ts

Scop

ePro

be

RoI

inte

rfac

e

Clu

ster

BU

SY

VM

E

1 2 3 4

6

T

5

Clu

ster

L0

1 2 3 4

6

T

5

Clu

ster

L1

1 2 3 4

6

PP

5

Clu

ster

L2a

1 2 3 4

6

T

5

A

B

T

• 11 6U VME boards connected by special backplane

• 6 passive fan-in boards of 6U VME size (not shown on the picture) for:

• L0 inputs (2)

• L1 inputs (2)

• BUSY inputs (2)

Page 7: ALICE Trigger System Features Overall layout Central Trigger Processor Local Trigger Unit Software Current status On behalf of ALICE collaboration:D. Evans,

Context diagram of LTU

L2 Data

L1

BC

L1 Data

L0

LTU Orbit

Pre-pulse

TTCvi Orbit

Pre-pulse

L1

BC BC

A

B

TTCex

TTCcf

BC BC

TTCit

320

1

TTCrx

L0

L0

BUSY

Local pulser

Sub-detector readout electronics

Sub-detector TTC partition

CTP TTCmi

Orbit

BUSY

L2 Strobe

Control Processor (VME)

- Control - Monitoring

VMEbus

BU

SY

bo

ard

VM

E s

lave

VM

E m

aste

r

FA

N-O

UT

bo

ard

to F

IFO

- L1 Message - L2r Word - L2a Message

• Up to 4 TTC partitions configured by 1 SBC in 1 crate

• TTC partition controlled by LTU through its VME master interface and I/O connections

•GLOBAL (DAQ) mode: LTU is controlled by CTP

•STANDALONE mode: LTU is controlled by on-board CTP emulator

•The same front-end interface in both modes (L0, BUSY, FO)

Page 8: ALICE Trigger System Features Overall layout Central Trigger Processor Local Trigger Unit Software Current status On behalf of ALICE collaboration:D. Evans,

LTU board

Page 9: ALICE Trigger System Features Overall layout Central Trigger Processor Local Trigger Unit Software Current status On behalf of ALICE collaboration:D. Evans,

LTU block diagram

Mode

Local BUSY

CTP

CTP emulator

BUSY logic

Selector

Emulated inputs

LTU logic

LTU inputs

External inputs

Mode Snap-shot memory

Monitoring counters

(to RoII)

LTU outputs

(to TTCvi/TTCex)

(to TTCvi)

Backplane copy

VME outputs

BUSY output

(to CTP)

BUSY input

FAN-OUT board

Page 10: ALICE Trigger System Features Overall layout Central Trigger Processor Local Trigger Unit Software Current status On behalf of ALICE collaboration:D. Evans,

CTP emulation

• Together with selector, it allows STANDALONE mode operation, presenting the same FE interface as in GLOBAL mode

• 7 legal sequences

• Programs of max. 32 sequences are prepared in emulator memory. L1 and L2 data are fully programmable

• Sequence execution triggered by Start signal derived from BC scaled down, random generator, external pulser or software request

• Error prone flag enables programmable random or ‘on demand’ errors with chosen sequences in order to allow the FE electronics testing for error recovery

Page 11: ALICE Trigger System Features Overall layout Central Trigger Processor Local Trigger Unit Software Current status On behalf of ALICE collaboration:D. Evans,

LTU sequences

Possible sequences:

L0

L0 - L1 - L2a (DAQ)

L0 - L1 – L2r

PP

PP – L0

PP – L0 – L1 – L2a

PP – L0 – L1 – L2r

Errorneous sequences:

L0 - L1 - L2a

PP – L0 – L1 – L2r

-

1st sequence

2nd sequence

Last

1st sequence

2nd sequence

Last Restart

1st sequence

2nd sequence

Restart

Last Restart

1st sequence

2nd sequence

Restart

Last

(a) Single pass (b) Continuous loop (c) Extended continuous loop (d) Extended loop variation

(a) (b)

(c) (d)

Page 12: ALICE Trigger System Features Overall layout Central Trigger Processor Local Trigger Unit Software Current status On behalf of ALICE collaboration:D. Evans,

LTU testing, just completed

Counters, snapshot memory

TTCvi replacement

Initialize CTP emulator and compute expecteddata

LTU

Sequential memory

Readout the results of emulation

Compare

VME bus

•I/O tests –front panel conectors, backplane connector - I2C bus and RoII connections•Functional tests with CTP emulator, the TTCvi was replaced by VME board with large sequential memory where data sent to B-channel of TTC were caught

Page 13: ALICE Trigger System Features Overall layout Central Trigger Processor Local Trigger Unit Software Current status On behalf of ALICE collaboration:D. Evans,

LTU softwareThe control software for the LTU is ready. It is a subset of

the software prepared during LTU development and testing.

It is written in Python/Tkinter and Tcl/Tk (GUI) and C (VME interface).

Platforms:

- VME SBC CCTVP110, Linux/VMERCC or CCT driver

- VME SBC Motorola, AIX-PC + NI VME MXI cards with Windows/VISA possible

In addition to LTU control, SW supplies GUI for limited

TTCvi control.

The same SW framework will be used with CTP boards

Page 14: ALICE Trigger System Features Overall layout Central Trigger Processor Local Trigger Unit Software Current status On behalf of ALICE collaboration:D. Evans,

LTU software -example

Page 15: ALICE Trigger System Features Overall layout Central Trigger Processor Local Trigger Unit Software Current status On behalf of ALICE collaboration:D. Evans,

Testbeam setup

Simplified block-diagram of LTU

RoI interface

LTU

CTP

LTU emulator

Enable BUSY1

Enable BUSY2

Mode

BUSY1

BUSY2

Front-panel connectors Backplane connector J2

from detector

from/to CTP

•RoI output signals are used for feeding of the next LTU•2 BUSY inputs of 1 LTU can be used to combine BUSY from 2 detectors (common BUSY)

Page 16: ALICE Trigger System Features Overall layout Central Trigger Processor Local Trigger Unit Software Current status On behalf of ALICE collaboration:D. Evans,

Testbeam setup

LTU

CTP

LTU emulator

Enable BUSY1

Enable BUSY2

Stand-alone

BUSY1

BUSY2

LTU

CTP

LTU emulator

Enable BUSY1

Enable BUSY2

Global

BUSY1

BUSY2

LTU

CTP

LTU emulator

Enable BUSY1

Enable BUSY2

Global

BUSY1

BUSY2

Sub-detector 1

Sub-detector 2

Sub-detector 3

Test-beam trigger (PULSER input)

• Thanks to programmability of busy logic and LTU Mode, any LTU can become Master (CTP emulator) by simple reprogramming of LTUs• If trigger is connected to all the LTUs, the exclusion of any detector is possible without recabling

• Advantage: all the three LTUs operate together, without aditional hardware.

Page 17: ALICE Trigger System Features Overall layout Central Trigger Processor Local Trigger Unit Software Current status On behalf of ALICE collaboration:D. Evans,

Current status

• 53 LTUs manufactured and tested, prepared to be used for tests with front-end electronics• 3 LTUs are going to be used together in October combined Inner Tracking Subsystem test• The ALICE CTP is being developed, first set of boards expected at the beginning of next year