Indoor positioning method based on channel state information of subcarrier selection
By screening and processing subcarriers in Wi-Fi channel status information using deep learning technology, a regional classification and position estimation model for indoor positioning is established, which solves the problem of insufficient indoor positioning accuracy and reliability in the existing technology and achieves High-precision indoor positioning.
Patent Information
- Application Number
- CN202210786198.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-07-04
- Publication Date
- 2024-08-23
- Estimated Expiration
- 2042-07-04
AI Technical Summary
Existing indoor positioning technology has insufficient positioning accuracy and reliability in complex environments. In particular, methods based on received signal strength are affected by multipath effects and cannot provide high-precision positioning results.
Using a subcarrier selection method based on deep learning, through channel state information preprocessing and convolutional neural network learning in offline and online stages, subcarriers for coarse positioning and fine positioning are selected, and a regional classification model and a position estimation model are established. Achieve high-precision indoor positioning.
It improves the flexibility and accuracy of indoor positioning, solves the problems of insufficient positioning flexibility and accuracy, and significantly improves positioning accuracy and reliability.
Smart Images

Figure CN115278518B
Abstract
Description
Technical Field
[0001] The present invention relates to a channel state information indoor positioning method based on subcarrier selection, and belongs to the field of deep learning. Background Art
[0002] In recent years, indoor positioning technology has been a hot topic in the academic community. At present, the classic indoor positioning technologies include infrared, computer vision, Bluetooth, radio frequency identification, ultra-wideband and geomagnetic positioning technology, but the abundance of technical means has not yet led to the emergence of a dominant indoor positioning technology. At the same time, the increase in application scenarios and the complexity of the demand environment have also made some high-cost technical means unable to be applied on a large scale in actual environments. Therefore, the advantages of low-cost and universal indoor positioning technology are becoming increasingly prominent.
[0003] Wireless LAN technology represented by Wi-Fi is currently the most widely deployed indoor wireless network infrastructure in the world. Two typical technologies in Wi-Fi-based indoor positioning technology are positioning based on received signal strength (RSS) and positioning based on channel state information (CSI). However, in indoor environments, due to the presence of obstacles, RSS will be affected by multipath effects and produce certain deviations, so it cannot provide high accuracy and reliability. Using Wi-Fi signals with IEEE802.11n transmission protocol, it can obtain the CSI of OFDM subcarriers by modifying the wireless network card driver. CSI comes from the physical layer and can better represent the channel characteristics and status between the signal transmitter and the receiver. Compared with RSS, CSI has higher positioning accuracy, larger perception range and stronger perception reliability. In summary, the study of indoor positioning technology based on CSI has a relatively broad space and practical significance.
[0004] As researchers explore deep learning technology, new network structures are constantly being proposed. Deep learning has gradually become a current research hotspot and has been widely used in life and production, with good results. However, in the field of indoor positioning, only a small number of researchers have applied deep learning, and the potential of deep learning methods in solving indoor positioning problems has not yet been fully explored.
[0005] In view of this, it is indeed necessary to provide a channel state information indoor positioning method based on subcarrier selection to solve the above problems. Summary of the invention
[0006] The purpose of the present invention is to provide a channel state information indoor positioning method based on subcarrier selection, so as to apply deep learning to the indoor positioning problem based on channel state information, and use the powerful nonlinear feature learning ability of deep learning to find the matching relationship between channel state information and actual area and position, thereby realizing a high-precision indoor positioning algorithm.
[0007] To achieve the above object, the present invention provides a channel state information indoor positioning method based on subcarrier selection, which includes two stages: an offline training stage and an online positioning stage.
[0008] The offline training phase includes:
[0009] Step 1: Collect offline channel state information for offline training, where the offline channel state information includes offline channel state amplitude information;
[0010] Step 2: preprocessing the collected offline channel state amplitude information to obtain training channel state amplitude information, wherein the preprocessing includes performing dimensionality reduction processing on the obtained offline channel state amplitude information using a variance filtering method, and selecting an offline positioning subcarrier for positioning in the offline channel state amplitude information;
[0011] Step 3: Selecting an offline coarse positioning subcarrier for coarse positioning and an offline fine positioning subcarrier for fine positioning from the offline positioning subcarriers in step 2;
[0012] Step 4: Use the first convolutional neural network to classify and learn the offline coarse positioning subcarriers to obtain a regional classification model;
[0013] Step 5: Use the second convolutional neural network to perform regression learning on the offline precise positioning subcarrier to obtain a position estimation model;
[0014] The online orientation phase includes:
[0015] Step 6: Collect online channel state information for online positioning, where the online channel state information includes online channel state amplitude information;
[0016] Step 7: preprocessing the online channel state amplitude information of step 6 to obtain positioning channel state amplitude information, wherein the preprocessing includes performing dimensionality reduction processing on the obtained online channel state amplitude information using a variance filtering method, and selecting an online positioning subcarrier for positioning in the online channel state amplitude information;
[0017] Step 8: According to the result selected in step 3, the online coarse positioning subcarriers used for coarse positioning are sent to the regional classification model obtained in step 4 after feature splicing to obtain the coarse positioning result;
[0018] Step 9: According to the result selected in step 3, the online precise positioning subcarriers used for precise positioning are feature-split to form an online channel state matrix, which is rendered into an online channel information color image and then sent to the position estimation model obtained in step 5 to obtain a precise positioning result.
[0019] As a further improvement of the present invention, step 1 specifically divides the positioning environment into a number of positioning sub-areas in the positioning environment, collects offline channel state information obtained by the receiving device when the target is located at different reference points, and obtains offline channel state amplitude information in the offline channel state information for positioning.
[0020] As a further improvement of the present invention, the dimension reduction processing of the obtained offline channel state amplitude information by using the variance filtering method in step 2 specifically includes:
[0021] Step 21: In the positioning environment, calculate the variance of the amplitude of each subcarrier in the offline channel state information;
[0022] Step 22: Set a threshold, remove subcarriers whose variance is less than or equal to the threshold, and obtain offline positioning subcarriers in the offline channel state amplitude information.
[0023] As a further improvement of the present invention, step 2 also includes:
[0024] Step 23: Use hampel filtering to remove outliers in the offline positioning subcarriers;
[0025] Step 24: Use Gaussian filtering to remove measurement noise in the offline positioning subcarrier.
[0026] As a further improvement of the present invention, step 3 specifically includes:
[0027] Step 31: label the offline positioning subcarrier according to each positioning sub-area;
[0028] Step 32: Setting a scoring function, calculating the F value (mean square between groups / mean square within groups) in the variance analysis for each subcarrier in the offline positioning subcarrier, and obtaining the importance of each subcarrier in the offline positioning subcarrier;
[0029] Step 33: According to the number of subcarriers required for coarse positioning, M is selected, and the subcarriers corresponding to the first M large F values among the offline positioning subcarriers are selected as offline coarse positioning subcarriers for coarse positioning training;
[0030] Step 34: According to the number of subcarriers required for precise positioning being N, subcarriers corresponding to the first N largest F values among the offline positioning subcarriers are selected as offline precise positioning subcarriers for precise positioning training.
[0031] As a further improvement of the present invention, step 4 is specifically:
[0032] Step 41: performing data normalization processing on the subcarrier amplitude information of the offline coarse positioning subcarrier used for coarse positioning, and marking the label of each area by one-hot encoding;
[0033] Step 42: Send the training data obtained in step 41 to the first convolutional neural network for classification learning to obtain a regional classification model.
[0034] As a further improvement of the present invention, in step 4, the first convolutional neural network is a one-dimensional convolutional neural network, which at least includes an input layer, a convolution layer, a pooling layer, a flatten layer and a fully connected layer.
[0035] As a further improvement of the present invention, step 5 specifically includes:
[0036] Step 51: feature-splitting the offline precise positioning subcarriers and arranging them in rows to form an offline channel information amplitude matrix, then normalizing the elements in the offline channel information amplitude matrix to [0, 64], and rendering the offline channel information amplitude matrix into an offline channel information color image using image rendering technology;
[0037] Step 52: Send the offline channel information color image and the corresponding position coordinates of step 51 to the second convolutional neural network for regression learning to obtain a position regression model.
[0038] As a further improvement of the present invention, the formula for data normalization in step 51 is specifically:
[0039]
[0040] The x in the formula max With x min Corresponding to the maximum and minimum values in the offline channel information amplitude matrix, y max and min They correspond to the normalized upper and lower bounds, respectively. Corresponding to the value in the channel information amplitude matrix, Corresponding to the normalized values, the rounding operation is used during normalization to ensure that the normalized values are all integers.
[0041] As a further improvement of the present invention, the second convolutional neural network in step 5 is a multidimensional convolutional neural network, and the rendered color image of the offline channel information is input.
[0042] The beneficial effects of the present invention are as follows: compared with the prior art, the channel state information indoor positioning method based on subcarrier selection of the present invention preprocesses the collected channel information, selects the subcarriers that are jointly positioned with a coarse positioning and a fine positioning, and establishes a regional classification model and a position estimation model after learning through a convolutional neural network, thereby solving the problems of insufficient positioning flexibility and insufficient accuracy of existing indoor positioning methods. BRIEF DESCRIPTION OF THE DRAWINGS
[0043] Figure 1 It is a step diagram of a channel state information indoor positioning method based on subcarrier selection according to a preferred embodiment of the present invention.
[0044] Figure 2 It is a flow chart of the present invention.
[0045] Figure 3 It is a schematic diagram of channel state information without variance filtering method of the present invention.
[0046] Figure 4 It is a schematic diagram of the channel state information after the variance filtering method of the present invention.
[0047] Figure 5 It is a schematic diagram of the structure of the first convolutional neural network of the present invention.
[0048] Figure 6 It is a schematic diagram of the structure of the second convolutional neural network of the present invention.
[0049] Figure 7 It is a result accuracy graph of the regional classification model of the present invention.
[0050] Figure 8 It is a result accuracy diagram of the position estimation model of the present invention. DETAILED DESCRIPTION
[0051] In order to make the purpose, technical solutions and advantages of the present invention more clear, the present invention is described in detail below with reference to the accompanying drawings and specific embodiments.
[0052] It should be noted here that in order to avoid obscuring the present invention due to unnecessary details, only structures and / or processing steps closely related to the scheme of the present invention are shown in the accompanying drawings, while other details that are not closely related to the present invention are omitted.
[0053] In addition, it should be noted that the terms "comprises", "includes" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or apparatus that includes a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or apparatus.
[0054] See also Figure 1 and Figure 2 As shown, the present invention provides a channel state information indoor positioning method based on subcarrier selection, including two stages: an offline training stage and an online positioning stage.
[0055] The offline training phase includes:
[0056] Step 1: Collect offline channel state information for offline training, where the offline channel state information includes offline channel state amplitude information;
[0057] Step 2: preprocessing the collected offline channel state amplitude information to obtain training channel state amplitude information, wherein the preprocessing includes performing dimensionality reduction processing on the obtained offline channel state amplitude information using a variance filtering method, and selecting an offline positioning subcarrier for positioning in the offline channel state amplitude information;
[0058] Step 3: Selecting an offline coarse positioning subcarrier for coarse positioning and an offline fine positioning subcarrier for fine positioning from the offline positioning subcarriers in step 2;
[0059] Step 4: Use the first convolutional neural network to classify and learn the offline coarse positioning subcarriers to obtain a regional classification model;
[0060] Step 5: Use the second convolutional neural network to perform regression learning on the offline precise positioning subcarrier to obtain a position estimation model;
[0061] Step 1 specifically divides the positioning environment into a number of positioning sub-areas in the positioning environment, collects offline channel state information obtained by the receiving device when the target is located at different reference points, and obtains offline channel state amplitude information in the offline channel state information for positioning.
[0062] In step 2, the dimension reduction processing of the obtained offline channel state amplitude information by using the variance filtering method specifically includes:
[0063] Step 21: In the positioning environment, calculate the variance of the amplitude of each subcarrier in the offline channel state information;
[0064] Step 22: Set a threshold, remove subcarriers whose variance is less than or equal to the threshold, and obtain offline positioning subcarriers in the offline channel state amplitude information.
[0065] Step 2 also includes:
[0066] Step 23: Use hampel filtering to remove outliers in the offline positioning subcarriers;
[0067] Step 24: Use Gaussian filtering to remove measurement noise in the offline positioning subcarrier.
[0068] like Figure 3and Figure 4 As shown in the figure, due to the many interference factors in the indoor environment, the original signal contains a lot of noise and the waveform is relatively rough. The present invention adopts hampel filtering and Gaussian filtering to remove the abnormal values and noise of the offline positioning subcarrier in the offline channel state information. By comparing the waveform difference of the offline channel state amplitude information before and after filtering, the waveform after filtering is smoother, and the amplitude of different subcarriers shows a stable change over time. It can be seen that the offline positioning subcarrier after filtering is more suitable for positioning in a specific environment.
[0069] Step 3 specifically includes:
[0070] Step 31: label the offline positioning subcarrier according to each positioning sub-area;
[0071] Step 32: Setting a scoring function, calculating the F value (mean square between groups / mean square within groups) in the variance analysis for each subcarrier in the offline positioning subcarrier, and obtaining the importance of each subcarrier in the offline positioning subcarrier;
[0072] Step 33: According to the number of subcarriers required for coarse positioning, M is selected, and the subcarriers corresponding to the first M large F values among the offline positioning subcarriers are selected as offline coarse positioning subcarriers for coarse positioning training;
[0073] Step 34: According to the number of subcarriers required for precise positioning being N, subcarriers corresponding to the first N largest F values among the offline positioning subcarriers are selected as offline precise positioning subcarriers for precise positioning training.
[0074] Step 3 selects subcarriers for offline positioning and uses the F test to obtain the relative relationship between the importance of subcarriers in offline positioning subcarriers and the target location labels, and automatically selects the subcarriers that are most important for machine learning. This can effectively improve the learning efficiency of machine learning and the accuracy of the location estimation model.
[0075] Step 4 is coarse positioning classification training, specifically:
[0076] Step 41: performing data normalization processing on the subcarrier amplitude information of the offline coarse positioning subcarrier used for coarse positioning, and marking the label of each area by one-hot encoding;
[0077] Step 42: Send the training data obtained in step 41 to the first convolutional neural network for classification learning to obtain a regional classification model.
[0078] In the coarse positioning classification training of step 4, the subcarrier amplitude information of multiple offline coarse positioning subcarriers used for coarse positioning is spliced into a training sample, the training sample is normalized, and the label corresponding to the training sample is converted into a one-hot encoding.
[0079] like Figure 5 As shown, it is a specific schematic diagram of the first convolutional neural network structure in the coarse positioning process of the present invention. The first convolutional neural network is a one-dimensional convolutional neural network, which at least includes an input layer, a convolution layer, a pooling layer, a flatten layer and a fully connected layer. In the classification training of the coarse positioning process, the training sample is a one-dimensional row vector. The training sample is used as the input of 1D-CNN, passes through the convolution layer, the pooling layer, the fully connected layer, and finally realizes regional classification through softmax.
[0080] Input layer: The N features of the coarse positioning training samples are used as input data.
[0081] Convolution layer: The training sample data is input into the convolution layer in the form of a sliding window to perform convolution operation to extract the features of the training sample data. The calculation formula is as follows:
[0082] c i =f(w e ·x i:i+h-1 +b)
[0083] Where x i:i+h-1 represents the h data adjacent to the ith position as a sliding window, f represents the activation function, w e represents the convolution kernel size, c i represents the eigenvalue at the i-th position, and b represents the bias.
[0084] Pooling layer: The pooling operation can change the length of the data. The present invention adopts the maximum pooling operation, whose main goal is to obtain the most important features in the feature map, that is, the largest features:
[0085]
[0086] Then we get the maximum eigenvalue of all convolutional layers to generate the high-level feature vector of the data:
[0087]
[0088] In the above formula, m is the number of convolution kernels.
[0089] Flatten layer: As an intermediate layer connecting the convolutional neural network and the fully connected layer, it straightens all the feature maps obtained in the previous layer, that is, compresses the two-dimensional data into one-dimensional data as the input of the fully connected network.
[0090] Fully connected layer: The feature vector V is straightened and input into the fully connected layer. Since coarse positioning belongs to multi-classification, softmax is used as the activation function to output the probability of which region the training sample belongs to:
[0091] y=Softmax(w s v+b s )
[0092] In the above formula: w s represents the weight, s represents the number of categories, b s Indicates bias.
[0093] Step 5 is precise positioning and classification training, which specifically includes:
[0094] Step 51: feature-splitting the offline precise positioning subcarriers and arranging them in rows to form an offline channel information amplitude matrix, then normalizing the elements in the offline channel information amplitude matrix to [0, 64], and rendering the offline channel information amplitude matrix into an offline channel information color image using image rendering technology;
[0095] Step 52: Send the offline channel information color image and the corresponding position coordinates of step 51 to the second convolutional neural network for regression learning to obtain a position regression model.
[0096] The formula for data normalization in step 51 is specifically:
[0097]
[0098] The x in the formula max With x min Corresponding to the maximum and minimum values in the offline channel information amplitude matrix, y max and min They correspond to the normalized upper and lower bounds, respectively. Corresponding to the value in the channel information amplitude matrix, Corresponding to the normalized values, the rounding operation is used during normalization to ensure that the normalized values are all integers.
[0099] The second convolutional neural network in step 5 is a multidimensional convolutional neural network, which inputs the rendered offline channel information color image.
[0100] Convolutional neural network (CNN) is a widely used deep learning technology. In recent years, researchers have applied CNN to a wider range of applications and research fields, including speech recognition, face recognition, and natural language processing, with good performance. CNN is divided into three parts, namely convolutional layer, pooling layer and fully connected layer.
[0101] The convolution layer is the core part of the convolutional neural network and is responsible for most of the heavy computational work in the neural network. Its input can be the output of the previous layer or the original image. The convolution layer performs convolution operations on the image by sliding the convolution kernel on the image, multiplying the local matrix of the input image with each element of the convolution kernel matrix and then accumulating them to achieve the effect of extracting the features of the input image. The calculation formula for convolution is as follows:
[0102]
[0103] In the above formula represents the jth feature map of the lth layer, f represents the activation function, M is the set of input feature maps, * represents the convolution operation, k is the convolution kernel, and b is the Bayesian bias term.
[0104] The feature map obtained after the convolution layer operation has a high dimension, which leads to a long calculation and storage time, which is not conducive to the learning of the neural network. Pooling reduces the size of the feature map through sampling operations, thereby improving the calculation efficiency. The pooling formula is as follows:
[0105]
[0106] The down function in the above formula is the sampling method function selected for downsampling.
[0107] After the CNN input data passes through the convolution layer and the pooling layer for feature extraction, it is finally input to the fully connected layer, which plays the role of transmitting information in the neural network. Each neuron in the fully connected layer is interconnected with all neurons in the previous layer, and all features extracted by the convolution layer and the pooling layer are learned and integrated. Since the fully connected layer and the upper network are fully connected, the fully connected layer needs to train relatively more parameters. In order to reduce the number of network parameters and avoid overfitting, the dropout operation can be used on the fully connected layer of the convolutional neural network to randomly discard some neurons to avoid the above problems.
[0108] like Figure 6 As shown, a specific schematic diagram of the second convolutional neural network structure in the precise positioning process of the present invention adopts a multidimensional convolutional neural network, and the input is a rendered offline channel information color image. Before entering the network, the offline channel information color image is first resized to 64*64, and after multiple convolutions, batch normalization, and pooling, the final pooled feature matrix is flattened and sent to the fully connected layer to finally achieve position regression.
[0109] The batch normalization layer is mainly used to accelerate the convergence process of the convolutional neural network and improve the stability of the training process. When using a convolutional neural network to process image data, several images (such as 32, 64, 128, etc.) are often input into the network at the same time for forward calculation. The error is also the accumulation of the errors of these images and sent back together. The batch normalization layer method actually normalizes the data in these images according to the following formula:
[0110]
[0111] like Figure 7As shown, the coarse positioning confusion matrix of the present invention reflects the consistency between the predicted area and the real area obtained by the area classification model, and the accuracy of the coarse positioning in the online stage is 94.78%.
[0112] like Figure 8 As shown, the precise positioning result is described by the mean absolute error (MAE) of position estimation. In each area, the regression prediction results of x and y are very close to the actual position, which proves the effectiveness of the present invention.
[0113] The online orientation phase includes:
[0114] Step 6: Collect online channel state information for online positioning, where the online channel state information includes online channel state amplitude information;
[0115] Step 7: preprocessing the online channel state amplitude information of step 6 to obtain positioning channel state amplitude information, wherein the preprocessing includes performing dimensionality reduction processing on the obtained online channel state amplitude information using a variance filtering method, and selecting an online positioning subcarrier for positioning in the online channel state amplitude information;
[0116] Step 8: According to the result selected in step 3, the online coarse positioning subcarriers used for coarse positioning are sent to the regional classification model obtained in step 4 after feature splicing to obtain the coarse positioning result;
[0117] Step 9: According to the result selected in step 3, the online precise positioning subcarriers used for precise positioning are feature-split to form an online channel state matrix, which is rendered into an online channel information color image and then sent to the position estimation model obtained in step 5 to obtain a precise positioning result.
[0118] In summary, the indoor positioning method based on channel state information of subcarrier selection of the present invention significantly improves the accuracy of indoor positioning, reduces the complexity of deep learning networks, shortens the time required for training models, and improves the efficiency of indoor positioning by dividing a specific environment into multiple areas and dividing the positioning process into two processes: coarse positioning and fine positioning. The present invention utilizes channel state information for positioning, which belongs to a device-free positioning method and has the advantages of low cost and simple implementation. At the same time, the present invention only needs to collect channel state information to complete the two processes of coarse positioning and fine positioning, and does not require additional data indicators, which reduces the complexity of realizing indoor positioning.
[0119] The above embodiments are only used to illustrate the technical solution of the present invention rather than to limit it. Although the present invention has been described in detail with reference to the preferred embodiments, it should be understood by those skilled in the art that the technical solution of the present invention may be modified or replaced by equivalents without departing from the spirit and scope of the technical solution of the present invention.
Claims
1. A channel state information indoor positioning method based on subcarrier selection, comprising two stages: an offline training stage and an online positioning stage. Features: The offline training phase includes: Step 1: Collect offline channel state information for offline training, where the offline channel state information includes offline channel state amplitude information; Step 2: preprocessing the collected offline channel state amplitude information to obtain training channel state amplitude information, wherein the preprocessing includes performing dimensionality reduction processing on the obtained offline channel state amplitude information using a variance filtering method, and selecting an offline positioning subcarrier for positioning in the offline channel state amplitude information; Step 3: Selecting an offline coarse positioning subcarrier for coarse positioning and an offline fine positioning subcarrier for fine positioning from the offline positioning subcarriers in step 2; Step 4: Use the first convolutional neural network to classify and learn the offline coarse positioning subcarriers to obtain a regional classification model; Step 5: Use the second convolutional neural network to perform regression learning on the offline precise positioning subcarrier to obtain a position estimation model; The online orientation phase includes: Step 6: Collect online channel state information for online positioning, where the online channel state information includes online channel state amplitude information; Step 7: preprocessing the online channel state amplitude information of step 6 to obtain positioning channel state amplitude information, wherein the preprocessing includes performing dimensionality reduction processing on the obtained online channel state amplitude information using a variance filtering method, and selecting an online positioning subcarrier for positioning in the online channel state amplitude information; Step 8: According to the result selected in step 3, the online coarse positioning subcarriers used for coarse positioning are sent to the regional classification model obtained in step 4 after feature splicing to obtain the coarse positioning result; Step 9: According to the result selected in step 3, the online precise positioning subcarriers used for precise positioning are feature-split to form an online channel state matrix, which is rendered into an online channel information color image and then sent to the position estimation model obtained in step 5 to obtain a precise positioning result.
2. The channel state information indoor positioning method based on subcarrier selection according to claim 1, Features: Step 1 specifically divides the positioning environment into a number of positioning sub-areas in the positioning environment, collects offline channel state information obtained by the receiving device when the target is located at different reference points, and obtains offline channel state amplitude information in the offline channel state information for positioning.
3. The channel state information indoor positioning method based on subcarrier selection according to claim 1, It is characterized in that In step 2, the dimension reduction processing of the obtained offline channel state amplitude information by using the variance filtering method specifically includes: Step 21: In the positioning environment, calculate the variance of the amplitude of each subcarrier in the offline channel state information; Step 22: Set a threshold, remove subcarriers whose variance is less than or equal to the threshold, and obtain offline positioning subcarriers in the offline channel state amplitude information.
4. The channel state information indoor positioning method based on subcarrier selection according to claim 1, It is characterized in that Step 2 also includes: Step 23: Use hampel filtering to remove outliers in the offline positioning subcarriers; Step 24: Use Gaussian filtering to remove measurement noise in the offline positioning subcarrier.
5. The channel state information indoor positioning method based on subcarrier selection according to claim 1, It is characterized in that Step 3 specifically includes: Step 31: label the offline positioning subcarrier according to each positioning sub-area; Step 32: Setting a scoring function, calculating the F value (mean square between groups / mean square within groups) in the variance analysis for each subcarrier in the offline positioning subcarrier, and obtaining the importance of each subcarrier in the offline positioning subcarrier; Step 33: According to the number of subcarriers required for coarse positioning, M is selected, and the subcarriers corresponding to the first M large F values among the offline positioning subcarriers are selected as offline coarse positioning subcarriers for coarse positioning training; Step 34: According to the number of subcarriers required for precise positioning being N, subcarriers corresponding to the first N largest F values among the offline positioning subcarriers are selected as offline precise positioning subcarriers for precise positioning training.
6. The channel state information indoor positioning method based on subcarrier selection according to claim 1, It is characterized in that Step 4 is as follows: Step 41: performing data normalization processing on the subcarrier amplitude information of the offline coarse positioning subcarrier used for coarse positioning, and marking the label of each area by one-hot encoding; Step 42: Send the training data obtained in step 41 to the first convolutional neural network for classification learning to obtain a regional classification model.
7. The channel state information indoor positioning method based on subcarrier selection according to claim 1, Features: In step 4, the first convolutional neural network is a one-dimensional convolutional neural network, which includes at least an input layer, a convolution layer, a pooling layer, a flatten layer and a fully connected layer.
8. The channel state information indoor positioning method based on subcarrier selection according to claim 1, It is characterized in that Step 5 specifically includes: Step 51: feature-splitting the offline precise positioning subcarriers and arranging them in rows to form an offline channel information amplitude matrix, then normalizing the elements in the offline channel information amplitude matrix to [0, 64], and rendering the offline channel information amplitude matrix into an offline channel information color image using image rendering technology; Step 52: Send the offline channel information color image and the corresponding position coordinates of step 51 to the second convolutional neural network for regression learning to obtain a position regression model.
9. The channel state information indoor positioning method based on subcarrier selection according to claim 8, It is characterized in that The formula for data normalization in step 51 is specifically: The x in the formula max With x min Corresponding to the maximum and minimum values in the offline channel information amplitude matrix, y max and min They correspond to the normalized upper and lower bounds, respectively. Corresponding to the value in the channel information amplitude matrix, Corresponding to the normalized values, the rounding operation is used during normalization to ensure that the normalized values are all integers.
10. The channel state information indoor positioning method based on subcarrier selection according to claim 8, Features: In step 5, the second convolutional neural network is a multidimensional convolutional neural network, which inputs the rendered color image of the offline channel information.
Citation Information
Patent Citations
Personnel action recognition and position estimation method based on channel state information
CN112153736A
Positioning method based on channel state information and depth image
CN114125698A
Action recognition method based on channel state information in WIFI and improved convolutional neural network
CN114626419A
