Compression of Electrocardiograph Signal using Fast Fourier Transform Technique

DOI : 10.17577/IJERTV2IS100930

Download Full-Text PDF Cite this Publication

Text Only Version

Compression of Electrocardiograph Signal using Fast Fourier Transform Technique

Keshav Pandey

B.E. Student, Dept. of EEE, Bhilai Institute of Technology,

Durg, C.G., India

Kajal Sharma

B.E. Student, Dept. of EEE, Bhilai Institute of Technology,

Durg, C.G., India

Shreyashri Dronkar

B.E. Student, Dept. of EEE, Bhilai Institute of Technology,

Durg, C.G., India

Dr. Anup Mishra

Head of Dept., EEE, Bhilai Institute of Technology,

Durg, C.G., India

Abstract

This research paper presents an Electrocardiography (ECG) compression based on optimized quantization of Fast Fourier Transform (FFT) coefficients. The ECG to be compressed is partitioned in blocks of fixed size, and each FFT block is quantized using a quantization vector that are specifically defined for each signal. The Percent Root-Mean-Square Difference (PRD) was adopted as a measure of the distortion introduced by the compressor. We also present traces of test signals before and after the compression/decompression process. The results show that the proposed method achieves good compression ratios (CR). The objective is realized by constructing and designing an algorithm & software for compression which would enable optimal storage of ECG signals in the database for future references.

  1. Keywords

    ECG, Compression, Fast Fourier Transform (FFT), Compression Ratio (CR), Percentage Root Mean Square Difference (PRD)

  2. Introduction

    In this paper, an Electrocardiogram (ECG) signal is compressed based on Fast Fourier Transform (FFT) and QRS-complex estimation. The ECG signal is pre-processed by normalization and

    mean removal. Then, an error signal is formed as the difference between the pre-processed ECG signal and the estimated QRS-complex waveform. This error signal is fast fourier transformed and the resulting fourier coefficients are threshold by setting to zero all coefficients that are smaller than certain threshold levels. The threshold levels of all sub-bands are calculated such that minimum percentage root mean square difference (PRD) and maximum compression ratio (CR) are obtained. The resulted threshold FFT coefficients are coded using the coding technique given in. Simulation results show that the proposed algorithm leads to high CR associated with low distortion level. The main features of this compression algorithm are the high efficiency and high speed. Compression techniques have been around for many years. However, there is still a continual need for the advancement of algorithms adapted for ECG data compression. The necessity of better ECG data compression methods is even greater today than just a few years ago for several reasons. The quantity of ECG records is increasing by the millions each year, and previous records cannot be deleted since one of the most important uses of ECG data is in the comparison of records obtained over a long range period of time. The ECG data compression techniques are limited to the amount of time required for compression and reconstruction, the noise embedded in the raw ECG signal, and the need for

    accurate reconstruction of the P, Q, R, S, and T waves.

  3. FFT Technique

    The Fast Fourier transform (FFT) is defined by the formula:

    where k is an integer ranging from 0 to N1.

    The algorithm first computes the FFTs of the even-indexed inputs x2m(x0,x1,,xN-2) and odd-indexed inputs x2m+1(x1,x3,,xN-1), and combines those two results to produce the FFT of

    bandwidth, sampling frequency, precision of the original data, word- length of compression parameters, reconstruction error threshold, database size, lead selection, and noise level. It is given by[5]:

    =

    Higher the CR, smaller is the size of the compressed file.

    4.2. Percentage Root Mean Square Difference (PRD)

    PRD is a measure of error loss. This measure evaluates the distortion between the original and the reconstructed signal. PRD calculation is as follows[5]:

    the whole sequence. The algorithm runs at its

    2

    maximum speed when N is the power of two. The

    = 100 ×

    =1

    2

    equation becomes:

    We can factor out he common multiplier

    2 out the second sum we obtain:

    Because of the periodicity properties of the FFT, the outputs for N/2k<N from a FFT of length N/2 are identical to the outputs for 0k<N/2. The whole equation becomes:

    This equation expresses the FFT of length N recursively in terms of two FFTs of size N/2which can reduce the computation time by hundreds.

  4. Performance parameters

    The effectiveness of an ECG compression technique is described in terms of:

    1. Compression Ratio (CR)

      CR is the ratio of the original data to compressed data without taking into account factors such as

      =1( )

      Where ORG is the original signal and REC is the reconstructed signal. The lower the PRD, the closer the reconstructed signal is to the original ECG data.

  5. Methodology

ECG signals are compressed by using many techniques. One of the most important technique is FFT (Fast Fourier Transform).

FFT is a technique used to convert analog signal to digital signal.

In FFT, the total process takes five steps:-

  1. Input signal

  2. Compression (counter A)

  3. Compression (counter B)

      1. Compression Stage (counter A)

        There are two stages for compression. In first stage of compression there is a counter A. It identifies the non-zero values of the signal before compression.

        After compression length of the compressed signal is compared with the length of the actual signal.

      2. Zero Padding

        If the length of the compressed signal is less than the length of the actual signal, then zero padding

        is done to make equal the lengths of compressed and actual signal.

      3. Compression Stage (counter B)

        Now the signal is passed through the counter B. It identifies the non-zero values after the compression of the signal.

        After compression length of the compressed signal is compared with the length of the actual signal

      4. Truncation

    Now after compression if the length of the compressed signal is greater than the length of the actual signal, then TRUNCATION of the signal is done.

    1. Result

      SIGNAL

      CR

      PRD

      ecg.mat

      87.56

      0.9376

    2. Conclusion

      In this paper, method for compressing ECG signal based on fast fourier transform has been discussed. The key idea lies in the estimation of QRS-complex signal from a given ECG signal. The QRS-complex is estimated using parameters extracted from the original ECG signal. It results in higher CR with less PRD. FFT technique will require further investigations in order to improve the clinical usefulness of this novel signal processing technique. Simultaneously diagnostic

      and prognostic significance of wavelet techniques in various fields of electro cardiology needs to be established in large clinical studies.

    3. References

  1. Amol R. Madane, Gajanan G. Kale, Electrocardiography Compression using Fast Fourier Transform, International Journal of Engineering Research & Technology (IJERT), ISSN:2278-0181 Vol. 2 Issue 6, Jun 2013.

  2. Mayur Kumar Chhipa, Performance Analysis of Various Transforms Based Methods for ECG Data, International Journal of Scientific and Research Publications, Volume 3, Issue 5, May 2013

  3. Priyanka, Indu Saini, Analysis ECG Data Compression Techniques-A Survey Approach, International Journal of Emerging Technology and Advanced Engineering, (ISSN 2250-2459, ISO 9001:2008 Certified Journal, Volume 3, Issue 2,

    February 2013

  4. Anamitra Bardhan Roy, Debasmita Dey, Devmalya Banerjee, Bidisha Mohanty, Comparison of FFT, DCT, DWT, WHT Compression Techniques on Electrocardiogram & Photoplethysmography Signals,Special Issue of International Journal of Computer Applications(0975-8887), International Conference on Computing, Communication and Sensor Network(CCSN) 2012

  5. Vikramaditya Dangi, Amol Parab and Kshitij Pawar, Analysis of Transform Based ECG Compression Techniques, Proc. Of the International Conference on Advances in Electronics & Electrical Engineering-AEEE 2012

  6. Mohammed Abo-Zahhad, Sabah Mohamed Ahmed, Ahmed Zakaria, ECG Signal Compression Technique Based on Discrete Wavelet Transform and QRS-Complex Estimation Signal Processing An International Journal (SPIJ), Volume (4) : Issue (2)

  7. Mrs. S. O. Rajankar and Dr. S. N. Talbar (2010): An Optimized Transform for ECG Signal Compression. In Proc. of Int .Conf. on Advances in Computer Science, 94-96.

  8. J. Abenstein and W. Tompkins (1982): A new data-reduction algorithm for real time ECG analysis. IEEE Tran. On Biomed. Engg., 29(BME-1):4, 3-8.

Leave a Reply