Electrocardiosignal quality evaluation method, lead selection method and related device

Through filtering and interference index evaluation, combined with mapping rules and weights, ECG signal quality evaluation and lead selection are realized, which solves the problem of quality degradation caused by interference in ECG signal acquisition and improves the accuracy of diagnosis.

CN118673378APending Publication Date: 2024-09-20GUANGDONG BIOLIGHT MEDITECH CO LTD
View PDF 0 Cites 6 Cited by

Patent Information

Application Number
CN202410692523.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-05-30
Publication Date
2024-09-20

AI Technical Summary

Technical Problem

ECG signals are susceptible to interference during the collection process, resulting in a decrease in signal quality and affecting the accuracy of diagnosis.

Method used

An ECG signal quality assessment method is proposed. Through filtering, amplitude average calculation and interference index determination, signal quality assessment is carried out in combination with mapping rules and weights, and the best leads are selected to improve the analysis accuracy.

Benefits of technology

Effectively evaluate ECG signal quality, reduce interference effects, and improve the accuracy of ECG signal analysis and diagnosis.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118673378A
    Figure CN118673378A
Patent Text Reader

Abstract

The invention provides an electrocardiosignal quality evaluation method, a lead selection method and a related device, and the method comprises the steps: carrying out the filtering operation of an electrocardiosignal sequence within a preset time period according to electrocardiosignal fluctuation filtering data and preset interference filtering data corresponding to an interference type, and obtaining an electrocardiosignal fluctuation sequence and interference fluctuation corresponding to the interference type; based on the electrocardio fluctuation sequence, determining an amplitude average value of electrocardio fluctuation, and based on the electrocardio signal sequence and interference fluctuation corresponding to the interference type, determining an interference index corresponding to the interference type; determining first evaluation data corresponding to the amplitude average value of the electrocardio fluctuation and second evaluation data corresponding to the interference index; and based on the electrocardio fluctuation weight and the interference weight, fusing the first evaluation data and the second evaluation data to obtain signal quality evaluation data. According to the scheme, quality evaluation is carried out on the electrocardio fluctuation and the interference fluctuation, the signal quality evaluation data is obtained, and the analysis and diagnosis accuracy of the electrocardio signals can be improved based on the signal quality evaluation data.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of wave signal processing, and in particular to an electrocardiogram signal quality assessment method, a lead selection method and related devices. Background Art

[0002] ECG monitoring is an important means for doctors to understand the patient's heart condition and diagnose heart diseases. It has important reference value in guiding clinicians to perform heart surgery. However, ECG signals are low-frequency and low-amplitude signals, and their acquisition is easily affected by signal acquisition environment factors, which causes interference to be mixed into the collected ECG signals. Some ECG signals are even submerged by these interference signals and lose some of their original features, resulting in quality problems in these ECG signals, thus affecting the accuracy of ECG signal analysis and diagnosis. Summary of the invention

[0003] Based on the above needs, the present application proposes an ECG signal quality assessment method, a lead selection method and related devices, which can realize the quality assessment of ECG signals, so as to analyze and diagnose the ECG signals according to the assessment results, thereby improving the accuracy of the analysis and diagnosis of the ECG signals.

[0004] To achieve the above objectives, this application proposes the following technical solutions:

[0005] According to a first aspect of an embodiment of the present application, a method for evaluating electrocardiogram signal quality is provided, comprising:

[0006] According to the preset ECG fluctuation filtering data, a filtering operation is performed on the ECG signal sequence collected in advance within the preset time length to obtain the ECG fluctuation sequence, and according to the preset interference filtering data corresponding to the interference type, a filtering operation is performed on the ECG signal sequence to obtain the interference fluctuation corresponding to the interference type;

[0007] Based on the ECG fluctuation sequence, determining an average value of the amplitude of the ECG fluctuation, and based on the ECG signal sequence and the interference fluctuation corresponding to the interference type, determining an interference index corresponding to the interference type;

[0008] Based on a preset mapping rule, determining first evaluation data corresponding to the average value of the amplitude of the electrocardiographic fluctuation and second evaluation data corresponding to the interference index;

[0009] Based on the preset ECG fluctuation weight and the interference weight corresponding to the interference type, the first evaluation data and the second evaluation data are fused to obtain signal quality evaluation data corresponding to the ECG signal sequence.

[0010] Optionally, the interference type includes: at least one of electromyographic interference, power frequency interference, baseline drift interference and peak artifact interference.

[0011] Optionally, if the interference type includes at least one of myoelectric interference, power frequency interference, and baseline drift interference, determining an interference index corresponding to the interference type based on the electrocardiogram signal sequence and the interference fluctuation corresponding to the interference type includes:

[0012] Based on the electrocardiogram signal sequence and the interference fluctuation corresponding to the first interference type, a signal-to-noise ratio between the electrocardiogram signal sequence and the interference fluctuation corresponding to the first interference type is calculated, and the signal-to-noise ratio is used as an interference index corresponding to the first interference type; the first interference type is at least one of myoelectric interference, power frequency interference, and baseline drift interference;

[0013] If the interference type includes peak artifact interference, determining an interference index corresponding to the interference type based on the electrocardiogram signal sequence and the interference fluctuation corresponding to the interference type includes:

[0014] Dividing the interference fluctuation corresponding to the second interference type to obtain at least two unit fluctuations, determining whether the amplitude value of each unit fluctuation exceeds a preset amplitude threshold, and recording the number of amplitude values ​​exceeding the preset amplitude threshold as the number of peak artifacts;

[0015] Based on the number of peak artifacts, the total number of unit fluctuations and a preset peak artifact interference index calculation rule, an interference index corresponding to the second interference type is determined; the second interference type is peak artifact interference.

[0016] Optionally, before performing a filtering operation on a pre-collected ECG signal sequence within a preset time length according to preset ECG fluctuation filtering data to obtain an ECG fluctuation sequence, the method further includes:

[0017] Taking the difference between the maximum value and the minimum value in the electrocardiogram signal sequence collected in advance within a preset time length as the signal amplitude of the electrocardiogram signal sequence;

[0018] If the signal amplitude of the electrocardiogram signal sequence is less than a preset comparison threshold, determining that the signal quality evaluation data corresponding to the electrocardiogram signal sequence is 0;

[0019] If the signal amplitude of the ECG signal sequence is not less than a preset comparison threshold, the ECG signal sequence collected in advance within a preset time length is filtered according to preset ECG fluctuation filtering data to obtain an ECG fluctuation sequence.

[0020] According to a second aspect of an embodiment of the present application, a lead selection method is provided, comprising:

[0021] Determine the average signal quality of all valid leads during the ECG monitoring process; wherein the average signal quality of the valid leads is the average value of the signal quality evaluation data in at least two time periods calculated by the ECG signal quality evaluation method;

[0022] Based on the average signal quality of the maximum effective lead and the average signal quality of the current target lead, the current target lead is updated; wherein the maximum effective lead is the effective lead with the largest average signal quality among all effective leads.

[0023] Optionally, updating the current target lead based on the average signal quality of the maximum effective lead and the average signal quality of the current target lead includes:

[0024] If the current target lead is not a valid lead, updating the current target lead to a maximum valid lead;

[0025] If the current target lead is a valid lead, and the current target lead and the maximum valid lead are not the same lead, determining whether the average signal quality of the maximum valid lead is 0;

[0026] If the average signal quality of the maximum valid lead is 0, then when the preset initial lead is a valid lead and the current target lead is not the initial lead, the current target lead is updated to the initial lead;

[0027] If the average signal quality of the maximum effective lead is not 0, the current target lead is updated based on the average signal quality of the maximum effective lead, the average signal quality of the current target lead and a preset quality threshold.

[0028] Optionally, updating the current target lead based on the average signal quality of the maximum effective lead, the average signal quality of the current target lead and a preset quality threshold includes:

[0029] If the average signal quality of the current target lead is less than a preset first quality threshold, determining a first comparison result between a signal quality difference and a preset second quality threshold; the signal quality difference is the difference between the average signal quality of the maximum effective lead and the average signal quality of the current target lead;

