350 rub
Journal Biomedical Radioelectronics №4 for 2025 г.
Article in number:
Reducing a memory capacity of an electrocardiogram processor on a microcontroller
Type of article: scientific article
DOI: https://doi.org/10.18127/j15604136-202504-09
UDC: 616-71: 681.2.087
Authors:

Yu. A. Bulgakov1, A.A. Mikheev2

1,2 FSBEI HE “Ryazan State Radio Engineering University named after V.F. Utkin” (Ryazan, Russia)

2 maa0312@yandex.ru

Abstract:

During the primary processing of the electrocardiosignal, complex discrete samples taken at TP intervals can be used to isolate the drift of the isoline. The variability in the duration of heart cycles leads to variability in the sampling period of the isoline drift signal. To take this fact into account, it is necessary to measure the duration of the heart rate cycle each time. Since it is necessary to know the duration of the heartbeat cycle in order to form complex discrete samples, they can be formed only after determining this duration, that is, in the next heartbeat cycle. Since complex discrete samples are formed from samples of the electrocardiographic signal of the current heartbeat cycle, the number of which per second can be 200, 5000, 1000 in accordance with the sampling frequency of the signal in modern electrocardiographs, it is necessary to memorize these samples in order to use them in the next heartbeat cycle. Thus, there is a problem of providing sufficient memory to store the samples for further use.

Purpose – to develop an algorithm for processing the isoline drift signal based on the use of a sequence of complex discrete samples, taking into account the variability of the sampling period without long-term storage of electrocardiosignal samples necessary for the generation of complex discrete samples.

The possibility of using an annular buffer to store the initial samples of the electrocardiosignal has been provided. An algorithm for caching samples of a single heartbeat cycle has been proposed. A program for the microcontroller has been developed that implements the proposed algorithm. The algorithm and the program have been tested, which have shown their operability.

The developed algorithm can be used in electrocardiographic signal processing devices included in both stationary and mobile electrocardiographs.

Pages: 78-84
For citation

Bulgakov Yu.A., Mikheev A.A. Reducing a memory capacity of an electrocardiogram processor on a microcontroller. Biomedicine Radioengineering. 2025. V. 28. № 4. Р. 78-84. DOI: https://doi.org/10.18127/j15604136-202504-09 (In Russian).

References
  1. Drozdov D.V. Tekhnicheskie i metodicheskie aspekty registracii biopotencialov: vybor elektrodov. Funkcional'naya diagnostika. 2010. № 3. S. 6–11. (in Russian).
  2. Rangajyan R.M. Analiz biomedicinskih signalov. Prakticheskij podhod. Per. s angl. pod red. A.P. Nemirko. M.: FIZMATLIT. 2007. 440 s. (in Russian).
  3. Mel'nik O.V., Miheev A.A., Nechaev G.I. Transformaciya spektrov signalov datchikov v izmeritel'nyh sistemah. Datchiki i sistemy. 2010. № 1. S. 39–42. (in Russian).
  4. Bulgakov YU.A., Miheev A.A. Formirovanie slozhnyh diskretnyh vyborok dlya ustrojstv vydeleniya drejfa izolinii elektrokardiosignala. Biomedicinskaya radioelektronika. 2024. T. 27. № 4. S. 63–71. (in Russian).
  5. Rabota s kol'cevym buferom. Elektronnyj resurs. Rezhim dostupa https://microsin.net/programming/avr/ring-buffer.html?ysclid=maiqs0ogvk979599922 (data obrashcheniya 06.04.2025). (in Russian).
  6. Patent № 2237432 (RF), MPK A61 V 5/0452. Ustrojstvo dlya vydeleniya nachala kardiocikla. O.A. Zujkova, A.A. Miheev. № 2003109604: zayavl. 04.04.2003: opublikovano 10.10.2004, Byul. № 28. Zayavitel' RGRTA. 9 s. (in Russian).
  7. Patent № 2387367 (RF), MPK A61 V 5/02. A61 V 5/0452. Sposob vyyavleniya kardiokompleksa i ustrojstvo dlya ego osushchestvleniya.
    P.A. Blinov, A.A. Miheev. № 2008148439: zayavl. 08.12.2008: opublikovano 27.04.2010, Byul. № 12. Zayavitel' RGRTU. 8 s. (in Russian).
  8. Patent № 2810949 (RF), MPK H04L 27/02, A61V 5/024. Sposob formirovaniya diskretnyh otschetov izmeritel'nyh signalov i ustrojstvo dlya ego osushchestvleniya. Yu.A. Bulgakov, A.A. Miheev: №2023102551: zayavl. 03.02.2023: opublikovano 09.01.2024, Byul. № 1; zayavitel' RGRTU. 29 s. (in Russian).
  9. Dokumentaciya dlya mikrokontrollera AT91SAM3X8E. Elektronnyj resurs. Rezhim dostupa http://rc-master.ucoz.ru/books/AT91SAM3X8E_datasheet.pdf (data obrashcheniya 25.04.2025). (in Russian).
  10. Kak programmiruyut Arduino. Elektronnyj resurs. Rezhim dostupa https://thecode.media/arduino-code/ (data obrashcheniya 06.04.2025). (in Russian).
Date of receipt: 23.05.2025
Approved after review: 26.05.2025
Accepted for publication: 26.06.2025