Abstract
CR–RC\(^m\) filters are widely used in nuclear energy spectrum measurement systems. The choice of parameters of a CR–RC\(^m\) digital filter directly affects its performance in terms of energy resolution and pulse count rate in digital nuclear spectrometer systems. A numerical recursive model of a CR differential circuit and RC integration circuit is derived, which shows that the shaping result of CR–RC\(^m\) is determined by the adjustment parameter (k, it determines the shaping time of the shaper) and the integral number (m). Furthermore, the amplitude–frequency response of CR–RC\(^m\) is analyzed, which shows that it is a bandpass filter; the larger the shaping parameters (k and m), the narrower is the frequency band. CR–RC\(^m\) digital Gaussian shaping is performed on the actual sampled nuclear pulse signal under different shaping parameters. The energy spectrum of \(^{137}\)Cs is measured based on the LaBr\(_3\)(Ce) detector under different parameters. The results show that the larger the shaping parameters (m and k), the closer the shaping result is to Gaussian shape, the wider is the shaped pulse, the higher is the energy resolution, and the lower is the pulse count rate. For the same batch of pulse signals, the energy resolution is increased from 3.8 to 3.5%, and the full energy peak area is reduced from 7815 to 6503. Thus, the optimal shaping parameters are \(m=3\) and \(k=0.95\). These research results can provide a design reference for the development of digital nuclear spectrometer measurement systems.
Similar content being viewed by others
Avoid common mistakes on your manuscript.
1 Introduction
In analog nuclear spectrometer systems, to improve the signal-to-noise ratio (SNR) of nuclear pulse processing, a CR–RC\(^m\) circuit is often used to filter the nuclear pulse signal and shape it into a quasi-Gaussian shape [1,2,3]. In digital nuclear spectrometer systems, based on a high-speed analog-to-digital converter (ADC) and a high-performance field-programmable gate array (FPGA), the filtering of a nuclear pulse signal is often realized using a digital algorithm. Triangular filters, trapezoidal filters, and cusp-like filters are widely used in digital nuclear pulse processing [4,5,6,7,8,9,10,11]. Owing to the simple implementation and high SNR of a Gaussian filter, it is an important digital filter shaping method. The method mainly includes a time domain based on the digital Sallen–Key [12,13,14,15,16] and a transfer function based on CR–RC\(^m\) [17]. The digital Gaussian filter based on CR–RC\(^m\) is often used in digital nuclear spectrometer systems, owing to its superior performance and simple shaping principle and method. Based on the basic principles of CR and RC circuits, a recursive model of the digital filter shaping algorithm is derived. Furthermore, the actual sampled nuclear signal is processed using the CR–RC\(^m\) filter, and the effect of the digital filter is analyzed based on the amplitude–frequency response characteristics. The performance is compared and analyzed in terms of the energy resolution and pulse count rate under different forming parameters.
2 Filter shaping principle of CR–RCm
The CR–RC\(^m\) filter shaping circuit used in nuclear energy spectrum measurement systems is shown in Fig. 1. In this figure, \(V_{\text {in}}\) is the input of the circuit, CR is the differential circuit (high-pass filter circuit), RC is the integral circuit (low-pass filter circuit), and \(V_{\text {out}}\) is the output of the circuit. The input nuclear pulse signal is shaped into a quasi-Gaussian shape by the circuit.
As shown in Fig. 1, R\(_1\)C\(_1\) = R\(_2\)C\(_2\) = R\(_m\)C\(_m\) = \(\tau\). \(V_{\text {in}}\) (as a function of the time t) is the input signal. When it is a step signal, it is represented by Eq. (1) in the time and complex frequency domains, where Q is a charge and \(C_i\) is an input capacitor.
The transfer function of CR differential shaping is
The transfer function of RC integral shaping is
From Eqs. (2) and (3), the output is
If the input signal \(V_{\text {in}}\) is a negative exponential signal, it is necessary to add a pole-zero cancelation circuit before the differential shaping to achieve Gaussian shaping of the nuclear pulse signal [18].
3 Derivation of algorithm of CR–RC\(^m\) digital filter
A CR–RC\(^m\) filter consists of a CR high-pass filter and m RC low-pass filters. To digitize the nuclear signal more effectively, the CR and RC circuits are separately digitized [19, 20].
-
1.
The differential equation for CR high-pass circuits according to Kirchhoff’s current law (KCL) is shown in Eq. (5).
$$\begin{aligned} \frac{{\mathrm {d}}V_{\mathrm{i}}(t)}{{\mathrm {d}}t} = \frac{V_{{\text {o}}}(t)}{\mathrm{CR}} + \frac{{\mathrm {d}}V_{{\text {o}}}(t)}{{\mathrm {d}}t}, \end{aligned}$$(5)where \(V_{{\text {i}}}(t)\) and \(V_{{\text {o}}}(t)\) are the input and output signals of the CR circuit, respectively. For the discrete signal sequence digitized by the high-speed ADC, \(V_{\text {i}}(t)\) is converted into a digital sequence X[n], and \(V_{{\text {o}}}(t)\) is converted into a digital sequence Y[n]. The derivation can yield the digital recursive formula shown in Eq. (6).
$$\begin{aligned} Y[n]=k(X[n]-X[n-1])+k \cdot Y[n-1]. \end{aligned}$$(6)
As shown in Eq. (6), \(k = {\mathrm{CR}}/({\mathrm{CR}}+T)\), where T is the sampling period of the ADC. Thus, the transfer function in the z-domain of the CR high-pass filter and its frequency response function are [20, 21] expressed as follows:
In Eq. (7), w is the angular frequency of the component signal, and Euler’s formula transformation for Eq. (7) is shown in Eq. (8).
The modulo of Eq. (8) is shown in Eq. (9).
-
2.
The digital recursive equation, frequency response function, and modes of the RC low-pass circuit according to the same principle are shown in Eqs. (10)–(12), respectively.
$$\begin{aligned} Y[n]=(1-k)\cdot X[n]+k\cdot Y[n-1], \end{aligned}$$(10)$$\begin{aligned} H_{{\text {RC}}}(e^{jw})= \frac{1-k}{1-k\cdot \cos (w)+j\cdot k\cdot \sin (w)}, \end{aligned}$$(11)$$\begin{aligned} |H_{{\text {RC}}}(e^{jw})| = \frac{1-k}{\sqrt{1+k^2-2k\cdot \cos (w)}}. \end{aligned}$$(12)
As shown in Eq. (10), \(k ={\mathrm{RC}}/({\mathrm{RC}}+T)\), where T is the sampling period of the ADC.
According to Eqs. (8) and (11), the frequency response function of the CR–RC\(^m\) filter is shown in Eq. (13).
The modulo of Eq. (13) is shown in Eq. (14).
Based on the SNR coefficient of the CR–RC\(^m\) filter, \(F= \frac{m!e^m}{m^m} (2m-1)^{\frac{1}{4}} \left[ \frac{(2m-3)!!}{2(2m)!!} \right] ^{\frac{1}{2}}\), for \(m=1\), \(F=1.36\); for \(m=2\), \(F=1.22\); for \(m=3\), \(F=1.18\); for \(m=4\), \(F=1.17\); and for \(m=5\), \(F=1.16\). Thus, with the increase in the parameter m, the change in the parameter F is small, and the filtering system becomes more complicated. Therefore, in practical applications, the parameter m is generally 3 or 4. For the value of the parameter k, the sampling period of the high-speed ADC is generally 100 ns, 50 ns, and 20 ns in the digital nuclear energy spectrum. When \({\mathrm{RC}}=\tau ={1}\,{\upmu }{\hbox {s}}\), the corresponding k values are \(k=0.91\), \(k=0.95\), and \(k=0.98\). According to Eqs. (9) and (12), the frequency response curve of the CR and RC filters is shown in Fig. 2.
As shown in Fig. 2, the amplitude–frequency response curve of the CR filter shows an incremental increase in frequency. As the value of k increases, the response curve rises faster, and it approaches 1 sooner. The amplitude–frequency response curve of the RC filter shows a decline. As the value of k increases, the response curve falls faster, and it approaches zero sooner. When \(m=3\), \(k=0.91\), \(k=0.95\), and \(k=0.98\), the frequency response curve of CR–RC\(^m\) is shown in Fig. 3. When \(k=0.95\), \(m=2\), \(m=3\), and \(m=4\), the frequency response curve of CR–RC\(^m\) is shown in Fig. 4.
As shown in Figs. 3 and 4, the frequency response curve of the digitized CR–RC\(^m\) filter shows that it is a bandpass filter. The parameters m and k can be used to adjust the bandpass region of the filter, and the larger the values of m and k, the narrower is the bandpass region.
4 Algorithm implementation
\(^{137}\)Cs is measured using the CH249-02 NaI detector (Hamamatsu). The high voltage is \(+\) 560 V, and the output pulse of the signal conditioning circuit is approximately 10 \(\upmu\)s. USB-5133 (National Instruments Corporation) is used to obtain the original nuclear pulse signal. (The sampling rate is 50 MHz.) According to the numerical recursive formula of the CR–RC\(^m\) filter, for \(m=3\), the CR–RC\(^m\) shaping results under different k values are as shown in Fig. 5.
As shown in Fig. 5, with the increase of parameter k, the rising edge of the CR–RC\(^m\) is gentler, and the closer to a Gaussian shape, the lower the pulse amplitude; however, for longer pulse shaping time, the generalization of the pileup occurs, and the original signal is a negative exponentially decreasing signal. After CR differential shaping, a certain degree of zero-crossing signal is present. For a pulse with a small k value or for a long interval of the original pulse, there is no pulse pileup. The undershoot signal of zero has no effect on the subsequent pulse amplitude extraction. The k value is too large, and the longer the shaping time, the higher is the pileup probability. Furthermore, the undershoot of the zero crossing directly affects the amplitude extraction of subsequent adjacent pulses [22].
5 Test and analysis of CR–RCm filter performance
The LaBr\(_3\)(Ce) detector (Beijing Huakailong’s \(2^{\prime \prime }\times 2^{\prime \prime }\)) is used to measure the \(^{137}\)Cs energy spectrum. The ADC sampling rate is 20 MHz. For the same batch of sampling pulse data, when \(m=3\), \(k=0.91\), \(k=0.95\), and \(k=0.98\), the energy spectrum is shown in Fig. 6.
As shown in Fig. 6, to demonstrate the energy spectrum results under different k values more clearly, the data of partial channels are displayed. Similarly, when \(k=0.95\), \(m=2\), \(m=3\), and \(m=4\), the statistical analysis of the energy resolution and the full energy peak area of the energy spectrum is shown in Table 1.
As shown in Table 1, for the same batch of pulses, after the CR–RC\(^m\) digital filter shaping process under different parameters, with the increase in k and m values, the energy resolution is increased. This is because the width of the shaping pulse is too large, and the full energy peak area of the energy spectrum is lowered owing to the pileup identification [23].
From Table 1, when \(m=3\) and \(k=0.91\), the energy resolution and the full energy peak area are, respectively, 3.8% and 7815; when \(m=3\) and \(k=0.95\), the energy resolution and the full energy peak area are, respectively, 3.6% and 7362; when \(m=3\) and \(k=0.98\), the energy resolution and the full energy peak area are, respectively, 3.5% and 6537; when \(k=0.95\) and \(m=2\), the energy resolution and pulse counting rates are, respectively, 3.7% and 7471; when \(k=0.95\) and \(m=4\), the energy resolution and the full energy peak area are, respectively, 3.6% and 6503.
6 Conclusion
CR–RC\(^m\) digital filters are widely used in digital nuclear energy spectrum measurement systems. The filter parameters directly affect the energy resolution and pulse count rate of the system. The numerical recursive algorithm of digital filtering of CR and RC is based on KCL. The measured signal is processed by the CR–RC\(^m\) digital filter, and the energy resolution and maximum pulse of the system are obtained under different k and m values in the energy spectrum of \(^{137}\)Cs. From the comparative analysis, combined with the above indicators, it is determined that if the system requires high energy resolution, the values of k and m can be larger. Moreover, when it requires a high count rate, the values of k and m can be smaller. When the system needs to balance the performance of both, the optimal parameters of the CR–RC\(^m\) digital filter are \(k = 0.95\) and \(m=3\). The relevant results can provide a design reference for further use of the CR–RC\(^m\) digital filter.
References
H.Q. Zhang, H.X. Wu, H.T. Ning, Research on the simulation and Gaussian shaping of nuclear signal based on multisim software. Nucl. Electron. Detect. Technol. 35(8), 845–848 (2015). https://doi.org/10.3969/j.issn.0258-0934.2015.08.023. (in Chinese)
B. Gan, T.C. Wei, W. Gao et al., Design and performances of a low-noise and radiation-hardened readout ASIC for CdZnTe detectors. J. Semicond. 37(6), 177–183 (2016). https://doi.org/10.1088/1674-4926/37/6/065007
W.T. Evariste, S. Hong, Q. Yi et al., Design and simulation of Gaussian shaping amplifier made only with CMOS FET for FEE of particle detector. Nucl. Sci. Tech. 21(5), 312–315 (2010). https://doi.org/10.13538/j.1001-8042/nst.21.312-315
V.T. Jordanov, G.F. Knoll, A.C. Huber et al., Digital techniques for real-time pulse shaping in radiation measurements. Nucl. Instrum. Methods A 353, 261–264 (1994). https://doi.org/10.1016/0168-9002(94)91652-7
A. Pullia, A. Geraci, G. Ripamonti, Quasi-optimum \(\gamma\) and X spectroscopy based on real-time digital techniques. Nucl. Instrum. Methods A 439, 378–384 (2000). https://doi.org/10.1016/S0168-9002(99)00897-9
C. Imperiale, A. Imperiale, On nuclear spectrometry pulses digital shaping and processing. Measurement 30, 49–73 (2001). https://doi.org/10.1016/S0263-2241(00)00057-9
N. Menaa, P.D. Agostino, B. Zakrzewski et al., Evaluation of real-time digital pulse shapers with various HPGe and silicon radiation detectors. Nucl. Instrum. Methods A 652, 512–515 (2011). https://doi.org/10.1016/j.nima.2010.08.095
V.T. Jordanov, Exponential signal synthesis in digital pulse processing. Nucl. Instrum. Methods A 670, 18–24 (2012). https://doi.org/10.1016/j.nima.2011.12.042
A. Regadio, S. Sanchez-Prieto, M. Prieto et al., Implementation of a real-time adaptive digital shaping for nuclear spectroscopy. Nucl. Instrum. Methods A 735, 297–303 (2014). https://doi.org/10.1016/j.nima.2013.09.063
V.T. Jordanov, Unfolding-synthesis technique for digital pulse processing. Part 1: unfolding. Nuclear Instrum. Methods Phys. Res. A 805, 63–71 (2016). https://doi.org/10.1016/j.nima.2015.07.040
G. Zeng, J. Yang, T. Hu et al., Baseline restoration technique based on symmetrical zero-area trapezoidal pulse shaper. Nucl. Instrum. Methods A 858, 57–61 (2017). https://doi.org/10.1016/j.nima.2017.03.049
Q. Ge, L.Q. Ge, H.W. Yuan et al., A new digital Gaussian pulse shaping algorithm based on bilinear transformation. Nucl. Sci. Tech. 26(1), 37–41 (2015). https://doi.org/10.13538/j.1001-8042/nst.26.010402
H.Q. Huang, X.F. Yang, W.C. Ding et al., Estimation method for parameters of overlapping nuclear pulse signal. Nucl. Sci. Tech. 28(1), 57–64 (2017). https://doi.org/10.1007/s41365-016-0161-z
X. Hong, Y.J. Ma, J.B. Zhou et al., New methods to remove baseline drift in trapezoidal pulse shaping. Nucl. Sci. Tech. 26(5), 58–62 (2015). https://doi.org/10.13538/j.1001-8042/nst.26.050402
X. Hong, S.J. Ni, J.B. Zhou et al., Simulation study on Gaussian pulse shaping algorithm. Nucl. Tech. 39(11), 49–54 (2016). https://doi.org/10.11889/j.0253-3219.2016.hjs.39.110403. (in Chinese)
J.B. Zhou, W. Zhou, J.R. Lei et al., Study of time-domain digital pulse shaping algorithms for nuclear signals. Nucl. Sci. Tech. 23(3), 150–155 (2012). https://doi.org/10.13538/j.1001-8042/nst.23.150-155
Q. Ge, L.Q. Ge, X.L. Li, Research on digital shaping algorithm of the nuclear signal based on the same impulse response. Nucl. Electron. Detect. Technol. 34(8), 942–944 (2014). https://doi.org/10.3969/j.issn.0258-0934.2014.08.006. (in Chinese)
J.B. Zhou, X. Hong, R.B. Wang et al., Study of recursive model for pole-zero cancellation circuit. Nucl. Sci. Tech. 25(1), 38–42 (2014). https://doi.org/10.13538/j.1001-8042/nst.25.010403
Y.Y. Liu, J.L. Zhang, R. Zhou et al., Digitalization of CR–RCm filter. Nucl. Tech. 40(6), 44–48 (2017). https://doi.org/10.11889/j.0253-3219.2017.hjs.40.060403. (in Chinese)
Y.Y. Liu, J.L. Zhang, L.F. Liu et al., Implementation of real-time digital CR–RCm shaping filter on FPGA for gamma-ray spectroscopy. Nucl. Instrum. Methods Phys. Res. Sect. A 906, 1–9 (2018). https://doi.org/10.1016/j.nima.2018.05.020
M. Nakhostin, Recursive algorithms for real-time digital CR–(RC)n pulse shaping. IEEE Trans. Nucl. Sci. 58(5), 2378–2381 (2011). https://doi.org/10.1109/TNS.2011.2164556
H.Q. Zhang, W.H. Lu, B. Tang et al., Methods of pulse pile-up identification in digital nuclear spectrometer system. J. East China Inst. Technol. Nat. Sci. 35(3), 281–284 (2012). https://doi.org/10.3969/j.issn.1674-3504.2012.03.013. (in Chinese)
H.Q. Zhang, L.Q. Ge, B. Tang et al., Optimal choice of trapezoidal shaping parameters in digital nuclear spectrometer system. Nucl. Sci. Tech. 24(6), 109–114 (2013). https://doi.org/10.13538/j.1001-8042/nst.2013.06.011
Acknowledgements
I would like to express my gratitude to my supervisor, Mr. Tomas Trojek, who has facilitated my research in Czech Technical University in Prague.
Author information
Authors and Affiliations
Corresponding author
Additional information
This work was supported by National Natural Science Foundation of China (Nos. 11665001, 41864007), National Key R&D Project (No. 2017YFF0106503), China Scholarship Council (No. 201708360170) and One Hundred People Sail in Jiangxi Province, Open-ended Foundation from the Chinese Engineering Research Center (No. HJSJYB2014-03).
Rights and permissions
About this article
Cite this article
Zhang, HQ., Li, ZD., Tang, B. et al. Optimal parameter choice of CR–RCm digital filter in nuclear pulse processing. NUCL SCI TECH 30, 108 (2019). https://doi.org/10.1007/s41365-019-0638-7
Received:
Revised:
Accepted:
Published:
DOI: https://doi.org/10.1007/s41365-019-0638-7