Software Technology Evolution
Paper Title Page
MOBPP01 PLCverif Re-engineered: An Open Platform for the Formal Analysis of PLC Programs 21
 
  • E. Blanco Viñuela, D. Darvas
    CERN, Geneva, Switzerland
  • V. Molnár
    BUTE, Budapest, Hungary
 
  Programmable Logic Controllers (PLC) are widely used for industrial automation in industry and at CERN. The reliability of PLC software is crucial, but typically only testing is used to validate it. Our work targets the use of formal verification in practical ways for many years, which showed that it can be beneficial and practically applicable to various PLC programs. In this paper, we present PLCverif, our platform for formal analysis of PLC programs which has largely enhanced the quality of the deployed PLC software. By re-engineering the previous internal prototype tool, we built PLCverif to be an open, extensible platform that can be used not only for CERN’s specific PLC programs. PLCverif is licensed under an open source license, allowing the interested parties to use and extend it.  
slides icon Slides MOBPP01 [5.586 MB]  
DOI • reference for this paper ※ https://doi.org/10.18429/JACoW-ICALEPCS2019-MOBPP01  
About • paper received ※ 27 September 2019       paper accepted ※ 09 October 2019       issue date ※ 30 August 2020  
Export • reference for this paper using ※ BibTeX, ※ LaTeX, ※ Text/Word, ※ RIS, ※ EndNote (xml)  
 
MOBPP02 Designing a Control System for Large Experimental Devices Using Web Technology 28
 
  • W. Zheng, N. Fu, S. Li, Y. Wang, F.Y. Wu, M. Zhang
    Huazhong University of Science and Technology, State Key Laboratory of Advanced Electromagnetic Engineering and Technology,, Hubei, People’s Republic of China
 
  EPICS is mature in accelerator community. However, there are endeavors to improve existing control system software like Tango and EPICS 7 mainly driven by the needs of flexibility of the control system and the development of computer technology. This paper presents a new way of building a large experimental device control system using web technology instead of EPICS toolkit. The goal is to improve the interoperability of the control system allowing different component in the control system to talk to each other effortlessly. An abstraction of the control system is made. The control system components are abstracted into resources. The accessing of the resources is done via standard HTTP RESTful web API. HMI is based on HTML and JavaScript in browsers. Web Socket is used for event distribution. The main feature of this design is that all interfaces in the system are based on open web standards, which are interoperable among almost all kinds of devices. The paper also presents a software toolkit to build this kind of control system. A control system for a diagnostic on J-TEXT tokamak built using this toolkit will be presented.  
slides icon Slides MOBPP02 [45.437 MB]  
DOI • reference for this paper ※ https://doi.org/10.18429/JACoW-ICALEPCS2019-MOBPP02  
About • paper received ※ 26 September 2019       paper accepted ※ 08 October 2019       issue date ※ 30 August 2020  
Export • reference for this paper using ※ BibTeX, ※ LaTeX, ※ Text/Word, ※ RIS, ※ EndNote (xml)  
 
MOBPP03 Fault Tolerant, Scalable Middleware Services Based on Spring Boot, REST, H2 and Infinispan 33
 
  • W. Sliwinski, K. Kaczkowski, W. Zadlo
    CERN, Geneva, Switzerland
 
  Control systems require several, core services for work coordination and everyday operation. One such example is Directory Service, which is a central registry of all access points and their physical location in the network. Another example is Authentication Service, which verifies callers identity and issues a signed token, which represents the caller in the distributed communication. Both cases are real life examples of middleware services, which have to be always available and scalable. The paper discusses design decisions and technical background behind these two central services used at CERN. Both services were designed using latest technology standards, namely Spring Boot and REST. Moreover, they had to comply with demanding requirements for fault tolerance and scalability. Therefore, additional extensions were necessary, as distributed in-memory cache (using Apache Infinispan), or Oracle database local mirroring using H2 database. Additionally, the paper will explain the tradeoffs of different approaches providing high-availability features and lessons learnt from operational usage.  
slides icon Slides MOBPP03 [6.846 MB]  
DOI • reference for this paper ※ https://doi.org/10.18429/JACoW-ICALEPCS2019-MOBPP03  
About • paper received ※ 27 September 2019       paper accepted ※ 08 October 2019       issue date ※ 30 August 2020  
Export • reference for this paper using ※ BibTeX, ※ LaTeX, ※ Text/Word, ※ RIS, ※ EndNote (xml)  
 
MOBPP04 The ELT M1 Local Control Software: From Requirements to Implementation 38
 
  • L. Andolfato, J. Argomedo, C. Diaz Cano, R. Frahm, T.R. Grudzien, N. Kornweibel, D. Ribeiro Gomes dos Santos, J. Sagatowski
    ESO, Garching bei Muenchen, Germany
  • C.M. Silva
    CSW, Coimbra, Portugal
 
  This paper presents the ELT M1 Local Control Software. M1 is the 39 m primary mirror of the Extremely Large Telescope composed of 798 hexagonal segments. Each segment can be controlled in piston, tip, and tilt, and provides several types of sensor data, totaling 24000 I/O points. The control algorithm, used to dynamically maintain the alignment and the shape of the mirror, is based on three pipelined stages dedicated to collect the sensors’ measurements, compute new references, and apply them to the actuators. Each stage runs at 500 Hz and the network traffic produced by devices and servers is close to 1.2 million UDP packets/s. The reliability of this large number of devices is improved by the introduction of a failure detection isolation and recovery SW component. The paper summarizes the main SW requirements, presents the architecture based on a variation of the estimator/controller/adapter design pattern, and provides details on the implementation technologies, including the SW platform and the application framework. The lessons learned from deploying the SW on CPUs with different NUMA architectures and from the adoption of different testing strategies are also described.  
slides icon Slides MOBPP04 [5.071 MB]  
DOI • reference for this paper ※ https://doi.org/10.18429/JACoW-ICALEPCS2019-MOBPP04  
About • paper received ※ 20 September 2019       paper accepted ※ 09 October 2019       issue date ※ 30 August 2020  
Export • reference for this paper using ※ BibTeX, ※ LaTeX, ※ Text/Word, ※ RIS, ※ EndNote (xml)  
 
MOBPP05 Dynamic Control Systems: Advantages and Challenges 46
 
  • S. Rubio-Manrique, G. Cuní
    ALBA-CELLS Synchrotron, Cerdanyola del Vallès, Spain
 
  The evolution of Software Control Systems introduced the usage of dynamically typed languages, like Python or Ruby, that helped Accelerator scientists to develop their own control algorithms on top of the standard control system. This new high-level layer of scientist-developed code is prone to continuous change and no longer restricted to fixed types and data structures as low-level control systems used to be. This provides great advantages for scientists but also big challenges for the control engineers, that must integrate this dynamic developments into existing systems like user interfaces, archiving or alarms.  
slides icon Slides MOBPP05 [2.267 MB]  
DOI • reference for this paper ※ https://doi.org/10.18429/JACoW-ICALEPCS2019-MOBPP05  
About • paper received ※ 30 September 2019       paper accepted ※ 09 October 2019       issue date ※ 30 August 2020  
Export • reference for this paper using ※ BibTeX, ※ LaTeX, ※ Text/Word, ※ RIS, ※ EndNote (xml)  
 
MOBPP06 20 Years of World Class Telescope Control Systems Evolution 52
 
  • T.D. Gaggstatter, I. Arriagada, P.E. Gigoux, R. Rojas
    Gemini Observatory, Southern Operations Center, La Serena, Chile
  • J. Molgo
    GMTO Corporation, Pasadena, USA
  • F. Ramos
    Grantecan S.A., Center for Astrophysics in La Palma, Brena Baja, Spain
 
  This paper analyzes the evolution of control systems for astronomical telescopes. For this comparison we look through the lens of three world class telescopes: Gemini, GTC and GMT. The first two have been in operations for twenty and ten years respectively, whilst the latter is currently under construction. With a planned lifetime of 50+ years, obsolescence management is a common issue among these facilities. For the telescopes currently under operation, their real-time distributed control systems were engineered using state-of-the-art software and hardware available at the time of their design and construction. GMT and newer telescopes are no different in this regard, but are aiming to capitalize on the experiences of the previous generations so they can be better prepared to support their operations. We highlight the differences and common aspects of their software and hardware infrastructure (operating systems, middleware, user interfaces), the pros and cons of each choice and what has been done and what is being planned for obsolescence management.  
slides icon Slides MOBPP06 [6.029 MB]  
DOI • reference for this paper ※ https://doi.org/10.18429/JACoW-ICALEPCS2019-MOBPP06  
About • paper received ※ 30 September 2019       paper accepted ※ 09 October 2019       issue date ※ 30 August 2020  
Export • reference for this paper using ※ BibTeX, ※ LaTeX, ※ Text/Word, ※ RIS, ※ EndNote (xml)  
 
MOMPL007 The Design of Intelligent Integrated Control Software Framework of Facilities for Scientific Experiments 132
MOPHA087   use link to see paper's listing under its alternate paper code  
 
  • Z. Ni, L. Li, J. Liu, J. Luo, X. Zhou
    CAEP, Sichuan, People’s Republic of China
  • Y. Gao
    Stony Brook University, Stony Brook, New York, USA
 
  The control system of the scientific experimental facility requires heterogeneous control access, domain algorithm, sequence control, monitoring, log, alarm and archiving. We must extract common requirements such as monitoring, control, and data acquisition. Based on the Tango framework, we build typical device components, algorithms, sequence engines, graphical models and data models for scientific experimental facility control systems developed to meet common needs, and are named the Intelligent integrated Control Software Framework of Facilities for Scientific Experiments (iCOFFEE). As a development platform for integrated control system software, iCOFFEE provides a highly flexible architecture, standardized templates, basic functional components and services for control systems that increase flexibility, robustness, scalability and maintainability. This article focuses on the design of the framework, especially the monitoring configuration and control flow design.  
slides icon Slides MOMPL007 [2.143 MB]  
poster icon Poster MOMPL007 [2.445 MB]  
DOI • reference for this paper ※ https://doi.org/10.18429/JACoW-ICALEPCS2019-MOMPL007  
About • paper received ※ 30 September 2019       paper accepted ※ 10 October 2019       issue date ※ 30 August 2020  
Export • reference for this paper using ※ BibTeX, ※ LaTeX, ※ Text/Word, ※ RIS, ※ EndNote (xml)  
 
MOMPL010 Data Streaming With Apache Kafka for CERN Supervision, Control and Data Acquisition System for Radiation and Environmental Protection 147
MOPHA172   use link to see paper's listing under its alternate paper code  
 
  • A. Ledeul, A. Savulescu, G. Segura, B. Styczen
    CERN, Meyrin, Switzerland
 
  The CERN HSE - occupational Health & Safety and Environmental protection - Unit develops and operates REMUS - Radiation and Environmental Unified Supervision - , a Radiation and Environmental Supervision, Control and Data Acquisition system, covering CERN accelerators, experiments and their surrounding environment. REMUS is now making use of modern data streaming technologies in order to provide a secure, reliable, scalable and loosely coupled solution for streaming near real-time data in and out of the system. Integrating the open-source streaming platform Apache Kafka allows the system to stream near real-time data to Data Visualization Tools and Web Interfaces. It also permits full-duplex communication with external Control Systems and IIoT - Industrial Internet Of Things - devices, without compromising the security of the system and using a widely adopted technology. This paper describes the architecture of the system put in place, and the numerous applications it opens up for REMUS and Control Systems in general.  
poster icon Poster MOMPL010 [25.881 MB]  
DOI • reference for this paper ※ https://doi.org/10.18429/JACoW-ICALEPCS2019-MOMPL010  
About • paper received ※ 30 September 2019       paper accepted ※ 09 October 2019       issue date ※ 30 August 2020  
Export • reference for this paper using ※ BibTeX, ※ LaTeX, ※ Text/Word, ※ RIS, ※ EndNote (xml)  
 
MOPHA002 A Model-Driven Service-Oriented Wizard-Based Multi-Target Development Kit for Supervision Systems 187
 
  • C.F. Afonso, L. Casalegno, S. Foglio, S.G. Gioia, M. Necchi, M.G. Pullia, S. Toncelli
    CNAO Foundation, Pavia, Italy
  • C. Larizza
    Pavia University, Biomedical Informatics Lab "Mario Stefanelli", Pavia, Italy
 
  Funding: Horizon2020 Marie Skłodowska-Curie Grant Agreement No 675265
The Italian National Hadrontherapy Center (CNAO) is a particle treatment and research center equipped with a synchrotron accelerator. The configuration and support environment of CNAO’s control system, originally designed in 2003, is currently being upgraded to incorporate mobile devices. As part of the technological upgrade, a product line architecture has been designed with intent to define application scope, reusability of core assets, and specification of variation points. Implementation and compliance with the product line architecture aims at reducing application’s development time, improving reliability, and aiding medical certification procedures. However, definition and compliance with the architecture comes with considerable overhead development costs. In order to assist the development of new environment applications, a visual wizard has been developed to create customized base applications. This paper presents the challenges encountered and description of the product line architecture for the upgraded configuration and support environment. Alongside, we also describe the Wizard Generator, currently implemented applications, and planned application validation.
 
poster icon Poster MOPHA002 [2.250 MB]  
DOI • reference for this paper ※ https://doi.org/10.18429/JACoW-ICALEPCS2019-MOPHA002  
About • paper received ※ 16 September 2019       paper accepted ※ 02 October 2020       issue date ※ 30 August 2020  
Export • reference for this paper using ※ BibTeX, ※ LaTeX, ※ Text/Word, ※ RIS, ※ EndNote (xml)  
 
MOPHA003 Integrating Mobile Devices Into CNAO’s Control System, a Web Service Approach to Device Communication 192
 
  • C.F. Afonso, L. Casalegno, S. Foglio, S.G. Gioia, M. Necchi, S. Toncelli
    CNAO Foundation, Pavia, Italy
  • C. Larizza
    Pavia University, Biomedical Informatics Lab "Mario Stefanelli", Pavia, Italy
 
  Funding: Horizon2020 Marie Skłodowska-Curie Grant Agreement No 675265
The Italian National Hadrontherapy Center (CNAO) is a cancer treatment center employing a synchrotron to accelerate charged particle beams. The configuration and support environment of CNAO’s control system is responsible for managing the repository, configuring the control system, as well as performing non-real time support operations. Applications in this environment interface with the relational repository, remote file systems, as well as lower level control system components. As part of the technological upgrade of the configuration and support environment, CNAO plans to integrate mobile applications into the control system. In order to lay the groundwork for the new generation of applications, new communication interfaces had to be designed. To achieve this, a web services approach was taken, with the objective of standardizing access to these resources. In this paper we describe in detail the update of the communication channels. Additionally, several solutions to challenges encountered, such as access management, logging, and interoperability, are presented.
 
DOI • reference for this paper ※ https://doi.org/10.18429/JACoW-ICALEPCS2019-MOPHA003  
About • paper received ※ 20 September 2019       paper accepted ※ 08 October 2019       issue date ※ 30 August 2020  
Export • reference for this paper using ※ BibTeX, ※ LaTeX, ※ Text/Word, ※ RIS, ※ EndNote (xml)  
 
MOPHA014 Building and Packaging EPICS Modules With Conda 223
 
  • B. Bertrand, A. Harrisson
    ESS, Lund, Sweden
 
  Conda is an open source package, dependency and environment management system. It runs on Windows, macOS and Linux and can package and distribute software for any language (Python, R, Ruby, C/C++…). It allows one to build a software in a clean and repeatable way. EPICS is made of many different modules that need to be compiled together. Conda makes it easy to define and track dependencies between EPICS base and the different modules (and their versions). Anaconda’s new compilers allow conda to build binaries that can run on any modern linux distribution (x8664). Not relying on any specific OS packages removes issues that can arise when upgrading the OS. At ESS, conda packages are built using gitlab-ci and pushed to a local channel on our Artifactory server. Using conda makes it easy for the users to install the EPICS modules they want, where they want (locally on a machine, in a docker container for testing…). All dependencies and requirements are handled by conda. Conda environments make it possible to work on different versions on the same machine without any conflict.  
poster icon Poster MOPHA014 [0.847 MB]  
DOI • reference for this paper ※ https://doi.org/10.18429/JACoW-ICALEPCS2019-MOPHA014  
About • paper received ※ 27 September 2019       paper accepted ※ 08 October 2019       issue date ※ 30 August 2020  
Export • reference for this paper using ※ BibTeX, ※ LaTeX, ※ Text/Word, ※ RIS, ※ EndNote (xml)  
 
MOPHA015 Reverse Engineering the Amplifier Slab Tool at the National Ignition Facility 228
 
  • A. Bhasker, R.D. Clark, J.E. Dorham
    LLNL, Livermore, California, USA
 
  Funding: This work performed under the auspices of the U.S. Department of Energy by Lawrence Livermore National Laboratory under Contract DE-AC52-07NA27344
This paper discusses the challenges and steps required to convert a stand-alone legacy Microsoft Access-based application, in the absence of original requirements, to a web-based application with an Oracle backend and Oracle Application Express/JavaScript/JQuery frontend. The Amplifier Slab Selection (ASL) Tool provides a means to manage and track Amplifier Slabs on National Ignition Facility (NIF) beamlines. ASL generates simulations and parameter visualization charts of seated Amplifier Slabs as well as available replacement candidates to help optics designers make beamline configuration decisions. The migration process, undertaken by the NIF Shot Data Systems (SDS) team at Lawrence Livermore National Laboratory (LLNL), included reverse-engineering functional requirements due to evolving processes and changing NIF usage patterns.
 
poster icon Poster MOPHA015 [0.525 MB]  
DOI • reference for this paper ※ https://doi.org/10.18429/JACoW-ICALEPCS2019-MOPHA015  
About • paper received ※ 27 September 2019       paper accepted ※ 10 October 2019       issue date ※ 30 August 2020  
Export • reference for this paper using ※ BibTeX, ※ LaTeX, ※ Text/Word, ※ RIS, ※ EndNote (xml)  
 
MOPHA017 pyAT, Pytac and pythonSoftIoc: a Pure Python Virtual Accelerator 232
MOPHA016   use link to see paper's listing under its alternate paper code  
 
  • W.A.H. Rogers, T.J.R. Nicholls, A.A. Wilson
    DLS, Oxfordshire, United Kingdom
 
  Virtual accelerators are used for testing control system software against realistic accelerator simulations. Previous virtual accelerators for synchrotron light sources have used Tracy* ** and Elegant*** **** as the simulator, but without Python bindings for accelerator simulations it has been difficult to create a virtual accelerator using Python. With the development of Python Accelerator Toolbox (pyAT)*****, that is now possible. This paper describes the combination of pyAT, Python Toolkit for Accelerator Controls (Pytac) and pythonSoftIoc to create an EPICS-based virtual accelerator for Diamond Light Source.
*TRACY-2 Documentation
**The DLS Control System
***elegant: A Code for Accelerator Simulation
****A Virtual Accelerator in the Tango Control System
*****pyAT: Python Accelerator Toolbox
 
poster icon Poster MOPHA017 [1.006 MB]  
DOI • reference for this paper ※ https://doi.org/10.18429/JACoW-ICALEPCS2019-MOPHA017  
About • paper received ※ 30 September 2019       paper accepted ※ 08 October 2019       issue date ※ 30 August 2020  
Export • reference for this paper using ※ BibTeX, ※ LaTeX, ※ Text/Word, ※ RIS, ※ EndNote (xml)  
 
MOPHA040 Beam Position Feedback System Supported by Karabo at European XFEL 281
 
  • V. Bondar, M. Beg, M. Bergemann, S. Brockhauser, C. Carinan, R. Costa, F. Dall’Antonia, C. Danilevski, W. Ehsan, S.G. Esenov, R. Fabbri, H. Fangohr, G. Flucke, D. Fulla Marsa, A. Galler, G. Giovanetti, D. Goeries, J. Grünert, S. Hauf, D.G. Hickin, T. Jarosiewicz, E. Kamil, Y. Kirienko, A. Klimovskaia, T.A. Kluyver, D. Mamchyk, T. Michelat, I. Mohacsi, A. Parenti, D.B. Rück, H. Santos, R. Schaffer, A. Silenzi, C. Youngman, P. Zalden, J. Zhu
    EuXFEL, Schenefeld, Germany
  • S. Brockhauser
    BRC, Szeged, Hungary
  • H. Fangohr
    University of Southampton, Southampton, United Kingdom
 
  The XrayFeed device of Karabo [1, 2] is designed to provide spatial X-ray beam stability in terms of drift compensation utilizing different diagnostic components at the European XFEL (EuXFEL). Our feedback systems proved to be indispensable in cutting-edge pump-probe experiments at EuXFEL. The feedback mechanism is based on a closed loop PID control algorithm [3] to steer the beam position measured by a so-called diagnostic devices to the desired centered position via defined actuator adjusting the alignment of X-ray optical elements, in our case a flat X-ray mirror system. Several diagnostic devices and actuators can be selected according to the specific experimental area where a beam position feedback is needed. In this contribution, we analyze the improvement of pointing stability of X-rays using different diagnostic devices as an input source for our feedback system. Different types of photon diagnostic devices such as gas-based X-ray monitors [4], quadrant detectors based on avalanche photo diodes [5] and optical cameras imaging the X-ray footprint on scintillator screens have been evaluated in our pointing stability studies.  
poster icon Poster MOPHA040 [0.963 MB]  
DOI • reference for this paper ※ https://doi.org/10.18429/JACoW-ICALEPCS2019-MOPHA040  
About • paper received ※ 30 September 2019       paper accepted ※ 08 October 2019       issue date ※ 30 August 2020  
Export • reference for this paper using ※ BibTeX, ※ LaTeX, ※ Text/Word, ※ RIS, ※ EndNote (xml)  
 
MOPHA044 Development of Ethernet Based Real-Time Applications in Linux Using DPDK 297
 
  • G. Gaio, G. Scalamera
    Elettra-Sincrotrone Trieste S.C.p.A., Basovizza, Italy
 
  In the last decade Ethernet has become the most popular way to interface hardware devices and instruments to the control system. Lower cost per connection, reuse of existing network infrastructures, very high data rates, good noise rejection over long cables and finally an easier maintainability of the software in the long term are the main reasons of its success. In addition, the need of low latency systems of the High Frequency Trading community has boosted the development of new strategies, such as CPU isolation, to run real-time applications in plain Linux with a determinism of the order of microseconds. DPDK (Data Plane Development Kit), an open source software solution mainly sponsored by Intel, addresses the request of high determinism over Ethernet by bypassing the network stack of Linux and providing a more friendly framework to develop tasks which are even able to saturate a 100 Gbit connection. Benchmarks regarding the real-time performance and preliminary results of employing DPDK in the acquisition of beam position monitors for the fast orbit feedback of the Elettra storage ring will be presented.  
poster icon Poster MOPHA044 [2.626 MB]  
DOI • reference for this paper ※ https://doi.org/10.18429/JACoW-ICALEPCS2019-MOPHA044  
About • paper received ※ 29 September 2019       paper accepted ※ 08 October 2019       issue date ※ 30 August 2020  
Export • reference for this paper using ※ BibTeX, ※ LaTeX, ※ Text/Word, ※ RIS, ※ EndNote (xml)  
 
MOPHA045 A New Simulation Stucture to Improve Software Dependability in Collider-Accelerator Control Systems 301
 
  • Y. Gao, T.G. Robertazzi
    Stony Brook University, Stony Brook, New York, USA
  • K.A. Brown, J. Morris, R.H. Olsen
    BNL, Upton, New York, USA
 
  In this work, we propose a new simulation framework aiming to improve the robustness of the control system. It focuses on enhancing the reliability of controls ADO codes by running user-customized testing. The new simulation architecture has two independent parts; together they cover a large amount of ADOs frequently used by developers. The first part of the simulation framework focuses on testing ADOs with GPIB connections to devices. It consists of several function blocks and has a switch mechanism which enables users to conveniently turn on and off the simulation mode without changing the ADO codes. Moreover, it contains a special module which automates testing on ADO codes. Testing results are summarized and presented to users for codes analysis. The second part of the framework adopts a totally different structure. It simulates a different type of interface. Specifically, it focuses on testing ADOs with Ethernet connections to devices. It is based on a powerful networking engine called Twisted, which is an event-driven network programming framework developed by the Twisted Matrix Labs. The simulation framework can handle multiple types of devices at the same time.  
DOI • reference for this paper ※ https://doi.org/10.18429/JACoW-ICALEPCS2019-MOPHA045  
About • paper received ※ 27 September 2019       paper accepted ※ 10 October 2019       issue date ※ 30 August 2020  
Export • reference for this paper using ※ BibTeX, ※ LaTeX, ※ Text/Word, ※ RIS, ※ EndNote (xml)  
 
MOPHA047 CERN Secondary Beamlines Software Migration Project 312
 
  • A. Gerbershagen, D. Banerjee, J. Bernhard, M. Brugger, N. Charitonidis, L. Gatignon, E. Montbarbon, B. Rae, M.S. Rosenthal, M.W.U. Van Dijk
    CERN, Meyrin, Switzerland
  • G. D’Alessandro
    JAI, Egham, Surrey, United Kingdom
  • I. Peres
    Technion, Haifa, Israel
 
  The Experimental Areas group of the CERN Engineering department operates a number of beamlines for the fixed target experiments, irradiation facilities and test beams. The software currently used for the simulation of the beamline layout (BEATCH), beam optics (TRANSPORT), particle tracking (TURTLE) and muon halo calculation (HALO) has been developed in FORTRAN in the 1980s and requires an update in order to ensure long-term continuity. The ongoing Software Migration Project transfers the beamline description to a set of newer commonly used software codes, such as MADX, FLUKA, G4Beamline, BDSIM etc. This contribution summarizes the goals and the scope of the project. It discusses the implementation of the beamlines in the new codes, their integration into the CERN layout database and the interfaces to the software codes used by other CERN groups. This includes the CERN secondary beamlines control system CESAR, which is used for the readout of the beam diagnostics and control of the beam via setting of the magnets, collimators, filters etc. The proposed interface is designed to allow a comparison between the measured beam parameters and the ones calculated with beam optics software.  
poster icon Poster MOPHA047 [1.220 MB]  
DOI • reference for this paper ※ https://doi.org/10.18429/JACoW-ICALEPCS2019-MOPHA047  
About • paper received ※ 25 September 2019       paper accepted ※ 09 October 2019       issue date ※ 30 August 2020  
Export • reference for this paper using ※ BibTeX, ※ LaTeX, ※ Text/Word, ※ RIS, ※ EndNote (xml)  
 
MOPHA051 Towards Specification of Tango V10 331
 
  • P.P. Goryl, M. Liszcz
    S2Innovation, Kraków, Poland
  • A. Götz
    ESRF, Grenoble, France
  • V.H. Hardion
    MAX IV Laboratory, Lund University, Lund, Sweden
  • L. Pivetta
    Elettra-Sincrotrone Trieste S.C.p.A., Basovizza, Italy
 
  Funding: Tango Community
More than 40 laboratories use Tango Controls as a framework for their control systems. During its 18 years of existence, Tango Controls has evolved and matured. The latest 9.3.3 release is regarded as the most stable and feature-reach version of the framework. However, it makes use of already outdated CORBA technology which impacts all the stack, from the low-level transport protocol up to the client API and tools. The Tango Community decided to move forward and is preparing for so-called Tango Controls v10. Tango v10 is meant to be more a new implementation of the framework than a release of new features. The new implementation shall make the code easier to maintain and extend as well as remove legacy technologies. At the same time, it shall keep the Tango Controls objective philosophy and allows the new implementation to coexist with the old one at the same laboratory. The first step in the process is to provide a formal specification of current concepts and protocol. This specification will be base for the development and verification of new source code. Formal specification of Tango Controls and its purpose will be presented along with used tools and methodologies.
 
poster icon Poster MOPHA051 [1.931 MB]  
DOI • reference for this paper ※ https://doi.org/10.18429/JACoW-ICALEPCS2019-MOPHA051  
About • paper received ※ 30 September 2019       paper accepted ※ 19 October 2019       issue date ※ 30 August 2020  
Export • reference for this paper using ※ BibTeX, ※ LaTeX, ※ Text/Word, ※ RIS, ※ EndNote (xml)  
 
MOPHA058 Lua-Language-Based Data Acquisition Processing EPICS Subscription Filters 342
 
  • J.O. Hill
    LANL, Los Alamos, New Mexico, USA
 
  Funding: Work supported by US Department of Energy under contract DE-AC52-06NA25396.
A previous paper described an upgrade to EPICS enabling client side tools at LANSCE to receive subscription updates filtered selectively to match a logical configuration of LANSCE beam gates, as specified dynamically by control room application programs. This update paper will examine evolving enhancements enabling Lua-language based data acquisition processing subscription update filters, specified by snippets of Lua-language source-code embedded within the EPICS channel-name’s postfix. We will discuss the generalized utility of this approach across a wide range of data acquisition applications, projects, and platforms; the performance and robustness of our production implementation; and our operational experience with the software at LANSCE.
 
poster icon Poster MOPHA058 [0.881 MB]  
DOI • reference for this paper ※ https://doi.org/10.18429/JACoW-ICALEPCS2019-MOPHA058  
About • paper received ※ 01 October 2019       paper accepted ※ 19 October 2019       issue date ※ 30 August 2020  
Export • reference for this paper using ※ BibTeX, ※ LaTeX, ※ Text/Word, ※ RIS, ※ EndNote (xml)  
 
MOPHA098 A New Communication Interface for the European Southern Observatory (ESO)’s Very Large Telescope Technical Detector Control System Using Aravis, an Open-Source Library for GenICam Cameras 444
 
  • K.F. Mulholland
    OSL, St Ives, Cambridgeshire, United Kingdom
  • J. Knudstrup, F. Pellegrin
    ESO, Garching bei Muenchen, Germany
 
  The European Southern Observatory’s Very Large Telescope (VLT) provides support for high-performance industrial cameras with its Technical Detector Control System (TDCS). Until now, TDCS has used a communication interface based on an API from Allied Vision Technologies (AVT), which only supports cameras made by AVT. As part of the VLT 2019 release, a new communication interface has been developed for TDCS using Aravis, the open-source library for GenICam cameras. Aravis has been independently developed to provide support for cameras from any vendor, although this is not guaranteed. It reads the GenICam interface of a GigE Vision camera to enable control. It also has capabilities for USB3Vision cameras. With this new communication interface, support for other manufacturers is now possible. It has been tested with cameras from AVT and Basler, and further tests using a CameraLink camera with a GigE Vision adapter are planned. This paper will discuss the capabilities of Aravis, considerations in the design of the communication interface, and lessons learnt from the implementation.  
poster icon Poster MOPHA098 [0.452 MB]  
DOI • reference for this paper ※ https://doi.org/10.18429/JACoW-ICALEPCS2019-MOPHA098  
About • paper received ※ 30 September 2019       paper accepted ※ 09 October 2019       issue date ※ 30 August 2020  
Export • reference for this paper using ※ BibTeX, ※ LaTeX, ※ Text/Word, ※ RIS, ※ EndNote (xml)  
 
MOPHA100 quasar : The Full-Stack Solution for Creation of OPC-UA Middleware 453
 
  • P.P. Nikiel, P. Moschovakos, S. Schlenker
    CERN, Meyrin, Switzerland
 
  Quasar (Quick OPC-UA Server Generation Framework) enables efficient development of OPC-UA servers. The project evolved into a software ecosystem providing complete OPC-UA support for Detector Control Systems. OPC-UA servers can be modeled and generated and profit from tooling to aid development, deployment and maintenance. OPC-UA client libraries can be generated and published to users. Client-server chaining is supported. quasar was used to build OPC-UA servers for different computing platforms including server machines, credit-card computers as well as System-on-a-chip solutions. Quasar generated servers can be integrated as slave modules into other software projects written in higher-level programming languages (such as Python) to provide OPC-UA information exchange. quasar supports quick and efficient integration of OPC-UA servers into a control system based on the WinCC OA SCADA platform. The ecosystem can work with different OPC-UA stacks including 100% free and open-source ones. Thus it’s not restricted by licensing constraints. The contribution will present an overview and the evolution of the ecosystem along with example applications from ATLAS DCS and beyond.  
DOI • reference for this paper ※ https://doi.org/10.18429/JACoW-ICALEPCS2019-MOPHA100  
About • paper received ※ 30 September 2019       paper accepted ※ 10 October 2019       issue date ※ 30 August 2020  
Export • reference for this paper using ※ BibTeX, ※ LaTeX, ※ Text/Word, ※ RIS, ※ EndNote (xml)  
 
MOPHA109 Python Based Application for Beam Current Transformer Signal Analysis 473
MOPHA107   use link to see paper's listing under its alternate paper code  
 
  • M.C. Paniccia, D.M. Gassner, A. Marusic, A. Sukhanov
    BNL, Upton, New York, USA
 
  Funding: Work supported by Brookhaven Science Associates, LLC under Contract No. DE-SC0012704 with the U.S. Department of Energy.
There are a variety of beam current transformers that are used at all accelerator facilities for current and bunch charge measurements. Transformer signals are traditionally measured using integrator electronics followed by a digitizer. However, integrator circuits have a limited bandwidth and are susceptible to noise. By directly digitizing the output of the transformer, the signal bandwidth is limited only by the transformer characteristics and the digitizing platform. Digital integration and filtering can then easily be applied to reduce noise resulting in an overall improvement of the beam parameter measurements. This paper describes a Python-based application that performs the filtering and integration of a current transformer pulse that has been directly digitized by an oscilloscope.
 
DOI • reference for this paper ※ https://doi.org/10.18429/JACoW-ICALEPCS2019-MOPHA109  
About • paper received ※ 30 September 2019       paper accepted ※ 09 October 2019       issue date ※ 30 August 2020  
Export • reference for this paper using ※ BibTeX, ※ LaTeX, ※ Text/Word, ※ RIS, ※ EndNote (xml)  
 
MOPHA123 Vacuum Controls Configurator: A Web Based Configuration Tool for Large Scale Vacuum Control Systems 511
 
  • A.P. Rocha, I.A. Amador, S. Blanchard, J. Fraga, P. Gomes, C.V. Lima, G. Pigny, P. Poulopoulou
    CERN, Geneva, Switzerland
 
  The Vacuum Controls Configurator (vacCC) is an application developed at CERN for the management of large-scale vacuum control systems. The application was developed to facilitate the management of the configuration of the vacuum control system at CERN, the largest vacuum system in operation in the world, with over 15,000 vacuum devices spread over 128 km of vacuum chambers. It allows non-experts in software to easily integrate or modify vacuum devices within the control system via a web browser. It automatically generates configuration data that enables the communication between vacuum devices and the supervision system, the generation of SCADA synoptics, long and short term archiving, and the publishing of vacuum data to external systems. VacCC is a web application built for the cloud, dockerized, and based on a microservice architecture. In this paper, we unveil the application’s main aspects concerning its architecture, data flow, data validation, and generation of configuration for SCADA/PLC.  
poster icon Poster MOPHA123 [1.317 MB]  
DOI • reference for this paper ※ https://doi.org/10.18429/JACoW-ICALEPCS2019-MOPHA123  
About • paper received ※ 01 October 2019       paper accepted ※ 10 October 2019       issue date ※ 30 August 2020  
Export • reference for this paper using ※ BibTeX, ※ LaTeX, ※ Text/Word, ※ RIS, ※ EndNote (xml)  
 
MOPHA158 Compact Electronic Logbook System 611
 
  • L. Wang, M.T. Kang, X. Wu
    IHEP CSNS, Guangdong Province, People’s Republic of China
  • C.P. Chu, F.Q. Guo, Y.C. He, D.P. Jin, J. Liu, Y.L. Zhang, Z. Zhao, P. Zhu
    IHEP, Beijing, People’s Republic of China
 
  Compact Electronic Logbook System (Clog) is designed to record the events in an organized way during operation and maintenance of an accelerator facility. Clog supports functionalities such as log submission, attachment upload, easy to retrieve logged messages, RESTful API and so on, which aims to be compact enough for anyone to conveniently deploy it and anyone familiar with Java EE (Enterprise Edition) technology can easily customize the functionalities. After the development is completed, Clog can be used in accelerator facilities such as BEPC-II (Beijing Electron/Positron Collider Upgrade) and HEPS (High Energy Photon Source). This paper presents the design, implementation and development status of Clog.  
