Interfacing EPICS and MonALISA Peter Zumbruch Experiment control systems group GSI (KS/EE)

Slides:



Advertisements
Similar presentations
1 1999/Ph 514: Channel Access Concepts EPICS Channel Access Concepts Bob Dalesio LANL.
Advertisements

Slow Control LHCf Catania Meeting - July 04-06, 2009 Lorenzo Bonechi.
Fundamentals of Information Systems, Second Edition 1 Telecommunications, the Internet, Intranets, and Extranets Chapter 4.
Jeffrey Hill.  LANSCE Requirements – a Review  EPICS Paradigm Shift – a Review  Status – What is Implemented  What is an Abstract Data Type?  Benefits.
Linux IOC Operations at NSTX - An Overview P. Sichta 28Mar2005.
T-FLEX DOCs PLM, Document and Workflow Management.
1 Databases in ALICE L.Betev LCG Database Deployment and Persistency Workshop Geneva, October 17, 2005.
A U.S. Department of Energy Office of Science Laboratory Operated by The University of Chicago Argonne National Laboratory Office of Science U.S. Department.
8.
Copyright 2004 Monash University IMS5401 Web-based Systems Development Topic 2: Elements of the Web (g) Interactivity.
Lecturer: Sebastian Coope Ashton Building, Room G.18 COMP 201 web-page: Lecture.
9-12 Oct 2000PCaPAC 2000, DESY Hamburg Epics to TINE translator Matthias Clausen, DESY Hamburg Phil Duval, DESY Hamburg Zoltan Kakucs, DESY Hamburg.
Pete Owens MICE Controls & Monitoring Workshop 25th September 2006 MICE Control and Monitoring: General Architecture Subsystem Integration User Interface.
Brian Martlew 25 th Sept 2006 MICE Control & Monitoring Plan Brian Martlew.
Diagnostics and Controls K. Gajewski ESS Spoke RF Source Accelerator Internal Review.
Agenda Adaptation of existing open-source control systems from compact accelerators to large scale facilities.
Włodzimierz Funika, Filip Szura Automation of decision making for monitoring systems.
NETWORK CENTRIC COMPUTING (With included EMBEDDED SYSTEMS)
EPICS and EDM Overview 03 October 2008 Matt Boyes EPICS and EDM Overview Lecture 1 Matt Boyes.
DIRAC Web User Interface A.Casajus (Universitat de Barcelona) M.Sapunov (CPPM Marseille) On behalf of the LHCb DIRAC Team.
Berliner Elektronenspeicherringgesellschaft für Synchrotronstrahlung mbH (BESSY) Accelerator and Experiment Control and Monitor Systems Ralph Lange BESSY,
Version 4.0. Objectives Describe how networks impact our daily lives. Describe the role of data networking in the human network. Identify the key components.
Online Monitoring with MonALISA Dan Protopopescu Glasgow, UK Dan Protopopescu Glasgow, UK.
Imperial College Tracker Slow Control & Monitoring.
Automatic Regression Test Facility for Support Modules Jon Thompson, Diamond Light Source Vancouver, 1 May 2009.
SCADA. 3-Oct-15 Contents.. Introduction Hardware Architecture Software Architecture Functionality Conclusion References.
Requirements Review – July 21, Requirements for CMS Patricia McBride July 21, 2005.
A U.S. Department of Energy Office of Science Laboratory Operated by The University of Chicago Argonne National Laboratory Office of Science U.S. Department.
ANSTO E-Science workshop Romain Quilici University of Sydney CIMA CIMA Instrument Remote Control Instrument Remote Control Integration with GridSphere.
EPICS and Peter Zumbruch Experiment control systems group GSI (KS/EE)
ETRAX CRIS architecture and Xilinx FPGA Peter Zumbruch Experiment control systems group GSI (KS/EE)
IRMIS 2 Overview Andrew Johnson Computer Scientist, AES Controls.
GSI Embedded systems and Controls Peter Zumbruch Experiment control systems group GSI (KS/EE)
Introduction to EPICS (Ned Arnold, John Maclean).
BROOKHAVEN SCIENCE ASSOCIATES High level applications and EPICS control GUOBAO SHEN NSLS-II, Control Group May 4 th, 2009.
EPICS Direction to Support Large Projects and Incorporate New Technology Leo R. Dalesio 09/21/99.
A U.S. Department of Energy Office of Science Laboratory Operated by The University of Chicago Argonne National Laboratory Office of Science U.S. Department.
1/15 G. Manduchi EPICS Collaboration Meeting, Aix-en-Provence, Spring 2010 INTEGRATION OF EPICS AND MDSplus G. Manduchi, A. Luchetta, C. Taliercio, R.
GSI new developments and status Peter Zumbruch Experiment control systems group GSI (KS/EE)
MASAR Service Guobao Shen Photon Sciences Department Brookhaven National Laboratory EPICS Collaboration Workshop Oct 05, 2013.
FAIR Accelerator Controls Strategy
EEDEED Tuesday, May 18, VBA & Process Variables  System Overview  Setup (What installations are needed)  What are Process Variables and what.
GSI new developments and status Peter Zumbruch Experiment control systems group GSI (KS/EE)
1 1999/Ph 514: Flow of Control EPICS Flow of Control Marty Kraimer APS.
1. LabVIEW and EPICS Workshop EPICS Collaboration Meeting Fall 2011.
Controls & Monitoring Overview J. Leaver 03/06/2009.
August 2003 At A Glance The IRC is a platform independent, extensible, and adaptive framework that provides robust, interactive, and distributed control.
INFSO-RI Enabling Grids for E-sciencE ARDA Experiment Dashboard Ricardo Rocha (ARDA – CERN) on behalf of the Dashboard Team.
Connecting LabVIEW to EPICS network
Matthias Clausen, Jan Hatje, DESY CSS Overview – Alarm System and Management CSS Overview - GSI, 11 Februrary CSS Overview Alarm System and CSS.
SPI NIGHTLIES Alex Hodgkins. SPI nightlies  Build and test various software projects each night  Provide a nightlies summary page that displays all.
11 th February 2008Brian Martlew EPICS for MICE Status of the MICE slow control system Brian Martlew STFC, Daresbury Laboratory.
CEA DSM Irfu SIS LDISC 18/04/2012 Paul Lotrus 1 Control Command Overview GBAR Collaboration Meeting Paul Lotrus CEA/DSM/Irfu/SIS.
1 Channel Access Concepts – IHEP EPICS Training – K.F – Aug EPICS Channel Access Concepts Kazuro Furukawa, KEK (Bob Dalesio, LANL)
1 EPICS Flow of Control: EPICS Workshop at IHEP, Beijing, August 2001 EPICS Flow of Control Marty Kraimer APS.
Matthias Clausen, DESY EPICS Training – Client Tools/ CSS EPICS collaboration meeting EPICS Training Client Tools EPICS collaboration meeting 2008.
03/09/2007http://pcalimonitor.cern.ch/1 Monitoring in ALICE Costin Grigoras 03/09/2007 WLCG Meeting, CHEP.
Control System Considerations for ADS EuCARD-2/MAX Accelerators for Accelerator Driven Systems Workshop, CERN, March 20-21, 2014 Klemen Žagar Robert Modic.
Mobile Analyzer A Distributed Computing Platform Juho Karppinen Helsinki Institute of Physics Technology Program May 23th, 2002 Mobile.
ICS WP3 – Software Core Components Suzanne Gysin Work Package Lead November 25, 2014.
January 2010 – GEO-ISC KickOff meeting Christian Gräf, AEI 10 m Prototype Team State-of-the-art digital control: Introducing LIGO CDS.
Wednesday NI Vision Sessions
Using COTS Hardware with EPICS Through LabVIEW – A Status Report EPICS Collaboration Meeting Fall 2011.
Presented by Li Gang Accelerator Control Group
PLM, Document and Workflow Management
California Institute of Technology
Laboratorio per dottorandi 2017 Particle Accelerators Control System
Wavestore Integrates… Paxton Net2 Access Control
Course: Module: Lesson # & Name Instructional Material 1 of 32 Lesson Delivery Mode: Lesson Duration: Document Name: 1. Professional Diploma in ERP Systems.
Channel Access Concepts
Presentation transcript:

