Simulating Negative Hydrogen ion acceleration in LINAC-4 using Unity 3D
D.M.C.M.K. Dissanayake 1, N. Wickramage 1, K.M. Liyanage 1, K.A.S. Lakshan 1 · 2025
Read Simulating Negative Hydrogen ion acceleration in LINAC-4 using Unity 3D by D.M.C.M.K. Dissanayake 1, N. Wickramage 1, K.M. Liyanage 1, K.A.S. Lakshan 1 (2025) in the Tower of Babel, a free online library of public-domain works preserved in clean, searchable text. No sign-up. The full text is served as a plain-text file at a predictable URL, where text is present: https://antarctic-labs.com/tower-of-babel/arxiv-2503-00304.txt.
Introduction
Dissanayake and co-authors built a teaching model in 2025 of a CERN accelerator stage in a game engine. The stage, LINAC 4, boosts negative hydrogen ions to high energy for feed into the Large Hadron Collider. True models of it need heavy, expert software. Their aim was a live, touchable model in Unity 3D that students and techs can run and steer. Fields in each stage are set as known wave forms.
Speed at each step comes from basic physics laws. The user can tune the field rate to land the beam at the right end energy. A chopper line that gates the beam can be set by hand as well. Charts show the beam path and speed shifts as it goes.
Catalog record
| CREATOR | D.M.C.M.K. Dissanayake 1, N. Wickramage 1, K.M. Liyanage 1, K.A.S. Lakshan 1 |
|---|---|
| YEAR | 2025 |
| COLLECTION | PAPERS |
| FORMAT | TXT |
| FILE SIZE | 11 KB |
| VERSION | 1.0 |
| LICENSE | http://creativecommons.org/licenses/by/4.0/ |
| RIGHTS | CC BY |
| SOURCE | arXiv |
Source: https://arxiv.org/abs/2503-00304
Browse the full library · About the Tower of Babel
Full text
The opening of the work, from the library's hosted text:
Simulating Negative Hydrogen ion acceleration in LINAC-4 using Unity 3D D.M.C.M.K. Dissanayake 1, N. Wickramage 1, K.M. Liyanage 1, K.A.S. Lakshan 1 Abstract The Linear Accelerator 4 (LINAC-4) is designed to accelerate negative hydrogen ions (H-) 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, real-time model that effectively simulates the acceleration of H − H^{-} ions through the LINAC-4 stages by utilizing Unity 3D’s simulation and visu- alization capabilities. 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. It is assumed that a Sine wave-formed electric field is generated by the Radio-Frequency Quadrupole (RFQ) and Drift Tube Linacs (DTL) and a Standing wave-formed electric field is generated by Coupled-Cavity Drift Tube Linacs (CCDTL) and Pi-Mode Structures (PIMS). 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 of each accelerating unit. 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 LINAC-4’s processes 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. Conference Proceedings for BCVSPIN 2024: Particle Physics and Cosmology in the Himalayas Kathmandu, Nepal, December 9-13, 2024 1 Structural design and working principles of LINAC-4 The LINAC-4 consists of six main machines, H^{-} source, Radio Frequency Quadrupole (RFQ), Chopper Line, Drift Tube Linac(DTL), Cell Coupled Drift Tube Linac(CCDTL), and PI Mode Structures(PIMS). PIMS CCDTL DTL CHOPPER RFQ H^{-} SOURCE 3MeV 50MeV 100MeV 160MeV The negative hydrogen ions are produced in the H^{-} source and injected into the Low Energy Beam Transport, which is used to transport and match the beam from the source and match into the RFQ input parameters [ 1 ] . In LINAC-4 RFQ is responsible for boosting the beam up to the required energy level for injection into the DTL [ 2 ] . RFQ is designed to accelerate and bunch ion beams using a radio frequency electric field. After accelerating the beam up to 3MeV, it is injected into the Chopper Line where it is chopped into pulses to get the frequency same as the PS Booster. Next beam is injected into DTl, where the beam will be accelerated 3 to 50 MeV, using a regularly oscillating electric field. The particles are moved through a series of Drift tubes (which worked as shields during change of the electric field) and accelerate in the gaps between them. After boosting up to 50 MeV beam is injected into CCDTL, which has 27 small DTL tanks each consisting of three accelerating gaps. The beam is accelerated up to 100MeV at the CCDTL and injected into PIMS, composed of seven coupled cells, which are operating at 352 MHz in \pi mode. In PIMS beam is accelerated up to 160MeV [ 3 ] . 2 Simulation Model Development The approximate 3D model for LINAC-4 simulation was built in Blender from scratch, according to the technical design report of LINAC-4 [ 1 ] . Figure 1 : 3D Model of LINAC-4 The algorithm for this Simulation was designed such that an electric field force was added to the rigid body of the H^{-} particle when it reached the LINAC-4 area. This electric field force is calculated using the following formula, F_{E}=E*q (1) • E :Instantaneous Electric field strength • F_{E} :Electric Force • q : Charge of the particle The generated electric field strength will be assigned to the E of this equation and Electric force is generated using it. The Electric Force was generated by multiplying the Electric Force value with a unit vector in the opposite direction to the moving direction of the H^{-} particle. 2.1 Radio Frequency Quadrupole (RFQ) \justify The 3D model for the RFQ was designed as the figure, (a) Front-View (b) wireframe (c) Side-View Figure 2 : RFQ-3D model To accelerate negative hydrogen ions inside the RFQ a time-varying sinusoidal electric field was used according to the algorithm written for RFQ [ 4 ] . The formula used in the algorithm to generate the electric field is given by, E=E_{0}\sin(2\pi ft) (2) • E :Instantaneous Electric field strength • E_{0} :Amplitude of the Electric field • f : Frequency of the oscillation The particles are affected by this electric field as they enter the area of RFQ. The player can control the frequency using the joystick placed in the User Interface(UI). 2.2 Chopper Line \justify The 3D model for the Chopper Line is designed as the figure (a) Front view (b) wireframe (c) Side - View Figure 3 : Chopper Line-3D model To match the beam with the frequency of the PSB a Random chopping system was implemented, where a particle blocker is turned on and off according to an algorithm. The algorithm used for the chopper Line is as follows, Total\,chopping\,Time=\frac{1}{Chopping\,Frequency} (3) Beam\,On\,Time=Total\,chopping\,Time*Duty\,Cycle (4) Beam\,Off\,Time=Total\,chopping\,Time*(1-Duty\,Cycle) (5) • Total\,chopping\,Time :Time for a one chopping cycle • Duty\,Cycle :Split factor • Beam\,On\,Time : The time beam is allowed to flow within one chopping cycle. • Beam\,off\,Time : The time beam is not allowed to flow within one chopping cycle. The chopping frequency and the split factor are controlled by the user and Total chopping time and beam on and off times are calculated using these formulas. Then several active,inactive periods of the blocker were calculated using the following formula, Ton_{i}=\frac{Beam\,On\,Time}{5}+i*\frac{Beam\,On\,Time}{30} (6) Toff_{i}=\frac{Beam\,Off\,Time}{5}+i*\frac{Beam\,Off\,Time}{30} (7) • Ton_{i} : i^{th} Time period where beam is allowed to flow • Toff_{i} : i^{th} Time period where beam is not allowed to flow For this algorithm, it was taken as one chopping cycle has four time periods that allow the beam to flow and another four time periods the beam is blocked. The activation and deactivation processes of the blocker happen alternatively according to generated periods. After eight time periods, the next chopping cycle will begin. the following diagram visually represents the time allocation according to the algorithm. If time periods where beam is allowed to flow : [t_{a},t_{b},t_{c},t_{d}] and time periods where beam is not allowed to flow : [t_{e},t_{f},t_{g},t_{h}] ON OFF ON OFF ON OFF ON OFF t_{a} t_{e} t_{b} t_{f} t_{c} t_{g} t_{d} t_{h} For a one-chopping cycle , Beam\ on\ Time=t_{a}+t_{b}+t_{c}+t_{d} \hskip 17.0ptBeam\ off\ Time=t_{e}+t_{f}+t_{g}+t_{h} \hskip 17.0ptTotal\ chopping\ Time=t_{a}+t_{b}+t_{c}+t_{d}+t_{e}+t_{f}+t_{g}+t_{h} 2.3 Drift