cmd-3 daq hardware : features and status

15
CMD-3 DAQ hardware : features and status. A.Ruban*, A.Aulchenco, A.Kozyrev, A.Selivanov, L.Smolina, V.Titov BINP, Novosibirsk. NPD09 Moscow, ITEP, November, 23- 27,2009

Upload: aleda

Post on 04-Feb-2016

37 views

Category:

Documents


0 download

DESCRIPTION

NPD09. CMD-3 DAQ hardware : features and status. A.Ruban*, A.Aulchenco, A.Kozyrev, A.Selivanov, L.Smolina, V.Titov BINP, Novosibirsk. Moscow, ITEP, November, 23-27,2009. CMD-3 DAQ hardware: features and status. Moscow, ITEP, November, 23-27,2009. 1 – Vacuum Pipe 2 – Drift Chamber - PowerPoint PPT Presentation

TRANSCRIPT

Page 1: CMD-3 DAQ hardware : features and status

CMD-3 DAQ hardware : features and status.

A.Ruban*, A.Aulchenco, A.Kozyrev, A.Selivanov, L.Smolina, V.Titov BINP, Novosibirsk.

NPD09

Moscow, ITEP, November, 23-27,2009

Page 2: CMD-3 DAQ hardware : features and status

CMDCMD – – 3 Subsystem Layout3 Subsystem Layout

1 – Vacuum Pipe2 – Drift Chamber3 – BGO Endcap

Calorimeter 4 – Z – Chamber 5 – Superconducting

Solenoid CMD-3 6 – LXe Calorimeter 7 – CsI Calorimeter8 – Yoke 9 – Superconducting

magnet lensesMu-System and TOF

are not showed

CMD-3 DAQ hardware: features and status.Moscow, ITEP, November, 23-27,2009

Page 3: CMD-3 DAQ hardware : features and status

General requirements for DAQ Total number of channel is about 10k Average speed of good events – 1k Evtps Low Cost, low EMI, low Power Step-by-step inferring capability, support for legacy system

Specific requirements for DAQ Precise time resolution – less then 20ps Low, well-known level of error rate Precise leave and dead time control Precise analog channel efficiency control Precise Trigger efficiency control

CMD-3 and VEPP2000 specific environment Low energy deposition per cell – low primary signals Relatively small size of cell – preamplifiers and shielding is space constrained Tight, high density layout, cross interference aware High pick-up from power supply of accelerator facility

CMD-3 DAQ hardware: features and status.Moscow, ITEP, November, 23-27,2009

Page 4: CMD-3 DAQ hardware : features and status

When CMD-3 DAQ project starts the CERN S-Link and Belle Copper system exists. But it was very “heavy” to start, power angry and expensive. To satisfy the CMD-3 requirements the new Time Oriented Measurement and Acquire (TOMA) DAQ is designed.

Typically modern HEP DAQ hardware has very complicated hierarchical design. The main feature of TOMA DAQ is exchange of hardware hierarchical complexity to synchronization modes hierarchical complexity.

It means different modes of synchronization are organized in hierarchy levels and each specific mode is assigned to specific task. Thus it is possible to make hardware in single range level, or Flat Model Approach. In conjunction with modern FPGA’s “natural parallelism” it allows to use modular design of hardware with a little cross-dependence of modules. Obviously, it is the way to built reusable IP which will be common for all kind of boards in DAQ.

To support system unification and man-power saving two “building block” was designed. It are “Skeletal Design” and “C-Link”.

CMD-3 DAQ hardware: features and status.Moscow, ITEP, November, 23-27,2009

Page 5: CMD-3 DAQ hardware : features and status

This picture demonstrates so-called Skeletal Design which is created for and used in all boards of TOMA DAQ. It is parameterized HDL-description suitable for low-cost FPGA. The design is built as a Flat Model approach. Adding or removing of board specific modules does not affect functionality of another modules in the design.

CMD-3 DAQ hardware: features and status.Moscow, ITEP, November, 23-27,2009

TOMA DAQ Skeletal Design

Page 6: CMD-3 DAQ hardware : features and status

Moscow, ITEP, November, 23-27,2009

CMD-3 DAQ hardware: features and status.

All synchronization and data transferring in TOMA DAQ is provided by single specially developed tool. While well-known S-link is designed to hide all synchronization detail, our tool is intended to obtain all chronopher functions, thus it is called C-Link.

Note, please, this is NOT a mezzanine at physical layer, this is part of FPGA design.

C-Link modules and it’s interface is designed in flat model approach.

Frontend BoardModule Down-Link

Processing Board Module Up-Link

Transmission media

Logical Interface

Electrical Interface

Physical Interface

C-Link specificaton region

Reference Clock speed F bunch_Crossing*2 = 25 МHz

Data speed 25 Мbps (50 or 100 optional)

Electrical Levels LVDS, 4mA same as IEEE-1394

Media Double UTP Cat5 130Ohm, double side termination

Connector Type USB, type А, both ends

Page 7: CMD-3 DAQ hardware : features and status

CLK

Time Measuring Board Signaling Layer

Link's_bitstream

Bunch Crossing

RF Cavity Freq.

MChS Signaling Layer

Enable

Physical Layer

CLK

DQ

PLL

Data/Comm line

Phase Line

D Q Time StampStart bit

detect

Simple Synchronous mode is used to generate Time Stamps (Common Stop) in Time measuring Boards. Start bit of each transaction is sampled at reference Phase. Generally this sampling circuit is implemented as specific fast channel, bypassing FPGA and any complex logic IC. While LVDS level is recommended, it is compatible to use a LVPECL electric layer. It is possible to reach good enough jitter performance.

The drawback of this “simple” method is tight requirements for relative phase shifts of all signals for all boards involved. It is real problem for HEP’s DAQ.

CMD-3 DAQ hardware: features and status.Moscow, ITEP, November, 23-27,2009

Page 8: CMD-3 DAQ hardware : features and status

Mesochronous mode of synchronization is used within triggering boards to carefully align data sampling and frame generating time. This method allows to fine compensate differences in detector’s subsystem latency. Calibrating Generator boards will utilize this mode too.

Mesochronouse mode does not interfere with synchronous mode because It is not necessary to exact control for PLL phase shift. Trigger time resolution is close to Local Clock period and a programmable Offset value brings enough grade of control.

D

CLK

Enable

Link's_bitstream

RF Cavity Freq.

Bunch Crossing

Q Data/Comm line

PLL Phase Line PLL

CLK

Start bit detect

QD

CLKsLoad

CM

P

Q

Local Clock

Sample Enable or Frame Align

Physical LayerMChS Signaling Layer Triggering Board Signaling Layer

Counter

offs

et

CMD-3 DAQ hardware: features and status.Moscow, ITEP, November, 23-27,2009

Page 9: CMD-3 DAQ hardware : features and status

Well-known Plesiochronous mode of synchronization is used for Command and Data movement during transaction. This method is not sensitive to any phase shifts thus it does not interfere with other synchronization modes used in DAQ. Any local clock which is satisfying Nyquist oversampling criteria can be used to synchronize the processing of a data.

CMD-3 DAQ hardware: features and status.Moscow, ITEP, November, 23-27,2009

Event

Numbe

r

DAQ Synchro sends Message Dead

TimeAnalog signals setup time, up to 10us

Data

Word

1Eve

nt

Numbe

r

Comman

d

Data

Word

8Com

mand

DeadTime

A/D conversion in progress, up to 40us

Data

Word

62

Digitizer sends Data

Data

Word

1CRC

C-Link data/command stack

Page 10: CMD-3 DAQ hardware : features and status

Asynchronous mode is used to collaborate with universal tools, such as an oscilloscope, pulse generator, etc. This mode signals is NIM levels. Dedicated time-to-digital converters channel allows to check asynchronous signals arrival time. It is the way to preserve good time resolution during resynchronization process.

Isochronous mode of synchronization is used to change status of DAQ. The broadcast-like commands are distributed at each case DAQ need to change the status. Each board in DAQ accepts this command and execute associated Command List. It rewrites configuration registers of a Board causing a status to change. Exact moment of change depends of instruction number. It is guaranteed all Boards will change status within current transaction (i.e. within current event). This is looks like ordinary event with standard parameters, thus it can be written to tape and is suitable for off-line run processing.

Isochronous mode is also used to collaborate with legacy DAQ. It allows cross-check of event number, dead time and other parameters. The Command List technology allow Boards with different internal structure to be adopted for the same kind action in DAQ.

CMD-3 DAQ hardware: features and status.Moscow, ITEP, November, 23-27,2009

Page 11: CMD-3 DAQ hardware : features and status

Table of synchronization modes used in CMD-3 TOMA DAQ.

Layer of C-Link specification

Mode of synchronization Target process

Time resolution, s

Signaling Synchronous Time stamp for precision time measure and DSP fast A/D conversion 10-11

Signaling Mesochronous First Level Trigger data sampling and frame aligning 10-9

Transaction Plesiochronous Command/Data Transmitting 10-8

Event Asynchronous Collaboration with common universal tools 10-8

Event Isochronous Changing of DAQ status, Data buffering, collaboration with legacy DAQ 10-7

CMD-3 DAQ hardware: features and status.Moscow, ITEP, November, 23-27,2009

Page 12: CMD-3 DAQ hardware : features and status

CMD-3 TOMA DAQ layout

CMD-3 DAQ hardware: features and status.

DAQ Synchro

Digitizer TQ

Digitizer SAD

Digitizer T2Q

VEPP2000

SND

ClbrPulser

ClbrPulser

ClbrPulser

CMD-3

Extended Decision

Claster Finder

TOF&Mu Frontend

Calorimeter Frontend

Particle Injection

Tracker Frontend

Track Finder

Bunch CrossingRF Cavity Freq.

Storage Ring Command, Clock

to Event Builder

Data Delivery

Groupe 1

Groupe 2

Data Delivery

Switch

Digitizer

DAQ Synchro

Data Delivery

CMD-3 DAQ Link

Down Link InterfaceUp Link Interface

Trigger Data Pipeline Synchronization

Event Queue and Time Control

Data Collection Status Control

and Check Calibration

Page 13: CMD-3 DAQ hardware : features and status

End-to-end testability On-line data transfer check On-line signal condition and error rate check Random simulating trigger can be added to ordinary event flow to

check DAQ efficiency Calibrating events can be added to ordinary event flow to check

analog channels efficiency Calibrating pattern can be added to ordinary event flow to check

Trigger channels efficiency Extensive using of scalers to check signal rates All status changes is organized as standard event with standard

parameters Unique ID for each Board in DAQ to support automatic topology

check and data path control

CMD-3 DAQ hardware: features and status.Moscow, ITEP, November, 23-27,2009

Page 14: CMD-3 DAQ hardware : features and status

All modes of synchronization are tested with full-scale DC, TOF and Trigger, no interference present

Targeted resolutions are reached Calorimeters turn-on is in progress now Software for on-line control is under construction DAQ is ready for Beam Run at December 09

CMD-3 DAQ Status

CMD-3 DAQ hardware: features and status.Moscow, ITEP, November, 23-27,2009

Page 15: CMD-3 DAQ hardware : features and status

Thank you for attention.

CMD-3 DAQ hardware: features and status.Moscow, ITEP, November, 23-27,2009