A method for verifying respiratory harmonic cancellation based on harmonic consistency

By employing a harmonic consistency verification method and a two-way mutual verification mechanism of upward harmonic verification and downward subharmonic checking, the respiratory fundamental frequency is identified and respiratory harmonic interference is eliminated. This solves the problem of misjudgment of the fundamental frequency in respiratory rate and heart rate detection, and improves the accuracy and real-time performance of heart rate detection.

CN123178781APending Publication Date: 2026-11-27UNIV OF ELECTRONICS SCI & TECH OF CHINA +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611406572.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-09-11
Publication Date
2026-11-27

AI Technical Summary

Technical Problem

In existing technologies for respiratory rate and heart rate detection, respiratory harmonic interference leads to misjudgment of the fundamental frequency, resulting in low accuracy of heart rate detection. Furthermore, existing algorithms are prone to errors in complex and multi-interference scenarios, making it difficult to achieve real-time monitoring.

Method used

The harmonic consistency verification method is adopted. Through a two-way mutual verification mechanism of upward harmonic verification and downward subharmonic check, the respiratory fundamental frequency is identified, and a Hamming window attenuation is applied in the heart rate protection frequency band to eliminate respiratory harmonic interference and ensure the accuracy of heart rate detection.

Benefits of technology

Accurately identify the respiratory fundamental frequency under complex spectral conditions, effectively eliminate respiratory harmonic interference, improve the accuracy and robustness of heart rate detection, reduce computational overhead, and adapt to stable detection of different respiratory rates.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123178781A_ABST
    Figure CN123178781A_ABST
Patent Text Reader

Abstract

The application discloses a method for verifying respiratory harmonic elimination based on harmonic consistency, and belongs to the technical field of non-contact vital sign monitoring. In view of the problem that the amplitude of the respiratory harmonic may exceed the base frequency, and the high-frequency respiratory harmonic falls into the low-frequency band of the heartbeat signal, thereby interfering with the heart rate detection in the existing vital sign detection method, the application obtains a mixed amplitude spectrum of the chest micro-motion signal through a millimeter wave radar; then, by using the physiological difference that the respiratory signal has near-integer multiple harmonics while the heartbeat signal has almost no harmonics, the respiratory base frequency is automatically identified through harmonic consistency verification combined with sub-harmonic checking; when the heart rate is extracted, a hierarchical processing strategy is adopted: when there is only a single peak in the heart rate protection band, the heart rate is directly output; when there are multiple peaks, the Hamming window attenuation is applied to the respiratory harmonics that may exist in the multiple peaks, and then the respiratory harmonics are re-detected. The method can effectively avoid the interference of the respiratory harmonic on the detection of the respiratory signal and the heart rate signal, and extract the respiratory signal and the heart rate signal from the vital sign signal.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention belongs to the field of non-contact vital sign monitoring technology, and specifically relates to a method for eliminating respiratory harmonics based on harmonic consistency verification. Background Technology

[0002] Non-contact vital sign monitoring technology based on millimeter-wave radar relies on analyzing phase fluctuations caused by subtle movements of the human chest cavity to achieve non-invasive detection of respiratory and heart rate frequencies. It has significant application value in scenarios such as home health monitoring and in-vehicle vital sign detection. Traditional peak detection algorithms generally assume the fundamental frequency amplitude is the highest, using this to identify respiratory frequency and attributing other lower peaks to heartbeats or noise. However, the vibration amplitude of human chest cavity respiratory activity is much greater than that of the heartbeat, and the respiratory waveform exhibits non-sinusoidal and asymmetrical characteristics. The rapid inhalation and slow exhalation pattern generates a large number of integer multiples of respiratory harmonics within the amplitude spectrum. Simultaneously, the radar phase demodulation link has inherent nonlinear transmission characteristics, easily causing respiratory harmonic amplitudes to approach or even exceed the respiratory fundamental frequency, conflicting with conventional signal processing assumptions and significantly increasing the difficulty of accurately separating respiratory frequency and heart rate signals from the mixed spectrum.

[0003] Chen et al. proposed the DR-MUSIC algorithm (Differential Recursive Least Squares Multiple Signal Classification), which integrates recursive least squares filtering and multiple signal classification. It employs median filtering to eliminate baseline drift caused by human micro-motions, uses RLS (Recursive Least Squares) adaptive filtering to suppress respiratory harmonics, and combines it with MUSIC (Multiple Signal Classification) to achieve high-precision spectral peak search. The heart rate estimation error is only [missing information] under low signal-to-noise ratio conditions. However, this method does not have a dedicated clutter suppression module, and it is prone to misjudging the target distance gate in complex and multi-interference scenarios. Errors in the pre-range measurement will cause the subsequent harmonic elimination process to completely fail.

[0004] Che et al. proposed an improved variational mode decomposition (EVMD) algorithm with an adaptive penalty factor, which, combined with multi-scale spectral correlation analysis, can suppress respiratory harmonics under weak motion and slightly reduce the mean absolute error (MAE) of respiratory and heart rate estimation. However, the algorithm has a large computational overhead for iterative decomposition, which is difficult for embedded radar hardware to meet the real-time monitoring requirements. It can only handle low-motion scenarios, and the mode aliasing problem is significant when the human body has small limb movements.

[0005] Zhang et al. proposed the Matrix Coefficient Selection Method (MCSM) ranging algorithm and the Recursive Least Squares Respiratory Harmonic Suppression (RLSRHS) algorithm: MCSM suppresses environmental clutter by zeroing the low-frequency domain of the distance-Doppler two-dimensional spectrum and filtering the autocorrelation matrix; RLSRHS adaptively cancels respiratory harmonics without manual hyperparameter configuration, achieving high heart rate detection accuracy. However, the two algorithms are independent of each other and are not designed to be integrated. The clutter suppression and harmonic elimination processes are separated, the data reuse rate is low, and there is still room for optimization in the overall real-time performance.

[0006] Therefore, there is an urgent need for a vital sign signal processing method that can automatically identify the respiratory fundamental frequency, accurately determine harmonics, and actively protect the heartbeat signal while eliminating harmonics. Summary of the Invention

[0007] The purpose of this invention is to address the deficiencies in the prior art by proposing a respiratory harmonic elimination method based on harmonic consistency verification, which solves the problems of misjudgment of respiratory fundamental frequency, high-frequency respiratory harmonics affecting heartbeat signal recognition, and low heart rate detection accuracy in the process of vital sign signal processing.

[0008] The solution proposed in this invention is to construct a processing framework of "fundamental frequency identification—harmonic elimination—heartbeat signal protection". First, harmonic consistency verification and sub-harmonic joint detection are adopted. Through a two-way mutual verification mechanism of "searching for harmonics upward and tracing back to sub-harmonics downward", the problem of misjudgment of fundamental frequency caused by harmonic amplitude exceeding the fundamental frequency is solved. Then, a graded heart rate detection strategy is executed. If there is only a single peak in the heart rate protection frequency band, the frequency corresponding to the peak is directly used as the heart rate output. If there are multiple peaks in the frequency band, the respiratory harmonics are attenuated by applying a Hamming window before heart rate detection is performed again.

[0009] This invention provides a method for eliminating respiratory harmonics based on harmonic consistency verification, comprising the following steps:

[0010] Step 1: The millimeter-wave radar transmits a linear frequency modulated signal. The echo signal reflected by the chest cavity is subjected to range-dimensional Fourier transform and phase extraction to obtain the phase signal. The phase signal is then subjected to Fourier transform to obtain the amplitude spectrum of the mixed signal.

[0011] Step 2: Using the median of the amplitude spectrum as the noise floor estimate, peak detection is performed using an adaptive noise floor threshold method. The detected peaks in the amplitude spectrum are arranged in descending order of amplitude to generate a candidate fundamental frequency sequence. Upward harmonic verification and downward subharmonic checking are performed on the frequency of each peak point in the candidate fundamental frequency sequence. The fundamental frequency confidence is calculated for the frequencies that pass both upward harmonic verification and downward subharmonic checking. The current frequency is determined to be a breathing fundamental frequency by using the set fundamental frequency confidence threshold.

[0012] Step 3: Set the heart rate protection band and detect all peak values ​​within the heart rate protection band;

[0013] If there is only a single peak in the heart rate protection frequency band, the frequency corresponding to that peak is the estimated heart rate value;

[0014] If there are multiple peaks within the heart rate protection frequency band, the expected harmonic frequencies falling into the heart rate protection frequency band are calculated based on the respiratory fundamental frequency, and Hamming windows are applied to these harmonic positions for attenuation. After the harmonics are attenuated, peak detection is performed again within the heart rate protection frequency band, and the peak with the largest amplitude is selected as the heart rate estimate.

[0015] The reliability of heart rate estimates is determined based on the confidence level of heart rate detection.

[0016] Furthermore, the candidate fundamental frequency sequence is obtained through the following process:

[0017] using the median of the amplitude spectrum As a noise floor estimate, the global detection threshold is: ;in, For amplitude spectrum, The scaling factor is used; the peaks detected in the amplitude spectrum include both amplitude and frequency; all peaks are sorted in descending order of amplitude to generate a candidate fundamental frequency sequence.

[0018] Furthermore, the upward harmonic verification is as follows:

[0019] The frequency of each peak point in the candidate fundamental frequency sequence If it is within the respiratory rate range, then check for integer multiples of harmonics, with the highest harmonic order being [number missing]. ;in, This represents the floor function. Indicates the highest frequency of the amplitude spectrum;

[0020] For harmonic order The desired harmonic frequency is ;

[0021] For each desired harmonic frequency Matching is performed in the candidate fundamental frequency sequence with a tolerance of ,in, For tolerance coefficient; when Confirm the existing harmonic order At that time, the harmonic verification was passed; among them, The minimum number of harmonics required to pass verification.

[0022] Furthermore, the downward sub-harmonic check is specifically as follows:

[0023] Peak frequency After verifying the upward harmonics, check if its subharmonics exist; for the divisor The subharmonic frequency is ;

[0024] If a certain peak exists in the candidate fundamental frequency sequence, its frequency sub-harmonic frequency The deviation is within the tolerance, that is... Then the current candidate This is not the true base frequency; continue checking the next frequency. This is the subharmonic tolerance coefficient.

[0025] Furthermore, the fundamental frequency confidence level is defined as follows: ;like Then confirm the current It is the respiratory fundamental frequency; if all If none of the verifications are successful, the system will enter rollback mode: the lowest frequency peak within the respiratory rate range will be taken as the respiratory fundamental frequency.

[0026] Furthermore, the specific process of Hamming window attenuation is as follows:

[0027] Based on the respiratory fundamental frequency, calculate the expected harmonic frequencies that may fall into the heart rate protection band. Apply Hamming window attenuation to these harmonic locations:

[0028]

[0029] in, To determine the power spectral amplitude after applying a Hamming window attenuation, Desired harmonic frequency The original power spectrum amplitude at that location, The weighting coefficients for the Hamming window are expressed as follows:

[0030]

[0031] in, This refers to the discrete index number within the window function. ; The length of the window function is given; this window function selectively attenuates the harmonic components in the frequency spectrum with the desired harmonic frequency as the center.

[0032] Furthermore, the respiratory rate range is determined according to the type of organism being tested;

[0033] The heart rate protection frequency band is set based on prior knowledge or a reference heart rate; if a reference heart rate is available... Then the heart rate protection frequency band is selected as follows:

[0034]

[0035] in, and These are the lower and upper frequency limits of the heart rate protection band, respectively. As a hard boundary, The search half-width is the value near the reference heart rate; if there is no reference heart rate, the heart rate protection band is directly taken as the hard boundary.

[0036] Furthermore, the confidence level of the heart rate detection is defined as the ratio of the maximum peak amplitude within the heart rate protection frequency band to the average noise floor within the frequency band:

[0037]

[0038] in, For the confidence level of heart rate detection, The power spectrum amplitude within the heart rate protection frequency band after Hamming window attenuation; This represents the maximum peak amplitude within the heart rate protection frequency band. For the mean noise floor estimate within the heart rate protection frequency band; when At that time, the heart rate test results are considered reliable.

[0039] The beneficial effects of this invention are as follows:

[0040] This invention employs a two-way verification mechanism of upward harmonic verification and downward subharmonic checking for respiratory fundamental frequency identification. Even under complex spectral conditions where respiratory harmonic amplitudes exceed the fundamental frequency, it can accurately pinpoint the true respiratory fundamental frequency, solving the problem of traditional peak detection algorithms failing in scenarios with inverted harmonic amplitudes. Within the heart rate protection band, a hierarchical detection strategy is used. When multiple peaks exist, a Hamming window is applied to the position of each respiratory harmonic for selective attenuation, and then the peaks are re-detected. This effectively eliminates respiratory harmonic interference while preserving heartbeat signal components as much as possible, improving the accuracy and robustness of heart rate detection. Furthermore, this invention integrates respiratory fundamental frequency identification, harmonic verification, and selective attenuation into a unified processing framework, eliminating the need for costly iterative decomposition calculations, resulting in high data reuse and maintaining stable detection performance under different respiratory rates. Attached Figure Description

[0041] Figure 1 This is a flowchart of a method provided in an embodiment of the present invention.

[0042] Figure 2 This is the original phase timing waveform diagram.

[0043] Figure 3 for The raw power spectrum of respiratory rate.

[0044] Figure 4 for Actual test results of respiratory rate.

[0045] Figure 5 for The raw power spectrum of respiratory rate and the detection results.

[0046] Figure 6 for The raw power spectrum of respiratory rate and the detection results. Detailed Implementation

[0047] The method of the present invention will be further described below with reference to the accompanying drawings and specific embodiments.

[0048] This embodiment provides a method for eliminating respiratory harmonics based on harmonic consistency verification. The complete processing flow is as follows: Figure 1 As shown, the specific steps include:

[0049] Step 1: Acquisition of the amplitude spectrum of the mixed signal from the vital signs radar.

[0050] This invention is based on millimeter-wave radar, which transmits a linear frequency modulation (LFM) signal whose frequency varies linearly with time over a certain period. The echo signal reflected from the chest cavity has a range dimension... After phase extraction, phase signals containing micro-movement information of respiration and heartbeat can be extracted. .

[0051] For phase signal The amplitude spectrum of the mixed signal is obtained by performing a Fourier transform. Frequency axis , This indicates the highest frequency of the amplitude spectrum.

[0052]

[0053] in, Time sampling frequency, This represents the Fourier transform.

[0054] Step 2: Identification of respiratory fundamental frequency based on harmonic consistency verification and sub-harmonic examination.

[0055] Step 2.1: Noise floor estimation and candidate peak ranking.

[0056] Peak detection employs an adaptive noise low threshold method: using the median of the amplitude spectrum... As a noise floor estimate, the global detection threshold is:

[0057]

[0058] in, This is a proportionality coefficient used to balance the sensitivity of weak peak detection with noise immunity in strong noise environments; it can be set to 0.01.

[0059] The set of peaks detected in the amplitude spectrum is denoted as ,in For the first The amplitude of each peak The frequency is determined by sorting all peak values ​​in descending order of amplitude, generating a candidate fundamental frequency sequence. ,in, This indicates the number of rows after sorting by magnitude from largest to smallest. One peak, This indicates its corresponding frequency.

[0060] Step 2.2: Upward Harmonic Verification

[0061] Frequency at each peak point If it is within the respiratory rate range Within, check integer multiples of harmonics, among which and These are the lower and upper bounds of respiratory rate, respectively. The specific values ​​need to be determined based on the type of organism being tested. For example, for humans, a value of [value missing] is typically used. and The order of the maximum harmonic wave is then...

[0062]

[0063] in, This represents the floor operation.

[0064] For harmonic order The desired harmonic frequency is

[0065]

[0066] For each desired harmonic frequency In candidate fundamental frequency sequences Matching is performed within the range, with a tolerance of [value].

[0067]

[0068] in, This is the tolerance coefficient, used to determine the permissible deviation range for frequency matching. .

[0069] when Confirm the existing harmonic order At that time, the harmonic verification passed, indicating that There is a high probability that it is the fundamental frequency of the respiratory signal. Among them, To determine the minimum number of harmonics required for verification, it is typically taken as... That is, there are at least two or more harmonics.

[0070] Step 2.3: Check for subharmonics.

[0071] Peak frequency After verifying the upward harmonics, do not immediately determine it as the fundamental frequency; instead, first check if its sub-harmonics exist. For the divisor... The subharmonic frequency is:

[0072]

[0073] If in the candidate fundamental frequency sequence There exists a certain peak value, the frequency of which is... sub-harmonic frequency The deviation is within the tolerance, that is...

[0074]

[0075] in, This is the subharmonic tolerance coefficient, used to determine the allowable deviation range for subharmonic frequency matching, and is typically taken as... .

[0076] Then the current candidate yes The algorithm continues to check the harmonics rather than the true fundamental frequency. This inspection fundamentally solved the problem. The problem is that the second harmonic amplitude is the largest and is misjudged as the fundamental frequency.

[0077] Step 2.4: Confidence Assessment and Rollback Mode:

[0078] Verification is achieved through both upward harmonic verification and downward subharmonic checking. The fundamental frequency confidence level of its two-way verification is defined as:

[0079]

[0080] like Then confirm the current The reliable fundamental frequency is denoted as the respiratory fundamental frequency. If all If none of the verifications pass, the system enters fallback mode: within the respiratory rate range, the lowest frequency peak is selected as the respiratory fundamental frequency. (Physically, the fundamental frequency must be lower than all its harmonic frequencies), in which case the confidence level is set to... .

[0081] Step 3: Graded heart rate detection based on target frequency band protection.

[0082] Step 3.1: Delineate the heart rate protection frequency band;

[0083] The upper and lower bounds of the possible heart rate protection frequency band can be set based on prior knowledge or reference heart rate. ,in and These are the lower and upper frequency limits of the heart rate protection band, respectively. This band is used to define the legal search range for heart rate signals to exclude noise and respiratory harmonic interference outside the band. If a reference heart rate is available... Then the heart rate protection frequency band is taken

[0084]

[0085] in For hard boundaries (such as taking) ), The search half-width near the reference value (e.g.) If no reference value is available. The heart rate protection frequency band directly adopts a hard boundary.

[0086] Step 3.2: Peak value detection and grading within the heart rate protection frequency band

[0087] In the heart rate protection band Internal detection of all peak values, let the set of detected peak values ​​be . ,in and These represent the first number of heart rate protection frequency bands. The amplitude and frequency of each peak. Grading processing is performed based on the detection results:

[0088] If only a single peak exists within the heart rate protection frequency band: In this case, the frequency corresponding to the peak is the heart rate signal, and its frequency can be directly used as the estimated heart rate value. Regardless of whether the peak corresponds to the actual heartbeat signal or the overlapping peak of respiratory harmonics and heartbeat signals, this frequency contains heartbeat signal components, and it is physiologically reasonable to output it as the heart rate.

[0089] If multiple peaks exist within the heart rate protection frequency band: The presence of multiple peaks indicates frequency confusion, which may include respiratory harmonic interference. In this case, the respiratory fundamental frequency determined in step 2 should be used. Calculate the expected harmonic frequencies that may fall into the heart rate protection band. Apply Hamming window attenuation to these harmonic locations:

[0090]

[0091] in, To determine the power spectral amplitude after applying a Hamming window attenuation, Desired harmonic frequency The original power spectrum amplitude at that location, The weighting coefficients for the Hamming window are expressed as follows:

[0092]

[0093] in, Discrete index number within the window function ( ), The window function length represents the number of discrete frequency points it covers. This window function uses the desired breathing harmonic frequency. The window selectively attenuates harmonic components across the spectrum, centered on a specific area. The center suppression depth is approximately 92%, and the edge suppression depth is approximately 8%.

[0094] After the harmonics are attenuated, peak values ​​are re-detected within the heart rate protection frequency band, and the peak value with the largest amplitude is selected as the heart rate estimate.

[0095] Step 3.3: Confidence assessment.

[0096] Heart rate detection confidence Defined as the ratio of the maximum peak amplitude within the heart rate protection frequency band to the average noise floor within the frequency band:

[0097]

[0098] in, The power spectral amplitude within the heart rate protection frequency band after Hamming window attenuation is the spectral distribution after Hamming window attenuation in step 3.2. This represents the maximum peak amplitude within the heart rate protection frequency band. This is an estimate of the average noise floor within the heart rate protection frequency band. At that time, the heart rate test results are considered reliable.

[0099] Specific implementation: The present invention is mainly verified by means of measured data. All steps and conclusions have been verified to be correct on MATLAB 2024a.

[0100] Step 1: Set up an experimental scenario that includes a single target's vital signs signal. Specific parameters are as follows:

[0101] Table 1 Experimental parameters

[0102]

[0103] Based on the above parameters, step 1 can be used to deduce: millimeter-wave radar transmission. The linear frequency modulated (LFM) signal of the carrier wave, after being reflected by the target, is mixed with the local oscillator to obtain the beat signal. The beat signal is then analyzed in the range dimension. Afterwards, in the The target distance of the mouse was detected at the distance gate. .

[0104] The phase signal extracted from the distance gate Waveform as Figure 2 As shown. This phase signal is subjected to... The amplitude spectrum of the mixed signal can be expressed as:

[0105]

[0106] Since the target's maximum respiratory and heart rate do not exceed Therefore, in Peak detection is performed within the range. First, the noise floor is estimated using the median of the spectrum, resulting in... And the maximum value of the spectrum is The global threshold is obtained. .

[0107] Based on this, the detected peak set As shown in Table 2.

[0108] Table 2. Set of peak points:

[0109] Serial Number Amplitude frequency Hz 1 20.21 0.74 2 40.39 1.50 3 32.01 2.24 4 7.01 2.98 5 2.82 3.52

[0110] Sort the candidate fundamental frequency sequences in descending order of amplitude to obtain the desired sequence. As shown in Table 3.

[0111] Table 3 Candidate fundamental frequency sequences:

[0112] Serial Number Amplitude frequency Hz 1 40.39 1.50 2 32.01 2.24 3 20.21 0.74 4 7.01 2.98 5 2.82 3.52

[0113] Based on the actual situation, the highest amplitude The component is actually the second harmonic of respiration. Traditional amplitude-first search algorithms mistakenly identify the harmonic as the actual respiratory frequency. The original mixed power spectrum is as follows: Figure 3 As shown.

[0114] According to step 2, respiratory fundamental frequency identification based on harmonic consistency verification and sub-harmonic verification is performed. Each candidate is verified bidirectionally in turn to extract the correct fundamental frequency:

[0115] Candidate 1 First, perform upward harmonic verification for candidate frequencies. Within the respiratory rate range Within. The calculated maximum harmonic number is:

[0116]

[0117] The desired harmonic frequency is calculated as follows:

[0118]

[0119] Calculate matching tolerance

[0120]

[0121] In candidate fundamental frequency sequences A search revealed that in There exists a range peak value, deviation Match successful. Continue searching in the sequence. And the corresponding peak value, but this frequency has exceeded the maximum range of respiratory rate. No matching verification is performed.

[0122] According to statistics, candidates Confirm the existing harmonic order The minimum harmonic order requirement has not been met. The harmonic consistency verification failed. Candidate 1 was eliminated, and the process moved on to the next candidate with the second largest amplitude. .

[0123] Candidate 2 First, perform upward harmonic verification for candidate frequencies. Within the respiratory rate range Within. The calculated maximum harmonic number is:

[0124]

[0125] The desired harmonic frequency is calculated as follows:

[0126]

[0127] Calculate matching tolerance

[0128]

[0129] It is close to the maximum respiratory rate range And in There is no matching peak value. Candidate 2 confirms the existence of the harmonic order. The minimum harmonic order requirement was not met, and the harmonic consistency verification failed. Candidate Eliminated, shift to the candidate point with the second largest amplitude. .

[0130] Candidate 3 First, perform upward harmonic verification for candidate frequencies. Within the respiratory rate range Within. The calculated maximum harmonic number is:

[0131]

[0132] The desired harmonic frequency is calculated as follows:

[0133]

[0134] Calculate matching tolerance

[0135]

[0136] In candidate fundamental frequency sequences A search revealed the following corresponding peak values ​​and frequencies:

[0137] :exist (amplitude) ),deviation Match successful;

[0138] :exist (amplitude) ),deviation Match successful;

[0139] :exist (amplitude) ),deviation Match successful;

[0140] Among them, harmonics No corresponding peak value or frequency.

[0141] At this point, the harmonic order of the frequency is confirmed. ,satisfy The minimum harmonic order requirement was met, and the harmonic consistency verification was passed.

[0142] Next, we will examine candidate 3. Perform a downward subharmonic check. Calculate the subharmonic frequencies. For ,

[0143]

[0144] The candidate sequence does not contain any... The matching frequency and subharmonic check are not triggered.

[0145] Similarly, for ,

[0146]

[0147] The candidate sequence does not contain any... The matching frequency and subharmonic check are not triggered.

[0148] In summary, candidate 3 Calculate the confidence level using subharmonic testing:

[0149]

[0150] Therefore, candidate 3 Confirmed through two-way verification It is the fundamental frequency of respiration, and Figure 3 The actual situation is completely consistent, and subsequent candidates will not be verified.

[0151] Based on step 3, define the heart rate protection frequency band and take...

[0152]

[0153] The corresponding frequency range is

[0154]

[0155] In step two, candidate 5 It has fallen into this frequency band.

[0156] In the heart rate protection band Peak detection is performed within the range. The set of detected peaks is... There is only a single peak. According to the tiered processing strategy—when only a single peak exists within the heart rate protection band—the heart rate is directly output; therefore, the heart rate is confirmed. ,correspond The measured heart rate was obtained simultaneously from the electrocardiogram. The match is basically correct.

[0157] Calculate heart rate confidence And the maximum peak amplitude within the heart rate protection frequency band is The average noise floor within the frequency band is approximately ,but

[0158]

[0159] The calculated confidence level for heart rate is much higher than the reliability threshold. The reliability of the heart rate detection results is determined. The spectrum detection results processed by the algorithm of this invention are as follows: Figure 4 As shown in the figure, the respiratory harmonic interference of each order has been significantly suppressed, and the spectrum retains only the true respiratory fundamental frequency and the characteristic peak of the heartbeat, which is consistent with the distribution pattern of the physiological signals measured in this study. The test results of this group show that even under complex working conditions where the amplitude of respiratory harmonics is greater than the respiratory fundamental frequency (…), The harmonic peak value is 33.21, significantly higher than... (True fundamental frequency amplitude 20.21) The algorithm proposed in this invention can still accurately locate the harmonics by relying on harmonic consistency verification combined with subharmonic screening mechanism. The true respiratory base frequency; simultaneously, the accurate heart rate is extracted within the heart rate protection band of the heart rate signal. ( The results of this study fully demonstrate that the algorithm can effectively resist harmonic spectrum interference and stably complete fundamental frequency identification and heart rate calculation.

[0160] To verify the universality of the method of this invention under different respiratory rate conditions, two additional sets of target data with differentiated respiratory rate and heart rate were collected for repeated testing. The comparison graphs of the original power spectra and algorithm processing results of the two sets of experiments are shown below. Figure 5 , Figure 6 As shown.

[0161] like Figure 5 As shown, the actual respiratory fundamental frequency under this working condition is Its second harmonic amplitude significantly exceeds the fundamental respiratory frequency, and the harmonics exhibit multi-peak interference. After harmonic bidirectional verification and attenuation processing according to this invention, it can be accurately identified. Respiratory rate, and stable extraction of heart rate. The results are completely consistent with the actual test results;

[0162] like Figure 6 As shown, the actual fundamental frequency under low-speed breathing conditions in this group is only Spectrum High-amplitude interference occurs in all harmonics, and traditional amplitude-first search algorithms are prone to misjudgment. This invention, however, can still suppress all harmonics and output accurate values. respiratory rate and The heart rate was exactly as measured.

[0163] Multiple sets of experiments with differentiated breathing rates demonstrate that the proposed solution is unaffected by breathing speed and exhibits stable adaptability to various harmonic amplitude inversion scenarios. Traditional solutions typically select the peak value with the largest spectral amplitude as the fundamental frequency of breathing, which may incorrectly identify high-amplitude harmonics as the fundamental frequency in this scenario. In comparison, the algorithm of this invention demonstrates superior anti-interference performance.

[0164] It is understood that the present invention has been described through some embodiments, and those skilled in the art will recognize that various changes or equivalent substitutions can be made to these features and embodiments without departing from the spirit and scope of the invention. Furthermore, under the teachings of the present invention, these features and embodiments can be modified to adapt to specific situations and materials without departing from the spirit and scope of the invention. Therefore, the present invention is not limited to the specific embodiments disclosed herein, and all embodiments falling within the scope of the claims of this application are within the protection scope of the present invention.

Claims

1. A method for eliminating respiratory harmonics based on harmonic consistency verification, characterized in that, Includes the following steps: Step 1: The millimeter-wave radar transmits a linear frequency modulated signal. The echo signal reflected by the chest cavity is subjected to range-dimensional Fourier transform and phase extraction to obtain the phase signal. The phase signal is then subjected to Fourier transform to obtain the amplitude spectrum of the mixed signal. Step 2: Using the median of the amplitude spectrum as the noise floor estimate, peak detection is performed using an adaptive noise floor threshold method. The detected peaks in the amplitude spectrum are arranged in descending order of amplitude to generate a candidate fundamental frequency sequence. Upward harmonic verification and downward subharmonic checking are performed on the frequency of each peak point in the candidate fundamental frequency sequence. The fundamental frequency confidence is calculated for the frequencies that pass both upward harmonic verification and downward subharmonic checking. The current frequency is determined to be a breathing fundamental frequency by using the set fundamental frequency confidence threshold. Step 3: Set the heart rate protection band and detect all peak values ​​within the heart rate protection band; If there is only a single peak within the heart rate protection frequency band, the frequency corresponding to that peak is the estimated heart rate value. If there are multiple peaks within the heart rate protection frequency band, calculate the expected harmonic frequencies falling into the heart rate protection frequency band based on the respiratory fundamental frequency, and apply Hamming window attenuation to these harmonic positions. After the harmonics are attenuated, peak detection is performed again within the heart rate protection frequency band, and the peak with the largest amplitude is selected as the heart rate estimate. The reliability of heart rate estimates is determined based on the confidence level of heart rate detection.

2. The method for eliminating respiratory harmonics based on harmonic consistency verification according to claim 1, characterized in that, The candidate fundamental frequency sequence is obtained through the following process: using the median of the amplitude spectrum As a noise floor estimate, the global detection threshold is: ;in, For amplitude spectrum, The scaling factor is used; the peaks detected in the amplitude spectrum include both amplitude and frequency; all peaks are sorted in descending order of amplitude to generate a candidate fundamental frequency sequence.

3. The method for eliminating respiratory harmonics based on harmonic consistency verification according to claim 2, characterized in that, The upward harmonic verification is as follows: The frequency of each peak point in the candidate fundamental frequency sequence If it is within the respiratory rate range, then check for integer multiples of harmonics, with the highest harmonic order being [number missing]. ;in, This represents the floor operation. Indicates the highest frequency of the amplitude spectrum; For harmonic order The desired harmonic frequency is ; For each desired harmonic frequency Matching is performed in the candidate fundamental frequency sequence with a tolerance of ,in, This is the tolerance factor; when Confirm the existing harmonic order At that time, the harmonic verification was passed; among them, The minimum number of harmonics required to pass verification.

4. The method for eliminating respiratory harmonics based on harmonic consistency verification according to claim 3, characterized in that, The specific details of the downward subharmonic check are as follows: Peak frequency After verifying the upward harmonics, check if its subharmonics exist; for the divisor The subharmonic frequency is ; If a certain peak exists in the candidate fundamental frequency sequence, its frequency sub-harmonic frequency The deviation is within the tolerance, that is... Then the current candidate This is not the true base frequency; continue checking the next frequency. This is the subharmonic tolerance coefficient.

5. The method for eliminating respiratory harmonics based on harmonic consistency verification according to claim 4, characterized in that, The fundamental frequency confidence level is defined as follows: ;like Then confirm the current It is the respiratory fundamental frequency; if all If none of the verifications are successful, the system will enter rollback mode: the lowest frequency peak within the respiratory rate range will be taken as the respiratory fundamental frequency.

6. The method for eliminating respiratory harmonics based on harmonic consistency verification according to claim 5, characterized in that, The specific process of Hamming window attenuation is as follows: Based on the respiratory fundamental frequency, calculate the expected harmonic frequencies that may fall into the heart rate protection band. Apply Hamming window attenuation to these harmonic locations: in, To determine the power spectral amplitude after applying a Hamming window attenuation, Desired harmonic frequency The original power spectrum amplitude at that location, The weighting coefficients for the Hamming window are expressed as follows: in, This refers to the discrete index number within the window function. ; The length of the window function is given; this window function selectively attenuates the harmonic components in the frequency spectrum with the desired harmonic frequency as the center.

7. The method for eliminating respiratory harmonics based on harmonic consistency verification according to claim 6, characterized in that, The respiratory rate range is determined based on the type of organism being tested; The heart rate protection frequency band is set based on prior knowledge or a reference heart rate. If a reference heart rate is available Then the heart rate protection frequency band is selected as follows: in, and These are the lower and upper frequency limits of the heart rate protection band, respectively. As a hard boundary, The search half-width is the value near the reference heart rate; if there is no reference heart rate, the heart rate protection band is directly taken as the hard boundary.

8. The method for eliminating respiratory harmonics based on harmonic consistency verification according to claim 7, characterized in that, The confidence level of heart rate detection is defined as the ratio of the maximum peak amplitude within the heart rate protection frequency band to the average noise floor within the frequency band: in, For the confidence level of heart rate detection, The power spectrum amplitude within the heart rate protection frequency band after Hamming window attenuation; This represents the maximum peak amplitude within the heart rate protection frequency band. For the mean noise floor estimate within the heart rate protection frequency band; when At that time, the heart rate test results are considered reliable.

9. A method for eliminating respiratory harmonics based on harmonic consistency verification according to claim 8, characterized in that, The minimum number of harmonics required for verification. .