[0030] If the average signal quality of the current target lead is not less than a preset first quality threshold, determining a second comparison result between the signal quality difference and a preset third quality threshold;

[0031] If the first comparison result indicates that the signal quality difference is greater than the second quality threshold, or the second comparison result indicates that the signal quality difference is greater than the third quality threshold, updating the current target lead to the maximum effective lead;

[0032] If the first comparison result indicates that the signal quality difference is not greater than the second quality threshold, or the second comparison result indicates that the signal quality difference is not greater than the third quality threshold, then if the maximum effective lead does not change within a set time period, the current target lead is updated to the maximum effective lead.

[0033] According to a third aspect of an embodiment of the present application, there is provided an electrocardiogram signal quality assessment device, comprising:

[0034] A filtering module, configured to perform a filtering operation on a pre-collected ECG signal sequence within a preset time length according to preset ECG fluctuation filtering data to obtain an ECG fluctuation sequence, and to perform a filtering operation on the ECG signal sequence according to preset interference filtering data corresponding to an interference type to obtain interference fluctuations corresponding to the interference type;

[0035] A first determination module is used to determine an average amplitude of ECG fluctuations based on the ECG fluctuation sequence, and to determine an interference index corresponding to the interference type based on the ECG signal sequence and the interference fluctuation corresponding to the interference type;

[0036] A second determination module, configured to determine, based on a preset mapping rule, first evaluation data corresponding to the average value of the amplitude of the electrocardiogram fluctuation and second evaluation data corresponding to the interference index;

[0037] An evaluation fusion module is used to fuse the first evaluation data and the second evaluation data based on a preset ECG fluctuation weight and an interference weight corresponding to the interference type to obtain signal quality evaluation data corresponding to the ECG signal sequence.

[0038] According to a fourth aspect of an embodiment of the present application, a lead selection device is provided, comprising:

[0039] A signal quality determination module, used to determine the average signal quality of all valid leads during ECG monitoring; wherein the average signal quality of the valid leads is the average value of the signal quality evaluation data in at least two time periods calculated by the ECG signal quality evaluation method;

[0040] The target lead updating module is used to update the current target lead based on the average signal quality of the maximum effective lead and the average signal quality of the current target lead; wherein the maximum effective lead is the effective lead with the largest average signal quality among all effective leads.

[0041] According to a fifth aspect of the embodiments of the present application, there is provided an electronic device, including: a memory and a processor;

[0042] The memory is connected to the processor and is used to store programs;

[0043] The processor is used to implement the above-mentioned electrocardiogram signal quality assessment method or the above-mentioned lead selection method by running the program in the memory.

[0044] According to a sixth aspect of an embodiment of the present application, a storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the above-mentioned electrocardiogram signal quality assessment method is implemented, or the above-mentioned lead selection method is implemented.

[0045] The ECG signal quality assessment method proposed in the present application performs a filtering operation on the ECG signal sequence collected within a preset time length according to the preset ECG fluctuation filtering data to obtain the ECG fluctuation sequence, and performs a filtering operation on the ECG signal sequence according to the preset interference filtering data corresponding to the interference type to obtain the interference fluctuation corresponding to the interference type; based on the ECG fluctuation sequence, the amplitude average of the ECG fluctuation is determined, and based on the ECG signal sequence and the interference fluctuation corresponding to the interference type, the interference index corresponding to the interference type is determined; based on the preset mapping rule, the first assessment data corresponding to the amplitude average of the ECG fluctuation and the second assessment data corresponding to the interference index are determined; based on the preset ECG fluctuation weight and the interference weight corresponding to the interference type, the first assessment data and the second assessment data are fused to obtain the signal quality assessment data corresponding to the ECG signal sequence. The technical solution of the present application can be used to perform quality assessment on the ECG fluctuation and interference fluctuation in the ECG signal sequence, and the assessment data of the two can be fused and analyzed to determine the signal quality assessment data of the ECG signal sequence, so that ECG monitoring personnel can analyze and diagnose the ECG signal according to the signal quality assessment data of the ECG signal, and the accuracy of the analysis and diagnosis of the ECG signal can be improved. BRIEF DESCRIPTION OF THE DRAWINGS

[0046] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on the provided drawings without paying any creative work.

[0047] Figure 1 A flowchart of an electrocardiogram signal quality assessment method provided in an embodiment of the present application;

[0048] Figure 2A flowchart of another electrocardiogram signal quality assessment method provided in an embodiment of the present application;

[0049] Figure 3 A schematic diagram of a flow chart of a lead selection method provided in an embodiment of the present application;

[0050] Figure 4 A schematic diagram of the structure of an electrocardiogram signal quality assessment device provided in an embodiment of the present application;

[0051] Figure 5 A schematic diagram of the structure of a lead selection device provided in an embodiment of the present application;

[0052] Figure 6 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0053] The technical solution of the embodiment of the present application is applicable to the application scenario of waveform signal processing, and is specifically used in the application scenario of quality assessment of ECG signals. The technical solution of the embodiment of the present application can realize the quality assessment of ECG signals, thereby improving the accuracy of analysis and diagnosis of ECG signals.

[0054] ECG monitoring is an important means for doctors to understand the patient's heart condition and diagnose heart diseases. It has important reference value in guiding clinicians to perform heart surgery. However, ECG signals are low-frequency and low-amplitude signals, and their acquisition is easily affected by signal acquisition environment factors, which causes the collected ECG signals to be mixed with various types of interference such as baseline drift, myoelectric interference, power frequency interference, and artifacts. Some ECG signals are even submerged by these interference signals and lose some of their original characteristics, resulting in quality problems in these ECG signals, which seriously affects the analysis and diagnosis of ECG signals.

[0055] Based on this, the present application proposes a method for evaluating the quality of ECG signals. This technical solution can realize the quality evaluation of ECG signals so as to analyze and diagnose the ECG signals according to the evaluation results, thereby solving the problem of low accuracy of analysis and diagnosis of ECG signals in the prior art.

[0056] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.

[0057] Exemplary Methods

[0058] See also Figure 1As shown, the embodiment of the present application proposes a method for evaluating the quality of an electrocardiogram signal. The method comprises:

[0059] S101. According to preset ECG fluctuation filtering data, a filtering operation is performed on an ECG signal sequence collected in advance within a preset time length to obtain an ECG fluctuation sequence, and according to preset interference filtering data corresponding to an interference type, a filtering operation is performed on the ECG signal sequence to obtain interference fluctuations corresponding to the interference type.

[0060] Specifically, this embodiment utilizes ECG monitoring equipment to collect ECG signals in real time. In order to evaluate the quality of ECG signals, it is necessary to extract ECG signals within a preset time length from all collected ECG signals to form an ECG signal sequence. Extracting ECG signals within a preset time length requires extracting ECG signals within the most recent preset time length. For example, if the preset time length is 1s, it is necessary to extract ECG signals within the most recent 1s to form an ECG signal sequence.

[0061] Since interference signals are mixed into the ECG signal, therefore, if this embodiment is to identify ECG fluctuations from the ECG signal sequence, it is necessary to first perform an ECG fluctuation filtering operation on the ECG signal sequence, and when performing an ECG fluctuation filtering operation on the ECG signal sequence, it is necessary to perform filtering processing according to the pre-set ECG fluctuation filtering data to obtain an ECG fluctuation sequence. The pre-set ECG fluctuation filtering data in this embodiment is a high-pass filter of 2Hz to 5Hz, preferably set to a 4Hz high-pass filter, that is, a 4Hz high-pass filtering operation is performed on the ECG signal sequence to obtain an ECG fluctuation sequence.

[0062] The ECG signals in the ECG signal sequence collected in this embodiment are interfered with. Therefore, the ECG signal sequence can be filtered according to the preset interference filter data corresponding to the interference type, so as to extract the interference fluctuation corresponding to the interference type, wherein the preset interference filter data is set according to the frequency of the interference. In addition, the ECG signal may be subject to multiple types of interference, including at least one of myoelectric interference, power frequency interference, baseline drift interference and peak artifact interference. Different interference types have different frequencies, so the corresponding preset interference filter data are also different.

