1 Introduction
The Heavy Ion Medical Machine (HIMM) developed by the Institute of Modern Physics is now undergoing a clinical trial [1, 2]. It consists of two Electron Cyclotron Resonance (ECR) ion sources, a cyclotron, and a synchrotron that has a compact structure with a circumference of 56.2 m. The feedback-based slow-extraction technique [3] is adopted to deliver a high-quality beam spill into five treatment terminals. The layout of the HIMM complex is shown in Fig. 1. The cyclotron is critical for optimized injection into the synchrotron. The HIMM cyclotron is an isochronous machine with four magnet sectors and two RF-gap Dees that accelerate 12C5+ to approximately 7 MeV/u. The extracted beam intensity is up to 10 μA in Continuous Wave (CW) mode. Preliminary calculations indicate that the emittance containing 95% of beam particles is up to 60 mm mrad. Up to now, the slow-extraction efficiency has reached nearly 90% for all energies from 120 to 400 MeV/u. The spill duty factor has exceeded 90% at a sample rate of 10 kHz [4].
-201912/1001-8042-30-12-012/alternativeImage/1001-8042-30-12-012-F001.jpg)
Emittance is one of the critical beam parameters for accelerators that reveal the beam quality directly. The definitions of phase space and emittance are well documented in Refs. [5, 6]. The most commonly used methods to extract the emittance include the slit-grid [7, 8], pepper-pot [9-11], Quadrupole-scan (Q-scan) [12-14], and 3-grid [13, 15] techniques. During the commissioning phase of a newly designed machine, the slit-grid and pepper-pot techniques are the standard methods used to display the intensity distribution of a phase space with an arbitrary shape. Aberrations and filamentation induced by mismatch, higher-order effects of the beam optics as well as space-charge effects can then be investigated in a straightforward manner [16]. However, the pepper-pot must be calibrated very carefully using extremely parallel light before a reliable result is obtained, so we do not make use of this method in this study.
Before integrating the cyclotron into the HIMM complex, a dedicated beam line has been constructed temporarily at the Institute of Modern Physics (IMP), and the emittance measurements are performed along it. In this paper, the measurements of the transverse emittance using the three methods mentioned above are discussed, and the automatic selection technique of the Region Of Interest (ROI) is described in detail.
2 Experimental setup
The diagnostics beam line is located at the exit of the cyclotron, as shown in Fig. 2. Two pairs of slits(SL) are employed to perform the slit-grid measurement. Four Multi-Wire (MW) monitors are used to sample the beam profile and also perform the 3-grid measurement. The distance between these devices is calibrated using a FARO Laser Tracker, and the position coordinates are summarized in Table 1. Each MW has a sensitive area of 47 mm×47 mm, which corresponds to 47 wires for both the horizontal and vertical directions with a gap of 1 mm and a diameter of 0.2 mm. The readouts for the x and y directions are separate, so the measurement can be conducted for both planes simultaneously. Each pair of slits scans the beam for its corresponding plane. Both of the slits are driven by a Servo Motor with positioning precision better than 1 μm. Along the beam line, two Faraday Cups (FCs) are installed. FC1 is located before the entrance of MW1, and FC2 is at the end of the beam line. Both of the FCs can be used to measure beam intensity. FC2, however, acts as the beam dump and is, therefore, always kept inside the beam line. FC1 is used to block the beam while the MW is pushed into the beam pipe center, which can protect the MW electronics against radiation damage. During the measurement, it is removed from the beam line.
Device | SL1/SL2 | SL3/SL4 | MW1 | MW2 | MW3 | MW4 |
---|---|---|---|---|---|---|
Position (mm) | 2451.2 | 2611.4 | 2929.85 | 4001.1 | 5123.6 | 5280.7 |
-201912/1001-8042-30-12-012/alternativeImage/1001-8042-30-12-012-F002.jpg)
To reduce the thermal loading of the MW, a chopper upstream of the cyclotron is powered on during the emittance measurement, which decreases the CW current to 1 μA. The data acquisition system is based on NI’s CompactRIO controller, which runs on a real-time system with a reaction time of less than 1 ms and has a fast calculation ability [17]. A LabVIEW-based routine is developed to control the motion of the motors and acquire MW profile information. The collected data are firstly stored on disk, and then a Python-based post-processing script is employed for further analysis. The data length is determined by the sample time, and the average thereof over the total data gives a more reliable measurement.
3 Emittance measurement
3.1 Slit-grid technique
In a low-energy heavy ion machine, the slit-grid technique is one of the most widely used methods for emittance diagnostics. In this method, a small slit opening selects the beamlet at that position, and an MW located downstream samples the distribution and reveals the divergence of the beamlet. By scanning the slit across the beam cross section, the whole phase space can be obtained, which generates a two-dimensional (2D) data matrix that is just the area used in the emittance calculation. Thus, the emittance can be retrieved statistically according to the algorithm given in Ref. [18].
-201912/1001-8042-30-12-012/media/1001-8042-30-12-012-M001.jpg)
In this way, the Root Mean Square (RMS) emittance and TWISS parameters can be evaluated by
where
Typically, the data is noisy owing to disturbances from the MW electronics and the environment. It is, therefore, necessary to denoise the data before performing the calculation using Equation 2. In this paper, we use a systematic procedure to complete the emittance evaluation. The three steps to perform the image denoising are discussed below.
Interpolation
An ad hoc-based interpolation is implemented along a specified axis, upon which the phase space distribution can be refined, and therefore the density of the area elements is increased. The interpolation can significantly improve the smoothness of the image because the noise typically has a white Gaussian distribution with a zero mean. Moreover, interpolation can compensate for the roughness of the sparsely sampled phase space.
Wavelet denoising
The 2D matrix array is denoised using a BayesShrink-based wavelet threshold denoising algorithm [19], which tends to result in an overly smooth image compared to that obtained with a single threshold. The wavelet denoising algorithm consists of three steps: 1) Applying the wavelet transform. This transformation decomposes the noisy image into different frequency sub-bands and generates a series of wavelet coefficients, 2) Applying a thresholding method. There exist various algorithms estimating the threshold, such as VisuShrink, SureShrink, NormalShrink, and BayesShrink. The BayesShrink algorithm is an adaptive approach to wavelet soft thresholding where a unique threshold is estimated for each wavelet sub-band [19], which is more effective in removing Gaussian noise[20], and 3) Reconstructing the image. By adopting the inverse wavelet transformation, the denoised image can be recovered.
ROI selection
The Marching Squares-based edge detection algorithm [21] is adopted to mask an ROI, which is the area containing only the good data. The Marching Squares algorithm is a special case of the Marching Cubes algorithm, which generates contours for a two-dimensional scalar field. In reality, a series of contour lines is generated, the number of which depends strongly on the contour level. Typically, it is desirable to select the biggest one as the ROI. The next step is to set the signal outside the ROI to zero and keep the inside, which will be further denoised, unchanged. While continuing to repeat the operation with an increased contour level, a curve can be generated that gives the trend of the emittance against the contour level. By fitting the smooth part of the curve with a line and extrapolating to the position at which the contour level is zero, the unbiased estimation of the emittance can be obtained. The remarkable advantage of this algorithm compared to the typical global denoising algorithms is the isolation of the major noise from the ROI, e.g., wire damage. In addition, the automatic selection of the ROI is also a significant improvement to the unbiased emittance evaluation.
A virtual simulated measurement is then conducted, which is done to benchmark the proposed algorithm. In this simulation, the user-specified beam parameters as well as the associated noise distribution are given to generate the noisy beam. A virtual slit with an adjustable opening samples the beamlet, and a grid downstream collects the particle hits on the wire. The simulation parameters used are summarized in Table 2, where Q_len is the quadrupole length, and D is the drift length. Figure 3 shows the noisy and reconstructed phase space. It is obvious that the signal-to-noise ratio is significantly improved after interpolation, wavelet denoising, and ROI selection have been implemented. The measured 1 σ ellipse matches the actual version well except that the tail is shorter than expected, which can be explained by the long tail of the Gaussian distribution being smeared by the noise and then cut out by the threshold. The obtained emittance as a function of threshold is shown in the upper panel of Fig. 4. A linear fit is applied to the region that has a constant derivative, and extrapolation is performed to obtain the "real" emittance with a zero threshold. The measured emittance is consistent with the specified value. The quantized error decreases with the increased interpolation number as shown in the lower panel of Fig. 4, and a deviation of below 4% is reached when interpolation number 4 is given.
Parameter | єrms(μ m) | β (m) | α (rad) | Ek (MeV/u) | ion | Qlen (m) | D (m) |
---|---|---|---|---|---|---|---|
Value | 5 | 37 | 6 | 0.26 | 12C6+ | 0.4 | 2.38 |
-201912/1001-8042-30-12-012/alternativeImage/1001-8042-30-12-012-F003.jpg)
-201912/1001-8042-30-12-012/alternativeImage/1001-8042-30-12-012-F004.jpg)
In this measurement scheme, SL1&SL2, SL3&SL4, and MW4 are employed to perform measurements of the horizontal and vertical planes. The distance between the slit and the MW is 2.8295 m and 2.6692 m for the horizontal and vertical planes, respectively, which results in an angle resolution of 0.353 mrad and 0.375 mrad, respectively, based on the definition Δx’=(dwire+2rwire)/L, where dwire is the gap between the wires, rwire is the diameter of the wire, and L is the distance. The aperture of the slit for both of the planes is set to 1 mm, which is identical to the MW spacing, and the slit stepping length is also 1 mm, so the whole phase plane can be scanned without overlapping.
The raw data are averaged over the whole sample length to cancel the random noise preliminarily. The initial and denoised phase spaces are shown in the upper panels of Fig. 5 and Fig. 6 for the horizontal and vertical planes, respectively. A significant difference is observed when the denoising procedure described above is implemented. The contour line defines the beam boundary precisely. The measured 95% emittance is 45.32 mm mrad and 37.56 mm mrad for the horizontal and vertical planes, respectively.
-201912/1001-8042-30-12-012/alternativeImage/1001-8042-30-12-012-F005.jpg)
-201912/1001-8042-30-12-012/alternativeImage/1001-8042-30-12-012-F006.jpg)
3.2 Q-scan technique
For a beam line with low intensity, like the diagnostics line of the HIMM cyclotron, the space-charge effects can be negligible; hence, the Q-scan technique is suitable for emittance measurements. If the focus length of the lens is larger than the length of the lens itself, a thin lens approximation can be adopted. The most frequently used case is a quadrupole followed by a drift section. Thus, the squared profile width at the MW is a quadratic function of the quadrupole gradient. Quite often, for a thin lens approximation, the thick lens is assumed to have zero length while keeping the strength constant. In this paper, we introduce a new method to split the thick lens into one thin lens plus two drift sections, which is the first-order approximation of the thick lens, and the conjugate of the three elements satisfies the symplectic condition. The schematic is shown in Fig. 7.
-201912/1001-8042-30-12-012/alternativeImage/1001-8042-30-12-012-F007.jpg)
Without the loss of generality, the transfer matrix of a thick lens can be expressed as
According to the split method mentioned above, the matrix can thus be written equivalently as Mthick = Mdrift1MthinMdrift2, where
If we assume L1=L2=L/2, the following equation will be obtained
The evolution of L/2 with respect to quadrupole strength is illustrated in Fig. 8. Since the change of the half-length with quadrupole current is sufficiently small, the average over the scan current gives a better substitution. Therefore, the effective drift length now becomes 〈L/2〉+ D with D being the original distance from the quadrupole exit to the MW. Evidently, this split method represents the thick lens more reliably.
-201912/1001-8042-30-12-012/alternativeImage/1001-8042-30-12-012-F008.jpg)
The actual energy is measured based on three phase probes along the beam line, and this gives the measurement value of 6.323 MeV/u, which is slightly different from the theoretical value. The magnet calibration curve is given by B’=0.01347+0.0219IQ, where IQ is the quadrupole current. The quadrupole length is 0.35 m; thus, the quadrupole strength can be calculated by
-201912/1001-8042-30-12-012/alternativeImage/1001-8042-30-12-012-F009.jpg)
3.3 3-grid technique
In this measurement, MW1, MW2, and MW3 are used to sample the profile. The emittance can thus be retrieved uniquely by virtue of a parabolic fit or by solving the following linear equations directly.
Both methods give identical results as expected. The measurement data and fit process are shown in Fig. 10. The measured 95% emittance is 56.93 mm mrad and 38.15 mm mrad for the horizontal and vertical planes, respectively.
-201912/1001-8042-30-12-012/alternativeImage/1001-8042-30-12-012-F010.jpg)
4 Summary
In this study, the emittance at the exit of the HIMM cyclotron was measured using three methods. The slit-grid algorithm was improved by introducing the automatic selection of an ROI, and a satisfactory result was obtained. For the Q-scan method, an optimized thin lens approximation algorithm was implemented, which gave a more reliable result. As presented in Table 3, the results of these measurements agree with one another for the vertical plane. There is a discrepancy for the horizontal plane, however. Based on our preliminary deductions, this is attributed to the non-zero dispersion contribution. The dispersion and its derivative are -1.77 m and -0.66 rad in the horizontal plane at the exit of cyclotron, respectively, and the temporal beam line is not designed to be dispersion-free in the diagnostics section.
Methods | Slit-grid | Q-scan | 3-grid |
---|---|---|---|
Horizontal(95%) [mm mrad] | 45.32 | 51.5 | 56.93 |
Vertical(95%) [mm mrad] | 37.56 | 31.8 | 38.15 |
Design of a compact structure cancer therapy synchrotron
. Nuclear Instruments and Methods in Physics Research A 756 (2014) 19-22. doi: 10.1016/j.nima.2014.04.050The design and implementation of the beam diagnostics control system for HIMM
. Nuclear Inst. Methods in Physics Research, A 919 (2019) 27-35. doi: 10.1016/j.nima.2018.11.134Optimization and Upgrade of Slow Extraction Control System for HIRFL CSR Main Ring
.Heavy ion medical machine (HIMM) slow extraction commissioning
. Nuclear Inst. and Methods in Physics Research, A 918 (2019) 76-81. doi: 10.1016/j.nima.2018.11.014Possible Emittance Increase through Filamentation Due to Space Charge in Continuous Beams
. IEEE Transactions on Nuclear Science, vol. 18, no. 3, pp. 1101-1104,Emittance and Brightness: Definitions and Measurements
. Applied Charged Particle Optics (Off-line emittance measurements of the SPES ion source at LNL
. Nuclear Instruments and Methods in Physics Research A 648 (2011) 238-245. doi: 10.1016/j.nima.2011.05.038Slit-based emittance measurement system for high-brightness injector at Hefei Light Source
. High Power Laser and Particle Beams, 24, 457-462 (2012) (in Chinese) DOI: 10.3788/HPLPB20122402.0457Transverse emittance measurement of high-current single pulse beams using pepper-pot method
. High Power Laser and Particle Beams, 25: 2067-2070, (2013). (in Chinese) DOI: 10.3788/HPLPB20132508.2067Riccardo Bartolini, Single shot 3 GeV electron transverse emittance with a pepper-pot
. Nuclear Instruments and Methods in Physics Research A 729 (2013) 554-556. doi: 10.1016/j.nima.2013.07.017Development of a pepper-pot emittance meter for diagnostics of low-energy multiply charged heavy ion beams extracted from an ECR ion source
. REVIEW OF SCIENTIFIC INSTRUMENTS 87, 02B920 (2016). doi: 10.1063/1.4934688Measurements of the transverse emittance at the FLASH injector at DESY
. Physical Review Special Topics - Accelerators and Beams 9, 092802 (2006). doi: 10.1103/PhysRevSTAB.9.092802Effect of large momentum spread on emittance measurements
. Nuclear Instruments and Methods in Physics Research A 707 (2013) 114-119. doi: 10.1016/j.nima.2012.12.114Pulsed intense electron beam emittance measurement
. Nucl. Sci. Tech.25, 060201 (2014). doi: 10.13538/j.1001-8042/nst.25.060201Calculation of two-screen emittance measurement
. Nuclear Instruments and Methods in Physics Research A 407 (1998) 356-358. doi: 10.1016/S0168-9002(98)00049-7The control system of the multi-strip ionization chamber for the HIMM
. Nuclear Instruments and Methods in Physics Research A 776 (2015) 21-26. doi: 10.1016/j.nima.2014.12.021Pywavelets-wavelet transforms in python
. Online; accessedAdaptive wavelet thresholding for image denoising and compression
. IEEE Transactions on Image Processing, vol. 9, no. 9, pp. 1532-1546,scikit-image: image processing in python
. PeerJ 2 (2014) e453. doi: 10.7717/peerj.453