An indoor positioning method based on semi-tensor product compressed sensing
Through the semi-tensor product compressed sensing method and the iterative reweighted least squares algorithm, the problem of increased computational complexity and storage space of traditional indoor positioning technology under a large number of wireless access points is solved, the real-time performance and accuracy of positioning are improved, and the cost is reduced. cost.
Patent Information
- Application Number
- CN202210778330.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-07-01
- Publication Date
- 2024-10-15
- Estimated Expiration
- 2042-07-01
AI Technical Summary
In indoor environments, when a large number of wireless access points are deployed in traditional indoor positioning technology based on compressed sensing, the computational complexity and storage space increase, resulting in reduced positioning accuracy and real-time performance.
The semi-tensor product compressed sensing method is used to construct a low-order AP selection matrix through offline stage clustering and online stage rough positioning, and the STP-CS model and iterative reweighted least squares algorithm are used to achieve position estimation and reduce computational complexity. and storage space.
While ensuring positioning accuracy, it improves the real-time performance of positioning and reduces overhead, achieving positioning performance similar to traditional methods.
Smart Images

Figure CN115175122B_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to indoor positioning technology, and in particular relates to an indoor positioning method based on semi-tensor product compressed sensing. Background Art
[0002] With the development of Internet of Things technology, location-based services (LBS) have been widely used in various fields, among which positioning technology is one of the key technologies of LBS. The common global positioning system (GPS) has high positioning accuracy, but in indoor environments, due to the obstruction of various obstacles and moving objects, the signal attenuation is serious and accurate positioning is impossible. Fortunately, due to the popularity of wireless local area networks (WLAN), indoor positioning systems based on WLAN have become one of the most commonly used positioning methods in indoor environments.
[0003] In the WLAN positioning system, there are generally two types of indoor positioning technologies, one is the positioning technology based on signal spatial similarity, and the other is the indoor positioning technology based on sparse recovery. In the indoor positioning technology based on sparse recovery, the compression sensing (CS) model is often used. The traditional CS-based positioning method models the spatial position into a sparse vector, uses the measurement matrix as the AP selection matrix, the sparse basis matrix as the radio map, and the measurement value as the received signal strength (RSS) value measured online for positioning. It mainly includes two stages: offline stage and online stage. In the offline stage, the RSS from different access points (AP) is measured at several pre-calibrated reference points (RP), and then a location fingerprint database is established through the collected RSS data, and the clustering algorithm is used to cluster the data; the online stage is mainly divided into two parts. The first is the coarse positioning of cluster matching, that is, the RSS of the user collected online is compared with the center of each cluster to determine which cluster the user is located in, thereby narrowing the positioning area. Second, after narrowing the area, an AP selection matrix is constructed, and then a compressed sensing model is used for fine positioning.
[0004] However, when a large number of APs are deployed in the target environment, the AP selection matrix constructed by the traditional CS model will increase the computational complexity and storage space. To address this problem, the present invention proposes an indoor positioning method based on semi-tensor product compression sensing (Semi-tensor Product Compression Sensing, STP-CS). First, the database is clustered in the offline stage, and then the rough positioning of cluster matching is performed in the online stage. The semi-tensor product theory is used again to construct a low-order AP selection matrix. Finally, the STP-CS method is used to construct the STP-CS model to achieve accurate estimation of the position. This method can achieve positioning performance similar to that of traditional CS, and can also reduce storage space and computational complexity by constructing a low-order random measurement matrix. Moreover, compared with traditional positioning technology, while ensuring positioning accuracy, it improves the real-time performance of positioning and reduces overhead. Summary of the invention
[0005] The purpose of the present invention is to provide an indoor positioning method based on semi-tensor product compressed sensing. First, the database is clustered in the offline stage, and then the coarse positioning of cluster matching is performed in the online stage. The semi-tensor product theory is used again to construct a low-order AP selection matrix, and finally the STP-CS method is used to construct the STP-CS model, and then the position is estimated by the Iterative Re-weighted Least Square (IRLS) algorithm. Compared with the traditional positioning technology, this method has greatly improved the real-time performance and overhead while ensuring the positioning accuracy.
[0006] The indoor positioning method based on half tensor product compressed sensing described in the present invention comprises the following steps:
[0007] Step 1: In the target area, randomly deploy L wireless access points (AP) and calibrate N reference points (RP), and calibrate k test points (TP);
[0008] Step 2: Collect time samples of RSS readings at RPs with known locations. The original RSS time sample set of the ith AP collected at the jth RP is denoted as {ψ i,j (τ),τ=1,...,q,q>1}, where q is the total number of data collected from the i-th AP at the j-th RP. In this way, the collected RSS can be averaged and an offline database can be established.
[0009]
[0010] where ψ i,jIt represents the mean RSS value measured at the i-th AP of the j-th RP;
[0011] Step 3: Divide the RPs collected in the offline phase into multiple clusters through a clustering algorithm, and assign a cluster center to each cluster;
[0012] Step 4: In the online stage, measure the RSS sample value y at each test point;
[0013] Step 5: In the online coarse positioning stage, by comparing the distance between the online measured RSS sample value y and the cluster center, the closest cluster area is found as the new target area, thereby reducing the size of the positioning area. The number of RPs in the reduced cluster area is N';
[0014] Step 6: In the online fine positioning stage, the semi-tensor product theory is used to construct a low-order AP selection matrix to build the STP-CS model.
[0015] Step 7: Based on the constructed STP-CS model, the IRLS algorithm is used to recover the sparse position, find the index of the user position, and thus obtain the position estimate.
[0016] The step six comprises the following steps:
[0017] Step 6 (a), since the user's position at a given moment is unique in the discrete spatial domain, the positioning problem can be transformed into a sparse problem that needs to be solved. Therefore, a sparse vector θ can be used to represent the user's position. θ is an N'×1 vector, where only θ(n) = 1 and the rest of the elements are equal to 0. The final user position is the position index corresponding to θ = 1, that is, the index of RP. Therefore, by finding the optimal θ, the corresponding user position can be found, expressed as
[0018] θ=[0,…,0,1,0…,0] T
[0019] Step 6 (ii) Use Fisher's criterion to find the AP subset with the highest score in the cluster area, and get the dimension The AP selection matrix. is a subset of all APs, is the best subset of all APs. M is a subset of APs in the original CS model. Therefore, in the STP-CS model,
[0020] Step 6 (iii), the STP-CS model not only meets the sampling requirements of the traditional CS model, but also meets the restricted isometry and mutual incoherence characteristics of the CS theory. Compared with the traditional CS model, this model only changes the size of the matrix, but does not change any characteristics of the matrix. Therefore, y in this model still represents the RSS value of online measurement, expressed as
[0021]
[0022] in For low-order AP selection matrix, Ψ L×N' is the RSS value of the smaller positioning area obtained after coarse positioning, θ N'×1 is the user position vector, N' is the number of RPs after coarse positioning, is the semi-tensor product symbol.
[0023] The semi-tensor product is calculated as follows
[0024]
[0025] in n is a factor of p, i.e. p (p = nt), a ij ∈A,b ij ∈B.
[0026] The step seven comprises the following steps:
[0027] Step 7 (a) The STP-CS problem can be solved by convex optimization, that is, the problem of minimizing the l1 norm needs to be solved.
[0028]
[0029]
[0030] Step 7 (ii) is implemented using the IRLS algorithm, in which the concept of iterative weight is introduced, namely
[0031] w=|Y (n-1) | -1
[0032] The weight value is obtained through iteration;
[0033] Step 7 (iii), finally get the position index, and then find the corresponding position through the position index, which can be expressed as
[0034] θ n+1 =D n Φ T (t)[Φ(t)D n Φ T (t)] -1 YM×1
[0035] Among them, D n is a diagonal matrix with values Beneficial Effects
[0036] The present invention first clusters the data collected in the offline stage and finds the cluster center; then, performs coarse positioning of cluster matching in the online stage, compares the RSS measured online with the cluster center, thereby narrowing the positioning area; finally, constructs a low-order AP selection matrix, constructs the STP-CS model using the STP-CS method, and then estimates the position through the IRLS algorithm. Compared with traditional positioning technology, the present invention improves the real-time positioning and reduces the overhead while ensuring the positioning accuracy. BRIEF DESCRIPTION OF THE DRAWINGS
[0037] Figure 1 It is a flow chart of the present invention;
[0038] Figure 2 It is the system framework diagram;
[0039] Figure 3 It is a diagram of the experimental environment, which includes two corridor areas (i.e., areas 1 and 2) and one laboratory area (i.e., area 3), and the reference points and test points are evenly marked in the experimental environment;
[0040] Figure 4 Comparison of the cumulative distribution of positioning errors of different methods. Specific implementation plan
[0041] The present invention will be further described below in conjunction with the accompanying drawings:
[0042] like Figure 1 An indoor positioning method based on half tensor product compressed sensing is shown, which specifically includes the following steps:
[0043] Step 1: In the target area, randomly deploy L wireless access points (AP) and calibrate N reference points (RP), and calibrate k test points (TP);
[0044] Step 2: Collect time samples of RSS readings at RPs with known locations. The original RSS time sample set of the ith AP collected at the jth RP is denoted as {ψ i,j (τ),τ=1,…,q,q>1}, where q is the total number of data collected from the i-th AP at the j-th RP. In this way, the collected RSS can be averaged and an offline database can be established.
[0045]
[0046] where ψ i,j It represents the mean RSS value measured at the i-th AP of the j-th RP;
[0047] Step 3: Divide the RPs collected in the offline phase into multiple clusters through a clustering algorithm, and assign a cluster center to each cluster;
[0048] Step 4: In the online stage, measure the RSS sample value y at each test point;
[0049] Step 5: In the online coarse positioning stage, by comparing the distance between the online measured RSS sample value y and the cluster center, the closest cluster area is found as the new target area, thereby reducing the size of the positioning area. The number of RPs in the reduced cluster area is N';
[0050] Step 6: In the online fine positioning stage, the semi-tensor product theory is used to construct a low-order AP selection matrix to build the STP-CS model. The specific steps include:
[0051] 6a. Since the user's position at a given moment is unique in the discrete spatial domain, the positioning problem can be transformed into a sparse problem that needs to be solved. Therefore, a sparse vector θ can be used to represent the user's position. θ is an N'×1 vector, where only θ(n) = 1 and the rest of the elements are equal to 0. The final user position is the position index corresponding to θ = 1, that is, the index of RP. Therefore, by finding the optimal θ, the corresponding user position can be found, which is expressed as
[0052] θ=[0,…,0,1,0…,0] T
[0053] 6b. Use Fisher's criterion to find the AP subset with the highest score in the cluster area, and the dimension is The AP selection matrix. is a subset of all APs, is the best subset of all APs. M is a subset of APs in the original CS model. Therefore, in the half-tensor product compressed sensing model,
[0054] 6c. The STP-CS model not only meets the sampling requirements of the traditional CS model, but also meets the restricted isometry and mutual incoherence characteristics of the CS theory. Compared with the traditional CS model, this model only changes the size of the matrix, but does not change any characteristics of the matrix. Therefore, y in this model still represents the RSS value of online measurement, which is expressed as
[0055]
[0056] in For low-order AP selection matrix, Ψ L×N' is the RSS value of the smaller positioning area obtained after coarse positioning, θ N'×1 is the user position vector, N' is the number of RPs after coarse positioning, is the semi-tensor product symbol.
[0057] The semi-tensor product is calculated as follows
[0058]
[0059] in n is a factor of p, i.e. p (p = nt), a ij ∈A,b ij ∈B;
[0060] Step 7: Based on the constructed STP-CS model, the IRLS algorithm is used to recover the sparse position and find the index of the user position, thereby obtaining the position estimate. Specifically, the following steps are included:
[0061] Step 7 (a) The STP-CS problem can be solved by convex optimization, that is, the problem of minimizing the l1 norm needs to be solved.
[0062]
[0063]
[0064] Step 7 (ii) is implemented using the IRLS algorithm, in which the concept of iterative weight is introduced, namely
[0065] w=|Y (n-1) | -1
[0066] The weight value is obtained through iteration;
[0067] Step 7 (iii), finally get the position index, and then find the corresponding position through the position index, which can be expressed as
[0068] θ n+1 =D n Φ T (t)[Φ(t)D n Φ T (t)] -1 Y M×1
[0069] Among them, D n is a diagonal matrix with values
Claims
1. An indoor positioning method based on half tensor product compressed sensing, characterized in that The following steps are involved: Step 1: In the target area, randomly deploy L wireless access points (AP) and calibrate N reference points (RP), and calibrate k test points (TP); Step 2: Collect time samples of RSS readings at RPs with known locations. The original RSS time sample set of the i-th AP collected at the j-th RP is denoted as {ψ i,j (τ),τ=1,…,q,q>1}, where q is the total number of data collected from the i-th AP at the j-th RP. The collected RSS can be averaged and an offline database can be established: where ψ i,j It represents the mean RSS value measured at the i-th AP of the j-th RP; Step 3: Divide the RPs collected in the offline phase into multiple clusters through a clustering algorithm, and assign a cluster center to each cluster; Step 4: In the online stage, measure the RSS sample value y at each test point; Step 5: In the coarse positioning stage of the online phase, by comparing the distance between the online measured RSS sample value y and the cluster center, the closest cluster area is found as the new target area, thereby reducing the size of the positioning area, wherein the number of RPs in the reduced cluster area is N'; Step 6: In the online fine positioning stage, the semi-tensor product theory is used to construct a low-order AP selection matrix to build the STP-CS model, which includes the following steps: Step 6 (i) Since the user's position at a given moment is unique in the discrete space domain, the positioning problem can be transformed into a sparse problem that needs to be solved. Therefore, a sparse vector θ can be used to represent the user's position. θ is an N'×1 vector, where only θ(n)=1 and the rest of the elements are equal to 0. The final user position is the position index corresponding to θ=1, that is, the index of RP. Therefore, by finding the optimal θ, the corresponding user position can be found, which is expressed as: θ=[0,…,0,1,0…,0] T Step 6 (ii) Use Fisher's criterion to find the AP subset with the highest score in the cluster area, and get the dimension The AP selection matrix is: is a subset of all APs, is the best subset of all APs, and M is a subset of APs in the original CS model. Therefore, in the STP-CS model, Step 6 (iii), the STP-CS model not only meets the sampling requirements of the traditional CS model, but also meets the restricted isometry and mutual incoherence characteristics of the CS theory. Compared with the traditional CS model, this model only changes the size of the matrix but does not change any characteristics of the matrix. Therefore, y in this model still represents the RSS value of online measurement, which is expressed as: in For low-order AP selection matrix, Ψ L×N' is the RSS value of the smaller positioning area obtained after coarse positioning, θ N'×1 is the user position vector, N' is the number of RPs after coarse positioning, is the semi-tensor product symbol, so the semi-tensor product is calculated as follows: in n is a factor of p, that is, p = nt, a ij ∈A,b ij ∈B; Step 7: Based on the constructed STP-CS model, the IRLS algorithm is used to recover the sparse position and find the index of the user position, thereby obtaining the position estimate, which specifically includes the following steps: Step 7 (a) The STP-CS problem can be solved by convex optimization, that is, the problem of minimizing the l1 norm needs to be solved: Step 7 (ii) is implemented using the IRLS algorithm, in which the concept of iterative weight is introduced, namely: w=|Y (n-1) | -1 The weight value is obtained through iteration; Step 7 (iii), finally get the position index, and then find the corresponding position through the position index, which can be expressed as: Among them, D n is a diagonal matrix with values
