CN104983411A - Real-time calculation method for measurement of complexity of dynamic pulse rate variant signal - Google Patents

Real-time calculation method for measurement of complexity of dynamic pulse rate variant signal Download PDF

Info

Publication number
CN104983411A
CN104983411A CN201510416062.5A CN201510416062A CN104983411A CN 104983411 A CN104983411 A CN 104983411A CN 201510416062 A CN201510416062 A CN 201510416062A CN 104983411 A CN104983411 A CN 104983411A
Authority
CN
China
Prior art keywords
dynamic pulse
entropy
designated
pulse frequency
real
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201510416062.5A
Other languages
Chinese (zh)
Inventor
张爱华
丑永新
漆宇晟
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Lanzhou University of Technology
Original Assignee
Lanzhou University of Technology
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Lanzhou University of Technology filed Critical Lanzhou University of Technology
Priority to CN201510416062.5A priority Critical patent/CN104983411A/en
Publication of CN104983411A publication Critical patent/CN104983411A/en
Pending legal-status Critical Current

Links

Landscapes

  • Measuring Pulse, Heart Rate, Blood Pressure Or Blood Flow (AREA)

Abstract

The invention discloses a real-time calculation method for measurement of the complexity of a dynamic pulse rate variant signal. The real-time calculation method aims to rapidly and accurately achieve measurement calculation of the complexity of the dynamic pulse rate variant signal and is used for online monitoring and early warning of cardiovascular diseases. The real-time calculation method comprises the steps that 1, a dynamic pulse signal is detected and processed; 2, the dynamic pulse rate variant signal is preprocessed, extracted and marked as PP(i); 3, a dynamic pulse rate variant signal sampling point PP(N) is updated in a window sliding way; 4, the time sequence where a PP(1) and the PP(N) are located is reconstructed; 5, an X(1) sequence and an X(N-m+1) sequence are symbolized; 6, the storage positions of a [S1(j)] code and a [SN-m+2(j)] code are generated; 7, an entropy value is iterated and updated.

Description

动态脉率变异性信号复杂性测度的实时计算方法A real-time calculation method for dynamic pulse rate variability signal complexity measure

技术领域 technical field

本发明涉及脉搏信号检测实时处理分析,具体涉及一种基于滑窗迭代基本尺度熵的动态脉率变异性信号复杂性测度实时计算方法。可用于动态脉率实时提取和实时复杂性计算。 The invention relates to real-time processing and analysis of pulse signal detection, in particular to a real-time calculation method for dynamic pulse rate variability signal complexity measurement based on sliding window iterative basic scale entropy. It can be used for real-time extraction of dynamic pulse rate and real-time complexity calculation.

背景技术 Background technique

人体心血管系统是一种复杂的动力学系统,探测其动力学变化及区别不同时间段或不同生理状态下复杂性的变化,对心血管疾病的诊断和治疗十分重要。 The human cardiovascular system is a complex dynamic system. It is very important for the diagnosis and treatment of cardiovascular diseases to detect its dynamic changes and distinguish the complexity changes in different time periods or different physiological states.

心率变异性信号产生于心脏搏动周期的变化,蕴含着丰富的有关心血管系统的生理和病理信息。但心率变异性信号从心电信号获取,繁杂的连线和电极使其在便携可穿戴式医疗仪器中应用受到限制。脉率变异性信号,也产生于心脏搏动周期的变化,与心率变异性信号相似,亦蕴含着大量有关心血管系统的生理和病理信息。相比心电信号,脉率变异性信号从脉搏信号中获取,获取过程简单,可方便用于便携可穿戴式医疗仪器。动态脉率变异性信号从动态脉搏信号中提取,相比于离线信号分析,在线的实时分析对心血管疾病的监护和及时预警十分重要。 Heart rate variability signals are generated from changes in the cardiac beating cycle and contain rich physiological and pathological information about the cardiovascular system. However, heart rate variability signals are obtained from ECG signals, and the complicated connections and electrodes limit its application in portable and wearable medical devices. The pulse rate variability signal is also generated from the change of the heart beat cycle. Similar to the heart rate variability signal, it also contains a lot of physiological and pathological information about the cardiovascular system. Compared with the ECG signal, the pulse rate variability signal is obtained from the pulse signal, the acquisition process is simple, and it can be conveniently used in portable wearable medical instruments. The dynamic pulse rate variability signal is extracted from the dynamic pulse signal. Compared with offline signal analysis, online real-time analysis is very important for the monitoring and timely warning of cardiovascular diseases.

目前,对脉率变异性分析主要参考心率变异性的分析方法,常用的为时域、频域、时频域及非线性分析方法。脉率变异性信号为非平稳的时变信号,非线性方法可更加有效地提取信号的复杂性变化。一些非线性特征如样本熵、近似熵、符号序列熵、基本尺度熵等信息熵分析方法,可用来计算心率变异性信号复杂性。其中,基本尺度熵可有效地分析心率变异性信号,用于识别冠心病等疾病,取得了很好的效果。但基本尺度熵的运算量随着信号长度的增加而呈指数级增长,且运算中间变量占用系统大量的内存,给动态脉率变异性信号复杂性测度的实时计算带来极大困难。 At present, the analysis of pulse rate variability mainly refers to the analysis methods of heart rate variability, and the commonly used methods are time domain, frequency domain, time-frequency domain and nonlinear analysis methods. The pulse rate variability signal is a non-stationary time-varying signal, and the nonlinear method can extract the complexity change of the signal more effectively. Some nonlinear features such as sample entropy, approximate entropy, symbol sequence entropy, basic scale entropy and other information entropy analysis methods can be used to calculate the complexity of heart rate variability signals. Among them, the basic scale entropy can effectively analyze the heart rate variability signal, and it can be used to identify diseases such as coronary heart disease, and has achieved good results. However, the calculation amount of the basic scale entropy increases exponentially with the increase of the signal length, and the calculation intermediate variables occupy a large amount of memory in the system, which brings great difficulties to the real-time calculation of the dynamic pulse rate variability signal complexity measure.

发明内容 Contents of the invention

本发明的目的是为快速准确地实现脉率变异性信号复杂性测度计算,用于心血管疾病的在线监护与预警。 The purpose of the invention is to quickly and accurately realize the measurement calculation of the pulse rate variability signal complexity, which is used for online monitoring and early warning of cardiovascular diseases.

本发明是动态脉率变异性信号复杂性测度实时计算方法,其步骤为: The present invention is a dynamic pulse rate variability signal complexity measure real-time calculation method, and its steps are:

(1)对动态脉搏信号检测与处理,动态脉搏信号检测与处理由光电脉搏传感器、脉搏信号检测模块、蓝牙模块和智能手机模块完成; (1) For dynamic pulse signal detection and processing, dynamic pulse signal detection and processing are completed by photoelectric pulse sensor, pulse signal detection module, Bluetooth module and smart phone module;

(2)动态脉搏信号预处理与动态脉率变异性信号提取,记为PP(i),其中PP(i)为第i个采样值; (2) Dynamic pulse signal preprocessing and dynamic pulse rate variability signal extraction, denoted as PP ( i ), where PP ( i ) is the ith sampling value;

(3)采用滑窗的方式更新动态脉率变异性信号采样点PP(N),其中PP(N)为第N个采样值; (3) Update the dynamic pulse rate variability signal sampling point PP ( N ) by sliding window, where PP ( N ) is the Nth sampling value;

(4)重构PP(1)和PP(N)所在的时间序列,分别记为X(1)和X(N-m+1),其中m为时间序列长度; (4) Reconstruct the time series where PP (1) and PP ( N ) are located, denoted as X (1) and X ( N - m +1) respectively, where m is the length of the time series;

(5)符号化X(1)和X(N-m+1) 序列,分别记为{S 1(j)}和{S N-m+2(j)},其中j为相应序列符号化后第j点值; (5) Symbolize X (1) and X ( N - m +1) sequences, respectively denoted as { S 1 ( j )} and { S N - m +2 ( j )}, where j is the symbolization of the corresponding sequence The value of the jth point after;

(6)产生{S 1(j)}和{S N-m+2(j)}编码的存储位置; (6) Generate { S 1 ( j )} and { S N - m +2 ( j )} encoded storage locations;

(7)迭代更新熵值。 (7) Iteratively update the entropy value.

本发明的有益之处是:采用滑窗迭代基本尺度熵分析法是指采用滑窗迭代思想实现的基本尺度熵计算,相比于原基本尺度熵分析法,可以实现单采样点分析。在不影响计算精度的前提下,可提高算法运行速度,节约系统内存。滑窗迭代对基本尺度熵的改进方法还可用于其他如符号序列熵等信息熵的改进。 The advantage of the present invention is that the basic scale entropy analysis method using the sliding window iteration refers to the basic scale entropy calculation realized by using the sliding window iterative thought. Compared with the original basic scale entropy analysis method, single sampling point analysis can be realized. Under the premise of not affecting the calculation accuracy, the algorithm running speed can be improved and the system memory can be saved. The improvement method of sliding window iteration to basic scale entropy can also be used to improve other information entropy such as symbol sequence entropy.

心率变异性信号可以反映人体自主神经系统活性,同时也可以用来评估交感神经与迷走神经的平衡性。通过滑窗迭代基本尺度熵分析法实时分析动态脉率变异性信号,得到可以反映心脏搏动变化的基本尺度熵。从而了解自主神经的系统的状态,实现疾病的监测与预警。 Heart rate variability signals can reflect the activity of the human autonomic nervous system, and can also be used to evaluate the balance of sympathetic and vagus nerves. Through the sliding window iterative basic scale entropy analysis method, the dynamic pulse rate variability signal is analyzed in real time, and the basic scale entropy that can reflect the change of heart beat is obtained. In order to understand the state of the autonomic nervous system and realize the monitoring and early warning of diseases.

附图说明 Description of drawings

图1是本发明的脉搏信号检测与处理系统框图,图2是本发明的滑窗迭代基本尺度熵分析的算法原理图。 Fig. 1 is a block diagram of the pulse signal detection and processing system of the present invention, and Fig. 2 is an algorithm principle diagram of the sliding window iterative basic scale entropy analysis of the present invention.

具体实施方式 Detailed ways

如图1、图2所示,本发明是动态脉率变异性信号复杂性测度实时计算方法,其步骤为: As shown in Figure 1 and Figure 2, the present invention is a dynamic pulse rate variability signal complexity measure real-time calculation method, and its steps are:

(1)对动态脉搏信号检测与处理,动态脉搏信号检测与处理由光电脉搏传感器、脉搏信号检测模块、蓝牙模块和智能手机模块完成; (1) For dynamic pulse signal detection and processing, dynamic pulse signal detection and processing are completed by photoelectric pulse sensor, pulse signal detection module, Bluetooth module and smart phone module;

(2)动态脉搏信号预处理与动态脉率变异性信号提取,记为PP(i),其中PP(i)为第i个采样值; (2) Dynamic pulse signal preprocessing and dynamic pulse rate variability signal extraction, denoted as PP ( i ), where PP ( i ) is the ith sampling value;

(3)采用滑窗的方式更新动态脉率变异性信号采样点PP(N),其中PP(N)为第N个采样值; (3) Update the dynamic pulse rate variability signal sampling point PP ( N ) by sliding window, where PP ( N ) is the Nth sampling value;

(4)重构PP(1)和PP(N)所在的时间序列,分别记为X(1)和X(N-m+1),其中m为时间序列长度; (4) Reconstruct the time series where PP (1) and PP ( N ) are located, denoted as X (1) and X ( N - m +1) respectively, where m is the length of the time series;

(5)符号化X(1)和X(N-m+1) 序列,分别记为{S 1(j)}和{S N-m+2(j)},其中j为相应序列符号化后第j点值; (5) Symbolize X (1) and X ( N - m +1) sequences, respectively denoted as { S 1 ( j )} and { S N - m +2 ( j )}, where j is the symbolization of the corresponding sequence The value of the jth point after;

(6)产生{S 1(j)}和{S N-m+2(j)}编码的存储位置; (6) Generate { S 1 ( j )} and { S N - m +2 ( j )} encoded storage locations;

(7)迭代更新熵值。 (7) Iteratively update the entropy value.

根据以上所述的动态脉率变异性信号复杂性测度实时计算方法,述步骤(1)所述的动态脉搏信号的检测与处理由光电脉搏传感器、脉搏信号检测模块、蓝牙模块和智能手机模块完成。图1所示为动态脉搏信号的检测与处理系统框图。实现动态脉搏信号的检测与处理,信号采样频率为250Hz。 According to the above-mentioned real-time calculation method of dynamic pulse rate variability signal complexity measurement, the detection and processing of the dynamic pulse signal described in step (1) is completed by the photoelectric pulse sensor, pulse signal detection module, bluetooth module and smart phone module . Figure 1 shows the block diagram of the detection and processing system of the dynamic pulse signal. Realize the detection and processing of dynamic pulse signal, the signal sampling frequency is 250Hz.

根据以上所述的动态脉率变异性信号复杂性测度实时计算方法,上述步骤(2)所述对采集动态脉搏信号进行预处理与提取,按如下步骤进行: According to the real-time calculation method of the dynamic pulse rate variability signal complexity measure described above, the preprocessing and extraction of the collected dynamic pulse signal described in the above step (2) is carried out according to the following steps:

(1)通过截至频率为62.5Hz的整系数低通滤波器实时滤除肌电干扰和随机噪声; (1) Real-time filtering of myoelectric interference and random noise through an integer coefficient low-pass filter with a cut-off frequency of 62.5Hz;

(2)50Hz及其整数倍谐波陷波器去除基线漂移和工频干扰; (2) 50Hz and its integer multiple harmonic notch filter to remove baseline drift and power frequency interference;

(3)对滤波后的信号采用动态差分阈值法提取动态脉率变异性信号。此处的脉率变异性信号为脉搏信号的主波间期,记为PP(i),其中PP(i)为第i个采样值,单位为ms。 (3) The dynamic pulse rate variability signal is extracted by using the dynamic difference threshold method on the filtered signal. The pulse rate variability signal here is the main wave interval of the pulse signal, which is denoted as PP ( i ), where PP ( i ) is the i -th sampling value, and the unit is ms.

根据以上所述的动态脉率变异性信号复杂性测度实时计算方法,上述步骤(3)所述采用滑窗的方式更新动态脉率变异性信号采样点PP(N),其中PP(N)为第N个采样值,设定数据缓冲区,缓存提取的动态脉率变异性信号,记数据缓冲区长度为N个采样点。以数据缓冲区为窗口,通过滑窗的方式实现动态脉率变异性信号采样点的更新,在更新采样点的同时,通过迭代的方式计算基本尺度熵。按如下步骤进行: According to the real-time calculation method of the dynamic pulse rate variability signal complexity measure described above, the sliding window method is used to update the dynamic pulse rate variability signal sampling point PP ( N ) in the above step (3), where PP ( N ) is For the Nth sampling value, set the data buffer to buffer the extracted dynamic pulse rate variability signal, and record the length of the data buffer as N sampling points. Using the data buffer as a window, the dynamic pulse rate variability signal sampling points are updated by means of a sliding window. While updating the sampling points, the basic scale entropy is calculated iteratively. Proceed as follows:

(1)先在内存开辟空间,缓存新的采样点,将其记为PP(N+1); (1) Open up space in the memory first, cache new sampling points, and record it as PP ( N +1);

(2)剔除最早缓存的采样点PP(1),高位的采样点向低位移动,PP(i)=PP(i+1); (2) Eliminate the earliest cached sampling point PP (1), and move the high-order sampling point to the low-order, PP ( i )= PP ( i +1);

(3)再将预先缓存的PP(N+1)放在缓存区的最高位,即PP(N)=PP(N+1)。 (3) Put the pre-cached PP ( N +1 ) in the highest position of the buffer area, that is, PP ( N ) = PP ( N +1 ).

根据以上所述的动态脉率变异性信号复杂性测度实时计算方法,上述步骤(4)所述重构PP(1)和PP(N)所在的时间序列,其中m为时间序列长度,根据基本尺度熵的原理,需要将N个缓存的采样点重构产生N-m+1个长度为m的时间序列,每个时间序列代表一种心脏搏动模式。为了减少重构过程计算量和存储空间,本发明采用迭代方式实现熵值的计算。按如下步骤进行: According to the real-time calculation method of the dynamic pulse rate variability signal complexity measure described above, the time series where PP (1) and PP ( N ) are reconstructed in the above step (4), where m is the length of the time series, according to the basic The principle of scale entropy requires reconstruction of N cached sampling points to generate N - m + 1 time series of length m , and each time series represents a heart beat pattern. In order to reduce the amount of calculation and storage space in the reconstruction process, the present invention implements the calculation of the entropy value in an iterative manner. Proceed as follows:

(1)将PP(1)所在的时间序列重构为: (1) Reconstruct the time series where PP (1) is located as:

                  (1) (1)

(2)将PP(N)所在的时间序列重构为: (2) Reconstruct the time series where PP ( N ) is located as:

          (2)。 (2).

根据以上所述的动态脉率变异性信号复杂性测度实时计算方法,上述步骤(5)所述符号化X(1)和X(N-m+1) 序列,其中j为相应序列符号化后第j点值,按如下步骤进行: According to the real-time calculation method of the dynamic pulse rate variability signal complexity measure described above, the symbolized X (1) and X ( N - m +1) sequences described in the above step (5), where j is the corresponding sequence symbolized For the value of the jth point, proceed as follows:

(1)符号化X(1)序列。其中,采用下式对PP(1)符号化: (1) Symbolize the X (1) sequence. Among them, PP (1) is symbolized by the following formula:

          (3) (3)

式中,μ 1为时间序列X(1)的均值,α为常数,用来调节符号化边界。BS 1为基本尺度,用来确定符号化边界。BS 1为: In the formula, μ 1 is the mean value of the time series X (1), and α is a constant, which is used to adjust the symbolization boundary. BS 1 is the basic scale used to determine symbolic boundaries. BS 1 is:

          (4) (4)

(2)符号化X(N-m+1)序列。过程同(1),记为{S N-m+2(j)},j=1, …, m(2) Symbolize the X ( N - m +1 ) sequence. The process is the same as (1), recorded as {S N - m +2 ( j )}, j =1, …, m .

根据以上所述的动态脉率变异性信号复杂性测度实时计算方法,上述步骤(6)所述产生{S 1(j)}和{S N-m+2(j)}编码的存储位置。每一种不同的时间序列代表一种不同的心脏搏动模式,故包含4种符号且长度为m的时间序列可代表4 m 种心脏搏动模式。统计每一种不同模式占整个N-m+1个模式的几率,用来计算整个时间序列的熵值,于是,需要更新{S 1(j)}和{S N-m+2(j)}的出现和个数。其中S 1编码存储位置为: According to the above-mentioned real-time calculation method of the dynamic pulse rate variability signal complexity measure, the above-mentioned step (6) generates { S 1 ( j )} and { S N - m +2 ( j )} encoded storage locations. Each different time series represents a different cardiac beating mode, so a time series containing 4 symbols and a length of m can represent 4 m cardiac beating modes. Count the probability of each different mode accounting for the entire N - m +1 mode, and use it to calculate the entropy value of the entire time series. Therefore, it is necessary to update { S 1 ( j )} and { S N - m +2 ( j ) } occurrence and number. The storage location of the S 1 code is:

           (5)。 (5).

根据以上所述的动态脉率变异性信号复杂性测度实时计算方法,上述步骤(7)所述迭代更新熵值。 According to the above-mentioned real-time calculation method of the dynamic pulse rate variability signal complexity measure, the above-mentioned step (7) iteratively updates the entropy value.

采用迭代的方式实现熵值的更新,故需从上一次计算结果中减去{S 1(j)}的熵值,加上{S N-m+2(j)}的熵值,即可实现所有采样点熵值的计算。每一次数据更新之后,{S 1(j)}所代表的心脏搏动模式个数减1,{S N-m+2(j)}所代表的模式个数加1。个数分别用n(h)和n(k)表示,如图2示。 The update of the entropy value is implemented in an iterative manner, so the entropy value of { S 1 ( j )} needs to be subtracted from the last calculation result, and the entropy value of { S N - m +2 ( j )} needs to be added. Realize the calculation of the entropy value of all sampling points. After each data update, the number of cardiac beat patterns represented by { S 1 ( j )} is reduced by 1, and the number of patterns represented by { S N - m +2 ( j )} is increased by 1. The numbers are represented by n ( h ) and n ( k ) respectively, as shown in Figure 2.

更新完{S 1(j)}和{S N-m+2(j)}的个数之后,便可迭代更新熵值。记滑窗前熵值为BS′(m),{S 1(j)}的个数为n′(h),出现几率为p′(h),{S N-m+2(j)}的个数为n′(k),出现几率为p′(k);滑窗后熵值为BS(m),{S 1(j)}的个数为n(h),出现几率为p(h),{S N-m+2(j)}的个数为n(k),出现几率为p(k)。初始BS′=0,迭代过程中n(h)=n′(h)-1,n(k)=n′(k)+1。根据两种模式个数的变化规律,以及熵值计算过程中对数的真数必须大于0; After updating the numbers of { S 1 ( j )} and { S N - m +2 ( j )}, the entropy value can be updated iteratively. The entropy value before the sliding window is BS′ ( m ), the number of { S 1 ( j )} is n ′ ( h ), the probability of occurrence is p ′ ( h ), { S N - m +2 ( j )} The number of { S 1 ( j )} is n ′ ( k ), the probability of occurrence is p ′ ( k ); the entropy value after the sliding window is BS ( m ), the number of { S 1 ( j )} is n ( h ), and the probability of occurrence is p ( h ), the number of { S N - m +2 ( j )} is n ( k ), and the probability of occurrence is p ( k ). Initial BS ′=0, n ( h )= n ′( h )-1, n ( k )= n ′( k )+1 during iteration. According to the changing law of the number of the two modes, and the true number of the logarithm in the entropy calculation process must be greater than 0;

按如下步骤进行: Proceed as follows:

(1)记滑窗前熵值为BS′(m),{S 1(j)}的个数为n′(h),计算出现概率,记为p′(h),{S N-m+2(j)}的个数为n′(k),计算出现概率,记为p′(k); (1) Record the entropy value before the sliding window as BS′ ( m ), the number of { S 1 ( j )} is n ′ ( h ), calculate the probability of occurrence, and record it as p ′ ( h ), { S N - m The number of +2 ( j )} is n ′ ( k ), and the probability of occurrence is calculated, which is recorded as p ′ ( k );

(2)滑窗后熵值为BS(m),{S 1(j)}的个数为n(h),计算出现概率,记为p(h),{S N-m+2(j)}的个数为n(k),计算出现概率,记为p(k); (2) The entropy value after the sliding window is BS ( m ), the number of { S 1 ( j )} is n ( h ), and the probability of occurrence is calculated, which is recorded as p ( h ), { S N - m +2 ( j )} is n ( k ), and the probability of occurrence is calculated as p ( k );

(3)初始BS′=0,迭代过程中n(h)=n′(h)-1,n(k)=n′(k)+1; (3) Initial BS ′=0, n ( h )= n ′( h )-1, n ( k )= n ′( k )+1 during iteration;

(4)迭代更新。根据两种模式个数的变化规律,以及熵值计算过程中对数的真数必须大于0的限制,有以下四种迭代更新方式: (4) Iterative update. According to the change law of the number of the two modes, and the restriction that the true number of the logarithm must be greater than 0 in the entropy calculation process, there are the following four iterative update methods:

(a)n(h)>0,n(k)>1,表示{S 1(j)}和{S N-m+2(j)}所代表的模式在滑窗的前后都存在。于是,在计算熵值的过程中,不需要考虑对数真数为0的情况。由于: (a) n ( h )>0, n ( k )>1, which means that the modes represented by { S 1 ( j )} and { S N - m +2 ( j )} exist both before and after the sliding window. Therefore, in the process of calculating the entropy value, there is no need to consider the case that the true logarithm is 0. because:

            (6) (6)

          (7) (7)

式中,M=4 m 。滑窗前后,只有{S 1(j)}和{S N-m+2(j)}所代表模式的个数发生了变化,其它模式不变,则-p(1)log2 p(1)=-p′(1)log2 p′(1),…,-p(M)log2 p(M)=-p′(M)log2 p′(M)。于是,式(6)减式(7)可得: In the formula, M = 4m . Before and after the sliding window, only the number of modes represented by { S 1 ( j )} and { S N - m +2 ( j )} has changed, and other modes remain unchanged, then - p (1)log 2 p (1 )=- p′ (1)log 2 p′ (1),…, -p ( M )log 2 p ( M )=- p′ ( M )log 2 p′ ( M ). Then, subtract formula (7) from formula (6) to get:

           (8) (8)

进一步对式(8)化简: Further simplify the formula (8):

         (9) (9)

特殊的,当滑窗前后{S 1(j)}和{S N-m+2(j)}代表同一种模式时。首先,{S 1(j)}所代表模式的个数减1,n(h)=n′(h)-1;然后,{S N-m+2(j)}所代表模式个数加1,n(k)=n′(k)+1=n(h)+1=n′(h)。则式(8)为: Especially, when { S 1 ( j )} and { S N - m +2 ( j )} before and after the sliding window represent the same pattern. First, the number of patterns represented by { S 1 ( j )} minus 1, n ( h ) = n ′( h )-1; then, the number of patterns represented by { S N - m +2 ( j )} increases 1, n ( k ) = n '( k )+1= n ( h )+1= n '( h ). Then formula (8) is:

         (10) (10)

即,滑窗前后熵值未改变。因为{S 1(j)}和{S N-m+2(j)}代表同一种模式时,滑窗前后各模式的个数没有改变。 That is, the entropy value does not change before and after the sliding window. Because { S 1 ( j )} and { S N - m +2 ( j )} represent the same mode, the number of modes before and after the sliding window does not change.

或(b)n(h)=0,n(k)>1,表示{S 1(j)}所代表的模式在滑窗之后消失。则n′(h)=1,p(h)=0,p′(h)=1/(N-m+1)。则由式(8)得: Or (b) n ( h )=0, n ( k )>1, which means that the mode represented by { S 1 ( j )} disappears after the sliding window. Then n ′( h )=1, p ( h )=0, p ′( h )=1/( N - m +1). Then from formula (8):

         (11) (11)

或(c)n(h)>0,n(k)=1,表示{S N-m+2(j)}所代表的模式在滑窗后消失。则n′(h)=n(h)+1,n(k)=1,n′(k)=0,p′(k)=0,p(k)=1/(N-m+1)。则由式(8)可得: Or (c) n ( h )>0, n ( k )=1, which means that the mode represented by { S N - m +2 ( j )} disappears after the sliding window. Then n ′( h )= n ( h )+1, n ( k )=1, n ′( k )=0, p ′( k )=0, p ( k )=1/( N - m +1 ). Then it can be obtained from formula (8):

         (12) (12)

或(d) n(h)=0,n(k)=1,表示{S 1(j)}所代表的模式消失,{S N-m+2(j)}所代表的模式第一次出现,故总模式的个数不变。则n′(h)=1,n′(k)=0,p′(k)=p(h)=0,p′(h)=p(k)=1/(N-m+1)。由式(8)可得: Or (d) n ( h ) = 0, n ( k ) = 1, which means that the mode represented by { S 1 ( j )} disappears, and the mode represented by { S N - m +2 ( j )} is the first time appear, so the number of total patterns remains unchanged. Then n ′( h )=1, n ′( k )=0, p ′( k )= p ( h )=0, p ′( h )= p ( k )=1/( N - m +1) . From formula (8) can get:

         (13) (13)

通过式(9)-式(13)可得到动态脉率变异性信号的基本尺度熵值,通过熵值的变化,实时地实现动态脉率变异性信号复杂性测度的计算。 The entropy value of the basic scale of the dynamic pulse rate variability signal can be obtained through formula (9) - formula (13), and the calculation of the complexity measure of the dynamic pulse rate variability signal can be realized in real time through the change of the entropy value.

Claims (7)

1. dynamic pulse frequency Variability Signals Complexity Measurement real-time computing technique, is characterized in that, the steps include:
(1) to dynamic pulse signal detection and treatment, dynamic pulse signal detection and treatment is completed by photoelectric sphyg sensor, pulse signal detection module, bluetooth module and smart mobile phone module;
(2) dynamic pulse signal pretreatment and dynamic pulse frequency Variability Signals extract, and are designated as pP( i), wherein pP( i) be iindividual sampled value;
(3) the mode Regeneration dynamics pulse frequency Variability Signals sampled point of sliding window is adopted pP( n), wherein pP( n) be nindividual sampled value;
(4) reconstruct pP(1) and pP( n) time series at place, be designated as respectively x(1) and x( n- m+ 1), wherein mfor length of time series;
(5) symbolization x(1) and x( n- m+ 1) sequence, be designated as respectively s 1( j) and s n- m+ 2 ( j), wherein jfor after corresponding sequence symbolization jpoint value;
(6) produce s 1( j) and s n- m+ 2 ( j) memory location of encoding;
(7) iteration upgrades entropy.
2. dynamic pulse frequency Variability Signals Complexity Measurement real-time computing technique according to claim 1, is characterized in that step (2) is described and carries out pretreatment and extraction to collection dynamic pulse signal, carry out as follows:
(1) the real-time filtering myoelectricity interference of the integral coefficient LP filter by by frequency being 62.5Hz and random noise;
(2) 50Hz and integer harmonics wave trap thereof remove baseline drift and Hz noise;
(3) dynamic difference threshold method is adopted to extract dynamic pulse frequency Variability Signals to filtered signal;
Pulse frequency Variability Signals is herein the main ripple interval of pulse signal, is designated as pP( i), wherein pP( i) be iindividual sampled value.
3. dynamic pulse frequency Variability Signals Complexity Measurement real-time computing technique according to claim 1, is characterized in that the described mode Regeneration dynamics pulse frequency Variability Signals sampled point adopting sliding window of step (3) pP( n), wherein pP( n) be nindividual sampled value, carry out as follows:
(1) first at internal memory opening space, the sampled point that buffer memory is new, is designated as pP( n+ 1);
(2) sampled point of buffer memory is the earliest rejected pP(1), high-order sampled point moves to low level, pP( i)= pP( i+ 1);
(3) again by buffer memory in advance pP( n+ 1) highest order of buffer area is placed on, namely pP( n)= pP( n+ 1).
4. dynamic pulse frequency Variability Signals Complexity Measurement real-time computing technique according to claim 1, is characterized in that step (4) described reconstruct pP(1) and pP( n) time series at place, be designated as respectively x(1) and x( n- m+ 1), wherein mfor length of time series, carry out as follows:
(1) will pP(1) time series at place is reconstructed into:
(1)
(2) will pP( n) time series at place is reconstructed into:
(2)。
5. dynamic pulse frequency Variability Signals Complexity Measurement real-time computing technique according to claim 1, is characterized in that step (5) described symbolization x(1) and x( n- m+ 1) sequence, be designated as respectively s 1( j) and s n- m+ 2 ( j), wherein jfor after corresponding sequence symbolization jpoint value, carries out as follows:
(1) symbolization x(1) sequence:
Wherein, following formula pair is adopted pP(1) symbolization:
(3)
In formula, μ 1for time series x(1) average, αfor constant, be used for regulating symbolization border; bS 1for cardinal scales, be used for determining symbolization border;
bS 1for:
(4)
(2) symbolization x( n- m+ 1) sequence:
Process, with (1), is designated as { S n- m+ 2 ( j), j=1 ..., m.
6. dynamic pulse frequency Variability Signals Complexity Measurement real-time computing technique according to claim 1, it is characterized in that step (6) described generation s 1( j) and s n- m+ 2 ( j) memory location of encoding, wherein s 1code storage position is:
(5)。
7. dynamic pulse frequency Variability Signals Complexity Measurement real-time computing technique according to claim 1, is characterized in that the described iteration of step (7) upgrades entropy, carries out as follows:
(1) before the sliding window of note, entropy is bS '( m), s 1( j) number be n' ( h), calculate probability of occurrence, be designated as p' ( h), s n- m+ 2 ( j) number be n' ( k), calculate probability of occurrence, be designated as p' ( k);
(2) after sliding window, entropy is bS( m), s 1( j) number be n( h), calculate probability of occurrence, be designated as p( h), s n- m+ 2 ( j) number be n( k), calculate probability of occurrence, be designated as p( k);
(3) initial bS'=0, in iterative process n( h)= n' ( h)-1, n( k)= n' ( k)+1;
(4) iteration upgrades: according to the Changing Pattern of two kinds of number of modes, and in entropy computational process, the antilog of logarithm must be greater than the restriction of 0, has following four kinds of iteration update modes:
(a) n( h) >0, n( k) >1, represent s 1( j) and s n- m+ 2 ( j) represented by pattern all exist in the front and back of sliding window;
Entropy iterative formula is:
(6)
Special, before and after sliding window, s 1( j) and s n- m+ 2 ( j) when representing same mode; First, s 1( j) number of representative pattern subtracts 1, n( h)= n' ( h)-1; Then, s n- m+ 2 ( j) representative number of modes adds 1, n( k)= n' ( k)+1= n( h)+1= n' ( h); Entropy iterative formula is:
(7)
Or (b) n( h)=0, n( k) >1, represent s 1( j) representated by pattern disappear after sliding window; Then n' ( h)=1, p( h)=0, p' ( h)=1/ ( n- m+ 1); Entropy iterative formula is:
(8)
Or (c) n (h)>0, n (k)=1, represent s n- m+ 2 ( j) representated by pattern disappear after sliding window; Then n' ( h)= n( h)+1, n( k)=1, n' ( k)=0, p' ( k)=0, p( k)=1/ ( n- m+ 1); Entropy iterative formula is:
(9)
Or (d) n( h)=0, n( k)=1, represent s 1( j) representated by pattern disappear, { s n- m+ 2 ( j) representated by pattern first time occur, therefore the number of assemble mode is constant; Then n' ( h)=1, n' ( k)=0, p' ( k)= p( h)=0, p' ( h)= p( k)=1/ ( n- m+ 1); Entropy iterative formula is:
(10)
Through type (6)-Shi (10) can obtain the cardinal scales entropy of dynamic pulse frequency Variability Signals, by the change of entropy, realizes the calculating of dynamic pulse frequency Variability Signals Complexity Measurement in real time.
CN201510416062.5A 2015-07-16 2015-07-16 Real-time calculation method for measurement of complexity of dynamic pulse rate variant signal Pending CN104983411A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510416062.5A CN104983411A (en) 2015-07-16 2015-07-16 Real-time calculation method for measurement of complexity of dynamic pulse rate variant signal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510416062.5A CN104983411A (en) 2015-07-16 2015-07-16 Real-time calculation method for measurement of complexity of dynamic pulse rate variant signal

Publications (1)

Publication Number Publication Date
CN104983411A true CN104983411A (en) 2015-10-21

Family

ID=54295414

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510416062.5A Pending CN104983411A (en) 2015-07-16 2015-07-16 Real-time calculation method for measurement of complexity of dynamic pulse rate variant signal

Country Status (1)

Country Link
CN (1) CN104983411A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109497973A (en) * 2018-12-24 2019-03-22 兰州理工大学 The detection system and detection method of pulse and blood oxygenation information under daily unsupervised state
CN110430805A (en) * 2016-11-30 2019-11-08 利得高集团有限公司 Improve the hemodynamic monitors of filtering function

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103690152A (en) * 2014-01-06 2014-04-02 山东大学 Arterial elasticity evaluating device based on pulse analysis
CN104573458A (en) * 2014-12-30 2015-04-29 深圳先进技术研究院 Identity recognition method, device and system based on electrocardiogram signals

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103690152A (en) * 2014-01-06 2014-04-02 山东大学 Arterial elasticity evaluating device based on pulse analysis
CN104573458A (en) * 2014-12-30 2015-04-29 深圳先进技术研究院 Identity recognition method, device and system based on electrocardiogram signals

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
丑永新等: "基于手机的动态脉率变异性信号提取与分析", 《中国医疗器械杂志》 *
丑永新等: "基于改进滑窗迭代DFT的动态脉率变异性提取", 《仪器仪表学报》 *
严碧歌等: "应用多尺度化的基本尺度熵分析心率变异性", 《物理学报》 *

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110430805A (en) * 2016-11-30 2019-11-08 利得高集团有限公司 Improve the hemodynamic monitors of filtering function
CN110430805B (en) * 2016-11-30 2022-07-05 利得高集团有限公司 Hemodynamics monitor with improved filtering function
US11382567B2 (en) 2016-11-30 2022-07-12 Lidco Group Plc Haemodynamic monitor with improved filtering
US12138079B2 (en) 2016-11-30 2024-11-12 Masimo Corporation Haemodynamic monitor with improved filtering
CN109497973A (en) * 2018-12-24 2019-03-22 兰州理工大学 The detection system and detection method of pulse and blood oxygenation information under daily unsupervised state

Similar Documents

Publication Publication Date Title
EP3692904B1 (en) Method and device for self-learning dynamic electrocardiography analysis employing artificial intelligence
Pal et al. Detection of ECG characteristic points using multiresolution wavelet analysis based selective coefficient method
Hou et al. A real-time QRS detection method based on phase portraits and box-scoring calculation
WO2022052358A1 (en) Cardiac abnormality detection network training method and cardiac abnormality early warning method and apparatus
CN106815570B (en) A method for ST-T segment recognition of ECG signal based on dynamic pattern recognition
CN109907752A (en) A kind of cardiac diagnosis and monitoring method and system of the interference of removal motion artifacts and ecg characteristics detection
Zhang et al. Using Lempel–Ziv complexity to assess ECG signal quality
KR101366101B1 (en) System and method for classificating normal signal of personalized ecg
CN105286853A (en) Disease detection method and device based on wearable device and wearable device
CN102885616A (en) Method for removing baseline drift from pulse wave signal
CN115120248A (en) Histogram-based adaptive threshold R peak detection and heart rhythm classification method and device
CN115363586A (en) A system and method for assessing psychological stress levels based on pulse wave signals
CN104644160A (en) Electrocardiogram pseudo-difference signal identification method and device
Lee et al. A real-time abnormal beat detection method using a template cluster for the ECG diagnosis of IoT devices
CN110876615A (en) Real-time dynamic heart rate monitoring device and monitoring method
CN107361764A (en) A kind of rapid extracting method of electrocardiosignal signature waveform R ripples
Zhang et al. An Improved Real‐Time R‐Wave Detection Efficient Algorithm in Exercise ECG Signal Analysis
Hao et al. PPG heart rate extraction algorithm based on the motion artifact intensity Classification and removal framework
Bayasi et al. 65-nm ASIC implementation of QRS detector based on Pan and Tompkins algorithm
CN104983411A (en) Real-time calculation method for measurement of complexity of dynamic pulse rate variant signal
CN106096589A (en) The method carrying out pulse frequency Variability Analysis in short-term based on intelligent terminal's photographic head
Rao et al. Performance identification of different heart diseases based on neural network classification
Zhao et al. [Retracted] An Early Warning of Atrial Fibrillation Based on Short‐Time ECG Signals
Suchetha et al. Denoising and arrhythmia classification using EMD based features and neural network
CN108784683A (en) Ecg machine including filter for feature detection

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20151021

WD01 Invention patent application deemed withdrawn after publication