PVSS an industrial tool for slow control

Slides:



Advertisements
Similar presentations
JCOP FW Update ALICE DCS Workshop 6 th and 7 th October, 2005 Fernando Varela Rodriguez, IT-CO Outline Organization Current status Future work.
Advertisements

PVSS and JCOP Framework Organization, Support & News Oliver Holme IT-CO.
The Detector Control System – FERO related issues
Experiment Control Systems at the LHC An Overview of the System Architecture An Overview of the System Architecture JCOP Framework Overview JCOP Framework.
André Augustinus ALICE Detector Control System  ALICE DCS is responsible for safe, stable and efficient operation of the experiment  Central monitoring.
1 ALICE Detector Control System (DCS) TDR 28 January 2004 L.Jirdén On behalf of ALICE Controls Coordination (ACC): A.Augustinus, P.Chochula, G. De Cataldo,
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.
Applying Distributed Systems concepts to SCADA By Padmanabha Kamath.
Clara Gaspar, November 2012 Experiment Control System LS1 Plans…
First attempt of ECS training Work in progress… A lot of material was borrowed! Thanks!
Robert Gomez-Reino on behalf of PH-CMD CERN group.
CERN - IT Department CH-1211 Genève 23 Switzerland t The High Performance Archiver for the LHC Experiments Manuel Gonzalez Berges CERN, Geneva.
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.
Towards a Detector Control System for the ATLAS Pixeldetector Susanne Kersten, University of Wuppertal Pixel2002, Carmel September 2002 Overview of the.
Summary DCS Workshop - L.Jirdén1 Summary of DCS Workshop 28/29 May 01 u Aim of workshop u Program u Summary of presentations u Conclusion.
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?
1. The Experiment CMS 2. Architecture, what is DCS in CMS? 3. Joint controls project 4. SCADA system (supervisory controls and data acquisition) 5. Framework.
SCADA. 3-Oct-15 Contents.. Introduction Hardware Architecture Software Architecture Functionality Conclusion References.
MDT PS DCS for ATLAS Eleni Mountricha
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.
Update on Database Issues Peter Chochula DCS Workshop, June 21, 2004 Colmar.
June 14, 2005 Alice DCS workshop, Utrecht S.Popescu Guidelines and conventions for ALICE PVSSII control software Graphical User Interface Naming and Numbering.
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.
André Augustinus 17 June 2002 Technology Overview What is out there to fulfil our requirements? (with thanks to Tarek)
PVSSProxy The first piece of the MACS procedure framework (ProShell) Angela Brett.
Wayne Salter, CERN The LHC Experiments’ Joint Controls Project Framework ALICE DCS Day 10 th September 2001.
ALICE, ATLAS, CMS & LHCb joint workshop on
20th September 2004ALICE DCS Meeting1 Overview FW News PVSS News PVSS Scaling Up News Front-end News Questions.
JCOP Review, March 2003 D.R.Myers, IT-CO1 JCOP Review 2003 Architecture.
André Augustinus 16 September 2002 PVSS & Framework How to get started.
Status of Farm Monitor and Control CERN, February 24, 2005 Gianluca Peco, INFN Bologna.
Controls EN-ICE FSM for dummies (…w/ all my respects) 15 th Jan 09.
Alice DCS workshop S.Popescu ISEG Crate controller + HV modules ISEG HV modules 12 Can bus PVSS OPC Client 1 Generic OPC Client Iseg OPC.
DCS overview - L.Jirdén1 ALICE ECS/DCS – project overview strategy and status L.Jirden u Organization u DCS system overview u Implementation.
Alarm Handling Oliver Holme 7 th November Guidelines & Strategies All provide recommendation to use Framework Classes Standard severities/behaviour/colours.
14 November 08ELACCO meeting1 Alice Detector Control System EST Fellow : Lionel Wallet, CERN Supervisor : Andre Augustinus, CERN Marie Curie Early Stage.
Clara Gaspar, April 2006 LHCb Experiment Control System Scope, Status & Worries.
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)
S.Sergeev (JINR). Tracker consists of  4 stations of 4 views (planes) each In total ~7200 drift tubes (~450 per view) To be controlled/monitored 
Maria del Carmen Barandela Pazos CERN CHEP 2-7 Sep 2007 Victoria LHCb Online Interface to the Conditions Database.
JCOP Framework and PVSS News ALICE DCS Workshop 14 th March, 2006 Piotr Golonka CERN IT/CO-BE Outline PVSS status Framework: Current status and future.
20OCT2009Calo Piquet Training Session - Xvc1 ECS Overview Piquet Training Session Cuvée 2009 Xavier Vilasis.
Clara Gaspar, May 2010 SMI++ A Tool for the Automation of large distributed control systems.
The Maraton LV system Michela Lenzi INFN Firenze Thanks to V. Bocci, P. Ciambrone, A. Sciubba LV Power Supply RCM AC/DC converter.
- My application works like a dream…does it. -No prob, MOON is here. F
SCADA Selection and Usage at CERN
Supervision Miniworkshop JCOP Workshop 2015
Online Control Program: a summary of recent discussions
ATLAS MDT HV – LV Detector Control System (DCS)
CMS – The Detector Control System
Controlling a large CPU farm using industrial tools
How SCADA Systems Work?.
CMS Operational Experience
JCOP Review Closeout March 13, 2003 Chip Watson, Robin Lauckner,
by Prasad Mane (05IT6012) School of Information Technology
The LHCb Run Control System
TPC Detector Control System
Philippe Vannerem CERN / EP ICALEPCS - Oct03
Experiment Control System
Pierluigi Paolucci & Giovanni Polese
Pierluigi Paolucci & Giovanni Polese
Tools for the Automation of large distributed control systems
B. Franek SMI++ Framework Knowledge Exchange seminar
Pierluigi Paolucci & Giovanni Polese
Presentation transcript:

PVSS an industrial tool for slow control SCADA What is PVSS Inside PVSS Data base structure Focus on main features JCOP framework Example Lhcb Cost for KM3 Conclusion 2009 feb 23-24 Km3net Paris Michel Ageron

Km3net Paris Michel Ageron What is SCADA ? SCADA (Supervisory Control and Data Acquisition) system 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. 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 2009 feb 23-24 Km3net Paris Michel Ageron

Km3net Paris Michel Ageron 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 Can monitor devices’ behaviour, initialize, configure and operate them PVSS can run in a distributed manner as one single system as various interconnected systems Has multi-platform support (Linux and Windows). 2009 feb 23-24 Km3net Paris Michel Ageron

Km3net Paris Michel Ageron Inside PVSS(1) 2009 feb 23-24 Km3net Paris Michel Ageron

Km3net Paris Michel Ageron Inside PVSS(2) The Event Manager (EVM) – Communications. Receives data from any Drivers (D) and stores it in the data base. The Data Base Manager (DBM) – Interface to the (run-time) data base. User Interface Managers (UIM) – Built in Graphical User Interfaces to monitor and control experiment. Ctrl Managers (Ctrl) – Data processing as “background” processes, by running a scripting language. This language is like “C” with extensions. API Managers (API) – External C++ access using a PVSS API Drivers (D) – Interface to the devices. PVSS provides drivers like Profibus, OPC, etc. DIM interface exists. 2009 feb 23-24 Km3net Paris Michel Ageron

Km3net Paris Michel Ageron Distribution A PVSS System is an application containing one DB Manager and one Event Manager and any number of Drivers, User Interfaces, etc. Managers can run across different machines this is called a PVSS Scattered System For very large applications, a PVSS Distributed System can be used. Add a Distribution Manager (Dist) to each system. Hundreds of systems can be connected in this way. 2009 feb 23-24 Km3net Paris Michel Ageron

Database Structure – The Datapoint Concept Data Point Type Device data in the PVSS DB (Oracle) is structured as, so called, DataPoints (DP) of a pre-defined DataPoint Type (DPT) A DPT describes the data structure of the device DPT structure is user definable, may be complex and hierarchical Example: DPT of a simple HV channel. set of read (readings) and write (settings) parameters, and associated display information May define archive, reading way, normalization, alarm handling 2009 feb 23-24 Km3net Paris Michel Ageron

