Author: Cook, N.M.
Paper Title Page
TU1BCO04 Laser Focal Position Correction Using FPGA-Based ML Models 262
 
  • J.A. Einstein-Curtis, S.J. Coleman, N.M. Cook, J.P. Edelen
    RadiaSoft LLC, Boulder, Colorado, USA
  • S.K. Barber, C.E. Berger, J. van Tilborg
    LBNL, Berkeley, California, USA
 
  Funding: This material is based upon work supported by the U.S. Department of Energy, Office of Science, Office of High Energy Physics under Award Number DE-SC 00259037.
High repetition-rate, ultrafast laser systems play a critical role in a host of modern scientific and industrial applications. We present a diagnostic and correction scheme for controlling and determining laser focal position by utilizing fast wavefront sensor measurements from multiple positions to train a focal position predictor. This predictor and additional control algorithms have been integrated into a unified control interface and FPGA-based controller on beamlines at the Bella facility at LBNL. An optics section is adjusted online to provide the desired correction to the focal position on millisecond timescales by determining corrections for an actuator in a telescope section along the beamline. Our initial proof-of-principle demonstrations leveraged pre-compiled data and pre-trained networks operating ex-situ from the laser system. A framework for generating a low-level hardware description of ML-based correction algorithms on FPGA hardware was coupled directly to the beamline using the AMD Xilinx Vitis AI toolchain in conjunction with deployment scripts. Lastly, we consider the use of remote computing resources, such as the Sirepo scientific framework*, to actively update these correction schemes and deploy models to a production environment.
* M.S. Rakitin et al., "Sirepo: an open-source cloud-based software interface for X-ray source and optics simulations" Journal of Synchrotron Radiation25, 1877-1892 (Nov 2018).
 
slides icon Slides TU1BCO04 [1.876 MB]  
DOI • reference for this paper ※ doi:10.18429/JACoW-ICALEPCS2023-TU1BCO04  
About • Received ※ 06 October 2023 — Accepted ※ 14 November 2023 — Issued ※ 18 December 2023  
Cite • reference for this paper using ※ BibTeX, ※ LaTeX, ※ Text/Word, ※ RIS, ※ EndNote (xml)  
 
TUSDSC02 Integrating Online Analysis with Experiments to Improve X-Ray Light Source Operations 921
 
  • N.M. Cook, E.G. Carlin, J.A. Einstein-Curtis, R. Nagler, R. O’Rourke
    RadiaSoft LLC, Boulder, Colorado, USA
  • A.M. Barbour, M. Rakitin, L. Wiegart, H. Wijesinghe
    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 sophisticated simulation, controls and data management tools. Existing workflows require significant specialization to accommodate specific beamline operations and data pre-processing steps necessary for more intensive 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 for coordinating experimental control and data collection. Bluesky provides high level abstraction of experimental procedures and instrument readouts to encapsulate generic workflows. We present a prototype data analysis platform for integrating data collection with real time analysis at the beamline. Our application leverages Bluesky in combination with a flexible run engine to execute user configurable Python-based analyses with customizable queueing and resource management. We discuss initial demonstrations to support X-ray photon correlation spectroscopy experiments and future efforts to expand the platform’s features.
 
DOI • reference for this paper ※ doi:10.18429/JACoW-ICALEPCS2023-TUSDSC02  
About • Received ※ 06 October 2023 — Revised ※ 22 October 2023 — Accepted ※ 11 December 2023 — Issued ※ 14 December 2023
Cite • reference for this paper using ※ BibTeX, ※ LaTeX, ※ Text/Word, ※ RIS, ※ EndNote (xml)