Multi-domain fusion Wi-Fi human body motion intelligent perception and identification method
Through the multi-domain fusion Wi-Fi human action intelligent perception recognition method, multi-domain statistical features are extracted and the SVM classification model is used to solve the problem of low action recognition accuracy in complex indoor environments and achieve high accuracy and low complexity. Action recognition.
Patent Information
- Application Number
- CN202410789494.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-19
- Publication Date
- 2024-10-22
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
Existing wireless sensing technology has low accuracy in action recognition in complex indoor environments, making it difficult to achieve fine-grained representation and high-accuracy action perception. In addition, deep learning network training costs are high and is susceptible to environmental changes.
The multi-domain fusion Wi-Fi human action intelligent perception and recognition method is used to construct a multi-domain statistical feature vector by extracting the signal dynamic path, the path parameters of the shortest reflection path of the human body, CSI amplitude values and phase values, and uses the SVM classification model for training to achieve action recognition.
It improves the recognition accuracy of various indoor actions, reduces the complexity of the recognition method, reduces the impact of electromagnetic noise and environmental changes, and ensures the recognition accuracy in different indoor environments.
Smart Images

Figure CN118828664A_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the technical field of wireless communications, and in particular relates to a motion perception and recognition method, which can be used for motion recognition in complex indoor scenes. Background Art
[0002] With the development of the sixth generation of mobile communications (6G), ISAC, an integrated communication and perception technology, has become the research focus of the new generation of communications, and various wireless perception applications have gradually emerged. Among them, indoor human motion perception technology provides essential technical support for hot areas such as smart home, smart medical care, virtual reality, and human-computer interaction. In particular, with the successful acquisition of channel state information (CSI) in commercial Wi-Fi devices, the complex multipath conditions under indoor channels can be characterized in a more fine-grained manner, and the use of CSI to perceive and identify human motion has become a research hotspot. However, the existing human motion Wi-Fi perception technology still faces many problems: First, the perception model established only from a single time domain or frequency domain has the problem of insufficient modeling granularity, making it difficult to achieve fine-grained characterization of multiple indoor actions; second, the indoor electromagnetic noise and environment are complex and changeable, and the recognition accuracy of existing recognition methods is low. Therefore, indoor motion perception requires the design of a fine-grained and high-accuracy perception method.
[0003] In terms of perception model establishment, traditional motion perception models include single time domain representation model and single frequency domain representation model. Indoor human body motion will cause CSI signal fluctuations, which will cause corresponding changes in CSI amplitude and phase. The time domain representation model can achieve motion representation by extracting the time domain statistical features of amplitude and phase difference; the frequency domain representation model often completes modeling based on the principle that the speed of different human body motions causes different path length change speeds, which in turn causes different DFS. The CSI amplitude time-frequency diagram can be obtained by short-time Fourier transform STFT, and the corresponding DFS can be obtained from the time-frequency diagram. Different actions can be distinguished by extracting DFS-related statistical features. However, the time domain model only describes the motion amplitude attributes to a certain extent, and the proposed feature quantity is for the statistical characteristics of the CSI signal waveform, which is more sensitive to indoor environmental noise. The frequency domain model only describes the motion frequency energy distribution to a certain extent, and cannot directly derive DFS features and speed features. In addition, the time-frequency diagram obtained by STFT has low accuracy, and the granularity of motion modeling using only the frequency domain model is low, which will affect the subsequent recognition accuracy.
[0004] In terms of action recognition, action recognition is usually completed by designing a suitable classification model based on the characteristic structure of the constructed action perception model. The classification model determines the recognition accuracy of the entire perception system. The existing simple probability or distance-based measurement methods have low recognition accuracy and are easily affected by noise interference; although complex deep learning networks can provide higher recognition accuracy, they have defects such as high training cost and poor recognition effect under changing environment.
[0005] Patent document with publication number CN113453180A discloses a human fall intelligent detection method, system, and information data processing terminal. The method extracts the fall action time window based on the indoor human movement speed and the fall action threshold, and combines the CSI amplitude and phase difference as statistics, and further sends it to the classification model for fall detection. Since this method only detects the fall action, it cannot complete the classification and recognition of other indoor actions;
[0006] The patent document with application number CN202310760546.6 discloses a human perception method, device, equipment and medium based on synaesthesia integrated routing, which preprocesses and optimizes the CSI data stream collected by Wi-Fi, eliminates invalid data streams, and uses support vector machine SVM to train and test the optimized CSI data stream. Since this patent directly trains the CSI data stream and does not extract multiple statistical features of CSI, it is easily affected by indoor noise and has low recognition accuracy when the indoor environment changes.
[0007] In 2023, MG et al. published "A WiFi-Based Method for Recognizing Fine-Grained Multiple-Subject Human Activities" in IEEE Transactions on Instrumentation and Measurement. The fine-grained action recognition technology FG extracted 7 CSI and 3 RSSI non-segmented frequency domain features, 12 segmented time domain features and 5 segmented frequency domain features as fusion features to achieve action modeling, and further used support vector machine SVM, K-nearest neighbor KNN and other classification models to complete action recognition. Although the classification model has a high recognition accuracy, the recognition accuracy decreases when the indoor environment changes;
[0008] In 2022, Zhang et al. published "Widar3.0: Zero-Effort Cross-Domain Gesture Recognition With Wi-Fi" in IEEE Transactions on Pattern Analysis and Machine Intelligence. They combined spatial and frequency domain information, used multi-node DFS feature fusion to generate body coordinate velocity contour features, and further used a hybrid DNN-RNN model to mine the fused spatiotemporal features from three Wi-Fi nodes. Finally, Softmax was used for classification. Although this method can provide higher recognition accuracy, it has the defect of high model complexity. Summary of the invention
[0009] The purpose of the present invention is to address the deficiencies of the above existing technologies and propose a multi-domain fusion Wi-Fi human motion intelligent perception and recognition method to realize the recognition of multiple indoor actions, improve the accuracy of motion recognition when the indoor environment changes, and reduce the complexity of the recognition method.
[0010] To achieve the above object, the technical solution adopted by the present invention includes the following steps:
[0011] (1) Deploy a pair of commercial Wi-Fi transceiver devices in an indoor environment. The transmitter includes a transmitting antenna and the receiver includes multiple receiving antennas. The transmitting antenna and the receiving antenna form a square sensing area to measure the path distance range between the transmitter and the receiver. LoS , receiving end position Rx(x r ,y r ) and the receiving antenna array angle ψ r ; Use Wi-Fi receiving equipment to collect original channel state information CSI data H r , record action label l n ;
[0012] (2) Using the original CSI data H r Extract the signal dynamic path and obtain the signal dynamic path set χ(γ);
[0013] (3) Parameter estimation is performed on the path parameter set Θ of the signal dynamic path set χ(γ), and the path parameter of the shortest reflection path of the human body is identified using the parameter estimation result. Among them, α l-target , φ l-target , τ l-target They represent the normalized amplitude attenuation factor of the shortest reflection path of the human body, Doppler frequency shift DFS, signal arrival angle AoA, and signal flight time ToF respectively;
[0014] (4) For the original CSI data H r Perform preprocessing to obtain the CSI amplitude value and CSI phase value
[0015] (5) Using CSI amplitude value and the path parameters of the shortest reflection path of the human body Get the action data set Data;
[0016] 5a) Using CSI amplitude value Get the time-frequency graph data S(n,f) and action time window [t start ,t end ];
[0017] 5b) Using the range of the path distance between the transmitter and receiver LoS and the DFS value in the parameter estimation results of the shortest reflection path of the human body and ToF value τ l-target Obtain the actual dynamic path length range;
[0018] 5c) Using the receiver position Rx(x r ,y r ), receiving antenna array angle ψ r , the actual dynamic path length range and the AoA value φ in the parameter estimation result of the shortest reflection path of the human body l-target , calculate the coordinates of the action location l(x,y);
[0019] 5d) According to the action time window [t start ,t end ] and the action location coordinates l(x,y) to calculate the action speed v at time t t and position change ΔL;
[0020] 5e) Using the action time window [t start ,t end ]、CSI amplitude value CSI Phase Value The DFS value in the time-frequency graph data S(n,f) and the parameter estimation result of the shortest reflection path of the human body Position change ΔL, motion speed v t , get the action data set Data;
[0021] (6) The action dataset Data is divided into a training set and a test set in a ratio of 9:1, and the training set is input into the existing SVM classification model. The training set is trained using the LibSVM toolkit in the MATLAB software until the maximum number of iterations is reached, and the trained SVM classification model is obtained.
[0022] (7) Input the test set data into the trained classification model In the test dataset, we get the action class label l corresponding to the test dataset. test , complete indoor action recognition.
[0023] Compared with the prior art, the present invention has the following advantages:
[0024] First, the invention extracts the characteristics of human motion related action time window, amplitude value, phase value, action speed and position change, and completes multi-dimensional characterization of the amplitude, speed, position and duration of the action, forming a multi-domain statistical feature vector The comprehensive expression of action attributes is realized, which can realize the effective recognition of various indoor actions. The proposed features are not easily affected by electromagnetic noise and environmental changes because they contain fusion features of multiple statistical features such as speed and position.
[0025] Second, the present invention is due to the path parameter of the shortest reflection path of the body Extraction can effectively reduce the interference of other path components of indoor wireless signals on action recognition and ensure the accuracy of subsequent action recognition.
[0026] Third, the present invention pre-processes the original CSI data to remove the noise of the complex indoor electromagnetic environment, avoids the influence of noise on the extraction of statistical feature quantities, and can ensure the recognition accuracy in different indoor environments.
[0027] Fourth, the present invention uses the SVM classification model to complete the multi-domain statistical feature vector of the test data set. Training, the classification model used can reduce the training cost and complexity of the model on the basis of accurate identification.
[0028] Simulation results show that the present invention achieves intelligent perception and accurate recognition of multiple actions when different indoor environments change. BRIEF DESCRIPTION OF THE DRAWINGS
[0029] Figure 1 It is a flow chart for realizing the present invention;
[0030] Figure 2 A sub-flow chart for extracting a signal dynamic path set in the present invention;
[0031] Figure 3 A sub-flow chart for estimating the shortest reflection path parameters of the human body in the present invention;
[0032] Figure 4 It is a sub-flow chart of extracting multi-domain statistical feature vectors in the present invention;
[0033] Figure 5 This is a schematic diagram of the calculation principle of the position of human body action in the present invention;
[0034] Figure 6 This is a comparison chart of the action recognition accuracy of the present invention and the existing algorithm. DETAILED DESCRIPTION
[0035] The embodiments of the present invention are further described in detail below in conjunction with the accompanying drawings.
[0036] Reference Figure 1 , the implementation steps of this example are as follows:
[0037] Step 1: Deploy a pair of commercial Wi-Fi devices in an indoor environment and build a dataset.
[0038] 1.1) Deploy a pair of commercial Wi-Fi transceiver devices in an indoor environment, where the transmitter includes a transmitting antenna and the receiver includes multiple receiving antennas. The transmitting antenna and the receiving antenna form a square sensing area, and a coordinate system is established with the transmitting end as the origin, such as Figure 5 As shown;
[0039] 1.2) Measure the path distance range between the transmitter and receiver LoS , receiving end position Rx(x r ,y r ) and the receiving antenna array angle ψ r ;
[0040] 1.3) Collect original channel state information CSI data H using Wi-Fi receiving equipment r , record action label l n :
[0041]
[0042] l n ∈{1,2,...,M},n=1,2,...,M
[0043] in, represents the original CSI measurement value of the kth subcarrier on the rth receiving antenna, P represents the total number of subcarriers, M represents the number of action types, and N r Indicates the number of receiving antennas;
[0044] Step 2: Using the original CSI data H rThe signal dynamic path is extracted to obtain the signal dynamic path set χ(γ).
[0045] Reference Figure 2 , the specific implementation of this step is as follows:
[0046] 2.1) To select a reference antenna suitable for extracting the dynamic path, calculate the original CSI data H of each antenna r The amplitude mean square error σ(r,k):
[0047]
[0048] in, represents the CSI amplitude mean of the rth antenna and the kth subcarrier, q represents the calculation window length, represents the original CSI amplitude data at time n on the rth antenna and the kth subcarrier, P represents the total number of subcarriers, N r Indicates the number of receiving antennas;
[0049] 2.2) Calculate the average amplitude mean square error σ(r) and the maximum average amplitude mean square error σ for each antenna 0 :
[0050]
[0051] σ 0 =max(σ(r))
[0052] 2.3) Choose and σ 0 The original CSI data of the corresponding antenna is used as the reference antenna CSI data H 0 , other antennas are used as non-reference antennas H:
[0053] 2.4) Calculate the amplitude reduction β of the non-reference antenna 1 and the amplitude increase of the reference antenna β 2 :
[0054] β 1 =min(abs(H)),β 2 =ρ*β 1
[0055] Wherein, abs(·) indicates amplitude operation, min(·) indicates minimum value, and ρ indicates magnification. In this example, ρ=1000 is assumed but not limited thereto.
[0056] 2.5) Using the non-reference antenna CSI data H to obtain the non-reference antenna CSI data H′ with reduced amplitude, using the reference antenna CSI data H 0 Get the reference antenna CSI data H after the amplitude is increased 0' :
[0057] H′=(abs(H′)-β 1 )⊙e j*angle(H′)
[0058]
[0059] Where abs(·) represents the amplitude operation, ⊙ represents the Hadamard product operation, angle(·) represents the angle operation, β 1 and β 2 They represent the amount of amplitude reduction and the amount of amplitude increase respectively;
[0060] 2.6) Compare the non-reference antenna CSI data H′ with reduced amplitude and the reference antenna CSI data H with increased amplitude 0 'Perform conjugate multiplication to obtain the product C(γ):
[0061] C(γ)=H′×(H 0 ) *
[0062] in,(·) * represents the conjugate operation;
[0063] 2.7) Perform Butterworth bandpass filtering on the product C(γ):
[0064] In this example, a Butterworth filter with upper and lower cutoff frequencies of 180 Hz and 5 Hz is used to remove other path components, and the signal dynamic path set χ(γ) is obtained:
[0065]
[0066] Among them, L d Indicates the number of dynamic paths, represents the CSI data of the lth dynamic path, is the path parameter of the lth reflection path.
[0067] Step 3, perform parameter estimation on the path parameter set Θ of the signal dynamic path set χ(γ), and use the parameter estimation result to identify the path parameter of the shortest reflection path of the human body.
[0068] Reference Figure 3 , the specific implementation of this step is as follows:
[0069] 3.1) Initialization parameter Θ i and the CSI data of the i-th estimated dynamic path
[0070]
[0071]
[0072] in, is the zero vector, is the path parameter of the lth dynamic path, expressed as:
[0073]
[0074] Where, L d Indicates the number of dynamic paths, They are the complex amplitude attenuation factor, Doppler frequency shift DFS, signal arrival angle AoA, and signal flight time ToF of the i-th estimated l-th signal propagation path.
[0075] 3.2) Using the signal dynamic path set χ(γ) and the CSI data of the i-th dynamic path Iteratively calculate the CSI parameters of the i-th dynamic path
[0076]
[0077] Among them, β l Used to control the convergence speed of the algorithm, set to 1 in this example;
[0078] 3.3) Using the CSI parameters of the i-th dynamic path and the i-th estimated Iterative estimation of ToF value AoA value DFS value and the normalized amplitude decay factor The path parameter set Θ that constitutes the i+1th iteration estimate i+1 :
[0079]
[0080]
[0081]
[0082]
[0083]
[0084] in, N, N r , P are the number of packets, the number of receiving antennas and the number of subcarriers during parameter estimation, argmax{·} represents the maximum likelihood estimation of the parameters, and z represents the parameter estimation function:
[0085]
[0086] Among them, f 0 is the carrier frequency of the channel, Δt n ,Δf k ,Δs m They are and The time difference, subcarrier frequency difference, and receiving antenna distance difference are respectively set as but not limited to N=50, N r =3, P = 30;
[0087] 3.4) Set the threshold ε = 100 and compare the current number of iterations i with it:
[0088] If i≤ε, execute step (3.5);
[0089] Otherwise, return to step (3.2);
[0090] 3.5) The iteration ends and the last sought Θ is i+1 As the path parameter set estimation result Θ:
[0091]
[0092] in, is the parameter estimation result of the lth path, α l , φ l , τ l are the normalized amplitude attenuation factor, DFS value, AoA value, and ToF value corresponding to path l respectively;
[0093] 3.6) Each path parameter in the path parameter estimation result Θ The normalized amplitude factor α l Sort by size, record the path corresponding to the maximum value as l-target, and attenuate the normalized amplitude of path l-target by α l , DFS value AoA value φ l 、ToF value τ l As the parameter estimation values of the shortest reflection path of the human body, they are expressed as follows:
[0094] α l-target =α l
[0095]
[0096] φ l-target =φ l
[0097] τ l-target =τ l
[0098] Among them, α l-target , φ l-target , τ l-target They represent the normalized amplitude attenuation factor of the shortest reflection path of the human body, Doppler frequency shift DFS, signal arrival angle AoA, and signal flight time ToF respectively;
[0099] 3.7) The normalized amplitude attenuation factor α of the shortest reflection path of the human body l-target , DFS value AoA value φ l-target 、ToF value τ l-target Combination, get the parameter estimation result of the shortest reflection path of the human body
[0100]
[0101] Step 4: r Perform preprocessing.
[0102] 4.1) Using the original CSI data H r Get the original CSI amplitude sequence and the original CSI phase sequence
[0103]
[0104]
[0105] Where abs(·) represents amplitude operation, and angle(·) represents angle operation.
[0106] 4.2) Using the original CSI amplitude sequence and phase sequence Get the original CSI amplitude value H n,k and the original CSI phase value ∠H n,k :
[0107]
[0108]
[0109] 4.3) Use discrete wavelet transform to transform the original CSI amplitude value H n,k Decompose and get the approximate coefficients and detail factor
[0110]
[0111]
[0112] Among them, <·> represents the dot product operation, and are two mutually orthogonal wavelet bases;
[0113] 4.4) Using the noise threshold δ n Detail coefficient Processing to obtain the effective detail coefficient
[0114]
[0115] 4.5) Using approximate coefficients Effective detail factor Two mutually orthogonal wavelet bases and Get the CSI amplitude value after denoising
[0116]
[0117] 4.6) For the original CSI phase value ∠H n,k Perform linear transformation to obtain the corrected CSI phase value
[0118]
[0119] Among them, ∠H n,1 and ∠H n,P Respectively represent the original CSI phase values of the 1st subcarrier and the Pth subcarrier at time n, η 1 , η P is the corresponding subcarrier number, ∠H n,k is the original CSI phase value of the kth subcarrier at time n, η k is the corresponding subcarrier number, and P is the total number of subcarriers.
[0120] Step 5: Extract multi-domain statistical feature vectors and construct action datasets.
[0121] Reference Figure 4 , the specific implementation of this step is as follows:
[0122] 5.1) Using CSI Amplitude Value Get the time-frequency graph data S(n,f) and action time window [t start ,t end ]:
[0123] 5.1.1) Using CSI Amplitude Value Get the time-frequency graph data S(n,f):
[0124]
[0125] Among them, w(m) is the window function, w is the sliding window size, N f is the number of fast Fourier transform points;
[0126] 5.1.2) Use the time-frequency graph data S(n,f) to calculate the mean value μ of the time-frequency graph of the sliding window i :
[0127]
[0128] Among them, f L and f H represents the lowest and highest frequencies of the action segments, and M is the number of data points in each sliding window;
[0129] 5.1.3) Using the time-frequency graph data S(n,f) and the mean value μ i Calculate the variance var of the time-frequency graph within the sliding window i :
[0130]
[0131] 5.1.4) Slide the sliding window backward N-ω+1 times to obtain the variance var of the time-frequency graph s :
[0132] var s =[var 1 ,var 2 ,...,var i ,...,var N-w+1 ]
[0133] Among them, var i is the variance of the time-frequency graph within the i-th sliding window;
[0134] 5.1.5) Define the action occurrence threshold δ th , the time-frequency diagram variance var s Normalized to the range of [0,1] to obtain the normalized variance var s1 :
[0135] var s1 =vas s / max(vas s );
[0136] 5.1.6) Normalize the variance var s1 and the action occurrence threshold δ th Compare and determine the start and end points of the action window:
[0137] When the normalized variance var s1Exceeding the action threshold δ th When t is determined as the starting point of the action window start ,
[0138] When the normalized variance var s1 Less than the action threshold δ th When t is determined as the end point of the action window end ;
[0139] 5.2) Using the sender-receiver path distance range LoS and DFS value in the shortest reflection path parameter estimation result of the human body and ToF value τ l-target , find the actual dynamic path length range:
[0140] 5.2.1) Using the DFS value in the parameter estimation result of the shortest reflection path of the human body and ToF value τ l-target Get the theoretical path length range p and the path length change rate v range ;
[0141] range p =τ l-target *c
[0142]
[0143] Where c is the speed of light, and λ is the wavelength of the Wi-Fi signal;
[0144] 5.2.2) Use Kalman filtering method to complete the path length change rate v range Range of theoretical path length p The correction is to set the system parameter control amount u in the Kalman filter to the range obtained by ToF p , the measured value z is set to the path length change rate obtained by DFS, and the path length range after Kalman filtering is obtained p ′;
[0145] 5.2.3) Use the transmit and receive path distance range LoS and the path length range after Kalman filtering p ′Get the actual dynamic path length range:
[0146] range=range LoS +range p ′;
[0147] 5.3) Using the receiver position Rx(x r ,y r), receiving antenna array angle ψ r , the actual dynamic path length range and the AoA value φ in the parameter estimation result of the shortest reflection path of the human body l-target , calculate the coordinates of the action location l(x,y):
[0148]
[0149] in, X is the horizontal coordinate value corresponding to the position where any action occurs within the human action perception area;
[0150] 5.4) According to the action time window [t start ,t end ] and the action location coordinates l(x,y) to calculate the action speed v at time t t And the position change ΔL:
[0151] 5.4.1) Calculate the speed v of the action at time t using the action location coordinates l(x,y) t :
[0152]
[0153] Among them, x t The horizontal coordinate of the action position at time t, y t Indicates the coordinates of the action position at time t t (x t ,y t ), Δt represents the time interval;
[0154] 5.4.2) Using the action time window [t start ,t end ] and the corresponding action location coordinates l(x,y) to obtain the position change ΔL:
[0155]
[0156] in, and Indicates t start The horizontal and vertical coordinates of the action location at the moment, and Indicates t end The horizontal and vertical coordinates of the position where the action occurs at the moment;
[0157] 5.5) Calculate the multi-domain statistical feature vector using the results of steps 5.1) to 5.4) above And construct the action dataset Data:
[0158] 5.5.1) Using the action time window [tstart ,t end ] to obtain the action duration ΔT:
[0159] ΔT=t end -t start ;
[0160] 5.5.2) Using CSI Amplitude Number Get the amplitude normalized standard deviation std 1 , median absolute deviation mad 1 , interquartile range QD 1 :
[0161]
[0162]
[0163] QD 1 =Q 3 -Q 1
[0164] in, median(·) means taking the median of the data sequence, Q 1 and Q 3 These are the data at the 1 / 4 position and the 3 / 4 position in x respectively;
[0165] 5.5.3) Using CSI phase data Get the phase normalized standard deviation std 2 , median absolute deviation mad 2 , interquartile range QD 2 :
[0166]
[0167]
[0168] QD 2 =Q 3 ′-Q 1 '
[0169] in, median(·) means taking the median of the data sequence, Q 1 ′ and Q 3 ′ are the data at the 1 / 4 position and 3 / 4 position in r respectively;
[0170] 5.5.4) Using the time-frequency graph data S(n,f) to obtain the average trunk frequency
[0171]
[0172] in, M is the number of data points in the time-frequency diagram, T S is the sampling rate of the time-frequency diagram;
[0173] 5.5.5) Using the action time window [t start ,t end ]DFS value in the shortest reflection path parameter estimation result of the human body Get the DFS maximum value f max and the mean value f mean :
[0174]
[0175]
[0176] Where N is the action time window [t start ,t end ] contains the number of packets;
[0177] 5.5.6) Using the speed v of the action at time t t Get the average speed v mean , maximum value v max :
[0178]
[0179] v max =max(v t ),t=[t start ,t end ];
[0180] 5.5.7) Using the action duration ΔT, position change ΔL, amplitude normalization standard deviation std 1 , median absolute deviation mad 1 , interquartile range QD 1 , phase normalized standard deviation std 2 , median absolute deviation mad 2 , interquartile range QD 2 , average trunk frequency DFS maximum value f max , mean value f mean , speed average value v mean , maximum value v max Composition of multi-domain statistical feature vectors
[0181]
[0182] 5.5.8) Using action tags n and the multi-domain statistical feature vector of the corresponding action Construct action dataset Data:
[0183]
[0184] Where M represents the number of action types.
[0185] Step 6: Select the cross-validation parameter k. In this example, set k=10, randomly divide the data set Data into 10 parts, and select 9 of them as training data and 1 as test data each time.
[0186] Step 7: Select the existing support vector machine (SVM) model as the classification model and train it.
[0187] 7.1) Install the libSVM installation package in MATLAB software and select the SVM model as the classification model;
[0188] 7.2) Input the training data set into the classification model and select the kernel function. In this example, the RBF kernel function is selected.
[0189] 7.3) Set the maximum number of training iterations ξ, and iteratively train the classification model until the set number of iterations is reached to obtain a trained classification model
[0190] Step 8: Input the test data set into the trained classification model In the example above, we get the action corresponding label l n , complete the recognition of indoor actions.
[0191] The effect of the present invention is further illustrated by simulation experiments below.
[0192] 1. Simulation conditions:
[0193] The simulation uses an Intel Core i9-10900F CPU with a main frequency of 2.80GHz, a memory of 32.0GB, a 64-bit operating system and Microsoft Windows 10 Professional Edition, and the simulation software is MATLAB2022a. When collecting data, two laptops equipped with Intel 5300 network cards are used as the transmitter and receiver respectively. The laptops are configured with an operating system of Ubuntu 12.04LTS, the network cards use an operating frequency and bandwidth of 5.32GHz and 20MHz respectively, and the CSI data packet sampling frequency is 1000Hz. When the experimental equipment is deployed, the path distance range between the transmitter and receiver is LoS =3.5, receiving end position Rx(x r ,y r )=(3.5,0) and the receiving antenna array angle ψ r=0, the maximum number of iterations for SVM model parameter training ξ=1000;.
[0194] 2. Simulation content and result analysis:
[0195] Simulation 1: Under the above conditions, the present invention and the existing methods FG and Widar3.0 are used to simulate and recognize 8 actions in three environments: indoor office, laboratory and dormitory. The 8 actions include sitting, standing, squatting, jumping, walking, running, turning and falling. For each action, 500 action samples are collected as a data set. The average recognition accuracy of each method is calculated. The results are shown in the figure. Figure 6 .
[0196] from Figure 6 It can be seen that the present invention can complete the recognition of multiple actions in the three indoor environments, and its recognition accuracy is higher than the average recognition accuracy of the existing methods FG and Widar3.0, and its recognition accuracy is 91.1%, 92.2% and 94.5% respectively.
[0197] from Figure 6 It can also be seen that the accuracy of the present invention in the dormitory scenario is only 1.9% lower than that in the office scenario, while the accuracy of the existing FG and Widar3.0 methods in the dormitory scenario is reduced by 8.3% and 5.8% respectively compared with the office scenario, indicating that the present invention is not easily affected by environmental changes and has higher accuracy.
[0198] The above description is only a preferred embodiment of the present invention and does not constitute any limitation to the present invention. For professionals in this field, after understanding the principles and implementation methods of the present invention, it is possible to make modifications and substitutions in form and details without departing from the principles and structures of the present invention. However, the above modifications should be included in the scope of protection of the present invention.
[0199] It should be noted that the step numbers in the specification and claims of the present invention are only for a clear description of the implementation scheme of the present invention to facilitate understanding, and the order of the step numbers is not limited.
Claims
1. A multi-domain fusion Wi-Fi human motion intelligent perception and recognition method, characterized in that: The following steps are involved: (1) Deploy a pair of commercial Wi-Fi transceiver devices in an indoor environment. The transmitter includes a transmitting antenna and the receiver includes multiple receiving antennas. The transmitting antenna and the receiving antenna form a square sensing area to measure the path distance range between the transmitter and the receiver. LoS , receiving end position Rx(x r ,y r ) and the receiving antenna array angle ψ r ; Use Wi-Fi receiving equipment to collect original channel state information CSI data H r , record action tags (2) Using the original CSI data H r Extract the signal dynamic path and obtain the signal dynamic path set χ(γ); (3) Parameter estimation is performed on the path parameter set Θ of the signal dynamic path set χ(γ), and the path parameter of the shortest reflection path of the human body is identified using the parameter estimation result. Among them, α l-target , φ l-target , τ l-target They represent the normalized amplitude attenuation factor of the shortest reflection path of the human body, Doppler frequency shift DFS, signal arrival angle AoA, and signal flight time ToF respectively; (4) For the original CSI data H r Perform preprocessing to obtain the CSI amplitude value and CSI phase value (5) Using CSI amplitude value and the path parameters of the shortest reflection path of the human body Get the action data set Data; 5a) Using CSI amplitude value Get the time-frequency graph data S(n,f) and action time window [t start ,t end ]; 5b) Using the sender-receiver path distance range LoS and the DFS value in the parameter estimation results of the shortest reflection path of the human body and ToF value τ l-target Obtain the actual dynamic path length range; 5c) Using the receiver position Rx(x r ,y r ), receiving antenna array angle ψ r , the actual dynamic path length range and the AoA value φ in the parameter estimation result of the shortest reflection path of the human body l-target , calculate the coordinates of the action location l(x,y); 5d) According to the action time window [t start ,t end ] and the action location coordinates l(x,y) to calculate the action speed v at time t t and position change ΔL; 5e) Using the action time window [t start ,t end ]、CSI amplitude value CSI Phase Value The DFS value in the time-frequency graph data S(n,f) and the parameter estimation result of the shortest reflection path of the human body Position change ΔL, motion speed v t , get the action data set Data; (6) The action dataset Data is divided into a training set and a test set in a ratio of 9:1, and the training set is input into the existing SVM classification model. The training set is trained using the LibSVM toolkit in the MATLAB software until the maximum number of iterations is reached, and the trained SVM classification model is obtained. (7) Input the test set data into the trained classification model In the test dataset, we get the corresponding action class label Complete indoor action recognition.
2. The method according to claim 1, characterized in that: In step (1), the original channel state information CSI data H is collected by using the Wi-Fi receiving device r , record action tags They are respectively expressed as follows: in, represents the original CSI measurement value of the kth subcarrier on the rth receiving antenna, P represents the total number of subcarriers, M represents the number of action types, and N r Indicates the number of receiving antennas.
3. The method according to claim 1, characterized in that: In step (2), the original CSI data H is used r Extract the signal dynamic path and obtain the signal dynamic path set χ(γ), which can be implemented as follows: (2a) Calculate the original CSI data H for each antenna r The amplitude mean square error σ(r,k): in, represents the CSI amplitude mean of the rth antenna and the kth subcarrier, q represents the calculation window length, represents the original CSI amplitude data at time n on the rth antenna and the kth subcarrier, P represents the total number of subcarriers, N r Indicates the number of receiving antennas; (2b) Calculate the average amplitude mean square error σ(r) and the maximum average amplitude mean square error σ0 for each antenna: σ0=max(σ(r)) (2c) Select the original CSI data of the antenna corresponding to σ0 as the reference antenna CSI data H 0 , other antennas are used as non-reference antennas H: (2d) The non-reference antenna CSI data H is used to obtain the non-reference antenna CSI data H′ with reduced amplitude, and the reference antenna CSI data H is used to obtain the non-reference antenna CSI data H′ with reduced amplitude. 0 Get the reference antenna CSI data H after the amplitude is increased 0' : Where abs(·) represents the amplitude operation, ⊙ represents the Hadamard product operation, angle(·) represents the angle operation, β1 and β2 represent the amplitude reduction and amplitude increase, respectively. (2e) The non-reference antenna CSI data H′ with reduced amplitude is compared with the reference antenna CSI data H with increased amplitude. 0' Conjugate multiplication gives the product C(γ): C(γ)=H′×(H 0 ) * in,(·) * represents the conjugate operation; (2f) The product C(γ) is subjected to Butterworth bandpass filtering to obtain the signal dynamic path set χ(γ): Among them, L d Indicates the number of dynamic paths, represents the CSI data of the lth dynamic path, is the path parameter of the lth reflection path.
4. The method according to claim 1, characterized in that: In step (3), the path parameter set Θ of the signal dynamic path set χ(γ) is estimated, and the path parameter of the shortest reflection path of the human body is identified using the parameter estimation result. The implementation is as follows: (3a) Initialization parameter Θ i and the CSI data of the i-th estimated dynamic path in, is the zero vector, is the path parameter of the lth dynamic path, expressed as: Among them, i represents the current iteration number, L d Indicates the number of dynamic paths, They are the complex amplitude attenuation factor, Doppler frequency shift DFS, signal arrival angle AoA, and signal flight time ToF of the i-th estimated l-th signal propagation path. (3b) Using the signal dynamic path set χ(γ) and the CSI data of the i-th dynamic path Iteratively calculate the CSI parameters of the i-th dynamic path Among them, β l Used to control the convergence speed of the algorithm; (3c) Using the CSI parameters of the i-th dynamic path and the i-th estimated Iterative estimation of ToF value AoA value DFS value and the normalized amplitude decay factor The path parameter set Θ that constitutes the i+1th iteration estimate i+1 : in, N, N r , P are the number of packets, the number of receiving antennas and the number of subcarriers during parameter estimation, argmax{·} represents the maximum likelihood estimation of the parameters, and z represents the parameter estimation function: Where f0 is the carrier frequency of the channel, Δt n ,Δf k ,Δs m They are and time difference, subcarrier frequency difference, and receiving antenna distance difference; (3d) Define a maximum number of iterations ε. When the difference between the maximum number of iterations ε and the current number of iterations i satisfies i≤ε, execute step (3e). Otherwise, return to step (3b). (3e) The iteration ends and the last required Θ is i+1 As the path parameter set estimation result Θ, it is expressed as: in, α l , φ l , τ l They are the normalized amplitude attenuation factor, DFS value, AoA value, and ToF value corresponding to path l respectively; (3f) Using the path parameter set estimation result Θ, the path parameter of the shortest reflection path of the human body is obtained Each path parameter in the path parameter estimation result Θ The normalized amplitude factor α l Sort by size, record the path corresponding to the maximum value as l-target, and attenuate the normalized amplitude of path l-target by α l , DFS value AoA value φ l 、ToF value τ l Parameter estimates for the path that is the shortest reflection path through the body: α l-target =α l f l-target =φ l t l-target =t l Among them, α l-target , φ l-target , τ l-target They respectively represent the normalized amplitude attenuation factor of the shortest reflection path of the human body, Doppler frequency shift DFS, signal arrival angle AoA, and signal flight time ToF.
5. The method according to claim 1, characterized in that: In step (4), the original CSI data H r Preprocessing is performed as follows: (4a) Using the original CSI data H r Get the original CSI amplitude sequence and the original CSI phase sequence Further use of the original CSI amplitude sequence and phase sequence Get the original CSI amplitude value H n,k and the original CSI phase value ∠H n,k : Where abs(·) represents amplitude operation, and angle(·) represents angle operation. (4b) The original CSI amplitude value H is transformed by discrete wavelet transform n,k Decompose and get the approximate coefficients and detail factor Among them, <·> represents the dot product operation, and are two mutually orthogonal wavelet bases; (4c) Using the noise threshold δ n Detail coefficient Processing to obtain the effective detail coefficient (4d) Using the approximate coefficient Effective detail factor Two mutually orthogonal wavelet bases and Get the CSI amplitude value after denoising (4e) For the original CSI phase value ∠H n,k Perform linear transformation to obtain the corrected CSI phase value Among them, ∠H n,1 and ∠H n,P Respectively represent the original CSI phase values of the 1st subcarrier and the Pth subcarrier at time n, η1, η P is the corresponding subcarrier number, ∠H n,k is the original CSI phase value of the kth subcarrier at time n, η k is the corresponding subcarrier number, and P is the total number of subcarriers.
6. The method according to claim 1, characterized in that: Step 5a) uses the CSI amplitude value Get the time-frequency graph data S(n,f) and action time window [t start ,t end ], and implement it as follows: (5a1) Using CSI amplitude value Get the time-frequency graph data S(n,f): Among them, w(m) is the window function, w is the sliding window size, N f is the number of fast Fourier transform points. (5a2) Using the time-frequency graph data S(n,f) to calculate the time-frequency graph variance var s : where s =[var1,var2,...,var i ,...,was N-w+1 ] in, f L and f H represents the lowest frequency and the highest frequency of the action segment, and M is the number of data points in each sliding window. (5a3) Using the time-frequency diagram variance var s Get the action sequence start time t start and end time t end : Define the action occurrence threshold δ th , the time-frequency diagram variance var s Normalized to the range of [0,1] to obtain the normalized variance var s1 : where s1 =vase s / max(vase s ) Among them, max(·) means finding the maximum value; When the normalized variance var s1 Exceeding the action threshold δ th When , determine the starting point of the action window, denoted as t start , When the normalized variance var s1 Less than the action threshold δ th When the action window ends, it is determined that end .
7. The method according to claim 1, characterized in that: Step 5b) uses the sender-receiver path distance range LoS and the DFS value in the parameter estimation results of the shortest reflection path of the human body and ToF value τ l-target To obtain the actual dynamic path length range, the implementation is as follows: (5b1) Using the DFS value from the parameter estimation result of the shortest reflection path of the human body and ToF value τ l-target Get the theoretical path length range p and the path length change rate v range ; tidy p =τ l-target *c Where c is the speed of light, and λ is the wavelength of the Wi-Fi signal; (5b2) Use Kalman filtering method to complete the path length change rate v range Range of theoretical path length p The correction of the path length range after Kalman filtering is obtained p ′; (5b3) Using the sender-receiver path distance range LoS and the path length range after Kalman filtering p ′Get the actual dynamic path length range: range=range LoS +range p ′。 8. The method according to claim 1, characterized in that: Step 5c) uses the receiver position Rx(x r ,y r ), receiving antenna array angle ψ r , the actual dynamic path length range and the AoA value φ in the parameter estimation result of the shortest reflection path of the human body l-target , calculate the coordinates of the action location l(x,y), which can be implemented as follows: in, X is the horizontal coordinate value corresponding to the position where any action occurs within the human action perception area.
9. The method according to claim 1, characterized in that: In step 5d), according to the action time window [t start ,t end ] and the action location coordinates l(x,y) to calculate the action speed v at time t t and position change ΔL, which is implemented as follows: (5d1) Calculate the speed v of the action at time t using the action location coordinates l(x,y) t : Among them, x t The horizontal coordinate of the action position at time t, y t Indicates the coordinates of the action position at time t t (x t ,y t ), Δt represents the time interval; (5d2) Using the action time window [t start ,t end ] and the corresponding action location coordinates l(x,y) to obtain the position change ΔL: in, and Indicates t s The horizontal and vertical coordinates of the action location at the moment, and Indicates t e The horizontal and vertical coordinates of the position where the action occurs at the moment.
10. The method according to claim 1, characterized in that: In step 5e), the action data set Data is obtained, which is implemented as follows: (5e1) Using the action time window [t start ,t end ]Get the action duration ΔT: ΔT=t end -t start (5e2) Using CSI amplitude number Get the normalized standard deviation std1, median absolute deviation mad1, and interquartile range QD1: QD1=Q3-Q1 in, median(·) means taking the median of the data sequence, where Q1 and Q3 are the data at the 1 / 4 and 3 / 4 positions in x respectively; (5e3) Using CSI phase data Get the phase normalized standard deviation std2, median absolute deviation mad2, and interquartile range QD2: QD2=Q3′-Q1′ in, median(·) means taking the median of the data sequence, Q1′ and Q3′ are the data at the 1 / 4 position and 3 / 4 position in r respectively; (5e4) Using the time-frequency graph data S(n,f) to obtain the average trunk frequency in, M is the number of data points in the time-frequency diagram, T S is the sampling rate of the time-frequency diagram; (5e5) Using the action time window [t start ,t end ]DFS value in the parameter estimation result of the shortest reflection path of the human body Get the DFS maximum value f max and the mean value f mean : Where N is the action time window [t start ,t end ] contains the number of packets; (5e6) Using the speed v of the action at time t t Get the average speed v mean , maximum value v max : v max =max(v t ),t=[t start ,t end ]; (5e7) Using the action duration ΔT, position change ΔL, amplitude normalized standard deviation std1, median absolute deviation mad1, interquartile range QD1, phase normalized standard deviation std2, median absolute deviation mad2, interquartile range QD2, trunk frequency average DFS maximum value f max , mean value f mean , speed average value v mean , maximum value v max Composition of multi-domain statistical feature vectors (5e8) Using action tags and the multi-domain statistical feature vector of the corresponding action Construct action dataset Data: Where M represents the number of action types.
Citation Information
Patent Citations
Shipborne environment indoor positioning method based on CSI dual-cycle neural network
CN112423265A
Human body falling intelligent detection method and system, and information data processing terminal
CN113453180A
Position-independent human body action recognition method based on CSI (Channel State Information) and dual-thread convolutional network
CN115034259A
Personnel access counting statistical system and method
CN116304844A
Wireless fall detection method based on multi-source information fusion
CN117643468A
Cited By
Intelligent action recognition method and apparatus in wi-fi environment
WO2026199644A1