Database Structure – The Datapoint Concept Data Point DPT -> data structure of the device DP -> instance of such a device. From 1 DPT, user can create lots of DPs in some clicks, internal DB structure is then created. Reading devices are time triggered or by a callback function when value changed Creation and modification of DPTs and DPs done using the Graphical Parametrization tool, or programmatically using ctrl scripts. Ex: DPE access Channel1.readings.vMon 2009 feb 23-24 Km3net Paris Michel Ageron

Building user interfaces With the Graphical Editor, design the static part of the GUI Example of GUI 2009 feb 23-24 Km3net Paris Michel Ageron

Using control scripts, Ctrl language PVSS Ctrl is the reference language of PVSS (C like) Ctrl scripts can be used in panels or as stand-alone processes Provides - the interface to the PVSS database - functions for datapoint manipulation, for graphics, for file acces, etc...   - a large library of functions giving access to all PVSS functionality 2009 feb 23-24 Km3net Paris Michel Ageron

Km3net Paris Michel Ageron Accessing devices - Through OPC: provided by manufacturer, complex to develop - Using DIM: We should have access to devices through ethernet DIM is a client/server protocol http://dim.web.cern.ch The server part will be written by the equipment expert (light: 20 Kb) Since DIM services can be structures, correspondence can be made between a DIM service and a full DP, graphically or by using control scripts. DIM DNS Subscribe Service Publish PVSS Client DP DIM server Service Get data Data 2009 feb 23-24 Km3net Paris Michel Ageron

Km3net Paris Michel Ageron FSM PVSS has a powerful scripting language “Ctrl” But no customised tools for FSM modelling abstract behaviour For automation and error recovery, SMI++ (an FSM language) was introduced Lower level devices are modelled using PVSS, and the higher level, logical devices, are modelled using SMI++ Used for alarm handling, initialize, configure 2009 feb 23-24 Km3net Paris Michel Ageron

Km3net Paris Michel Ageron Managing alerts Based on industrial standards: DIN 3699 and DIN 19235 Alerts thresholds are defined at low level (DPT alert_hdl) Alerts are centralized in a unique alert panel: Alert Event Screen Definition of alert classes allows to program the behaviour: - acknowledge, - mask 2009 feb 23-24 Km3net Paris Michel Ageron

Km3net Paris Michel Ageron The JCOP framework JCOP framework is an additionnal layer HEP oriented Developed for the 4 LHC experiments, contributions from the experiments and the CERN IT/CO group A set of guidelines and tools to reduce PVSS developers effort Includes templates, standard elements and functions to reduce the necessary knowledge OPC and DIM servers, visualization, plot tools CAEN and ISEG supplies, WIENER crates and Atlas ELMB completly integrated For us, everything is not needed but it seems necessary to use this package and collaborate 2009 feb 23-24 Km3net Paris Michel Ageron

Km3net Paris Michel Ageron An example: LHCB PVSS used for DCS, also for acquisition conf (HLT 50 machines) 150 machines: 100 Linux, 50 windows Manage 300 Ksensors -> 12 M DPEs (registers) Use of OPC and DIM for home made systems (2500 DIM servers) Manpower: 1 coord, 1 for DB, 1 per subdetector For KM3: More confortable, symetric subdetectors 15 sensors per floor: temp, humidity, pressure, LV, HV, ... 2000 floors -> 30 Ksensors -> 1.2 M DPEs 15 machines could be needed 1 person beginning 2009 feb 23-24 Km3net Paris Michel Ageron

Km3net Paris Michel Ageron What could be the cost ? Arrange with ETM for licensing Through CERN: - large project 61000 CHF - 3 to 10 PVSS servers, unlimited number of IOs, 15 clients, 3 to 10 Distribution managers, RDB manager, all standard drivers - use JCOP framework, have JCOP framework support - must participate KM3 is not yet a recognized CERN experiment, Antares is 2009 feb 23-24 Km3net Paris Michel Ageron

Km3net Paris Michel Ageron Conclusion Widely used in the industrial world, airports, metropolitan, the 4 LHC expertiments, etc... PVSS is able to cope with our needs: Scalability, no limit Device description (configuration database) Device access (DIM), read devices “when needed“ Logging, archiving, trending and possibly configuring User interface builder Alarm handling (generation, filtering, summarizing, masking) Normalize values Robustness: use of Redundancy Manager Interface to other systems (DAQ) Easy to use for operators 2009 feb 23-24 Km3net Paris Michel Ageron