MADOCA II data collection framework for SPring-8

Similar documents
Event-Synchronized Data Acquisition System of 5 Giga-bps Data Rate for User Experiment at the XFEL Facility, SACLA

A PROPOSAL FOR MODELING THE CONTROL SYSTEM FOR THE SPANISH LIGHT SOURCE IN UML

Instrumentation and Control System

DIAMOND Control System to the EPICS Meeting at San Jose Dec 2001

Experience of Developing BEPCII Control System. Jijiu ZHAO IHEP, Beijing ICALEPCS2007 October 18, 2007

Development of Beam Monitor DAQ system for 3NBT at J-PARC

Front-End Electronics Configuration System for CMS. Philippe Gras CERN - University of Karlsruhe

Porting VME-Based Optical-Link Remote I/O Module to a PLC Platform - an Approach to Maximize Cross-Platform Portability Using SoC

SESAME s Control System Status

Text for the class, Pump-Probe Technique for Picosecond Time-resolved X-ray Diffraction at Cheiron School

Vista Controls Vsystem * at the ISIS pulsed neutron facility Bob Mannix, Tim Gray ISIS Controls Group STFC, Rutherford Appleton Laboratory UK

Presented by Marco Lonza

Accelerator Control System

SOFTWARE SCENARIO FOR CONTROL SYSTEM OF INDUS-2

IMPROVEMENT OF SCREEN MONITOR WITH SUPPRESSION OF COHERENT-OTR FOR SACLA

Michael Böge, Jan Chrin

The Nuclotron and NICA Control System. Evgeny Gorbachev on behalf of team LHEP, JINR

Database application research in real-time data access of accelerator control system

Status of Control System. Hiroshi Kaji

STATUS OF THE BEPCII CONTROL SYSTEM

Text for the class, Pump and probe technique for picosecond time-resolved x-ray diffraction at the Cheiron School

ALS Online Log. November 2002 Alan K Biocca. ALS Controls Group Leader

Image Acquisition and Processing at the Swiss Light Source

DAQ system at SACLA and future plan for SPring-8-II

GEARMOTORS AF MOTORS FOR INVERTER C-1

TANGO. mature system strong collaboration co-development. lots of features embedded too

Application and Virus Detecting Firewall on the SPring-8 Experimental User Network

on-line LOCAL AREA NETWORKS (LAN) SERVERS DATA CENTERS internet centers (isp/asp/pop) industrial plcs industrial applications

STATUS OF THE SOLEIL CONTROL SYSTEM

CONTROL SYSTEM OF THE BOOSTER INJECTION POWER SUPPLY

EPICS: Experimental Physics and Industrial Control System. Control Architecture Reading Group

Schneider Electric Easy UPS 1 Ph Online

NEW CERN PROTON SYNCHROTRON BEAM OPTIMIZATION TOOL

Using COTS Hardware with EPICS Through LabVIEW A Status Report. EPICS Collaboration Meeting Fall 2011

FNPL control system: an overview

EPICS on RTEMS Spring 2017 EPICS Collaboration H. Junkes (Fritz-Haber-Institut)

The Use of LabVIEW FPGA in Accelerator Instrumentation.

The New Control System for the Future Low-Emittance Light Source PETRA 3 at DESY:

DOOCS: a Distributed Object Oriented Control System

TCNM-ACBB1 Installation Manual

Development and implementation of the treatment control system in Shanghai Proton Therapy Facility

Open Hardware Collaboration: A Way to Improve Efficiency for a Team

The Fermilab Control System. Jim Patrick Fermilab October 4, 2006

Programmable Switching DC Power Supply

Synrad3D Photon propagation and scattering simulation

LabVIEW Basics I: Introduction Course

Status of the CSNS Control System

APC Easy UPS 1 Ph Online

THE SUCCESS AND THE FUTURE OF EPICS

The coolest place on earth

Kiichi Kameda, Toshiki Natsui, Hidetoshi Shiratsu >Yokogawa

GA A22720 THE DIII D ECH MULTIPLE GYROTRON CONTROL SYSTEM

AUTOMATIC BEAM PROFILE MEASUREMENT FOR THE BEAM TRANSPORT LINE

