Fingerprint database construction method based on Gramer angle field

The fingerprint library constructed through the Gram angle field and LU decomposition algorithm solves the problem of low indoor positioning accuracy in the existing technology, and achieves higher positioning accuracy and system performance improvement.

CN118884347APending Publication Date: 2024-11-01CHONGQING UNIV OF POSTS & TELECOMM
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410931682.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-11
Publication Date
2024-11-01

AI Technical Summary

Technical Problem

In the existing indoor positioning technology, the fingerprint library construction method based on RSS sequence cannot accurately describe the fingerprint characteristics of the indoor environment, resulting in a decrease in positioning accuracy.

Method used

Gram angle field is used to convert the RSS sequence into an image, and image features are extracted through local binary mode algorithm, combined with the LU decomposition algorithm to preprocess the fingerprint library matrix, reduce column correlation, and build a more comprehensive and accurate fingerprint library.

Benefits of technology

The matching degree between the position fingerprint and the online measurement value is improved, the positioning accuracy and system performance are improved, and the calculation complexity is controlled.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118884347A_ABST
    Figure CN118884347A_ABST
Patent Text Reader

Abstract

The invention discloses a fingerprint database construction method based on a Gramian Angular Field (Gramian Angular Field). The method comprises the following steps: firstly, deploying a plurality of reference points (RP) with known positions in a target area, acquiring access point (AP) signal information at each reference point, and selecting five APs with strongest RSS signals; secondly, converting the collected RSS data into an image by using a Gramer angle field method; and finally, performing feature extraction on the image, and constructing a fingerprint database by taking the extracted features as fingerprint information of a reference point. According to the method, RSS fingerprint information of a reference point is reserved to the maximum extent by utilizing the principle of a Grubrum angle field, and compared with a traditional method of using an RSS mean value as a fingerprint, the problem of inaccuracy and limitation of a position fingerprint is solved; through extraction of image features, the dimension of a fingerprint database is reduced, and the complexity of a positioning algorithm is reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to indoor positioning technology, and in particular relates to a fingerprint library construction method based on Gramian Angular Field (GAF). Background Art

[0002] In this era of transition from the Internet to the Internet of Things, the surge in the number of smart mobile terminals has promoted the comprehensive development of location-based services (LBS). Positioning services are increasingly used in people's lives, and the Global Navigation Satellite System (GPS) performs well in outdoor scenarios. However, satellite signals are severely attenuated in indoor environments, resulting in poor positioning accuracy. With the widespread deployment of wireless LAN access points, most indoor spaces can be covered by wireless signals, so Wi-Fi positioning based on wireless signals has gradually become the mainstream of indoor positioning technology.

[0003] Wi-Fi positioning methods can be roughly divided into four categories: time of arrival / time difference (TOA / TDOA) positioning, angle of arrival / departure (AOA / AOD) positioning, and location fingerprint-based positioning. Among them, location fingerprint positioning based on received signal strength (RSS, Received Signal Strength) does not require the deployment of a large number of hardware devices and its accuracy can meet most engineering requirements, so it is widely used.

[0004] However, due to the complexity of the indoor environment, many factors restrict the accuracy of the position fingerprint positioning method. Most of the existing fingerprint library construction methods use the average value of the RSS sequence as the fingerprint of the reference point, which cannot accurately and comprehensively describe the fingerprint characteristics of the target area, resulting in a low match between the online measurement value and the fingerprint library, thereby causing a decrease in positioning accuracy. In response to this problem, the present invention proposes a fingerprint library construction method based on the Gram angular field, which converts the collected RSS sequence into an image and extracts the features of the image as a fingerprint to obtain a more comprehensive and accurate fingerprint library matrix, thereby improving positioning accuracy. Summary of the invention

[0005] The purpose of the present invention is to provide a fingerprint library construction method based on Gram angular field, which constructs the fingerprint library of the target area by converting the collected RSS sequence into an image and extracting the features of the image. While describing the fingerprint features of the target area more comprehensively and accurately, this method controls the dimension of the matrix to a certain extent and ensures the complexity of the calculation. The fingerprint library construction method based on Gram angular field described in the present invention comprises the following steps:

[0006] Step 1: linearly calibrate N reference points (RP) with known positions at equal intervals in the target area, and collect RSS information from the five APs with the strongest signals at each reference point;

[0007] Step 2: using the Gram angular field method to convert the RSS data collected at each reference point into an image; specifically, the following steps are included:

[0008] Step 2 (a): record the RSS sequence received from a certain AP at a certain RP as X=x 1 ,x 2 ,...,x n , normalize the RSS data to the interval [-1,1], and the normalized value is recorded as

[0009] Step 2 (ii) Convert to polar coordinates: where t i Represents x i The timestamp of , n is the number of elements in the sequence X;

[0010] Step 2 (3), GAF defines a special inner product: <x i ,x j >=cos(φ i +φ j ), that is, the "inner product" between two points is the cosine value of the sum of the polar angles after the polar coordinates are transformed. The Gram Matrix is ​​defined as follows:

[0011]

[0012] Step 2 (iv), calculate the specific values ​​of the Gram matrix at each RP and convert these matrices into grayscale images.

[0013] Step 3: Use the Local Binary Patterns (LBP) algorithm to extract the features of the image obtained in step 2, and use the feature vector of the image to construct a fingerprint library of the target area, which is recorded as matrix A. Specifically, the following steps are included:

[0014] Step 3 (a), divide the detection window into small areas (cells) of 16*16;

[0015] Step 3 (ii), for a pixel in each cell, compare the grayscale values ​​of the 8 adjacent pixels with it. If the surrounding pixel values ​​are greater than the central pixel value, the position of the pixel is marked as 1, otherwise it is 0. In this way, the 8 points in the 3*3 neighborhood can generate an 8-bit binary number after comparison, that is, the LBP value of the central pixel of the window;

[0016] Step 3 (iii): Calculate the histogram of each cell, that is, the frequency of occurrence of each number (decimal number); and then normalize the histogram.

[0017] Step 3 (4): Finally, the statistical histograms of each cell are connected to form a feature vector, which is the LBP texture feature vector of the entire image.

[0018] Step 4: Preprocess the fingerprint library matrix in step 3 using the LU (Lower triangular matrix, Unitary matrix) decomposition algorithm to reduce its column correlation so as to satisfy the restricted isometry property (RIP); specifically, the following steps are included:

[0019] Step 4 (a), according to the LU decomposition theorem, the fingerprint library matrix A M×N After Schmidt orthogonalization and unitization of each row, we get the matrix U M×N , U meets UU T =I M , I M is the identity matrix, and A is uniquely decomposed into A = LU, where L M×M It is a positive lower triangular matrix;

[0020] Step 4 (ii): Normalize the matrix U to obtain a new fingerprint library matrix Among them U 1 ,U 2 ,...,U N is the column vector of matrix U;

[0021] Step 4 (iii): According to the compressed sensing positioning model y=Ax+n, where y is the measured value in the online stage and n is Gaussian white noise. Transform y: y'=L -1 y=L -1 LUx+L -1 n=Ux+n', that is, y'=A'x'+n'. A' is a partially orthogonal matrix that satisfies the RIP property, so x' can be accurately reconstructed, and the sparsity of x' is consistent with that of x.

[0022] Step 5: According to the compressed sensing theory, the sparse recovery algorithm is used to combine the online measurement values ​​and the fingerprint library matrix to restore the position vector x' and then obtain the target position.

[0023] Beneficial Effects

[0024] The present invention starts from optimizing the accuracy of the fingerprint library. First, the RSS sequence of the AP with the strongest signal is collected at each RP in the target area; then, the RSS sequence from each AP collected at each RP is converted into an image form by the Gram angular field method and the image features are further extracted as the fingerprint library of the target area; finally, the fingerprint library matrix is ​​preprocessed using the LU decomposition algorithm to reduce its column correlation, ensuring that the position vector can be accurately reconstructed. The present invention more comprehensively describes the fingerprint features of the target area, improves the matching degree between the position fingerprint and the online measurement value, and effectively improves the performance of the positioning system while ensuring low complexity. BRIEF DESCRIPTION OF THE DRAWINGS

[0025] Figure 1 It is a flow chart of the present invention;

[0026] Figure 2 is the RP distribution map of the target area;

[0027] Figure 3 Schematic diagram of converting the Gram matrix into a grayscale image. Specific implementation plan

[0028] The present invention will be further described below in conjunction with the accompanying drawings:

[0029] like Figure 1 The method for constructing a fingerprint library based on the Gram angle field shown in the figure specifically comprises the following steps:

[0030] Step 1: linearly and evenly calibrate N reference points (RP) with known positions in the target area. At each reference point, collect RSS information from the five APs with the strongest signals. At each RP, each AP collects 150 RSS data.

[0031] Step 2: using the Gram angular field method to convert the RSS data collected at each reference point into an image; specifically, the following steps are included:

[0032] Step 2 (a): record the RSS sequence received from a certain AP at a certain RP as X=x 1 ,x 2 ,...,x n , normalize the RSS data to the interval [-1,1], and the normalized value is recorded as

[0033] Step 2 (ii) Convert to polar coordinates: where t i Represents x i The timestamp of , n is the number of elements in the sequence X;

[0034] Step 2 (3), GAF defines a special inner product: <x i ,x j >=cos(φ i +φ j ), that is, the "inner product" between two points is the cosine value of the sum of the polar angles after the polar coordinates are transformed. The Gram Matrix is ​​defined as follows:

[0035]

[0036] Step 2 (IV): Figure 2 As shown, a 150*150 Gram matrix is ​​calculated at each RP and these matrices are converted into grayscale images.

[0037] Step 3: Use the local binary pattern algorithm (LBP) to extract the features of the image obtained in step 2, and use the feature vector of each image to construct a fingerprint library of the target area, which is recorded as matrix A; specifically, the following steps are included:

[0038] Step 3 (a), divide the detection window into small areas (cells) of 16*16;

[0039] Step 3 (ii), for a pixel in each cell, compare the grayscale values ​​of the 8 adjacent pixels with it. If the surrounding pixel values ​​are greater than the central pixel value, the position of the pixel is marked as 1, otherwise it is 0. In this way, the 8 points in the 3*3 neighborhood can generate an 8-bit binary number after comparison, that is, the LBP value of the central pixel of the window;

[0040] Step 3 (iii): Calculate the histogram of each cell, that is, the frequency of occurrence of each number (decimal number); and then normalize the histogram.

[0041] Step 3 (4): Finally, the statistical histograms of each cell are connected to form a feature vector, which is the LBP texture feature vector of the entire image.

[0042] Step 4: Preprocess the fingerprint library matrix A in step 3 using the LU (Lower triangular matrix, Unitary matrix) decomposition algorithm to reduce its column correlation so as to satisfy the restricted isometry property (RIP); specifically, the following steps are included:

[0043] Step 4 (a), according to the LU decomposition theorem, the fingerprint library matrix A M×N After Schmidt orthogonalization and unitization of each row, we get the matrix U M×N , U meets UU T =I M , I M is the identity matrix, and A is uniquely decomposed into A = LU, where L M×M It is a positive lower triangular matrix;

[0044] Step 4 (ii): Normalize the matrix U to obtain a new fingerprint library matrix Among them U 1 ,U 2 ,...,U N is the column vector of matrix U;

[0045] Step 4 (iii): According to the compressed sensing positioning model y=Ax+n, where y is the measured value in the online stage and n is Gaussian white noise. Transform y: y'=L -1 y=L -1 LUx+L -1 n=Ux+n', that is, y'=A'x'+n'. A' is a partially orthogonal matrix that satisfies the RIP property, so x' can be accurately reconstructed, and the sparsity of x' is consistent with that of x.

[0046] Step 5: According to the compressed sensing theory, the sparse recovery algorithm is used to combine the online measurement values ​​and the fingerprint library matrix to restore the position vector x' and then obtain the target position.

Claims

1. A fingerprint library construction method based on Gramian Angular Field (GAF) and LU (Lower triangular matrix, Unitary matrix) decomposition, characterized in that The following steps are involved: Step 1: linearly calibrate N reference points (RP) with known positions at equal intervals in the target area, and collect RSS information from the five APs with the strongest signals at each reference point; Step 2: Use the Gram angular field method to convert the RSS data collected at each reference point into an image form; Step 3: Use the Local Binary Patterns (LBP) algorithm to extract the features of the image obtained in step 2, and use the feature vector of the image to build a fingerprint library of the target area, which is recorded as matrix A; Step 4: Use LU (Lower triangular matrix, Unitary matrix) decomposition algorithm to preprocess the fingerprint library matrix in step 3 to reduce its column correlation so as to meet the restricted isometry property (RIP). Step 5: According to the compressed sensing theory, the sparse recovery algorithm is used to combine the online measurement values ​​and the fingerprint library matrix to restore the position vector and obtain the target position.

2. The method for constructing a fingerprint library based on Gram angle field according to claim 1, characterized in that The step 2 comprises the following steps: Step 2: Use the Gram angular field method to convert the RSS data collected at each reference point into an image. Specifically, the following steps are included: Step 2 (a): record the RSS sequence received from a certain AP at a certain RP as X = x1, x2, ..., x n , normalize the RSS data to the interval [-1,1], and the normalized value is recorded as Step 2 (ii) Normalize Convert to polar coordinates: where t i Represents x i The timestamp of , n is the number of elements in the sequence X; Step 2 (3), GAF defines a special inner product: <x i ,x j >=cos(φ i +φ j ), that is, the "inner product" between two points is the cosine value of the sum of the polar angles after the polar coordinates are transformed. The Gram Matrix is ​​defined as follows: Step 2 (iv), convert the Gram matrix at each RP into a grayscale image.

3. The method for constructing a fingerprint library based on Gram angle field according to claim 1, characterized in that The step 4 comprises the following steps: Step 4: Use LU decomposition algorithm to preprocess the fingerprint library matrix. Specifically, it includes the following steps: Step 4 (a), according to the LU decomposition theorem, the fingerprint library matrix A M×N After Schmidt orthogonalization and unitization of each row, we get the matrix U M×N , U meets UU T =I M , I M is the identity matrix, and A is uniquely decomposed into A = LU, where L M×M It is a positive lower triangular matrix; Step 4 (ii): Normalize the matrix U to obtain a new fingerprint library matrix where U1,U2,...,U N is the column vector of matrix U; Step 4 (iii): According to the compressed sensing positioning model y=Ax+n, where y is the measured value in the online stage and n is Gaussian white noise. Transform y: y'=L -1 y=L -1 LUx+L -1 n=Ux+n', that is, y'=A'x'+n'. A' is a partially orthogonal matrix that satisfies the RIP property, so x' can be accurately reconstructed.