Next Article in Journal
On the Use of Deep Neural Networks to Improve Flights Estimated Time of Arrival Predictions
Previous Article in Journal
Pakistan’s Energy Demand Forecasting for Various Sector through Long Range Alternative Planning System
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Proceeding Paper

Error Minimization in ECG Signal Reconstruction Using Discrete Wavelet Transform †

1
Department of Electrical Engineering, Lahore College for Women University, Lahore 54000, Pakistan
2
Saudi Electric Company, KSA, Riyadh 11416, Saudi Arabia
3
Department of Electrical Engineering and Technology, University of Gujrat, Gujrat 50700, Pakistan
*
Authors to whom correspondence should be addressed.
Presented at the 1st International Conference on Energy, Power and Environment, Gujrat, Pakistan, 11–12 November 2021.
Eng. Proc. 2021, 12(1), 34; https://doi.org/10.3390/engproc2021012034
Published: 24 December 2021
(This article belongs to the Proceedings of The 1st International Conference on Energy, Power and Environment)

Abstract

:
For clinical study and diagnosis, compression of Electro Cardio Gram (ECG) signal is a fundamental step for processing. However, the compression and reconstruction introduce errors in the signal. Therefore, error minimization is crucial before using these signals for analysis and diagnosis. This paper presents an efficient method to minimize the reconstruction error using the adaptive filtering technique. Better reconstruction was achieved based on higher value of Compression Ratio and lesser value of Percent Root mean squared difference. Daubechies Wavelet easily detects the signal spikes while keeping less error rate using Least Mean Squared Error algorithm. However, the percentage value of error appeared to be minimum when using Daubechies Wavelet because of its small coefficients other than Haar and Coiflet Wavelet. Therefore, it was concluded that Daubechies Wavelet should have been used for error minimization in the reconstructed signal.

1. Introduction

Higher resolution Electro Cardio Gram (ECG) signals are composed over lengthy periods. The information generated for transmission is due to the substantial volume. The quantity of data is decreased by data compression that is essential for storage and transmission of digitized ECG signals without any loss in the quality of the signal. As storage space is comparatively cheap, the compression of ECG signal has attracted substantial concentration for many years. Numerous compression algorithms for ECG are based on the reduction of compression ratios. A brief description of ECG signal compression is presented along with transformation and optimization procedures [1].
The purpose of Wavelet Transform is to break down the selected signal into a number of signals called cluster of signals belonging to different frequency bands. For a short duration of wavelet, a center frequency is defined by wavelet analysis [2]. Different types of wavelet families will have different characteristics, these include Haar, Mexian hat, Morlet, Complex Morlet, Symmlet, Daubechies, Coiflets, Biorthogonal, and Meyer Wavelets. Wavelet families can further be subdivided into their orthogonal and bi-orthogonal wavelets based on their scaling and wavelet function [3]. The mathematical expression of a wavelet can be described using Equation (1) [4]. Wavelet (MW) is used for analysis [5]. ((tτ)/s) is the ratio between shift in time and change in scale (big S means long wavelength).
ψ s , τ ( t ) = 1 s ψ   ( t τ s )
where, ψ s , τ   (t) is wavelet with scales’ and time τ   (‘s’ and ‘ τ are integers for dilating and scaling function.). 1 s is Normalization (Normalization by 1 a ensures that | | ψ a , b x | | = | | ψ x | | is independent of ‘a’ and ‘b’). Lastly, ψ is parent wavelet.
The Direct Compression technique of Bio-electrical data reduces useless repetitions in data arrangement by exploring a sequential amount of adjacent signals. The signals compressed through the direct compression technique reduce the re-establishment fault in a number of signal samples that are to be taken [6]. The Direct Data Compression technique includes AZTEC, CORTES, Fan, SAPA, TP algorithm, Improved Modified AZTEC, and Delta coding [7]. Secondly, Transform Domain Compression Technique is preferable for the application of linear orthogonal transformation of ECG signals [8]. The original signal sample of ECG is subject to a transformation and the compression technique is performed in new domains like Fourier Transform (FT), Discrete Cosine Transform (DCT), wavelet, and JPEG 2000. These techniques create higher Compression Ratio than direct techniques [9]. Lastly, in parameter extraction methods of data compression, irreversible processes are used to maintain the parameters of the ECG signals [10]. This technique includes the dominant feature of extraction from samples of raw ECG signals using peak, picking up approach, and long-term prediction approach [11].

2. Methodology

