Method for Accurately Extracting Abnormal Potential within QRS
20200337582 ยท 2020-10-29
Inventors
Cpc classification
A61B5/7221
HUMAN NECESSITIES
A61B5/352
HUMAN NECESSITIES
International classification
A61B5/00
HUMAN NECESSITIES
Abstract
A method for accurately extracting an abnormal potential within a QRS, comprising: in an ideal electrocardiographic signal pre-estimation stage, pre-estimating an ideal electrocardiographic signal using a non-linear transformation technology;
according to the pre-estimated ideal electrocardiographic signal, further estimating the ideal electrocardiographic signal by using a spline method, so as to accurately estimate the ideal electrocardiographic signal; and according to the accurately estimated ideal electrocardiographic signal, accurately extracting an abnormal potential within the QRS by means of a mobile standard deviation analysis technology. The method can be used not only on an average electrocardiographic signal after multiple superimposition, but also on a single beat electrocardiographic signal.
Claims
1. A method of accurately extracting abnormal potential in QRS, characterized in that, comprising the steps of: Step 1: Pre-processing an original electrocardiographic (ECG) signal x.sub.1(i) to obtain a pre-processed ECG signal x.sub.2(i); when the original ECG signal is a measured single heart beat ECG signal, processing it by a low-pass filter and a power frequency bandpass filter to eliminate an influence of baseline drift and power frequency interference on subsequent processing; when the original ECG signal is a measured ECG signal containing multiple heart beats, processing it by a signal averaging technique to eliminate effects of baseline drift, power frequency interference and measurement noise on subsequent processing; Step 2: Processing feature point detection of the pre-processed ECG signal x.sub.2(i) to determine a feature point position and a QRS range, and obtaining an estimated ideal ECG signal by nonlinear transformation; first, processing feature point detection of the pre-processed ECG signal to determine a feature point position and a QRS range; secondly, filtering the pre-processed ECG signal obtained after processing step 1 by using two low-pass filters of different filtering frequencies respectively; then subtracting these two filtering results to obtain a difference signal, and searching for a first zero-crossing position before and after each feature point position of the difference signal; thereafter, substituting a time range contained in the first zero-crossing position before and after each feature point position by the filtering result with a higher filter frequency of the above two different filtering frequencies, and substituting other parts by the filtering result with a lower filter frequency of the above two different filtering frequencies to obtain a complex signal; finally, processing low-pass filtering for the complex signal to obtain an estimated ideal ECG signal; Step 3: Based on the pre-processed ECG signal, the feature point position and the estimated ideal ECG signal, using a spline interpolation technique to obtain an accurate estimated ideal ECG signal. First performing subtraction between the pre-processed ECG signal obtained from the step 1 and the estimated ideal ECG signal obtained from the step 2 to obtain an error signal, and searching for a zero-crossing position of the error signal; then, at the zero-crossing position of the error signal obtained after searching and the feature point position obtained from the step 2, taking a spline weight as 1, and others as 0; finally, based on the estimated ideal ECG signal obtained from the step 1 and the spline weight obtained, using cubic smoothing splines to obtain an accurate estimated ideal ECG signal; Step 4: Performing subtraction between the pre-processed ECG signal obtained from the step 1 and the accurate estimated ideal ECG signal obtained from the step 3, filtering a subtraction result by a band pass filter to obtain a filtered result; based on the filtered result and the QRS range obtained from the step 2, obtaining an abnormal potential in the QRS by moving standard deviation analysis technique; Step 5: Processing credibility evaluation on the obtained abnormal potential in the QRS. Evaluating a credibility of the abnormal potential in the QRS obtained in step 4 by using a standard deviation analysis method, and determining whether the abnormal potential in the QRS obtained from the step 4 is credible, and outputting an evaluation result.
2. The method of accurately extracting abnormal potential in QRS according to claim 1, characterized in that, the step 2, specifically, is: (1) Using x.sub.2(i) to process ECG feature point detection to obtain the QRS range, a starting position QRS.sub.b, an ending position QRS.sub.e and a ECG feature point position p(j), the number of feature points is M, J=1, 2, . . . , M. The ECG feature points includes at least a QRS starting point, a QRS ending point, and Q, R, S waveform peak points; (2) Filtering x.sub.2(i) by a higher frequency low-pass filter to obtain x.sub.hi, f.sub.h refers to a filter frequency of the low-pass filter, 100 Hzf.sub.h200 Hz (3) Filtering x.sub.2(l) by a lower frequency low-pass filter to obtain x.sub.l(i), f.sub.l refers to a filter frequency of the low-pass filter, 40 Hzf.sub.l80 Hz; (4) calculating the difference signal x.sub.d(i)by formula (3):
x.sub.d(i)=x.sub.h(i)x.sub.l(i), (3) Wherein x.sub.h(i) is a filter result of x.sub.2(i) by the higher frequency low-pass filter, x.sub.l(i) is a filter result of x.sub.2(i) by the lower frequency low-pass filter. (5) Based on the signal x.sub.d(i), searching the difference signal x.sub.d(i) for each ECG feature point time position p(j), j=1, 2, . . . , M, at backward and forward direction respectively to obtain a front and a back first zero crossing point respectively, then obtaining the corresponding time position p.sub.b(j) and p.sub.f(j) respectively; (6) constructing a point set se(j) according to p.sub.b(j) and p.sub.f(j):
set(j)={p.sub.b(j), p.sub.b(j)+1, . . . , p.sub.f(j)1, p.sub.f(j)}, (4) Based on this, construct Seth:
set.sub.h={set(1), set(2), . . . , set(M)}, (5) Based on set.sub.h, synthesize a complex signal x.sub.s(i) by formula (6):
3. The method of accurately extracting abnormal potential in QRS according to claim 1, characterized in that, the step 3, specifically, is: (1) Calculating the error signal x.sub.e(i)by equation (7):
x.sub.e(i)=x.sub.2(i)x.sub.3(i), (7) X.sub.3(i) is the estimated ideal ECG signal; (2) calculate the spline weight WO by equation (8):
4. The method of accurately extracting abnormal potential in QRS according to claim 1, characterized in that, the step 4, specifically, is: (1) calculate the difference signal e(i)by equation (9):
e(i)=x.sub.2(i)x.sub.4(i) (9) x.sub.4(i) is the accurately estimated ideal ECG signal; (2) Bandpass filter e(i) to obtain a signal y(i) which contains an abnormal potential in the QRS to be extracted, the bandpass filter bandwidth is selected according to specific needs; (3) calculate a moving window variance msd(i) for the signal y(i), and calculate msd(i) by equation (10):
ref.sub.msd=ref_msd.sub.mean+*ref_msd.sub.std, (11) herein generally choose to be greater than 2; (5) determine a starting position AIQP.sub.b of AIQPs based on ref.sub.msd, the specific method is: starting a forward search from the QRS starting position QRS.sub.b, and stopping the search if a duration of msd (j)>ref.sub.msd is greater than or equal to a preset constant m, wherein a position at this time is set as t.sub.b, calculate the starting position of AIQP.sub.b of AIQPs by formula (12):
AIQP.sub.b=t.sub.bMk, (12) Wherein m is generally 5 ms; if the ending position QRS.sub.e of QRS is searched, then AIQP.sub.b=0 and stopping the search. (6) determine whether AIQP.sub.b is searched, if AIQP.sub.b is equal to 0, then exit and return a failure flag, otherwise continue. (7) determine an ending position AIQP.sub.e of AIQPs based on ref.sub.msd, wherein the specific method is: starting a backward search from approximately 50 ms after the QRS ending position QRS.sub.e, if a duration of msd (i)>ref.sub.msd is greater than or equal to m, stopping the search, and the position at this time is set as t.sub.e, calculate the ending position of AIQP.sub.b of AIQPs by formula (13):
AIQP.sub.e=t.sub.e+m+k, (13) If the starting position AIQP.sub.b of AIQPs is searched, then AIQP.sub.e=0 and stopping the search, determine whether AIQP.sub.e is searched, if AIQP.sub.e is equal to 0, then exit and return a failure flag, otherwise continue. (8) extract abnormal potential AIQP(i) of QRS, which is calculated according to formula (14):
5. The method of accurately extracting abnormal potential in QRS according to claim 1, characterized in that, the step 5, specifically, is: (1) calculate the standard deviation of the reference interval ref.sub.std and the standard deviation of QRS region QRS.sub.std. ref.sub.msd is standard deviation of the reference interval y(i), QRS.sub.std is the standard deviation of the y(i) in the interval from the QRS starting position QRS.sub.b to the QRS ending position QRS.sub.e. Determine the credibility of the extraction result, which is calculated by formula (15):
Description
BRIEF DESCRIPTION OF THE DRAWINGS
[0061]
[0062]
[0063]
[0064]
[0065]
[0066]
[0067]
[0068]
[0069]
[0070]
[0071]
[0072]
[0073]
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENT
[0074] The principles the present invention are described in detail below with reference to the accompanying drawings.
[0075] Referring to
[0076] Step 1: Preprocessing the original ECG (electrocardiographic) signal x.sub.1(i) to obtain a pre-processed ECG signal x.sub.2(i); when the original ECG signal is a measured single heart beat ECG signal, it is processed by a low-pass filter and a power frequency bandpass filter to eliminate the influence of baseline drift and power frequency interference on the subsequent process; when the original ECG signal is a measured ECG signal containing multiple heart beats, it is processed by the signal averaging technique to eliminate the effects of baseline drift, power frequency interference and measurement noise on subsequent processes.
[0077] Step 2: Processing feature point detection of the pre-processed ECG signal x.sub.2(i) to determine feature point position and QRS range, and obtaining an estimated ideal ECG signal by nonlinear transformation. First, processing feature point detection of the pre-processed ECG signal to determine feature point position and QRS range; Secondly, filtering the pre-processed ECG signal obtained after processing step 1 by using two low-pass filters of different filtering frequencies respectively. Then, subtracting the obtained two filtering results to obtain a difference signal, and searching for a first zero-crossing position before and after each feature point position of the difference signal. Then, substituting a time range contained in the first zero-crossing position before and after each feature point position by a low-pass filter filtering result of the higher filter frequency of the above two different filtering frequencies, and substituting other parts by a low-pass filter filtering result of the lower filter frequency of the above two different filtering frequencies to obtain a complex signal. Finally, processing low-pass filtering for the complex signal to obtain an estimated ideal ECG signal.
[0078] Step 3: According to the pre-processed ECG signal, the feature point position and the estimated ideal ECG signal, using a spline interpolation technique to obtain an accurate estimated ideal ECG signal. Perform subtraction between the pre-processed ECG signal obtained by the step 1 and the estimated ideal ECG signal obtained by the step 2 to obtain an error signal. Search for a zero-crossing position of the error signal.
[0079] Then, at the position of the zero-crossing point of the error signal obtained after searching and the position of the feature point obtained by the step 2, take a spline weight as 1, and the others as 0. Finally, according to the estimated ideal ECG signal obtained in step 1 and the obtained spline weight, using cubic smoothing splines to obtain an accurate estimated ideal ECG signal.
[0080] Step 4: Perform subtraction between the pre-processed ECG signal obtained by the step 1 and the estimated ideal ECG signal obtained by the step 3 to obtain a subtraction result, filter the subtraction result by a band pass filter to obtain a filtered result. Based on the filtered result and the QRS range obtained in the step 2, obtain an abnormal potential in the QRS by moving the standard deviation analysis technique.
[0081] Step 5: Perform credibility evaluation on the obtained abnormal potential in the QRS. Using the standard deviation analysis method, evaluate a credibility of the abnormal potential in the QRS obtained in step 4, determine whether the abnormal potential in the QRS obtained in step 4 is credible, and output the evaluation result.
[0082]
[0083] The step 1, specifically, is as follows: referring to
[0084] At present, there are many baseline drift elimination methods. Since the baseline drift has no significant effect on the final extraction result, in
[0085] In
[0086] The step 2, specifically, is as follows: Refer to
[0087] In
[0088] In
[0089] In
x.sub.d(i)=x.sub.h(i)x.sub.1(i), (3)
[0090] In
[0091] In
[0092] In
[0093] For each p(j), the point set set(J) is constructed according to p.sub.b(j) and p.sub.f(j):
set(j)={p.sub.b(j), p.sub.b(j)+1, p.sub.f(j)1, p.sub.f(j)}, (4)
[0094] Based on this, construct Set.sub.h:
set.sub.h={set(1), set(2), . . . , set(M)}, (5)
[0095] In
[0096] In
[0097] In
[0098] Filter x.sub.s(i) to obtain estimated ideal ECG signal x.sub.3(i), f.sub.3 refers to a filter frequency of the low-pass filter 207, 100 Hzf.sub.3200 Hz In
[0099] The step 3, specifically, is as follows: Refer to
x.sub.e(i)=x.sub.2(i)x.sub.3(i), (7)
[0100] In
[0101] In
[0102] In
[0103] In
[0104] In
[0105] The step 4, specifically, is as follows: Refer to
[0106] In
e(i)=x.sub.2(i)x.sub.4(i), (9)
[0107] In
[0108] In
[0109] Wherein the window length is 2k+1, and k generally ranges from 2ms5ms.
[0110] In
[0111] In
ref.sub.msd=ref_msd.sub.mean+*ref_msd.sub.std, (11)
[0112] wherein generally choose to be greater than 2, the specific choice can be determined according to the actual situation.
[0113] In
[0114] In
AIQP.sub.b=t.sub.bmk, (12)
[0115] Wherein M is generally 5ms; if the ending position QRS.sub.e of QRS is searched, then AIQP.sub.b=0 and stopping the search.
[0116] In
[0117] In
AIQP.sub.e=t.sub.e+m+k, (13)
[0118] If the starting position AIQP.sub.b of AIQPs is searched, then AIQP.sub.e=0 and stopping the search.
[0119] In
[0120] In
[0121] In
[0122] The step 5, specifically, is as follows: Refer to
[0123] In
[0124] Wherein >1 the specific selection can be determined according to the actual situation.
[0125] If the credibility is equal to 0, then return a failure flag, otherwise return a success flag and at the same time return the extracted abnormal potential AIQP(i) in the QRS.
[0126]
[0127]