SlideShare a Scribd company logo
1 of 5
Download to read offline
S. Thulasi Prasad et al Int. Journal of Engineering Research and Applications
ISSN : 2248-9622, Vol. 4, Issue 1( Version 3), January 2014, pp.186-190

RESEARCH ARTICLE

www.ijera.com

OPEN ACCESS

Analysis of ECG Using Filter Bank Approach
S. Thulasi Prasad*, S. Varadarajan**
*Dept. of ECE, CVSE, Tirupati, India
**Dept. of ECE, SVUCE, Tirupati, India

ABSTRACT
In recent years scientists and engineers are facing several problems in the biomedical field. However Digital
Signal Processing is solving many of those problems easily and effectively. The signal processing of ECG is
very useful in detecting selected arrhythmia conditions from a patient’s electrocardiograph (ECG) signals. In this
paper we performed analysis of noisy ECG by filtering of 50 Hz power line interference using an adaptive LMS
notch filter. This is very meaningful in the measurement of biomedical events, particularly when the recorded
ECG signal is very weak. The basic ECG has the frequency range from 5 Hz to 100 Hz. It becomes difficult for
the Specialist to diagnose the diseases if the artifacts are present in the ECG signal. Methods of noise reduction
have decisive influence on performance of all electro-cardio-graphic (ECG) signal processing systems. After
removing 50/60 Hz powerline interference, the ECG is lowpass filtered in a digital FIR filter. We designed a
Filter Bank to separate frequency ranges of ECG signal to enhance the occurrences QRS complexes. Later the
positions of R-peaks are identified and shown plotted. The result shows the ECG signal before filtering and after
filtering with their frequency spectrums which clearly indicates the reduction of the power line interference in
the ECG signal and a filtered ECG with identified R-peaks.
Keywords – ECG, Arrhythmia, QRS, Filter Bank, Adaptive LMS filter, Downsampling, spectrum, MATLAB.

I.

INTRODUCTION

The recording of bioelectrical potentials
generated on the surface of the body by the heart is
called ECG (Electro-Cardio-Gram). ECG is an
important tool to know about the functional and
structural status of the heart. In healthcare, the
diagnosis of cardiac diseases accurately through an
automated method of analysis of ECG signals is
crucial, especially for real-time processing. The heart
rate signal detects the QRS wave of the ECG and
calculates inter-beat intervals [1]. The classification
of cardiac rhythms is based on the detection of the
different types of arrhythmia from the ECG
waveforms. Normally the ECG is corrupted by
various noises such as 50/60 Hz power line signals,
the baseline drift caused by patient breathing, bad
electrodes and improper electrode location. Due to
these types of noises detection of QRS complexes
becomes difficult or may be false one. Thus, some
studies have compared the robust performance of
different algorithms for QRS wave detection.
Trahanias used the mathematical morphology of the
QRS complex to detect heart rates. Chang used the
ensemble empirical model decomposition to reduce
noises in arrhythmia ECGs. Fan used approximate
entropy (ApEn) and Lempel-Ziv complexity as a
nonlinear quantification to measure the depth of
anaesthesia. Several researchers have extracted the
features of ECG waveforms to detect the QRS
complexes based on the arrhythmia database.
Dr. Li, proposed the wavelet transforms method for
www.ijera.com

detecting the QRS complex from ECG having high P
or T waves, noise, and baseline drift. Yeh and Wang
proposed the difference operation method to detect
the QRS complex waves. Mehta and Lingayat used
the support vector machine (SVM) method to detect
the QRS complexes from a 12-leads ECG [2]. They
also used the K-mean algorithm for the detection of
QRS complexes in ECG signals. In these studies, the
normal sinus ECG signal added different noise types
and energy was used to evaluate the performance of
these algorithms.
Arrhythmia can be defined as either an
irregular single heartbeat or a group of heartbeats.
Some classification techniques are based on the ECG
beat-by-beat classification with each beat being
classified into several different arrhythmic beat types.
These include classification based on artificial neural
networks [3], fuzzy neural networks, Hermite
functions combined with self-organizing maps, and
wavelet analysis combined with radial basis function
neural networks. In these methods, the ECG
waveform of each beat was picked up and different
features were extracted to classify the arrhythmic
types. Tsipouras used the RR-interval signal to
classify certain types of arrhythmia based on a group
of heartbeats.
In this paper we proposed an approach in
which the ECG signal is processed with adaptive
filter and a lowpass to remove noise due to powerline
interference, baseline drift, motion artifacts and other

186 | P a g e
S. Thulasi Prasad et al Int. Journal of Engineering Research and Applications
ISSN : 2248-9622, Vol. 4, Issue 1( Version 3), January 2014, pp.186-190
noise sources filter. Later a Filter Bank and a simple
QRS detection algorithm are used to detect R-peaks.

II.

ECG BASICS

The human heart is a cone-shaped muscular
pump located in the mediastinal cavity of the thorax
between the lungs and beneath the sternum [4]. In a
healthy heart a sequence of electrical impulses is
generated by the natural pacemaker in the right
atrium, which is called sinoatrial node (SA). This
impulse sequence then flows down natural
conduction pathways between the atria to the
atrioventricular node and from there to both
ventricles. Atria and ventricles contract coordinately
as the impulses spread through the natural conduction
paths in an orderly fashion. The flow of electrical
impulses creates unique deflections in the ECG that
gives the information about heart function and health.
Fig.1 shows the cross section of human heart and the
ECG signal generated from the various parts of the
heart.

after contraction. We can calculate the rate by
looking at several beats. With the help of ECG,
doctors and other trained personnel can analyse ECG
tracing and find out the reasons for functional and
structural disorders of the heart such as abnormal
speeding, slowing, irregular rhythms, injury to
muscle tissue (angina), and death of muscle tissue
(myocardial infarction) etc. The length of intervals
gives the information about the conduction lengths of
the flow of electrical impulses from SA node. If an
impulse is following its normal pathway then the
length of an interval is normal. If an impulse has
taken a longer route or has been slowed then the
interval is long. If an impulse has taken a shorter
route or has been speeded up then the interval is
short. When the electrical impulse did not rise
normally or was blocked at that part of the heart QRS
complex becomes absent. The P-wave will be absent
when there is a lack of normal depolarization of the
atria. If QRS complex is absent after a normal P wave
then it indicates that the electrical impulse was
blocked before it reaches the ventricles. When the
heart tissue is dead or injured, the impulses will
spread abnormally through the muscle tissue and
produces abnormally shaped complexes in ECG.
Such situation is called as myocardial infarction.
Metabolic abnormalities and various medicines may
also change electrical signal pattern of ECG.

III.

Fig. 1 cross section of human heart and the ECG
signal
A typical ECG tracing of a single beat are
traditionally recognized and labeled as a P wave, a
QRS complex, a T wave, and a U wave [5]. The peak
labeled P corresponds to the initial electrical pulse
triggering the heart’s contraction. The interval from P
to Q corresponds to the spreading of the
depolarization across the smaller chambers of the
heart (the atria—singular atrium), and is typically
very small because the atria are only a small fraction
of the heart. The QRS complex, the great big feature
in any ECG trace, shows where the ventricles
contract. These are the largest, lower chambers of the
heart, explaining why this feature is bigger than the P
feature for the atria. The T wave shows where the
ventricles re-polarize in preparation for the next
heartbeat to occur and where the muscles are relaxing
www.ijera.com

www.ijera.com

METHOD

In this paper the ECG signal is analysed
based on frequency content. The power spectrum of
ECG signal may extend up to 100 Hz with QRS
complex concentrating up to 50 Hz. Depending upon
the sharpness of the morphology of Q, R and S waves
the frequency content may extend even beyond 50 Hz
with considerable magnitude. In general, the energy
of P and T waves will be up to 10 Hz significantly.
Hence the best way is to detect heartbeats is to
analyze ECG signal based on different sub-bands of
the ECG using FIR filters in the form of a filter bank
[6], instead of considering just the output of one filter
which maximizes SNR of the QRS [7].
Fig.2 shows the block diagram of our
method used for analyzing ECG signal.
ECG
Signa
l

Adaptive
LMS

Lowpass
Filter

Filter
Filter
Bank

QRS
Detection

QRS
Complex

Signal

Analysis

Fig.2 Block diagram of the proposed method

187 | P a g e
S. Thulasi Prasad et al Int. Journal of Engineering Research and Applications
ISSN : 2248-9622, Vol. 4, Issue 1( Version 3), January 2014, pp.186-190
In order to remove 50 Hz (60 Hz) powerline
interference an adaptive LMS filter is used [8]. The
adaptive filter using LMS algorithm [9][10] is shown
in Fig.3. The adaptive filter would take input both
from the patient and from the power supply directly
and would thus be able to track the actual frequency
of the noise as it fluctuates. Such an adaptive
technique generally allows for a filter with a smaller
rejection range, which means, in our case, that the
quality of the output signal is more accurate for
medical diagnoses. The idea behind the block
diagram is that a variable filter extracts an estimate of
the desired signal.
Variable
Filter
Wn

x(n)

-



through a lowpass filter to remove high frequency
noise above 60 Hz.
The low-pass filter designed by Lynn is
represented in simple and effective form with the
following transfer function [12].
(1  z 6 ) 2
H1 ( z) 
(6)
(1  z 1 ) 2
H 1 ( ) 

(1  e  j 6 ) 2

(7)
(1  e  j ) 2
The corresponding difference equation is as follows:

y(n)= 2y(n-1)-y(n-2)
+x(n)-2x(n-4)+x(n-8)

Update
Algorithm
Fig.4 Block diagram of adaptive LMS filter
The input signal is the sum of a desired
signal d(n) and interfering noise v(n). The adaptive
filter is FIR structure [11] defined with filter
coefficients as:
Wn  [Wn (0),Wn (1),..........Wn ( p)]T
(1)

dB
H1

H2

HN-1

The error signal is obtained from the difference
between the desired and the estimated signal as:

.......
.



(2)

The adaptive filter estimates the desired signal by
convolving the input signal with the impulse
response. In vector notation this is expressed as:


d (n) Wn  X (n)

(3)

Where X(n) is an input signal vector and given by:
X (n)  [ x(n), x (n  1),..........x (n  p)]T
(4)
Moreover, the variable filter updates the filter
coefficients at every time instant according to the
equation:
(5)
Wn1 Wn  Wn
where Wn is a correction factor for the filter
coefficients. The adaptive algorithm generates this
correction factor based on the input and error signals.
The adaptive LMS filter can be implemented by
using MATLAB. The desired estimate is then filtered

www.ijera.com

(8)

The desired lowpass filter can be designed
using MATLAB.After lowpass filtering the ECG
signal is decomposed into different frequency bands
using Filter Bank [13]. In this filter bank analysis
technique we used 4 sub-bands; each one has
bandwidth 6 Hz. The ECG signal is processed by
those 4 sub-band filters and downsampled [14]. Thus
The processing of ECG signal is carried out by using
analysis and synthesis filters, each of length L, The
analysis filters are bandpass filters whose ideal
magnitude response Hn(w), n =0,1,2,…,(N-1) is
shown in the Fig.4.

+

Wn

e(n)  d (n)  d (n)

www.ijera.com



0

Fig.4 Ideal Magnitude response of a Filter Bank
If X(f) is the input signal then this filter
bank decompose the input signal and produces the
subband signals as follows:
(9)
Yn ( z)  H n ( z) X ( z) n  0,1,2,3,....,N  1
The downsampling process keeps one sample out of
samples. The downsampled signal is given as
follows:

Z n ( z) 

1
N

N 1



1

Yn ( z N e

j 2
N

)

n  0,1,2,..., N  1 (10)

n 0

Since the downsampled signal has lower rate than
subbands of input ECG signal the filtering process
can be efficiently done at the input rate by taking
advantage of the downsampling.
With the help of these subbands interesting
features QRS complex can be extracted by combining
188 | P a g e
S. Thulasi Prasad et al Int. Journal of Engineering Research and Applications
ISSN : 2248-9622, Vol. 4, Issue 1( Version 3), January 2014, pp.186-190
these subbands in different ways. For example by
using subbands 1, 2, 3 and 4 we can calculate the
feature sum-of-absolute values, P1, as [15]:
4

P1 

Z

k

( z)

(11)

k 1

P1 gives the energy in the frequency band [4, 28] Hz.
Similarly, P2 and P3 can be computed using subbands {1, 2, 3}, and {2, 3, 4}, respectively as:
P2 

Z

k

( z)

k  1,2,3

( z)

k  1,3,4

noises that resulted from 50 Hz power lines and
baseline drift and then filtered in a lowpass filter to
remove high frequency noise above 60 Hz. Finally
the ECG signal is processed with a filter bank to
separate QRS complexes and then the R-peak
positions from QRS complex were detected. The
Fig.5 shows the noisy ECG signal and its spectrum,
ECG after removing 50 Hz powerline interference
and its spectrum.

(12)

k

www.ijera.com

(13)

k

P3 

Z
k

And these values are proportional to the energy in
their respective sub-bands.
Similarly the features mean-of-sum-ofsquares P4, P5 and P6 can be computed using
subbands {1, 2, 3, 4}, {1, 2, 3} and {2, 3, 4},
respectively as:
1
Z k ( z) 2
(14)
P4 
k  1,2,3,4
4 k



P5 
P6 

1
3

 Z

1
3

 Z

k ( z)

2

k  1,2,3

(15)

k ( z)

2

k  1,2,3,4

(16)

k

k

