Keywords

1 Introduction

The outputs from biosensors are analog signals, which are sent to the analog processing and digital conversion block. There, the signals are amplified, filtered, conditioned, and converted to digital form. The signal that is often used in these modifications is the electrocardiogram (ECG). In the simultaneous contraction of both ventricles blood is forced from the heart into the pulmonary artery from the right ventricle and into the aorta from the left ventricle. The electrocardiogram is an electrical measure of the sum of these ionic changes within the heart.

Throughout the data acquisition procedure, it is critical that the information and structure of the original biological signal of interest as faithfully preserved. ECG data is later processed to determine arrhythmic activity and other important diagnostic characteristics. ECG signals are essential to diagnose and analyze cardiac disease, because ECG signals record the cardiac electrical activity, which conveys important pathological information about the human heart’s condition. By analyzing the characteristics of ECG, doctors are able to judge whether the heart situation is normal or not, and know what troubles the heart confronts with. Since these signals are often used to aid the diagnosis of pathological disorders, the procedures of amplification, analog filtering or A/D conversion should not generate misleading or untraceable distortions. Distortions in a signal measurement could lead to a delay in the initiation of appropriate medical treatment or to an improper diagnosis. An ECG typically contains unwanted interference or noise. Such interference has the detrimental effect of obscuring relevant information that may be available in the measured signal. Interference noise occurs when unwanted signals are introduced into the system by outside sources. It is introduced by power lines (50 or 60 Hz), fluorescent lights, AM/FM radio broadcasts, computer clock oscillators, laboratory equipment, cellular phones, and so forth. Even the action potentials from nerve conduction in the patient generate noise at the sensor/amplifier interface. Also, ECG measurements from the heart can be affected by bioelectric activity from adjacent muscles. A measurement ECG electrode can pick up extraneous signals from the muscles, lungs, and even from the internal electronics of the recording devices.

An ECG has very small magnitudes, approximately in the millivolts. Filters are often used to remove noise from a signal, typically through the use of frequency-domain analysis to design the filter. Appropriate filtering allows one to clean up the signal, thus improving its quality of signal and the diagnostic reliability in clinical settings. Noise filtering is the fundamental step in the processing of the ECG signal. Alternating current (AC) source from a power supply introduces the PLI noise, which is a major noise to be removed at the initial stage of processing steps. Based upon the country region, the signal has a frequency of about 50/60 Hz. The main reasons behind such type of noise are the stray effect of alternating current field because of loops in the electricity wires, disengaged electrodes, electromagnetic interference due to power supply, improper grounding of ECG equipment, or heavy current load due to other equipment in the room. A low-frequency noise called baseline wander noise also occurs during ECG recording. It has the range of 0.15 to 0.3 Hz. This noise occurs due to the breathing process of that person and forces the ECG signals to shift in the baseline. The other probable causes may be due to the movement of cables during the recording of the ECG signal or due to unclean lead electrodes/wires, or due to loosen electrode connection. In addition to the heart, muscle contraction contributes to the electromyogram (EMG) noise due to depolarization and repolarization waves generated from muscle contraction near the electrodes. Another type of noise is contact noise. It is caused by the heart’s position in relation to the electrode’s variance. Electrode–skin impedance variation is the mechanism responsible for baseline disturbances. An artifact called electrode motion artifact occurs due to the movement of electrodes. The subject’s vibrations, movement, or breathing usually contribute to motion artifacts. Due to very slow fluctuations in the impedance of the skin electrode, a baseline drift arises at a very low frequency in the ECG signal. This noise cannot be disposed of, but high-quality hardware and a cautious circuit plan can very well reduce it. The main reasons are the connection of electrodes, wires, signal processor/amplifier, and ADC. At the hospitals, nurses and doctors do not pay attention to electrode placement. It results in common mode noise, and therefore 50 Hz filtering must be used.

This work attempts to summarize filtering methods and approaches into a complete overview and categorize them into a systemic taxonomy. Therefore, the purpose of this paper is to review the latest achievements in this field in the last 5 years.

2 Methods

The aim of this review paper was to provide an analysis of filters used for electrocardiogram (ECG) signal processing. A literature search was conducted in multiple databases, including PubMed, Scopus, IEEE Xplore, and Web of Science, using relevant search terms and keywords such as ECG, signal processing and filter. The search was limited to studies published in English and the search was conducted within the last 5 years. The studies identified in the search were screened based on predefined inclusion and exclusion criteria. Studies were included if they described the use of filters in ECG signal processing, and were published in peer-reviewed journals, conference proceedings, or books. Studies were excluded if they did not meet the inclusion criteria or were published in a language other than English. Data was extracted from each study, including the type of filter used, the characteristics of the ECG signals processed, the performance metrics used to evaluate the filter, and the main findings of the study. The extracted data was organized by themes, The themes included the different types of filters used in ECG signal processing. The extracted data was critically analyzed to identify patterns and trends in the literature, and to draw conclusions about the effectiveness of different types of filters for ECG signal processing.

Overall, the methods (Table 1) used in this review paper were designed to provide a rigorous and systematic approach to the literature review process, and to ensure that the analysis was comprehensive, accurate, and unbiased.

3 Results

Table 1. A brief overview of the considered filters.

In the study conducted by Venkatesan et al. (2018) [8], author utilized a standardized Least Mean Squares (LMS) adaptive filter with a delayed error in the preprocessing stage to achieve higher speed and a low-latency design with fewer elements, mainly to remove white noise. The results were compared with second-order IIR notch filter (Tables 2 and 3).

Table 2. Performance analysis of ECG records using second-order IIR notch filter.
Table 3. Performance analysis of different ECG records using adaptive LMS filter.

