• No results found

Readout Unit using Network Processors

N/A
N/A
Protected

Academic year: 2021

Share "Readout Unit using Network Processors"

Copied!
19
0
0

Loading.... (view fulltext now)

Full text

(1)

Readout Unit using Network Processors

DAQ RU

IBM NP4GS3

IBM NP4GS3

Phy Phy Phy Phy

RN CC-PC PCI Ethernet ECS Mem Mem GbE Phy FEM GbE GMII Phy FEM GbE GMII Phy FEM GbE GMII Phy FEM GbE GMII

Switch Bus Switch Bus

GMII

GMII

GMII

GMII GMIIGMIIGMII GMIIGMIIGMII DAQ RU

IBM NP4GS3

IBM NP4GS3

Phy Phy Phy Phy Phy Phy Phy Phy

RN CC-PC PCI Ethernet ECS Mem Mem GbE Phy FEM GbE GMII Phy FEM GbE GMII Phy FEM GbE GMII Phy FEM GbE GMII Phy FEM GbE GMII Phy FEM GbE GMII Phy FEM GbE GMII

Switch Bus Switch Bus

GMII

GMII

GMII

GMII GMIIGMIIGMII GMIIGMIIGMII

IBM NP4GS3 ? 4 x 1Gb full duplex Ethernet MACs ? 16 RISC processors @ 133 MHz ? Up-to 64 MB external RAM ? Used in routers RU Functions ? EB and formatting ? 7.5 ?sec/event ? ~200 kHz evt rate

(2)

J. Harvey : LHCb Computing Slide 32

Sub Farm Controller (SFC)

‘Standard’ PC

CPU

Memory

Smart NIC

Local Bus PCI Bus

NIC Control NIC Readout Network (GbE) Subfarm Network (GbE) Controls Network (FEth) PCI Bridge ~50 MB/s ~0.5 MB/s ~50 MB/s ~0.5 MB/s

Alteon Tigon 2

? Dual R4000-class processor

running at 88 MHz

? Up to 2 MB memory

? GigE MAC+link-level interface

? PCI interface

? ~90 kHz event fragments/s

Development environment

? GNU C cross compiler with few

special features to support the hardware

(3)

Control Interface to Electronics

?

S

elect a reduced number of solutions to

interface Front-end electronics to LHCb’s

control system:

? No radiation (counting room):

Ethernet to credit card PC on modules

? Low level radiation (cavern):

10Mbits/s custom serial LVDS twisted pair

SEU immune antifuse based FPGA interface chip

? High level radiation (inside detectors):

CCU control system made for CMS tracker Radiation hard, SEU immune, bypass

?

Provide support (HW and SW) for the

integration of the selected solutions

Credit card PC JTAG I2C Par Serial slave JTAG I2C Par Master PC Master PC Ethernet

(4)
(5)

Control and Monitoring

Read-out Network (RN) RU RU RU 6 GB/s 6 GB/s 50 MB/s Variable latency L2 ~10 ms L3 ~200 ms Control & Monitoring LAN

Read-out units (RU) Timing & Fast Control Level-0 Front-End Electronics Level-1 VDET TRACK ECAL HCAL MUON RICH

LHC-B Detector L0 L1 Level 0 Trigger Level 1 Trigger 40 MHz 1 MHz 40 kHz Fixed latency 4.0 ?s Variable latency <1 ms Data rates 40 TB/s 1 TB/s 1 MHz

Front End Links

Trigger Level 2 & 3 Event Filter SFC SFC CPU CPU CPU CPU Sub-Farm Controllers (SFC) Storage Throttle

(6)

J. Harvey : LHCb Computing Slide 36

Experimental Control System

?

The Experiment Control System will be used to control and

monitor the operational state of the detector, of the data

acquisition and of the experimental infrastructure.

?

Detector controls

? High and Low voltages

? Crates

? Cooling and ventilation

? Gas systems etc.

? Alarm generation and handling

?

DAQ controls

? RUN control

? Setup and configuration of all readout components

(7)

System Requirements

?

Common control services across the experiment

? System configuration services – coherent information in database

? Distributed information system – control data archival and retrieval

? Error reporting and alarm handling

? Data presentation – status displays, trending tools etc.

? Expert system to assist shift crew

?

Objectives

? Easy to operate – 2/3 shift crew to run complete experiment

? Easy to adapt to new conditions and requirements

?

Implies integration of DCS with the control of DAQ and data

(8)

J. Harvey : LHCb Computing Slide 38

Integrated System – trending charts

Slow Control DAQ

(9)

Integrated system – error logger

ALEPH error logger, ERRORS + MONITOR + ALARM

2-JUN 11:30 ALEP R_ALEP_0 RUNC_DAQ ALEPH>> DAQ Error

2-JUN 11:30 ALEP TPEBAL MISS_SOURCE TPRP13 <1_missing_Source(s)>

2-JUN 11:30 ALEP TS TRIGGERERROR Trigger protocol error(TMO_Wait_No_Busy) 2-JUN 11:30 TPC SLOWCNTR SECTR_VME VME CRATE fault in: SideA Low

