CN103006204B - Method and device for calibrating baseline of electrocardiosignal - Google Patents

Method and device for calibrating baseline of electrocardiosignal Download PDF

Info

Publication number
CN103006204B
CN103006204B CN201210587558.5A CN201210587558A CN103006204B CN 103006204 B CN103006204 B CN 103006204B CN 201210587558 A CN201210587558 A CN 201210587558A CN 103006204 B CN103006204 B CN 103006204B
Authority
CN
China
Prior art keywords
baseline
sequence
basedata
data
ecgv
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.)
Active
Application number
CN201210587558.5A
Other languages
Chinese (zh)
Other versions
CN103006204A (en
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.)
CHONGQING KANGRULAI TECHNOLOGY Co Ltd
Original Assignee
CHONGQING KANGRULAI TECHNOLOGY Co Ltd
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 CHONGQING KANGRULAI TECHNOLOGY Co Ltd filed Critical CHONGQING KANGRULAI TECHNOLOGY Co Ltd
Priority to CN201210587558.5A priority Critical patent/CN103006204B/en
Publication of CN103006204A publication Critical patent/CN103006204A/en
Application granted granted Critical
Publication of CN103006204B publication Critical patent/CN103006204B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The embodiment of the invention provides a method for calibrating a baseline of an electrocardiosignal. The method comprises the following steps: obtaining a standard reference voltage value EcgV according to difference sequence DBD of two adjacent baseline positions and electrocardio original data difference sequences DEBD corresponding to the two adjacent baseline positions; and calibrating the position of the baseline by using the standard reference voltage value EcgV; the embodiment of the invention further provides a device for calibrating the baseline of the electrocardiosignal; and according to the invention, after the position of the baseline is identified, the standard reference voltage value is obtained through a relation between the adjacent baseline positions and a relation between original electrocardio data between the positions and the position of the baseline is calibrated by using the standard reference voltage value, so that baseline drift and positioning error caused by abnormal situations are avoided and a situation of having greater influences on follow-up detection is also avoided.

Description

A kind of electrocardiosignal baseline calibration method and device
Technical field
The present invention relates to biomedical engineering field, particularly a kind of electrocardiosignal baseline calibration method and device.
Background technology
Heart tissue and body fluid around can conduct electricity, heart cans be compared to power supply, body surface can be conducted and be reflected to the summation that countless Single Cardiac Cells change, between a lot of points of body surface, exist potential difference, also having a lot of points is to wait electricity without potential difference each other, and heart is in each cardiac cycle, in succession excited by pacemaker, atrium, ventricle, be accompanied by bioelectric variation, these bioelectric variations are called electrocardio.
Electrocardiosignal is the small-signal that human heart sends, it is important medical detection means that electrocardio detects, the object of ecg signal acquiring is the electrocardiosignal obtaining under state comparatively, in theory, electrocardiosignal baseline is generally that potential difference is one section of smooth signal of zero, but in Electrocardiographic recording process, because electrode resistance changes, polarization of electrode potential change, the direct current biasing drift of ecg amplifier, the reasons such as the slow motion of human body respiration or other muscle, the potential difference of baseline position non-vanishing in the signal of actual acquisition, even there is irregular baseline drift, as fluctuated in baseline, go up oblique or declivity etc.In ECG Signal Analysis, the calculating of voltage and the terminal of ripple all will be with reference to baselines before and after it, the terminal of the calculating of the inaccurate meeting of baseline to follow-up each wave voltage and each ripple is found the very large problem of bringing, as the voltage error of calculation is large, that the terminal of ripple is found error is large etc.
Due in a cardiac cycle, baseboard generally has two sections, first paragraph is before P ripple, second segment is between P ripple and QRS ripple, if electrocardiosignal is ideal and without pathologic pathological changes, the 3rd section is the baseline between QRS ripple and T ripple even in addition, so in the time that baseline position is identified, especially when baseline position directly identification, can cause a cardiac cycle to there will be several baseline positions, in actual applications, the 3rd segment base line position is not generally wanted, reject (these baseline positions that will reject detect in the present invention sets forth referred to as " false-alarm "), the baseline position of first paragraph and second segment retains one, have again, because some baseline identifications are carried out after R detection, but when there being R ripple undetected, also can cause baseline undetected, or because electrocardiosignal is poor, that baseline Direct Recognition can produce is undetected (these fail to detect and the baseline that should detect in the present invention sets forth referred to as " false dismissal ").Therefore, be necessary that the baseline position to identifying calibrates specially.
Summary of the invention
In order to address the above problem, the invention discloses a kind of electrocardiosignal baseline calibration method and device, after baseline identification, eliminate false-alarm and false dismissal in baseline identification.
The invention provides a kind of electrocardiosignal baseline calibration method, according to the sequence of differences DBD of adjacent two baseline positions and electrocardio initial data sequence of differences DEBD corresponding to adjacent two baseline positions, obtain canonical reference magnitude of voltage EcgV, utilize canonical reference magnitude of voltage EcgV to carry out baseline position calibration.
Preferably, described according to the sequence of differences DBD of adjacent two baseline positions and electrocardio initial data sequence of differences DEBD corresponding to adjacent two baseline positions, obtain canonical reference magnitude of voltage EcgV, comprising:
301, suppose i=0;
302, judge whether the electrocardio initial data sequence of differences DEBD[i of adjacent two baseline positions] absolute value is less than 0.2mv and DBD[i] between 0.3 × F to 3 × F, if not, i=i+1, repeating step 302; Otherwise, enter step 303; Wherein, F represents electrocardiogram (ECG) data sample rate;
303, calculate successively BaseData[i] to BaseData[i+1] between original electrocardiographicdigital data and BaseData[i] locate the absolute difference between initial data, this sequence table is shown absolute difference sequence; Wherein, BaseData[i] represent the baseline position that in baseline position sequence B aseData, sequence number is i, BaseData[i+1] represent the baseline position that in baseline position sequence B aseData, sequence number is i+1;
304, maximizing from absolute difference sequence, is made as canonical reference magnitude of voltage EcgV by this maximum.
The invention provides a kind of electrocardiosignal baseline calibration device, comprise the data input module, FIFO buffer module, baseline calibration module, the data outputting module that are connected with central control module, described baseline calibration module, for electrocardiosignal baseline position is calibrated, comprise that the Difference Calculation unit, the calibration that are connected with buffer unit implement unit, be worth computing unit most and judge comparing unit;
Described buffer unit, implements unit, is worth computing unit most and judge that comparing unit calculates for described Difference Calculation unit, calibration for data that described in buffer memory, FIFO buffer module sends, and data after buffer memory calculating;
Described Difference Calculation unit, for calculating the difference of adjacent two baseline positions, calculate the electrocardio initial data difference that adjacent two baseline positions are corresponding, calculate original electrocardiographicdigital data and BaseData[i] locate the absolute difference between initial data, calculating data is stored in described buffer unit; Wherein, BaseData[i] represent the baseline position that in baseline position sequence B aseData, sequence number is i;
The described computing unit that is worth most, for maximum or the minima of the sequence of calculation, obtains canonical reference magnitude of voltage EcgV;
Described judgement comparing unit, for judging whether the electrocardio initial data sequence of differences DEBD[i of adjacent two baseline positions] absolute value is less than 0.2mv and DBD[i] between 0.3 × F to 3 × F; Wherein, F represents electrocardiogram (ECG) data sample rate;
Unit is implemented in described calibration, for utilizing canonical reference magnitude of voltage EcgV to carry out baseline position calibration.
The present invention is after baseline position identification, obtain canonical reference magnitude of voltage by the relation between the original electrocardiographicdigital data between adjacent baseline position relation and position, utilize canonical reference magnitude of voltage to carry out baseline position calibration, avoid generation abnormal conditions to locate generation deviation because of baseline drift, brought the situation of considerable influence to occur to subsequent detection.
Brief description of the drawings
In order to be illustrated more clearly in the technical scheme in the embodiment of the present invention, below the accompanying drawing of required use during embodiment is described is briefly introduced, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skill in the art, do not paying under the prerequisite of creative work, can also obtain according to these accompanying drawings other accompanying drawing.
Fig. 1 is electrocardiosignal baseline calibration method preferred embodiment schematic flow sheet of the present invention;
Fig. 2 is electrocardiosignal baseline calibration device preferred embodiment structural representation of the present invention;
Fig. 3 is electrocardiosignal baseline calibration device baseline calibration module preferred embodiment structural representation of the present invention.
Detailed description of the invention
In order to make the object, technical solutions and advantages of the present invention clearer, below in conjunction with accompanying drawing, the present invention is described in further detail.Obviously, described embodiment is only the present invention's part embodiment, instead of whole embodiment.Based on the embodiment in the present invention, those skilled in the art, not making all other embodiment that obtain under creative work prerequisite, all belong to protection domain of the present invention.
Baseline calibration of the present invention is that identification completes based on baseline, has determined baseline position sequence B aseData, and then baseline position is calibrated in original electrocardiographicdigital sequence EcgData.
Original electrocardiographicdigital sequence EcgData record be original electrocardiographicdigital magnitude of voltage, unit is mv, its value may for just, for bearing or being zero, its length is L.
Described baseline position sequence B aseData has recorded the subscript value that is confirmed as the data of baseline position in original electrocardiographicdigital sequence EcgData, its value span is from 0 to L-1, the value that is to say baseline position is the more unduplicated numerical value from 0 to L-1, the length of supposing baseline position sequence is L ', so 0≤L '≤L-1.BaseData[i in the present invention] represent certain position of original electrocardiographicdigital sequence, can read in this position corresponding original electrocardiographicdigital magnitude of voltage, wherein 0≤i≤L '.
Described baseline identification can be identified after R detection, also can directly identify (before detection, identifying), and identification concrete grammar and flow process the present invention are not particularly limited.
A kind of electrocardiosignal baseline calibration of the present invention method, according to the sequence of differences DBD of adjacent two baseline positions and electrocardio initial data sequence of differences DEBD corresponding to adjacent two baseline positions, obtain canonical reference magnitude of voltage EcgV, utilize canonical reference magnitude of voltage EcgV to carry out baseline position calibration.
As one embodiment of the invention, as shown in Figure 1, described electrocardiosignal baseline calibration method, specifically comprises:
201, calculate the sequence of differences DBD of adjacent two baseline positions
The difference of calculating adjacent two baseline positions obtains the sequence of differences DBD of adjacent two baseline positions; Adjacent two baseline positions calculate successively, obtain the sequence of differences of adjacent two baseline positions of whole baseline position BaseData.By above calculating, can obtain the sequence of differences DBD of adjacent two baseline positions, it can be expressed as an array, comprises L '-1 element, is expressed as DBD[0], DBD[1] ..., DBD[L '-2].
202, calculate the electrocardio initial data sequence of differences DEBD that adjacent two baseline positions are corresponding
Calculate the electrocardio initial data difference of adjacent two baseline positions, obtain the electrocardio initial data sequence of differences DEBD of adjacent two baseline positions; Adjacent two baseline positions calculate successively, obtain the sequence of differences of adjacent two baseline positions of whole original electrocardiographicdigital sequence EcgData.By above calculating, can obtain the electrocardio initial data sequence of differences DEBD of adjacent two baseline positions, it can be expressed as an array, comprises L '-1 element; Be expressed as DEBD[0], DEBD[1] ..., DEBD[L '-2].
What specify is, the electrocardio initial data sequence of differences DEBD that the sequence of differences DBD of adjacent two baseline positions of above-mentioned calculating is corresponding with calculating adjacent two baseline positions is not particularly limited at execution sequence, both after DBD can first having been calculated, calculated DEBD, also after can first calculating DEBD, calculate DBD, even can carry out simultaneously.DEBD[i in the present invention] represent electrocardio initial data difference corresponding to adjacent two baseline positions that in electrocardio initial data sequence of differences DEBD that adjacent two baseline positions are corresponding, sequence number is i, DBD[i] represent the difference of adjacent two baseline positions that in the sequence of differences DBD of adjacent two baseline positions, sequence number is i.
203, obtain canonical reference magnitude of voltage EcgV according to DBD and DEBD;
204, utilize canonical reference magnitude of voltage EcgV to carry out baseline position calibration.
The present embodiment passes through to calculate DBD and DEBD, and according to DBD and DEBD canonical reference magnitude of voltage EcgV, utilizes canonical reference magnitude of voltage EcgV to carry out baseline position calibration, and computation complexity is low, and accuracy in computation is high, has application prospect more widely.
As one embodiment of the invention, described according to DBD and DEBD acquisition canonical reference magnitude of voltage EcgV, specifically comprise:
301, suppose i=0;
302, judge whether the electrocardio initial data sequence of differences DEBD[i of adjacent two baseline positions] absolute value is less than 0.2mv and DBD[i] between 0.3 × F to 3 × F, if not, i=i+1, repeating step 302; Otherwise, enter step 303; Wherein, F represents electrocardiogram (ECG) data sample rate;
The present embodiment is by arranging DEBD[i] absolute value is less than 0.2mv and DBD[i] parameter area between 0.3 × F to 3 × F, in the one piece of data of guaranteeing to select, the original electrocardiographicdigital data voltage gap that adjacent baseline position is corresponding is less, and adjacent baseline position distance is moderate, guarantee to go in this segment data the canonical reference magnitude of voltage that obtains to have consistent with cardiac electrical virtual voltage or error is minimum.
303, calculate successively BaseData[i] to BaseData[i+1] between original electrocardiographicdigital data and BaseData[i] locate the absolute difference between initial data, this sequence table is shown absolute difference sequence;
304, maximizing from absolute difference sequence, is made as canonical reference magnitude of voltage EcgV by this maximum.
As one embodiment of the invention, the described canonical reference magnitude of voltage EcgV that utilizes carries out baseline position calibration, comprises that the inspection of baseline position false-alarm is accurate, that is:
401, suppose i=0;
402, judge before and after the ratio (DBD[i]/DBD[i+1]) of sequence of differences of adjacent two baseline positions whether in [0.8,1.2] scope, if not, enter 403, if so, need not calibrate i=i+1, repeating step 402;
403, calculate the first local reference voltage level EcgVi1 and the second local reference voltage level EcgVi2;
The local reference voltage level EcgVi1 of described calculating first, calculates BaseData[i] and BaseData[i+1] between original electrocardiographicdigital data two baseline position places adjacent with this (be BaseData[i] and BaseData[i+1] locate) the absolute value maximum of the difference of electrocardiogram (ECG) data meansigma methods;
The local reference voltage level EcgVi2 of described calculating second, calculates BaseData[i+1] and BaseData[i+2] between original electrocardiographicdigital data two baseline position places adjacent with this (be BaseData[i+1] and BaseData[i+2] locate) the absolute value maximum of the difference of electrocardiogram (ECG) data meansigma methods.
The calculating of above the first local reference voltage level and the second local reference voltage level, makes not only to consider this adjacent two baseline positions, and considers next adjacent two baseline positions, has effectively eliminated the contiguous baseline position of believing position and has disturbed.
404, according to the ratio relation of the ratio relation of EcgVi1 and EcgV and EcgVi2 and EcgV, point situation is carried out baseline position calibration, specifically comprises any one in following situation;
1) if judgement EcgVi1 and the ratio of EcgV are greater than 1.2 or be less than 0.8, and the ratio of EcgVi2 and EcgV is between 0.8 to 1.2, delete i point baseline labelling (can pass through BaseData[i]=0 represent), i=i+2, get back to step 402, until all baseline positions have been calibrated;
2) if the ratio of judgement EcgVi1 and EcgV between 0.8 to 1.2, and EcgVi2 and the ratio of EcgV are greater than 1.2 or be less than 0.8, do not need i baseline position to calibrate, i=i+1, gets back to step 402, until all baseline positions have been calibrated;
3) if the ratio of judgement EcgVi1 and EcgV between 0.8 to 1.2, and the ratio of EcgVi2 and EcgV is between 0.8 to 1.2, does not calibrate, i=i+2, gets back to step 402, until all baseline positions have been calibrated;
Described EcgVi1 is BaseData[i] and BaseData[i+1] the absolute value maximum of the electrocardiogram (ECG) data of point-to-point transmission and original electrocardiographicdigital data and the difference of these adjacent two baseline position electrocardiogram (ECG) data meansigma methodss;
Described EcgVi2 is that original electrocardiographicdigital data are at BaseData[i+1] and BaseData[i+2] electrocardiogram (ECG) data meansigma methods and the BaseData[i+1 of 2] and BaseData[i+2] the absolute value maximum of difference of electrocardiogram (ECG) data of 2.
Whether the present invention is worth and recently eliminates mutually first paragraph baseline with EcgV and detect with the 3rd segment base line and detect according to obtaining between canonical reference magnitude of voltage EcgV and baseline initial data voltage cleverly most, only retain second segment baseline and detect, experiment test shows that false-alarm calibration effect meets application requirements.
As one embodiment of the invention, the described canonical reference magnitude of voltage EcgV that utilizes carries out baseline position calibration, comprises that the inspection of baseline position false dismissal is accurate, that is:
501, suppose i=0;
502, ask at BaseData[i] and BaseData[i+1] between original electrocardiographicdigital data absolute value be greater than the number of crest or the trough of 0.8 times of EcgV, and write down the position (be called for short peak valley position) of these crests or trough;
Special instruction, to a waveshape signal, finding between the two positions crest or trough is this area common technology means, no longer describes in detail.
503, successively the original electrocardiographicdigital data between adjacent two peak valley positions of finding are asked to difference absolute value, obtain difference absolute value sequence (subscript of sequence is identical with original electrocardiographicdigital data subscript);
Described adjacent two peak valley positions may be any one in following situation, two crest locations or two wave trough position or a crest location and a wave trough position.
504, ask difference absolute value sequence minimum point position (being made as iNew) described in step, data after the i+1 position of BaseData are moved to one after all, and insert using this minimum point position as new baseline point in BaseData sequence (BaseData[i]=iNew), return to 503, until all handle the peak valley position obtaining in 502 steps;
505, i=i+1, returns to step 502, until all baseline positions have been calibrated.
Because some baseline identifications are carried out after R detection, may exist R ripple undetected, cause baseline undetected, or because electrocardiosignal is poor, baseline Direct Recognition can produce undetected, these fail to detect and the baseline that should detect in the present invention sets forth referred to as " false dismissal ", between the canonical reference magnitude of voltage EcgV that the ingenious utilization of the present invention obtains and baseline, initial data voltage is worth the peak valley number close with EcgV most and again detects undetected baseline, thereby elimination false dismissal, experimental results shows that false dismissal calibration effect meets application requirements equally.
As one embodiment of the invention, the described canonical reference magnitude of voltage EcgV that utilizes carries out baseline position calibration, comprises that the inspection of baseline position false-alarm is accurate and the inspection of baseline position false dismissal is accurate
Accurate 401 to 404 the step that adopts of described baseline position false-alarm inspection;
Accurate 501 to 505 the step that adopts of described baseline position false dismissal inspection;
What specify is, accurate and the baseline position false dismissal inspection standard of baseline position false-alarm in the present embodiment inspection on execution sequence without specific restriction, both can first carry out the inspection of baseline position false-alarm accurate, carry out again the inspection of baseline position false dismissal accurate, also can first carry out the inspection of baseline position false dismissal accurate, then it is accurate to carry out the inspection of baseline position false-alarm.
As one embodiment of the invention, the invention provides a kind of electrocardiosignal baseline calibration device, as shown in Figure 2, comprise the data input module 80, FIFO buffer module 82, baseline calibration module 86, the data outputting module 88 that are connected with central control module 84;
Described data input module 80, for obtaining original electrocardiographicdigital sequence EcgData and baseline position sequence B aseData, deposits the data of obtaining in FIFO buffer module 82; It can be both electrocardiogram (ECG) data and base-line data harvester, can be also the external equipment that stores electrocardio sequence off-line data and baseline position order off-line data, and the present invention is not construed as limiting this.
Especially, described data input module 80 comprises electrical level control unit, and when electrical level control unit is during in low level, described data input module 80 does not obtain data, and when electrical level control unit is during in high level, described data input module 80 obtains data; In the time that needs receive data, electrical level control unit becomes high level from low level, obtains data.
Described FIFO buffer module 82, for buffer-stored original electrocardiographicdigital sequence data and baseline position sequence data, data bits is greater than original electrocardiographicdigital sequence data figure place or at least one position of baseline position sequence data, and FIFO buffer length is not less than 2048; In the time that electrocardiosignal baseline calibration device starts, fifo buffer data bit is set to 0 entirely, optional 10,16,24 of each data bits or 32 etc.
Described central control module 84, in other module initializations of electrocardiosignal baseline calibration device startup control system, FIFO buffer length is set, control baseline calibration module 86 and carry out baseline calibration, after date processing is complete, control FIFO buffer module 82, fifo buffer second half section transfer of data to data outputting module, is 0 fifo buffer second half section Data Position after transmission.
Described data outputting module 88, receives and states the Data Concurrent that FIFO buffer module 82 transmits and see off; And change trigger port as high level into from low level simultaneously;
Described baseline calibration module 86, for calibrating electrocardiosignal baseline position;
Preferably, described baseline calibration module 86, as shown in Figure 3, comprises that the Difference Calculation unit 86b that is connected with buffer unit 86a, calibration implement unit 86c, be worth computing unit 86d most and judge comparing unit 86e
Described buffer unit 86a, implements unit 86c, is worth computing unit 86d most and judge that comparing unit 86e calculates for described Difference Calculation unit 86b, calibration for data that described in buffer memory, FIFO buffer module 82 sends, and data after buffer memory calculating etc.;
Described Difference Calculation unit 86b is for calculating the difference of adjacent two baseline positions, calculate the electrocardio initial data difference that adjacent two baseline positions are corresponding, calculate original electrocardiographicdigital data and BaseData[i] locate the absolute difference between initial data, calculating data is stored in buffer unit 86a;
The described computing unit 86d that is worth most, for maximum or the minima of the sequence of calculation, obtains canonical reference magnitude of voltage EcgV.
Described judgement comparing unit 86e, for judging the electrocardio initial data sequence of differences DEBD[i that judges whether adjacent two baseline positions] absolute value is less than 0.2mv and DBD[i] between 0.3 × F to 3 × F, wherein, F represents electrocardiogram (ECG) data sample rate.
Described calibration is implemented unit 86c and is used for utilizing canonical reference magnitude of voltage EcgV to carry out baseline position calibration.
Preferably, described calibration is implemented unit 86c and is adopted the accurate strategy of baseline position false-alarm inspection, further comprises:
Ratio calculation unit, for the ratio of the sequence of differences of adjacent two baseline positions in front and back; Calculate the ratio of EcgVi1 and EcgV; Calculate the ratio of EcgVi2 and EcgV
Described Difference Calculation unit 86b also, for calculating the first local reference voltage level EcgVi1, calculates BaseData[i] and BaseData[i+1] between original electrocardiographicdigital data two baseline position places adjacent with this (be BaseData[i] and BaseData[i+1] locate) absolute value of the difference of electrocardiogram (ECG) data meansigma methods; Calculate the second local reference voltage level EcgVi2, calculate BaseData[i+1] and BaseData[i+2] between original electrocardiographicdigital data two baseline position places adjacent with this (be BaseData[i+1] and BaseData[i+2] locate) absolute value of the difference of electrocardiogram (ECG) data meansigma methods;
Described judge comparing unit 86e for the ratio that judges EcgVi1 and EcgV whether between 0.8 to 1.2 and the ratio that judges EcgVi2 and EcgV whether between 0.8 to 1.2, judge whether that all baseline positions have calibrated
Preferably, described calibration is implemented unit 86c and is adopted the accurate strategy of baseline position false dismissal inspection, further comprises:
Described judgement comparing unit 86e is at BaseData[i] and BaseData[i+1] between original electrocardiographicdigital data absolute value be greater than the number of crest or the trough of 0.8 times of EcgV, the position (being called for short peak valley position) of recording crest or trough; Judge whether peak valley position all handles; Judge whether that all baseline positions have calibrated;
Described Difference Calculation unit 86b, for the original electrocardiographicdigital data between adjacent two peak valley positions of finding are asked to difference absolute value, obtains difference absolute value sequence;
The described computing unit 86d that is worth most, ask described difference absolute value sequence minimum point position (being made as iNew), the i+1 position of BaseData data are below moved one after all, and insert in BaseData sequence (BaseData[i]=iNew) using this minimum point position as new baseline point.
In the time of application, user only need send to original electrocardiographicdigital sequence and baseline position sequence the data input unit of this electrocardiosignal baseline calibration device, then the baseline position sequence from the data output unit of this electrocardiosignal baseline calibration device is accepted original electrocardiographicdigital sequence and correction correspondingly, use extremely easy, and real time correction while can be used for the identification of real-time baseline, simplifies and establishes good basis and provide good guarantee for subsequent analysis correctness for follow-up ECG Signal Analysis.
Above illustrated embodiment; the object, technical solutions and advantages of the present invention have been carried out to further detailed description; institute is understood that; above illustrated embodiment is only the preferred embodiment of the present invention; not in order to limit the present invention; all any amendments made for the present invention within the spirit and principles in the present invention, be equal to replacement, improvement etc., within protection scope of the present invention all should be included in.

Claims (6)

1. an electrocardiosignal baseline calibration method, it is characterized in that, according to the sequence of differences DBD of adjacent two baseline positions and electrocardio initial data sequence of differences DEBD corresponding to adjacent two baseline positions, obtain canonical reference magnitude of voltage EcgV, utilize canonical reference magnitude of voltage EcgV to carry out baseline position calibration;
The described canonical reference magnitude of voltage EcgV that utilizes carries out baseline position calibration, comprises that the inspection of baseline position false-alarm is accurate, comprises the following steps:
401, suppose i=0;
402, judge before and after the ratio of sequence of differences of adjacent two baseline positions whether in [0.8,1.2] scope, if not, enter step 403, if so, need not calibrate i=i+1, repeating step 402;
403, calculate the first local reference voltage level EcgVi1 and the second local reference voltage level EcgVi2;
The local reference voltage level EcgVi1 of described calculating first, calculates BaseData[i] and BaseData[i+1] between the absolute value maximum of difference of original electrocardiographicdigital data two baseline position place electrocardiogram (ECG) data meansigma methodss adjacent with this;
The local reference voltage level EcgVi2 of described calculating second, calculates BaseData[i+1] and BaseData[i+2] between the absolute value maximum of difference of original electrocardiographicdigital data two baseline position place electrocardiogram (ECG) data meansigma methodss adjacent with this;
Wherein, BaseData[i] represent the baseline position that in baseline position sequence B aseData, sequence number is i, BaseData[i+1] represent the baseline position that in baseline position sequence B aseData, sequence number is i+1, BaseData[i+2] represent the baseline position that in baseline position sequence B aseData, sequence number is i+2;
404, according to the ratio relation of the ratio relation of EcgVi1 and EcgV and EcgVi2 and EcgV, point situation is carried out baseline position calibration.
2. electrocardiosignal baseline calibration method according to claim 1, it is characterized in that, described according to the sequence of differences DBD of adjacent two baseline positions and electrocardio initial data sequence of differences DEBD corresponding to adjacent two baseline positions, obtain canonical reference magnitude of voltage EcgV, comprising:
301, suppose i=0;
302, judge whether the electrocardio initial data sequence of differences DEBD[i of adjacent two baseline positions] absolute value is less than 0.2mv and DBD[i] between 0.3 × F to 3 × F, if not, i=i+1, repeating step 302; Otherwise, enter step 303; Wherein, F represents electrocardiogram (ECG) data sample rate;
303, calculate successively BaseData[i] to BaseData[i+1] between original electrocardiographicdigital data and BaseData[i] locate the absolute difference between initial data, this sequence table is shown absolute difference sequence; Wherein, BaseData[i] represent the baseline position that in baseline position sequence B aseData, sequence number is i, BaseData[i+1] represent the baseline position that in baseline position sequence B aseData, sequence number is i+1;
304, maximizing from absolute difference sequence, is made as canonical reference magnitude of voltage EcgV by this maximum.
3. electrocardiosignal baseline calibration method according to claim 1, is characterized in that, described point situation is carried out baseline position calibration according to the ratio relation of the ratio relation of EcgVi1 and EcgV and EcgVi2 and EcgV, comprise following situation wherein any one:
1) if judgement EcgVi1 and the ratio of EcgV are greater than 1.2 or be less than 0.8, and the ratio of EcgVi2 and EcgV is between 0.8 to 1.2, deletes i point baseline labelling, and i=i+2, gets back to step 402, until all baseline positions have been calibrated;
2) if the ratio of judgement EcgVi1 and EcgV between 0.8 to 1.2, and EcgVi2 and the ratio of EcgV are greater than 1.2 or be less than 0.8, do not need i baseline position to calibrate, i=i+1, gets back to step 402, until all baseline positions have been calibrated;
3) if the ratio of judgement EcgVi1 and EcgV between 0.8 to 1.2, and the ratio of EcgVi2 and EcgV is between 0.8 to 1.2, does not calibrate, i=i+2, gets back to step 402, until all baseline positions have been calibrated.
4. electrocardiosignal baseline calibration method according to claim 1, is characterized in that, the described canonical reference magnitude of voltage EcgV that utilizes carries out baseline position calibration, comprises that the inspection of baseline position false dismissal is accurate, comprises the following steps:
501, suppose i=0;
502, ask at BaseData[i] and BaseData[i+1] between original electrocardiographicdigital data absolute value be greater than the number of crest or the trough of 0.8 times of EcgV, and write down the position of these crests or trough, be called for short peak valley position;
503, successively the original electrocardiographicdigital data between adjacent two peak valley positions of finding are asked to difference absolute value, obtain difference absolute value sequence;
504, ask described difference absolute value sequence minimum point position, be made as iNew, data after the i+1 position of BaseData are moved to one after all, and insert in BaseData sequence using this minimum point position as new baseline point, be BaseData[i]=iNew, return to step 503, until all handle the peak valley position obtaining in 502 steps;
505, i=i+1, returns to step 502, until all baseline positions have been calibrated;
Wherein, BaseData[i] represent the baseline position that in baseline position sequence B aseData, sequence number is i, BaseData[i+1] represent the baseline position that in baseline position sequence B aseData, sequence number is i+1.
5. an electrocardiosignal baseline calibration device, comprises the data input module, FIFO buffer module, baseline calibration module, the data outputting module that are connected with central control module, it is characterized in that:
Described baseline calibration module, for electrocardiosignal baseline position is calibrated, comprises that the Difference Calculation unit that is connected with buffer unit, calibration implement unit, be worth computing unit most and judge comparing unit;
Described buffer unit, implements unit, is worth computing unit most and judge that comparing unit calculates for described Difference Calculation unit, calibration for data that described in buffer memory, FIFO buffer module sends, and data after buffer memory calculating;
Described Difference Calculation unit, for calculating the difference of adjacent two baseline positions, calculate the electrocardio initial data difference that adjacent two baseline positions are corresponding, calculate original electrocardiographicdigital data and BaseData[i] locate the absolute difference between initial data, calculating data is stored in described buffer unit; Wherein, BaseData[i] represent the baseline position that in baseline position sequence B aseData, sequence number is i;
The described computing unit that is worth most, for maximum or the minima of calculated difference absolute value sequence, obtains canonical reference magnitude of voltage EcgV;
Described judgement comparing unit, for judging whether the electrocardio initial data sequence of differences DEBD[i of adjacent two baseline positions] absolute value is less than 0.2mv and DBD[i] between 0.3 × F to 3 × F; Wherein, F represents electrocardiogram (ECG) data sample rate;
Unit is implemented in described calibration, for utilizing canonical reference magnitude of voltage EcgV to carry out baseline position calibration, adopts the accurate strategy of baseline position false-alarm inspection, comprising:
Ratio calculation unit, for the ratio of the sequence of differences of adjacent two baseline positions before and after calculating; Calculate the ratio of the first local reference voltage level EcgVi1 and EcgV; Calculate the ratio of the second local reference voltage level EcgVi2 and EcgV;
Described the first local reference voltage level EcgVi1 is calculated by described Difference Calculation unit, calculates BaseData[i] and BaseData[i+1] between the absolute value of difference of original electrocardiographicdigital data two baseline position place electrocardiogram (ECG) data meansigma methodss adjacent with this;
Described the second local reference voltage level EcgVi2 is calculated by described Difference Calculation unit, calculates BaseData[i+1] and BaseData[i+2] between the absolute value of difference of original electrocardiographicdigital data two baseline position place electrocardiogram (ECG) data meansigma methodss adjacent with this;
Described judge comparing unit also for the ratio that judges EcgVi1 and EcgV whether between 0.8 to 1.2 and the ratio that judges EcgVi2 and EcgV whether between 0.8 to 1.2, judge whether that all baseline positions have calibrated;
Wherein, BaseData[i+1] represent the baseline position that in baseline position sequence B aseData, sequence number is i+1, BaseData[i+2] represent the baseline position that in baseline position sequence B aseData, sequence number is i+2.
6. electrocardiosignal baseline calibration device according to claim 5, is characterized in that, described calibration is implemented unit and adopted the accurate strategy of baseline position false dismissal inspection, comprising:
Described judgement comparing unit is also at BaseData[i] and BaseData[i+1] between original electrocardiographicdigital data absolute value be greater than the number of crest or the trough of 0.8 times of EcgV, the position of recording crest or trough, is called for short peak valley position; Judge whether peak valley position all handles; Judge whether that all baseline positions have calibrated; Wherein, BaseData[i+1] represent the baseline position that in baseline position sequence B aseData, sequence number is i+1;
Described Difference Calculation unit also, for the original electrocardiographicdigital data between adjacent two peak valley positions of finding are asked to difference absolute value, obtains difference absolute value sequence;
The described computing unit that is worth is most also for asking described difference absolute value sequence minimum point position, be made as iNew, data after the i+1 position of BaseData are moved to one after all, and insert in BaseData sequence i.e. BaseData[i using this minimum point position as new baseline point]=iNew.
CN201210587558.5A 2012-12-29 2012-12-29 Method and device for calibrating baseline of electrocardiosignal Active CN103006204B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210587558.5A CN103006204B (en) 2012-12-29 2012-12-29 Method and device for calibrating baseline of electrocardiosignal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210587558.5A CN103006204B (en) 2012-12-29 2012-12-29 Method and device for calibrating baseline of electrocardiosignal

Publications (2)

Publication Number Publication Date
CN103006204A CN103006204A (en) 2013-04-03
CN103006204B true CN103006204B (en) 2014-07-16

Family

ID=47955701

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210587558.5A Active CN103006204B (en) 2012-12-29 2012-12-29 Method and device for calibrating baseline of electrocardiosignal

Country Status (1)

Country Link
CN (1) CN103006204B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107003421B (en) * 2014-12-16 2020-02-07 皇家飞利浦有限公司 Baseline offset determination for photon detectors
CN105866011B (en) * 2016-03-31 2018-10-26 艾康生物技术(杭州)有限公司 The particle counting methods of pulse base value calculating method and blood cell analysis machine
CN111593098B (en) * 2020-05-29 2021-09-21 成都瀚辰光翼科技有限责任公司 QPCR real-time fluorescence data quantitative analysis method

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0648464B1 (en) * 1993-10-15 2000-08-30 Hewlett-Packard Company Ambulatory monitor ECG pulse calibration method
US6609023B1 (en) * 2002-09-20 2003-08-19 Angel Medical Systems, Inc. System for the detection of cardiac events
CN101083938A (en) * 2004-12-22 2007-12-05 大日本住友制药株式会社 Electrocardiogram waveform correction display and electrocardiogram waveform correction display method
CN101524269A (en) * 2009-04-01 2009-09-09 成都途筏达科技有限公司 Indoor human body cardiac monitoring platform
CN102085095A (en) * 2009-12-07 2011-06-08 深圳市新元素医疗技术开发有限公司 Method, system and electrocardioscanner for detecting ST segment in electrocardiogram

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0648464B1 (en) * 1993-10-15 2000-08-30 Hewlett-Packard Company Ambulatory monitor ECG pulse calibration method
US6609023B1 (en) * 2002-09-20 2003-08-19 Angel Medical Systems, Inc. System for the detection of cardiac events
CN101083938A (en) * 2004-12-22 2007-12-05 大日本住友制药株式会社 Electrocardiogram waveform correction display and electrocardiogram waveform correction display method
CN101524269A (en) * 2009-04-01 2009-09-09 成都途筏达科技有限公司 Indoor human body cardiac monitoring platform
CN102085095A (en) * 2009-12-07 2011-06-08 深圳市新元素医疗技术开发有限公司 Method, system and electrocardioscanner for detecting ST segment in electrocardiogram

Also Published As

Publication number Publication date
CN103006204A (en) 2013-04-03

Similar Documents

Publication Publication Date Title
US5521851A (en) Noise reduction method and apparatus
CN102793539B (en) Vector cardiogram detection and analysis method and system
CN103989462B (en) The extracting method of a kind of pulse wave fisrt feature point and second feature point
CN103006204B (en) Method and device for calibrating baseline of electrocardiosignal
CN104473629B (en) Automatic electrocardioelectrode placement error detection method based on kernel function classification algorithm
CN103549950A (en) Improved difference threshold detection algorithm for mobile ECG (electrocardiogram) monitoring
JPH11313806A (en) Method of determining characteristic of signal indicating function of heart
CN105748051A (en) Blood pressure measuring method and device
CN104977470B (en) Measurement device and measuring method
CN106419896A (en) Matching and tracking time sequences of heart activation
US10172531B2 (en) Heartbeat detection method and heartbeat detection device
CN111345816A (en) Multi-lead QRS complex detection method, device, equipment and storage medium
CN110236530A (en) A kind of electrocardiosignal QRS wave group localization method, device and computer storage medium
CN111431462B (en) Direct current bus capacitance estimation method and direct current bus capacitance estimation device
CN110432895B (en) Training data processing method, electrocardiographic waveform detection method and electronic equipment
CN106419907A (en) Locating J-points in electrocardiogram signals
BR112014016999B1 (en) processing method for implementing high resolution capacitive touch pad output on a single chip microcomputer
CN114512982A (en) Power distribution network topology identification method and device and terminal equipment
CN103006205B (en) Device and method for electrocardiosignal baseline recognition
Zhang et al. An improved real-time R-wave detection efficient algorithm in exercise ECG signal analysis
CN109188099A (en) A kind of liquid electric conductivity detection system
CN109259750A (en) Rate calculation method, apparatus, computer equipment and storage medium
CN108542381A (en) A kind of data processing method and device
CN110763735A (en) Soluble total solid TDS detection method and related equipment
CN104808038A (en) Method for improving alternating current sampling frequency through soft simulation interpolation

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant