CN107550484B - Magnetocardiogram signal quality evaluation method and system - Google Patents

Magnetocardiogram signal quality evaluation method and system Download PDF

Info

Publication number
CN107550484B
CN107550484B CN201710900576.7A CN201710900576A CN107550484B CN 107550484 B CN107550484 B CN 107550484B CN 201710900576 A CN201710900576 A CN 201710900576A CN 107550484 B CN107550484 B CN 107550484B
Authority
CN
China
Prior art keywords
signal
magnetocardiogram
effective
judging
preset
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201710900576.7A
Other languages
Chinese (zh)
Other versions
CN107550484A (en
Inventor
闫晓雯
张树林
王月霞
曾曹宁
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Mandi Medical Instruments (shanghai) Co Ltd
Original Assignee
Mandi Medical Instruments (shanghai) Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Mandi Medical Instruments (shanghai) Co Ltd filed Critical Mandi Medical Instruments (shanghai) Co Ltd
Priority to CN201710900576.7A priority Critical patent/CN107550484B/en
Publication of CN107550484A publication Critical patent/CN107550484A/en
Application granted granted Critical
Publication of CN107550484B publication Critical patent/CN107550484B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention provides a quality evaluation method and a system of magnetocardiogram signals, which are used for extracting magnetocardiogram signals to be processed and corresponding reference electrocardiosignal R peak points, dividing the magnetocardiogram signals into independent periodic waves by taking the electrocardiosignal R peak points as a reference, recording the periodicity of the magnetocardiogram signals, acquiring the periodic waves with noise smaller than a preset noise threshold value in the magnetocardiogram signals as effective periodic waves, and acquiring the effective periodicity corresponding to the effective periodic wave signals; the acquired magnetocardiogram signals are evaluated according to the periodic wave effective number, the R peak point baseline drift and the effective cycle noise number in sequence to judge the quality of the acquired magnetocardiogram signals.

Description

Magnetocardiogram signal quality evaluation method and system
Technical Field
The invention relates to the field of biomedical signals, in particular to a quality evaluation method and system for magnetocardiogram signals.
Background
The magnetocardiogram instrument has irreplaceable application value in the aspects of heart disease diagnosis, functional research and the like, and a Superconducting Quantum Interference Device (SQUID) is a magnetic flux sensor for measuring a heart magnetic field and has high sensitivity.
Signals acquired by the same magnetocardiogram instrument equipment have different quality levels due to environment or other reasons, including useful signals and noise interference, wherein noise includes baseline drift, signal burrs and the like, the noise mainly affects signal morphology and can seriously interfere signal characteristics, the signal characteristics are the basis of signal analysis, and magnetocardiogram signal quality problems caused by noise, motion interference and other pathological characteristics are important factors influencing signal characteristic extraction accuracy.
Aiming at various quality problems contained in biological signals, the traditional means is to remove noise and baseline drift by a filtering mode, the randomness of the noise makes the design of a filter complicated, and none of the filters can filter out all the noise, so that the inaccuracy of an analysis result is caused. However, if the acquired signal contains less noise or the noise can be simply filtered to extract a real signal, the accuracy of the later data processing and analyzing result is greatly improved. At present, an acquirer has no uniform standard for the quality of acquired magnetocardiogram signals, and if the acquired magnetocardiogram signals are poor, data analysis is inaccurate; or the collected signals are not available and need to be collected again, and the physical and financial consumption is large for the patient. Therefore, the intelligent evaluation of quality of magnetocardiogram signals is a key target of the technology in the field, has very important significance on the aspect of later data analysis, and forms the concept of the invention.
Therefore, there is a need for a method for intelligently evaluating the quality of acquired magnetocardiogram signals to determine the quality of the acquired signals, so that an acquirer can determine whether the signals need to be acquired again.
Disclosure of Invention
In view of the above drawbacks of the prior art, an object of the present invention is to provide a quality evaluation method and system for magnetocardiogram signals, which are used to solve the problem in the prior art that the quality evaluation of the acquired magnetocardiogram signals cannot be performed intelligently, conveniently and accurately.
In order to achieve the above and other related objects, the present invention provides a quality evaluation method for magnetocardiogram signals, comprising: step S11: acquiring magnetocardiogram signals and corresponding electrocardiosignals; step S12: extracting an R peak point of the electrocardiosignal, dividing the magnetocardiogram signal into independent periodic waves by taking the R peak point of the electrocardiosignal as a reference, and recording the period number of the electrocardiosignal; step S13: acquiring a periodic wave with noise smaller than a preset noise threshold value in the magnetocardiogram signal as an effective periodic wave, and acquiring an effective period number corresponding to the effective periodic wave of the magnetocardiogram signal; step S14: judging the effective periodicity ratio of the magnetocardiogram signal according to a first preset condition, continuing to execute the following steps when the effective periodicity ratio meets the first preset condition, otherwise judging the magnetocardiogram signal to be a bad signal and returning to the step S11; step S15: judging the R peak point baseline drift of the electrocardiosignals related to the effective periodic waves according to a second preset condition, continuing to execute the following steps when the R peak point baseline drift meets the second preset condition, otherwise judging the magnetocardiogram signals to be inferior signals and returning to the step S11; step S16: and judging the noise value of the effective periodic wave of the magnetocardiogram signal according to a third preset condition, judging the magnetocardiogram signal to be a good signal when the noise value of the effective periodic wave of the magnetocardiogram signal meets the third preset condition, otherwise judging the magnetocardiogram signal to be a bad signal, and returning to the step S11.
In an embodiment of the present invention, the step S14 specifically includes: and calculating the ratio of the effective period number to the period number of the electrocardiosignals to obtain an effective period number ratio, comparing the effective period number ratio with a preset period ratio threshold, and continuing to execute the step S15 when the effective period number ratio is greater than or equal to the preset period ratio threshold, otherwise, judging the magnetocardiogram signals to be inferior signals and returning to the step S11.
In an embodiment of the present invention, the step S15 specifically includes: and extracting the value of the magnetocardiogram signal corresponding to the R peak point of the electrocardiosignal related to the effective periodic wave to calculate a magnetocardiogram standard deviation, comparing the magnetocardiogram standard deviation with a preset standard deviation threshold, continuing to execute the step S16 when the magnetocardiogram standard deviation is smaller than or equal to the preset standard deviation threshold, otherwise, judging the magnetocardiogram signal to be a bad signal, and returning to the step S11.
In an embodiment of the present invention, the step S16 specifically includes: calculating a difference value between a maximum value and a minimum value of each effective periodic wave in a preset time, taking the number of the effective periodic waves of which the difference value is smaller than a preset difference threshold value as an available period number, comparing the available period number with a preset period number threshold value, judging the magnetocardiogram signal to be a good signal when the available period number is larger than or equal to the preset period number threshold value, otherwise, judging the magnetocardiogram signal to be a bad signal, and returning to the step S11.
In an embodiment of the present invention, the magnetocardiogram signal includes magnetocardiogram signals of a plurality of channels, the step of extracting a value of the magnetocardiogram signal corresponding to the peak point of the electrocardiographic signal R related to the effective periodic wave signal for each channel to calculate a magnetocardiogram standard deviation, and comparing the magnetocardiogram standard deviation with a preset standard deviation threshold is performed, and when the magnetocardiogram standard deviation of each channel is less than or equal to the preset standard deviation threshold, the step S16 is continuously performed, otherwise, the magnetocardiogram signal is determined to be an inferior signal, and the step S11 is returned.
To achieve the above and other related objects, the present invention further provides a quality evaluation system for magnetocardiogram signals, comprising: the signal acquisition module is used for acquiring the magnetocardiogram signals and the corresponding electrocardio signals; the signal segmentation module is used for extracting an R peak point of the electrocardiosignal, segmenting the magnetocardiogram signal into independent periodic waves by taking the R peak point of the electrocardiosignal as a reference, and recording the periodicity of the electrocardiosignal; the effective period number obtaining module is used for obtaining a periodic wave with noise smaller than a preset noise threshold value in the magnetocardiogram signal as an effective periodic wave and obtaining an effective period number corresponding to the effective periodic wave of the magnetocardiogram signal; the first judging module is used for judging the effective periodicity ratio of the magnetocardiogram signal according to a first preset condition, and when the effective periodicity ratio meets the first preset condition, the second judging module is continuously executed, otherwise, the magnetocardiogram signal is judged to be a bad signal and the signal acquisition module is enabled to acquire the bad signal again; the second judging module is used for judging the R peak point baseline drift of the electrocardiosignals related to the effective periodic waves according to a second preset condition, when the R peak point baseline drift meets the second preset condition, a third judging module is continuously executed, otherwise, the magnetocardiogram signals are judged to be inferior signals, and the signal acquisition module is enabled to acquire the magnetocardiogram signals again; the third judging module is used for judging the noise value of the effective periodic wave of the magnetocardiogram signal according to a third preset condition, judging the magnetocardiogram signal to be a good signal when the noise value of the effective periodic wave of the magnetocardiogram signal meets the third preset condition, and otherwise judging the magnetocardiogram signal to be a bad signal and enabling the signal collecting module to collect the bad signal again.
In an embodiment of the present invention, the executing process of the first determining module specifically includes: and calculating the ratio of the effective periodicity to the periodicity of the electrocardiosignals to obtain an effective periodicity ratio, comparing the effective periodicity ratio with a preset periodicity ratio threshold, and when the effective periodicity ratio is greater than or equal to the preset periodicity ratio threshold, continuing to execute the second judgment module, otherwise, judging the magnetocardiogram signals to be inferior signals and enabling the signal acquisition module to acquire the signals again.
In an embodiment of the present invention, the executing process of the second determining module specifically includes: and extracting the value of the magnetocardiogram signal corresponding to the R peak point of the electrocardiosignal related to the effective periodic wave to calculate a magnetocardiogram standard deviation, comparing the magnetocardiogram standard deviation with a preset standard deviation threshold, and when the magnetocardiogram standard deviation is smaller than or equal to the preset standard deviation threshold, continuing to execute the third judgment module, otherwise, judging the magnetocardiogram signal to be a bad signal and enabling the signal acquisition module to acquire the bad signal.
In an embodiment of the present invention, the execution process of the third determining module specifically includes: calculating the difference value between the maximum value and the minimum value of each effective periodic wave in a preset time, taking the number of the effective periodic waves of which the difference value is smaller than a preset difference threshold value as an available period number, comparing the available period number with a preset period number threshold value, judging the magnetocardiogram signal to be a good signal when the available period number is larger than or equal to the preset period number threshold value, and otherwise judging the magnetocardiogram signal to be a bad signal and enabling the signal acquisition module to acquire the signal again.
In a specific embodiment of the present invention, the magnetocardiogram signal includes magnetocardiogram signals of a plurality of channels, a step of extracting a value of the magnetocardiogram signal corresponding to the peak point of the electrocardiographic signal R related to the effective periodic wave signal for each channel to calculate a magnetocardiogram standard deviation, and comparing the magnetocardiogram standard deviation with a preset standard deviation threshold, and when the magnetocardiogram standard deviation of each channel is less than or equal to the preset standard deviation threshold, the third determining module is continuously executed, otherwise, the magnetocardiogram signal is determined to be a bad signal and the signal acquiring module is made to acquire again.
As described above, according to the method and system for evaluating quality of a magnetocardiogram signal, a magnetocardiogram signal to be processed and a corresponding reference electrocardiographic signal R peak point are extracted, the magnetocardiogram signal is divided into independent periodic waves by taking the electrocardiographic signal R peak point as a reference, the period number of the electrocardiographic signal is recorded, a periodic wave with noise smaller than a preset noise threshold in the magnetocardiogram signal is obtained as an effective periodic wave, and the effective period number corresponding to the effective periodic wave signal is obtained; the acquired magnetocardiogram signals are evaluated according to the periodic wave effective number, the R peak point baseline drift and the effective cycle noise number in sequence to judge the quality of the acquired magnetocardiogram signals.
Drawings
Fig. 1 is a schematic flow chart of a magnetocardiogram signal quality evaluation method according to an embodiment of the present invention.
Fig. 2 is a schematic flow chart of the magnetocardiogram signal quality evaluation method according to an embodiment of the present invention.
Fig. 3 is a schematic diagram of waveform signals applied in an embodiment of the quality evaluation method for magnetocardiogram signals according to the present invention.
Fig. 4 is a schematic diagram of waveform signals applied in an embodiment of the quality evaluation method for magnetocardiogram signals according to the present invention.
Fig. 5 is a schematic diagram of waveform signals applied in an embodiment of the quality evaluation method for magnetocardiogram signals according to the present invention.
Fig. 6 is a schematic diagram of waveform signals applied in an embodiment of the quality evaluation method for magnetocardiogram signals according to the present invention.
FIG. 7 is a block diagram of a system for quality assessment of magnetocardiogram signals according to an embodiment of the present invention.
Description of the element reference numerals
10 heart magnetic signal quality evaluation system
11 signal acquisition module
12 signal splitting module
13 effective period number acquisition module
14 first judging module
15 second judging module
16 third judging module
S11-S18
Detailed Description
The embodiments of the present invention are described below with reference to specific embodiments, and other advantages and effects of the present invention will be easily understood by those skilled in the art from the disclosure of the present specification. The invention is capable of other and different embodiments and of being practiced or of being carried out in various ways, and its several details are capable of modification in various respects, all without departing from the spirit and scope of the present invention. It is to be noted that the features in the following embodiments and examples may be combined with each other without conflict.
It should be noted that the drawings provided in the following embodiments are only for illustrating the basic idea of the present invention, and the components related to the present invention are only shown in the drawings rather than drawn according to the number, shape and size of the components in actual implementation, and the type, quantity and proportion of the components in actual implementation may be changed freely, and the layout of the components may be more complicated.
Please refer to fig. 1, which is a flowchart illustrating a method for evaluating quality of magnetocardiogram signals according to an embodiment of the present invention.
In order to achieve the above and other related objects, the present invention provides a quality evaluation method for magnetocardiogram signals, comprising:
step S11: and acquiring the magnetocardiogram signals and the corresponding electrocardiosignals.
Step S12: and extracting the R peak point of the electrocardiosignal, dividing the magnetocardiogram signal into independent periodic waves by taking the R peak point of the electrocardiosignal as a reference, and recording the period number of the electrocardiosignal.
Step S13: acquiring a periodic wave with noise smaller than a preset noise threshold value in the magnetocardiogram signal as an effective periodic wave and acquiring an effective period number corresponding to the effective periodic wave of the magnetocardiogram signal; preferably, in a specific embodiment, a periodic wave with better quality in the magnetocardiogram signal can be obtained as an effective periodic wave according to a template matching manner, that is, a periodic wave with noise smaller than a preset noise threshold value is used as an effective periodic wave.
Step S14: judging the effective periodicity ratio of the magnetocardiogram signal according to a first preset condition, and when the effective periodicity ratio meets the first preset condition, continuing to execute the following steps, otherwise executing step S18, wherein step S18 is: judging the magnetocardiogram signal as a bad signal and returning to the step S11; further, in an embodiment, the step S14 specifically includes: calculating the ratio of the effective period number to the period number of the electrocardiosignals to obtain an effective period number ratio, comparing the effective period number ratio with a preset period ratio threshold, and continuing to execute the step S15 when the effective period number ratio is greater than or equal to the preset period ratio threshold, otherwise, judging the magnetocardiogram signals to be inferior signals and returning to the step S11; and selecting the preset period ratio threshold value to be 0.65 according to experience obtained after multiple experiments.
Step S15: judging the R peak point baseline drift of the electrocardiosignals related to the effective periodic waves according to a second preset condition, continuing to execute the following steps when the R peak point baseline drift meets the second preset condition, otherwise judging the magnetocardiogram signals to be inferior signals and returning to the step S11; further, in an embodiment, the step S15 specifically includes: extracting the value of the magnetocardiogram signal corresponding to the R peak point of the electrocardiosignal related to the effective periodic wave to calculate a magnetocardiogram standard deviation, comparing the magnetocardiogram standard deviation with a preset standard deviation threshold, and when the magnetocardiogram standard deviation is smaller than or equal to the preset standard deviation threshold, continuing to execute the following step S16, otherwise, judging the magnetocardiogram signal to be a bad signal and returning to the step S11; and when the magnetocardiogram signal comprises magnetocardiogram signals of a plurality of channels, extracting the value of the magnetocardiogram signal corresponding to the R peak point of the electrocardiosignal related to the effective periodic wave signal for each channel to calculate the magnetocardiogram standard deviation, and comparing the magnetocardiogram standard deviation with a preset standard deviationAnd comparing the thresholds, and when the magnetocardiogram standard deviation of each channel is less than or equal to the preset standard deviation threshold, continuing to execute the step S16, otherwise, judging the magnetocardiogram signal to be a bad signal and returning to the step S11. And selecting the preset standard deviation threshold value to be 1.07 according to experience obtained after multiple experiments. Specifically, the calculation formula of the magnetocardiogram standard deviation is as follows:
Figure BDA0001423058240000051
wherein, TmFor the number of active cycles, MiMu is the value of magnetocardiogram signal corresponding to R peak point related to ith effective periodic wave of the effective periodic wave signal, and represents the average value of the effective periodic wave signal at the R peak point
Figure BDA0001423058240000061
Step S16: judging the noise value of the effective periodic wave of the magnetocardiogram signal according to a third preset condition, and executing step S17 when the noise value of the effective periodic wave of the magnetocardiogram signal meets the third preset condition: namely, the magnetocardiogram signal is judged to be a preferred signal. Otherwise, the magnetocardiogram signal is judged to be a bad signal and the step S11 is returned to. Further, in an embodiment, the step S16 specifically includes: calculating a difference value between a maximum value and a minimum value of each effective periodic wave in a preset time, taking the number of the effective periodic waves of which the difference value is smaller than a preset difference threshold value as an available period number, comparing the available period number with a preset period number threshold value, judging the magnetocardiogram signal to be a good signal when the available period number is larger than or equal to the preset period number threshold value, otherwise, judging the magnetocardiogram signal to be a bad signal, and returning to the step S11. Preferably, the preset time is 50ms, and the preset difference threshold is selected to be 1.3 according to experience obtained after multiple experiments; and selecting the preset periodicity threshold as half of the effective periodicity.
Referring further to fig. 2, a flow chart of the magnetocardiogram signal quality evaluation method according to an embodiment of the present invention is shown. Firstly, performing magnetocardiogram single-period segmentation on a corresponding reference electrocardiosignal R peak standard to form a magnetocardiogram period sample, secondly, evaluating the acquired data waveform by using three indexes, and finally, determining whether to acquire again according to the judgment result to realize excellent acquired signal quality. The method specifically comprises the following steps:
acquiring ECG (electrocardiogram) data E and MCG (magnetocardiogram) data M;
taking the R peak extracted by the E as a reference, carrying out single-period segmentation on the M data, and recording the period number T;
carrying out template matching on the segmented data, and recording the number T of cycles after matchingm
When T ism/T≥δ1If so, continuing to execute the following steps, otherwise, returning to the step of acquiring the ECG and the MCG;
when M has four channels, respectively calculating the standard deviation sigma of the R point values after M four channels are matched1,σ2,σ3And σ4And when σ is1,σ2,σ3And σ4Are all less than or equal to delta2If so, continuing to execute the following steps; delta. the2Taking the value of 1.07; otherwise, returning to the step of acquiring the ECG and the MCG;
respectively calculating effective periodic signals chimThe first 50ms data χm*And calculating a difference value D of the maximum value and the minimum value ofmAnd a noise threshold δ3Comparing and judging to obtain the threshold delta3Number of cycles of condition NkBy setting a threshold delta for a suitable number of cycles4And meets the threshold value delta3Comparing and judging the period number of the condition, and not meeting the threshold value delta4Judging the condition as bad signal and re-collecting the signal. Threshold δ according to empirical value31.3 by DmThe threshold condition delta can be obtained according to the condition that the value is less than or equal to 1.33Number of cycles NkJudging the acquired magnetocardiogram signal when N isk≥δ4×Tm40.5) can judge that the acquired magnetocardiogram signals are excellent, and then the acquisition is judged to be successful.
Further referring to fig. 3 to 6, waveform signals collected in the embodiment are shown, each of the diagrams includes five signals, and the signals collected by the collection channel 1, the signal collected by the collection channel 2, the signal collected by the collection channel 3, the signal collected by the collection channel 4, the electrocardiographic signals, and the five signals are in one-to-one correspondence from top to bottom, "●" on the R peak of the fifth signal indicates an R wave (R cycle wave effective number) matched by the template, and "○" indicates an R cycle wave not matched by the template.
FIG. 3 shows an example of the reject threshold value screened according to the periodic wave effective number index, in which the number "●" is 36, and the number "○" is 24, i.e., T is 60, Tm=36,
Figure BDA0001423058240000071
According to the evaluation index TmAnd the/T is more than or equal to 0.65, the waveform is identified as a bad signal, and data needs to be collected again.
FIG. 4 shows an example of the rejection threshold value of the baseline wander indicator of the periodic wave effective number, which is passed by the indicator, the standard deviations of the first four channel signals are 0.783246, 0.432437, 0.490435 and 6.422114 respectively, and the fourth channel signal σ is filtered according to the second indicator threshold value4>1.07 identifies a bad signal and data needs to be collected again. FIG. 5 illustrates an example of the identification of the first four channel signals as bad signals, the standard deviations of the first four channel signals being 1.923519, 0.806755, 0.441298, 0.780699, and the first channel signal not meeting the threshold condition σ1>1.07, identified as bad signal.
FIG. 6 shows an example where the effective number of cycles indicator and the R peak point baseline wander indicator pass, but the effective number of cycles noise does not meet the threshold, and the first value 44 in FIG. 6 shows the number of effective cycles T identifiedm44, the last four values 40, 43, 7, and 43 represent the noise threshold D of the first four channel signals respectivelymThe number of the periodic signals N less than or equal to 1.3 and the noise threshold value of the third channelk=7(Nk<0.5×Tm) And the third channel signal does not meet the threshold value of the third index and is identified as a bad signal.
Referring further to fig. 7, a block diagram of a magnetocardiogram signal quality evaluation system according to an embodiment of the present invention is shown. The magnetocardiogram signal quality evaluation system 10 includes: the device comprises a signal acquisition module 11, a signal segmentation module 12, an effective cycle number acquisition module 13, a first judgment module 14, a second judgment module 15 and a third judgment module 16.
The signal acquisition module 11 is used for acquiring magnetocardiogram signals and corresponding electrocardio signals.
The signal dividing module 12 is configured to extract an R peak point of the electrocardiographic signal, divide the magnetocardiogram signal into independent periodic waves with the R peak point of the electrocardiographic signal as a reference, and record a period number of the electrocardiographic signal.
The effective period number obtaining module 13 obtains a periodic wave of which noise is smaller than a preset noise threshold value in the magnetocardiogram signal as an effective periodic wave and obtains an effective period number corresponding to the effective periodic wave of the magnetocardiogram signal.
The first judging module 14 is configured to judge the effective cycle number ratio of the magnetocardiogram signal according to a first preset condition, and when the effective cycle number ratio meets the first preset condition, continue to execute the second judging module, otherwise judge that the magnetocardiogram signal is a bad signal and make the signal acquisition module acquire the bad signal.
The second judging module 15 is configured to judge an R peak point baseline wander of the electrocardiographic signal related to the effective periodic wave according to a second preset condition, and when the R peak point baseline wander meets the second preset condition, continue to execute the third judging module, otherwise judge that the magnetocardiographic signal is a bad signal and make the signal acquisition module acquire the bad signal again.
The third determining module 16 is configured to determine a noise value of the effective periodic wave of the magnetocardiogram signal according to a third preset condition, determine that the magnetocardiogram signal is a good signal when the noise value of the effective periodic wave of the magnetocardiogram signal meets the third preset condition, and otherwise determine that the magnetocardiogram signal is a bad signal and enable the signal acquiring module to acquire the bad signal again.
In an embodiment of the present invention, the execution process of the first determining module 14 specifically includes: and calculating the ratio of the effective periodicity to the periodicity of the electrocardiosignals to obtain an effective periodicity ratio, comparing the effective periodicity ratio with a preset periodicity ratio threshold, and when the effective periodicity ratio is greater than or equal to the preset periodicity ratio threshold, continuing to execute the second judgment module 15, otherwise, judging the magnetocardiogram signals to be inferior signals and enabling the signal acquisition module to acquire the inferior signals.
In an embodiment of the present invention, the executing process of the second determining module 15 specifically includes: and extracting the value of the magnetocardiogram signal corresponding to the R peak point of the electrocardiosignal related to the effective periodic wave to calculate a magnetocardiogram standard deviation, comparing the magnetocardiogram standard deviation with a preset standard deviation threshold, and when the magnetocardiogram standard deviation is smaller than or equal to the preset standard deviation threshold, continuing to execute the third judgment module 16, otherwise, judging the magnetocardiogram signal to be a bad signal and enabling the signal acquisition module to acquire the bad signal again.
In an embodiment of the present invention, the execution process of the third determining module 16 specifically includes: calculating the difference value between the maximum value and the minimum value of each effective periodic wave in a preset time, taking the number of the effective periodic waves of which the difference value is smaller than a preset difference threshold value as an available period number, comparing the available period number with a preset period number threshold value, judging the magnetocardiogram signal to be a good signal when the available period number is larger than or equal to the preset period number threshold value, and otherwise judging the magnetocardiogram signal to be a bad signal and enabling the signal acquisition module to acquire the signal again.
In a specific embodiment of the present invention, the magnetocardiogram signal includes magnetocardiogram signals of a plurality of channels, the step of extracting a value of the magnetocardiogram signal corresponding to the peak point of the electrocardiographic signal R related to the effective periodic wave signal for each channel to calculate a magnetocardiogram standard deviation, and comparing the magnetocardiogram standard deviation with a preset standard deviation threshold is performed, and when the magnetocardiogram standard deviation of each channel is less than or equal to the preset standard deviation threshold, the third determining module 16 is continuously executed, otherwise, the magnetocardiogram signal is determined to be a bad signal, and the signal acquiring module is made to acquire the bad signal again.
The magnetocardiogram signal quality evaluation system 10 is a system item corresponding to the magnetocardiogram signal quality evaluation method, and the two technical schemes are in one-to-one correspondence, and all descriptions about the magnetocardiogram signal quality evaluation method can be applied to this embodiment, which is not repeated herein.
In summary, according to the method and system for evaluating quality of magnetocardiogram signals, magnetocardiogram signals to be processed and corresponding reference electrocardiograph signals R peak points are extracted, the magnetocardiogram signals are divided into independent periodic waves by taking the electrocardiograph signals R peak points as a reference, the periodicity of the electrocardiograph signals is recorded, the periodic waves with noise smaller than a preset noise threshold in the magnetocardiogram signals are obtained as effective periodic waves, and the effective periodicity corresponding to the effective periodic wave signals is obtained; the acquired magnetocardiogram signals are evaluated according to the periodic wave effective number, the R peak point baseline drift and the effective cycle noise number in sequence to judge the quality of the acquired magnetocardiogram signals. Therefore, the invention effectively overcomes various defects in the prior art and has high industrial utilization value.
The foregoing embodiments are merely illustrative of the principles and utilities of the present invention and are not intended to limit the invention. Any person skilled in the art can modify or change the above-mentioned embodiments without departing from the spirit and scope of the present invention. Accordingly, it is intended that all equivalent modifications or changes which can be made by those skilled in the art without departing from the spirit and technical spirit of the present invention be covered by the claims of the present invention.

