Method, Module, Monitoring Device and Storage Medium for Extracting R-Peak Position of Electrocardiogram Signal

By performing multiple signal processing and QRS standard template generation on the original ECG data information, combined with the mobile window-related calculation, the problem of low accuracy of R peak position information in traditional ECG signals is solved, and more accurate R peak position extraction is achieved.

CN116269430BActive Publication Date: 2025-06-03SOUTH CHINA NORMAL UNIV +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202310190231.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-03-01
Publication Date
2025-06-03
Estimated Expiration
2043-03-01

AI Technical Summary

Technical Problem

The R peak position information obtained by traditional ECG signals is low in accuracy, resulting in large deviations in HRV technology and other applications during processing.

Method used

By performing the first and second signal processing of the ECG original data information, bandpass filtering, signal enhancement and low-pass filtering are performed respectively on the first and second frequency bands, QRS standard templates are generated, and the moving window-related calculation is performed within the window signal interval to accurately extract the R peak position information.

Benefits of technology

The accuracy of R peak position information in ECG data information is improved, and the problem of low R peak position extraction accuracy in traditional methods is solved, and more accurate calculation and detection results are provided.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116269430B_ABST
    Figure CN116269430B_ABST
Patent Text Reader

Abstract

The present invention discloses a method, module, monitoring device and storage medium for extracting the R-peak position of an electrocardiogram signal. Among them, the method for extracting the R-peak position of an electrocardiogram signal includes: after obtaining the original ECG data information, performing first-channel signal processing and second-channel signal processing on it respectively. The first-channel signal processing obtains the first ECG data information and the QRS standard template, and the second-channel signal processing obtains the window signal. Subsequently, the QRS standard template and the first ECG data information are subjected to moving window correlation in the window interval determined by the window signal to obtain a correlation value data sequence. Then, in each window interval, the position information corresponding to the maximum value in the correlation value data sequence is the R-peak position information. It solves the technical problem of low accuracy in extracting the R-peak position of an electrocardiogram signal in the related art, and provides a method for extracting the R-peak position of an electrocardiogram signal that can accurately obtain the R-peak position information of an electrocardiogram signal through the original ECG data information.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of electrocardiogram signal detection and processing, and in particular, to a method, a module, a monitoring device and a storage medium for extracting the R-peak position of an electrocardiogram signal. Background Art

[0002] As an important reference basic signal for cardiovascular health detection, the electrocardiogram signal (ECG signal) can not only initially show the cardiovascular health status of a patient, but also, based on multiple technologies of the ECG signal, the health status of the patient can be deeply studied and monitored. For example, HRV technology (heart rate variability), EDR technology (ECG-derived respiration), and CPC technology (cardiopulmonary coupling), etc.

[0003] For example, HRV (heart rate variability) is an important parameter for monitoring autonomic nervous system dysfunction, used to indicate the body's ability of autonomous regulation, and is the most effective way to evaluate the regulation of the autonomic nervous system. Its main functions include: 1. It can be used as an important indicator to reflect the function of the autonomic nervous system, as well as to regulate the cardiovascular system and to determine whether the heart activity is normal; 2. It can help predict and judge the condition of heart diseases; 3. It can be used to track diseases related to autonomic nerve activities, such as coronary heart disease, diabetes, heart failure, hypertension, etc.; 4. It can be used as a risk prediction for acute myocardial infarction and an early warning signal for diabetic neuropathy; 5. It is an independent prediction index for the risk of sudden cardiac death. Among them, the HRV technology uses the R-peak position information in the ECG signal (electrocardiogram signal) as the basic data information for subsequent calculation and detection, while the R-peak position information obtained by the traditional ECG signal cannot guarantee the accuracy, which often causes a large deviation when the HRV technology is applied for processing.

[0004] Therefore, how to obtain the accurate position information of the R-peak position of the electrocardiogram signal has become a technical problem that needs to be urgently solved by those skilled in the art. Summary of the Invention

[0005] An embodiment of the present invention provides a method, a module, a device and a storage medium for extracting the R-peak position of an electrocardiogram signal, so as to solve the technical problem of low accuracy in extracting the R-peak position of the electrocardiogram signal in the related art.

[0006] In a first aspect, an embodiment of the present invention provides a method for extracting the R-peak position of an electrocardiogram signal, which includes:

[0007] Obtain the original ECG data information, and perform first-channel signal processing and second-channel signal processing on the original ECG data information respectively;

[0008] The first-channel signal processing includes:

[0009] Perform first - band - pass filtering on the original ECG data information to obtain first ECG data information, and generate a QRS standard template according to the first ECG data information;

[0010] The second - path signal processing includes:

[0011] Perform second - band - pass filtering on the original ECG data information to obtain second ECG data information; after performing signal enhancement processing on the second ECG data information, perform low - pass filtering processing; perform R - wave windowing on the second ECG data information after low - pass filtering processing to obtain a window signal, and the window signal includes multiple window intervals;

[0012] Perform moving - window correlation on the QRS standard template and the first ECG data information within the window intervals determined by the window signal to obtain a correlation - value data sequence; within each window interval, the position information corresponding to the maximum value in the correlation - value data sequence is the R - peak position information.

[0013] The method for extracting the R - peak position of the electrocardiogram signal in the embodiment of the present invention has at least the following beneficial effects:

[0014] In the embodiment of the present invention, a method for extracting the R - peak position of an electrocardiogram signal, after obtaining the original ECG data information, performs first - path signal processing and second - path signal processing on it respectively; the first - path signal processing includes performing first - band - pass filtering on the original ECG data information to obtain first ECG data information, and generating a QRS standard template according to the first ECG data information; the second - path signal processing includes performing second - band - pass filtering on the original ECG data information to obtain second ECG data information, performing signal enhancement processing on the second ECG data information, then performing low - pass filtering processing, and finally performing R - wave windowing on the second ECG data information after low - pass filtering processing to obtain a window signal, where the window signal includes multiple window intervals; finally, perform moving - window correlation on the obtained QRS standard template and the first ECG data information within the window intervals determined by the window signal to obtain a correlation - value data sequence, then within each window interval, the position information corresponding to the maximum value in the correlation - value data sequence is the R - peak position information. It solves the technical problem in the related art that the original ECG data information cannot obtain accurate R - peak position information, and further, when the R - peak position information in the original ECG data information is applied in the related art, an accurate calculation and detection result cannot be obtained, and provides a method that can accurately obtain the R - peak position information in the ECG data information.

[0015] According to the method for extracting the R - peak position of the electrocardiogram signal in other embodiments of the present invention, the performing first - band - pass filtering on the original ECG data information to obtain first ECG data information includes:

[0016] After band-pass filtering the original ECG data information at 1 - 35 Hz, the first ECG data information is obtained.

[0017] According to the method for extracting the R peak position of the electrocardiogram signal according to some other embodiments of the present invention, generating the QRS standard template according to the first ECG data information includes:

[0018] Obtain the first 5 QRS information in the first ECG data information, and respectively obtain the R peak position and its amplitude value of the first 5 QRS information;

[0019] After removing 4 QRS information that does not meet the preset requirements, obtain the preset QRS information;

[0020] According to the R peak position information of the preset QRS information, symmetrically reduce both sides of the window of the preset QRS information to 120 ms centered on the R peak, that is, obtain the QRS standard template.

[0021] According to the method for extracting the R peak position of the electrocardiogram signal according to some other embodiments of the present invention, performing second-band band-pass filtering on the original ECG data information to obtain the second ECG data information includes:

[0022] After band-pass filtering the original ECG data information at 8 - 20 Hz, the second ECG data information is obtained.

[0023] According to the method for extracting the R peak position of the electrocardiogram signal according to some other embodiments of the present invention, after performing signal enhancement processing on the second ECG data information, performing low-pass filtering processing includes:

[0024] After performing signal square enhancement operation on the second ECG data information, perform 5 Hz low-pass filtering processing.

[0025] According to the method for extracting the R peak position of the electrocardiogram signal according to some other embodiments of the present invention, performing R wave windowing on the second ECG data information after low-pass filtering processing to obtain the window signal is performed through the following formula for window conversion:

[0026]

[0027] Wherein, Z(i) is the second ECG data information after low-pass filtering processing, M 1 is the maximum value in every 2 s data information of the second ECG data information, M 2 is the maximum value in every 400 ms of the second ECG data information.

[0028] According to the method for extracting the R-peak position of an electrocardiogram signal according to other embodiments of the present invention, the moving window correlation of the QRS standard template and the first ECG data information in the window interval determined by the window signal to obtain the correlation value data sequence is calculated by the following formula:

[0029]

[0030] where T(n) is the QRS standard template, Y 1 (i) is the first ECG data information, and C(i) is the correlation value data sequence obtained by performing the moving window correlation on the QRS standard template and the first ECG data information.

[0031] In a second aspect, an embodiment of the present invention provides an electrocardiogram signal R-peak position extraction module, including:

[0032] An information receiving unit, configured to receive the original ECG data information;

[0033] A first signal processing unit, configured to perform first-band band-pass filtering on the original ECG data information to obtain the first ECG data information, and generate a QRS standard template according to the first ECG data information;

[0034] A second signal processing unit, configured to perform second-band band-pass filtering on the original ECG data information to obtain the second ECG data information; perform signal enhancement processing on the second ECG data information, and then perform low-pass filtering processing; perform R-wave windowing on the second ECG data information after the low-pass filtering processing to obtain a window signal, and the window signal includes a plurality of window intervals;

[0035] An R-peak position calculation unit, configured to perform moving window correlation on the QRS standard template and the first ECG data information in the window interval determined by the window signal to obtain a correlation value data sequence; within each window interval, the position information corresponding to the maximum value in the correlation value data sequence is the R-peak position information.

[0036] In a third aspect, an embodiment of the present invention provides an electrocardiogram signal monitoring device, which includes an ECG data information acquisition module and the above-mentioned electrocardiogram signal R-peak position extraction module; wherein,

[0037] The output end of the ECG data information acquisition module is connected to the input end of the electrocardiogram signal R-peak position extraction module. The ECG data information acquisition module is configured to acquire the original ECG data information and transmit it to the electrocardiogram signal R-peak position extraction module, and the electrocardiogram signal R-peak position extraction module outputs the R-peak position information according to the received original ECG data information.

[0038] Fourthly, an embodiment of the present invention provides a computer-readable storage medium, on which an executable program is stored, and when the executable program is executed, the above-mentioned method for extracting the R-peak position of the electrocardiogram signal is realized. Description of the Drawings

[0039] Figure 1 is a schematic flowchart of a specific embodiment of a method for extracting the R-peak position of an electrocardiogram signal according to an embodiment of the present invention;

[0040] Figure 2 is a schematic waveform structure diagram of a specific embodiment of the ECG raw data information in a method for extracting the R-peak position of an electrocardiogram signal according to an embodiment of the present invention;

[0041] Figure 3 is a schematic waveform structure diagram of the first ECG data information in a method for extracting the R-peak position of an electrocardiogram signal according to an embodiment of the present invention;

[0042] Figure 4 is a schematic flowchart of a specific embodiment of generating a QRS standard template according to the first ECG data information in a method for extracting the R-peak position of an electrocardiogram signal according to an embodiment of the present invention;

[0043] Figure 5 is a schematic waveform structure diagram of the second ECG data information in a method for extracting the R-peak position of an electrocardiogram signal according to an embodiment of the present invention;

[0044] Figure 6 is a schematic waveform structure diagram of the second ECG data information after signal enhancement in a method for extracting the R-peak position of an electrocardiogram signal according to an embodiment of the present invention;

[0045] Figure 7 is a schematic waveform structure diagram of the second ECG data information after low-pass filtering after signal enhancement in a method for extracting the R-peak position of an electrocardiogram signal according to an embodiment of the present invention;

[0046] Figure 8 is a schematic waveform structure diagram of obtaining a window signal by windowing the R wave in a method for extracting the R-peak position of an electrocardiogram signal according to an embodiment of the present invention;

[0047] Figure 9 is a schematic waveform structure diagram of expanding the window signal obtained by windowing the R wave in a method for extracting the R-peak position of an electrocardiogram signal according to an embodiment of the present invention;

[0048] Figure 10 is a schematic waveform structure diagram of obtaining the waveform by performing moving window correlation in a method for extracting the R-peak position of an electrocardiogram signal according to an embodiment of the present invention;

[0049] Figure 11It is a schematic diagram of a waveform structure for obtaining R-peak position information in a method for extracting R-peak positions of electrocardiogram signals according to an embodiment of the present invention;

[0050] Figure 12 It is a schematic diagram of a specific embodiment module of a module for extracting R-peak positions of electrocardiogram signals according to an embodiment of the present invention;

[0051] Figure 13 It is a schematic diagram of a specific embodiment module of a electrocardiogram signal monitoring device according to an embodiment of the present invention. Specific Embodiments

[0052] The following will clearly and completely describe the concept of the invention and the technical effects produced in combination with embodiments, so as to fully understand the purpose, features and effects of the present invention. Obviously, the described embodiments are only a part of the embodiments of the present invention, rather than all embodiments. Based on the embodiments of the present invention, other embodiments obtained by those skilled in the art without creative efforts shall fall within the scope of protection of the present invention.

[0053] In the description of the embodiments of the present invention, if it involves "several", it means more than one; if it involves "multiple", it means more than two; if it involves "greater than", "less than", "exceeding", it should be understood as not including the number itself; if it involves "above", "below", "within", it should be understood as including the number itself. If it involves "first", "second", it should be understood as used to distinguish technical features, and cannot be understood as indicating or implying relative importance or implicitly indicating the quantity of the indicated technical features or implicitly indicating the sequence relationship of the indicated technical features.

[0054] Referring to Figure 1 , an embodiment of the present invention provides a method for extracting R-peak positions of electrocardiogram signals, which includes the following steps:

[0055] S100. Obtain ECG raw data information;

[0056] After obtaining the ECG raw data information, it is necessary to perform first-channel signal processing and second-channel signal processing on the ECG raw data information respectively, where:

[0057] The first-channel signal processing includes the following steps:

[0058] S110. Perform first-bandpass filtering on the ECG raw data information to obtain first ECG data information;

[0059] S120. Generate a QRS standard template according to the first ECG data information;

[0060] The second-channel signal processing includes the following steps:

[0061] S210. Perform band-pass filtering on the original ECG data information in the second frequency band to obtain the second ECG data information;

[0062] S220. After performing signal enhancement processing on the second ECG data information, perform low-pass filtering processing;

[0063] S230. Window the second ECG data information after low-pass filtering to obtain a window signal, where the window signal includes multiple window intervals;

[0064] After performing the first-path signal processing and the second-path signal processing respectively, execute the steps:

[0065] S300. Perform moving-window correlation on the QRS standard template and the first ECG data information in the window intervals determined by the window signal to obtain a correlation value data sequence. In each window interval, the position information corresponding to the maximum value in the correlation value data sequence is the R-peak position information.

[0066] In this embodiment, the original ECG data information is obtained through an electrocardiogram signal monitoring device. However, in related technologies, electrocardiogram signal monitoring devices often focus on ECG signal acquisition and high-precision heart rate recognition, and they are unable to obtain high-precision R-peak position information. This results in inaccurate calculation results for HRV technology, EDR technology, CPC technology, etc. that use the R-peak position information in the ECG data information as calculation parameters. Therefore, in the embodiments of the present invention, in order to obtain accurate R-peak position information, after obtaining the original ECG data information, it is respectively subjected to the first-path signal processing and the second-path signal processing. The first-path signal processing obtains the first ECG data information and the QRS standard template, and the second-path signal processing obtains the window signal. Subsequently, perform moving-window correlation on the QRS standard template and the first ECG data information in the window intervals determined by the window signal to obtain a correlation value data sequence. Then, in each window interval, the position information corresponding to the maximum value in the correlation value data sequence is the R-peak position information; it solves the technical problem of low accuracy in extracting the R-peak position of the electrocardiogram signal in related technologies, and provides a method for accurately extracting the R-peak position information of the electrocardiogram signal from the original ECG data information.

[0067] Refer to Figure 2 and Figure 3 , in some embodiments, the original ECG data information obtained in step S100 is as Figure 2As shown, since there are many interfering high-frequency and low-frequency signals when acquiring the original ECG data information, in the first-channel signal processing, the original ECG data information is band-pass filtered in the first frequency band to obtain the first ECG data information, which can eliminate the interfering low-frequency and high-frequency signals. In this embodiment, the original ECG data information is band-pass filtered at 1-35 HZ to obtain the first ECG data information, and the waveform structure of the first ECG data information is as Figure 3 shown.

[0068] Refer to Figure 4 , in some embodiments, after band-pass filtering the original ECG data information at 1-35 Hz to obtain the first ECG data information, a QRS standard template is generated according to the obtained first ECG data information. In this embodiment, in order to obtain a QRS standard template that meets the requirements, step S120 of generating a QRS standard template according to the first ECG data information includes the following sub-steps:

[0069] S121. Obtain the first 5 QRS information in the first ECG data information, and respectively obtain the R peak positions and their amplitude values of the first 5 QRS information;

[0070] S122. After removing 4 QRS information that does not meet the preset requirements, obtain the preset QRS information;

[0071] S123. According to the R peak position information of the preset QRS information, symmetrically shrink both sides of the window of the preset QRS information to 120 ms centered on the R peak, and the QRS standard template is obtained.

[0072] In this embodiment, in order to obtain a QRS standard template that meets the requirements, the 4 QRS information that does not meet the preset requirements removed in step S122 is to remove the 2 QRS with the largest amplitude values and the 2 QRS with the smallest amplitude values, and the remaining QRS with intermediate values is the preset QRS information. If there are cases where the amplitude values are equal, after sorting them in ascending order of amplitude value, the QRS information corresponding to the value at the 3rd position in the sorting is taken as the preset QRS information. In this embodiment, in order to fully extract the features of QRS, the window of the obtained preset QRS information is symmetrically shrunk to 120 ms on both sides centered on the R peak. At this time, the obtained is the QRS standard template, which includes all the QRS characteristic information of the normal human electrocardiogram signal.

[0073] In some embodiments, since there are many interfering high-frequency and low-frequency signals when acquiring the original ECG data information, in the second-channel signal processing, the original ECG data information is band-pass filtered in the second frequency band to obtain the second ECG data information, which can eliminate the interference of the low-frequency P wave and T wave, and can also eliminate the high-frequency electromyogram noise interference. In this embodiment, the original ECG data information is band-pass filtered at 8 - 20 Hz to obtain the second ECG data information. In this embodiment, the range of the second-frequency-band band-pass filter is smaller than that of the first-frequency-band band-pass filter because the first ECG data information obtained after the first-frequency-band band-pass filter is still needed to generate the QRS standard template and the features of the QRS need to be fully extracted, so a wider range of band-pass filter frequency bands needs to be set. The purpose of obtaining the second ECG data information after band-pass filtering at 8 - 20 Hz is to extract the main energy signal of the QRS wave group for subsequent processing.

[0074] Refer to Figures 5 to 7 , in some embodiments, the waveform structure of the second ECG data information obtained after band-pass filtering at 8 - 20 HZ is as Figure 5 shown. In addition, in order to further enhance the envelope characteristics of the QRS in the second ECG data information, the second ECG data information needs to be subjected to signal enhancement processing and low-pass filtering processing. In the embodiments of the present invention, after obtaining the second ECG data information, the waveform structure obtained by performing a signal square enhancement operation on the second ECG data information is as Figure 6 shown. Subsequently, it is subjected to a 5 Hz low-pass filtering process, and the waveform structure obtained is as Figure 7 shown. The second ECG data information after the signal square enhancement operation and the 5 Hz low-pass filtering process can completely display the envelope characteristics of the QRS.

[0075] Refer to Figure 8 and Figure 9 , in some embodiments, after the second ECG data information is subjected to square signal enhancement and 5 Hz low-pass filtering processing, the window signal is obtained by performing R-wave windowing on it through the following formula for conversion:

[0076]

[0077] where Z(i) is the second ECG data information after 5 Hz low-pass filtering processing, M 1 is the maximum value in every 2 s of the second ECG data information, M 2 is the maximum value in every 400 ms of the second ECG data information. By dynamically updating the parameter thresholds M 1 and M 2 , an accurate window signal can be obtained, and the waveform structure of this window signal is as Figure 8As shown. In this embodiment, after obtaining the window signal W(i), according to the middle position of each window, both sides of each window are symmetrically extended to a width of 200 ms, which is convenient for performing moving window-related calculations on the QRS standard template and the first ECG data information within the window interval, providing sufficient redundancy to extract the precise position of the R peak. In this embodiment, the waveform structure of each window in the window signal after extension is as Figure 9 shown.

[0078] In some embodiments, before extending each window in the window signal, abnormal small windows with a window width less than 0.3 times the average window width are removed, which can improve the accuracy of the window signal and thus improve the accuracy of the finally obtained R peak position.

[0079] Referring to Figure 10 and Figure 11 , in some embodiments, after obtaining the first ECG data information, the QRS standard template, and the window signal obtained by windowing the second ECG data information for the R wave, the QRS standard template and the first ECG data information are subjected to moving window correlation within the window interval determined by the window signal to obtain a correlation value data sequence, which is calculated by the following formula:

[0080]

