Author: Hauf, S.
Paper Title Page
MO2AO03 The Solid Sample Scanning Workflow at the European XFEL 78
 
  • A. García-Tabarés Valdivieso, C. Deiter, L. Gelisio, S. Göde, S. Hauf, A.K. Kardoost, I. Karpics, J. Schulz, F. Sohn
    EuXFEL, Schenefeld, Germany
 
  The fast solid sample scanner (FSSS) used at the HED instrument of the European XFEL (EuXFEL) enables data collection from multiple samples mounted into standardized frames which can be exchanged via a transfer system without breaking the interaction chamber vacuum. In order to maximize the effective target shot repetition rate, it is a key requirement to use sample holders containing pre-aligned targets measured on an accurate level of a few micrometers. This contribution describes the automated sample delivery workflow for performing solid sample scanning using the FSSS. This workflow covers the entire process, from automatically identifying target positions within the sample, using machine learning algorithms, to set the parameters needed to perform the scans. The integration of this solution into the EuXFEL control system, Karabo, not only allows to control and perform the scans with the existing scan tool but also provides tools for image annotation and data acquisition. The solution thus enables the storage of data and metadata for future correlation across a variety of beamline parameters set during the experiment.  
slides icon Slides MO2AO03 [12.892 MB]  
DOI • reference for this paper ※ doi:10.18429/JACoW-ICALEPCS2023-MO2AO03  
About • Received ※ 06 October 2023 — Revised ※ 09 October 2023 — Accepted ※ 11 December 2023 — Issued ※ 20 December 2023
Cite • reference for this paper using ※ BibTeX, ※ LaTeX, ※ Text/Word, ※ RIS, ※ EndNote (xml)  
 
TUMBCMO38 Towards the Zero Code Waste to Increase the Impact of Science 456
 
  • P.P. Goryl, W. Soroka, Ł. Żytniak
    S2Innovation, Kraków, Poland
  • A. Götz
    ESRF, Grenoble, France
  • V. Hardion
    MAX IV Laboratory, Lund University, Lund, Sweden
  • S. Hauf
    EuXFEL, Schenefeld, Germany
  • K.S. White
    ORNL, Oak Ridge, Tennessee, USA
 
  Accelerators and other big science facilities rely heavily on internally developed technologies, including control system software. Much of it can and is shared between labs, like the Tango Controls and EPICS. Then, some of it finds broad application outside science, like the famous World Wide Web. However, there are still a lot of duplicating efforts in the labs, and a lot of software has the potential to be applied in other areas. Increasing collaboration and involving private companies can help avoid redundant work. It can decrease the overall costs of laboratory development and operation. Having private industry involved in technology development also increases the chances of new applications. This can positively impact society, which means effective spending of public funds. The talk will be based on the results of a survey looking at how much scientific institutes and companies focus on collaboration and dissemination in the field of software technologies. It will also include remarks based on the authors’ experiences in building an innovative ecosystem.  
slides icon Slides TUMBCMO38 [0.294 MB]  
poster icon Poster TUMBCMO38 [1.016 MB]  
DOI • reference for this paper ※ doi:10.18429/JACoW-ICALEPCS2023-TUMBCMO38  
About • Received ※ 06 October 2023 — Revised ※ 12 October 2023 — Accepted ※ 28 November 2023 — Issued ※ 06 December 2023
Cite • reference for this paper using ※ BibTeX, ※ LaTeX, ※ Text/Word, ※ RIS, ※ EndNote (xml)  
 
TUPDP033 Applying Model Predictive Control to Regulate Thermal Stability of a Hard X-ray Monochromator Using the Karabo SCADA Framework 579
 
  • M.A. Smith, G. Giovanetti, S. Hauf, I. Karpics, A. Parenti, A. Samadli, L. Samoylova, A. Silenzi, F. Sohn, P. Zalden
    EuXFEL, Schenefeld, Germany
 
  Model Predictive Control (MPC) is an advanced method of process control whereby a model is developed for a real-life system and an optimal control solution is then calculated and applied to control the system. At each time step, the MPC controller uses the system model and system state to minimize a cost function for optimal control. The Karabo SCADA Framework is a distributed control system developed specifically for European XFEL facility, consisting of tens of thousands of hardware and software devices and over two million attributes to track system state. This contribution describes the application of the Python MPC Toolbox within the Karabo SCADA Framework to solve a monochromator temperature control problem. Additionally, the experiences gained in this solution have led to a generic method to apply MPC to any group of Karabo SCADA devices.  
poster icon Poster TUPDP033 [0.337 MB]  
DOI • reference for this paper ※ doi:10.18429/JACoW-ICALEPCS2023-TUPDP033  
About • Received ※ 05 October 2023 — Revised ※ 18 October 2023 — Accepted ※ 04 December 2023 — Issued ※ 11 December 2023
Cite • reference for this paper using ※ BibTeX, ※ LaTeX, ※ Text/Word, ※ RIS, ※ EndNote (xml)  
 
TH1BCO06 The Karabo Control System 1120
 
  • S. Hauf, N. Anakkappalla, J.T. Bin Taufik, V. Bondar, R. Costa, W. Ehsan, S.G. Esenov, G. Flucke, A. García-Tabarés Valdivieso, G. Giovanetti, D. Goeries, D.G. Hickin, I. Karpics, A. Klimovskaia, A. Parenti, A. Samadli, H. Santos, A. Silenzi, M.A. Smith, F. Sohn, M. Staffehl, C. Youngman
    EuXFEL, Schenefeld, Germany
 
  The Karabo distributed control system has been developed to address the challenging requirements of the European X-ray Free Electron Laser facility*, which include custom-made hardware, and high data rates and volumes. Karabo implements a broker-based SCADA environment**. Extensions to the core framework, called devices, provide control of hardware, monitoring, data acquisition and online processing on distributed hardware. Services for data logging and for configuration management exist. The framework exposes Python and C++ APIs, which enable developers to quickly respond to requirements within an efficient development environment. An AI driven device code generator facilitates prototyping. Karabo’s GUI features an intuitive, coding-free control panel builder. This allows non-software engineers to create synoptic control views. This contribution introduces the Karabo Control System out of the view of application users and software developers. Emphasis is given to Karabo’s asynchronous Python environment. We share experience of running the European XFEL using a clean-sheet developed control system, and discuss the availability of the system as free and open source software.
* Tschentscher, et al. Photon beam transport and scientific instruments at the European XFEL App. Sci.7.6(2017):592
** Hauf, et al. The Karabo distributed control system J.Sync. Rad.26.5(2019):1448ff
 
slides icon Slides TH1BCO06 [5.878 MB]  
DOI • reference for this paper ※ doi:10.18429/JACoW-ICALEPCS2023-TH1BCO06  
About • Received ※ 06 October 2023 — Accepted ※ 03 December 2023 — Issued ※ 12 December 2023  
Cite • reference for this paper using ※ BibTeX, ※ LaTeX, ※ Text/Word, ※ RIS, ※ EndNote (xml)  
 
THPDP021 Equipment Life-Cycle Management at EuXFEL 1346
 
  • N. Coppola, B.J. Fernandes, P. Gessler, S. Hauf, S.T. Huynh, N. Jardón Bueno, M. Manetti
    EuXFEL, Schenefeld, Germany
 
  Scientific instruments at the European X-Ray Free Electron Laser Facility (EuXFEL) comprises of a large variety of equipment, ranging from controllers, motors and encoders to valves. It is a false assumption that once a specific equipment had been procured and integrated, that no further attention is required. Reality is much more complex and incorporates various stages across the entire equipment life-cycle. This starts from the initial selection, standardization of the equipment, procurement, integration, tracking, spare part management, maintenance, documentation of interventions and repair, replacement and lastly, decommissioning. All aspects of such a life-cycle management are crucial in order to ensure safe and reliable operation across the life time of the equipment, whether it be five years, twenty years, or longer. At EuXFEL, many aspects of the described life-cycle management are already carried out with dedicated tools. However some aspects rely on manual work, which requires significant effort and discipline. This contribution aims to provide an overview of the requirements, and the ongoing efforts to develop and establish a complete life-cycle management at the EuXFEL.  
poster icon Poster THPDP021 [0.222 MB]  
DOI • reference for this paper ※ doi:10.18429/JACoW-ICALEPCS2023-THPDP021  
About • Received ※ 05 October 2023 — Revised ※ 25 October 2023 — Accepted ※ 13 December 2023 — Issued ※ 17 December 2023
Cite • reference for this paper using ※ BibTeX, ※ LaTeX, ※ Text/Word, ※ RIS, ※ EndNote (xml)  
 
THPDP023 Evolution of Control System and PLC Integration at the European XFEL 1354
 
  • A. Samadli, T. Freyermuth, P. Gessler, G. Giovanetti, S. Hauf, D.G. Hickin, N. Mashayekh, A. Silenzi
    EuXFEL, Schenefeld, Germany
 
  The Karabo software framework* is a pluggable, distributed control system that offers rapid control feedback to meet the complex requirements of the European X-ray Free Electron Laser facility. Programmable Logic Controllers (PLC) using Beckhoff technology are the main hardware control interface system within the Karabo Control System. The communication between Karabo and PLC currently uses an in-house developed TCP/IP protocol using the same port for operational-related communications and self-description (the description of all available devices sent by PLC). While this simplifies the interface, it creates a notable load on the client and lacks certain features, such as a textual description of each command, property names coherent with the rest of the control system as well as state-awareness of available commands and properties**. To address these issues and to improve user experience, the new implementation will provide a comprehensive self-description, all delivered via a dedicated TCP port and serialized in a JSON format. A Python Asyncio implementation of the Karabo device responsible for message decoding, dispatching to and from the PLC, and establishing communication with relevant software devices in Karabo incorporates lessons learned from prior design decisions to support new updates and increase developer productivity.
* Hauf, et al. The Karabo distributed control system J.Sync. Rad.26.5(2019): 1448ff
** T. Freyermuth et al. Progression Towards Adaptability in the PLC Library at the EuXFEL, PCaPAC’22, pp. 102-106. 
 
poster icon Poster THPDP023 [0.338 MB]  
DOI • reference for this paper ※ doi:10.18429/JACoW-ICALEPCS2023-THPDP023  
About • Received ※ 05 October 2023 — Revised ※ 25 October 2023 — Accepted ※ 13 December 2023 — Issued ※ 18 December 2023
Cite • reference for this paper using ※ BibTeX, ※ LaTeX, ※ Text/Word, ※ RIS, ※ EndNote (xml)