PC based Heart Sound Monitoring System

Similar documents
PHONOCARDIOGRAPHY (PCG)

A Novel Design and Development of Condenser Microphone Based Stethoscope to Analyze Phonocardiogram Spectrum Using Audacity

Embedded Stethoscope for Heart Sounds

Priya Rani 1, A N Cheeran 2, Vaibhav D Awandekar 3 and Rameshwari S Mane 4

2. The heart sounds are produced by a summed series of mechanical events, as follows:

LABVIEW based expert system for Detection of heart abnormalities

PHONOCARDIOGRAM SIGNAL ANALYSIS FOR MURMUR DIAGNOSING USING SHANNON ENERGY ENVELOP AND SEQUENCED DWT DECOMPOSITION

Efficient Computation of Phonocardiographic Signal Analysis in Digital Signal Processor Based System

ECG Signal Based Heart Disease Detection System for Telemedicine Application Using LabVIEW

Pathological Arrhythmias/ Tachyarrhythmias

ECG Acquisition System and its Analysis using MATLAB

Monitoring Cardiac Stress Using Features Extracted From S1 Heart Sounds

Outline. Electrical Activity of the Human Heart. What is the Heart? The Heart as a Pump. Anatomy of the Heart. The Hard Work

The Cardiac Cycle Clive M. Baumgarten, Ph.D.

Temporal Analysis and Remote Monitoring of ECG Signal

Heart Sounds Parameter Extraction for Automatic Diagnosis

Diagnosis Of Congenital Heart Disease Using Fetal Phonocardiogr,..J.Sofia Bobby,et al,.

Physiology of the Heart Delmar Learning, a Division of Thomson Learning, Inc.

PC BASED AUDIOMETER GENERATING AUDIOGRAM TO ASSESS ACOUSTIC THRESHOLD

Biomedical Instrumentation E. Blood Pressure

Lab #3: Electrocardiogram (ECG / EKG)

A Simple Portable ECG Monitor with IOT

A bioimpedance-based cardiovascular measurement system

A Review on Arrhythmia Detection Using ECG Signal

Real-time Heart Monitoring and ECG Signal Processing

Blood Pressure Estimation Using Photoplethysmography (PPG)

Do Now. Get out work from last class to be checked

RASPBERRY PI BASED ECG DATA ACQUISITION SYSTEM

Heart Murmur Detection using Fractal Analysis of Phonocardiograph Signals

DETECTION OF HEART ABNORMALITIES USING LABVIEW

In a previous essay, 1 I stated that cardiac auscultation

Study and Design of a Shannon-Energy-Envelope based Phonocardiogram Peak Spacing Analysis for Estimating Arrhythmic Heart-Beat

Innovative PCG technique for Cardiac Spectral Analysis

Hemodynamic Analysis System

Vital Responder: Real-time Health Monitoring of First- Responders

Portable Healthcare System with Low-power Wireless ECG and Heart Sounds Measurement

Electrocardiogram and Heart Sounds

Design of the HRV Analysis System Based on AD8232

Heart Murmur Recognition Based on Hidden Markov Model

Various Methods To Detect Respiration Rate From ECG Using LabVIEW

Classifying heart sounds using peak location for segmentation and feature construction

IB TOPIC 6.2 THE BLOOD SYSTEM

SPLITTING OF HEART SOUNDS FROM VENTRICULAR

CARDIOVASCULAR PHYSIOLOGY

Cardiac Cycle. Each heartbeat is called a cardiac cycle. First the two atria contract at the same time.

Simulation Based R-peak and QRS complex detection in ECG Signal

Congenital heart disease. By Dr Saima Ali Professor of pediatrics

Heart sounds and murmurs. Dr. Szathmári Miklós Semmelweis University First Department of Medicine 15. Oct

II. PROCEDURE DESCRIPTION A. Normal Waveform from an Electrocardiogram Figure 1 shows two cycles of a normal ECG waveform.

Case # 1. Page: 8. DUKE: Adams

CARDIAC EXAMINATION MINI-QUIZ

HISTORY. Question: What category of heart disease is suggested by the fact that a murmur was heard at birth?

Blood Pressure Laboratory

Heart Rate Monitoring System Using Lab View

COLIC AND MURMURS: AN OVERVIEW

Heart Abnormality Detection Technique using PPG Signal

Optical System Design of a Laser-Based Stethoscope

CHAPTER 4 CLASSIFICATION OF HEART MURMURS USING WAVELETS AND NEURAL NETWORKS

HST-582J/6.555J/16.456J-Biomedical Signal and Image Processing-Spring Laboratory Project 1 The Electrocardiogram

Electrocardiography Abnormalities (Arrhythmias) 7. Faisal I. Mohammed, MD, PhD

Testing the Accuracy of ECG Captured by Cronovo through Comparison of ECG Recording to a Standard 12-Lead ECG Recording Device

Personal Listening Solutions. Featuring... Digisystem.

ECG Signal Characterization and Correlation To Heart Abnormalities

Real-time ECG monitoring system for the assessment of rural cardiac patients

Lab #3: Electrocardiogram (ECG / EKG)

AUTOMATIC ANALYSIS AND VISUALIZATION OF MULTILEAD LONG-TERM ECG RECORDINGS

ISSN: ISO 9001:2008 Certified International Journal of Engineering and Innovative Technology (IJEIT) Volume 2, Issue 10, April 2013

HEART MURMURS: DECIPHERING THEIR CAUSE AND SIGNIFICANCE

CALIBRATION OF AN ELECTRONIC PHONOCARDIOGRAPH

Unit 6: Circulatory System. 6.2 Heart

Segmentation of Heart Sounds by Re-Sampled Signal Energy Method

Overview. Page 1 of 9. Impedance Cardiography

1. Name the components of the formed elements in the blood and mention one major function of each of them.

Signal Processing of Stress Test ECG Using MATLAB

Electrocardiography Biomedical Engineering Kaj-Åge Henneberg

Lab 4: Introduction to Physiological Measurements - Cardiovascular

Objectives of the Heart

Cath Lab Essentials: Basic Hemodynamics for the Cath Lab and ICU

A STUDY ON INTERPRETING MULTIRATE DSP ON THE HEART SOUND SIGNALS V.S. Balaji 1, K. Narasimhan 2, V. Elamaran 2*, Har Narayan Upadhyay 2

Introduction to Lesson 2 - Heartbeat

USING AUDITORY SALIENCY TO UNDERSTAND COMPLEX AUDITORY SCENES

Cardiovascular System Notes: Heart Disease & Disorders

MR Advance Techniques. Cardiac Imaging. Class IV

POWER EFFICIENT PROCESSOR FOR PREDICTING VENTRICULAR ARRHYTHMIA BASED ON ECG

Cardiac Ausculation in the Elderly

Large Arteries of Heart

ECG Signal Analysis for Abnormality Detection in the Heart beat

Delineation of QRS-complex, P and T-wave in 12-lead ECG

CHAPTER 4 ESTIMATION OF BLOOD PRESSURE USING PULSE TRANSIT TIME

Analysis of Fetal Stress Developed from Mother Stress and Classification of ECG Signals

Dominant EEG frequencies of patients undergoing dobutamine stress test

Cardiac Cycle MCQ. Professor of Cardiovascular Physiology. Cairo University 2007

FIR filter bank design for Audiogram Matching

Cardiovascular Physiology

Health Science 20 Circulatory System Notes

37 1 The Circulatory System

CAMOSUN COLLEGE BIOLOGY 144 (2010) LABS

HISTORY. Question: What category of heart disease is suggested by this history? CHIEF COMPLAINT: Heart murmur present since early infancy.

SAMPLE HLTEN610A. TAFE NSW Training and Education Support Industry Skills Unit, Meadowbank. Practise in the cardiovascular nursing environment

Human Cardiovascular Physiology: Blood Pressure and Pulse Determinations

Transcription:

