БАГАТОЕТАПНИЙ АДАПТИВНИЙ АЛГОРИТМ ДЕТЕКЦІЇ СЕРЦЕВИХ ТОНІВ ТА ОЦІНЮВАННЯ РИТМУ ЗА ДОПОМОГОЮ СЕРІЙНИХ АКУСТИЧНИХ ПЕРЕТВОРЮВАЧІВ
Executive Summary
This study presents a multi-stage adaptive digital signal processing algorithm for heart sound (phonocardiogram, PCG) analysis using low-cost, serial acoustic transducers with low signal-to-noise ratio (SNR). The algorithm addresses three key challenges: octave ambiguity in autocorrelation-based rhythm estimation, rhythm non-stationarity, and S1/S2 tone identification within unresolved pairs. It introduces a novel ambiguity index, derives analytical bounds for autocorrelation window length, and employs an ensemble envelope (Shannon and Hilbert transforms) with a locally adaptive threshold. The method achieves computational efficiency (O(n log n), <3% CPU load on Raspberry Pi 3) and robust detection, enabling real-time, edge-based telemedical monitoring with affordable hardware.
Answer Machine Insights
Q: How does the algorithm address octave ambiguity in autocorrelation-based rhythm estimation?
It introduces an ambiguity index and a multiple-lag threshold (0.45), ensuring correct period selection across physiological amplitude ratios (0.24–4.21), thus resolving the structural ambiguity caused by two acoustic events per cardiac cycle.
"The ambiguity index ... is introduced, and the multiple-lag threshold 0.45 is shown to correspond to a tone amplitude ratio of 0.24…4.21, which covers the physiologically possible range."
Q: What is the computational efficiency of the proposed algorithm?
The total complexity is O(n log n), with less than 3% CPU load on a Raspberry Pi 3, making it suitable for real-time edge computing.
"The total complexity of the algorithm is O(n log n) at under 3% load of a Raspberry Pi 3 core, making it suitable for edge computing and real-time telemedical monitoring."
Q: How does the algorithm improve detection accuracy compared to the 'keep the louder peak' rule?
It replaces the 'keep the louder peak' rule, which introduces jitter of 111–157 ms at 5–10% mislabelling rates, with a temporal-priority rule and a 1.8 dominance barrier, eliminating this source of error.
"The common rule 'keep the louder peak' is shown to inject a jitter of 111…157 ms into the inter-beat interval series at 5…10 % mislabelling rates... a temporal-priority rule with a 1.8 dominance barrier is used instead."
Q: Is the algorithm robust to arrhythmia and signal artifacts?
Yes, rhythmogram cleaning includes a safeguard against false normalization of arrhythmia, and quality control mechanisms distinguish between hardware failure and estimator error.
"Rhythmogram cleaning is complemented by a safeguard against the false 'normalisation' of arrhythmia. ... The mechanism separates hardware failure and estimator error."
Key Results
The algorithm reduces computational cost 44-fold (via decimation to 1 kHz) while introducing only 0.41 ms error (0.04% of typical heart rate variability).
The method resolves octave ambiguity in autocorrelation, covering physiological amplitude ratios from 0.24 to 4.21, and achieves robust detection with <3% CPU load on Raspberry Pi 3.
Visual Evidence

МАТЕМАТИЧНИЙ МЕТОД ЛОКАЛЬНОЇ АДАПТАЦІЇ ТА КОРЕКЦІЇ ПОМИЛОК
Clinical Snapshot
Evidence Rating
Relevance
high Priority