Claims (10)

1. A quality evaluation method of magnetocardiogram signals comprises the following steps:
step S11: acquiring magnetocardiogram signals and corresponding electrocardiosignals;
step S12: extracting an R peak point of the electrocardiosignal, dividing the magnetocardiogram signal into independent periodic waves by taking the R peak point of the electrocardiosignal as a reference, and recording the period number of the electrocardiosignal;
the quality evaluation method of the magnetocardiogram signal is characterized by further comprising the following steps:
step S13: acquiring a periodic wave with noise smaller than a preset noise threshold value in the magnetocardiogram signal as an effective periodic wave, and acquiring an effective period number corresponding to the effective periodic wave of the magnetocardiogram signal;
step S14: judging the effective periodicity ratio of the magnetocardiogram signal according to a first preset condition, continuing to execute the following steps when the effective periodicity ratio meets the first preset condition, otherwise judging the magnetocardiogram signal to be a bad signal and returning to the step S11;
step S15: judging the R peak point baseline drift of the electrocardiosignals related to the effective periodic waves according to a second preset condition, continuing to execute the following steps when the R peak point baseline drift meets the second preset condition, otherwise judging the magnetocardiogram signals to be inferior signals and returning to the step S11;
step S16: and judging the noise value of the effective periodic wave of the magnetocardiogram signal according to a third preset condition, judging the magnetocardiogram signal to be a good signal when the noise value of the effective periodic wave of the magnetocardiogram signal meets the third preset condition, otherwise judging the magnetocardiogram signal to be a bad signal, and returning to the step S11.
2. The magnetocardiogram signal quality evaluation method according to claim 1, wherein the step S14 specifically includes: and calculating the ratio of the effective period number to the period number of the electrocardiosignals to obtain an effective period number ratio, comparing the effective period number ratio with a preset period ratio threshold, and continuing to execute the step S15 when the effective period number ratio is greater than or equal to the preset period ratio threshold, otherwise, judging the magnetocardiogram signals to be inferior signals and returning to the step S11.
3. The magnetocardiogram signal quality evaluation method according to claim 1, wherein the step S15 specifically includes: and extracting the value of the magnetocardiogram signal corresponding to the R peak point of the electrocardiosignal related to the effective periodic wave to calculate a magnetocardiogram standard deviation, comparing the magnetocardiogram standard deviation with a preset standard deviation threshold, continuing to execute the step S16 when the magnetocardiogram standard deviation is smaller than or equal to the preset standard deviation threshold, otherwise, judging the magnetocardiogram signal to be a bad signal, and returning to the step S11.
4. The magnetocardiogram signal quality evaluation method according to claim 1, wherein the step S16 specifically includes: calculating a difference value between a maximum value and a minimum value of each effective periodic wave in a preset time, taking the number of the effective periodic waves of which the difference value is smaller than a preset difference threshold value as an available period number, comparing the available period number with a preset period number threshold value, judging the magnetocardiogram signal to be a good signal when the available period number is larger than or equal to the preset period number threshold value, otherwise, judging the magnetocardiogram signal to be a bad signal, and returning to the step S11.
5. The method according to claim 3, wherein the magnetocardiogram signal comprises magnetocardiogram signals of a plurality of channels, the step of extracting a value of the magnetocardiogram signal corresponding to the peak point of the electrocardiographic signal R related to the effective periodic wave signal for each channel to calculate a magnetocardiogram standard deviation, and comparing the magnetocardiogram standard deviation with a preset standard deviation threshold is performed, and when the magnetocardiogram standard deviation of each channel is less than or equal to the preset standard deviation threshold, the step S16 is continuously performed, otherwise, the magnetocardiogram signal is determined to be an inferior signal, and the step S11 is returned.
6. A magnetocardiogram signal quality evaluation system, comprising:
the signal acquisition module is used for acquiring the magnetocardiogram signals and the corresponding electrocardio signals;
the signal segmentation module is used for extracting an R peak point of the electrocardiosignal, segmenting the magnetocardiogram signal into independent periodic waves by taking the R peak point of the electrocardiosignal as a reference, and recording the periodicity of the electrocardiosignal;
the system for evaluating the quality of the magnetocardiogram signal is characterized by further comprising:
the effective period number obtaining module is used for obtaining a periodic wave with noise smaller than a preset noise threshold value in the magnetocardiogram signal as an effective periodic wave and obtaining an effective period number corresponding to the effective periodic wave of the magnetocardiogram signal;
the first judging module is used for judging the effective periodicity ratio of the magnetocardiogram signal according to a first preset condition, and when the effective periodicity ratio meets the first preset condition, the second judging module is continuously executed, otherwise, the magnetocardiogram signal is judged to be a bad signal and the signal acquisition module is enabled to acquire the bad signal again;
the second judging module is used for judging the R peak point baseline drift of the electrocardiosignals related to the effective periodic waves according to a second preset condition, when the R peak point baseline drift meets the second preset condition, a third judging module is continuously executed, otherwise, the magnetocardiogram signals are judged to be inferior signals, and the signal acquisition module is enabled to acquire the magnetocardiogram signals again;
the third judging module is used for judging the noise value of the effective periodic wave of the magnetocardiogram signal according to a third preset condition, judging the magnetocardiogram signal to be a good signal when the noise value of the effective periodic wave of the magnetocardiogram signal meets the third preset condition, and otherwise judging the magnetocardiogram signal to be a bad signal and enabling the signal collecting module to collect the bad signal again.
7. The magnetocardiogram signal quality evaluation system according to claim 6, wherein the execution process of the first determining module specifically includes: and calculating the ratio of the effective periodicity to the periodicity of the electrocardiosignals to obtain an effective periodicity ratio, comparing the effective periodicity ratio with a preset periodicity ratio threshold, and when the effective periodicity ratio is greater than or equal to the preset periodicity ratio threshold, continuing to execute the second judgment module, otherwise, judging the magnetocardiogram signals to be inferior signals and enabling the signal acquisition module to acquire the signals again.
8. The magnetocardiogram signal quality evaluation system according to claim 6, wherein the execution process of the second determining module specifically includes: and extracting the value of the magnetocardiogram signal corresponding to the R peak point of the electrocardiosignal related to the effective periodic wave to calculate a magnetocardiogram standard deviation, comparing the magnetocardiogram standard deviation with a preset standard deviation threshold, and when the magnetocardiogram standard deviation is smaller than or equal to the preset standard deviation threshold, continuing to execute the third judgment module, otherwise, judging the magnetocardiogram signal to be a bad signal and enabling the signal acquisition module to acquire the bad signal.
9. The magnetocardiogram signal quality evaluation system according to claim 6, wherein the third determining module specifically includes: calculating the difference value between the maximum value and the minimum value of each effective periodic wave in a preset time, taking the number of the effective periodic waves of which the difference value is smaller than a preset difference threshold value as an available period number, comparing the available period number with a preset period number threshold value, judging the magnetocardiogram signal to be a good signal when the available period number is larger than or equal to the preset period number threshold value, and otherwise judging the magnetocardiogram signal to be a bad signal and enabling the signal acquisition module to acquire the signal again.
10. The system according to claim 8, wherein the magnetocardiogram signal includes magnetocardiogram signals of a plurality of channels, the step of extracting a value of the magnetocardiogram signal corresponding to the peak point R of the electrocardiographic signal related to the effective periodic wave signal for each channel to calculate a magnetocardiogram standard deviation, and comparing the magnetocardiogram standard deviation with a preset standard deviation threshold value is performed, and when the magnetocardiogram standard deviation of each channel is less than or equal to the preset standard deviation threshold value, the third determining module is continuously performed, otherwise, the magnetocardiogram signal is determined to be a bad signal, and the signal acquiring module is made to acquire the bad signal again.
CN201710900576.7A 2017-09-28 2017-09-28 Magnetocardiogram signal quality evaluation method and system Active CN107550484B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710900576.7A CN107550484B (en) 2017-09-28 2017-09-28 Magnetocardiogram signal quality evaluation method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710900576.7A CN107550484B (en) 2017-09-28 2017-09-28 Magnetocardiogram signal quality evaluation method and system

