Submitted:
08 July 2026
Posted:
10 July 2026
You are already at the latest version
Abstract
Keywords:
1. Introduction
- We propose a fully synthesizable, parameterizable hardware architecture for computing Hjorth activity, mobility, and complexity over ECG windows using fixed-point arithmetic, including derivative generation, accumulator banks, variance computation, and hardware divider and square-root units.
- We provide a systematic bit-width and scaling analysis for ECG signals in the millivolt range, deriving internal word lengths that prevent overflow while offering sufficient precision for subsequent classification.
- We design and implement a quantized DNN for cardiac fibrillation diagnosis that is compatible with the hardware Hjorth feature extractor.
- We present an experimental evaluation on a public AF dataset, comparing floating-point and quantized models, reporting algorithmic metrics (accuracy, F1-score, AUC) as well as hardware-oriented metrics (latency, area, and power), and discussing the trade-offs between performance, complexity, and deployability.
2. Background and Related Work
2.1. Atrial Fibrillation Detection from ECG
2.2. Hjorth Parameters and Fixed-Point Implementations
2.3. Edge and IoMT Architectures for Cardiac Monitoring
2.4. Model Compression and Quantization for ECG Analysis
2.5. Embedded and Hardware-Oriented Implementations
3. Hardware Implementation of Hjorth Parameters
3.1. Discrete-Time Formulation
3.2. Fixed-Point Signal Representation

3.3. Derivative Generation Block
3.4. Accumulator Bank and Statistics Computation
3.5. Mobility and Complexity Engine
3.6. Control Finite State Machine and Handshaking
4. Quantized Neural Network for Cardiac Fibrillation Diagnosis
4.1. Baseline Deep Neural Network and Dataset
4.2. Quantization Strategy
4.3. Accuracy and Robustness Evaluation
4.4. Effect of Quantization on ROC Curves and Confusion Matrices
4.5. Hardware Architecture of the Quantized Neural Network
5. Experimental Results
5.1. Classification Summary
5.2. ASIC Synthesis Results in a 28 nm Standard-Cell Library
| Reference | Task / Dataset | Model / Prec. | Platform | Acc.(%)/AUC |
|---|---|---|---|---|
| Kachuee et al. [13] | MIT-BIH∗ | 1D CNN, FP32 | GPU | 93.4/- |
| Isin & Ozdalili [14] | MIT-BIH | AlexNet (transfer), FP32 | GPU | 92.0/- |
| Oh et al. [15] | MIT-BIH | CNN+LSTM, FP32 | GPU | 98.1/- |
| Hannun et al. [16] | AF / custom | 34-layer ResNet, FP32 | GPU | -/0.978 |
| Pu et al. [17] | MIT-BIH | Binary CNN (QAT) | SW | 96.9/- |
| Ribeiro et al. [18] | MIT-BIH | 1D CNN, INT8 (PTQ) | ARM Cortex | 99.6/- |
| Chen et al. [19] | hMIT-BIH | CNN ASIC, fixed-point | ASIC, 180 nm | 96.3/- |
| SparrowSNN [20] | MIT-BIH | Digital SNN | ASIC | 98.3/- |
| Rana et al. [21] | MIT-BIH | SNN FPGA | iCE40 FPGA | 98.4/- |
| Wang et al. [26] | [27] | CNN FPGA | Cyclone V | 92.9/- |
| Skrivanos et al. [9] | AF (SPHD) | Hjorth + DNN, FP32 | GPU / MCUs | 94.8/0.948 |
| Skrivanos et al. [10] | AF (SPHD) | Hjorth + DNN, FP32 | ESP8266 + cloud | 95/0.95 |
| This work | AF (SPHD) | Hjorth + DNN, 10–12-bit | ASIC, 28 nm | 93.7/>0.97 |
| Reference | Platform | Power | Latency / Energy |
|---|---|---|---|
| DARE Lab [22] | FPGA (Cyclone) | 200 mW | 2.52 ms / 76.7 µJ |
| Chen et al. [19] | ASIC, 180 nm | 4.4 mW | – |
| SparrowSNN [20] | ASIC (digital SNN) | 6.1 µW | 5.44 ms / 31.39 nJ |
| Rana et al. [21] | FPGA (iCE40) | 11.8 mW | 4.32 ms / 50.98 µJ |
| Wang et al. [26] | FPGA (Cyclone V) | 67.74 mW | – |
| Skrivanos et al. [9] (MCU A) | 64-bit MCU A | 1340 mW | 550 ms / inference |
| Skrivanos et al. [9] (MCU B) | 64-bit MCU B | 198 mW | 194 ms / inference |
| Skrivanos et al. [9] (GPU) | Discrete GPU | 300 mW | 0.96 ms / inference |
| This work (10-bit) | ASIC, 28 nm | 3.06 mW | 7.08 ns (crit. path) |
| This work (12-bit) | ASIC, 28 nm | 3.13 mW | 7.08 ns (crit. path) |
6. Conclusions and Future Work
References
- Fiorina, L.; Chemaly, P.; Cellier, J.; Said, M.A.; Coquard, C.; Younsi, S.; Salerno, F.; Horvilleur, J.; Lacotte, J.; Manenti, V.; et al. Artificial intelligence–based electrocardiogram analysis improves atrial arrhythmia detection from a smartwatch electrocardiogram. Eur. Heart J.-Digit. Health 2024, 5, 535–541. Available online: https://academic.oup.com/ehjdh/article-pdf/5/5/535/59236931/ztae047.pdf. [CrossRef] [PubMed]
- Sundaravadivel, P.; Kougianos, E.; Mohanty, S.; Ganapathiraju, M. Everything You Wanted to Know about Smart Health Care: Evaluating the Different Technologies and Components of the Internet of Things for Better Health. IEEE Consum. Electron. Mag. 2018, 7, 18–28. [Google Scholar] [CrossRef]
- Islam, U.; Alatawi, M.N.; Alqazzaz, A.; Alamro, S.; Shah, B.; Moreira, F. A hybrid fog-edge computing architecture for real-time health monitoring in IoMT systems with optimized latency and threat resilience. Sci. Rep. 2025, 15, 25655. [Google Scholar] [CrossRef] [PubMed]
- exact author list from the article, U. Machine Learning Models for Atrial Fibrillation: Advances in Detection and Management. Curr. Atheroscler. Rep. 2025, 27, 119. [CrossRef] [PubMed]
- Mei, D.A.; Cherubini, B.; Imberti, J.F.; Orlandi, M.; Vitolo, M.; Boriani, G. Application of Artificial Intelligence in the Early Detection and Management of Atrial Fibrillation: State-of-the-art Review. Eur. Cardiol. 2026, 21, e23. [Google Scholar] [CrossRef] [PubMed]
- Akbari, Y.; Lei, N.; Patel, N.; Peng, Y.; Faust, O. Atrial Fibrillation Detection on the Embedded Edge: Energy-Efficient Inference on a Low-Power Microcontroller. Sensors 2025, 25, 6601. [Google Scholar] [CrossRef] [PubMed]
- Cinotti, E.; Gragnaniello, M.; Parlato, S.; Centracchio, J.; Andreozzi, E.; Bifulco, P.; Riccio, M.; Esposito, D. An Edge AI Approach for Low-Power, Real-Time Atrial Fibrillation Detection on Wearable Devices Based on Heartbeat Intervals. Sensors 2025, 25, 7244. [Google Scholar] [CrossRef] [PubMed]
- Huang, Z.; Herbozo Contreras, L.F.; Leung, W.H.; Yu, L.; Truong, N.D.; Nikpour, A.; Kavehei, O. Efficient Edge-AI Models for Robust ECG Abnormality Detection on Resource-Constrained Hardware. J. Cardiovasc. Transl. Res. 2024, 17, 879–892. [Google Scholar] [CrossRef] [PubMed]
- Skrivanos, A.G.; Kouretas, I.; Chronopoulos, S.K.; Christofilakis, V.; Sagias, N.C.; Peppas, K.P. A Machine Learning-Based Heart Disease Detection Scheme for Predicting Spontaneous Termination of Atrial Fibrillation. IEEE Access 2025, 13, 196374–196387. [Google Scholar] [CrossRef]
- Skrivanos, A.G.; Kouretas, I.; Peppas, K.P.; Sagias, N.C. Machine Learning-Based Cardiac Fibrillation Diagnosis with ESP8266. Proc. 2026 Panhellenic Conf. Electron. Telecommun. (PACET) 2026, 1–4. [Google Scholar] [CrossRef]
- Mrak, Ž.; Naji, F.H.; Dinevski, D. Artificial Intelligence Applied to Electrocardiograms Recorded in Sinus Rhythm for Detection and Prediction of Atrial Fibrillation: A Scoping Review. Medicina 2026, 62, 199. [Google Scholar] [CrossRef] [PubMed]
- Rizal, A.; Hadiyoso, S. ECG signal classification using Hjorth Descriptor. IEEE Trans. 2015 International Conference on Automation, Cognitive Science, Optics, Micro Electro-Mechanical System, and Information Technology (ICACOMIT), 29-30 October 2015. [Google Scholar] [CrossRef]
- Kachuee, M.; Fazeli, S.; Sarrafzadeh, M. ECG Heartbeat Classification: A Deep Transferable Representation. In Proceedings of the Proceedings of the IEEE International Conference on Healthcare Informatics (ICHI), New York, NY, USA, 2018; pp. 443–444. [Google Scholar] [CrossRef]
- Isin, A.; Ozdalili, S. Cardiac arrhythmia detection using deep learning. Procedia Computer Science 9th International Conference on Theory and Application of Soft Computing, Computing with Words and Perception, ICSCCW 2017, Budapest, Hungary, 22-23 August 2017; 2017; 120, pp. 268–275. [Google Scholar] [CrossRef]
- Oh, S.L.; Ng, E.Y.K.; Tan, R.S.; Acharya, U.R. Automated Diagnosis of Arrhythmia Using Combination of CNN and LSTM Techniques with Variable Length Heart Beats. Comput. Biol. Med. 2018, 102, 278–287. [Google Scholar] [CrossRef] [PubMed]
- Hannun, A.Y.; Rajpurkar, P.; Haghpanahi, M.; Tison, G.H.; Bourn, C.; Turakhia, M.P.; Ng, A.Y. Cardiologist-Level Arrhythmia Detection and Classification in Ambulatory Electrocardiograms Using a Deep Neural Network. Nat. Med. 2019, 25, 65–69. [Google Scholar] [CrossRef] [PubMed]
- Pu, Z.; Gu, W.; Feng, J. Quantization of ECG Arrhythmia Classification Neural Network. In Proceedings of the Proceedings of the 5th International Conference on Electronics, Computers and Artificial Intelligence (ECAI), Bucharest, Romania, 2023; pp. 1–5. [Google Scholar] [CrossRef]
- Ribeiro, A.H.; et al. Automatic 12-Lead ECG Classification Using a Convolutional Neural Network. Comput. Biol. Med. 2022, 148, 105249. [Google Scholar] [CrossRef] [PubMed]
- Chen, Y.H.; et al. A VLSI Chip for the Abnormal Heart Beat Detection Using Convolutional Neural Network. Sensors 2022, 22, 796. [Google Scholar] [CrossRef] [PubMed]
- Luo, Z.; et al. SparrowSNN: A Hardware/Software Co-Design for Energy Efficient ECG Classification. arXiv 2024, arXiv:2406.06543. [Google Scholar] [CrossRef]
- Rana, A.; et al. On-FPGA Spiking Neural Networks for Integrated Near-Sensor ECG Classification. In Proceedings of the Proceedings of the Design, Automation and Test in Europe Conference (DATE), Valencia, Spain, 2024; pp. 1–6. [Google Scholar] [CrossRef]
- Cao, T.; Soon Ng, W.; Ling Goh, W.; Gao, Y.; Huang, H.W. FPGA-Based Real-Time ECG Classification System Using Quantized Inception-ResNeXt Neural Network and CWT Approximation. IEEE Trans. Very Large Scale Integr. (VLSI) Systems 2026, 34, 167–178. [Google Scholar] [CrossRef]
- Skrivanos, Anastasios G.; Kouretas, Ioannis; Peppas, Kostas P.; Sagias, Nikos C. Machine Learning-Based Cardiac Fibrillation Diagnosis with ESP8266. Proc. 2026 Panhellenic Conf. Electron. Telecommun. (PACET) 2026, 1–4. [Google Scholar] [CrossRef]
- Koren, I. Computer Arithmetic Algorithms, 2nd ed.; A K Peters, 2002. [Google Scholar]
- Garcia, R.; Volkova, A. Toward the Multiple Constant Multiplication at Minimal Hardware Cost. IEEE Trans. Circuits Syst. I Regul. Pap. 2023, 70, 1976–1988. [Google Scholar] [CrossRef]
- Wang, H.; et al. A Fully-Mapped and Energy-Efficient FPGA Accelerator for Dual-Function AI-Based Analysis of ECG. Front. Physiol. 2023, 14, 1079503. [Google Scholar] [CrossRef] [PubMed]
- Zheng, J.; Zhang, J.; Danioko, S.; Yao, H.; Guo, H.; Rakovski, C. A 12-lead electrocardiogram database for arrhythmia research covering more than 10,000 patients. Sci. Data 2020, 7, 48. [Google Scholar] [CrossRef] [PubMed]
| 1 | The data are publicly available at: https://data.mendeley.com/datasets/khxprpdt3z. |





| Bit-width | Accuracy [%] | AUC | TN | FP | FN | TP |
|---|---|---|---|---|---|---|
| 6-bit | 77.71 | 0.8969 | 213 | 24 | 83 | 160 |
| 8-bit | 87.71 | 0.9420 | 208 | 29 | 30 | 213 |
| 10-bit | 93.75 | 0.9704 | 218 | 19 | 11 | 232 |
| 12-bit | 93.75 | 0.9712 | 219 | 18 | 12 | 231 |
| 14-bit | 93.54 | 0.9885 | 218 | 19 | 12 | 231 |
| 16-bit | 93.54 | 0.9714 | 218 | 19 | 12 | 231 |
| Configuration | Delay () | Area () | Power () |
|---|---|---|---|
| 10-bit, fast | 7084 | 19475.200 | 3.062 |
| 10-bit, relaxed | 8154 | 19325.165 | 2.627 |
| 12-bit, fast | 7084 | 20272.269 | 3.126 |
| 12-bit, relaxed | 8155 | 20122.016 | 2.682 |
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2026 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (http://creativecommons.org/licenses/by/4.0/).