[0063] Specifically, electromyographic interference is the noise caused by muscle tremors due to tension or other reasons. It appears as a rapidly changing and irregular waveform on the electrocardiogram and is a high-frequency interference, usually a high-frequency interference component above 15Hz to 25Hz. Therefore, the preset interference filter data corresponding to the electromyographic interference is a high-pass filter of 15Hz to 25Hz, preferably set to a 20Hz high-pass filter, that is, a 20Hz high-pass filter operation is performed on the ECG signal sequence to extract the interference fluctuations corresponding to the electromyographic interference.

[0064] Power frequency interference refers to the interference of the power system to the ECG signal, and the frequency is 50HZ (60HZ) or its multiples. However, its multiples are outside the frequency band of the electrophysiological signal and are very easy to deal with. The interference signal aliased within the electrophysiological frequency band is only the interference with a frequency of 50HZ (60HZ). Therefore, the preset interference filter data corresponding to the power frequency interference is 50 / 60Hz bandpass filtering. By performing a 50 / 60Hz bandpass filtering operation on the ECG signal sequence, the interference fluctuation corresponding to the power frequency interference can be extracted.

[0065] Baseline drift interference is low-frequency interference, generally with a frequency of 0.15 to 0.3 Hz, which can be extracted by a 0.15 Hz to 2 Hz low-pass filter. Therefore, the preset interference filter data corresponding to the baseline drift interference is a 0.15 Hz to 2 Hz low-pass filter, preferably set to a 1 Hz low-pass filter, that is, a 1 Hz low-pass filter operation is performed on the ECG signal sequence to extract the interference fluctuation corresponding to the baseline drift interference.

[0066] The shape of peak artifact interference is similar to R wave, and the frequency is generally above 1Hz. Therefore, the preset interference filter data corresponding to the peak artifact interference is a high-pass filter of 1Hz to 2Hz, and is preferably set to a 1Hz high-pass filter, that is, a 1Hz high-pass filter operation is performed on the ECG signal sequence to extract the interference fluctuation corresponding to the peak artifact interference.

[0067] S102: determining an average value of the amplitude of the ECG fluctuation based on the ECG fluctuation sequence, and determining an interference index corresponding to the interference type based on the ECG signal sequence and the interference fluctuation corresponding to the interference type.

[0068] After the ECG fluctuation sequence is extracted from the ECG signal sequence, the present embodiment needs to calculate the amplitude average of the ECG fluctuations in the ECG fluctuation sequence. Specifically, the ECG fluctuation sequence can be subjected to fluctuation retrieval, all fluctuations in the ECG fluctuation sequence are retrieved and processed, and then the amplitude value of each fluctuation is calculated, that is, the difference between the peak value and the valley value of each fluctuation, and then the average value between the amplitude values ​​of all fluctuations in the ECG fluctuation sequence is used as the amplitude average. Among them, a fluctuation includes a rising edge, a peak value, a falling edge and a valley value. In addition, the amplitude average of the ECG fluctuation can also be determined by dividing the ECG fluctuation sequence into several small sequences, taking the difference between the maximum value and the minimum value in each small sequence as the amplitude value of the small sequence, and then taking the average value of the amplitude values ​​of all the small sequences divided equally as the amplitude average of the ECG fluctuation. For example, the ECG fluctuation sequence is a sequence with a duration of 1s, which is evenly divided into 5 small sequences, each of which is a sequence with a duration of 200ms.

[0069] After the interference fluctuations corresponding to each interference type are extracted from the ECG signal sequence in this embodiment, it is necessary to determine the interference index corresponding to the interference type based on the ECG signal sequence and the interference fluctuations corresponding to the interference type. Specifically, when the interference type includes at least one of electromyographic interference, power frequency interference, and baseline drift interference, the first interference type is determined to be at least one of electromyographic interference, power frequency interference, and baseline drift interference. Based on the ECG signal sequence and the interference fluctuations corresponding to the first interference type, the signal-to-noise ratio between the ECG signal sequence and the interference fluctuations corresponding to the first interference type is calculated, and the signal-to-noise ratio is used as the interference index corresponding to the first interference type. Among them, the signal-to-noise ratio refers to the ratio of the intensity of the received useful signal to the intensity of the received interference signal. In this embodiment, the ECG signal sequence is the useful signal, and the interference fluctuations corresponding to the interference type are the interference signal.

[0070] When the first interference type is electromyographic interference, first, the amplitude S1 of the ECG signal sequence and the amplitude N1 of the interference fluctuation of the electromyographic interference are calculated, and then, based on the signal-to-noise ratio calculation formula, the signal-to-noise ratio between the ECG signal sequence and the interference fluctuation corresponding to the electromyographic interference is calculated, and the signal-to-noise ratio is used as the interference index corresponding to the electromyographic interference. Wherein, the signal-to-noise ratio calculation formula is: MA_index=10log10((S1×S1) / (N1×N1)), MA_index is the signal-to-noise ratio between the ECG signal sequence and the interference fluctuation corresponding to the electromyographic interference. In this embodiment, the amplitude S1 of the ECG signal sequence is calculated, first the ECG signal sequence is evenly divided into at least two small sequences, the difference between the maximum value and the minimum value in each small sequence is used as the amplitude value of the small sequence, and then the maximum value of the amplitude values ​​of all the small sequences into which the ECG signal sequence is divided is used as the amplitude of the ECG signal sequence. For example, if the ECG signal sequence is a sequence with a duration of 1 second, it is evenly divided into 5 small sequences, each of which is a sequence with a duration of 200 ms. After the amplitude values ​​of the 5 small sequences are calculated, the maximum value of the 5 amplitude values ​​is used as the amplitude of the ECG signal sequence. To calculate the amplitude N1 of the interference fluctuation of electromyographic interference, the interference fluctuation of electromyographic interference is first evenly divided into at least two small sequences, the difference between the maximum value and the minimum value in each small sequence is used as the amplitude value of the small sequence, and then the minimum value of the amplitude values ​​of all the small sequences into which the interference fluctuation of electromyographic interference is divided is used as the amplitude of the interference fluctuation of electromyographic interference.

[0071] When the first interference type is power frequency interference, first, the root mean square value S2 of the ECG signal sequence and the root mean square value N2 of the interference fluctuation of the power frequency interference are calculated, and then, based on the signal-to-noise ratio calculation formula, the signal-to-noise ratio between the ECG signal sequence and the interference fluctuation corresponding to the power frequency interference is calculated, and the signal-to-noise ratio is used as the interference index corresponding to the power frequency interference. The signal-to-noise ratio calculation formula is: PL_index=10log10((S2×S2) / (N2×N2)), and PL_index is the signal-to-noise ratio between the ECG signal sequence and the interference fluctuation corresponding to the power frequency interference.

[0072] When the first interference type is baseline drift interference, first, the root mean square value S3 of the ECG signal sequence (the same as the root mean square value S2 of the ECG signal sequence) and the root mean square value N3 of the interference fluctuation of the baseline drift interference are calculated, and then, based on the signal-to-noise ratio calculation formula, the signal-to-noise ratio between the ECG signal sequence and the interference fluctuation corresponding to the baseline drift interference is calculated, and the signal-to-noise ratio is used as the interference index corresponding to the baseline drift interference. The signal-to-noise ratio calculation formula is: BW_index=10log10((S3×S3) / (N3×N3)), and BW_index is the signal-to-noise ratio between the ECG signal sequence and the interference fluctuation corresponding to the baseline drift interference.

[0073] Specifically, when the interference type includes peak artifact interference, determining the second interference type as peak artifact interference, and determining the interference index corresponding to the second interference type based on the ECG signal sequence and the interference fluctuation corresponding to the second interference type include:

[0074] First, the interference fluctuations corresponding to the second interference type are divided to obtain at least two unit fluctuations, and it is determined whether the amplitude value of each unit fluctuation exceeds a preset amplitude threshold, and the number of amplitude values ​​exceeding the preset amplitude threshold is recorded as the number of peak artifacts.

