This thesis presents the design, development, and validation of a real-time embedded system for the generation and monitoring of synthetic electrocardiographic (ECG) signals. The system is based on the STM32F401RE microcontroller and DAC8568 digital-to-analog converters, which are used to generate ECG waveforms. A graphical user interface (GUI) developed in MATLAB enables real-time visualization, analysis, and monitoring of the generated signals. The firmware was developed using STM32CubeIDE and implements a mathematical model capable of reproducing various physiological and pathological cardiac conditions, including normal sinus rhythm, tachycardia, bradycardia, premature ventricular contractions, arrhythmia, atrial fibrillation, atrial flutter, and ST-segment elevation. In parallel, a dedicated electronic board was designed using KiCad, integrating the microcontroller, DAC converters, power supply circuitry, and communication interfaces. Experimental validation was carried out using a digital oscilloscope, allowing comparison between the generated digital signals and the corresponding analog outputs. The results confirm the correct generation, conversion, and visualization of ECG signals, demonstrating the effectiveness of the proposed architecture and its ability to operate reliably and stably under real-time conditions.
La presente tesi descrive la progettazione, lo sviluppo e la validazione di un sistema embedded realtime per la generazione e il monitoraggio di segnali elettrocardiografici sintetici. Il sistema è basato sul microcontrollore STM32F401RE e su convertitori digitale-analogici DAC8568, utilizzati per la generazione delle forme d’onda ECG, mentre una GUI sviluppata in ambiente MATLAB consente la visualizzazione, l’analisi e il monitoraggio realtime dei segnali prodotti. Il firmware è stato sviluppato mediante STM32CubeIDE e implementa un modello matematico in grado di riprodurre differenti condizioni fisiologiche e patologiche, tra cui ritmo sinusale normale, tachicardia, bradicardia, extrasistole, aritmia, fibrillazione atriale, flutter atriale e ST elevation. Parallelamente, è stata progettata una scheda elettronica dedicata mediante KiCad, comprendente microcontrollore, convertitori DAC, circuiteria di alimentazione e interfacce di comunicazione. La validazione sperimentale è stata effettuata mediante oscilloscopio digitale consentendo il confronto tra segnali numerici e uscite analogiche generate dal sistema. I risultati ottenuti confermano la corretta generazione, conversione e visualizzazione dei segnali ECG, evidenziando l’efficacia dell’architettura sviluppata e la sua capacità di operare in condizioni realtime in modo stabile e affidabile.
PROGETTAZIONE, SVILUPPO E VALIDAZIONE DI UNA PIATTAFORMA EMBEDDED REAL-TIME PER LA GENERAZIONE E L’ANALISI DI SEGNALI ECG FISIOLOGICI E PATOLOGICI
MARCONE, LEONARDO
2025/2026
Abstract
This thesis presents the design, development, and validation of a real-time embedded system for the generation and monitoring of synthetic electrocardiographic (ECG) signals. The system is based on the STM32F401RE microcontroller and DAC8568 digital-to-analog converters, which are used to generate ECG waveforms. A graphical user interface (GUI) developed in MATLAB enables real-time visualization, analysis, and monitoring of the generated signals. The firmware was developed using STM32CubeIDE and implements a mathematical model capable of reproducing various physiological and pathological cardiac conditions, including normal sinus rhythm, tachycardia, bradycardia, premature ventricular contractions, arrhythmia, atrial fibrillation, atrial flutter, and ST-segment elevation. In parallel, a dedicated electronic board was designed using KiCad, integrating the microcontroller, DAC converters, power supply circuitry, and communication interfaces. Experimental validation was carried out using a digital oscilloscope, allowing comparison between the generated digital signals and the corresponding analog outputs. The results confirm the correct generation, conversion, and visualization of ECG signals, demonstrating the effectiveness of the proposed architecture and its ability to operate reliably and stably under real-time conditions.I documenti in UNITESI sono protetti da copyright e tutti i diritti sono riservati, salvo diversa indicazione.
https://hdl.handle.net/20.500.14253/68405