ECG Signal Analysis Using Wavelet Transforms



Similar documents
NEONATAL & PEDIATRIC ECG BASICS RHYTHM INTERPRETATION

Feature Vector Selection for Automatic Classification of ECG Arrhythmias

INTRODUCTORY GUIDE TO IDENTIFYING ECG IRREGULARITIES

Automatic Detection of ECG R-R Interval using Discrete Wavelet Transformation

Understanding the Electrocardiogram. David C. Kasarda M.D. FAAEM St. Luke s Hospital, Bethlehem

Electrocardiography I Laboratory

Electrophysiology Introduction, Basics. The Myocardial Cell. Chapter 1- Thaler

Evaluation copy. Analyzing the Heart with EKG. Computer

QRS Complexes. Fast & Easy ECGs A Self-Paced Learning Program

MULTIPLE CHOICE. Choose the one alternative that best completes the statement or answers the question.

Welcome to Vibrationdata

12-Lead EKG Interpretation. Judith M. Haluka BS, RCIS, EMT-P

Introduction to Electrocardiography. The Genesis and Conduction of Cardiac Rhythm

Activity 4.2.3: EKG. Introduction. Equipment. Procedure

Detection of Heart Diseases by Mathematical Artificial Intelligence Algorithm Using Phonocardiogram Signals

BIPOLAR LIMB LEADS UNIPOLAR LIMB LEADS PRECORDIAL (UNIPOLAR) LEADS VIEW OF EACH LEAD INDICATIVE ECG CHANGES

By the end of this continuing education module the clinician will be able to:

VCA Veterinary Specialty Center of Seattle

the basics Perfect Heart Institue, Piyavate Hospital

HTEC 91. Topic for Today: Atrial Rhythms. NSR with PAC. Nonconducted PAC. Nonconducted PAC. Premature Atrial Contractions (PACs)

Interpreting a rhythm strip

Doppler. Doppler. Doppler shift. Doppler Frequency. Doppler shift. Doppler shift. Chapter 19

How to read the ECG in athletes: distinguishing normal form abnormal

Electrocardiogram and Heart Sounds

Signal-averaged electrocardiography late potentials

Tachyarrhythmias (fast heart rhythms)

Section Four: Pulmonary Artery Waveform Interpretation

The P Wave: Indicator of Atrial Enlargement

Electrodes placed on the body s surface can detect electrical activity, APPLIED ANATOMY AND PHYSIOLOGY. Circulatory system

Systematic Approach to 12 Lead EKG Interpretation

Diagnosis Code Crosswalk : ICD-9-CM to ICD-10-CM Cardiac Rhythm and Heart Failure Diagnoses

HEART HEALTH WEEK 3 SUPPLEMENT. A Beginner s Guide to Cardiovascular Disease HEART FAILURE. Relatively mild, symptoms with intense exercise

ACLS Chapter 3 Rhythm Review Instructor Lesson Plan to Accompany ACLS Study Guide 3e

Equine Cardiovascular Disease

The new generation in ECG interpretation

Electrocardiography Review and the Normal EKG Response to Exercise

Monitoring EKG. Evaluation copy

Biology 347 General Physiology Lab Advanced Cardiac Functions ECG Leads and Einthoven s Triangle

BASIC CARDIAC ARRHYTHMIAS Revised 10/2001

The heart then repolarises (or refills) in time for the next stimulus and contraction.

Classification of Electrocardiogram Anomalies

Interpreting AV (Heart) Blocks: Breaking Down the Mystery

Efficient Heart Rate Monitoring

2 ECG basics. Leads and planes. Leads. Planes. from different perspectives, which are called leads and planes.

ST Segment Elevation Nothing is ever as hard (or easy) as it looks

#AS148 - Automated ECG Analysis

Electrocardiogram analyser with a mobile phone

Catheter Ablation. A Guided Approach for Treating Atrial Arrhythmias

e-περιοδικό Επιστήμης & Τεχνολογίας e-journal of Science & Technology (e-jst) Design and Construction of a Prototype ECG Simulator

How To Understand What You Know