These features represent the energy of the
QRS complex. An heuristic beat detection logic can
be developed to maximize the number of true
positives (TP's), while keeping the number of false
negatives (FN's) and false positives (FP's) to a
minimum by computing the detection strength (D) of
an incoming feature (e.g., P1, P2, P3) with the help of
signal and noise levels as:
PN
D
(17)
SN
Where
S = Signal Level
N= Noise Level

Fig. 5 ECG and its soectrum after removing 50 Hz
powerline interfence
Fig.6 shows the ECG signal after processing with a
filter bank and R-peaks detected.

The value of D is limited at 0 if a feature's
value is less than N and limited to 1when a feature's
value is above S. The signal history is updated with
the feature's value if the value of D is greater than the
threshold and noise history is updated with the
feature's value if the value of D is less than the
threshold. After extracting the ECG signal with
isolated QRS energies, the R-peaks are detected by
simple algorithm where a dynamic threshold is used.

IV.

RESULTS

In this paper first we implemented an
adaptive filter using MATLAB built-in function and
adaptive.lms on input noisy ECG signal to reduce
www.ijera.com

Fig.6 Lowpass filtered ECG and Cleaned ECG with
detected R-peaks

189 | P a g e
S. Thulasi Prasad et al Int. Journal of Engineering Research and Applications
ISSN : 2248-9622, Vol. 4, Issue 1( Version 3), January 2014, pp.186-190
V.

CONCLUSION

Normally signals from ECG electrodes are
brought to simple electrical circuits with amplifiers
and analogue to digital converters. The main problem
of digitalized signal is interference with other noisy
signals like power supply network 50 Hz frequency
and breathing muscle artifacts. These noisy elements
have to be removed before the signal is used for next
data processing like heart rate frequency detection.
Digital filters and signal processing should be
designed very effective for next real-time
applications in embedded device.

VI.

REFERENCES

[2]

[3]

[4]

[5]

[6]

[7]

[8]

[9]

M. Jannett T.C. Jadallah M.A., Yates S.L.
Quint S.R. Troynagle H. A comparison of
the noise sensitivity of nine QRS detection
algorithms,
IEEE
Trans.
Biomed.
Eng. 1990;37:85–98.
T.B. Garcia and N.E. Holtz, 12-lead ECG:
The Art of Interpretation, (Jones & Bartlett
Publ. Sudbury, MA.236 pp. ISBN 0-76371284-1).
P. S. Hamilton, W. J. Tompkins, (1986).
Using MIT/BIH Arrhythmia Database, IEEE
Transactions on Biomedical Engineering,
Vol.31, No.3, (March 2007), pp. 1157-1165,
ISSN 0018-9294.
T.C Ruch, H.DPatton, Physiology and
Biophysics (Philadelphia, W. B. Saunders,
1982).
N. Goldschlager, Principles of Clinical
Electrocardiography (Connecticut, USA,
ISBN 978-083-8579-510)
H. S. Malvar, Signal Processing with
Lapped Transforms ( Norwood, MA: Artech
House, 1992)
P. S. Hamilton and W. J. Tompkins,
Quantitative investigation of QRS detection
rules using the MIT/BIH arrhythmia
database, IEEE Trans. Biomed. Eng., vol.
BME-33, pp. 1157–1165, 1986.
Haykin, Simon S, Adaptive Filter Theory
(4th ed. Englewood Cliffs, New Jersey:
Prentice Hall), 2001.
J. R. Glover. Adaptive noise canceling
applied to sinusoidal interferences, IEEE
Trans.
Acoustical.,
Speech,
Signal
Processing, and ASSP-25 (12):484–491,
Dec. 1977.

www.ijera.com

[11]

[12]

ACKNOWLEDGEMENTS

We acknowledge the support of all our
faculty and staff in providing lab and library
facilities. We also extend our sincere thanks to KDC
and Sneha hospitals, Tirupati for providing basic
clinical information regarding ECG.

[1]

[10]

[13]

[14]

[15]

www.ijera.com

D.R Morgan, An analysis of multiple
correlation cancellation loops with a filter in
the auxiliary path, IEEE Transactions on
Acoustics, Speech and Signal Processing,
ASSP-28(4):454–467, August 1980.
C.C. Boucher, S.J. Elliott, and P.A. Nelson.
Effect of errors in the plant model on the
performance of algorithms for adaptive
feedforward control. Proceedings of
Institution of Electrical Engineers, volume
138, pages 313–319, 1991.
J. Pan, and W. J. Tompkins, A Real-Time
QRS
Detection
Algorithm.
IEEE
Transactions on Biomedical Engineering,
1985; 32(3): 230-2.
Nguyen, Truong T., and Soontorn Oraintara,
Multidimensional filter banks design by
direct optimization, IEEE International
Symposium on Circuits and Systems, pp.
1090-1093. May, 2005.
P. P. Vaidyanathan, Multirate Systems and
Filter Banks (Englewood Cliffs, NJ:
Prentice-Hall, 1993)
C. Rebai, D. Dallet, P. Marchegay,
proceeding
of: Instrumentation
and
Measurement Technology Conference, 2002.
IMTC/2002.

190 | P a g e

More Related Content

What's hot

Wavelet based ecg signal component identification
Wavelet based ecg signal component identificationWavelet based ecg signal component identification
Wavelet based ecg signal component identificationeSAT Publishing House
 
心臟植入性電子儀器(CIED )之歷史”CIED Overview “_20130907北區
心臟植入性電子儀器(CIED )之歷史”CIED Overview “_20130907北區心臟植入性電子儀器(CIED )之歷史”CIED Overview “_20130907北區
心臟植入性電子儀器(CIED )之歷史”CIED Overview “_20130907北區Taiwan Heart Rhythm Society
 
Temporary cardiac pacing
Temporary cardiac pacingTemporary cardiac pacing
Temporary cardiac pacingKalpanaKawan1
 
Ecg interpretations
Ecg interpretationsEcg interpretations
Ecg interpretationsHari Nagar
 
Classification and Detection of ECG-signals using Artificial Neural Networks
Classification and Detection of ECG-signals using Artificial Neural NetworksClassification and Detection of ECG-signals using Artificial Neural Networks
Classification and Detection of ECG-signals using Artificial Neural NetworksGaurav upadhyay
 
Classification of ecg signal using artificial neural network
Classification of ecg signal using artificial neural networkClassification of ecg signal using artificial neural network
Classification of ecg signal using artificial neural networkGaurav upadhyay
 
Real-Time Detection of Fatal Ventricular Dysrhythmias for Automated External ...
Real-Time Detection of Fatal Ventricular Dysrhythmias for Automated External ...Real-Time Detection of Fatal Ventricular Dysrhythmias for Automated External ...
Real-Time Detection of Fatal Ventricular Dysrhythmias for Automated External ...Ehsan Izadi
 
Design and Implementation of programmable Cardiac Pacemaker Using VHDL
Design and Implementation of programmable Cardiac Pacemaker Using VHDLDesign and Implementation of programmable Cardiac Pacemaker Using VHDL
Design and Implementation of programmable Cardiac Pacemaker Using VHDLIJERA Editor
 
Project Report on ECG Transmitter using Agilent ADS (Advance System Design)
Project Report on ECG Transmitter using Agilent ADS (Advance System Design)Project Report on ECG Transmitter using Agilent ADS (Advance System Design)
Project Report on ECG Transmitter using Agilent ADS (Advance System Design)Manu Mitra
 
Phonocardiogram based diagnostic system
Phonocardiogram based diagnostic systemPhonocardiogram based diagnostic system
Phonocardiogram based diagnostic systemijbesjournal
 

What's hot (17)

Wavelet based ecg signal component identification
Wavelet based ecg signal component identificationWavelet based ecg signal component identification
Wavelet based ecg signal component identification
 
FREE nursing CEU
FREE nursing CEUFREE nursing CEU
FREE nursing CEU
 
11
1111
11
 
心臟植入性電子儀器(CIED )之歷史”CIED Overview “_20130907北區
心臟植入性電子儀器(CIED )之歷史”CIED Overview “_20130907北區心臟植入性電子儀器(CIED )之歷史”CIED Overview “_20130907北區
心臟植入性電子儀器(CIED )之歷史”CIED Overview “_20130907北區
 
Pacemaker
Pacemaker Pacemaker
Pacemaker
 
Temporary cardiac pacing
Temporary cardiac pacingTemporary cardiac pacing
Temporary cardiac pacing
 
Ecg interpretations
Ecg interpretationsEcg interpretations
Ecg interpretations
 
Classification and Detection of ECG-signals using Artificial Neural Networks
Classification and Detection of ECG-signals using Artificial Neural NetworksClassification and Detection of ECG-signals using Artificial Neural Networks
Classification and Detection of ECG-signals using Artificial Neural Networks
 
Pacemakers
PacemakersPacemakers
Pacemakers
 
Ecg
EcgEcg
Ecg
 
Classification of ecg signal using artificial neural network
Classification of ecg signal using artificial neural networkClassification of ecg signal using artificial neural network
Classification of ecg signal using artificial neural network
 
I047020950101
I047020950101I047020950101
I047020950101
 
Real-Time Detection of Fatal Ventricular Dysrhythmias for Automated External ...
Real-Time Detection of Fatal Ventricular Dysrhythmias for Automated External ...Real-Time Detection of Fatal Ventricular Dysrhythmias for Automated External ...
Real-Time Detection of Fatal Ventricular Dysrhythmias for Automated External ...
 
Saecg
SaecgSaecg
Saecg
 
Design and Implementation of programmable Cardiac Pacemaker Using VHDL
Design and Implementation of programmable Cardiac Pacemaker Using VHDLDesign and Implementation of programmable Cardiac Pacemaker Using VHDL
Design and Implementation of programmable Cardiac Pacemaker Using VHDL
 
Project Report on ECG Transmitter using Agilent ADS (Advance System Design)
Project Report on ECG Transmitter using Agilent ADS (Advance System Design)Project Report on ECG Transmitter using Agilent ADS (Advance System Design)
Project Report on ECG Transmitter using Agilent ADS (Advance System Design)
 
Phonocardiogram based diagnostic system
Phonocardiogram based diagnostic systemPhonocardiogram based diagnostic system
Phonocardiogram based diagnostic system
 

Viewers also liked

Viewers also liked (20)

Am4103223229
Am4103223229Am4103223229
Am4103223229
 
As4103274279
As4103274279As4103274279
As4103274279
 
Endogenic processes - The Process Within
Endogenic processes - The Process WithinEndogenic processes - The Process Within
Endogenic processes - The Process Within
 
Registo actividade net
Registo actividade netRegisto actividade net
Registo actividade net
 
PortefóLio Reflexivo De Aprendizagens
PortefóLio Reflexivo De AprendizagensPortefóLio Reflexivo De Aprendizagens
PortefóLio Reflexivo De Aprendizagens
 
O Museu da Imagem
O Museu da ImagemO Museu da Imagem
O Museu da Imagem
 
Museu Arqueológico de São Miguel de Odrinhas - Marta Ribeiro
Museu Arqueológico de São Miguel de Odrinhas - Marta RibeiroMuseu Arqueológico de São Miguel de Odrinhas - Marta Ribeiro
Museu Arqueológico de São Miguel de Odrinhas - Marta Ribeiro
 
La ll republica española
La ll republica españolaLa ll republica española
La ll republica española
 
El espacio rural
El espacio ruralEl espacio rural
El espacio rural
 
3D Portfolio anis
3D Portfolio anis3D Portfolio anis
3D Portfolio anis
 
La ll republica
La ll republicaLa ll republica
La ll republica
 
La ll republica
La ll republicaLa ll republica
La ll republica
 
Qui02 material para oficina
Qui02 material para oficinaQui02 material para oficina
Qui02 material para oficina
 
Registo MNAA
Registo MNAARegisto MNAA
Registo MNAA
 
Associate-degree-T
Associate-degree-TAssociate-degree-T
Associate-degree-T
 
LOlsenPortfolio
LOlsenPortfolioLOlsenPortfolio
LOlsenPortfolio
 
História e ensino criativo Final
História e ensino criativo FinalHistória e ensino criativo Final
História e ensino criativo Final
 
Tecnologia y comunicacion (tic) angie
Tecnologia y comunicacion (tic) angieTecnologia y comunicacion (tic) angie
Tecnologia y comunicacion (tic) angie
 
El cóctel tecnológico
El cóctel tecnológicoEl cóctel tecnológico
El cóctel tecnológico
 
Ezuwan Cert&Transcript
Ezuwan Cert&TranscriptEzuwan Cert&Transcript
Ezuwan Cert&Transcript
 

Similar to Af4103186190

Rule Based Identification of Cardiac Arrhythmias from Enhanced ECG Signals Us...
Rule Based Identification of Cardiac Arrhythmias from Enhanced ECG Signals Us...Rule Based Identification of Cardiac Arrhythmias from Enhanced ECG Signals Us...
Rule Based Identification of Cardiac Arrhythmias from Enhanced ECG Signals Us...CSCJournals
 
Identification of Myocardial Infarction from Multi-Lead ECG signal
Identification of Myocardial Infarction from Multi-Lead ECG signalIdentification of Myocardial Infarction from Multi-Lead ECG signal
Identification of Myocardial Infarction from Multi-Lead ECG signalIJERA Editor
 
ANALYSIS OF ECG SIGNAL USING SELF ORGANISING MAP
ANALYSIS OF ECG SIGNAL USING SELF ORGANISING MAPANALYSIS OF ECG SIGNAL USING SELF ORGANISING MAP
ANALYSIS OF ECG SIGNAL USING SELF ORGANISING MAPMAHESH SONI
 
AR-based Method for ECG Classification and Patient Recognition
AR-based Method for ECG Classification and Patient RecognitionAR-based Method for ECG Classification and Patient Recognition
AR-based Method for ECG Classification and Patient RecognitionCSCJournals
 
Biomedical signal processing
Biomedical signal processingBiomedical signal processing
Biomedical signal processingAbdul Kader
 
Evaluating ECG Capturing Using Sound-Card of PC/Laptop
Evaluating ECG Capturing Using Sound-Card of PC/LaptopEvaluating ECG Capturing Using Sound-Card of PC/Laptop
Evaluating ECG Capturing Using Sound-Card of PC/Laptopijics
 
3rd Year Project - Design and build of an Electrocardiogram
3rd Year Project - Design and build of an Electrocardiogram3rd Year Project - Design and build of an Electrocardiogram
3rd Year Project - Design and build of an ElectrocardiogramM. Yahia Al Kahf
 
Cardio Logical Signal Processing for Arrhythmia Detection with Comparative An...
Cardio Logical Signal Processing for Arrhythmia Detection with Comparative An...Cardio Logical Signal Processing for Arrhythmia Detection with Comparative An...
Cardio Logical Signal Processing for Arrhythmia Detection with Comparative An...IRJET Journal
 
QRS Detection Algorithm Using Savitzky-Golay Filter
QRS Detection Algorithm Using Savitzky-Golay FilterQRS Detection Algorithm Using Savitzky-Golay Filter
QRS Detection Algorithm Using Savitzky-Golay FilterIDES Editor
 
Denoising of ECG -- A discrete time approach using DWT
Denoising of ECG -- A discrete time approach using DWTDenoising of ECG -- A discrete time approach using DWT
Denoising of ECG -- A discrete time approach using DWTIJERA Editor
 
Denoising of ECG -- A discrete time approach using DWT.
Denoising of ECG -- A discrete time approach using DWT.Denoising of ECG -- A discrete time approach using DWT.
Denoising of ECG -- A discrete time approach using DWT.IJERA Editor
 
Classification of Cardiac Arrhythmia using WT, HRV, and Fuzzy C-Means Clustering
Classification of Cardiac Arrhythmia using WT, HRV, and Fuzzy C-Means ClusteringClassification of Cardiac Arrhythmia using WT, HRV, and Fuzzy C-Means Clustering
Classification of Cardiac Arrhythmia using WT, HRV, and Fuzzy C-Means ClusteringCSCJournals
 
DIAGNOSIS OF BRADYCARDIA ARRHYTHMIA USING MEMD AND CONVOLUTIONAL NEURAL NETWORKS
DIAGNOSIS OF BRADYCARDIA ARRHYTHMIA USING MEMD AND CONVOLUTIONAL NEURAL NETWORKSDIAGNOSIS OF BRADYCARDIA ARRHYTHMIA USING MEMD AND CONVOLUTIONAL NEURAL NETWORKS
DIAGNOSIS OF BRADYCARDIA ARRHYTHMIA USING MEMD AND CONVOLUTIONAL NEURAL NETWORKSIRJET Journal
 
DENOISING OF ECG SIGNAL USING FILTERS AND WAVELET TRANSFORM
DENOISING OF ECG SIGNAL USING FILTERS AND WAVELET TRANSFORMDENOISING OF ECG SIGNAL USING FILTERS AND WAVELET TRANSFORM
DENOISING OF ECG SIGNAL USING FILTERS AND WAVELET TRANSFORMIJEEE
 

Similar to Af4103186190 (20)

Rule Based Identification of Cardiac Arrhythmias from Enhanced ECG Signals Us...
Rule Based Identification of Cardiac Arrhythmias from Enhanced ECG Signals Us...Rule Based Identification of Cardiac Arrhythmias from Enhanced ECG Signals Us...
Rule Based Identification of Cardiac Arrhythmias from Enhanced ECG Signals Us...
 
Identification of Myocardial Infarction from Multi-Lead ECG signal
Identification of Myocardial Infarction from Multi-Lead ECG signalIdentification of Myocardial Infarction from Multi-Lead ECG signal
Identification of Myocardial Infarction from Multi-Lead ECG signal
 
ANALYSIS OF ECG SIGNAL USING SELF ORGANISING MAP
ANALYSIS OF ECG SIGNAL USING SELF ORGANISING MAPANALYSIS OF ECG SIGNAL USING SELF ORGANISING MAP
ANALYSIS OF ECG SIGNAL USING SELF ORGANISING MAP
 
AR-based Method for ECG Classification and Patient Recognition
AR-based Method for ECG Classification and Patient RecognitionAR-based Method for ECG Classification and Patient Recognition
AR-based Method for ECG Classification and Patient Recognition
 
Biomedical signal processing
Biomedical signal processingBiomedical signal processing
Biomedical signal processing
 
Evaluating ECG Capturing Using Sound-Card of PC/Laptop
Evaluating ECG Capturing Using Sound-Card of PC/LaptopEvaluating ECG Capturing Using Sound-Card of PC/Laptop
Evaluating ECG Capturing Using Sound-Card of PC/Laptop
 
ECG
ECGECG
ECG
 
Ax32327332
Ax32327332Ax32327332
Ax32327332
 
Ecg interpretation
Ecg interpretation Ecg interpretation
Ecg interpretation
 
3rd Year Project - Design and build of an Electrocardiogram
3rd Year Project - Design and build of an Electrocardiogram3rd Year Project - Design and build of an Electrocardiogram
3rd Year Project - Design and build of an Electrocardiogram
 
Cardio Logical Signal Processing for Arrhythmia Detection with Comparative An...
Cardio Logical Signal Processing for Arrhythmia Detection with Comparative An...Cardio Logical Signal Processing for Arrhythmia Detection with Comparative An...
Cardio Logical Signal Processing for Arrhythmia Detection with Comparative An...
 
QRS Detection Algorithm Using Savitzky-Golay Filter
QRS Detection Algorithm Using Savitzky-Golay FilterQRS Detection Algorithm Using Savitzky-Golay Filter
QRS Detection Algorithm Using Savitzky-Golay Filter
 
Denoising of ECG -- A discrete time approach using DWT
Denoising of ECG -- A discrete time approach using DWTDenoising of ECG -- A discrete time approach using DWT
Denoising of ECG -- A discrete time approach using DWT
 
Denoising of ECG -- A discrete time approach using DWT.
Denoising of ECG -- A discrete time approach using DWT.Denoising of ECG -- A discrete time approach using DWT.
Denoising of ECG -- A discrete time approach using DWT.
 
7. 60 69
7. 60 697. 60 69
7. 60 69
 
Jq3516631668
Jq3516631668Jq3516631668
Jq3516631668
 
Classification of Cardiac Arrhythmia using WT, HRV, and Fuzzy C-Means Clustering
Classification of Cardiac Arrhythmia using WT, HRV, and Fuzzy C-Means ClusteringClassification of Cardiac Arrhythmia using WT, HRV, and Fuzzy C-Means Clustering
Classification of Cardiac Arrhythmia using WT, HRV, and Fuzzy C-Means Clustering
 
DIAGNOSIS OF BRADYCARDIA ARRHYTHMIA USING MEMD AND CONVOLUTIONAL NEURAL NETWORKS
DIAGNOSIS OF BRADYCARDIA ARRHYTHMIA USING MEMD AND CONVOLUTIONAL NEURAL NETWORKSDIAGNOSIS OF BRADYCARDIA ARRHYTHMIA USING MEMD AND CONVOLUTIONAL NEURAL NETWORKS
DIAGNOSIS OF BRADYCARDIA ARRHYTHMIA USING MEMD AND CONVOLUTIONAL NEURAL NETWORKS
 
DENOISING OF ECG SIGNAL USING FILTERS AND WAVELET TRANSFORM
DENOISING OF ECG SIGNAL USING FILTERS AND WAVELET TRANSFORMDENOISING OF ECG SIGNAL USING FILTERS AND WAVELET TRANSFORM
DENOISING OF ECG SIGNAL USING FILTERS AND WAVELET TRANSFORM
 
Basics of ecg
Basics of ecgBasics of ecg
Basics of ecg
 

Recently uploaded

Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticscarlostorres15106
 
Vertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsVertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsMiki Katsuragi
 
Story boards and shot lists for my a level piece
Story boards and shot lists for my a level pieceStory boards and shot lists for my a level piece
Story boards and shot lists for my a level piececharlottematthew16
 
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machineInstall Stable Diffusion in windows machine
Install Stable Diffusion in windows machinePadma Pradeep
 
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek SchlawackFwdays
 
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):comworks
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Commit University
 
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)Wonjun Hwang
 
SAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxSAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxNavinnSomaal
 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfAddepto
 
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr LapshynFwdays
 
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024BookNet Canada
 
Commit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyCommit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyAlfredo García Lavilla
 
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024Lorenzo Miniero
 
My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024The Digital Insurer
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr BaganFwdays
 
Developer Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLDeveloper Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLScyllaDB
 

Recently uploaded (20)

Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
 
Vertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsVertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering Tips
 
Story boards and shot lists for my a level piece
Story boards and shot lists for my a level pieceStory boards and shot lists for my a level piece
Story boards and shot lists for my a level piece
 
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machineInstall Stable Diffusion in windows machine
Install Stable Diffusion in windows machine
 
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
 
DMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special EditionDMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special Edition
 
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!
 
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
 
SAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxSAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptx
 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdf
 
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
 
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
 
Commit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyCommit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easy
 
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024
 
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptxE-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
 
My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan
 
Hot Sexy call girls in Panjabi Bagh 🔝 9953056974 🔝 Delhi escort Service
Hot Sexy call girls in Panjabi Bagh 🔝 9953056974 🔝 Delhi escort ServiceHot Sexy call girls in Panjabi Bagh 🔝 9953056974 🔝 Delhi escort Service
Hot Sexy call girls in Panjabi Bagh 🔝 9953056974 🔝 Delhi escort Service
 
