Next Article in Journal
Mittag–Leffler Synchronization of Caputo-Delayed Quaternion BAM Neural Networks via Adaptive and Linear Feedback Control Designs
Previous Article in Journal
Control of Photovoltaic Plants Interconnected via VSC to Improve Power Oscillations in a Power System
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Improvement in Trapezoidal Pulse Shaping Pile-Up in Nuclear Signal Processing

1
College of Nuclear Technology and Automation Engineering, Chengdu University of Technology, Chengdu 610059, China
2
Fundamental Science on Nuclear Waste and Environment Security Laboratory, Southwest University of Science and Technology, Mianyang 621010, China
*
Authors to whom correspondence should be addressed.
Electronics 2022, 11(11), 1745; https://doi.org/10.3390/electronics11111745
Submission received: 31 March 2022 / Revised: 27 May 2022 / Accepted: 29 May 2022 / Published: 31 May 2022

Abstract

:
In digital nuclear spectroscopy, trapezoidal shaping is widely used. Compared with traditional CR-RC4 semi-Gaussian shaping, it has a better energy resolution and higher counting rates, but does not void the pulse pile-up in the case of extreme counting rates. In this paper, a new recursive algorithm is proposed that can improve the anti-pile-up ability, and is easy to implement in any DSP-based processor that is used in any digital pulse shaping filter section. The complete deduction and simulation are presented in this paper.

1. Introduction

In 1972, Radeka et al. used a digital filter to process the nuclear signal at the Brookhaven National Laboratory [1]. At the time, due to the limitations associated with the improvement of the hardware, it was hard to implement. Subsequently, different experts and scholars have studied how technology can be used to improve spectrometer performance. In recent years, digital technology has made great progress in the development of nuclear instruments. Digital pulse shaping algorithms are an important element of the digital spectrometer, and are becoming easier to implement using the field programmable gate array (FPGA). Trapezoidal pulse shaping algorithms are widely applied to the digital spectrometer because of their almost optimum signal-to-noise ratio (SNR). Jordanov et al. developed the recursive algorithm for trapezoidal pulse shaping using the convolution method [2,3,4,5,6]. However, pulse pile-up is an issue that cannot be resolved in the trapezoidal pulse shaping algorithm when applied to high rates. Hongxu et al. only gave the relationship between the shaping parameters of the trapezoidal pulse shaping algorithm and the trapezoidal pulse shape [7,8]. Jie yu et al. proposed a method to reject the pile-up pulse continuous zone when a better approach is not available to proceed with the trapezoidal pulse pile-up [9].
In this paper, we provide a new method for improving the trapezoidal shaping and its performance against pile-up. The simulation results show that this method can remove and improve the pile-up performance in trapezoidal pulse shaping.

2. The Pile-Up of the Trapezoidal Shaping Algorithm

2.1. Detector Output Signal Representation

