Search arXivSearch

arXiv · 2503.00304

Simulating Negative Hydrogen ion acceleration in LINAC-4 using Unity 3D

Abstract

The Linear Accelerator 4 (LINAC 4) is designed to accelerate negative hydrogen ions to high energies for injection into the Large Hadron Collider (LHC), where it has been supplying proton beams since 2020. LINAC 4 accelerates negative hydrogen ions to 160 MeV. The accelerator pulses 400 microsecond bursts of negative hydrogen ions. A complex process is processed in this machine to achieve the required energy and simulating the machine is beneficial for improved understanding, visualization, educational purposes, and for training and skill development. Normally, high performance, specialized software is needed to simulate the intricate dynamics of ion acceleration. However, our goal is to develop an interactive, realtime model that effectively simulates the acceleration of negative H ions through the LINAC 4 stages by utilizing simulation and visualization capabilities of Unity 3D. In this study, Electric fields generated by each unit of LINAC 4 are assumed as known wave functions, and instantaneous velocity is calculated using fundamental physics laws. 3D structures were developed to approximate scale, and the user can control the frequency of the electric field to adjust the velocity, allowing the particle to reach the required energy level at the end. A time based pattern is used in the Chopper line, where the user can change the beam on time. Users can visualize the particle beam path and approximated graphical representation of the velocity variation in LINAC 4 under controllable electric fields and different time based chopping patterns generated by the chopper line. This simulation creates an accessible platform for students, researchers, and technicians to learn about processes of LINAC 4 in an interactive manner. It also guides users to better understand complex acceleration physics by allowing them to visualize the ion pathways, energy changes, and field interactions.

Explore related subjects

Keep this discovery

Explore connections, maps & timelines

BibTeXRIS

D. M. C. M. K. Dissanayake, N. Wickramage, K. M. Liyanage, K. A. S. Lakshan. 2025-03-01. Simulating Negative Hydrogen ion acceleration in LINAC-4 using Unity 3D. https://arxiv.org/abs/2503.00304

Cite the original work for its findings. Save a collection to share your selection of sources.

KEEP EXPLORING

Related papers

High-power attosecond X-ray free-electron lasers: physics and design strategy

Attosecond pulses from X-ray free-electron laser (XFEL) have opened new opportunities for probing ultrafast electronic dynamics on the Angstrom--attosecond spatiotemporal scale. Most attosecond XFEL concepts rely on generating an ultrashort high-current spike through either external laser modulation or accelerator-based beam manipulation. Despite their different implementations, these approaches share the same essential physics, namely that the XFEL amplification is confined to a short effective lasing window within the electron beam. However, existing studies are often scheme-specific and do not yet provide a unified quantitative picture of how fundamental electron-beam properties constrain high-power attosecond performance. In this work, we investigate the general physics and scheme-independent requirements for generating high-power attosecond X-ray pulses from a short current spike. From the perspective of post-saturation superradiant evolution, we show that the effective lasing length of the electron beam governs both the attainable peak power and the pulse duration. We further examine the distinct roles of slice energy spread, slice emittance, energy chirp, undulator tapering, and transverse beam tilt. Our results reveal the trade-off between peak power, pulse shortening, and single-spike probability, and provide facility-independent guidelines for optimizing electron-beam phase-space manipulation toward terawatt-class attosecond XFEL operation.

physics.acc-ph

Realizing A Hard X-Ray Storage Ring Free Electron Laser Oscillator at the APS-U

We show that the APS-U could support a hard X-ray storage ring free electron laser oscillator, providing a promising avenue toward high repetition rate, narrow bandwidth coherent light sources. The results of our numerical simulations demonstrate that a transverse gradient undulator yields ~8% and ~6% single-pass gain at 8.05 keV and 10 keV respectively. We further identify a configuration at 5 keV that does not require a TGU but still exceeds a 5% gain threshold despite the relatively short 5-meter long insertion device. All cases presented retain spectral purity on the order of meV and reach a steady-state output whose equilibrium is consistent with the Renieri Saturation Limit. We have calculated the 5 keV case to have an average brightness of ~10^26 photons/(s * mm2 * mrad2 * 0.1% BW), representing an increase in more than four orders of magnitude from the standard APS-U undulator. These results indicate that a storage ring free electron laser oscillator at multi-keV photon energies is feasible with nominal APS-U parameters and standard x-ray cavity optics.

physics.acc-ph

Bayesian Optimization of The Relativistic Heavy Ion Collider Luminosity via $s^*$ Control

Maximizing luminosity at the interaction point (IP) requires the collision location $s_{IP}$ to coincide with the longitudinal position of the minimum beta function, $s^$. Accurate optics measurements and control of $s^$ are therefore essential for luminosity optimization. At the Relativistic Heavy Ion Collider (RHIC), average horizontal beta-beat measurements between operating IPs are approximately $20%$, with significant variation in measured $s^*$. Precise control of the beam waist position $s^$ is particularly challenging for modern high-energy colliders with short bunch lengths and large crossing angles. We present an online Bayesian optimization (BO) application using the GPTune framework to optimize sPHENIX luminosity through $s^$ control at RHIC. GPTune was first validated at the RHIC Electron Beam Ion Source (EBIS), where it achieved up to a $70%$ increase in beam intensity over the baseline, although experienced operators could reach similar performance with longer manual tuning. The framework was subsequently deployed during sPHENIX operations. Using an intensity-normalized Zero-Degree Calorimeter (ZDC) signal as the optimization objective, due to the unavailability of the live sPHENIX MVTX signal, GPTune identified local luminosity maxima, recovered from intentionally degraded $s^$ configurations, and revealed residual horizontal and vertical waist offsets in the interaction region. These results demonstrate the robustness and efficiency of Bayesian optimization for real-time collider tuning under noisy, time-varying conditions. The $s^$ control methodology provides a promising tool for precision luminosity optimization and is particularly relevant to next-generation short-bunch colliders such as the Electron-Ion Collider (EIC).

physics.acc-ph