Autonomous positioning method based on ultra-wideband SLAM
By installing an ultra-wideband radar on a mobile robot and combining it with a wheeled odometer, SLAM technology is used to achieve autonomous positioning without a base station, solving the problem of accuracy and reliability of robot positioning in unfamiliar environments, simplifying the equipment structure and improving positioning accuracy. .
Patent Information
- Application Number
- CN202410588459.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-13
- Publication Date
- 2024-08-23
AI Technical Summary
Existing indoor positioning technology is difficult to achieve autonomous positioning of mobile robots in unfamiliar environments, especially when there is no need to deploy base stations in advance, and traditional methods have problems with insufficient positioning accuracy and reliability.
Using an autonomous positioning method based on ultra-wideband SLAM, two ultra-wideband radars are fixed on both sides of the front of the mobile robot to achieve time synchronization between the radar and the robot's wheeled odometry. The triangulation principle and the density-based clustering method are used to obtain The point cloud polar coordinates are combined with the extended Kalman filter algorithm for pose calculation to achieve autonomous positioning without a base station.
It simplifies the equipment structure, improves the accuracy and reliability of autonomous positioning of mobile robots in unfamiliar environments, solves the problems of high base station installation costs and low positioning accuracy in traditional methods, and is suitable for a wide range of indoor unlimited positioning fields.
Smart Images

Figure CN118534448A
Abstract
Description
Technical Field
[0001] The invention belongs to the technical field of indoor positioning, relates to an indoor positioning algorithm, and specifically to an autonomous positioning method based on ultra-wideband SLAM. Background Art
[0002] With the acceleration of urbanization and the popularization of mobile devices, the demand for high-precision positioning in urban environments has increased significantly. The widely used global satellite navigation system GNSS can provide users with all-weather, all-time, high-precision location information services around the world. However, due to the fact that satellite signals are easily interfered and blocked, they cannot be applied to indoor scenes such as shopping malls, tunnels, and underground garages. In order to solve the problem of the "last mile" of location services in modern production and life, high-precision indoor positioning technology has become the current research focus in the field of navigation and positioning.
[0003] UWB (Ultra Wide Band) technology stands out among many indoor positioning technologies due to its low system complexity, low power spectrum density of transmitted signals, insensitivity to channel fading, low interception capability, and high positioning accuracy. However, UWB positioning products currently usually use the traditional base station wiring method, which is not only not conducive to installation, but also has high construction costs and cycles, and is not suitable for robot positioning. For this reason, it is proposed to refer to the visual SLAM and LiDAR SLAM that have been commonly used in recent years to solve the problem of robot positioning in unknown environments, abandon the UWB base station, and use the original observation values of the UWB radar chip to search for map points, thereby realizing autonomous positioning of the robot.
[0004] Therefore, it is necessary to develop an autonomous positioning method based on ultra-wideband SLAM, abandoning the traditional base station and realizing autonomous positioning of mobile robots in unfamiliar environments based on ultra-wideband radar. Summary of the invention
[0005] The technical problem to be solved by the present invention is to provide an autonomous positioning method based on ultra-wideband SLAM, which does not require the early deployment of base stations, simplifies the equipment structure, and realizes the autonomous positioning of the mobile robot in an unfamiliar environment; at the same time, it improves the accuracy and reliability of the autonomous positioning of the mobile robot in an unfamiliar environment.
[0006] In order to solve the above technical problems, the technical solution adopted by the present invention is: the autonomous positioning method based on ultra-wideband SLAM specifically comprises the following steps:
[0007] S1: connecting two ultra-wideband radars to both sides of the front of the mobile robot at a fixed interval, and taking the start time of the ultra-wideband radar as the starting point, achieving time synchronization between the two ultra-wideband radars and the wheel odometer of the mobile robot;
[0008] S2: using the baseband data of the ultra-wideband radar in step S1 to obtain the distance from the map point to the ultra-wideband radar;
[0009] S3: completing the data association between the distances from the map point to the two ultra-wideband radars in step S2 according to the three-side relationship of the triangle and the interval between the two ultra-wideband radars in step S1, and obtaining the point cloud polar coordinates according to the trilateral measurement principle;
[0010] S4: To improve the accuracy of the point cloud, a temporary observation list is created, the position and posture of the mobile robot at multiple times and the observed point cloud are collected, and the point cloud in the temporary observation list is filtered using a density-based clustering method (DBSCAN), thereby obtaining the ultra-wideband radar observation value at the current time;
[0011] S5: According to the motion state of the mobile robot in the observation list in step S4 and the ultra-wideband radar observation value at the current moment, the data association between the mobile robot and the known map points is realized, and the observation equation is constructed according to the ultra-wideband radar observation model, and then the extended Kalman filter algorithm is enabled to complete the posture calculation of the mobile robot, thereby realizing the positioning of the mobile robot.
[0012] By adopting the above technical solution, two ultra-wideband radar chips are fixed on both sides of the mobile robot at a fixed interval. The ultra-wideband radar start time is taken as the starting point, and the two ultra-wideband radar centers are taken as the center of the mobile robot. According to the motion model of the mobile robot, the time synchronization of the two ultra-wideband radars and the mobile robot odometer is realized; by extracting the peak of the ultra-wideband radar baseband data after a series of processing, the distance from the map point to the two ultra-wideband radar chips is confirmed, and the data association of the distance from the same map point to the two ultra-wideband radars is realized according to the relationship between the three sides of the triangle and the distance of the two ultra-wideband radars; the polar coordinates of the point cloud observed by the ultra-wideband radar are obtained by using the trilateral measurement principle, and then the point cloud is filtered by creating a temporary observation list and a density-based clustering method; the point cloud is associated with the known map points through the filtered point cloud and the mobile robot state prediction value, so as to construct the observation model of the ultra-wideband radar, and finally the Kalman filter algorithm is used to complete the pose estimation of the mobile robot. Autonomous positioning of the mobile robot can be realized without setting up an ultra-wideband base station, and compared with laser or vision, ultra-wideband radar protects privacy and has no laser pollution.
[0013] Preferably, the specific steps of synchronizing the time of the ultra-wideband radar baseband data and the wheel odometer in step S1 are:
[0014] S11: realizing sampling time synchronization of the two ultra-wideband radars through timing triggering;
[0015] S12: Calculating the motion state of the mobile robot at the sampling time of the ultra-wideband radar according to the motion model of the mobile robot and the original data of the wheel odometer;
[0016] S13: Calculate the odometer observation value at the sampling moment of the ultra-wideband radar according to the motion state of the mobile robot at the sampling moments of the two preceding and succeeding ultra-wideband radars.
[0017] Preferably, the formula for calculating the motion state of the mobile robot at the sampling moment of the ultra-wideband radar in step S12 is:
[0018]
[0019] in, and The motion states of the mobile robot at the two sampling moments of the ultra-wideband radar, including position and direction; (V k ,γ k ) is the kth measurement value of the wheel odometer within the sampling interval of the two preceding and succeeding ultra-wideband radars, including the speed and steering angle of the mobile robot at the corresponding moment; Δt is the sampling interval of the wheel odometer, N is the number of samples of the wheel odometer within the sampling interval of the two preceding and succeeding ultra-wideband radars, and L is the length of the mobile robot; the odometer observation value at the ultra-wideband radar sampling moment is calculated in step S13, including the speed and steering angle, and the formula is:
[0020]
[0021] in, and The motion states of the mobile robot at the two sampling moments of the ultra-wideband radar, including position and direction; (V i+1 ,γ i+1 ) is the speed and steering angle of the mobile robot at the sampling moment of the ultra-wideband radar; ΔT is the time interval between the sampling moments of the ultra-wideband radar, and L is the vehicle length of the mobile robot.
[0022] Preferably, in step S2, the baseband data of the ultra-wideband radar are respectively normalized, absolute valued, statistically filtered, Savitzky-Golay filtered, and peak detected, and the serial number of the corresponding peak is converted into the distance from the map point to the two ultra-wideband radars. The specific steps are:
[0023] S21: normalizing the received baseband data of the ultra-wideband radar, the formula is:
[0024]
[0025] Wherein, x represents the baseband data of the ultra-wideband radar, μ x represents the mean value of the baseband data of the ultra-wideband radar, σ x represents the standard deviation of the baseband data of the ultra-wideband radar, and y represents the normalized baseband data of the ultra-wideband radar;
[0026] S22: taking the absolute value of the normalized ultra-wideband radar baseband data and performing statistical filtering, the formula is:
[0027]
[0028] Among them, μ |y| represents the average value of the absolute value of the normalized ultra-wideband radar baseband data; |y j | represents the absolute value of the jth value in the normalized ultra-wideband radar baseband data; z j The ultra-wideband radar baseband data is normalized, absolute valued and statistically filtered;
[0029] S23: using the SG filter to perform secondary smoothing on the baseband data of the ultra-wideband radar after the processing in step S22, and converting the sequence number corresponding to the peak of the baseband data after secondary smoothing into the distance from the map point to the ultra-wideband radar, thereby respectively obtaining the distance values from the map point to the two ultra-wideband radars; the calculation formula is:
[0030] l = a id Δl (5);
[0031] Wherein, l is the distance from the map point to the ultra-wideband radar; a id is the sequence number corresponding to different baseband data peaks; Δl is the distance value corresponding to a baseband data sequence number.
[0032] Preferably, the specific steps of obtaining the coordinates of the map point by using the distance from the map point to the two ultra-wideband radars in step S3 are:
[0033] S31: according to the relationship that the difference between any two sides of the triangle is less than the third side, data association is performed on the distance values from the two sets of map points obtained in step S23 to the two ultra-wideband radars to obtain a distance pair l1, l2 from the same map point to the two ultra-wideband radars;
[0034] S32: Obtain the polar coordinates of the map point based on the trilateration principle, the distance pair from the map point to the two ultra-wideband radars in step S31, and the interval between the two ultra-wideband radars in step S1, and the formula is:
[0035]
[0036] Wherein, l1 is the distance from the map point to the ultra-wideband radar 1, l2 is the distance from the map point to the ultra-wideband radar 2; d is the distance between the two ultra-wideband radars, that is, the distance between the ultra-wideband radar 1 and the ultra-wideband radar 2; α is the azimuth of the map point relative to the ultra-wideband radar 1, r, θ are the distance and angle of the map point relative to the centers of the two ultra-wideband radars, that is, the polar coordinates of the map point.
[0037] Preferably, the specific steps of collecting the postures of the mobile robot and the observed point clouds at multiple moments in step S4 and obtaining the ultra-wideband radar observation value at the current moment are:
[0038] S41: constructing the state equation of the mobile robot at the current moment according to the posture of the mobile robot at the previous moment and the measurement value of the odometer at the sampling moment of the ultra-wideband radar in step S13, and obtaining the posture of the mobile robot at the sampling moment of all ultra-wideband radars in the temporary observation list;
[0039] S42: using the position and posture of the mobile robot in step S41 and the polar coordinates of the map points in step S32 relative to the mobile robot at each moment, obtaining the plane rectangular coordinates of the map points at each moment in the temporary observation list relative to the world system;
[0040] S43: using a density-based clustering method (DBSCAN) to filter out outliers in the point cloud in the temporary observation list, and using the centroid of each cluster of map points as the direct plane coordinates of the map point at the current moment relative to the world system;
[0041] S44: Utilizing the motion state of the mobile robot at the current moment and the plane rectangular coordinates of the map point at the current moment relative to the world system in step S43, the observation value of the map point at the current moment is obtained.
[0042] Preferably, the formula for obtaining the position and posture of the mobile robot at the sampling time of all ultra-wideband radars in the temporary observation list in step S41 is:
[0043]
[0044] in, and The motion states of the mobile robot at the two sampling moments of the ultra-wideband radar, including position and direction; (V i+1 ,γ i+1 ) is the speed and steering angle of the mobile robot at the sampling time of the ultra-wideband radar, ΔT is the sampling time interval of the ultra-wideband radar, and L is the vehicle length of the mobile robot;
[0045] The formula for obtaining the plane rectangular coordinates of the map points at each moment in the temporary observation list relative to the world system in step S42 is:
[0046]
[0047] in, is the plane rectangular coordinate of the map point relative to the world system, is the plane direct coordinate of the map point relative to the mobile robot system at the sampling time, is the rotation matrix of the mobile robot posture at the sampling moment, are the position and heading angle of the mobile robot at the sampling moment, r,θ are the polar coordinates of the map point relative to the mobile robot system at the corresponding sampling moment;
[0048] The formula for obtaining the map point observation value at the current moment in step S44 is:
[0049]
[0050] in, is the plane rectangular coordinate of the map point relative to the world system, is the position and heading angle of the mobile robot at the sampling moment, It is the observation value of the map point at the current moment.
[0051] Preferably, the specific steps of realizing mobile robot posture estimation by using the mobile robot posture in the temporary observation list and the ultra-wideband radar observation value at the current moment in step S5 are:
[0052] S51: calculating the Mahalanobis distance between the map point observed at the current moment and the known map point according to the motion state prediction value of the mobile robot, and realizing point cloud data association by determining the relationship between the minimum Mahalanobis distance and the distance threshold;
[0053] S52: constructing the observation equation of the mobile robot at the current moment according to the data association result in step S51 and the ultra-wideband radar observation model;
[0054] S53: Linearize the state equation in step S41 and the observation equation in step S52, and complete the position and posture of the moving car at the current moment according to the Kalman filter algorithm.
[0055] Preferably, the formula for realizing point cloud data association by determining the relationship between the minimum Mahalanobis distance and the distance threshold in step S51 is:
[0056]
[0057] in, is the observed value of the mth map point at the current moment, q is a known map point, S is the covariance of the map point, is the Mahalanobis distance between the current m-th map point observation and the known map points, min_threshold is the farthest distance threshold for judging known map points, set to 0.5, and max_threshold is the shortest distance threshold for judging new map points, set to 5;
[0058] The formula for constructing the observation equation of the mobile robot at the current moment in step S52 is:
[0059]
[0060] in, is the position and attitude of the current ultra-wideband radar sampling time, is the plane rectangular coordinate of the map point relative to the world system, is the observed value of the map point at the current moment;
[0061] The formula of step S53 is:
[0062]
[0063] in, are the position and covariance of the mobile robot at the previous moment, are the predicted values of the mobile robot's posture at the current moment and their corresponding covariances, respectively; A is the transformation matrix of the positioning tag coordinates at the previous moment and the current moment, which can be obtained by linearizing the state equation in step S41; A T is the transpose of A, Q is the covariance corresponding to the process noise, G is the conversion matrix from the predicted value of the mobile robot posture at the current moment to the observed value of the ultra-wideband radar, which can be obtained by linearizing the observation equation in step S52, G T is the transposed matrix of G, R is the covariance corresponding to the observation noise of the current measurement value, K i+1 is the Kalman filter gain, is the observation value of the ultra-wideband radar at the current moment, and I is the unit matrix.
[0064] Compared with the prior art, the technical solution of the present invention has the following beneficial effects: the autonomous positioning method based on ultra-wideband SLAM has a simple structure, does not require the deployment of base stations in advance, can achieve autonomous positioning in unfamiliar environments, and the integration of ultra-wideband radar and odometer can not only ensure the continuous smoothness of the motion trajectory, but also effectively solve the problem of odometer wheel slippage and inaccurate distance estimation, and improve the overall performance of ultra-wideband radar SLAM positioning; the autonomous positioning method based on ultra-wideband SLAM can be widely used in the field of indoor unlimited positioning. The method is suitable for mobile robots or robots that include wheel odometers and ultra-wideband radar chips, and uses ultra-wideband radar baseband data and odometer data as observation quantities, and uses mobile robots or robots and other intelligent platforms for positioning in unfamiliar environments. BRIEF DESCRIPTION OF THE DRAWINGS
[0065] Figure 1 It is a flow chart of the autonomous positioning method based on ultra-wideband SLAM of the present invention;
[0066] Figure 2 This is a time synchronization effect diagram of the ultra-wideband radar and the odometer in the autonomous positioning method based on ultra-wideband SLAM of the present invention;
[0067] Figure 3 It is a diagram of baseband data processing and peak detection results in the autonomous positioning method based on ultra-wideband SLAM of the present invention;
[0068] Figure 4 It is a schematic diagram of determining the point cloud position according to trilateral measurement in the autonomous positioning method based on ultra-wideband SLAM of the present invention;
[0069] Figure 5 It is a comparison chart of the autonomous positioning method based on ultra-wideband SLAM of the present invention and the odometer positioning results. DETAILED DESCRIPTION
[0070] The embodiments of the present invention are described in detail below in conjunction with the accompanying drawings. The following embodiments are only used to more clearly illustrate the technical solutions of the present invention and are not intended to limit the protection scope of the present invention.
[0071] Example: Figure 1 As shown, the autonomous positioning method based on ultra-wideband SLAM specifically includes the following steps:
[0072] S1: Two ultra-wideband radars are connected to the front sides of a mobile robot at a fixed interval. The mobile robot is provided with a wheel odometer. The start time of the ultra-wideband radar is used as the starting point to achieve time synchronization between the two ultra-wideband radars and the wheel odometer of the mobile robot.
[0073] like Figure 2As shown, the specific steps of time synchronization of the ultra-wideband radar baseband data and the wheel odometer data in step S1 are:
[0074] S11: realizing sampling time synchronization of the two ultra-wideband radars through timing triggering;
[0075] S12: Estimate the motion state of the mobile robot at the ultra-wideband radar sampling time according to the motion model of the mobile robot and the original data of the wheel odometer, and the formula is:
[0076]
[0077] in, and are respectively the motion states of the mobile robot at the two preceding and following ultra-wideband radar sampling moments, including position and direction; (V k ,γ k ) is the kth measurement value of the wheel odometer within the two previous ultra-wideband radar sampling intervals; includes the speed and steering angle of the mobile robot at the corresponding time; Δt is the sampling time interval of the wheel odometer; N is the number of samples of the wheel odometer within the two previous ultra-wideband radar sampling intervals, and L is the length of the mobile robot;
[0078] S13: According to the motion state of the mobile robot at the two preceding and succeeding ultra-wideband radar sampling moments, the odometer observation value at the ultra-wideband radar sampling moment is obtained, including speed and steering angle, and the formula is:
[0079]
[0080] in, and are the motion states of the mobile robot at the two preceding and following ultra-wideband radar sampling moments, including position and direction; (V i+1 ,γ i+1 ) is the speed and steering angle of the mobile robot at the sampling time of the ultra-wideband radar; ΔT is the sampling time interval of the ultra-wideband radar; L is the length of the mobile robot;
[0081] S2: using the baseband data of the ultra-wideband radar in step S1 to obtain the distance from the map point to the ultra-wideband radar; specifically: normalizing, taking absolute values, statistical filtering, Savitzky-Golay (SG) filtering and peak detection processing are performed on the baseband data of the ultra-wideband radar in step S1, and converting the sequence number of the corresponding peak into the distance from the map point to the two ultra-wideband radars;
[0082] like Figure 3As shown, the specific steps of obtaining the distance from the map point to the ultra-wideband radar using the baseband data of the ultra-wideband radar in step S2 are:
[0083] S21: normalizing the received ultra-wideband radar baseband data, the formula is:
[0084]
[0085] Wherein, x represents the ultra-wideband radar baseband data, μ x represents the mean value of the ultra-wideband radar baseband data, σ x represents the standard deviation of the ultra-wideband radar baseband data, and y represents the normalized ultra-wideband radar baseband data;
[0086] S22: taking the absolute value and statistical filtering of the normalized ultra-wideband radar baseband data, the formula is:
[0087]
[0088] Among them, μ |y| represents the average value of the absolute value of the normalized ultra-wideband radar baseband data, |y j | represents the absolute value of the jth value in the normalized ultra-wideband radar baseband data, z j The ultra-wideband radar baseband data is normalized, absolute valued and statistically filtered;
[0089] S23: Use the SG filter to perform secondary smoothing on the ultra-wideband radar data in step S22, and convert the sequence number corresponding to the peak of the smoothed baseband data into the distance from the map point to the ultra-wideband radar, the formula is:
[0090] l = a id Δl (5);
[0091] Where, l is the distance from the map point to the ultra-wideband radar, a id is the sequence number corresponding to different peaks, and Δl is the distance value corresponding to a baseband data sequence number.
[0092] S3: completing the data association between the distances from the map point to the two ultra-wideband radars in step S2 according to the three-side relationship of the triangle and the interval between the two ultra-wideband radars in step S1, and obtaining the point cloud polar coordinates according to the trilateral measurement principle;
[0093] like Figure 4 As shown, the specific steps of obtaining the coordinates of the map point by using the distance from the map point to the two ultra-wideband radars in step S3 are:
[0094] S31: according to the relationship that the difference between any two sides of the triangle is less than the third side, the two sets of distance values from the map point to the two ultra-wideband radars in step S23 are data associated to obtain a distance pair l1, l2 from the same map point to the two ultra-wideband radars;
[0095] S32: Obtain the polar coordinates of the map point based on the trilateration principle, the distance pair from the map point to the two ultra-wideband radars in step S31, and the interval between the two ultra-wideband radars in step S1, and the formula is:
[0096]
[0097] Wherein, l1 is the distance from the map point to the ultra-wideband radar 1, l2 is the distance from the map point to the ultra-wideband radar 2; d is the distance between the two ultra-wideband radars, α is the azimuth of the map point relative to the ultra-wideband radar 1, r, θ are the distance and angle of the map point relative to the centers of the two ultra-wideband radars, i.e., the polar coordinates of the map point;
[0098] S4: To improve the accuracy of the point cloud, a temporary observation list is created to collect the postures of the mobile robot and the observed point clouds at multiple times, and the point clouds in the list are filtered using a density-based clustering method (DBSCAN) to obtain the ultra-wideband radar observation value at the current time;
[0099] The specific steps of collecting the positions and point clouds of the mobile robot at multiple times and obtaining the ultra-wideband radar observation value at the current time in step S4 are as follows:
[0100] S41: construct the state equation of the mobile robot at the current moment according to the posture of the mobile robot at the previous moment and the measurement value of the odometer at the ultra-wideband radar sampling moment in step S13, and at the same time observe the posture of the mobile robot at all ultra-wideband radar sampling moments in the list, the formula is:
[0101]
[0102] in, and are the motion states of the mobile robot at the two preceding and following ultra-wideband radar sampling moments, including position and direction, (V i+1 ,γ i+1 ) is the speed and steering angle of the mobile robot at the sampling moment of the ultra-wideband radar, ΔT is the sampling interval of the ultra-wideband radar, and L is the length of the mobile robot;
[0103] S42: Using the position and posture of the mobile robot in step S41 and the polar coordinates of the map points in step S32 relative to the mobile robot at each moment, obtain the plane rectangular coordinates of the map points at each moment in the temporary observation list relative to the world system, the formula is:
[0104]
[0105] in, is the plane rectangular coordinate of the map point relative to the world system, is the plane direct coordinate of the map point relative to the mobile robot system at the sampling time, is the rotation matrix of the mobile robot posture at the sampling moment, are the position and heading angle of the mobile robot at the sampling moment, r,θ are the polar coordinates of the map point relative to the mobile robot system at the corresponding sampling moment;
[0106] S43: using a density-based clustering method (DBSCAN) to filter out outliers in the point cloud in the temporary observation list, and using the centroid of each cluster of map points as the direct plane coordinates of the map point at the current moment relative to the world system;
[0107] S44: Using the motion state of the mobile robot at the current moment and the rectangular coordinates of the map point at the current moment relative to the world system in step S43, the observation value of the map point at the current moment is obtained, and the formula is:
[0108]
[0109] in, is the plane rectangular coordinate of the map point relative to the world system, is the position and heading angle of the mobile robot at the sampling moment, is the observed value of the map point at the current moment;
[0110] S5: According to the motion state of the mobile robot in the list in step S4 and the ultra-wideband radar observation value at the current moment, realize data association with known map points, and construct observation equations based on the ultra-wideband radar observation model, and then enable the extended Kalman filter algorithm to complete the pose estimation of the mobile robot;
[0111] The specific steps of step S5 to update the mobile robot posture measurement by using the mobile robot posture in the temporary observation list and the ultra-wideband radar observation value at the current moment are:
[0112] S51: Calculate the Mahalanobis distance between the map point observed at the current moment and the known map point according to the predicted value of the motion state of the mobile robot, and realize point cloud data association by judging the relationship between the minimum Mahalanobis distance and the distance threshold. The formula is:
[0113]
[0114] in, is the observed value of the mth map point at the current moment, q is a known map point, S is the covariance of the map point, is the Mahalanobis distance between the current m-th map point observation and the known map points, min_threshold is the farthest distance threshold for judging known map points, set to 0.5, and max_threshold is the shortest distance threshold for judging new map points, set to 5;
[0115] S52: constructing the observation equation of the mobile robot at the current moment according to the data association result in step S51 and the ultra-wideband radar observation model, the formula is:
[0116]
[0117] in, is the position and attitude of the current ultra-wideband radar sampling time, is the plane rectangular coordinate of the map point relative to the world system, is the observed value of the map point at the current moment;
[0118] S53: Linearize the state equation in step S41 and the observation equation in step S52, and complete the position and posture of the moving car at the current moment according to the Kalman filter algorithm. The formula is:
[0119]
[0120] in, are the position and covariance of the mobile robot at the previous moment, are the predicted values of the mobile robot's posture at the current moment and their corresponding covariances, respectively; A is the transformation matrix of the positioning tag coordinates at the previous moment and the current moment, which can be obtained by linearizing the state equation in step S41; A T is the transpose of A, Q is the covariance corresponding to the process noise, G is the conversion matrix from the predicted value of the mobile robot posture at the current moment to the observed value of the ultra-wideband radar, which can be obtained by linearizing the observation equation in step S52, G T is the transposed matrix of G, R is the covariance corresponding to the observation noise of the current measurement value, K i+1 is the Kalman filter gain, is the observation value of the ultra-wideband radar at the current moment, and I is the unit matrix.
[0121] The positioning result estimated by the mobile robot odometer is compared with the positioning result obtained by the autonomous positioning method based on ultra-wideband SLAM of the present invention. Figure 5 As shown, from Figure 5 It can be seen from the figure that due to the smooth floor, the positioning estimation error obtained by recursive odometer gradually increases. As the test time increases, the trajectory becomes more and more biased. The autonomous positioning method based on ultra-wideband SLAM of the present invention can effectively suppress the cumulative error and maintain the accuracy of the trajectory.
[0122] For ordinary technicians in this field, the specific embodiments are only illustrative descriptions of the present invention. It is obvious that the specific implementation of the present invention is not limited to the above-mentioned methods. As long as various non-substantial improvements are made using the method concepts and technical solutions of the present invention, or the concepts and technical solutions of the present invention are directly applied to other occasions without improvement, they are all within the protection scope of the present invention.
Claims
1. An autonomous positioning method based on ultra-wideband SLAM, characterized in that: The following steps are involved: S1: connecting two ultra-wideband radars to both sides of the front of the mobile robot at a fixed interval, and taking the start time of the ultra-wideband radar as the starting point, achieving time synchronization between the two ultra-wideband radars and the wheel odometer of the mobile robot; S2: using the baseband data of the ultra-wideband radar in step S1 to obtain the distance from the map point to the ultra-wideband radar; S3: completing the data association between the distances from the map point to the two ultra-wideband radars in step S2 according to the three-side relationship of the triangle and the interval between the two ultra-wideband radars in step S1, and obtaining the point cloud polar coordinates according to the trilateral measurement principle; S4: creating a temporary observation list, collecting the position and posture of the mobile robot at multiple moments and the observed point cloud, and filtering the point cloud in the temporary observation list using a density-based clustering method, thereby obtaining the ultra-wideband radar observation value at the current moment; S5: According to the motion state of the mobile robot in the observation list in step S4 and the ultra-wideband radar observation value at the current moment, the data association between the mobile robot and the known map points is realized, and the observation equation is constructed according to the ultra-wideband radar observation model, and then the extended Kalman filter algorithm is enabled to complete the posture calculation of the mobile robot, thereby realizing the positioning of the mobile robot.
2. The autonomous positioning method based on ultra-wideband SLAM according to claim 1, characterized in that: The specific steps of time synchronization of the ultra-wideband radar baseband data and the wheel odometer in step S1 are: S11: realizing sampling time synchronization of the two ultra-wideband radars through timing triggering; S12: Calculating the motion state of the mobile robot at the sampling time of the ultra-wideband radar according to the motion model of the mobile robot and the original data of the wheel odometer; S13: Calculate the odometer observation value at the sampling moment of the ultra-wideband radar according to the motion state of the mobile robot at the sampling moments of the two preceding and succeeding ultra-wideband radars.
3. The autonomous positioning method based on ultra-wideband SLAM according to claim 2, characterized in that: The formula for calculating the motion state of the mobile robot at the sampling time of the ultra-wideband radar in step S12 is: in, and The motion states of the mobile robot at the two sampling moments of the ultra-wideband radar, including position and direction; (V k ,γ k ) is the kth measurement value of the wheel odometer within the sampling interval of the two preceding and succeeding ultra-wideband radars, including the speed and steering angle of the mobile robot at the corresponding moment; Δt is the sampling interval of the wheel odometer, N is the number of samples of the wheel odometer within the sampling interval of the two preceding and succeeding ultra-wideband radars, and L is the length of the mobile robot; the odometer observation value at the ultra-wideband radar sampling moment is calculated in step S13, including the speed and steering angle, and the formula is: in, and The motion states of the mobile robot at the two sampling moments of the ultra-wideband radar, including position and direction; (V i+1 ,γ i+1 ) is the speed and steering angle of the mobile robot at the sampling moment of the ultra-wideband radar; ΔT is the time interval between the sampling moments of the ultra-wideband radar, and L is the vehicle length of the mobile robot.
4. The autonomous positioning method based on ultra-wideband SLAM according to claim 2, characterized in that: In step S2, the baseband data of the ultra-wideband radar are respectively normalized, absolute valued, statistically filtered, Savitzky-Golay filtered, and peak detected, and the serial number of the corresponding peak is converted into the distance from the map point to the two ultra-wideband radars. The specific steps are: S21: normalizing the received baseband data of the ultra-wideband radar, the formula is: Wherein, x represents the baseband data of the ultra-wideband radar, μ x represents the mean value of the baseband data of the ultra-wideband radar, σ x represents the standard deviation of the baseband data of the ultra-wideband radar, and y represents the normalized baseband data of the ultra-wideband radar; S22: taking the absolute value of the normalized ultra-wideband radar baseband data and performing statistical filtering, the formula is: Among them, μ y represents the average value of the absolute value of the normalized ultra-wideband radar baseband data; |y j | represents the absolute value of the jth value in the normalized ultra-wideband radar baseband data; z j The ultra-wideband radar baseband data is normalized, absolute valued and statistically filtered; S23: using the SG filter to perform secondary smoothing on the baseband data of the ultra-wideband radar after the processing in step S22, and converting the sequence number corresponding to the peak of the baseband data after secondary smoothing into the distance from the map point to the ultra-wideband radar, thereby respectively obtaining the distance values from the map point to the two ultra-wideband radars; the calculation formula is: l=a id Δl (5); Wherein, l is the distance from the map point to the ultra-wideband radar; a id is the sequence number corresponding to different baseband data peaks; Δl is the distance value corresponding to a baseband data sequence number.
5. The autonomous positioning method based on ultra-wideband SLAM according to claim 4, characterized in that: The specific steps of obtaining the coordinates of the map point by using the distance from the map point to the two ultra-wideband radars in step S3 are: S31: according to the relationship that the difference between any two sides of the triangle is less than the third side, data association is performed on the distance values from the two sets of map points obtained in step S23 to the two ultra-wideband radars to obtain a distance pair l1, l2 from the same map point to the two ultra-wideband radars; S32: Obtain the polar coordinates of the map point based on the trilateration principle, the distance pair from the map point to the two ultra-wideband radars in step S31, and the interval between the two ultra-wideband radars in step S1, and the formula is: Wherein, l1 is the distance from the map point to the ultra-wideband radar 1, l2 is the distance from the map point to the ultra-wideband radar 2; d is the distance between the two ultra-wideband radars, that is, the distance between the ultra-wideband radar 1 and the ultra-wideband radar 2; α is the azimuth of the map point relative to the ultra-wideband radar 1, r, θ are the distance and angle of the map point relative to the centers of the two ultra-wideband radars, that is, the polar coordinates of the map point.
6. The autonomous positioning method based on ultra-wideband SLAM according to claim 5, characterized in that: The specific steps of collecting the positions and point clouds of the mobile robot at multiple times and obtaining the ultra-wideband radar observation value at the current time in step S4 are as follows: S41: constructing the state equation of the mobile robot at the current moment according to the posture of the mobile robot at the previous moment and the measurement value of the odometer at the sampling moment of the ultra-wideband radar in step S13, and obtaining the posture of the mobile robot at the sampling moment of all ultra-wideband radars in the temporary observation list; S42: using the position and posture of the mobile robot in step S41 and the polar coordinates of the map points in step S32 relative to the mobile robot at each moment, obtaining the plane rectangular coordinates of the map points at each moment in the temporary observation list relative to the world system; S43: using a density-based clustering method to filter out outliers in the point cloud in the temporary observation list, and using the centroid of each cluster of map points as the plane direct coordinates of the map point at the current moment relative to the world system; S44: Utilizing the motion state of the mobile robot at the current moment and the plane rectangular coordinates of the map point at the current moment relative to the world system in step S43, the observation value of the map point at the current moment is obtained.
7. The autonomous positioning method based on ultra-wideband SLAM according to claim 6, characterized in that: The formula for obtaining the position and posture of the mobile robot at the sampling time of all ultra-wideband radars in the temporary observation list in step S41 is: in, and The motion states of the mobile robot at the two sampling moments of the ultra-wideband radar, including position and direction; (V i+1 ,γ i+1 ) is the speed and steering angle of the mobile robot at the sampling time of the ultra-wideband radar, ΔT is the sampling time interval of the ultra-wideband radar, and L is the vehicle length of the mobile robot; The formula for obtaining the plane rectangular coordinates of the map points at each moment in the temporary observation list relative to the world system in step S42 is: in, is the plane rectangular coordinate of the map point relative to the world system, is the plane direct coordinate of the map point relative to the mobile robot system at the sampling time, is the rotation matrix of the mobile robot posture at the sampling moment, are the position and heading angle of the mobile robot at the sampling moment, r,θ are the polar coordinates of the map point relative to the mobile robot system at the corresponding sampling moment; The formula for obtaining the map point observation value at the current moment in step S44 is: in, is the plane rectangular coordinate of the map point relative to the world system, is the position and heading angle of the mobile robot at the sampling moment, It is the observation value of the map point at the current moment.
8. The autonomous positioning method based on ultra-wideband SLAM according to claim 6, characterized in that: The specific steps of step S5 to estimate the posture of the mobile robot by using the posture of the mobile robot in the temporary observation list and the ultra-wideband radar observation value at the current moment are: S51: calculating the Mahalanobis distance between the map point observed at the current moment and the known map point according to the motion state prediction value of the mobile robot, and realizing point cloud data association by determining the relationship between the minimum Mahalanobis distance and the distance threshold; S52: constructing the observation equation of the mobile robot at the current moment according to the data association result in step S51 and the ultra-wideband radar observation model; S53: Linearize the state equation in step S41 and the observation equation in step S52, and complete the position and posture of the moving car at the current moment according to the Kalman filter algorithm.
9. The autonomous positioning method based on ultra-wideband SLAM according to claim 8, characterized in that: The formula for associating point cloud data by determining the relationship between the minimum Mahalanobis distance and the distance threshold in step S51 is: in, is the observed value of the mth map point at the current moment, q is a known map point, S is the covariance of the map point, is the Mahalanobis distance between the current m-th map point observation and the known map points, min_threshold is the maximum distance threshold for judging known map points, and max_threshold is the minimum distance threshold for judging new map points; The formula for constructing the observation equation of the mobile robot at the current moment in step S52 is: in, is the position and attitude of the current ultra-wideband radar sampling time, is the plane rectangular coordinate of the map point relative to the world system, is the observed value of the map point at the current moment; The formula of step S53 is: in, are the position and covariance of the mobile robot at the previous moment, are the predicted values of the mobile robot's posture at the current moment and their corresponding covariances, respectively; A is the transformation matrix of the positioning tag coordinates at the previous moment and the current moment, which can be obtained by linearizing the state equation in step S41; A T is the transpose of A, Q is the covariance corresponding to the process noise, G is the conversion matrix from the predicted value of the mobile robot posture at the current moment to the observed value of the ultra-wideband radar, which can be obtained by linearizing the observation equation in step S52, G T is the transposed matrix of G, R is the covariance corresponding to the observation noise of the current measurement value, K i+1 is the Kalman filter gain, is the observation value of the ultra-wideband radar at the current moment, and I is the unit matrix.
