Controlling a large Data Acquisition System using an industrial SCADA system Stefan Koestner (CERN) on behalf of the LHCb Online Group Modelling the Experiment.

Slides:



Advertisements
Similar presentations
Peter Chochula CERN-ALICE ALICE DCS Workshop, CERN September 16, 2002 DCS – Frontend Monitoring and Control.
Advertisements

Experiment Control Systems at the LHC An Overview of the System Architecture An Overview of the System Architecture JCOP Framework Overview JCOP Framework.
CHEP 2012 – New York City 1.  LHC Delivers bunch crossing at 40MHz  LHCb reduces the rate with a two level trigger system: ◦ First Level (L0) – Hardware.
Clara Gaspar, May 2010 The LHCb Run Control System An Integrated and Homogeneous Control System.
L. Granado Cardoso, F. Varela, N. Neufeld, C. Gaspar, C. Haen, CERN, Geneva, Switzerland D. Galli, INFN, Bologna, Italy ICALEPCS, October 2011.
A. Homs, BLISS Day Out – 15 Jan 2007 CCD detectors: spying with the Espia D. Fernandez A. Homs M. Perez C. Guilloud M. Papillon V. Rey V. A. Sole.
Robert Gomez-Reino on behalf of PH-CMD CERN group.
Calo Piquet Training Session - Xvc1 ECS Overview Piquet Training Session Cuvée 2012 Xavier Vilasis.
Using PVSS for the control of the LHCb TELL1 detector emulator (OPG) P. Petrova, M. Laverne, M. Muecke, G. Haefeli, J. Christiansen CERN European Organization.
5 March DCS Final Design Review: RPC detector The DCS system of the Atlas RPC detector V.Bocci, G.Chiodi, E. Petrolo, R.Vari, S.Veneziano INFN Roma.
Towards a Detector Control System for the ATLAS Pixeldetector Susanne Kersten, University of Wuppertal Pixel2002, Carmel September 2002 Overview of the.
09/11/20061 Detector Control Systems A software implementation: Cern Framework + PVSS Niccolo’ Moggi and Stefano Zucchelli University and INFN Bologna.
Clara Gaspar, October 2011 The LHCb Experiment Control System: On the path to full automation.
GBT Interface Card for a Linux Computer Carson Teale 1.
DEVICES AND COMMUNICATION BUSES FOR DEVICES NETWORK
1 Outline Firmware upgrade of the HV_LED_DAC boards. HV Status Bits board. Status of the board integration into the LHCb TFC system. CALO HV system and.
7. CBM collaboration meetingXDAQ evaluation - J.Adamczewski1.
Management of the LHCb DAQ Network Guoming Liu * †, Niko Neufeld * * CERN, Switzerland † University of Ferrara, Italy.
1 VeLo L1 Read Out Guido Haefeli VeLo Comprehensive Review 27/28 January 2003.
L0 DAQ S.Brisbane. ECS DAQ Basics The ECS is the top level under which sits the DCS and DAQ DCS must be in READY state before trying to use the DAQ system.
News on GEM Readout with the SRS, DATE & AMORE
LHCb front-end electronics and its interface to the DAQ.
Management of the LHCb Online Network Based on SCADA System Guoming Liu * †, Niko Neufeld † * University of Ferrara, Italy † CERN, Geneva, Switzerland.
Clara Gaspar, December 2012 Experiment Control System & Electronics Upgrade.
A Super-TFC for a Super-LHCb (II) 1. S-TFC on xTCA – Mapping TFC on Marseille hardware 2. ECS+TFC relay in FE Interface 3. Protocol and commands for FE/BE.
March 7th 2005 Stefan Koestner LHCb week ECS-tools for the CCPC/Tell1 (a tutorial in 3 acts): (1) CCPC/PVSS Interface: - few comments on the server - quick.
Clara Gaspar on behalf of the ECS team: CERN, Marseille, etc. October 2015 Experiment Control System & Electronics Upgrade.
Management of the LHCb DAQ Network Guoming Liu *†, Niko Neufeld * * CERN, Switzerland † University of Ferrara, Italy.
The DCS Databases Peter Chochula. 31/05/2005Peter Chochula 2 Outline PVSS basics (boring topic but useful if one wants to understand the DCS data flow)
Control and operation of detector systems and their readout electronics in a complex experiment control system Stefan Koestner (CERN) on behalf of the.
1 DAQ.IHEP Beijing, CAS.CHINA mail to: The Readout In BESIII DAQ Framework The BESIII DAQ system consists of the readout subsystem, the.
1 Chapter 2: Operating-System Structures Services Interface provided to users & programmers –System calls (programmer access) –User level access to system.
October 12th 2005 ICALEPCS 2005D.Charlet The SPECS field bus  Global description  Module description Master Slave Mezzanine  Implementation  Link development.
Jun 18th 2009 SPECS system D.Charlet The SPECS field bus ACTEL APA 150 GLUE.
20OCT2009Calo Piquet Training Session - Xvc1 ECS Overview Piquet Training Session Cuvée 2009 Xavier Vilasis.
Scalable Readout System Data Acquisition using LabVIEW Riccardo de Asmundis INFN Napoli [Certified LabVIEW Developer]
Stefan Koestner IEEE NSS – San Diego 2006 IEEE - Nuclear Science Symposium San Diego, Oct. 31 st 2006 Stefan Koestner on behalf of the LHCb Online Group.
MADEIRA Valencia report V. Stankova, C. Lacasta, V. Linhart Ljubljana meeting February 2009.
of the Upgraded LHCb Readout System
PVSS an industrial tool for slow control
Control and operation of detector systems and their readout electronics in a complex experiment control system Stefan Koestner (CERN)
Use of FPGA for dataflow Filippo Costa ALICE O2 CERN
Overview of TANGO Control system
HyperTransport™ Technology I/O Link
Production Firmware - status Components TOTFED - status
Enrico Gamberini, Giovanna Lehmann Miotto, Roland Sipos
Erno DAVID, Tivadar KISS Wigner Research Center for Physics (HU)
ATLAS MDT HV – LV Detector Control System (DCS)
CMS – The Detector Control System
Controlling a large CPU farm using industrial tools
ECS-tools for the CCPC/Tell1 (a tutorial in 3 acts):
The Software Framework available at the ATLAS ROD Crate
Read-out of High Speed S-LINK Data Via a Buffered PCI Card
Control and operation of detector systems and their readout electronics in a complex experiment control system Stefan Koestner (CERN)
Large CMS GEM with APV & SRS electronics
by Prasad Mane (05IT6012) School of Information Technology
Radiation- and Magnet field- Tolerant Power Supply System
The LHCb Run Control System
Overview of Computer Architecture and Organization
Philippe Vannerem CERN / EP ICALEPCS - Oct03
Tests Front-end card Status
IEEE - Nuclear Science Symposium San Diego, Oct. 31st 2006
Experiment Control System
EPICS: Experimental Physics and Industrial Control System
Pierluigi Paolucci & Giovanni Polese
Pierluigi Paolucci & Giovanni Polese
TPC Electronics Meeting, 13/01/05 Carmen González Gutiérrez
Tools for the Automation of large distributed control systems
TELL1 A common data acquisition board for LHCb
Chapter 13: I/O Systems.
Presentation transcript:

Controlling a large Data Acquisition System using an industrial SCADA system Stefan Koestner (CERN) on behalf of the LHCb Online Group Modelling the Experiment Control System (ECS) with Finite State Machines in order to model the experiment at an expert system level states and actions have to be defined from the top node (run control) commands can be propagated downwards a hierarchical tree status and alarms can be propagated upwards the hierarchical tree to the run control the final branch of a tree is always a device unit acting on the hardware (connected to datapoint!) additional control units can be implemented to give a better logical structure (domains) DU_N DU_2 IT_DAQ_ST1 IT_DAQ_ST2 DCSHVDAQIDAQIT_V1 IT_DAQ_ST3 LHCb Control Units IT_HV_ST1 IT_HV_ST2 IT_HV_ST3 IT_HV_ST2_BOXC IT_HV_ST2_BOXDIT_HV_ST2_BOXU IT_HV_ST2_BOXA DU_1 IT_V2 IT_ST1IT_ST2IT_ST3 IT_DCS_ST2_LV IT_DCS_ST2_COOLINGIT_DCS_ST2_TEMP IT_DCS_ST2_GAS IT_DCS_ST1 IT_DCS_ST2 IT_DCS_ST2_HUM IT_DCS_ST3 IT_DCSIT_HV IT_DAQIIT_DAQ IT_DAQ_ST2_TELL1 IT_DAQ_ST2_FE Implementation each domain has a defined transition from one state into the other with the possibility to autorecover (in case of error) change in hardware (datapoint) can trigger a state transition of a device unit rules defined for control unit if its children make a state transition commands can cause state transitions and act on datapoint of device unit, triggering itself a callback function User Interface each device unit offers a set of panels to configure and interact with the hardware (datapoints) the control unit panel from where commands can be launched shows its own and the children’s state Partitioning to allow for more flexibility, subparts of the tree can be excluded (either its state is ignored or commands are not allowed) helps to commission subdetectors or to ignore faulty hardware The LHCb experiment: Single-arm forward spectrometer dedicated to B-physics TeV, luminosity=2·10 32 cm -2 s -1 acceptance: (250)mrad bb/year, full B spectrum L0 trigger ~ 1 MHz, 4 µs fixed latency Time synchronized to FE-chips DIM – Distributed Information Management System portable lightweight communication layer to interface hardware from ECS if server crashes it can easily republish on DNS node (Robustness) clients can be installed on any machine just specifying DNS node (Portability) – no need to take care of connectivity DIM server running on CCPC or SPECS master PC publishes services to DIM Name Server (DNS) from where the client (ECS) can subscribe to it. Data exchange peer to peer from server to client Client sends commands (write/read) – server updates services (data/status) PVSS Event manager Database manager PVSS Database Control manager API GUIs Distribution manager Driver manager DIM client PVSS00dim User interface layer Processing layer Communication and memory layer Driver layer Distributed System Support PC running DNS node DNS node server Ethernet The PVSS software architecture comprises a number of managers which may run on independent machines and communicate with the event manager via a PVSS internal protocol on top of TCP/IP a DIM driver is implemented which allows to communicate with hardware over ethernet CCPC – Credit Card sized PC 15 different types of DAQ and trigger boards (in total some 400) a few hundred registers each (monitor) and memory blocks (upload) common readout board (Tell1) based on FPGA technology to adopt specific needs I2C like protocol without acknowledgements slave can send interrupt and master repeats clock only active during transfer (10 MHz) variable number of words (<256) with 10 bits SPECS – Serial Protocol for the Experiment Control System 10 Mbit/s serial link for configuration of remote electronics single master multi-slave (up to 32) bus – simple, fast and cheap serial bus with two signals in each direction (2 times clk & data) BLVDS on shielded twisted pair (8-bin RJ45, cat 5 Ethernet) SPECS multi-master board – 4 different busses standard 32-bit 33 MHz PCI board inserted on the same PC where SPECS server is running SPECS slave designed as portable VERILOG code implemented in ACTEL APA150 FPGA (tested up to 40 krad) SEU and SEL immune due to triple voting and one-hot state used SPECS mezzanine board houses the SPECS slave provides 16 long distance JTAG chains (4 signals each) provides 15 long distance I2C busses with selectable frequency local i2C bus and 16 bit parallel bus (8 bit address range) DCU chip with 6 ADC channels (12 bit) and 1 temp sensor 32 configurable I/O lines FPGA-based readout board ADC conversion or optical conv. synchronisation, reordering, pedestal subtraction, common mode sub., zero suppression (PP) MEP packing, IP framing (SL) Gigabit Ethernet Link Separated ECS interface (CCPC) 4” – SM520PCX from Digitallogic i486 compatible microcontroller (AMD ELAN 520) Linux Kernel at 133 MHz reading from local bus 20 MB/s filesystem shared over server access to board via gluecard over a PLXPCI9030 bridge: Parallel bus (8/16/32), 3 fast JTAG chains (2 MHz) to load firmware, 4 I2C lines and 9 GPIO lines. low level libraries under SLC4 SPECS master PC running SPECS server or embedded controller running CCPC server JCOP – CERN’s joint controls framework: JointCOntrols Project – a common toolkit designed for the use for LHC additional drivers for commonly used devices (especially hiqh voltage power supplies and CAN bus) interface to an Oracle configuration database to upload sets of parameters (recipes) to hardware API managers for communication protocols e.g. DIM and OPC implementation of a hierarchical control structure using Finite State Machines coherent interface highly modular design: specific managers (processes) for different tasks client-server architecture (provider-consumer relationship): communication between processes is event-driven standard TCP/IP message interface active only on demand (publish/subscribe) C-like scripting language (procedural higher level language) API interface/manager for extra functionality (C++ library) PVSS – an industrial SCADA toolkit: German abbreviation for ‘Process visualisation and control system’. Scalability is essential for big experiments!!! structured namespace (device oriented) - create and manipulate complex devices no built-in limit for number of devices and elements Data held in memory of event manager and real time DB – accessible from all managers attributes used for processing and alerts (configs) complex value archive arrangements and flexible alarm handling interface to record archive data in an Oracle database (accessibility) communicating processes: architecture can take advantage of multi-CPU systems load distribution is possible distributed systems: systems may be distributed across machines various autonomous systems may communicate with each other allows for hot-standby redundancy cross-platform: truly mixed systems possible (Windows GUI & Linux data server) L1 electronics: 1 MHz readout (~35 GB/s) collection and preprocessing push-protocol supposes enough buffer in next stage SPECS CAN Ethernet M S S S I2C JTAG Bus I2C JTAG Bus I2C JTAG Bus Control PC Electronics Interface: In radiation areas: SPECS (Serial Protocol for ECS) custom protocol made for LHCb to work in radiation and B-field environment for remote electronics 10 MB/s, slave is radiation tolerant PCI master card can talk with up to 32 slaves generic server to communicate with ECS (DIM) client In areas with no radiation: Credit Card PC’s (66 x 85 x 12 mm) readout boards host embedded microcontrollers access to I2C, JTAG and general purpose bus isolated access path  robustness generic server to communicate with ECS (DIM) client