CN112006679A - Wearable electrocardiosignal R wave detection method based on window variance transformation - Google Patents
Wearable electrocardiosignal R wave detection method based on window variance transformation Download PDFInfo
- Publication number
- CN112006679A CN112006679A CN202010891751.2A CN202010891751A CN112006679A CN 112006679 A CN112006679 A CN 112006679A CN 202010891751 A CN202010891751 A CN 202010891751A CN 112006679 A CN112006679 A CN 112006679A
- Authority
- CN
- China
- Prior art keywords
- window
- wave
- electrocardiosignal
- noise
- variance
- 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.)
- Granted
Links
Images
Classifications
-
- A—HUMAN NECESSITIES
- A61—MEDICAL OR VETERINARY SCIENCE; HYGIENE
- A61B—DIAGNOSIS; SURGERY; IDENTIFICATION
- A61B5/00—Measuring for diagnostic purposes; Identification of persons
- A61B5/68—Arrangements of detecting, measuring or recording means, e.g. sensors, in relation to patient
- A61B5/6801—Arrangements of detecting, measuring or recording means, e.g. sensors, in relation to patient specially adapted to be attached to or worn on the body surface
- A61B5/6802—Sensor mounted on worn items
-
- A—HUMAN NECESSITIES
- A61—MEDICAL OR VETERINARY SCIENCE; HYGIENE
- A61B—DIAGNOSIS; SURGERY; IDENTIFICATION
- A61B5/00—Measuring for diagnostic purposes; Identification of persons
- A61B5/72—Signal processing specially adapted for physiological signals or for diagnostic purposes
- A61B5/7203—Signal processing specially adapted for physiological signals or for diagnostic purposes for noise prevention, reduction or removal
-
- A—HUMAN NECESSITIES
- A61—MEDICAL OR VETERINARY SCIENCE; HYGIENE
- A61B—DIAGNOSIS; SURGERY; IDENTIFICATION
- A61B5/00—Measuring for diagnostic purposes; Identification of persons
- A61B5/72—Signal processing specially adapted for physiological signals or for diagnostic purposes
- A61B5/7225—Details of analog processing, e.g. isolation amplifier, gain or sensitivity adjustment, filtering, baseline or drift compensation
-
- A—HUMAN NECESSITIES
- A61—MEDICAL OR VETERINARY SCIENCE; HYGIENE
- A61B—DIAGNOSIS; SURGERY; IDENTIFICATION
- A61B5/00—Measuring for diagnostic purposes; Identification of persons
- A61B5/72—Signal processing specially adapted for physiological signals or for diagnostic purposes
- A61B5/7235—Details of waveform analysis
Landscapes
- Health & Medical Sciences (AREA)
- Life Sciences & Earth Sciences (AREA)
- Engineering & Computer Science (AREA)
- Signal Processing (AREA)
- Surgery (AREA)
- Public Health (AREA)
- Biomedical Technology (AREA)
- Heart & Thoracic Surgery (AREA)
- Medical Informatics (AREA)
- Molecular Biology (AREA)
- Physics & Mathematics (AREA)
- Animal Behavior & Ethology (AREA)
- General Health & Medical Sciences (AREA)
- Pathology (AREA)
- Veterinary Medicine (AREA)
- Biophysics (AREA)
- Computer Vision & Pattern Recognition (AREA)
- Physiology (AREA)
- Psychiatry (AREA)
- Artificial Intelligence (AREA)
- Power Engineering (AREA)
- Measurement And Recording Of Electrical Phenomena And Electrical Characteristics Of The Living Body (AREA)
Abstract
A wearable electrocardiosignal R wave detection method based on window variance transformation is characterized in that noise and waveforms of amplitude values which have the largest influence on R wave detection are suppressed through the window variance transformation, a high-accuracy and strong-anti-interference real-time R wave detection method is realized by utilizing a self-adaptive updated threshold value and an RR interval, the original waveform form of a signal is taken as a starting point, characteristics capable of better representing the original signal are extracted, and the method is suitable for R wave detection of various electrocardiosignals. The method effectively inhibits the influence of large-amplitude noise interfering with R wave detection, can solve the problem that the false detection rate is increased due to larger noise amplitude when the R wave is detected by the traditional threshold-based method, and is suitable for R detection of various electrocardiosignals containing mixed superimposed noise, especially wearable dynamic electrocardiosignals.
Description
Technical Field
The invention relates to the technical field of electrocardiosignal waveform identification, in particular to a wearable electrocardiosignal R wave detection method based on window variance transformation.
Background
The QRS complex is the waveform with the largest amplitude and the most obvious characteristics in the electrocardiosignal, the form of the QRS complex is mostly in a stronger pulse shape, and the duration time is between 0.06s and 0.1 s. In the electrocardiosignal waveform detection, the accurate detection of the R wave is the basis of other waveform detection. The current common R wave identification methods include a digital filtering method, a wavelet transformation method, an adaptive threshold value, a convolutional neural network and the like. However, the above detection methods are mostly designed based on high-quality ECG signals, and the detection results are susceptible to noise interference, and are poor in robustness, especially when processing wearable dynamic ECG signals which are susceptible to strong interference of mixed noise such as motion artifacts. The traditional R wave detection algorithm is not suitable for electrocardiosignals with higher noise level, so that the problem of accurately and efficiently identifying R waves in the electrocardiosignals with high interference is a great challenge of electrocardiosignal waveform identification.
Disclosure of Invention
In order to overcome the defects of the technology, the invention provides the wearable electrocardiosignal R wave detection method which has high robustness and effectively inhibits the influence of the large-amplitude noise with interference in R wave detection and is based on the window variance transformation. The technical scheme adopted by the invention for overcoming the technical problems is as follows:
a wearable electrocardiosignal R wave detection method based on window variance transformation comprises the following steps:
a) utilizing a computer to suppress noise in the wearable dynamic electrocardiosignal to obtain a denoised electrocardiosignal;
b) carrying out waveform enhancement processing by using window variance square transformation, highlighting the QRS wave group in the electrocardiosignal after noise reduction, and inhibiting other waveforms and noises;
c) according to the difference between the amplitude of the QRS complex and other waveforms in the electrocardiosignal, R wave identification and detection are carried out to obtain an R wave set RS。
Further, in the step a), the noise in the wearable dynamic electrocardiosignal y containing the noise is filtered by using a moving average filtering method and a median filtering method, and the noise is filtered by a formulaCalculating to obtain a signal for removing high-frequency noise and baseline driftIn the formulaRepresents a moving average filtering method with a filtering window of M, M being the width of the filtering window, bwnThe baseline of the nth sample point extracted for median filtering. Further, step b) comprises the following steps:
b-1) extracting local extreme points of the electrocardiosignals subjected to noise reduction, and performing window division on the electrocardiosignals subjected to noise reduction according to the local extreme points and the front and back time window size w to obtain extreme point window signals segp=[S1,S2,...,SK],SKIs the K extreme point window signal;
b-2) using the formulaCalculating the variance v of the window corresponding to the Kth local extreme pointkIn the formula For removing high-frequency noise and base line drift signalsThe signal of the t-th sampling point in the sequence is obtained, and the variance wvt of the window signal of the extreme point is obtainedp=[v1,v2,...,vK];
b-3) dividing n sampling points between two adjacent local extreme points into a window, setting the variance of the window to be 0, and setting a window signal seg corresponding to a non-extreme points=[ns1,ns2,...,nsK-1]Window signal segsCorresponding variance of wvts=[0,0,...,0];
b-4) combining the window signal variances of the extreme points wvt according to the sample point index size in the windowpAnd non-extremum point variance wvtsObtaining the window variance variation corresponding to the whole signalAnd wvt, performing a squaring operation on wvt to obtain a signal swvt with enhanced QRS complexes.
Further, step c) comprises the steps of:
c-1) according to a threshold valueGenerating a candidate set R of R-wavesC,lsAs the number of candidate points, RC={j|swvtj>thrswvt,j=1,2,...,ls};
c-2) Using the candidate set RCInitializing parameters, and setting amplitude threshold thraIs a candidate set RCInitializing an electrocardiosignal RR interval thr by using 75 quantile values of the amplitude corresponding to the internal sampling pointsr=360ms;
c-3) calculating the amplitude a of the jth candidate pointjWill satisfy the condition aj>thraAndcandidate points of (2) are added into the R wave set RsIn the formulaFor the current R wave set RsThe index value of the last R-wave in (a);
c-4) traversing R wave candidate set RCFor the jth candidate point, using the formulaUpdating the amplitude threshold thr in step c-2)aIn the formulaIs a candidate set RCThe mean of the amplitudes corresponding to the nth candidate point,for the current R wave set RsThe amplitude of the tth R wave;for the current R wave set RsThe number of (2);
c-6) successively traversing the candidate set RCUpdate the amplitude threshold thraAnd RR interval thr of electrocardiosignalrJudging a decision rule according to the step c-3), and adding candidate points meeting the decision condition into the R wave set RsIn (3), R-wave detection is completed.
Further, a moving average filtering method with the width of 5 sampling points and a median filtering method with the filtering width of 200ms are adopted to filter the noise in the wearable dynamic electrocardiosignal y containing the noise.
The invention has the beneficial effects that: noise and waveform of amplitude which has the largest influence on R wave detection are suppressed through window variance transformation, a real-time R wave detection method with high accuracy and strong anti-interference performance is realized by using a self-adaptive updated threshold and an RR interval, the characteristics capable of better representing original signals are extracted by taking the original waveform form of the signals as a starting point, and the method is suitable for R wave detection of various electrocardiosignals. The method effectively inhibits the influence of large-amplitude noise interfering with R wave detection, can solve the problem that the false detection rate is increased due to larger noise amplitude when the R wave is detected by the traditional threshold-based method, and is suitable for R detection of various electrocardiosignals containing mixed superimposed noise, especially wearable dynamic electrocardiosignals.
Drawings
FIG. 1 is a flow chart of a method of the present invention;
FIG. 2 is a flow chart of a signal enhancement process of the present invention;
FIG. 3 is a flow chart of the R-wave detection process of the present invention.
Detailed Description
The invention will be further explained with reference to fig. 1, fig. 2 and fig. 3.
A wearable electrocardiosignal R wave detection method based on window variance transformation comprises the following steps:
a) utilizing a computer to suppress noise in the wearable dynamic electrocardiosignal to obtain a denoised electrocardiosignal; b) carrying out waveform enhancement processing by using window variance square transformation, highlighting the QRS wave group in the electrocardiosignal after noise reduction, and inhibiting other waveforms and noises;
c) according to the difference between the amplitude of the QRS complex and other waveforms in the electrocardiosignal, R wave identification and detection are carried out to obtain an R wave set RS。
Noise and waveform of amplitude which has the largest influence on R wave detection are suppressed through window variance transformation, a real-time R wave detection method with high accuracy and strong anti-interference performance is realized by using a self-adaptive updated threshold and an RR interval, the characteristics capable of better representing original signals are extracted by taking the original waveform form of the signals as a starting point, and the method is suitable for R wave detection of various electrocardiosignals. The method effectively inhibits the influence of large-amplitude noise interfering with R wave detection, can solve the problem that the false detection rate is increased due to larger noise amplitude when the R wave is detected by the traditional threshold-based method, and is suitable for R detection of various electrocardiosignals containing mixed superimposed noise, especially wearable dynamic electrocardiosignals.
In the step a), the noise in the wearable dynamic electrocardiosignal y containing the noise is filtered by using a moving average filtering method and a median filtering method, and the noise is filtered by a formulaCalculating to obtain a signal for removing high-frequency noise and baseline driftIn the formulaM is the width of the filter window, bwnThe baseline of the nth sample point extracted for median filtering.
The step b) comprises the following steps:
b-1) extracting local extreme points of the electrocardiosignals after noise reduction, and performing noise reduction according to the local extreme pointsThe electrocardiosignal is subjected to window division according to the size of a front time window and a rear time window as w to obtain an extreme point window signal segp=[S1,S2,…,SK],SKIs the K extreme point window signal;
b-2) using the formulaCalculating the variance v of the window corresponding to the Kth local extreme pointkIn the formula For removing high-frequency noise and base line drift signalsThe signal of the t-th sampling point in the sequence is obtained, and the variance wvt of the window signal of the extreme point is obtainedp=[v1,v2,…,vK];
b-3) dividing n sampling points between two adjacent local extreme points into a window, setting the variance of the window to be 0, and setting a window signal seg corresponding to a non-extreme points=[ns1,ns2,…,nsK-1]Window signal segsCorresponding variance of wvts=[0,0,...,0];
b-4) combining the window signal variances of the extreme points wvt according to the sample point index size in the windowpAnd non-extremum point variance wvtsAnd obtaining a window variance transformation wvt corresponding to the whole signal, and performing a squaring operation on wvt to obtain a signal swvt with enhanced QRS complexes.
The step c) comprises the following steps:
c-1) according to a threshold valueGenerating a candidate set R of R-wavesC,lsAs the number of candidate points, RC={j|swvtj>thrswvt,j=1,2,...,ls};
c-2) Using the candidate set RCInitializing parameters, and setting amplitude threshold thraIs a candidate set RCInitializing an electrocardiosignal RR interval thr by using 75 quantile values of the amplitude corresponding to the internal sampling pointsr=360ms;
c-3) calculating the amplitude a of the jth candidate pointjWill satisfy the condition aj>thraAndcandidate points of (2) are added into the R wave set RsIn the formulaFor the current R wave set RsThe index value of the last R-wave in (a);
c-4) traversing R wave candidate set RCFor the jth candidate point, using the formulaUpdating the amplitude threshold thr in step c-2)aIn the formulaIs a candidate set RCThe mean of the amplitudes corresponding to the nth candidate point,for the current R wave set RsThe amplitude of the tth R wave;for the current R wave set RsThe number of (2);
c-6) successively traversing the candidate set RCUpdate the amplitude threshold thraAnd RR interval thr of electrocardiosignalrJudging a decision rule according to the step c-3), and adding candidate points meeting the decision condition into the R wave set RsIn (3), R-wave detection is completed.
Preferably, the noise in the wearable dynamic electrocardiosignal y containing noise is filtered by adopting a moving average filtering method with the width of 5 sampling points and a median filtering method with the filtering width of 200 ms.
Claims (5)
1. A wearable electrocardiosignal R wave detection method based on window variance transformation is characterized by comprising the following steps:
a) utilizing a computer to suppress noise in the wearable dynamic electrocardiosignal to obtain a denoised electrocardiosignal;
b) carrying out waveform enhancement processing by using window variance square transformation, highlighting the QRS wave group in the electrocardiosignal after noise reduction, and inhibiting other waveforms and noises;
c) according to the difference between the amplitude of the QRS complex and other waveforms in the electrocardiosignal, R wave identification and detection are carried out to obtain an R wave set RS。
2. The wearable electrocardiosignal R wave detection method based on window variance transformation as claimed in claim 1, characterized in that: in the step a), the noise in the wearable dynamic electrocardiosignal y containing the noise is filtered by using a moving average filtering method and a median filtering method, and the noise is filtered by a formulaCalculating to obtain a signal for removing high-frequency noise and baseline driftIn the formulaM is the width of the filter window, bwnThe baseline of the nth sample point extracted for median filtering.
3. The method for detecting the R wave of the wearable electrocardiosignal based on the window variance transformation as claimed in claim 2, wherein the step b) comprises the following steps:
b-1) extracting local extreme points of the electrocardiosignals subjected to noise reduction, and performing window division on the electrocardiosignals subjected to noise reduction according to the local extreme points and the front and back time window size w to obtain extreme point window signals segp=[S1,S2,...,SK],SKIs the K extreme point window signal;
b-2) using the formulaCalculating the variance v of the window corresponding to the Kth local extreme pointkIn the formula For removing high-frequency noise and base line drift signalsThe signal of the t-th sampling point in the sequence is obtained, and the variance wvt of the window signal of the extreme point is obtainedp=[v1,v2,...,vK];
b-3) dividing n sampling points between two adjacent local extreme points into a window, setting the variance of the window to be 0, and setting a window signal seg corresponding to a non-extreme points=[ns1,ns2,...,nsK-1]Window signal segsCorresponding variance of wvts=[0,0,...,0];
b-4) combining the window signal variances of the extreme points wvt according to the sample point index size in the windowpAnd non-extremum point variance wvtsAnd obtaining a window variance transformation wvt corresponding to the whole signal, and performing a squaring operation on wvt to obtain a signal swvt with enhanced QRS complexes.
4. The wearable electrocardiosignal R wave detection method based on window variance transformation as claimed in claim 3, characterized in that: the step c) comprises the following steps:
c-1) according to a threshold valueGenerating a candidate set R of R-wavesC,lsAs the number of candidate points, RC={j|swvtj>thrswvt,j=1,2,...,ls};
c-2) Using the candidate set RCInitializing parameters, and setting amplitude threshold thraIs a candidate set RCInitializing an electrocardiosignal RR interval thr by using 75 quantile values of the amplitude corresponding to the internal sampling pointsr=360ms;
c-3) calculating the amplitude a of the jth candidate pointjWill satisfy the condition aj>thraAndcandidate points of (2) are added into the R wave set RsIn the formulaFor the current R wave set RsThe index value of the last R-wave in (a);
c-4) traversing R wave candidate set RCFor the jth candidate point, using the formulaUpdating the amplitude threshold thr in step c-2)aIn the formulaIs a candidate set RCThe mean of the amplitudes corresponding to the nth candidate point,for the current R wave set RsThe amplitude of the tth R wave;for the current R wave set RsThe number of (2);
c-6) successively traversing the candidate set RCUpdate the amplitude threshold thraAnd RR interval thr of electrocardiosignalrJudging a decision rule according to the step c-3), and adding candidate points meeting the decision condition into the R wave set RsIn (3), R-wave detection is completed.
5. The window variance transformation-based wearable electrocardiosignal R wave detection method according to claim 2, characterized in that: and filtering the noise in the wearable dynamic electrocardiosignal y containing the noise by adopting a moving average filtering method with the width of 5 sampling points and a median filtering method with the filtering width of 200 ms.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010891751.2A CN112006679B (en) | 2020-08-28 | 2020-08-28 | Wearable electrocardiosignal R wave detection method based on window variance transformation |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010891751.2A CN112006679B (en) | 2020-08-28 | 2020-08-28 | Wearable electrocardiosignal R wave detection method based on window variance transformation |
Publications (2)
Publication Number | Publication Date |
---|---|
CN112006679A true CN112006679A (en) | 2020-12-01 |
CN112006679B CN112006679B (en) | 2021-08-03 |
Family
ID=73502453
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010891751.2A Active CN112006679B (en) | 2020-08-28 | 2020-08-28 | Wearable electrocardiosignal R wave detection method based on window variance transformation |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN112006679B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113092887A (en) * | 2021-04-07 | 2021-07-09 | 中国电子科技集团公司第五十八研究所 | ENG-oriented low-power-consumption dual-threshold peak detection processing method and detection circuit |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20100286543A1 (en) * | 2009-05-05 | 2010-11-11 | Siemens Medical Solutions Usa, Inc. | Automated Cardiac Status Determination System |
CN106037720A (en) * | 2015-12-04 | 2016-10-26 | 贵州大学 | Application method of hybrid continuous information analysis technology in medicine |
CN107569227A (en) * | 2017-10-26 | 2018-01-12 | 太仓市同维电子有限公司 | The processing method and monitoring device of heart rate under a kind of motion state |
CN110755069A (en) * | 2019-10-25 | 2020-02-07 | 山东省计算中心(国家超级计算济南中心) | Dynamic electrocardiosignal baseline drift correction method for jump mutation noise |
-
2020
- 2020-08-28 CN CN202010891751.2A patent/CN112006679B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20100286543A1 (en) * | 2009-05-05 | 2010-11-11 | Siemens Medical Solutions Usa, Inc. | Automated Cardiac Status Determination System |
CN106037720A (en) * | 2015-12-04 | 2016-10-26 | 贵州大学 | Application method of hybrid continuous information analysis technology in medicine |
CN107569227A (en) * | 2017-10-26 | 2018-01-12 | 太仓市同维电子有限公司 | The processing method and monitoring device of heart rate under a kind of motion state |
CN110755069A (en) * | 2019-10-25 | 2020-02-07 | 山东省计算中心(国家超级计算济南中心) | Dynamic electrocardiosignal baseline drift correction method for jump mutation noise |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113092887A (en) * | 2021-04-07 | 2021-07-09 | 中国电子科技集团公司第五十八研究所 | ENG-oriented low-power-consumption dual-threshold peak detection processing method and detection circuit |
Also Published As
Publication number | Publication date |
---|---|
CN112006679B (en) | 2021-08-03 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110865357B (en) | Laser radar echo signal noise reduction method based on parameter optimization VMD | |
CN110852201B (en) | Pulse signal detection method based on multi-pulse envelope spectrum matching | |
CN107464226B (en) | A kind of image de-noising method based on improvement two-dimensional empirical mode decomposition algorithm | |
CN105078505B (en) | Physiological single processing method and processing unit | |
CN110680302A (en) | Automatic identification method for electrocardiosignal characteristic wave | |
CN104161510A (en) | Multistage lead electrocardiograph signal QRS waveform identification method | |
CN108444954B (en) | Spectral signal peak detection method, device and system | |
CN107392123B (en) | Radio frequency fingerprint feature extraction and identification method based on coherent accumulation noise elimination | |
CN107273860B (en) | Dynamic clustering extraction method for frequency hopping signal based on connected region mark | |
CN111460953B (en) | Electrocardiosignal classification method based on self-adaptive learning of countermeasure domain | |
CN107361764B (en) | Method for rapidly extracting electrocardiosignal characteristic waveform R wave | |
CN110619296A (en) | Signal noise reduction method based on singular decomposition | |
CN112006679B (en) | Wearable electrocardiosignal R wave detection method based on window variance transformation | |
CN110236538B (en) | Automatic real-time detection method for motion starting point based on electromyographic signal | |
CN110542926B (en) | Autonomous detection and suppression method for seismic data spike noise cluster | |
CN109584256B (en) | Pulsar dispersion value estimation method based on Hough line detection | |
CN113389541B (en) | High-precision extraction method for oil well working fluid level signal | |
CN109102818B (en) | Denoising audio sampling algorithm based on signal frequency probability density function distribution | |
CN107123431A (en) | A kind of underwater sound signal noise-reduction method | |
CN108694355B (en) | Signal processing method and device | |
CN112580451A (en) | Data noise reduction method based on improved EMD and MED | |
CN110032968B (en) | Denoising method based on dual-tree complex wavelet and self-adaptive semi-soft threshold method | |
CN114366121B (en) | Double dynamic threshold value electrocardio QRS wave detection method based on digital morphology | |
CN107341519B (en) | Support vector machine identification optimization method based on multi-resolution analysis | |
CN113229826B (en) | QRS wave detection method and device and electronic equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |