Experiment Control
Paper Title Page
TUPV042 Collision Avoidance Systems in Synchrotron SOLEIL 501
  • C. Engblom, S. Akinotcho, L. Amelineau, D.C. Corruble, P. Monteiro, L.E. Munoz, B. Pilliaud, G. Thibaux, S. Zhang
    SOLEIL, Gif-sur-Yvette, France
  • S. Bouvel
    EFOR, Levallois Perret, France
  Beamlines at Synchrotron SOLEIL are finding that their experimental setups (in respect to their respective sample environments, mechanical systems, and detectors) are getting more constrained when it comes to motorized manoeuvrability - an increasing number of mechanical instruments are being actuated within the same workspace hence increasing the risk of collision. We will in this paper outline setups with two types of Collision Avoidance Systems (CAS): (1) Static-CAS applications, currently being employed at the PUMA and NANOSCOPIUM beamlines, that use physical or contactless sensors coupled with PLC- and motion control- systems; (2) Dynamic-CAS applications, that use dynamic anti-collision algorithms combining encoder feedback and 3D-models of the system environment, implemented at the ANTARES and MARS beamlines but applied using two different strategies.  
poster icon Poster TUPV042 [1.670 MB]  
DOI • reference for this paper ※ https://doi.org/10.18429/JACoW-ICALEPCS2021-TUPV042  
About • Received ※ 10 October 2021       Revised ※ 20 October 2021       Accepted ※ 21 December 2021       Issue date ※ 17 January 2022
Cite • reference for this paper using ※ BibTeX, ※ LaTeX, ※ Text/Word, ※ RIS, ※ EndNote (xml)  
BLISS at the heart of ESRF Data Acquisition  
  • M. Guijarro
    ESRF, Grenoble, France
  Since the restart of the User Program after the Extremly Brilliant Source ugrade, BLISS is the new beamline control system at ESRF. 16 ESRF beamlines are controlling their experiments with BLISS. Full deployment is aimed on all beamlines by the end of 2023. BLISS is an all-in-one solution for beamline experiments, ranging from experiment control sequences and data acquisition to live visualization. BLISS is entirely written in Python and integrates seamlessly into Python tool chains. ESRF beamline staff and users alike can benefit from thousands of Python packages at their fingertips to improve data acquisition sequences. The BLISS team, which is part of the Beamline Control Unit within the Software Group, is in charge of the BLISS development. All primary objectives have been reached and nowadays the BLISS team is working on improving parts of the system ; most notably, focus is put on the interaction with other ESRF software like Daiquiri, our web framework for graphical applications, or online data analysis. This paper describes the actual state of BLISS and presents newest, most innovative features, that put BLISS at the heart of the ESRF data acquisition ecosystem.  
Cite • reference for this paper using ※ BibTeX, ※ LaTeX, ※ Text/Word, ※ RIS, ※ EndNote (xml)  
Remote User Operation with Karabo at the European XFEL  
  • A. Silenzi, V. Bondar, C. Carinan, R. Costa, W. Ehsan, S.G. Esenov, R. Fabbri, G. Flucke, G. Giovanetti, D. Goeries, S. Hauf, D.G. Hickin, A. Klimovskaia, A. Lein, J. Malka, D. Mamchyk, A. Parenti, J. Szuba, K. Wrona, C. Youngman
    EuXFEL, Hamburg, Germany
  • D.P. Spruce
    MAX IV Laboratory, Lund University, Lund, Sweden
  At the European XFEL, scientific instruments are operated using the Karabo control system which has been developed in-house to serve the need of a tight integration of experiment control, data acquisition and data processing for fast experimental feedback. Karabo uses broker-based communication between its pluggable components, so-called devices. The generic, PyQt-based graphical user interface (GUI) interacts with the system via a TCP connection to a GUI server device. The travel and contact restrictions enacted in response to the COVID-19 pandemic have prevented many facility users from coming on site. In order to enable an easier remote user participation in experiments, a read-only version of the GUI server has been developed ad-hoc, and made available during Summer 2020. Obviously, easy and safe remote access has advantages beyond the current travel restrictions. Therefore, activities to provide a web-technology based front-end to Karabo have been accelerated. Perspectively, this interface aims to ensure remote accessibility, while conforming to scientific data and general privacy policies relevant for the European XFEL.  
Cite • reference for this paper using ※ BibTeX, ※ LaTeX, ※ Text/Word, ※ RIS, ※ EndNote (xml)  
Mamba: The experimental control and data acquisition software system for next generation beamlines in HEPS  
  • Y. Zhang, J.S. Cao
    IHEP, Beijing, People’s Republic of China
  • C.P. Chu
    Nanjing University, College of Engineering and Applied Sciences, Nanjing, People’s Republic of China
  The launch of Mamba data acquisition software project is aiming to offer a unified science-oriented software solution for experimental control and data acquisation in the High Energy Photon Source (HEPS) of China, a diffraction limited storage ring synchrotron light source with an estimated completion in 2025. The main features for Mamba is the separation of control and data management functionalities, with the highly layered control part designed on top of the Bluesky (NSLS II) and data management part tailored for HEPS needs using original codes and innovative in-house designed frameworks. Mamba also has a server-client design to make it more user-friendly with sophisticated GUI application developments and automated metadata acquisition schemes. Within the Mamba framework, two specialized software projects will be launched, with the Mamba data worker serves as a data multiplexing and management tool to address challenges of implementing high throughput area detectors and data processing of multimodal experiments in HEPS, and the Mamba GUI studio as an dedicated OPI for GUI application of HEPS beamlines and other python based data acquisition and analysis software systems.  
poster icon Poster TUPV045 [1.033 MB]  
Cite • reference for this paper using ※ BibTeX, ※ LaTeX, ※ Text/Word, ※ RIS, ※ EndNote (xml)  
TUPV046 Modification of Data Acquisition System in HLS-II Experimental Station 506
  • Z. Zhang, G. Liu
    USTC/NSRL, Hefei, Anhui, People’s Republic of China
  With the proposal of the concept of super-facility in recent years, users of experimental stations only need to pay attention to data with scientific significance, and the management of massive experimental data are assisted by the super-facility technical support platform to effectively improve user efficiency. Based on this theory, we modified the data acquisition system of the XMCD experimental station in HLS-II. We continue to use LabVIEW software to reduce development workload. Meanwhile, we have added the interaction program with the high-level application in the original data acquisition process under the principle of keeping the user habits of XMCD experimental station. We have modularized the XMCD experimental software and redesigned the experimental architecture into 4 modules: Swiping Card Module, Experimental Equipment Control Module, Storage System Interaction Module and Data Management System Interaction Module. In this way, we have completed the collection of rawdata and metadata, the docking of the data persistent storage system, and the docking of data centralized management.  
poster icon Poster TUPV046 [1.640 MB]  
DOI • reference for this paper ※ https://doi.org/10.18429/JACoW-ICALEPCS2021-TUPV046  
About • Received ※ 09 October 2021       Revised ※ 06 November 2021       Accepted ※ 15 January 2022       Issue date ※ 15 March 2022
Cite • reference for this paper using ※ BibTeX, ※ LaTeX, ※ Text/Word, ※ RIS, ※ EndNote (xml)  
TUPV047 Controlling the CERN Experimental Area Beams 509
  • B. Rae, V. Baggiolini, D. Banerjee, J. Bernhard, M. Brugger, N. Charitonidis, M. Gabriel, A. Gerbershagen, R. Gorbonosov, M. Hrabia, M. Peryt, C. Roderick, G. Romagnoli
    CERN, Geneva, Switzerland
  • L. Gatignon
    Lancaster University, Lancaster, United Kingdom
  The CERN fixed target experimental areas are comprised of more than 8km of beam line with around 800 devices used to control and measure the beam. Each year more than 140 groups of users come to perform experiments in these areas, with a need to access the data from these devices. The software to allow this therefore has to be simple, robust, and be able to control and read out all types of beam devices. This contribution describes the functionality of the beamline control system, CESAR, and its evolution. This includes all the features that can be used by the beamline physicists, operators, and device experts that work in the experimental areas. It also underlines the flexibility that the software provides to the experimental users for control of their beam line during data taking, allowing them to manage this in a very easy and independent way. This contribution also covers the on-going work of providing MAD-X support to CESAR to achieve an easier way of developing and integrating beam optics. An overview of the on-going software migration of the Experimental Areas is also given.  
poster icon Poster TUPV047 [1.262 MB]  
DOI • reference for this paper ※ https://doi.org/10.18429/JACoW-ICALEPCS2021-TUPV047  
About • Received ※ 11 October 2021       Revised ※ 21 October 2021       Accepted ※ 21 December 2021       Issue date ※ 18 January 2022
Cite • reference for this paper using ※ BibTeX, ※ LaTeX, ※ Text/Word, ※ RIS, ※ EndNote (xml)  
TUPV048 Updates and Remote Challenges for IBEX, Beamline Control at ISIS Pulsed Neutron and Muon Source 514
  • F.A. Akeroyd, K.V.L. Baker, L. Cole, J.R. Harper, D.P. Keymer, J.C. King, A.J. Long, T. Löhnert, C. Moreton-Smith, D.E. Oram, B. Rai
    STFC/RAL/ISIS, Chilton, Didcot, Oxon, United Kingdom
  IBEX is the EPICS based experiment control system now running on most of the beamlines at the ISIS Neutron and Muon Source, with plans to deploy to all remaining beamlines by the end of the upcoming long shutdown. Over the last couple of years we have added support for reflectometry and muon instruments, developed a script generator, moved from Python 2 to Python 3, and continued to build on our suite of device emulators and tests. The reflectometry inclusions required the development of a framework to maintain the complex motion control requirements for that science technique. Whilst it is desirable that IBEX is easily configurable, not all operations should be available to all users, so we have implemented functionality to manage such access. The COVID-19 pandemic has meant we have also had to adapt to greater amounts of remote experiment access, for which we developed systems covering both IBEX and the old SECI control system. This presentation will aim to provide a brief update on the recent changes to IBEX, as well as outlining the remote operation solutions employed  
poster icon Poster TUPV048 [1.332 MB]  
DOI • reference for this paper ※ https://doi.org/10.18429/JACoW-ICALEPCS2021-TUPV048  
About • Received ※ 10 October 2021       Revised ※ 18 October 2021       Accepted ※ 20 November 2021       Issue date ※ 14 March 2022
Cite • reference for this paper using ※ BibTeX, ※ LaTeX, ※ Text/Word, ※ RIS, ※ EndNote (xml)  
TUPV049 The IBEX Script Generator 519
  • J.C. King, J.R. Harper, A.J. Long, T. Löhnert, D.E. Oram
    STFC/RAL/ISIS, Chilton, Didcot, Oxon, United Kingdom
  Experiment scripting is a key element of maximising utilisation of beam time at the ISIS Neutron and Muon Source, but can be prone to typing and logic errors. The IBEX Script Generator enables collaboration between instrument users and scientists to remove the need to write a script for many experiments, so improving reliability and control. For maximum applicability, the script generator needs to be easily configurable. Instrument scientists define action parameters, and functions for action execution, time estimation and validation, to produce a "script definition". A user then generates a Python script by organising a table of actions and their values, which are validated in real time, and can then be submitted to a script server for execution. Py4J is used to bridge a Java front end with Python script definitions. An iterative user-focused approach has been employed with Squish UI testing to achieve a behaviour-driven development workflow, along with Jenkins for continuous integration. Further planned development includes dynamic scripting ’ controlling the execution of actions during the experiment ’ action iteration and user experience improvement.  
