Heart sound, or phonocardiogram (PCG), signals are often distorted by noise from respiration, movement, and the surrounding environment, which complicates accurate cardiac feature extraction in portable monitoring systems. This study aims to design and evaluate an effective digital filtering method to enhance PCG signal quality obtained from a low-cost acquisition system based on a condenser microphone sensor and an ESP32 microcontroller. The main contribution of this work is the implementation and comparison of two noise-reduction approaches: Butterworth band-pass filters of various orders and the Kalman filter applied to PCG signals acquired from mannequin-based simulations. Data were recorded for 10 seconds at a 1000 Hz sampling rate, processed in MATLAB, and analyzed using the fast Fourier transform (FFT) to determine the optimal frequency ranges. Experimental results demonstrate that the 8th-order Butterworth band-pass filter achieved the highest signal-to-noise ratio (SNR) improvement, averaging 25.659 dB, outperforming other configurations. These findings indicate that an appropriately tuned Butterworth filter provides a simpler yet robust solution for real-time PCG denoising in embedded systems. Future work will integrate the filtering process directly into the ESP32 firmware and evaluate its performance on human subjects to enhance clinical applicability.
Copyrights © 2026