Feature Vector Selection for Automatic Classification of ECG Arrhythmias



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

ECG Signal Analysis Using Wavelet Transforms

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

ECG SIGNAL PROCESSING AND HEART RATE FREQUENCY DETECTION METHODS

NEONATAL & PEDIATRIC ECG BASICS RHYTHM INTERPRETATION

INTRODUCTORY GUIDE TO IDENTIFYING ECG IRREGULARITIES

Tachyarrhythmias (fast heart rhythms)

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

Efficient Heart Rate Monitoring

Electrocardiography I Laboratory

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

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

Classification of Electrocardiogram Anomalies

Activity 4.2.3: EKG. Introduction. Equipment. Procedure

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

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

What Are Arrhythmias?

the basics Perfect Heart Institue, Piyavate Hospital

Electrocardiogram analyser with a mobile phone

Evaluation copy. Analyzing the Heart with EKG. Computer

Exchange solutes and water with cells of the body

Introduction to Electrocardiography. The Genesis and Conduction of Cardiac Rhythm

2 Review of ECG Analysis

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

The P Wave: Indicator of Atrial Enlargement

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

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

Electroencephalography Analysis Using Neural Network and Support Vector Machine during Sleep

Frequency Prioritised Queuing in Real-Time Electrocardiograph Systems

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

ECG Filtering. Willem Einthoven s EKG machine, 1903

Signal-averaged electrocardiography late potentials

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

The science of medicine. The compassion to heal.

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

Atrioventricular (AV) node ablation

Equine Cardiovascular Disease

Atrial Fibrillation (AF) Explained

5 MILLION AMERICANS 1. Atrial Fibrillation (AFib) AFib affects an estimated

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

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

Potential Causes of Sudden Cardiac Arrest in Children

PATIENT INFORMATION GUIDE TO ATRIAL FIBRILLATION

GUIDE TO ATRIAL FIBRILLATION

Monitoring EKG. Evaluation copy

510(k) Summary May 7, 2012

Atrial Fibrillation: The heart of the matter

What Can I Do about Atrial Fibrillation (AF)?

Anatomy and Physiology: Understanding the Importance of CPR

The Periodic Moving Average Filter for Removing Motion Artifacts from PPG Signals

The Electrocardiogram (ECG)

Deriving the 12-lead Electrocardiogram From Four Standard Leads Based on the Frank Torso Model

The choice for quality ECG arrhythmia monitoring

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

Chapter 2 The Research on Fault Diagnosis of Building Electrical System Based on RBF Neural Network

1 Meet Your AliveCor Heart Monitor

Atrial Fibrillation (AF) March, 2013

BASIC CARDIAC ARRHYTHMIAS Revised 10/2001

Electrophysiology study (EPS)

Section Four: Pulmonary Artery Waveform Interpretation

ECG Anomaly Detection via Time Series Analysis

OEM MAXNIBP Frequently Asked Questions

Cardioversion for. Atrial Fibrillation. Your Heart s Electrical System Cardioversion Living with Atrial Fibrillation

Catheter Ablation. A Guided Approach for Treating Atrial Arrhythmias

Time series analysis of data from stress ECG

Implementation of a Mobile Health System for Monitoring ECG signals

Electrocardiography Review and the Normal EKG Response to Exercise

What to Know About. Atrial Fibrillation

Heart Rate Detection from Ballistocardiogram

A MOBILE-PHONE ECG DETECTION KIT AND CLOUD MANAGEMENT SYSTEM

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

School of Health Sciences

#AS148 - Automated ECG Analysis

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

ECG made extra easy. medics.cc

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

Treatments to Restore Normal Rhythm

Arrhythmia Monitoring Algorithm

Electrocardiographic Issues in Williams Syndrome

Electrophysiology Heart Study - EPS -

Chapter 20: The Cardiovascular System: The Heart

RAPID INTERPRETATION OF. EKG s

Predicting the Risk of Heart Attacks using Neural Network and Decision Tree

Cardiovascular Physiology

Fetal monitoring on the move, from a hospital to in-home setting

Heart and Vascular System Practice Questions

Blood Vessel Classification into Arteries and Veins in Retinal Images

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

PREDICTION AND ANALYSIS OF ECG SIGNAL BEHAVIOR USING SOFT COMPUTING

Hands On ECG. Sean Hubber and Crystal Lu

Patient Information Sheet Electrophysiological study

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

Electrocardiogram and Heart Sounds

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

Atrial Fibrillation. Information for you, and your family, whänau and friends. Published by the New Zealand Guidelines Group

Transcription:

Feature Vector Selection for Automatic Classification of ECG Arrhythmias Ch.Venkanna 1, B. Raja Ganapathi 2 Assistant Professor, Dept. of ECE, G.V.P. College of Engineering (A), Madhurawada, A.P., India 1 PG Student [CSP], Dept. of ECE, G.V.P. College of Engineering (A), Madhurawada, A.P., India 2 ABSTRACT: The processing of ECG signal plays a significant role in diagnosing most of the cardiac diseases. One cardiac cycle in an ECG signal consists of the P-QRS-T waves. The feature extraction scheme determines the amplitudes and intervals in the ECG signal for subsequent analysis. The shape of ECG waveform can reveal the current state of functionality of the heart. For all these observation of anomalies and selection of feature vector is important. Based on the selected feature vector classification is done. The classification is done by using RBF neural network for the analysis and evaluation of Feature Vector Selection of ECG Arrhythmias. KEYWORDS: ECG, baseline wander, zero phase filter, Atrial Fibrillation (AF), Cardiac Ischemia (CI), Sudden Cariac Arrest (SCA), RBFNN. I. INTRODUCTION Cardio-vascular disease is one of leading causes of death. Any disturbance in normal rhythm of heart is called cardiac arrhythmia. Electrocardiogram (ECG) is one of the most important noninvasive tools for the diagnosis of cardiac arrhythmia. The electrocardiogram (ECG) signal represents the changes in electrical potential during the cardiac cycle recorded using surface electrodes on the body [1]. The characteristics of an ECG signal helps to distinguish various arrhythmias. Manual approach of ECG analysis is time taking process and also requires expert. ECG analysis is difficult in a small setup like clinics, health centers etc. Hence, method for automatic classification with high accuracy is needed. Also, automatic classification will be helpful to paramedical and emergency medical staff in cases where immediate action is to be taken. In this paper, automatic classification of 4 different types of ECG beats- normal sinus rhythm, atrial fibrillation, cardiac ischemia, sudden cardiac arrest is implemented. The R- peak detection is done using Pan Tompkins algorithm. The other characteristic waves are detected by taking the R-peak as reference. The anomalies in the shape of arrhythmic ECG are observed. The mean and standard deviation of the anomalies are taken as the features. Database: MIT-BIH arrhythmia database [2] is used for testing the proposed algorithm. II. LITERATURE SURVEY Pan, Tompkins [3] developed a real-time algorithm for detection of the QRS complexes of ECG signals. It reliably recognizes QRS complexes based upon digital analyses of slope, amplitude, and width. The algorithm automatically adjusts thresholds and parameters periodically to adapt to such ECG changes as QRS morphology and heart rate. George B. Moody et al [4] studied on the factors that are involved in the automatic detection of Atrial Fibrillation. They stated that R-R interval difference can be taken as the measure for the automatic detection of Atrial Fibrillation. Recent studies suggest that Tpeak-end interval /QT interval (Tp-e/QT) may be more meaningful to predict sudden cardiac arrest. SU Xianming et al [5] found that Tp-e/QT ratio can be as an index in predicting sudden cardiac death. Shameer et al [6] implemented an automatic classification of 3 beat types normal sinus rhythm, premature ventricular contraction and left bundle branch block. Beat classification is implemented by using Support Vector Machine (SVM). The main drawback of SVM is that they are binary classifiers. i.e., they can classify only two classes. So Shameer et al designed 3 SVMs and the multiclass SVM is implemented using One Against One (OAO) approach.. Copyright to IJAREEIE www.ijareeie.com 12840