poster icon Poster TUPV049 [1.051 MB]  
DOI • reference for this paper ※ https://doi.org/10.18429/JACoW-ICALEPCS2021-TUPV049  
About • Received ※ 09 October 2021       Revised ※ 19 October 2021       Accepted ※ 20 November 2021       Issue date ※ 23 November 2021
Cite • reference for this paper using ※ BibTeX, ※ LaTeX, ※ Text/Word, ※ RIS, ※ EndNote (xml)  
TUPV050 Control System Upgrade of the High-Pressure Cell for Pressure-Jump X-Ray Diffraction 524
  • R. Mercado, N.L. Griffin, P. Holloway, S.C. Lay, P.J. Roberts
    DLS, Oxfordshire, United Kingdom
  This paper reports on the upgrade of the control system of a sample environment used to pressurise samples to 500 MPa at temperatures between -20 °C and 120 °C. The equipment can achieve millisecond pressure jumps for use in X-ray scattering experiments. It has been routinely available in beamline I22 at Diamond. The millisecond pressure-jump capability is unique. Example applications were the demonstration of pressure-induced formation of super crystals from PEGylated gold nanoparticles and the study of controlled assembly and disassembly of nanoscale protein cages. The project goal was to migrate the control system for the improved integration to EPICS and the GDA data acquisition software. The original control system uses National Instruments hardware controlled from LabView. The project looked at mapping the old control system hardware to alternatives in use at Diamond and migrating the control software. The paper discusses the choice of equipment used for ADC acquisition and equipment protection, using Omron PLCs and Beckhoff EtherCAT modules, a custom jump-trigger circuit, the calibration of the system and the next steps for testing the system.  
DOI • reference for this paper ※ https://doi.org/10.18429/JACoW-ICALEPCS2021-TUPV050  
About • Received ※ 13 October 2021       Revised ※ 29 October 2021       Accepted ※ 21 December 2021       Issue date ※ 22 February 2022
Cite • reference for this paper using ※ BibTeX, ※ LaTeX, ※ Text/Word, ※ RIS, ※ EndNote (xml)  
FRBR01 Process Automation at SOLEIL: Two Applications Using Robot Manipulators 1054
  • L.E. Munoz, Y.-M. Abiven, F. Briquez, J. Da Silva, E. Elkaim, A. Noureddine, V. Pinty, M. Valléau
    SOLEIL, Gif-sur-Yvette, France
  • S. Bouvel
    EFOR, Levallois Perret, France
  Robot manipulators are an important component in most autonomous systems in the industry. Arc welding, machine tending, painting, picking, are only some examples where the robot manipulators are widely employed. In Synchrotrons some process can benefit from robotic approaches in order to improve automation. Automatic Sample Changer on beamlines is the most common example of automation. This paper describes two robotic applications developed at Synchrotron SOLEIL. Both applications use the SOLEIL robotic standard introduced some years ago [1]. The first application aims to automate the exchange of samples for powder diffraction experiment on the CRISTAL beamline. Hence, a pick-and-place robot is used to automate the process of picking up the sample holders and placing them on the goniometer. The second application, also of the pick-and-place type, is dedicated to the automation of the magnetic characterization of magnet modules of an U15 undulator. These modules, built with a permanent magnet and two poles, are measured using a pulsed wire method [2]. In this case, the robot picks the modules stored in boxes to then place them on the test bench of the U15 undulator.
*Y.-M. Abiven et al., Robotizing SOLEIL Beamlines to Improve Experiments Automation
**M. Valléau, et al., Measurements of soleil insertion devices using pulsed wire method
slides icon Slides FRBR01 [4.934 MB]  
DOI • reference for this paper ※ https://doi.org/10.18429/JACoW-ICALEPCS2021-FRBR01  
About • Received ※ 10 October 2021       Revised ※ 27 October 2021       Accepted ※ 21 December 2021       Issue date ※ 19 February 2022
Cite • reference for this paper using ※ BibTeX, ※ LaTeX, ※ Text/Word, ※ RIS, ※ EndNote (xml)  
FRBR02 An Integrated Data Processing and Management Platform for X-Ray Light Source Operations* 1059
  • N.M. Cook, E.G. Carlin, P. Moeller, R. Nagler, B. Nash
    RadiaSoft LLC, Boulder, Colorado, USA
  • A.M. Barbour, M.S. Rakitin, L. Wiegart
    BNL, Upton, New York, USA
  Funding: This material is based upon work supported by the U.S. Department of Energy, Office of Science, Office of Advanced Scientific Computing Research under Award Number DE-SC00215553.
