Implementing Deep Neural Networks on ARM-Based Microcontrollers: Application for Ventricular Fibrillation Detection
Applied Sciences · 13.02.2025 · 15 (4) · 1965
DOI: 10.3390/app15041965 ↗Kurz gefasst
Fachartikel in der Zeitschrift Applied Sciences, online erschienen am 13.02.2025. Verfasst von Vessela Krasteva und 2 weiteren Autor:innen. Die Arbeit wurde bisher 22-mal zitiert (Crossref) und nennt 90 Literaturangaben. Der Volltext ist frei zugänglich (Open Access, CC BY 4.0). Gefördert von: Bulgarian National Science Fund.
Abstract (Originalsprache)
GPU-based deep neural networks (DNNs) are powerful for electrocardiogram (ECG) processing and rhythm classification. Although questions often arise about their practical application in embedded systems with low computational resources, few studies have investigated the associated challenges. This study aims to show a useful workflow for deploying a pre-trained DNN model from a GPU-based development platform to two popular ARM-based microcontrollers: Raspberry Pi 4 and ARM Cortex-M7. Specifically, a five-layer convolutional neural network pre-trained in TensorFlow (TF) for the detection of ventricular fibrillation is converted to Lite Runtime (LiteRT) format and subjected to post-training quantization to reduce model size and computational complexity. Using a test dataset of 7482 10 s cardiac arrest ECGs, the inference of LiteRT DNN in Raspberry Pi 4 takes about 1 ms with a sensitivity of 98.6% and specificity of 99.5%, reproducing the TF DNN performance. An optimization study with 1300 representative datasets (RDSs), including 10 to 4000 calibration ECG signals selected by random, rhythm, or amplitude-based criteria, showed that choosing a random RDS with a relatively small size of 80 resulted in a quantized integer LiteRT DNN with minimal quantization error. The inference of both non-quantized and quantized LiteRT DNNs on a low-resource ARM Cortex-M7 microcontroller (STM32F7) shows rhythm accuracy deviation of
Förderung
- Bulgarian National Science Fund
Zitieren
APA
Krasteva, V., Stoyanov, T., & Jekova, I. (2025). Implementing Deep Neural Networks on ARM-Based Microcontrollers: Application for Ventricular Fibrillation Detection. Applied Sciences, 15(4), 1965. https://doi.org/10.3390/app15041965
Vancouver
Krasteva V, Stoyanov T, Jekova I. Implementing Deep Neural Networks on ARM-Based Microcontrollers: Application for Ventricular Fibrillation Detection. Applied Sciences. 2025;15(4):1965. doi:10.3390/app15041965
BibTeX
@article{Krasteva2025,
author = {Krasteva, Vessela and Stoyanov, Todor and Jekova, Irena},
title = {Implementing Deep Neural Networks on ARM-Based Microcontrollers: Application for Ventricular Fibrillation Detection},
journal = {Applied Sciences},
year = {2025},
volume = {15},
number = {4},
pages = {1965},
doi = {10.3390/app15041965}
}
EUVIMED