A shockable rhythm identification method based on triple judgment criteria
By adopting the triple determination standard method in ECG signal processing, combined with slope skewness, pulse value and quadratic difference outlier value, the instability problem of the traditional algorithm under different conditions is solved, and the accuracy and versatility of identification are improved. It is suitable for automatic external defibrillators and ECG monitoring equipment.
Patent Information
- Application Number
- CN202310280677.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-03-21
- Publication Date
- 2024-09-27
- Estimated Expiration
- 2043-03-21
AI Technical Summary
Traditional shockable cardiovertable heart rhythm identification algorithms perform inconsistently under different test conditions, resulting in poor sensitivity and specificity, making it difficult to meet the high accuracy and real-time analysis requirements of automated external defibrillators.
A method based on triple determination criteria is adopted, including the combination of signal preprocessing, slope skewness, pulse value and quadratic difference outlier value. The heart rhythm type is determined through multiple threshold values to improve the sensitivity and accuracy of identification.
It improves the accuracy and versatility of identification, reduces misjudgments and missed judgments, shortens calculation time, and enhances anti-interference capabilities. It is suitable for automatic external defibrillators and ECG monitoring equipment.
Smart Images

Figure CN116825323B
Abstract
Description
Technical Field
[0001] The invention belongs to the technical field of arrhythmia detection, and in particular relates to a shockable rhythm identification method based on a triple judgment standard. Background Art
[0002] At present, cardiac arrest has become a major factor affecting public health and a major cause of death. Most cardiac arrests are caused by the rapid development of sustained ventricular tachycardia into ventricular fibrillation. If the conditions for timely defibrillation are met, the survival rate will increase to as much as 30% to 50%.
[0003] Traditionally, professional doctors have to visually identify arrhythmia ECG waveforms, which is a very time-consuming process. Automatic arrhythmia detection devices are significantly more effective in identifying normal / abnormal ECG waveforms. These devices can analyze the patient's ECG and decide whether to deliver a shock in the case of ventricular fibrillation. The emergence of automatic external defibrillators (AEDs) has made early defibrillation possible. In order to allow ordinary people without rich first aid experience to use AEDs to perform early defibrillation, a highly accurate algorithm for identifying shockable rhythms is essential. AEDs should not deliver shocks to comatose patients who have not suffered cardiac arrest, and patients who have been successfully defibrillated should not be defibrillated again.
[0004] Abnormal heart rhythm is usually accompanied by irregular ECG waveforms. Currently, heart rhythms are divided into three categories: shockable rhythm (ShR), non-shockable rhythm (NShR) and intermediate rhythm. The shockable rhythm recognition algorithm in AED must have high sensitivity to ShR and high specificity to NShR.
[0005] The basis for AED to identify shockable rhythm is one or more mathematical ECG analysis algorithms. Traditional shockable rhythm recognition algorithms mainly include: time domain: PR interval, QRS width and other characteristics, determination of rhythm and variability analysis; frequency domain: spectrum analysis algorithm, high-order spectrum analysis algorithm, amplitude probability density function algorithm, etc.; time-frequency analysis method: wavelet analysis algorithm, fast template matching algorithm, etc.; there are also nonlinear methods based on complexity analysis and artificial neural network classification. Although there are many kinds of algorithms for automatic ECG analysis, in practical applications, algorithms need to seek a balance between recognition accuracy and operation time. Therefore, frequency domain, time-frequency domain and nonlinear analysis algorithms do not have an advantage in real-time ECG analysis. The biggest disadvantage of traditional shockable rhythm recognition algorithms is that the performance of the same algorithm is very inconsistent in different tests. The main reason is that the conditions of each test are different, especially the sample sets are different, resulting in different sensitivity and specificity of the algorithm. Therefore, a universal and robust shockable rhythm recognition algorithm is needed, which can also meet the requirements of low power consumption and high speed for real-time analysis of ECG waveforms. Summary of the invention
[0006] The object of the present invention is to provide a method for identifying shockable rhythms based on a triple judgment criterion to solve the problems raised in the above-mentioned background technology.
[0007] To achieve the above object, the present invention provides the following technical solution: a method for identifying shockable rhythm based on triple judgment criteria, comprising the following steps:
[0008] S1. After preprocessing the ECG signal, interference suppression is first performed using a 201-point moving average detrending method and a 40 Hz low-pass filter;
[0009] S2, dividing the signal LPF_ECGbuf after interference suppression preprocessing by 70, corresponding to a signal amplitude of 0.1 mV, and rounding down to obtain a signal A;
[0010] S3, obtain signal A, count the sample points with amplitude 0, and obtain the amplitude feature equal;
[0011] S4, determine the equal value, if it is greater than the threshold, it is a non-shockable rhythm, otherwise further determine and calculate the signal slope skew to obtain the average value Skew of the signal slope skew;
[0012] S5, determine the Skew value. If it is less than or equal to the first threshold S1, it is a shockable rhythm. If it is greater than or equal to the second threshold S2, it is a non-shockable rhythm. If it is between the first threshold S1 and the second threshold S2, further judgment is made to calculate the signal pulse value to obtain the pulse value count;
[0013] S6, determine the count value, if it is greater than or equal to the first threshold C1, it is a shockable rhythm, if it is less than or equal to the second threshold C2, it is a non-shockable rhythm, if the count value is between the second threshold C2 and the first threshold C1, further judgment is made to calculate the signal secondary difference outlier;
[0014] S7. Determine the outlier value. If it is greater than 250, it is a non-shockable rhythm; otherwise, it is a shockable rhythm.
[0015] Preferably, the method for calculating the average value Skew of the signal slope skewness comprises the following steps:
[0016] S401, using 5 sample points as the window length, performing non-overlap segmentation on the signal LPF_ECGbuf;
[0017] S402, calculating the slope value of the difference between the last sampling point and the first sampling point of each small segment signal;
[0018] S403, cutting the slopes without overlap into 5 segments evenly;
[0019] S404, calculating the second-order center distance M2 and the third-order center distance M3 of the first segment of data;
[0020] S405, calculating the weighted second-order center distance M2 and the third-order center distance M3 of the second to fourth segments;
[0021] S406, calculating the skewness Skew_s of the five-segment slope data by using the skewness formula;
[0022] S407. Calculate the average Skew of the five segments of skewness Skew_s.
[0023] Preferably, the method for calculating the signal pulse value count comprises the following steps:
[0024] S501, extract the sample points of the signal LPF_ECGbuf that are greater than 62 and correspond to a signal amplitude of 0.05mV, and calculate their mean value as the threshold th;
[0025] S502 , judging the signal LPF_ECGbuf, and calculating the signal pulse value count that is greater than th in the signal.
[0026] Preferably, the method for calculating the signal quadratic difference outlier value includes the following steps:
[0027] S601, performing a primary difference on the signal LPF_ECGbuf to obtain secg1, and performing a secondary difference on secg1 to obtain secg2;
[0028] S602, sorting the differential signal secg2 in ascending order;
[0029] S603, extracting quartile values Q1 and Q3;
[0030] S604, calculate the interquartile range (IQR);
[0031] S605, determine the upper and lower limits Uplimit and Downlimit;
[0032] S606 , counting the sum of the number of sample points less than Downlimit and the number of sample points greater than Uplimit in the differential signal secg2 to obtain the signal secondary difference outlier.
[0033] Preferably, the determination threshold of the equal value is 1250, and a rhythm greater than the threshold is considered a non-shockable rhythm.
[0034] Preferably, the first threshold value S1 for determining the Skew value is 1.2, and a rhythm less than or equal to the first threshold value S1 is a shockable rhythm, and the second threshold value S2 for determining the Skew value is 1.8, and a rhythm greater than or equal to the second threshold value S2 is a non-shockable rhythm.
[0035] Preferably, the first threshold C1 for determining the count value is 25, and a rhythm greater than or equal to the first threshold C1 is a shockable rhythm, and the second threshold C2 for determining the count value is 11, and a rhythm less than or equal to the second threshold C2 is a non-shockable rhythm.
[0036] Preferably, the determination threshold of the outlier value is 250. If it is greater than the threshold, it is a non-shockable rhythm, otherwise it is a shockable rhythm.
[0037] The technical effects and advantages of the present invention are as follows: during specific operation, the shockable heart rhythm identification method based on the triple judgment standard improves the sensitivity and accuracy of identification by combining the slope absolute value deviation, the number of pulses and the secondary difference separation value, avoids misjudgment and missed judgment of the shockable heart rhythm, shortens the calculation time, has good versatility and robustness, and has strong anti-interference ability, thus providing a new method and idea for related research on automatic external defibrillators or electrocardiogram monitoring equipment. BRIEF DESCRIPTION OF THE DRAWINGS
[0038] Figure 1 The present invention is a flow chart of a method for identifying shockable rhythms based on triple judgment criteria. DETAILED DESCRIPTION
[0039] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0040] The present invention provides Figure 1 A shockable rhythm identification method based on triple judgment criteria is shown, comprising the following steps:
[0041] S1. After preprocessing the ECG signal, interference suppression is first performed using a 201-point moving average detrending method and a 40 Hz low-pass filter;
[0042] S2, dividing the signal LPF_ECGbuf after interference suppression preprocessing by 70, corresponding to a signal amplitude of 0.1 mV, and rounding down to obtain a signal A;
[0043] S3, obtain signal A, count the sample points with amplitude 0, and obtain the amplitude feature equal;
[0044] S4, determine the equal value, if it is greater than the threshold, it is a non-shockable rhythm, otherwise further determine and calculate the signal slope skew to obtain the average value Skew of the signal slope skew;
[0045] S5, determine the Skew value. If it is less than or equal to the first threshold S1, it is a shockable rhythm. If it is greater than or equal to the second threshold S2, it is a non-shockable rhythm. If it is between the first threshold S1 and the second threshold S2, further judgment is made to calculate the signal pulse value to obtain the pulse value count;
[0046] S6, determine the count value, if it is greater than or equal to the first threshold C1, it is a shockable rhythm, if it is less than or equal to the second threshold C2, it is a non-shockable rhythm, if the count value is between the second threshold C2 and the first threshold C1, further judgment is made to calculate the signal secondary difference outlier;
[0047] S7. Determine the outlier value. If it is greater than 250, it is a non-shockable rhythm; otherwise, it is a shockable rhythm.
[0048] Specifically, the method for calculating the average value Skew of the signal slope skew includes the following steps:
[0049] S401, using 5 sample points as the window length, performing non-overlap segmentation on the signal LPF_ECGbuf;
[0050] S402, calculating the slope value of the difference between the last sampling point and the first sampling point of each small segment signal;
[0051] S403, cutting the slopes without overlap into 5 segments evenly;
[0052] S404, calculating the second-order center distance M2 and the third-order center distance M3 of the first segment of data;
[0053] S405, calculating the weighted second-order center distance M2 and the third-order center distance M3 of the second to fourth segments;
[0054] S406, calculating the skewness Skew_s of the five-segment slope data by using the skewness formula;
[0055] S407. Calculate the average Skew of the five segments of skewness Skew_s.
[0056] Specifically, the method for calculating the signal pulse value count includes the following steps:
[0057] S501, extract the sample points of the signal LPF_ECGbuf that are greater than 62 and correspond to a signal amplitude of 0.05mV, and calculate their mean value as the threshold th;
[0058] S502 , judging the signal LPF_ECGbuf, and calculating the signal pulse value count that is greater than th in the signal.
[0059] Specifically, the method for calculating the signal quadratic difference outlier value includes the following steps:
[0060] S601, performing a primary difference on the signal LPF_ECGbuf to obtain secg1, and performing a secondary difference on secg1 to obtain secg2;
[0061] S602, sorting the differential signal secg2 in ascending order;
[0062] S603, extracting quartile values Q1 and Q3;
[0063] S604, calculate the interquartile range (IQR);
[0064] S605, determine the upper and lower limits Uplimit and Downlimit;
[0065] S606 , counting the sum of the number of sample points less than Downlimit and the number of sample points greater than Uplimit in the differential signal secg2 to obtain the signal secondary difference outlier.
[0066] Specifically, the determination threshold of the equal value is 1250, and a rhythm greater than the threshold is considered a non-shockable rhythm.
[0067] Specifically, the first threshold value S1 for determining the Skew value is 1.2. If it is less than or equal to the first threshold value S1, it is a shockable rhythm. The second threshold value S2 for determining the Skew value is 1.8. If it is greater than or equal to the second threshold value S2, it is a non-shockable rhythm.
[0068] Specifically, the first threshold value C1 for determining the count value is 25, and a rhythm greater than or equal to the first threshold value C1 is a shockable rhythm, and the second threshold value C2 for determining the count value is 11, and a rhythm less than or equal to the second threshold value C2 is a non-shockable rhythm.
[0069] Specifically, the judgment threshold of the outlier value is 250. If it is greater than the threshold, it is a non-shockable rhythm, otherwise it is a shockable rhythm.
[0070] Test method and process:
[0071] The test platform consists of three parts: computer software program, MCC acquisition card digital-to-analog conversion module and AED.
[0072] 1. Computer software programs
[0073] The computer software program was written by LABVIEW and implemented with a GUI user interface. The LABVIEW program can manually call each ECG data in the database (the ECG data in the database is maintained at a sampling rate of 500Hz), display the data segment waveform on the computer screen, and cyclically output the selected ECG data to the MCC acquisition card. In order to reduce the signal distortion caused by the digital-to-analog conversion, the output sampling rate is set to 1000Hz during output.
[0074] 2. MCC acquisition card
[0075] The data acquisition card uses the MCCUSB-231 model acquisition card, which includes analog input / output channels and digital input / output channels. The data end of the MCC acquisition card is connected to the computer USB interface through a data line to receive data sent by the computer, and the output end is connected to both ends of a 50Ω resistor through a wire to simulate the human electrocardiogram signal.
[0076] 3. AED
[0077] The AED uses the LIFEMAC-1000 automatic external defibrillator, which is connected to the 50-ohm resistor of the MCC test card through a tooling connection line to detect simulated human ECG signals and perform rhythm analysis. ECG database source:
[0078]
[0079]
[0080] Test results:
[0081]
[0082]
[0083] Finally, it should be noted that the above is only a preferred embodiment of the present invention and is not intended to limit the present invention. Although the present invention has been described in detail with reference to the aforementioned embodiments, it is still possible for those skilled in the art to modify the technical solutions described in the aforementioned embodiments or to make equivalent substitutions for some of the technical features therein. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present invention should be included in the protection scope of the present invention.
Claims
1. A shockable rhythm identification method based on triple judgment criteria, It is characterized in that The steps include: S1. After preprocessing the ECG signal, interference suppression is first performed using a 201-point moving average detrending method and a 40 Hz low-pass filter; S2, dividing the signal LPF_ECGbuf after interference suppression preprocessing by 70, corresponding to a signal amplitude of 0.1 mV, and rounding down to obtain a signal A; S3, obtain signal A, count the sample points with amplitude 0, and obtain the amplitude feature equal; S4, determine the equal value, if it is greater than the threshold, it is a non-shockable rhythm, otherwise further determine and calculate the signal slope skew to obtain the average value Skew of the signal slope skew; S5, determine the Skew value. If it is less than or equal to the first threshold S1, it is a shockable rhythm. If it is greater than or equal to the second threshold S2, it is a non-shockable rhythm. If it is between the first threshold S1 and the second threshold S2, further judgment is made to calculate the signal pulse value to obtain the pulse value count; S6, determine the count value, if it is greater than or equal to the first threshold C1, it is a shockable rhythm, if it is less than or equal to the second threshold C2, it is a non-shockable rhythm, if the count value is between the second threshold C2 and the first threshold C1, further judgment is made to calculate the signal secondary difference outlier; S7. Determine the outlier value. If it is greater than 250, it is a non-shockable rhythm; otherwise, it is a shockable rhythm.
2. A shockable rhythm identification method based on triple judgment criteria according to claim 1, Features: The method for calculating the average value Skew of the signal slope skewness comprises the following steps: S401, using 5 sample points as the window length, performing non-overlap segmentation on the signal LPF_ECGbuf; S402, calculating the slope value of the difference between the last sampling point and the first sampling point of each small segment signal; S403, cutting the slopes without overlap into 5 segments evenly; S404, calculating the second-order center distance M2 and the third-order center distance M3 of the first segment of data; S405, calculating the weighted second-order center distance M2 and the third-order center distance M3 of the second to fourth segments; S406, calculating the skewness Skew_s of the five-segment slope data by using the skewness formula; S407. Calculate the average Skew of the five segments of skewness Skew_s.
3. A shockable rhythm identification method based on triple judgment criteria according to claim 1, Features: The method for calculating the signal pulse value count comprises the following steps: S501, extract the sample points of the signal LPF_ECGbuf that are greater than 62 and correspond to a signal amplitude of 0.05mV, and calculate their mean value as the threshold th; S502 , judging the signal LPF_ECGbuf, and calculating the signal pulse value count that is greater than th in the signal.
4. A shockable rhythm identification method based on triple judgment criteria according to claim 1, Features: The method for calculating the outlier of the signal secondary difference separation value comprises the following steps: S601, performing a primary difference on the signal LPF_ECGbuf to obtain secg1, and performing a secondary difference on secg1 to obtain secg2; S602, sorting the differential signal secg2 in ascending order; S603, extracting quartile values Q1 and Q3; S604, calculate the interquartile range (IQR); S605, determine the upper and lower limits Uplimit and Downlimit; S606 , counting the sum of the number of sample points less than Downlimit and the number of sample points greater than Uplimit in the differential signal secg2 to obtain the signal secondary difference outlier.
5. A shockable rhythm identification method based on triple judgment criteria according to claim 1, Features: The determination threshold of the equal value is 1250, and a value greater than the threshold is a non-shockable rhythm.
6. A shockable rhythm identification method based on triple judgment criteria according to claim 1, Features: The first threshold value S1 for determining the Skew value is 1.
2. If it is less than or equal to the first threshold value S1, it is a shockable rhythm. The second threshold value S2 for determining the Skew value is 1.
8. If it is greater than or equal to the second threshold value S2, it is a non-shockable rhythm.
7. A shockable rhythm identification method based on triple judgment criteria according to claim 1, Features: The first threshold value C1 for determining the count value is 25. If it is greater than or equal to the first threshold value C1, it is a shockable rhythm. The second threshold value C2 for determining the count value is 11. If it is less than or equal to the second threshold value C2, it is a non-shockable rhythm.
8. A shockable rhythm identification method based on triple judgment criteria according to claim 1, Features: The determination threshold of the outlier value is 250. If it is greater than the threshold, it is a non-shockable rhythm, otherwise it is a shockable rhythm.
Citation Information
Patent Citations
Method and device for detecting electric shock signal
CN103071236A
Defibrillator with dynamic ongoing CPR protocol
CN103189103A
Method for recognizing shockable cardioversion rhythm based on double judgment criterion
CN109171697A
Heart rate detection and defibrillation device for sudden cardiac arrest first aid
CN113197560A
His-purkinje system capture detection
CN113966246A