The work methodology can be decomposed into the following steps:
  • Taking the targeted ECG signal
  • Quantization of ECG signal
  • Selection of wavelet families for quantized signal
  • Applying the mathematical equations of its wavelet and scaling coefficient for channel estimation
  • For the removal of noise, using high pass and low filters, applying the adaptive filtering technique (RLS/LMS) for its noise removal
  • Reconstruction of signal using IDWT
  • De-quantization of ECG signal
  • Error Minimization using CR and PRD parameters.
MIT-BIH database has been used to get input ECG signals. These signals are then compressed to be used for reconstruction using the proposed method explained below. Figure 1 details the proposed methodology in which the compression of Bio-electrical signal was achieved using DWT technique, it is used for the compression and filtering of Bio-electrical signal because it represents both the time and frequency domain of signal in multi-resolution mode. The signal is quantized, and a wavelet family was selected for channel estimation.

3. Results

The main purpose of an adaptive filter is to change (adapt) the coefficients of a FIR filter to match the response of an unknown system as closely as possible. The unknown system and the adapting filter process the same input signal and have the outputs. Adaptive filters are self-designing filters based on an algorithm that allows the filter to “learn” the initial input statistics and to track them if they are time-varying. These filters estimate the deterministic signal and remove the noise uncorrelated with the deterministic signal. Here, LMS and RLS have been used for noise reduction in adaptive filtration of signals.
The simulation model of Haar, Daubechies, Coiflet families and their results are provided in this section. We have considered two different cases as follows:
  • Quantized/Compressed ECG Signal then apply adaptive filtering technique on it for which we use RLS (Recursive Least Square) algorithm.
  • Quantized/Compressed ECG Signal then apply adaptive filtering technique on it for which we use LMS (Least Mean square Error) algorithm.
The selected wavelet families are Haar, Daubechies, and Coiflet. As shown in Figure 1, the reconstructed signal using Haar Wavelet with RLS and the maximum overlap with the original signal reflect minimum error rate as depicted in Figure 1a–c.
However, in Figure 1a, the Haar Wavelet with RLS has not shown good overlap. Furthermore, Daubechies and Coiflet have produced better results using RLS as compared to Harr Wavelet. Nevertheless, Daubechies Wavelets responses are significantly better than other techniques, as shown in Table 1 as well. Similarly, Figure 1d–f shows the wavelet results using LMS algorithm. The reconstructed signal showed better overlap as compared to RLS and therefore, it is preferred over RLS. Furthermore, Figure 1e shows minimum % error, where Daubechies wavelet has been used with LMS algorithm.
Algorithm of adaptive filtration gives a minimum value of SNR and maximum value of PRD. Due to the opposite behavior of SNR and PRD reconstruction of the signal is not improved. Whereas, Adaptive filtering with LMS algorithm gives a maximum value of SNR and minimum value of PRD by using the proposed algorithm which is evident from Table 2.

4. Conclusions

In this research paper, the simulation results of Haar, Daubechies, and Coiflet are evaluated on the basis of parameters and percentage error. The results have shown that RLS algorithm of adaptive filtration by using Daubechies Wavelet family gives a better value of reconstruction that provides a minimum value of PRD (0.8015).

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Abo-Zahhad, M. ECG signal compression using discrete wavelet transform. In Discrete Wavelet Transforms-Theory and Application; InTech Europe: Rijeka, Croatia, 2011; pp. 143–168. [Google Scholar]
  2. Singh, B.; Kaur, A.; Singh, J. A Review of ECG Data Compression Techniques. Int. J. Comput. Appl. 2015, 116. [Google Scholar] [CrossRef] [Green Version]
  3. Meena, R.S.; Sharma, A. Comparison and analysis of orthogonal and bi-orthogonal wavelets for ECG Compression. Int. J. Res. Eng. Technol. 2014, 3, 242–247. [Google Scholar]
  4. Debnath, L.; Shah, F.A. Wavelet Transforms and Their Applications; Springer: Berlin/Heidelberg, Germany, 2002. [Google Scholar]
  5. Ranjeet, K.; Kumar, A.; Pandey, R.K. ECG signal compression using different techniques. In Advances in Computing, Communication and Control; Springer: Berlin/Heidelberg, Germany, 2011; pp. 231–241. [Google Scholar]
  6. Meyer, Y. Daubechies Wavelets; CRC Press LLC: Boca Raton, FL, USA, 1999. [Google Scholar]
  7. Kumar, N.A.M.; Sachan, A.J.S.K. Performance analysis of various types of ECG compression techniques in terms of CR. Int. J. Adv. Res. Electron. Commun. Eng. 2012, 1, 001–005. [Google Scholar]
  8. Priyanka, S. Analysis ECG data compression techniques—A survey approach. Int. J. Emerg. Technol. Adv. Eng. 2013, 3, 544–548. [Google Scholar]
  9. Mammeri, A.; Hadjou, B.; Khoumsi, A. A survey of image compression algorithms for visual sensor networks. ISRN Sens. Netw. 2012, 2012, 760320. [Google Scholar] [CrossRef] [Green Version]
  10. Zaman, T.; Hossain, D.; Arefin, T.; Rahman, A. Comparative analysis of de-noising on ECG signal. Int. J. Emerg. Technol. Adv. Eng. 2012, 2, 479–486. [Google Scholar]
  11. Goswami, J.C.; Chan, A.K. Fundamentals of Wavelets: Theory, Algorithms, and Applications; John Wiley & Sons: Hoboken, NJ, USA, 2011; Volume 233. [Google Scholar]
