1 Introduction
Over the past few decades, the computer tomography method has been used in accelerators to characterize the phase space of the particle beam. The tomography section of the Deutsches Elektronen Synchrotron's Photo Injector Test Facility at Zeuthem (PITZ) [1,2] consists of three FODO structures and four screens for measuring the transverse profile of the beam. In this process, the maximum entropy (MENT) [3–5] algorithm was used to reconstruct the phase space of the beam. In the Accelerators and Lasers in Combined Experiments (ALICE) accelerator [6], three screens with FODO cells have been used. The Paul Scherrer Institute (PSI) and the Spallation Neutron Source (SNS) [7] also use three to five screens to achieve phase space reconstruction using the MENT algorithm. In the accelerator in TRIUMF [8], a wire scanner with a quadrupole is used instead of screens. Three wires, fixed at three angles, are used to measure the projections in the transverse space, and MENT is used for the reconstructions. In the University of Maryland Electron Ring (UMER) [9], the strengths of a few quadrupoles are adjusted to obtain the full 180° range of angles. The reconstruction is carried out using a filtered back projection (FBP) algorithm. In ALICE, the FBP algorithm [9–11] is also used to reconstruct the phase space of the beam.
The preliminary construction of the Shanghai soft X-ray free electron laser (SXFEL) facility has been completed and it is currently under commissioning. The main linear accelerator (LINAC) accelerates the beam to an energy of 840 MeV. The local energy spread is 0.1%–0.15%, the peak current is ~600 A, the bunch charge is 0.5 nC, and the normalized emittance is about 2 mm ∙ mrad [12]. In order to verify the phase space reconstruction scheme, we use the ELEGANT code [13] to simulate the proposed procedures. During the simulation, both the FBP algorithm and the MENT algorithm are used to reconstruct the phase space at the BI1 segment of the SXFEL facility. In addition, the beam emittance and Twiss parameters are calculated as well.
2 Basic principles
2.1 Computer tomography
Briefly, the concept of computer tomography is to use the projections of an object at different angles to calculate the two-dimensional density distribution of the object. The image reconstruction algorithm is divided into two categories: one is an analysis reconstruction algorithm, which is based on the Radon transform, and the other is an iterative reconstruction algorithm mainly used to solve equations.
The FBP algorithm is a type of analysis reconstruction algorithm, and it has been widely used in image reconstruction. This algorithm is based on the Fourier slice theorem and it applies the inverse Radon transformation for image reconstruction. Considering the axes
-201801/1001-8042-29-01-009/alternativeImage/1001-8042-29-01-009-F001.jpg)
Assuming that the density function of the object is
The projection of the object at angle θ is
The one-dimensional Fourier transform of the projection is
where ω is the angular frequency in the frequency domain. By substituting Eq. (2) into Eq. (3) and applying the two-dimensional Fourier transform, the density distribution function of the object can be obtained as
Therefore, as long as the projections of the object at different angles are obtained, the density function can be calculated.
The MENT algorithm is a type of iterative reconstruction algorithm. The main purpose of the algorithm is to determine the unknown function
By substituting Eq. (5) into Eq. (2), we obtain:
Equation (6) can be solved for the unknown
The specific steps are as follows:
1. For all n, set the initial value of
2. For each n, use Eq. (6) and the measured
3. Projection
4. Compare this calculated
5. Repeat the above steps (except for the step 1) until the difference between the two values in step 4 is very small.
After several iterations, the error reduces to the permitted range, and the objective function is obtained. For the MENT algorithm, usually only three to five projections are required to reconstruct the phase space.
2.2 Principle of phase space reconstruction
When the electron beam passes through the quadrupole, the drift space, or other components, the bunch is rotated, stretched, and sheared. The transverse projected image of the beam can be obtained by the yttrium aluminum garnet (YAG) or optical transition radiation (OTR) screen after the quadrupole, and the projections of the phase space can be obtained by integrating the image along the x-axis. By changing the strength of the quadrupole, the projections of the beam at different angles can be obtained, or other methods can be used (such as varying the length of the drift space) to obtain the projections at different angles, which are used for the phase space reconstruction.
Assuming that the electron beam is transformed from reconstruction location A to observation location B, the transfer matrix is
The effect of this mapping is a geometrical transformation, as illustrated in Fig. 2. The two parallel lines 1 and 2 in Fig. 2a correspond to lines 1 and 2 in Fig. 2b.
-201801/1001-8042-29-01-009/alternativeImage/1001-8042-29-01-009-F002.jpg)
The image obtained at B denotes the particle density distribution on the xy-plane, however, the distribution function needs to be on the xx'-plane. If the image intensity is integrated along the y-direction at each x value, the result is the same as the projection in the phase space, as in each case we are effectively counting the number of particles within a narrow range of x-coordinate values. Then, the transfer matrix in Eq. (7) is used to obtain the projection at reconstruction point A [14] as
where ρ is the scaling factor and using
it can be expressed as
where s is the distance from line 1 to the origin, as shown in Fig. 2a. With the projections of phase space known at different angles at point A, the phase space can be reconstructed using the algorithms described above.
2.3 Normalized phase space
In general, the shape of the phase space distribution is long and narrow, as in the case when the beam passes through the long drift space, since it stretches and shears the transverse phase space distribution of the bunch. According to Liouville’s theorem, in order to keep the area of the phase space unchanged, the phase space of the beam has to be narrowed. As a result, most particles would lie along a particular direction. Sampling in this distribution at a uniform interval of angles can lead to a distortion in reconstruction.
However, in normalized phase space, the distribution of the phase space is a circle (unless the electron beam is " distorted" by certain effects). The reason is that in normalized phase space, the Twiss parameters β=1 and α=0. This corresponds to a distribution, where the correlation
The relationship between normalized phase space and real phase space is:
where α and β are the Twiss parameters and subscript N denotes the normalized phase space. By adding Eq. (12) to the right-hand-side of Eq. (7), the transfer matrix
With further calculation the transfer matrix can be rewritten as:
Here, the subscript B denotes the Twiss parameters corresponding to position B, and μ is the phase advance. According to the formula in Eq. (14), the formulas in Eqs. (9) and (10) can be used to obtain the projection angle and
It can be seen that in normalized phase space, the projection angle is equal to the phase advance. The projections can be obtained using the formulas in Eqs. (8) and (11). Therefore, reconstruction in the normalized phase space is possible.
3 Simulation and analysis
3.1 Design of the program
The schematic of the BI1 section of the SXFEL facility is shown in Fig. 3. The entrance of Q8 was chosen as the reconstruction location. Quadrupoles Q10–Q14 were used to match the following four FODO cells.
-201801/1001-8042-29-01-009/alternativeImage/1001-8042-29-01-009-F003.jpg)
The beam energy of this section was 256 MeV in the simulation. With the appropriate quadrupole strength from of Q15 to Q22, the phase advance from one screen to the next was set to 45°. From Eq. (14), the projection angle in normalized phase space is known to be 45°. Thus, the projections obtained from the four screens could cover the entire 180° range. We used the MNET algorithm and the FBP algorithm to reconstruct the normalized phase space.
Table 1 lists the positions and phase advance values of the profile (PRF)06–09. It can be seen in Table 1 that the interval of phase advances between each screen is almost 45°. Figure 4 shows the
PRF06 | PRF07 | PRF08 | PRF09 | |
---|---|---|---|---|
Position (m) | 8.515 | 10.315 | 12.115 | 13.915 |
Phase Advance (°) | 100.018 | 145.019 | 190.023 | 235.023 |
-201801/1001-8042-29-01-009/alternativeImage/1001-8042-29-01-009-F004.jpg)
3.2 Simulation and reconstruction
Combined with the parameters of the SXFEL facility, we used the ELEGANT code to simulate the propagation of the electron beam and then performed phase space reconstruction. According to the principles in Section 2, the phase space reconstruction process is as follows:
1. Generating the original electron beam based on the design and parameters of the SXFEL.
2. Obtaining beam images on screens 6–9.
3. Calculating the projections of the beam image along the x-direction at the four screens.
4. Reconstructing the normalized phase space of the beam at the entrance of Q8.
5. Transforming the image obtained from step 4 to the real phase space.
6. Calculating the emittance and Twiss parameters of the beam from the reconstructed phase space data.
Figure 5 shows the original phase space and the reconstructed phase space. The number of iterations and the reduction of errors by using the MENT algorithm are shown in Table 2. The errors refer to the relative errors between calculated pn(s) and measured pn(s).
Number of iterations | Error |
---|---|
0 | 39163.356392 |
1 | 0.238430 |
2 | 0.063809 |
3 | 0.008181 |
-201801/1001-8042-29-01-009/alternativeImage/1001-8042-29-01-009-F005.jpg)
In Fig. 5, the reconstructed phase space distribution obtained by the MENT algorithm (Fig. 5f) is very similar to the original phase space distribution. However, there are severe artifacts of the reconstructed phase space distribution obtained by FBP algorithm (Fig 5d). According to the theory of the FBP algorithm, the object function
4 Results and discussion
The Twiss parameters and the emittance of the beam can be calculated by the following formulas [6]:
where < > denotes averaging and ε is the beam emittance. Table 3 shows the original values and the measured values calculated from the image data of Fig. 5f.
Original values | Measured values | |
---|---|---|
α | -0.1346 | -0.0769 |
β | 5.471 | 5.481 |
normalized emittance(mm·mrad) | 0.987 | 0.860 |
The values of α and β vary in the range of approximately −9.007 to 5.410 and ~0.11–28.18, respectively, in the BI1 section. It can be seen that the measured values of the beam are very close to the original values.
The error mainly comes from the following issues: 1. In the simulation, the Twiss parameters of the beam did not accurately match with the Twiss parameters of the lattice structure. Particles did not travel along the ideal trajectory. 2. The interpolation method used to transform from the normalized phase to real phase space inevitably leads to an interpolation error. 3. The interpolation method was also used to calculate
5 Conclusion
This paper describes the principles of beam phase space reconstruction. The FBP algorithm and the MENT algorithm are used to reconstruct the phase space of the beam by simulation. The reconstructed results show a good agreement with the input values. The results also show the feasibility and reliability of the reconstruction of the beam phase space in the SXFEL facility using the MENT algorithm. With the commissioning of the SXFEL facility, the relevant reconstruction experiment will be completed. The phase space reconstruction technique provides a new and more effective method for measuring the beam phase space of the SXFEL facility.
Measurements of transverse projected emittance for different bunch charges at PITZ
.First results with tomographic reconstruction of the transverse phase space at PITZ
.MENT: A maximum entropy algorithm for reconstruction a source from projection data
. Comput. Vision Graph. 10, 48-68 (1979). doi: 10.1016/0146-664X(79)90034-0.Maximum entropy beam diagnostic tomography
. IEEE T. Nucl. Sci. 32, 1970-1972 (1985). doi: 10.1109/TNS.1985.4333784.A study of the maximum entropy technique for phase space tomography
. J. Instrum. 8, P02003 (2013). doi: 10.1088/1748-0221/8/02/P02003.ALICE Tomography section: Measurements and Analysis
. J. Instrum. 7, P04016 (2012). doi: 10.1088/1748-0221/7/04/P04016.Transverse phase-space beam tomography at PSI and SNS proton accelerators
.Transverse phase space tomography in TRIUMF injection beamline
.Tomography as a diagnostic tool for phase space mapping of intense partical beams
. Phys. Rev. Spec. Top.-Ac. 9, 112801 (2006). doi: 10.1103/PhysRevSTAB.9.112801.Principles of computerized tomographic imaging
. Med. Phys. 29, 106-108 (2001). doi: 10.1137/1.9780898719277Phase space tomography of relativistic electron beams
, Nucl. Instrum. Meth. A. 358, 264-267 (1995). doi: 10.1016/0168-9002(94)01411-6.Design Study of the Linac of the Shanghai soft X-Ray Free Electron Laser Facility
.A review of beam tomography research at Daresbury Laboratory
, Nucl. Instrum. Meth. A. (2013). doi: 10.1016/j.nima.2014.03.050.Beam tomography in transverse normalized phase space
. Nucl. Instrum. Meth. A. 642, 36-44 (2011). doi: 10.1066/j.nima.2011.04.002.