Abstract
Beam interruptions, or interlocks, in particle accelerators are critical safety measures that unfortunately lead to significant operational downtime. This paper presents a novel time series classification approach designed to forecast interlock events at the High Intensity Proton Accelerator (HIPA) complex. By transforming multivariate time series data into 2D Recurrence Plots and classifying them using a Convolutional Neural Network (CNN), the system captures complex temporal structures more effectively than traditional models. Our RPCNN model achieved an Area under the ROC Curve (AUC) of $0.71 \pm 0.01$, outperforming a Random Forest baseline ($0.65 \pm 0.01$) and demonstrating the potential to reduce beam time loss by approximately 0.5 seconds per interlock event.
Introduction: The Cost of Safety
Particle accelerators like the High Intensity Proton Accelerator (HIPA) at the Paul Scherrer Institut (PSI) are sophisticated machines where safety is paramount. "Interlocks" are automatic triggers that shut down the beam when sensors detect anomalies—such as excessive beam loss or magnet failures. While essential, these events are costly; each shutdown results in roughly 25 seconds of lost beam time as the system must be safely ramped back up.
Traditional diagnostic methods often view these failures as abrupt and unpredictable. The goal of this research is to transition from reactive diagnostics to proactive prognostics, identifying precursors to interlocks so that operators can mitigate them—for instance, by slightly reducing beam intensity—rather than suffering a full shutdown.
Methodology: Time-Series as Texture
The core innovation of this study is the Recurrence Plot based Convolutional Neural Network (RPCNN). Rather than analyzing raw 1D sensor data, the researchers transform time-series windows into 2D images known as Recurrence Plots (RP).
An RP maps the distance between system states at different points in time. If a system returns to a similar state later, a point is marked in the matrix. This transformation converts temporal correlations and non-linear dynamics into visual "textures." For example, white areas in the plot indicate abrupt changes, while diagonal lines suggest periodic behavior. By treating time-series data as images, the model can leverage advanced computer vision techniques, specifically a CNN inspired by the Xception architecture, to extract predictive features.
To manage the high dimensionality of the HIPA complex, which features 376 channels, the authors employed a random feature selection algorithm to identify the 97 most predictive channels. This reduction helps minimize model complexity and prevents overfitting.
Data and Experimental Setup
The study utilized 14 weeks of archival data from HIPA (late 2019). The dataset included 376 operating channels, such as beam position monitors and RF cavity voltages. The primary target for prediction was "Losses"—interlocks related to beam loss—which constitute approximately 60.8% of all interlock events.
Data was synchronized to a 5 Hz grid. To address the extreme class imbalance between thousands of hours of stable operation and the brief seconds preceding an interlock, the researchers used bootstrapping to oversample interlock precursors during training.
Key Results and Impact
The RPCNN model demonstrated superior performance over the standard Random Forest (RF) baseline:
- Classification Performance: The RPCNN achieved an AUC of $0.71 \pm 0.01$, compared to the RF's $0.65 \pm 0.01$.
- Operational Savings: The researchers introduced a "Beam Time Saved" ($T_s$) metric to evaluate real-world impact. The best RPCNN model could potentially save $0.5 \pm 0.2$ seconds of beam time per interlock. Over the three-month test period, this translates to approximately 7.45 minutes of recovered beam time.
- Early Warning Capabilities: Qualitative analysis showed that the RPCNN's output probability often began to rise several minutes before an actual interlock, suggesting that "abrupt" failures may have subtle, long-running precursors detectable by deep learning.
Conclusion and Future Directions
While promising, the RPCNN approach faces challenges, including sensitivity to random initialization and the need for a more flexible labeling strategy that accounts for varying precursor lengths. Furthermore, because accelerator configurations are dynamic, future work will explore transfer learning to ensure models remain accurate as the facility evolves. By viewing complex physics data through the lens of computer vision, this research paves the way for more resilient and efficient particle accelerator operations.
Summary updated