TY - JOUR
T1 - Atrial Fibrillation Detection From Electrocardiogram Signal on Low Power Microcontroller
AU - Yazid, Muhammad
AU - Rahman, Mahrus Abdur
AU - Nuryani, Nuryani
AU - Aripriharta,
N1 - Publisher Copyright:
© 2013 IEEE.
PY - 2024
Y1 - 2024
N2 - In this paper, we proposed the implementation of a simple and lightweight Atrial Fibrillation detection based on an improved Variable Step Dynamic Threshold Local Binary Pattern algorithm. Using feature selection based on correlation and statistical significance, we can reduce the input feature size to just 44 features without significantly degrading classification accuracies. Tested on 15-second signal segments from the MIT-BIH Atrial Fibrillation Database and combined with a support vector machine classifier, the proposed method can achieve 99.14% sensitivity, 99.12% specificity, and 99.13% accuracy. When the input signal length is 60 seconds, the sensitivity, specificity, and accuracy are 99.49%, 99.46%, and 99.47%, respectively. The reduced input feature size results in a machine learning model size as small as 132.86kB when the input signal length is 60 seconds. When implemented on an Arm Cortex M4-based STM32F413ZHT3 microprocessor with 100MHz clock frequency, the proposed method can achieve similar performance as a PC-based system with an average current consumption of just 27mA. The embedded C program can fit in as small as 114.46kB of flash memory and complete one SVM inference as fast as 11.28ms. The results presented in this paper show that it is possible to do highly accurate machine learning classification that can detect Atrial Fibrillation from ECG signals on a low-power, constrained resource microcontroller. Our results will make developing a high quality, low cost, and low power wearable smart medical electronic device for detecting atrial fibrillation from ECG signal much easier.
AB - In this paper, we proposed the implementation of a simple and lightweight Atrial Fibrillation detection based on an improved Variable Step Dynamic Threshold Local Binary Pattern algorithm. Using feature selection based on correlation and statistical significance, we can reduce the input feature size to just 44 features without significantly degrading classification accuracies. Tested on 15-second signal segments from the MIT-BIH Atrial Fibrillation Database and combined with a support vector machine classifier, the proposed method can achieve 99.14% sensitivity, 99.12% specificity, and 99.13% accuracy. When the input signal length is 60 seconds, the sensitivity, specificity, and accuracy are 99.49%, 99.46%, and 99.47%, respectively. The reduced input feature size results in a machine learning model size as small as 132.86kB when the input signal length is 60 seconds. When implemented on an Arm Cortex M4-based STM32F413ZHT3 microprocessor with 100MHz clock frequency, the proposed method can achieve similar performance as a PC-based system with an average current consumption of just 27mA. The embedded C program can fit in as small as 114.46kB of flash memory and complete one SVM inference as fast as 11.28ms. The results presented in this paper show that it is possible to do highly accurate machine learning classification that can detect Atrial Fibrillation from ECG signals on a low-power, constrained resource microcontroller. Our results will make developing a high quality, low cost, and low power wearable smart medical electronic device for detecting atrial fibrillation from ECG signal much easier.
KW - arrhythmia
KW - atrial fibrillation
KW - cardiology
KW - electrocardiogram
KW - Health
KW - machine learning
KW - preventable disease
UR - http://www.scopus.com/inward/record.url?scp=85197499527&partnerID=8YFLogxK
U2 - 10.1109/ACCESS.2024.3422329
DO - 10.1109/ACCESS.2024.3422329
M3 - Article
AN - SCOPUS:85197499527
SN - 2169-3536
VL - 12
SP - 91590
EP - 91604
JO - IEEE Access
JF - IEEE Access
ER -