THMBC —  Mini-Oral   (12-Oct-23   13:45—15:45)
Chair: D.L. Flath, SLAC, Menlo Park, California, USA
Paper Title Page
THMBCMO01 New Developements on HDB++, the High-performance Data Archiving for Tango Controls 1190
 
  • D. Lacoste, R. Bourtembourg
    ESRF, Grenoble, France
  • J. Forsberg
    MAX IV Laboratory, Lund University, Lund, Sweden
  • T. Juerges
    SKAO, Macclesfield, United Kingdom
  • J.J.D. Mol
    ASTRON, Dwingeloo, The Netherlands
  • L. Pivetta, G. Scalamera
    Elettra-Sincrotrone Trieste S.C.p.A., Basovizza, Italy
  • S. Rubio-Manrique
    ALBA-CELLS, Cerdanyola del Vallès, Spain
 
  The Tango HDB++ project is a high performance event-driven archiving system which stores data with micro-second resolution timestamps. HDB++ supports many different backends, including MySQL/MariaDB, TimeScaleDB (a time-series PostgreSQL extension), and soon SQLite. Building on its flexible design, latest developments made supporting new backends even easier. HDB++ keeps improving with new features such as batch insertion and by becoming easier to install or setup in a testing environment, using ready to use docker images and striving to simplify all the steps of deployment. The HDB++ project is not only a data storage installation, but a full ecosystem to manage data, query it, and get the information needed. In this effort a lot of tools were developed to put a powerful backend to its proper use and be able to get the best out of the stored data. In this paper we will present as well the latest developments in data extraction, from low level libraries to web viewer integration such as grafana. Pointing out strategies in use in terms of data decimation, compression and others to help deliver data as fast as possible.  
slides icon Slides THMBCMO01 [0.926 MB]  
poster icon Poster THMBCMO01 [0.726 MB]  
DOI • reference for this paper ※ doi:10.18429/JACoW-ICALEPCS2023-THMBCMO01  
About • Received ※ 05 October 2023 — Revised ※ 24 October 2023 — Accepted ※ 08 December 2023 — Issued ※ 16 December 2023
Cite • reference for this paper using ※ BibTeX, ※ LaTeX, ※ Text/Word, ※ RIS, ※ EndNote (xml)  
 
THMBCMO02 Enhancing Data Management with SciCat: A Comprehensive Overview of a Metadata Catalogue for Research Infrastructures 1195
 
  • C. Minotti, A. Ashton, S.E. Bliven, S. Egli
    PSI, Villigen PSI, Switzerland
  • F.B. Bolmsten, M. Novelli, T.S. Richter
    ESS, Copenhagen, Denmark
  • M. Leorato
    MAX IV Laboratory, Lund University, Lund, Sweden
  • D. McReynolds
    LBNL, Berkeley, California, USA
  • L.A. Shemilt
    RFI, Didcot, United Kingdom
 
  As the volume and quantity of data continue to increase, the role of data management becomes even more crucial. It is essential to have tools that facilitate the management of data in order to manage the ever-growing amount of data. SciCat is a metadata catalogue that utilizes a NoSQL database, enabling it to accept heterogeneous data and customize it to meet the unique needs of scientists and facilities. With its API-centric architecture, SciCat simplifies the integration process with existing infrastructures, allowing for easy access to its capabilities and seamless integration into workflows, including cloud-based systems. The session aims to provide a comprehensive introduction of SciCat, a metadata catalogue started as a collaboration between PSI, ESS, and MAXIV, which has been adopted by numerous Research Infrastructures (RIs) worldwide. The presentation will delve into the guiding principles that underpin this project and the challenges that it endeavours to address. Moreover, it will showcase the features that have been implemented, starting from the ingestion of data to its eventual publication. Given the growing importance of the FAIR (Findable, Accessible, Interoperable, and Reusable) principles, the presentation will touch upon how their uptake is facilitated and will also provide an overview of the work carried out under the Horizon 2020 EU grant for FAIR.  
slides icon Slides THMBCMO02 [5.158 MB]  
DOI • reference for this paper ※ doi:10.18429/JACoW-ICALEPCS2023-THMBCMO02  
About • Received ※ 05 October 2023 — Revised ※ 09 October 2023 — Accepted ※ 14 December 2023 — Issued ※ 20 December 2023
Cite • reference for this paper using ※ BibTeX, ※ LaTeX, ※ Text/Word, ※ RIS, ※ EndNote (xml)  
 
THMBCMO07 Reflective Servers: Seamless Offloading of Resource Intensive Data Delivery 1201
 
  • S.L. Clark, T. D’Ottavio, M. Harvey, J.P. Jamilkowski, J. Morris, S. Nemesure
    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.
Brookhaven National Laboratory’s Collider-Accelerator Department houses over 550 Front-End Computers (FECs) of varying specifications and resource requirements. These FECs provide operations-critical functions to the complex, and uptime is a concern among the most resource constrained units. Asynchronous data delivery is widely used by applications to provide live feedback of current conditions but contributes significantly towards resource exhaustion of FECs. To provide a balance of performance and efficiency, the Reflective system has been developed to support unrestricted use of asynchronous data delivery with even the most resource constrained FECs in the complex. The Reflective system provides components which work in unison to offload responsibilities typically handled by core controls infrastructure to hosts with the resources necessary to handle heavier workloads. The Reflective system aims to be a drop-in component of the controls system, requiring few modifications and remaining completely transparent to users and applications alike.
 
slides icon Slides THMBCMO07 [0.963 MB]  
poster icon Poster THMBCMO07 [6.670 MB]  
DOI • reference for this paper ※ doi:10.18429/JACoW-ICALEPCS2023-THMBCMO07  
About • Received ※ 04 October 2023 — Accepted ※ 08 December 2023 — Issued ※ 15 December 2023  
Cite • reference for this paper using ※ BibTeX, ※ LaTeX, ※ Text/Word, ※ RIS, ※ EndNote (xml)  
 
THMBCMO08 whatrecord: A Python-Based EPICS File Format Tool 1206
 
  • K.R. Lauer
    SLAC, Menlo Park, California, USA
 
  Funding: This work is supported by Department of Energy contract DE-AC02-76SF00515.
whatrecord is a Python-based parsing tool for interacting with a variety of EPICS file formats, including R3 and R7 database files. The project aims for compliance with epics-base by using Lark grammars that closely reflect the original Lex/Yacc grammars. It offers a suite of tools for working with its supported file formats, with convenient Python-facing dataclass object representations and easy JSON serialization. A prototype backend web server for hosting IOC and record information is also included as well as a Vue.js-based frontend, an EPICS build system Makefile dependency inspector, a static analyzer-of-sorts for startup scripts, and a host of other things that the author added at whim to this side project.
 
slides icon Slides THMBCMO08 [1.442 MB]  
poster icon Poster THMBCMO08 [1.440 MB]  
DOI • reference for this paper ※ doi:10.18429/JACoW-ICALEPCS2023-THMBCMO08  
About • Received ※ 03 October 2023 — Revised ※ 24 October 2023 — Accepted ※ 14 December 2023 — Issued ※ 21 December 2023
Cite • reference for this paper using ※ BibTeX, ※ LaTeX, ※ Text/Word, ※ RIS, ※ EndNote (xml)  
 
THMBCMO09
DAQ System Based on Sardana and PandABox for Combined SAXS, Fluorescence and UV-Vis Spectroscopy Techniques at MAX IV CoSAXS Beamline  
 
  • V. Da Silva, R. Appio, M. Eguiraun, F. Herranz-Trillo, A.F. Joubert, M. Leorato, Y.L. Li, M. Lindberg, C. Takahashi, A.E. Terry
    MAX IV Laboratory, Lund University, Lund, Sweden
  • C. Dicko
    Lund Institute of Technology (LTH), Lund University, Lund, Sweden
  • W.T. Kitka
    S2Innovation, Kraków, Poland
 
  CoSAXS is the Coherent and Small Angle X-ray Scattering (SAXS) beamline placed at the diffraction-limited 3 GeV storage ring at MAX IV Laboratory. This paper presents the data acquisition (DAQ) strategy for combined SAXS, Ultraviolet-visible (UV-Vis) and Fluorescence Spectroscopy techniques. In general terms, the beamline control system is based on TANGO and on top of it, Sardana provides an advanced scan framework. Sardana performs the experiment orchestration, configuring and preparing the X-ray detector and the Spectrometers for UV-Vis and Fluorescence. Hardware triggers are used to synchronize the DAQ for the different techniques running simultaneously. The implementation is done using PandABox, which generates pulse trains for the X-ray detector and spectrometers. PandABox integration into the system is done with a Sardana Trigger Gate Controller, used to configure the pulse trains parameters as well to orchestrate the hardware triggers during a scan. This paper describes the individual techniques’ integration into the control system, the experiment orchestration and synchronization and the new experiment possibilities this multi-technique DAQ system brings to MAX IV beamlines.  
slides icon Slides THMBCMO09 [0.570 MB]  
poster icon Poster THMBCMO09 [1.600 MB]  
Cite • reference for this paper using ※ BibTeX, ※ LaTeX, ※ Text/Word, ※ RIS, ※ EndNote (xml)  
 
THMBCMO10 SECoP Integration for the Ophyd Hardware Abstraction Layer 1212
 
  • P. Wegmann, K. Kiefer, O. Mannix, L. Rossa, W. Smith
    HZB, Berlin, Germany
  • E. Faulhaber
    MLZ, Garching, Germany
  • M. Zolliker
    PSI, Villigen PSI, Switzerland
 
  At the core of the Bluesky experimental control ecosystem the ophyd hardware abstraction, a consistent high-level interface layer, is extremely powerful for complex device integration. It introduces the device data model to EPICS and eases integration of alien control protocols. This paper focuses on the integration of the Sample Environment Communication Protocol (SECoP)* into the ophyd layer, enabling seamless incorporation of sample environment hardware into beamline experiments at photon and neutron sources. The SECoP integration was designed to have a simple interface and provide plug-and-play functionality while preserving all metadata and structural information about the controlled hardware. Leveraging the self-describing characteristics of SECoP, automatic generation and configuration of ophyd devices is facilitated upon connecting to a Sample Environment Control (SEC) node. This work builds upon a modified SECoP-client provided by the Frappy framework**, intended for programming SEC nodes with a SECoP interface. This paper presents an overview of the architecture and implementation of the ophyd-SECoP integration and includes examples for better understanding.
*Klaus Kiefer et al. "An introduction to SECoP - the sample environment communication protocol".
**Markus Zolliker and Enrico Faulhaber url: https://github.com/sampleenvironment/Frappy.
 
slides icon Slides THMBCMO10 [0.596 MB]  
poster icon Poster THMBCMO10 [0.809 MB]  
DOI • reference for this paper ※ doi:10.18429/JACoW-ICALEPCS2023-THMBCMO10  
About • Received ※ 05 October 2023 — Accepted ※ 08 December 2023 — Issued ※ 14 December 2023  
Cite • reference for this paper using ※ BibTeX, ※ LaTeX, ※ Text/Word, ※ RIS, ※ EndNote (xml)  
 
THMBCMO11 Full Stack PLC to EPICS Integration at ESS 1216
 
  • A. Rizzo, E.E. Foy, D. Hasselgren, A.Z. Horváth, A. Petrushenko, J.A. Quintanilla, S.C.F. Rose, A. Simelio
    ESS, Lund, Sweden
 
  The European Spallation Source is one of the largest science and technology infrastructure projects being built today. The Control System at ESS is then essential for the synchronisation and day-to-day running of all the equipment responsible for the production of neutrons for the experimental programs. The standardised PLC platform for ESS to handle slower signal comes from Siemens*, while for faster data interchange with deterministic timing and higher processing power, from Beckoff/EtherCAT**. All the Control Systems based on the above technologies are integrated using EPICS framework***. We will present how the full stack integration from PLC to EPICS is done at ESS using our standard Configuration Management Ecosystem.
* https://www.siemens.com/global/en/products/automation/systems/industrial/plc.html
** https://www.beckhoff.com/en-en/products/i-o/ethercat/
*** https://epics-controls.org/
 
slides icon Slides THMBCMO11 [0.178 MB]  
poster icon Poster THMBCMO11 [0.613 MB]  
DOI • reference for this paper ※ doi:10.18429/JACoW-ICALEPCS2023-THMBCMO11  
About • Received ※ 05 October 2023 — Revised ※ 25 October 2023 — Accepted ※ 08 December 2023 — Issued ※ 18 December 2023
Cite • reference for this paper using ※ BibTeX, ※ LaTeX, ※ Text/Word, ※ RIS, ※ EndNote (xml)  
 
THMBCMO13
TwinCAT BSD Virtual Machines and Ansible Provisioning  
 
  • K.R. Lauer
    SLAC, Menlo Park, California, USA
 
  Funding: This work is supported by Department of Energy contract DE-AC02-76SF00515.
TwinCAT/BSD is a lightweight FreeBSD-based operating system for TwinCAT PLCs that Beckhoff has offered since 2021 as an alternative to Microsoft Windows. These BSD-based PLCs offer the same runtime capabilities as their Windows-based counterparts and also bring the benefits of a Unix-like operating system. With TwinCAT/BSD images provided by Beckhoff, virtual machines are now easy to spin up for prototyping, development, and unit testing without direct access to PLC hardware. Ansible playbooks with some custom additions make provisioning these VMs and real PLCs simple. Automated installation of TwinCAT tools and packages, upgrades of runtime versions, route management, AMS Net ID settings, firewall configuration, and more are now handled with ease when using TwinCAT/BSD with Ansible.
 
slides icon Slides THMBCMO13 [1.088 MB]  
poster icon Poster THMBCMO13 [1.633 MB]  
Cite • reference for this paper using ※ BibTeX, ※ LaTeX, ※ Text/Word, ※ RIS, ※ EndNote (xml)  
 
THMBCMO14 Development of the SKA Control System, Progress, and Challenges 1221
 
  • S. Vrcic, T. Juerges
    SKAO, Macclesfield, United Kingdom
 
  The SKA Project is a science mega-project whose mission is to build an astronomical observatory that comprises two large radio-telescopes: the SKA-Low Telescope, located in the Inyarrimanha Ilgari Bundara, the CSIRO Murchison Radio-astronomy Observatory in Western Australia, with the observing range 50 to 350 MHz, and the SKA Mid Telescope, located in the Karoo Region, South Africa, with the observing range 350 MHz to 15 GHz. The SKA Global Headquarters is in the Jodrell Bank Observatory, near Manchester, UK. When completed, the SKA Telescopes will surpass existing radio-astronomical facilities not only in the scientific criteria such as sensitivity, angular resolution, and survey speed, but also in the number of receptors and the range of the observing and processing modes. The Observatory, and each of the Telescopes, will be delivered in stages, thus supporting incremental development of the collecting area, signal and data processing capacity, and the observing and processing modes. Unlike scientific capability, which, in some cases, may be delivered in the late releases, the control system is required from the very beginning to support integration and verification. Development of the control system to support the first delivery of the Telescopes (Array Assembly 0.5) is well under way. This paper describes the SKA approach to the development of the Telescope Control System, and discusses opportunities and challenges resulting from the distributed development and staged approach to the Telescope construction.  
DOI • reference for this paper ※ doi:10.18429/JACoW-ICALEPCS2023-THMBCMO14  
About • Received ※ 06 October 2023 — Revised ※ 12 October 2023 — Accepted ※ 12 December 2023 — Issued ※ 22 December 2023
Cite • reference for this paper using ※ BibTeX, ※ LaTeX, ※ Text/Word, ※ RIS, ※ EndNote (xml)  
 
THMBCMO15 Conan for Building C++ Tango Devices at SOLEIL 1227
 
  • P. Madela, G. Abeillé, Y.-M. Abiven, X. Elattaoui, J. Pham, F. Potier
    SOLEIL, Gif-sur-Yvette, France
 
  At SOLEIL, our Tango devices are mainly developed in C++, with around 450 projects for building libraries and device servers for our accelerators and beamlines. We have a software factory that has enabled us to achieve continuous integration of our developments using Maven, which manages project dependencies. However, Maven is uncommon for C++. In addition, it has limitations that hinder us from supporting future platforms and new programming standards, leading us to replace it with Conan. Conan is a dependency and package manager for C and C++ that works on all platforms and integrates with various build systems. Its features are designed to enable modern continuous integration workflows with C++ and are an ideal alternative to Maven for our C++ build system. This transition is essential for the upgrade of SOLEIL (SOLEIL II*), as we continue to develop new devices and update existing systems. We are confident that Conan will improve our development process and benefit our users. This paper will provide an overview of the integration process and describe the progress of deploying the new build system. We will share our insights and lessons learned throughout the transition process.
*SOLEIL II: Towards A Major Transformation of the Facility.
Conan - C and C++ Open-Source Package Manager
 
