Alarm notifications for the PANDA Detector Control System Tobias - - PowerPoint PPT Presentation

alarm notifications for the panda detector control system
SMART_READER_LITE
LIVE PREVIEW

Alarm notifications for the PANDA Detector Control System Tobias - - PowerPoint PPT Presentation

Introduction PANDA DCS Alarm system Summary Alarm notifications for the PANDA Detector Control System Tobias Triffterer Experimentelle Hadronenphysik Ruhr-Universitt Bochum EMC workshop 24 th + 25 th November 2014 Tobias Triffterer (RUB


slide-1
SLIDE 1

Introduction PANDA DCS Alarm system Summary

Alarm notifications for the PANDA Detector Control System

Tobias Triffterer

Experimentelle Hadronenphysik Ruhr-Universität Bochum

EMC workshop 24th + 25th November 2014

Tobias Triffterer (RUB EP1) DCS Alarm Notifications 1 / 12

slide-2
SLIDE 2

Introduction PANDA DCS Alarm system Summary

PANDA Detector Control System

Based on:

EPICS (Experimental Physics and Industrial Control System) CSS (Control System Studio)

Monitors and controls power supplies, chillers, crates, valves and a lot more Modular layout Add custom applications for specific tasks Communication with base system via well-defined interfaces

Tobias Triffterer (RUB EP1) DCS Alarm Notifications 2 / 12

slide-3
SLIDE 3

Introduction PANDA DCS Alarm system Summary

Architectural Overview

Divided in layers EPICS is central linchpin EPICS Channel Access main communication protocol

Supervisory Layer (SL)

CSS BOY (OPI) CSS BEAUTY (Archiver) CSS BEAST (Alarm Server) EP1 alarm/current regulation

Control Layer (CL)

EPICS on PC1 EPICS on RasPi 1 EPICS on RasPi 2

Field Layer (FL)

Julabo chillers iseg HV THMP Light pulser Voetsch climate chamber

RS232 CAN CAN Channel Access

Tobias Triffterer (RUB EP1) DCS Alarm Notifications 3 / 12

slide-4
SLIDE 4

Introduction PANDA DCS Alarm system Summary

EPICS Alarm Handling

Upper and lower boundaries for each numeric value Violation changes status of parameter No notification or action possible with EPICS alone

VAL HIGH LOW HIHI LOLO

Tobias Triffterer (RUB EP1) DCS Alarm Notifications 4 / 12

slide-5
SLIDE 5

Introduction PANDA DCS Alarm system Summary

BEAST: CSS Alarm Server

Stand-alone application (not connected to CSS GUI) Based on Java and Eclipse Rich Client Platform (RCP) Subscribes to all EPICS process variables in its database Notifies its clients when alarm status changes User interface integrated into CSS GUI

Convenient display of detector (alarm) status Acknowledge alarms if problem is taken care of

Communication to clients via Java Message Service (JMS) Message broker for JMS (e.g. Apache ActiveMQ) required Native client libraries for many programming languages available (inter alia C, C++, Java, Perl, .net) = ⇒ Write your own clients for specific tasks

Tobias Triffterer (RUB EP1) DCS Alarm Notifications 5 / 12

slide-6
SLIDE 6

Introduction PANDA DCS Alarm system Summary

Usage Scenario

Design focus not on future PANDA control room, but

Daily work with the prototype Test beam setups

Problem with daily work: No "shift crew" Long running experiments (e.g. cosmic runs) Lot of time wasted when devices (e.g. power supplies) fail unnoticed Focus on prototype does not rule out re-use of components in final PANDA control room

Tobias Triffterer (RUB EP1) DCS Alarm Notifications 6 / 12

slide-7
SLIDE 7

Introduction PANDA DCS Alarm system Summary

Design Considerations

Main principle: Draw attention to the problem Include the possibility that nobody is at the institute (e.g. nights, weekends) = ⇒ "Three-strikes system"

1

Laboratory notifications

2

Desktop notifications

3

E-mail notifications

Tobias Triffterer (RUB EP1) DCS Alarm Notifications 7 / 12

slide-8
SLIDE 8

Introduction PANDA DCS Alarm system Summary

Laboratory Notifications

Red flash light on top of the rack Started within seconds after an alarm fired Notify staff in the lab (may have caused the alarm)

Tobias Triffterer (RUB EP1) DCS Alarm Notifications 8 / 12

slide-9
SLIDE 9

Introduction PANDA DCS Alarm system Summary

Desktop Notifications

Small C++/Qt-based application running on office PCs No dependency on Eclipse RCP or CSS Communication with alarm server via network (JMS) Displays notification when alarm occurs Configurable delay, typically several minutes Beamtime version: Opto-acoustic alarm by playing a video in a frame-less window (cannot be "clicked away")

Tobias Triffterer (RUB EP1) DCS Alarm Notifications 9 / 12

slide-10
SLIDE 10

Introduction PANDA DCS Alarm system Summary

E-mail Notifications

E-mail to internal mailing list Everyone is informed, even if not at the institute Delay also configurable, current value at EP1: 10 minutes E-mail lists names of all the PVs that currently show a problem Acknowledged alarms are ignored Internal spam protection: Every alarm reported only once

Tobias Triffterer (RUB EP1) DCS Alarm Notifications 10 / 12

slide-11
SLIDE 11

Introduction PANDA DCS Alarm system Summary

Summary

EPICS- and CSS-based alarm notification system for day to day work with PANDA prototypes System installed in Bochum since July 2014 = ⇒ It works! Alarm daemon and desktop applet have modular design Dependencies only on C++, Qt and ActiveMQ for C++ Software available to other PANDA groups If you need something like this, write me an e-mail: tobias@ep1.ruhr-uni-bochum.de

Tobias Triffterer (RUB EP1) DCS Alarm Notifications 11 / 12

slide-12
SLIDE 12

Introduction PANDA DCS Alarm system Summary

The End

Thank you for your attention!

Tobias Triffterer (RUB EP1) DCS Alarm Notifications 12 / 12