Summary of the invention
The invention provides a kind of heart and clap waveform template generation, ventricular premature contraction check processing method and device, make the heart clap waveform template generation more reasonable, more accurate to the detection of ventricular premature contraction, and operand is less.
Technical scheme provided by the invention is as follows:
An object of the present invention is to provide a kind of heart and clap waveform template generation method, comprise the following steps:
First the waveform that first is treated that thought-read is clapped is put in the first template, second is treated the waveform that the heart in the waveform that thought-read is clapped and described first template is clapped compares, calculate correlation coefficient, judge whether described correlation coefficient is greater than the first thresholding of setting, if, described second being treated thought-read bat gathers is the first template class, and if not, then gathering is the second template class; Again the 3rd is treated that the waveform that the heart in the waveform that thought-read is clapped and described first template is clapped compares, calculate correlation coefficient, judge whether described correlation coefficient is greater than the first thresholding of setting, if, described 3rd being treated thought-read bat gathers is the first template class, and if not, then the waveform clapped with the heart in described second template again compares, calculate correlation coefficient, judge whether described correlation coefficient is greater than the first thresholding of setting, if so, then gathering is the second template class, if not, then gathering is the 3rd template class; By that analogy, treat that the waveform that thought-read is clapped puts into the N number of template class relevant to it, wherein N<M respectively by M successively;
The maximum class of heart umber of beats is obtained as normal template using in described first template class to described N template class.
Preferably, when the heart umber of beats order inputted is greater than M, successively the waveform and first that the input heart is clapped is clapped waveform to the heart in N number of template to compare, calculate correlation coefficient, judge whether described correlation coefficient is greater than the first thresholding of setting, if, treat that thought-read bat gathers for this template class by described, if not, then compare with next template, gather for corresponding template class.
Preferably, when the quantity of template completely sets number N, if the next one treats that thought-read claps the thresholding being all less than or equal to setting with the waveform correlation coefficient of N number of template, then template is merged or delete processing, comprising:
Calculate the correlation coefficient between other N-1 template outside the maximum template of acquisition heart umber of beats, find out maximum correlation coefficient; If maximum correlation coefficient is more than or equal to the second thresholding of setting, then corresponding for this maximum correlation coefficient two templates are merged, otherwise the template finding out the minimum number that N-1 template center claps is deleted;
New is treated that thought-read bat is classified as template.
Preferably, when new is clapped after waveform clustering to corresponding template until thought-read, also comprise: add 7/8 of the waveform of original template and treat 1/8 of the waveform that thought-read is clapped, form the waveform of new template.
Another object of the present invention is to provide a kind of heart and claps waveform template generation module, comprising:
Modular unit, total N number of template, claps waveform for storing N number of dissimilar heart;
Template cluster cell, for first the waveform that first is treated that thought-read is clapped being put in the first template, second is treated the waveform that the heart in the waveform that thought-read is clapped and described first template is clapped compares, calculate correlation coefficient, judge whether described correlation coefficient is greater than the first thresholding of setting, if so, described second being treated that thought-read bat gathers is the first template class, if not, then gathering is the second template class; Again the 3rd is treated that the waveform that the heart in the waveform that thought-read is clapped and described first template is clapped compares, calculate correlation coefficient, judge whether described correlation coefficient is greater than the first thresholding of setting, if, described 3rd being treated thought-read bat gathers is the first template class, and if not, then the waveform clapped with the heart in described second template again compares, calculate correlation coefficient, judge whether described correlation coefficient is greater than the first thresholding of setting, if so, then gathering is the second template class, if not, then gathering is the 3rd template class; By that analogy, treat that the waveform that thought-read is clapped puts into the N number of template class relevant to it, wherein N<M respectively by M successively;
Judging unit, obtains the maximum class of heart umber of beats as normal template using in described first template class to described N template class.
Another object of the present invention is to provide a kind of ventricular premature contraction check processing method, comprising:
Pretreatment is carried out to the ECG signal of input, obtains pretreated signal;
Extract from described pretreated signal and treat the characteristic parameter that thought-read is clapped, described characteristic parameter comprises the average RR interval of the width of QRS ripple, current RR interval and association;
Obtain from described pretreated signal and treat the waveform that thought-read is clapped, calculate the correlation coefficient treating the waveform of the waveform that thought-read is clapped and template;
Whether the correlation coefficient according to the waveform treating the waveform that thought-read is clapped and described template is less than setting thresholding, and whether the average RR interval of the width of QRS ripple, current RR interval and association departs from the first Rule of judgment of normal value, determines whether as ventricular premature contraction.
Preferably, the first Rule of judgment comprises:
Judge to treat the correlation coefficient of the waveform that thought-read is clapped and the normal waveform of template whether be greater than 0.99 and current RR interval be in average RR interval 90% ~ 120% between;
If result is yes, to treat that thought-read is clapped gathers for normal template class, and it is normal to be defined as room property, if the result is negative, judge whether the correlation coefficient of the waveform treated beyond the waveform that thought-read is clapped and normal template is greater than 0.99 successively, if, then treat that thought-read bat gathers for this template class by described, and calculate described by the correlation coefficient of the template class of cluster and described normal template class, further according to by the correlation coefficient of the template class of cluster and described normal template class, current RR interval, accounts for the ratio of average interval and the second Rule of judgment of QRS wave width, determine whether as ventricular premature contraction.
Preferably, second Rule of judgment comprises: judge whether the described correlation coefficient by the template class of cluster and described normal template class is greater than 0.96 further, or the described correlation coefficient by the template class of cluster and described normal template class whether be greater than 0.78 and current RR interval be average interval 90% ~ 120% between; Or the described correlation coefficient by the template class of cluster and described normal template class whether be greater than 0.5 and current RR interval be average interval 90% ~ 120% between and QRS wave width is less than 120 milliseconds; If so, be defined as room property normal, if the result is negative, further 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 described normal template class, current RR interval, determine whether as ventricular premature contraction.
Preferably, the 3rd Rule of judgment comprises: the described correlation coefficient by the template class of cluster and described normal template class whether is greater than 0.78 and QRS width is greater than 120 milliseconds; Or be greater than 0.5 by the correlation coefficient of the template class of cluster and described normal template class and current RR interval is greater than average interval 120% or is less than average interval 90%, if so, be then defined as ventricular premature contraction, otherwise be uncertain.
Another object of the present invention is to provide a kind of ventricular premature contraction check processing device, comprising:
Pretreatment unit, for carrying out pretreatment to the ECG signal of input, obtains pretreated signal;
Feature extraction unit, treat for extracting from described pretreated signal the characteristic parameter that thought-read is clapped, described characteristic parameter comprises the average RR interval of the width of QRS ripple, current RR interval and association;
Calculation of correlation factor unit, treating for obtaining from described pretreated signal the waveform that thought-read is clapped, calculating the correlation coefficient treating the waveform of the waveform that thought-read is clapped and template;
Whether judging unit, be less than certain thresholding according to described correlation coefficient, and whether the average RR interval of the width of QRS ripple, current RR interval and association departs from normal value Rule of judgment, determines whether as ventricular premature contraction
Preferably, described judging unit specifically comprises following determination methods:
Judge to treat the correlation coefficient of the waveform that thought-read is clapped and the normal waveform of template whether be greater than 0.99 and current RR interval be in average RR interval 90% ~ 120% between; If result is yes, to treat that thought-read is clapped gathers for normal template class, and it is normal to be defined as room property, if the result is negative, judge successively to treat whether the correlation coefficient of the waveform of the waveform that thought-read is clapped and other template is greater than 0.99, if so, then treat that thought-read is clapped gather described for this template class, and calculate described by the correlation coefficient of the template class of cluster and described normal template class; If with normal template is not mated, judge whether the described correlation coefficient by the template class of cluster and described normal template class is greater than 0.96 further, or the described correlation coefficient by the template class of cluster and described normal template class whether be greater than 0.78 and current RR interval be average interval 90% ~ 120% between; Or the described correlation coefficient by the template class of cluster and described normal template class whether be greater than 0.5 and current RR interval be average interval 90% ~ 120% between and QRS wave width is less than 120 milliseconds; If it is normal to be defined as room property, if the result is negative, be defined as treating further judgement; If be defined as treating further judgement, then comprise further: the described correlation coefficient by the template class of cluster and described normal template class whether is greater than 0.78 and QRS width is greater than 120 milliseconds; Or be greater than 0.5 by the correlation coefficient of the template class of cluster and described normal template class and current RR interval is greater than average interval 120% or is less than average interval 90%, if so, be then defined as ventricular premature contraction, otherwise be uncertain.
Technique scheme can be found out, the embodiment of the present invention takes multiple template in template process of establishing, makes template accurately reflect the situation of normal waveform; After pretreatment is carried out to electrocardiosignal, be extracted the parameter such as average RR interval comprising the width treating the QRS ripple that thought-read is clapped, current RR interval and association, and calculate the correlation coefficient treating the waveform of the waveform that thought-read is clapped and normal template, then after these parameters comprehensive judge that meeting setting requires, export the result being defined as ventricular premature contraction, thus can more accurately detect ventricular premature contraction PVC relative to art methods, improve accuracy rate, and operand is less.
Detailed description of the invention
Below in conjunction with the accompanying drawing in the embodiment of the present invention, be clearly and completely described the technical scheme in the embodiment of the present invention, obviously, described embodiment is only the present invention's part embodiment, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making other embodiments all obtained under creative work prerequisite, belong to the scope of protection of the invention.
The invention provides a kind of heart and clap waveform template generation, ventricular premature contraction check processing method and device, generate more fast, template easily, it is more accurate to make the detection of ventricular premature contraction, and operand is less.
Be described in detail respectively below in conjunction with accompanying drawing.
A kind of heart claps waveform template generation method, comprises the following steps:
First the waveform that first is treated that thought-read is clapped is put in the first template, second is treated the waveform that the heart in the waveform that thought-read is clapped and described first template is clapped compares, calculate correlation coefficient, judge whether described correlation coefficient is greater than the first thresholding of setting, if, described second being treated thought-read bat gathers is the first template class, and if not, then gathering is the second template class; Again the 3rd is treated that the waveform that the heart in the waveform that thought-read is clapped and described first template is clapped compares, calculate correlation coefficient, judge whether described correlation coefficient is greater than the first thresholding of setting, if, described 3rd being treated thought-read bat gathers is the first template class, and if not, then the waveform clapped with the heart in described second template again compares, calculate correlation coefficient, judge whether described correlation coefficient is greater than the first thresholding of setting, if so, then gathering is the second template class, if not, then gathering is the 3rd template class; By that analogy, treat that the waveform that thought-read is clapped puts into the N number of template class relevant to it, wherein N<M respectively by M successively;
The maximum class of heart umber of beats is obtained as normal template using in described first template class to described N template class.
As embodiment, the first thresholding >0.8, preferably 0.95.
As embodiment M=10, a N=8.
Template along with the new arrival that thought-read is clapped for the treatment of, continuous real-time update.When the heart umber of beats order inputted is greater than M, successively the waveform and first that the input heart is clapped is clapped waveform to the heart in N number of template to compare, calculate correlation coefficient, judge whether described correlation coefficient is greater than the first thresholding of setting, if so, treat that thought-read bat gathers for this template class by described, if not, then compare with next template, gather for corresponding template class.
When the quantity of template completely sets number N, treat that if new thought-read claps the thresholding being all less than or equal to setting with the waveform correlation coefficient of N number of template, then template merged or delete processing, comprising:
Calculate the correlation coefficient between other N-1 template outside the maximum template of acquisition heart umber of beats, find out maximum correlation coefficient; If maximum correlation coefficient is more than or equal to the second thresholding of setting, then corresponding for this maximum correlation coefficient two templates are merged, otherwise the template finding out the minimum number that N-1 template center claps is deleted;
New is treated that thought-read bat is classified as template.
As embodiment, the second thresholding >0.7, is preferably 0.95.
When new is clapped after waveform clustering to corresponding template until thought-read, also comprise: add 7/8 of the waveform of original template and treat 1/8 of the waveform that thought-read is clapped, form the waveform of new template.
A kind of heart claps waveform template generation module, comprising:
Modular unit, total N number of template, claps waveform for storing N number of dissimilar heart;
Template cluster cell, for first the waveform that first is treated that thought-read is clapped being put in the first template, second is treated the waveform that the heart in the waveform that thought-read is clapped and described first template is clapped compares, calculate correlation coefficient, judge whether described correlation coefficient is greater than the first thresholding of setting, if so, described second being treated that thought-read bat gathers is the first template class, if not, then gathering is the second template class; Again the 3rd is treated that the waveform that the heart in the waveform that thought-read is clapped and described first template is clapped compares, calculate correlation coefficient, judge whether described correlation coefficient is greater than the first thresholding of setting, if, described 3rd being treated thought-read bat gathers is the first template class, and if not, then the waveform clapped with the heart in described second template again compares, calculate correlation coefficient, judge whether described correlation coefficient is greater than the first thresholding of setting, if so, then gathering is the second template class, if not, then gathering is the 3rd template class; By that analogy, treat that the waveform that thought-read is clapped puts into the N number of template class relevant to it, wherein N<M respectively by M successively;
Judging unit, obtains the maximum class of heart umber of beats as normal template using in described first template class to described N template class.
Fig. 1 is the embodiment of the present invention one ventricular premature contraction check processing method flow diagram.As shown in Figure 1, comprising:
Step 101, to input ECG signal carry out pretreatment, obtain pretreated signal;
Step 102, extract and treat the characteristic parameter that thought-read is clapped from described pretreated signal, described characteristic parameter comprises the average RR interval of the width of QRS ripple, current RR interval and association;
Here the average RR interval said, the average of setting number (such as 8) the RR interval that current RR interval is nearest is referred to.
Step 103, obtain and treat the waveform that thought-read is clapped from described pretreated signal, the correlation coefficient of the waveform of the waveform that thought-read is clapped and template is treated in calculating;
Step 104, according to treating whether the correlation coefficient of waveform of the waveform that thought-read is clapped and described template is less than certain thresholding, and the average RR interval of the width of QRS ripple, current RR interval and association whether depart from normal value Rule of judgment, determine whether as ventricular premature contraction.
It should be noted that, step 102 and 103 does not have inevitable ordering relation.Treat that thought-read claps premature beat check processing and template renewal does not have sequencing to limit yet.
Can find, the embodiment of the present invention is after carrying out pretreatment to electrocardiosignal, be extracted comprise treat the QRS ripple that thought-read is clapped width, treat the parameters such as the average RR interval that thought-read is clapped, and calculate the correlation coefficient treating the waveform of the waveform that thought-read is clapped and template, then, after these parameters comprehensive judge that meeting setting requires, export the result being defined as ventricular premature contraction, thus can more accurately detect ventricular premature contraction PVC relative to art methods, improve accuracy rate, and operand is less.
Fig. 2 is the block flow diagram of the embodiment of the present invention two ventricular premature contraction check processing method.
As shown in Figure 2, whole handling process comprises: after input signal, carries out Signal Pretreatment, then carries out feature extraction to signal, then input template matching system, carries out template matching and logical judgment, last output category result.Concrete:
Digitized electrocardiogram ECG signal carries out pretreatment, namely carries out pretreatment through high and low pass filter, baseline drift can be made to be corrected, and substantially inhibit high-frequency noise by pretreatment, thus reduces interference.Carry out feature extraction on this basis, namely extract QRS wave characteristic parameter, the accuracy of parameter can be ensured.Because the main morphological features of PVC is the roomy lopsided QRS wave group occurred ahead of time, the feature so RR interval (RR represents the interval between two QRS ripples), QRS wave width are absolutely necessary, therefore extracts these as characteristic parameter.
In addition, also obtain it when carrying out template matching further and treat that thought-read claps the correlation coefficient of waveform and template waveforms, judged by parametric synthesis such as RR interval, QRS wave width and correlation coefficient CC, draw classification results.
The inventive method after often inputting data, by flow process shown in Fig. 2 real-time carry out PVC detection.Detect QRS ripple when a heartbeat arrives, and measure its a stack features parameter, then send into template-matching systems, draw beat classification result.When detecting, the inventive method postpones a heart and claps, so when the classification results returning upper heart bat when front center is clapped being detected.
Fig. 3 is the particular flow sheet of the embodiment of the present invention two ventricular premature contraction check processing method.As shown in Figure 3, step is comprised:
Step 301, pretreatment is carried out to input signal.
The noises such as power frequency, myoelectricity, baseline drift can be comprised in the electrocardiogram ECG signal of general input.Baseline drift is by breathing or kinetic low-frequency disturbance between electrode and human body, generally at below 0.5Hz, can change the form of ST section in ECG, the accuracy that affecting parameters extracts, and therefore filtering baseline drift is very important.The inventive method, in order to reduce noise jamming, carries out Filtering Processing in advance to input signal, such as, carry out high and low pass filter.
Step 302, extraction characteristic parameter.
What the present invention extracted treats that characteristic parameter that thought-read is clapped mainly comprises the average RR interval of the QRS wave width treated thought-read and clap, current RR interval, association.
Wherein, as shown in Figure 6, the width between Q ripple and S ripple is QRS wave width.Fig. 6 is R wave height in the embodiment of the present invention two method, QRS wave width marked graph.RR interval, needs last interval RR, a current interval RR and rear interval RR, and as shown in Figure 7, Fig. 7 is that the heart in the embodiment of the present invention two method is clapped and interval relation figure to the relation that itself and the heart are clapped.
Step 303, carry out template matching.Specifically see the description in Fig. 4.
Step 304, according to matching result output category result.
Fig. 4 is the template matching flow chart in the embodiment of the present invention two method, and Fig. 8 then shows the schematic process of template matching.
Before introducing this flow chart, first relational language is defined.
Average RR interval, refer to the average of setting number (such as 8) the RR interval that current RR interval is nearest.
It should be noted that, here the threshold value compared set by correlation coefficient CC is as 0.95,0.99 etc., the threshold value 90% ~ 120% etc. compared with average RR interval, the threshold value compared with QRS width 120 milliseconds etc., it is all rule of thumb gained, not immobilize, can arrange according to result of the test.
As shown in Figure 4, M before signal is clapped and first carries out training study, after having learnt, new-comer is treated that thought-read is clapped, first and normal template is mated, if meet correlation coefficient CC to be greater than 0.99, current RR interval be average RR interval 90% ~ 120% between, the match is successful, then gather for normal template class, return normal; If mate unsuccessful, then successively with other template matching, if the match is successful, then gather for this class template, if now meet correlation coefficient CC to be more than or equal to 0.96; Or correlation coefficient be greater than 0.78 and current RR interval be average RR interval 90% ~ 120% between; Or correlation coefficient CC be greater than 0.5 and current RR interval be average RR interval 90% ~ 120% between and QRS wave width is less than 120 milliseconds, then export normal result; If do not met, but meet correlation coefficient CC and be greater than 0.78 and QRS width is greater than 120 milliseconds; Or correlation coefficient CC is greater than 0.5 and current RR interval is greater than average interval 120%, or correlation coefficient whether is greater than 0.5 and current RR interval is less than average interval 90%, then return the result confirming PVC, if do not met again, then return uncertain result.
Concrete, Fig. 4 comprises step:
Step 401, input treat that thought-read is clapped.
Treating that thought-read is clapped can be one section of waveform of R wavefront 600ms, rear 400ms.
Step 402, judge whether existing normal template, if so, enter step 403, if not, enter step 414 and generate normal template.The method generating normal template is see described by flow chart 5.Said normal template in the present invention, representative be normal waveform.
Step 403, calculating treat the correlation coefficient CC parameter of the waveform of the waveform that thought-read is clapped and normal template.
The inventive method, by learning front 10 waveforms of every segment signal data, obtains the waveform of normal template, treats that thought-read is clapped and carries out cluster, obtain the correlation coefficient CC of the waveform of itself and normal template to each.It should be noted that, be illustrate with 10 waveforms but be not limited to this here.
The Calculation of correlation factor formula of extraction of the present invention is as follows:
Wherein, N for the length of the number of winning the confidence, also namely refer to the signal number of collection in a period of time (such as 320ms) before and after centered by QRS ripple, such as sample rate is 600, then N=320*600/1000=192; X (n), y (n) are respectively the waveshape signal of template and treat the waveshape signal that thought-read is clapped,
be respectively x (n), the meansigma methods of y (n).
Step 404, according to parameter comparative result, judge whether that meeting correlation coefficient CC is greater than 0.99, current RR interval be average RR interval 90% ~ 120% between, if meet, enter step 405, if do not meet, enter step 408.
Average RR interval in step 302 extract acquisition.
Step 405, because meet correlation coefficient CC and be greater than 0.99, current RR interval be average RR interval 90% ~ 120% between, be defined as coupling, therefore will treat that thought-read bat gathers for normal template class, and enter step 406.
Step 406, upgrade normal template, enter step 407.
Normal template is upgraded according to the result of step 405 in this step.
After cluster, if satisfied condition template upgraded, then adopt 7/8 of original normal template waveforms to add and treat now 1/8 of the waveform that thought-read is clapped, form the waveform of new normal template.In addition, the maximum quantity of template can be set to M (being such as 8), when template number is expired, newly to clap with the unmatched heart of waveform that is template if having, then template is merged or delete processing, handling process is as follows: 1) calculate the correlation coefficient between other 7 templates except normal template, find out maximum correlation coefficient; 2) if maximum correlation coefficient is more than or equal to 0.80, then corresponding for this maximum correlation coefficient two templates merged, if maximum correlation coefficient is less than 0.80, then the template finding out the minimum number that 7 template center clap is deleted.
Step 407, this step export normal result.
Step 408, because do not meet correlation coefficient CC and be greater than 0.99, current RR interval be average RR interval 90% ~ 120% between, be defined as not mating, therefore will treat thought-read bat successively with other template matching, if the match is successful, then gather for this class template.Enter step 409.
Step 409, calculate the correlation coefficient CC of this class template and normal template class.
Step 410, according to parameter comparative result, judge whether that meeting correlation coefficient CC is more than or equal to 0.96; Or correlation coefficient be greater than 0.78 and current RR interval be average RR interval 90% ~ 120% between; Or correlation coefficient CC be greater than 0.5 and current RR interval be average RR interval 90% ~ 120% between and QRS wave width is less than 120 milliseconds, if so, enter step 407 and export normal outcome, if not, enter step 411.
Step 411, judge whether to meet correlation coefficient CC further and be greater than 0.78 and QRS width is greater than 120 milliseconds; Or correlation coefficient CC is greater than 0.5 and current RR interval is greater than average interval 120%, or correlation coefficient whether is greater than 0.5 and current RR interval is less than average interval 90%, if so, enters step 412, if not, enters step 413.
Step 412, output are defined as the result of PVC.
By above-mentioned judgement flow process, finally determine PVC.
Step 413, export uncertain result.
Step 414, generate normal template.Specifically see described by Fig. 5.
Above template renewal and premature beat detect judgement and there is no sequencing relation, should not be limited to above-described embodiment.
Fig. 5 is the template generation flow chart in the embodiment of the present invention two method.
Template generation process of the present invention, adopt setting number (such as 8) template altogether, place a QRS ripple inside each template, each template has a template waveforms.Learn front ten hearts to clap, QRS ripple cluster forms template set, using templates maximum for cluster as advantage template, as the optimum object that later ECG signal compares, also namely as the normal template for comparing.
Concrete, as shown in Figure 5, template generation process comprises step:
Step 501, input treat that thought-read is clapped.
Step 502, the waveform that first is treated that thought-read is clapped is put in the first template, second is treated the waveform that the heart in the waveform that thought-read is clapped and the first template is clapped compares, calculate correlation coefficient.
Step 503, according to parameter comparative result, judge whether that meeting correlation coefficient CC is greater than 0.95, if so, enters step 504, if not, enters step 505.
Step 504, because meet correlation coefficient CC and be greater than 0.95, therefore second is treated that thought-read claps that to gather be the first template class.Enter step 506.
Step 505, because do not meet correlation coefficient CC and be greater than 0.95, therefore treat second that the waveform that thought-read is clapped carries out correlation ratio comparatively with the waveform of other templates successively, if relevant, then gathering for this template class, is also other classes.Enter step 507.
Step 506, more new template.Enter step 507.
Description more in the mode of new template and earlier figures 4 is similar, repeats no more herein.
Step 507, judgement are treated that thought-read is clapped and whether have been inputted N bat, if so, enter step 508, if not, return step 501 and input new bat.
N in this step claps and sets as required.
Step 508, will the maximum template of heart umber of beats be obtained as normal template, namely as and treat the template that the waveform that thought-read is clapped compares.
This step obtains the maximum class of heart umber of beats as normal template using in the first template class to described N template class.
Can find from said method flow process, the inventive method has following beneficial effect: the embodiment of the present invention is after carrying out pretreatment to electrocardiosignal, be extracted the parameter such as average RR interval comprising the width treating the QRS ripple that thought-read is clapped, current RR interval and association, and calculate the correlation coefficient treating the waveform of the waveform that thought-read is clapped and normal template, then after these parameters comprehensive judge that meeting setting requires, export the result being defined as ventricular premature contraction, thus can more accurately detect ventricular premature contraction PVC relative to art methods, improve accuracy rate, and operand is less.
The present invention is corresponding also provides a kind of ventricular premature contraction check processing device.
Fig. 9 is embodiment of the present invention apparatus structure schematic diagram, and as shown in Figure 9, this device comprises:
Pretreatment unit 91, for carrying out pretreatment to the ECG signal of input, obtains pretreated signal;
Feature extraction unit 92, treat for extracting from described pretreated signal the characteristic parameter that thought-read is clapped, described characteristic parameter comprises the average RR interval of the width of QRS ripple, current RR interval and association;
Calculation of correlation factor unit 93, treating for obtaining from described pretreated signal the waveform that thought-read is clapped, calculating the correlation coefficient treating the waveform of the waveform that thought-read is clapped and normal template;
Whether judging unit 93, be less than certain thresholding according to described correlation coefficient, and whether the average RR interval of the width of QRS ripple, current RR interval and association departs from normal value Rule of judgment, determines whether as ventricular premature contraction.
Further, judging unit comprises:
Judge to treat the correlation coefficient of the waveform that thought-read is clapped and the normal waveform of template whether be greater than 0.99 and current RR interval be in average RR interval 90% ~ 120% between; If result is yes, to treat that thought-read is clapped gathers for normal template class, and it is normal to be defined as room property, if the result is negative, judge successively to treat whether the correlation coefficient of the waveform of the waveform that thought-read is clapped and other template is greater than 0.99, if so, then treat that thought-read is clapped gather described for this template class, and calculate described by the correlation coefficient of the template class of cluster and described normal template class; If with normal template is not mated, judge whether the described correlation coefficient by the template class of cluster and described normal template class is greater than 0.96 further, or the described correlation coefficient by the template class of cluster and described normal template class whether be greater than 0.78 and current RR interval be average interval 90% ~ 120% between; Or the described correlation coefficient by the template class of cluster and described normal template class whether be greater than 0.5 and current RR interval be average interval 90% ~ 120% between and QRS wave width is less than 120 milliseconds; If it is normal to be defined as room property, if the result is negative, be defined as treating further judgement; If be defined as treating further judgement, then comprise further: the described correlation coefficient by the template class of cluster and described normal template class whether is greater than 0.78 and QRS width is greater than 120 milliseconds; Or be greater than 0.5 by the correlation coefficient of the template class of cluster and described normal template class and current RR interval is greater than average interval 120% or is less than average interval 90%, if so, be then defined as ventricular premature contraction, otherwise be uncertain.
Above to the scheme that the embodiment of the present invention provides, be described in detail, apply specific case herein and set forth principle of the present invention and embodiment, the explanation of above embodiment just understands method of the present invention and core concept thereof for helping; Meanwhile, for one of ordinary skill in the art, according to thought of the present invention, all will change in specific embodiments and applications, in sum, this description should not be construed as limitation of the present invention.