logo

Study of Sallen–Key digital filters in nuclear pulse signal processing

NUCLEAR ELECTRONICS AND INSTRUMENTATION

Study of Sallen–Key digital filters in nuclear pulse signal processing

Huai-Qiang Zhang
Bin Tang
He-Xi Wu
Zhuo-Dai Li
Nuclear Science and TechniquesVol.30, No.10Article number 145Published in print 01 Oct 2019Available online 27 Sep 2019
45000

The Sallen–Key filter (S–K) is widely used in nuclear pulse signal processing because of its simple working principle and good performance. Related research has only reviewed the recursive numerical model of digital S–K using idealized parameters. The use of digital S–K thus has limitations under these circumstances. This paper comprehensively deduces a recursive numerical model of digital S–K and discusses the effects of resistance and capacitance on the filter quality factor, cutoff frequency and amplitude-frequency response. The numerical recursive function, transfer function and amplitude-frequency response are analyzed using different parameters. From a comparative analysis of the shaper in a simulation and an actual nuclear signal, an optimal parameter selection principle is obtained. Using different forming parameters, the energy resolution and pulse counting rate of the 55Fe energy spectrum are compared and analyzed based on a Si-PIN detector. Capacitance has a stronger influence on the Gaussian shape, whereas the influence of resistance is stronger on the shaping amplitude.

Digital Sallen–KeyAmplitude-frequency responseGaussian shapingEnergy resolution

1 Introduction

As a second-order integration circuit, S–K is widely used in the filtering process of nuclear pulse signals due to its simple shaping and high signal-to-noise ratio. Especially in nuclear energy spectrum measurement systems, the negative nuclear signal is shaped into a quasi-Gaussian shaper [1-9]. In recent years, with the development of high-speed and high-resolution analog-to-digital converters (ADC) and high-performance digital signal processors, digital nuclear energy spectrum measurement systems have been an area of research focus. The recursive function of S–K in the time domain has been studied [10]. The shaping algorithm based on digital S–K is widely used in the Gaussian shaping process of nuclear pulse signals [11-15], but the values of the resistor and capacitor are idealized in the specific derivation process. For example, the values of the six resistors and two capacitors have been made exactly equal. The digital S–K recursive function model has been improved, and is actively used in Gaussian shaping and filtering of nuclear pulse signals [16, 17]. The improvement, however, is limited in that the gain adjustment of resistors are set to different values, and the values of the four resistors and two capacitors are also equal.

The above two digital S–K methods can effectively realize Gaussian shaping of the nuclear pulse signal and smoothing of the energy spectrum signal. However, the quality factor and cutoff frequency of the filter are not studied using different resistance and capacitance parameters. No studies have been done on the recursive function, amplitude-frequency response, and application of nuclear pulse processing when all the resistors and capacitors are not equal in the S–K filter. Based on this, the digital S–K shaping recursive numerical general model has been deduced, and its application to nuclear pulse signal processing is further examined.

2 Shaping principle of Digital S–K

The S–K filter is a second-order integration filter circuit. A schematic diagram is shown in Fig. 1.

Fig. 1.
Scheme of Sallen–Key filter circuit.
pic

As shown in Fig. 1, Vi is the input voltage of Sallen–Key filter circuit, VR is the voltage between R1 and R2, Vn is the negative input voltage of operational amplifier, Vp is the positive input voltage of operational amplifier, and Vo is the output voltage of Sallen–Key filter circuit. According to Kirchhoff’s current law, the differential equation of the established S–K filter is as shown in Eq. (1).

Ad2Vodt2+BdVodt+Vo=DVi (1)

As shown in Eq. (1), A=R1R2C1C2, B=R1C2+R2C2+R1C1(1-D), D=(R3+R4)/R3. The transfer function, cutoff frequency and quality factor of S–K filter are as shown in Eq. (2), Eq. (3) and Eq. (4) respectively.

H(s)=DAs2+Bs+1 (2) fc=12πR1R2C1C2 (3) Q=R1R2C1C2R1C2+R2C2+R1C1(1D) (4)

When Vi is converted into a sequence of numbers of xi, Vo is converted into a sequence of numbers of yi, further derivation of Eq. (1) can be obtained.

Ay+By+y=Dx (5)

According to the differential numerical analysis, Eq. (5) can be changed into Eq. (6) and Eq. (7).

Ayiyi1Δtyi1yi2ΔtΔt+Byiyi1Δt+yi=Dxi (6) yi=(2AΔ2t+BΔt)yi1AΔ2tyi2+DxiAΔ2t+BΔt+1 (7)

Where R1=mR, R2=R, C1=nC, C2=C, k=RCΔt (Δt is sampling interval of ADC), Q=mnm+1+mn(1D), fc=12πRCmn. According to A=R1R2C1C2, B=R1C2 +R2C2 + R1C1 (1-D), D = (R3R4)/R3, Eq. (7) can be changed into Table. 1. The numerical recursive model, transfer function and amplitude-frequency response of S–K filter are shown in Table. 1 at different resistance and capacitance values.

TABLE 1.
The recursive model, transfer function and amplitude-frequency response of S–K filter at different resistance and capacitance
Shaping parameters(m, n, D, k) Recursive model (R) Transfer function (T) Amplitude-frequency response (A)
R1 = mR,R2 = R R: yi=(2mnk2+(m+1+mnmnD)k)yi1mnk2yi2+Dximnk2+(m+1+mnmnD)k+1
C1 = nC,C2 = C T: H(z)=Dmnk2(1z1)2+(m+1+mnmnD)k(1z1)+1
D = (R3 + R4)/R3 A: |H(ejw)|=D11+6M+N(8M+N+2k2mn)cos(w)+(2M+2k2mn)cos(2w)
k = RCt M = k4m2n2 + (((1 - D)n2 + n)m2 + mn)k3
  N = 2k((1 + ((1 + (1 - D)n)m)2k + (2 + (1 + 2(1 - D))n)m)k + 1 + (1 + (1 - D)n)m)
(r)1-1 R1 = R2 = R R: yi=(2nk2+(2+nnD)k)yi1nk2yi2+Dxink2+(2+nnD)k+1
C1 = nC,C2 = C T: H(z)=Dnk2(1z1)2+(2+nnD)k(1z1)+1
D = (R3 + R4)/R3 A: |H(ejw)|=D11+6M+N(8M+N+2k2n)cos(w)+(2M+2k2n)cos(2w)
k = RCt M = k4n2 + ((1 - D)n)2 + 2n)k3
  N = 2k((4 + ((1 - D)n)2k + (1 + 4(1 - D))nk + (2 + (1 - D)n))
R1 = mR,R2 = R 3lR: yi=(2mk2+(2m+1mD)k)yi1mk2yi2+Dximk2+(2m+1mD)k+1
C1 = C2 = C T: H(z)=Dmk2(1z1)2+(2m+1mD)k(1z1)+1
D = (R3 + R4)/R3 A: |H(ejw)|=D11+6M+N(8M+N+2k2m)cos(w)+(2M+2k2m)cos(2w)
k = RCt M = k4m2 + ((2 - D)m2 + m)k3
  N = 2k((1 + ((2 - D)m)2k + (1 + 2(2 - D))mk + (1 + (2 - D)m))
R1 = mR,R2 = R R: yi=(2mnk2+(m+1)k)yi1mnk2yi2+ximnk2+(m+1)k+1
C1 = nC,C2 = C T: H(z)=1mnk2(1z1)2+(m+1)k(1z1)+1
D = 1 A: |H(ejw)|=11+6M+N(8M+N+2k2mn)cos(w)+(2M+2k2mn)cos(2w)
k = RCt M = k4m2n2 + (mn + m2n)k3
  N = 2k(((1 + m2 + (2 + n)m)k + (1 + m))
R1 = R2 = R 3lR: yi=(2k2+(3D)k)yi1k2yi2+Dxik2+(3D)k+1
C1 = C2 = C T: H(z)=Dk2(1z1)2+(3D)k(1z1)+1
D = (R3 + R4)/R3 A: |H(ejw)|=D11+6M+N(8M+N+2k2)cos(w)+(2M+2k2)cos(2w)
k = RCt M = k4 + (3 - D)k3
  N = 2k((1 + (3 - D)2)k + (3 - D))
R1 = R2 = R R: yi=(2k2+k)yi1k2yi2+2xik2+k+1
C1 = C2 = C T: H(z)=2k2(1z1)2+k(1z1)+1
R3 = R4(D = 2) A: |H(ejw)|=211+6M+N(8M+N+2k2)cos(w)+(2M+2k2)cos(2w)
k = RCt M = k4 + k3
  N = 2k(2k + 1)
Show more

(1) R1 =mR, R2=R, C1=nC, C2=C, D=1, and Q=mnm+1, fc=12πRCmn.

(2) R1 =mR, R2=R, C1=C2=C(n=1), and Q=m2m+1mD, fc=12πRCm.

(3) R1=R2=R(m=1), C1=nC, C2=C, and Q=n2+n(1D), fc=12πRCn.

(4) R1=R2=R, C1=C2=C(m=n=1), and Q=13D, fc=12πRC.

(5) R1=R2=R3=R4, C1=C2=C(m=n=1, D=2), and Q=1, fc=12πRC.

As shown in Table. 1, the values of the resistor and capacitor parameters are divided into five cases.

3 Amplitude-frequency response of S–K

After the input signal is processed by the S–K numerical recursive model function, the amplitude-frequency response curves under different parameters are analyzed in order to obtain the output variation of the filter shaping output pulse amplitude at different frequencies. The amplitude-frequency response curve of digital S–K with different parameters is shown in Fig. 2.

Fig. 2.
Frequency response curve at different parameter.
pic

Fig. 2 shows a low-pass filter. When the value of D is increased, the amplitude response increases but the cutoff frequency of the low-pass filter is basically the same. When the value of k is increased, the amplitude response decreases, the width of shaping output is wider and the cutoff frequency is decreased.

By comparing Fig. 2(a) with Fig. 2(b), when m=1, as the value of n increases, the cutoff frequency of the filter decreases, and the amplitude response increases. By comparing Fig. 2(a) with Fig. 2(c), when n=1, as the value of m increases, the cutoff frequency of the filter is less, and the amplitude response is the same. By comparing Fig. 2(b) with Fig. 2(d), when n=2, as the value of m increases, the cutoff frequency of the filter is less, and the amplitude response is greater.

From Fig. 2, it can be seen from the amplitude-frequency response curves under different conditions that the shape output from digital S–K is affected by the parameters m, n, D, and k. The effect of the parameter n on the filter shaping output pulse is greater than the parameter m. The amplitude of the shaping output pulse is mainly determined by the value of D, and the width of the shaped output pulse is mainly determined by the value of k. The best method for selecting the above parameters in order to obtain the optimal filter forming performance will be discussed in the following sections.

4 Selection principle of shaping parameters

For the digital S–K filter, when R1 = m R, R2=R, C1 = nC, C2=C, D=(R3+R4)/R3, the quality factor Q=mnm+1+mn(1D), and the cutoff frequency fc=12πRCmn.

4.1 Relationship between quality factor and parameters

If Q becomes negative, the poles move into the right half of the s-plane, which leads to oscillation in the circuit. When D<1+m+1mn, Q will be a positive number. For example, let m=n=1, 1 le; D le;3, m=2, n=1, 1 le; D le;2.5, m=1, n=2, 1 le; D le;2, m=n=2, 1 le; D le;1.75. When m and n are between 1 and 2 and D is between 1 and 1.75, the relationship between Q and m, n is as shown in Fig. 3(a) and Fig. 3(b) respectively.

Fig. 3.
Relation diagram of m, n and Q.
pic

As can be seen from Fig. 3(a), as m increases, Q increases continuously, and a larger value of n results in a faster increase of Q. As can be seen from Fig. 3(b), as n increases, initially Q remains substantially constant, followed by a sharp increase at higher values of n, and larger values of m result in a faster increase in Q.

4.2 Relationship between cutoff frequency and parameters

The cutoff frequency decreases as m and n increase. If R=10 kΩ, C=10 nF, then RC=10 μs, and the cutoff frequencies at different m and n are as shown in Fig. 4.

Fig. 4.
Relation diagram of m and fc.
pic

As shown in Fig. 4, as m increases, fc decreases continuously. With larger n, the downward trend is more obvious. The relationship between fc and n is consistent with Fig. 4.

5 Digital S–K shaping of nuclear signals

To verify the effect of digital S–K shaping, the S–K shaping under different parameters is taken offline and the optimal shaping parameters are obtained for the simulated and the actual sampled nuclear signal. The specific shaping process is as shown in Table 1. R is the recursive model, xi is the digitized nuclear pulse signal, and yi is the shaped signal, and the shaping parameters are m, n, D, k, respectively.

5.1 Digital S–K shaping of simulated nuclear signals

In digital S–K shaping, the simulated nuclear signal with different parameters is processed by the digital S–K. When m=1, n=1, the shaping output of a simulated nuclear signal with different D and k is as shown in Fig. 5.

Fig. 5.
Shaper of simulated signal at different parameters.
pic

As can be seen from Fig. 5(a), when m=1, n=1, a larger D results in a higher shaping output pulse amplitude. With a larger k, the shaping output pulse is wider and the amplitude is lower; the shaping output is closer to the Gaussian shape.

As can be seen from Fig. 5(b), the shaping rule is described in Fig. 5(a), and when n=2, the shaping output approaches the Gaussian shape. In other words, when n is larger, the shaping output is closer to the Gaussian shape.

As can be seen from Fig. 5(c), the shaping rule is described in Fig. 5(a). As m increases, the pulse of the shaped output is wider and the amplitude is lower, which is not conducive to subsequent pulse pile-up identification and amplitude extraction.

As can be seen from Fig. 5(d), when m=2, n=2, the shaped output satisfies the shaping law shown in Fig. 5(a). As the m and n increase, the shaping output is closer to the Gaussian shape, but at this time, with the increase of D, the shaping output oscillates. This affects subsequent pulse pile-up identification and amplitude extraction.

It can be seen from Fig. 5 that as n increases, the shaping output approaches the Gaussian shape, but the shaping output has oscillation. As m increases, the amplitude of the shaping output pulse decreases. As m and n increase, the shaping output peak position moves to the right.

In summary, when using digital S—K, the pulse shaping output amplitude is affected by D and k. For larger D and smaller k, the amplitude of the shaping output pulse is higher. The shape of the pulse shaping output is affected by n and k. For larger n and larger k, the shaping output is closer to the Gaussian shape; m has a smaller influence on the amplitude of the shaping output.

5.2 Digital S–K shaping of actual nuclear signals

The Moxtek company’s Si-PIN detector of XPIN-XT type is used to measure 55Fe, and the τ=3.2 μs, the obtained digital nuclear pulse signal is processed using digital S–K. When D=1.5 and k=20, the shaping outputs at different m and n are as shown in Fig. 6.

Fig. 6.
Shaper of actual nuclear signal at different parameters.
pic

As can be seen from Fig. 6(a), when m is 1 or 2, the shape of the shaping output signal is substantially the same at n=1, and when n=2,the shaping output is closer to a Gaussian shape. At this time, when m=2, the shaping output oscillates. Given these results, m=1 and n=2 are the best choices for the parameters.

It can be seen from Fig. 6(b) that with an increase in k, the shaping output amplitude is lower, the shape is closer to the Gaussian shape, the shaping output appears the zero crossing signal, which affects the extraction of the subsequent pulse amplitude, it can be considered as k=40.

It can be seen from Fig. 6(c) that as D increases, the shaping output amplitude is lower, and the shaper is closer to the Gaussian shape, but the oscillation of shaping output is more severe. When D=1.2, there is no oscillation, but when D=1.5, the shaping output oscillates. In order to comprehensively the shaper and amplitude of the output, a shaping output of 1.3 to 1.45 is used for D, and the shaping output is therefore as shown in Fig. 6(d).

As shown in Fig. 6(d), when considering the amplitude, shape and oscillation of the shaping output, the optimum shaping parameters are m=1, n=2, D=1.4,and k=40. For the nuclear pulse signal using different detector systems, which use digital S–K, the above-mentioned optimal shaping parameters can be referred to. The optimal digital S–K shaping parameters can also be obtained by the shaping process shown in Fig. 6.

6 Experimental example

55Fe is measured using a Si-PIN detector. For the nuclear signal obtained by actual sampling, when D=1.4, digital S–K Gaussian shaping is performed using different parameter values (m, n, k), and the acquired energy spectrum is shown in Fig. 7. The specific energy resolution and pulse counting rate are shown in Table. 2.

TABLE 2.
Performance comparison of energy resolution and counts.
Shaping parameters Energy resolution (eV) Pulse counting rate
m=1, n=1, k=20 172 1803
m=1, n=2, k=20 168 1836
m=1, n=2, k=40 166 1770
Show more
Fig. 7.
Energy spectrum of different parameters.
pic

From Table. 2, when m=1, n=1, k=20, the energy resolution and pulse counting rates are respectively 172 eV and 1803. When m=1, n=2, k=20, the energy resolution and pulse counting rates are respectively 168 eV and 1836. When m=1, n=2, k=40,the energy resolution and pulse counting rates are respectively 166 eV and 1770. It can be seen that when k is higher, the energy resolution is higher, and when n is higher, the pulse counting rate is higher.

When k is higher, the shaped pulse is wider, and the noise suppression performance and the high energy resolution are better. However, due to the pile-up identification, the counting rate is reduced. When n is higher, the shaping output approaches the Gaussian type more quickly, the shaped pulse is narrower, and the counting rate is increased.

7 Conclusion

The numerical recursive function formula of a digital S–K filter is deduced in this paper for the first time, and the quality factor, cutoff frequency and amplitude-frequency response of the filter at different resistance and capacitance settings are analyzed. A simulated nuclear signal and an actual sampled nuclear signal are processed by digital S–K shaping at different parameters. Results shows that when the parameters of n and k are larger, the shaping output is closer to the Gaussian shape, and the parameter of m has little effect on the shaper of the shaping output. When D is larger, the amplitude of the shaping output pulse is higher. However, as D increases, the quality factor (Q) of the filter may become negative, and oscillation occurs. The optimal shaping parameters are shown to be: m=1, n=2, D between 1-1.4, k between 20-40. The specific selection of parameters can balance the advantages and disadvantages between energy resolution and pulse counting rate in energy spectrum measurement.

References
[1] B. Gan, T. Wei, W. Gao, et al.,

A low-noise 64-channel front-end readout ASIC for CdZnTe detectors aimed to hard X-ray imaging systems

. Nucl. Instrum. Methods Phys.Res.Sect.A 816, 53-61 (2016). doi: 10.1016/j.nima.2016.01.070
Baidu ScholarGoogle Scholar
[2] E.C. Pollacco, G.F. Grinyer, F. Abu-Nimeh, et al.,

GET: A generic electronics system for TPCs and nuclear physics instrumentation

. Nucl. Instrum. Methods Phys.Res.Sect. A 887, 81-93 (2018). doi: 10.1016/j.nima.2018.01.020
Baidu ScholarGoogle Scholar
[3] 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). doi: 10.13538/j.1001-8042/nst.21.312-315
Baidu ScholarGoogle Scholar
[4] A. Kunz, P. Pihet, E. Arend, et al.,

An easy-to-operate portable pulse-height analysis system for area monitoring with TEPC in radiation protection

. Nucl. Instrum. Methods Phys.Res.Sect. A 299, 696-701 (1990). doi: 10.1016/0168-9002(90)90872-4
Baidu ScholarGoogle Scholar
[5] J. Giovinazzoa, T. Goigouxa, S. Anvarc, et al.,

GET electronics samples data analysis

. Nucl. Instrum. Methods Phys.Res.Sect. A 840, 15-27 (2016). doi: 10.1016/j.nima.2016.09.018
Baidu ScholarGoogle Scholar
[6] E.V. Pagano, E. De Filippo, P. Russotto, et al.,

Measurements of pulse shape discrimination with EJ 299-33 plastic scintillator using heavy ion reaction

. Nucl. Instrum. Methods Phys.Res.Sect.A 905, 47-52 (2018). doi: 10.1016/j.nima.2018.07.034
Baidu ScholarGoogle Scholar
[7] W. Gao, S. Li, Y. Duan, et al.,

Design and characterization of a low-noise front-end readout ASIC in 0.18 μm CMOS technology for CZT/Si-PIN detectors

. IEEE Transact Nucl Sci. 65(5),1203-1211(2018). doi: 10.1109/TNS.2018.2826070
Baidu ScholarGoogle Scholar
[8] P. Baron, D. Calvet, E. Delagnes, et al.,

AFTER, an ASIC for the readout of the large T2K time projection chambers

. IEEE Transact Nucl Sci. 35(3),1744-1752(2008). doi: 10.1109/TNS.2008.924067
Baidu ScholarGoogle Scholar
[9] S. Saxena, A.I. Hawari.

Investigation of FPGA-based real-time adaptive digital pulse shaping for high-count-rate applications

. IEEE Transact Nucl Sci. 64(7),1733-1738(2017). doi: 10.1109/TNS.2017.2692219
Baidu ScholarGoogle Scholar
[10] J.B. Zhou, W. Zhou, J.R. Lei

Study of time-domain digital pulse shaping algorithms for nuclear signals

. Nucl. Sci. Tech. 23(3), 150-155 (2012). doi: 10.13538/j.1001-8042/nst.23.150-155
Baidu ScholarGoogle Scholar
[11] X. Hong, S.J. Ni, J.B. Zhou, et al.,

Simulation study on Gaussian pulse shaping algorithm

. Nucl. Tech. 39(11), 49-54 (2016). doi: 10.11889/j.0253-3219.2016.hjs.39.110403. (in Chinese)
Baidu ScholarGoogle Scholar
[12] 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). doi: 10.13538/j.1001-8042/nst.26.010402
Baidu ScholarGoogle Scholar
[13] Q. Ge, L.Q. Ge, Y.J. Xue,

Method of Digital Gaussian Shaper for Nuclear Signals Based on IIR Digital Filter

. Nucl Electron Detection Technol.35(3):223-225+234(2015). doi: 10.3969/j.issn.0258-0934.2015.03.001 (in Chinese)
Baidu ScholarGoogle Scholar
[14] H.Q. Zhang, W.H. Lu, B. Tang.

Digital shaping and performance analysis of nuclear pulse signal based on MATLAB

. Nucl. Tech. 41(10),32-38(2018). doi: 10.11889/j.0253-3219.2018.hjs.41.100401. (in Chinese)
Baidu ScholarGoogle Scholar
[15] H.Q. Huang, X.F. Yang, W.C. Ding, et al.,

Estimation method for parameters of overlapping nuclear pulse signal

. Nuclear Science and Techniques. 28(1),57-64(2017). doi: 10.1007/s41365-016-0161-z
Baidu ScholarGoogle Scholar
[16] J.B. Zhou, W. Zhou, X. Hong.

Improvement of digital S-K filter and its application in nuclear signal processing

. Nucl. Sci. Tech.24(6),060401(2013). doi: 10.13538/j.1001-8042/nst.2013.06.020
Baidu ScholarGoogle Scholar
[17] W. Zhou, J.B. Zhou.

Study of nuclear pulse signal digital Gaussian shaping based on dual-factor model

. Geophys. Geochem. Explor. 39(2),318-321(2015). doi: 10.11720/wtyht.2015.2.17(in Chinese)
Baidu ScholarGoogle Scholar