Cybernetics And Systems Analysis logo
Editorial Board Announcements Abstracts Authors Archive
KIBERNETYKA TA SYSTEMNYI ANALIZ
International Theoretical Science Journal
-->


DOI 10.34229/KCA2522-9664.26.4.15
UDC 519.6:519.7

M.S. Yefremov
Taras Shevchenko National University of Kyiv, Kyiv, Ukraine,
yefremov@knu.ua

A.V. Liashko
Taras Shevchenko National University of Kyiv, Kyiv, Ukraine,
andrey_liashko@knu.ua

O.B. Stelia
V.M. Glushkov Institute of Cybernetics, National Academy of Sciences of Ukraine,
Kyiv, Ukraine, Oleg.Stelya@gmail.com

B.V. Batsak
National Scientific Center "M.D. Strazhesko Institute of Cardiology, Clinical
and Regenerative Medicine" of the National Academy of Medical Sciences
of Ukraine, Kyiv, Ukraine, dr.batsak@gmail.com

Iu.V. Krak
Taras Shevchenko National University of Kyiv, Kyiv, Ukraine;
V.M. Glushkov Institute of Cybernetics, National Academy of Sciences
of Ukraine, Kyiv, Ukraine, iurii.krak@knu.ua


ACCURATE DETECTION OF R-PEAK IN ELECTROCARDIOGRAMS:
PIECEWISE-POLYNOMIAL APPROXIMATION, NOISE REDUCTION,
FIRST DERIVATIVE ANALYSIS

Abstract. The paper is devoted to the development of computationally efficient information technology for the automatic detection of R-peaks in electrocardiograms, focused on portable long-term monitoring systems. Scientific novelty is the study proposes a piecewise polynomial approximation method based on second-order Hermite polynomials to transform discrete data into a continuous analytical signal representation. This approach ensures the continuity of both the approximating function and its first derivative (smoothness), enabling analytical gradient calculation. This minimizes noise impact and provides precise R-peak localization despite baseline drift and motion artifacts. The mathematical framework is integrated into a clinical decision support system using a microservice architecture (FastAPI, Docker) and vector-based visualization (D3.js). Results of testing on the MIT-BIH Arrhythmia Database showed high efficiency, with an average F-score exceeding 99.1% and some complex cases 100% accuracy was achieved. The technology’s low computational cost makes it suitable for real-time cardiac monitoring in embedded systems and IoT devices.

Keywords: electrocardiogram, R-peaks, piecewise polynomial approximation, Hermite polynomials, analytical differentiation, smoothing of a discrete signal, information technologies, decision support.


full text

REFERENCES

    1. Pan J., Tompkins W.J. A real-Time QRS detection algorithm. IEEE Transactions on Biomedical Engineering. 1985. Vol. BME-32, N 3. P. 230–236. https://doi.org/10.1109/TBME.1985.325532.
    2. Imtiaz M.N., Khan N. Pan-Tompkins++: A robust approach to detect R-peaks in ECG signals. IEEE International Conference on Bioinformatics and Biomedicine (BIBM). Las Vegas, NV, USA. IEEE, 2022. P. 2905–2912. https://doi.org/10.1109/BIBM55620.2022.9995552.
    3. Zhai D., Bao X., Long X., Ru T., Zhou G. Precise detection and localization of R-peaks from ECG signals. Mathematical Biosciences and Engineering. 2023. Vol. 20, N 11. P. 19191–19201. https://doi.org/10.3934/mbe.2023848.
    4. Krak Y.V., Stelia O.B., Efremov M.S., Lyashko A.V. Information technology for processing electrocardiogram data for finding R-peaks. Rep. National Acad. of Sciences of Ukraine 2024. No. 5. P. 44–52. https://doi.org/10.15407/dopovidi2024.05.044.
    5. Farrokhi S., Dargie W., Poellabauer C. Reliable peak detection and feature extraction for wireless electrocardiograms. Computers in Biology and Medicine. 2025. Vol. 185, N C. Article number 9. https://doi.org/10.1016/j.compbiomed.2024.109478.
    6. Balta D., Akyemis E.M. Arrhythmia detection using Pan–Tompkins algorithm and hilbert transform with real-time ECG signals. 9th International Symposium on Innovative Technologies in Engineering and Science (ISITES2021) (15–17 October, 2021, Sakarya, Turkey). 2021. P. 307–315. https://doi.org/10.33793/acperpro.04.01.45.
    7. Nguyen T.-N., Nguyen T.-H., Ngo B.-V. R peak determination using a WDFR algorithm and adaptive threshold. Applied Computer Science. 2022. Vol. 18, N 3. Article number 12. https://doi.org/0.35784/acs-2022-18.
    8. Bensegueni S. A new method for electrocardiogram features extraction using slope change coefficients. International Journal of Electronics and Telecommunications. 2023. Vol 39, N 1. P. 33–39. https://doi.org/10.24425/ijet.2023.144328.
    9. Moody G.B., Mark R.G. The impact of the MIT-BIH Arrhythmia Database. EEE Engineering in Medicine and Biology Magazine. 2001. Vol. 20, N 3. P. 43–50. https://doi.org/10.1109/51.932724.
    10. Yefremov M., Liashko A., Krak Iu., Stelia O. An efficient threshold method for detecting R-peaks in electrocardiogram. Radioelectronic and Computer Systems. 2026. N 1. P. 22–34. https://doi.org/10.32620/reks.2026.1.02.
    11. Testing and reporting performance results of cardiac rhythm and ST Segment measurement algorithms. Association for the Advancement of Medical Instrumentation (R2020) ANSI/AAMI EC57:2012, 2020. URL: https://webstore.ansi.org/standards/aami/ ansiaamiec572012r2020 (Дата звернення 12.02.2026).
    12. Bocharov M., Stasiuk V., Osyodlo V., Ryzhenko T., Malanin V., Chumachenko D., Chaikovsky I. Assessment of the activities physiological cost of the defense forces officers in Ukraine using miniature ECG device. Front. Cardiovasc. Med. 2023. Vol. 10. Article number 1239128. https://doi.org/10.3389/fcvm.2023.1239128.
    13. Yao X., Wei H. A modified dynamic time warping (MDTW) approach and innovative average non-self-match distance (ANSD) method for anomaly detection in ECG recordings. In: Recent Advances in AI-enabled Automated Medical Diagnosis. R. Jiang et al. (Eds.). CRC Press, 2022. P. 281–303. URL: https://eprints.whiterose.ac.uk/179843/.
    14. Hsieh F., Chen T.-L. A novel R-peak detection algorithm. IEEE Access. 2025. Vol. 13. P. 210351–210359. https://doi.org/10.1109/ACCESS.2025.3643153.



© 2026 Kibernetika.org. All rights reserved.