DRTS 64. The new generation of advanced test equipment for Relays, Energy meters, Transducers and Power quality meters.

Pump-probe. probe optical laser systems at FLASH. S. Düsterer

Preliminary Design of a Real-Time Hardware Architecture for erhic

DRTS 33. The new generation of advanced three phase relay test set

Overview of TANGO Control system

BOOSTER RF UPGRADE FOR SPEAR3 *

APC Easy UPS 1 Ph Online

MODERN ACCELERATOR CONTROL SYSTEMS

CONTROL AND INTERLOCK SYSTEMS FOR THE LIGHT PROTOTYPE

NTSC TOA's Digital Video Recorder series combine high reliability with all the advantages of scalable expansion flexibility.

APC Easy UPS 1 Ph Online

Sing n l g e B o B a o rd d Co C m o pu p t u e t rs a nd n Ind n u d s u tr t ial P C C Ha H rdw d are a t t t h t e h CL C S

THE CANADIAN LIGHT SOURCE CONTROL SYSTEM: LESSONS LEARNED FROM BUILDING A SYNCHRATORON AND BEAMLINES CONTROL SYSTEM

Betatron Core Slow Extraction at CNAO

Please send your paper to Before November

FYS Data acquisition & control. Introduction. Spring 2018 Lecture #1. Reading: RWI (Real World Instrumentation) Chapter 1.

Applications of the IEEE-1394 CCD Camera for Beam Diagnostics in NSRRC

Eurotherm advanced controllers providing solutions for simple to demanding applications...

ZS 110. UPS 1, 2, 3, 6, 10kVA single/single phase. online LOCAL AREA NETWORKS (LAN) SERVERS DATA CENTERS

Embedded LLRF Controller with Channel Access on MicroTCA Backplane Interconnect

ni.com Integrating EPICS and LabVIEW

Datasheet. Release date: 14 th of September, 2017 Revision Number: 1.20

Instruction Manual, Alfa Laval Rotacheck Sensor and Relay

LabVIEW programming I

New Development of EPICS-based Data Acquisition System for Millimeter-wave Interferometer in KSTAR Tokamak

Hall D and IT. at Internal Review of IT in the 12 GeV Era. Mark M. Ito. May 20, Hall D. Hall D and IT. M. Ito. Introduction.

Automated Actuator Inspection Device

Global Collaboration on Accelerator Operations and Experiments

DRTS 33. The new generation of advanced test equipments for Relays, Energy meters, Transducers and Power quality meters

The CESAR Project using J2EE for Accelerator Controls

Standardization of automated industrial test equipment for mass production of control systems

NLC Global Controls Architecture

EPICS KEK. Introduction Part I. Takashi Nakamoto June 25th, Based on presentation by Ned Arnold, APS.

Data sheet CPU 115 (115-6BL02)

DatAlign IMPLEMENTATION OF THE NEW APS SURVEY AND ALIGNMENT DATABASE *

ONLINE SIMULATION FRAMEWORK THROUGH HTTP SERVICES

Tango for Experiment Control

DRTS 66 can test all the following relays

Insertion Device Alignment for the Diamond Light Source

AALib::Framework concepts

Measurement of the beam yz crabbing tilt due to wakefields using streak camera at CESR

LabVIEW programming I

Data sheet CC 03, Commander Compact (603-1CC21)

A Seamless Control System Upgrade

A Fast VME Data Acquisition System for Spill Analysis and Beam Loss Measurement

THE NEW GENERATION OF ADVANCED TEST EQUIPMENTS FOR RELAYS, ENERGY METERS, TRANSDUCERS AND POWER QUALITY METERS.

APC Easy UPS 1 Ph Online Extended Runtime Models

Transcription:

MADOCA II data collection framework for SPring-8 Takahiro Matsumoto, Yukito Furukawa, Yusuke Hamada Japan Synchrotron Radiation Research Institute (JASRI) 9 th October, 2017

Outline Introduction to SPring-8 and MADOCA MADOCA II data collections Implementation into SPring-8 Summary

Introduction to SPring-8 NewSUBARU Linac SACLA (XFEL) Booster synchrotron SPring-8 (Storage ring) Synchrotron radiation facility with 8 GeV electron beam in Hyogo, Japan Accelerator complex composed from linac, booster synchrotron, storage ring SACLA (XFEL), NewSUBARU in the same campus Originally developed control framework, MADOCA for distributed controls of accelerator and beamline since 1997 RIKEN