Slow Control DAQ

(10)

J. Harvey : LHCb Computing Slide 40

Scale of the LHCb Control system

?

Parameters

? Detector Control: O (105) parameters

? FE electronics: Few parameters x 106 readout channels

? Trigger & DAQ: O(103) DAQ objects x O(102) parameters

? Implies a high level description of control components (devices/channels)

?

Infrastructure

? 100-200 Control PCs

? Several hundred credit-card PCs.

(11)

LHCb Controls Architecture

Experimental equipment . . . LAN WAN Storage Other systems (LHC, Safety, ...)

Conf. DB, Archives, Log files, …

Controller/ PLC VME Fieldbus LAN Supervision Process Management Field Management Devices Fieldbuses PLC OPC Communication SCADA Technologies Servers Users

(12)

J. Harvey : LHCb Computing Slide 42

Supervisory Control And Data Acquisition

?

Used virtually everywhere in industry including very large and

mission critical applications

?

Toolkit including:

? Development environment

? Set of basic SCADA functionality (e.g. HMI, Trending, Alarm

Handling, Access Control, Logging/Archiving, Scripting, etc.)

? Networking/redundancy management facilities for distributed

applications

?

Flexible & Open Architecture

? Multiple communication protocols supported

? Support for major Programmable Logic Controllers (PLCs) but not VME

? Powerful Application Programming Interface (API)

? Open Database Connectivity (ODBC)

(13)

Benefits/Drawbacks of SCADA

?

Standard framework => homogeneous system

?

Support for large distributed systems

?

Buffering against technology changes, Operating Systems,

platforms, etc.

?

Saving of development effort (50-100 man-years)

?

Stability and maturity – available immediately

?

Support and maintenance, including documentation and

training

?

Reduction of work for the end users

?

Not tailored exactly to the end application

?

Risk of company going out of business

?

Company’s development of unwanted features

?

Have to pay

(14)

J. Harvey : LHCb Computing Slide 44

Commercial SCADA system chosen

?

Major evaluation effort

? technology survey looked at ~150 products

?

PVSS II chosen from an Austrian company (ETM)

? Device oriented, Linux and NT support

?

The contract foresees:

? Unlimited usage by members of all institutes participating in LHC

experiments

? 10 years maintenance commitment

? Training provided by company - to be paid by institutes

? Licenses available from CERN from October 2000

?

PVSS II will be the basis for the development of the control

(15)

Controls Framework

?

LHCb aims to distribute with the SCADA system a framework

? Reduce to a minimum the work to be performed by the sub-detector

teams

? Ensure work can be easily integrated despite being performed in

multiple locations

? Ensure a consistent and homogeneous DCS

?

Engineering tasks for framework :

? Definition of system architecture (distribution of functionality)

? Model standard device behaviour

? Development of configuration tools

? Templates, symbols libraries, e.g. power supply, rack, etc.

? Support for system partitioning (uses FSM)

? Guidelines on use of colours, fonts, page layout, naming, ...

? Guidelines for alarm priority levels, access control levels, etc.

(16)

J. Harvey : LHCb Computing Slide 46

Application Architecture

ECS DCS DAQ Vertex GAS HV

Tracker Muon Vertex Tracker Muon

Temp HV HV GAS FE RU FE RU FE RU

SAFETY

(17)
(18)

J. Harvey : LHCb Computing Slide 48

Summary

?

Organisation has important consequences for cohesion,

maintainability, manpower needed to build system

?

Architecture driven development maximises common

infrastructure and results in systems more resilient to change

?

Software frameworks maximuse level of reuse and simplify

distributed development by many application builders

?

Use of industrial components (hardware and software) can

reduce development effort significantly

?

DAQ is designed with simplicity and maintainability in mind

?

Maintain a unified approach – e.g. same basic infrastructure

(19)

References

Related documents

We recognise that the absence of significant regional variation in VSM pay in NHS Trusts and NHS Foundation Trusts does not of itself prove there is a national market for these

Objective: To measure change in fruit and vegetable (F&amp;V) consumption among elementary-school children after the introduction of a salad bar programme as a lunch menu option in

In order to distinguish the geographical origin of the considered lemon juice samples, pattern recognition techniques such as principal component analysis (PCA), linear

In this section there are going to be presented sev- eral cases that show how individual decision makers, since the point of view of internal resources strategy (RBV and Dynamic

1 In the Project Manager tree view, right-click Test Drawing 1 and click Open.. 2 If the P&amp;ID PIP tool palette is not already displayed, on the ribbon, click

ALL WORK PERFORMED MUST MEET THE 2006 INTERNATIONAL BUILDING CODE, LOCAL AMENDMENTS AND ABIDE BY THE CITY OF FRISCO COMPREHENSIVE ZONING ORDINANCE. DBM SERVICES

In this paper we explore the notion of freedom as a form of governance within contemporary consumer culture in a sphere where ‘freedom’ appears as a key component: outdoor music-

The evidence in support of that finding is that the distribution of overcharges for illegal cartels has less mass in the lower and upper tails compared to the overcharge