Ecg compression using fft

21
ECG COMPRESSION USING FFT

description

ECG COMPRESSION USING FFT The electrocardiogram (ECG) is a diagnostic tool that is routinely used to assess the electrical and muscular functions of the heart. Sometimes it is required to send the ECG signals from one place to another place. The ECG signals are compressed at first to reduce the amplitude and frequency and then transferred. ECG signals are compressed by using many techniques. One of the most important technique is FFT. FFT (Fast Fourier Transform) 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)4) Recovery of the original signal by using IFFT5) Error checkingNow the detailed explanation of the above steps is given below At first the input signal (ECG signal) is taken.  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 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.  Now the signal is passed through the counter B. It identifies the non-zero values after the compression of the signal. 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. Now by applying IFFT (Inverse Fast Fourier Transform) the original ECG signal is recovered. The Error is checked at the last stage. Compression ratio is given by CR=(B-A)/B *100CR-Compression ratioA-compression in counter AB-compression in counter B Compression ratio is a major factor to determine how much compression the signal undergoes. The compressed signal contains only positive values. Thus ECG signal is compressed by using FFT technique.Applications:-• It finds application in hospitals, when a patient’s report is to be send to another doctor in prenomial place.

Transcript of Ecg compression using fft

Page 1: Ecg compression using fft

ECG COMPRESSION USING FFT

Page 2: Ecg compression using fft

ECG

The ECG (electrocardiogram)is a diagnostic tool that is routinely used to assess the electrical and muscular functions of the heart.

Sometimes it is required to send the ECG signals from one place to another place. The ECG signals are compressed at first to reduce the amplitude and frequency and then transferred.

Page 3: Ecg compression using fft

FFT

• ECG signals are compressed by using many techniques. One of the most important technique is FFT.

• FFT (Fast Fourier Transform) is a technique used to convert analog signal to digital signal.

Page 4: Ecg compression using fft

FFT

Page 5: Ecg compression using fft

Five Stages

In FFT, The total process takes five steps:-1) Input signal 2) Compression (counter A)3) Compression (counter B)4) Recovery of the original signal by using IFFT5) Error checking

Page 6: Ecg compression using fft

First stageThe input signal (ECG SIGNAL) IS TAKEN

Page 7: Ecg compression using fft

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.

Page 8: Ecg compression using fft

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.

Page 9: Ecg compression using fft

ZERO PADDING

Page 10: Ecg compression using fft

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

Page 11: Ecg compression using fft

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.

Page 12: Ecg compression using fft

TRUNCATION

Page 13: Ecg compression using fft

COMPRESSED ECG SIGNAL

Page 14: Ecg compression using fft

Recovery of the original signal by using IFFT

Now by applying IFFT

(Inverse Fast Fourier Transform) the original ECG signal is recovered.

Page 15: Ecg compression using fft

Recovery of the original signal by using IFFT

Page 16: Ecg compression using fft

ERROR CHECKING STAGE

The recovered signal y’(t) is compared with the original signal y(t).

Error is given by e(t)=y(t)-y’(t) e(t)=error in the recovered signal y(t)= original signal y’(t)=recovered signal

Page 17: Ecg compression using fft

ERROR CHECKING STAGE

Page 18: Ecg compression using fft

The compressed signal contains only positive values

Page 19: Ecg compression using fft

Compression Ratio

• Compression ratio is given by• CR=((B-A)/B) *100• CR-Compression ratio• A-compression in counter A• B-compression in counter B • Compression ratio is a major factor to

determine how much compression the signal undergoes.

Page 20: Ecg compression using fft

Applications

It finds application in hospitals,

when a patient’s report is to be send to another doctor in prenominal place.

Page 21: Ecg compression using fft