[0075] In this embodiment, the interference fluctuation corresponding to the peak artifact interference is evenly divided to obtain at least two unit fluctuations, that is, the interference fluctuation corresponding to the peak artifact interference is evenly divided into at least two small sequences. The difference between the maximum value and the minimum value in each unit fluctuation is used as the amplitude value of the unit fluctuation, and then it is determined whether the amplitude value of each unit fluctuation exceeds the preset amplitude threshold, and the number of unit fluctuations whose amplitude value exceeds the preset amplitude threshold is recorded, and the number is used as the number of peak artifacts. For example, the interference fluctuation corresponding to the peak artifact interference is a sequence with a duration of 1s, which is evenly divided into 5 unit fluctuations, each of which is a sequence with a duration of 200ms.

[0076] Second, based on the number of peak artifacts, the total number of unit fluctuations and a preset peak artifact interference index calculation rule, an interference index corresponding to the second interference type is determined.

[0077] Through the above steps, the number of peak artifacts and the total number of unit fluctuations divided by the interference fluctuations corresponding to the peak artifact interference can be determined, and the interference index corresponding to the peak artifact interference can be determined according to the preset peak artifact interference index calculation rule. The peak artifact interference index calculation rule is PA=PAnum / num, where PA represents the interference index corresponding to the peak artifact interference, PAnum represents the number of peak artifacts, and num represents the total number of unit fluctuations.

[0078] S103 . Determine, based on a preset mapping rule, first evaluation data corresponding to the average value of the amplitude of the electrocardiogram fluctuation and second evaluation data corresponding to the interference index.

[0079] This embodiment needs to perform a quality assessment on the ECG signal sequence according to the average amplitude of the ECG fluctuations to determine the first assessment data corresponding to the average amplitude of the ECG fluctuations. It also needs to perform a quality assessment on the ECG signal sequence according to the interference indicators corresponding to each interference type to determine the second assessment data corresponding to each interference indicator. Among them, this embodiment sets different mapping rules for the assessment of different data, and it is necessary to determine the first assessment data corresponding to the average amplitude of the ECG fluctuations and the second assessment data corresponding to the interference indicator according to the corresponding mapping rules. The mapping rule can be a mapping formula for mapping various types of data to corresponding assessment data, or a corresponding table between various types of data and assessment data, etc.

[0080] For the average value of the amplitude of the ECG fluctuation, the corresponding mapping rule is that the larger the average value of the amplitude of the ECG fluctuation is, the higher the corresponding first evaluation data is, wherein the first evaluation data is preferably a value of 0 to 100. For example, when the average value of the amplitude of the ECG fluctuation is between 0.1mv and 1mv, the mapping rule is: average value of amplitude × coefficient k = first evaluation data, when the average value of the amplitude of the ECG fluctuation is ≥1mv, the first evaluation data is the highest, i.e., 100, and when the average value of the amplitude of the ECG fluctuation is <0.1mv, the first evaluation data is the lowest, i.e., 0.

[0081] For the interference index corresponding to electromyographic interference, the corresponding mapping rule is that the larger the interference index corresponding to electromyographic interference, the higher the corresponding second evaluation data, wherein the second evaluation data is preferably a value between 0 and 100, where 0 represents that the ECG signal sequence is full of electromyographic interference and the useful signal is completely submerged in the electromyographic interference, and 100 represents that the waveform features in the ECG signal sequence are clearly visible and there is almost no electromyographic interference.

[0082] For the interference index corresponding to the power frequency interference, the corresponding mapping rule is that the larger the interference index corresponding to the power frequency interference, the higher the corresponding second evaluation data, wherein the second evaluation data is preferably a value between 0 and 100, where 0 represents that the ECG signal sequence is entirely power frequency interference and the useful signal is completely submerged in the power frequency interference, and 100 represents that the waveform features in the ECG signal sequence are clearly visible and there is almost no power frequency interference.

[0083] For the interference index corresponding to the baseline drift interference, the corresponding mapping rule is that the larger the interference index corresponding to the baseline drift interference, the higher the corresponding second evaluation data, wherein the second evaluation data is preferably a value between 0 and 100, 0 represents that the ECG signal sequence is full of baseline drift interference, and the useful signal is completely submerged in the baseline drift interference, and 100 represents that the waveform features in the ECG signal sequence are clearly visible, with almost no baseline drift interference.

[0084] For the interference index corresponding to the peak artifact interference, the corresponding mapping rule is that the larger the interference index corresponding to the peak artifact interference, the greater the proportion of artifact interference, and the lower the corresponding second evaluation data. The formula corresponding to the mapping rule is: Y = (1-X) × 100, where Y represents the second evaluation data corresponding to the interference index corresponding to the peak artifact interference, X represents the interference index corresponding to the peak artifact interference, and the second evaluation data is preferably a value of 0 to 100.

[0085] S104: Based on the preset ECG fluctuation weight and the interference weight corresponding to the interference type, the first evaluation data and the second evaluation data are merged to obtain signal quality evaluation data corresponding to the ECG signal sequence.

[0086] This embodiment pre-sets ECG fluctuation weights and interference weights corresponding to each interference type according to the importance of ECG fluctuations and each interference type, and then performs weighted fusion on the first evaluation data and each second evaluation data to obtain final evaluation data as signal quality evaluation data corresponding to the ECG signal sequence.

[0087] Through the above steps, the second evaluation data of the interference index corresponding to each interference type is calculated. ECG monitoring personnel can understand the impact of the interference signal of each interference type on the quality of the ECG signal based on the second evaluation data corresponding to each interference type, so as to take appropriate methods to eliminate the interference in a targeted manner. The specific situation of the current ECG signal quality can also be understood based on the signal quality evaluation data corresponding to the finally determined ECG signal sequence. In addition, the second evaluation data corresponding to each interference type and the signal quality evaluation data corresponding to the ECG signal sequence can more effectively help medical staff to analyze and diagnose the ECG signal, thereby improving the accuracy of the analysis and diagnosis of the ECG signal.

[0088] From the above introduction, it can be seen that the ECG signal quality assessment method proposed in the embodiment of the present application performs a filtering operation on the ECG signal sequence within a preset time length collected in advance according to preset ECG fluctuation filtering data to obtain an ECG fluctuation sequence, and performs a filtering operation on the ECG signal sequence according to preset interference filtering data corresponding to the interference type to obtain interference fluctuations corresponding to the interference type; based on the ECG fluctuation sequence, determines the average amplitude of the ECG fluctuation, and based on the ECG signal sequence and the interference fluctuations corresponding to the interference type, determines the interference index corresponding to the interference type; based on a preset mapping rule, determines first evaluation data corresponding to the average amplitude of the ECG fluctuation and second evaluation data corresponding to the interference index; based on the preset ECG fluctuation weight and the interference weight corresponding to the interference type, fuses the first evaluation data and the second evaluation data to obtain signal quality assessment data corresponding to the ECG signal sequence. By adopting the technical solution of this embodiment, it is possible to perform quality assessment on the ECG fluctuations and interference fluctuations in the ECG signal sequence, and to perform fusion analysis on the assessment data of the two to determine the signal quality assessment data of the ECG signal sequence, so that ECG monitoring personnel can analyze and diagnose the ECG signals based on the signal quality assessment data of the ECG signals, thereby improving the accuracy of the analysis and diagnosis of the ECG signals.

[0089] As an optional implementation, the present application embodiment also proposes a method for evaluating the quality of an electrocardiogram signal. Figure 2 As shown, the method includes:

[0090] S201 , taking the difference between the maximum value and the minimum value in the electrocardiogram signal sequence collected in advance within a preset time length as the signal amplitude of the electrocardiogram signal sequence.

[0091] After collecting the ECG signal sequence within the preset time length, it is necessary to first perform a preliminary test on the ECG signal sequence to determine whether a signal quality assessment can be performed. In this embodiment, the maximum and minimum values ​​in the ECG signal sequence within the preset time length are first retrieved, and then the difference between the maximum and minimum values ​​is calculated, and the difference is used as the signal amplitude of the ECG signal sequence.

[0092] S202, determining whether the signal amplitude of the ECG signal sequence is less than a preset comparison threshold; if so, executing step S203; if not, executing step S204.

[0093] This embodiment determines whether the signal amplitude of the calculated ECG signal sequence is less than a preset comparison threshold. If the signal amplitude of the ECG signal sequence is less than the preset comparison threshold, it means that the pre-collected ECG signal sequence may be a straight line signal or the signal amplitude is too small. If the ECG signal quality assessment method in the above embodiment is used to assess the quality of the ECG signal, the accuracy is low. If the signal amplitude of the ECG signal sequence is not less than the preset comparison threshold, it means that the pre-collected ECG signal sequence can be used to assess the quality of the ECG signal using the ECG signal quality assessment method in the above embodiment. Therefore, if the signal amplitude of the ECG signal sequence is less than the preset comparison threshold, step S203 is executed; if the signal amplitude of the ECG signal sequence is not less than the preset comparison threshold, steps S204 to S207 are executed.

[0094] S203: Determine that the signal quality evaluation data corresponding to the electrocardiogram signal sequence is 0.

[0095] If the signal amplitude of the ECG signal sequence is less than the preset comparison threshold, it means that the ECG signal sequence is a straight line signal or the signal amplitude is too small, and the signal quality evaluation data corresponding to the ECG signal sequence is directly determined to be 0.

[0096] S204. According to preset ECG fluctuation filtering data, a filtering operation is performed on the ECG signal sequence within a preset time length collected in advance to obtain an ECG fluctuation sequence, and according to preset interference filtering data corresponding to the interference type, a filtering operation is performed on the ECG signal sequence to obtain interference fluctuations corresponding to the interference type.

[0097] S205 . Determine an average value of the amplitude of the ECG fluctuation based on the ECG fluctuation sequence, and determine an interference index corresponding to the interference type based on the ECG signal sequence and the interference fluctuation corresponding to the interference type.

[0098] S206. Determine, based on a preset mapping rule, first evaluation data corresponding to the average value of the amplitude of the electrocardiogram fluctuation and second evaluation data corresponding to the interference index.

[0099] S207 . Based on the preset ECG fluctuation weight and the interference weight corresponding to the interference type, the first evaluation data and the second evaluation data are merged to obtain signal quality evaluation data corresponding to the ECG signal sequence.

[0100] The specific execution process of steps S204 to S207 in this embodiment is the same as the specific execution process of steps S101 to S104 in the above embodiment, and will not be further elaborated in this embodiment.

[0101] As an optional implementation, the embodiment of the present application also proposes a lead selection method.

[0102] See also Figure 3 As shown, the method includes:

[0103] S301. Determine the average signal quality of all valid leads during the electrocardiogram monitoring process.

[0104] This embodiment needs to determine the lead type currently used for ECG monitoring, and determine all the leads included in the lead type. For example, if the lead type is a five-lead mode, then all the leads included include I, II, III, aVR, aVL, aVF, and V leads. Before selecting the lead, this embodiment first needs to detect whether each lead in the ECG monitoring process is valid. If all leads are invalid, the lead selection is stopped directly. If there are valid leads among all leads, all valid leads in the ECG monitoring process are determined. Among them, whether the lead is valid can be determined based on whether the lead is off and whether the lead signal is saturated. The ECG monitoring device displays a flag indicating whether the lead is off. Whether the lead is off is determined based on the display result of the flag. The lead signal is saturated based on whether the voltage of the ECG signal exceeds a preset voltage threshold (such as ±500mV). If the voltage of the ECG signal exceeds the preset voltage threshold, the lead signal is determined to be saturated. If the lead is dropped or the lead signal is saturated, the lead is determined to be invalid; if the lead is not dropped and the lead signal is not saturated, the lead is determined to be valid.

[0105] After this embodiment determines all the valid leads in the ECG monitoring process, it is necessary to determine the average signal quality of each valid lead. The average signal quality of the valid lead is the average value of the signal quality evaluation data in at least two time periods of the valid lead, wherein the signal quality evaluation data in each time period is calculated by the ECG signal quality evaluation method of the above embodiment. Since the ECG signal quality evaluation method is a real-time evaluation, each evaluation is a quality evaluation of the ECG signal sequence within the most recent preset time length of the collected valid lead, and the signal quality evaluation data of multiple time periods of the valid lead will be calculated.

[0106] S302: Update the current target lead based on the average signal quality of the maximum effective lead and the average signal quality of the current target lead.

[0107] This embodiment selects the effective lead with the largest average signal quality from all effective leads as the maximum effective lead. This embodiment also sets a current target lead, wherein before the first lead selection is performed, one lead can be selected from all effective leads as the current target lead, and then each subsequent lead selection will determine whether the current target lead needs to be updated, that is, based on the average signal quality of the maximum effective lead and the average signal quality of the current target lead, determine whether the current target lead needs to be updated; if no update is required, keep the current target lead unchanged; if update is required, update the current target lead based on the average signal quality of the maximum effective lead and the average signal quality of the current target lead.

[0108] Specifically, this embodiment first needs to determine whether the current target lead is a valid lead in the ECG monitoring process. If the current target lead is not a valid lead, the current target lead is directly updated to the maximum valid lead. If the current target lead is a valid lead, it is determined whether the current target lead and the maximum valid lead are the same lead. If the current target lead and the maximum valid lead are the same lead, the current target lead is not updated and the lead selection is stopped. If the current target lead and the maximum valid lead are not the same lead, it is determined whether the average signal quality of the maximum valid lead is 0.

[0109] If it is determined that the average signal quality of the maximum valid lead is 0, it is determined whether the preset initial lead is a valid lead and whether the current target lead is the same lead as the initial lead. If it is determined that the preset initial lead is a valid lead, and the current target lead is not the same lead as the initial lead (i.e., the current target lead is not the initial lead), the current target lead is updated to the initial lead. If it is determined that the preset initial lead is not a valid lead, or the current target lead is the same lead as the initial lead, the current target lead is not updated and the lead selection is stopped. Among them, the preset initial lead is a relatively accurate lead commonly used in electrocardiogram monitoring, preferably lead II.

[0110] If it is determined that the average signal quality of the maximum effective lead is not 0, the current target lead is updated based on the average signal quality of the maximum effective lead, the average signal quality of the current target lead and a preset quality threshold, wherein the preset quality threshold includes a first quality threshold, a second quality threshold and a third quality threshold.

[0111] Specifically, if it is determined that the average signal quality of the maximum effective lead is not 0, it is determined whether the average signal quality of the current target lead is less than a preset first quality threshold.

[0112] If the average signal quality of the current target lead is less than the first quality threshold, the difference between the average signal quality of the maximum valid lead and the average signal quality of the current target lead is calculated, the difference is used as the signal quality difference, and the signal quality difference is compared with a preset second quality threshold to determine a first comparison result between the signal quality difference and the second quality threshold.

[0113] If the average signal quality of the current target lead is not less than the first quality threshold, the signal quality difference is compared with a preset third quality threshold to determine a second comparison result between the signal quality difference and the third quality threshold.

[0114] If the first comparison result indicates that the signal quality difference is greater than the second quality threshold, or the second comparison result indicates that the signal quality difference is greater than the third quality threshold, the current target lead is updated to the maximum effective lead.

[0115] If the first comparison result indicates that the signal quality difference is not greater than the second quality threshold, or the second comparison result indicates that the signal quality difference is not greater than the third quality threshold, then determine whether the maximum effective lead has changed within the set time length, if the maximum effective lead has not changed within the set time length, then update the current target lead to the maximum effective lead, if the maximum effective lead has changed within the set time length, then do not update the current target lead, and stop the current lead selection. Specifically, if the first comparison result indicates that the signal quality difference is not greater than the second quality threshold, or the second comparison result indicates that the signal quality difference is not greater than the third quality threshold, determine whether the maximum effective lead selected for this lead is the same as the maximum effective lead selected for the last lead, if the maximum effective lead selected for this lead is not the same as the maximum effective lead selected for the last lead, then reset the time recorded by the timer to 0, do not update the current target lead, and stop the current lead selection. If the maximum valid lead selected this time is the same as the maximum valid lead selected last time, the time recorded by the timer will be increased by 1 second, and it will be determined whether the time recorded by the timer exceeds 3 minutes. If the time recorded by the timer exceeds 3 minutes, the current target lead will be updated to the maximum valid lead. If the time recorded by the timer does not exceed 3 minutes, the current target lead will not be updated and the current lead selection will be stopped.

[0116] In this embodiment, the first quality threshold is preferably 60, the second quality threshold is preferably 10, and the third quality threshold is preferably 20. In this embodiment, the target lead is selected by the signal quality evaluation data of the ECG signal of the lead, and the target lead is used for heart rate calculation, ST measurement, etc., which can improve the accuracy of target lead selection, and further improve the accuracy of heart rate calculation, ST measurement, etc.

[0117] As an optional implementation, the specific process of lead selection may be as follows:

[0118] STEP A: Determine whether all leads are invalid during ECG monitoring. For example, in the five-lead mode, determine whether leads I, II, III, aVR, aVL, aVF, and V are all invalid. Invalid means that the lead is off or saturated. If true, go to STEP P to end and return. If false, go to STEP B.

[0119] STEP B: Calculate the average signal quality aveSQI of all valid leads during ECG monitoring. Search for the lead maxSqiLead with the largest average signal quality among the valid leads, i.e., the maximum valid lead. Go to STEP C.

[0120] STEP C: Determine whether the current target lead primaryLead is invalid. If true, go to STEP N. If false, go to STEP D.

[0121] STEP D: Determine whether the maximum effective lead maxSqiLead and the current target lead primaryLead are the same lead. If true, go to STEP P to end and return. If false, go to STEP E.

[0122] STEP E: Determine whether the average signal quality of the maximum effective lead maxSqiLead is 0. If true, go to STEPG. If false, go to STEP F.

[0123] STEP F: Determine whether the average signal quality of the current target lead primaryLead is less than the first quality threshold TH01. If true, go to STEP H. If false, go to STEP I.

[0124] STEP G: Determine whether the initial lead (e.g., lead II) is valid and the current target lead primaryLead is not equal to the initial lead. If true, go to STEP O. If false, go to STEP P and end the process.

[0125] STEP H: Determine whether the difference between the average signal quality of the maximum effective lead maxSqiLead and the average signal quality of the current target lead primaryLead is greater than the second quality threshold TH02. If true, proceed to STEP N. If false, go to STEP J.

[0126] STEP I: Determine whether the difference between the average signal quality of the maximum effective lead maxSqiLead and the average signal quality of the current target lead primaryLead is greater than the third quality threshold TH03. If true, proceed to STEP N. If false, go to STEP J.

[0127] STEP J: Check whether the maximum valid lead maxSqiLead has not changed, that is, it is the same lead as the last search. If true, go to STEP K. If false, go to STEP L.

[0128] STEP K: The timer maxLeadCnt increases by 1 second. Go to STEP M.

[0129] STEP L: reset the timer maxLeadCnt to 0, and go to STEP P to end and return.

[0130] STEP M: Check whether the timer maxLeadCnt exceeds 3 minutes. If true, go to STEP N. If false, go to STEP P and return.

[0131] STEP N: Select the maximum effective lead maxSqiLead as the current target lead, go to STEP P to end and return.

[0132] STEP O: Select the initial lead (eg, lead II) as the current target lead, and go to STEP P to end and return.

[0133] STEP P: End and return.

[0134] Exemplary Devices

[0135] Accordingly, the present application also provides an electrocardiogram signal quality assessment device, see Figure 4 As shown, the device comprises:

[0136] The filtering module 100 is used to perform a filtering operation on the ECG signal sequence collected in advance within a preset time length according to the preset ECG fluctuation filtering data to obtain the ECG fluctuation sequence, and to perform a filtering operation on the ECG signal sequence according to the preset interference filtering data corresponding to the interference type to obtain the interference fluctuation corresponding to the interference type;

[0137] The first determination module 110 is used to determine the average amplitude of the ECG fluctuation based on the ECG fluctuation sequence, and to determine the interference index corresponding to the interference type based on the ECG signal sequence and the interference fluctuation corresponding to the interference type;

[0138] A second determination module 120, for determining, based on a preset mapping rule, first evaluation data corresponding to the average value of the amplitude of the electrocardiogram fluctuation and second evaluation data corresponding to the interference index;

[0139] The evaluation fusion module 130 is used to fuse the first evaluation data and the second evaluation data based on the preset ECG fluctuation weight and the interference weight corresponding to the interference type to obtain signal quality evaluation data corresponding to the ECG signal sequence.

[0140] From the above introduction, it can be seen that the ECG signal quality assessment device proposed in the embodiment of the present application can perform quality assessment on the ECG fluctuations and interference fluctuations in the ECG signal sequence, and perform fusion analysis on the assessment data of the two to determine the signal quality assessment data of the ECG signal sequence, so that the ECG monitoring personnel can analyze and diagnose the ECG signals based on the signal quality assessment data of the ECG signals, thereby improving the accuracy of the analysis and diagnosis of the ECG signals.

[0141] As an optional implementation, another embodiment of the present application discloses that the interference type includes at least one of myoelectric interference, power frequency interference, baseline drift interference and peak artifact interference.

[0142] As an optional implementation, another embodiment of the present application discloses that if the interference type includes at least one of myoelectric interference, power frequency interference, and baseline drift interference, the first determination module 110 includes: a first calculation unit.

[0143] The first calculation unit is used to calculate the signal-to-noise ratio between the ECG signal sequence and the interference fluctuation corresponding to the first interference type based on the ECG signal sequence and the interference fluctuation corresponding to the first interference type, and use the signal-to-noise ratio as the interference index corresponding to the first interference type; the first interference type is at least one of myoelectric interference, power frequency interference, and baseline drift interference.

[0144] As an optional implementation, it is disclosed in another embodiment of the present application that if the interference type includes peak artifact interference, the first determination module 110 includes: a judgment unit and a second calculation unit.

[0145] a judging unit, configured to divide the interference fluctuation corresponding to the second interference type to obtain at least two unit fluctuations, and judge whether the amplitude value of each unit fluctuation exceeds a preset amplitude threshold, and record the number of amplitude values ​​exceeding the preset amplitude threshold as the number of peak artifacts;

[0146] The second calculation unit is used to determine the interference index corresponding to the second interference type based on the number of peak artifacts, the total number of unit fluctuations and a preset peak artifact interference index calculation rule; the second interference type is peak artifact interference.

[0147] As an optional implementation, another embodiment of the present application discloses that the electrocardiogram signal quality assessment device further includes: a signal amplitude determination module and an assessment data determination module.

[0148] A signal amplitude determination module, used to use the difference between the maximum value and the minimum value in the electrocardiogram signal sequence collected in advance within a preset time length as the signal amplitude of the electrocardiogram signal sequence;

[0149] An evaluation data determination module, configured to determine that the signal quality evaluation data corresponding to the electrocardiogram signal sequence is 0 if the signal amplitude of the electrocardiogram signal sequence is less than a preset comparison threshold;

[0150] The filtering module 100 is specifically used for filtering the ECG signal sequence collected within a preset time length according to preset ECG fluctuation filtering data to obtain the ECG fluctuation sequence if the signal amplitude of the ECG signal sequence is not less than a preset comparison threshold value, and for filtering the ECG signal sequence according to preset interference filtering data corresponding to the interference type to obtain interference fluctuations corresponding to the interference type.

[0151] The ECG signal quality assessment device provided in this embodiment belongs to the same application concept as the ECG signal quality assessment method provided in the above embodiments of this application, and can execute the ECG signal quality assessment method provided in any of the above embodiments of this application, and has the corresponding functional modules and beneficial effects of executing the ECG signal quality assessment method. For technical details not fully described in this embodiment, please refer to the specific processing content of the ECG signal quality assessment method provided in the above embodiments of this application, and will not be repeated here.

[0152] Accordingly, the present application also provides a lead selection device, see Figure 5 As shown, the device comprises:

[0153] The signal quality determination module 200 is used to determine the average signal quality of all valid leads during the ECG monitoring process; wherein the average signal quality of the valid leads is the average value of the signal quality evaluation data in at least two time periods calculated by the ECG signal quality evaluation method of the above embodiment;

[0154] The target lead updating module 210 is used to update the current target lead based on the average signal quality of the maximum effective lead and the average signal quality of the current target lead; wherein the maximum effective lead is the effective lead with the largest average signal quality among all effective leads.

[0155] As an optional implementation, another embodiment of the present application discloses that the target lead updating module 210 includes: a first updating unit, a first judging unit, a second updating unit and a third updating unit.

[0156] A first updating unit, configured to update the current target lead to a maximum valid lead if the current target lead is not a valid lead;

[0157] A first judgment unit is used to judge whether the average signal quality of the maximum effective lead is 0 if the current target lead is a valid lead and the current target lead and the maximum effective lead are not the same lead;

[0158] A second updating unit, configured to update the current target lead to the initial lead if the average signal quality of the maximum valid lead is 0 and the preset initial lead is a valid lead and the current target lead is not the initial lead;

[0159] The third updating unit is configured to update the current target lead based on the average signal quality of the maximum effective lead, the average signal quality of the current target lead and a preset quality threshold if the average signal quality of the maximum effective lead is not 0.

[0160] As an optional implementation manner, another embodiment of the present application discloses that a third updating unit is specifically configured to:

[0161] If the average signal quality of the current target lead is less than a preset first quality threshold, determining a first comparison result between the signal quality difference and a preset second quality threshold; the signal quality difference is the difference between the average signal quality of the maximum valid lead and the average signal quality of the current target lead;

[0162] If the average signal quality of the current target lead is not less than a preset first quality threshold, determining a second comparison result between the signal quality difference and a preset third quality threshold;

[0163] If the first comparison result indicates that the signal quality difference is greater than the second quality threshold, or the second comparison result indicates that the signal quality difference is greater than the third quality threshold, then updating the current target lead to the maximum effective lead;

[0164] If the first comparison result indicates that the signal quality difference is not greater than the second quality threshold, or the second comparison result indicates that the signal quality difference is not greater than the third quality threshold, then if the maximum effective lead does not change within the set time period, the current target lead is updated to the maximum effective lead.

[0165] The lead selection device provided in this embodiment belongs to the same application concept as the lead selection method provided in the above embodiments of this application, and can execute the lead selection method provided in any of the above embodiments of this application, and has the corresponding functional modules and beneficial effects of executing the lead selection method. For technical details not fully described in this embodiment, please refer to the specific processing content of the lead selection method provided in the above embodiments of this application, and will not be repeated here.

[0166] Exemplary Electronic Devices

[0167] Another embodiment of the present application also provides an electronic device, see Figure 6 As shown, the device includes:

[0168] Memory 300 and processor 310;

[0169] The memory 300 is connected to the processor 310 and is used to store programs;

[0170] The processor 310 is used to implement the electrocardiogram signal quality assessment method or lead selection method disclosed in any of the above embodiments by running the program stored in the memory 300.

[0171] Specifically, the electronic device may further include: a bus, a communication interface 320 , an input device 330 and an output device 340 .

[0172] The processor 310, the memory 300, the communication interface 320, the input device 330 and the output device 340 are connected to each other via a bus.

[0173] A bus may include a pathway that transfers information between components of a computer system.

[0174] The processor 310 may be a general-purpose processor, such as a general-purpose central processing unit (CPU), a microprocessor, etc., or an application-specific integrated circuit (ASIC), or one or more integrated circuits for controlling the execution of the program of the scheme of the present invention. It may also be a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field programmable gate array (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components.

[0175] The processor 310 may include a main processor, and may also include a baseband chip, a modem, and the like.

[0176] The memory 300 stores a program for executing the technical solution of the present invention, and may also store an operating system and other key services. Specifically, the program may include a program code, and the program code includes a computer operation instruction. More specifically, the memory 300 may include a read-only memory (ROM), other types of static storage devices that can store static information and instructions, a random access memory (RAM), other types of dynamic storage devices that can store information and instructions, a disk storage, a flash, and the like.

[0177] The input device 330 may include a device for receiving data and information input by a user, such as a keyboard, a mouse, a camera, a scanner, a light pen, a voice input device, a touch screen, a pedometer, or a gravity sensor.

[0178] Output device 340 may include devices that allow information to be output to a user, such as a display screen, printer, speaker, etc.

[0179] The communication interface 320 may include any transceiver or the like to communicate with other devices or communication networks, such as Ethernet, Radio Access Network (RAN), Wireless Local Area Network (WLAN), etc.

[0180] The processor 310 executes the program stored in the memory 300 and calls other devices, which can be used to implement the various steps of any ECG signal quality assessment method provided in the above embodiments of the present application or the various steps of any lead selection method provided in the above embodiments.

[0181] Exemplary computer program products and storage media

[0182] In addition to the above-mentioned methods and devices, an embodiment of the present application may also be a computer program product, which includes computer program instructions, which, when executed by a processor, enable the processor to execute the steps of the ECG signal quality assessment method or lead selection method according to various embodiments of the present application described in the above-mentioned "Exemplary Method" section of this specification.

[0183] The computer program product may be written in any combination of one or more programming languages ​​to write program codes for performing the operations of the embodiments of the present application, including object-oriented programming languages, such as Java, C++, etc., and conventional procedural programming languages, such as "C" language or similar programming languages. The program code may be executed entirely on the user computing device, partially on the user device, as an independent software package, partially on the user computing device and partially on a remote computing device, or entirely on a remote computing device or server.

[0184] In addition, an embodiment of the present application may also be a storage medium on which a computer program is stored, and the computer program is executed by a processor to execute the steps of the ECG signal quality assessment method or lead selection method according to various embodiments of the present application described in the above "Exemplary Method" section of this specification.

[0185] For the aforementioned method embodiments, for the sake of simplicity, they are all described as a series of action combinations, but those skilled in the art should be aware that the present application is not limited by the order of the actions described, because according to the present application, some steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily required by the present application.

[0186] It should be noted that each embodiment in this specification is described in a progressive manner, and each embodiment focuses on the differences from other embodiments, and the same or similar parts between the embodiments can be referred to each other. For the device embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.

[0187] The steps in the methods of each embodiment of the present application can be adjusted in order, combined and deleted according to actual needs, and the technical features recorded in each embodiment can be replaced or combined.

[0188] The modules and sub-modules in the devices and terminals of the various embodiments of the present application can be combined, divided and deleted according to actual needs.

[0189] In the several embodiments provided in the present application, it should be understood that the disclosed terminals, devices and methods can be implemented in other ways. For example, the terminal embodiments described above are only schematic, for example, the division of modules or submodules is only a logical function division, and there may be other division methods in actual implementation, for example, multiple submodules or modules can be combined or integrated into another module, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be an indirect coupling or communication connection through some interfaces, devices or modules, which can be electrical, mechanical or other forms.

[0190] The modules or submodules described as separate components may or may not be physically separated, and the components of the modules or submodules may or may not be physical modules or submodules, that is, they may be located in one place, or they may be distributed on multiple network modules or submodules. Some or all of the modules or submodules may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0191] In addition, each functional module or submodule in each embodiment of the present application may be integrated into one processing module, or each module or submodule may exist physically separately, or two or more modules or submodules may be integrated into one module. The above-mentioned integrated modules or submodules may be implemented in the form of hardware or in the form of software functional modules or submodules.

[0192] Professionals may further appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of the two. In order to clearly illustrate the interchangeability of hardware and software, the composition and steps of each example have been generally described in the above description according to function. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professionals and technicians may use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.

[0193] The steps of the method or algorithm described in conjunction with the embodiments disclosed herein may be implemented directly by hardware, software units executed by a processor, or a combination of the two. The software units may be placed in a random access memory (RAM), a memory, a read-only memory (ROM), an electrically programmable ROM, an electrically erasable programmable ROM, a register, a hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.

