Summary of the invention
The present invention provides a kind of heart to clap the generation of waveform template, ventricular premature contraction detects processing method and device, and it is more reasonable to make that heart bat waveform template generates, more accurate to the detection of ventricular premature contraction, and operand still less.
Technical scheme provided by the invention is following:
An object of the present invention is to provide a kind of heart and clap the waveform template generation method, may further comprise the steps:
Earlier first waveform of treating that thought-read is clapped is put in first template; Treat that with second the waveform of thought-read bat and the waveform that the heart in said first template is clapped compare, calculate correlation coefficient, judge that whether said correlation coefficient is greater than first thresholding of setting; If; Treat that with said second it is first template class that the thought-read bat gathers, if not, then gathering is second template class; Treat that with the 3rd the waveform of thought-read bat and the waveform that the heart in said first template is clapped compare again, calculate correlation coefficient, whether judge said correlation coefficient greater than first thresholding of setting, if; Treat that with said the 3rd thought-read claps that to gather be first template class, if not, then again with said second template in the waveform clapped of the heart compare; Calculate correlation coefficient, whether judge said correlation coefficient greater than first thresholding of setting, if; Then gathering is second template class, and if not, then gathering is the 3rd template class; By that analogy, successively M the waveform of treating that thought-read is clapped put into the N relevant with it template class, wherein N < M respectively;
One types that acquisition heart umber of beats in said first template class to the said N template class is maximum as normal template.
Preferably, when the heart umber of beats order of input during greater than M, the heart bat waveform that will import successively in waveform that the heart claps and first to N the template compares; Calculate correlation coefficient, whether judge said correlation coefficient greater than first thresholding of setting, if; Treat that thought-read is clapped to gather and be this template class said; If not, then with next template relatively, gather and be the corresponding template class.
Preferably, when the quantity of template is completely set number N,, comprising if the next waveform correlation coefficient of treating thought-read bat and N template all smaller or equal to the thresholding of setting, then merges template or deletes processing:
Calculate the correlation coefficient that obtains between outer other N-1 template of the maximum template of heart umber of beats, find out maximum correlation coefficient; If maximum correlation coefficient is more than or equal to second thresholding of setting, two then that this maximum correlation coefficient is corresponding templates merge, otherwise the template of finding out the minimum number of N-1 template center's bat is deleted;
Classify the new thought-read bat of treating as template.
Preferably, clap waveform clustering after corresponding template when the new thought-read of treating, also comprise: 7/8 of waveform that will original template adds 1/8 of the waveform of treating the thought-read bat, forms the waveform of new template.
Another object of the present invention provides a kind of heart and claps waveform template generation module, comprising:
Modular unit, total N template is used to store N the dissimilar heart and claps waveform;
The template cluster cell is used for earlier first waveform of treating that thought-read is clapped being put into first template, treats that with second the waveform of thought-read bat and the waveform that the heart in said first template is clapped compare; Calculate correlation coefficient; Whether judge said correlation coefficient greater than first thresholding of setting, if treat that with said second it is first template class that the thought-read bat gathers; If not, then gathering is second template class; Treat that with the 3rd the waveform of thought-read bat and the waveform that the heart in said first template is clapped compare again, calculate correlation coefficient, whether judge said correlation coefficient greater than first thresholding of setting, if; Treat that with said the 3rd thought-read claps that to gather be first template class, if not, then again with said second template in the waveform clapped of the heart compare; Calculate correlation coefficient, whether judge said correlation coefficient greater than first thresholding of setting, if; Then gathering is second template class, and if not, then gathering is the 3rd template class; By that analogy, successively M the waveform of treating that thought-read is clapped put into the N relevant with it template class, wherein N < M respectively;
Judging unit, one types that acquisition heart umber of beats in said first template class to the said N template class is maximum as normal template.
Another object of the present invention provides a kind of ventricular premature contraction and detects processing method, comprising:
ECG signal to input carries out pretreatment, obtains pretreated signal;
From said pretreated signal, extract the characteristic parameter treat that thought-read is clapped, said characteristic parameter comprises the width of QRS ripple, current RR interval and related average RR interval;
From said pretreated signal, obtain the waveform of treating that thought-read is clapped, calculate the correlation coefficient of the waveform of treating waveform that thought-read is clapped and template;
According to the correlation coefficient of treating waveform that thought-read is clapped and the waveform of said template whether less than setting thresholding, and the average RR interval of the width of QRS ripple, current RR interval and association whether depart from first Rule of judgment of normal value, determine whether to be ventricular premature contraction.
Preferably, first Rule of judgment comprises:
Judge treat waveform that thought-read claps and the normal waveform of template correlation coefficient whether greater than 0.99 and current RR interval be in average RR interval 90%~120% between;
If the result is for being; To treat that thought-read is clapped to gather is normal template class, and it is normal to confirm as chamber property, if the result is not for; Judge that successively whether the correlation coefficient treat waveform that thought-read claps and waveform beyond the normal template is greater than 0.99; If then treat that thought-read is clapped to gather and be this template class, and calculate said by the correlation coefficient of the template class of cluster and said normal template class with said; Further, determine whether to be ventricular premature contraction according to being accounted for the ratio of average interval and second Rule of judgment of QRS wave width by the correlation coefficient of the template class of cluster and said normal template class, current RR interval.
Preferably; Second Rule of judgment comprises: further judge said by the correlation coefficient of the template class of cluster and said normal template class whether greater than 0.96, perhaps said by the correlation coefficient of the template class of cluster and said normal template class whether greater than 0.78 and current RR interval be average interval 90%~120% between; Perhaps said by the correlation coefficient of the template class of cluster and said normal template class whether greater than 0.5 and current RR interval be average interval 90%~120% between and the QRS wave width less than 120 milliseconds; If it is normal to confirm as chamber property,, further, determine whether to be ventricular premature contraction according to the ratio and the QRS wave width Rule of judgment that are accounted for average interval by the correlation coefficient of the template class of cluster and said normal template class, current RR interval if the result is not for.
Preferably, the 3rd Rule of judgment comprises: said by the correlation coefficient of the template class of cluster and said normal template class whether greater than 0.78 and the QRS width greater than 120 milliseconds; Perhaps by the correlation coefficient of the template class of cluster and said normal template class greater than 0.5 and current RR interval greater than average interval 120% or less than average interval 90%, if then confirm as ventricular premature contraction, otherwise be uncertain.
Another object of the present invention provides a kind of ventricular premature contraction and detects blood processor, comprising:
Pretreatment unit is used for the ECG signal of input is carried out pretreatment, obtains pretreated signal;
Feature extraction unit is used for extracting the characteristic parameter of treating that thought-read is clapped from said pretreated signal, and said characteristic parameter comprises the width of QRS ripple, current RR interval and related average RR interval;
The correlation coefficient computing unit is used for obtaining the waveform of treating that thought-read is clapped from said pretreated signal, calculates the correlation coefficient of the waveform of treating waveform that thought-read is clapped and template;
Judging unit, according to said correlation coefficient whether less than certain thresholding, and the width of QRS ripple, current RR interval and related average RR interval whether depart from the normal value Rule of judgment, determine whether to be ventricular premature contraction
Preferably, said judging unit specifically comprises following determination methods:
Judge treat waveform that thought-read claps and the normal waveform of template correlation coefficient whether greater than 0.99 and current RR interval be in average RR interval 90%~120% between; If the result is for being; To treat that thought-read is clapped to gather is normal template class, and it is normal to confirm as chamber property, if the result is not for; Whether the correlation coefficient of judging the waveform treat waveform that thought-read is clapped and other template successively is greater than 0.99; If then treat that thought-read is clapped to gather and be this template class, and calculate said by the correlation coefficient of the template class of cluster and said normal template class with said; If do not match with normal template; Further judge said by the correlation coefficient of the template class of cluster and said normal template class whether greater than 0.96, perhaps said by the correlation coefficient of the template class of cluster and said normal template class whether greater than 0.78 and current RR interval be average interval 90%~120% between; Perhaps said by the correlation coefficient of the template class of cluster and said normal template class whether greater than 0.5 and current RR interval be average interval 90%~120% between and the QRS wave width less than 120 milliseconds; If it is normal to confirm as chamber property, if the result confirms as and treats further judgement for not; Treat further judgement if confirm as, then further comprise: said by the correlation coefficient of the template class of cluster and said normal template class whether greater than 0.78 and the QRS width greater than 120 milliseconds; Perhaps by the correlation coefficient of the template class of cluster and said normal template class greater than 0.5 and current RR interval greater than average interval 120% or less than average interval 90%, if then confirm as ventricular premature contraction, otherwise be uncertain.
Technique scheme can find out, the embodiment of the invention is taked a plurality of templates in that template is set up in the process, makes the accurately situation of the normal waveform of reflection of template; After electrocardiosignal carried out pretreatment; Extracted parameters such as the width that comprises the QRS ripple of treating that thought-read is clapped, current RR interval and related average RR interval, and calculated the correlation coefficient of treating waveform that thought-read claps and the waveform of normal template, comprehensive then these parameters judge meet set require after; The result of ventricular premature contraction is confirmed as in output; Thereby can more accurately detect ventricular premature contraction PVC with respect to art methods, improve accuracy rate, and operand still less.
The specific embodiment
To combine the accompanying drawing in the embodiment of the invention below, the technical scheme in the embodiment of the invention is carried out clear, intactly description, obviously, described embodiment only is the present invention's part embodiment, rather than whole embodiment.Based on the embodiment among the present invention, those of ordinary skills are not making all other embodiment that obtained under the creative work prerequisite, all belong to the scope of the present invention's protection.
The present invention provides a kind of heart to clap that the waveform template generates, ventricular premature contraction detects processing method and device, generates more fast, template easily, and it is more accurate to the detection of ventricular premature contraction to make, and operand still less.
Be elaborated respectively below in conjunction with accompanying drawing.
A kind of heart is clapped the waveform template generation method, may further comprise the steps:
Earlier first waveform of treating that thought-read is clapped is put in first template; Treat that with second the waveform of thought-read bat and the waveform that the heart in said first template is clapped compare, calculate correlation coefficient, judge that whether said correlation coefficient is greater than first thresholding of setting; If; Treat that with said second it is first template class that the thought-read bat gathers, if not, then gathering is second template class; Treat that with the 3rd the waveform of thought-read bat and the waveform that the heart in said first template is clapped compare again, calculate correlation coefficient, whether judge said correlation coefficient greater than first thresholding of setting, if; Treat that with said the 3rd thought-read claps that to gather be first template class, if not, then again with said second template in the waveform clapped of the heart compare; Calculate correlation coefficient, whether judge said correlation coefficient greater than first thresholding of setting, if; Then gathering is second template class, and if not, then gathering is the 3rd template class; By that analogy, successively M the waveform of treating that thought-read is clapped put into the N relevant with it template class, wherein N < M respectively;
One types that acquisition heart umber of beats in said first template class to the said N template class is maximum as normal template.
As embodiment, first thresholding>0.8, preferred 0.95.
As an embodiment M=10, N=8.
Template is along with the new arrival that thought-read is clapped of treating, constantly real-time update.When the heart umber of beats order of input during, will import waveform that the heart claps successively and compare the calculating correlation coefficient with heart bat waveform in first to N template greater than M; Judge that whether said correlation coefficient is greater than first thresholding of setting; If treat that thought-read is clapped to gather and be this template class said, if not; Then with next template relatively, gather and be the corresponding template class.
When the quantity of template is completely set number N,, comprising if the new waveform correlation coefficient of treating thought-read bat and N template all smaller or equal to the thresholding of setting, then merges template or deletes processing:
Calculate the correlation coefficient that obtains between outer other N-1 template of the maximum template of heart umber of beats, find out maximum correlation coefficient; If maximum correlation coefficient is more than or equal to second thresholding of setting, two then that this maximum correlation coefficient is corresponding templates merge, otherwise the template of finding out the minimum number of N-1 template center's bat is deleted;
Classify the new thought-read bat of treating as template.
As embodiment, second thresholding>0.7, be preferably 0.95.
Clap waveform clustering after corresponding template when the new thought-read of treating, also comprise: 7/8 of waveform that will original template adds 1/8 of the waveform of treating the thought-read bat, forms the waveform of new template.
A kind of heart is clapped waveform template generation module, comprising:
Modular unit, total N template is used to store N the dissimilar heart and claps waveform;
The template cluster cell is used for earlier first waveform of treating that thought-read is clapped being put into first template, treats that with second the waveform of thought-read bat and the waveform that the heart in said first template is clapped compare; Calculate correlation coefficient; Whether judge said correlation coefficient greater than first thresholding of setting, if treat that with said second it is first template class that the thought-read bat gathers; If not, then gathering is second template class; Treat that with the 3rd the waveform of thought-read bat and the waveform that the heart in said first template is clapped compare again, calculate correlation coefficient, whether judge said correlation coefficient greater than first thresholding of setting, if; Treat that with said the 3rd thought-read claps that to gather be first template class, if not, then again with said second template in the waveform clapped of the heart compare; Calculate correlation coefficient, whether judge said correlation coefficient greater than first thresholding of setting, if; Then gathering is second template class, and if not, then gathering is the 3rd template class; By that analogy, successively M the waveform of treating that thought-read is clapped put into the N relevant with it template class, wherein N < M respectively;
Judging unit, one types that acquisition heart umber of beats in said first template class to the said N template class is maximum as normal template.
Fig. 1 is that the embodiment of the invention one ventricular premature contraction detects process flow figure.As shown in Figure 1, comprising:
Step 101, to the input ECG signal carry out pretreatment, obtain pretreated signal;
Step 102, from said pretreated signal, extract the characteristic parameter treat that thought-read is clapped, said characteristic parameter comprises the width of QRS ripple, current RR interval and related average RR interval;
Here the average RR interval of saying, be meant the average of setting number (for example 8) the RR interval that current RR interval is nearest.
Step 103, from said pretreated signal, obtain the waveform of treating that thought-read is clapped, calculate the correlation coefficient of the waveform of treating waveform that thought-read is clapped and template;
Step 104, according to the correlation coefficient of treating waveform that thought-read is clapped and the waveform of said template whether less than certain thresholding, and the average RR interval of the width of QRS ripple, current RR interval and association whether depart from the normal value Rule of judgment, determine whether to be ventricular premature contraction.
What need explanation is that step 102 and 103 does not have inevitable ordering relation.Treat that thought-read is clapped premature beat detection processing and template renewal does not have sequencing to limit yet.
Can find, the embodiment of the invention after electrocardiosignal is carried out pretreatment, parameters such as the average RR interval of extracted the width that comprises the QRS ripple of treating that thought-read is clapped, treating that thought-read claps; And calculate the correlation coefficient of the waveform treat waveform that thought-read is clapped and template; After comprehensive then these parameters were judged and met the setting requirement, the result of ventricular premature contraction was confirmed as in output, thereby can more accurately detect ventricular premature contraction PVC with respect to art methods; Improved accuracy rate, and operand still less.
Fig. 2 is the framework flow chart that the embodiment of the invention two ventricular premature contractions detect processing method.
As shown in Figure 2, the entire process flow process comprises: behind the input signal, carry out Signal Pretreatment, again signal is carried out feature extraction, the input template matching system carries out template matching and logical judgment then, last output category result.Concrete:
Digitized electrocardiogram ECG signal carries out pretreatment, promptly carries out pretreatment through high and low pass filter, can be through pretreatment so that baseline drift obtain proofreading and correct, and suppressed high-frequency noise basically, disturb thereby reduce.Carry out feature extraction on this basis, promptly extract QRS wave characteristic parameter, can guarantee veracity of parameters.Because the main morphological characteristic of PVC is the roomy lopsided QRS wave group that occurs ahead of time, therefore the characteristic so RR interval (RR representes two intervals between the QRS ripple), QRS wave width are absolutely necessary extracts these as characteristic parameter.
In addition, when carrying out template matching, also further obtain it and treat that thought-read claps the correlation coefficient of waveform and template waveforms, judge, draw classification results through parametric synthesis such as RR interval, QRS wave width and correlation coefficient CC.
The inventive method is after data of every input, and the carry out PVC real-time by flow process shown in Figure 2 detects.When a heartbeat arrives, detect the QRS ripple, and measure its a stack features parameter, send into the template matching system then, draw the heart and clap classification results.When detecting, the inventive method postpones a heart claps, and when front center is clapped, returns the classification results that a last heart is clapped when detecting so.
Fig. 3 is the particular flow sheet that the embodiment of the invention two ventricular premature contractions detect processing method.As shown in Figure 3, comprise step:
Step 301, input signal is carried out pretreatment.
Can comprise noises such as power frequency, myoelectricity, baseline drift in the electrocardiogram ECG signal of general input.Baseline drift is by kinetic low-frequency disturbance between breathing or electrode and human body, generally below 0.5Hz, can change the form of ST section among the ECG, influence the accuracy of parameter extraction, so the filtering baseline drift is very important.The inventive method is carried out Filtering Processing in order to reduce noise to input signal in advance, for example carries out high and low pass filter.
Step 302, extraction characteristic parameter.
The present invention extracts treats that characteristic parameter that thought-read is clapped mainly comprises the QRS wave width treating thought-read and clap, current RR interval, related average RR interval.
Wherein, as shown in Figure 6, the width between Q ripple and the S ripple is the QRS wave width.Fig. 6 is R wave height in the embodiment of the invention two methods, QRS wave width marked graph.The RR interval, need last interval RR, current interval RR and back one interval RR, and it is as shown in Figure 7 with the relation that the heart is clapped, and Fig. 7 is that the heart in the embodiment of the invention two methods is clapped and interval relation figure.
Step 303, the template matching of carrying out.Specifically referring to the description among Fig. 4.
Step 304, according to matching result output category result.
Fig. 4 is the template matching flow chart in the embodiment of the invention two methods, and Fig. 8 has then shown the signal process of template matching.
Before introducing this flow chart, earlier relational language is defined.
Average RR interval, be meant the average of setting number (for example 8) the RR interval that current RR interval is nearest.
What need explanation is; Here the threshold value that compares that sets of correlation coefficient CC is as 0.95,0.99 etc.; The threshold values 90%~120% that compare with average RR interval etc. with 120 milliseconds of QRS width threshold values relatively etc., all are gained rule of thumb; Be not to immobilize, can be provided with according to result of the test.
As shown in Figure 4, to preceding M bat carrying out the earlier training study of signal, after study is accomplished the new-comer is treated the thought-read bat; Mate with normal template earlier; If satisfy correlation coefficient CC greater than 0.99, current RR interval be average RR interval 90%~120% between, mate successfully; Then gather and be normal template class, return normal; If coupling is unsuccessful, then successively with other template matching, if mate successfully, then gather and be this class template, if satisfy correlation coefficient CC more than or equal to 0.96 at this moment; Perhaps correlation coefficient greater than 0.78 and current RR interval be average RR interval 90%~120% between; Perhaps correlation coefficient CC greater than 0.5 and current RR interval be average RR interval 90%~120% between and the QRS wave width less than 120 milliseconds, then export normal result; If do not satisfy, but satisfy correlation coefficient CC greater than 0.78 and the QRS width greater than 120 milliseconds; Perhaps correlation coefficient CC greater than 0.5 and current RR interval greater than average interval 120%, perhaps correlation coefficient whether greater than 0.5 and current RR interval less than average interval 90%, then return the result who confirms PVC, if do not satisfy again, then return uncertain result.
Concrete, Fig. 4 comprises step:
The thought-read bat is treated in step 401, input.
Treat that the thought-read bat can be R wavefront 600ms, one section waveform of back 400ms.
Step 402, judge whether existing normal template, if, get into step 403, if not, get into step 414 and generate normal template.The method that generates normal template is referring to 5 descriptions of flow chart.Said normal template among the present invention, representative be normal waveform.
The correlation coefficient CC parameter of waveform with the waveform of normal template of thought-read bat is treated in step 403, calculating.
The inventive method is learnt through preceding 10 waveforms to every segment signal data, obtains the waveform of normal template, each is treated that thought-read is clapped carry out cluster, obtains itself and the correlation coefficient CC of the waveform of normal template.What need explanation is, is with 10 waveforms for example but be not limited to this here.
The correlation coefficient computing formula of extraction of the present invention is following:
Wherein, N is the length of the number of winning the confidence, and refers to promptly that also with the QRS ripple be the signal number of gathering in the front and back, center a period of time (for example 320ms), and for example sample rate is 600, then N=320*600/1000=192; X (n); Y (n) is respectively the waveshape signal and the waveshape signal of treating that thought-read is clapped of template;
is respectively x (n), the meansigma methods of y (n).
Step 404, according to the parameter comparative result, judge whether to satisfy correlation coefficient CC greater than 0.99, current RR interval be average RR interval 90%~120% between, then get into step 405 if satisfy, if do not satisfy, get into step 408.
Average RR interval, extracted acquisition in step 302.
Step 405, because satisfy correlation coefficient CC greater than 0.99, current RR interval be average RR interval 90%~120% between, confirm as coupling, will treat therefore that thought-read is clapped to gather and be normal template class, get into step 406.
Step 406, upgrade normal template, get into step 407.
Upgrade normal template according to the result of step 405 in this step.
After the cluster, template is upgraded, then adopted 7/8 of normal template waveforms to add to treat now 1/8 of waveform that thought-read is clapped, form the waveform of new normal template if satisfy condition.In addition; The maximum quantity of template can be made as M (for example being 8); When template number is expired, newly clap if having with the unmatched heart of waveform template, then template is merged or delete processing; Handling process is following: 1) calculate the correlation coefficient between other 7 templates except that normal template, find out maximum correlation coefficient; 2) if maximum correlation coefficient more than or equal to 0.80, two then that this maximum correlation coefficient is corresponding templates merge, and delete if maximum correlation coefficient, is then found out the template of the minimum number that 7 template center clap less than 0.80.
Step 407, this step are exported normal result.
Step 408, because do not satisfy correlation coefficient CC greater than 0.99, current RR interval be average RR interval 90%~120% between, confirm as and do not match, will treat that therefore thought-read claps successively and other template matching, if mate successfully, then gather and be this class template.Get into step 409.
Step 409, calculate the correlation coefficient CC of this class template and normal template class.
Step 410, according to the parameter comparative result, judge whether to satisfy correlation coefficient CC more than or equal to 0.96; Perhaps correlation coefficient greater than 0.78 and current RR interval be average RR interval 90%~120% between; Perhaps correlation coefficient CC greater than 0.5 and current RR interval be average RR interval 90%~120% between and the QRS wave width less than 120 milliseconds, if, get into the normal result of step 407 output, if not, get into step 411.
Step 411, further judge whether to satisfy correlation coefficient CC greater than 0.78 and the QRS width greater than 120 milliseconds; Perhaps correlation coefficient CC greater than 0.5 and current RR interval greater than average interval 120%, perhaps correlation coefficient whether greater than 0.5 and current RR interval less than average interval 90%, if, get into step 412, if not, get into step 413.
The result of PVC is confirmed as in step 412, output.
Through above-mentioned judgement flow process, finally determine PVC.
Step 413, export uncertain result.
Step 414, generate normal template.Specifically describe referring to Fig. 5.
Above template renewal and premature beat detect judges that not having sequencing concerns, should not be limited to the foregoing description.
Fig. 5 is the template product process figure in the embodiment of the invention two methods.
Template generative process of the present invention adopts altogether and sets number (for example 8) template, and a QRS ripple is placed in each template the inside, and each template has a template waveforms.Learn preceding ten hearts and clap, QRS ripple cluster forms template set, and the templates that cluster is maximum are as the advantage template, as later ECG signal optimum object relatively, also promptly as the normal template that is used for comparison.
Concrete, as shown in Figure 5, the template generative process comprises step:
The thought-read bat is treated in step 501, input.
Step 502, first waveform of treating that thought-read is clapped is put in first template, second waveform of treating that the waveform that thought-read claps and the heart in first template are clapped compared the calculating correlation coefficient.
Step 503, according to the parameter comparative result, judge whether to satisfy correlation coefficient CC greater than 0.95, if, get into step 504, if not, get into step 505.
Step 504, because satisfy correlation coefficient CC greater than 0.95, therefore treat that with second thought-read claps that to gather be first template class.Get into step 506.
Step 505, because do not satisfy correlation coefficient CC greater than 0.95, therefore treat that with second waveform that thought-read claps carries out correlation ratio with the waveform of other templates successively, if relevant, then gather and be this template class, also be other types.Get into step 507.
Step 506, new template more.Get into step 507.
More the description in the mode of new template and the earlier figures 4 is similar, repeats no more here.
Step 507, judgement treat whether the thought-read bat has been imported N and clapped, if, get into step 508, if not, return step 501 input bat newly.
N in this step claps as required and sets.
Step 508, will obtain the maximum template of heart umber of beats, promptly as being used for and the template of treating that waveform that thought-read is clapped compares as normal template.
This step is that first template class is obtained maximum one type of heart umber of beats to the said N template class as normal template.
Can find from the said method flow process; The inventive method has following beneficial effect: the embodiment of the invention is after carrying out pretreatment to electrocardiosignal; Extracted parameters such as the width that comprises the QRS ripple of treating that thought-read is clapped, current RR interval and related average RR interval, and calculated the correlation coefficient of treating waveform that thought-read claps and the waveform of normal template, comprehensive then these parameters judge meet set require after; The result of ventricular premature contraction is confirmed as in output; Thereby can more accurately detect ventricular premature contraction PVC with respect to art methods, improve accuracy rate, and operand still less.
The present invention is corresponding also to provide a kind of ventricular premature contraction to detect blood processor.
Fig. 9 is embodiment of the invention apparatus structure sketch map, and is as shown in Figure 9, and this device comprises:
Pretreatment unit 91 is used for the ECG signal of input is carried out pretreatment, obtains pretreated signal;
Feature extraction unit 92 is used for extracting the characteristic parameter of treating that thought-read is clapped from said pretreated signal, and said characteristic parameter comprises the width of QRS ripple, current RR interval and related average RR interval;
Correlation coefficient computing unit 93 is used for obtaining the waveform of treating that thought-read is clapped from said pretreated signal, and the waveform of thought-read bat and the correlation coefficient of the waveform of normal template are treated in calculating;
Judging unit 93, according to said correlation coefficient whether less than certain thresholding, and the width of QRS ripple, current RR interval and related average RR interval whether depart from the normal value Rule of judgment, determine whether to be ventricular premature contraction.
Further, judging unit comprises:
Judge treat waveform that thought-read claps and the normal waveform of template correlation coefficient whether greater than 0.99 and current RR interval be in average RR interval 90%~120% between; If the result is for being; To treat that thought-read is clapped to gather is normal template class, and it is normal to confirm as chamber property, if the result is not for; Whether the correlation coefficient of judging the waveform treat waveform that thought-read is clapped and other template successively is greater than 0.99; If then treat that thought-read is clapped to gather and be this template class, and calculate said by the correlation coefficient of the template class of cluster and said normal template class with said; If do not match with normal template; Further judge said by the correlation coefficient of the template class of cluster and said normal template class whether greater than 0.96, perhaps said by the correlation coefficient of the template class of cluster and said normal template class whether greater than 0.78 and current RR interval be average interval 90%~120% between; Perhaps said by the correlation coefficient of the template class of cluster and said normal template class whether greater than 0.5 and current RR interval be average interval 90%~120% between and the QRS wave width less than 120 milliseconds; If it is normal to confirm as chamber property, if the result confirms as and treats further judgement for not; Treat further judgement if confirm as, then further comprise: said by the correlation coefficient of the template class of cluster and said normal template class whether greater than 0.78 and the QRS width greater than 120 milliseconds; Perhaps by the correlation coefficient of the template class of cluster and said normal template class greater than 0.5 and current RR interval greater than average interval 120% or less than average interval 90%, if then confirm as ventricular premature contraction, otherwise be uncertain.
More than to the scheme that the embodiment of the invention provided, carried out detailed introduction, used concrete example among this paper principle of the present invention and embodiment set forth, the explanation of above embodiment just is used for helping to understand method of the present invention and core concept thereof; Simultaneously, for one of ordinary skill in the art, according to thought of the present invention, the part that on the specific embodiment and range of application, all can change, in sum, this description should not be construed as limitation of the present invention.