A New Multichannel Parallel Network Framework for the Special Structure of Multilead ECG
Algorithm 2
R-peak detection algorithm based on wavelet coefficients.
Symbol:
SR: sampling rate
: original ECG signal, i is the index value
: detail coefficient of wavelet decomposition in j-layer
: R-peak detection sequence
: amplitude threshold
Process:
A. Discrete wavelet decomposition of ECG signals and construction of the R-peak detection sequences
1 5-layer wavelet decomposition of based on Haar wavelet to get d4, d5
2 calculation of the R-peak detection sequence
B. Positioning the R-peak position
1 determination of amplitude threshold
2 if , the corresponding position of index value i is R-peak position
3 two adjacent index values i, i’. if , that is, the interval time is less than 100 ms, then i and indicate the same R-peak. Otherwise, it is a different R-peak.