III. CARDIAC DISORDERS Atrial fibrillation: Atrial fibrillation occurs when the electric current in the heart is generated from all over the atria at a very high speed, between 300 and 500 impulses a minute. This does not allow the atria to contract in a synchronized fashion. Because of the high number of impulses generated by the heart, and their location, the atria begin to quiver. This is known in medical terms as fibrillation [7]. Cardiac Ischemia: If a coronary artery is occluded, the transport of oxygen to the cardiac muscle is decreased, causing an oxygen debt in the muscle, which is called ischemia. Ischemia causes changes in the resting potential and in the repolarisation of the muscle cells, which is seen as changes in the T-wave [8]. If the oxygen transport is terminated in a certain area, the heart muscle dies in that region. This is called an infarction. An infarct area is electrically silent since it has lost its excitability. Sudden Cardiac Arrest: The immediate cause of sudden cardiac arrest is usually an abnormality in the heart rhythm (arrhythmia), the result of a problem with your heart's electrical system. Unlike other muscles in the body, which rely on nerve connections to receive the electrical stimulation they need to function, the heart has its own electrical stimulator - a specialized group of cells called the sinus node located in the upper right chamber (right atrium) of the heart. The sinus node generates electrical impulses that flow in an orderly manner through heart to synchronize the heart rate and coordinate the pumping of blood from heart to the rest of the body. If something goes wrong with the sinus node or the flow of electric impulses through the heart, an arrhythmia can result, causing heart to beat too fast, too slow or in an irregular fashion. Often these interruptions in rhythm are momentary and harmless. But some types of arrhythmia can be serious and lead to a sudden stop in heart function (sudden cardiac arrest). IV. PROPOSED METHOD The standard ECG waveform [9] is taken as a reference for the algorithm. The wave intervals are estimated based on this standard waveform. The standard waveform that is considered is shown in fig 1. Fig. 1 Standard ECG waveform The ECG signals from the database are applied to the system developed. The block diagram of the system is shown in fig 2. Each block in the diagram are explained below. Copyright to IJAREEIE www.ijareeie.com 12841

INPUT ECG SIGNAL BASELINE WANDER REMOVAL BANDPASS FILTERING Preprocessing Stage R-PEAK DETECTION OTHER PEAKS DETECTION Features extraction Stage WAVE INTERVAL DETECTION FEATURE VECTOR Fig. 2 Flow diagram of Feature vector generation Pre-processing: In this pre-processing stage first baseline wander is removed and then filtering is done to remove the noise. First baseline wander is estimated by using first order zero phase low pass filter with cut-off frequency 0.5 Hz. Then the baseline wander is removed from the applied ECG signal. The output signal is the applied to the band pass filter with lower cutoff frequency 5Hz and upper cutoff frequency 40Hz. Since power line interference has the frequency at 50Hz, this can also be removed using the above band pass filter. Feature Extraction: In the feature extraction stage, all the ECG characteristic waves are identified and their intervals are calculated. Identification of the R-peak is most important in the ECG diagnosis. First the R-peak is identified using the PanTompkins algorithm [3]. By taking the R-peak as reference, the other characteristic waves are identified. The onset and offset points of each wave are also pointed simultaneously in the above process. So that wave intervals can be calculated. Features are selected based on the anomalies observed in the arrhythmias. The anomaly characteristics observed in each arrhythmia are discussed below. a) For the AF case, the atria quiver irregularly due to their irregular excitation. But the ventricles quiver regularly. So the synchronism between atria and ventricles will be disturbed. This result the irregular RR intervals. b) For the CI case, some area of the heart behaves electrically silent. Instead of propagating the electrical pulses this part reflects them. Generally this effect is in ventricle myocardium. As an effect the T wave will be inverted. c) For the SCA case, recent studies suggest that Tpeak-end interval /QT interval (Tp-e/QT) may be more meaningful to predict sudden cardiac arrest. SU Xianming et al [5] found that Tp-e/QT ratio can be as an index in predicting sudden cardiac death. Based on the above anomaly characteristics observed the feature vector is selected. From the above analysis, the features selected for the classification are: mean and standard deviation of RR interval difference, mean and standard deviation of T-peak, mean and standard deviation of ratio. The arrhythmias and their anomalies are listed in table 1. Copyright to IJAREEIE www.ijareeie.com 12842

Table 1: Anomalies observed in the arrhythmias Arrhythmia Anomaly Atrial Fibrillation Cardiac Ischemia Sudden Cardiac Arrest Irregular RR interval Inverted T wave ratio The selected feature vector is based on the anomalies observed is shown in table 2. Table 2: Feature Vector Mean of T- peak Std of T- peak Mean of difference in RR interval Std of difference in RR interval Mean of Tp-e/QT ratio Std of Tp-e/QT ratio Each ECG signal is applied to the algorithm shown in fig 2 for the feature vector generation. Based on the features extracted the classification is done using RBF (Radial Basis Function) neural network. RBF neural network: The output equation can be written as Fig. 3 Basic structure of RBF neural network where is a set of basis functions that are assume to be linearly independent. For radial basis functions, the basis functions are where the set of centres is to be determined. Copyright to IJAREEIE www.ijareeie.com 12843

Start with One Neuron, select its center from data point with lowest cost Add new hidden neuron, select its center from the remaining data points with lowest cost Update the weights and calculate the error E E<E goal END Fig 4. Training algorithm V. RESULT AND DISCUSSION The step by step result of NSR person ECG of record number nsrdb 16272m is shown below. (a) (b) (c) Fig 5. (a) Original applied ECG signal of NSR person (b) Output of the baseline wander removal step (c) Output of Band pass filter (d) Output of R-peak Detection stage after indicating the R-peaks as red colour star. Copyright to IJAREEIE www.ijareeie.com 12844 (d)

In the fig 5, first original applied ECG signal is shown and then outputs of baseline wander removal step and output of band pass filter step are shown. Finally the identified R-peaks are indicated as red colour star mark. After the detection of R-peak the other characteristic waves i.e. P, Q, S and T peaks and their intervals are identified by taking R-peak as reference. This process is carried out for all the ECG records. The output of one for each class of ECG signals is shown in fig 6. (a) (b) (c) Copyright to IJAREEIE www.ijareeie.com 12845

(d) Fig 6. (a) Result for NSR (b) Result for AF (c) Result for CI (d) Result for SCA In the fig 6, different peaks are indicated with different symbols. * indicates R-peak o indicates P-peak ^ indicates T-peak + indicates Q and S peaks The figure 6(a) shows the result for a typical signal of NSR person. The figure 6(b) shows the result for a typical signal of AF person. The figure 6(c) shows the result for a typical signal of CI person. The figure 6(d) shows the result for a typical signal of SCA person. After identifying all the characteristic waves and their intervals, feature vector is calculated for each record. Here some records are used for training the neural network and some are used for testing. Table 3. Classification confusion matrix Output Class Input Class NSR AF CI SCA NSR 10 0 0 0 AF 0 11 1 0 CI 0 1 9 1 SCA 0 0 0 10 Test database consists of 10 NSR ECG signals, 12 AF ECG signals, 10 CI ECG signals, and 11 SCA ECG signals. It is applied to the trained RBF neural network. In case of NSR, AF, and CI classification results are promised. In the SCA case, the prediction seems to be failed but it is classified correctly because before the SCA the person is already having the CI abnormality. Copyright to IJAREEIE www.ijareeie.com 12846

VI. CONCLUSION The anomalies of arrhythmias are observed. The feature vector is selected based on the anomalies. The neural network is trained with the some of the collected ECG arrhythmia database and is tested with the remaining records. The results are observed experimentally in accurate. The feature vector selected assures the requirement for the classification. With this observation of anomalies of arrhythmias, feature vector size can be reduced compared to previous methods, so that the time required for the feature vector extraction is reduced. REFERENCES [1] D. 1. Rowlands, "Understanding the electrocardiogram" (Section 2: Morphological abnormalities). Imperial Chemical Industries PLC, England, 1982. [2] MIT/BIH arrhythmia database: http://www.physionet.org/cgi-bin/atm/atm [3] Jiapu Pan, Willis J. Tompkins A Real-Time QRS Detection Algorithm, IEEE Transactions On Biomedical Engineering, VOL. BME-32, NO. 3, MARCH 1985. [4] George B. Moody, Roger G. Mark A new method for detection Atrial Fibrillation using R-R intervals. IEEE Transactions on Computers in Cardiology, pp. 227-230, 1983. [5] SU Xianming PhD MD, Zhi Xiaowen Tpeak-end interval /QT interval ratio of ECG predicts sudden cardiac death and malignant Ventricular arrhythmias, IEEE, pp. 57-60, 2011. [6] Shameer Faziludeen, Sabiq P.V ECG Beat Classification Using Wavelets and SVM, Proceedings of IEEE Conference on Information and Communication Technologies, pp. 815-818, 2013. [7] Atrial fibrillation description, http://www.nhlbi.nih.gov/health/health-topics/topics/af/ [8] Cardiac Ischemia Theory, http://www.cardiacischemia.com/ [9] Gari D. Clifford Francisco Azuaje Patrick E. McSharry, Advanced Methods and Tools for ECG Data Analysis, Artech House, 2006 Copyright to IJAREEIE www.ijareeie.com 12847