MADOCA control framework Message And Database Oriented Control Architecture Text message for distributed control (~500 hosts) Parameter management and data logging with RDBMS Operator Workstation Message command with S/V/O/C GUI <S>/get/sr_mag_ps_a/voltage * S is determined by framework SVOC command SVOC MADOCA protocol VME, MTCA.4 etc. SVOC SVOC EM (Equipment Manager) EM Devices Devices

MADOCA II New functions for flexibilities for messaging protocol Messaging with variable length data Various data format is serialized with Support multi-platform (UNIX, Embedded, Windows) Support interfaces for LabVIEW, Python, C++, C NoSQL DB for data logging (Redis/Cassandra) etc. Implemented into SPring-8, SACLA DAQ system since 2014 Ref. : T.Matsumoto et al., Next-generation MADOCA for SPring-8 control framework, Proc. of ICALEPCS 2013, p.944 T.Matsumoto et al., LabVIEW interface for MADOCA II with key-value in messages, Proc. of ICALEPCS 2015, p.669 T.Matsumoto et al., Multi-host message routing in MADOCA II, Proc. of ICALEPCS 2015, p.954 A. Yamashita et al., MADOCA II data logging system using NoSQL database, Proc. of ICALEPCS 2015, p.648

Data logging at SPring-8 Collected with signal name ex.) sr_mag_ps_a/voltage Scale of operation #hosts #signal Rate of collected events 500 30k 9k/sec Data collection for periodic * O/C from SVOC message command Data format : integer, float, status (bit information) Cycle : 1 s ~ 10 min. Applications: vacuum, temperature, voltage in magnet power supply etc. Collected with application, Poller/Collector

Data logging system at SPring-8 MADOCA Operator WS MADOCA II Database Server Operation commands Collector Client RDBMS [Parameter] VME, MTCA.4 etc. MADOCA protocol Poller Streamer Writer Writer Writer NoSQL DB [Data Logging] Devices Already reported Ref. : A. Yamashita et al., Proc. of ICALEPCS 2015, p.648 MADOCA Data streaming RDBMS access NoSQL access

Data logging at SPring-8 (2) Other types were added during 20 years operation Event triggered Synchronized data with beam injection timing at Linac 1~10 Hz Collected with dedicated framework Various data formats COD (Closed Orbit Distortion) for electron beam Structured data (2,000 points), 1 Hz Bunch current in storage ring Waveform (5,000 points), 0.05Hz etc. Collected with specific GUI Management became difficult due to different frameworks in these data collections

Data logging system at SPring-8 MADOCA MADOCA II Database Server Operator WS Operation commands Collector Client Linac sync. COD RDBMS [Parameter] MADOCA protocol Writer VME, MTCA.4 etc. Poller Streamer Writer Writer NoSQL DB [Data Logging] Devices Already reported Ref. : A. Yamashita et al., Proc. of ICALEPCS 2015, p.648 MADOCA Data streaming RDBMS access NoSQL access

MADOCA II data logging system MADOCA II Operator WS MADOCA II Database Server Operation commands GUI RDBMS [Parameter] VME, MTCA.4 etc. MADOCA II protocol Data collector Streamer Writer Writer Writer NoSQL DB [Data Logging] Devices Developed this time MADOCA II Data streaming RDBMS access NoSQL access

Developed MADOCA II data collection Unified management Periodical and event triggered type Data collection process can handle both Managed with unified DB table Various data format (Waveform etc.) Logged with serialized data by Provide various data collection methods Support data collection for multi-languages LabVIEW, Python etc. Facilitate signal registration into RDBMS Self-described data format 11

Data collection process

Developed MADOCA II data collection process Operator WS GUI MADOCA II protocol VME, MTCA.4 etc. Streamer Timing of data collection is generated in threads on processes DC (Event) DC (Poller1) DC (Poller2) DC : Data collection process Devices Threads to wait external event Threads with internal timer for periodical data collection Different collection period

