Introduction
The precise measurement of the neutron spectrum distribution in the radiation field is a basic process in nuclear physics research, radiation protection and monitoring, reactor safety and control, particle accelerator and other nuclear technology fields. During the process of neutron spectrum measurement, it is necessary to unfold the neutron spectrum. Because the neutron spectrum unfolding procedure is an underdetermined problem with numerous viable solutions, a specialized optimization algorithm must be used to find the optimal solution [1-4].
The neutron spectrum unfolding is a process of solving underdetermined equations, and at the earliest the least square method is used to unfold the neutron spectrum. However, the unfolded spectrum obtained through multiple iterations is quite different from the reference spectrum. However, by adding the prior information, the results could be improved to a certain extent [5]. Engl et al. used a regularization method to unfold the neutron spectrum, which constrained the solution by adding the prior information to improve the stability and continuity of the unfolded spectrum [6]. Reginatto et al. used the NE213 scintillation detector to measure the neutron spectrum. Moreover, the authors combined the Bayesian analysis method with the maximum entropy principle to unfold the neutron spectrum and to achieving relatively high accuracy [7-8]. Artificial intelligence algorithms were frequently utilized in the neutron spectrum unfolding [9]. Freeman et al. based on BSS used a genetic algorithm to unfold the neutron spectrum. This method used a computer-simulated "chromosome" to encode the neutron spectrum, and then the individuals with the best fitness was chosen as the final result. Compared with other neutron spectrum unfolding methods, the extracted results show that the genetic algorithm can obtain more accurate unfolded spectrum in the absence of prior information [10]. Subsequently, Sharghi Ido et al. developed two different artificial neural network methods to unfold the neutron spectrum (multi-layer and single-layer). With this method, the human nervous system was simulated and the neural network model was trained with known inputs and outputs to adjust its internal parameters to appropriate values. Finally, Am-Be and 252Cf neutron sources were measured, and the unfolded spectrum have a good agreement [11]. M. Shahmohammadi Beni et al. proposed the Maximum Likelihood-Expectation Maximization algorithm to unfold the neutron spectrum, and unfolded the Am–Be neutron spectrum in the absence of prior information and got good results[12]. The MLEM algorithm has strong convergence ability and high stability in the early stage of iteration, but the later iteration is easy to suffer the pitfalls of local optima.
The PSO algorithm was developed by Eberhart and Kennedy in 1995 and is based on bird foraging behavior[13]. More specifically, the PSO begins with a randomly generated initial population (known as a particle swarm) that is randomly distributed as a candidate solution in the search space. The PSO contains the velocity and position for each particle (solution vector). The speed of each particle must be dynamically modified based on its own flight experience, as well as the flight experiences of the surrounding particles. On top of that, the position of each particle must be updated by using the cost function [14]. PSO algorithm has the advantage of global convergence, strong randomness of search, and adjustable local search ability and global search ability in the whole iteration process. H. Shahabinejad et al. developed a novel neutron spectrum unfolding code (SDPSO) based on particle swarm optimization algorithm, and performed neutron spectrum unfolding for Am–Be neutron sources [15]. The disadvantage is that the highly random search process is easy to get unreasonable flight direction and step length of particles, which leads to the invalid iteration and affect efficiency and accuracy. In this regard, many scholars have studied traditional PSO from the perspective of parameter setting, convergence and combining with other algorithms to improve algorithms. Some authors use the inertia weights to balance the global search capability and the local search capability [16-18]. Some authors propose combination algorithms, which are based on the global search advantage of PSO algorithm, such as the combination of PSO and genetic algorithm[19], PSO and k-clustering algorithm[20].
In this paper, an improved PSO-MLEM algorithm, combined of PSO algorithm and MLEM algorithm, is proposed for neutron spectrum unfolding. The PSO-MLEM algorithm has the advantages of PSO and MLEM, which can avoid the pitfalls of local optima through the adjustment of dynamic acceleration factors, and improve the convergence speed and accuracy.
Method and Materials
Theoretical model of Bonner Spheres Spectrometer
The Bonner Spheres Spectrometer (BSS) is considered a typical neutron spectrum measurement instrument that offers a wide energy range, high sensitivity, isotropic response, consistent neutron flux, and ambient dose equivalent. The neutron is moderated by a polyethylene shell in the BSS. The center uses a thermal neutron detector, which can be one of the following three types: 3He, 10B and 6Li. The 3He neutron proportional detector with the highest thermal neutron cross section is selected as the detector. For unfolding the neutron spectrum, the response function for each sphere of BSS is required, and is commonly calculated by the Monte Carlo method. The measurement principle can be expressed as the first kind of Fredholm integral equation [21-23]:
Since the
Eq. (2) can also be expressed in matrix form as follows:
Usually, N and R are known quantities, and the number of Bonner spheres n is often less than the number of the energy interval m. The Eq. (3) belongs to the underdetermined equations. In this work, the PSO-MLEM algorithm was used to solve the underdetermined problem in neutron spectrum unfolding.
Principle of PSO-MLEM algorithm
This paper combines the PSO algorithm with the MLEM algorithm, and the dynamic acceleration factor is used to balance the global and local search ability, which improves the convergence speed and calculation accuracy of the PSO-MLEM algorithm. The MLEM algorithm is used to limit the search direction of particles during each iteration of the PSO-MLEM algorithm. Figure 1(a) depicts the particle optimization process in the PSO-MLEM algorithm. The MLEM algorithm guides the flight direction of the particle swarm to ensure that the particles always fly to the solution space of the MLEM algorithm. The theoretical position calculated by the MLEM algorithm replaces the position determined by the particle inertia, which effectively reduces the possibility of search stagnation and missing the optimal solution. At the same time, the displacement of the particles is determined by both the PSO and MLEM algorithms during each iteration of the PSO-MLEM algorithm. As shown in the dynamic acceleration factor transformation Eq. (8), the PSO-MLEM algorithm adopts a smaller
-202304/1001-8042-34-04-013/alternativeImage/1001-8042-34-04-013-F001.jpg)
The following 6 steps further explain the general procedure of the PSO-MLEM method for neutron spectrum unfolding:
1. Initialization of the particle swarm
In the PSO-MLEM algorithm, the initial step is to define the number of particles, the number of particles is set to 600, and each particle is defined as a solution vector that must be optimized
2. Calculation of the cost function
The following cost function is specified to limit the search range of the PSO-MLEM algorithm:
Through the reference spectrum
3. Update the local optima solution of a single particle (pbest)
The solution of each particle is calculated in the current iteration process. Then the cost value of the current solution is compared with the cost value of the historical local optima solution(pbest). If the current cost value is smaller than the historical cost value, the local optima solution is updated to the solution of the current particle.
4. Update the global optima solution of all particles (gbest)
The cost value of the local optima solution (pbest) is compared with the cost value of the global optima solution (gbest). If the cost value of the local optima solution is smaller than the cost value of the global optima solution, the global optima solution is updated to the local optima solution of the particle.
5. Update the velocity and solution vector of the particles
According to Eq. (6) and (7), the velocity
6. Judging convergence
The search is terminated when the cost value of the global optima solution achieves the predefined iterative convergence condition or when the current number of iterations reaches the maximum number of iterations. If the above conditions are not met, steps 2)-6) are repeated.
The algorithm flow chart summarizes the preceding 6 steps as follows Fig.1(b):
Verification by Monte Carlo simulation
In order to verify the accuracy and convergence of the PSO-MLEM algorithm, the Monte Carlo method was used to simulate the response function of the Bonner Spheres Spectrometer. And the count rates of Bonner spheres were simulated while four reference spectra from the IAEA Technical Report Series No. 403[24] were used as the input spectra of the Monte Carlo method. The MXD_FC33 program in the UMG unfolding software package V3.3, which was based on the method of maximum entropy deconvolution (MAXED), was used to unfold the neutron spectrum[25]. The reference spectrum, adding a random error, was set as the prior information of the PSO-MLEM algorithm and MAXED. Combined with the response function and the count rates of Bonner spheres obtained by simulation, the neutron spectrum was unfolded using PSO-MLEM, PSO, MLEM and MAXED, respectively.
Bonner Spheres Spectrometer response function simulation
The Bonner spheres model refers to the parameters used by the Physikalisch Technische Bundesanstalt (PTB). The Bonner spheres spectrometer consists of 15 polyethylene moderated spheres of various diameters, with diameters of 0, 2.5, 3, 3.5, 4, 4.5, 5, 6, 7, 8, 9.5, 10, 12, 15, 18 inches. The response function has an energy range of 1×10–9~398 MeV, which is divided into 60 energy groups [26]. Each sphere has a thermal neutron detector in the center. The center detector chooses the SP90 3He proportional counter manufactured by Centronics of the UK. The Bonner sphere model is shown in Fig.2(a).
-202304/1001-8042-34-04-013/alternativeImage/1001-8042-34-04-013-F002.jpg)
The response functions of Bonner spheres spectrometer refer to the counts caused by unit incident neutrons emitted from parallel source terms. The number of reactions between the neutrons entering the detector and 3He must be recorded when the Monte Carlo method was used to simulate the response function. The response functions of Bonner spheres spectrometer to a single-energy parallel neutron beam with a diameter of d and incident energy of E is defined as follows[27]:
As Fig. 2(b), the Bonner sphere with a small diameter has a high response in the low energy range, and the Bonner sphere with a large diameter has a high response in the high energy range. In addition, as the diameter of the Bonner sphere increases, the maximum response gets narrower and moves towards higher energies.
Validation of the unfolded spectrum
As shown in Fig.3(a1), the Input-Spec1 is from the CERN-CEC high energy reference field facility, 40 cm thick Fe shield in the IAEA Technical Report Series No. 403, the Input-Spec2 is from Booster-Synchrotron of the Stanford Synchrotron Radiation Laboratory (SSRL) SPEAR in the IAEA Technical Report Series No. 403, the Input-Spec3 is from CERN Pu-Be calibration spectra in the IAEA Technical Report Series No. 403 and the Input-Spec4 is from Final Focus Test Beam Facility (FFTB) in the IAEA Technical Report Series No. 403. In the Fig.3(a1), the Ref-Spec1, Ref-Spec2, Ref-Spec3 and Ref-Spec4, which are the spectra from Input-Spec1 to Input-Spec2 adding the ±10% random error, are the prior information for the PSO-MLEM algorithm and MAXED. Figure 3(a2) shows the count rates of Bonner spheres spectrometer obtained when the Input-Spec1 to Input-Spec4 were used for the input spectrum of simulation. With the response function and the count rates of Bonner spheres spectrometer obtained by simulation, the PSO-MLEM, PSO, MLEM and MAXED were used to unfold the neutron spectrum.
-202304/1001-8042-34-04-013/alternativeImage/1001-8042-34-04-013-F003.jpg)
Figure 3(b1) - (e1) depict the results of the unfolded spectra by the PSO-MLEM, PSO, MLEM and MAXED with the prior information (Ref-Spec1 to Ref-Spec4). Figure 3(b2) - (e2) is the ratio relation between
The Pearson correlation coefficient was utilized for the evaluation of the correlation between the unfolded neutron spectrum
The relative mean error (RME) was also used to calculate the difference of the unfolded spectrum from the input spectrum. The RME can calculate as following equation:
As can be seen from Table 1 that even if the prior information with a random error from the input spectra of the Monte Carlo method is used in the PSO-MLEM algorithm, the correlation coefficients of the PSO-MLEM unfolded spectrum of the four neutron sources are all above the value of 0.99 and the relative mean error
Unfolding method | r and RME | Input spectrum | |||
---|---|---|---|---|---|
Input-Spec1 | Input-Spec2 | Input-Spec3 | Input-Spec4 | ||
PSO-MLEM | 1.0000 | 0.9989 | 0.9940 | 0.9991 | |
0.0132 | 0.0203 | 0.0664 | 0.0195 | ||
PSO | 0.9862 | 0.8123 | 0.7467 | 0.8815 | |
1.6720 | 2.1514 | 3.7010 | 0.2062 | ||
MLEM | 0.9877 | 0.9481 | 0.7447 | 0.8655 | |
0.6627 | 1.0882 | 3.0150 | 0.1978 | ||
MAXED | 0.9917 | 0.9037 | 0.9753 | 0.9914 | |
0.1305 | 0.3528 | 0.2035 | 0.0719 |
The time complexity of the algorithm is represented by Big O notation, and the time complexity of the PSO-MLEM algorithm is O(T*N), which is linearly related to the number of iterations T and population N of the algorithm. Fig. 4 shows a plot between the minimum cost of Eq. (5) and the number of iterations of the PSO-MLEM, PSO and MLEM algorithms, which indicate the convergence of algorithm. From the Fig.4, the minimum cost of the PSO-MLEM algorithm is less than that of the PSO and MLEM algorithms when the convergence condition is achieved. And when the convergence condition is achieved, the iterations number of the PSO-MLEM algorithm is 500, the iteration number of the MLEM algorithm is 700, the iterations number of the PSO algorithm is 1550. The convergence speed of the PSO-MLEM algorithm is 1.4 times and 3.1 times higher than that of MLEM and PSO algorithms.
-202304/1001-8042-34-04-013/alternativeImage/1001-8042-34-04-013-F004.jpg)
Experiment
The Bonner Spheres Spectrometer designed by the China Institute of Atomic Energy was used for experiment to further evaluate the viability of the algorithm [27]. As Fig.5(a), the Bonner Spheres Spectrometer consists of one SP9 3He proportional counter and ten polyethylene spheres with diameters of 1, 2.5, 3, 3.5, 4, 5, 6, 8, 10, 12 inches. The 3He neutron proportional counter as the central detector is wrapped in 10 polyethylene spheres. The neutron energy range of the response function is between 9.441×10–10 and 18.84 MeV, which is divided into 207 energy groups. The response function of BSS is shown in Fig.5(b).
-202304/1001-8042-34-04-013/alternativeImage/1001-8042-34-04-013-F005.jpg)
The BSS of the China Institute of Atomic Energy is used to measure the reference 252Cf neutron source, and the count rates of BSS
-202304/1001-8042-34-04-013/alternativeImage/1001-8042-34-04-013-F006.jpg)
The Table 2 is the Correlation coefficient (r) and relative mean error (RME) of unfolded spectrum by PSO-MLEM algorithm to the reference spectrum. The error analysis of the unfolded spectrum shows that the correlation coefficient of the unfolded spectrum
Correlation coefficient (r) and relative mean error (RME) | ||
---|---|---|
252Cf neutron source | ||
0.9980 | 0.1718 |
Conclusion
In this work, to solve the problem of the MLEM algorithm which is easy to suffer the pitfalls of local optima and the problem of the PSO algorithm which is easy to get unreasonable flight direction and step length of particles, which leads to the invalid iteration and affect efficiency and accuracy, an improved PSO-MLEM algorithm was proposed for neutron spectrum unfolding. Based on the traditional PSO algorithm, PSO and MLEM algorithm are mixed, and the convergence speed and accuracy of the algorithm are improved by dynamic acceleration factor, and the algorithm will not suffer the pitfalls of the local optima.
The Monte Carlo method was employed to simulate the response functions of the BBS and four reference spectra from the IAEA Technical Report Series No. 403 were used as the input spectra. The effects caused by prior information with random error and fluctuate more strongly of spectrum on the unfolded spectrum were investigated. The results show that the PSO-MLEM algorithm is not sensitive to the fluctuation of prior information, and the unfolded spectrum has a strong correlation with the input spectrum of Monte Carlo method. In addition, the PSO-MLEM algorithm has strong robustness to the neutron spectrum with large fluctuations. Besides, PSO-MLEM algorithm is used to unfold the experimental data of 252Cf neutron source, and the result shows that the PSO-MLEM algorithm is competent for neutron spectrum unfolding.
Comparison between standard unfolding and Bayesian methods in Bonner spheres neutron spectrometry
. Nucl. Instrum. Meth. A. 689, 35-39 (2012). doi: 10.1016/j.nima.2012.06.016Optimization study on neutron spectrum unfolding based on the least-squares method
. Nucl. Sci. Tech. 29, 118 (2018). doi: 10.1007/s41365-018-0454-5Studies on unfolding energy spectra of neutrons using maximum-likelihood expectation–maximization method
. Nucl. Sci. Tech. 30, 134 (2019). doi: 10.1007/s41365-019-0662-7MAXED, a computer code for maximum entropy deconvolution of multisphere neutron spectrometer data
. Health Phys. 77, 579-583 (1999). doi: 10.1097/00004032-199911000-00012Discrepancy principles for Tikhonov regularization of ill-posed problems leading to optimal convergence rates
. J. Optimiz. Theory App. 52, 209-215 (1987). doi: 10.1007/BF00941281Spectrum unfolding, sensitivity analysis and propagation of uncertainties with the maximum entropy deconvolution code MAXED
. Nucl. Instrum. Meth. A. 476, 242-246 (2002). doi: 10.1016/S0168-9002(01)01439-5Bayesian and maximum entropy methods for fusion diagnostic measurements with compact neutron spectrometers
. Rev. Sci. Instrum. 79, 23505 (2008). doi: 10.1063/1.2841695Neutron spectrum unfolding using three artificial intelligence optimization methods
. Appl. Radiat. Isot. 147, 136-143 (2019). doi: 10.1016/j.apradiso.2019.03.009Genetic algorithms - a new technique for solving the neutron spectrum unfolding problem
. Nucl. Instrum. Meth. A. 425, 549-576 (1999). doi: 10.1016/S0168-9002(98)01427-2Unfolding the neutron spectrum of a NE213 scintillator using artificial neural networks
. Appl. Radiat. Isotopes. 67, 1912-1918 (2009). doi: 10.1016/j.apradiso.2009.05.020A new optimizer using particle swarm theory
. Proceedings of the sixth international symposium on micro machine and human science.Particle swarm optimization with adaptive mutation for multimodal optimization
. Appl. Math. Comput. 221, 296-305 (2013). doi: 10.1016/j.amc.2013.06.074A novel neutron energy spectrum unfolding code using particle swarm optimization
. Radiat. Phys. Chem. 136, 9-16 (2017). doi: 10.1016/j.radphyschem.2017.03.033A new particle swarm optimization algorithm with adaptive inertia weight based on Bayesian techniques
. Appl. Soft Comput. 28, 138-149 (2015). doi: 10.1016/j.asoc.2014.11.018Particle swarm optimization with selective multiple inertia weights
.Asynchronous Particle Swarm Optimization-Genetic Algorithm (APSO-GA) Based Selective Harmonic Elimination in a Cascaded H-Bridge Multilevel Inverter
. IEEE T. Ind. Electron. 69, 1477-1487 (2022). doi: 10.1109/TIE.2021.3060645A composite particle swarm optimization algorithm for hospital equipment management risk control optimization and prediction
. J. Env. Public Health 2022, 1-9 (2022). doi: 10.1155/2022/5268887Monte-Carlo calculated detector response functions to unfold radiative neutron capture spectra
. Nucl. Instrum. Meth. A. 991, 165018 (2021). doi: 10.1016/j.nima.2021.165018Neutron spectrum unfolding using genetic algorithm in a Monte Carlo simulation
. Nucl. Instrum. Meth. A. 737, 76-86 (2014). doi: 10.1016/j.nima.2013.11.012Fundamental study on neutron spectrum unfolding using maximum entropy and maximum likelihood method
. Prog. Nucl. Sci. Technol. 1, 233-236 (2011). doi: 10.15669/pnst.1.233Compendium of neutron spectra and detector responses for radiation protection purposes
. Technical Reports Series No.403 (2001).Unfolding neutron spectra from water-pumping-injection multilayered concentric sphere neutron spectrometer using self-adaptive differential evolution algorithm
. Nucl. Sci. Tech. 32, 26 (2021). doi: 10.1007/s41365-021-00864-4Geant4 simulation of multi-sphere spectrometer response function and the detection of 241Am–Be neutron spectrum
. Nucl. Sci. Tech. 28, 174 (2017). doi: 10.1007/s41365-017-0328-2Neutron spectra measurement of IHNI-I BNCT beam with multi- sphere spectrometer
. Atomic Energy Science and Technology 48, 2127-2132 (2014). doi: 10.7538/yzk.2014.48.11.2127 (in Chinese)