Surface electromyography (sEMG) has been widely used in the study of clinical medicine, rehabilitation medicine, sports, etc., and its endpoints should be detected accurately before analyzing. However, endpoint detection is vulnerable to electrocardiogram (ECG) interference when the sEMG recorders are placed near the heart. In this paper, an endpoint-detection algorithm which is insensitive to ECG interference is proposed. In the algorithm, endpoints of sEMG are detected based on the short-time energy and short-time zero-crossing rates of sEMG. The thresholds of short-time energy and short-time zero-crossing rate are set according to the statistical difference of short-time zero-crossing rate between sEMG and ECG, and the statistical difference of short-time energy between sEMG and the background noise. Experiment results on the sEMG of rectus abdominis muscle demonstrate that the algorithm detects the endpoints of the sEMG with a high accuracy rate of 95.6%.
Adaptive filtering methods based on least-mean-square (LMS) error criterion have been commonly used in auscultation to reduce ambient noise. For non-Gaussian signals containing pulse components, such methods are prone to weights misalignment. Unlike the commonly used variable step-size methods, this paper introduced linear preprocessing to address this issue. The role of linear preprocessing in improving the denoising performance of the normalized least-mean-square (NLMS) adaptive filtering algorithm was analyzed. It was shown that, the steady-state mean square weight deviation of the NLMS adaptive filter was proportional to the variance of the body sounds and inversely proportional to the variance of the ambient noise signals in the secondary channel. Preprocessing with properly set parameters could suppress the spikes of body sounds, and decrease the variance and the power spectral density of the body sounds, without significantly reducing or even with increasing the variance and the power spectral density of the ambient noise signals in the secondary channel. As a result, the preprocessing could reduce weights misalignment, and correspondingly, significantly improve the performance of ambient-noise reduction. Finally, a case of heart-sound auscultation was given to demonstrate how to design the preprocessing and how the preprocessing improved the ambient-noise reduction performance. The results can guide the design of adaptive denoising algorithms for body sound auscultation.