The design, execution, and analysis of light source experiments requires the use of increasingly complex simulation, controls and data management tools. Existing workflows require significant specialization to account for beamline-specific operations and pre-processing steps in order to collect and prepare data for more sophisticated analysis. Recent efforts to address these needs at the National Synchrotron Light Source II (NSLS-II) have resulted in the creation of the Bluesky data collection framework*, an open-source library providing for experimental control and scientific data collection via high level abstraction of experimental procedures, instrument readouts, and data analysis. We present a prototype data management interface that couples with Bluesky to support guided simulation, measurement, and rapid processing operations. Initial demonstrations illustrate application to coherent X-ray scattering beamlines at the NSLS-II. We then discuss extensions of this interface to permit analysis operations across distributed computing resources, including the use of the Sirepo scientific framework, as well as Jupyter notebooks running on remote computing clusters**.
* M.S. Rakitin et al., Proc. SPIE 11493, Advances in Computational Methods for X-Ray Optics V, p. 1149311, Aug 2020.
** M.S. Rakitin et al., Journal of Synchrotron Radiation, vol. 25, pp. 1877-1892, Nov 2018.
slides icon Slides FRBR02 [8.627 MB]  
DOI • reference for this paper ※ https://doi.org/10.18429/JACoW-ICALEPCS2021-FRBR02  
About • Received ※ 21 October 2021       Revised ※ 27 October 2021       Accepted ※ 20 November 2021       Issue date ※ 24 January 2022
Cite • reference for this paper using ※ BibTeX, ※ LaTeX, ※ Text/Word, ※ RIS, ※ EndNote (xml)  
FRBR03 Status of Bluesky Deployment at BESSY II 1064
  • W. Smith, S. Kazarski, R. Müller, P. Schnizer, S. Vadilonga, L. Vera Ramiréz
    HZB, Berlin, Germany
  The modernization plan for the experimental DAQ at the BESSY II is underpinned by the capabilities provided by the Bluesky software ecosystem. To interface with the hardware Bluesky relies on the Ophyd library, that provides a consistent high-level interface across a wide-range of devices. Many elements of the accelerator, some beamlines and endstations are adopting the Bluesky software. To meet FAIR data obligations, the capture of metadata with Bluesky and the export into a permanent and easily accessible storage called ICAT are investigated. Finally, initial studies to investigate the integration of ML methods, like reinforcement learning were performed. This paper reports on the work that has been done so far at BESSY II to adopt Bluesky, problems that have been overcome and lessons learned.  
slides icon Slides FRBR03 [2.338 MB]  
DOI • reference for this paper ※ https://doi.org/10.18429/JACoW-ICALEPCS2021-FRBR03  
About • Received ※ 08 October 2021       Revised ※ 20 October 2021       Accepted ※ 22 December 2021       Issue date ※ 25 February 2022
Cite • reference for this paper using ※ BibTeX, ※ LaTeX, ※ Text/Word, ※ RIS, ※ EndNote (xml)  
FRBR04 Continuous Scans with Position Based Hardware Triggers 1069
  • H. Enquist, A. Bartalesi, B. Bertrand, J. Forsberg, Á. Freitas, V. Hardion, M. Lindberg, C. Takahashi
    MAX IV Laboratory, Lund University, Lund, Sweden
  At beamline end-stations, data taking that relies on traditional step scanning, in which motors are repeatedly started and stopped, leads to inefficient usage of the x-ray source. This also increases the risk of sample radiation damage. We have developed a system where scans are performed while continuously moving the motors. To ensure stable repeatable measurements, the detector triggers are generated, in hardware, from the motor encoder positions. Before the scan starts, a list of positions is generated and as the scan progresses a trigger is produced as each successive position in the list is reached. The encoder signals from the motors are connected both to the IcePAP motion controller for closed loop operation, and a PandABox which is used as the trigger source. Control is from Tango and Sardana with a TriggerGate controller that calculates the motor positions and configures the PandABox. The scanned motor can be either a single motor, for example a sample positioner, or a combined motion like a monochromator. When combined motions are required, these make use of the parametric trajectory mode of the IcePAP. This enables continuous scans of coupled axes with non-linear paths.  
slides icon Slides FRBR04 [1.685 MB]  
DOI • reference for this paper ※ https://doi.org/10.18429/JACoW-ICALEPCS2021-FRBR04  
About • Received ※ 10 October 2021       Revised ※ 14 October 2021       Accepted ※ 20 November 2021       Issue date ※ 13 December 2021
Cite • reference for this paper using ※ BibTeX, ※ LaTeX, ※ Text/Word, ※ RIS, ※ EndNote (xml)  
Hexapod Control Upgrade at Synchrotron Soleil: Method and Results  
  • L. Amelineau, Y.-M. Abiven, C.B. Bourgoin, D.C. Corruble, C. Engblom, B. Leluan, A. Lestrade, F. Polack, M. Sebdaoui
    SOLEIL, Gif-sur-Yvette, France
  A Stewart Platform, a hexapod parallel robot variant, is comprised of six actuators providing movements in six degrees-of-freedom. In order to facilitate operation and maintenance, Low-level control has been successfully transferred from its original proprietary controller to a SOLEIL-standardized controller (Delta Tau Power Brick). Low-level control includes direct and reverse kinematics which can be adapted and tuned to the specific mechanical/geometric features of any Stewart Platform of similar build. The embedded (and therefore generic to Stewart Platforms) software also interfaces with generic and existing Tango devices making it easily accessible by users. The transition from ’black-box’ hardware and embedded software to standardized controllers with fully mastered control kinematics, provides hexapod users with SOLEIL durable operational support and maintenance. Dimensional metrology of the hexapod has shown dynamic and static performance to be equivalent to the old system. A new metrological method linking measurements and kinematics has been developed to compensate mechanical imperfections in order to improve performance. This paper will present the results of this work.  
slides icon Slides FRBR05 [5.391 MB]  
Cite • reference for this paper using ※ BibTeX, ※ LaTeX, ※ Text/Word, ※ RIS, ※ EndNote (xml)  
Automated ML-based Sample Centering for Macromolecular X-Ray Crystallography with MXAimbot  
  • I. Lindhé, O. Aurelius, M. Eguiraun, A. Gonzalez, E. Jagudin, G. Lima, Z. Matej, J. Nan, J. Schurmann
    MAX IV Laboratory, Lund University, Lund, Sweden
  • J.W. Janneck
    Lund Institute of Technology (LTH), Lund University, Lund, Sweden
  MXAimbot is a neural network based tool, designed to automate the task of centering samples for macro-molecular X-ray crystallography experiments before exposing the sample to the beam. MXAimbot uses a convolutional neural network (CNN) trained on a few thousands images from an industrial vision camera pointed at the sample to predict suitable crystal centering for subsequent X-ray data collection. The motivation for this project is that the machine vision automated sample positioning allows X-ray laboratories and synchrotron beamlines to offer a more efficient alternative for the manual centering, which is time consuming and difficult to automate with conventional image analysis, and for the X-ray mesh scan centering, which can introduce radiation damage to the crystal. MXAimbot can be used to improve results of standard LUCID loop centering for fully automated data collection in fragment-screening campaigns. No need for sample rotation should be an additional advantage.  
slides icon Slides FRBR06 [12.433 MB]  
Cite • reference for this paper using ※ BibTeX, ※ LaTeX, ※ Text/Word, ※ RIS, ※ EndNote (xml)