poster icon Poster MOPHA158 [1.035 MB]  
DOI • reference for this paper ※ https://doi.org/10.18429/JACoW-ICALEPCS2019-MOPHA158  
About • paper received ※ 29 September 2019       paper accepted ※ 10 October 2019       issue date ※ 30 August 2020  
Export • reference for this paper using ※ BibTeX, ※ LaTeX, ※ Text/Word, ※ RIS, ※ EndNote (xml)  
 
MOPHA167 Cloud Computing Platform for High-level Physics Applications Development 629
 
  • T. Zhang, D.G. Maxwell
    FRIB, East Lansing, Michigan, USA
 
  Funding: Work supported by the U.S. Department of Energy Office of Science under Cooperative Agreement DESC0000661
To facilitate software development for the high-level applications on the particle accelerator, we proposed and prototyped a computing platform, so-called ’phyapps-cloud’. Based on the technology stack composed by Python, JavaScript, Docker, and Web service, such a system could greatly decouple deployment and development. That is, the users (app developers) only need to focus on the feature development by working on the infrastructure that is served by ’phyapps-cloud’, while the cloud service provider (which develop and deploy ’phyapps-cloud’) could focus on the development of the infrastructure. In this contribution, the development details will be addressed, as well as the demonstration of a simple Python script development on this platform.
 
poster icon Poster MOPHA167 [1.442 MB]  
DOI • reference for this paper ※ https://doi.org/10.18429/JACoW-ICALEPCS2019-MOPHA167  
About • paper received ※ 30 September 2019       paper accepted ※ 10 October 2019       issue date ※ 30 August 2020  
Export • reference for this paper using ※ BibTeX, ※ LaTeX, ※ Text/Word, ※ RIS, ※ EndNote (xml)  
 
WECPR01 EPICS 7 Core Status Report 923
 
  • A.N. Johnson, G. Shen, S. Veseli
    ANL, Lemont, Illinois, USA
  • M.A. Davidsaver
    Osprey DCS LLC, Ocean City, USA
  • S.M. Hartman, K.-U. Kasemir
    ORNL, Oak Ridge, Tennessee, USA
  • H. Junkes
    FHI, Berlin, Germany
  • K.H. Kim
    SLAC, Menlo Park, California, USA
  • M.G. Konrad
    FRIB, East Lansing, Michigan, USA
  • T. Korhonen
    ESS, Lund, Sweden
  • M.R. Kraimer
    Private Address, Osseo, USA
  • R. Lange
    ITER Organization, St. Paul lez Durance, France
  • K. Shroff
    BNL, Upton, New York, USA
 
  Funding: U.S. Department of Energy Office of Science, under Contract No. DE-AC02-06CH11357
The integration of structured data and the PV Access network protocol into the EPICS toolkit has opened up many possibilities for added functionality and features, which more and more facilities are looking to leverage. At the same time however the core developers also have to cope with technical debt incurred in the race to deliver working software. This paper will describe the current status of EPICS 7, and some of the work done in the last two years following the reorganization of the code-base. It will cover some of the development group’s technical and process changes, and echo questions being asked about support for recent language standards that may affect support for older target platforms, and adoption of other internal standards for coding and documentation.
 
slides icon Slides WECPR01 [0.585 MB]  
DOI • reference for this paper ※ https://doi.org/10.18429/JACoW-ICALEPCS2019-WECPR01  
About • paper received ※ 30 September 2019       paper accepted ※ 02 October 2020       issue date ※ 30 August 2020  
Export • reference for this paper using ※ BibTeX, ※ LaTeX, ※ Text/Word, ※ RIS, ※ EndNote (xml)  
 
WECPR02 Benefits and Drawbacks of Using Rust in an Existing C/C++ Codebase 928
 
  • B.S. Martins
    FRIB, East Lansing, Michigan, USA
 
  Mozilla has recently released a new programming language, Rust, as a safer and more modern alternative to C++. This work explores the benefits (chiefly the features provided by Rust) and drawbacks (the difficulty in integrating with a C ABI) of using Rust in an existing codebase, the EPICS framework, as a replacement for C/C++ in some of EPICS’ modules.  
slides icon Slides WECPR02 [0.471 MB]  
DOI • reference for this paper ※ https://doi.org/10.18429/JACoW-ICALEPCS2019-WECPR02  
About • paper received ※ 19 September 2019       paper accepted ※ 09 October 2019       issue date ※ 30 August 2020  
Export • reference for this paper using ※ BibTeX, ※ LaTeX, ※ Text/Word, ※ RIS, ※ EndNote (xml)  
 
WECPR03 Status of the Karabo Control and Data Processing Framework 936
 
  • G. Flucke, N. Al-Qudami, M. Beg, M. Bergemann, V. Bondar, D. Boukhelef, S. Brockhauser, C. Carinan, R. Costa, F. Dall’Antonia, C. Danilevski, W. Ehsan, S.G. Esenov, R. Fabbri, H. Fangohr, D. Fulla Marsa, G. Giovanetti, D. Goeries, S. Hauf, D.G. Hickin, E. Kamil, Y. Kirienko, A. Klimovskaia, T.A. Kluyver, D. Mamchyk, T. Michelat, I. Mohacsi, A. Muennich, A. Parenti, R. Rosca, D.B. Rück, H. Santos, R. Schaffer, A. Silenzi, K. Wrona, C. Youngman, J. Zhu
    EuXFEL, Schenefeld, Germany
  • S. Brockhauser
    BRC, Szeged, Hungary
  • H. Fangohr
    University of Southampton, Southampton, United Kingdom
 
  To achieve a tight integration of instrument control and (online) data analysis, the European XFEL decided in 2011 to develop Karabo*, a custom control and data processing system. Karabo provides control via event-driven communication. Signal/slot and request/reply patterns are implemented via a central message broker. Data pipelines for e.g. scientific workflows or detector calibration are implemented as direct TCP/IP connections. The core entities of Karabo are self-describing devices written in C++ or Python. They represent hardware, orchestrate other devices, or provide system services like data logging and configuration storage. To operate Karabo, a Python command line interface and a generic GUI written in PyQt are provided. Control and data widgets compose Karabo scenes that are provided by devices or are manually customized and stored together with device configurations in a central database. Since 2016, Karabo is used to commission and operate the currently three photon beam lines and six scientific instruments at the European XFEL. This contribution summarizes the status of Karabo, highlights achievements and lessons learned, and gives an outlook for future directions.
* Heisen, B., et al. (2013) In 14th International Conference on Accelerator and Large Experimental Physics Control Systems, ICALEPCS 2013. San Francisco, CA.
 
slides icon Slides WECPR03 [2.660 MB]  
DOI • reference for this paper ※ https://doi.org/10.18429/JACoW-ICALEPCS2019-WECPR03  
About • paper received ※ 27 September 2019       paper accepted ※ 09 October 2019       issue date ※ 30 August 2020  
Export • reference for this paper using ※ BibTeX, ※ LaTeX, ※ Text/Word, ※ RIS, ※ EndNote (xml)  
 
WECPR04 Automated Testing and Validation of Control Parameters 943
 
  • P.K. Kankiya, J.P. Jamilkowski, A. Sukhanov
    BNL, Upton, New York, USA
 
  Funding: Work supported by Brookhaven Science Associates, LLC under Contract No. DE-SC0012704 with the U.S. Department of Energy.
The BNL CA-D controls environment has recently been adopting modern programming languages such as Python. A new framework has been created to instantiate setting and measurement parameters in Python as an alternative to C++ and Java process-variable-like objects. With the help of automated testing tools such as pyTest and Coverage, a test suite is generated and executed before the release of Python-based accelerator device objects (ADO) to assure quality as well as compatibility. This suite allows developers to add custom tests, repeat failed tests, create random inputs, and log failures.
 
slides icon Slides WECPR04 [13.755 MB]  
DOI • reference for this paper ※ https://doi.org/10.18429/JACoW-ICALEPCS2019-WECPR04  
About • paper received ※ 09 October 2019       paper accepted ※ 19 November 2019       issue date ※ 30 August 2020  
Export • reference for this paper using ※ BibTeX, ※ LaTeX, ※ Text/Word, ※ RIS, ※ EndNote (xml)  
 
WECPR05 Pulsed Magnet Control System Using COTS PXIe Devices and LabVIEW 946
 
  • Y. Enomoto, K. Furukawa, T. Natsui, M. Satoh
    KEK, Ibaraki, Japan
  • H.S. Saotome
    Kanto Information Service (KIS), Accelerator Group, Ibaraki, Japan
 
  About one hundred channels of pulsed magnet power supply control system were installed in 2017 in KEK electron positron LINAC to realize pulse-to-pulse control of output current every 20 ms. The control system of a group of eight channels totally consists of commercially available devices, namely a PC (Windows 8.1), a PXIe crate and several PXIe boards such as ADC, DAC communication and timing. The software is written with LabVIEW. EPICS channel access protocol is used to communicate with OPI over standard Ethernet network. Depending on the destination of the beam, there are ten beam modes. The software is able to keep parameters for each mode independently, which makes it possible for us to operate one LINAC as if it were ten virtual LINACs. Even Software feedback to compensate small drift of output current is available for each mode independently. During two years of operation, there were no significant problem. Although the Windows is not a real-time OS, dropping rate of the trigger coming every 20 ms is less than a ppm. Rebooting of the PC or software is necessary only a few times in a year.  
slides icon Slides WECPR05 [5.799 MB]  
DOI • reference for this paper ※ https://doi.org/10.18429/JACoW-ICALEPCS2019-WECPR05  
About • paper received ※ 29 September 2019       paper accepted ※ 20 October 2019       issue date ※ 30 August 2020  
Export • reference for this paper using ※ BibTeX, ※ LaTeX, ※ Text/Word, ※ RIS, ※ EndNote (xml)  
 
WEMPL009 Tracking APS-U Production Components With the Component Database and eTraveler Applications 1026
WEPHA072   use link to see paper's listing under its alternate paper code  
 
  • D.P. Jarosz, N.D. Arnold, J. Carwardine, G. Decker, N. Schwarz, G. Shen, S. Veseli
    ANL, Lemont, Illinois, USA
  • D. Liu
    Osprey DCS LLC, Ocean City, USA
 
  Funding: Argonne National Laboratory’s work was supported by the U.S. Department of Energy, Office of Science, Office of Basic Energy Sciences, under contract DE-AC02-06CH11357
The installation of the APS-U has a short schedule of one year, making it imperative to be well prepared before the installation process begins. The Component Database (CDB) has been designed to help in documenting and tracking all the components for APS-U. Two new major domains, Machine Design domain and Measurement and Analysis Archive (MAARC) domain, have been added to CDB to further its ability in exhaustively documenting components. The Machine Design domain will help define the purpose of all the components in the APS-U design and the MAARC domain allows association of components with collected data. The CDB and a traveler application from FRIB have been integrated to help with documenting various processes performed, such as inspections and maintenance. Working groups have been formed to define appropriate work flow processes for receiving components, using the tools to document receiving inspection and QA requirements. The applications are under constant development to perform as expected by the working groups. Over some time, especially after production procurement began, the CDB has seen more and more usage in order to aid in preparation for the APS-U installation.
 
DOI • reference for this paper ※ https://doi.org/10.18429/JACoW-ICALEPCS2019-WEMPL009  
About • paper received ※ 30 September 2019       paper accepted ※ 09 October 2019       issue date ※ 30 August 2020  
Export • reference for this paper using ※ BibTeX, ※ LaTeX, ※ Text/Word, ※ RIS, ※ EndNote (xml)  
 
WEMPR006 Application Development in the Face of Evolving Web Technologies at the National Ignition Facility 1052
WEPHA118   use link to see paper's listing under its alternate paper code  
 
  • E.R. Pernice, C.R. Albiston, R.G. Beeler, E.H. Chou, C.D. Fry, M. Shor, J.L. Spears, D.E. Speck, A.A. Thakur, S.L. West
    LLNL, Livermore, California, USA
 
  Funding: This work performed under the auspices of the U.S. Department of Energy by Lawrence Livermore National Laboratory under Contract DE-AC52-07NA27344
The past decade has seen great advances in web technology, making the browser the de-facto platform for many user applications. Advances in JavaScript, and innovations such as TypeScript, have enabled developers to build large scale applications for the web without sacrificing code maintainability. However, this rapid growth has also been accompanied by turbulence. AngularJS arrived and saw widespread adoption only to be supplanted by Angular 2+ a few years later; meanwhile other JavaScript-based languages and developer tools have proliferated. At the National Ignition Facility (NIF), the Shot Setup Tool (SST) is a large web-based tool for configuring experiments on the NIF that is being developed to replace legacy Java Swing application. We will present our experience in building SST during this turbulent time, including how we have leveraged TypeScript to greatly enhance code readability and maintainability in a multi-developer team, and our current effort to incrementally migrate from AngularJS to React.
 
DOI • reference for this paper ※ https://doi.org/10.18429/JACoW-ICALEPCS2019-WEMPR006  
About • paper received ※ 30 September 2019       paper accepted ※ 10 October 2019       issue date ※ 30 August 2020  
Export • reference for this paper using ※ BibTeX, ※ LaTeX, ※ Text/Word, ※ RIS, ※ EndNote (xml)  
 
WEPHA020 Pushing the Limits of Tango Archiving System using PostgreSQL and Time Series Databases 1116
 
  • R. Bourtembourg, S. James, J.L. Pons, P.V. Verdier
    ESRF, Grenoble, France
  • G. Cuní, S. Rubio-Manrique
    ALBA-CELLS Synchrotron, Cerdanyola del Vallès, Spain
  • M. Di Carlo
    INAF - OAAB, Teramo, Italy
  • G.A. Fatkin, A.I. Senchenko, V. Sitnov
    NSU, Novosibirsk, Russia
  • G.A. Fatkin, A.I. Senchenko, V. Sitnov
    BINP SB RAS, Novosibirsk, Russia
  • L. Pivetta, C. Scafuri, G. Scalamera, G. Strangolino, L. Zambon
    Elettra-Sincrotrone Trieste S.C.p.A., Basovizza, Italy
 
  The Tango HDB++ project is a high performance event-driven archiving system which stores data with micro-second resolution timestamps, using archivers written in C++. HDB++ supports MySQL/MariaDB and Apache Cassandra backends and has been recently extended to support PostgreSQL and TimescaleDB*, a time-series PostgreSQL extension. The PostgreSQL backend has enabled efficient multi-dimensional data storage in a relational database. Time series databases are ideal for archiving and can take advantage of the fact that data inserted do not change. TimescaleDB has pushed the performance of HDB++ to new limits. The paper will present the benchmarking tools that have been developed to compare the performance of different backends and the extension of HDB++ to support TimescaleDB for insertion and extraction. A comparison of the different supported back-ends will be presented.
https://timescale.com
 
poster icon Poster WEPHA020 [1.609 MB]  
DOI • reference for this paper ※ https://doi.org/10.18429/JACoW-ICALEPCS2019-WEPHA020  
About • paper received ※ 30 September 2019       paper accepted ※ 02 November 2019       issue date ※ 30 August 2020  
Export • reference for this paper using ※ BibTeX, ※ LaTeX, ※ Text/Word, ※ RIS, ※ EndNote (xml)  
 
WEPHA026 Integrating COTS Equipment in the CERN Accelerator Domain 1136
 
  • O.Ø. Andreassen, C. Charrondière, K. Develle, A. Rijllart, R.E. Rossel, J. Steen, J. Tagg, T. Zilliox
    CERN, Geneva, Switzerland
 
  Successful integration of industrial equipment in the CERN accelerator complex relies mainly on 3 key components. The first part is the Controls Middleware (CMW). That provides a common communication infrastructure for the accelerator controls at CERN. The second part is timing. To orchestrate and align electronic and electrical equipment across the 27 km Large Hadron Collider (LHC) at sub nanosecond precision, an elaborate timing scheme is needed. Every component has to be configured and aligned within milliseconds and then trigger in perfect harmony with each other. The third and last bit is configuration management. The COTS devices have to be kept up to date, remotely managed and compatible with each other at all times. This is done through a combination of networked Pre eXecution Environments (PXE) mounting network accessible storage on the front ends, where operating systems and packages can be maintained across systems. In this article we demonstrate how COTS based National Instruments PXI and cRIO systems can be integrated in the CERN accelerator domain for measurement and monitoring systems.  
poster icon Poster WEPHA026 [4.690 MB]  
DOI • reference for this paper ※ https://doi.org/10.18429/JACoW-ICALEPCS2019-WEPHA026  
About • paper received ※ 27 September 2019       paper accepted ※ 19 October 2019       issue date ※ 30 August 2020  
Export • reference for this paper using ※ BibTeX, ※ LaTeX, ※ Text/Word, ※ RIS, ※ EndNote (xml)  
 
WEPHA040 IRFU EPICS Environment 1172
 
  • J.F. Denis, F. Gohier
    CEA-IRFU, Gif-sur-Yvette, France
  • A. Gaget, F. Gougnaud, T.J. Joannem, Y. Lussignol
    CEA-DRF-IRFU, France
 
  The 3 years collaboration with ESS* at Lund (Sweden) has given us the opportunity to use new COTS hardware and new tools. Based on that experience, we have developed the IEE (IRFU** EPICS Environment) by retaining relevant and scalable ESS solutions. This platform centralized several functionalities, fully installed by scripting, on a server that is running on a virtual machine. The functionalities are an EPICS environment and the root file system with the kernel for each embedded systems. In order to provide homogeneous EPICS modules between all collaborators, a template was designed and used as containers for new developments. Furthermore, a development and a production workflow is also proposed and strongly recommended. Due to the current responsibility of CEA IRFU to provide an EPICS platform for SARAF** at Tel Aviv (Israel), IEE was chosen as the standard platform for the whole accelerator. This paper will present the new standard IRFU EPICS Environment based on MTCA and virtual machines.
*ESS, https://europeanspallationsource.se/
**IRFU, https://irfu.cea.fr/en/
***SARAF, http://soreq.gov.il/mmg/eng/Pages/SARAF-Facility.aspx
 
DOI • reference for this paper ※ https://doi.org/10.18429/JACoW-ICALEPCS2019-WEPHA040  
About • paper received ※ 27 September 2019       paper accepted ※ 19 October 2019       issue date ※ 30 August 2020  
Export • reference for this paper using ※ BibTeX, ※ LaTeX, ※ Text/Word, ※ RIS, ※ EndNote (xml)  
 
WEPHA048 Management of IOCs at ESS 1204
 
  • R.N. Fernandes, S.R. Gysin, T. Korhonen, J.A. Persson, S. Regnell
    ESS, Lund, Sweden
  • M. Pavleski, S. Sah
    Cosylab, Ljubljana, Slovenia
 
  The European Spallation Source (ESS) is a neutron research facility based in Sweden that will be in operation in 2023. It is expected to have around 1500 IOCs controlling both the machine and end-station instruments. To manage the IOCs, an application called IOC Factory was developed at ESS. It provides a consistent and centralized approach on how IOCs are configured, generated, browsed and audited. The configuration allows users to select EPICS module versions of interest, and set EPICS environment variables and macros for IOCs. The generation automatically creates IOCs according to configurations. Browsing retrieves information on when, how and why IOCs were generated and by whom. Finally, auditing tracks changes of generated IOCs deployed locally. To achieve these functionalities, the IOC Factory relies on two other applications: the Controls Configuration Database (CCDB) and the ESS EPICS Environment (E3). The first stores information about IOCs, devices controlled by these, and required EPICS modules and snippets, while the second stores snippets needed to generate IOCs (st.cmd files). Combined, these applications enable ESS to successfully manage IOCs with minimum effort.  
DOI • reference for this paper ※ https://doi.org/10.18429/JACoW-ICALEPCS2019-WEPHA048  
About • paper received ※ 30 September 2019       paper accepted ※ 09 October 2019       issue date ※ 30 August 2020  
Export • reference for this paper using ※ BibTeX, ※ LaTeX, ※ Text/Word, ※ RIS, ※ EndNote (xml)  
 
WEPHA058 State of the Tango Controls Kernel Development in 2019 1234
 
  • A. Götz, R. Bourtembourg, T. Braun, J.M. Chaize, P.V. Verdier
    ESRF, Grenoble, France
  • G. Abeillé
    SOLEIL, Gif-sur-Yvette, France
  • M. Bartolini
    SKA Organisation, Macclesfield, United Kingdom
  • T.M. Coutinho, J. Moldes
    ALBA-CELLS Synchrotron, Cerdanyola del Vallès, Spain
  • S. Gara
    NEXEYA Systems, La Couronne, France
  • P.P. Goryl, M. Liszcz
    S2Innovation, Kraków, Poland
  • V.H. Hardion
    MAX IV Laboratory, Lund University, Lund, Sweden
  • A.F. Joubert
    SARAO, Cape Town, South Africa
  • I. Khokhriakov, O. Merkulova
    IK, Moscow, Russia
  • G.R. Mant
    STFC/DL, Daresbury, Warrington, Cheshire, United Kingdom
  • L. Pivetta
    Elettra-Sincrotrone Trieste S.C.p.A., Basovizza, Italy
 
  This paper will present the state of of kernel developments in the Tango Controls toolkit and community since the previous ICALEPCS 2017. It will describe what changes have been made over the last 2 years to the Long Term Support (LTS) version, how GitHub has been used to provide Continuous Integration (CI) for all platforms, and prepare the latest source code release. It will present how docker containers are supported, how they are being used for CI and for building digital twins. It will describe the outcome of the kernel code camp(s). Finally it will present how Tango is preparing the next version - V10. The paper will explain why new and old installations can continue profiting from Tango Controls or in other words in Tango "the more things change the better the core concepts become".  
DOI • reference for this paper ※ https://doi.org/10.18429/JACoW-ICALEPCS2019-WEPHA058  
About • paper received ※ 01 October 2019       paper accepted ※ 10 October 2019       issue date ※ 30 August 2020  
Export • reference for this paper using ※ BibTeX, ※ LaTeX, ※ Text/Word, ※ RIS, ※ EndNote (xml)  
 
WEPHA090 Testing Tools for the IBEX Control System 1295
 
  • T. Löhnert, F.A. Akeroyd, K.V.L. Baker, D.P. Keymer, A.J. Long, C. Moreton-Smith, D.E. Oram
    STFC/RAL/ISIS, Chilton, Didcot, Oxon, United Kingdom
  • J.R. Holt, T.A. Willemsen, K. Woods
    Tessella, Abingdon, United Kingdom
 
  At the ISIS Neutron and Muon Source, we are in the process of upgrading from the LabVIEW-based SECI instrument control system to the new IBEX control system* based on EPICS**. It is crucial to the running of experiments that IBEX has a high uptime and few bugs. However, it is often not possible to test the system live on an instrument prior to an experiment and thus we must be sure that it is ready to go as soon as we have users. To test that we are correctly communicating with hardware we have built a framework to automate testing of EPICS IOCs using device emulators created using the LeWIS*** Python package. This lets us test that new drivers are functionally the same as those under SECI. To ensure that the full instrument control system stack is working as intended we are also using the Squish testing tool****. Whilst this is used by industry as a GUI focused tool we have used it in conjugation with a fully simulated IBEX installation to create system tests, letting us directly simulate the interactions a user has with IBEX and validate its behavior. This poster will present how using these tools has made IBEX a more robust system.
*https://iopscience.iop.org/article/10.1088/1742-6596/1021/1/012019/pdf
**https://epics-controls.org/
***https://lewis.readthedocs.io/en/latest/
****https://www.froglogic.com/squish/
 
poster icon Poster WEPHA090 [0.657 MB]  
DOI • reference for this paper ※ https://doi.org/10.18429/JACoW-ICALEPCS2019-WEPHA090  
About • paper received ※ 30 September 2019       paper accepted ※ 10 October 2019       issue date ※ 30 August 2020  
Export • reference for this paper using ※ BibTeX, ※ LaTeX, ※ Text/Word, ※ RIS, ※ EndNote (xml)  
 
WEPHA101 VR as a Service: Use of Virtual Reality in a Nuclear Accelerator Facility 1329
 
  • L. Pranovi, M. Montis
    INFN/LNL, Legnaro (PD), Italy
 
  A nuclear plant, for energy or for nuclear physics, is a complex facility where high level security is mandatory, both for machines and people. But sometimes the status of danger is not correctly felt, inducing workers to misinterpret situations and, as consequence, not act in the best way. At the same time problems related to area accessibility can occur during normal machine operations, limiting actions related to local maintenance and environment supervision. It would be suitable to have the opportunity to perform these tasks in an independently from environment limitations and machine operations. In order to overcome these limits, we applied Virtual Technology to the nuclear physics context. As consequence, this new tool has given us the chance to reinterpret concepts like training or maintenance planning. In this paper the main proof of concept implemented are described and additional information related to different VR technology usages are exposed.  
poster icon Poster WEPHA101 [2.874 MB]  
DOI • reference for this paper ※ https://doi.org/10.18429/JACoW-ICALEPCS2019-WEPHA101  
About • paper received ※ 21 September 2019       paper accepted ※ 09 October 2019       issue date ※ 30 August 2020  
Export • reference for this paper using ※ BibTeX, ※ LaTeX, ※ Text/Word, ※ RIS, ※ EndNote (xml)  
 
WEPHA119 Asynchronous Driver Evaluation and Development for Digital Systems at the Argonne Tandem Linear Accelerating System 1368
 
  • C.E. Peters, J. Reyna, D. Stanton
    ANL, Lemont, Illinois, USA
 
  Funding: This work was supported by the U.S. DOE, Office of Nuclear Physics, under Contract DE-AC02-06CH11357. The research used resources of ANL’s ATLAS Facility, a DOE Office of Science User Facility.
The ATLAS (Argonne Tandem Linear Accelerating System) accelerator at Argonne National Laboratory, near Chicago, IL., has recently been upgraded via the addition of a pulsed mode Electron Beam Ion Source (EBIS). Pulsed operation requires finer levels of control of various digital systems like fast switching high-voltage power supplies and remotely controlled function generators. Additionally, pico-level and femto-level ammeters need per-device zero correction and calibration to accurately read beam intensities. As the facility moves away from fast register-based analog signals, new and slower digital protocols adversely affect the perceived execution time of the control system. This work presents options, research, and results of implementing an asynchronous layer between high level user interfaces and the low level communication drivers in order to increase the perceived responsiveness of the system. Solutions are evaluated ranging from in-house codes, which implement system-wide mutual exclusion and prioritization, to drivers available from the EPICS control system. Key performance criteria include ease of implementation, cross platform availability, and overall robustness.
 
DOI • reference for this paper ※ https://doi.org/10.18429/JACoW-ICALEPCS2019-WEPHA119  
About • paper received ※ 30 September 2019       paper accepted ※ 09 October 2019       issue date ※ 30 August 2020  
Export • reference for this paper using ※ BibTeX, ※ LaTeX, ※ Text/Word, ※ RIS, ※ EndNote (xml)  
 
WEPHA129 Synchronizing LabVIEW Development and Deployment Environment 1394
 
  • O.Ø. Andreassen, C. Charrondière, M.K. Miskowiec, H. Reymond, A. Rijllart
    CERN, Geneva, Switzerland
 
  LabVIEW with its graphical approach is suited for engineers used to design and implement systems based on schematics and designs. Being a graphical language, it can be challenging to keep track of drivers, runtime engines, deployments and configurations since most of the tools on the market aimed towards this are implemented for textual languages. Configuration management is possible in the development environment via version control systems such as perforce, however at CERN and in the open source software development community in general, the tendency is moving towards Git. In this paper we demonstrate how the combination of automated builds, packaging, versioning and consistent deployment can further ease and speed up development, while ensure robustness and coherency across systems. We also show how an in-house built tool called "RADE Installer" synchronizes both development environments and drivers across workstations, empowering graphical development at CERN, by merging the open source toolchains with the workflow of LabVIEW. RADE installer represents definitively a solution for LabVIEW to keep track of drivers, runtime engines, deployments and configurations.  
poster icon Poster WEPHA129 [2.789 MB]  
DOI • reference for this paper ※ https://doi.org/10.18429/JACoW-ICALEPCS2019-WEPHA129  
About • paper received ※ 27 September 2019       paper accepted ※ 09 October 2019       issue date ※ 30 August 2020  
Export • reference for this paper using ※ BibTeX, ※ LaTeX, ※ Text/Word, ※ RIS, ※ EndNote (xml)  
 
WEPHA137 Integration of a Model Server into the Control System of the Synchrotron Light Source DELTA 1421
 
  • D. Schirmer, A. Althaus
    DELTA, Dortmund, Germany
 
  During the past decades, a variety of particle optics programs have been applied for accelerator studies at the storage ring facility DELTA. Depending on the application, most programs were used offline without dynamic machine synchronisation. In order to centralize and standardize storage ring modeling capabilities, a dedicated online model server was developed and integrated into the EPICS-based control system. The core server is based on Python/EPICS service modules using OCELOT and COBEA as simulation tools. All data, actual machine readings/settings, conversion coefficients, results of simulation calculations as well as manual parameter settings, are handled via EPICS process variables. Thus, the data are transparently available in the entire control system for further processing or visualisation. To improve maintainability and adaptability, the remote presentation model controller concept was realized in the implementation. The paper explains the setup of the model server and discusses first use cases.  
DOI • reference for this paper ※ https://doi.org/10.18429/JACoW-ICALEPCS2019-WEPHA137  
About • paper received ※ 01 October 2019       paper accepted ※ 20 October 2019       issue date ※ 30 August 2020  
Export • reference for this paper using ※ BibTeX, ※ LaTeX, ※ Text/Word, ※ RIS, ※ EndNote (xml)  
 
WEPHA138 Orbit Correction With Machine Learning Techniques at the Synchrotron Light Source DELTA 1426
 
  • D. Schirmer
    DELTA, Dortmund, Germany
 
  In the last years, artificial intelligence (AI) has experienced a renaissance in many fields. AI-based concepts are nature-inspired and can also be used in the field of accelerator controls. At DELTA, various studies on this subject were conducted in the past. Among other possible applications, the use of neural networks for automated correction of the electron beam position (orbit control) is of interest. Machine learning (ML) simulations with a DELTA storage ring model were already successful. Recently, conventional Feed-Forward Neural Networks (FFNN) were trained on measured orbits to apply local and global beam position corrections to the 1.5 GeV storage ring DELTA. First experimental results are presented and compared with other orbit control methods.  
DOI • reference for this paper ※ https://doi.org/10.18429/JACoW-ICALEPCS2019-WEPHA138  
About • paper received ※ 30 September 2019       paper accepted ※ 09 October 2019       issue date ※ 30 August 2020  
Export • reference for this paper using ※ BibTeX, ※ LaTeX, ※ Text/Word, ※ RIS, ※ EndNote (xml)  
 
WEPHA139 Scaling Up the Deployment and Operation of an ELK Technology Stack 1431
 
  • S. Boychenko, P. Martel, B. Schofield
    CERN, Geneva, Switzerland
 
  Since its integration into the CERN industrial controls environment, the SCADA Statistics project has become a valuable asset for controls engineers and hardware experts in their daily monitoring and maintenance tasks. The adoption of the tool outside of the Industrial Controls and Safety Systems group scope is currently being evaluated by ALICE, since they have similar requirements for alarms and value changes monitoring in their experiment. The increasing interest in scaling up the SCADA Statistics project with new customers has motivated the review of the infrastructure deployment, configuration management and service maintenance policies. In this paper we present the modifications we have integrated in order to improve its configuration flexibility, maintainability and reliability. With this improved solution we believe we can propose our solution to a wider scope of customers.  
poster icon Poster WEPHA139 [0.342 MB]  
DOI • reference for this paper ※ https://doi.org/10.18429/JACoW-ICALEPCS2019-WEPHA139  
About • paper received ※ 27 September 2019       paper accepted ※ 09 October 2019       issue date ※ 30 August 2020  
Export • reference for this paper using ※ BibTeX, ※ LaTeX, ※ Text/Word, ※ RIS, ※ EndNote (xml)  
 
WEPHA143 High-Level Application Architecture Design for the Aps Upgrade 1436
 
  • G. Shen, N.D. Arnold, S.J. Benes, D.P. Jarosz, A.N. Johnson, D.F. Stasic, I.A. Usmani, S. Veseli
    ANL, Lemont, Illinois, USA
  • D. Liu
    Osprey DCS LLC, Ocean City, USA
  • C. McChesney
    LANL, Los Alamos, New Mexico, USA
 
  Funding: Argonne National Laboratory’s work was supported by the U.S. Department of Energy, Office of Science, Office of Basic Energy Sciences, under contract DE-AC02-06CH11357
A modular software platform is under active design and development for high level applications to meet the requirements from APS Upgrade (APS-U) project. The design is based on a modern software architecture, which has been used in many other accelerator facilities, demonstrated to be effective, and stable. At APS-U, we are extending the architecture in order to efficiently commission, operate and maintain APS-U. Its open architecture provides good flexibility and scalability. This paper presents current status of high level application architecture design, implementation, and progress for APS Upgrade.
 
DOI • reference for this paper ※ https://doi.org/10.18429/JACoW-ICALEPCS2019-WEPHA143  
About • paper received ※ 28 September 2019       paper accepted ※ 09 October 2019       issue date ※ 30 August 2020  
Export • reference for this paper using ※ BibTeX, ※ LaTeX, ※ Text/Word, ※ RIS, ※ EndNote (xml)  
 
WESH2003 Toward Continuous Delivery Of A Nontrivial Distributed Software System 1511
WEPHA156   use link to see paper's listing under its alternate paper code  
 
  • S. Wai
    SARAO, Cape Town, South Africa
 
  Funding: SKA South Africa National Research Foundation of South Africa Department of Science and Technology
The MeerKAT Control and Monitoring(CAM) solution is a mature software system that has undergone multiple phases of construction and expansion. It is a distributed system with a run-time environment of 15 logical nodes featuring dozens of interdependent, short-lived processes that interact with a number of long-running services. This presents a challenge for the development team to balance operational goals with continued discovery and development of useful enhancements for its users (astronomers, telescope operators). Continuous Delivery is a set of practices designed to always keep software in a releasable state. It employs the discipline of release engineering to optimise the process of taking changes from source control to production. In this paper, we review the current path to production (build, test and release) of CAM, identify shortcomings and introduce approaches to support further incremental development of the system. By implementing patterns such as deployment pipelines and immutable release candidates we hope to simplify the release process and demonstrate increased throughput of changes, quality and stability in the future
 
slides icon Slides WESH2003 [2.933 MB]  
poster icon Poster WESH2003 [1.448 MB]  
DOI • reference for this paper ※ https://doi.org/10.18429/JACoW-ICALEPCS2019-WESH2003  
About • paper received ※ 30 September 2019       paper accepted ※ 09 October 2019       issue date ※ 30 August 2020  
Export • reference for this paper using ※ BibTeX, ※ LaTeX, ※ Text/Word, ※ RIS, ※ EndNote (xml)  
 
WESH4003 Continuous Integration for PLC-based Control Systems 1527
WEPHA140   use link to see paper's listing under its alternate paper code  
 
  • B. Schofield, E. Blanco Viñuela
    CERN, Geneva, Switzerland
  • J.H.P.D.C. Borrego
    IPFN - IST, Bobadela, Portugal
 
  Continuous integration is widespread in software development, but a number of factors have thus far limited its use in PLC (Programmable Logic Controller) application development. A key requirement of continuous integration is that build and test stages must be automated. Automation of the build stage can be difficult for PLC developers, as building is typically performed with proprietary engineering tools. This has been solved by developing command line utilities which use the APIs of these tools. Another issue is that the program must be deployed to a real target (PLC) in order to test, something that is typically easier to do in other types of software development, where virtual environments may easily be used. This is solved by expanding the command line utilities to allow fully automated deployment of the PLC program. Finally, testing the PLC program presents its own challenges, as it is typically undesirable to alter the program in order to implement the tests natively in the PLC. This is avoided by using an industry standard protocol (OPC UA) to access PLC variables for testing purposes, allowing tests to be performed on an unaltered program.  
DOI • reference for this paper ※ https://doi.org/10.18429/JACoW-ICALEPCS2019-WESH4003  
About • paper received ※ 27 September 2019       paper accepted ※ 09 October 2019       issue date ※ 30 August 2020  
Export • reference for this paper using ※ BibTeX, ※ LaTeX, ※ Text/Word, ※ RIS, ※ EndNote (xml)