Huang, Hui, Shiyan Hu, and Ye Sun (2019) [4] considered a new low-distortion adaptive Savitzky-Golay (LDASG) filtering method for ECG denoising based on discrete curvature estimation (see Fig. 1).

Fig. 1.
figure 1

Diagram of the proposed LDASG filter for ECG signal denoising.

With comparable noise elimination performance, the standard SG filter has greater distortions at high variation parts, especially at R peaks, than the proposed method. The proposed method is compared with the EMD-wavelet-based method and the non-local means (NLM) denoising method in terms of both noise elimination and signal distortion reduction. For signal distortion reduction, their method outperforms the EMD-wavelet method by reducing MSE by 33.33% and PRD by 18.25%, and outperforms the NLM method by reducing MSE by 50% and PRD by 25.24% (Tables 4 and 5).

Table 4. Results of ECG denoising performance with the SNR level of 0 dB.
Table 5. Comparison of the computation time of different methods (seconds).

The author Jain et al. (2018) [2] designed a robust system for ECG denoising, incorporating EMD algorithm with fractional integral filtering by “Riegmann Liouvelle (RL) and Savitzky–Golay (SG).” It is proved from the results that the EEMD-PSO and EEMD-CS methods give the best performance for denoising attaining maximum SNR and minimum MSE for all types of noises (Table 6).

Table 6. Comparison of EMD with fractional integral filtering with other related methods.

To eliminate the white Gaussian noise in the ECG signals. Alyasseri et al. (2017) [28] have suggested combining the DWT with the β-hill climbing technique for suppressing the white Gaussian noise in the ECG signals.

Hesar and Mohebbi (2017) [29] have proposed the model based Bayesian denoising framework, which utilizes the DWT based thresholding with the Variational Mode Decomposition (VMD) to lower the noise impact on the ECG signals and then adopts the Marginalized Particle-Extended Kalman Filter (MP-EKF) with the Fuzzy Based Adaptive Particle Weighting (FBAPW) technique to further tackle the noises in the signals.

Singh and Sunkaria (2017) [30] have made use of the EWT with the technique of mode subtraction for dealing with different kinds of noises in the ECG signals. Synchro-Squeezed Wavelet Transform (SSWT) can also realize the adaptive time-frequency decomposition, which is the goal of EMD.

Oliveira et al. (2018) [5] found approach to be superior to normal threshold and notch filtering techniques in removing power-line interference.

A new phenomenon called adaptive wavelet thresholding method (AWT) was designed in the paper by He and Tan (2018) [27] for the ECG signal enhancement. By means of cross-relation coefficient and entropy energy relation, the best base wavelet was generated for ECG signal filtering automatically.

S. A. Malik, S. A. Parah and G. M. Bhat (2021) [31] concluded that combined denoising capabilities of classical EMD method provided a better improvement in SNR values of the signal in comparison to the method involving only EMD or wavelet based method. The clinical features are preserved and ECG was not compromised (Table 7).

Table 7. Considered different wavelet transforms.

Akhbari, Mahsa, et al. (2018) [13] presents a new approach for extracting fiducial points (FPs) of ECG signals by using a switching Kalman filter (SKF). The proposed method is compared with methods based on wavelet transform. For the proposed method, the mean error and the root mean square error across all FPs are 2 ms (i.e. less than one sample) and 14 ms, respectively. The standard deviations are around four to five samples for the onset and offset of waves and around one sample for the peak of waves. The errors and the standard deviation and RMSE values for the SKF are significantly smaller than those obtained using other methods (Table 8).

Table 8. Mean ± standard deviation (first line) and RMSE (second line) of error in ms between FPs and manual annotations for signals of the QT database (fs = 250Hz).

Authors Manju, B. R., and M. R. Sneha (2020) [10] concluded that the Wiener filter is a method of denoising a signal that involves using the spectral properties of the signal and the noise (Fig. 2).

Fig. 2.
figure 2

Block diagram of Kalman filter.

Fig. 3.
figure 3

Block diagram of Wiener filter.

The results indicate that the Wiener filter (Fig. 3) produces a higher SNR value, low MSE, and low PRD compared to the Kalman filter (Fig. 2) for all types of noise. The simulation results have shown that Wiener filter is a better filtering technique than Kalman filter in terms of SNR, PSD, MSE, PRD. The inefficient performance of the Kalman filter is due to its restricted application to non-linear systems (Table 9).

Table 9. Values of various parameters for different noises using Kalman and Wiener filter.

Chen, Binqiang, et al. (2019) [11] focuses on eliminating PLI from ECG and proposes an Adaptive Notch Filter with Sharp Resolution (ANFwSR) that do not require any specified parameters, making the algorithm easier to implement. ANF is better than conventional notch filters because ANF does not only reduce unwanted effects but also preserves QRS-complex features in the filtered signal. The compared results found that the ANF has the smallest maximal value and RMS value of construction errors among the three methods, indicating an improved SNR in the filtered signal (Table 10).

Table 10. Comparisons between the ANFwSR and two types of IIR notch filters.

4 Conclusion

A review of denoising techniques has been conducted in this paper. The paper demonstrates how the filters and transformations play a crucial role in eliminating noise and enhancing the input ECG signal. Starting from the notch filter, where only one particular noise frequency (50 Hz) was removed at a time efficiently, but instantly failed when there was a variation in frequency of noise. Hence, the adaptive filter was introduced in order to overcome such drawbacks. In the end, it turned out that by looking at the research based on the last five years, wavelets are the most represented. Overall, these studies demonstrate ongoing research into improving the effectiveness of filters in ECG signal processing, with new and innovative techniques being developed to address specific challenges and improve the quality of ECG measurements.