Wavelet analysis. Wavelet requirements. Example signals. Stationary signal 2 Hz + 10 Hz + 20Hz. Zero mean, oscillatory (wave) Fast decay (let)

ECG made extra easy. medics.cc

RAPID INTERPRETATION OF. EKG s

Introduction to Cardiac Electrophysiology, the Electrocardiogram, and Cardiac Arrhythmias INTRODUCTION

What Are Arrhythmias?

Anatomi & Fysiologi The cardiovascular system (chapter 20) The circulation system transports; What the heart can do;

Chapter 20: The Cardiovascular System: The Heart

Heart and Vascular System Practice Questions

Introduction to Electrophysiology. Wm. W. Barrington, MD, FACC University of Pittsburgh Medical Center

PSIO 603/BME Dr. Janis Burt February 19, 2007 MRB 422; jburt@u.arizona.edu. MUSCLE EXCITABILITY - Ventricle

The abbreviation EKG, for electrocardiogram,

The Electrocardiogram (ECG)

ECG Signal Analysis and Classification using Data Mining and Artificial Neural Networks

ST Segment Monitoring. IntelliVue Patient Monitor and Information Center, Application Note

An ECG Primer. Quick Look. I saw it, but I did not realize it. Elizabeth Peabody

The choice for quality ECG arrhythmia monitoring

Note: The left and right sides of the heart must pump exactly the same volume of blood when averaged over a period of time

ECG Measurement and Interpretation

ECG Filtering. Willem Einthoven s EKG machine, 1903

Cardiovascular Physiology

Lecture Outline. Cardiovascular Physiology. Cardiovascular System Function. Functional Anatomy of the Heart

Normal Sinus Rhythm. Sinus Bradycardia. Sinus Tachycardia. Rhythm ECG Characteristics Example (NSR) & consistent. & consistent.

Objectives. The ECG in Pulmonary and Congenital Heart Disease. Lead II P-Wave Amplitude during COPD Exacerbation and after Treatment (50 pts.

«Δυσλειτουργία βηματοδότη. Πως μπορούμε να την εκτιμήσουμε στο ιατρείο.» Koσσυβάκης Χάρης Καρδιολογικό Τμήμα Γ.Ν.Α. «Γ. ΓΕΝΝΗΜΑΤΑΣ

Distance Learning Program Anatomy of the Human Heart/Pig Heart Dissection Middle School/ High School

Atrioventricular (AV) node ablation

Arrhythmia Monitoring Algorithm

The Heart Rhythm Charity

Pacers use a 5-letter code: first 3 letters most important

ELECTROCARDIOGRAPHY (I) THE GENESIS OF THE ELECTROCARDIOGRAM

Exchange solutes and water with cells of the body

SPEECH SIGNAL CODING FOR VOIP APPLICATIONS USING WAVELET PACKET TRANSFORM A

Detecting Atrial-ventricular blocks Arrhythmia based on RR-intervals on ECG Signals

Atrial & Junctional Dysrhythmias

QT analysis: A guide for statistical programmers. Prabhakar Munkampalli Statistical Analyst II Hyderabad, 7 th September 2012

INFORMATION FOR PATIENTS AND FAMILIES A Patient s Guide to Living with Atrial Fibrillation

THE HEART Dr. Ali Ebneshahidi

The Patient s Guide to the Electrophysiologic Study (EPS) and Catheter Ablation

Atrial Fibrillation Centre

PATIENT INFORMATION GUIDE TO ATRIAL FIBRILLATION

GUIDE TO ATRIAL FIBRILLATION

Table of Contents Error! Bookmark not defined.

Electrophysiology study (EPS)

Transcription:

Bulg. J. Phys. 35 (2008) 68 77 ECG Signal Analysis Using Wavelet Transforms C. Saritha, V. Sukanya, Y. Narasimha Murthy Department of Physics and Electronics, S.S.B.N. COLLEGE (Autonomous) Anantapur 515 001, Andhrapradesh, India Received 16 February 2008 Abstract. This paper deals with the study of ECG signals using wavelet transform analysis. In the first step an attempt was made to generate ECG waveforms by developing a suitable MATLAB simulator and in the second step, using wavelet transform, the ECG signal was denoised by removing the corresponding wavelet coefficients at higher scales. Then QRS complexes were detected and each complex was used to find the peaks of the individual waves like P and T, and also their deviations. PACS number: 87.85.J; 02.30.Nw 1 Introduction The ECG is nothing but the recording of the hearts electrical activity. The deviations in the normal electrical patterns indicate various cardiac disorders. Cardiac cells, in the normal state are electrically polarized. Their inner sides are negatively charged relative to their outer sides. These cardiac cells can lose their normal negativity in a process called depolarization, which is the fundamental electrical activity of the heart. This depolarization is propagated from cell to cell, producing a wave of depolarization that can be transmitted across the entire heart. This wave of depolarization produces a flow of electric current and it can be detected by keeping the electrodes on the surface of the body. Once the depolarization is complete, the cardiac cells are able to restore their normal polarity by a process called re-polarization. This is also sensed by the electrodes [1]. The earlier method of ECG signal analysis was based on time domain method. But this is not always sufficient to study all the features of ECG signals. So, the frequency representation of a signal is required. To accomplish this, FFT (Fast Fourier Transform) technique is applied. But the unavoidable limitation of this FFT is that the technique failed to provide the information regarding the exact location of frequency components in time. As the frequency content of the 68 1310 0157 c 2008 Heron Press Ltd.

ECG Signal Analysis Using Wavelet Transforms ECG varies in time, the need for an accurate description of the ECG frequency contents according to their location in time is essential. This justifies the use of time frequency representation in quantitative electro cardiology. The immediate tool available for this purpose is the Short Term Fourier Transform (STFT). But the major draw-back of this STFT is that its time frequency precision is not optimal. Hence we opt a more suitable technique to overcome this drawback. Among the various time frequency transformations the wavelet transformation is found to be simple and more valuable [2]. The wavelet transformation is based on a set of analyzing wavelets allowing the decomposition of ECG signal in a set of coefficients. Each analyzing wavelet has its own time duration, time location and frequency band. The wavelet coefficient resulting from the wavelet transformation corresponds to a measurement of the ECG components in this time segment and frequency band. 2 Theory The ECG records the electrical activity of the heart, where each heart beat is displayed as a series of electrical waves characterized by peaks and valleys. Any ECG gives two kinds of information. One, the duration of the electrical wave crossing the heart which in turn decides whether the electrical activity is normal or slow or irregular and the second is the amount of electrical activity passing through the heart muscle which enables to find whether the parts of the heart are too large or overworked. Normally, the frequency range of an ECG signal is of 0.05 100 Hz and its dynamic range of 1 10 mv. The ECG signal is characterized by five peaks and valleys labelled by the letters P, Q, R, S, T. In some cases we also use another peak called U. The performance of ECG analyzing system depends mainly on the accurate and reliable detection of the QRS complex, as well as T- and P- waves. The P-wave represents the activation of the upper chambers of the heart, the atria, while the QRS complex and T-wave represent the excitation of the ventricles or the lower chamber of the heart. The detection of the QRS complex is the most important task in automatic ECG signal analysis. Once the QRS complex has been identified a more detailed examination of ECG signal including the heart rate, the ST segment etc. can be performed [3]. In the normal sinus rhythm (normal state of the heart) the P-R interval is in the range of 0.12 to 0.2 seconds. The QRS interval is from 0.04 to 0.12 seconds. The Q-T interval is less than 0.42 seconds and the normal rate of the heart is from 60 to 100 beats per minute. So, from the recorded shape of the ECG, we can say whether the heart activity is normal or abnormal. The electrocardiogram is a graphic recording or display of the time variant voltages produced by the myocardium during the cardiac cycle. The P-, QRS- and 69

C. Saritha, V. Sukanya, Y. Narasimha Murthy T-waves reflect the rhythmic electrical depolarization and repolarization of the myocardium associated with the contractions of the atria and ventricles. This ECG is used clinically in diagnosing various abnormalities and conditions associated with the heart. Amplitude P-wave 0.25 mv R-wave 1.60 mv Q-wave 25% R wave T-wave 0.1 to 0.5 mv Duration P-R interval : 0.12 to 0.20 s Q-T interval : 0.35 to 0.44 s S-T interval : 0.05 to 0.15 s P-wave interval : 0.11 s QRS interval : 0.09 s The normal value of heart beat lies in the range of 60 to 100 beats/minute. A slower rate than this is called bradycardia (Slow heart) and a higher rate is called tachycardia (Fast heart). If the cycles are not evenly spaced, an arrhythmia may be indicated. If the P-R interval is greater than 0.2 seconds, it may suggest blockage of the AV node. Certain disorders, involving heart valves cannot be diagnosed from ECG. Other diagnostic techniques such as angiography and echocardiography can provide information not available in ECG. Each action potential in the heart originates near the top of the right atrium at a point called the pacemaker or sinoatrial (SA) node. The wave generated by action potential, terminates at a point near the center of the heart, called the atrioventricular (AV) node. The horizontal segment of this waveform preceding the P-wave is designated as the baseline or the isopotential line. The P-wave represents depolarization of the atrial musculature. The QRS complex is the combined result of the repolarization of the atria and depolarization of the ventricles, which occur almost simultaneously. The T-wave is the wave of ventricular repolarization, where as the U-wave, if present is generally believed to be the result of after potentials in the ventricular muscle. So, the duration amplitude and morphology of the QRS complex is useful in diagnosing cardiac arrhythmias, conduction abnormalities, ventricular hypertrophy, myocardial infection and other disease states [4]. 70

ECG Signal Analysis Using Wavelet Transforms Figure 1. The normal ECG waveform. 3 Materials and Methods 3.1 Wavelet transform The wavelet transform is a convolution of the wavelet function ψ(t) with the signal x(t). Orthonormal dyadic discrete wavelets are associated with scaling functions φ(t). The scaling function can be convolved with the signal to produce approximation coefficients S. The discrete wavelet transform (DWT) can be written as T m,n = x(t)ψ m,n (t)dt. (1) By choosing an orthonormal wavelet basis ψ m,n (t) we can reconstruct the original [5]. The approximation coefficient of the signal at the scale m and location n can be written as S m,n = x(t)φ m,n (t)dt. (2) But the discrete input signal is of finite length N. So the range of scales that can be investigated is 0 <m<m. Hence a discrete approximation of the signal can be written as M x 0 (t) =x M (t)+ d m (t), (3) m=1 where the mean signal approximation at scale M is x M (t) =S M,n φ M,n (t) and detail signal approximation corresponding to scale m, for finite length signal is 71

C. Saritha, V. Sukanya, Y. Narasimha Murthy given by d m (t) = M m n=0 T m,n ψ m,n (t). (4) The signal approximation at a specific scale is a combination of the approximation and detail at the next lower scale. x m (t) =x m 1 (t) d m (t) (5) In the present work Daubechies [6] wavelet is chosen although the Daubechies algorithm is conceptually more complex and has a slightly complicated computations, yet this algorithm picks up minute detail that is missed by other wavelet algorithms, like Haar wavelet algorithm. Even if a signal is not represented well by one member of the Daubechies family, it may still be efficiently represented by another. 3.2 Wavelet analysis The wavelet analysis of ECG signal is performed using MATLAB software. MATLAB is a high performance; interactive system which allows to solve many technical computing problems. The MATLAB software package is provided with wavelet tool box. It is a collection of functions built on the MATLAB technical computing environment. It provides tools for the analysis and synthesis of signals and images using wavelets and wavelet packets within the MATLAB domain. The normal ECG wave form and the waveforms with abnormalities are shown in Figures 2,3 and 4. Figure 2. Normal sinus rhythm. 72

ECG Signal Analysis Using Wavelet Transforms Figure 3. Sinus tachycardia. We have considered in Section 2 the commonly known abnormalities and the waveforms corresponding to these abnormalities are loaded in to wavelet tool box and the coefficients plots are compared with those of Normal ECG. Different standard wavelets have been tried and Daubechies wavelet ( db10 ) was found to be the most suitable for the analysis of ECG signals. Different abnormalities result in different changes in the coefficients. From the results of the wavelet toolbox the following observations were made and shown in Table 1. Figure 4. Sinus bradycardia. 73

C. Saritha, V. Sukanya, Y. Narasimha Murthy Figure 5. Comparison of abnormality bradycardia with normal ECG wave. Figure 6. Comparison of abnormality tachycardia with normal ECG wave. 74

ECG Signal Analysis Using Wavelet Transforms Figure 7. Comparison of abnormality hyperkalemia with normal ECG wave. Figure 8. Comparison of abnormality hyperkalemia with normal ECG wave. 75

C. Saritha, V. Sukanya, Y. Narasimha Murthy Table 1. Various abnormalities and their characteristic features S. No. Name of abnormality Characteristic features 1 Dextrocardia Inverted P-wave 2 Tachycardia R-R interval < 0.6 s 3 Bradycardia R-R interval > 1 s 4 Hyperkalemia Tall T-wave and absence of P-wave 5 Myocardial ischaemia Inverted T-wave 6 Hypercalcaemia QRS interval < 0.1 s 7 Sinoatrial block Complete drop out of a cardiac cycle 8 Sudden cardiac death Irregular ECG 4 Results and Discussion One of the crucial steps in the ECG analysis is to accurately detect the different waves forming the entire cardiac cycle. Most of the studies based around wavelet transformation identify 99.8% of ECG waveforms [7]. Especially the wavelet transformation is worth investigating in P- and T-wave recognition. Some authors use wavelet technique for identification of the ECG changes resulting from acute coronary artery occlusion and are able to identify specific detailed time frequency components of ECG signal, which are sensitive to transient ischemia and eventual restoration of electrophysiological function of the myocardial tissue. The practical benefit of the wavelet based ECG approach is that T-wave abnormalities can be assessed without the need for T-wave end point identification. The wavelet transformation is a new promising technique in non-invasive electro cardiology providing improved methods for late potential detection. We can observe that the peaks of QRS complexes flatten and P- and T-waves containing lower frequencies become more visible. At the same time we can also find that details at lower scales constitutes the higher frequencies of the signal. The benefit of the wavelet transformation lies in its capacity to highlight the details of the ECG signal with optimal time frequency resolutions [8]. 5 Conclusions Since the application of wavelet transformation in electro cardiology is relatively new field of research, many methodological aspects (Choice of the mother wavelet, values of the scale parameters) of the wavelet 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. 76

ECG Signal Analysis Using Wavelet Transforms References [1] L. Cromwell, F.J. Weibell, E.A. Pfeiffer (2005) Biomedical Istrumentation and Measurements, Prentice Hall of India, New Delhi. [2] C.S. Burrus, R.A. Gopinath, H. Guo, (1997) Introduction to Wavelets and Wavelet Transforms, a Primer, Prentice Hall Inc. [3] C. Li, C. Zheng (1993) Proc. Annual Int. Conf. IEE Eng. in Med. & Biol. Soc., San Diego, California, 330331. [4] C. Li, C. Zheng, C. Tai (1995) IEEE Trans. Biomed. Eng. 42 21-28. [5] J.S. Sahambi, S.N. Tandon and R.K.P. Bhatt (1997) IEEE Eng. Med. Biol. Mag. 16 77-83. [6] I. Daubechies (1992) Ten Lectures on Wavelets, CBMS-NSF Lecture Notes nr. 61, SIAM, Philadelphia. [7] J.P. Martinez, R. Almeida, S. Olmos, A.P. Rocha, P. Laguna (2004) IEEE Trans. Biomed. Eng. 51 570-581. [8] S.Z. Mohmoodabadi, A. Ahmadian, M.D. Abolhasani (2005) ECG feature extraction using daubechies wavelets, Proc. of the fifth IASTED International Conference, Benidorm, Spain. 77