Machine Learning for automatic pointing alignment and spatial beam filtering

Karlo Lajtner, Christopher J. Koenig, Alisa Rupenyan, Bojan ResanEPJ 2023

Abstract

Constraint Bayesian optimization approach is used to optimize the beam pointing and spatial filtering of a laser beam using the capillary transmission and the output beam profile, as the optimization criteria. We have demonstrated that the developed method was able to robustly find the optimal laser parameters and it will be implemented in the SwissFEL UV photocathode laser in the future.

Introduction

In high-performance laser facilities like the Swiss Free Electron Laser (SwissFEL), the quality of the UV photocathode laser is critical for operation. However, high-energy femtosecond UV pulses are known to damage the optics they traverse, degrading the laser’s spatial profile from a clean Gaussian beam into a distorted shape. To mitigate this, spatial filtering is employed by passing the beam through a tiny capillary. This process is extremely sensitive to the beam’s incoming angle and focal position, creating a complex five-dimensional parameter space that is traditionally aligned manually. Manual alignment is slow and often fails to reach the global optimum for transmission and beam quality.

Methodology

The researchers developed an automated system using Bayesian Optimization (BO) implemented in a Python framework. BO is a data-driven "black-box" optimizer ideal for scenarios where measurements are time-consuming. It constructs a probabilistic model of the system to intelligently decide the next sampling points, minimizing the number of iterations required to find the optimum.

Experimental setup for laser beam alignment and spatial filtering.

The experimental setup utilized a helium-neon laser testbed equipped with motorized mirror mounts and a capillary spatial filter. Feedback was provided by two cameras capturing beam profiles, which were then processed using a Gaussian fit algorithm to determine position and angle. To simulate real-world optical degradation, a damaged ND filter was intentionally placed in the beam path. The objective function for the optimization was a weighted combination of filter transmission, beam asymmetry, and deviation from an ideal 2D-Gaussian shape.

Results and Discussion

The Bayesian approach demonstrated high efficiency and robustness. A key advantage is its adaptive nature; the algorithm does not require prior knowledge of the input beam profile and can re-optimize as optics degrade over time. In the testbed environment, the system allowed users to tune priorities, such as weighting transmission at 90% and beam aspect ratio at 10%.

Convergence of the Bayesian Optimization algorithm over 16 iterations.

As shown in the convergence data, the "Predicted value at the best prediction" closely tracked the "Measured value." The uncertainty (represented by the shaded region) narrowed significantly within 10 to 16 iterations, finding the optimal parameters in just a few minutes. This rapid convergence is vital for minimizing facility downtime.

Conclusion

This study successfully demonstrates that Bayesian Optimization can automate the complex task of laser beam alignment and spatial filtering. While currently validated on a testbed, future work will focus on integrating this Python-based system into the SwissFEL control system and scaling it for high-energy UV lasers. The method also holds potential for stabilizing pump beam pointing and correcting temporal drifts in fiber coupling.

Summary updated

BibTeX
@inproceedings{lajtner2023machine,
  author = {Karlo Lajtner and Christopher J. Koenig and Alisa Rupenyan and Bojan Resan},
  title = {{Machine Learning for automatic pointing alignment and spatial beam filtering}},
  booktitle = {EPJ},
  year = {2023},
  doi = {10.1051/epjconf/202328713014},
}
Figure