An indoor intelligent positioning method based on derived fingerprint migration
By calculating derived fingerprint features and transfer learning in the indoor environment, constructing radio maps and optimizing K value selection, the problem of insufficient indoor positioning accuracy in the existing technology is solved, and high-precision indoor positioning is achieved.
Patent Information
- Application Number
- CN202210330811.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-03-30
- Publication Date
- 2024-08-27
- Estimated Expiration
- 2042-03-30
AI Technical Summary
Existing indoor positioning methods have insufficient positioning accuracy in complex indoor environments. In particular, multilateral positioning methods and fingerprint positioning methods are affected by base station deployment and signal fluctuations, making it difficult to achieve high-precision positioning.
An indoor intelligent positioning method based on derived fingerprint migration is adopted. By calculating cumulative average, differential and hyperbolic fingerprint features in the offline stage, an offline derived fingerprint database is established, and migration learning is used to build a radio map and optimize the K value selection to improve positioning accuracy.
At low data collection cost, it effectively improves indoor positioning accuracy, adapts to scene changes, improves the deficiencies of fingerprint features, and improves the accuracy of the KNN positioning model.
Smart Images

Figure CN114679683B
Abstract
Description
Technical Field
[0001] The invention belongs to the technical field of indoor positioning. Background Art
[0002] With the development of location-based service industries such as smart sorting and disaster relief, high-precision positioning has become a hot research direction for wireless positioning technology. According to surveys and statistics in recent years, people spend 80%-90% of their time indoors, which has led to more and more attention paid to indoor positioning research. At the same time, as the scale of enterprises continues to expand, it is difficult to prevent the safety of staff, so there is a need for accurate indoor positioning of personnel in specific areas. The above can all show that accurate positioning in indoor environments has become a research hotspot for positioning, and its research results not only bring great economic benefits, but also provide support for technical applications in other fields.
[0003] Current indoor positioning methods include proximity detection, centroid positioning, multilateral positioning, fingerprint positioning, and dead reckoning. However, these methods all have more or less disadvantages. For example, although the proximity detection method is simple and easy to implement, it can only provide approximate positioning information, and the centroid positioning method requires dense base station deployment to achieve high-precision positioning, which will cause huge economic costs. Taking all factors into consideration, indoor positioning generally uses multilateral positioning and fingerprint positioning. Both positioning methods can achieve good positioning accuracy. The principle of multilateral positioning is to calculate the distance by using the attenuation model of the received signal strength, and to establish a linear equation system based on the distance to solve the positioning position. Indoor positioning based on fingerprint positioning is a matching or mapping method of an offline fingerprint library. For example, a classification algorithm is used to match the reference points in the offline fingerprint library according to RSS, and then the position of the reference points is weighted to obtain the positioning position; or a regression algorithm is used to construct a mapping relationship based on RSS to obtain the positioning position. Multilateration is affected by the complex indoor environment and the deployment location of the base station. Using a type of attenuation model to represent the RSS-distance relationship will reduce the positioning accuracy. In addition, fingerprint positioning using RSS data can also result in poor positioning accuracy due to RSS signal fluctuations. Summary of the invention
[0004] Purpose of the invention: In order to solve the problems existing in the above-mentioned prior art, the present invention provides an indoor intelligent positioning method based on derived fingerprint migration.
[0005] Technical solution: The present invention provides an indoor intelligent positioning method based on derived fingerprint migration, which specifically includes the following steps:
[0006] Step 1: In the offline stage, a mobile device is used to communicate with a 5G base station at different locations indoors, and different locations are used as reference points to obtain the RSS information received by the mobile device at each reference point in a time series, the incident angle of the signal received by the mobile device at each reference point, and the location information of each reference point; the total number of moments in the time series is U, the total number of 5G base stations is M, the total number of reference points is E0, and the set of reference points is R;
[0007] Step 2: Calculate the derived fingerprint features of each reference point, the derived fingerprint features include the cumulative average fingerprint feature F1 (RSS_θ r ), differential fingerprint feature F2(RSS_θ r ) and hyperbolic fingerprint feature F3(RSS_θ r ):RSS_θ r Represent the joint fingerprint of the reference point r based on RSS and incident angle information; and calculate the optimal K value of each reference point according to the three fingerprint features of each reference point; establish an offline derived fingerprint library, which includes the derived fingerprint features, optimal K value, RSS information, signal incident angle and position information of each reference point, r = 1, 2, ..., E0;
[0008] Step 3: Determine whether the time variation of the actual indoor scene exceeds the preset number of days. If so, go to step 4. Otherwise, calculate the position information of the point to be measured* in the target domain according to the optimal K value of the reference point in the offline derived fingerprint library; the target domain includes known points and points to be measured. The known points are points in the actual indoor scene where the RSS information, the incident angle of the signal and the position information are known. The points to be measured are points in the actual indoor scene where the RSS information, the incident angle of the signal are known but the position information is unknown.
[0009] Step 4: Use transfer learning to migrate the offline derived fingerprint library to construct a radio map, and determine the location information of the point to be measured based on the new reference points in the radio map and the optimal K value of the reference points in the offline derived fingerprint library before migration.
[0010] Furthermore, the step 2 is: calculating the cumulative average fingerprint feature of the reference point r is specifically:
[0011] The calculation formula for setting the cumulative average is as follows:
[0012]
[0013] in, represents the cumulative average value of the data from time 1 to time u, l(u+1) represents the actual value of the data at time u+1, u = 1, 2, ..., U;
[0014] The cumulative average fingerprint feature of the reference point r is calculated based on the calculation formula of the cumulative average:
[0015]
[0016] in, RSS_θ represents the cumulative average value of the derived fingerprint of the Mth 5G base station for the reference point r at the U-1th time; r The expression is:
[0017]
[0018] Wherein, m represents the mth 5G base station, m=1,2,…,M; represents the RSS data collected by the mth 5G base station for the reference point r at time u, represents the signal incident angle data collected by the mth 5G base station to the reference point r at time u;
[0019] The differential fingerprint feature F2(RSS_θ r ) is expressed as:
[0020] F2(RSS_θ r )=[Δψ r (1),…,Δψ r (u),…,Δψ r (U)]
[0021] Among them, Δψ r The expression of (u) is:
[0022]
[0023] Wherein, m1 represents the m1th base station, m2 represents the m2th base station, m1=1,2,...,M, m2=1,2,...,M, and m1≠m2; The expression is as follows:
[0024]
[0025] The hyperbolic fingerprint feature F3(RSS_θ r ) is:
[0026] F3(RSS_θ r )=[l r (1),…,l r (u),…,l r (U)]
[0027] Among them, l r The expression of (u) is:
[0028]
[0029] in, The expression is:
[0030] Furthermore, the step 2 of calculating the optimal K value for each reference point is specifically as follows: calculating the fingerprint Euclidean distance between any two reference points r1 and r2
[0031]
[0032] Where r1=1,2,...,E0,r2=1,2,...,E0,and r1≠r2,||·||2 represents the two-norm formula; Represents the weight coefficient of the fingerprint feature corresponding to the value of e;
[0033] The optimal K value of the reference point r1 is calculated according to the following objective function:
[0034]
[0035]
[0036] in, and Represents the actual position information of the reference point r1, and Respectively represent the horizontal and vertical coordinates of the predicted position of the reference point r1, represents the K value of the reference point r1, The K value of the reference point r1 is When the reference point r1 is positioned by KNN, A set of reference points, solve the above objective function, and get the optimal K value of reference point r1 Indicates the value selected when performing KNN positioning on the reference point r1 based on the optimal K value A collection of reference points;
[0037] Predicted position of reference point r1 The expression is:
[0038]
[0039] in, Representing a collection The first reference point in Representing a collection Middle reference points, Represents the reference point r1 and the set The fingerprint Euclidean distance of the reference point r'1 in Representing a collection The actual position information of the reference point r'1.
[0040] Furthermore, the step 3 calculates the position information of the point to be measured* in the target domain as follows:
[0041] Use the nearest neighbor algorithm for reference point matching:
[0042]
[0043] Among them, ED r,* represents the fingerprint Euclidean distance between the test point* and the reference point r, F e (RSS_θ * ) represents the fingerprint feature of the point to be tested* corresponding to the value of e;
[0044] Select the optimal K value corresponding to the reference point with the closest Euclidean distance as the optimal K value of the point to be measured* Sort the fingerprint Euclidean distance between each reference point and the point to be tested* from small to large, and take the first The reference points corresponding to the fingerprint Euclidean distance form a set Thus, the position of the point to be measured* (x * ,y * ):
[0045]
[0046] in, Representing a collection The first reference point in Representing a collection Middle reference points, Represents the points to be tested* and the set Middle reference point r * The Euclidean fingerprint distance between Representing a collection Middle reference point r * The actual location information.
[0047] Furthermore, the step 4 is specifically as follows: taking the offline derived fingerprint library as the source domain, establishing the objective function of transfer learning:
[0048]
[0049] Solve the objective function of transfer learning using the Lagrange multiplier method and get:
[0050]
[0051] Among them, χ1 and χ2 are parameters, λ is the Lagrange multiplier, and V is The characteristic vector of Indicates the source domain D s and the target domain D t The inter-domain inter-class divergence matrix of Indicates the source domain D s and the target domain D t The intra-class divergence matrix between domains is Source Field D s The intra-domain inter-class scatter matrix, Source Field D s Intra-domain intra-class scatter matrix; and The expression is:
[0052]
[0053]
[0054]
[0055]
[0056] Among them, w o,r Represents the difference between the known point o and the reference point r, o = 1, 2, ..., E1, E1 is the known point
[0057] Total number, σ e is an adjustable parameter; represents the difference between reference point r1 and reference point r2, lo(r) and lo(o) represent the position information of reference point r and known point o respectively; Represents the mean of the fingerprint feature vector of the known point o after being mapped by the Gaussian kernel function, Represents the mean value of the fingerprint feature vector after the reference point r is mapped by the Gaussian kernel function, and The expression is as follows:
[0058]
[0059]
[0060] in, and Represent the fingerprint feature vectors of the known point o and the reference point r respectively, The kernel matrix represents the fingerprint feature vectors of all known points in the target domain after being mapped by the Gaussian kernel function. The kernel matrix represents the fingerprint feature vectors of all reference points in the source domain after being mapped by the Gaussian kernel function. and The expression is as follows:
[0061]
[0062]
[0063] Will Arrange several generalized eigenvalues from large to small, and select the first generalized eigenvalues, and the dimension is established as The new mapping space of
[0064] Create source domains according to the following rules:
[0065]
[0066] in, Represents the optimal K value based on the reference point r2 The reference point r2 is selected when performing KNN positioning A set of reference points; taking the known points with the same position as the reference points in the same source domain as the same target domain; Each reference point r in sa Mapped to dimension In the new mapping space, we get the mapped representation
[0067]
[0068] in, Indicates source domain and target domain The mapping matrix mapped to the new mapping space, Indicates source domain Middle reference point r sa Fingerprint feature vector of Indicates source domain The kernel matrix projected into the new mapping space;
[0069] Divide each target into Each reference point o in ta Mapped to dimension In the new mapping space, we get the mapped representation
[0070]
[0071] in, Indicates the target domain Middle reference point o ta Fingerprint feature vector of Indicates the target domain The kernel matrix projected into the new mapping space;
[0072] Each known point in the new mapping space and the remaining reference points in the new mapping space form a new offline derived fingerprint library; the remaining reference points are reference points in the source domain other than the reference points corresponding to the known points;
[0073] According to the fingerprint feature vector of the new offline derived fingerprint library in the new new mapping space, a radio map is constructed. The set of new reference points in the radio map is represents the e0th new reference point in the wireless map, e0 = 1, 2, ..., E0; and the new reference point The optimal K value is the same as the e0th reference point in the source domain; calculate the optimal K value between the test point and the new reference point The fingerprint Euclidean distance between them is:
[0074]
[0075] in, It represents the fingerprint feature corresponding to the test point and the value of e in the new mapping space, Indicates the new reference point The representation of the fingerprint features corresponding to the value of e in the new mapping space;
[0076] Select the optimal K value corresponding to the new reference point with the closest Euclidean distance to the fingerprint of the test point as the optimal K value of the test point Arrange the fingerprint Euclidean distances between all new reference points and the points to be tested from small to large, and select the first The new reference points corresponding to the fingerprint Euclidean distance form a set So as to get the position of the point to be measured:
[0077]
[0078] in Representing a collection The first new reference point in Representing a collection No. Representing a collection New reference point r' * The actual location information, Indicates the point to be measured* and the new reference point r' *The fingerprint Euclidean distance between them.
[0079] Beneficial effects: The present invention can improve the shortcomings of commonly used fingerprint features by using derived fingerprints. In addition, the K value selection of the KNN positioning model is determined by the online optimal selection method of the K value of the test point to improve the model positioning accuracy. In addition, the transfer learning positioning algorithm is used to effectively improve the indoor positioning accuracy of the scene with time-varying scenes at a low data collection cost, and has a very broad application prospect. BRIEF DESCRIPTION OF THE DRAWINGS
[0080] Figure 1 is a flow chart of the present invention;
[0081] Figure 2 The block diagram of the positioning method for online optimal selection of K value of the measured point;
[0082] Figure 3 Construct a flow chart for a zonal radio map. DETAILED DESCRIPTION
[0083] The accompanying drawings, which constitute a part of the present invention, are used to provide a further understanding of the present invention. The exemplary embodiments of the present invention and their descriptions are used to explain the present invention and do not constitute improper limitations on the present invention.
[0084] The present invention provides a 5G indoor intelligent positioning method based on derived fingerprint migration, such as Figure 1 As shown, the present invention provides a 5G indoor intelligent positioning method based on derived fingerprint migration. The method firstly collects the RSS information, the incident angle of the signal and the position information received by the indoor mobile device at different reference points by the 5G base station, and uploads the collected data to the edge server; secondly, the edge server combines the RSS and the incident angle information to derive three types of fingerprints, and combines the reference point position information and the optimal K value to construct a derived fingerprint-optimal K value-position fingerprint library (offline derived fingerprint library); finally, indoor positioning is performed through the online optimal selection method of the K value of the test point and the KNN model migration mechanism considering the time-varying environment, so as to send better positioning results to the device under test under low offline data re-collection.
[0085] The present invention mainly includes three contents: first, derived fingerprint generation, generating three types of fingerprint features according to RSS and incident angle information respectively; second, proposing an online optimal selection method for the K value of the test point to improve the KNN positioning model; third, the edge server performs indoor positioning according to the KNN model migration mechanism that considers the time-varying environment, and predicts the location of the device to be tested with less offline data collection.
[0086] 1. Derived fingerprint generation:
[0087] The derived fingerprint in this embodiment is a fingerprint feature derived from the joint fingerprint based on RSS and incident angle information, including: fingerprint features based on cumulative average, considering that data collection is performed in a short period of time, the data has a large correlation, so that the currently collected data is continuously corrected using historical data. The fingerprint joint feature based on difference can effectively solve the problem of device heterogeneity caused by hardware or software problems. The joint fingerprint feature based on hyperbola is used to solve the problem of large differences in the absolute values of signals collected from different users, and its use of proportional data helps to have higher reliability.
[0088] In the offline stage, the set of reference points collected in the positioning scenario is R, the total number is E0, U time samples are collected for each reference point, and the number of 5G base stations involved in positioning is M. For the reference point r, the corresponding location information is (x r ,y r ). Based on the RSS and incident angle information, the joint fingerprint of the reference point r is expressed as:
[0089]
[0090] in, represents the RSS data collected by 5G base station m for reference point r at time index u (at time u, u = 1, 2, ..., U), Represents the angle data collected by 5G base station m relative to reference point r at time index u; m=1,2,…,M.
[0091] Based on the cumulative average fingerprint joint feature, this feature can observe the collected historical data and correct the currently collected data based on its occurrence probability. The specific formula of cumulative average is as follows:
[0092]
[0093] in, represents the cumulative average value of the data from time 1 to u, and l(u+1) represents the actual value of the data collected at time u+1. Accordingly, the cumulative average fingerprint feature of the reference point r is expressed as:
[0094]
[0095] Among them, F1(·) represents the cumulative average fingerprint feature, where represents the cumulative average value of the joint fingerprint of the Mth 5G base station for the reference point r at the U-1th time; It represents the cumulative average value of the joint fingerprint of 5G base station M for reference point r in a certain time series.
[0096] The fingerprint joint feature based on difference is to differentiate the joint fingerprints received from different base stations at the same time sequence number, so as to construct all fingerprints at the time sequence number. For reference point r, the differential fingerprint of the data received by 5G base station m1 and 5G base station m2 at time u is:
[0097]
[0098] Among them, m1=1,2,...,M, m2=1,2,...,M, and m1≠m2.
[0099] Therefore, the difference-based fingerprint joint feature of the reference point r is expressed as:
[0100] F2(RSS_θ r )=[Δψ r (1),…,Δψ r (u),…,Δψ r (U)]
[0101] Where F2(·) represents the differential fingerprint, Δψ r (u) is expressed as:
[0102]
[0103] The fingerprint joint feature based on the hyperbola has better stability than directly using the signal data.
[0104] For reference point r, the hyperbolic fingerprint of the data received by 5G base stations m1 and m2 at time sequence number u is:
[0105]
[0106] Therefore, the hyperbola-based joint fingerprint feature of the reference point r is expressed as:
[0107] F3(RSS_θ r )=[l r (1),…,l r (u),…,l r (U)]
[0108] Among them, F3(·) means converting the fingerprint into a hyperbolic fingerprint, l r (u) is expressed as:
[0109]
[0110] 2. Online optimal selection method of K value of the test point:
[0111] For the KNN indoor positioning method, noise may lead to reduced positioning accuracy. In addition, due to the different locations of the test points, selecting a fixed K value cannot guarantee that the test points at each location will achieve good positioning accuracy. In order to find the optimal adaptive K value for each positioning situation, the present invention proposes an online optimal selection method for the K value of the test point, such as Figure 2 shown.
[0112] To determine the optimal K value for each offline reference point, the KNN algorithm is performed on all reference points in the offline phase. The fingerprint Euclidean distance between any two reference points r1 and r2 is calculated.
[0113]
[0114] Among them, r1=1,2,...,E0,r2=1,2,...,E0, and r1≠r2,||·||2 represents the two-norm formula, Indicates the fingerprint feature weight coefficient corresponding to the value of e. The smaller the fingerprint Euclidean distance, the greater the fingerprint similarity. Note that when performing KNN positioning on the reference point, it will not match itself in the offline fingerprint library. The specific matching process is: calculate the fingerprint Euclidean distance between reference point r1 and reference point r2, sort them from small to large, and select the first one with the smallest fingerprint Euclidean distance. Reference points form a set in, Representing a collection The reference points with serial number lr1 are used in the weighted cumulative summation.
[0115] The predicted position of the reference point r1 is expressed as:
[0116]
[0117] in, Representing a collection The actual position information of the reference point r'1, Represents the reference point r1 and the set The fingerprint Euclidean distance of the reference point r'1 in .
[0118] In order to ensure that the positioning error of each reference point is minimized, it is necessary to reasonably consider the optimal K value of each reference point. Taking reference point r1 as an example, the following optimization objectives can be formulated:
[0119]
[0120]
[0121] in, The upper limit is 15 because The larger the value, the more computational overhead it will cause. By optimizing the target, we can get the optimal K value for the reference point r1. Indicates the value selected when performing KNN positioning on the reference point r1 based on the optimal K value A collection of reference points.
[0122] In the online stage, if the time variation of the actual indoor scene does not exceed the preset number of days, the following method is used to calculate the optimal K value and position of the point to be measured in the target domain; the target domain includes known points and points to be measured, the known points are points in the actual indoor scene where the RSS information, the incident angle of the signal and the position information are all known, and the points to be measured are points in the actual indoor scene where the RSS information and the incident angle of the signal are known but the position information is unknown.
[0123] Calculate the fingerprint Euclidean distance between the point to be tested and the reference point r;
[0124]
[0125] Then, the corresponding K value is selected according to the matched reference point. The specific method is as follows: the fingerprint Euclidean distance between the test point and all reference points is calculated, and the optimal K value of the reference point with the smallest fingerprint Euclidean distance is selected as the K value of the test point (i.e. ), and then continue to select the first fingerprint with the smallest Euclidean distance reference points, and the number of elements finally formed is A set of reference points In order to realize the online selection method of the optimal K value of the test point. The final positioning result of the test point is:
[0126]
[0127] in, Representing a collection Middle reference point r * The actual location information, Represents the reference point r * Fingerprint Euclidean distance from the test point*, Representing a collection The first reference point in Representing a collection Middle reference points.
[0128] 3. KNN model migration mechanism considering time-varying environment:
[0129] According to the KNN positioning principle, the position of any point is calculated by selecting the positions of K neighboring points based on fingerprint similarity. However, the time-varying environment causes the K value required by the KNN positioning model and the offline derived fingerprint library to change. In order to ensure the availability of the optimal K value under time-varying environment (the actual indoor environment time-varying exceeds the preset number of days). Figure 3 As shown, the present invention adopts known point collection based on offline optimal K value to perform subsequent radio map construction.
[0130] According to the optimal K value solved by the offline reference point in the source domain (taking the offline derived fingerprint library as the source domain), it can be confirmed that the feature vectors of the three types of fingerprints of a certain reference point have great similarity with the feature vectors of other K-1 reference points; the one-way connection relationship matrix between reference points at different positions is:
[0131]
[0132] in, Indicates the unidirectional connection relationship from reference point r1 to reference point r2. The value is usually 0 or 1. 0 indicates unidirectional connection and 1 indicates no unidirectional connection. in, Representing a collection The number of elements of ; It represents the reference point set matched by KNN based on the optimal K value for the reference point r1. According to the unidirectional connection relationship matrix between the reference points, the reference point set can be constructed. The rules for constructing the reference point set are as follows:
[0133]
[0134] in, Represents the optimal K value based on the reference point r2 The selected reference point r1 for KNN positioning A collection of reference points.
[0135] According to the above formula, the reference points in the source domain can be partitioned, and a partition can be used as a source domain. Then, combined with the location information corresponding to the reference points in each zone, the known points in the target domain that need to be collected at the same location are selected, and finally, the known points in the target domain are partitioned and transferred to achieve the expansion of the radio map of the target domain. Using the constructed reference point set, the source domain can be partitioned and transferred.
[0136] For time-varying indoor environments, the information feature distribution obtained at the same location in the offline stage (source domain) and the online stage (target domain) will be inconsistent, resulting in a decrease in the accuracy of fingerprint positioning. If the fingerprint library is collected again for the target domain, the positioning cost will increase sharply and will not be able to provide assistance for subsequent positioning. However, for time-varying environments, the location of the positioning base station is basically fixed, so the transfer learning method can be used to migrate the source domain data to the target domain.
[0137] In the offline phase, the offline derived fingerprint library is used as the source domain. Source domain D s The fingerprint feature vector corresponding to the reference point r is expressed as:
[0138]
[0139] Source Field D s Represents a set of all reference points, namely:
[0140]
[0141] Among them, E0 represents the source domain D s The total number of reference points in .
[0142] In the online stage, the known points with known position tags and known fingerprint feature vectors and the points to be tested with unknown position tags and known fingerprint feature vectors are collected in the indoor space as the target domain. t The fingerprint feature vector constructed by the known point o in is expressed as:
[0143]
[0144] Among them, o=1,2,…,E1, E1 is the total number of known points.
[0145] Target domain D t The fingerprint feature vector constructed by the test point o' is expressed as:
[0146]
[0147] Wherein, o'=1,2,...,E2, E2 is the total number of points to be measured.
[0148] In partition transfer learning, reference points and known points in the same area are selected for transfer learning. First, the fingerprint feature vector is mapped to other dimensional spaces using a mapping function. Assume Represents a function mapped to other dimensional spaces, considering the mapping function The specific form of is difficult to determine, so the kernel function Ke(·) is used as a substitute for other dimensional spaces and mapping functions, that is:
[0149]
[0150]
[0151]
[0152] Wherein, o1 and o2 represent known points o1 and o2, o1=1,2,…,E1, o2=1,2,…,E1, and o1≠o2; o'1 and o'2 represent the point to be measured o'1 and o'2, o'1=1,2,…,E2, o'2=1,2,…,E2, and o'1≠o'2, σ ke Represents the adjustable parameters of the Gaussian kernel function.
[0153] Accordingly, the source domain D s The mean of the fingerprint feature vector of the reference point r in It is expressed as:
[0154]
[0155] in, Represents the representation of the source domain after being mapped by the kernel function. The kernel matrix after the fingerprint feature vector representing the source domain reference point is mapped by the Gaussian kernel function. Representation Matrix The element at row r1 and column r2 in .
[0156] The mean of the fingerprint feature vector of a known point o in the target domain is expressed as:
[0157]
[0158] in, Indicates that the target domain is mapped to other dimensional spaces, The kernel matrix representing the fingerprint feature vector of the known point in the target domain after being mapped by the Gaussian kernel function, Representation Matrix The element at row o1 and column o2 in .
[0159] Source Field D s and the target domain D t The inter-domain inter-class divergence matrix of is expressed as:
[0160]
[0161] Among them, lo(r) and lo(o) represent the position information of the reference point r and the known point o. Represents the difference between the reference point r and the known point o, σ e Indicates an adjustable parameter.
[0162] Source Field D s and the target domain D t The inter-domain intra-class divergence matrix of is expressed as:
[0163]
[0164] Source Field D s The intra-domain inter-class divergence matrix is expressed as:
[0165]
[0166] Among them, lo(r1) and lo(r2) represent the location information categories of reference point r1 and reference point r2. Represents the difference between reference point r1 and reference point r2.
[0167] Source Field D s The intra-class scatter matrix within the domain is expressed as:
[0168]
[0169] The objective function of the constructed transfer learning is:
[0170]
[0171] Among them, χ1 and χ2 are two adjustable parameters used to control the importance of inter-domain characteristics and intra-domain characteristics when calculating the mapping matrix; the objective function is about and The generalized Rayleigh entropy of transfer learning is solved by the Lagrange multiplier method, and finally we can get:
[0172]
[0173] Where λ is the Lagrange multiplier, defined for convenience as:
[0174] So V is The feature vector of .
[0175] If you create a new dimension dimensional new mapping space, the mapping matrix is expressed as:
[0176]
[0177] in, express No. The eigenvector matrix corresponding to the large generalized eigenvalues.
[0178] By partitioning the reference point set in the source domain, the known points with the same position as the reference points in the reference point set partition are taken as a partition in the target domain, and the partition is taken as the target sub-domain; the transfer learning mapping space calculated by each partition set (source sub-domain and target sub-domain) is used to realize the reconstruction of the target domain radio map based on the partition; according to the mapping matrix You can divide the source into domains Reference point r sa Mapped to a new mapping space, which is represented as:
[0179]
[0180] in, Indicates source domain The reference point r is projected into the representation of the new mapping space, Indicates source domain and target domain The mapping matrix, and Indicates source domain Target domain The kernel matrix after projection.
[0181] Similarly, according to the mapping matrix Target subdomains at the same position in the target domain Known point o ta Mapped to a new space, it is represented as:
[0182]
[0183] in, Indicates the target domain A known point o in ta The representation projected into the new mapping space, where Indicates the target domain Middle reference point o ta Fingerprint feature vector of Indicates the target domain Kernel matrix projected into the new mapping space.
[0184] Each known point in the new mapping space and the remaining reference points in the new mapping space form a new offline derived fingerprint library; the remaining reference points are reference points in the source domain except the reference points corresponding to the known points.
[0185] In the new offline derived fingerprint library, the location is The fingerprint feature vector of the point in the new mapping space is:
[0186]
[0187] According to the fingerprint feature vector of the new offline derived fingerprint library in the new new mapping space, a radio map is constructed, and the new reference points in the constructed radio map are the set in, Indicates a new reference point with serial number e0, and the new reference point With the same optimal K value as the e0th reference point in the source domain, the nearest neighbor algorithm is used for reference point matching:
[0188]
[0189] in, Represents a new reference point in the constructed radio map The Euclidean distance of the fingerprint transformed by other dimensions from the point to be tested*, is the representation of the fingerprint feature corresponding to the test point and the value of e in the new mapping space, Indicates the new reference point The fingerprint features corresponding to the value of e are represented in the new mapping space; the other dimensional transformations of all new reference points and the points to be tested are calculated The fingerprint Euclidean distance is calculated and sorted from small to large, and the optimal K value of the new reference point with the smallest distance is selected as the optimal K value of the test point. Then continue to select the fingerprint with the smallest Euclidean distance in other dimensional transformations. new reference points, forming the number of elements Collection In order to realize the online selection method of the optimal K value of the test point, the final positioning result of the test point is:
[0190]
[0191] Among them, Representing a collection The first new reference point in Representing a collection No. A new reference point, Representing a collection New reference point r' * The actual location information, Indicates the point to be measured* and the new reference point r' * The fingerprint Euclidean distance between them.
[0192] It should also be noted that the various specific technical features described in the above specific embodiments can be combined in any suitable manner without contradiction. In order to avoid unnecessary repetition, the present invention will not further describe various possible combinations.
Claims
1. An indoor intelligent positioning method based on derived fingerprint migration, characterized in that: The specific steps include: Step 1: In the offline stage, a mobile device is used to communicate with a 5G base station at different locations indoors, and different locations are used as reference points to obtain the RSS information received by the mobile device at each reference point in a time series, the incident angle of the signal received by the mobile device at each reference point, and the location information of each reference point; the total number of moments in the time series is U, the total number of 5G base stations is M, the total number of reference points is E0, and the set of reference points is R; Step 2: Calculate the derived fingerprint features of each reference point, the derived fingerprint features include the cumulative average fingerprint feature F1 (RSS_θ r ), differential fingerprint feature F2(RSS_θ r ) and hyperbolic fingerprint feature F3(RSS_θ r ):RSS_θ r Represent the joint fingerprint of the reference point r based on RSS and incident angle information; and calculate the optimal K value of each reference point according to the three fingerprint features of each reference point; establish an offline derived fingerprint library, which includes the derived fingerprint features, optimal K value, RSS information, signal incident angle and position information of each reference point, r = 1, 2, ..., E0; Step 3: Determine whether the time variation of the actual indoor scene exceeds the preset number of days. If so, go to step 4. Otherwise, use the nearest neighbor algorithm to calculate the position information of the point to be measured* in the target domain according to the optimal K value of the reference point in the offline derived fingerprint library; the target domain includes known points and points to be measured, the known points are points in the actual indoor scene where the RSS information, the incident angle of the signal and the position information are all known, and the points to be measured are points in the actual indoor scene where the RSS information, the incident angle of the signal are known but the position information is unknown; Step 4: Use transfer learning to migrate the offline derived fingerprint library to construct a radio map, and determine the location information of the point to be measured based on the new reference point in the radio map and the optimal K value of the reference point in the offline derived fingerprint library before migration; The step 2 is: calculating the cumulative average fingerprint feature of the reference point r is specifically: The calculation formula for setting the cumulative average is as follows: in, represents the cumulative average value of the data from time 1 to time u, l(u+1) represents the actual value of the data at time u+1, u = 1, 2, ..., U; The cumulative average fingerprint feature of the reference point r is calculated based on the calculation formula of the cumulative average: in, RSS_θ represents the cumulative average value of the derived fingerprint of the Mth 5G base station for the reference point r at the U-1th time; r The expression is: Wherein, m represents the mth 5G base station, m=1,2,…,M; represents the RSS data collected by the mth 5G base station for the reference point r at time u, represents the signal incident angle data collected by the mth 5G base station to the reference point r at time u; The differential fingerprint feature F2(RSS_θ r ) is expressed as: F2(RSS_θ r )=[Dψ r (1),…,Dψ r (u),…,Dψ r (U)] Among them, Δψ r The expression of (u) is: Wherein, m1 represents the m1th base station, m2 represents the m2th base station, m1=1,2,...,M, m2=1,2,...,M, and m1≠m2; The expression is as follows: The hyperbolic fingerprint feature F3(RSS_θ r ) is: F3(RSS_θ r )=[l r (1),…,l r (and),…,l r (And)] Among them, l r The expression of (u) is: in, The expression is: The step 2 of calculating the optimal K value for each reference point is specifically as follows: calculating the fingerprint Euclidean distance between any two reference points r1 and r2 Where r1=1,2,...,E0,r2=1,2,...,E0,and r1≠r2,||·||2 represents the two-norm formula; Represents the weight coefficient of the fingerprint feature corresponding to the value of e; The optimal K value of the reference point r1 is calculated according to the following objective function: in, and Represents the actual position information of the reference point r1, and Respectively represent the horizontal and vertical coordinates of the predicted position of the reference point r1, represents the K value of the reference point r1, The K value of the reference point r1 is When the reference point r1 is positioned by KNN, A set of reference points, solve the above objective function, and get the optimal K value of reference point r1 Indicates the value selected when performing KNN positioning on the reference point r1 based on the optimal K value A collection of reference points; Predicted position of reference point r1 The expression is: in, Representing a collection The first reference point in Representing a collection Middle reference points, Represents the reference point r1 and the set The fingerprint Euclidean distance of the reference point r'1 in Representing a collection The actual position information of the reference point r'1.
2. According to claim 1, the indoor intelligent positioning method based on derived fingerprint migration is characterized in that: The step 3 of calculating the position information of the point to be measured* in the target domain is specifically as follows: Use the nearest neighbor algorithm for reference point matching: in, represents the fingerprint Euclidean distance between the test point* and the reference point r, F e (RSS_θ * ) represents the fingerprint feature of the point to be tested* corresponding to the value of e; Select the optimal K value corresponding to the reference point with the closest Euclidean distance as the optimal K value of the point to be measured* Sort the fingerprint Euclidean distance between each reference point and the point to be tested* from small to large, and take the first The reference points corresponding to the fingerprint Euclidean distance form a set Thus, the position of the point to be measured* (x * ,y * ): in, Representing a collection The first reference point in Representing a collection Middle reference points, Represents the points to be tested* and the set Middle reference point r * The Euclidean fingerprint distance between Representing a collection Middle reference point r * The actual location information.
3. The indoor intelligent positioning method based on derived fingerprint migration according to claim 1 is characterized in that: The step 4 is specifically as follows: taking the offline derived fingerprint library as the source domain, establishing the objective function of transfer learning: Solve the objective function of transfer learning using the Lagrange multiplier method and get: Among them, χ1 and χ2 are parameters, λ is the Lagrange multiplier, and V is The characteristic vector of Indicates the source domain D s and the target domain D t The inter-domain inter-class divergence matrix of Indicates the source domain D s and the target domain D t The intra-class divergence matrix between domains is Source Field D s The intra-domain inter-class scatter matrix, Source Field D s Intra-domain intra-class scatter matrix; and The expression is: Among them, w o,r Represents the difference between the known point o and the reference point r, o = 1, 2, ..., E1, E1 is the total number of known points, σ e is an adjustable parameter; represents the difference between reference point r1 and reference point r2, lo(r) and lo(o) represent the position information of reference point r and known point o respectively; Represents the mean of the fingerprint feature vector of the known point o after being mapped by the Gaussian kernel function, Represents the mean value of the fingerprint feature vector after the reference point r is mapped by the Gaussian kernel function, and The expression is as follows: in, and Represent the fingerprint feature vectors of the known point o and the reference point r respectively, The kernel matrix represents the fingerprint feature vectors of all known points in the target domain after being mapped by the Gaussian kernel function. The kernel matrix represents the fingerprint feature vectors of all reference points in the source domain after being mapped by the Gaussian kernel function. and The expression is as follows: Will Arrange several generalized eigenvalues from large to small, and select the first generalized eigenvalues, and the dimension is established as The new mapping space of Create source domains according to the following rules: in, Represents the optimal K value based on the reference point r2 The reference point r2 is selected when performing KNN positioning A set of reference points; taking the known points with the same position as the reference points in the same source domain as the same target domain; Each reference point r in sa Mapped to dimension In the new mapping space, we get the mapped representation in, Indicates source domain and target domain The mapping matrix mapped to the new mapping space, Indicates source domain Middle reference point r sa Fingerprint feature vector of Indicates source domain The kernel matrix projected into the new mapping space; Divide each target into Each reference point o in ta Mapped to dimension In the new mapping space, we get the mapped representation in, Indicates the target domain Middle reference point o ta Fingerprint feature vector of Indicates the target domain The kernel matrix projected into the new mapping space; Each known point in the new mapping space and the remaining reference points in the new mapping space form a new offline derived fingerprint library; the remaining reference points are reference points in the source domain other than the reference points corresponding to the known points; According to the fingerprint feature vector of the new offline derived fingerprint library in the new new mapping space, a radio map is constructed. The set of new reference points in the radio map is represents the e0th new reference point in the wireless map, e0 = 1, 2, ..., E0; and the new reference point The optimal K value is the same as the e0th reference point in the source domain; calculate the optimal K value between the test point and the new reference point The fingerprint Euclidean distance between them is: in, It represents the fingerprint feature corresponding to the test point and the value of e in the new mapping space, Indicates the new reference point The representation of the fingerprint features corresponding to the value of e in the new mapping space; Select the optimal K value corresponding to the new reference point with the closest Euclidean distance to the fingerprint of the test point as the optimal K value of the test point Arrange the fingerprint Euclidean distances between all new reference points and the points to be tested from small to large, and select the first The new reference points corresponding to the fingerprint Euclidean distance form a set So as to get the position of the point to be measured: in Representing a collection The first new reference point in Representing a collection Middle A new reference point, Representing a collection New reference point r' * The actual location information, Indicates the point to be measured* and the new reference point r' * The fingerprint Euclidean distance between them.
Citation Information
Patent Citations
High-precision indoor positioning method based on hybrid fingerprint quality evaluation model
CN109143161A
Fingerprint positioning method based on metric learning
CN110933596A
