Resource-Efficient Edge Framework for Real-Time ECG Processing and R-Peak Detection on 8-Bit Microcontrollers
Preprint
- 19 October 2026
- preprint
- Published by MDPI AG in Preprints.org
Abstract
The expansion of the Internet of Medical Things (IoMT) has increased the demand for real-time electrocardiogram (ECG) monitoring on wearable devices. However, implementing signal processing on ultra-low-power edge nodes is constrained by hardware limitations, specifically the absence of a Floating-Point Unit (FPU) and restricted SRAM capacity. This paper presents a resource-efficient framework for real-time R-peak detection optimized for 8-bit microcontrollers. The core component is a piecewise-polynomial smoothing algorithm based on Hermite splines, integrated directly into the ADC sampling loop. To maintain signal integrity under motion artifacts, a cascading filtering architecture is employed, operating on fixed-size frame buffers with a peak memory footprint of approximately 2.3 KB. Detection performance was evaluated on physical hardware signals (AD8232/ATmega2560) recorded during rest and physical activity, while reference recordings from the MIT-BIH Arrhythmia Database served as a morphological reference. Statistical analysis using ensemble averaging and point-wise confidence intervals (96% confidence level, D = 2.05) confirmed that the filtering process suppresses quantization noise and myographic artifacts without distorting the physiological morphology of the ECG. Experimental evaluation demonstrated a sensitivity (SEN) of 94.67–99.83%, a positive predictive value (PPV) of 99.30–100%, and a mean F-score of 98.95%. Extracting and transmitting metadata (RR intervals) instead of raw signal samples reduces network traffic and overall power consumption in autonomous edge-based cardiac monitoring nodes.Keywords
All Related Versions
This publication has 16 references indexed in Scilit:
- Recent advances in the tools and techniques for AI-aided diagnosis of atrial fibrillationBiophysics Reviews, 2025
- An Arduino Based Heartbeat Detection Device (ArdMob-ECG) for Real-Time ECG Analysis2022
- Prototype low-cost portable electrocardiogram (ECG) based on Arduino-Uno with Bluetooth featureAIP Conference Proceedings, 2019
- Controlled Spline of Third Degree: Approximation Properties and Practical Application2019
- Cardiologist-level arrhythmia detection and classification in ambulatory electrocardiograms using a deep neural networkNature Medicine, 2019
- Fog Computing in Healthcare Internet of Things: A Case Study on ECG Feature Extraction2015
- Compressed Sensing for Real-Time Energy-Efficient ECG Compression on Wireless Body Sensor NodesIEEE Transactions on Biomedical Engineering, 2011
- A Wavelet-Based ECG Delineator: Evaluation on Standard DatabasesIEEE Transactions on Biomedical Engineering, 2004
- Confidence intervals rather than P values: estimation rather than hypothesis testing.BMJ, 1986
- A Real-Time QRS Detection AlgorithmIEEE Transactions on Biomedical Engineering, 1985