[0194] Finally, it should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the presence of other identical elements in the process, method, article or device including the elements.

[0195] The above description of the disclosed embodiments enables those skilled in the art to implement or use the present application. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present application. Therefore, the present application will not be limited to the embodiments shown herein, but will conform to the widest scope consistent with the principles and novel features disclosed herein.

Claims

1. A method for evaluating the quality of an electrocardiogram signal, characterized in that: include: According to the preset ECG fluctuation filtering data, a filtering operation is performed on the ECG signal sequence collected in advance within the preset time length to obtain the ECG fluctuation sequence, and according to the preset interference filtering data corresponding to the interference type, a filtering operation is performed on the ECG signal sequence to obtain the interference fluctuation corresponding to the interference type; Based on the ECG fluctuation sequence, determining an average value of the amplitude of the ECG fluctuation, and based on the ECG signal sequence and the interference fluctuation corresponding to the interference type, determining an interference index corresponding to the interference type; Based on a preset mapping rule, determining first evaluation data corresponding to the average value of the amplitude of the electrocardiographic fluctuation and second evaluation data corresponding to the interference index; Based on the preset ECG fluctuation weight and the interference weight corresponding to the interference type, the first evaluation data and the second evaluation data are fused to obtain signal quality evaluation data corresponding to the ECG signal sequence.

2. The method according to claim 1, characterized in that The interference type includes: at least one of myoelectric interference, power frequency interference, baseline drift interference and peak artifact interference.

3. The method according to claim 2, characterized in that If the interference type includes at least one of myoelectric interference, power frequency interference, and baseline drift interference, determining an interference index corresponding to the interference type based on the electrocardiogram signal sequence and the interference fluctuation corresponding to the interference type includes: Based on the electrocardiogram signal sequence and the interference fluctuation corresponding to the first interference type, a signal-to-noise ratio between the electrocardiogram signal sequence and the interference fluctuation corresponding to the first interference type is calculated, and the signal-to-noise ratio is used as an interference index corresponding to the first interference type; the first interference type is at least one of myoelectric interference, power frequency interference, and baseline drift interference; If the interference type includes peak artifact interference, determining an interference index corresponding to the interference type based on the electrocardiogram signal sequence and the interference fluctuation corresponding to the interference type includes: Dividing the interference fluctuation corresponding to the second interference type to obtain at least two unit fluctuations, determining whether the amplitude value of each unit fluctuation exceeds a preset amplitude threshold, and recording the number of amplitude values ​​exceeding the preset amplitude threshold as the number of peak artifacts; Based on the number of peak artifacts, the total number of unit fluctuations and a preset peak artifact interference index calculation rule, an interference index corresponding to the second interference type is determined; the second interference type is peak artifact interference.

4. The method according to claim 1, characterized in that: According to the preset ECG fluctuation filtering data, the ECG signal sequence within the preset time length collected in advance is filtered to obtain the ECG fluctuation sequence, and the method further includes: Taking the difference between the maximum value and the minimum value in the electrocardiogram signal sequence collected in advance within a preset time length as the signal amplitude of the electrocardiogram signal sequence; If the signal amplitude of the electrocardiogram signal sequence is less than a preset comparison threshold, determining that the signal quality evaluation data corresponding to the electrocardiogram signal sequence is 0; If the signal amplitude of the ECG signal sequence is not less than a preset comparison threshold, the ECG signal sequence collected in advance within a preset time length is filtered according to preset ECG fluctuation filtering data to obtain an ECG fluctuation sequence.

5. A lead selection method, characterized in that: include: Determine the average signal quality of all valid leads during ECG monitoring; wherein the average signal quality of the valid leads is the average value of signal quality evaluation data in at least two time periods calculated by the ECG signal quality evaluation method as claimed in any one of claims 1 to 4; Based on the average signal quality of the maximum effective lead and the average signal quality of the current target lead, the current target lead is updated; wherein the maximum effective lead is the effective lead with the largest average signal quality among all effective leads.

6. The method according to claim 5, characterized in that Based on the average signal quality of the maximum effective lead and the average signal quality of the current target lead, updating the current target lead includes: If the current target lead is not a valid lead, updating the current target lead to a maximum valid lead; If the current target lead is a valid lead, and the current target lead and the maximum valid lead are not the same lead, determining whether the average signal quality of the maximum valid lead is 0; If the average signal quality of the maximum valid lead is 0, then when the preset initial lead is a valid lead and the current target lead is not the initial lead, the current target lead is updated to the initial lead; If the average signal quality of the maximum effective lead is not 0, the current target lead is updated based on the average signal quality of the maximum effective lead, the average signal quality of the current target lead and a preset quality threshold.

7. The method according to claim 6, characterized in that Based on the average signal quality of the maximum effective lead, the average signal quality of the current target lead and a preset quality threshold, updating the current target lead includes: If the average signal quality of the current target lead is less than a preset first quality threshold, determining a first comparison result between a signal quality difference and a preset second quality threshold; the signal quality difference is the difference between the average signal quality of the maximum effective lead and the average signal quality of the current target lead; If the average signal quality of the current target lead is not less than a preset first quality threshold, determining a second comparison result between the signal quality difference and a preset third quality threshold; If the first comparison result indicates that the signal quality difference is greater than the second quality threshold, or the second comparison result indicates that the signal quality difference is greater than the third quality threshold, updating the current target lead to the maximum effective lead; If the first comparison result indicates that the signal quality difference is not greater than the second quality threshold, or the second comparison result indicates that the signal quality difference is not greater than the third quality threshold, then if the maximum effective lead does not change within a set time period, the current target lead is updated to the maximum effective lead.

8. An electrocardiogram signal quality assessment device, characterized in that: include: A filtering module, configured to perform a filtering operation on a pre-collected ECG signal sequence within a preset time length according to preset ECG fluctuation filtering data to obtain an ECG fluctuation sequence, and to perform a filtering operation on the ECG signal sequence according to preset interference filtering data corresponding to an interference type to obtain interference fluctuations corresponding to the interference type; A first determination module is used to determine an average amplitude of ECG fluctuations based on the ECG fluctuation sequence, and to determine an interference index corresponding to the interference type based on the ECG signal sequence and the interference fluctuation corresponding to the interference type; A second determination module, configured to determine, based on a preset mapping rule, first evaluation data corresponding to the average value of the amplitude of the electrocardiogram fluctuation and second evaluation data corresponding to the interference index; An evaluation fusion module is used to fuse the first evaluation data and the second evaluation data based on a preset ECG fluctuation weight and an interference weight corresponding to the interference type to obtain signal quality evaluation data corresponding to the ECG signal sequence.

9. A lead selection device, characterized in that: include: A signal quality determination module, used to determine the average signal quality of all valid leads during ECG monitoring; wherein the average signal quality of the valid leads is the average value of signal quality assessment data in at least two time periods calculated by the ECG signal quality assessment method as claimed in any one of claims 1 to 4; The target lead updating module is used to update the current target lead based on the average signal quality of the maximum effective lead and the average signal quality of the current target lead; wherein the maximum effective lead is the effective lead with the largest average signal quality among all effective leads.

10. An electronic device, characterized in that: include: Memory and processor; The memory is connected to the processor and is used to store programs; The processor is used to implement the electrocardiogram signal quality assessment method as described in any one of claims 1 to 4, or to implement the lead selection method as described in any one of claims 5 to 7 by running the program in the memory.

11. A storage medium, characterized in that: The storage medium stores a computer program, and when the computer program is executed by the processor, it implements the electrocardiogram signal quality assessment method as described in any one of claims 1 to 4, or implements the lead selection method as described in any one of claims 5 to 7.

Citation Information

Cited By

  • Quality evaluation method and system for monitoring signal

    CN120253038A

  • Electrocardiogram anti-interference detection method and system based on big data analysis

    CN120788595A

  • Physiological signal quality assessment method based on human intelligence, edge computing device and medium

    CN121040879A

  • Monitoring cardiac function

    EP4725419A1

  • Identifying noisy electrodes

    EP4825316A1