slides icon Slides THMBCMO15 [0.824 MB]  
poster icon Poster THMBCMO15 [0.867 MB]  
DOI • reference for this paper ※ doi:10.18429/JACoW-ICALEPCS2023-THMBCMO15  
About • Received ※ 04 October 2023 — Revised ※ 10 October 2023 — Accepted ※ 13 December 2023 — Issued ※ 16 December 2023
Cite • reference for this paper using ※ BibTeX, ※ LaTeX, ※ Text/Word, ※ RIS, ※ EndNote (xml)  
 
THMBCMO17 FAIR Data of Physical and Digital Beamlines 1231
 
  • G. Günther, O. Mannix, O. Ruslan, S. Vadilonga
    HZB, Berlin, Germany
 
  Simulations play a crucial role in instrument design, as a digital precursor of a real-world object they contain a comprehensive description of the setup. Unfortunately, this digital representation is often neglected once the real instrument is fully commissioned. To preserve the symbiosis of simulated and real-world instrument beyond commissioning we connect the two worlds through the instrument control software. The instrument control simultaneously starts measurements and simulations, receives feedback from both, and directs (meta)data to a NeXus file - a standard format in photon and neutron science. The instrument section of the produced NeXus file is enriched with detailed simulation parameters where the current state of the instrument is reflected by including real motor positions such as incorporating the actual aperture of a slit system. As a result, the enriched instrument description increases the reusability of experimental data in sense of the FAIR principles. The data is ready to be exploited by machine-learning techniques, such as for predictive maintenance applications as it is possible to perform simulations of a measurement directly from the NeXus file. The realization at the Aquarius beamline * at Bessy II in connection with the Ray-UI simulation software ** and RayPyNG API *** serves as a prototype for a more general application.
* https://www.helmholtz-berlin.de/forschung/oe/wi/optik-strahlrohre/projekte/aquariusen.html
** https://doi.org/10.1063/1.5084665
*** https://pypi.org/project/raypyng
 
slides icon Slides THMBCMO17 [0.632 MB]  
poster icon Poster THMBCMO17 [0.828 MB]  
DOI • reference for this paper ※ doi:10.18429/JACoW-ICALEPCS2023-THMBCMO17  
About • Received ※ 06 October 2023 — Accepted ※ 11 December 2023 — Issued ※ 14 December 2023  
Cite • reference for this paper using ※ BibTeX, ※ LaTeX, ※ Text/Word, ※ RIS, ※ EndNote (xml)  
 
THMBCMO18 Advancements in Beamline Digital Twin at BESSYII 1236
 
  • S. Vadilonga, G. Günther, S. Kazarski, R. Ovsyannikov, S.S. Sachse, W. Smith
    HZB, Berlin, Germany
 
  This presentation reports on the status of beamline digital twins at BESSY II. To provide a comprehensive beamline simulation experience we have leveraged BESSY II’s x-ray tracing program, RAY-UI[*], widely used for beamline design and commissioning and best adapted to the requirements of our soft X-ray source BESSY II. We created a Python API, RayPyNG, capable to convert our library of beamline configuration files produced by RAY-UI into Python objects[**]. This allows to embed beamline simulation into Bluesky[***], our experimental controls software ecosystem. All optical elements are mapped directly into the Bluesky device abstraction (Ophyd). Thus beamline operators can run simulations and operate real systems by a common interface, allowing to directly compare theory predictions with real-time results[****]. We will discuss the relevance of this digital twin for process tuning in terms of enhanced beamline performance and streamlined operations. We will shortly discuss alternatives to RAY-UI like other software packages and ML/AI surrogate models.
[*]https://doi.org/10.1063/1.5084665
[**]https://raypyng.readthedocs.io/
[***]https://doi.org/10.1080/08940886.2019.1608121
[****]https://raypyng-bluesky.readthedocs.io/
 
slides icon Slides THMBCMO18 [0.333 MB]  
DOI • reference for this paper ※ doi:10.18429/JACoW-ICALEPCS2023-THMBCMO18  
About • Received ※ 06 October 2023 — Accepted ※ 11 December 2023 — Issued ※ 16 December 2023  
Cite • reference for this paper using ※ BibTeX, ※ LaTeX, ※ Text/Word, ※ RIS, ※ EndNote (xml)  
 
THMBCMO21 Development of Standard MicroTCA Deployment at ESS 1238
 
  • F. Chicken, J.J. Jamróz, J.P.S. Martins
    ESS, Lund, Sweden
 
  At the European Spallation Source, over 300 MicroTCA systems will be deployed over the accelerator, target area and instruments. Covering integrations for RF, Beam Instrumentation, Machine Protection and Timing Distribution systems, ESS has developed a method to standardise the deployment of the basic MicroTCA system configuration using a combination of Python scripts and Ansible playbooks with a view to ensure long-term maintainability of the systems and future upgrades. By using Python scripts to setup, the Micro Carrier Hub (MCH) registering it on the network and update the firmware to our chosen version, and Ansible playbooks to register the Concurrent Technologies CPU on the ESS network and install the chosen Linux OS before a second playbook installs the ESS EPICs Environment (E3) ensures all new systems have identical setup procedures and have all the necessary packages before the on-site integration is started.  
slides icon Slides THMBCMO21 [0.686 MB]  
poster icon Poster THMBCMO21 [2.560 MB]  
DOI • reference for this paper ※ doi:10.18429/JACoW-ICALEPCS2023-THMBCMO21  
About • Received ※ 05 October 2023 — Revised ※ 25 October 2023 — Accepted ※ 11 December 2023 — Issued ※ 16 December 2023
Cite • reference for this paper using ※ BibTeX, ※ LaTeX, ※ Text/Word, ※ RIS, ※ EndNote (xml)  
 
THMBCMO22 Towards Defining a Synchronization Standard Between Beamline Components and Synchrotron Accelerators 1242
 
  • J.A. Avila-Abellan, X. Serra-Gallifapresenter
    ALBA-CELLS, Cerdanyola del Vallès, Spain
  • T.M. Cobb
    DLS, Oxfordshire, United Kingdom
  • R. Hino
    ESRF, Grenoble, France
  • O.H. Seeck
    DESY, Hamburg, Germany
  • S. Zhang
    SOLEIL, Gif-sur-Yvette, France
 
  Funding: LEAPS-INNOV project has received funding from the European Union’s Horizon 2020 research and innovation program under Grant Agreement No 101004728
Standardization is a magic word in the electronics engineering jargon. Under its umbrella, it is generated the utopia of transparent integration with the rest of the parts with minimal extra effort for the software integration. But the experimental setup in a synchrotron beamline presents multiple challenges: it is highly dynamic and diverse. In the frame of LEAPS-INNOV project (*), the Task 3 of Work Package 5 aims to define a standard for synchronization in the beamline sample environment. Their partners (ALBA, DESY, DLS, ESRF and SOLEIL) have already reached a common vision of synchronization requirements. This paper first details the participants’ actual synchronization needs on their facilities. Next, the requirements foreseen for the future are outlined in terms of interfaces, time constraints and compatibility with timing systems. To conclude, we summarize the current state of the project: the hardware interfaces and the hardware platform definition. They both have been decided considering long-term availability, use of standard sub-components, and keeping the compromise between cost, development time, maintenance, reliability, flexibility and performance. This hardware architecture proposal meets the identified requirements. In the future, under the scope of LEAPS-INNOV, a demonstrator will be built, and we will work with the industry for its future commercialization.
 
slides icon Slides THMBCMO22 [1.592 MB]  
poster icon Poster THMBCMO22 [0.760 MB]  
DOI • reference for this paper ※ doi:10.18429/JACoW-ICALEPCS2023-THMBCMO22  
About • Received ※ 06 October 2023 — Revised ※ 11 October 2023 — Accepted ※ 11 December 2023 — Issued ※ 19 December 2023
Cite • reference for this paper using ※ BibTeX, ※ LaTeX, ※ Text/Word, ※ RIS, ※ EndNote (xml)  
 
THMBCMO23 Development of a New Timing System for ISIS 1247
 
  • R.A. Washington
    STFC/RAL/ISIS, Chilton, Didcot, Oxon, United Kingdom
 
  The timing system at the ISIS Neutron and Muon source has been operating in its current iteration since 2008. Machine timing is handled by the Central Timing Distributor (CTD) which transmits various timing signals to ISIS accelerator equipment over RS-422 compliant timing buses. The nature of these timing signals has not changed since ISIS first delivered neutrons in 1984, and this paper will look at how an event-based timing system can be employed in the next generation of timing system for ISIS. A new timing system should allow for the distribution of events, triggers and timestamps, provide an increase in timing resolution and be fully backwards compatible with the current timing frame. The new Digitised Waveform System (DWS) at ISIS supports White Rabbit (WR). There is an available WR network which can be used to investigate a new timing system based on WR technology. Conclusions will be drawn from installing this new system in parallel with the current timing system; a comparison between the systems, alternatives, and next steps will be discussed.  
slides icon Slides THMBCMO23 [0.798 MB]  
DOI • reference for this paper ※ doi:10.18429/JACoW-ICALEPCS2023-THMBCMO23  
About • Received ※ 05 October 2023 — Revised ※ 10 October 2023 — Accepted ※ 13 December 2023 — Issued ※ 17 December 2023
Cite • reference for this paper using ※ BibTeX, ※ LaTeX, ※ Text/Word, ※ RIS, ※ EndNote (xml)  
 
THMBCMO24 Time Synchronization and Timestamping for the ESS Neutron Instruments 1250
 
  • N. Holmberg, T. Brys, T. Bögershausen, M. Olsson, J.E. Petersson, A. Pettersson, T.S. Richter, F. Rojas
    ESS, Lund, Sweden
 
  Funding: Tillväxtverket (Sweden) & European Union
The European Spallation Source (ESS) will be a cutting-edge research facility that uses neutrons to study the properties of materials. This paper presents the timestamping strategy employed in the neutron instruments of the ESS, to enable efficient data correlation across subsystems and between different sources of experiment data. ESS uses absolute timestamps for all data and a global source clock to synchronize and timestamp data at the lowest appropriate level from each subsystem. This way we control the impact of jitter, delays and latencies when transferring experiment data to the data storage. ESS utilizes three time synchronisation technologies. The Network Time Protocol (NTP) providing an expected accuracy of approximately 10 milliseconds, the Precision Time Protocol (PTP) delivering roughly 10 microsecond accuracy, and hardware timing using Microreseach Finland (MRF) Event Receivers (EVR) which can reach 10 nanoseconds of accuracy. Both NTP and PTP rely on network communication using common internet protocols, while the EVRs use physical input and output signals combined with timestamp latching in hardware. The selection of the timestamping technology for each device and subsystem is based on their timestamp accuracy requirements, available interfaces, and cost requirements. This paper describes the choice of method used for different device types, like neutron choppers, detectors or sample environment equipment and covers some details of the implementation and characterisation.
 
slides icon Slides THMBCMO24 [0.384 MB]  
DOI • reference for this paper ※ doi:10.18429/JACoW-ICALEPCS2023-THMBCMO24  
About • Received ※ 06 October 2023 — Accepted ※ 11 December 2023 — Issued ※ 13 December 2023  
Cite • reference for this paper using ※ BibTeX, ※ LaTeX, ※ Text/Word, ※ RIS, ※ EndNote (xml)  
 
