Multi-base station wireless positioning method based on fully convolutional neural network

Multi-base station wireless positioning data is processed through a fully convolutional neural network, a signal space score map is generated and tag position information is output, which solves the problem of uncertainty in positioning results in the existing technology and achieves stronger robustness and tolerance. Simplified application deployment.

CN114217267BActive Publication Date: 2024-09-06XIANGTAN UNIV
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202111504619.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-12-10
Publication Date
2024-09-06
Estimated Expiration
2041-12-10

AI Technical Summary

Technical Problem

Under the influence of factors such as transmission loss and communication interference, existing multi-base station wireless positioning methods are difficult to solve for tag positions through geometric analysis, resulting in high uncertainty in positioning results and inability to handle unsolvable positioning data.

Method used

A multi-base station wireless positioning method based on a fully convolutional neural network is used to generate a signal space score map by collecting distance data between tags and base stations. The fully convolutional neural network is used for training and the tag position space score map is output to obtain the tag position. information, supporting data input from any number of base stations.

Benefits of technology

It improves the robustness and tolerance of positioning results, enables quantification of ranging errors, simplifies actual deployment applications, and enhances positioning accuracy and uncertainty analysis.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114217267B
    Figure CN114217267B
Patent Text Reader

Abstract

The present invention discloses a multi-base station wireless positioning method based on a fully convolutional neural network, comprising the following steps: Step 1: respectively collect the distance data between multiple space tags and each base station; Step 2: generate a signal space score map according to the collected distance data and the coordinates and system error parameters of each base station, annotate the whole map, and form a training data set; Step 3: design a fully convolutional neural network, and train the fully convolutional neural network using the training data set in step 2; Step 4: use the trained fully convolutional neural network to output the generated signal space score map to obtain the label position space score map, and obtain the position information of the label in the space. The positioning method of the present invention is easy to use, can quantify the uncertainty of the positioning result, and supports the data input of any number of base stations, which greatly facilitates the actual deployment application.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of wireless positioning methods, and in particular to a multi-base station wireless positioning method based on a fully convolutional neural network. Background Art

[0002] In order to measure the coordinates of the tag in space, the method currently used is to deploy base stations in space, and measure the wireless signal strength between the tag and the base station or the distance the wireless signal propagates in the air through wireless communication. Ideally, the distance measured between the tag and the base station is the radius, and the base station is the center of the circle. When more than three base station data are obtained, the intersection point obtained by geometric analysis is the accurate analytical solution of the tag's position in space. However, due to factors such as transmission loss and communication interference between the base station and the tag, the circle drawn by geometric analysis may not have an intersection in space, making it difficult to solve the tag position. Therefore, it is necessary to design a multi-base station wireless positioning method that is highly robust to ranging errors and can process positioning data that cannot be solved by geometric analysis. Summary of the invention

[0003] The technical problem to be solved by the present invention is: in response to the technical problems existing in the prior art, the present invention provides a multi-base station wireless positioning method based on a fully convolutional neural network, which is easy to use, can quantify the uncertainty of the positioning results, and supports data input from any number of base stations, greatly facilitating actual deployment and application.

[0004] In order to solve the above technical problems, the technical solution proposed by the present invention is:

[0005] A multi-base station wireless positioning method based on a fully convolutional neural network comprises the following steps:

[0006] Step 1: Collect the distance data between multiple tags and each base station in the space respectively;

[0007] Step 2: Generate a signal space score map based on the collected distance data, the coordinates of each base station, and the system error parameters, annotate the entire map, and form a training data set;

[0008] Step 3: Design a fully convolutional neural network and train it using the training data set in step 2.

[0009] Step 4: Use the trained fully convolutional neural network to output the generated signal space score map to obtain the label position space score map and obtain the position information of the label in the space.

[0010] As a further improvement of the above technical solution:

[0011] Preferably, in step one, the number of base stations is greater than or equal to 3.

[0012] Preferably, in step 2, the system error parameters of each base station are obtained by the following method:

[0013] 2-1. According to the performance of the base station, the base station's limit measurement distance is divided into several equal parts, and the tags are placed at the equal-divided point distances in sequence for data collection;

[0014] 2-2. During the data collection process, the distance measurement data will fluctuate up and down, and the data will show a normal distribution pattern;

[0015] 2-3. According to the actual distance value, the mean of the standard deviation of the normal distribution of the data at each equally divided point is obtained, recorded as σ, and the distance difference corresponding to the probability interval is recorded as the width of the base station signal distribution interval σ and Together they constitute the system error parameters of the base station;

[0016] 2-4. Measure the system error parameters for each base station individually.

[0017] Preferably, the method for generating the signal space score map in step 2 is as follows:

[0018] 1) According to the layout of base stations, a two-dimensional image coordinate system is established, and the required canvas size is intercepted in its second quadrant. The actual distance represented by two adjacent pixels in the canvas is the minimum positioning accuracy;

[0019] 2) The distance between the base station and the tag measured is recorded as r, and the base station coordinates are taken as the center of the circle. and Draw a ring in the canvas with the inner and outer radii respectively. The default value of the pixel in the canvas is 0, and the pixel inside the ring is assigned a value of 255.

[0020] 3) Perform two-dimensional Gaussian filtering on each pixel in the canvas to obtain a signal space score map.

[0021] Preferably, the standard deviation of the Gaussian filter is the mean value of the system error parameter σ of each base station, denoted as The size of the Gaussian filter is calculated as follows:

[0022]

[0023] Among them, roof() is a rounding-up operation.

[0024] Preferably, when the axis direction of the image coordinate system is selected, the center points of the base station and the tag are respectively in the coordinate system; when the origin of the coordinate system is selected and the canvas is intercepted, the tag coordinates are within the range of the canvas.

[0025] Preferably, the basic components of the fully convolutional neural network are convolution blocks, up-convolution blocks, and down-convolution blocks.

[0026] Preferably, in step 3, the training method of the fully convolutional neural network is as follows:

[0027] 3-1. Enhance the dataset

[0028] When the label coordinates are within the canvas range, the canvas is operated to obtain multiple signal space score maps; at the same time, the actual label coordinates are transformed in the same way to obtain the correct true value for loss calculation;

[0029] 3-2. The training goal of the neural network is to minimize the following mathematical model:

[0030]

[0031] Among them, (x gt ,y gt ) is the actual label coordinate; (x pd ,y pd ) are the pixel coordinates where the signal space score map will have the highest value.

[0032] Preferably, in step 4, the pixel coordinates with the highest value in the signal space score map are marked as (x pd ,y pd ), map the pixel points to the real space coordinates and get the predicted label position.

[0033] The multi-base station wireless positioning method based on a fully convolutional neural network provided by the present invention has the following advantages compared with the prior art:

[0034] (1) The multi-base station wireless positioning method based on a fully convolutional neural network of the present invention adopts a neural network for positioning deduction, which has stronger robustness; a fully convolutional neural network is used as the deduction subject, and a signal space score map of any resolution can be used as input.

[0035] (2) The multi-base station wireless positioning method based on a fully convolutional neural network of the present invention has a good tolerance for ranging errors and can quantify the uncertainty of the positioning results, which is convenient for later processing and analysis.

[0036] (3) The multi-base station wireless positioning method based on a fully convolutional neural network of the present invention is easy to use, defines and uses the concepts of signal space score map and label position space score map, supports data input from any number of base stations, and greatly facilitates actual deployment and application. BRIEF DESCRIPTION OF THE DRAWINGS

[0037] Figure 1It is a process flow chart of the present invention.

[0038] Figure 2 This is a flow chart of base station system error adjustment in the present invention.

[0039] Figure 3 The flowchart of the signal space score map generation in the present invention.

[0040] Figure 4 This is a structural diagram of a convolution block in an embodiment of the present invention.

[0041] Figure 5 This is a structural diagram of a fully convolutional neural network in an embodiment of the present invention.

[0042] Description of the numbers in the figure:

[0043] 11. Canvas with rings; 12. Signal space score map; 13. Position space score map. DETAILED DESCRIPTION

[0044] The specific embodiments of the present invention are described in detail below. It should be understood that the specific embodiments described herein are only used to illustrate and explain the present invention, and are not used to limit the present invention.

[0045] Figures 1 to 5 An implementation of a multi-base station wireless positioning method based on a fully convolutional neural network of the present invention is shown, comprising the following steps:

[0046] Step 1: Use wireless communication to collect distance data between tags and each base station in the space.

[0047] The distance data between the tag and each base station in the acquisition space can be obtained by converting the wireless signal strength, or directly measured by the wireless signal flight time. The specific implementation method can be selected according to the actual application requirements. For example, when using Bluetooth, WLAN and other methods to locate the tag, the data that the base station can obtain is the signal strength value between the tag and the base station itself. By pre-measuring the conversion parameters, the signal strength value can be converted into the actual distance value; when using UWB and other methods for positioning, the flight time of the wireless signal between the tag and the base station can be measured. Since the propagation speed of electromagnetic waves in the air is the same as the propagation speed of light, it can be converted into the distance value between the tag and the base station based on the propagation time difference.

[0048] In fact, to obtain a unique solution in a two-dimensional coordinate system, the minimum number of base stations is 3, and there is no limit on the maximum number; by increasing the number of base stations, the fully convolutional neural network can obtain more information from the spatial score map, thereby improving the accuracy of solving the label position information in space.

[0049] Step 2: Generate a signal space score map based on the collected distance data, the coordinates of each base station, and the system error parameters.

[0050] In this embodiment, the system error parameters of each base station are determined by the following method:

[0051] like Figure 2 As shown in the figure, in an ideal experimental environment, according to the performance of the base station, the farthest and nearest measurement distances of the base station are divided into several equal parts, and the tags are placed at the equal-divided point distances in sequence for data collection. In actual environments, due to the existence of system errors, the measured distance data will fluctuate during the data collection process, and the data will present a normal distribution pattern. Since the actual distance value is known, after recording the data, the mean of the normal distribution standard deviation of the data at each equal-divided point can be statistically obtained, recorded as σ, and the distance difference corresponding to the (-3σ, 3σ) probability interval is recorded as the base station signal distribution interval range width. σ and Together they constitute the system error parameters of the base station. When multiple base stations are used for positioning, the system error parameters of each base station must be measured separately in advance.

[0052] In this embodiment, Figure 3 As shown, the method for generating a signal space score map specifically includes the following steps:

[0053] 2-1. According to the layout of base stations, a two-dimensional image coordinate system is established, and the required canvas size is captured in its second quadrant.

[0054] The selection of the axis direction of the image coordinate system needs to ensure that the center points of the base station and the tag can be accurately defined in the coordinate system; when selecting the origin of the coordinate system and intercepting the canvas, it is necessary to ensure that the tag coordinates are within the range of the canvas, and the base station coordinates do not necessarily need to be within the range of the canvas. The actual distance represented by two adjacent pixels in the canvas is the minimum positioning accuracy. For example, when performing indoor positioning, the two-dimensional image coordinate system can be defined as a plane parallel to the ground, and the x and y coordinate axes can be defined as parallel to two perpendicular walls of the house; when positioning the end point of the folding arm crane, the two-dimensional image coordinate system should be in the same plane as the telescopic plane of the folding arm, that is, the vertical plane formed by the axis of the first degree of freedom of the folding arm and the end support.

[0055] 2-2. The distance between the base station and the tag measured is recorded as r, and the base station coordinates are taken as the center of the circle. and Draw a circle in the canvas with the inner and outer radii as the inner and outer radii respectively.

[0056] The default value of the pixel in the canvas is 0, and the pixel in the circle is assigned a value of 255. Repeat this step for all base stations used, draw their own circles in the canvas, and obtain canvas 11 with circles. For example, Figure 3There are three base stations in the image, and their coordinates are (150,0), (732,0) and (150,1067) respectively; the distances between the three base stations and the tag are 99, 580 and 937 pixels respectively.

[0057] 2-3. Apply two-dimensional Gaussian filtering to each pixel in the canvas to obtain the signal space score map.

[0058] The standard deviation of the Gaussian filter is the mean of the system error parameters σ of each base station, denoted as The size of the Gaussian filter can be calculated as follows:

[0059]

[0060] Among them, roof() is a rounding-up operation.

[0061] Step three, input the generated signal space score map into the trained fully convolutional neural network, output the label position space score map, and thus obtain the position information of the label in the space. The specific method is as follows:.

[0062] 3-1. Design a fully convolutional neural network

[0063] In this embodiment, the architecture of the fully convolutional neural network used is improved on the existing U-Net network architecture: the original convolution layer at the end for adjusting the number of channels is removed, and the activation function in each convolution operation is replaced with sigmoid.

[0064] The basic components of a fully convolutional neural network are convolution blocks, up-convolution blocks, and down-convolution blocks. Figure 4 As shown, the width, height, and number of channels are W, H, and C respectively. in After the feature map is input into the convolution block, the feature map with the same width and height as the input feature map but with C channels is obtained from the end of the convolution block. out The details of each convolution operation in the convolution block are shown in Table 1:

[0065] Table 1 Details of each convolution operation in the convolution block

[0066]

[0067] An up-convolution block can be obtained by adding an upsampling operation before the convolution operation 1 of the convolution block; a down-convolution block can be obtained by adding a maximum pooling operation before the convolution operation 1 of the convolution block.

[0068] like Figure 5 As shown, the C of each convolutional block used in the full convolutional neural network in , C mid , C outCan be set independently. After each down-convolution operation, the W and H of the output feature map become half of the input feature map; after each up-convolution operation, the W and H of the output feature map become twice the input feature map. Figure 5 In the fully convolutional neural network shown in Figure 2, the number of channels is shown in Table 2:

[0069] Table 2 Number of channels of each feature map in the fully convolutional neural network

[0070] <![CDATA[C in ]]> 3 <![CDATA[C2]]> 128 <![CDATA[C5]]> 256 <![CDATA[C8]]> 128 <![CDATA[C out ]]> 1 <![CDATA[C3]]> 256 <![CDATA[C6]]> 256 <![CDATA[C9]]> 64 <![CDATA[C1]]> 64 <![CDATA[C4]]> 512 <![CDATA[C7]]> 128

[0071] 3-2. Training a fully convolutional neural network

[0072] First, we obtain the spatial score map of the label position predicted by the untrained neural network. After obtaining the spatial score map of the label position, we mark the coordinates of the pixel with the highest value in the whole image and obtain (x pd ,y pd ), and compare it with the actual label coordinates, and pass the error to the neural network for weight correction.

[0073] In this embodiment, during the training process of the fully convolutional neural network, the method for enhancing the data set is as follows:

[0074] While ensuring that the label coordinates are within the range of the canvas, the canvas can be translated, rotated, and other operations to obtain a variety of signal space score maps; since the canvas has been geometrically transformed, the same transformation needs to be applied to the actual label coordinates to obtain the correct true value for loss calculation.

[0075] In this method, the error of the neural network is the Euclidean distance between the predicted coordinates and the actual true coordinates, and the training objective of the neural network used in this method can be converted to minimize the following mathematical model:

[0076]

[0077] Among them, (x gt ,y gt ) are the actual label coordinates.

[0078] 3-3. Get the location information of the tag in space

[0079] In the positioning method of the present invention, the label position space score map output by the trained full convolutional neural network is used. After obtaining the label position space score map, the entire map is traversed to find the pixel coordinates with the highest value, which is recorded as (x pd ,y pd), the size of this label position space score map is consistent with the size of the input signal space score map, so each pixel in the label position space score map can be directly mapped to the two-dimensional image coordinate system constructed in the above step 2-1, and the pixel point (x pd ,y pd ) is mapped to the real-world spatial coordinates, which is the predicted label position.

[0080] The activation function used in the neural network is the sigmoid function, so the neural network can represent the uncertainty of the predicted label position in the label position space score map, that is, the Gaussian distribution of the label position. For some application scenarios, the obtained (x pd ,y pd ) based on which the values ​​around the point are counted to obtain the Gaussian distribution variance parameter to quantify the positioning uncertainty.

[0081] It should be noted that each embodiment in this specification is described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same and similar parts between the embodiments can refer to each other. For the method embodiments, for the sake of simple description, they are all expressed as a series of action combinations, but those skilled in the art should know that the embodiments of the present invention are not limited to the described order of actions, because according to the embodiments of the present invention, certain steps can be performed in other orders or simultaneously. For the system, device, and medium embodiments, since they are basically similar to the method embodiments, the description is relatively simple, and the relevant parts can refer to the partial description of the method embodiments.

[0082] Through the above description of the implementation mode, the technicians in the relevant field can clearly understand that the present invention can be implemented by means of software and necessary general hardware, and of course it can also be implemented by hardware, but in many cases the former is a better implementation mode. It is worth noting that the various units and modules included in the above embodiments are only divided according to functional logic, but are not limited to the above divisions, as long as the corresponding functions can be realized; in addition, the specific names of the functional units are only for the convenience of distinguishing each other, and are not used to limit the scope of protection of the present invention.

[0083] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "examples", "specific examples", or "some examples" means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present invention. In this specification, the schematic representation of the above terms does not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner.

[0084] The above implementation cases are only preferred embodiments of the present invention and are not intended to limit the present invention in any form. Although the present invention has been disclosed as above with preferred embodiments, they are not intended to limit the present invention. Therefore, any simple modification, equivalent changes and modifications made to the above embodiments according to the technical essence of the present invention without departing from the content of the technical solution of the present invention shall fall within the scope of protection of the technical solution of the present invention.

Claims

1. A multi-base station wireless positioning method based on a fully convolutional neural network, characterized in that: The following steps are involved: Step 1: Collect the distance data between multiple tags and each base station in the space respectively; Step 2: Generate a signal space score map based on the collected distance data, the coordinates of each base station, and the system error parameters, annotate the entire map, and form a training data set; Step 3: Design a fully convolutional neural network and train it using the training data set in step 2. Step 4: Using the trained fully convolutional neural network, the generated signal space score map is output to obtain the label position space score map, and the position information of the label in the space is obtained; The method for generating the signal space score map in step 2 is as follows: 1) According to the layout of base stations, a two-dimensional image coordinate system is established, and the required canvas size is intercepted in its second quadrant. The actual distance represented by two adjacent pixels in the canvas is the minimum positioning accuracy; 2) The distance between the base station and the tag measured is recorded as r, and the base station coordinates are taken as the center of the circle. and Draw a ring in the canvas with the inner and outer radii respectively. The default value of the pixel in the canvas is 0, and the pixel inside the ring is assigned a value of 255. 3) Perform two-dimensional Gaussian filtering on each pixel in the canvas to obtain a signal space score map; The standard deviation of the Gaussian filter is the mean of the system error parameters σ of each base station, denoted as The size of the Gaussian filter is calculated as follows: Among them, roof() is a rounding-up operation; In step 3, the training method of the fully convolutional neural network is as follows: 3-1. Enhance the dataset When the label coordinates are within the canvas range, the canvas is operated to obtain multiple signal space score maps; at the same time, the actual label coordinates are transformed in the same way to obtain the correct true value for loss calculation; 3-2. The training goal of the neural network is to minimize the following mathematical model: Among them, (x gt ,y gt ) is the actual label coordinate; (x pd ,y pd ) are the pixel coordinates where the signal space score map will have the highest value.

2. The multi-base station wireless positioning method based on a fully convolutional neural network according to claim 1 is characterized in that: In step 1, the number of base stations is greater than or equal to 3.

3. The multi-base station wireless positioning method based on a fully convolutional neural network according to claim 2 is characterized in that: In step 2, the system error parameters of each base station are obtained by the following method: 2-1. According to the performance of the base station, the base station's limit measurement distance is divided into several equal parts, and the tags are placed at the equal-divided point distances in sequence for data collection; 2-2. During the data collection process, the distance measurement data will fluctuate up and down, and the data will show a normal distribution pattern; 2-3. According to the actual distance value, the mean of the standard deviation of the normal distribution of the data at each equally divided point is obtained, recorded as σ, and the distance difference corresponding to the probability interval is recorded as the width of the base station signal distribution interval σ and Together they constitute the system error parameters of the base station; 2-4. Measure the system error parameters for each base station individually.

4. The multi-base station wireless positioning method based on a fully convolutional neural network according to claim 1, characterized in that: When the axis direction of the image coordinate system is selected, the center points of the base station and the tag are respectively in the coordinate system; when the origin of the coordinate system is selected and the canvas is intercepted, the tag coordinates are within the canvas range.

5. The multi-base station wireless positioning method based on a fully convolutional neural network according to claim 4 is characterized in that: The basic components of the fully convolutional neural network are convolution blocks, up-convolution blocks, and down-convolution blocks.

6. The multi-base station wireless positioning method based on a fully convolutional neural network according to claim 1, characterized in that: In step 4, the pixel coordinates with the highest value in the signal space score map are marked as (x pd ,y pd ), map the pixel points to the real space coordinates and get the predicted label position.