Figure 1. Adaptive filtering results using RLS and LMS, respectively. Each figure contains three outputs from top to bottom: Point to point difference pulse graph, signal difference pulse graph, and the reconstructed signal, respectively. (a) Result of Haar Wavelet by applying the adaptive filtering technique (RLS) (b) Result of Daubechies Wavelet by applying the adaptive filtering technique (RLS) (c) Result of Coiflet Wavelet by applying the adaptive filtering technique (RLS) (d) Result of Haar Wavelet by applying the adaptive filtering technique (LMS) (e) Result of Daubechies Wavelet by applying the adaptive filtering technique (LMS) (f) Result of Coiflet Wavelet by applying the adaptive filtering technique (LMS).
Figure 1. Adaptive filtering results using RLS and LMS, respectively. Each figure contains three outputs from top to bottom: Point to point difference pulse graph, signal difference pulse graph, and the reconstructed signal, respectively. (a) Result of Haar Wavelet by applying the adaptive filtering technique (RLS) (b) Result of Daubechies Wavelet by applying the adaptive filtering technique (RLS) (c) Result of Coiflet Wavelet by applying the adaptive filtering technique (RLS) (d) Result of Haar Wavelet by applying the adaptive filtering technique (LMS) (e) Result of Daubechies Wavelet by applying the adaptive filtering technique (LMS) (f) Result of Coiflet Wavelet by applying the adaptive filtering technique (LMS).
Engproc 12 00034 g001
Table 1. Quantization of signal with adaptive filters by using RLS Algorithm.
Table 1. Quantization of signal with adaptive filters by using RLS Algorithm.
WaveletCRPRDMSE% Age Error
Haar501.92392.281222%
Daubechies500.80151.83043.7%
Coiflet500.80561.86573.9%
Table 2. Quantization of signal with adaptive filters by using LMS Algorithm.
Table 2. Quantization of signal with adaptive filters by using LMS Algorithm.
WaveletCRPRDMSE% Age Error
Haar500.37848.823%
Daubechies500.81164.95992.8%
Coiflet500.81284.28852.9%
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Share and Cite

MDPI and ACS Style

Javaid, S.; Murawwat, S.; Latif, W.; Aslam, J.; Wasif, M.; Hussain, I. Error Minimization in ECG Signal Reconstruction Using Discrete Wavelet Transform. Eng. Proc. 2021, 12, 34. https://doi.org/10.3390/engproc2021012034

AMA Style

Javaid S, Murawwat S, Latif W, Aslam J, Wasif M, Hussain I. Error Minimization in ECG Signal Reconstruction Using Discrete Wavelet Transform. Engineering Proceedings. 2021; 12(1):34. https://doi.org/10.3390/engproc2021012034

Chicago/Turabian Style

Javaid, Saba, Sadia Murawwat, Waqas Latif, Javaid Aslam, Muhammad Wasif, and Iftikhar Hussain. 2021. "Error Minimization in ECG Signal Reconstruction Using Discrete Wavelet Transform" Engineering Proceedings 12, no. 1: 34. https://doi.org/10.3390/engproc2021012034

APA Style

Javaid, S., Murawwat, S., Latif, W., Aslam, J., Wasif, M., & Hussain, I. (2021). Error Minimization in ECG Signal Reconstruction Using Discrete Wavelet Transform. Engineering Proceedings, 12(1), 34. https://doi.org/10.3390/engproc2021012034

Article Metrics

Back to TopTop