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.

Slides:



Advertisements
Similar presentations
The Detector Control System – FERO related issues
Advertisements

Experiment Control Systems at the LHC An Overview of the System Architecture An Overview of the System Architecture JCOP Framework Overview JCOP Framework.
Substation Automation (S.A) System Project Supervisor: Stuart Wildy.
Gelu M. Nita NJIT. Noise Diode Control Day/Night Attn. Ctrl. Solar Burst Attn. Ctrl. V/H RF Power Out Attn. Ctrl. Temperature Sensors.
® IBM Software Group © 2006 IBM Corporation Rational Software France Object-Oriented Analysis and Design with UML2 and Rational Software Modeler 04. Other.
André Augustinus ALICE Detector Control System  ALICE DCS is responsible for safe, stable and efficient operation of the experiment  Central monitoring.
7M701 1 Software Engineering Object-oriented Design Sommerville, Ian (2001) Software Engineering, 6 th edition: Chapter 12 )
Managing Agent Platforms with the Simple Network Management Protocol Brian Remick Thesis Defense June 26, 2015.
Chapter 9: Moving to Design
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.
The Detector Safety System for LHC Experiments Stefan Lüders ― CERN EP/SFT & IT/CO CHEP03 ― UC San Diego ― March 27 th, 2003.
Applying Distributed Systems concepts to SCADA By Padmanabha Kamath.
OPC and EPICS M. Clausen EPICS workshop Trieste’99 1 OPC Introduction and EPICS Perspectives Matthias Clausen.
Architecture Of ASP.NET. What is ASP?  Server-side scripting technology.  Files containing HTML and scripting code.  Access via HTTP requests.  Scripting.
Calo Piquet Training Session - Xvc1 ECS Overview Piquet Training Session Cuvée 2012 Xavier Vilasis.
Towards a Detector Control System for the ATLAS Pixeldetector Susanne Kersten, University of Wuppertal Pixel2002, Carmel September 2002 Overview of the.
Imperial College Tracker Slow Control & Monitoring.
09/11/20061 Detector Control Systems A software implementation: Cern Framework + PVSS Niccolo’ Moggi and Stefano Zucchelli University and INFN Bologna.
SCADA Systems - What is the scope of this talk? What are SCADA systems? What are their structure and main features? How open are they? How are they evolving?
Windows Control Center
SCADA. 3-Oct-15 Contents.. Introduction Hardware Architecture Software Architecture Functionality Conclusion References.
SMACS Slow Monitor And Control System Developed system for CDF-TOF proposed for Atlas-MDT/RPC.
JCOP Workshop September 8th 1999 H.J.Burckhart 1 ATLAS DCS Organization of Detector and Controls Architecture Connection to DAQ Front-end System Practical.
Clara Gaspar, October 2011 The LHCb Experiment Control System: On the path to full automation.
1 Advanced topics in OpenCIM 1.CIM: The need and the solution.CIM: The need and the solution. 2.Architecture overview.Architecture overview. 3.How Open.
XXVI Workshop on Recent Developments in High Energy Physics and Cosmology Theodoros Argyropoulos NTUA DCS group Ancient Olympia 2008 ATLAS Cathode Strip.
The Joint COntrols Project Framework Manuel Gonzalez Berges on behalf of the JCOP FW Team.
Topics of presentation
André Augustinus 17 June 2002 Technology Overview What is out there to fulfil our requirements? (with thanks to Tarek)
Middleware for FIs Apeego House 4B, Tardeo Rd. Mumbai Tel: Fax:
PVSSProxy The first piece of the MACS procedure framework (ProShell) Angela Brett.
Control in ATLAS TDAQ Dietrich Liko on behalf of the ATLAS TDAQ Group.
20th September 2004ALICE DCS Meeting1 Overview FW News PVSS News PVSS Scaling Up News Front-end News Questions.
Eugenia Hatziangeli Beams Department Controls Group CERN, Accelerators and Technology Sector E.Hatziangeli - CERN-Greece Industry day, Athens 31st March.
Management of the LHCb DAQ Network Guoming Liu * †, Niko Neufeld * * CERN, Switzerland † University of Ferrara, Italy.
JCOP Review, March 2003 D.R.Myers, IT-CO1 JCOP Review 2003 Architecture.
Overview of DAQ at CERN experiments E.Radicioni, INFN MICE Daq and Controls Workshop.
1 UNICOS PVSS Evolution Cryogenics Control Enrique BLANCO Industrial Controls & Electronics Group.
Status of Farm Monitor and Control CERN, February 24, 2005 Gianluca Peco, INFN Bologna.
Architecture View Models A model is a complete, simplified description of a system from a particular perspective or viewpoint. There is no single view.
1 Technical & Business Writing (ENG-715) Muhammad Bilal Bashir UIIT, Rawalpindi.
Source Controller software Ianos Schmidt The University of Iowa.
Management of the LHCb Online Network Based on SCADA System Guoming Liu * †, Niko Neufeld † * University of Ferrara, Italy † CERN, Geneva, Switzerland.
Connecting LabVIEW to EPICS network
“The LHC GCS Framework” Geraldine Thomas CERN, IT-CO A complete PLC and PVSS automatic code Generation.
Configuration database status report Eric van Herwijnen September 29 th 2004 work done by: Lana Abadie Felix Schmidt-Eisenlohr.
Clara Gaspar on behalf of the ECS team: CERN, Marseille, etc. October 2015 Experiment Control System & Electronics Upgrade.
LHCb Configuration Database Lana Abadie, PhD student (CERN & University of Pierre et Marie Curie (Paris VI), LIP6.
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.
Maria del Carmen Barandela Pazos CERN CHEP 2-7 Sep 2007 Victoria LHCb Online Interface to the Conditions Database.
ROM. ROM functionalities. ROM boards has to provide data format conversion. – Event fragments, from the FE electronics, enter the ROM as serial data stream;
M. Caprini IFIN-HH Bucharest DAQ Control and Monitoring - A Software Component Model.
20OCT2009Calo Piquet Training Session - Xvc1 ECS Overview Piquet Training Session Cuvée 2009 Xavier Vilasis.
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.
Controlling a large Data Acquisition System using an industrial SCADA system Stefan Koestner (CERN) on behalf of the LHCb Online Group Modelling the Experiment.
PVSS an industrial tool for slow control
Online Control Program: a summary of recent discussions
CMS – The Detector Control System
Controlling a large CPU farm using industrial tools
How SCADA Systems Work?.
by Prasad Mane (05IT6012) School of Information Technology
The LHCb Run Control System
Philippe Vannerem CERN / EP ICALEPCS - Oct03
IEEE - Nuclear Science Symposium San Diego, Oct. 31st 2006
Tools for the Automation of large distributed control systems
Presentation transcript:

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 for Nuclear Resarch

TELL1 - OPG Control2 Outline Data Acquisition for LHCb –System overview –TELL1 –OPG SCADA&PVSS –Use of SCADA tools in control applications –What is PVSS? GUI-control for OPG –Configuration panel set –DIM –Why GUI? –PVSS challenges –Design problems Summary and conclusions

TELL1 - OPG Control3 Data Acquisition for LHCb DAQ system overview

TELL1 - OPG Control4 TELL1 board overview TELL1 is an FPGA based readout board, part of the off-detector acquisition electronics used in the LHCb experiment TELL1 board

TELL1 - OPG Control5 TELL1 - functions TELL1 is a receiver card for the analogue or optical data from the detector front-end electronics It provides basic signal processing and filtering of the subdetector signals TELL1 is designed to accept input “mezzanine” cards for both copper and optical link configurations, requested by the different subsystems. It performs Level 1 (L1) buffering and interfacing to the Level 1/High Level Trigger (L1/HLT) Connects to the HLT via Gigabit Ethernet network TELL1 is controlled by ECS (Experiment Control System) via a “Credit– Card PC” (CCPC) Via a “GlueCard” PCI bridge the CCPC connects to 3 different buses On-board are used 3 types of buses: Parallel Local Bus, JTAG and I 2 C The TELL1 board is planned to perform intensive processing of the input dataflow from the seven different LHCb detectors

TELL1 - OPG Control6 OPG OPG – Optical Pattern Generator It emulates the subdetector output signals of the six subdetectors using optical links with their specific format OPG boards exist for use with optical links only Emulated signal parameters –pattern files – configuration database - shorter configuration time, unification of the test patterns and possible reuse of the same parameterization OPG has the same control as TELL1 via CCPC and GlueCards

TELL1 - OPG Control7 SCADA for control SCADA (Supervisory Control and Data Acquisition) systems used in industrial and engineering applications for monitoring and control of distributed systems from a master location focus on supervising purely software package that is positioned on top of hardware to which it interfaces. used in industry and experimental physics laboratories rely on various functionality, scalability, performance and openness alternative to “in-house” developed packages, even for very demanding and complex control systems as those of physics experiments

TELL1 - OPG Control8 What is PVSS? PVSS II is one of the existing industrial SCADA applications, produced by the Austrian company ETM. PVSS can connect to hardware (or software) devices, acquire the data they produce and use it for their supervision It can monitor devices’ behaviour and initialize, configure and operate them PVSS can run in a distributed manner – as one single system – as various interconnected systems It has multi-platform support (Linux and Windows).

TELL1 - OPG Control9 PVSS features It has mechanisms for: –alarm handling –access control –archiving –trending Provides various interfaces and drivers (OPC, ProfiBus, CanBus, Modbus TCP/IP and Applicom) to external hardware and software Some additional interfaces (like DIM extended for CCPC/SPECS) - developed at CERN JCOP Framework for PVSS PVSS provides development environment with Human Machine Interface (HMI) and scripting/API (Application Programming Interface) capabilities

TELL1 - OPG Control10 PVSS DataPoints A key SCADA/PVSS concept is the data point (DP) In PVSS every object is modeled using data point types Data point type is collection of data point elements. It’s analogous to an object oriented class with attributes, that provides inheritance. What is the DataPoint? - Data points are particular instances of a data point type Device/signals correspondence

TELL1 - OPG Control11 Example DataPoint Example of a DP Structure as device representation

TELL1 - OPG Control12 GUI Control GUI (Graphical User Interfface) The best way of presenting control information to the user It gives the easiest and fastest way of communication with the hardware The graphical environment masks all hardware processes and the user interacts with the system via simple commands Important feature of the GUI implementation - it “hides” the real system that stands behind it No detailed knowledge of the hardware on the user side required for the communication Via GUI-based control all devices in the network can be displayed at the same time, as well as their features

TELL1 - OPG Control13 OPG Control panels OPG control constists of a set of five panels created in the PVSS environment They are used for configuration and control of the board They show dynamically updated graphics, representing the feedback of the entered dataflow configuration Two of the panels are for OPG parameterization and visualization of the entered values (Fragment Definition, Package Visualization) Fragment definition panel

TELL1 - OPG Control14 OPG Control panels The graphics display is constantly updated when a change in the monitored parameters is detected This change might be due to user new entries or to hardware feedback Most of the monitored parameters are part of the board configuration Header visualization

TELL1 - OPG Control15 OPG Control panels Additional panel exists, in which is displayed the signal pattern file, currently used by the OPG board The signal pattern file could be modified through it The changes in this panel update the other visual information displays Configuration visualization

TELL1 - OPG Control16 OPG Control panels The “OPG Control” panel uses DIM server (DIM DNS node) connection for getting the available in the network OPG and TELL1 board names The user can identify the type of any of the boards, if it’s OPG or TELL1 The mechanism of the routine is based on a JTAG chain scan of the selected board The panel provides additional functionalities to be executed for the selected devices: – downloading/uploading of the FPGAs configuration information – monitoring of several dataflow parameters OPG Control panel

TELL1 - OPG Control17 DIM DIM is a communication mechanism running on several platforms PVSS-DIM toolkit is an add-on software, which allows the interface of PVSS to devices which do not provide any of the PVSS supported protocols The basic concept in the DIM approach is the concept of "service“ Usually all CCPCs (mounted on TELL1 or OPG), register as services to one of the provided DIM servers. Thus the information about their status and functionalities becomes available to the possible clients, interested in them

TELL1 - OPG Control18 Why GUI? Advantages: – simplifies the user-to-hardware communication – allows simultaneous monitoring of several devices or interconnected systems – makes possible distant system maintenance – possible comparison and cross-references – possibility for representing even complex architectures in an intuitive and “obvious” way – speeds up and makes easier the process of setting up the necessary input values – gives simultaneous feedback with the system response to new settings – reduces the time for getting used to the new hardware – increases usability

TELL1 - OPG Control19 PVSS challenges and design problems PVSS has some restrictions that make the realization of the GUI difficult and not very nice looking ActiveX functions –Microsoft technology vs. Linux –Unwanted slow-down due to real time graphics rendering Control scripts –PVSS custom programming language CTRL –Script functions’ imperfections –Limited function set –Limited variable types and use –DP oriented programming algorithms Some additional constraints arise from the DAQ electronics requirements and CERN software compatibility policy

TELL1 - OPG Control20 Conclusions The presented GUI for OPG boards control has shown to be a good approach for implementing the needed supervisory tools Although in the process of realization in the PVSS environment the initial idea went through several major transformations, due to many toolkit constraints – mainly on the visual part, the result is satisfying and meets the predefined goals. Most of the graphics have been elaborated with custom made scripts. Although this is slowing down the development process, it makes the GUI executable under both Windows and Linux environment. This is essential requirement for all CERN control systems.