THMBCMO26 FRIB Beam Power Ramp Process Checker at Chopper Monitor 1256
 
  • Z. Li, E. Bernal, J. Hartford, M. Ikegami
    FRIB, East Lansing, Michigan, USA
 
  Funding: Work supporting the U.S. Dept. of Energy Office of Science under Cooperative Agreement DE-SC0023633
Chopper in the low energy beam line is a key ele-ment to control beam power in FRIB. As appropriate functioning of chopper is critical for machine protec-tion for FRIB, an FPGA-based chopper monitoring system was developed to monitor the beam gated pulse at logic level, deflection high voltage level, and in-duced charge/discharge current levels, and shut off beam promptly at detection of a deviation outside tolerance. Once FRIB beam power reaches a certain level, a cold start beam ramp mode in which the pulse repetition frequency and pulse width are linearly ramped up becomes required to mitigate heat shock to the target at beam restart. Chopper also needs to gen-erate a notch in every machine cycle of 10 ms that is used for beam diagnostics. To overcome the challeng-es of monitoring such a ramping process and meeting the response time requirement of shutting off beam, two types of process checkers, namely, monitoring at the pulse level and monitoring at the machine cycle level, have been implemented. A pulse look ahead algorithm to calculate the expected range of frequency dips and rises was developed, and a simplified mathe-matical model suitable for multiple ramp stages was built to calculate expected time parameters of accumu-lated pulse on time within a given machine cycle. Both will be discussed in detail in this paper, followed by simulation results with FPGA test bench and actual instrument test results with the beam ramp process.
 
slides icon Slides THMBCMO26 [0.389 MB]  
poster icon Poster THMBCMO26 [3.028 MB]  
DOI • reference for this paper ※ doi:10.18429/JACoW-ICALEPCS2023-THMBCMO26  
About • Received ※ 04 October 2023 — Revised ※ 10 October 2023 — Accepted ※ 13 October 2023 — Issued ※ 24 October 2023
Cite • reference for this paper using ※ BibTeX, ※ LaTeX, ※ Text/Word, ※ RIS, ※ EndNote (xml)  
 
THMBCMO29 Motion Controls for ORNL Neutron Science Experimental Beamlines 1261
 
  • X. Geng, A. Groff, M.R. Pearson, G. Taufer
    ORNL, Oak Ridge, Tennessee, USA
 
  Funding: ORNL is managed by UT-Battelle, LLC, under contract DE-AC05-00OR22725 for the U. S. Department of Energy
This paper presents a comprehensive overview of the motion control systems employed within the neutron science user facilities at Oak Ridge National Laboratory (ORNL). The Spallation Neutron Source (SNS) and the High Flux Isotope Reactor (HFIR) at ORNL have a total of 35 neutron beam lines with numerous motors for mo-tion control. The motion systems vary in complexity from a linear sample positioning stage to multi-axis end stations. To enhance the capabilities of these motion systems, a concerted effort has been made to establish standardized hardware and flexible software that improve performance, increase reliability and provide the capability for automated experiments. The report discusses the various motion controllers used, the EPICS-based IOCs (Input Output Controllers), high-level motion software, and plans for ongoing upgrades and new projects.
 
slides icon Slides THMBCMO29 [1.893 MB]  
poster icon Poster THMBCMO29 [6.483 MB]  
DOI • reference for this paper ※ doi:10.18429/JACoW-ICALEPCS2023-THMBCMO29  
About • Received ※ 05 October 2023 — Revised ※ 10 October 2023 — Accepted ※ 13 December 2023 — Issued ※ 22 December 2023
Cite • reference for this paper using ※ BibTeX, ※ LaTeX, ※ Text/Word, ※ RIS, ※ EndNote (xml)  
 
THMBCMO30 Using ArUco Codes for Beam Spot Analysis with a Camera at an Unknown Position 1264
 
  • W. Smith, M. Arce, M. Bär, M. Gorgoi, C.E. Jimenez, I. Rudolph
    HZB, Berlin, Germany
 
  Measuring the focus size and position of an X-ray beam at the interaction point in an synchrotron beamline is a critical parameter that is used when planning experiments and when determining if a beamline is achieving it’s design goals. Commonly this is performed using a dedicated UHV "focus chamber" comprising a fluorescent screen at an adjustable calibrated distance from the mounting flange and a camera on the same axis as the beam. Having to install a large piece of hardware makes regular checks prohibitively time consuming. A fluorescent screen can be mounted to a sample holder and moved using a manipulator in the existing end-station and a camera pointed at this to show a warped version of the beam spot at the interaction point. The warping of the image is caused by the relative position of the camera to the screen, which is difficult to determine and can change and come out of camera focus as the manipulator is moved. This paper proposes a solution to this problem using ArUco codes printed onto a fluorescent screen which provide a reference in the image. Reference points from the ArUco codes are recovered from an image and used to correct warping and provide a calibration in real time using an EPICS AreaDetector plugin using OpenCV. This analysis is presently in commissioning and aims to characterise the beam spots at the dual-colour beamline of the EMIL laboratory at BESSY II.  
slides icon Slides THMBCMO30 [4.674 MB]  
poster icon Poster THMBCMO30 [0.942 MB]  
DOI • reference for this paper ※ doi:10.18429/JACoW-ICALEPCS2023-THMBCMO30  
About • Received ※ 16 September 2023 — Revised ※ 10 October 2023 — Accepted ※ 13 October 2023 — Issued ※ 22 October 2023
Cite • reference for this paper using ※ BibTeX, ※ LaTeX, ※ Text/Word, ※ RIS, ※ EndNote (xml)  
 