Publications (2)

Publication Number Publication Date
CN107550484A CN107550484A (en) 2018-01-09
CN107550484B true CN107550484B (en) 2020-02-07

Family

ID=60984258

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710900576.7A Active CN107550484B (en) 2017-09-28 2017-09-28 Magnetocardiogram signal quality evaluation method and system

Country Status (1)

Country Link
CN (1) CN107550484B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110687491B (en) * 2018-07-04 2021-11-16 漫迪医疗仪器(上海)有限公司 Detection performance evaluation device/method, medium, and processing device for magnetocardiogram system
WO2020136570A1 (en) * 2018-12-26 2020-07-02 Analytics For Life Inc. Method and system for automated quantification of signal quality
CN111938588A (en) * 2020-07-24 2020-11-17 深圳数联天下智能科技有限公司 Method for detecting sleep state, sleep monitor and storage medium
CN116746927B (en) * 2023-05-18 2024-04-23 中国人民解放军海军特色医学中心 Method and system for adjusting states of underwater operators during underwater operation of closed cabin

Family Cites Families (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1309344C (en) * 2004-11-08 2007-04-11 中国科学院物理研究所 Adaptive digital filtering method for magnetocardiographic noise suppression
CN102270264B (en) * 2010-06-04 2014-05-21 中国科学院深圳先进技术研究院 Physiological signal quality evaluation system and method
CN102038497B (en) * 2010-12-02 2012-07-18 广东宝莱特医用科技股份有限公司 Electrocardiosignal noise analysis method
CN102988041B (en) * 2012-11-16 2018-04-06 中国科学院上海微系统与信息技术研究所 Signal-selectivity averaging method in cardiac magnetic signal noise suppression
CN105611872A (en) * 2013-10-09 2016-05-25 皇家飞利浦有限公司 An apparatus and method for evaluating multichannel ECG signals
CN103735259B (en) * 2013-12-27 2015-07-15 深圳市理邦精密仪器股份有限公司 Electrocardio signal quality determination indication method and system
US10258288B2 (en) * 2014-03-24 2019-04-16 Samsung Electronics Co., Ltd. Confidence indicator for physiological measurements using a wearable sensor platform
WO2016037633A1 (en) * 2014-09-01 2016-03-17 Schiller Ag Method and device for continuous quality monitoring of electrocardiographic signals, computer program product, and ecg device for implementing the method
CN105595990A (en) * 2016-01-27 2016-05-25 浙江铭众科技有限公司 Intelligent terminal device for evaluating and distinguishing quality of electrocardiosignal
CN106108850A (en) * 2016-06-30 2016-11-16 深圳邦健生物医疗设备股份有限公司 The recognition methods of the interference data of ecg database and device

Also Published As

Publication number Publication date
CN107550484A (en) 2018-01-09

Similar Documents

Publication Publication Date Title
CN107550484B (en) Magnetocardiogram signal quality evaluation method and system
Arif et al. Detection and localization of myocardial infarction using k-nearest neighbor classifier
Zhang et al. Automated detection of myocardial infarction using a gramian angular field and principal component analysis network
JP6367442B2 (en) Method and system for disease analysis based on conversion of diagnostic signals
Fang et al. Human identification by quantifying similarity and dissimilarity in electrocardiogram phase space
Alaskar et al. The implementation of pretrained AlexNet on PCG classification
CN104473629B (en) Automatic electrocardioelectrode placement error detection method based on kernel function classification algorithm
CN109117730A (en) Electrocardiogram auricular fibrillation real-time judge method, apparatus, system and storage medium
CN110123304B (en) Dynamic electrocardio noise filtering method based on multi-template matching and correlation coefficient matrix
Bulusu et al. Transient ST-segment episode detection for ECG beat classification
Jaafar et al. Epileptic seizure detection using deep learning approach
CN106923820B (en) Electrocardiosignal artifact identification method and electrocardiosignal artifact identification device
CN107622259B (en) T wave detection method, electrocardiogram data analysis method and device
CN109645979A (en) Ambulatory ecg signal artifact identification method and device
Lian et al. Spatial enhanced pattern through graph convolutional neural network for epileptic EEG identification
CN114532993A (en) Automatic detection method for electroencephalogram high-frequency oscillation signals of epileptic
CA3065208A1 (en) Long qt syndrome diagnosis and classification
CN110070013A (en) A kind of ECG signal noise pollution degree and classification intelligent evaluation method
CN116807496B (en) Method, device, equipment and medium for positioning epileptic interval brain wave abnormal signals
CN115486849A (en) Electrocardiosignal quality evaluation method, device and equipment
CN108338777A (en) A kind of pulse signal determination method and device
CN106419884B (en) A kind of rate calculation method and system based on wavelet analysis
Biran et al. Automatic qrs detection and segmentation using short time fourier transform and feature fusion
Padmavathi et al. Detection of atrial fibrillation using continuous wavelet transform and wavelet coherence
WO2022111203A1 (en) Heart rate detection method and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant