Heart rate extraction method and system based on time domain sliding period filtering and storage medium

Through the time domain sliding period filtering method, the problem of respiratory interference in radar heart rate monitoring is solved, and more accurate heart rate monitoring is achieved. It has the characteristics of real-time and low computational complexity, and is suitable for human body sign detection.

CN118604767APending Publication Date: 2024-09-06DATA SPACE RES INST
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410735665.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-07
Publication Date
2024-09-06

AI Technical Summary

Technical Problem

Existing radar heart rate monitoring technology is difficult to accurately estimate heart rate under strong respiratory interference. In particular, it cannot effectively eliminate respiratory harmonics or respiratory and heartbeat coupling modulation interference that fall within the heart rate range.

Method used

The time domain sliding period filtering method is used to calculate the heart rate value by demodulating, Fourier transform, unwrapping, filtering, cross-correlation algorithm and autocorrelation operation on the radar echo signal, combined with band-pass filtering and sliding difference filtering. Resist breathing interference.

Benefits of technology

It improves the accuracy of heart rate monitoring, has real-time performance and low computational complexity, can effectively resist interference such as breathing, and is suitable for human body sign detection.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118604767A
    Figure CN118604767A
Patent Text Reader

Abstract

The invention relates to the technical field of signal processing, in particular to a heart rate extraction method and system based on time domain sliding period filtering and a storage medium. The invention provides a heart rate extraction method based on time domain sliding period filtering, which comprises the following steps of: collecting echo signals of radar to a chest, accumulating fast time dimension distance information on a set time length T, forming fast time dimension-slow time dimension two-dimensional radar data, and performing I / Q (In-phase / Quadrature) demodulation; the method comprises the following steps of: acquiring a slow time dimension phase on each fast time dimension, performing unwrapping, filtering an unwrapped slow time dimension phase signal, acquiring a filtering signal, dividing the filtering signal into two sections with equal length, and then calculating a cross correlation coefficient of the two sections of filtering signals by adopting a cross correlation algorithm. And then the heartbeat frequency is obtained by combining cross-correlation and self-correlation algorithms. The method is mainly used for time domain processing, has the advantages of being real-time, low in calculation complexity and the like, and can provide more accurate and real-time information in vital sign monitoring.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of signal processing, and in particular to a heart rate extraction method, system and storage medium based on time domain sliding cycle filtering. Background Art

[0002] Heart rate monitoring is a commonly used health monitoring method. Radar detection, as a non-contact heart rate monitoring method, is easy to use and has fewer restrictions on the subjects' movements, thus achieving non-contact monitoring.

[0003] One of the main technical challenges of radar heart rate monitoring is that it is very difficult to accurately estimate the heart rate signal under strong respiratory interference. The current processing methods mainly include bandpass filtering, optimal frequency estimation, machine learning, etc. These methods can suppress interference components such as respiratory fundamental frequency and harmonics outside the heart rate range, but cannot eliminate respiratory harmonics or modulation components that fall within the heart rate range, thus affecting the accurate estimation of heart rate. Summary of the invention

[0004] In order to overcome the problem of interference of respiratory harmonics and respiratory-heartbeat coupling modulation on heart rate monitoring in the above-mentioned prior art, the present invention proposes a heart rate extraction method based on time domain sliding period filtering, which solves the problem of interference of respiratory harmonics and respiratory-heartbeat coupling modulation on heart rate and improves the accuracy of heart rate monitoring.

[0005] The present invention proposes a heart rate extraction method based on time domain sliding cycle filtering, comprising:

[0006] Collect the radar echo signal to the chest cavity, accumulate the fast time dimension distance information over the set time length T, form the two-dimensional radar data of the fast time dimension and the slow time dimension, and perform I / Q demodulation; the fast time dimension distance information is obtained by: demodulating the radar echo signal, obtaining the demodulated I / Q signal, performing fast time dimension Fourier transform on the I / Q signal, and obtaining the fast time dimension distance information;

[0007] Obtaining the slow time dimension phase on each fast time dimension and performing de-wrapping, filtering the de-wrapped slow time dimension phase signal to obtain a filtered signal, dividing the filtered signal into two segments of equal length, and then using a cross-correlation algorithm to calculate the cross-correlation coefficient of the two segments of the filtered signal;

[0008] Obtain the fast time dimension filtered signal with the largest cross-correlation coefficient and a cross-correlation coefficient greater than the set cross-correlation threshold, perform autocorrelation operation, and find the first wave peak of the autocorrelation curve as the autocorrelation coefficient;

[0009] When the autocorrelation coefficient is greater than the set autocorrelation threshold, the heart rate value heart_BPM=60 / i / fs is calculated in combination with the autocorrelation curve; i is the delay time corresponding to the first peak on the autocorrelation curve, and fs is the radar frame rate; when the autocorrelation coefficient is less than the autocorrelation threshold, the heart rate is judged to be 0.

[0010] Preferably, the value interval of the cross-correlation threshold is [0.3, 0.6].

[0011] Preferably, the cross-correlation threshold is 0.4.

[0012] Preferably, the value interval of the autocorrelation threshold is [0.3, 0.8].

[0013] Preferably, the autocorrelation threshold is 0.6.

[0014] Preferably, when filtering the dewrapped slow-time phase signal, bandpass filtering and sliding differential filtering are performed successively.

[0015] The present invention proposes a heart rate monitoring system based on time domain sliding cycle filtering, comprising a memory and a processor, wherein a computer program is stored in the memory, the processor is connected to the memory, and the processor is used to execute the computer program to implement the heart rate extraction method based on time domain sliding cycle filtering.

[0016] Preferably, a radar is also included, and the processor is connected to the radar to obtain chest monitoring data collected by the radar.

[0017] Preferably, the radar is a millimeter wave radar.

[0018] The present invention provides a storage medium storing a computer program, which is used to implement the heart rate extraction method based on time domain sliding cycle filtering when executed.

[0019] The advantages of the present invention are:

[0020] (1) The heart rate extraction method based on time domain sliding cycle filtering proposed in the present invention demodulates and processes the radar echo signal to obtain the phase information of each distance unit, designs a bandpass filter to filter the outside and inside of the heart rate frequency interval respectively, and combines the cross-correlation and autocorrelation algorithms to obtain the heart rate frequency. This method mainly processes in the time domain, has the characteristics of real-time and low computational complexity, and can provide more accurate and real-time information in vital sign monitoring.

[0021] (2) The present invention uses a single bandpass filter to filter out interference outside the heart rate range, and uses iterative differential filtering to further filter out interference signals within the heart rate range. The differential filtering process mainly performs addition and subtraction operations, with a small amount of calculation, which is suitable for real-time processing. In the actual human echo processing process, it can more effectively filter out interference signals such as breathing than only performing bandpass filtering, and can achieve better robustness.

[0022] (3) The present invention finds the optimal differential filter order of each distance unit through cross-correlation operation, and finally calculates the accurate heart rate value based on the autocorrelation operation of the optimal distance unit.

[0023] (4) The present invention can accurately and quickly calculate the heart rate of the irradiated human body and can well resist interference such as breathing, and is very suitable for human vital signs detection. BRIEF DESCRIPTION OF THE DRAWINGS

[0024] Figure 1 This is a flow chart of the heart rate extraction method based on time domain sliding cycle filtering. DETAILED DESCRIPTION

[0025] 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.

[0026] Reference Figure 1 The heart rate extraction method based on time domain sliding cycle filtering proposed in this embodiment includes the following steps S1-S7.

[0027] S1. Configure radar to collect echo signals from the chest cavity.

[0028] The radar may specifically be a millimeter wave radar, or other radars may be selected as needed.

[0029] Configuring the millimeter-wave radar specifically includes: setting the detection range of the millimeter-wave radar device based on the linear frequency modulation continuous wave system to 0.2-2 meters, and placing the device 0.2-2 meters in front of the chest and abdomen of the human body to be tested, with the radar device transmitting antenna facing the chest and abdomen of the test person, and the test person and the radar device are in a relatively static state.

[0030] Specifically, under experimental conditions, the test subject is placed within the radar detection range, including distance and field of view. The detection distance d is related to the echo delay t, and the echo delay is t=2d / c, where c is the speed of light. Based on this, the radar echo acquisition time can be set; according to the radar antenna pattern, the test subject is placed within the main lobe of the pattern. In addition, the test subject and the radar need to remain relatively still. The radar selected in the present invention is based on a frequency modulated continuous wave system. The radar of this system is difficult to distinguish static objects, but is more suitable for detecting dynamic characteristics of the human body such as breathing and heartbeat. When the human body is in motion, its motion characteristics are coupled with dynamic signs, which are difficult for the radar to distinguish. When the radar and the test subject are relatively still, the dynamic characteristics caused by breathing and heartbeat can be detected by the radar.

[0031] S2. Demodulate the echo signal to obtain an I / Q signal;

[0032] Specifically, in this step, the echo signal received by the radar is pulse compressed to obtain an I / Q signal, and the pulse compression is specifically implemented by orthogonally mixing the transmitted linear frequency modulation signal with the echo signal. In specific implementation, other demodulation methods can also be used, or other existing pulse compression methods can be used for demodulation. The I / Q signal is collected by an analog-to-digital converter.

