A method for indoor wireless passive positioning based on weight adaptive network

Through the deep learning method based on weight adaptive network, the limitations of obstacles on human movement in the learning environment are solved, which solves the shortcomings of indoor wireless passive positioning technology in terms of environmental adaptability and accuracy, and achieves higher accuracy and anti-interference ability. Indoor wireless passive positioning.

CN116847457BActive Publication Date: 2024-09-24TIANJIN UNIV
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202310904645.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-07-21
Publication Date
2024-09-24
Estimated Expiration
2043-07-21

AI Technical Summary

Technical Problem

Existing indoor wireless passive positioning technology has deficiencies in environmental adaptability and accuracy, especially under the influence of noise interference and obstacles, resulting in reduced positioning accuracy and high equipment deployment and data collection costs.

Method used

Using a method based on weight adaptive networks, deep learning is combined with neural networks to learn the restrictions on human movement caused by obstacles in the environment, reducing the search space in the positioning inference process, improving anti-interference capabilities, and eliminating the need for additional Wi-Fi devices and data. Achieve more accurate positioning under the condition of lower collection volume.

Benefits of technology

It improves the accuracy and environmental adaptability of indoor wireless passive positioning, reduces the requirements for equipment deployment and data collection, enhances the anti-interference ability of the model, is suitable for various environments, and achieves high-performance positioning effects.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116847457B
    Figure CN116847457B
Patent Text Reader

Abstract

The present invention discloses an indoor wireless passive positioning method based on a weighted adaptive network, which belongs to the field of wireless sensing technology. In order to reduce the influence of noise generated by obstacles in the environment on positioning, the present invention draws on the research of existing work and uses a deep learning method to fuse the positioning environment feature information with the CSI feature, thereby improving the accuracy of the CSI positioning system and realizing the environmental adaptability of the model. The purpose of the present invention is to propose an indoor passive positioning method that uses a neural network to learn the restrictions of obstacles on human movement in the environment. The method can achieve more accurate positioning performance without increasing Wi‑Fi devices and collecting data.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to the field of wireless sensing technology, and in particular to an indoor wireless passive positioning method based on a weighted adaptive network. Background Art

[0002] As people spend more and more time in indoor environments, users' demand for indoor location is also increasing. Accurate indoor location information is of great significance for locating special groups of people, large venue management, and personal location services. In addition, in some emergency scenarios, such as fire rescue, accurate indoor positioning can effectively improve rescue efficiency and bring more security to people's lives. Currently, mature positioning systems mainly work in outdoor environments, such as the Global Positioning System and the Beidou Satellite Navigation System. These positioning systems can provide accurate location application services in open outdoor scenes with little occlusion. However, the accuracy of this type of positioning technology is severely affected by occlusion and is not applicable to indoor environments. Therefore, it is necessary to develop high-precision positioning algorithms for indoor environments.

[0003] Existing indoor positioning technologies can be divided into two categories: active positioning and passive positioning. Active positioning requires users to carry special electronic devices to locate the user's position by actively sending and receiving signals. Passive positioning is different. It aims to allow users to complete positioning without carrying additional equipment, which is also more conducive to the promotion of indoor positioning systems. For example, passive positioning can be used to build intrusion detection systems and security monitoring systems, while active positioning requires additional equipment, which requires the active cooperation of users and is therefore not suitable for such scenarios.