THMBCMO31 LImA2: Edge Distributed Acquisition and Processing Framework for High Performance 2D Detectors 1269
 
  • S. Debionne, L. Claustre, P. Fajardo, A. Götz, A. Homs Puronpresenter, J. Kieffer, R. Ponsard
    ESRF, Grenoble, France
 
  LImA* is a framework born at the ESRF for 2D Data Acquisition (DAQ), basic Online Data Analysis (ODA) and processing with high-throughput detectors. While in production for 15 years in several synchrotron facilities, the ever-increasing detector frame rates make more and more difficult performing DAQ & ODA tasks on a single computer**. LImA2 is designed to scale horizontally, using multiple hosts for DAQ & ODA. This enables more advanced strategies for data feature extraction while keeping a low latency. LImA2 separates three functional blocks: detector control, image acquisition, and data processing. A control process configures the detector, while one or more receiver processes perform the DAQ and ODA, like the generation of fast feedback signals. The detectors currently supported in LImA2 are the PSI/Jungfrau, the ESRF/Smartpix and the Dectris/Eiger2. The former performs pixel assembly and intensity correction in GPU; the second exploits RoCE capabilities; and the latter features dual threshold, multi-band images. Raw data rates up to 8 GByte/s can be handled by a single computer, scalable if necessary. In addition to a classic processing, advanced pipelines are also implemented. A Serial-MX/pyFAI*** pipeline extracts diffraction peaks in GPU in order to filter low quality data. NVIDIA GPUDirect is used by a third pipeline providing 2D processing with remarkable low latency. IBM Power9 optimizations like the NX GZIP compression and the PCI-e multi-host extension are exploited.
* LIMA - https://accelconf.web.cern.ch/ICALEPCS2013/papers/frcoaab08.pdf
** Jungfraujoch - https://doi.org/10.1107/S1600577522010268
*** pyFAI - https://doi.org/10.1107/S1600576715004306
 
slides icon Slides THMBCMO31 [0.572 MB]  
poster icon Poster THMBCMO31 [14.959 MB]  
DOI • reference for this paper ※ doi:10.18429/JACoW-ICALEPCS2023-THMBCMO31  
About • Received ※ 06 October 2023 — Revised ※ 08 October 2023 — Accepted ※ 11 December 2023 — Issued ※ 13 December 2023
Cite • reference for this paper using ※ BibTeX, ※ LaTeX, ※ Text/Word, ※ RIS, ※ EndNote (xml)  
 
THMBCMO32 Robotic Process Automation: on the Continuity of Applications Development at SOLEIL 1275
 
  • L.E. Munoz, Y.-M. Abiven, M.-E. Couprie, A. Noureddine, J. Perez, A. Thureau, M. Valléau
    SOLEIL, Gif-sur-Yvette, France
 
  SOLEIL is currently in the Technical Design Report (TDR) phase of a major upgrade of the facility. In its digital transformation, the development of processes and systems with a high degree of autonomy is at the center of the SOLEIL II project. One of the important components used to achieve a high degree of autonomy is the use of 6-axis robotic arms. Thus, in recent years, SOLEIL has developed and put into operation robotic applications to automate some processes of its beamlines and some processes of magnetic measurements of the insertion devices. The last year SOLEIL has been developing two new robotic applications, having thus continuity in the development of applications using its robotic standard. This paper describes these two new applications that being developed to automate the injection of liquid samples for BioSAXS experiments at the SWING beamline and to automate the mechanical and magnetic adjustment of the modules that compose an insertion device.  
slides icon Slides THMBCMO32 [17.856 MB]  
poster icon Poster THMBCMO32 [1.484 MB]  
DOI • reference for this paper ※ doi:10.18429/JACoW-ICALEPCS2023-THMBCMO32  
About • Received ※ 05 October 2023 — Revised ※ 25 October 2023 — Accepted ※ 13 December 2023 — Issued ※ 22 December 2023
Cite • reference for this paper using ※ BibTeX, ※ LaTeX, ※ Text/Word, ※ RIS, ※ EndNote (xml)  
 
THMBCMO34 Ultra-High Throughput Automated Macromolecular Crystallography Data Collection Using the Bluesky Framework 1280
 
  • D.P. Perl, N. Frisina, D.E. Oram, N.P. Paterson
    DLS, Oxfordshire, United Kingdom
 
  At Diamond Light Source, several Macromolecular Crystallography (MX) beamlines focus on, or include, completely automated data collection. This is used primarily for high throughput collection on samples with known or partially known structures, for example, screening a protein for drug or drug fragment interactions. The automated data collection routines are currently built on legacy experiment orchestration software which includes a lot of redundancy originally implemented for safety when human users are controlling the beamline, but which is inefficient when the beamline hardware occupies a smaller number of known states. Diamond is building its next generation, service-based, Data Acquisition Platform, Athena, using NSLSII’s Bluesky experiment orchestration library. The Bluesky library facilitates optimising the orchestration of experiment control by simplifying the work necessary to parallelise and reorganise the steps of an experimental procedure. The MX data acquisition team at Diamond is using the Athena platform to increase the possible rate of automated MX data collection both for immediate use and in preparation to take advantage of the upgraded Diamond-II synchrotron, due in several years. This project, named Hyperion, will include sample orientation and centring, fluorescence scanning, optical monitoring, collection strategy determination, and rotation data collection at multiple positions on a single sample pin.  
slides icon Slides THMBCMO34 [1.002 MB]  
poster icon Poster THMBCMO34 [3.445 MB]  
DOI • reference for this paper ※ doi:10.18429/JACoW-ICALEPCS2023-THMBCMO34  
About • Received ※ 04 October 2023 — Revised ※ 10 October 2023 — Accepted ※ 13 December 2023 — Issued ※ 19 December 2023
Cite • reference for this paper using ※ BibTeX, ※ LaTeX, ※ Text/Word, ※ RIS, ※ EndNote (xml)  
 
THMBCMO35 Piezo Motor Based Hardware Triggered Nano Focus Caustic Acquisition 1285
 
  • L.B.C. Campoi, G.S.R. Costa, N. Lopes Archilha, G.B.Z.L. Moreno, L.E.P. Vecina
    LNLS, Campinas, Brazil
 
  The evaluation of the focus produced by a KB (Kirkpatrick-Baez) mirror system is a challenging endeavor. In MOGNO (Micro and nano tomography) beamline’s case at Sirius, the KB was designed to produce a focus of 150x150 nm2, requiring a setup to evaluate the mirrors’ alignment in a timely manner. The developed diagnostic system is comprised of a stack of three linear inertia drive piezo stages and a fluorescence detector, acquiring data via hardware-triggered mesh scans. In the piezo stack, the stages are mounted along the X (horizontal, perpendicular to the beam path), Z (along the beam path) and YZ beamline directions. Moreover, the fact that a stage is placed at an angle requires the use of a kinematic transformation when scaning the focus along the Y axis, while the X axis scan can be done with a pure motion. The mesh scan can be diveded in two parts: hardware triggered line scan acquisition along X or Y and software triggered steps along Z between scans. In this manner, the control is done via a collection of low-level controller macros and Python scripts, such that during the scans, the piezo controllers communicate with each other and the detector via digital pulses, orchestrated by the in-house TATU (Timing and Trigger Unit) software*, reducing dead time between acquisition points. The proposed system proved to be reliable to acquire beam profiles, providing caustics in both horizontal and vertical directions. Currently, the acquired focus caustics indicate that the main source has a size of approximately 480x500 nm2.
* TATU: A Flexible FPGA-Based Trigger and Timer Unit Created on CompactRIO for the First Sirius Beamlines ISBN 978-3-95450-221-9 ISSN 2226-0358 URL https://jacow.org/icalepcs2021/papers/thpv021.pdf
 
slides icon Slides THMBCMO35 [1.608 MB]  
poster icon Poster THMBCMO35 [1.666 MB]  
DOI • reference for this paper ※ doi:10.18429/JACoW-ICALEPCS2023-THMBCMO35  
About • Received ※ 06 October 2023 — Revised ※ 25 October 2023 — Accepted ※ 13 December 2023 — Issued ※ 20 December 2023
Cite • reference for this paper using ※ BibTeX, ※ LaTeX, ※ Text/Word, ※ RIS, ※ EndNote (xml)  
 
THMBCMO36 Video Compression for areaDetector 1290
 
  • B.A. Sobhani
    ORNL, Oak Ridge, Tennessee, USA
 
  At neutron sources such as SNS and HFIR, neutrons collide with neutron detectors at a much lower rate than light would for an optical detector. Additionally, the image typically does not pan or otherwise move. This means that the incremental element-by-element differences between frames will be small. This makes neutron imaging data an ideal candidate for video-level compression where the incremental differences between frames are compressed and sent, as opposed to image-level compression where the entire frame is compressed and sent. This paper describes an EPICS video compression plugin for areaDetector that was developed at SNS.  
slides icon Slides THMBCMO36 [0.312 MB]  
poster icon Poster THMBCMO36 [0.221 MB]  
DOI • reference for this paper ※ doi:10.18429/JACoW-ICALEPCS2023-THMBCMO36  
About • Received ※ 05 October 2023 — Revised ※ 12 October 2023 — Accepted ※ 13 December 2023 — Issued ※ 15 December 2023
Cite • reference for this paper using ※ BibTeX, ※ LaTeX, ※ Text/Word, ※ RIS, ※ EndNote (xml)  
 
THMBCMO38
Jungfraujoch: Data Acquisition and Real-Time Image Analysis System for Kilohertz X-Ray Pixel Array Detector  
 
  • F. Leonarski, M. Brückner, C. Lopez-Cuenca, A. Mozzanica, H.C. Stadler Kleeb, M. Wang
    PSI, Villigen PSI, Switzerland
 
  Funding: F.L. acknowledges funding from the Open Research Data Program of the ETH Board and an innovation project supported by Innosuisse.
The Swiss Light Source (SLS) will shortly start an upgrade to become a 4th generation light source. The higher brilliance of the new source brings new science opportunities - one of them is improving time resolution for X-ray crystallography to a microsecond regime. However, fully utilizing the new machine will require increasing the frame rate of pixel array detectors and, thus, data volume. Nine-megapixel JUNGFRAU detector* planned for SLS 2.0 beamlines will generate up to 36 GB/s raw data when operated at 2 kHz**, which is very challenging for computing infrastructure. To operate this JUNGFRAU detector, PSI has developed a ’Jungfraujoch’ read-out system***. The system can handle the complete data rate within a single server box for fast deployment at various beamlines. The system uses FPGA smart network interface cards for data acquisition, GPUs for on-the-fly image analysis (e.g., spot finding, radial integration), and high-end CPUs for image compression. In the presentation, I will show Jungfraujoch’s capabilities, experience from time-resolved macromolecular crystallography beamtimes, and technical details. I will highlight how FPGA design with high-level languages (C/C++) can help software developers design programmable logic quickly and how it can help in rapid verification. I will also present experiences working with a memory-coherent interconnect (OpenCAPI) to integrate FPGA boards into the server system and how it compares with a mainstream peripheral bus (PCI Express).
* F. Leonarski et al. (2018). Nat. Methods, 15, 799-804.
** F. Leonarski et al. (2020). Struct. Dyn., 7, 014305.
*** F. Leonarski et al. (2022). J. Synchrotron Rad., 30, 227-234.
 
slides icon Slides THMBCMO38 [0.345 MB]  
poster icon Poster THMBCMO38 [2.708 MB]  
Cite • reference for this paper using ※ BibTeX, ※ LaTeX, ※ Text/Word, ※ RIS, ※ EndNote (xml)