Interfacing EPICS and MonALISA Peter Zumbruch Experiment control systems group GSI (KS/EE)

March 3, 2008Interfacing EPICS and MonALISA - Peter Zumbruch, GSI 2 Overview What is EPICS? What is MonALISA Interfacing EPICS and MonALISA Summary

March 3, 2008Interfacing EPICS and MonALISA - Peter Zumbruch, GSI 3 For EPICS, client and server speak of their Channel Access role i.e. Channel Access Client & Channel Access Server Client Server CA A Control System Architecture Network-based “client/server” model (hence the EPICS logo) What is EPICS? (Getting Started with EPICS: Introductory Session I) Network

March 3, 2008Interfacing EPICS and MonALISA - Peter Zumbruch, GSI 4 What is EPICS? …short answer: EPICS: Experimental Physics and Industrial Control System …a bit more elaborate: EPICS is a set of Open Source software tools, libraries and applications developed collaboratively and used worldwide to create distributed soft real-time control systems for scientific instruments such as particle accelerators, telescopes and other large scientific experiments. (From the EPICS Home Page: Home Page …striking - is three things at once: A collaboration of major scientific laboratories and industry ( > 100) A world wide collaboration that shares designs, software tools and expertise for implementing large-scale control systems An architecture for building scalable control systems A client/server model with an efficient communication protocol (Channel Access) for passing data The entire set of Process Variables establish a Distributed Real-time Database of machine status, information and control parameters A Software Toolkit of Open Source code and documentation A collection of software tools collaboratively developed which can be integrated to provide a comprehensive and scalable control system

March 3, 2008Interfacing EPICS and MonALISA - Peter Zumbruch, GSI 5 Ten really neat things about EPICS (Getting Started with EPICS: Introductory Session I) It’s free It’s Open Source There are lots of users All a client needs to know to access data is a PV name You can pick the best tools out there … … or build your own The boring stuff is already done There is a lot of expertise available close by A good contribution becomes internationally known By following a few simple rules, you get a lot for free

March 3, 2008Interfacing EPICS and MonALISA - Peter Zumbruch, GSI 6 EPICS and FAIR/ GSI Experiments showing interest or more in usage of EPICS NuSTAR CBM (Embedded controls) FRS (HV controls HADES – running complete experiment control system PANDA

March 3, 2008Interfacing EPICS and MonALISA - Peter Zumbruch, GSI 7 MonALISA Is a distributed service able to: collect any type of information from different systems analyze this information in real time take automated decisions and perform actions based on it optimize work flows in complex environments Read more at from: Online Monitoring with MonALISA – D.Protopopescu – Dubna 2007Online Monitoring with MonALISA – D.Protopopescu – Dubna 2007 “MONitoring Agents using a Large Integrated Services Architecture“

March 3, 2008Interfacing EPICS and MonALISA - Peter Zumbruch, GSI 8 Uses  Monitoring distributed computing, i.e. GRIDs  Optimizing flow in complex system (VRVS, optics cable networks)  ALICE also uses ML for monitoring online reconstruction  Some benchmark figures for the service:  ~ 800k monitored parameters at 50k updates/second  > 10k running (alien) jobs monitored simultaneously  > 100 WAN links from: Online Monitoring with MonALISA – D.Protopopescu – Dubna 2007Online Monitoring with MonALISA – D.Protopopescu – Dubna 2007

March 3, 2008Interfacing EPICS and MonALISA - Peter Zumbruch, GSI 9 Advantages MonALISA is simple to install, configure and use ApMon APIs are available in C, C++, Java, Python and Perl ROOT plugin allows macros to send data directly to MonaLISA Can easily interface with (or sit on top of) any existing or future slow controls subsystem (epics, pvss) Data is stored in a standard PgSQL (or MySQL) database that can be accessed by other applications, independently of ML Automatic data summarizing Several data repositories (and hence DBs) can exist (local and remote) Easy access via WebService (WS) from service and/or repository Fully supported by development team; work is being done in this direction from: Online Monitoring with MonALISA – D.Protopopescu – Dubna 2007Online Monitoring with MonALISA – D.Protopopescu – Dubna 2007

March 3, 2008Interfacing EPICS and MonALISA - Peter Zumbruch, GSI 10 Capabilities Based on monitored information, actions can be taken in:  ML Service  ML Repository Actions can be triggered by:  Values above/below given thresholds  Absence/presence of values  Correlations between several values Possible actions types:  External command  Plain event logging  Annotation of repository charts; RSS feeds   Instant messaging from: Online Monitoring with MonALISA – D.Protopopescu – Dubna 2007Online Monitoring with MonALISA – D.Protopopescu – Dubna 2007

March 3, 2008Interfacing EPICS and MonALISA - Peter Zumbruch, GSI 11 Interfacing First approach: –Perl Script Using ApMon module of MonALISA Calling caget / camonitor / caput commands of EPICS Later, with help of POE module (process on event) change on event could be implemented

March 3, 2008Interfacing EPICS and MonALISA - Peter Zumbruch, GSI 12 lxi003: MLD start lxdv18: EPICS IOC Setup Service Proxies Repository CERN GSI GLASGOW GSI Channel Access event_pub.pl using caget/camonitor/caput ApMon

March 3, 2008Interfacing EPICS and MonALISA - Peter Zumbruch, GSI 13 Screen shots (1)

March 3, 2008Interfacing EPICS and MonALISA - Peter Zumbruch, GSI 14 Screen shots (2)

March 3, 2008Interfacing EPICS and MonALISA - Peter Zumbruch, GSI 15 In future … Next approach: –Implement MonALISA‘s API.c/c++ Create EPICS Device Support Module for MonALISA Maybe simpler “sub routine record“ approach

March 3, 2008Interfacing EPICS and MonALISA - Peter Zumbruch, GSI 16 Summary Thanks to –Dan –Costin –Catalin –Kevin at the 1st DCS Roundtable in Glasgow EPICS Process Variables can be read and manipulated by MonALISA The reverse mechanism is not foreseen Performance test not yet done.

March 3, 2008Interfacing EPICS and MonALISA - Peter Zumbruch, GSI 17 Thank you for your attention. For more information … Have a look at the extra slides.

March 3, 2008Interfacing EPICS and MonALISA - Peter Zumbruch, GSI 18 Extra slides

March 3, 2008Interfacing EPICS and MonALISA - Peter Zumbruch, GSI 19 Vocabulary (Getting Started with EPICS: Introductory Session I) EPICS –Experimental Physics and Industrial Control System Channel Access –The communication protocol used by EPICS Process Variable –A piece of named data referred to by its PV name –The primary object of the Channel Access Protocol Channel –A synonym for Process Variable Channel Access Server –Software that provides access to a Process Variable using the Channel Access Protocol Channel Access Client –Software that requests access to a Process Variable using the Channel Access Protocol

March 3, 2008Interfacing EPICS and MonALISA - Peter Zumbruch, GSI 20 Vocabulary (Getting Started with EPICS: Introductory Session I) IOC – Input Output Controller –A computer running iocCore, a set of EPICS routines used to define process variables and implement real-time control algorithms – iocCore uses database records to define process variables and their behavior Soft IOC –An instance of iocCore running as a process on a “non-dedicated” computer (i.e. a computer that is performing other functions as well) Record –The mechanism by which a Process Variable is defined in an IOC (using iocCore ) –Dozens of record types exist, each with it’s own attributes and processing routine that describe its functionality

March 3, 2008Interfacing EPICS and MonALISA - Peter Zumbruch, GSI 21 What is EPICS? Process Variable –A Process Variable is a named piece of data with a set of attributes –Examples of Attributes: Alarm Severity (e.g. NO_ALARM, MINOR, MAJOR, INVALID) Alarm Status (e.g. LOW, HI, LOLO, HIHI, READ_error) Timestamp Number of elements (array) Normal Operating Range Control Limits Engineering Unit Designation (e.g. degrees, mm, MW)

March 3, 2008Interfacing EPICS and MonALISA - Peter Zumbruch, GSI 22 How does it do it? (Getting Started with EPICS: Introductory Session I) Power Supply Beam Position Monitor Vacuum Gauge Computer Interface Process Variables: Channel Access Server S1A:H1:CurrentAO S1:P1:x S1:P1:y S1:G1:vacuum Channel Access Client

March 3, 2008Interfacing EPICS and MonALISA - Peter Zumbruch, GSI 23 Where does it do it? (Getting Started with EPICS: Introductory Session I) Power Supply Beam Position Monitor Vacuum Gauge Computer Interface Process Variables: Channel Access Server S1A:H1:CurrentAO S1:P1:x S1:P1:y S1:G1:vacuum iocCore Channel Access Client Remote Control & Monitoring Access SecurityAlarm Detection Data Trending/Archiving Automatic Sequencing Alarm Logging/Reporting Data Conversion/Filtering Closed-loop Control Operational Constraints Data Trending/Archiving Modeling/ Simulation/Analysis Automatic Sequencing Configuration Control

March 3, 2008Interfacing EPICS and MonALISA - Peter Zumbruch, GSI 24 Channel Access in One Slide (Getting Started with EPICS: Introductory Session I) CA Server CA Client Process Variables: Channel Access Server S1A:H1:CurrentAO S1:P1:x S1:P1:y S1:G1:vacuum Channel Access Client Who has a PV named “S1A:H1:CurrentAO”? I do. What is its value? 25.5 AMPS Change its value to 30.5 “connection request” or “search request” OK, it is now is too high. It is now set to the maximum value of You are not authorized to change this value Notify me when the value changes It is now 20.5 AMPS It is now 10.5 AMPS It is now AMPS “put” or “caPut” “get” or “caGet” “set a monitor” “post an event” or “post a monitor” “put complete” or

March 3, 2008Interfacing EPICS and MonALISA - Peter Zumbruch, GSI 25 What is EPICS? (Getting Started with EPICS: Introductory Session I) Channel Access clients are programs that require access to Process Variables to carry out their purpose The “service” that a Channel Access server provides is access to a Process Variable* StripToolMEDM Process Variables Process Variables CAS CAC * A Process Variable (PV) is a named piece of data.

March 3, 2008Interfacing EPICS and MonALISA - Peter Zumbruch, GSI 26 What is EPICS? (Getting Started with EPICS: Introductory Session I) Any tool/program/application that abides by the Channel Access protocol could be described as “EPICS Compliant”. My Accelerator Simulator Code (PVs) CAS My Special Data Collection Program CAC EPICS can be viewed as a “toolkit” of EPICS compliant programs. One can select the appropriate tool for their need or develop their own. StripToolMEDM CAC iocCore (PVs) LabView (PVs) CASCACCASCAC

March 3, 2008Interfacing EPICS and MonALISA - Peter Zumbruch, GSI 27 Displays and Controls (1-3) Examples from HADES

March 3, 2008Interfacing EPICS and MonALISA - Peter Zumbruch, GSI 28 RTEMS Typical Realizations of an EPICS System (Getting Started with EPICS: Introductory Session I) IOC CAS With Release 3.14, the operating system limitations for iocCore have been removed. Commercial Instruments Custom Chassis/Panels Technical Equipment

March 3, 2008Interfacing EPICS and MonALISA - Peter Zumbruch, GSI 29 So What Does it Do? EPICS tools are available to accomplish almost any typical Distributed Control System (DCS) functionality, such as: –Remote Control & Monitoring of Technical Equipment –Data Conversion/Filtering –Access Security –Equipment Operation Constraints –Alarm Detection/Reporting/Logging –Data Trending/Archiving/Retrieval/Plotting –Automatic Sequencing –Mode & Facility Configuration Control (save/restore) –Modeling/Simulation –Data Acquisition –Data Analysis