[0004] As one of the most common wireless signals in current social life, Wi-Fi signals are often used to build indoor positioning systems. By analyzing and calculating the signal characteristics received by the Wi-Fi receiver, the existing Wi-Fi passive positioning technology can determine the location of users in indoor places. With the help of the wireless LAN or some dedicated probe networks in the venue, Wi-Fi passive positioning can achieve high accuracy without introducing other specific hardware devices. For example, the commercial Wi-Fi indoor personnel tracking system IndoTrack can achieve decimeter-level accuracy in experimental tests. However, in practical applications, affected by factors such as noise interference and multipath conflicts, the Wi-Fi signal characteristics received by the positioning system contain a large amount of noise information, which affects the positioning accuracy. Existing passive positioning methods usually deploy too many sensor nodes or densely arrange information collection points to reduce the impact of the environment on positioning, but this will cause node and link redundancy, and will also make the overall positioning cost too high and affect the accuracy. In addition, obstacles, human flow and other factors in the indoor environment will affect the propagation of Wi-Fi signals, resulting in changes in CSI data, making it difficult for the positioning algorithm to adapt to different environments and affecting the positioning accuracy. Therefore, the existing passive positioning methods are insufficient in environmental adaptability. In order to solve such problems, it is necessary to develop more effective algorithms and technologies to reduce node and link redundancy, improve positioning accuracy, and enhance the algorithm's environmental adaptability. In view of this, the present invention proposes an indoor wireless passive positioning method based on a weighted adaptive network. Summary of the invention

[0005] The purpose of the present invention is to propose an indoor wireless passive positioning method based on a weighted adaptive network to solve the problems raised in the background technology, and to use a neural network to learn the restrictions of obstacles in the positioning environment on human movement, without increasing the number of Wi-Fi devices and the amount of collected data. By reducing the search space of the positioning reasoning process, the anti-interference ability of the positioning reasoning process is improved, and the positioning accuracy is improved.

[0006] In order to achieve the above object, the present invention adopts the following technical solutions:

[0007] In order to reduce the impact of noise generated by obstacles in the environment on positioning, the present invention draws on the research of existing work and uses deep learning methods to fuse positioning environment feature information with CSI features to improve the accuracy of the CSI positioning system and achieve the environmental adaptability of the model. The present invention proposes an indoor passive positioning method that uses a neural network to learn the restrictions of obstacles on human movement in the environment. This method can achieve more accurate positioning performance without increasing Wi-Fi devices and collecting data. The specific scheme is as follows:

[0008] An indoor wireless passive positioning method based on a weight adaptive network includes a training simulation phase and a positioning test phase, specifically including the following contents:

[0009] S1, training simulation stage:

[0010] S1.1. Determine the positioning environment: Determine the coordinate system, positioning area, area division granularity and transceiver position coordinates according to the actual test environment, and construct a bird's-eye view plane representation map corresponding to the positioning environment, which will serve as the basis for generating environmental parameters for simulation data;

[0011] S1.2, Generate simulated trajectory: In a determined virtual scene, use the physical model of "acceleration-velocity-position sequence" to simulate the possible walking trajectory of the user in the positioning environment; and according to the restrictions on human movement caused by obstacles in the environment, eliminate the trajectories that do not conform to physical reality (for example, trajectories that pass through obstacles); combine the above two situations to generate a set of simulated trajectories in a specific environment;

[0012] S1.3. Calculate channel characteristics: Based on the Fresnel zone theory, theoretical modeling is performed on the user motion characteristics and signal characteristics; a mapping relationship is established between the user position, speed and transceiver according to the simulated user trajectory to generate the corresponding channel characteristics;

[0013] S1.4. Construct an environment adaptive model: Use a recurrent neural network to process channel feature information and a convolutional neural network to process obstacle features in the environment to construct an environment adaptive model; strongly correlate the limitations of obstacles in the environment with the training process of the model to achieve environmental adaptability;

[0014] S1.5, model training: using the theoretical model constructed in S1.3, combined with the signal transceiver layout in the simulation environment and its corresponding positioning environment representation map, generate the "human simulation trajectory-PLCR feature" data pairs corresponding to each positioning environment; construct feature data sets and label sets to train the environment adaptive model constructed in S1.4; and introduce the idea of ​​comparative learning, construct positive and negative samples for phased training, and enhance the model's learning ability for restrictions;

[0015] S2, positioning test phase:

[0016] S2.1. Arrange the positioning environment: match the simulation experiment scene with the actual scene to complete the arrangement of the transceivers and define the feasible range of user positioning; then connect all signal transceivers to the same host through the remote connection tool to facilitate subsequent command execution; determine the positioning environment plan for subsequent positioning;

[0017] S2.2, Positioning data acquisition: When the user walks in the feasible area, the host controls multiple receivers to synchronously receive CSI data; then, the Fast Fourier Transform (FFT) or Short Time Fourier Transform (STFT) is used to complete the time-frequency conversion of the data, obtain the Doppler frequency shift and convert it into the real PLCR data corresponding to multiple groups of links;

[0018] S2.3, positioning based on PLCR data and environment: After splicing multiple groups of real PLCR data in S2.2, combine them with the floor plan data of the positioning environment obtained in S2.1 to obtain the model input; then complete the reasoning through the adaptive positioning model trained in S1.5, and output the two-dimensional coordinate sequence of the user in the positioning area, that is, complete the passive positioning of the user.

[0019] Preferably, the environment adaptation model in S1.4 includes a CNN branch, an LSTM branch, a fusion module and a decision layer, the CNN branch uses a convolutional neural network to extract image features, and the LSTM branch uses a recurrent neural network to process Wi-Fi signal features; the fusion module connects the outputs of the CNN branch and the LSTM branch, generates different weighted information for different positioning environments, and applies the weighted information to the output of the training neural network; the decision layer is used for final positioning to obtain a two-dimensional coordinate sequence of the motion trajectory.

[0020] Preferably, the positive samples in S1.5 are a set of trajectories that do not pass through obstacles, and the negative samples are a set of trajectories that pass through obstacles; the negative samples are constructed by screening the motion trajectories to generate a number of trajectories that partially pass through obstacles.

[0021] Preferably, the training of the negative samples is completed based on a custom loss function NegLoss, and its specific expression is:

[0022]

[0023] Where y represents the real trajectory coordinate value; y pred represents the trajectory coordinate value predicted by the model; n represents the number of trajectories; α represents the weight; N thr Indicates the number of coordinate points where the currently predicted trajectory passes through obstacles; N all Indicates the total number of coordinate points contained in the trajectory;

[0024] The loss consists of two parts, one part represents the closeness of the predicted trajectory to the target trajectory, and the other part represents the situation where the trajectory passes through obstacles (that is, how many coordinate points of the trajectory are in the obstacles); adversarial training is performed on the above two parts of the loss, so that the trajectory predicted by the model is close to the target trajectory while minimizing the number of points where the trajectory passes through obstacles.

[0025] Compared with the prior art, the present invention provides an indoor wireless passive positioning method based on a weighted adaptive network, which has the following beneficial effects:

[0026] (1) The present invention proposes for the first time to use a neural network to learn the restrictions of obstacles on human movement in the environment, and achieves environmental adaptability. Compared with the dense equipment deployment and massive data collection of traditional positioning methods, it is more in line with the needs and feasibility of real indoor scenes. At the same time, this method can be used not only for passive positioning, but also for active positioning.

[0027] (2) Compared with the traditional Wi-Fi positioning method, the present invention takes into account the inaccessible areas caused by human movement due to environmental obstacles, and improves the positioning accuracy of the system by reducing the search space of the model reasoning process. In addition, the positioning accuracy is improved for various tested environments.

[0028] (3) Improvement of the anti-interference capability of the model: When the received CSI data is interfered by environmental noise, the environmental adaptive model of the present invention can make certain corrections to the situation where the trajectory predicted by the traditional positioning model passes through obstacles.

[0029] (4) We conducted experiments in different positioning environments and under various conditions, including the size and number of obstacles in the environment, to achieve environmental adaptability. No secondary training is required for changing environments, and accurate and high-performance positioning can be achieved in various environments, achieving environmental universality. BRIEF DESCRIPTION OF THE DRAWINGS

[0030] Figure 1 A flowchart of an indoor wireless passive positioning method based on a weighted adaptive network proposed by the present invention;

[0031] Figure 2 A representation graph of the positioning environment and a specific trajectory set graph generated therefrom in Embodiment 1 of the present invention;

[0032] Figure 3 This is a schematic diagram of an environment adaptation model in Example 1 of the present invention;

[0033] Figure 4 A comparison diagram of the positioning error effect of the method (right figure) and the positioning error effect of the reference model (left figure) in Example 1 of the present invention;

[0034] Figure 5 This is a comparison chart of the positioning error of the method and the positioning error of the reference model in Example 1 of the present invention. DETAILED DESCRIPTION

[0035] The technical solutions in the embodiments of the present invention will be described clearly and completely below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, rather than all the embodiments.

[0036] First, the professional terms in the field involved in the present invention are explained:

[0037] Wi-Fi passive positioning is a technology that determines the user's location by analyzing the Wi-Fi signals reflected by the human body. Compared with active positioning, Wi-Fi passive positioning does not require users to carry additional equipment such as sensors, and only completes the positioning work by analyzing the physical characteristics of the user's reflected signals.

[0038] Channel State Information (CSI) is a type of information used to describe channel conditions in wireless communications. CSI contains information such as signal amplitude, frequency, and phase, and reflects the influence of factors such as power attenuation and scattering on the signal during propagation.

[0039] Recurrent Neural Network (RNN) is a neural network structure mainly used to process sequence information. RNN introduces the correlation of data in the time dimension by establishing connections between nodes, so that the model has a certain memory and time series information processing ability for sequence data.

[0040] Fresnel zone is a concept used to describe a series of elliptical areas formed during the propagation of electromagnetic wave signals. These elliptical areas are centered on the transmitter and receiver, and the distances between points on different elliptical areas and the two foci increase with the number of Fresnel zone layers. If the user's movement cuts through the Fresnel zone, it will cause changes in the characteristics of the received signal, which can be used for position estimation and navigation in the positioning system.

[0041] The path length change rate (PLCR) refers to the rate of change of the path length after the signal is reflected from the human body surface. It is one of the main causes of Doppler shift. Combined with the Fresnel zone theory, the normal velocity on a certain signal link can be obtained by analyzing the PLCR. After synthesizing the normal velocities on multiple links, the user's true velocity and direction can be obtained, thereby achieving positioning.

[0042] Convolutional Neural Network (CNN) is a deep learning model mainly used to process image data. CNN uses updateable convolution kernels to perform convolution operations to extract features from input data, and can also increase the learning ability of complex features by stacking multiple layers of convolution.

[0043] Ensemble learning is a technique that improves prediction accuracy by combining multiple independent models. This method can overcome the limitations of a single model and improve the performance and robustness of neural networks, thereby improving their performance in various tasks.

[0044] Contrastive Learning is a technique used to train neural networks. It uses a certain data and its augmented data as positive samples and the remaining data as negative samples. It learns data features by reducing the distance between positive samples and expanding the distance between positive and negative samples. It can better handle problems such as noise and improve the generalization ability of the model.

[0045] The following is a detailed operational description of the technical solution of the present invention in conjunction with specific examples and drawings.

[0046] Embodiment 1:

[0047] The present invention proposes an indoor wireless passive positioning method based on a weighted adaptive network, which specifically includes the following contents:

[0048] (1) Generation of specific simulation data sets

[0049] The actual positioning environment has a significant impact on wireless positioning. Obstacles in the indoor environment, such as walls and furniture, can interfere with Wi-Fi signals, thereby reducing positioning accuracy. The present invention generates specific network model weights based on the positioning environment, so it is necessary to model the actual positioning environment in order to extract features from it.

[0050] In order to extract the features of obstacles in the environment, the present invention needs to use digital form to represent different positioning environments. At the same time, a convolutional neural network is used to extract environmental features to make the experimental processing more efficient. The present invention uses a two-dimensional plane map to represent the positioning environment. The specific characterization method is as follows: According to the top view of the actual positioning environment, a whiteboard plane map with a proportional scale is created to represent the positioning environment. And according to the distribution position of obstacles in the actual environment, the corresponding positions in the whiteboard map are marked with black shapes to represent the position and distribution of obstacles in the environment. The specific characterization effect is as follows: Figure 2 As shown in the figure, the representation plane is read using a Python program and a convolutional neural network is used for feature extraction.

[0051] The present invention adopts a data-driven positioning method. In the stage of generating simulation data sets, the coordinate system, positioning area, area division granularity and transceiver position coordinates are determined according to the actual test environment, which are used as the environmental parameter basis for generating simulation data. According to the positioning area of ​​12.8×7.2m in the real environment, the transmitter is deployed at the position of (5.0,5.0), and the two receivers are deployed at the positions of (1.8,5.0) and (5.0,1.8) respectively, and the device coordinates are marked and recorded respectively.

[0052] According to the user's motion trajectory in the indoor environment, combined with the Fresnel zone theory, the user's motion characteristics and signal characteristics are theoretically modeled, and the user's position, speed, and transceiver are mapped by calculating the reflection path length. The "human simulation trajectory-PLCR feature" data pairs of corresponding dimensions are generated as feature sets and label sets respectively, and the LSTM network is used to fit the feature set and label set. 20 positioning environments are randomly selected as training environments, and the positioning environment representation map and its corresponding feature set and label set are combined as the overall training set of the environment adaptive model, where the input data of the training set is the representation map and feature set, and the label of the training set is the simulation trajectory label set.

[0053] In order to enable the model to learn the restrictions of obstacles on human movement, the present invention screens the data set generated in the previous stage. Offline simulation training is performed using a simulation data set that conforms to a specific environment. Based on the plane representation map obtained in the previous step, in the process of simulating and generating a data set, the trajectories that pass through obstacles are eliminated, thereby obtaining a training set that meets the distribution of obstacles in the environment, thereby reducing trajectories that cannot appear in the actual positioning environment. This method can reduce the size of the simulation training set and improve the quality and effectiveness of the sample trajectory. At the same time, using specific data for training can reduce the search space of the model prediction process, thereby achieving an improvement in positioning accuracy.

[0054] (2) Environmental Adaptive Model Design and Training

[0055] In order to achieve environmental adaptability, the present invention uses a joint positioning method based on deep learning to fuse multi-source data from environmental features and Wi-Fi features. By strongly correlating the environment with the model training process and taking environmental variables as part of the model input, environmental adaptability is achieved. The present invention achieves a strong correlation between the positioning environment and model training, achieves environmental adaptability, avoids secondary training for changing positioning environments, and improves the universality of the system. The present invention integrates image features from the environment and PLCR features of Wi-Fi, generates different image features for each environment, integrates the image features into the final output of the model, and different positioning environments have different weighted information, thereby achieving environmental adaptability.

[0056] The present invention mainly uses a model integration based on a neural network. The entire system is built based on Pytorch and consists of the following four modules: CNN branch, LSTM trunk branch, fusion module, and decision layer. The specific model structure is as follows Figure 3 As shown in the figure, the whole model mainly consists of two branches: the first branch uses a convolutional neural network to extract image features, and the other branch uses a recurrent neural network to process Wi-Fi signal features. Then, the outputs of the two parts are connected using a fusion method to generate different weighted information for different positioning environments. The weighted information is applied to the output of the training neural network, and the final positioning result, i.e., the two-dimensional coordinate sequence of the motion trajectory, is obtained through the last decision layer. Since the sampling length of each trajectory is different, the Wi-Fi signal features are of variable length, so the weighted summation method cannot be used to fuse the outputs of the two branches. In order to connect data with inconsistent sizes in two dimensions, this study refers to the implementation principle of the SE (Squeeze-and-Excitation) module, processes the branches of CNN in accordance with the SE module, obtains a weighted matrix, and weights the output of CNN to the feature output of the main branch LSTM to solve the variable length problem.

[0057] In order to enhance the model's ability to learn restrictions, the present invention introduces the idea of ​​contrastive learning in the model training process. According to the relationship between the trajectory and the obstacle, that is, whether the motion trajectory passes through the obstacle, the training data set is divided into positive samples and negative samples. The positive sample is a set of trajectories that do not pass through obstacles, and the negative sample is a set of trajectories that partially pass through obstacles. The method used by the present invention to construct negative samples is: screening the trajectories to generate some trajectories that partially pass through obstacles, such as a trajectory with at least 5 coordinate points in the obstacle. And based on the training process of negative samples, a custom loss function NegLoss is defined:

[0058]

[0059] Where y represents the real trajectory coordinate value; y pred represents the trajectory coordinate value predicted by the model; n represents the number of trajectories; α represents the weight; N thr Indicates the number of coordinate points where the currently predicted trajectory passes through obstacles; N all Indicates the total number of coordinate points contained in the trajectory. This loss consists of two parts, one indicating how close the predicted trajectory is to the target trajectory, and the other indicating the situation where the trajectory passes through obstacles (i.e. how many coordinate points of the trajectory are in the obstacles). By performing adversarial training on the two parts of the loss, the trajectory predicted by the model is close to the target trajectory while minimizing the number of points where the trajectory passes through obstacles.

[0060] The present invention trains the four modules of the model in stages, so as to ensure the positioning accuracy of the original LSTM and increase the influence of the CNN branch on the entire model. The training process is divided into three stages for back propagation. When using positive samples for training, the main LSTM network and the decision layer are first trained (this part is equivalent to the basic positioning model), and then the CNN branch and the multiplicative fusion module are trained. In the process of negative sample training, only the CNN and the multiplicative fusion module are updated. This staged training method can ensure the stability and accuracy of the main LSTM network and the decision layer, and improve the influence of the CNN branch on the entire model.

[0061] (3) Actual positioning test

[0062] The present invention built a real experimental environment and collected data in an open indoor environment. In the open indoor environment, one Wi-Fi transmitter and two Wi-Fi receivers were deployed to form two transceiver links with one transmitter and two receivers. The transmitter and receiver are pre-installed with the Ub untu16 operating system and equipped with an Intel5300 series wireless network card. The transmitter and receiver are remotely connected to a ThinkPad X1 Extreme 2020 notebook via the SSH protocol. The sending and receiving of signals are controlled by remote commands from the host side.

[0063] During the test experiment, the transmitter's packet rate was 1000Hz, and 1000 data packets were sent evenly per second. The acquisition length of each motion trajectory was 6s. The Linux 802.11nCSI tool was installed on the receiver to obtain CSI information, and MATLAB was used to process the CSI information. Then, the time-frequency conversion was performed using technical means such as fast Fourier transform, from which the Doppler frequency shift was obtained and converted into the real PLCR data corresponding to multiple groups of links. The final eigenvalues ​​contain four dimensions, of which the first two dimensions are the PLCR eigenvalues ​​obtained by the two receivers, and the last two dimensions are the two-dimensional coordinates of the initial position of the motion. Then the eigenvalues ​​and the plane representation of the environment are input into the pre-trained environment adaptation model, and the model output is the real motion trajectory.

[0064] Figure 4 The actual positioning effect comparison of various trajectory types is shown. The benchmark model used is a basic positioning model without introducing environmental restrictions, which verifies the accuracy of the present invention in improving positioning accuracy. Figure 5 It is demonstrated that in 20 randomly selected test positioning environments, the positioning accuracy of this fusion model is improved compared with the unrestricted basic positioning model.

[0065] The above description is only a preferred specific implementation manner of the present invention, but the protection scope of the present invention is not limited thereto. Any technician familiar with the technical field can make equivalent replacements or changes according to the technical scheme and inventive concept of the present invention within the technical scope disclosed by the present invention, which should be covered by the protection scope of the present invention.

Claims

1. An indoor wireless passive positioning method based on a weighted adaptive network, characterized in that: It includes the training simulation phase and the positioning test phase, which specifically includes the following contents: S1, training simulation stage: S1.

1. Determine the positioning environment: Determine the coordinate system, positioning area, area division granularity and transceiver position coordinates according to the actual test environment, and construct a bird's-eye view plane representation map corresponding to the positioning environment, which will serve as the basis for generating environmental parameters for simulation data; S1.

2. Generate simulated trajectories: In a certain virtual scene, use the physical model of "acceleration-velocity-position sequence" to simulate the possible walking trajectories of the user in the positioning environment; and remove trajectories that do not conform to physical reality according to the restrictions on human movement caused by obstacles in the environment; combine the above situations to generate a set of simulated trajectories in a specific environment; S1.

3. Calculate channel characteristics: Based on the Fresnel zone theory, theoretical modeling is performed on the user motion characteristics and signal characteristics; a mapping relationship is established between the user position, speed and transceiver according to the simulated user trajectory to generate the corresponding channel characteristics; S1.

4. Constructing an environment adaptive model: By using a recurrent neural network to process channel feature information and a convolutional neural network to process obstacle features in the environment, an environment adaptive model is constructed; the limitations of obstacles in the environment are strongly correlated with the training process of the model to achieve environmental adaptability; S1.5, model training: using the theoretical model constructed in S1.3, combined with the signal transceiver layout in the simulation environment and its corresponding positioning environment representation map, generate the "human simulation trajectory-PLCR feature" data pairs corresponding to each positioning environment; construct feature data sets and label sets to train the environment adaptive model constructed in S1.4; and introduce the idea of ​​comparative learning, construct positive and negative samples for phased training, and enhance the model's learning ability for restrictions; The training of the negative samples is based on a custom loss function NegLoss Completed, its specific expression is: In the formula, y Indicates the real trajectory coordinate value; y pred Represents the trajectory coordinate value predicted by the model; n represents the number of trajectories; α represents weight; N thr Indicates the number of coordinate points where the currently predicted trajectory passes through obstacles; N all Indicates the total number of coordinate points contained in the trajectory; The loss consists of two parts, one part represents the closeness between the predicted trajectory and the target trajectory, and the other part represents the situation where the trajectory passes through obstacles. The above two parts of the loss are trained adversarially, so that the trajectory predicted by the model is close to the target trajectory while minimizing the number of points where the trajectory passes through obstacles. S2, positioning test phase: S2.

1. Arrange the positioning environment: match the simulation experiment scene with the actual scene to complete the arrangement of the transceivers and define the feasible range of user positioning; then connect all signal transceivers to the same host through the remote connection tool to facilitate subsequent command execution; determine the positioning environment plan for subsequent positioning; S2.2, Positioning data acquisition: When the user walks in the feasible area, the host controls multiple receivers to synchronously receive CSI data; then, the fast Fourier transform or short-time Fourier transform is used to complete the time-frequency conversion of the data, obtain the Doppler frequency shift and convert it into the real PLCR data corresponding to multiple groups of links; S2.3, positioning based on PLCR data and environment: After splicing multiple groups of real PLCR data in S2.2, combine them with the floor plan data of the positioning environment obtained in S2.1 to obtain the model input; then complete the reasoning through the adaptive positioning model trained in S1.5, output the two-dimensional coordinate sequence of the user in the positioning area, and complete the passive positioning of the user.

2. According to the method of indoor wireless passive positioning based on weight adaptive network in claim 1, it is characterized in that: The environment adaptation model described in S1.4 includes a CNN branch, an LSTM branch, a fusion module and a decision layer. The CNN branch uses a convolutional neural network to extract image features, and the LSTM branch uses a recurrent neural network to process Wi-Fi signal features; the fusion module connects the outputs of the CNN branch and the LSTM branch, generates different weighted information for different positioning environments, and applies the weighted information to the output of the training neural network; the decision layer is used for final positioning to obtain a two-dimensional coordinate sequence of the motion trajectory.

3. The indoor wireless passive positioning method based on weight adaptive network according to claim 1 is characterized in that: The positive samples described in S1.5 are a set of trajectories that do not pass through obstacles, and the negative samples are a set of trajectories that pass through obstacles; the negative samples are constructed by screening the motion trajectories to generate several trajectories that partially pass through obstacles.