ECG_compression_and_labview_implementation
ECG_compression_and_labview_implementation
net/publication/247919133
CITATIONS READS
22 17,583
1 author:
Tatiparti Padma
Gokaraju Rangaraju Institute of Engineering & Technology
3 PUBLICATIONS 30 CITATIONS
SEE PROFILE
All content following this page was uploaded by Tatiparti Padma on 05 April 2014.
MATLAB / SIMULINK
ECG Instrumentation
Signal amplifier A/D Micro-
From Converter Controller Filters Compression Transmission
patient through RF
Analysis
Reconstruction Decompression Receiver
of the signal of the signal
+5V
PATIENT/CIRCUIT
PROTECTION/ISOLATION
7
3
8
0.03Hz
RG AD620A HIGH-
6
PASS
8.25kΩ G=7 FILTER
1 5
2
4
-5V
mv
4.3. CORTES Algorithm
An enhanced method known as CORTES (Coordinate
Reduction Time Encoding System) applies TP to some
portions of the waveform and AZTEC to other portions
and does not suffer from discontinuities. AZTEC line sec
length threshold Lth, CORTES saves the AZTEC line
otherwise it saves the TP data. As shown in Figure 9. Figure 10. DCT compression analysis.
1) Acquire the ECG signal
2) Define the Vth and Lth.
3) Find the current Maximum and minimum.
4) If the Sample greater than threshold than compare
the length with Lth
5) If (len>lth)
AZTEC Else
mv
TP
6) Plot the compressed signal
4.4. DCT Compression
1) Separate the ECG components into three compo-
nents x, y, z.
sec
2) Find the frequency and time between two samples.
3) Find the dct of ecg signal check for dct coefficients Figure 11. FFT compression analysis.
(before compression)=0, increment the counter A if it is
between +0.22 to -0.22 and assign to Index=0. 2) Find the frequency and time between two samples.
4) Check for DCT coefficients(after compression)=0, 3) Find the FFT of ECG signal check for fft coeffi-
increment the Counter B.
cients (before compression) =0, increment the counter A
5) Calculate inverse dct and plot decompression, error.
if it is between +25 to-25 and assign to Index=0.
6) Calculate the compression ratio, PRD.
As shown in Figure 10. 4) Check for FFT coefficients (after compression) =0,
increment the Counter B.
4.5. FFT Compression 5) Calculate inverse FFT and plot decompression, error.
1) Separate the ECG components into three components 6) Calculate the compression ratio, PRD.
x, y, z. As shown in Figure 11.
4.6. Summary
9
7
choice to select the best suitable compression method.
sec Hence in this project the DCT found to be compressed
6
0 100 200 300 400 500 600 700 800 900 1000 90.43 with PRD as 0.93.
9 Table 1. Comparison of compression techniques.
5. HARDWARE IMPLEMENTATION reject filter is used, then the 50 Hz signal which is very
important in the ECG signal will be lost. Therefore by
The hardware implementation part is rather large and opting adaptive noise filtering, the power line frequency
complex and the present trend in the BIOMEDICAL can be eliminated at the same time retaining the 50 Hz
field is moving towards the miniaturization, thereby an signal in the original waveform.
efficient design flow is necessary, which was imple-
mented using LABVIEW as shown in Figure 12. 6. RESULTS
The ECG signal is acquired with the help of elec-
trodes that are connected to the patient and the signal is Extracting the portion of the signal and finding the R
fed for further processing like instrumentation amplifier, peaks in the signal by a first difference method. Once
the R peaks are identified the heart rate is calculated
Analog to Digital converter, micro controller, and filters.
After acquiring the signal, different signal analysis tech- the by knowing the period between successive R-
peaks.
niques using LABVIEW software where various abnor-
malities are to be checked for and finally display the x(n 1) x(n)
Y(n) ; where T is sampling period.
problem in ECG of a particular patient. T
The standard lead system used in intensive care units Heart rate Calculation:
is lead II system. (ECG data was acquired from a data
file MIT-BIH (.m file)). 60
HR ______ BPM.
The signal is taken and fed to an instrumentation am- Y(n)
plifier that amplifies the signal. The amplifier is used to
set the gain and it also amplifies very low amplitude 7. CONCLUSIONS
ECG signal into perceptible view. Then the signal goes
for analog to digital conversion for the sake of easier The feeling of being in virtual contact with the health
transmission. The amplified signals are then sent for care professionals provides a sense of safety to the sub-
filtering processes. jects, without the hassles of permanent monitoring.
The adaptive noise filtering is used for removal of 50 Offers a valuable tool for easy measurement of ECG.
Hz that is the power line interference because, the ECG Offers first hand help when ever patient requires im-
signal also contains 50 Hz signal and if normal band mediate medical attention.
REFERENCES
[1] S. Jalaleddine, C. Hutchens, R. Stratan, and W. A. Co-
berly, (1990) ECG data compression techniques-a unified
approach, IEEE Trans. Biomed. Eng., 37, 329-343.
[2] J. R. Cox, F. M. Nolle, H. A. Fozzard, and G. C. Oliver,
(1968) AZTEC, a preprocessing program for real time
ECG rhythm analysis, IEEE Trans. Biomed. Eng.,
BME-15, 129-129.
[3] B. R. S. Reddy and I. S. N. Murthy, (1986) ECG data
compression using fourier descriptors, IEEE Trans. Bio-
med. Eng., BME-33, 428-433.
[4] D. C. Reddy, (2007) Biomedical signal process-
ing-principles and techniques, 254-300, Tata
Figure 13. Heart rate display. McGraw-Hill, Third reprint.
[5] J. L. Simmlow, Biosignal and biomedical image proc-
essing- MATLAB based applications, 4-29.
The results achieved were quite satisfactory the DCT [6] A. S. Al-Fahoum, (2006) Quality assessment of ECG
found to be compressed 90.43 with PRD as 0.93. The compression techniques using a wavelet-based diagnostic
signal analysis techniques using LABVIEW software measure, IEEE Trans. in Biomedicine, 10, 182-191.
where various abnormalities are to be checked for and [7] V. Kumar, S. C. Saxena, and V. K. Giri, (2006) Direct
data compression of ECG signal for telemedicine, ICSS ,
finally display the problem in ECG of a particular pa- 10, 45-63.
tient was also given a positive indication, with this as the [8] A. Perkusich, G. S. Deep, M. L. B. Perkusich, and M. L.
goal set the further implementation in matlab simulink Varani, (1989) An expert ECG acquisition and analysis
work is also under the implementation stage. system, IMTC- 89, 184-189.