Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
CN120436615A - A dual-modal home respiratory monitoring device integrating radar and WiFi channel status information - Google Patents
[go: Go Back, main page]

CN120436615A - A dual-modal home respiratory monitoring device integrating radar and WiFi channel status information - Google Patents

A dual-modal home respiratory monitoring device integrating radar and WiFi channel status information

Info

Publication number
CN120436615A
CN120436615A CN202510556290.6A CN202510556290A CN120436615A CN 120436615 A CN120436615 A CN 120436615A CN 202510556290 A CN202510556290 A CN 202510556290A CN 120436615 A CN120436615 A CN 120436615A
Authority
CN
China
Prior art keywords
respiratory
signal
time
radar
wifi
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202510556290.6A
Other languages
Chinese (zh)
Inventor
赵恒�
葛芷悦
洪弘
朱晓华
丁传威
薛彪
许东波
周庆
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Nanjing University of Science and Technology
Original Assignee
Nanjing University of Science and Technology
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Nanjing University of Science and Technology filed Critical Nanjing University of Science and Technology
Priority to CN202510556290.6A priority Critical patent/CN120436615A/en
Publication of CN120436615A publication Critical patent/CN120436615A/en
Pending legal-status Critical Current

Links

Classifications

    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61BDIAGNOSIS; SURGERY; IDENTIFICATION
    • A61B5/00Measuring for diagnostic purposes; Identification of persons
    • A61B5/08Measuring devices for evaluating the respiratory organs
    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61BDIAGNOSIS; SURGERY; IDENTIFICATION
    • A61B5/00Measuring for diagnostic purposes; Identification of persons
    • A61B5/05Detecting, measuring or recording for diagnosis by means of electric currents or magnetic fields; Measuring using microwaves or radio waves
    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61BDIAGNOSIS; SURGERY; IDENTIFICATION
    • A61B5/00Measuring for diagnostic purposes; Identification of persons
    • A61B5/05Detecting, measuring or recording for diagnosis by means of electric currents or magnetic fields; Measuring using microwaves or radio waves
    • A61B5/0507Detecting, measuring or recording for diagnosis by means of electric currents or magnetic fields; Measuring using microwaves or radio waves using microwaves or terahertz waves
    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61BDIAGNOSIS; SURGERY; IDENTIFICATION
    • A61B5/00Measuring for diagnostic purposes; Identification of persons
    • A61B5/08Measuring devices for evaluating the respiratory organs
    • A61B5/0816Measuring devices for examining respiratory frequency
    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61BDIAGNOSIS; SURGERY; IDENTIFICATION
    • A61B5/00Measuring for diagnostic purposes; Identification of persons
    • A61B5/68Arrangements of detecting, measuring or recording means, e.g. sensors, in relation to patient
    • A61B5/6887Arrangements of detecting, measuring or recording means, e.g. sensors, in relation to patient mounted on external non-worn devices, e.g. non-medical devices
    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61BDIAGNOSIS; SURGERY; IDENTIFICATION
    • A61B5/00Measuring for diagnostic purposes; Identification of persons
    • A61B5/72Signal processing specially adapted for physiological signals or for diagnostic purposes
    • A61B5/7203Signal processing specially adapted for physiological signals or for diagnostic purposes for noise prevention, reduction or removal
    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61BDIAGNOSIS; SURGERY; IDENTIFICATION
    • A61B5/00Measuring for diagnostic purposes; Identification of persons
    • A61B5/72Signal processing specially adapted for physiological signals or for diagnostic purposes
    • A61B5/7235Details of waveform analysis
    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61BDIAGNOSIS; SURGERY; IDENTIFICATION
    • A61B5/00Measuring for diagnostic purposes; Identification of persons
    • A61B5/72Signal processing specially adapted for physiological signals or for diagnostic purposes
    • A61B5/7235Details of waveform analysis
    • A61B5/7253Details of waveform analysis characterised by using transforms
    • A61B5/726Details of waveform analysis characterised by using transforms using Wavelet transforms
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F18/00Pattern recognition
    • G06F18/20Analysing
    • G06F18/25Fusion techniques
    • G06F18/254Fusion techniques of classification results, e.g. of results related to same input data
    • G06F18/256Fusion techniques of classification results, e.g. of results related to same input data of results relating to different input data, e.g. multimodal recognition
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F18/00Pattern recognition
    • G06F18/20Analysing
    • G06F18/29Graphical models, e.g. Bayesian networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B15/00Suppression or limitation of noise or interference
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B17/00Monitoring; Testing
    • H04B17/30Monitoring; Testing of propagation channels
    • H04B17/309Measuring or estimating channel quality parameters
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/08Testing, supervising or monitoring using real traffic
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/30Services specially adapted for particular environments, situations or purposes
    • H04W4/38Services specially adapted for particular environments, situations or purposes for collecting sensor information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W84/00Network topologies
    • H04W84/02Hierarchically pre-organised networks, e.g. paging networks, cellular networks, WLAN [Wireless Local Area Network] or WLL [Wireless Local Loop]
    • H04W84/10Small scale networks; Flat hierarchical networks
    • H04W84/12WLAN [Wireless Local Area Networks]

Landscapes

  • Health & Medical Sciences (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Public Health (AREA)
  • General Health & Medical Sciences (AREA)
  • Animal Behavior & Ethology (AREA)
  • Signal Processing (AREA)
  • Veterinary Medicine (AREA)
  • Surgery (AREA)
  • Molecular Biology (AREA)
  • Medical Informatics (AREA)
  • Heart & Thoracic Surgery (AREA)
  • Biomedical Technology (AREA)
  • Pathology (AREA)
  • Biophysics (AREA)
  • Artificial Intelligence (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Physiology (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Data Mining & Analysis (AREA)
  • Theoretical Computer Science (AREA)
  • Psychiatry (AREA)
  • Pulmonology (AREA)
  • Bioinformatics & Computational Biology (AREA)
  • Evolutionary Biology (AREA)
  • Bioinformatics & Cheminformatics (AREA)
  • Evolutionary Computation (AREA)
  • General Engineering & Computer Science (AREA)
  • Nuclear Medicine, Radiotherapy & Molecular Imaging (AREA)
  • Radiology & Medical Imaging (AREA)
  • General Physics & Mathematics (AREA)
  • Electromagnetism (AREA)
  • Quality & Reliability (AREA)
  • Radar Systems Or Details Thereof (AREA)

Abstract

本发明公开了一种融合雷达和WiFi信道状态信息双模态的居家呼吸监测装置,包括雷达信号采集处理模块,用于通过毫米波FMCW雷达探测人体呼吸信号,对FMCW雷达获取的I/Q正交回波信号进行处理,得到呼吸信号;WiFi信号采集处理模块,用于通过WiFi无线网卡获取包含呼吸活动信息的CSI信号,计算接收信道的CSI比值,以去除时变噪声,进而提取呼吸信号;数据通信模块,用于通过不同的网线传输模式构建基于毫米波FMCW雷达和WiFi的组网系统;呼吸信息融合模块,用于对上述两个呼吸信号进行动态融合。本发明从多传感器呼吸信号提取出发,通过融合算法实现居家室内环境中人员呼吸信号的精准探测,探测方法有效可行,性能可靠。

The present invention discloses a dual-modal home respiratory monitoring device that integrates radar and WiFi channel state information. The device includes a radar signal acquisition and processing module for detecting human respiratory signals using a millimeter-wave FMCW radar and processing the I/Q quadrature echo signals acquired by the FMCW radar to obtain a respiratory signal; a WiFi signal acquisition and processing module for acquiring a CSI signal containing respiratory activity information using a WiFi wireless network card, calculating the CSI ratio of the receiving channel to remove time-varying noise, and then extracting the respiratory signal; a data communication module for constructing a networking system based on millimeter-wave FMCW radar and WiFi using different network cable transmission modes; and a respiratory information fusion module for dynamically fusing the two respiratory signals. Based on multi-sensor respiratory signal extraction, the present invention uses a fusion algorithm to accurately detect human respiratory signals in a home indoor environment. The detection method is effective and feasible, with reliable performance.

Description

Double-mode household respiration monitoring device integrating radar and WiFi channel state information
Technical Field
The invention belongs to the technical field of home health monitoring, and particularly relates to a home respiration monitoring device integrating radar and WiFi channel state information.
Background
It is important to establish health monitoring and management mechanisms. By implementing home health monitoring, health problems can be found in time and intervention can be performed, thereby promoting early diagnosis and treatment.
Respiration is one of the most basic physiological activities of the human body, and the respiratory activities can directly reflect the health state of the human body. The home respiration monitoring has important functions in early warning, chronic disease management, sleep improvement, medical burden alleviation, life quality improvement and special crowd protection, and is an important tool for modern health management. The traditional home respiration monitoring method mostly adopts a contact type or wearable type mode, and the monitoring mode has the problems of low wearing comfort and frequent charging requirement. The covering of the full scene during the whole day cannot be performed on the breathing activities of the personnel in the complex home scene.
In recent years, research on respiration monitoring technology based on a noncontact sensing method has been rapidly increasing. Common non-contact respiration monitoring modes include audio, video, infrared and radio frequency sensors. Among the above technologies, the radio frequency sensing technology based on radar or WiFi has the advantages of fine sensing granularity, strong real-time performance, wide monitoring range and good privacy protection, and becomes a hotspot for research and application.
However, the home scene is complex and various, and channel state information of radar or WIFI may have defects in some scenes. It is difficult for a single rf sensor to effectively cover a home scene. In summary, it is difficult to meet the requirements of respiratory monitoring throughout the day in complex home scenarios using a single radar or single WIFI channel state information approach. Therefore, the performance of home respiration monitoring is effectively improved by fully fusing the radar channel state information and the WIFI channel state information, and the method is a preferable scheme for realizing home respiration monitoring all the day.
Disclosure of Invention
The invention aims to solve the problems of the prior art and provides a home respiration monitoring device integrating radar and WiFi channel state information.
The technical scheme for realizing the purpose of the invention is that the home respiration monitoring device integrating radar and WiFi channel state information comprises a radar signal acquisition processing module, a WiFi signal acquisition processing module, a data communication module and a respiration information fusion module;
The radar signal acquisition processing module is used for detecting human respiratory signals through the millimeter wave FMCW radar and processing the I/Q orthogonal echo signals acquired by the FMCW radar to obtain respiratory signals;
the WiFi signal acquisition processing module is used for acquiring the CSI signal containing the breathing activity information through the WiFi wireless network card, calculating the CSI ratio of the receiving channel, removing time-varying noise and further extracting the breathing signal;
the data communication module is used for constructing a networking system based on millimeter wave FMCW radar and WiFi through different network cable transmission modes;
And the respiratory information fusion module is used for dynamically fusing the respiratory signals output by the radar signal acquisition and processing module and the WiFi signal acquisition and processing module.
Further, the radar signal acquisition processing module is configured to detect a respiratory signal of a human body through a millimeter wave FMCW radar, and process an I/Q quadrature echo signal acquired by the FMCW radar to obtain a respiratory signal, and specifically includes:
The method comprises the steps of 1-1, acquiring and extracting in-phase quadrature signals (I/Q signals) in a plurality of range gates by adopting a millimeter wave FMCW radar, wherein a transmitting synthesizer of the FMCW radar generates a linear frequency modulation continuous wave signal, the signal is reflected when encountering a human body;
step 1-2, preprocessing in-phase and quadrature signals, i.e. I/Q signals, in the plurality of distance gates to eliminate direct current bias in the signals, demodulate target information and filter interference noise;
Step 1-3, reconstructing the plurality of distance gate signals preprocessed in step 1-2 by adopting a method based on nonnegative matrix factorization, and eliminating random body movement interference;
And step 1-4, outputting a respiratory signal by selecting a distance gate based on the respiratory quality index according to the signals of the distance gates obtained after the reconstruction in the step 1-3.
Further, the WiFi signal acquisition processing module is configured to acquire a CSI signal containing respiratory activity information through a WiFi wireless network card, calculate a CSI ratio of a receiving channel, so as to remove time-varying noise, and further extract a respiratory signal, and specifically includes:
Step 2-1, acquiring an original CSI signal containing respiratory activity information through a WiFi wireless network card, wherein the WiFi wireless network card captures a CSI data packet containing the respiratory activity information under a multiple-transmission multiple-reception configuration, wherein the CSI data packet is a complex matrix, the dimension is N multiplied by M multiplied by P, N is the number of transmitting antennas, M is the number of receiving antennas, and P is the number of subcarrier paths grabbed by the WiFi wireless network card;
Step 2-2, calculating the CSI Ratio of two receiving antennas to obtain a CSI Ratio data packet, thereby removing time-varying noise;
For each CSI data packet corresponding to one time stamp respectively, calculating CSI Ratio values of all possible combined receiving antenna pairs, namely CSI Ratio, for each transmitting antenna, generating Ratio values of W rows and 1 columns, and then forming a W X Q CSI Ratio matrix, wherein W is the total number of sub-carrier paths of all possible receiving antenna pairs, and Q is the number of the CSI Ratio data packets;
Step 2-3, correcting the CSI Ratio data packet output in the step 2-2 based on prior information, compensating phase static component and compensating phase jump, outputting an updated CSI Ratio matrix of W X Q1, wherein Q1 is the number of the updated CSI Ratio data packets;
step 2-4, dividing the CSI Ratio matrix of the W×Q1 output in the step 2-3 into W channels, each channel comprising Sub-carriers for each channelSub-carrier wave, carrying out sub-carrier wave fusion based on RQI maximum ratio combining-principal component analysis method, namely RQI-MRC-PCA; the w channels are then selected based on the respiratory quality index RQI, generating the final respiratory waveform.
Further, the breath information fusion module is used for dynamically fusing the breath signals output by the radar signal acquisition and processing module and the WiFi signal acquisition and processing module, and specifically comprises:
step 4-1, extracting the respiratory frequency changing along with time for the respiratory signals output by the radar signal acquisition and processing module and the WiFi signal acquisition and processing module, specifically comprising:
(1) Wavelet transformation extracting time-frequency information, namely wavelet transformation is carried out on the respiratory signal x (t) to obtain values of parameters of a scale a and a time b and a time-frequency representation W f (a, b) expression:
wherein a is a scale parameter inversely proportional to frequency, b is a time parameter corresponding to a time axis position, ψ is a mother wavelet function for local frequency analysis, Wavelet transformation decomposes the signal into components of different scales to obtain a time-scale joint distribution, i.e. an instant frequency representation W f (a, b), reflecting the energy distribution of the signal at time b and scale a;
(2) Calculating candidate instantaneous frequencies, for W f (a, b) noteq0, by phase derivative to calculate candidate instantaneous frequencies ω (a, b):
wherein, the deflection is guided The rate of change over time b, symbol i representing the imaginary unit;
(3) Synchronous compression transformation, namely, reassigning the time-frequency representation W f (a, b) along a frequency axis to generate a high-resolution time-frequency distribution T f (omega, b):
Wherein A (b) is an effective scale set, satisfies |W f (a, b) | > E, and E is a threshold value for noise suppression, delta (·) is a Dirac function, and energy is redistributed to an estimated instantaneous frequency omega;
(4) The instantaneous respiratory rate is extracted by searching the frequency corresponding to the energy peak value in the time-frequency distribution T f (omega, b) for each time b as the instantaneous respiratory rate f r (T):
fr(t)=arg max(Tf(ω,b))
Wherein arg max (T f (ω, b)) represents an argument ω corresponding to the maximum value of the return energy intensity;
step 4-2, comprehensively evaluating the signal quality of the sensor on the respiratory signals output by the radar signal acquisition and processing module and the WiFi signal acquisition and processing module through three independent indexes of respiratory quality index, respiratory frequency and signal fluctuation standard deviation, wherein the method specifically comprises the following steps:
Step 4-2-1, calculating a SQI value SQI RQI of the sensor based on the respiratory quality index RQI:
The sensors comprise millimeter wave FMCW radar and WiFi wireless network cards, SQI represents a signal quality index, max RQI represents that the RQI value of a certain sensor is ranked highest in all sensors, the 2th max RQI represents that the RQI value of a certain sensor is ranked second highest in all sensors, the 2th min RQI represents that the RQI value of a certain sensor is ranked second lowest in all sensors, and min RQI represents that the RQI value of a certain sensor is ranked lowest in all sensors;
Step 4-2-2, calculating a respiratory rate based sensor SQI value SQI RR:
Wherein RR represents the respiratory rate;
Step 4-2-3, calculating a sensor SQI value SQI SDFD based on the first order differential standard deviation, SDFD:
Wherein, min sigma represents a minimum sigma of a certain sensor, the 2th min sigma represents a second minimum sigma of a certain sensor, max sigma represents a maximum sigma of a certain sensor, the 2th max sigma represents a second maximum sigma of a certain sensor;
Sigma is the standard deviation of the first order difference of the original signal:
D[i]=x[i]-x[i-1]
wherein, x [ i ], x [ i-1] are the ith and ith-1 sampling points of the original respiratory signal, D [ i ] is the difference value of adjacent sampling points, N is the length of the first-order difference of the signal, and mu is the average value of the first-order difference of the original signal;
Step 4-2-4, calculating the final SQI of the sensor based on the three SQI values of steps 4-2-1 through 4-2-3:
SQI=SQIRQI×SQIRR×SQISDFD
Step 4-3, dynamically selecting a sensor output strategy based on the final SQI of the sensor, wherein the strategy comprises single-sensor direct output, multi-sensor preferred output and fusion output;
output rule of time-varying breathing rate TRR:
Th is a threshold value of radar and WiFi signals SQI, SQI radar is the SQI of the radar, SQI wifi is the SQI of the WiFi, TRR radar is the time-varying breathing frequency of the radar, TRR wifi is the time-varying breathing frequency of the WiFi, and TRR fusion is the time-varying breathing frequency of the radar and the WiFi in a fused mode.
Compared with the prior art, the invention has the remarkable advantages that:
(1) After the signal reconstruction algorithm based on nonnegative matrix factorization and the range gate selection algorithm based on the respiratory quality index in the radar signal processing flow provided by the invention are used for respiratory rate detection, the influence of random body movement and range gate signal quality spread is eliminated. Under the error range of 2BPM (times per minute), the average breath detection rate of the algorithm reaches more than 98%, the method is improved by about 8% compared with the traditional fixed distance gate method, and the anti-interference capability on random motion is enhanced.
(2) The signal optimized by the data correction algorithm in the WiFi signal processing flow is completely matched with the reference sensor signal, the static component bias and the phase jump are eliminated by the signal processed by the phase correction algorithm, RQI-MRC-PCA is fused, and the respiratory frequency average absolute error of the optimal channel output signal processing method is small. The measured data show that after the processing of the algorithm, the average absolute error (MAE) of the respiratory frequency is respectively 0.29BPM, 0.25BPM, 0.42BPM and 0.54BPM, which are far lower than those of other comparison algorithms, and the average absolute error of the respiratory frequency of RQI-MRC-PCA is only increased from 0.29BPM (2 meters) to 0.54BPM (5 meters) along with the increase of the distance, and the increase is less than 0.25BPM, so that the stable performance can be maintained at different distances.
(3) The SQI-based output state judgment and improved Bayesian model fusion algorithm-based multi-sensor data fusion method provided by the invention can accurately select the optimal respiratory frequency output at the current moment based on the characteristic parameters of signal quality. The respiratory rate of the fused system in the error range of 1BPM reaches 95.3%, the respiratory rate is improved by more than 2.6 times compared with that of a single radar/WiFi sensor (36.4% at maximum), the average absolute error is reduced to 0.38BPM, and the respiratory rate is reduced by more than 95% compared with that of an optimal single sensor (7.9 BPM).
The invention is described in further detail below with reference to the accompanying drawings.
Drawings
Fig. 1 is a monitoring flow chart of the home respiration monitoring device of the present invention which fuses radar and WiFi channel state information.
Fig. 2 is a schematic diagram of an indoor home experiment with radar-WiFi fusion in one embodiment.
FIG. 3 is a diagram of a state change based on the SQI algorithm in one embodiment.
FIG. 4 is a time-varying respiratory rate plot for each sensor and fusion in one embodiment.
Detailed Description
The present application will be described in further detail with reference to the drawings and examples, in order to make the objects, technical solutions and advantages of the present application more apparent. It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the scope of the application.
It should be noted that, if there is a description of "first", "second", etc. in the embodiments of the present invention, the description of "first", "second", etc. is only for descriptive purposes, and is not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defining "a first" or "a second" may explicitly or implicitly include at least one such feature. In addition, the technical solutions of the embodiments may be combined with each other, but it is necessary to base that the technical solutions can be realized by those skilled in the art, and when the technical solutions are contradictory or cannot be realized, the combination of the technical solutions should be considered to be absent and not within the scope of protection claimed in the present invention.
In one embodiment, the invention provides a home respiration monitoring device integrating radar and WiFi channel state information, which comprises a radar signal acquisition processing module, a WiFi signal acquisition processing module, a data communication module and a respiration information fusion module;
The radar signal acquisition processing module is used for detecting human respiratory signals through the millimeter wave FMCW radar and processing the I/Q orthogonal echo signals acquired by the FMCW radar to obtain respiratory signals;
the WiFi signal acquisition processing module is used for acquiring the CSI signal containing the breathing activity information through the WiFi wireless network card, calculating the CSI ratio of the receiving channel, removing time-varying noise and further extracting the breathing signal;
the data communication module is used for constructing a networking system based on millimeter wave FMCW radar and WiFi through different network cable transmission modes;
And the respiratory information fusion module is used for dynamically fusing the respiratory signals output by the radar signal acquisition and processing module and the WiFi signal acquisition and processing module.
The principle of the device of the invention is shown in figure 1.
Further, in one embodiment, the radar signal acquisition processing module is configured to detect a respiratory signal of a human body through a millimeter wave FMCW radar, and process an I/Q quadrature echo signal acquired by the FMCW radar to obtain the respiratory signal, and specifically includes:
The method comprises the steps of 1-1, acquiring and extracting in-phase quadrature signals (I/Q signals) in a plurality of range gates by adopting a millimeter wave FMCW radar, wherein a transmitting synthesizer of the FMCW radar generates a linear frequency modulation continuous wave signal, the signal is reflected when encountering a human body;
Step 1-2, preprocessing the in-phase and quadrature signals, i.e. the I/Q signals, in the plurality of distance gates, eliminating direct current offset in the signals, demodulating target information and filtering interference noise;
Step 1-3, reconstructing the plurality of distance gate signals preprocessed in step 1-2 by adopting a method based on nonnegative matrix factorization, and eliminating random body movement interference;
And step 1-4, outputting a respiratory signal by selecting a distance gate based on the respiratory quality index according to the signals of the distance gates obtained after the reconstruction in the step 1-3.
Further, in some embodiments, the preprocessing of the in-phase quadrature signals, i.e. I/Q signals, in the plurality of range gates in step 1-2 specifically includes:
Step 1-2-1, performing direct current bias elimination on I/Q signals in a plurality of distance gates, namely solving the circle center offset of an I/Q track by a least square circle fitting method, and respectively subtracting the offset from the original I/Q signals so as to eliminate the direct current bias;
Here, according to the complex signal theory, an ideal I/Q signal constitutes a unit circular trace on a complex plane centered at an origin. Direct current bias is introduced into an actual system under the influence of factors such as non-ideality of a radio frequency front end, nonlinearity of a device, power supply noise and the like, and the direct current bias causes the center drift of an I/Q track moving with an origin, so that the direct current bias needs to be eliminated;
Step 1-2-2, demodulating the I/Q signal using differential Cross-phase multiplication (DIFFERENTIATE AND Cross-multiple, DACM);
and step 1-2-3, filtering the demodulated signal through a band-pass filter.
The demodulated signal is preferably filtered here with a bandpass filter having a passband in the range of 0.1-0.5 Hz.
Further, in some embodiments, the step 1-3 is performed on the plurality of distance gate signals preprocessed in step 1-2 by reconstructing the plurality of distance gate signals by a method based on non-negative matrix factorization, thereby eliminating Random Body Motion (RBM) interference.
Step 1-3-1, performing Short Time Fourier Transform (STFT) on the plurality of distance gate signals preprocessed in step 1-2 to obtain a time spectrum, and performing non-negative matrix factorization on the time spectrum;
Here, the preprocessed plurality of range gate signals include chest motion and Random Body Motion (RBM) interference during breathing, the Random Body Motion (RBM) is mapped into the radar signal, the amplitude is usually much stronger than the breathing motion, so that the required breathing signal is submerged by the Random Body Motion (RBM) and the breathing frequency and breathing amplitude information cannot be extracted.
The step 1-3-1 specifically comprises the following steps:
taking out a certain distance gate signal X (T) from the preprocessed distance gate signals, and performing Short-time Fourier transform (Short-Time Fourier Transform, STFT) to obtain a time spectrum |X|, wherein the signal length of X (T) is N, the parameters of STFT are window length L and sliding window step length S, and the calculation formula of the time frame number T is T= [] Is rounded, whereby the dimension of |X| is L×T;
non-negative matrix factorization of |X|:
Wherein K is the preset base number and represents the combination of K frequency-time bases, the dimension of the matrix W is L multiplied by K, each column W i is a frequency base and represents different frequency components, the dimension of the matrix H is K multiplied by T, each row Reflecting the contribution of the frequency component in different time periods for corresponding time intensity changes of the frequency base w i;
step 1-3-2, detecting random body movement interference, namely RBM interference, according to the two characteristics of high amplitude and sparsity, and carrying out signal reconstruction to eliminate the random body movement interference;
here, the Random Body Motion (RBM) is a short-time high-intensity motion whose energy is significantly higher than that of the periodic respiratory signal in the time-frequency domain, resulting in an energy burst corresponding to the base component h i, the Random Body Motion (RBM) disturbance is usually dominated by a single frequency component (e.g., high frequency impact), while the respiratory signal is distributed in a low frequency band, and the energy of other base components approaches the noise level when the RBM occurs, and thus, the RBM disturbance is detected according to two features of ultra-high amplitude and sparsity.
The step 1-3-2 specifically comprises the following steps:
step 1-3-2-1, detecting an abnormal high-amplitude time window;
The short-time Fourier transform divides a long-time continuous signal into a plurality of local time segments, and calculates the average energy of all time base components h i in the current time window, takes the average energy value as a first threshold value, and marks the time window as an abnormally high amplitude candidate if the energy of a certain time base component h i in the current time window exceeds the first threshold value;
Step 1-3-2-2, detecting sparsity;
For each abnormal high-amplitude candidate time window, checking whether the energy of all other base components h j in the time window is continuously lower than a preset second threshold (a minimum value), if so, indicating that sparsity exists, wherein RBM exists in the time window, and an interference source is the base component h i;
step 1-3-2-3, spectrum reconstruction during signal;
reconstructing the signal time spectrum |X| to
Where s i is a selection function, if the presence of RBM is detected within the ith time window, s i = 0, otherwise s i = 1;
here, by eliminating the time base component h i (i.e., setting s i =0) for which a certain time window is determined to be RBM interfering, all time windows are so processed by retaining the base component that is not interfered (i.e., setting s i =1).
Step 1-3-2-4, combining the reconstructed time spectrum with the original phase, and generating a respiration time domain signal for eliminating random body movement interference through inverse short time Fourier transform.
The reconstruction method as above is also performed on the signals of the other range gates to eliminate Random Body Motion (RBM) interference.
Further, in some embodiments, the signals of the plurality of distance gates obtained after the reconstruction in the steps 1-3 in the steps 1-4 are selected by the distance gate based on the respiratory quality index, and the output respiratory signals specifically include:
Step 1-4-1, signal segmentation cutting, namely cutting the reconstructed plurality of range gate signals (each range gate corresponds to a respiratory signal with different detection distances) into continuous time slices according to a preset time length, wherein the preset time is preferably 30 seconds;
Step 1-4-2, respectively calculating a respiratory quality index RQI of each time segment of each range gate;
The definition of the respiratory quality index (Respiratory Quality Indices, RQI) is:
Wherein, P max is the sum of the spectrogram peak value and the front and rear two continuous Fourier coefficients (total 3 coefficients) in the respiratory frequency range (0.1-0.7 Hz), and P RB is the sum of all Fourier coefficients in the whole respiratory frequency range;
Here, if the signal is sinusoidal, all signals are concentrated on a single spectrum, RQI is 1, and if the signal quality is too poor, the energy is spread over all frequencies, RQI is low. Thus, the higher the RQI, the more concentrated the energy of the respiratory component, the better the respiratory signal quality;
step 1-4-3, dynamically selecting and signal splicing, namely respectively calculating the respiratory quality indexes RQI of all range gates for the same time segment, comparing the RQI values of all range gates in the time segment, selecting the range gate signal with the highest RQI as the optimal range gate signal of the time segment, and then splicing the optimal range gate signals selected by each time segment according to time sequence to form continuous output so as to obtain respiratory signals.
Further, in one embodiment, the WiFi signal acquisition processing module is configured to acquire CSI signals containing respiratory activity information through a WiFi wireless network card (such as Intel 5300 network card series), calculate a CSI ratio of a receiving channel to remove time-varying noise, and further extract respiratory signals, and specifically includes:
Step 2-1, acquiring an original CSI signal containing respiratory activity information through a WiFi wireless network card, wherein the WiFi wireless network card (such as Intel 5300 network card series) captures a CSI data packet containing the respiratory activity information under a multiple-transmission and multiple-reception configuration, wherein the CSI data packet is a complex matrix, the dimension is N multiplied by M multiplied by P, N is the number of transmitting antennas, M is the number of receiving antennas, and P is the number of subcarrier paths grabbed by the WiFi wireless network card;
Preferably, a 2-transmit and 3-receive configuration is adopted, and only 30 sub-carriers in 56 paths of effective sub-carriers in the IEEE 802.11n protocol are grabbed under the limitation of CSI Tool, the WiFi network card continuously monitors channels, and captures CSI data packets containing breathing activity information, wherein the content of the data packets is a complex matrix, and the dimension is 2 (transmitting antenna) x 3 (receiving antenna) x 30 (sub-carrier).
Step 2-2, calculating the CSI Ratio of two receiving antennas to obtain a CSI Ratio data packet, thereby removing time-varying noise;
For each CSI data packet corresponding to one time stamp respectively, calculating CSI Ratio values of all possible combined receiving antenna pairs, namely CSI Ratio, for each transmitting antenna, generating Ratio values of W rows and 1 columns, and then forming a W X Q CSI Ratio matrix, wherein W is the total number of sub-carrier paths of all possible receiving antenna pairs, and Q is the number of the CSI Ratio data packets;
for the above described 2-transmit-3-receive configuration, for example, the CSI Ratio is calculated for each transmit antenna (TX 1 and TX 2), the CSI Ratio is calculated for all possible combinations of receive antenna pairs, the receive antenna pair of TX1 (RX 2/RX1, RX3/RX 2), the receive antenna pair of TX2 (RX 2/RX1, RX3/RX 2);
calculating the CSI Ratio of all the receiving antenna pairs for each data packet, generating Ratio values of 180 rows and 1 columns, and finally forming a matrix of 180 XN (N is the number of the data packets) containing 180 sub-carrier CSI Ratio;
Step 2-3, correcting the CSI Ratio data packet output in the step 2-2 based on prior information, compensating phase static component and compensating phase jump, outputting an updated CSI Ratio matrix of W X Q1, wherein Q1 is the number of the updated CSI Ratio data packets;
step 2-4, dividing the CSI Ratio matrix of the W×Q1 output in the step 2-3 into W channels, each channel comprising Sub-carriers for each channelSub-carrier wave, carrying out sub-carrier wave fusion based on RQI maximum ratio combining-principal component analysis method, namely RQI-MRC-PCA; the w channels are then selected based on the respiratory quality index RQI, generating the final respiratory waveform.
Here, by way of example, the 180×m CSI Ratio matrix (M is the number of valid data packets) output in step 2-3 is composed of 6 channels, each channel containing 30 subcarriers. The 30 sub-carriers of each channel are subjected to RQI-MRC-PCA (maximum ratio combining-principal component analysis) sub-carrier fusion based on RQI, and finally signals of 6 channels are selected based on a respiratory quality index RQI to generate a final respiratory waveform.
Further, in some embodiments, step 2-3 specifically includes:
Step 2-3-1, for each sub-carrier CSI Ratio, performing correction based on prior information, specifically including:
and 2-2, screening the CSI Ratio matrix of the W X Q (180X N) output in the step, namely traversing the time stamp of the adjacent CSI Ratio data packet, calculating the time difference, marking as repeated data packets when the time difference is smaller than a preset threshold value, eliminating one of the CSI Ratio data packets, outputting the CSI Ratio matrix of the W X Q1, and obtaining the Q1 as the total number of the residual effective CSI Ratio data packets after elimination, wherein the time difference is expressed as follows by a formula:
CSI Ratioi=CSI Ratioi×Remaini
Wherein Remain i is a retention factor of the i-th CSI Ratio packet, i.e., CSI Ratio i, T i and T i-1 represent time stamps of the i-th CSI Ratio packet and the i-1-th CSI Ratio packet, respectively, T TH is a preset threshold, and if the value of T i-Ti-1 is smaller than the preset threshold, the sampling interval of the packet is considered to be abnormal, and the i-th CSI Ratio packet needs to be removed;
step 2-3-2, performing phase jump compensation for each sub-carrier CSI Ratio, specifically including:
calculating the phase difference scores of adjacent time sequences for the CSI Ratio of each sub-carrier, taking the average value of all phase difference absolute values, and setting 10 times of the average value as a dynamic threshold value, wherein the phase difference scores are obtained by subtracting the phase at the last time from the phase at the previous time;
Traversing time sequence data, judging phase jump if the absolute value of the phase difference at a certain moment exceeds the dynamic threshold value, multiplying the CSI Ratio data packet (real part and imaginary part) at the moment by a compensation factor-1 to counteract jump, otherwise, keeping the original value;
Expressed by the formula:
Dphase[i]=Phasei-Phasei-1 i≥2
PhaseTH=10×ave(abs(Dphase))
real(CSI Ratioi)=real(CSI Ratioi)×Compensatei
imag(CSI Ratioi)=imag(CSI Ratioi)×Compensatei
Calculating a difference value between an i-th CSI Ratio data packet Phase i and an i-1-th CSI Ratio data packet Phase i-1, wherein the difference value is used for detecting whether mutation exists in adjacent time intervals;
a second formula, calculating an average value (ave) according to the absolute value abs (D phase) of the Phase difference of all data packets of the current subcarrier, and taking 10 times of the average value as a dynamic threshold value (Phase TH);
Calculating a compensation factor, namely calculating the phase difference absolute value of two adjacent CSI Ratio data packets, judging that phase jump occurs if the absolute value exceeds a dynamic threshold, and setting the compensation factor to be-1, otherwise, keeping the compensation factor to be-1 (no jump, no compensation is needed);
The fourth and fifth formulas are that the real part and the imaginary part of the CSI Ratio at the jump time are multiplied by a compensation factor-1 at the same time to realize phase compensation;
Wherein, phase i and Phase i-1 respectively represent the phases of the ith CSI Ratio data packet and the (i-1) th CSI Ratio data packet, D phase [ i ] is the Phase difference, phase TH is the threshold value, compensate i is the compensation factor of the ith CSI Ratio data packet;
step 2-3-3, for each sub-carrier CSI Ratio, performing phase static component compensation, specifically including:
And (3) adopting a circle fitting method based on a least square method, and performing iterative calculation to ensure that the error of the horizontal coordinate, the vertical coordinate and the radius is smaller than a preset allowable error, and further outputting the circle center coordinate and the radius to finish the phase static component compensation.
Here, first, the least square method performs a circle fit to the constellation of CSI Ratio. Let the center coordinates be (a, b), the radius of the circle be r, the distance from the points (x i,yi) on the circle to the center of the circle be d i:
(x-a)2+(y-b)2=r2
Where (x i,yi) is the coordinates of a point on the circle and d i is the distance of the point from the center of the circle. According to the least square idea, only Σ is needed (d i-r)2 is the minimum time, and the estimated circle is the target circle fitted by the least square method:
E=min[(∑(di-r)2)]
unfolding the following steps:
The partial derivatives are calculated for a, b and r respectively, the partial derivatives are set to be 0, and an iteration formula is obtained by combining an iteration idea:
and n is the iteration number, iterating until the error is smaller than a set threshold value, outputting a circle center (a, b) and a radius r, and respectively subtracting a and b from the real part and the imaginary part of the CSI Ratio to finish the phase static component compensation.
Further, in some embodiments, steps 2-4 specifically include:
Step 2-4-1, sub-carrier screening is carried out by sub-channel processing, sub-carriers with RQI higher than a channel average threshold value are reserved, and the rest sub-carriers are removed, specifically:
For each channel, calculating a respiratory quality index RQI of each sub-carrier;
Calculating average RQI values of all subcarriers of a current channel, wherein the average RQI values are used as subcarrier rejection thresholds, when the RQI value of a certain subcarrier is larger than the subcarrier rejection threshold, the subcarrier is reserved, otherwise, the subcarrier is rejected, and the calculation formula of the reserved factor value of the subcarrier is as follows:
where RQI i is the RQI value for the ith sub-carrier, RQI th is the sub-carrier removal threshold, Is a reserved factor of the i-th sub-carrier;
Step 2-4-2, performing gain calculation and direction factor calculation on the subcarriers reserved by each channel;
(1) The gain of the sub-carrier reserved by each channel is calculated based on the Maximum Ratio Combining (MRC), and the calculation formula is as follows:
Wherein gain i is the gain of the ith sub-carrier, and RMS i E(breath) and RMS i E(noise) are the root mean square of the respiratory signal and noise signal energy of the ith sub-carrier, respectively;
(2) The direction correction is performed on the reserved subcarriers of each channel based on Principal Component Analysis (PCA), specifically:
and (3) carrying out principal component analysis on the reserved subcarrier signals, extracting a first principal component, wherein if the first principal component is positive, the direction factor value of the subcarrier signals is 1, otherwise, the direction factor value is-1, and the calculation formula is as follows:
Wherein factor PCA is a direction factor of the i-th sub-carrier, and PCA i is a first main component of the i-th sub-carrier;
Step 2-4-3, performing weighted calculation on the phase and gain values, the reserved factor value and the direction factor value of the subcarrier signals, and fusing all subcarriers in one channel into one respiration waveform:
Where Phase initial is the original Phase of the i-th sub-carrier, phase i is the Phase of the i-th sub-carrier calculated by weighting, and Phase fusion is the Phase of the fusion output;
And 2-4-4, cutting the phase of the fusion output in the step 2-4-3 into segments according to a preset time length t, wherein t is in seconds, recalculating a respiratory quality index RQI value for the t second segment of each channel, selecting the channel segment with the highest RQI value as the optimal channel segment for w channel segments in the same time period, and connecting the optimal channel segments in each time period in time sequence to generate a final respiratory waveform.
Further, in one embodiment, the data communication module constructs a networking system based on radar and WiFi through different network cable transmission modes, and specifically includes:
And 3-1, connecting the radar with a host, and pre-configuring a remote target IP address matched with the host in radar equipment before the radar respiration monitoring operation. Then, connecting the radar with a host computer by utilizing a network cable;
step 3-2, connecting WiFi with a host, specifically comprising:
Step 3-2-1, respectively constructing environments at a server and a client, completing software package installation, and performing Samba configuration such as sharing folders;
and 3-2-2, setting at a server, and storing the CSI data acquired by the WiFi respiration monitoring system into a shared folder to realize networking of equipment at the WiFi respiration monitoring system and a PC. And the WiFi respiration monitoring system is used as end equipment and is responsible for collecting and transmitting respiration data to the side equipment.
Further, in one embodiment, the respiratory information fusion module is configured to dynamically fuse the respiratory signals output by the radar signal acquisition processing module and the WiFi signal acquisition processing module, and specifically includes:
step 4-1, extracting the respiratory frequency changing along with time for the respiratory signals output by the radar signal acquisition and processing module and the WiFi signal acquisition and processing module, specifically comprising:
(1) Wavelet transformation extracting time-frequency information, namely wavelet transformation is carried out on the respiratory signal x (t) to obtain values of parameters of a scale a and a time b and a time-frequency representation W f (a, b) expression:
Wherein a is a scale parameter inversely proportional to frequency (a smaller corresponding to a high frequency component and a larger corresponding to a low frequency), b is a time parameter corresponding to a time axis position, ψ is a mother wavelet function for local frequency analysis, Wavelet transformation decomposes the signal into components of different scales to obtain a time-scale joint distribution, i.e. an instant frequency representation W f (a, b), reflecting the energy distribution of the signal at time b and scale a;
(2) Calculating candidate instantaneous frequencies, for W f (a, b) noteq0, by phase derivative to calculate candidate instantaneous frequencies ω (a, b):
wherein, the deflection is guided The change rate of the time b is represented, the symbol i represents an imaginary unit, and the phase change of the complex domain is converted into the instantaneous frequency of the real domain through the imaginary unit i;
(3) Synchronous compression transformation, namely, reassigning the time-frequency representation W f (a, b) along a frequency axis to generate a high-resolution time-frequency distribution T f (omega, b):
Wherein A (b) is an effective scale set, meeting the condition that |W f (a, b) | > E, E is a threshold value and used for suppressing noise, delta (·) is a Dirac function, energy is redistributed to an estimated instantaneous frequency omega, and energy dispersed on a plurality of scales is concentrated to the vicinity of a real instantaneous frequency through synchronous compression, so that time-frequency resolution is improved;
(4) The instantaneous respiratory rate is extracted by searching the frequency corresponding to the energy peak value in the time-frequency distribution T f (omega, b) for each time b as the instantaneous respiratory rate f r (T):
fr(t)=argmax(Tf(ω,b))
wherein argmax (T f (ω, b)) represents an argument ω corresponding to the maximum value of the return energy intensity;
step 4-2, comprehensively evaluating the signal quality of the sensor on the respiratory signals output by the radar signal acquisition and processing module and the WiFi signal acquisition and processing module through three independent indexes of respiratory quality index, respiratory frequency and signal fluctuation standard deviation, wherein the method specifically comprises the following steps:
Step 4-2-1, calculating a SQI value SQI RQI of the sensor based on the respiratory quality index RQI:
The sensors comprise millimeter wave FMCW radar and WiFi wireless network cards, SQI represents a signal quality index, max RQI represents that the RQI value of a certain sensor is ranked highest in all sensors, the 2th max RQI represents that the RQI value of a certain sensor is ranked second highest in all sensors, the 2th min RQI represents that the RQI value of a certain sensor is ranked second lowest in all sensors, and min RQI represents that the RQI value of a certain sensor is ranked lowest in all sensors;
The calculation flow of RQI can refer to steps 1-4-2, and the above formula indicates that if RQI values of a certain sensor are ranked highest among all sensors in the same time period, SQI RQI =1 (quality is optimal). If the rank is the second highest, SQI RQI =0.6, and so on.
Step 4-2-2, calculating a respiratory rate based sensor SQI value SQI RR:
Wherein RR represents the respiratory rate;
The main frequency in a fixed time window is extracted through Fourier transformation and converted into breathing times/min, the breathing frequency (RR) is calculated, the RR is in a 9-25 times/min interval, SQI RR =1 (ideal range), and other gradient assignment is set beyond the range;
Step 4-2-3, calculating a sensor SQI value SQI SDFD based on a first order differential standard deviation (Standard deviation of first-order differential, SDFD):
Wherein, min sigma represents a minimum sigma of a certain sensor, the 2th min sigma represents a second minimum sigma of a certain sensor, max sigma represents a maximum sigma of a certain sensor, the 2th max sigma represents a second maximum sigma of a certain sensor;
Here, for the sensor with the smallest σ, this means that the stability of the sensor is the best, SQI SDFD is assigned 1, for the sensor with the second smallest σ, SQI SDFD is assigned 0.9, and the rest are the same;
Sigma is the standard deviation of the first order difference of the original signal:
D[i]=x[i]-x[i-1]
wherein, x [ i ], x [ i-1] are the ith and ith-1 sampling points of the original respiratory signal, D [ i ] is the difference value of adjacent sampling points, N is the length of the first-order difference of the signal, and mu is the average value of the first-order difference of the original signal;
Step 4-2-4, calculating the final SQI of the sensor based on the three SQI values of steps 4-2-1 through 4-2-3:
SQI=SQIRQI×SQIRR×SQISDFD
step 4-3, dynamically selecting a sensor output strategy based on the final SQI of the sensor, wherein the strategy comprises direct output of a single sensor, preferential output and fusion output of multiple sensors, and the algorithm effect is shown in figure 4;
output rule of time-varying breathing rate TRR:
Th is a threshold value of radar and WiFi signals SQI, SQI radar is the SQI of the radar, SQI wifi is the SQI of the WiFi, TRR radar is the time-varying breathing frequency of the radar, TRR wifi is the time-varying breathing frequency of the WiFi, and TRR fusion is the time-varying breathing frequency of the radar and the WiFi in a fused mode.
Here, the output rule of the time-varying breathing rate (TRR) states:
If the dual sensors are reliable (the radar and WiFi signals SQI are higher than the threshold value), outputting a fusion result TRR fusion;
Only radar reliable (radar signal SQI above threshold, wiFi signal SQI below threshold) or single radar position, directly outputs TRR radar of radar;
Only WiFi reliable (WiFi signal SQI above threshold, radar signal SQI below threshold) or single WiFi position, directly outputting TRR wifi of WiFi;
the dual sensors are unreliable (both radar and WiFi signals SQI are below the threshold), and still output the fusion result TRR fusion, which may alleviate the single sensor failure problem due to fusion.
Here, in some embodiments, the radar and WiFi fused time-varying respiratory rate is fused by a bayesian fusion algorithm, and the specific process includes:
Let kth respiratory rate measurements from radar and WiFi be BR r (k) and BR w (k), respectively, and the posterior probability density functions of radar and WiFi p (br|br r (k)) and p (br|br w (k)) be;
Based on the first 15 seconds of time-varying respiratory rate data of a reference signal (such as a respiratory sensor in the department of Huake), the probability density function of the respiratory rate data is subjected to ideal Gaussian distribution (normal distribution), and parameters (mean value eta and standard deviation sigma) of the Gaussian distribution are calculated through a statistical method by utilizing the data segment;
the probability density function after fusion is p (br|br r(k)BRw (k)):
The numerator is the joint likelihood probability of the radar and the WiFi at the current moment, and the denominator is the prediction probability of the radar at the previous moment, and p (BR|BR r(k-1))、p(BR|BRw (k-1)) is the posterior probability density function corresponding to the k-1 th respiratory frequency measurement value of the radar and the WiFi respectively;
The breathing frequency corresponding to the maximum value of the fusion probability density function is selected as the output frequency f' r (t):
f'r(t)=arg max(p(BR|BRr(k)BRw(k)))ω=[0.1,0.7]Hz。
as a specific example, in one embodiment, the present invention is further illustrated.
In this embodiment, the respiratory rate is selected as an evaluation index, that is, respiratory times per minute (Breathe per minute, BPM), and the number of sampling points in the absolute errors of the respiratory rates of the radar and the reference sensor, 1BPM, 1.5BPM, and 2BPM, are counted, and divided by the total sampling points, so as to obtain a corresponding accuracy, that is, a respiratory detection rate. The breath detection rates of 6 subjects to which the algorithms of the present invention were applied are shown in table 1.
TABLE 1 respiratory detection rate of subjects
The average breath detection rate in table 1 is shown in table 2.
TABLE 2 average breath detection rate
Based on the quantitative experimental results in tables 1 and 2, the body movement section has a significant effect on the respiratory rate detection, and the respiratory detection rate is maintained to be more than 90% when the absolute error is within 2BPM after the RBM which is manually calibrated is eliminated by a plurality of algorithms. However, when the RBM segment is not processed, the breath detection rate can be greatly reduced, and the breath detection rate is only 66.4% when the absolute error is within 1BPM, which is a difficulty related to the non-contact vital sign monitoring research of the human body at present. The results in individual cases (e.g., subject 4 in table 1) resulted in lower breath detection rates based on NMF signal reconstruction methods than untreated breath detection rates, analysis was due to damage to the normal band during signal reconstruction, resulting in reduced signal quality.
From the above, after the non-negative matrix factorization-based signal reconstruction algorithm and the respiratory quality index-based distance gate selection algorithm provided by the invention are used for respiratory rate detection, the accuracy is greatly improved relative to the original algorithm, and the average respiratory detection rate of the NMF+RQI algorithm is more than 98% in the 2 BPM.
In this embodiment, the positions and sensors corresponding to the output states of the algorithm of the present invention are shown in table 3, and the scene is shown in fig. 2.
TABLE 3 output State corresponding position and sensor
As can be seen from fig. 3 and table 3, the algorithm always selects one optimal sensor to output alone or fuses the results of two optimal sensors to output.
In stage 1, the algorithm selects the radar 1 result to be output alone, which is state 1.
In phase 2, both radar 2 and WiFi 1 contain valid respiration data, and WiFi 1 signal quality is better. When the SQI of the radar 2 and WiFi 1 signals is larger than the threshold value, the algorithm selects the results of the two sensors to be output in a Bayesian fusion mode, wherein the result is in a state 2 (251-300 second red circle part in the figure), otherwise, the WiFi 1 result with better signal quality is selected to be output independently, and the result is in a state 3.
The phase 3 algorithm selects the WiFi 2 result to output alone, which is state 4.
The SQI-based algorithm output state selection algorithm can accurately select the optimal respiratory frequency output at the current moment based on the characteristic parameters of the signal quality.
In this embodiment, the respiration monitoring experiment is performed on the multi-sensor network by using the algorithm of the present invention, and the results are shown in table 4.
TABLE 4 respiration monitoring experiment results
As can be seen from table 4 above, the detection rates of radar 1, radar 2, wiFi 1, wiFi2 and sensor fusion results within 1BPM error are 33.7%, 21.6%, 36.4%, 31.5% and 95.3%, respectively, and the overall average absolute errors are 9.9BPM, 11.1BPM, 7.9BPM, 9.6BPM and 0.38BPM, respectively. The respiratory detection rate of the fusion output of the sensor is highest, and the total average absolute error is smallest, so that the effectiveness of the algorithm in detecting the time-varying respiratory rate is proved.
In summary, the non-negative matrix factorization-based signal reconstruction algorithm and the respiratory quality index-based distance gate selection algorithm provided by the invention are effective and feasible in each algorithm and reliable in performance, and are based on a priori information-based data correction algorithm, an iterative circle fitting phase correction algorithm, an RQI-MRC-PCA-based subcarrier fusion algorithm, a respiratory quality index-based long-time channel switching algorithm, SQI-based output state judgment and an improved Bayesian model fusion algorithm.
The foregoing has outlined and described the basic principles, features, and advantages of the present invention. It will be understood by those skilled in the art that the foregoing embodiments are not intended to limit the invention, and the above embodiments and descriptions are meant to be illustrative only of the principles of the invention, and that various modifications, equivalent substitutions, improvements, etc. may be made within the spirit and scope of the invention without departing from the spirit and scope of the invention.

Claims (10)

1.一种融合雷达和WiFi信道状态信息双模态的居家呼吸监测装置,其特征在于,所述装置包括雷达信号采集处理模块、WiFi信号采集处理模块、数据通信模块和呼吸信息融合模块;1. A dual-modal home respiratory monitoring device that integrates radar and WiFi channel status information, characterized in that the device includes a radar signal acquisition and processing module, a WiFi signal acquisition and processing module, a data communication module, and a respiratory information fusion module; 所述雷达信号采集处理模块,用于通过毫米波FMCW雷达探测人体呼吸信号,对FMCW雷达获取的I/Q正交回波信号进行处理,得到呼吸信号;The radar signal acquisition and processing module is used to detect the human breathing signal through the millimeter wave FMCW radar, and process the I/Q orthogonal echo signal obtained by the FMCW radar to obtain the breathing signal; 所述WiFi信号采集处理模块,用于通过WiFi无线网卡获取包含呼吸活动信息的CSI信号,计算接收信道的CSI比值,以去除时变噪声,进而提取呼吸信号;The WiFi signal acquisition and processing module is used to obtain the CSI signal containing respiratory activity information through the WiFi wireless network card, calculate the CSI ratio of the receiving channel to remove time-varying noise, and then extract the respiratory signal; 所述数据通信模块,用于通过不同的网线传输模式构建基于毫米波FMCW雷达和WiFi的组网系统;The data communication module is used to build a networking system based on millimeter wave FMCW radar and WiFi through different network cable transmission modes; 所述呼吸信息融合模块,用于对雷达信号采集处理模块与WiFi信号采集处理模块输出的呼吸信号进行动态融合。The respiratory information fusion module is used to dynamically fuse the respiratory signals output by the radar signal acquisition and processing module and the WiFi signal acquisition and processing module. 2.根据权利要求1所述的融合雷达和WiFi信道状态信息双模态的居家呼吸监测装置,其特征在于,所述雷达信号采集处理模块,用于通过毫米波FMCW雷达探测人体呼吸信号,并对FMCW雷达获取的I/Q正交回波信号进行处理,得到呼吸信号,具体包括:2. The dual-modal home respiratory monitoring device integrating radar and WiFi channel state information according to claim 1 is characterized in that the radar signal acquisition and processing module is used to detect human respiratory signals using a millimeter-wave FMCW radar and process the I/Q orthogonal echo signals obtained by the FMCW radar to obtain a respiratory signal, specifically comprising: 步骤1-1,采用毫米波FMCW雷达采集并提取多个距离门内的同相正交信号即I/Q信号,具体包括:FMCW雷达的发送合成器产生线性调频连续波信号,信号遇到人体时被反射;随后,毫米波FMCW雷达的正交接收器捕获回波信号,并将其与发射信号进行正交混频,其中高频部分经过低通滤波器被滤除,得到中频信号,之后由ADC对中频信号进行采样,对中频信号进行模数转换后,通过距离FFT得到距离信息,选取距离门内的相位数据并保存;Step 1-1 uses a millimeter-wave FMCW radar to collect and extract in-phase and quadrature signals, or I/Q signals, within multiple range gates. Specifically, the FMCW radar's transmit synthesizer generates a linear frequency-modulated continuous wave signal, which is reflected when it encounters a human body. The millimeter-wave FMCW radar's quadrature receiver then captures the echo signal and performs quadrature mixing with the transmitted signal. The high-frequency portion is filtered out by a low-pass filter to produce an intermediate frequency (IF) signal. The IF signal is then sampled by an ADC and converted to digital. Range information is obtained through a range FFT, and phase data within the range gate is selected and stored. 步骤1-2,对所述多个距离门内的同相正交信号即I/Q信号进行预处理,以消除信号中的直流偏置、解调目标信息以及滤除干扰噪声;Step 1-2: preprocessing the in-phase and quadrature signals, i.e., I/Q signals, within the multiple range gates to eliminate DC bias in the signals, demodulate target information, and filter out interference noise; 步骤1-3,针对步骤1-2预处理后的多个距离门信号,采用基于非负矩阵分解的方法对其进行重构,消除随机身体运动干扰;Step 1-3, reconstructing the multiple range gate signals pre-processed in step 1-2 using a method based on non-negative matrix factorization to eliminate random body motion interference; 步骤1-4,针对步骤1-3重构后得到的多个距离门的信号,通过基于呼吸质量指数进行距离门选择,输出呼吸信号。Step 1-4: For the signals of the multiple range gates obtained after reconstruction in step 1-3, a range gate is selected based on the breathing quality index to output a breathing signal. 3.根据权利要求2所述的融合雷达和WiFi信道状态信息双模态的居家呼吸监测装置,其特征在于,步骤1-2所述对所述多个距离门内的同相正交信号即I/Q信号进行预处理,具体包括:3. The dual-modal home respiratory monitoring device integrating radar and WiFi channel state information according to claim 2, wherein the pre-processing of the in-phase and quadrature signals (i.e., I/Q signals) within the multiple range gates in steps 1-2 specifically comprises: 步骤1-2-1,对多个距离门内的I/Q信号进行直流偏置消除:通过最小二乘的圆拟合方法,求解I/Q轨迹圆心偏移量,对原始I/Q信号分别减去偏移量,从而消除直流偏置;Step 1-2-1, perform DC offset elimination on the I/Q signals within multiple range gates: Use the least squares circle fitting method to solve the I/Q trajectory center offset, and subtract the offset from the original I/Q signals to eliminate the DC offset; 步骤1-2-2,采用微分交叉相乘法对I/Q信号进行解调;Step 1-2-2, demodulate the I/Q signal using the differential cross-multiplication method; 步骤1-2-3,通过带通滤波器对解调后的信号滤波。Step 1-2-3, filter the demodulated signal through a bandpass filter. 4.根据权利要求2所述的融合雷达和WiFi信道状态信息双模态的居家呼吸监测装置,其特征在于,步骤1-3所述针对步骤1-2预处理后的多个距离门信号,采用基于非负矩阵分解的方法对其进行重构,消除随机身体运动干扰,具体包括:4. The dual-modality home respiratory monitoring device integrating radar and WiFi channel state information according to claim 2, wherein steps 1-3 reconstruct the multiple range gate signals pre-processed in steps 1-2 using a non-negative matrix factorization method to eliminate random body motion interference, specifically comprising: 步骤1-3-1,对步骤1-2预处理后的多个距离门信号进行短时间傅里叶变换得到其时频谱,再对时频谱进行非负矩阵分解;具体包括:Step 1-3-1, performing a short-time Fourier transform on the multiple range gate signals pre-processed in step 1-2 to obtain their time-frequency spectra, and then performing non-negative matrix decomposition on the time-frequency spectra; specifically, comprising: 从经过预处理的多个距离门信号中取出某一距离门信号x(t),进行短时间傅里叶变换即STFT变换,得到其时频谱|X|;其中,x(t)信号长度为N,STFT的参数为:窗长L,滑窗步长S,则时间帧数T的计算公式为[]为取整,由此|X|的维度为L×T;Take a certain range gate signal x(t) from the preprocessed multiple range gate signals and perform a short-time Fourier transform (STFT) to obtain its time spectrum |X|. Where the length of the x(t) signal is N, the parameters of the STFT are: window length L, sliding window step size S, then the calculation formula for the time frame number T is: [] is rounded, so the dimension of |X| is L×T; 将|X|进行非负矩阵分解:Perform non-negative matrix factorization on |X|: 式中,K为预设的基数量,表示信号被分解为K个频率-时间基的组合;矩阵W的维度为L×K,每列wi为一个频率基,代表不同频率成分;矩阵H的维度为K×T,每行为对应频率基wi的时间强度变化,反映该频率成分在不同时间段的贡献;i∈{1,2,…,K},表示分解后基的索引;Where K is the preset number of bases, indicating that the signal is decomposed into a combination of K frequency-time bases; the dimension of the matrix W is L×K, and each column wi is a frequency basis, representing a different frequency component; the dimension of the matrix H is K×T, and each row is the temporal intensity change of the corresponding frequency basis w i , reflecting the contribution of the frequency component in different time periods; i∈{1,2,…,K} represents the index of the decomposed basis; 步骤1-3-2,根据高振幅与稀疏性这两个特征检测随机身体运动干扰即RBM干扰,并进行信号重构,消除随机身体运动干扰,具体包括:Step 1-3-2 detects random body motion interference (RBM) based on the two characteristics of high amplitude and sparsity, and reconstructs the signal to eliminate random body motion interference. Specifically, it includes: 步骤1-3-2-1,检测异常高振幅时间窗口;Step 1-3-2-1, detect abnormally high amplitude time window; 短时傅里叶变换将长时连续信号分割为多个局部时间段,针对每一个时间窗口:对于当前时间窗口内的所有时间基分量hi,计算其平均能量,将该平均能量值作为第一阈值,若当前时间窗口内某时间基分量hi的能量超过第一阈值,则标记该时间窗口为异常高振幅候选;i∈{1,2,…,K};The short-time Fourier transform divides the long-time continuous signal into multiple local time periods. For each time window: for all time basis components h i in the current time window, calculate their average energy, and use this average energy value as the first threshold. If the energy of a time basis component h i in the current time window exceeds the first threshold, then mark the time window as an abnormally high amplitude candidate; i∈{1,2,…,K}; 步骤1-3-2-2,检测稀疏性;Step 1-3-2-2, detect sparsity; 对于每一个异常高振幅候选的时间窗口,检查该时间窗口内其他所有基分量hj的能量是否连续低于预设的第二阈值,若是,则表明具备稀疏性,该时间窗口存在RBM,且干扰源为基分量hi;j≠i;For each abnormally high amplitude candidate time window, check whether the energy of all other basis components hj in the time window is continuously lower than the preset second threshold. If so, it indicates that there is sparsity, an RBM exists in the time window, and the interference source is the basis component hj ; j≠i; 步骤1-3-2-3,信号时频谱重构;Step 1-3-2-3, signal time-frequency spectrum reconstruction; 将信号时频谱|X|重建为 Reconstruct the signal time-frequency spectrum |X| as 式中,si是一个选择函数,如果第i个时间窗口内检测到了RBM的存在,si=0,否则si=1;Where si is a selection function. If the existence of RBM is detected in the i-th time window, si = 0, otherwise si = 1; 步骤1-3-2-4,将重建的时频谱与原始相位结合,通过逆短时傅里叶变换生成消除随机身体运动干扰的呼吸时域信号。In steps 1-3-2-4, the reconstructed time-frequency spectrum is combined with the original phase, and the respiratory time domain signal with random body motion interference eliminated is generated through inverse short-time Fourier transform. 5.根据权利要求2所述的融合雷达和WiFi信道状态信息双模态的居家呼吸监测装置,其特征在于,步骤1-4所述针对步骤1-3重构后得到的多个距离门的信号,通过基于呼吸质量指数进行距离门选择,输出呼吸信号,具体包括:5. The dual-modal home respiratory monitoring device integrating radar and WiFi channel state information according to claim 2, wherein the steps 1-4, for the signals of the multiple range gates obtained after the reconstruction of steps 1-3, select a range gate based on the respiratory quality index to output the respiratory signal, specifically comprising: 步骤1-4-1,信号分段切割:将经过重构的多个距离门信号按预设时间长度切割为连续的时间片段;Step 1-4-1, signal segment cutting: cutting the reconstructed multiple range gate signals into continuous time segments according to the preset time length; 步骤1-4-2,分别计算每个距离门的每个时间片段的呼吸质量指数RQI;Step 1-4-2, calculate the respiratory quality index RQI of each time segment of each range gate respectively; 呼吸质量指数的定义为:The respiratory quality index is defined as: 其中,Pmax是在呼吸频率范围内,频谱图峰值及其前后两个连续傅里叶系数之和,PRB是整个呼吸频率范围内所有傅里叶系数之和;Where P max is the sum of the peak value of the spectrum and the two consecutive Fourier coefficients before and after it within the respiratory frequency range, and P RB is the sum of all Fourier coefficients within the entire respiratory frequency range; 步骤1-4-3,动态选择与信号拼接:对同一时间片段,分别计算所有距离门的呼吸质量指数RQI,比较该时间片段内所有距离门的RQI值,选择RQI最高的距离门信号作为该时间片段的最佳距离门信号;之后将每个时间片段选择的最佳距离门信号按时间顺序进行拼接,形成连续输出,得到呼吸信号。Step 1-4-3, dynamic selection and signal splicing: For the same time segment, calculate the respiratory quality index RQI of all range gates respectively, compare the RQI values of all range gates in the time segment, and select the range gate signal with the highest RQI as the best range gate signal for the time segment; then, splice the best range gate signals selected for each time segment in chronological order to form a continuous output to obtain the respiratory signal. 6.根据权利要求1所述的融合雷达和WiFi信道状态信息双模态的居家呼吸监测装置,其特征在于,所述WiFi信号采集处理模块,用于通过WiFi无线网卡获取包含呼吸活动信息的CSI信号,计算接收信道的CSI比值,以去除时变噪声,进而提取呼吸信号,具体包括:6. The dual-modality home respiratory monitoring device integrating radar and WiFi channel state information according to claim 1 is characterized in that the WiFi signal acquisition and processing module is configured to acquire a CSI signal containing respiratory activity information through a WiFi wireless network card, calculate the CSI ratio of the receiving channel to remove time-varying noise, and then extract the respiratory signal, specifically comprising: 步骤2-1,通过WiFi无线网卡获取包含呼吸活动信息的原始CSI信号,具体地:所述WiFi无线网卡,在多发多收配置下,捕获包含呼吸活动信息的CSI数据包,该CSI数据包为复数矩阵,维度为N×M×P,N为发射天线数,M为接收天线数,P为WiFi无线网卡抓取的子载波路数;Step 2-1: Obtaining an original CSI signal containing respiratory activity information through a WiFi wireless network card. Specifically, the WiFi wireless network card, in a multi-transmitter and multi-receiver configuration, captures a CSI data packet containing respiratory activity information. The CSI data packet is a complex matrix with dimensions N×M×P, where N is the number of transmitting antennas, M is the number of receiving antennas, and P is the number of subcarrier channels captured by the WiFi wireless network card. 步骤2-2,计算两根接收天线的CSI比值Ratio,得到CSI Ratio数据包,从而去除时变噪声;Step 2-2: Calculate the CSI ratio of the two receiving antennas to obtain a CSI ratio data packet, thereby removing time-varying noise. 针对分别对应于一个时间戳的每个CSI数据包:对每个发射天线,计算所有可能组合的接收天线对的CSI比值即CSI Ratio,生成W行×1列的Ratio值,之后形成W×Q的CSI Ratio矩阵,W为所有可能的接收天线对的子载波总路数,Q为CSI Ratio数据包数量;For each CSI data packet corresponding to a timestamp: For each transmit antenna, calculate the CSI ratios (CSI Ratios) for all possible combinations of receive antenna pairs, generating W rows × 1 column of Ratio values. This is then used to form a W × Q CSI Ratio matrix, where W is the total number of subcarriers for all possible receive antenna pairs, and Q is the number of CSI Ratio data packets. 步骤2-3,对步骤2-2输出的CSI Ratio数据包进行基于先验信息的校正、相位静态分量补偿和相位跳变补偿校正,输出更新后的W×Q1的CSI Ratio矩阵,Q1为更新后的CSI Ratio数据包数量;Step 2-3: Perform correction based on prior information, phase static component compensation, and phase jump compensation on the CSI Ratio data packet output in step 2-2, and output an updated W×Q1 CSI Ratio matrix, where Q1 is the number of updated CSI Ratio data packets. 步骤2-4,将步骤2-3输出的W×Q1的CSI Ratio矩阵,划分为w个信道,每个信道包括路子载波;针对每个信道的路子载波,进行基于RQI的最大比合并-主成分分析法即RQI-MRC-PCA的子载波融合;之后基于呼吸质量指数RQI对w个信道进行选择,生成最终的呼吸波形。Step 2-4: Divide the W×Q1 CSI Ratio matrix output from step 2-3 into w channels, each of which includes subcarriers; for each channel The subcarriers are combined based on the maximum ratio combining and principal component analysis method (RQI-MRC-PCA) of the RQI. Then, w channels are selected based on the respiratory quality index (RQI) to generate the final respiratory waveform. 7.根据权利要求6所述的融合雷达和WiFi信道状态信息双模态的居家呼吸监测装置,其特征在于,步骤2-3具体包括:7. The dual-modal home respiratory monitoring device integrating radar and WiFi channel status information according to claim 6, wherein steps 2-3 specifically include: 步骤2-3-1,针对每路子载波CSI Ratio,基于先验信息进行校正,具体包括:Step 2-3-1: Correct the CSI Ratio of each subcarrier based on prior information, specifically including: 对步骤2-2输出的W×Q的CSI Ratio矩阵,基于时间差筛选CSI Ratio数据包:遍历相邻CSI Ratio数据包的时间戳,计算时间差,当时间差小于预设阈值时,标记为重复数据包,剔除其中一个CSI Ratio数据包,输出W×Q1的CSI Ratio矩阵,Q1为剔除后剩余的有效CSIRatio数据包总数;For the W × Q CSI Ratio matrix output in step 2-2, filter CSI Ratio packets based on time difference: traverse the timestamps of adjacent CSI Ratio packets and calculate the time difference. When the time difference is less than the preset threshold, mark it as a duplicate packet and remove one of the CSI Ratio packets. Output the W × Q1 CSI Ratio matrix, where Q1 is the total number of valid CSI Ratio packets remaining after removal. 步骤2-3-2,针对每路子载波CSI Ratio,进行相位跳变补偿,具体包括:Step 2-3-2: Perform phase jump compensation for each subcarrier CSI Ratio, specifically including: 对每路子载波的CSI Ratio,计算相邻时序的相位差分值,取所有相位差分绝对值的平均值,将该平均值的10倍设为动态阈值;其中相位差分值由后一时刻相位减前一时刻相位获得;For each subcarrier's CSI ratio, calculate the phase difference between adjacent time sequences, take the average of all phase difference absolute values, and set 10 times the average value as the dynamic threshold. The phase difference value is obtained by subtracting the phase at the previous moment from the phase at the next moment. 遍历时序数据,若某时刻的相位差分绝对值超过所述动态阈值,判定为相位跳变,并对该时刻的CSI Ratio数据包乘以补偿因子-1,抵消跳变;否则保持原值;Traverse the time series data. If the absolute value of the phase difference at a certain moment exceeds the dynamic threshold, it is determined to be a phase jump. The CSI Ratio data packet at that moment is multiplied by the compensation factor -1 to offset the jump; otherwise, the original value is retained. 步骤2-3-3,针对每路子载波CSI Ratio,进行相位静态分量补偿,具体包括:Step 2-3-3, for each subcarrier CSI Ratio, performs phase static component compensation, specifically including: 采用基于最小二乘法的圆拟合方法,通过迭代计算,使横纵坐标和半径的误差小于预设允许误差,进而输出圆心坐标和半径,完成相位静态分量补偿。The circle fitting method based on the least squares method is adopted. Through iterative calculation, the errors of the horizontal and vertical coordinates and the radius are made less than the preset allowable error, and then the coordinates of the circle center and the radius are output to complete the phase static component compensation. 8.根据权利要求5或6所述的融合雷达和WiFi信道状态信息双模态的居家呼吸监测装置,其特征在于,步骤2-4具体包括:8. The dual-modal home respiratory monitoring device integrating radar and WiFi channel status information according to claim 5 or 6, wherein steps 2-4 specifically include: 步骤2-4-1,分信道处理进行子载波筛选,保留RQI高于信道平均阈值的子载波,将其余子载波剔除;具体为:Step 2-4-1: Perform subcarrier screening by channel processing, retain subcarriers with RQI higher than the channel average threshold, and remove the remaining subcarriers; specifically: 针对每个信道,对每路子载波,计算其呼吸质量指数RQI;For each channel and each subcarrier, calculate its respiratory quality index RQI; 计算当前信道所有子载波的平均RQI值,作为子载波剔除阈值,当某一路子载波的RQI值大于所述子载波剔除阈值时,保留该路子载波,否则将其剔除;子载波的保留因子值计算公式为:Calculate the average RQI value of all subcarriers in the current channel as the subcarrier rejection threshold. When the RQI value of a subcarrier is greater than the subcarrier rejection threshold, retain the subcarrier; otherwise, remove it. The calculation formula for the subcarrier retention factor is: 式中,RQIi是第i路子载波的RQI值,RQIth是子载波剔除阈值,是第i路子载波的保留因子;Where RQI i is the RQI value of the i-th subcarrier, RQI th is the subcarrier rejection threshold, is the retention factor of the i-th subcarrier; 步骤2-4-2,对每个信道保留的子载波进行增益计算和方向因子计算;Step 2-4-2, calculate the gain and direction factor of the subcarriers reserved for each channel; (1)基于最大比合并即MRC计算每个信道保留的子载波的增益,计算公式为:(1) Based on maximum ratio combining (MRC), the gain of the subcarriers retained in each channel is calculated using the following formula: 式中,gaini是第i路子载波的增益,RMSiE(breath)和RMSiE(noise)分别是第i路子载波呼吸信号、噪声信号能量的均方根;Where gain i is the gain of the i-th subcarrier, RMS iE(breath) and RMS iE(noise) are the root mean square of the energy of the breathing signal and noise signal of the i-th subcarrier, respectively. (2)基于主成分分析即PCA对每个信道保留的子载波进行方向校正,具体为:(2) Direction correction is performed on the subcarriers retained in each channel based on principal component analysis (PCA), specifically: 对保留的子载波信号进行主成分分析,提取第一主成分,若第一主成分为正,则该子载波信号的方向因子值为1,否则为-1,计算公式为:Perform principal component analysis on the retained subcarrier signal and extract the first principal component. If the first principal component is positive, the direction factor value of the subcarrier signal is 1, otherwise it is -1. The calculation formula is: 式中,factorPCA是第i路子载波的方向因子,PCAi是第i路子载波的第一主成分;Where factor PCA is the directional factor of the i-th subcarrier, and PCA i is the first principal component of the i-th subcarrier; 步骤2-4-3,对子载波信号的相位与增益值、保留因子值、方向因子值进行加权计算,将一个信道中所有子载波融合成一个呼吸波形:Step 2-4-3, perform weighted calculation on the phase and gain value, retention factor value, and direction factor value of the subcarrier signal, and fuse all subcarriers in a channel into a breathing waveform: 式中,Phaseinitial是第i路子载波的原始相位,Phasei是加权计算的第i路子载波的相位,Phasefusion是融合输出的相位;Where Phase initial is the original phase of the i-th subcarrier, Phase i is the weighted phase of the i-th subcarrier, and Phase fusion is the phase of the fused output. 步骤2-4-4,将步骤2-4-3融合输出的相位按预设时长t切割片段,t的单位为秒,对每个信道的t秒片段重新计算呼吸质量指数RQI值,对同一时间段的w个信道片段,选择RQI值最高的信道片段作为最佳信道片段,按时间顺序连接各时间段的最佳信道片段,生成最终的呼吸波形。In step 2-4-4, the phase of the fusion output of step 2-4-3 is cut into segments according to the preset duration t, where t is in seconds. The respiratory quality index RQI value is recalculated for the t-second segments of each channel. For the w channel segments in the same time period, the channel segment with the highest RQI value is selected as the best channel segment. The best channel segments of each time period are connected in chronological order to generate the final respiratory waveform. 9.根据权利要求1所述的融合雷达和WiFi信道状态信息双模态的居家呼吸监测装置,其特征在于,所述呼吸信息融合模块,用于对雷达信号采集处理模块与WiFi信号采集处理模块输出的呼吸信号进行动态融合,具体包括:9. The dual-modal home respiratory monitoring device integrating radar and WiFi channel status information according to claim 1, wherein the respiratory information fusion module is configured to dynamically fuse the respiratory signals output by the radar signal acquisition and processing module and the WiFi signal acquisition and processing module, and specifically comprises: 步骤4-1,对雷达信号采集处理模块与WiFi信号采集处理模块输出的呼吸信号,提取随时间变化的呼吸频率,具体包括:Step 4-1, extracting the respiratory frequency that changes over time from the respiratory signals output by the radar signal acquisition and processing module and the WiFi signal acquisition and processing module, specifically includes: (1)小波变换提取时频信息:对呼吸信号x(t)进行小波变换,获得尺度a、时间b参数的值和时频表示Wf(a,b)表达式:(1) Wavelet transform to extract time-frequency information: Perform wavelet transform on the respiratory signal x(t) to obtain the values of the scale a and time b parameters and the time-frequency representation W f (a, b): 其中,a为尺度参数,与频率成反比;b为时间参数,对应时间轴位置;ψ(*)为母小波函数,用于局部频率分析,为ψ(*)的共轭函数;小波变换将信号分解为不同尺度的成分,得到时间-尺度联合分布即时频表示Wf(a,b),反映信号在时间b和尺度a下的能量分布;Among them, a is the scale parameter, which is inversely proportional to the frequency; b is the time parameter, corresponding to the time axis position; ψ(*) is the mother wavelet function, which is used for local frequency analysis. is the conjugate function of ψ(*); the wavelet transform decomposes the signal into components of different scales, and obtains the time-scale joint distribution, that is, the time-frequency representation W f (a,b), which reflects the energy distribution of the signal at time b and scale a; (2)计算候选瞬时频率:对于Wf(a,b)≠0,通过相位导数计算出候选瞬时频率ω(a,b):(2) Calculate the candidate instantaneous frequency: For Wf (a,b)≠0, calculate the candidate instantaneous frequency ω(a,b) by the phase derivative: 其中,偏导表示对时间b的变化率,符号i代表虚数单位;Among them, the partial derivative It represents the rate of change with respect to time b, and the symbol i represents the imaginary unit; (3)同步压缩变换:将时频表示Wf(a,b)沿频率轴重新分配,生成高分辨率的时频分布Tf(ω,b):(3) Synchronous compression transform: Redistribute the time-frequency representation W f (a, b) along the frequency axis to generate a high-resolution time-frequency distribution T f (ω, b): 其中,A(b)为有效尺度集合,满足|Wf(a,b)|>∈,∈为阈值,用于抑制噪声;δ(·)为狄拉克函数,将能量重新分配至估计的瞬时频率ω处;Where A(b) is the effective scale set, satisfying |W f (a, b)|>∈, ∈ is the threshold used to suppress noise; δ(·) is the Dirac function that redistributes energy to the estimated instantaneous frequency ω; (4)提取瞬时呼吸频率:对每个时间b,在时频分布Tf(ω,b)中寻找能量峰值对应的频率,作为瞬时呼吸频率fr(t):(4) Extracting the instantaneous respiratory frequency: For each time b, find the frequency corresponding to the energy peak in the time-frequency distribution T f (ω, b) as the instantaneous respiratory frequency f r (t): fr(t)=arg max(Tf(ω,b))f r (t) = arg max (T f (ω, b)) 其中,arg max(Tf(ω,b))表示返回能量强度最大值对应的自变量ω;Wherein, arg max(T f (ω,b)) indicates the independent variable ω corresponding to the maximum value of energy intensity. 步骤4-2,对雷达信号采集处理模块与WiFi信号采集处理模块输出的呼吸信号,通过呼吸质量指数、呼吸频率、信号波动标准差这三个独立指标综合评估传感器的信号质量,具体包括:Step 4-2: For the respiratory signals output by the radar signal acquisition and processing module and the WiFi signal acquisition and processing module, the signal quality of the sensors is comprehensively evaluated using three independent indicators: respiratory quality index, respiratory frequency, and signal fluctuation standard deviation. Specifically, the following indicators are used: 步骤4-2-1,计算基于呼吸质量指数RQI的传感器SQI值SQIRQIStep 4-2-1, calculate the sensor SQI value SQI RQI based on the breathing quality index RQI: 其中,传感器包括毫米波FMCW雷达和WiFi无线网卡,SQI表示信号质量指数,max ROI表示某传感器的RQI值在所有传感器中排名最高,the 2th max RQI表示某传感器的RQI值在所有传感器中排名第二高,the 2th min RQI表示某传感器的RQI值在所有传感器中排名第二低,min RQI示某传感器的RQI值在所有传感器中排名最低;The sensors include millimeter wave FMCW radar and WiFi wireless network card, SQI represents signal quality index, max ROI represents the highest RQI value of a sensor among all sensors, the 2th max RQI represents the second highest RQI value of a sensor among all sensors, the 2th min RQI represents the second lowest RQI value of a sensor among all sensors, and min RQI represents the lowest RQI value of a sensor among all sensors; 步骤4-2-2,计算基于呼吸频率的传感器SQI值SQIRRStep 4-2-2, calculate the sensor SQI value SQI RR based on the respiratory rate: 式中,RR表示呼吸频率;Where RR represents respiratory rate; 步骤4-2-3,计算基于一阶差分标准差即SDFD的传感器SQI值SQISDFDStep 4-2-3, calculate the sensor SQI value SQI SDFD based on the first-order difference standard deviation, i.e. SDFD: 其中,minσ表示某传感器的σ最小,the 2th min σ表示某传感器的σ第二小,maxσ表示某传感器的σ最大,the 2th max σ表示某传感器的σ第二大;Among them, minσ means that the σ of a certain sensor is the smallest, the 2th min σ means that the σ of a certain sensor is the second smallest, maxσ means that the σ of a certain sensor is the largest, and the 2th max σ means that the σ of a certain sensor is the second largest; σ为原始信号一阶差分的标准差:σ is the standard deviation of the first-order difference of the original signal: D[i]=x[i]-x[i-1]D[i]=x[i]-x[i-1] 其中,x[i]、x[i-1]为原始呼吸信号的第i个、第i-1个采样点,D[i]为相邻采样点的差值,N为信号一阶差分的长度,μ为原始信号一阶差分的均值;Where x[i] and x[i-1] are the i-th and i-1-th sampling points of the original respiratory signal, D[i] is the difference between adjacent sampling points, N is the length of the first-order difference of the signal, and μ is the mean of the first-order difference of the original signal; 步骤4-2-4,基于步骤4-2-1至步骤4-2-3的三个SQI值,计算传感器最终的SQI:Step 4-2-4, calculate the final SQI of the sensor based on the three SQI values from steps 4-2-1 to 4-2-3: SQI=SQIRQI×SQIRR×SQISDFD SQI=SQI RQI ×SQI RR ×SQI SDFD 步骤4-3,基于传感器最终的信号质量指数SQI动态选择传感器输出策略,包括单传感器直接输出、多传感器择优输出与融合输出;Step 4-3: Dynamically select the sensor output strategy based on the final sensor signal quality index SQI, including single sensor direct output, multi-sensor optimal output and fusion output; 时变呼吸频率TRR的输出规则:Output rules of time-varying respiratory rate TRR: 其中,Th为雷达和WiFi信号SQI的阈值,SQIradar为雷达的SQI,SQIwifi为WiFi的SQI,TRRradar为雷达的时变呼吸频率,TRRwifi为WiFi的时变呼吸频率,TRRfusion为雷达和WiFi融合的时变呼吸频率。Where Th is the threshold of the SQI of the radar and WiFi signals, SQI radar is the SQI of the radar, SQI wifi is the SQI of the WiFi, TRR radar is the time-varying breathing frequency of the radar, TRR wifi is the time-varying breathing frequency of the WiFi, and TRR fusion is the time-varying breathing frequency of the radar and WiFi fusion. 10.根据权利要求9所述的融合雷达和WiFi信道状态信息双模态的居家呼吸监测装置,其特征在于,所述雷达和WiFi融合的时变呼吸频率,通过贝叶斯融合算法实现融合,具体过程包括:10. The dual-modal home respiratory monitoring device integrating radar and WiFi channel status information according to claim 9, wherein the time-varying respiratory frequency obtained by integrating radar and WiFi is integrated using a Bayesian fusion algorithm, the specific process of which includes: 设来自雷达和WiFi的第k次呼吸频率测量值分别为BRr(k)和BRw(k),雷达和WiFi的后验概率密度函数p(BR|BRr(k))和p(BR|BRw(k))为;Let the kth breathing rate measurements from radar and WiFi be BR r (k) and BR w (k), respectively. The posterior probability density functions p(BR|BR r (k)) and p(BR|BR w (k)) of radar and WiFi are: 后验概率密度函数服从理想高斯分布,利用对应的数据片段,通过统计方法计算出高斯分布的参数,包括均值η和标准差σ;The posterior probability density function obeys an ideal Gaussian distribution. Using the corresponding data fragments, the parameters of the Gaussian distribution, including the mean η and standard deviation σ, are calculated by statistical methods. 融合后的概率密度函数为p(BR|BRr(k)BRw(k)):The probability density function after fusion is p(BR|BR r (k)BR w (k)): 其中,分子为当前时刻雷达和WiFi的联合似然概率,分母为前一时刻雷达的预测概率;p(BR|BRr(k-1))、p(BR|BRw(k-1))分别为雷达和WiFi第k-1次呼吸频率测量值对应的后验概率密度函数;BR为雷达和WiFi的真实呼吸频率;Where, the numerator is the joint likelihood probability of radar and WiFi at the current moment, and the denominator is the predicted probability of radar at the previous moment; p(BR|BR r (k-1)) and p(BR|BR w (k-1)) are the posterior probability density functions corresponding to the k-1th respiratory rate measurement values of radar and WiFi, respectively; BR is the actual respiratory rate of radar and WiFi; 选择融合概率密度函数的最大值对应的呼吸频率作为输出频率f'r(t):The respiratory frequency corresponding to the maximum value of the fusion probability density function is selected as the output frequency f'r (t): f'r(t)=arg max(p(BR|BRr(k)BRw(k)))ω=[0.1,0.7]Hz。f' r (t) = arg max (p (BR | BR r (k) BR w (k))) ω = [0.1, 0.7] Hz.
CN202510556290.6A 2025-04-29 2025-04-29 A dual-modal home respiratory monitoring device integrating radar and WiFi channel status information Pending CN120436615A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202510556290.6A CN120436615A (en) 2025-04-29 2025-04-29 A dual-modal home respiratory monitoring device integrating radar and WiFi channel status information

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202510556290.6A CN120436615A (en) 2025-04-29 2025-04-29 A dual-modal home respiratory monitoring device integrating radar and WiFi channel status information

Publications (1)

Publication Number Publication Date
CN120436615A true CN120436615A (en) 2025-08-08

Family

ID=96619290

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202510556290.6A Pending CN120436615A (en) 2025-04-29 2025-04-29 A dual-modal home respiratory monitoring device integrating radar and WiFi channel status information

Country Status (1)

Country Link
CN (1) CN120436615A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN121370130A (en) * 2025-12-19 2026-01-23 南京邮电大学 Robust breath sensing method and system based on multidimensional Wi-Fi signals

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN121370130A (en) * 2025-12-19 2026-01-23 南京邮电大学 Robust breath sensing method and system based on multidimensional Wi-Fi signals

Similar Documents

Publication Publication Date Title
Varanini et al. An efficient unsupervised fetal QRS complex detection from abdominal maternal ECG
Qin et al. An Adaptive and Time‐Efficient ECG R‐Peak Detection Algorithm
Kumar et al. Detection and classification of ECG noises using decomposition on mixed codebook for quality analysis
CN107041743B (en) Real-time R wave detection method for electrocardiosignals
CN110353649B (en) A heart rate detection method
CN110742585A (en) Sleep staging method based on BCG signal
CN106108904A (en) A kind of contactless human body respiration parameter method for real-time measurement and system
CN114403820B (en) A method and system for detecting vital signs of a moving target
CN114767087B (en) Multi-target respiratory frequency estimation method, device, equipment and storage medium
CN120436615A (en) A dual-modal home respiratory monitoring device integrating radar and WiFi channel status information
Billeci et al. Detection of AF and other rhythms using RR variability and ECG spectral measures
CN112294340A (en) Method, system, storage medium and computer device for fast and automatic removal of EMG artifacts
CN107890347B (en) Filter out the control method and system of power frequency interference signals
WO2019047165A1 (en) Control method and system for filtering out working frequency interference signal
CN115481652A (en) Respiration detection method, system and storage medium based on WiFi signal
Yang et al. Body orientation and vital sign measurement with IR-UWB radar network
CN118078251A (en) A human breathing monitoring method based on subcarrier K-means clustering
CN113326801A (en) Human body moving direction identification method based on channel state information
Del Rio et al. Assessment of different methods to estimate electrocardiogram signal quality
Xu et al. Respiratory rate estimation of standing and sitting people using wifi signals
Hickey et al. Screening for paroxysmal atrial fibrillation using atrial premature contractions and spectral measures
Leon et al. Neural network approach for T-wave end detection: A comparison of architectures
CN119112101B (en) Sleep sign monitoring method based on millimeter wave radar
CN113349753A (en) Arrhythmia detection method based on portable dynamic electrocardiogram monitor
Gouveia et al. Parameter tuning for accurate heart rate measurement using Wi-Fi signals.

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination