Abstract
The electrocardiogram (ECG) is a graphical representation of the electrical activity of the heart. Signal modelling is a powerful technique used in the automatic ECG signal analysis. To identify different pathologies, some classification are applied to ECG signal. The peaks and segments are called features, helps us to recognize the ECG segments. Calculation of the general health indicators like beat-per-minute (bpm), QRS width and the presence/absence of a segment are done. The standard rule-set is applied to the above features to recognize the type of heart ailment the patient is suffering from. The decision making is implemented by a multi-level system and fuzzy logic. This is the flow of events of the project.
Access provided by Autonomous University of Puebla. Download conference paper PDF
Similar content being viewed by others
Keywords
- ECG (Electrocardiogram/Electrocardiograph)
- Fuzzy logic
- Health indicators
- Arrhythmias
- Rules set
- Feature extraction
1 Introduction
Electrocardiogram (ECG) is the non-stationary, quasi periodic electrical recording of the heart, which is highly adopted as a primary diagnostic tool for cardiovascular diseases. ECG recording is the sum of the depolarization potential of millions of cardiac cells done in a coordinated fashion as: P-wave appears first, QRS-complex appears second and T-wave appears third after cycle repeats. This one cycle is known as cardiac cycle. In every cardiac cycle, shape is changed. This changes are detected for diagnosing heart status of the patient [5]. The work involves signal and data processing techniques [2, 4, 7] to interpret the standard rules of the medical society in terms of numbers. We have also used decision making tools like the Fuzzy Logic [3] to extract the health indicators using the chunk of data and the set of rules set using MATLAB Fuzzy Logic Toolbox. The evaluation of the fuzzy logic outputs gives us the disease list with corresponding certainties.
2 Materials and Methods
The title “Cognitive Recognition of Heart Ailments using Fuzzy Logic on ECG samples” conveys a lot about the objective of the project. With increasing cases of heart ailments, increases the burden on the cardiologists to do the diagnosis correctly. This burden can be reduced by using a semi-automatic system which will study the ECG and narrow down on the possible diseases [6]. The objective of the work is shown in Fig. 1.
-
1.
Increased accuracy and decreased deaths.
-
2.
Easy access and understanding of the health condition to the layman.
-
3.
Cost effective method.
The basic steps involved in the research work are shown below in the form of a Flow chart for easy understanding.
-
1.
The input ECG les [1] used are in the form of samples of varying sampling rates. The data is stored as .mat les.
-
2.
The signals now undergo a number of morphological and filtering techniques in order to extract the data essential for further processing. This further processing includes a number of statistical and arithmetic operations in order to calculate essential parameters like beats per minutes, pulse width which are crucial in getting the health indicators.
-
3.
Apart from the pulse width and beats per minute, we calculate the pulse amplitude and width of each segment of the ECG i.e. P, Q, R, S, T. The classification of the data into each segment is based on a simple algorithm which does a relative comparison of the individual width and the amplitude. This forms the main part of feature extraction.
-
4.
Using the principles of fuzzy logic and the toolbox available in MATLAB we can now interpret the rules set by the medical society in terms of the crucial parameters extracted using the above techniques. Functionality testing will help us improve the system by adding more rules based on typical test cases.
-
5.
The outcome of the fuzzy logic is a simple mapping between the input functions and the output functions. Observation of the evaluated outputs will show the diseases which are most likely seen in the patient.
So following the above steps we have been able to detect different cases of arrhythmias and basic tachycardia and bradycardia. In order to link the input and the output of the system in place we had to use two different techniques.
2.1 Mapping Methods
-
A.
The Multi-Level mapping system was a unique way of mapping. It works just like the modulation and coding techniques which we see in Communications. Since the problem in hand is a complex one, there were too many parameters and not all the parameters were used to detect all the diseases. In order to reduce the redundancy, we sought to use the Multi-level mapping which yields a result that is analogous to the reduced result that we obtain in a KARNAUGH Mapping (K-map) method. In place of Xs for don’t care condition we used a ‘−1’ level, in case of true condition we used ‘+1’ level and in case of a false condition we used a ‘0’ level. This immensely reduced the amount of data and helped decision-making easy.
-
B.
Fuzzy Logic system: After checking the outputs with the multi-level mapping system we moved on to the Fuzzy Logic system which reduced the ambiguity and increased the accuracy of the system. It was efficient as it was able to rightly classify sets of data which did not have a crisp boundary. The MATLAB toolbox also gave a pictorial representation of the mapping process and displayed the evaluated outputs.
3 Results and Discussion
We have selected 9193 normal segments and 6,068 abnormal segments user for classification. The specificity is defined as the fraction of correctly classified abnormal segments to the total number of abnormal segments. The sensitivity of an arrhythmia is defined as the fraction of correctly identified normal segments to the total normal segments. The overall accuracy is the division of the total ECG segments correctly classified to the total number segments used for the classification and shown in Table 1.
The outcomes of the work are shown and briefly explained in the following Figs. 2, 3 and 4.
4 Conclusion
Detection of heart arrhythmia requires Pre-processing, feature-extraction and classification steps. Feature extraction step plays major role in accurate detection of arrhythmia, as feature extraction methods provides us a way of reducing computation time, increasing prediction performance, and provides a detailed understanding of the disease. Within the Health sector this methodology can be applied to other medical images like the X-Ray, Electroencephalography (EEG), and Magnetic Resonance Imaging (MRI). Further, a statistical approach using samples of the above signals in the form of crucial parameters and their corresponding results will help us get a deeper understanding of the features and would help us to come to a conclusion of what the output could be. It may also be implemented using the Artificial Neural Networks or the Adaptive Neuro-Fuzzy Interference System or any other classification technique. This kind of automation or semi-automation can be applied to many systems across different streams.
References
Moody, G.B., Mark, R.G.: The MIT-BIH arrhythmia database on CD-ROM and software for use with it. In: Computers in Cardiology 1990, Proceedings, pp. 185–188. IEEE, September 1990
Kora, P.: ECG based myocardial infarction detection using hybrid firefly algorithm. Comput. Methods Prog. Biomed. 152, 141–148 (2017)
Lu, H.L., Ong, K., Chia, P.: An automated ECG classification system based on a neuro-fuzzy system. In: Computers in Cardiology 2000, pp. 387–390. IEEE (2000)
Kora, P., Krishna, K.S.R.: ECG based heart arrhythmia detection using wavelet coherence and bat algorithm. Sens. Imaging 17(1), 12 (2016)
Kora, P., Kalva, S.R.K.: Detection of bundle branch block using adaptive bacterial foraging optimization and neural network. Egypt. Inform. J. 18(1), 67–74 (2017)
Ceylan, R., Ozbay, Y., Karlik, B.: A novel approach for classification of ECG arrhythmias: type-2 fuzzy clustering neural network. Expert Syst. Appl. 36(3), 6721–6726 (2009)
Kora, P., Annavarapu, A., Yadlapalli, P., Krishna, K.S.R., Somalaraju, V.: ECG based atrial fibrillation detection using sequency ordered complex Hadamard transform and hybrid firefly algorithm. Eng. Sci. Technol. Int. J. 20(3), 1084–1091 (2017)
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2020 Springer Nature Singapore Pte Ltd.
About this paper
Cite this paper
Kora, P., Swaraja, K., Meenakshi, K., Kumari, C.U., Karuna, G. (2020). Cognitive Recognition of Heart Ailments Using Fuzzy Logic on ECG Samples. In: Gunjan, V., Garcia Diaz, V., Cardona, M., Solanki, V., Sunitha, K. (eds) ICICCT 2019 – System Reliability, Quality Control, Safety, Maintenance and Management. ICICCT 2019. Springer, Singapore. https://doi.org/10.1007/978-981-13-8461-5_53
Download citation
DOI: https://doi.org/10.1007/978-981-13-8461-5_53
Published:
Publisher Name: Springer, Singapore
Print ISBN: 978-981-13-8460-8
Online ISBN: 978-981-13-8461-5
eBook Packages: EngineeringEngineering (R0)