Application of translation wavelet transform with new threshold function in pulse wave signal denoising
Abstract
BACKGROUND:
The wrist pulse wave under the optimal pulse pressure plays an important role in detecting human body’s physiological and pathological information. Wavelet threshold filtering is a common method for pulse wave de-noising. However, traditional filtering methods cannot smoothen the whole pulse wave well and highlight the details.
OBJECTIVE:
In view of this, an attempt is made in this paper to propose the pulse wave denoising algorithm for pulse wave under optimal pulse pressure according to the translation invariant wavelet transform (TIWT) and the new threshold function.
METHODS:
Firstly, by using hyperbolic tangent curve and combining the advantages of soft threshold function and hard threshold function, the new threshold function is derived. Secondly, based on the TIWT, pseudo-Gibbs phenomenon gets suppressed.
RESULTS:
The experiments show that in comparison to the traditional wavelet filtering algorithm, the novel algorithm can better maintain the pulse wave geometric characteristics and has a higher signal to noise ratio (SNR).
CONCLUSION:
The TIWT with improved new threshold compensates the shortcomings of the traditional wavelet threshold denoising methods in a better way. It lays a foundation for extracting time-domain characteristics of pulse wave.
1.Introduction
The pressure sensor is widely used for pulse wave collection because it simulates the pulse manipulation of traditional Chinese medicine and collects pulse wave information under manual, air bag or mechanical pressurization techniques. By applying different pressure to the pressure sensor, the intensity of the pulse wave first increases to a maximum point and then fades. The pulse wave corresponding to the strongest point is called the pulse wave under the optimal pulse pressure. It is usually used to assess human body’s physiological and pathological information. Pulse wave signal de-noising is the first and a critical step in physiological characteristics analysis.
The noise carried by the pulse wave mainly includes the power frequency noise, EMG noise and respiratory noise. Power frequency noise can be removed by 50 Hz notch filter. EMG noise removal methods mainly include traditional filtering, adaptive filtering, mathematical morphology filtering, Kalman filtering, ICA filtering, artificial neural network algorithm, wavelet filtering, etc. In the traditional filtering methods, FIR filtering and smooth filtering are the most commonly used. FIR filtering method is usually designed as a low-pass filter to remove high-frequency noise. However, the processing accuracy of the band boundary is low so the useful information of the pulse wave signal is often filtered out [1, 2, 3]. The smoothing filter is actually a linear filter whose window size affects the filtering effect and the general window width has an empirical value. If the window is too wide, it will roughly be too smooth on the other hand, when the window is too narrow, the denoising effect is not ideal [4]. The filter used in the adaptive method has an automatic updating mechanism of filter coefficients. Based on minimum mean square error (MSE) of the filtering result and the reference signal, a new set of filter coefficients are generated by continuously superimposing and updating the adaptive updating algorithm, so as to obtain the theoretically optimal filter. It can be seen from the principle of adaptive filter that the selection of reference signal is an important aspect to determine the merits of the adaptive filter. However, in practice it is difficult to use adaptive filtering directly, since the signal characteristics cannot be ascertained in advance and then select a suitable reference signal [5, 6, 7]. The mathematical morphology filtering method is derived from the image filtering algorithm, which is mainly used to expand and erode the signal, and the open-close operation completes the pulse wave filtering. However, the processed pulse wave produces a spike pulse phenomenon, introduces additional noise, and brings errors in the subsequent pulse detection [8, 9, 10, 11]. Kalman filter usually uses input and output signals to evaluate the system state and realize filtering.. The parameters of Kalman filter change with time, and the optimal filter can be obtained only when the prior statistical characteristics of the signal and noise are known [12, 13, 14]. ICA filtering was first applied in the separation of sound signals however, it requires either less or equal number of signal sources of the observation channels. For one-dimensional signal pulse waves, it is necessary to establish multiple virtual channels and expand them into a matrix. In addition, solving the optimal solution of the mixed matrix requires a large number of iterations with high complexity [15, 16]. The artificial neural network method can be regarded as an optimal filter however, the parameters of the filter need a lot of memory training. At times, the effect of noise removal for the pulse wave without training is not very good.
Since the wavelet transform can be used to decompose the signals at different scales, wavelet decomposition has become one of the most popular methods used for pulse wave denoising in recent research. The wavelet filtering algorithm mainly includes three processes: wavelet decomposition, filtering and signal reconstruction. Wavelet decomposition mainly decomposes the signal through wavelet transform to obtain wavelet coefficients. Filtering mainly uses one threshold functions (soft threshold, hard threshold and others) to get the processed wavelet coefficients. Whereas, signal reconstruction uses the processed wavelet coefficients to get the filtered signal. The hard threshold function can highlight the detailed features l, but it introduces the Gibbs phenomenon. The soft threshold smoothens the signal as a whole, but may result in losing the detailed features of the signal [17, 18, 19, 20].
In this paper, a new wavelet denoising method based on the translation invariant wavelet with new threshold function is proposed. According to the soft threshold function and the hard threshold function’s characteristics and combine the hyperbolic tangent function and the exponential function’s characteristics, a new threshold function.is constructed. The TIWT method is used to attenuate the pseudo-Gibbs phenomenon and highlight the detailed characteristics of the pulse wave. As compared to the traditional wavelet filtering algorithm, the experiments show that the novel algorithm can better maintain the pulse wave geometric characteristics and has a higher signal to noise ratio (SNR).
The paper is divided in four parts: (1) Introduction: This section describes the current research progress of pulse wave denoising at home and abroad, outlines the significance and the innovative aspect of the present work. (2) Materials and Methods: In this section, the pulse wave acquisition method is introduced and the optimal pulse wave is obtained through the preprocessing method. Subsequently, the derivation process of the new threshold function, the process of the TIWT denoising method and the method of evaluating the algorithm are elaborated. (3) Algorithm results: By introducing the selection method of wavelet basis and the decomposition level, the results are obtained. By comparing the soft threshold and the hard threshold, the effectiveness of the algorithm is proved (4) Conclusion: Based on the findings, this section summarizes the process and significance of the entire algorithm and the application value of the algorithm.
2.Method
2.1Pulse wave signal acquisition
Figure 1a depicts the self-developed multi-channel Chinese medicine pulse detector equipment to complete the acquisition of pulse wave signals. The acquisition probe of the pulse detector has a built-in coincidence sensor, which simulates the pulse manipulation of traditional Chinese medicine by applying 10–150 mm Hg pressure through the air bag to collect the pulse wave information under different gradients of pressure as shown in Fig. 1b. The pulse wave data acquisition time is 10 seconds at each air pressure. Figure 2a shows the pulse wave data collected during the completion process.
Figure 1.
Figure 2.
2.2Pulse wave signal preprocessing
Pulse wave preprocessing mainly consists of three parts: interference suppression of adjacent channels, noise signal recognition, and pulse wave extraction at the best pressure section. Firstly, based on the notch filter, the 50 Hz power frequency noise is removed, and the mean filter is used to remove the baseline drift of the signal caused by breathing and other reasons. Based on this, three sub-modules of dynamic mechanical analysis of inter-point interference, interference channel modeling, and interference suppression algorithm are established. According to the amplitude and phase frequency characteristics of the interference channel, FFT is used to suppress the interference signal, it effectively weakens the inter-point interference caused by the vibration of adjacent sensors, and ensures the authenticity and stability of the pulse wave signal [21]. Secondly, the CNN classification and recognition model of noise signal and pulse wave signal is constructed to realize the recognition of noise signal [22]. Finally, the optimal peak searching algorithm based on the modulus maximum realizes the peak recognition of pulse wave. According to the lowest point between the two peaks as a starting point, the single pulse wave cycle division is realized [23]. The average single-cycle pulse wave waveform is obtained by the average processing method. The curve of the average single-cycle pulse wave peak which changes with each average static pressure value is called the D-S curve. The best pulse wave band is obtained by extracting the pulse wave at the strongest point of the D-S curve. Since the signal is stable, the optimal pulse wave band is of great significance in the intelligent diagnosis of traditional Chinese medicine, which is also the pulse wave band that this paper mainly deals with [24].
2.3New threshold wavelet filtering
2.3.1Derivation process of new threshold function
The hard threshold function and soft threshold function’s schematic diagrams are shown in Fig. 2a and b respectively. From the graphics analysis, we find that the threshold and the hard threshold functions have their inherent shortcomings. In the hard threshold method, discontinuities (the expression
(1)
Equation (1) is the hard threshold function expression. Where,
(2)
Equation (2) is the soft threshold function expression. Where,
In order to retain the de-noised pulse wave’s detail characteristics, and weaken the pseudo-Gibbs phenomenon, and improve SNR, according to the characteristics of soft and hard threshold functions, we need to build a new threshold function. This function should be proposed based on the following points: (1) Ensure that the wavelet threshold value is continuous at
From the analysis of Eqs (1) and (2), we replace these by the following formula:
(3)
Where, a is the real number with a value range [0,1]. When
Figure 3.
When a
(4)
(5)
In order to make the hyperbolic function meet the requirements, we introduce an exponential function and add a regulating factor to the exponential function. The expression of
(6)
Where,
Thus, the novel wavelet threshold function can be expressed as follows:
(7)
In Eq. (7), since
When
(8)
When
(9)
In Fig. 4, when
Figure 4.
Figure 5.
2.3.2Specific process of translation wavelet transforms
The flow chart of denoising algorithm is shown in Fig. 5. Set the vector input signal after preprocessing as
(10)
The new signals with a certain phase difference corresponding to the vector input signal
(11)
Let
(12)
(13)
The reconstruction formulae are:
(14)
(15)
(16)
The reconstruction process is actually the inverse process of decomposition. At each level of the wavelet reconstruction, multiple low-frequency components can be generated, which require the inverse translation and averaging of scale coefficients. Finally, the vector output is post-processed to obtain one-dimensional output signals
(17)
In order to prove the effectiveness of the translation invariance, we make the following assumption:
(18)
Where,
(19)
The SNR of pure signal and noise can be derived as follows by assuming that
(20)
Equation (19) shows that the TIWT algorithm can reduce the noise by N times while, Eq. (20) shows that the algorithm can improve the SNR of pulse wave by
2.4Algorithm evaluation criteria
In the experimental analysis, SNR and MSE are used to evaluate the de-noising effect. For the convenience of the analysis, SNR before signal de-noising is
(21)
(22)
(23)
Where,
(24)
3.Algorithm results
3.1The Choice of wavelet basis and wavelet decomposition level number
In wavelet threshold denoising, wavelet bases and wavelet decomposition layers are to be determined first. At present, the common discrete wavelet families include DB (Daubechies) wavelet family, SYM (Symlets) wavelet family and COIF (Coiflet) wavelet family. The pulse wave signal data is used for DTW transformation, and after the wavelet threshold function processing, the wavelet coefficients are reconstructed. The optimal wavelet basis function is selected by using the three parameters of SNR: MSE, filter length two cases are considered to analyze SNR and the peak error results (unified use of full threshold processing, decomposition scale bit is 4, SNR is 25, and the threshold function is hard threshold).
Figure 6.
It is observed from Fig. 6 that when the filter length exceeds 10, SNR of the output signal tends to be stable. The output SNR of DB wavelet system and SYM wavelet system is 2 dB higher than that of COIF series wavelet system. From the perspective of the MSE of the output signal, when the filter length exceeds 12, the MSE of the output signal tends to a fixed value. The MSE of da wavelet system and SYM wavelet system is less than that of COIF system. Taking into consideration the influence of vanishing distance on data, we choose DB6 wavelet for pulse wave filtering. After selecting the wavelet, we need to consider the influence of decomposition level on wavelet denoising. Here, SNR and MSE of the output signal are used to evaluate the number of decomposition layers. (Full threshold processing is used uniformly, SNR is 25, and the threshold function is hard threshold).
Figure 7.
It can be seen from Fig. 7 that when the number of decomposition layers lev
3.2Evaluation of algorithm effectiveness
The standard pulse wave signal is added with zero-mean Gaussian white noise (20 dB). The comparison of hard threshold, soft threshold, new threshold and new threshold methods is done with translation invariant wavelet transform to denoise the pulse wave signal. Table 1 shows the denoised
Table 1
Wavelet denoising method |
| RMSE |
---|---|---|
Hard threshold | 34.31 | 0.0089 |
Soft threshold | 27.37 | 0.0199 |
New Threshold | 36.22 | 0.0072 |
Translation invariance with new threshold | 37.48 | 0.0062 |
Figure 8.
Figure 9.
An attempt is also made to verify the stability of the algorithm under different noises. Different zero mean Gaussian white noise is added to the noiseless pulse wave signal to generate noisy pulse signals with different SNRs. The wavelet hard threshold, the wavelet soft threshold, the new wavelet threshold and the algorithm in this paper are used to denoise the noisy pulse signal. The SNR and MSE before and after denoising are shown in Fig. 8. It is noticed that the new threshold increases SNR and reduces the MSE. The translation invariant new threshold wavelet denoising further improves SNR and reduces the MSE.
Figure 9b shows the effect of using the hard threshold wavelet de-noising algorithm to de-noise the original signal in Fig. 9a. The hard threshold can highlight the detailed characteristics of the pulse wave, but additional mutation points are introduced by some detail feature points (shown in the blue area). Figure 9c shows the effect of using the soft threshold wavelet denoising algorithm to denoise the original signal in Fig. 9a. From the overall view of the figure, the soft threshold can smoothen the pulse wave as a whole, and the smooth transition leads to the detailed characteristics of the pulse wave (shown in the red area). Figure 9d shows the effect of denoising the original signal in Fig. 9a using the algorithm proposed in this paper. It is evident that the algorithm in this paper is smooth as a whole and retains the detailed characteristics of the pulse wave.
4.Conclusion
The pressure pulse wave signal is weak and gets easily affected by EMG noise, which makes it difficult to extract the signal features. Compared with the traditional methods, the translation invariant wavelet denoising method proposed in this paper is more suitable for pulse wave signal denoising. The improved new threshold shifts invariant wavelet transform method and compensates the shortcomings of the traditional wavelet threshold denoising methods in a better way. This method discards the traditional threshold function, uses a new wavelet threshold function, and further combines the translation invariant wavelet transform on this basis, which not only improves the denoising effect to a greater extent but also effectively suppresses the pseudo-Gibbs phenomenon. In addition, through simulation experiments, it is further verified that applying translation invariant wavelet transform to the processing of pulse wave can obtain better denoising effect. Thus, it is verified that this method can improve the SNR and reduce the root MSE of the signal. The preprocessing method mentioned in this paper can support the feature extraction and recognition of subsequent pulse wave signals, and has good practical significance and reference value.
Author contributions
Jun Zhang: Methodology, software; Xingguang Geng and Yitao Zhang: Data curation, investigation; Fei Yao: Visualization, writing-original draft preparation, validation and writing-reviewing, conceptualization; Haiying Zhang and Yunfeng Wang: Supervision, editing. All authors participated in the study and read and approved the final version of this manuscript.
Funding
Financial support for data acquisition and algorithm verification was provided by the Key Research Program of the Chinese Academy of Sciences (ZDRW-ZS-2021-1).
Conflict of interest
The authors have no conflict of interest to report.
References
[1] | Kyung SH, Kyu TP, Jae MA. Aging index using photoplethysmography for a healthcare device: comparison with brachial-ankle pulse wave velocity. Healthcare Informatics Research. (2015) . doi: 10.4258/hir.2015.21.1.30. |
[2] | Ayan C, Uttam KR. PPG Based Heart Rate Algorithm Improvement with Butterworth IIR Filter and Savitzky-Golay FIR Filter. IEEE. (2018) . doi: 10.1109/IEMENTECH.2018.8465225. |
[3] | Naraharisetti KV, Bawa M. Comparison of different signal processing methods for reducing artifacts from photoplethysmography signal. Proc of 2011 IEEE IET. (2011) ; 15-17. doi: 10.1109/EIT.2011.5978571. |
[4] | Wu LN, Wang LL. Realization of pulsewave detecting system with time-domain signal processing method. Transducer and Microsystem Technologies. (2008) ; 27. |
[5] | Ram MR, Madhav KV, Krishna EH, Komalla N, Reddy KA.. A novel approach for motion artifact reduction in PPG signals based on AS-LMS adaptive filter. IEEE. May (2012) ; 21: (5): 1445-57. doi: 10.1109/TIM.2011.2175832. |
[6] | Ram MR, Madhav KV, Krishna EH, Komalla N, Reddy KA. On the performance of Time Varying Step-size Least Mean Squares (TVS-LMS) adaptive filter for MA reduction from PPG signals. International Conference on Communications and Signal Processing. (2011) . doi: 10.1109/ICCSP.2011.5739353. |
[7] | Wen M, Bai LH, Zhang T. Motion Artifact Reduction of PPG Signals Based on DTCWT and cICA. Chinese Journal of Medical Physics. (2015) . |
[8] | Zhou LN, Guo YB, Yang YX. Exposing Digital Forgeries by Detecting Image Blurred Mathematical Morphology Edge. Acta Electronicasinica. (2008) ; 36: (6): 1047-1051. |
[9] | Tong B, Dan L, Wang HQ, Pang Y, Li GQ, Lin JZ, Zhou QN, Jeon G. A PPG Signal De-Noising Method Based on the DTCWT and the Morphological Filtering. 2016 12th International Conference on Signal-Image Technology & Internet-Based Systems (SITIS). (2016) . doi: 10.1109/SITIS.2016.85. |
[10] | Simhadri V, Manikandan MS. A Robust Pulse Onset and Peak Detection Method for Automated PPG Signal Analysis System. IEEE Transactions on Instrumentation and Measurement. (2018) ; 68: : 807-17. doi: 10.1109/TIM.2018.2857878. |
[11] | Dan LT, Pang Y, Wang HQ, Li GQ. A Hybrid Denoising Method for PPG Signal Based on Dual Tree Complex Wavelet Transform and Morphological Filtering. Life Science Instruments. (2016) . |
[12] | Jiang WP, Jiang P, Zhu J, Wang XN. Dynamic Pulse Wave Processing and Pulse Rate Extraction Based on Kalman Filter. Jisuanji Yu Xiandaihua. (2011) ; 1: (2): 0-88,9. |
[13] | Lee BR, Ju W. Design of Motion Artifacts Filter of PPG Signal based on Kalman filter and Adaptive filter. Journal of the Korea Institute of Information and Communication Engineering. (2014) . |
[14] | Lee JW. Design of Kalman filter to estimate heart rate variability from ppg signal for mobile healthcare. Journal of information and communication convergence engineering. (2010) . |
[15] | Su YC, Liang FX, Yu W. Noise removal of pulse wave signal based on independent component analysis. Information of Medical Equipment. (2006) . |
[16] | Saruwatari H, Kawamura T, Nishikawa T. Blind source separation based on a fast-convergence algorithm combining ICA and beamforming. IEEE Transactions on Audio, Speech, and Language Processing (2006) . doi: 10.1109/TSA.2005.855832. |
[17] | Xian LYZ. Research on The Plethysmogphic Pulse Wave Signal De-Noising Based on Wavelet Transform. Bulletin Of Science And Technology. (2016) . |
[18] | Donoho DL. De-noising by soft-thresholding. IEEE Trans Inform Theory. (1995) ; 41: (2): 613-618. doi: 10.1109/18.382009. |
[19] | Su L, Zhang RY. Translation-invariant de-noising of electrocardiogram signal based on improved wavelet thresholding method. Journal of Harbin Engineering University. (2006) . |
[20] | Liu H, Xiang CL, Han LJ, Nie HZ. A de-noising method using the improved wavelet threshold function based on noise variance estimation. Mechanical Systems and Signal Processing. (2017) . doi: 10.1016/j.ymssp.2017.05.034. |
[21] | Geng X, Liu S, Zhang YT, Zhang SL, Hou JN, Zhang J, Asif M, Zhang HY. Adjacent Channel Interference Modeling of Single Vibration Point on Multichannel Dynamic Pressure Sensors. Journal of Sensors. (2020) ; 2020: : 8. doi: 10.1155/2020/1953506. |
[22] | Huang L, Geng XG, Xu H, Zhang YT, Li ZQ, Zhang J, Zhang HY. Interference Signal Identification of Sensor Array Based on Convolutional Neural Network and FPGA Implementation. Electronics. (2022) . doi: 10.3390/electronics10222867. |
[23] | Geng XG, Zhang YT, Zhang J, Wang YF, Zhang HY. Time-Domain Feature Parameter Extraction Algorithm of Pulse Wave Based on Morphological Features. Frontiers in Artificial Intelligence and Applications, (2022) ; 363: : 555-566. doi: 10.3233/FAIA220576. |
[24] | Wang GT, Geng XG, Kang XX, Zhang YT, Zhang J, Zhang HY. A Novel Radial Artery P-S Curve Model Based on Radial Vibration of Vascular Wall. Applied Sciences. (2022) . doi: 10.3390/app12199706. |