Developer Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLDeveloper Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQL
 

Af4103186190

  • 1. S. Thulasi Prasad et al Int. Journal of Engineering Research and Applications ISSN : 2248-9622, Vol. 4, Issue 1( Version 3), January 2014, pp.186-190 RESEARCH ARTICLE www.ijera.com OPEN ACCESS Analysis of ECG Using Filter Bank Approach S. Thulasi Prasad*, S. Varadarajan** *Dept. of ECE, CVSE, Tirupati, India **Dept. of ECE, SVUCE, Tirupati, India ABSTRACT In recent years scientists and engineers are facing several problems in the biomedical field. However Digital Signal Processing is solving many of those problems easily and effectively. The signal processing of ECG is very useful in detecting selected arrhythmia conditions from a patient’s electrocardiograph (ECG) signals. In this paper we performed analysis of noisy ECG by filtering of 50 Hz power line interference using an adaptive LMS notch filter. This is very meaningful in the measurement of biomedical events, particularly when the recorded ECG signal is very weak. The basic ECG has the frequency range from 5 Hz to 100 Hz. It becomes difficult for the Specialist to diagnose the diseases if the artifacts are present in the ECG signal. Methods of noise reduction have decisive influence on performance of all electro-cardio-graphic (ECG) signal processing systems. After removing 50/60 Hz powerline interference, the ECG is lowpass filtered in a digital FIR filter. We designed a Filter Bank to separate frequency ranges of ECG signal to enhance the occurrences QRS complexes. Later the positions of R-peaks are identified and shown plotted. The result shows the ECG signal before filtering and after filtering with their frequency spectrums which clearly indicates the reduction of the power line interference in the ECG signal and a filtered ECG with identified R-peaks. Keywords – ECG, Arrhythmia, QRS, Filter Bank, Adaptive LMS filter, Downsampling, spectrum, MATLAB. I. INTRODUCTION The recording of bioelectrical potentials generated on the surface of the body by the heart is called ECG (Electro-Cardio-Gram). ECG is an important tool to know about the functional and structural status of the heart. In healthcare, the diagnosis of cardiac diseases accurately through an automated method of analysis of ECG signals is crucial, especially for real-time processing. The heart rate signal detects the QRS wave of the ECG and calculates inter-beat intervals [1]. The classification of cardiac rhythms is based on the detection of the different types of arrhythmia from the ECG waveforms. Normally the ECG is corrupted by various noises such as 50/60 Hz power line signals, the baseline drift caused by patient breathing, bad electrodes and improper electrode location. Due to these types of noises detection of QRS complexes becomes difficult or may be false one. Thus, some studies have compared the robust performance of different algorithms for QRS wave detection. Trahanias used the mathematical morphology of the QRS complex to detect heart rates. Chang used the ensemble empirical model decomposition to reduce noises in arrhythmia ECGs. Fan used approximate entropy (ApEn) and Lempel-Ziv complexity as a nonlinear quantification to measure the depth of anaesthesia. Several researchers have extracted the features of ECG waveforms to detect the QRS complexes based on the arrhythmia database. Dr. Li, proposed the wavelet transforms method for www.ijera.com detecting the QRS complex from ECG having high P or T waves, noise, and baseline drift. Yeh and Wang proposed the difference operation method to detect the QRS complex waves. Mehta and Lingayat used the support vector machine (SVM) method to detect the QRS complexes from a 12-leads ECG [2]. They also used the K-mean algorithm for the detection of QRS complexes in ECG signals. In these studies, the normal sinus ECG signal added different noise types and energy was used to evaluate the performance of these algorithms. Arrhythmia can be defined as either an irregular single heartbeat or a group of heartbeats. Some classification techniques are based on the ECG beat-by-beat classification with each beat being classified into several different arrhythmic beat types. These include classification based on artificial neural networks [3], fuzzy neural networks, Hermite functions combined with self-organizing maps, and wavelet analysis combined with radial basis function neural networks. In these methods, the ECG waveform of each beat was picked up and different features were extracted to classify the arrhythmic types. Tsipouras used the RR-interval signal to classify certain types of arrhythmia based on a group of heartbeats. In this paper we proposed an approach in which the ECG signal is processed with adaptive filter and a lowpass to remove noise due to powerline interference, baseline drift, motion artifacts and other 186 | P a g e
  • 2. S. Thulasi Prasad et al Int. Journal of Engineering Research and Applications ISSN : 2248-9622, Vol. 4, Issue 1( Version 3), January 2014, pp.186-190 noise sources filter. Later a Filter Bank and a simple QRS detection algorithm are used to detect R-peaks. II. ECG BASICS The human heart is a cone-shaped muscular pump located in the mediastinal cavity of the thorax between the lungs and beneath the sternum [4]. In a healthy heart a sequence of electrical impulses is generated by the natural pacemaker in the right atrium, which is called sinoatrial node (SA). This impulse sequence then flows down natural conduction pathways between the atria to the atrioventricular node and from there to both ventricles. Atria and ventricles contract coordinately as the impulses spread through the natural conduction paths in an orderly fashion. The flow of electrical impulses creates unique deflections in the ECG that gives the information about heart function and health. Fig.1 shows the cross section of human heart and the ECG signal generated from the various parts of the heart. after contraction. We can calculate the rate by looking at several beats. With the help of ECG, doctors and other trained personnel can analyse ECG tracing and find out the reasons for functional and structural disorders of the heart such as abnormal speeding, slowing, irregular rhythms, injury to muscle tissue (angina), and death of muscle tissue (myocardial infarction) etc. The length of intervals gives the information about the conduction lengths of the flow of electrical impulses from SA node. If an impulse is following its normal pathway then the length of an interval is normal. If an impulse has taken a longer route or has been slowed then the interval is long. If an impulse has taken a shorter route or has been speeded up then the interval is short. When the electrical impulse did not rise normally or was blocked at that part of the heart QRS complex becomes absent. The P-wave will be absent when there is a lack of normal depolarization of the atria. If QRS complex is absent after a normal P wave then it indicates that the electrical impulse was blocked before it reaches the ventricles. When the heart tissue is dead or injured, the impulses will spread abnormally through the muscle tissue and produces abnormally shaped complexes in ECG. Such situation is called as myocardial infarction. Metabolic abnormalities and various medicines may also change electrical signal pattern of ECG. III. Fig. 1 cross section of human heart and the ECG signal A typical ECG tracing of a single beat are traditionally recognized and labeled as a P wave, a QRS complex, a T wave, and a U wave [5]. The peak labeled P corresponds to the initial electrical pulse triggering the heart’s contraction. The interval from P to Q corresponds to the spreading of the depolarization across the smaller chambers of the heart (the atria—singular atrium), and is typically very small because the atria are only a small fraction of the heart. The QRS complex, the great big feature in any ECG trace, shows where the ventricles contract. These are the largest, lower chambers of the heart, explaining why this feature is bigger than the P feature for the atria. The T wave shows where the ventricles re-polarize in preparation for the next heartbeat to occur and where the muscles are relaxing www.ijera.com www.ijera.com METHOD In this paper the ECG signal is analysed based on frequency content. The power spectrum of ECG signal may extend up to 100 Hz with QRS complex concentrating up to 50 Hz. Depending upon the sharpness of the morphology of Q, R and S waves the frequency content may extend even beyond 50 Hz with considerable magnitude. In general, the energy of P and T waves will be up to 10 Hz significantly. Hence the best way is to detect heartbeats is to analyze ECG signal based on different sub-bands of the ECG using FIR filters in the form of a filter bank [6], instead of considering just the output of one filter which maximizes SNR of the QRS [7]. Fig.2 shows the block diagram of our method used for analyzing ECG signal. ECG Signa l Adaptive LMS Lowpass Filter Filter Filter Bank QRS Detection QRS Complex Signal Analysis Fig.2 Block diagram of the proposed method 187 | P a g e
  • 3. S. Thulasi Prasad et al Int. Journal of Engineering Research and Applications ISSN : 2248-9622, Vol. 4, Issue 1( Version 3), January 2014, pp.186-190 In order to remove 50 Hz (60 Hz) powerline interference an adaptive LMS filter is used [8]. The adaptive filter using LMS algorithm [9][10] is shown in Fig.3. The adaptive filter would take input both from the patient and from the power supply directly and would thus be able to track the actual frequency of the noise as it fluctuates. Such an adaptive technique generally allows for a filter with a smaller rejection range, which means, in our case, that the quality of the output signal is more accurate for medical diagnoses. The idea behind the block diagram is that a variable filter extracts an estimate of the desired signal. Variable Filter Wn x(n) -  through a lowpass filter to remove high frequency noise above 60 Hz. The low-pass filter designed by Lynn is represented in simple and effective form with the following transfer function [12]. (1  z 6 ) 2 H1 ( z)  (6) (1  z 1 ) 2 H 1 ( )  (1  e  j 6 ) 2 (7) (1  e  j ) 2 The corresponding difference equation is as follows: y(n)= 2y(n-1)-y(n-2) +x(n)-2x(n-4)+x(n-8) Update Algorithm Fig.4 Block diagram of adaptive LMS filter The input signal is the sum of a desired signal d(n) and interfering noise v(n). The adaptive filter is FIR structure [11] defined with filter coefficients as: Wn  [Wn (0),Wn (1),..........Wn ( p)]T (1) dB H1 H2 HN-1 The error signal is obtained from the difference between the desired and the estimated signal as: ....... .  (2) The adaptive filter estimates the desired signal by convolving the input signal with the impulse response. In vector notation this is expressed as:  d (n) Wn  X (n) (3) Where X(n) is an input signal vector and given by: X (n)  [ x(n), x (n  1),..........x (n  p)]T (4) Moreover, the variable filter updates the filter coefficients at every time instant according to the equation: (5) Wn1 Wn  Wn where Wn is a correction factor for the filter coefficients. The adaptive algorithm generates this correction factor based on the input and error signals. The adaptive LMS filter can be implemented by using MATLAB. The desired estimate is then filtered www.ijera.com (8) The desired lowpass filter can be designed using MATLAB.After lowpass filtering the ECG signal is decomposed into different frequency bands using Filter Bank [13]. In this filter bank analysis technique we used 4 sub-bands; each one has bandwidth 6 Hz. The ECG signal is processed by those 4 sub-band filters and downsampled [14]. Thus The processing of ECG signal is carried out by using analysis and synthesis filters, each of length L, The analysis filters are bandpass filters whose ideal magnitude response Hn(w), n =0,1,2,…,(N-1) is shown in the Fig.4. + Wn e(n)  d (n)  d (n) www.ijera.com  0 Fig.4 Ideal Magnitude response of a Filter Bank If X(f) is the input signal then this filter bank decompose the input signal and produces the subband signals as follows: (9) Yn ( z)  H n ( z) X ( z) n  0,1,2,3,....,N  1 The downsampling process keeps one sample out of samples. The downsampled signal is given as follows: Z n ( z)  1 N N 1  1 Yn ( z N e j 2 N ) n  0,1,2,..., N  1 (10) n 0 Since the downsampled signal has lower rate than subbands of input ECG signal the filtering process can be efficiently done at the input rate by taking advantage of the downsampling. With the help of these subbands interesting features QRS complex can be extracted by combining 188 | P a g e
  • 4. S. Thulasi Prasad et al Int. Journal of Engineering Research and Applications ISSN : 2248-9622, Vol. 4, Issue 1( Version 3), January 2014, pp.186-190 these subbands in different ways. For example by using subbands 1, 2, 3 and 4 we can calculate the feature sum-of-absolute values, P1, as [15]: 4 P1  Z k ( z) (11) k 1 P1 gives the energy in the frequency band [4, 28] Hz. Similarly, P2 and P3 can be computed using subbands {1, 2, 3}, and {2, 3, 4}, respectively as: P2  Z k ( z) k  1,2,3 ( z) k  1,3,4 noises that resulted from 50 Hz power lines and baseline drift and then filtered in a lowpass filter to remove high frequency noise above 60 Hz. Finally the ECG signal is processed with a filter bank to separate QRS complexes and then the R-peak positions from QRS complex were detected. The Fig.5 shows the noisy ECG signal and its spectrum, ECG after removing 50 Hz powerline interference and its spectrum. (12) k www.ijera.com (13) k P3  Z k And these values are proportional to the energy in their respective sub-bands. Similarly the features mean-of-sum-ofsquares P4, P5 and P6 can be computed using subbands {1, 2, 3, 4}, {1, 2, 3} and {2, 3, 4}, respectively as: 1 Z k ( z) 2 (14) P4  k  1,2,3,4 4 k  P5  P6  1 3  Z 1 3  Z k ( z) 2 k  1,2,3 (15) k ( z) 2 k  1,2,3,4 (16) k k These features represent the energy of the QRS complex. An heuristic beat detection logic can be developed to maximize the number of true positives (TP's), while keeping the number of false negatives (FN's) and false positives (FP's) to a minimum by computing the detection strength (D) of an incoming feature (e.g., P1, P2, P3) with the help of signal and noise levels as: PN D (17) SN Where S = Signal Level N= Noise Level Fig. 5 ECG and its soectrum after removing 50 Hz powerline interfence Fig.6 shows the ECG signal after processing with a filter bank and R-peaks detected. The value of D is limited at 0 if a feature's value is less than N and limited to 1when a feature's value is above S. The signal history is updated with the feature's value if the value of D is greater than the threshold and noise history is updated with the feature's value if the value of D is less than the threshold. After extracting the ECG signal with isolated QRS energies, the R-peaks are detected by simple algorithm where a dynamic threshold is used. IV. RESULTS In this paper first we implemented an adaptive filter using MATLAB built-in function and adaptive.lms on input noisy ECG signal to reduce www.ijera.com Fig.6 Lowpass filtered ECG and Cleaned ECG with detected R-peaks 189 | P a g e
  • 5. S. Thulasi Prasad et al Int. Journal of Engineering Research and Applications ISSN : 2248-9622, Vol. 4, Issue 1( Version 3), January 2014, pp.186-190 V. CONCLUSION Normally signals from ECG electrodes are brought to simple electrical circuits with amplifiers and analogue to digital converters. The main problem of digitalized signal is interference with other noisy signals like power supply network 50 Hz frequency and breathing muscle artifacts. These noisy elements have to be removed before the signal is used for next data processing like heart rate frequency detection. Digital filters and signal processing should be designed very effective for next real-time applications in embedded device. VI. REFERENCES [2] [3] [4] [5] [6] [7] [8] [9] M. Jannett T.C. Jadallah M.A., Yates S.L. Quint S.R. Troynagle H. A comparison of the noise sensitivity of nine QRS detection algorithms, IEEE Trans. Biomed. Eng. 1990;37:85–98. T.B. Garcia and N.E. Holtz, 12-lead ECG: The Art of Interpretation, (Jones & Bartlett Publ. Sudbury, MA.236 pp. ISBN 0-76371284-1). P. S. Hamilton, W. J. Tompkins, (1986). Using MIT/BIH Arrhythmia Database, IEEE Transactions on Biomedical Engineering, Vol.31, No.3, (March 2007), pp. 1157-1165, ISSN 0018-9294. T.C Ruch, H.DPatton, Physiology and Biophysics (Philadelphia, W. B. Saunders, 1982). N. Goldschlager, Principles of Clinical Electrocardiography (Connecticut, USA, ISBN 978-083-8579-510) H. S. Malvar, Signal Processing with Lapped Transforms ( Norwood, MA: Artech House, 1992) P. S. Hamilton and W. J. Tompkins, Quantitative investigation of QRS detection rules using the MIT/BIH arrhythmia database, IEEE Trans. Biomed. Eng., vol. BME-33, pp. 1157–1165, 1986. Haykin, Simon S, Adaptive Filter Theory (4th ed. Englewood Cliffs, New Jersey: Prentice Hall), 2001. J. R. Glover. Adaptive noise canceling applied to sinusoidal interferences, IEEE Trans. Acoustical., Speech, Signal Processing, and ASSP-25 (12):484–491, Dec. 1977. www.ijera.com [11] [12] ACKNOWLEDGEMENTS We acknowledge the support of all our faculty and staff in providing lab and library facilities. We also extend our sincere thanks to KDC and Sneha hospitals, Tirupati for providing basic clinical information regarding ECG. [1] [10] [13] [14] [15] www.ijera.com D.R Morgan, An analysis of multiple correlation cancellation loops with a filter in the auxiliary path, IEEE Transactions on Acoustics, Speech and Signal Processing, ASSP-28(4):454–467, August 1980. C.C. Boucher, S.J. Elliott, and P.A. Nelson. Effect of errors in the plant model on the performance of algorithms for adaptive feedforward control. Proceedings of Institution of Electrical Engineers, volume 138, pages 313–319, 1991. J. Pan, and W. J. Tompkins, A Real-Time QRS Detection Algorithm. IEEE Transactions on Biomedical Engineering, 1985; 32(3): 230-2. Nguyen, Truong T., and Soontorn Oraintara, Multidimensional filter banks design by direct optimization, IEEE International Symposium on Circuits and Systems, pp. 1090-1093. May, 2005. P. P. Vaidyanathan, Multirate Systems and Filter Banks (Englewood Cliffs, NJ: Prentice-Hall, 1993) C. Rebai, D. Dallet, P. Marchegay, proceeding of: Instrumentation and Measurement Technology Conference, 2002. IMTC/2002. 190 | P a g e