[0081] where T(n) is the QRS standard template, Y 1 (i) is the first ECG data information, and C(i) is the correlation value data sequence obtained by performing moving window correlation operations on the QRS standard template and the first ECG data information. In this embodiment, j is related to the sampling rate of the original ECG data information and the window width of the QRS standard template. For example, if the sampling rate is 250 Hz and the window width is 120 ms (i.e., 0.12 s), then j = 0.12 * 250 / 2 = 15; represents the average value of the QRS standard template T(n) under the current window; Y 1 (i + n) represents the first ECG data information with a moving window width of 120 ms at the current i position; represents the average value of the first ECG data information under the current window. Among them, the waveform structure of the result of the moving window correlation is as Figure 10 shown. Within each window interval of the window signal, the position information corresponding to the maximum value in the correlation value data sequence C(i) is the R peak position information, as Figure 11 shown.

[0082] Referring to Figure 12, an embodiment of the present invention provides a module for extracting the R-peak position of an electrocardiogram signal, which includes: an information receiving unit, a first signal processing unit, a second signal processing unit, and an R-peak position calculation unit; wherein, the output end of the information receiving unit is respectively connected to the input ends of the first signal processing unit and the second signal processing unit, and the information receiving unit is used to receive the original ECG data information and send it to the first signal processing unit and the second signal processing unit respectively; the first signal processing unit performs first-band band-pass filtering on the received original ECG data information to obtain the first ECG data information, and generates a QRS standard template according to the first ECG data information; the second signal processing unit performs second-band band-pass filtering on the received original ECG data information to obtain the second ECG data information, performs signal enhancement processing on the second ECG data information, then performs low-pass filtering processing, and finally performs R-wave windowing on the second ECG data information after low-pass filtering processing to obtain a window signal, and the window signal includes a plurality of window intervals. The output ends of the first signal processing unit and the second signal processing unit are both connected to the input end of the R-peak position calculation unit, and the R-peak position calculation unit is used to perform moving window correlation on the received QRS standard template and the first ECG data information in the window intervals determined by the window signal to obtain a sequence of correlation value data. In each window interval, the position information corresponding to the maximum value in the sequence of correlation value data is the R-peak position information. In the embodiment of the present invention, the working process principles of the various constituent units of the module for extracting the R-peak position of the electrocardiogram signal and the implementation process principles of the method for extracting the R-peak position of the electrocardiogram signal described in the above embodiments are mutually referenced and corresponding, and will not be elaborated here.

[0083] Refer to Figure 1 3, an embodiment of the present invention provides an electrocardiogram signal monitoring device, which includes an ECG data information acquisition module and the module for extracting the R-peak position of the electrocardiogram signal proposed in the above embodiment; wherein, the output end of the ECG data information acquisition module is connected to the input end of the module for extracting the R-peak position of the electrocardiogram signal, the ECG data information acquisition module is used to acquire the original ECG data information and transmit it to the module for extracting the R-peak position of the electrocardiogram signal, and the module for extracting the R-peak position of the electrocardiogram signal calculates and outputs the R-peak position information according to the received original ECG data information. In this embodiment, the process and implementation principle of the electrocardiogram signal monitoring device obtaining the R-peak position information from the original ECG data information and the implementation process principle of the method for extracting the R-peak position of the electrocardiogram signal described in any of the above embodiments are mutually referenced and corresponding, and will not be elaborated here.

[0084] An embodiment of the present invention also provides a computer-readable storage medium, in which a computer-executable program is stored. When the computer-executable program is executed by a processor, it implements the method for extracting the R-peak position of the electrocardiogram signal in any of the above embodiments.

[0085] The embodiments of the present invention have been described in detail above with reference to the accompanying drawings. However, the present invention is not limited to the above embodiments, and various changes can be made without departing from the spirit of the present invention within the knowledge scope of those of ordinary skill in the art. In addition, the embodiments of the present invention and the features in the embodiments can be combined with each other without conflict.

Claims

1. A method for extracting the R-peak position of an electrocardiogram signal, characterized in that, it includes: Obtain the original ECG data information, and perform first-channel signal processing and second-channel signal processing on the original ECG data information respectively; The first-channel signal processing includes: Perform band-pass filtering on the original ECG data information in a first frequency band to obtain first ECG data information, and generate a QRS standard template according to the first ECG data information; The second-channel signal processing includes: Perform band-pass filtering on the original ECG data information in a second frequency band to obtain second ECG data information; after performing signal enhancement processing on the second ECG data information, perform low-pass filtering processing; perform R-wave windowing on the second ECG data information after low-pass filtering processing to obtain a window signal, and the window signal includes a plurality of window intervals; Perform moving window correlation on the QRS standard template and the first ECG data information in the window intervals determined by the window signal to obtain a correlation value data sequence; within each window interval, the position information corresponding to the maximum value in the correlation value data sequence is the R-peak position information.

2. The method for extracting the R-peak position of an electrocardiogram signal according to claim 1, characterized in that, The step of performing band-pass filtering on the original ECG data information in a first frequency band to obtain first ECG data information includes: Perform band-pass filtering on the original ECG data information in the range of 1 - 35 Hz to obtain the first ECG data information.

3. The method for extracting the R-peak position of an electrocardiogram signal according to claim 2, characterized in that, The step of generating a QRS standard template according to the first ECG data information includes: Obtain the first 5 QRS information in the first ECG data information, and respectively obtain the R-peak position and its amplitude value of the first 5 QRS information; After removing 4 QRS information that does not meet the preset requirements, obtain preset QRS information; According to the R-peak position information of the preset QRS information, symmetrically reduce both sides of the window of the preset QRS information to 120 ms centered on the R-peak, that is, obtain the QRS standard template.

4. The method for extracting the R-peak position of an electrocardiogram signal according to any one of claims 1 to 3, characterized in that, The step of performing band-pass filtering on the original ECG data information in a second frequency band to obtain second ECG data information includes: Perform band-pass filtering on the original ECG data information in the range of 8 - 20 Hz to obtain second ECG data information.

5. The method for extracting the R-peak position of an electrocardiogram signal according to claim 4, characterized in that, The step of performing low-pass filtering processing after performing signal enhancement processing on the second ECG data information includes: Perform signal square enhancement operation on the second ECG data information, and then perform 5 Hz low-pass filtering processing.

6. The method for extracting the R-peak position of an electrocardiogram signal according to claim 5, characterized in that, The step of performing R-wave windowing on the second ECG data information after low-pass filtering processing to obtain a window signal is performed through the following formula for window conversion: Among them, Z(i) is the second ECG data information after low-pass filtering processing, M 1 is the maximum value in every 2s data information of the second ECG data information, M 2 is the maximum value in every 400ms of the second ECG data information.

7. The method for extracting the R-peak position of an electrocardiogram signal according to claim 6, characterized in that, The moving window correlation of the QRS standard template and the first ECG data information in the window interval determined by the window signal is performed to obtain a correlation value data sequence, which is calculated by the following formula: Among them, T(n) is the QRS standard template, and Y 1 (i) is the first ECG data information, and C(i) is the correlation value data sequence obtained by performing moving window correlation on the QRS standard template and the first ECG data information.

8. An R peak position extraction module for electrocardiogram signals, characterized in that, it includes: An information receiving unit for receiving ECG raw data information; A first signal processing unit for performing first-band band-pass filtering on the ECG raw data information to obtain first ECG data information, and generating a QRS standard template according to the first ECG data information; A second signal processing unit for performing second-band band-pass filtering on the ECG raw data information to obtain second ECG data information; After performing signal enhancement processing on the second ECG data information, perform low-pass filtering processing; Perform R wave windowing on the second ECG data information after low-pass filtering processing to obtain a window signal, and the window signal includes a plurality of window intervals; An R peak position calculation unit for performing moving window correlation on the QRS standard template and the first ECG data information in the window interval determined by the window signal to obtain a correlation value data sequence; within each window interval, the position information corresponding to the maximum value in the correlation value data sequence is the R peak position information.

9. An electrocardiogram signal monitoring device, characterized in that, it includes: An ECG data information acquisition module and the electrocardiogram signal R peak position extraction module as described in claim 8; wherein, The output end of the ECG data information acquisition module is connected to the input end of the electrocardiogram signal R peak position extraction module. The ECG data information acquisition module is used to acquire ECG raw data information and transmit it to the electrocardiogram signal R peak position extraction module, and the electrocardiogram signal R peak position extraction module outputs R peak position information according to the received ECG raw data information.

10. A computer-readable storage medium, characterized in that, An executable program is stored on the computer-readable storage medium, and when the executable program is executed, it implements the electrocardiogram signal R peak position extraction method as described in any one of claims 1 to 7.