Developed MADOCA II data collection process Operator WS GUI MADOCA II protocol VME, MTCA.4 etc. Operation commands Streamer Timing of data collection is generated in threads on processes DC (Event) DC (Poller1) DC (Poller2) DC : Data collection process Devices Threads to wait external event Threads with internal timer for periodical data collection Different collection period

Developed MADOCA II data collection process Operator WS GUI MADOCA II protocol VME, MTCA.4 etc. Operation commands Streamer Timing of data collection is generated in threads on processes DC (Event) DC (Poller1) DC (Poller2) DC : Data collection process Devices Threads to wait external event Threads with internal timer for periodical data collection Different collection period

Signal registration procedure

Signal registration into RDBMS At SPring-8, all the parameters in the data collections are managed with RDBMS host, equipment group data collection cycle, on/off setting, bit information for status alarm setting We need to prepare Signal Registration Table (SRT) However, time and cost were required Difficult to fix inconsistencies in SRT due to a lot of parameters Iterated communication process with DB manager Developed to facilitate the signal registration: Web interface for editing SRT Test data collection

Developed signal registration procedure Equipment Manager RDBMS [Parameter] DB Manager

Developed signal registration procedure Equipment Manager Web interface for editing Signal Registration Table (SRT) 1) Generate a template RDBMS [Parameter] * Built with Ruby on rails DB Manager

Developed signal registration procedure Equipment Manager 2) Edit SRT Inconsistencies are notified for easy correction Web interface for editing Signal Registration Table (SRT) 1) Generate a template RDBMS [Parameter] * Built with Ruby on rails DB Manager

Developed signal registration procedure Equipment Manager 2) Edit SRT Inconsistencies are notified for easy correction Web interface for editing Signal Registration Table (SRT) 1) Generate a template RDBMS [Parameter] * Built with Ruby on rails 3) Perform test data collection then update SRT if necessary Test system with Signal list from SRT, NoSQL DB for test DB Manager

Developed signal registration procedure Equipment Manager 2) Edit SRT Inconsistencies are notified for easy correction Web interface for editing Signal Registration Table (SRT) 1) Generate a template RDBMS [Parameter] * Built with Ruby on rails 3) Perform test data collection then update SRT if necessary 4) Notify to DB manager DB Manager

Developed signal registration procedure Equipment Manager 2) Edit SRT Inconsistencies are notified for easy correction Web interface for editing Signal Registration Table (SRT) 1) Generate a template RDBMS [Parameter] * Built with Ruby on rails 3) Perform test data collection then update SRT if necessary 4) Notify to DB manager DB Manager 5) Register SRT into RDBMS after consistency checks

Management of data collection

Management of data collections Operator WS VME1 Data collection Manager Data collector Devices VME2 VME3 RDBMS [Parameter] Message commands for operation, status monitoring MADOCA II protocol Data collector Devices Data collector Devices Data collector Functions of manager: Operation of data collection start, stop etc. Unit: group, host, application Monitor status of data collection Managed with MADOCA II messaging commands and parameters in RDBMS Flexible for the operation and fixing troubles

Developed manager GUI for MADOCA II data collection Operation with group unit Failure counts for each trouble are displayed with color cell Flexible to fix the trouble and understand the cause * Built with PyQt

Implementation into SPring-8 Started MADOCA II data collection since Apr. 2016 11 groups, 220 hosts and 277 processes Solaris x86, Linux, ARM/Linux, Windows Applied for periodical and event triggered data collections Temperature and humidity measurement at storage Ring Status at beamline PLC Monitoring with LabVIEW at NewSUBARU Beam position synchronized with beam injection timing at SSBT (Event) etc. Web interface for SRT is in test phase Excel file is used instead Stably operated for data collection Cassandra data logging became unstable few times for large signal data COD(Central Orbit Distortion for electron beam), 28 KB, 10 Hz Fixed by segmentation of row key table (1 day 1 minute, 1/1,440)

Summary Developed MADOCA II data collection framework To improve flexibility and reduce management cost in data collection at SPring-8 Features: Unified management in data collections Provide various data collection methods in the framework Facilitated signal registration procedure Web interface for editing SRT (Signal Registration Table) Test data collection Implemented into SPring-8 since Apr. 2016 Stably operated with 220 hosts Flexibly operated with data collection manager