Robot UWB positioning method based on robust least squares method

Through sliding window processing and filtering technology, combined with the adaptive weighted least squares method, the problem of reduced positioning accuracy of UWB signals in complex environments is solved, and higher positioning accuracy and robustness are achieved.

CN118488546BActive Publication Date: 2024-09-24HOHAI UNIV +1
View PDF 0 Cites 2 Cited by

Patent Information

Application Number
CN202410910193.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-07-09
Publication Date
2024-09-24
Estimated Expiration
2044-07-09

AI Technical Summary

Technical Problem

In complex environments, multipath interference exists in UWB signal transmission, which leads to a decrease in the positioning accuracy of mobile robots and large fluctuations in existing least squares calculation results.

Method used

Design an outlier elimination processing algorithm and filtering process, introduce an adaptive weighting matrix, propose an adaptive weighted least squares method, process distance information through a sliding window, and apply forward linear prediction filtering to improve positioning accuracy and robustness.

Benefits of technology

Effectively reduce external signal interference, improve the reliability and accuracy of indoor mobile robot positioning, and significantly improve the positioning effect in complex scenes.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118488546B
    Figure CN118488546B
Patent Text Reader

Abstract

The present invention discloses a robot UWB positioning method based on robust least squares method, which belongs to the field of mobile robot positioning technology. The present invention first establishes a robot UWB positioning system, and the robot measures the distance information of four base stations in real time through the tags installed on it, and then performs noise reduction processing on the distance information of the base stations as the measured distance; then multiplies the measured distance data of multiple previous moments by the corresponding weight value to obtain the distance information at the current moment; and obtains the position estimation result of the robot through the least squares method; finally, introduces adaptive weights to further process the obtained position estimation result to obtain the accurate position estimation of the robot. The method of the present invention can effectively resist external interference and further improve the positioning accuracy of the mobile robot in complex scenes.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention belongs to the technical field of mobile robot positioning, and in particular relates to a robot UWB positioning method based on a robust least squares method. Background Art

[0002] In recent years, with the development of positioning and navigation technology, the related applications of positioning technology have become more and more extensive. The Global Navigation Satellite System (GNSS) has been widely used in outdoor positioning. However, for positioning in complex and closed environments such as coal mines, large factories and indoors, the positioning effect of the global navigation satellite system is not ideal due to factors such as multipath effects, signal attenuation and occlusion. Ultra-Wideband (UWB) positioning technology is a wireless communication technology used for indoor positioning and tracking. Compared with traditional positioning technologies, UWB has the advantages of low power consumption, high multipath resolution, high security and high positioning accuracy, making it receive more and more attention and application in the field of indoor mobile robot positioning. However, considering the complex and changeable indoor environment, UWB signal transmission has multipath interference, resulting in reduced positioning accuracy.

[0003] The most commonly used UWB positioning solution method is the least squares method. By measuring the distance between the mobile robot and four UWB base stations, the robot's position is calculated based on the principle of minimum error. The least squares method has the characteristics of simple calculation and good fitting effect. However, in complex environments, the UWB measurement distance information is often interfered, and the calculation results based on the least squares method have large fluctuations. Summary of the invention

[0004] Purpose of the invention: In view of the above problems, the present invention proposes a robot UWB positioning method based on the robust least squares method. First, the distance information from the mobile robot to the four base stations is obtained from the source of UWB positioning, and the influence of the measurement wild value error on the UWB positioning is avoided by designing an outlier elimination processing algorithm; secondly, the four distance information are filtered based on the filtering principle to achieve smooth output of the distance information; finally, an adaptive weighted matrix is ​​introduced on the basis of the least squares position solution method, and an adaptive weighted least squares method is proposed to achieve high-precision position solution of the mobile robot. Compared with the traditional mobile robot position solution method based on the least squares method, the method of the present invention can effectively reduce the interference of the outside world to the UWB signal, and improve the positioning reliability and accuracy of the indoor mobile robot in complex scenes.

[0005] The above purpose is achieved through the following technical solutions:

[0006] A robot UWB positioning method based on robust least squares method comprises the following steps:

[0007] S1. Establish a robot UWB positioning system, including a tag and four base stations. The four base stations are set at the four corners of the robot's moving area, and the tag is installed on the robot. The coordinate positions of the four base stations are known: , , , When the robot moves, the robot measures the distance to the four base stations in real time through the tags installed on it. , , , ,in, Represents the distance information from the robot to base station 1 at time t, Indicates the distance information from the robot to base station 2 at time t, Indicates the distance information from the robot to base station 3 at time t, Indicates the distance information from the robot to the base station 4 at time t;

[0008] S2. The distance information of the base station obtained in step S1 is subjected to noise reduction processing as the measured distance;

[0009] S3. Multiply the measured distance data obtained in step S2 by the corresponding weight value to obtain the distance information at the current moment;

[0010] S4. UWB position solution based on the least squares method, based on the distance information from the robot to the four base stations at the current moment obtained in step S3, combined with the position information of the four base stations, the position estimation result of the robot is obtained by the least squares method;

[0011] S5. Introduce adaptive weights to further process the position estimation result obtained in step S4 to obtain an accurate position estimation of the robot.

[0012] Furthermore, the specific method of step S2 is as follows:

[0013] First, calculate the mean and standard deviation of the distance information from the robot to the four base stations, where the mean is calculated as follows:

[0014] ,

[0015] ,

[0016] ,

[0017] ,

[0018] in, represents the sliding window length, represents the mean distance from the robot to base station 1, represents the mean distance from the robot to base station 2, represents the mean distance from the robot to base station 3, represents the mean distance from the robot to base station 4, and then calculates the standard deviation of the sliding window data:

[0019] ,

[0020] ,

[0021] ,

[0022] ,

[0023] in, represents the standard deviation of the distance from the robot to base station 1 when the window length is N, represents the standard deviation of the distance from the robot to the base station 2 when the window length is N, represents the standard deviation of the distance from the robot to the base station 3 when the window length is N, represents the standard deviation of the distance from the robot to the base station 4 when the window length is N;

[0024] Secondly, solve the residuals of the four distance information separately , , , :

[0025] ,

[0026] ,

[0027] ,

[0028] ,

[0029] Finally, the residuals of the distance information from the robot to the four base stations are compared with three times the standard deviation:

[0030] ,

[0031] ,

[0032] ,

[0033] ,

[0034] When the residual of the distance information at a certain moment is greater than three times the standard deviation, the distance measurement information at that moment is removed and replaced by the previous moment;

[0035] Finally, the four measured distance information at time t are defined as: , , , .

[0036] Furthermore, the specific method of step S3 is as follows:

[0037] Using the four distance measurement information obtained in step S2, t The four measured distance data at time -1 are multiplied by the corresponding weight value to obtain the filtered distance data. t The distance information at the moment, that is:

[0038] ,

[0039] ,

[0040] ,

[0041] ,

[0042] in, represents the distance information from the robot to the base station 1 at time t-1 after being processed in step S2; represents the distance information from the robot to the base station 2 at time t-1 after being processed in step S2; represents the distance information from the robot to the base station 3 at time t-1 after being processed in step S2; represents the distance information from the robot to the base station 4 at time t-1 after being processed in step S2; Represents the distance information from the robot to base station 1 at time t after filtering; Represents the distance information from the robot to base station 2 at time t after filtering; represents the distance information from the robot to the base station 3 at time t after filtering; represents the distance information from the robot to the base station 4 at time t after filtering;

[0043] represents the filtering weight of the distance information from the robot to base station 1 at time t; represents the filtering weight of the distance information from the robot to base station 2 at time t; represents the filtering weight of the distance information from the robot to the base station 3 at time t; represents the distance information filtering weight from the robot to the base station 4 at time t; the updating formula of the distance information filtering weight is as follows:

[0044] ,

[0045] ,

[0046] ,

[0047] ,

[0048] in It represents the step size adjustment factor, which is determined based on experience and is used to control the convergence speed and offset parameters of the adaptive process; represents the filtering weight of the distance information from the robot to base station 1 at time t-1; represents the filtering weight of the distance information from the robot to base station 2 at time t-1; represents the filtering weight of the distance information from the robot to the base station 3 at time t-1; represents the distance information filtering weight from the robot to the base station 4 at time t-1; the initial value of the distance information filtering weight is 1, and then updated according to the updating formula of the distance information filtering weight;

[0049] Residual representing the distance information of robot navigation base station 1 at time t-1; Residual represents the distance information from the robot to base station 2 at time t-1; Residual represents the distance information from the robot to the base station 3 at time t-1; Represents the residual of the distance information from the robot to the base station 4 at time t-1.

[0050] Furthermore, the position estimation result of the robot obtained by the least squares method in step S4 is as follows:

[0051] ,

[0052] Among them, L represents the current position coordinates of the robot estimated by UWB; A and b represent data matrices, which have no specific physical meanings and are specifically expressed as follows:

[0053] ,

[0054] ,

[0055] ,

[0056] Among them, the coordinates of the four base stations are known: , , , ; Represents the x-axis position coordinate information of the robot estimated at time t; Represents the y-axis position coordinate information of the robot estimated at time t; only three distance information are used here, and the fourth distance information is used when some distance information fails.

[0057] Furthermore, the adaptive weight introduced in step S5 is further processed and calculated on the position estimation result obtained in step S4 as follows:

[0058] ,

[0059] in Represents the precise estimated coordinates of the robot, and G is the introduced weighted matrix, which is specifically expressed as follows:

[0060] ,

[0061] in It means taking diagonal matrix function; Represents an exponential function with the natural constant e as the base; Represents the kernel function bandwidth.

[0062] Beneficial effects:

[0063] 1. In order to solve the problem that UWB distance information is interfered by wild values, the present invention designs a sliding window, and realizes the high-precision distance measurement function of UWB by processing the mean and standard deviation of distance information;

[0064] 2. Based on the above distance information, the present invention further applies forward linear prediction filtering to UWB ranging information processing to improve positioning robustness in complex environments;

[0065] 3. In terms of UWB position solution, the present invention introduces adaptive weighted processing based on the least squares method to achieve the adaptability of UWB positioning in complex environments. BRIEF DESCRIPTION OF THE DRAWINGS

[0066] Figure 1 is a flow chart of the method of the present invention;

[0067] Figure 2 It is a curve diagram of the motion trajectory of the indoor mobile robot in the verification experiment of the present invention;

[0068] Figure 3 are the positioning error curves of the mobile robot in the X and Y directions under different methods in the verification experiment of the present invention;

[0069] Figure 4It is the positioning error curve of the mobile robot in the horizontal direction under different methods in the verification experiment of the present invention. DETAILED DESCRIPTION

[0070] like Figure 1 As shown, the robot UWB positioning method based on the robust least squares method of the present invention comprises the following steps:

[0071] S1. Establish a robot UWB positioning system, including a tag and four base stations. The four base stations are set at the four corners of the robot's moving area, and the tag is installed on the robot. The coordinate positions of the four base stations are known: , , , When the robot moves, the robot measures the distance to the four base stations in real time through the tags installed on it. , , , ,in, Represents the distance information from the robot to base station 1 at time t, Indicates the distance information from the robot to base station 2 at time t, Indicates the distance information from the robot to base station 3 at time t, Represents the distance information from the robot to the base station 4 at time t.

[0072] S2. Due to interference from the external environment, the measurement of the distance information from the robot to the four base stations will be disturbed. Therefore, the present invention first performs noise reduction processing on the four distance information.

[0073] First, calculate the mean and standard deviation of the distance information from the robot to the four base stations, where the mean is calculated as follows:

[0074] ,

[0075] ,

[0076] ,

[0077] ,

[0078] in, represents the sliding window length, represents the mean distance from the robot to base station 1, represents the mean distance from the robot to base station 2, represents the mean distance from the robot to base station 3, represents the mean distance from the robot to base station 4, and then calculates the standard deviation of the sliding window data:

[0079] ,

[0080] ,

[0081] ,

[0082] ,

[0083] in, represents the standard deviation of the distance from the robot to base station 1 when the window length is N, represents the standard deviation of the distance from the robot to the base station 2 when the window length is N, represents the standard deviation of the distance from the robot to the base station 3 when the window length is N, represents the standard deviation of the distance from the robot to the base station 4 when the window length is N;

[0084] Secondly, solve the residuals of the four distance information separately , , , :

[0085] ,

[0086] ,

[0087] ,

[0088] ,

[0089] Finally, the residuals of the distance information from the robot to the four base stations are compared with three times the standard deviation:

[0090] ,

[0091] ,

[0092] ,

[0093] ,

[0094] When the residual of the distance information at a certain moment is greater than three times the standard deviation, the distance measurement information at that moment is removed and replaced by the previous moment;

[0095] After the above process, the four measured distance information at time t are defined as: , , , .

[0096] S3. Apply forward linear prediction filtering to UWB distance measurement information processing to improve the robustness of positioning. That is, the distance information at the current moment is obtained by multiplying the measured distance data at multiple previous moments by the corresponding weight value;

[0097] Using the four distance measurement information obtained in step S2, t The four measured distance data at time -1 are multiplied by the corresponding weight value to obtain the filtered distance data. t The distance information at the moment, that is:

[0098] ,

[0099] ,

[0100] ,

[0101] ,

[0102] in, represents the distance information from the robot to the base station 1 at time t-1 after being processed in step S2; represents the distance information from the robot to the base station 2 at time t-1 after being processed in step S2; represents the distance information from the robot to the base station 3 at time t-1 after being processed in step S2; represents the distance information from the robot to the base station 4 at time t-1 after being processed in step S2; Represents the distance information from the robot to base station 1 at time t after filtering; Represents the distance information from the robot to base station 2 at time t after filtering; represents the distance information from the robot to the base station 3 at time t after filtering; represents the distance information from the robot to the base station 4 at time t after filtering;

[0103] represents the filtering weight of the distance information from the robot to base station 1 at time t; represents the filtering weight of the distance information from the robot to base station 2 at time t; represents the filtering weight of the distance information from the robot to the base station 3 at time t; represents the distance information filtering weight from the robot to the base station 4 at time t; the updating formula of the distance information filtering weight is as follows:

[0104] ,

[0105] ,

[0106] ,

[0107] ,

[0108] in It represents the step size adjustment factor, which is determined based on experience and is used to control the convergence speed and offset parameters of the adaptive process; represents the filtering weight of the distance information from the robot to base station 1 at time t-1; represents the filtering weight of the distance information from the robot to base station 2 at time t-1; represents the filtering weight of the distance information from the robot to the base station 3 at time t-1; represents the distance information filtering weight from the robot to the base station 4 at time t-1; the initial value of the distance information filtering weight is 1, and then updated according to the updating formula of the distance information filtering weight;

[0109] Residual representing the distance information of robot navigation base station 1 at time t-1; Residual represents the distance information from the robot to base station 2 at time t-1; Residual represents the distance information from the robot to the base station 3 at time t-1; Represents the residual of the distance information from the robot to the base station 4 at time t-1.

[0110] S4. UWB position solution based on the least squares method. Based on the distance information from the robot to the four base stations at the current moment obtained in step S3, combined with the position information of the four base stations, the core idea of ​​the least squares positioning algorithm is to minimize the difference between the measured distance and the true distance through the least squares method, so as to obtain the position of the robot. Specifically, the least squares positioning algorithm regards the measured value and the true value as a matrix, and obtains the solution with the minimum error through matrix operations, so as to obtain the current position of the robot.

[0111] The robot position estimation result obtained by the least squares method is as follows:

[0112] ,

[0113] Among them, L represents the current position coordinates of the robot estimated by UWB; A and b represent data matrices, which have no specific physical meanings and are specifically expressed as follows:

[0114] ,

[0115] ,

[0116] ,

[0117] Among them, the coordinates of the four base stations are known: , , , ; Represents the x-axis position coordinate information of the robot estimated at time t; Represents the y-axis position coordinate information of the robot estimated at time t; only three distance information are used here, and the fourth distance information is used when some distance information fails.

[0118] S5. In order to improve the estimation accuracy of the least squares method, the present invention introduces adaptive weights based on the above-mentioned least squares method calculation, thereby improving the robot position estimation accuracy.

[0119] The weighted processing is calculated as follows:

[0120] ,

[0121] in Represents the precise estimated coordinates of the robot, and G is the introduced weighted matrix, which is specifically expressed as follows:

[0122] ,

[0123] in It means taking diagonal matrix function; Represents an exponential function with the natural constant e as the base; Represents the kernel function bandwidth.

[0124] Experimental verification:

[0125] In order to verify the effectiveness of the robot UWB positioning method based on robust least squares method proposed in the present invention, relevant experiments were designed, including: 1 UWB positioning tag, four UWB positioning base stations, and a mobile robot. Among them, the UWB positioning tag is installed on the mobile robot. Both the UWB positioning tag and the UWB positioning base station use the DWM1000 module, and the measurement error is 10cm; during the movement of the robot, it will be disturbed by passers-by to produce wild values ​​and noise. The robot is equipped with a laser radar and a camera to provide reference position information. Based on the above platform, the least squares method and the method of the present invention are used for verification. Figure 2 A graph of the motion trajectory of the indoor mobile robot is given. Figure 3 The positioning error curves of the mobile robot in the X and Y directions under different methods are given. Figure 4The positioning error curves of the mobile robot in the horizontal direction under different methods are given. It can be seen from the position error curves of the mobile robot that the method proposed in the present invention is superior to the least square method in terms of positioning reliability and accuracy.

Claims

1. A robot UWB positioning method based on robust least squares method, It is characterized in that The method comprises the following steps: S1. Establish a robot UWB positioning system, including a tag and four base stations, where the four base stations are respectively set at the four corners of the robot's moving area, and the tag is installed on the robot; the coordinate positions of the four base stations are known: (x 1 ,y 1 ), (x 2 ,y 2 ), (x 3 ,y 3 ), (x 4 ,y 4 ), when the robot moves, the robot measures the distance information to the four base stations in real time through the tags installed on it in, Represents the distance information from the robot to base station 1 at time t, Indicates the distance information from the robot to base station 2 at time t, Indicates the distance information from the robot to base station 3 at time t, Indicates the distance information from the robot to the base station 4 at time t; S2. Perform noise reduction processing on the distance information of the base station obtained in step S1 as the measured distance; S3. Multiply the measured distance data obtained in step S2 by the corresponding weight value to obtain the distance information at the current moment; S4. UWB position solution based on the least squares method, based on the distance information from the robot to the four base stations at the current moment obtained in step S3, combined with the position information of the four base stations, the position estimation result of the robot is obtained by the least squares method; S5 introduces adaptive weights to further process the position estimation result obtained in step S4 to obtain an accurate position estimation of the robot; The specific method of step S2 is as follows: First, calculate the mean and standard deviation of the distance information from the robot to the four base stations, where the mean is calculated as follows: Where N=10 represents the sliding window length. represents the mean distance from the robot to base station 1, represents the mean distance from the robot to base station 2, represents the mean distance from the robot to base station 3, represents the mean distance from the robot to base station 4, and then calculates the standard deviation of the sliding window data: Among them, σ 1 represents the standard deviation of the distance from the robot to base station 1 when the window length is N, σ 2 represents the standard deviation of the distance from the robot to the base station 2 when the window length is N, σ 3 represents the standard deviation of the distance from the robot to the base station 3 when the window length is N, σ 4 represents the standard deviation of the distance from the robot to the base station 4 when the window length is N; Secondly, solve the residuals of the four distance information separately Finally, the residuals of the distance information from the robot to the four base stations are compared with three times the standard deviation: When the residual of the distance information at a certain moment is greater than three times the standard deviation, the distance measurement information at that moment is removed and replaced by the previous moment; the four measured distance information at time t are finally defined as: The specific method of step S3 is as follows: Using the four measured distance information obtained in step S2, the four measured distance data at time t-1 are multiplied by the corresponding weight value to obtain the distance information at time t after filtering, that is: in, represents the distance information from the robot to the base station 1 at time t-1 after being processed in step S2; represents the distance information from the robot to the base station 2 at time t-1 after being processed in step S2; represents the distance information from the robot to the base station 3 at time t-1 after being processed in step S2; represents the distance information from the robot to the base station 4 at time t-1 after being processed in step S2; Represents the distance information from the robot to base station 1 at time t after filtering; Represents the distance information from the robot to base station 2 at time t after filtering; represents the distance information from the robot to the base station 3 at time t after filtering; represents the distance information from the robot to the base station 4 at time t after filtering; represents the filtering weight of the distance information from the robot to base station 1 at time t; represents the filtering weight of the distance information from the robot to base station 2 at time t; represents the filtering weight of the distance information from the robot to the base station 3 at time t; represents the distance information filtering weight from the robot to the base station 4 at time t; the updating formula of the distance information filtering weight is as follows: Where μ = 0.75 represents the step size adjustment factor, which is selected based on experience to control the convergence speed and offset parameters of the adaptive process; represents the filtering weight of the distance information from the robot to base station 1 at time t-1; represents the filtering weight of the distance information from the robot to base station 2 at time t-1; represents the filtering weight of the distance information from the robot to the base station 3 at time t-1; represents the distance information filtering weight from the robot to the base station 4 at time t-1; the initial value of the distance information filtering weight is 1, and then updated according to the updating formula of the distance information filtering weight; Residual representing the distance information of robot navigation base station 1 at time t-1; Residual represents the distance information from the robot to base station 2 at time t-1; Residual represents the distance information from the robot to the base station 3 at time t-1; Residual representing the distance information from the robot to the base station 4 at time t-1; The position estimation result of the robot obtained by the least squares method in step S4 is as follows: L=(A T A) -1 A T b Among them, L represents the current position coordinates of the robot estimated by UWB; A and b represent data matrices, which have no specific physical meanings and are specifically expressed as follows: Among them, the coordinates of the four base stations are known: (x 1 ,y 1 ), (x 2 ,y 2 ), (x 3 ,y 3 ), (x 4 ,y 4 ); Represents the x-axis position coordinate information of the robot estimated at time t; Represents the y-axis position coordinate information of the robot estimated at time t; The introduction of adaptive weights in step S5 further processes the position estimation result obtained in step S4 and calculates it as follows: L′=(A T GA) -1 THE T Gb Where L′ represents the precise position estimation coordinates of the robot, and G is the introduced weighting matrix, which is specifically expressed as follows: Where diag[·] represents the diagonal matrix function; exp(·) represents the exponential function with the natural constant e as the base; δ=0.65 represents the kernel function bandwidth.

Citation Information

Cited By

  • Multi-base-station cooperative NLOS identification method for UWB positioning

    CN121619536A

  • A multi-base station cooperative NLOS identification method for UWB positioning

    CN121619536B