The detector output of the single signal can be expressed as the step signal in Equation (1):
u ( t ) = { 1 , t > 0 0 , e l s e
Figure 1 shows the detector output of the single signal in the time domain. It can be considered to be a unit step signal. Moreover, the continuous time sequence of the detector outputs can be represented as the added step signals in Equation (2):
x ( t ) = i u ( t t i )
where t i follows the Poisson distribution. Because of the arbitrary adjacent pulse time interval, which can be either short or long, and mainly depends on the position of the ionization chamber, the time interval will show a wide range from us to ms. Hence, we hope the next stage of the time constant of the charge sensitive amplifier (CSA) will be matched appropriately. In this way, it is easy to reduce pile -up in the CSA output. However, this will not prevent the occurrence of pile-up.
Figure 2 shows the continuous time sequence of the detector output without the discharge circuits. The time domain can be used to describe the staircase sequence signal and the time interval between the two pulses following the Poisson distribution. This indicates that the time interval may be very short in some cases.

2.2. Amplifier Output Representation

For the signal represented in Equation (1) through the CSA, the output signal of CSA can be written as:
x a m p = Q C f e t τ u ( t )
which is a negative exponential signal, and the Laplace transform of Equation (3) is:
X a m p ( s ) = Q C f 1 s + 1 / τ
where:
Q represents the detector output charges;
C f is the CSA feedback capacitance;
τ is the CSA time constant. This is equal to C f R f and, if it is too small, the output of the CSA will decay rapidly. Similarly, if it is too large, the output of the CSA will decay very slowly. In order to reduce the negative exponential signal pile-up, in theory, the time constant of the CSA should be minimal. In this case, the possibility of pile-up is small. However, this is difficult to realize in practical circuits if the time constant is too small.
In order to facilitate the simulation discussion, we assume that Q = C f = 1 ; then, the formula can be expressed as:
X a m p ( s ) = 1 s + 1 / τ
The corresponding Equation (5) of the z-transform form is:
X a m p ( z ) = 1 1 d z 1
where d = e T s / τ . In the following discussion, we assume that T s = 0.01 s , τ = 1 5 s , and d = e 5 T s = e 0.05 = 0.95 ; then, Equation (6) can be expressed as:
X a m p ( z ) = 1 1 0.95 z 1
Figure 3 represents the negative exponential output signal of the CSA when the input signal is the step signal.

2.3. Trapezoidal Pulse Shaping Algorithm

The trapezoidal pulse shaping (TPS) algorithm shows that when the input is a single discrete time negative exponential signal, using the TPS algorithm, the output becomes the single discrete time trapezoidal pulse. Now, we discuss the issue in three steps. The first step is the trapezoidal pulse synthesis, as shown in Figure 4, which is conducted through the x 1 operation, including the time shift and reverse, and summation to obtain the trapezoidal shaping output x 0 , as expressed as Equation (8):
x o = i = 1 4 x i
where x 1 = ( V max / t a ) t u ( t ) , x 2 = x 1 ( t t a ) u ( t t a ) , x 3 = x 1 ( t t b ) u ( t t b ) , and x 4 = x 1 ( t t c ) u ( t t c ) , t a is the rising time of the trapezoidal pulse, t b t a is the duration of the flat top, t c is the total width of the trapezoidal pulse, and V max is the height of the trapezoidal pulse. The second step involves using the z-transform, and Equation (8) can be expressed as:
X o ( z ) = ( 1 d z 1 ) ( 1 z n a ) ( 1 z n b ) z 1 n a ( 1 z 1 ) 2
where n a = t a / T s , n b = t b / T s , and n c = t c / T s , and T s is the sampling rate of the ADC. The third step is as follows—according to Equations (6) and (9), Equation (10) can be expressed as:
H ( z ) = X o ( z ) X i ( z ) = z 1 ( 1 a z 1 ) n a ( 1 z 1 ) 1 z n a z n b + z n c 1 z 1
This is the known expression for the trapezoidal shaping algorithm. In the following discussions, we assume that:
t a = 0.05 s , t b = 0.15 s , t c = 0.2 s , T s = 0.01 s , d = e 5 T s = e 0.05 = 0.95 , n a = 0.05 / 0.01 = 5 , n b = 0.15 / 0.01 = 15 , n c = 0.2 / 0.01 = 20 .
H ( z ) = z 1 ( 1 0.95 z 1 ) 5 ( 1 z 1 ) 1 z 5 z 15 + z 20 1 z 1
Assuming that the detector output is the single step signal, as shown in Figure 1, then the CSA output is the standard negative exponential signal, which can simulate the real nuclear signal, as shown in Figure 3. Using the TPS algorithm processing, the output of the trapezoidal signal is shown in Figure 5. The No1 pulse is the negative exponential signal and the No2 pulse is the trapezoidal shaping pulse. This has several advantages when compared with the traditional analog CR-RC4 shaping because it has better energy resolution. However, when the input has a staircase sequence signal, the output of the CSA shows the sequence of an added negative exponential signal; then, the trapezoidal output sequence will be preceded by Equation (10) and will result in greater complexity. Specifically, when there is a short time interval between two signals, the pile-up will happen almost immediately. This is discussed in further detail.

3. Discussion of the Pile-Up Pulses

3.1. No Pile-Up Using TPS Algorithm

As shown in Figure 6, in this case, the time interval of the two adjacent arbitrary staircase input signals has enough width and, at the same time, the time constant of the CSA is shorter. The negative exponential output of the CSA does not exist in the pile-up, which is proceeded by Equation (7), and the output sequence of the trapezoidal shaping does not include pile-up, as shown in Figure 7. This is the ideal result. However, in practice, the time interval will change from us to ms and is accompanied by a difference in the ionizing position.

3.2. Pile-Up 1 Using the TPS Algorithm

As shown in Figure 8, the No1 pulse is closer to the No2 pulse. In this case, the pile-ups of the two negative exponential outputs for the CSA signals are proceeded by Equation (7), as shown in Figure 9. The No1 negative exponential pulse tails are softly added to the No 2 negative exponential signal leading edge, but this is not a serious issue. Hence, the sequence output of the trapezoidal shaping is preceded by Equation (11), as shown in Figure 9, which indicates the No3 and No4 pulses. This does not decrease the energy resolution; that is, it is the most effective pulse. However, if it is preceded by the traditional CR-RC4 shaping, the two negative pulses, i.e., the No1 and No2 pulses, are unavailable. This means that the energy resolution will worsen, and suggests that the trapezoidal shaping is better than the CR-RC4 shaping.

3.3. Pile-Up 2 Using the TPS Algorithm

Another serious case is shown in Figure 10, where the No1 pulse is much closer to the No2 pulse. Hence, the two negative exponential output signals of the CAS become closer and the pile-up is preceded by Equation (7); at the same time, the pile-up of the output of the trapezoidal shaping is proceeded by Equation (11). Although the two trapezoidal pulses can be linked to become one convex profile (the No3 pulse in Figure 11), the pulse will be ineffective, and the adjacent pulses (the No1 and No2 pulses in Figure 11) cannot be separated completely. To account for the energy spectrum, we ignore the two pulses, resulting in worse resolution and inaccurate measurement. In the next section, the new method is used to address this problem.

4. Improved Trapezoidal Shaping Algorithm

4.1. Improved Trapezoidal Shaping Algorithm

From the above analysis, it is observable that pile-up 2 is a serious problem in energy spectrum accounting, and definitely affects the energy resolution and measurement. In order to attain the better energy resolution, a new function was built. This is now discussed in detail.
We rewrite the trapezoidal pulse shaping algorithm as:
H 1 ( z ) = ( 1 d z 1 ) ( 1 z n a ) ( 1 z n b ) z 1 n a ( 1 z 1 ) 2
We also add another factor:
H 2 ( z ) = z 1 z
This is a differential factor, which differentiates the trapezoidal pulse, the rising edge, and falling edge of the trapezoidal pulse. These comprise the flat part of the trapezoidal pulse, which becomes zero, and the flat part after differentiation changes in positive proportion to the flat part of the original trapezoidal pulse.
Then:
H f i n a l = H 1 ( z ) H 2 ( z ) = ( 1 d z 1 ) ( 1 z n a ) ( 1 z n b ) z 1 n a ( 1 z 1 ) 2 z 1 z
By substituting the parameters of Equation (11) into Equation (14), we obtain Equation (15), which is the new trapezoidal pulse shaping (NTPS) algorithm:
H f i n a l = ( 1 0.95 z 1 ) ( 1 z 5 ) ( 1 z 15 ) z 1 5 ( 1 z 1 ) 2 z 1 z
This is discussed in detail.
Figure 12 is the Bode diagram of Equation (15) or the NTPS algorithm. It shows the special low pass filter with the low frequency domain and the sharp attenuation out of the cut-off frequency. Figure 13 is the map of the pole-zero. The zero and pole position can be changed to adjust for the transform function to achieve a better SNR and better shaping in practice.
Figure 14 shows the Simulink diagram of the NTPS algorithm. The simulation is easily implemented by MATLAB using the NTPS algorithm to process the negative exponential signal. The parameters are the same as those in Equations (11) and (15).
We discovered that the use of the NTPS algorithm can be used to influence the input negative exponential signal sequence of the CSA; regardless of whether the pile-up happened or not, proceed using the TPS algorithm; if pile-up happened, proceed using the NPTS algorithm. Next, we discuss two pile-up cases.

4.2. Pile-Up 1 Processing Using the NTPS Algorithm

As shown in Figure 15, there is pile-up between the No1 and No2 negative exponential pulses; using the TPS algorithm represented in Equation (10), the pile-up still exists as shown in Figure 8. The No3 and No4 trapezoidal pulses, however, still experience pile-up when using the NTPS algorithm, which is represented in Equation (14). By comparing the two results, the two pulses are separated successfully by the NTPS algorithm.

4.3. Pile-Up 2 Processing Using the NTPS Algorithm

As shown in Figure 16, the No1 and No2 pulses represent the negative exponential output sequence of the CSA. For the No1 and No2 pulses, when the pile-up negative exponential is preceded by the TPS algorithm represented in Equation (10), the output trapezoidal pulses will still pile-up because of the small time interval between the No1 and No2 pulses, as shown in Figure 11. This implies that the TPS algorithm is not effective. However, if the negative exponential output sequence of the CSA is preceded by the NTPS algorithm, which is denoted in Equation (14), the pile-up pulses will be successfully separated, as shown in the No3 and No4 pulses in Figure 16. This suggests that the energy will be greatly improved.

5. Comparison of Two Algorithms on Energy Resolution

As shown in Figure 17, 5.3% of the energy resolution of the TPS algorithm is represented by the blue mark “o”, and 4.2% of the energy resolution of the NTPS algorithm is represented by the blue mark “*”. The simulated photoelectric peak appears in the 47th channel. Obviously, the energy resolution of the NTPS algorithm is better than that of the TPS algorithm. In the simulation, we used the Signal Builder module in Simulink to establish the input signals. After TPS and NTPS algorithm processing, the data were saved in Excel. MATLAB was used to write a multi-channel amplitude analyzer program to process these data.

6. Conclusions

In this paper, the recursive algorithm of the trapezoidal pulse shaping is derived from the z-transform method. Adding a sub-function, we invented a new formula to process the pile-up. In theory, the NTPS algorithm can process any TPS algorithm pile-up. This is an effective approach that determines the total number in the spectrum and is more easily implemented by the DSP processor. In addition, the energy resolution of the NTPS algorithm is better than that of the TPS algorithm.

Author Contributions

Conceptualization, J.W.; methodology, X.T. All authors have read and agreed to the published version of the manuscript.

Funding

This research was funded by Fundamental Science on Nuclear Waste and Environment Security Laboratory, Southwest University of Science and Technology, grant number Grant no.15YYHK17.

Acknowledgments

We would like to thank Quanwei Li, who carefully read the manuscript and gave valuable advice.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Radeka, V. Trapezoidal filtering of signals from large germanium detectors at high rates. Nucl. Instrum. Methods 1972, 99, 525–539. [Google Scholar] [CrossRef]
  2. Jordanov, V.T.; Knoll, G.F. Digital synthesis of pulse shapes in real time for high resolution radiation spectroscopy. Nucl. Instrum. Methods Phys. Res. Sect. A Accel. Spectrom. Detect. Assoc. Equip. 1994, 345, 337–345. [Google Scholar] [CrossRef] [Green Version]
  3. Jordanov, V.T.; Knoll, G.F.; Huber, A.C.; Pantazis, J.A. Digital techniques for real-time pulse shaping in radiation measurements. Nucl. Instrum. Methods Phys. Res. Sect. A Accel. Spectrom. Detect. Assoc. Equip. 1994, 353, 261–264. [Google Scholar] [CrossRef] [Green Version]
  4. Jordanov, V.T. Real time digital pulse shaper with variable weighting function. Nucl. Instrum. Methods Phys. Res. Sect. A Accel. Spectrometers Detect. Assoc. Equip. 2003, 505, 347–351. [Google Scholar] [CrossRef]
  5. Nakhostin, M. Application of pulse shape discrimination to coplannar CdZnTe detector. Nucl. Instrum. Methods Phys. Res. Sect. A Accel. Spectrom. Detect. Assoc. Equip. 2013, 729, 514–545. [Google Scholar] [CrossRef]
  6. Pechousek, J. Software emulator of nuclear pulse generation with different pulse shapes and pile-up. Nucl. Instrum. Methods Phys. Res. Sect. A Accel. Spectrom. Detect. Assoc. Equip. 2016, 729, 541–545. [Google Scholar] [CrossRef]
  7. Hong, X.; Ni, S.; Zhou, J.; Ma, Y.; Liu, Y.; Zhou, W. Simulation study on Gaussian pulse shaping algorithm. Nucl. Tech. 2016, 39, 110403. [Google Scholar] [CrossRef]
  8. Hong, X.; Ma, Y.; Zhou, J.; Hu, Y.; Wan, X.; Du, X.; Chen, T. New methods to remove baseline drift in trapezoidal pulse shaping. Nucl. Sci. Technol. 2015, 26, 050402. [Google Scholar] [CrossRef]
  9. Yu, J. Pile-up continuous zone reject method. Appl. Radiat. Isot. 2020, 165, 232–236. [Google Scholar] [CrossRef] [PubMed]
Figure 1. Detector equivalent output u(t).
Figure 1. Detector equivalent output u(t).
Electronics 11 01745 g001
Figure 2. Typical staircase sequence signal x(t).
Figure 2. Typical staircase sequence signal x(t).
Electronics 11 01745 g002
Figure 3. The typical CSA output.
Figure 3. The typical CSA output.
Electronics 11 01745 g003
Figure 4. Trapezoidal pulse synthesis.
Figure 4. Trapezoidal pulse synthesis.
Electronics 11 01745 g004
Figure 5. Trapezoidal pulse output.
Figure 5. Trapezoidal pulse output.
Electronics 11 01745 g005
Figure 6. Detector equivalent outputs without pile-up.
Figure 6. Detector equivalent outputs without pile-up.
Electronics 11 01745 g006
Figure 7. Non-pile-up using the TPS algorithm.
Figure 7. Non-pile-up using the TPS algorithm.
Electronics 11 01745 g007
Figure 8. Detector equivalent outputs corresponding to pile-up 1.
Figure 8. Detector equivalent outputs corresponding to pile-up 1.
Electronics 11 01745 g008
Figure 9. Pile-up 1 using the TPS algorithm.
Figure 9. Pile-up 1 using the TPS algorithm.
Electronics 11 01745 g009
Figure 10. Detector equivalent outputs corresponding to pile-up 2.
Figure 10. Detector equivalent outputs corresponding to pile-up 2.
Electronics 11 01745 g010
Figure 11. Pile-up 2 using the TPS algorithm.
Figure 11. Pile-up 2 using the TPS algorithm.
Electronics 11 01745 g011
Figure 12. Bode diagram of Equation (15) or the NTPS algorithm.
Figure 12. Bode diagram of Equation (15) or the NTPS algorithm.
Electronics 11 01745 g012
Figure 13. Pole-zero map of the Equation (15) or the NTPS algorithm.
Figure 13. Pole-zero map of the Equation (15) or the NTPS algorithm.
Electronics 11 01745 g013
Figure 14. The NTPS algorithm Simulink diagram.
Figure 14. The NTPS algorithm Simulink diagram.
Electronics 11 01745 g014
Figure 15. Pile-up 1 using the NTPS algorithm.
Figure 15. Pile-up 1 using the NTPS algorithm.
Electronics 11 01745 g015
Figure 16. Pile-up 2 using the NTPS algorithm.
Figure 16. Pile-up 2 using the NTPS algorithm.
Electronics 11 01745 g016
Figure 17. Comparison of the two algorithms in terms of energy resolution.
Figure 17. Comparison of the two algorithms in terms of energy resolution.
Electronics 11 01745 g017
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Share and Cite

MDPI and ACS Style

Wu, J.; Tuo, X. Improvement in Trapezoidal Pulse Shaping Pile-Up in Nuclear Signal Processing. Electronics 2022, 11, 1745. https://doi.org/10.3390/electronics11111745

AMA Style

Wu J, Tuo X. Improvement in Trapezoidal Pulse Shaping Pile-Up in Nuclear Signal Processing. Electronics. 2022; 11(11):1745. https://doi.org/10.3390/electronics11111745

Chicago/Turabian Style

Wu, Junlong, and Xianguo Tuo. 2022. "Improvement in Trapezoidal Pulse Shaping Pile-Up in Nuclear Signal Processing" Electronics 11, no. 11: 1745. https://doi.org/10.3390/electronics11111745

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop