A multi-route planning method for mobile robots based on brainstorming optimization
By using the Gaussian mixture model clustering algorithm in the mobile robot's multi-target point route planning, the problem that the K-means clustering algorithm is prone to falling into local optimality is solved, the robustness and efficiency of route planning are improved, and the generated route is shorter. .
Patent Information
- Application Number
- CN202210246092.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-03-14
- Publication Date
- 2024-09-17
- Estimated Expiration
- 2042-03-14
AI Technical Summary
Existing mobile robot multi-target route planning algorithms are prone to falling into local optimal solutions, especially when using the K-means clustering algorithm. The clustering results are greatly affected by the initial cluster center, making it difficult to escape from the local optimal solution.
The Gaussian mixture model clustering algorithm is used to replace the K-means algorithm, and clustering is performed through a distribution-based model, which reduces the impact of the initial cluster center on the results and improves the robustness and global search capabilities of the algorithm.
It effectively reduces the probability of the algorithm falling into local optimality, improves the robustness and efficiency of route planning, and the total length of the generated route is shorter, which is better than traditional methods.
Smart Images

Figure CN114647242B
Abstract
Description
Technical Field
[0001] The invention belongs to the technical field of intelligent mobile robots, and in particular relates to a mobile robot multi-route planning method based on brainstorming optimization. Background Art
[0002] Mobile robot multi-target point route planning refers to finding a collision-free optimal route from the starting point through all target points in a complex environment. According to the characteristics of mobile robot multi-target point route planning, the mobile robot multi-target point route planning problem can be transformed into a Traveling Saleman Problem (TSP)-like problem. The Traveling Salesman Problem (TSP) is a typical NP-complete problem, that is, its worst-case time complexity increases exponentially with the increase of the problem scale. So far, no effective algorithm with polynomial time has been found. At present, the commonly used algorithms for studying the classic TSP include genetic algorithm, particle swarm algorithm, simulated annealing algorithm, neural network algorithm, etc. The genetic algorithm converges too fast in the early stage and is easy to fall into the local optimal solution; although the particle swarm algorithm is simple to operate and can converge quickly, as the number of iterations increases, while the population converges and concentrates, the particles become more and more similar, and may not be able to jump out of the local optimal solution; the simulated annealing algorithm has the disadvantages of slow convergence, long execution time, algorithm performance is related to the initial value and parameter sensitivity; the neural network algorithm is difficult to implement in a more complex environment.
[0003] Brainstorm Optimization (BSO) is a new swarm intelligence algorithm based on the idea of human creative problem solving. Since the BSO algorithm has no requirements for initial values, it has strong robustness and fast convergence ability, and has a very strong global search ability. It has strong robustness. The brainstorm optimization algorithm is applied to the study of mobile robot multi-target point route planning problems, which can effectively solve such problems. However, the algorithm still has the problem of being easily trapped in the local optimum prematurely due to the influence of the clustering algorithm. Summary of the invention
[0004] In order to overcome the shortcomings of the prior art, the present invention provides a mobile robot multi-route planning method based on brainstorming optimization. The K-means clustering algorithm uses a distance model based on which clustering is performed, and the clustering result is greatly affected by the initial clustering center and is prone to fall into the local optimum. The present invention uses a Gaussian mixture model clustering algorithm that considers the mean and variance of the updated data to replace the k-means algorithm. The distance-based model is no longer used, but a distribution-based model is used to improve the robustness of the algorithm and reduce the probability of the algorithm reaching the local optimum.
[0005] The technical solution adopted by the present invention to achieve the above-mentioned invention object is as follows:
[0006] A mobile robot multi-route planning method based on brainstorming optimization includes the following steps:
[0007] Step 1: Use the mobile robot's built-in camera, sonar ring, and infrared sensor to collect the mobile robot's working environment information, including all target point coordinate information, and rasterize the map;
[0008] Step 2: Using the coordinate information of each target point, calculate the shortest obstacle avoidance distance between target points and establish a distance matrix;
[0009] Step 3: Encode all target points by integers; a route represents a potential feasible solution. In multi-target route planning, a route represents the sequential sequence of the robot passing through the target points;
[0010] Step 4: Set the initial parameters, including the total number of routes n, the number of target points m, the maximum number of groups K, the probability value of selecting the number of central routes p, the maximum number of iterations iter_max, and the initial value of the number of iterations iter=1;
[0011] Step 5: Generate n routes randomly to form a route population, and calculate the fitness value of each route using formula (1):
[0012]
[0013] Among them, d(v i-1 ,v i ) represents the target point v i-1 to v i The shortest obstacle avoidance distance, v i Represents the position of the i-th target point;
[0014] Step 6: Gaussian mixture model clustering, the process is as follows:
[0015] a) Treat the fitness value of each route as its own class y i ,i=1,2,…n;
[0016] b) Change y i Input into the maximum expectation algorithm to obtain the mean a required by the Gaussian model k and covariance θ k Parameter,k∈[1,K];
[0017] c) a k ,θ k Substitute the distribution probability of each route into the model, and divide all routes into K groups according to the distribution probability;
[0018] Step 7: Randomly generate a random number R∈(0,1). If the random number is less than p, go to step 8, otherwise go to step 9;
[0019] Step 8: Single route optimization, randomly select a route and perform insertion operation to generate a new route;
[0020] Step 9: Optimization between two routes, randomly selecting routes from two different groups for crossover operation to generate a new route;
[0021] Step 10: Compare the fitness values of the new and old routes. If the fitness value of the new route is higher than that of the old route, replace the original route;
[0022] Step 11: Have all routes been updated? If yes, jump to step 12; otherwise, jump to step 7;
[0023] Step 12: Check whether the maximum number of iterations has been reached. If yes, output the optimal route. Otherwise, add 1 to iter and jump to step 6.
[0024] Step 13: Based on the route obtained in step 12, use the A* algorithm to plan a path in the map.
[0025] The beneficial effects of the present invention are mainly manifested in that when there are small and medium-sized target points, since the K-means clustering algorithm used in traditional brainstorming uses a distance model-based basis for clustering, the clustering result is greatly affected by the initial clustering center. If the initial clustering center is too close, the algorithm will fall into a local optimum. In order to replace the K-means algorithm with a Gaussian mixture clustering algorithm in the present invention, since Gaussian mixture clustering is based on a distribution model for clustering, clustering through probability greatly reduces the influence of the initial clustering center on the clustering result, improves the robustness of the algorithm, and reduces the probability of the algorithm being in the local optimum. BRIEF DESCRIPTION OF THE DRAWINGS
[0026] Figure 1 It is a flow chart of the present invention.
[0027] Figure 2 This is the planned route based on the traditional brainstorming algorithm, where the white area represents the obstacle-free drivable area, the black area represents the obstacle, the dark gray area represents the target point, and the light gray area is the actual driving map of the robot.
[0028] Figure 3 This is the planned route based on the improved brainstorming algorithm, where the white area represents the obstacle-free drivable area, the black area represents the obstacle, the dark gray area represents the target point, and the light gray area represents the actual driving map of the robot. DETAILED DESCRIPTION
[0029] The present invention will be further described below in conjunction with the accompanying drawings.
[0030] Reference Figure 1 to Figure 3 , a mobile robot multi-route planning method based on brainstorming optimization, comprising the following steps:
[0031] Step 1: Use the mobile robot's built-in camera, sonar ring, and infrared sensor to collect the mobile robot's working environment information, including all target point coordinate information, and rasterize the map;
[0032] Step 2: Using the coordinate information of each target point, calculate the shortest obstacle avoidance distance between target points and establish a distance matrix;
[0033] Step 3: Encode all target points by integers; a route represents a potential feasible solution. In multi-target route planning, a route represents the sequential sequence of the robot passing through the target points;
[0034] Step 4: Set the initial parameters, including the total number of routes n, the number of target points m, the maximum number of groups K, the probability value of selecting the number of central routes p, the maximum number of iterations iter_max, and the initial value of the number of iterations iter=1;
[0035] Step 5: Generate n routes randomly to form a route population, and calculate the fitness value of each route using formula (1):
[0036]
[0037] Among them, d(v i-1 ,v i ) represents the target point v i-1 to v i The shortest obstacle avoidance distance, v i Represents the position of the i-th target point;
[0038] Step 6: Gaussian mixture model clustering, the process is as follows:
[0039] a) Treat the fitness value of each route as its own class y i ,i=1,2,…n
[0040] b) Change y i Input into the maximum expectation algorithm to obtain the mean a required by the Gaussian model k and covariance θ k Parameter,k∈[1,K];
[0041] c) a k ,θ k Substitute the distribution probability of each route into the model, and divide all routes into K groups according to the distribution probability;
[0042] Step 7: Randomly generate a random number R∈(0,1). If the random number is less than p, go to step 8, otherwise go to step 9;
[0043] Step 8: Single route optimization, randomly select a route and perform insertion operation to generate a new route;
[0044] Step 9: Optimization between two routes, randomly selecting routes from two different groups for crossover operation to generate a new route;
[0045] Step 10: Compare the fitness values of the new and old routes. If the fitness value of the new route is higher than that of the old route, replace the original route;
[0046] Step 11: Have all routes been updated? If yes, jump to step 12; otherwise, jump to step 7;
[0047] Step 12: Check whether the maximum number of iterations has been reached. If yes, output the optimal route. Otherwise, add 1 to iter and jump to step 6.
[0048] Step 13: Based on the route obtained in step 12, use the A* algorithm to plan a path in the map.
[0049] In order to verify the feasibility and effectiveness of the present invention, simulation experiments were carried out using maps of the same size and the same number of target points. The computer performance parameters used for simulation are: AMD Ryzen 5 4600U with Radeon Graphics 2.10GHz, 16GB memory size running on Window 10, and Matlab 2020b software was used to perform simulation experiments, and the route planning of 30 target points was verified on an 80×170 grid map.
[0050] Under the same map environment and the same number of target points, the simulation results of the planned route based on the traditional brainstorming algorithm and the planned route based on the improved brainstorming optimization proposed by the present invention are shown as follows: Figure 2 and Figure 3 As shown;
[0051] The experimental results show that under the same conditions, the total length of the route planned by the brainstorming algorithm after changing the clustering method is shorter; therefore, compared Figure 2 and Figure 3 It can be seen that the method of the present invention is superior to the traditional multi-robot route planning method.
[0052] The above is an embodiment of the present invention. It should be pointed out that for those skilled in the art, any modification or adaptation thereof without departing from the present invention is deemed to be within the protection scope of the present invention.
Claims
1. A mobile robot multi-route planning method based on brainstorming optimization, characterized in that: The method comprises the following steps: Step 1: Use the mobile robot's built-in camera, sonar ring, and infrared sensor to collect the mobile robot's working environment information, including all target point coordinate information, and rasterize the map; Step 2: Using the coordinate information of each target point, calculate the shortest obstacle avoidance distance between target points and establish a distance matrix; Step 3: Encode all target points by integers; a route represents a potential feasible solution. In multi-target route planning, a route represents the sequential sequence of the robot passing through the target points; Step 4: Set the initial parameters, including the total number of routes n, the number of target points m, the maximum number of groups K, the probability value of selecting the number of central routes p, the maximum number of iterations iter_max, and the initial value of the number of iterations iter=1; Step 5: Generate n routes randomly to form a route population, and calculate the fitness value of each route using formula (1): Among them, d(v i-1 ,v i ) represents the target point v i-1 to v i The shortest obstacle avoidance distance, v i Represents the position of the i-th target point; Step 6: Gaussian mixture model clustering, the process is as follows: a) Treat the fitness value of each route as its own class y i ,i=1,2,…n; b) Change y i Input into the maximum expectation algorithm to obtain the mean a required by the Gaussian model k and covariance θ k Parameter,k∈[1,K]; c) a k ,θ k Substitute the distribution probability of each route into the model, and divide all routes into K groups according to the distribution probability; Step 7: Randomly generate a random number R∈(0,1). If the random number is less than p, go to step 8, otherwise go to step 9; Step 8: Single route optimization, randomly select a route and perform insertion operation to generate a new route; Step 9: Optimization between two routes, randomly selecting routes from two different groups for crossover operation to generate a new route; Step 10: Compare the fitness values of the new and old routes. If the fitness value of the new route is higher than that of the old route, replace the original route; Step 11: Have all routes been updated? If yes, jump to step 12; otherwise, jump to step 7; Step 12: Check whether the maximum number of iterations has been reached. If yes, output the optimal route. Otherwise, add 1 to iter and jump to step 6. Step 13: Based on the route obtained in step 12, use the A* algorithm to plan a path in the map.
