Anti-motion interference breathing monitoring system and method based on multi-antenna WiFi signal
Through the adaptive beamforming technology of multi-antenna WiFi signals, motion interference noise is suppressed, and accurate monitoring of respiratory frequency in the home environment is achieved. It solves the problem of difficulty in distinguishing target signals in respiratory monitoring in the existing technology, and improves the environment of the system. Adaptability and stability.
Patent Information
- Application Number
- CN202411044575.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-01
- Publication Date
- 2024-10-15
- Estimated Expiration
- 2044-08-01
AI Technical Summary
Existing respiration monitoring solutions based on WiFi signals are difficult to distinguish and extract target respiration signals in a home environment, and are greatly affected by motion interference noise, especially when other moving objects or people are present.
The anti-motion interference respiratory monitoring system uses multi-antenna WiFi signals. Through data collection, data preprocessing, motion interference signal suppression and human respiratory frequency monitoring modules, adaptive beamforming technology and CSI data processing are used to suppress motion noise in non-target directions. , enhance the respiratory monitoring target signal.
It achieves accurate monitoring of respiratory frequency in the home environment, has high environmental robustness and stability, can effectively suppress motion interference noise, and adapts to complex home health monitoring scenarios.
Smart Images

Figure CN118557175B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of smart home technology, and in particular to a motion-interference-resistant respiratory monitoring system and method based on multi-antenna WiFi signals. Background Art
[0002] Respiratory diseases are common diseases, among which chronic obstructive pulmonary disease (COPD) has become a globally recognized disease with a high medical burden, characterized by high morbidity, high disability and mortality, long course of disease and treatment cycle, and high hospitalization rate during acute exacerbation. Therefore, there is an urgent need for long-term respiratory data monitoring and recording in daily home environments.
[0003] Nowadays, the main respiratory monitoring solutions in home environments include wearable sensors, vision-based solutions, acoustic-based solutions, and solutions based on radio frequency signals (radar, WiFi). The sensor-based contact sensing solution has the advantage of high perception accuracy, but this solution usually requires users to wear the corresponding sensors close to their bodies, which may cause discomfort to users, especially for the elderly. It is inconvenient to wear them on a daily basis. The non-contact sensing solution based on vision, acoustics, and radio frequency signals does not require users to wear sensors close to their bodies, and has received widespread attention from academia and industry in recent years. Vision-based solutions are usually limited by light conditions and privacy protection issues, acoustic-based solutions may be affected by environmental noise and object materials, and radio frequency signal-based solutions are to some extent limited by signal transmission distance and penetration ability. In comparison, the respiratory monitoring solution based on WiFi signals has the characteristics of good privacy protection, no line-of-sight occlusion, and affordable prices, and has significant advantages in home respiratory monitoring applications.
[0004] However, most existing WiFi-based respiratory monitoring solutions are limited by the defects of low resolution caused by narrow bandwidth, high noise, and omnidirectional reception of WiFi signals. They are sensitive to non-target motion interference noise in the sensing area and cannot distinguish and extract the respiratory signals of the target sensing area well. In the home health monitoring environment, it is a very common situation that other moving objects or people (for example, pets, fans or other family members in the home) exist in the environment while sensing the target breathing frequency. Therefore, how to realize human respiratory monitoring based on WiFi signals that is resistant to motion interference is an urgent problem to be solved.
[0005] After searching, the patent publication number CN111568425A, the publication date is August 25, 2020, which discloses a non-contact multi-person breathing detection method; the application uses pre-processed WiFi CSI signals from multiple antennas to model multi-person breathing detection as a blind source separation model BSS; WiFi CSI is the complex-valued channel state information obtained from the WiFi device; the independent component analysis method is then used to separate the breathing signal corresponding to each human body, and further extract the real-valued breathing pattern, thereby realizing multi-person breathing detection. The application extracts the breathing pattern of each person in a non-contact manner by monitoring the channel state information of WiFi signals near people in a regional environment; in theory, as long as the premise of statistical independence is met, this method has no clear restrictions on the separation of multi-person signals. However, in practical applications, the independence assumption may not always hold. For example, the breathing of adjacent individuals may be synchronized to a certain extent due to the phenomenon of respiratory coupling. In this case, the application may not be well adapted. Summary of the invention
[0006] 1. Technical problem to be solved by the invention
[0007] In order to solve the shortcomings of the above-mentioned prior art, the present invention proposes a motion-interference-resistant breathing monitoring system and method based on multi-antenna WiFi signals. The present invention obtains the user breathing signals in a specific area through the multi-antenna WiFi signals obtained by commercial WiFi devices, and realizes daily breathing monitoring in a home environment. At the same time, the present invention takes into account the existence of motion interference scenarios from others in the real home environment, and designs adaptive motion interference suppression beamforming and its supporting methods to deal with the motion interference problem from non-target users.
[0008] 2. Technical solution
[0009] In order to achieve the above object, the technical solution provided by the present invention is:
[0010] The anti-motion interference breathing monitoring system based on multi-antenna WiFi signals of the present invention comprises a data acquisition module, a data preprocessing module, a motion interference signal suppression module and a human respiratory rate monitoring module; wherein:
[0011] The data acquisition module uses WiFi equipment to collect CSI data of wireless channel status, and segment the collected CSI data in turn, and transmit the segmented CSI data to the data preprocessing module;
[0012] The data preprocessing module first eliminates the time-varying phase offset noise in the CSI data, then compensates for the phase difference between different antenna data streams in different CSI data, and selects the subcarriers containing the most human motion information in each antenna data stream;
[0013] The motion interference signal suppression module sets up an adaptive beamforming module based on null-steering scanning and a signal extraction module for the respiratory monitoring target direction, adaptively enhances the signal in the respiratory monitoring target direction, and suppresses the motion noise from the non-respiratory monitoring target direction in the sensing area, and selects the beam null-steering scanning data containing the most human respiratory motion information as the final target signal;
[0014] The human respiratory rate monitoring module calculates and outputs the respiratory rate of the respiratory monitoring target according to the final target signal obtained.
[0015] Furthermore, for WiFi devices that collect CSI data, the transmitter is equipped with at least one transmitting antenna, the receiver is equipped with at least three receiving antennas, and the receiving antennas are arranged in a linear antenna array with a distance of half a wavelength between the antennas.
[0016] Furthermore, the data preprocessing module includes a time-varying phase offset elimination module, a PLL phase offset compensation module and a subcarrier selection module; wherein:
[0017] The time-varying phase offset elimination module is used to reduce the CSI time-varying phase offset noise caused by the asynchrony of the transmitter and receiver clocks of the WiFi device;
[0018] The PLL phase offset compensation module compensates for the phase difference between different antenna data streams in the CSI data, and outputs an antenna data stream with the PLL phase offset between the antennas removed;
[0019] The subcarrier selection module performs spectrum analysis on each subcarrier signal in the input different antenna data streams, and selects the subcarrier containing the most human motion information for each antenna data stream, which is used for subsequent adaptive beamforming and respiratory frequency estimation based on null-steering scanning.
[0020] Furthermore, the time-varying phase offset elimination module uses a genetic algorithm to search for a weight vector with the minimum energy in the 0.1-0.5 Hz spectrum range, and uses the weight vector to perform weighted summation processing on the antenna data stream in the CSI data to obtain a reference CSI vector ; Then, each antenna data stream is compared with the reference CSI vector Perform complex division to obtain data after eliminating the time-varying phase offset .
[0021] Furthermore, the PLL phase offset compensation module uses the antenna data stream of the first antenna in the CSI data as a reference and performs phase offset compensation on the antenna data streams of other antennas respectively. πThe phase compensation is performed by an integer multiple of , and the Euclidean similarity between the compensated antenna data stream and the antenna data stream of the first antenna is calculated, and finally the antenna data stream with the highest similarity to the first antenna is output as the input of the next module.
[0022] Furthermore, the motion interference signal suppression module is provided with an adaptive beamforming module based on null-steering scanning, and the data processing process of the module is as follows:
[0023] (1) Set the basic parameters of the adaptive beamforming module based on null-steering scanning, including the number of uniform linear antenna arrays , array spacing , the direction of the respiratory monitoring target ;
[0024] (2) Estimate the direction of the respiratory monitoring target signal through signal processing algorithms;
[0025] (3) According to the signal characteristics of the breathing monitoring target direction and the non-breathing monitoring target direction, the beam weights of the antenna pattern with the main lobe direction facing the breathing monitoring target and the antenna pattern with the null directed toward a non-breathing monitoring target direction are calculated respectively;
[0026] (4) Using the calculated beam weights, the received signal is weighted and processed, and the CSI data obtained after beam nulling scanning in each direction is output.
[0027] Furthermore, in step (3), the angle range of the non-respiratory monitoring target direction is -90° to 90°, and the step length is set to 1°.
[0028] Furthermore, the motion interference signal suppression module sets up a respiratory monitoring target direction signal extraction module, which performs normalization preprocessing on the CSI data in each direction after the beam nulling scan, and then converts it from the time domain to the frequency domain based on the fast Fourier transform, and finally evaluates the signal energy of each beam nulling scan data in the range of 0.1-0.5 Hz, and selects the beam nulling scan data containing the most energy in this range as the final target signal.
[0029] Furthermore, the human respiratory rate monitoring module includes an autocorrelation processing module, a low-pass filtering module and a respiratory rate calculation module; wherein:
[0030] The autocorrelation processing module removes outliers and performs smoothing on the target signal, uses a discrete autocorrelation function to calculate the processed target signal, and plots the calculated autocorrelation function value into an autocorrelation waveform;
[0031] The low-pass filter module performs smoothing filtering on the autocorrelation waveform to eliminate local waveform jitter caused by high-frequency noise;
[0032] The respiratory frequency calculation module uses the autocorrelation waveform processed by smoothing filtering and calculates the respiratory period and frequency of the monitored target according to the periodic characteristics of the respiratory signal.
[0033] The invention discloses a method for anti-motion interference respiration monitoring based on multi-antenna WiFi signals, and utilizes the system to perform respiration monitoring.
[0034] 3. Beneficial effects
[0035] Compared with the existing known technologies, the technical solution provided by the present invention has the following significant effects:
[0036] (1) Compared with traditional wearable sensor solutions, the present invention has the advantages of non-contact perception, high user comfort, and easy implementation; compared with solutions based on cameras and dedicated radars, it pays more attention to user privacy, has low hardware cost, and is easy to operate. In addition, the scenario is based on users' daily respiratory health monitoring.
[0037] (2) Based on the hardware foundation that WiFi devices are usually equipped with multiple antennas, the present invention designs adaptive motion interference suppression beamforming and its supporting method, which can adaptively suppress motion interference noise from non-target directions while enhancing the target breathing signal. Therefore, the present invention can deal with the problem of motion interference from others in the wireless sensing environment and has good environmental robustness.
[0038] (3) During the signal preprocessing process, the present invention not only corrects the CSI time-varying phase offset, but also compensates for the initial phase offset between different antennas of the same receiver, making the CSI beamforming technology more stable on commercial WiFi devices and supporting directional target area perception and interference suppression in non-target areas, so the system has higher stability.
[0039] (4) The present invention utilizes the spatial position separation characteristics of multiple targets in the environment and adopts an improved adaptive beamforming method to adjust the channel weights to enhance the respiratory signal of the target individual, while suppressing the interference caused by other interference sources (such as adjacent individuals) and non-target direction motion interference, thereby effectively avoiding the influence of respiratory coupling on respiratory monitoring. BRIEF DESCRIPTION OF THE DRAWINGS
[0040] Figure 1 is a schematic structural diagram of a human respiratory monitoring system of the present invention;
[0041] Figure 2 It is a schematic diagram of the user perception scenario in the present invention.
[0042] Figure 3 It is a schematic diagram of respiratory waveform extraction in a static perception scenario of the present invention.
[0043] Figure 4 It is a schematic diagram of respiratory waveform extraction in a mild motion interference scenario of the present invention.
[0044] Figure 5 It is a schematic diagram of respiratory waveform extraction in a severe motion interference scenario of the present invention. DETAILED DESCRIPTION
[0045] In order to further understand the content of the present invention, the present invention is described in detail in conjunction with the accompanying drawings and embodiments.
[0046] Example 1
[0047] The anti-motion interference breathing monitoring system based on multi-antenna WiFi signals of this embodiment arranges multiple antennas of WiFi devices in the form of uniform linear arrays, utilizes the wireless channel state CSI data collected by the pre-processed WiFi device from the receiving antenna array, designs and uses the adaptive beamforming technology based on null-steering scanning to suppress the motion interference signal from the noise direction, and extracts and analyzes the human breathing signal in the respiratory monitoring target direction, so as to accurately estimate the target user's breathing frequency. Compared with the traditional beamforming that only controls the main lobe direction of the beam and has insufficient control over the unknown null-steering, the core concept of the present invention is to achieve maximum suppression of unknown motion interference noise and extract the respiratory monitoring target signal data by constructing a series of controllable null-steering beams and adopting the null-steering scanning method; to deal with the problem of insufficient anti-motion interference capability caused by insufficient main lobe gain, weak side lobe and null-steering control capability of traditional beamforming due to the insufficient number of receiving antennas of existing commercial WiFi devices.
[0048] like Figure 1 As shown, the human respiratory monitoring system of this embodiment includes: a data acquisition module, a data preprocessing module, a motion interference signal suppression module and a human respiratory frequency monitoring module.
[0049] An example of a respiratory monitoring scenario in a daily home environment is as follows: A user is facing the receiver antenna array and performing daily respiratory rate parameter monitoring at a distance of 0.8-1m from the receiver. There may be other moving people or objects in the monitoring area. The sensing scenario is as follows: Figure 2 shown.
[0050] The data acquisition module uses the CSI Tool toolkit and commercial WiFi devices to collect CSI data of wireless channel status, and segment the collected signals in turn, and transmit the segmented data to the data preprocessing module. Among them, CSI data is a set of parameters that describe the various physical characteristics of wireless signals during transmission. By acquiring and analyzing the CSI data of WiFi devices, the propagation of wireless signals in space can be understood, including signal strength, transmission speed, delay, multipath effect, etc. For WiFi devices that collect CSI data, the transmitter is required to be equipped with at least one transmitting antenna, the receiver is required to be equipped with at least three receiving antennas, and the receiving antennas are arranged in a linear antenna array, with the antennas spaced at a distance of half a wavelength; the monitored person is performing breathing monitoring on the receiving antenna array.
[0051] The data preprocessing module integrates a time-varying phase offset elimination module, a PLL phase offset compensation module and a subcarrier selection module; wherein:
[0052] The time-varying phase offset elimination module is used to reduce the time-varying phase offset noise of the CSI data caused by the asynchronous clocks of the transmitter and receiver of the WiFi device. Since different antennas of the same receiver share the same signal clock, the time-varying phase offset noise of different transmitting and receiving antenna data streams is consistent, so the phase difference between antennas can be used to neutralize and eliminate this noise interference. The module first uses a genetic algorithm to optimize the weighted signals of all antenna data streams, with the goal of minimizing the breathing energy of the weighted signal, thereby determining the optimal weights and constructing a reference CSI vector that contains time-varying phase offset data but does not contain human motion information (energy in the spectrum range of 0.1~0.5Hz). ; Then, each antenna data stream is compared with the reference CSI vector Perform complex division. Since the reference CSI vector has the same time-varying phase offset as each antenna data stream, the time-varying phase offset noise caused by the asynchrony of the commercial WiFi device transceiver can be effectively eliminated through the phase subtraction operation in the complex division. The advantage of this processing method is that it can prevent the human motion information in the CSI phase data from being obliterated by noise without destroying the integrity of the motion information contained in the original CSI data. Finally, the antenna data stream with the time-varying phase offset noise removed is transmitted to the PLL phase offset compensation module.
[0053] The PLL phase offset compensation module compensates for the phase difference between different antenna data streams to reduce the "phase noise between antennas" caused by the non-sharing of phase-locked loops of different antennas of the same receiver of commercial WiFi devices, and outputs antenna data streams with the PLL phase offset between antennas removed. When commercial WiFi devices receive signals, there may be phase differences between different antenna data streams. This phase difference mainly comes from the non-sharing of the phase-locked loop inside the device; this non-sharing means that each antenna has its own PLL, and the slight difference between these PLLs will cause phase noise between antennas, which may cause beamforming offset. This module uses the "π offset" characteristic of the initial phase of different antenna data streams (the difference in the initial phase of the PLL between different antennas is an integer multiple of π) to perform phase compensation for different antenna data streams in the CSI data. The "π offset" characteristic can be expressed as:
[0054]
[0055] in, and Respectively represent i Antenna and j The initial phase offset of the antenna. Next, the module uses the antenna data stream of the first antenna of the receiver as a reference and performs the following steps on the antenna data streams of other antennas:
[0056] First, each CSI data of the antenna data stream is compensated with a different “π offset”
[0057]
[0058] in, Indicates the module input i Antenna data stream f Subcarrier, t CSI data at the moment, represents the CSI data after "π offset" compensation, is the phase compensation represented by complex multiplication.
[0059] Subsequently, the Euclidean similarity between the antenna data streams after different phase compensation and the normalized first antenna data stream is calculated. Since the incident angle of the reflected signal corresponding to the monitoring target is close to zero, the phase difference between the antennas generated in theory is also close to zero. The higher the similarity between the compensated antenna data stream and the first antenna data stream (the smaller the Euclidean distance), the greater the probability of being corrected. Therefore, the antenna data streams with the highest similarity to the first antenna after compensation are finally output as the input of the next module.
[0060] The subcarrier selection module performs spectrum analysis on each subcarrier signal in the input different antenna data streams, and selects the subcarrier containing the most human motion information (specifically, the sum of the spectrum energy of 0.1~0.5Hz) for each antenna data stream, which is used for subsequent adaptive beamforming and respiratory frequency estimation based on null-steering scanning.
[0061] The motion interference signal suppression module integrates an adaptive beamforming module based on null-steering scanning and a respiratory monitoring target direction signal extraction module; wherein:
[0062] The adaptive beamforming module based on null-steering scanning optimizes and improves the traditional beamforming technology. When the direction of the respiratory monitoring target is known (for example, the 0° direction), it adaptively enhances the signal in the direction of the respiratory monitoring target and suppresses the motion noise from the non-respiratory monitoring target direction in the sensing area. This module can achieve a strong anti-motion interference effect by using beam null-steering scanning when the number of antenna arrays is small. Specifically:
[0063] (1) Initialization parameters: According to the application scenario and system requirements, set the basic parameters of the adaptive beamforming module based on null-steering scanning, including the number of uniform linear antenna arrays. N , array spacing d , the direction of the respiratory monitoring target For example, to initialize the number of antennas , antenna spacing , the target direction of breathing monitoring is ;
[0064] (2) Respiration monitoring target direction estimation: Estimate the direction of the target signal through signal processing algorithms (such as MUSIC algorithm, arrival angle estimation, etc.). If the breathing monitoring target direction is known to be 0°, this step can be performed directly.
[0065] (3) Calculation of antenna pattern beam weights: Based on the signal characteristics of the breathing monitoring target direction and the non-breathing monitoring target direction, the beam weights of the antenna pattern with the main lobe of the beam pointing toward the breathing monitoring target direction and the antenna pattern with the null pointing toward a non-breathing monitoring target direction are calculated respectively. , construct the loss function as follows:
[0066]
[0067] in, and Respectively represent the guidance vectors of a certain interference direction and the respiratory monitoring target direction, and are two constant weights, HIt is the conjugate transpose operation in complex vector operations. The meaning of this formula is that the gain in the main lobe direction of the antenna pattern is high enough and the gain in the interference direction is low enough, so the system will optimize the weight coefficient Set to Then, the zero sink direction is calculated respectively. (Non-respiratory monitoring target direction) Antenna pattern weights from -90° to 90°, with a step size of 1°. These weights are used to adjust the signal amplitude and phase of each antenna element to achieve beamforming based on null-steering scanning.
[0068] (4) Beamforming based on null-steering scanning: The calculated beam weight is applied to perform weighted processing on the received signal, and the CSI data obtained after beam null-steering scanning in each direction is output (the scanning direction is -90° to 90°, with a total of 181 beam null-steering scanning data streams).
[0069] The respiratory monitoring target direction signal extraction module selects the beam null-steering scan data containing the most human respiratory motion information (0.1-0.5Hz) through spectrum analysis based on the CSI data in each direction after the null-steering scan. When selecting the respiratory monitoring target direction signal data, the module first performs normalization preprocessing on the signals obtained by the null-steering scan, and then converts from the time domain to the frequency domain based on the fast Fourier transform, and finally evaluates the signal energy of each null-steering scan data stream in the range of 0.1-0.5 Hz, and selects the data stream containing the most energy in this range as the target signal. Figure 3-5 The target respiratory waveform extraction of the system in different situations of no motion interference, mild motion interference and severe motion interference is shown respectively. It can be seen that the respiratory waveform extracted by this embodiment is basically consistent with the true value data collected by the acceleration sensor, and can cope with different degrees of motion interference.
[0070] The human respiratory rate monitoring module integrates an autocorrelation processing module, a low-pass filtering module and a respiratory rate calculation module. The module inputs the target signal extracted by the motion interference signal suppression module, calculates and outputs the respiratory rate of the monitored target, wherein:
[0071] The autocorrelation processing module adopts an autocorrelation processing algorithm to output a sequence of autocorrelation function values of a target direction signal for respiratory monitoring. First, the target signal is subjected to outlier removal and smoothing processing to reduce the influence of noise and outliers in the data on the analysis results. Subsequently, a discrete autocorrelation function is used, and the step size is set to 1 to calculate the autocorrelation function of the processed target signal. The calculated autocorrelation function value is plotted as an autocorrelation waveform. The autocorrelation waveform can intuitively show the correlation between different time points in a time series. Typically, the autocorrelation waveform will show some obvious peaks, and the time intervals corresponding to these peaks can reveal the periodicity in the time series, and each main peak represents a periodic breath.
[0072] The low-pass filter module performs smooth filtering on the autocorrelation waveform to eliminate local waveform jitter caused by high-frequency noise and avoid misjudgment of respiratory frequency caused by local peaks. Specifically, a Savitzky-Golay filter is used to process the high-frequency noise in the autocorrelation function value sequence, and the smoothing window is set to 0.5s (when the sampling frequency is 1000, the window is 500 sampling points), and a cubic low-order polynomial is used in the window to fit the data to achieve data smoothing.
[0073] The respiratory frequency calculation module uses the autocorrelation waveform that has been processed by smoothing and filtering to calculate the respiratory cycle and frequency of the monitored target based on the periodic characteristics of the respiratory signal. On the autocorrelation waveform, the position of the peak corresponds to the length of the respiratory cycle. By measuring the distance between adjacent peaks, the respiratory frequency, that is, the number of breaths per minute, can be calculated. For example, assuming that the time of the first peak of the autocorrelation waveform represents the interval between the first breath and the second breath in a certain time period T , then the final calculated respiratory rate is 1 / T .
[0074] Example 2
[0075] The anti-motion interference breathing monitoring method based on multi-antenna WiFi signals of this embodiment comprises the following steps:
[0076] 1) Collect wireless channel state information CSI;
[0077] The Linux 802.11n CSI Tool is configured on the WiFi signal transmitting device Tx and the receiving device Rx. Both the transmitting and receiving devices are equipped with the Intel 5300 network card driver. The transmitter Tx injects data packets in the 5GHz band at a transmission frequency of 1000Hz, and the Rx collects CSI data in the monitor mode. Each collected CSI data is represented in the form of a complex matrix. For example, when the number of transmitting antennas is , the number of receiving antennas is , the number of subcarriers is When , the size of the CSI matrix is .in , the CSI Tool can read up to 30 subcarrier states.
[0078] During respiratory monitoring, CSI is continuously sampled over time to form a time series ,in Indicates the number of samples.
[0079] 2) Data preprocessing;
[0080] Each antenna data stream of each subcarrier performs time-varying phase offset elimination. First, a genetic algorithm is used to search for a weight vector with the minimum energy in the 0.1-0.5 Hz spectrum range. , and use the weight to perform weighted summation on the antenna data stream to obtain a reference CSI vector Then, each antenna data stream is complex-divided by the reference vector to obtain the data after eliminating the time-varying phase offset. .
[0081] Perform PLL phase offset compensation on each antenna data stream of each subcarrier. Take the antenna data stream of the first antenna as a reference and perform PLL phase offset compensation on the antenna data streams of other antennas. π The phase compensation is performed by an integer multiple of , and the Euclidean similarity between the compensated antenna data stream and the antenna data stream of the first antenna is calculated. The higher the similarity, the greater the probability of being corrected. Finally, the antenna data stream with the highest similarity to the first antenna is output as the input of the next module.
[0082] The subcarrier selection module compares the collected 30 subcarrier CSI data streams through spectrum analysis, and selects the subcarrier containing the most human motion information (specifically, the sum of the spectrum energy of 0.1~0.5Hz) for subsequent adaptive beamforming and respiratory frequency estimation based on null-steering scanning.
[0083] 3) Motion interference suppression and target signal extraction;
[0084] Assume that the direction of the monitored person relative to the receiving antenna array is , the direction of the motion interferer is , and the direction of the motion interferer is unknown. The main lobe direction is constructed to face the breathing monitoring target direction, and the null is aligned to a non-breathing monitoring target direction. The beam weights of the antenna pattern , the step size is set to 1°, which is used to adjust the signal amplitude and phase of each antenna data stream to achieve adaptive beamforming based on null-steering scanning.
[0085] Based on the calculated beam weights , weighted processing is performed on the received signal, and the CSI data obtained after beam nulling scanning in each direction is output (the scanning direction is -90°-90°, with a total of 181 nulling scanning data streams).
[0086] First, the CSI data in each direction after the null-scan is normalized and then converted to the frequency domain using the fast Fourier transform. The signal energy of each null-scan data stream in the range of 0.1-0.5 Hz is evaluated, and the data stream with the highest energy is selected as the target signal.
[0087] 4) Human respiratory rate monitoring;
[0088] Preprocess the target signal to remove outliers. Use discrete autocorrelation function, set the step size to 1, and calculate the autocorrelation function of the processed target signal. Each main peak of the output autocorrelation waveform usually represents a periodic breath, providing a basis for subsequent respiratory frequency calculation.
[0089] In order to eliminate the local waveform jitter caused by high-frequency noise, the Savitzky-Golay filter is used to smooth the autocorrelation waveform. The smoothing window size (such as 0.5s) is set, and a cubic low-order polynomial is used to fit the data in the window to achieve data smoothing. On the autocorrelation waveform curve, the length of the respiratory cycle is determined by measuring the distance between adjacent peaks, and then the respiratory frequency is calculated.
[0090] The present invention and its embodiments are described schematically above, and the description is not restrictive. The drawings show only one embodiment of the present invention, and the actual structure is not limited thereto. Therefore, if a person skilled in the art is inspired by it and designs a structural method and an embodiment similar to the technical solution without creativity without departing from the purpose of the invention, they shall all fall within the protection scope of the present invention.
Claims
1. Anti-motion interference respiratory monitoring system based on multi-antenna WiFi signals, characterized by: It includes a data acquisition module, a data preprocessing module, a motion interference signal suppression module and a human respiratory rate monitoring module; wherein: The data acquisition module uses WiFi equipment to collect CSI data of wireless channel status, and segment the collected CSI data in turn, and transmit the segmented CSI data to the data preprocessing module; The data preprocessing module first eliminates the time-varying phase offset noise in the CSI data, then compensates for the phase difference between different antenna data streams in the CSI data, and selects the subcarriers containing the most human motion information in each antenna data stream; The motion interference signal suppression module sets up an adaptive beamforming module based on null-steering scanning and a signal extraction module for the respiratory monitoring target direction, adaptively enhances the signal in the respiratory monitoring target direction, and suppresses the motion noise from the non-respiratory monitoring target direction in the sensing area, and selects the beam null-steering scanning data containing the most human respiratory motion information as the final target signal; The data processing process of the adaptive beamforming module based on null-steering scanning is as follows: (1) Set the basic parameters of the adaptive beamforming module based on null-steering scanning, including the number of uniform linear antenna arrays , array spacing , the direction of the respiratory monitoring target ; (2) Estimate the direction of the respiratory monitoring target signal through signal processing algorithms; (3) According to the signal characteristics of the breathing monitoring target direction and the non-breathing monitoring target direction, the beam weights of the antenna pattern with the main lobe direction facing the breathing monitoring target and the antenna pattern with the null directed toward a non-breathing monitoring target direction are calculated respectively; (4) Using the calculated beam weight, the received signal is weighted and processed, and the CSI data obtained after beam nulling scanning in each direction is output; The human respiratory rate monitoring module calculates and outputs the respiratory rate of the respiratory monitoring target according to the final target signal obtained.
2. The anti-motion interference breathing monitoring system based on multi-antenna WiFi signals according to claim 1 is characterized in that: For WiFi devices that collect CSI data, the transmitter is equipped with at least one transmitting antenna, and the receiver is equipped with at least three receiving antennas. The receiving antennas are arranged in a linear antenna array, and the antennas are spaced at a distance of half a wavelength.
3. The anti-motion interference breathing monitoring system based on multi-antenna WiFi signals according to claim 1 or 2, characterized in that: The data preprocessing module includes a time-varying phase offset elimination module, a PLL phase offset compensation module and a subcarrier selection module; wherein: The time-varying phase offset elimination module is used to reduce the CSI data time-varying phase offset noise caused by the asynchrony of the transmitter and receiver clocks of the WiFi device; The PLL phase offset compensation module compensates for the phase difference between different antenna data streams in the CSI data, and outputs an antenna data stream with the PLL phase offset between the antennas removed; The subcarrier selection module performs spectrum analysis on each subcarrier signal in the input different antenna data streams, and selects the subcarrier containing the most human motion information for each antenna data stream, which is used for subsequent adaptive beamforming and respiratory frequency estimation based on null-steering scanning.
4. The anti-motion interference breathing monitoring system based on multi-antenna WiFi signals according to claim 3 is characterized in that: The time-varying phase offset elimination module uses a genetic algorithm to search for a weight vector with the minimum energy in the 0.1-0.5 Hz spectrum range, and uses the weight vector to perform weighted summation processing on the antenna data stream in the CSI data to obtain a reference CSI vector ; Then, each antenna data stream is compared with the reference CSI vector Perform complex division to obtain data after eliminating the time-varying phase offset .
5. The anti-motion interference breathing monitoring system based on multi-antenna WiFi signals according to claim 4 is characterized in that: The PLL phase offset compensation module uses the antenna data stream of the first antenna in the CSI data as a reference and performs phase offset compensation on the antenna data streams of other antennas respectively. π The phase compensation is performed by an integer multiple of , and the Euclidean similarity between the compensated antenna data stream and the antenna data stream of the first antenna is calculated, and finally the antenna data stream with the highest similarity to the first antenna is output as the input of the next module.
6. The anti-motion interference breathing monitoring system based on multi-antenna WiFi signals according to claim 5 is characterized in that: The angle range of the non-respiratory monitoring target direction in step (3) is -90° to 90°, and the step length is set to 1°.
7. The anti-motion interference breathing monitoring system based on multi-antenna WiFi signals according to claim 6 is characterized in that: The motion interference signal suppression module is provided with a respiratory monitoring target direction signal extraction module, which performs normalization preprocessing on the CSI data in each direction after the beam nulling scan, and then converts it from the time domain to the frequency domain based on the fast Fourier transform, and finally evaluates the signal energy of each beam nulling scan data in the range of 0.1-0.5 Hz, and selects the beam nulling scan data containing the most energy in this range as the final target signal.
8. The anti-motion interference breathing monitoring system based on multi-antenna WiFi signals according to claim 6 is characterized in that: The human respiratory rate monitoring module includes an autocorrelation processing module, a low-pass filtering module and a respiratory rate calculation module; wherein: The autocorrelation processing module removes outliers and performs smoothing on the target signal, uses a discrete autocorrelation function to calculate the processed target signal, and plots the calculated autocorrelation function value into an autocorrelation waveform; The low-pass filter module performs smoothing filtering on the autocorrelation waveform to eliminate local waveform jitter caused by high-frequency noise; The respiratory frequency calculation module uses the autocorrelation waveform processed by smoothing filtering and calculates the respiratory period and frequency of the monitored target according to the periodic characteristics of the respiratory signal.
9. A motion-interference-resistant breathing monitoring method based on multi-antenna WiFi signals, characterized in that: Respiration monitoring is performed using the system described in any one of claims 1 to 8.
