BackgroundCardiovascular disease not only occurs in the elderly but also tends to become a common social health problem. Considering the fast pace of modern life, quantified heart rate variability (HRV) indicators combined with the convenience of wearable devices are of great significance for intelligent telemedicine. To quantify the changes in human mental state, this article proposes an improved differential threshold algorithm for R-wave detection and recognition of electrocardiogram (ECG) signals.MethodsHRV is a specific quantitative indicator of autonomic nerve regulation of the heart. The recognition rate is increased by improving the starting position of R wave and the time-window function of the traditional differential threshold method. The experimental platform is a wearable sign monitoring system constructed based on body area networks (BAN) technology. Analytic hierarchy process (AHP) is used to construct the mental stress assessment model, the weight judgment matrix is constructed according to the influence degree of HRV analysis parameters on mental stress, and the consistency check is carried out to obtain the weight value of the corresponding HRV analysis parameters.ResultsExperimental results show that the recognition rate of R wave of real-time 5 min ECG data collected by this algorithm is >99%. The comprehensive index of HRV based on weight matrix can greatly reduce the deviation caused by the measurement error of each parameter. Compared with traditional characteristic wave recognition algorithms, the proposed algorithm simplifies the process, has high real-time performance, and is suitable for wearable analysis devices with low-configuration requirements.ConclusionOur algorithm can describe the mental stress of the body quantitatively and meet the requirements of application demonstration.
Read full abstract