PC based Heart Sound Monitoring System Arathy R Assistant Professor in Electronics and biomedical Engineering Model Engineering College Thrikkakara, Cochin Gowriprabha V PGET-D&D,Skanray Healthcare pvt ltd plot#360, KIADB Indl.Area, Hebbal, Mysore Vysakh V Assistant Professor in Safety Engineering Toc H Institute of Science and Technology Arakunnam, Cochin ABSTRACT Heart diseases caused by the heart and blood vessels disorders are world s largest killers. Hence early detection and monitoring of heart abnormalities is essential for diagnosis and effective treatment of heart diseases. This project aims to develop a low cost portable digital stethoscope. The primary function of this system is to work exactly like a normal stethoscope, but having an added advantage of not being limited by the length of the tubing with the help of wireless transmission. At the same time many people can listen to the stethoscope output which is normally impossible with an ordinary stethoscope. It also provides data to visually chart results by connecting to an off-instrument display such as a computer monitor so that further processing and diagnosis of abnormal phonocardiogram will be easy. For real time monitoring and for diagnosis LabVIEW application software is being used and finally a classification study is done using MATLAB and naïve bayers classifier. This advanced functionality can increase the physician s diagnostic capability. General Terms PCG, murmurs, artifacts, extrasystole, normal, FFT, naive bayers classification, decision tree classification Keywords Heart Sound, Digital stethoscope, PCG classification, Wireless stethoscope 1. INTRODUCTION A stethoscope is used mainly to record heart sounds in the body. Stethoscopes are also a primary aid to diagnosis various heart abnormalities. Though the electrocardiograph was a significant breakthrough in the field of medicine, it only showed the chronological sequence of mechanical events occurring in the heart as a waveform representation. It did not take into consideration, the Individual frequency components of the heart signal, an analysis of which would give an accurate diagnosis of the working of the heart. This led to the development of the phonocardiograph (PCG). The stethoscope system when interfaced with a PC is capable of analyzing the heart sounds and identifying abnormalities in the heart sound and its classification. Storage of heart sound for later analysis is also possible. This advanced functionality increases the physician s diagnostic capability, and such a PCG is not still available in most hospitals. Acoustic stethoscope can be changed into a digital stethoscope by inserting an electrets microphone into its chest piece. This project presents the design and development of a low cost portable wireless/tubeless digital stethoscope which can be used by the physician for monitoring the patient from a distance. Also, a classification study is done to classify PCG signal as normal and abnormal. 2. MOTIVATION In India significant percentage of the people who die due to cardiovascular diseases belong to rural part. The major reasons are lack of awareness, lifestyle, and the cost factor. While the first two reasons are more applicable in urban India, the third is a pain point for rural areas where there are no costeffective ways available for an early diagnosis of heart diseases. There are different tests and investigations used to diagnose heart disease. The tests doctor chooses depending upon risk of heart disease, history of heart problems and the symptoms one might have. But the initial diagnosis can be done using the stethoscope used for auscultation. For many years healthcare professionals would listen quietly to patient s internal organs so they could diagnose from specific sounds of these organs. But it requires expert (Doctor/Paramedics) for an accurate diagnosis of the working of the heart.also, reach of current systems is limited by the length of the tubing and hence requires a wireless transmission system. Real time monitoring at affordable cost is still not available. Storage of heart sounds for later analysis not available in most hospitals. PCG gives the recording of the heart sound, but it is not widely seen in the market and its cost is very high. Hence there requires a low cost PC based heart sound monitoring system which offers the advantage of electronic, digital, recording and wireless stethoscopes. 3. PHONOCARDIOGRAM AND ITS SIGNIFICANCE The instrument used for recording the sounds connected with the pumping action of heart is known as phonocardiograph and recording which is available is phonocardiogram. The auscultation of heart sound reveals valuable information about the functional integrity of the heart to the clinician. More information becomes available when clinician compares the temporal relationships between the heart sounds and the mechanical, electric events of the cardiac cycle. Developing such kind of diagnostic skill through either a conventional acoustic stethoscope or an electronic one is itself a very special skill, and it may take years to acquire, in particular recognizing the actual heart sounds and the heart murmurs.. Hence, recording of the heart sound in the form of the waveform display called Phonocardiogram (PCG) has been developed over the years to visually inspect the heart sound for diagnosis. The heart sounds are due to mechanical events such as movements of heart wall, closure of walls and due to turbulence and leakage of blood flow [1].These heart sounds can be used as a primary screening technique for diagnosing different heart disorders. It has been seen that the heart sounds 1

produced by healthy hearts are remarkably identical and abnormal sounds always correlate to specific abnormalities. A normal PCG recording consists of four heart sound components. They are First heart sound (S1), Second heart sound (S2), third heart sound (S3) and fourth heart sound (S4). Each heart sound cycle consists of two major periods called systole and diastole. Heart murmurs are high-frequency signals that occur in the systole or/and diastole intervals [2]. 3.1 S1 Sound S1 sound is caused by the closure of mitral and tricuspid valves. It corresponds to R wave of the ECG signal. It has longer duration with a range 50 to 100ms. S1 sounds have lower frequency and the frequency range is 30 to 100Hz. S1 has greater intensity when compared with second heart sound S2. S1 is common in normal and abnormal heart sounds. It is loud with mitral stenosis and diminishing with mitral regurgitation [3]. 3.2 S2 Sound It is caused due to the closure of aortic and pulmonary valves. It shows the end of systole and the beginning of diastole. S2 has higher pitch when compared with S1. The frequency is above 100Hz and duration range is 25 to 50ms. Split in S2 is seen in patients with atrial septal defect; pulmonic stenosis and right bundle branch block [3]. 3.3 S3 Sound It is caused by the rapid ventricular filling in early diastole. S3 sounds are normally inaudible and heard during the early diastole for normal children and young adults [3]. It represents diastolic overload or dysfunction of the ventricle or heart valves in older adults. 3.4 S4 Sound It is caused by the ventricular filling due to atrial contraction. Abnormality in S4 represents ventricular hypertrophy, pulmonary arterial hypertension and pulmonary stenosis [3]. 4. METHODS AND METHODOLOGY be viewed in Lab VIEW for real time monitoring of heart sound and classification as normal and abnormal depending upon beats per minute(bpm).if bpm is less than 60 it can be classified as a abnormal heart sound as bradycardia. If bpm is greater than 100bpm it is known as tachycardia. And heart beats per minute in between 60 and 100 is classified as normal. The output from the filter is fed to a low power audio [7]. This power is capable of driving the speaker. The power amplified signal is then transmitted using a FM transmitter module. The transmitted heart sound signal is received by a FM receiver kept at a distance. Then after signal conditioning the heart sound can be heard through a head phone or can be viewed in LabVIEW. Speakers are not recommended to use since it can form positive feedback and hence there is chance of amplification of noise. Hence use headphones are recommended instead of a speaker. Receiver Band pass filter Volume Controller Fig 2: Proposed system Receiver section Headphone Audio LabVIEW The LabVIEW analysis is done on the heart sounds via the microphone of the laptop. In LabVIEW heart sounds are classified as bradycardia and tachycardia. The system consists of mainly a transmitter section Figure 1 and a receiver section Figure 2 : (a) sensor, pre, and band pass filter and wirelessly transmitted by a transmitter (b) Receiver module receives data wirelessly[4]. Microphone LabVIEW Transmitter Mic Band pass Filter Audio Speaker Fig 1: Proposed system transmitter section The heart sound is picked from the body using stethoscope and an electrets microphone [5]. Then signal is amplified [6] and filtered to remove the noise and other sounds such as lung sounds, noise from the surroundings etc. This signal can then Fig 3: Design of Front Panel in LabVIEW And for increasing the diagnosing capability of the system further classification study is being performed using MATLAB and Naive Bayer s classifiers. Classification study of heart sound is done as artifact, murmur, extra systole and normal by extracting features in MATLAB. For classification 2

of heart sounds in to these four classes, different classifiers such as Naïve bayes classifier, Decision tree, Multilayer Perceptron, Ada BoostM1 etc can be used. In this work Naïve bayes classifier and decision tree classifier is used. The classification accuracy can be increased by using different classifier, taking more datasets or by extracting more features. 5. RESULTS AND DISCUSSIONS The system proposed has been successfully implemented in effective monitoring and diagnosing of heart sound abnormalities. Real time acquisition of the patient heart sound has been possible with minimum noise. The heart sound is picked using a stethoscope collected from dispensary and an electrets microphone. Then signal is amplified and filtered using an instrumentation of gain 1000V/V and a band pass filter with a cut off frequencies of 20-1500Hz. This signal can be recorded using AUDACITY software and can be stored as a dataset. This software records the heart sound and displays it when required. Fig 7: Front panel of PC Based Heart Sound Monitoring System Fig 4: PCG of an individual obtained in real time using AUDACITY. The real time acquired heart sound signal in Lab VIEW from preprocessing stages such as instrumentation, Butterworth wide band pass filter and audio is depicted in Figure 5. Y scale gives the amplitude of the signal in Volt (V) and X scale gives the time in seconds (sec). Fig 5: Real time heart sound acquisition in Lab VIEW Finally in this work a study has been conducted to study how to classify the real heart sound audio which is also known as beat classification into one of four categories as Normal, Murmur, Extra Heart Sound and Artifact. A dataset, which contains many files in WAV format for murmur, extra systole, artifact and normal, was chosen. The audio files are of varying lengths, between 1 second and 30 seconds and some have been clipped to reduce excessive noise and provide the salient fragment of the sound. When an FFT study of these where conducted it has been observed that most information in heart sounds is contained in the low frequency components, with noise in the higher frequencies. Hence it is common to apply a low-pass filter at 195 Hz. Fast Fourier transforms are also likely to provide useful information about volume and frequency over time of each classes [8]. Initially, features such as FFT, standard deviation, mean, median, mode, skewness, and kurtosis are extracted from the database. The database consists of heart sounds of four different classes they are murmurs, extra systole, artifact, and normal. Initially these values of each files are then stored separately. FFT s of each file are also stored separately. Then plotted FFT s and find that plot is different for murmur, extra systole, artifact and normal. Then classification study is performed using different classifiers. Table 1 shows the confusion matrix obtained by using Naïve Bayes classifier [9]. Here features extracted are mean, median, murmurs and out of 19 murmurs 14 murmurs are correctly 19 extra systole 13 extra systole are correctly classified. c represents artifacts and out of 23 artifacts, 3 artifacts are among 19, 7 normal data s are correctly classified as normal. Fig 6: Display beats parameters 3

Table 1. Confusion matrix of Naïve Bayes classifier with an accuracy of 46.25% a 14 4 0 1 b 6 13 0 0 c 6 8 3 6 d 5 7 0 7 Table 2 shows the confusion matrix obtained by using Naïve Bayes classifier. Here features extracted are mean, median, murmurs and out of 19 murmurs 13 murmurs are correctly 19 extra systole 17 extra systole are correctly classified. c represents artifacts and out of 19 artifacts, only 1 artifact is correctly classified as artifact. Finally represents normal and among 19, 6 normal data s are correctly classified as normal. Table 2. Confusion matrix of Naïve Bayes classifier with an accuracy of 48.68% a 13 6 0 0 b 2 17 0 0 c 2 11 1 5 d 3 9 1 6 Table 3 shows the confusion matrix obtained by using Naïve Bayes classifier. Here features extracted are mean, median, murmurs and out of 33 murmurs 28 murmurs are correctly 19 extra systole 11 extra systole are correctly classified. c represents artifacts and out of 40 artifacts, 7 artifacts are among 31, 7 normal data s are correctly classified as normal. Table 3. Confusion matrix of Naïve Bayes classifier with an accuracy of 43.2% a 28 4 1 0 b 7 11 0 1 c 18 8 7 7 d 15 8 1 7 Table 4 shows the confusion matrix obtained by using Decision tree classifier. Here features extracted are mean, median, mode, skew and Kurt. The classes for classification are murmurs, extra systole, artifacts and normal. The number of murmurs and out of 33 murmurs 28 murmurs are correctly 19 extra systole 11 extra systole are correctly classified. c represents artifacts and out of 40 artifacts, 7 artifacts are among 31, 7 normal data s are correctly classified as normal. Table 4. Confusion matrix of Decision Tree classifier with an accuracy of 50.2% a 28 4 1 0 b 7 11 0 1 c 18 8 7 7 d 15 8 1 7 Classification accuracy is not the best but can be increased by taking more features and taking different classifiers. 6. CONCLUSION A PC based heart sound monitoring system with low cost has been designed. It offers the advantage of electronic stethoscope, digital stethoscope and recording stethoscope. The heart sounds from different people are recorded using the hardware setup and Lab VIEW. The obtained heart sound can be transmitted from one end to other using FM modulator used in cars and can be received at other ends with FM receivers. Then classification results based on bpm is obtained in LabVIEW 2010. Arrhythmias' such as tachycardia and bradycardia can be detected with the help of LabVIEW. The system has been tested on 15 individuals to display their beats per minute For Further classification of heart sound as murmur, extra systole, artifact and normal, studies with different numbers of data samples for each class, different classifiers, different features etc are made use. This classification when integrated with system increases its diagnosing capabilities. At the same time the cost of the system is very less since it requires cheaper and fewer components. 7. FUTURE SCOPE The system could be made more user friendly and portable by incorporating the system with a microcontroller such as MSP430.The classification accuracy is only 50.4%, but can be increased in future by the use of a different classifier or extracting different features. The classification study done using MATLAB could be sinked into the PC based Heart Sound Monitoring System for effective treatment procedure. Further classification studies on different valves disorders and their abnormal heart sounds can be done in future in order to increase the diagnosing capability of the physician. Heart sounds gives valuable diagnostic information needed for early detection of cardiovascular defects and diseases and in future could also be used in other applications such as biometrics in which a person can be identified from their unique heart sound signal. 4

8. ACKNOWLEDGMENTS Our thanks to Dr. Madhu Mohan, coordinator of MTech Biomedical Engineering in Amrita Vishwa Vidyapeetham, Coimbatore for providing us support and guidance though he had busy schedule managing the classes. We owe our profound gratitude to N Premachandran and our guide Mr. Binoy B. Nair who guided us the long way for the completion of our work by providing all the necessary information for converting an idea into a reality. 9. REFERENCES [1] R.S.Khandpur, 1989. Handbook of biomedical instrumentation, second edition Tata McGraw-Hill Publishing Company Limited, NewDelhi, pp no. 167-170. [2] M. S. Manikandan and K. Soman, 2010. Robust heart sound activity detection in noisy environments, Electronics letters, vol. 46, pp no. 1100-1102. [3] D.Balasubramaniam,D.Nedumaran, 2010. Efficient Computation of Phonocardiographic Signal Analysis in Digital signal processor Based System, International journal of computer theory and Engineering, vol.2, No.4. [4] Mihir Vaidya,Snehal Mhatre, Madhuri Ware, Pratik Pradhan, 2013. Embedded stethoscope, International Journal of Emerging Technology and Advanced Engineering, Vol 3, Issue 2. [5] Diagnostics, monitoring and therapy: Digital stethoscopes.[online].available:http://tinyurl.com/m4lrw as, [Last Accessed: 20 August 2012]. [6] Franco, S. 1988. Design with operational s and analog integrated circuits: McGraw-Hill New York. [7] Kamichik, S. 1999. Designing Power Amplifiers. Prompt Publications. [8] Li, Tan. and Jiang, J. 2013.Digital signal processing: fundamentals and applications: [Access Online via Elsevier]. [9] Rish, I. 2001. An empirical study of the naive Bayes classifier, in IJCAI 2001 workshop on empirical methods in artificial intelligence. pp. 41-46. IJCA TM : www.ijcaonline.org 5