[0033] Under experimental conditions, the radar performs orthogonal demodulation on the received signal at the receiving end to obtain two orthogonal signals, I and Q. The signal is collected by an analog-to-digital converter, and the phase change of the received signal can be obtained through a phase demodulation algorithm. Since the chest and abdomen displacement caused by breathing is generally about 1 cm, and the chest and abdomen displacement caused by heartbeat displacement is generally only about 0.1 mm, if the distance measurement method is used for detection, taking l = 0.1 mm as an example, the required detection signal bandwidth B can be calculated according to the distance resolution formula to be at least:

[0034] B=c / (2l)=1500G, l represents the distance resolution, and c represents the speed of light.

[0035] The common bandwidths of actual millimeter-wave radars are mostly 1G, 4G, etc., so it is difficult to detect breathing and heartbeat displacements through precise ranging. The present invention first accumulates the distance signals of the echoes of each distance unit, and then calculates the target phase of the distance unit through the I / Q signal. This phase change can reflect the dynamic displacement information of the distance unit.

[0036] S3. Perform fast time-dimensional Fourier transform on the I / Q signal to obtain fast time-dimensional distance information.

[0037] S4. Accumulate the fast time dimension distance information over the set time length T to form two-dimensional radar data of the fast time dimension and the slow time dimension, and perform I / Q demodulation; obtain the slow time dimension phase on each fast time dimension and perform de-wrapping.

[0038] This step is specifically as follows: collecting the chest echo signal according to the set frequency at the set time length T, and processing the chest echo signal into fast time dimension distance information. Let the fast time dimension distance information contain N distance units, and a total of M fast time dimension distance information is obtained at the set time length T, then the two-dimensional radar data of the fast time dimension-slow time dimension is recorded as a_kj, 1≤k≤N, 1≤j≤M, representing the data on the kth distance unit of the jth fast time dimension distance information; obtain the slow time dimension phase at each fast time dimension, that is, obtain the phase of the data sequence {a_kj|1≤j≤M} for each fast time dimension k.

[0039] Further unwrapping of the phase can eliminate cross-cycle displacement and further improve accuracy.

[0040] S5, filtering the dewrapped slow time dimension phase signal in each fast time dimension k, obtaining a filtered signal, dividing the filtered signal into two segments of equal length, and then using a cross-correlation algorithm to calculate the cross-correlation coefficient of the two segments of the filtered signal;

[0041] Specifically, when filtering the unwrapped slow time-dimensional phase signal, the filtering method may be bandpass filtering, sliding differential filtering, or a combination of multiple filtering methods.

[0042] Since the heartbeat harmonics are relatively rich, the energy of the heartbeat signal is relatively obvious in the range of 0.8-25Hz. Therefore, in the specific embodiment, an IIR bandpass filter is first designed to perform bandpass filtering on the signal, and the passband is set to 0.8-25Hz to filter out low-frequency breathing, direct current, high-frequency interference and other signals; a differential filter with a passband showing periodic characteristics in the spectrum is designed according to the harmonic characteristics, and its transfer function coefficient is set to a=1, and the coefficient b=[1-1...1-11]. The characteristic of b is that all coefficient values ​​are 1 or -1, the signs of adjacent coefficients are reversed, and the total number of coefficients is an odd number. The number is recorded as G, and the g-th passband center frequency is the passband center frequency fg=g*fs / G, fs is the radar frame rate, and g=0, 1, 2,..., G. The heartbeat frequency is limited to 0.8-2.5Hz, so the first passband (non-zero passband) of the filter is set to be in this interval, that is, 0.8≤f1=1*fs / G≤2.5, then fs / 2.5≤G≤fs / 0.8, from which the value range of G can be obtained, and each distance unit is differentially filtered according to the iteration range of G. At the same time, the filtering result of each iteration is divided into two equal-length segments, and the mutual correlation coefficient of the two segments is calculated. The threshold is set to 0.4, and the distance units with mutual correlation coefficients greater than the threshold and the signals after differential filtering are recorded.

[0043] Specifically, under experimental conditions, breathing may also have relatively abundant harmonics, and its harmonics may fall within the heart rate frequency range. Respiration energy is generally much stronger than heart rate energy, so respiratory harmonics will interfere with heart rate detection. Therefore, the data after the first bandpass filtering may still contain interference such as respiratory harmonics and respiratory-heartbeat coupling modulation. Therefore, when constructing a periodic bandpass differential filter, the passband of the filter is not unique, but is periodic in the frequency domain. By iteratively adjusting the center frequency of the filter passband and dividing the differentially filtered data into two groups, cross-correlating the two groups of data, calculating the cross-correlation coefficient, and recording the distance units that meet the threshold conditions and the corresponding filtered data, more data characteristics can be obtained.

[0044] S6, judging whether there is a fast time dimension k whose mutual correlation coefficient is greater than a set mutual correlation threshold;

[0045] If not, return to step S1;

[0046] If yes, select the filtered signal with the largest mutual correlation coefficient to perform autocorrelation operation, and find the first peak of the autocorrelation curve as the autocorrelation coefficient;

[0047] S7, judging whether the autocorrelation coefficient is greater than a set autocorrelation threshold;

[0048] If not, the heart rate is judged to be 0;

[0049] If yes, the heart rate value heart_BPM will be calculated using the following formula;

[0050] heart_BPM=60 / i / fs

[0051] Where i is the delay time corresponding to the first peak on the autocorrelation curve, and fs is the radar frame rate.

[0052] In a specific embodiment, the cross-correlation threshold may be specifically set to 0.4, and the autocorrelation threshold may be specifically set to 0.6.

[0053] Of course, it is obvious to those skilled in the art that the present invention is not limited to the details of the exemplary embodiments described above, but also includes the same or similar structures that can be implemented in other specific forms without departing from the spirit or essential features of the present invention. Therefore, no matter from which point of view, the embodiments should be regarded as exemplary and non-limiting, and the scope of the present invention is defined by the appended claims rather than the above description, and it is intended that all changes falling within the meaning and scope of the equivalent elements of the claims are included in the present invention. Any reference numerals in the claims should not be regarded as limiting the claims involved.

[0054] In addition, it should be understood that although the present specification is described according to implementation modes, not every implementation mode contains only one independent technical solution. This description of the specification is only for the sake of clarity. Those skilled in the art should regard the specification as a whole. The technical solutions in each embodiment may also be appropriately combined to form other implementation modes that can be understood by those skilled in the art.

[0055] The techniques, shapes, and structural parts not described in detail in the present invention are all well-known techniques.

Claims

1. A heart rate extraction method based on time domain sliding cycle filtering, characterized in that: include: Collect the radar echo signal to the chest cavity, accumulate the fast time dimension distance information over the set time length T, form the two-dimensional radar data of the fast time dimension and the slow time dimension, and perform I / Q demodulation; the fast time dimension distance information is obtained by: demodulating the radar echo signal, obtaining the demodulated I / Q signal, performing fast time dimension Fourier transform on the I / Q signal, and obtaining the fast time dimension distance information; Obtaining the slow time dimension phase on each fast time dimension and performing de-wrapping, filtering the de-wrapped slow time dimension phase signal to obtain a filtered signal, dividing the filtered signal into two segments of equal length, and then using a cross-correlation algorithm to calculate the cross-correlation coefficient of the two segments of the filtered signal; Obtain the fast time dimension filtered signal with the largest cross-correlation coefficient and a cross-correlation coefficient greater than the set cross-correlation threshold, perform autocorrelation operation, and find the first wave peak of the autocorrelation curve as the autocorrelation coefficient; When the autocorrelation coefficient is greater than the set autocorrelation threshold, the heart rate value heart_BPM=60 / i / fs is calculated in combination with the autocorrelation curve; i is the delay time corresponding to the first peak on the autocorrelation curve, and fs is the radar frame rate; when the autocorrelation coefficient is less than the autocorrelation threshold, the heart rate is judged to be 0.

2. The heart rate extraction method based on time domain sliding cycle filtering according to claim 1, characterized in that: The value interval of the cross-correlation threshold is [0.3, 0.6].

3. The heart rate extraction method based on time domain sliding cycle filtering as claimed in claim 2, characterized in that: The cross-correlation threshold is set to 0.

4.

4. The heart rate extraction method based on time domain sliding cycle filtering according to claim 1, characterized in that: The value interval of the autocorrelation threshold is [0.3, 0.8].

5. The heart rate extraction method based on time domain sliding cycle filtering as claimed in claim 4, characterized in that: The autocorrelation threshold is set to 0.

6.

6. The heart rate extraction method based on time domain sliding cycle filtering according to claim 1, characterized in that: When filtering the dewrapped slow-time phase signal, bandpass filtering and sliding difference filtering are performed successively.

7. A heart rate monitoring system based on time domain sliding cycle filtering, characterized in that: It comprises a memory and a processor, wherein a computer program is stored in the memory, the processor is connected to the memory, and the processor is used to execute the computer program to implement the heart rate extraction method based on time domain sliding cycle filtering as described in any one of claims 1-6.

8. The heart rate monitoring system based on time domain sliding cycle filtering according to claim 7, characterized in that: It also includes a radar, and the processor is connected to the radar to obtain chest monitoring data collected by the radar.

9. The radar heart rate monitoring system based on quadratic Fourier transform as claimed in claim 7, characterized in that: The radar uses millimeter wave radar.

10. A storage medium, characterized in that: A computer program is stored, and when the computer program is executed, it is used to implement the heart rate extraction method based on time domain sliding cycle filtering as described in any one of claims 1 to 6.