CN103006204A - Method and device for calibrating baseline of electrocardiosignal - Google Patents
Method and device for calibrating baseline of electrocardiosignal Download PDFInfo
- Publication number
- CN103006204A CN103006204A CN2012105875585A CN201210587558A CN103006204A CN 103006204 A CN103006204 A CN 103006204A CN 2012105875585 A CN2012105875585 A CN 2012105875585A CN 201210587558 A CN201210587558 A CN 201210587558A CN 103006204 A CN103006204 A CN 103006204A
- 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.)
- Granted
Links
Images
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
Technical field
The present invention relates to biomedical engineering field, particularly a kind of electrocardiosignal baseline calibration method and device.
Background technology
Tissue and body fluid around the heart can both 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, it is to wait electricity without potential difference each other that a lot of points are also arranged, and heart is in each cardiac cycle, and is 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 purpose of ecg signal acquiring is the electrocardiosignal that obtains under the state comparatively, in theory, the electrocardiosignal baseline generally is that potential difference is one section smooth signal of zero, but in Electrocardiographic recording process, because electrode resistance changes, the 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 and non-vanishing in the signal of actual acquisition, even irregular baseline drift occurs, fluctuated such as baseline, upper tiltedly or declivity etc.The terminal of the calculating of voltage and ripple all will be with reference to baseline before and after it in ECG Signal Analysis, the inaccurate meeting of baseline is sought the very large problem of bringing to the calculating of follow-up each wave voltage and the terminal of each ripple, and terminal searching error large such as the voltage error of calculation, ripple is large etc.
Because in a cardiac cycle, baseboard generally has two sections, first paragraph is before the P ripple, second segment is between P ripple and QRS ripple, if electrocardiosignal is ideal and without the pathologic pathological changes, even also have the 3rd section to be baseline between QRS ripple and T ripple, so when baseline position is identified, when especially baseline position directly being identified, can cause a cardiac cycle several baseline positions can occur, in actual applications, the 3rd segment base line position is not generally wanted, and reject (these baseline positions that will reject detect in the present invention sets forth referred to as " false-alarm "), and the baseline position of first paragraph and second segment keeps one and gets final product, have again, because some baseline identifications are carried out after the R detection, but when there being the R ripple undetected, also can cause baseline undetected, perhaps because electrocardiosignal is relatively poor, that the 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 the baseline position that identifies is calibrated 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 the baseline identification.
The invention provides a kind of electrocardiosignal baseline calibration method, sequence of differences DBD and electrocardio initial data sequence of differences DEBD corresponding to adjacent two baseline positions according to adjacent two baseline positions, obtain canonical reference magnitude of voltage EcgV, utilize canonical reference magnitude of voltage EcgV to carry out the baseline position calibration.
Preferably, described sequence of differences DBD and electrocardio initial data sequence of differences DEBD corresponding to adjacent two baseline positions according 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 then, repeating step 302; Otherwise, enter step 303; Wherein, F represents the 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 the initial data, this sequence table is shown the absolute difference sequence; Wherein, BaseData[i] represent that sequence number is the baseline position of i among the baseline position sequence B aseData, BaseData[i+1] represent that sequence number is the baseline position of i+1 among the baseline position sequence B aseData;
304, maximizing from the absolute difference sequence is made as canonical reference magnitude of voltage EcgV with 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, be used for the electrocardiosignal baseline position is calibrated, comprise that the Difference Calculation unit, the calibration that are connected with buffer unit implement the unit, be worth computing unit most and judge comparing unit;
Described buffer unit is implemented the unit, is worth computing unit most and judged that comparing unit calculates for described Difference Calculation unit, calibration for the data that the described FIFO buffer module of buffer memory sends, and the data after the buffer memory calculating;
Described Difference Calculation unit, be used for calculating the difference of adjacent two baseline positions, calculate electrocardio initial data difference corresponding to adjacent two baseline positions, calculate original electrocardiographicdigital data and BaseData[i] locate the absolute difference between the initial data, calculating data is stored in the described buffer unit; Wherein, BaseData[i] represent that sequence number is the baseline position of i among the baseline position sequence B aseData;
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 is used 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 the electrocardiogram (ECG) data sample rate;
The unit is implemented in described calibration, is used for utilizing canonical reference magnitude of voltage EcgV to carry out the baseline position calibration.
The present invention is after baseline position identification, obtain the canonical reference magnitude of voltage by the relation between the original electrocardiographicdigital data between adjacent baseline position relation and position, utilize the canonical reference magnitude of voltage to carry out the baseline position calibration, avoid the abnormal situation to locate the generation deviation because of baseline drift, brought the situation of considerable influence to occur to subsequent detection.
Description of drawings
In order to be illustrated more clearly in the technical scheme in the embodiment of the invention, the accompanying drawing of required use was briefly introduced during the below will describe embodiment, apparently, accompanying drawing in the following describes only is some embodiments of the present invention, for those of ordinary skill in the art, under the prerequisite of not paying 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.
The specific embodiment
In order to make the purpose, 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 only is the present invention's part embodiment, rather than whole embodiment.Based on the embodiment among the present invention, those skilled in the art all belong to protection domain of the present invention not making all other embodiment that obtain under the creative work prerequisite.
Baseline calibration of the present invention is based on baseline identification and finishes, and has determined baseline position sequence B aseData in original electrocardiographicdigital sequence EcgData, and then baseline position is calibrated.
Original electrocardiographicdigital sequence EcgData record be the original electrocardiographicdigital magnitude of voltage, unit is mv, its value may for just, for negative or be 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 among the 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 the baseline position sequence is L ', so 0≤L '≤L-1.BaseData[i among the present invention] certain position of expression 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 the R detection, also can directly identify (identifying before detection), 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, sequence of differences DBD and electrocardio initial data sequence of differences DEBD corresponding to adjacent two baseline positions according to adjacent two baseline positions, obtain canonical reference magnitude of voltage EcgV, utilize canonical reference magnitude of voltage EcgV to carry out the 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 respectively DBD[0], DBD[1] ..., DBD[L '-2].
202, calculate electrocardio initial data sequence of differences DEBD corresponding to adjacent two baseline positions
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 respectively 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, calculated DEBD after both DBD can having been calculated first, calculate DBD after also can calculating first DEBD, even can carry out simultaneously.DEBD[i among the present invention] sequence number is electrocardio initial data difference corresponding to adjacent two baseline positions of i among electrocardio initial data sequence of differences DEBD corresponding to adjacent two baseline positions of expression, DBD[i] sequence number is the difference of adjacent two baseline positions of i among the sequence of differences DBD of adjacent two baseline positions of expression.
203, obtain canonical reference magnitude of voltage EcgV according to DBD and DEBD;
204, utilize canonical reference magnitude of voltage EcgV to carry out the baseline position calibration.
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 the baseline position calibration, and computation complexity is low, and accuracy in computation is high, has more widely application prospect.
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 then, repeating step 302; Otherwise, enter step 303; Wherein, F represents the electrocardiogram (ECG) data sample rate;
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 in this segment data, to go the canonical reference magnitude of voltage that obtains to have consistent with cardiac electrical virtual voltage or error minimum.
303, calculate successively BaseData[i] to BaseData[i+1] between original electrocardiographicdigital data and BaseData[i] locate the absolute difference between the initial data, this sequence table is shown the absolute difference sequence;
304, maximizing from the absolute difference sequence is made as canonical reference magnitude of voltage EcgV with this maximum.
As one embodiment of the invention, the described canonical reference magnitude of voltage EcgV that utilizes carries out the 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 then 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;
Described calculating the first local reference voltage level EcgVi1 namely calculates BaseData[i] and BaseData[i+1] between adjacent two the baseline position places with this of original electrocardiographicdigital data (be BaseData[i] and BaseData[i+1] locate) the absolute value maximum of the difference of electrocardiogram (ECG) data meansigma methods;
Described calculating the second local reference voltage level EcgVi2 namely calculates BaseData[i+1] and BaseData[i+2] between adjacent two the baseline position places with this of original electrocardiographicdigital data (be BaseData[i+1] and BaseData[i+2] locate) the absolute value maximum of the difference of electrocardiogram (ECG) data meansigma methods.
More than the calculating of the first local reference voltage level and the second local reference voltage level so that not only consider these adjacent two baseline positions, and consider next adjacent two baseline positions, effectively eliminated and contiguously believed that the baseline position of position disturbs.
404, according to the ratio relation of EcgVi1 and EcgV and the ratio relation of EcgVi2 and EcgV, minute situation is carried out the baseline position calibration, specifically comprises in the following situation any one;
1) if the ratio of judging EcgVi1 and EcgV greater than 1.2 or less than 0.8, and the ratio of EcgVi2 and EcgV is between 0.8 to 1.2, then deletes i point baseline labelling (can pass through BaseData[i]=0 expression), i=i+2, get back to step 402, until all baseline positions have been calibrated;
2) if the ratio of judging EcgVi1 and EcgV between 0.8 to 1.2, and the ratio of EcgVi2 and EcgV does not then need i baseline position calibrated greater than 1.2 or less than 0.8, i=i+1 gets back to step 402, until all baseline positions have been calibrated;
3) if the ratio of judging EcgVi1 and EcgV between 0.8 to 1.2, and the ratio of EcgVi2 and EcgV then do not calibrate between 0.8 to 1.2, 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 the original electrocardiographicdigital data are at BaseData[i+1] and BaseData[i+2] 2 electrocardiogram (ECG) data meansigma methods and BaseData[i+1] and BaseData[i+2] 2 the absolute value maximum of difference of electrocardiogram (ECG) data.
Whether the present invention is worth and recently eliminates mutually the 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 the baseline initial data voltage cleverly most, only keep the second segment baseline and detect, experiment test shows that false-alarm calibration effect satisfies application requirements.
As one embodiment of the invention, the described canonical reference magnitude of voltage EcgV that utilizes carries out the 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 greater than the number of crest or the trough of 0.8 times of EcgV, and write down the position (being called for short the peak valley position) of these crests or trough;
What specify is that to a waveshape signal, seeking 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 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 in the following situation any one, two crest locations or two wave trough position or a crest location and a wave trough position.
504, ask the described difference absolute value sequence of step minimum point position (being made as iNew), the data of the back, i+1 position of BaseData are moved one after all, and this minimum point position as new baseline point insert in the BaseData sequence (BaseData[i]=iNew), return 503, until all handle the peak valley position that obtains in 502 steps;
505, i=i+1 returns step 502, until all baseline positions have been calibrated.
Because some baseline identifications are carried out after the R detection, may exist the R ripple undetected, cause baseline undetected, perhaps because electrocardiosignal is relatively poor, the 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 ", initial data voltage is worth the peak valley number close with EcgV most and again detects undetected baseline between the canonical reference magnitude of voltage EcgV that the ingenious utilization of the present invention obtains and the baseline, effect satisfies application requirements thereby elimination false dismissal, experimental results show the false dismissal calibration equally.
As one embodiment of the invention, the described canonical reference magnitude of voltage EcgV that utilizes carries out the 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 present embodiment inspection on execution sequence without specific restriction, it is accurate namely both can to have carried out first the inspection of baseline position false-alarm, it is accurate to carry out the inspection of baseline position false dismissal again, it is accurate also can to carry out first the inspection of baseline position false dismissal, and it is accurate to carry out the inspection of baseline position false-alarm again.
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 is used for obtaining original electrocardiographicdigital sequence EcgData and baseline position sequence B aseData, deposits the data of obtaining in FIFO buffer module 82; It both can be electrocardiogram (ECG) data and base-line data harvester, also can be 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 was in low level, described data input module 80 did not obtain data, and when electrical level control unit was in high level, described data input module 80 obtained data; When the needs receive data, electrical level control unit becomes high level by low level, obtains data.
Described FIFO buffer module 82 is used for buffer-stored original electrocardiographicdigital sequence data and baseline position sequence data, and data bits is greater than original electrocardiographicdigital sequence data figure place or at least one position of baseline position sequence data, and the FIFO buffer length is not less than 2048; When electrocardiosignal baseline calibration device started, the fifo buffer data bit was set to 0 entirely, optional 10,16,24 of each data bits or 32 etc.
Described central control module 84, be used in other module initializations of electrocardiosignal baseline calibration device startup control system, the FIFO buffer length is set, control baseline calibration module 86 is carried 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, transmit complete rear be fifo buffer second half section Data Position 0.
Described data outputting module 88 receives and to state 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 is used for the electrocardiosignal baseline position is calibrated;
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 judges that comparing unit 86e calculates for described Difference Calculation unit 86b, calibration for the data that the described FIFO buffer module 82 of buffer memory sends, and the data after the buffer memory calculating etc.;
Described Difference Calculation unit 86b is used for calculating the difference of adjacent two baseline positions, calculate electrocardio initial data difference corresponding to adjacent two baseline positions, calculate original electrocardiographicdigital data and BaseData[i] locate the absolute difference between the initial data, calculating data is stored among the 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 is used 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 the 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 the baseline position calibration.
Preferably, described calibration is implemented unit 86c and is adopted the accurate strategy of baseline position false-alarm inspection, further comprises:
The ratio calculation unit is used 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 be used for to calculate the first local reference voltage level EcgVi1, namely calculates BaseData[i] and BaseData[i+1] between adjacent two the baseline position places with this of original electrocardiographicdigital data (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, namely calculate BaseData[i+1] and BaseData[i+2] between adjacent two the baseline position places with this of original electrocardiographicdigital data (be BaseData[i+1] and BaseData[i+2] locate) absolute value of the difference of electrocardiogram (ECG) data meansigma methods;
Described judge ratio that comparing unit 86e is used for judging EcgVi1 and EcgV whether between 0.8 to 1.2 and the ratio of judging 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 used at BaseData[i] and BaseData[i+1] between original electrocardiographicdigital data absolute value greater than the number of crest or the trough of 0.8 times of EcgV, the position of record crest or trough (being called for short the peak valley position); Judge whether the peak valley position all handles; Judge whether that all baseline positions have calibrated;
Described Difference Calculation unit 86b is used for the original electrocardiographicdigital data between adjacent two peak valley positions of finding are asked difference absolute value, obtains the 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 data of the back, i+1 position of BaseData are moved one after all, and this minimum point position as new baseline point insert in the BaseData sequence (BaseData[i]=iNew).
When using, the user only needs original electrocardiographicdigital sequence and baseline position sequence are sent to the data input unit of this electrocardiosignal baseline calibration device, then accept baseline position sequence after original electrocardiographicdigital sequence and the correction correspondingly from the data output unit of this electrocardiosignal baseline calibration device, use extremely easy, and real time correction when can be used for the identification of real-time baseline is oversimplified for follow-up ECG Signal Analysis and to be established good basis and to provide good assurance for the subsequent analysis correctness.
Above illustrated embodiment; the purpose, technical solutions and advantages of the present invention have been carried out further detailed description; institute is understood that; above illustrated embodiment only is preferred implementation of the present invention; not in order to limit the present invention; all any modifications of within the spirit and principles in the present invention the present invention being done, be equal to replacement, improvement etc., all should be included within protection scope of the present invention.
Claims (8)
1. electrocardiosignal baseline calibration method, it is characterized in that, sequence of differences DBD and electrocardio initial data sequence of differences DEBD corresponding to adjacent two baseline positions according to adjacent two baseline positions, obtain canonical reference magnitude of voltage EcgV, utilize canonical reference magnitude of voltage EcgV to carry out the baseline position calibration.
2. described electrocardiosignal baseline calibration method according to claim 1, it is characterized in that, described sequence of differences DBD and electrocardio initial data sequence of differences DEBD corresponding to adjacent two baseline positions according 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 then, repeating step 302; Otherwise, enter step 303; Wherein, F represents the 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 the initial data, this sequence table is shown the absolute difference sequence; Wherein, BaseData[i] represent that sequence number is the baseline position of i among the baseline position sequence B aseData, BaseData[i+1] represent that sequence number is the baseline position of i+1 among the baseline position sequence B aseData;
304, maximizing from the absolute difference sequence is made as canonical reference magnitude of voltage EcgV with this maximum.
3. described electrocardiosignal baseline calibration method according to claim 1 is characterized in that, the described canonical reference magnitude of voltage EcgV that utilizes carries out the baseline position calibration, comprises that the inspection of baseline position false-alarm is accurate, may further comprise the 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 403, if then 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;
Described calculating the first local reference voltage level EcgVi1 namely calculates BaseData[i] and BaseData[i+1] between the absolute value maximum of difference of adjacent two the baseline position place electrocardiogram (ECG) data meansigma methodss with this of original electrocardiographicdigital data;
Described calculating the second local reference voltage level EcgVi2 namely calculates BaseData[i+1] and BaseData[i+2] between the absolute value maximum of difference of adjacent two the baseline position place electrocardiogram (ECG) data meansigma methodss with this of original electrocardiographicdigital data;
Wherein, BaseData[i] represent that sequence number is the baseline position of i among the baseline position sequence B aseData, BaseData[i+1] represent that sequence number is the baseline position of i+1 among the baseline position sequence B aseData, BaseData[i+2] represent that sequence number is the baseline position of i+2 among the baseline position sequence B aseData;
404, according to the ratio relation of EcgVi1 and EcgV and the ratio relation of EcgVi2 and EcgV, minute situation is carried out the baseline position calibration.
4. described electrocardiosignal baseline calibration method according to claim 3 is characterized in that, and is described according to the ratio relation of EcgVi1 and EcgV and the ratio relation of EcgVi2 and EcgV, and minute situation is carried out the baseline position calibration, comprise following situation wherein any one:
1) if the ratio of judging EcgVi1 and EcgV greater than 1.2 or less than 0.8, and the ratio of EcgVi2 and EcgV is then deleted i point baseline labelling between 0.8 to 1.2, i=i+2 gets back to step 402, until all baseline positions have been calibrated;
2) if the ratio of judging EcgVi1 and EcgV between 0.8 to 1.2, and the ratio of EcgVi2 and EcgV does not then need i baseline position calibrated greater than 1.2 or less than 0.8, i=i+1 gets back to step 402, until all baseline positions have been calibrated;
3) if the ratio of judging EcgVi1 and EcgV between 0.8 to 1.2, and the ratio of EcgVi2 and EcgV then do not calibrate between 0.8 to 1.2, i=i+2 gets back to step 402, until all baseline positions have been calibrated.
5. described electrocardiosignal baseline calibration method according to claim 1 is characterized in that, the described canonical reference magnitude of voltage EcgV that utilizes carries out the baseline position calibration, comprises that the inspection of baseline position false dismissal is accurate, may further comprise the steps:
501, suppose i=0;
502, ask at BaseData[i] and BaseData[i+1] between original electrocardiographicdigital data absolute value 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 the peak valley position;
503, successively the original electrocardiographicdigital data between adjacent two peak valley positions of finding are asked difference absolute value, obtain the difference absolute value sequence;
504, ask described difference absolute value sequence minimum point position, be made as iNew, the data of the back, i+1 position of BaseData are moved one after all, and this minimum point position inserted in the BaseData sequence as new baseline point, be BaseData[i]=iNew, return 503, until all handle the peak valley position that obtains in 502 steps;
505, i=i+1 returns step 502, until all baseline positions have been calibrated;
Wherein, BaseData[i] represent that sequence number is the baseline position of i among the baseline position sequence B aseData, BaseData[i+1] represent that sequence number is the baseline position of i+1 among the baseline position sequence B aseData.
6. 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 is used for the electrocardiosignal baseline position is calibrated, and comprises that the Difference Calculation unit, the calibration that are connected with buffer unit implement the unit, be worth computing unit most and judge comparing unit;
Described buffer unit is implemented the unit, is worth computing unit most and judged that comparing unit calculates for described Difference Calculation unit, calibration for the data that the described FIFO buffer module of buffer memory sends, and the data after the buffer memory calculating;
Described Difference Calculation unit, be used for calculating the difference of adjacent two baseline positions, calculate electrocardio initial data difference corresponding to adjacent two baseline positions, calculate original electrocardiographicdigital data and BaseData[i] locate the absolute difference between the initial data, calculating data is stored in the described buffer unit; Wherein, BaseData[i] represent that sequence number is the baseline position of i among the baseline position sequence B aseData;
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 is used 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 the electrocardiogram (ECG) data sample rate;
The unit is implemented in described calibration, is used for utilizing canonical reference magnitude of voltage EcgV to carry out the baseline position calibration.
7. described electrocardiosignal baseline calibration device according to claim 6 is characterized in that, described calibration is implemented the unit and adopted the accurate strategy of baseline position false-alarm inspection, comprising:
The ratio calculation unit, the ratio of the sequence of differences of adjacent two baseline positions before and after being used for 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;
The described first local reference voltage level EcgVi1 is calculated by described Difference Calculation unit, namely calculates BaseData[i] and BaseData[i+1] between the absolute value of difference of adjacent two the baseline position place electrocardiogram (ECG) data meansigma methodss with this of original electrocardiographicdigital data;
The described second local reference voltage level EcgVi2 is calculated by described Difference Calculation unit, namely calculates BaseData[i+1] and BaseData[i+2] between the absolute value of difference of adjacent two the baseline position place electrocardiogram (ECG) data meansigma methodss with this of original electrocardiographicdigital data;
Described judge ratio that comparing unit also is used for judging EcgVi1 and EcgV whether between 0.8 to 1.2 and the ratio of judging EcgVi2 and EcgV whether between 0.8 to 1.2, judge whether that all baseline positions have calibrated;
Wherein, BaseData[i+1] represent that sequence number is the baseline position of i+1 among the baseline position sequence B aseData, BaseData[i+2] represent that sequence number is the baseline position of i+2 among the baseline position sequence B aseData.
8. described electrocardiosignal baseline calibration device according to claim 6 is characterized in that, described calibration is implemented the unit and adopted the accurate strategy of baseline position false dismissal inspection, comprising:
Described judgement comparing unit also is used at BaseData[i] and BaseData[i+1] between original electrocardiographicdigital data absolute value greater than the number of crest or the trough of 0.8 times of EcgV, the peak valley position is called for short in the position of record crest or trough; Judge whether the peak valley position all handles; Judge whether that all baseline positions have calibrated; Wherein, BaseData[i+1] represent that sequence number is the baseline position of i+1 among the baseline position sequence B aseData;
Described Difference Calculation unit also is used for the original electrocardiographicdigital data between adjacent two peak valley positions of finding are asked difference absolute value, obtains the difference absolute value sequence;
The described computing unit that is worth most also is used for asking described difference absolute value sequence minimum point position, be made as iNew, the data of the back, i+1 position of BaseData are moved one after all, and this minimum point position are inserted in the BaseData sequence as new baseline point, be i.e. BaseData[i]=iNew.
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 true CN103006204A (en) | 2013-04-03 |
CN103006204B 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) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105866011A (en) * | 2016-03-31 | 2016-08-17 | 艾康生物技术(杭州)有限公司 | Pulse baseline value calculation method and particle counting method for blood cell analyzer |
CN107003421A (en) * | 2014-12-16 | 2017-08-01 | 皇家飞利浦有限公司 | Needle position misalignment for photon detector is determined |
CN111593098A (en) * | 2020-05-29 | 2020-08-28 | 成都瀚辰光翼科技有限责任公司 | QPCR real-time fluorescence data quantitative analysis method |
Citations (5)
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 |
-
2012
- 2012-12-29 CN CN201210587558.5A patent/CN103006204B/en active Active
Patent Citations (5)
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 |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107003421A (en) * | 2014-12-16 | 2017-08-01 | 皇家飞利浦有限公司 | Needle position misalignment for photon detector is determined |
CN105866011A (en) * | 2016-03-31 | 2016-08-17 | 艾康生物技术(杭州)有限公司 | Pulse baseline value calculation method and particle counting method for blood cell analyzer |
CN105866011B (en) * | 2016-03-31 | 2018-10-26 | 艾康生物技术(杭州)有限公司 | The particle counting methods of pulse base value calculating method and blood cell analysis machine |
CN111593098A (en) * | 2020-05-29 | 2020-08-28 | 成都瀚辰光翼科技有限责任公司 | QPCR real-time fluorescence data quantitative analysis method |
CN111593098B (en) * | 2020-05-29 | 2021-09-21 | 成都瀚辰光翼科技有限责任公司 | QPCR real-time fluorescence data quantitative analysis method |
Also Published As
Publication number | Publication date |
---|---|
CN103006204B (en) | 2014-07-16 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103690156B (en) | The processing method of a kind of heart rate acquisition methods and electrocardiosignal | |
CN100477957C (en) | Multi-electrode module, using method thereof, and a lead search method | |
US5521851A (en) | Noise reduction method and apparatus | |
CN103099614B (en) | For analyzing the Apparatus for () and method therefor of signal | |
CN103989462B (en) | The extracting method of a kind of pulse wave fisrt feature point and second feature point | |
CN103549950A (en) | Improved difference threshold detection algorithm for mobile ECG (electrocardiogram) monitoring | |
CN104473629B (en) | Automatic electrocardioelectrode placement error detection method based on kernel function classification algorithm | |
CN102793539B (en) | Vector cardiogram detection and analysis method and system | |
CN106419896A (en) | Matching and tracking time sequences of heart activation | |
CN105748051A (en) | Blood pressure measuring method and device | |
CN102727196A (en) | Measurement apparatus, measurement method, information processing apparatus, and information processing method | |
CN103006204B (en) | Method and device for calibrating baseline of electrocardiosignal | |
US10172531B2 (en) | Heartbeat detection method and heartbeat detection device | |
CN109276242A (en) | The method and apparatus of electrocardiosignal type identification | |
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 | |
CN110432895B (en) | Training data processing method, electrocardiographic waveform detection method and electronic equipment | |
CN106419907A (en) | Locating J-points in electrocardiogram signals | |
WO2021120737A1 (en) | St detection method and apparatus, computer device, and storage medium | |
CN101940476B (en) | A kind of method for detecting blood oxygen saturation and system | |
CN103006205B (en) | Device and method for electrocardiosignal baseline recognition | |
CN109259750A (en) | Rate calculation method, apparatus, computer equipment and storage medium | |
CN110763735A (en) | Soluble total solid TDS detection method and related equipment | |
CN1392410A (en) | Continous timing potential analyzer for electrochemical analysis | |
CN111419214A (en) | Electrocardio abnormality detection method, terminal and server |
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 |