Intelligent obstacle avoidance path planning method and device, vehicle and storage medium

By combining the distribution estimation algorithm and the genetic algorithm, the path population is generated and optimized, which solves the problem that the existing obstacle avoidance algorithm easily falls into local optimality, improves the accuracy and efficiency of path planning, and achieves the acquisition of the global optimal path.

CN118776579APending Publication Date: 2024-10-15BEIJING AUTOMOBILE RES GENERAL INST
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410793002.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-19
Publication Date
2024-10-15

AI Technical Summary

Technical Problem

Existing obstacle avoidance algorithms are prone to falling into local optima and cannot obtain the optimal path solution, resulting in insufficient path planning accuracy.

Method used

Combining the distribution estimation algorithm and the genetic algorithm, the initial path population is generated, and the optimal path is selected through evaluation function sorting, and iterative optimization is performed to avoid local optimality and improve the accuracy of path planning.

Benefits of technology

Through the combination of distribution estimation algorithm and genetic algorithm, local optimality is effectively avoided, the search performance and accuracy of path planning are improved, and the global optimal path solution is obtained.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118776579A_ABST
    Figure CN118776579A_ABST
Patent Text Reader

Abstract

The invention relates to a path planning method and device for intelligent obstacle avoidance, a vehicle and a storage medium. Comprising the following steps: respectively calculating an initial path population based on a preset distribution estimation algorithm and a preset genetic algorithm to obtain a first path population and a second path population which meet a preset scale; respectively evaluating the first path population and the second path population based on a preset evaluation function, sorting according to the evaluation value of each path, selecting paths ranked in a preset ranking range to generate a new initial path population, and re-calculating the new initial path population based on a preset genetic algorithm and a preset genetic algorithm; and selecting an optimal path from the corresponding new initial path population when the number of iterations meets a preset iteration condition as a target path planning solution. Therefore, the genetic algorithm and the distribution estimation algorithm are combined for obstacle avoidance path planning, the problem that an existing obstacle avoidance algorithm is prone to falling into local optimum and cannot obtain an optimal path solution is solved, and the accuracy of path planning is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of intelligent decision-making technology, and in particular to an intelligent obstacle avoidance path planning method, device, vehicle and storage medium. Background Art

[0002] When driving, an autonomous vehicle needs to obtain obstacle information through the environmental perception module, make planning decisions based on the obstacle information, and calculate a local planning route based on the global navigation path that takes the shortest time and meets obstacle avoidance constraints.

[0003] In the related technologies, commonly used path optimization algorithms include traditional obstacle avoidance algorithms such as artificial potential field method and virtual force field method, as well as intelligent optimization algorithms such as genetic algorithm, differential evolution algorithm, fuzzy control algorithm, ant colony algorithm, distribution estimation algorithm, and particle swarm algorithm.

[0004] However, whether using traditional obstacle avoidance algorithms or a single intelligent optimization algorithm, it is easy to fall into local optimality and fail to obtain the optimal path solution, which needs to be solved urgently. Summary of the invention

[0005] The present application provides a path planning method, device, vehicle and storage medium for intelligent obstacle avoidance to solve the problem that the existing obstacle avoidance algorithm is prone to fall into local optimum and cannot obtain the optimal path solution, thereby improving the accuracy of path planning.

[0006] To achieve the above objectives, the first embodiment of the present application proposes a path planning method for intelligent obstacle avoidance, comprising the following steps:

[0007] Generate an initial path population that meets a preset scale, and calculate the initial path population based on a preset distribution estimation algorithm to obtain a first path population that meets the preset scale, and calculate the initial path population based on a preset genetic algorithm to obtain a second path population that meets the preset scale;

[0008] Based on a preset evaluation function, the first path population and the second path population are evaluated respectively to obtain an evaluation value of each path, and the paths are sorted according to the evaluation value of each path according to a preset sorting rule, and paths ranked within a preset ranking range are selected to generate a new initial path population, and the step of calculating the initial path population based on a preset genetic algorithm to obtain a first path population of a preset scale is re-executed;

[0009] When the number of iterations meets a preset iteration condition, an optimal path is selected from a new initial path population corresponding to the preset iteration condition as a target path planning solution, so as to perform path planning according to the target path planning solution.

[0010] According to an embodiment of the present application, generating an initial path population that meets a preset scale includes:

[0011] Obtaining path planning information, the path planning information includes waypoint coordinates, the number of waypoints and obstacle information of the motion trajectory, and the obstacle information includes obstacle coordinates and obstacle range information;

[0012] Obtaining control variables based on the waypoint coordinates, the number of waypoints and obstacle information of the motion trajectory, wherein the control variables include a population size and a number of iterations;

[0013] The path planning information and the control variables are initialized, and an initial path population of the preset size is randomly generated according to the initialization result.

[0014] According to one embodiment of the present application, the initializing the path planning information and the control variable includes:

[0015] Initializing the obstacle coordinates and the obstacle range information as a prohibited area;

[0016] The population size and the number of iterations are initialized.

[0017] According to an embodiment of the present application, the initial path population is calculated based on a preset distribution estimation algorithm to obtain a first path population that meets the preset scale, including:

[0018] Determine a passable path population based on the initial path population, and establish a probability model of the passable path population based on a preset Gaussian distribution strategy and the passable path population;

[0019] Sampling the probability model to obtain a new population of paths that are allowed to pass;

[0020] Based on the initial path population and the new allowed path population, a first path population that meets the preset scale is obtained.

[0021] According to an embodiment of the present application, the initial path population is calculated based on a preset genetic algorithm to obtain a second path population that meets the preset scale, including:

[0022] Based on a preset crossover probability, performing a crossover operation on any two paths in the initial path population to obtain a crossover result;

[0023] Based on a preset mutation probability, arbitrarily select a path from the initial path population to perform a mutation operation to obtain a mutation result;

[0024] A second path population satisfying the preset scale is obtained according to the crossover result and the mutation result.

[0025] According to the intelligent obstacle avoidance path planning method proposed in the embodiment of the present application, the initial path population is calculated based on the preset distribution estimation algorithm and the preset genetic algorithm respectively, and the first path population and the second path population that meet the preset scale are obtained; the first and second path populations are evaluated respectively based on the preset evaluation function, and the evaluation value of each path is sorted, and the paths ranked in the preset ranking range are selected to generate a new initial path population, and the new initial path population is recalculated based on the preset genetic algorithm and the preset genetic algorithm; the optimal path is selected as the target path planning solution from the new initial path population corresponding to the number of iterations that meets the preset iteration conditions. Therefore, by combining the genetic algorithm and the distribution estimation algorithm for obstacle avoidance path planning, the problem that the existing obstacle avoidance algorithm is prone to fall into the local optimum and cannot obtain the optimal path solution is solved, and the accuracy of path planning is improved.

[0026] To achieve the above-mentioned purpose, the second embodiment of the present application proposes a path planning device for intelligent obstacle avoidance, comprising:

[0027] A calculation module, used to generate an initial path population that meets a preset scale, and calculate the initial path population based on a preset distribution estimation algorithm to obtain a first path population that meets the preset scale, and calculate the initial path population based on a preset genetic algorithm to obtain a second path population that meets the preset scale;

[0028] An evaluation module, used for evaluating the first path population and the second path population respectively based on a preset evaluation function to obtain an evaluation value of each path, and sorting the paths according to the evaluation value of each path according to a preset sorting rule, selecting paths ranked within a preset ranking range to generate a new initial path population, and re-executing the step of calculating the initial path population based on a preset genetic algorithm to obtain a first path population of a preset size;

[0029] The selection module is used to select the optimal path as the target path planning solution from the new initial path population corresponding to the preset iteration condition when the number of iterations meets the preset iteration condition, so as to perform path planning according to the target path planning solution.

[0030] According to one embodiment of the present application, the computing module includes:

[0031] An acquisition unit, used to acquire path planning information, the path planning information includes waypoint coordinates, the number of waypoints and obstacle information of the motion trajectory, and the obstacle information includes obstacle coordinates and obstacle range information;

[0032] An obtaining unit, configured to obtain control variables based on the waypoint coordinates, the number of waypoints and obstacle information of the motion trajectory, wherein the control variables include a population size and an iteration number;

[0033] An initialization unit is used to initialize the path planning information and the control variables, and randomly generate an initial path population of a preset size according to the initialization result.

[0034] According to one embodiment of the present application, the initialization unit is specifically used to:

[0035] Initializing the obstacle coordinates and the obstacle range information as a prohibited area;

[0036] The population size and the number of iterations are initialized.

[0037] According to one embodiment of the present application, the computing module is specifically used for:

[0038] Determine a passable path population based on the initial path population, and establish a probability model of the passable path population based on a preset Gaussian distribution strategy and the passable path population;

[0039] Sampling the probability model to obtain a new population of paths that are allowed to pass;

[0040] Based on the initial path population and the new allowed path population, a first path population that meets the preset scale is obtained.

[0041] According to one embodiment of the present application, the computing module is specifically used for:

[0042] Based on a preset crossover probability, performing a crossover operation on any two paths in the initial path population to obtain a crossover result;

[0043] Based on a preset mutation probability, arbitrarily select a path from the initial path population to perform a mutation operation to obtain a mutation result;

[0044] A second path population satisfying the preset scale is obtained according to the crossover result and the mutation result.

[0045] According to the intelligent obstacle avoidance path planning device proposed in the embodiment of the present application, the initial path population is calculated based on the preset distribution estimation algorithm and the preset genetic algorithm respectively to obtain the first path population and the second path population that meet the preset scale; the first and second path populations are evaluated based on the preset evaluation function respectively, and the evaluation values ​​of each path are sorted, and the paths ranked in the preset ranking range are selected to generate a new initial path population, and the new initial path population is recalculated based on the preset genetic algorithm and the preset genetic algorithm; the optimal path is selected as the target path planning solution from the new initial path population corresponding to the number of iterations that meets the preset iteration conditions. Therefore, by combining the genetic algorithm and the distribution estimation algorithm for obstacle avoidance path planning, the problem that the existing obstacle avoidance algorithm is prone to fall into the local optimum and cannot obtain the optimal path solution is solved, and the accuracy of path planning is improved.

[0046] To achieve the above objectives, the third aspect of the present application proposes a vehicle, comprising: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the program to implement the intelligent obstacle avoidance path planning method as described in the above embodiments.

[0047] To achieve the above objectives, the fourth aspect of the present application proposes a computer-readable storage medium on which a computer program is stored, and the program is executed by a processor to implement the intelligent obstacle avoidance path planning method as described in the above embodiments.

[0048] Additional aspects and advantages of the present application will be given in part in the description below, and in part will become apparent from the description below, or will be learned through the practice of the present application. BRIEF DESCRIPTION OF THE DRAWINGS

[0049] The above and / or additional aspects and advantages of the present application will become apparent and easily understood from the following description of the embodiments in conjunction with the accompanying drawings, in which:

[0050] Figure 1 A flow chart of a path planning method for intelligent obstacle avoidance provided according to an embodiment of the present application;

[0051] Figure 2 A flowchart of another intelligent obstacle avoidance path planning method provided according to an embodiment of the present application;

[0052] Figure 3 A block diagram of a path planning device for intelligent obstacle avoidance provided according to an embodiment of the present application;

[0053] Figure 4 It is a schematic diagram of the structure of a vehicle provided according to an embodiment of the present application. DETAILED DESCRIPTION

[0054] The embodiments of the present application are described in detail below, and examples of the embodiments are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements having the same or similar functions. The embodiments described below with reference to the accompanying drawings are exemplary and are intended to be used to explain the present application, and should not be construed as limiting the present application.

[0055] The following describes the intelligent obstacle avoidance path planning method, device, vehicle and storage medium proposed in accordance with the embodiments of the present application with reference to the accompanying drawings.

[0056] Figure 1 It is a flow chart of a path planning method for intelligent obstacle avoidance according to an embodiment of the present application.

[0057] For example, Figure 1 As shown, the intelligent obstacle avoidance path planning method includes the following steps:

[0058] In step S101, an initial path population that meets a preset scale is generated, and the initial path population is calculated based on a preset distribution estimation algorithm to obtain a first path population that meets the preset scale, and the initial path population is calculated based on a preset genetic algorithm to obtain a second path population that meets the preset scale.

[0059] Among them, the preset distribution estimation algorithm (EDA) is an optimization algorithm based on a probability model, which guides the search process by modeling the probability distribution of the solution space. In the path optimization problem, global statistical information can be directly extracted from the current population, a probability model of candidate solutions can be established, and new candidate solutions can be sampled from the established probability model. EDA uses probability distribution to model, makes full use of global information to generate offspring, quickly extracts feasible domains and finds the global optimum. The preset genetic algorithm (GA) is an optimization algorithm that simulates natural selection and genetic mechanisms. It continuously evolves the population and approaches the optimal solution by performing operations such as selection, crossover and mutation on individuals in the population. In the path optimization problem, the genetic algorithm can regard each path as an individual. The individuals in the population contain some elements required for the optimal solution. Repeated selection and crossover processes will convey these elements to the next generation, and combine them with other basic elements of the optimal solution. This will generate genetic pressure, thereby guiding more and more individuals in the population to contain the elements that constitute the optimal solution. Since a group of candidate solutions is used instead of a single candidate solution, and the diversity of the population is maintained through crossover and mutation operations, premature convergence is avoided.

[0060] That is to say, when solving the path optimization problem, it is first necessary to generate an initial path population containing different paths. The size of the population (i.e., the number of paths) can be set in advance. After generating the initial path population that meets the preset size, the initial path population can be calculated using a preset distribution estimation algorithm to obtain a first path population that meets the preset size, and the initial path population can be calculated using a preset genetic algorithm to obtain a second path population that meets the preset size.

[0061] Therefore, this application uses a preset distribution estimation algorithm and a preset genetic algorithm to construct a vehicle's intelligent obstacle avoidance path planning algorithm, and uses the complementarity of the two in search modes to further improve the search performance and avoid falling into local optimality. The hybrid algorithm has higher search efficiency and higher accuracy, and can obtain the globally optimal path planning solution.

[0062] Among them, in some embodiments, generating an initial path population that meets a preset scale includes: obtaining path planning information, the path planning information includes waypoint coordinates, the number of waypoints and obstacle information of the motion trajectory, and the obstacle information includes obstacle coordinates and obstacle range information; obtaining control variables based on the waypoint coordinates, the number of waypoints and obstacle information of the motion trajectory, and the control variables include population scale and number of iterations; initializing the path planning information and the control variables, and randomly generating an initial path population of a preset scale according to the initialization result.

[0063] Specifically, in order to generate an initial path population that meets the preset scale, the path planning information and control variables can be combined for initialization, and the initial path population can be randomly generated. The path planning information includes the waypoint coordinates (x, y) of the motion trajectory, the number of waypoints and obstacle information. The waypoint coordinates of the motion trajectory refer to the coordinates of a series of points that the vehicle passes through. These points can be starting points, target points or points that must be passed in the middle. The number of waypoints refers to the total number of waypoints in the motion trajectory. The obstacle information includes obstacle coordinates and obstacle range information. The obstacle coordinates represent the center point of the obstacle or the position of a certain reference point, while the obstacle range information describes the size, shape or impact area of ​​the obstacle. The control variables are the key parameters guiding the generation and optimization of the path population. Based on the waypoint coordinates, the number of waypoints and obstacle information of the motion trajectory, two control variables, population size and number of iterations, can be obtained. The selection of population size can balance the computational complexity and the diversity of solutions. The larger the population size, the higher the diversity of solutions, but the computational cost will also increase accordingly. The number of iterations can determine the number and depth of subsequent algorithm searches for the optimal solution. Initialize the path planning information and control variables (i.e., preprocess and standardize), convert the waypoint coordinates into the format or data structure required by the algorithm, set appropriate obstacle avoidance constraints according to the location and range information of the obstacles, and set the relevant parameters of the algorithm according to the population size and number of iterations. Based on the initialization results, an initial path population of a preset size can be randomly generated, that is, according to the randomly selected waypoint coordinates and the number of waypoints, a waypoint sequence is randomly selected, and these waypoints are connected in a certain way (such as straight line connection, curve fitting, etc.) to form a complete path. The generated path can be compared with the obstacle information to ensure that the path does not collide with the obstacle. If the path overlaps with the obstacle, the path needs to be regenerated, and the above steps are repeated until the number of generated paths meets the preset size. In the initial path population, each path X is regarded as an individual, consisting of n waypoint coordinates, that is, X = {(x 1 ,y 1 ),……,(x n ,y n )}.

[0064] Furthermore, in some embodiments, the path planning information and control variables are initialized, including: initializing obstacle coordinates and obstacle range information as a prohibited area; and initializing the population size and the number of iterations.

[0065] Specifically, the obstacle coordinates are initialized, that is, the obstacle coordinates are converted into a format that the algorithm can recognize, generally a point in a two-dimensional or three-dimensional coordinate system; the obstacle range information is initialized, that is, the range information is initialized according to the shape and size of the obstacle, which can be the radius of a circle, the length and width of a rectangle, the vertex coordinates of a polygon, etc. This information reflects the impact area of ​​the obstacle in the environment; based on the initialized obstacle coordinates and obstacle range information, the corresponding prohibited passage area is set in the algorithm (such as by marking the area occupied by the obstacle in the path search space) to ensure that obstacles can be avoided when the algorithm is used to plan the path. The population size and number of iterations are initialized. According to the complexity of the problem and the limitation of computing resources, a suitable population size is set. This value is usually determined based on experience or through multiple experiments. The population size after initialization is N (that is, the preset size is N). According to the scale of the problem and the optimization accuracy, a suitable number of iterations is set, which determines the number of times the algorithm searches and optimizes. The maximum number of iterations after initialization is Gmax.

[0066] For ease of understanding, the following describes in detail how to calculate the initial path population based on a preset distribution estimation algorithm and a preset genetic algorithm to obtain a first path population and a second path population that meet a preset scale.

[0067] As a possible implementation method, in some embodiments, the initial path population is calculated based on a preset distribution estimation algorithm to obtain a first path population that meets a preset scale, including: determining a path population that is allowed to pass based on the initial path population, and establishing a probability model of the path population that is allowed to pass based on a preset Gaussian distribution strategy and the path population that is allowed to pass; sampling the probability model to obtain a new path population that is allowed to pass; and obtaining a first path population that meets the preset scale based on the initial path population and the new path population that is allowed to pass.

[0068] Among them, the preset Gaussian distribution strategy (i.e., normal distribution) is often used to describe the distribution of random variables. It has the characteristics of central tendency and discrete degree, and is suitable for describing the changes in path characteristics in path planning.

[0069] Specifically, after obtaining the initial path population P(G), we can screen out paths that do not collide with obstacles and meet other constraints (such as path length limit, maximum turning angle limit, etc.) according to obstacle information and path planning requirements, and obtain the allowed path population S(G). For the allowed path population S(G), we use the preset Gaussian distribution strategy to establish a probability model (Gaussian mixture distribution model) p(x k) is shown in the following formula (1). The model describes the distribution of the allowed path population in the feature space. The probability model is sampled to obtain a new allowed path population (i.e., a new candidate solution) O(G). Through a preset selection strategy (such as path length, obstacle constraints), based on the initial path population P(G) and the new allowed path population O(G), a path that meets the requirements is selected to obtain the first path population N1 that meets the preset scale.

[0070]

[0071] in, is the j-th dimension edge density function, is the normal distribution of the j-th dimension component of the i-th individual of the k-th generation, is the weight coefficient of Gaussian mixture distribution, i, j, k are all natural numbers.

[0072] As a possible implementation method, in some embodiments, calculations are performed based on a preset genetic algorithm initial path population to obtain a second path population that meets a preset scale, including: based on a preset crossover probability, performing a crossover operation on any two paths in the initial path population to obtain a crossover result; based on a preset mutation probability, arbitrarily selecting a path from the initial path population to perform a mutation operation to obtain a mutation result; and based on the crossover result and the mutation result, obtaining a second path population that meets the preset scale.

[0073] Among them, the preset crossover probability and the preset mutation probability are both values ​​between 0 and 1, which can be pre-set by the user, obtained through a limited number of experiments, or obtained through a limited number of computer simulations, and are not specifically limited here.

[0074] Specifically, in order to increase the diversity of the perturbation parameter vector, any two paths in the initial path population are used as parent paths and crossover operations are performed according to the preset crossover probability Pc, as shown in formula (2). The crossover operation can exchange information at certain positions of the parent path to generate new child paths. The child paths generated after the crossover operation are checked for validity to ensure that the paths will not collide with obstacles and meet other constraints. Only valid paths are retained as crossover results. Any path is selected from the initial path population and mutation operations are performed according to the preset mutation probability, as shown in formula (3). The specific mutation method depends on the representation form of the path. Similarly, the paths generated after the mutation operation are checked for validity, and only valid paths are retained as mutation results. The mutation results and the crossover results are merged into a temporary path population to obtain a second path population N2 that meets the preset scale.

[0075] if(random(0, 1) <Pc){ (2)

[0076] v=x r1,G ;

[0077] x r1,G =x r2,G ;

[0078] x r2,G =v;}

[0079] Among them, r1 and r2 are random exponents, both of which are random values ​​in [1, N] and are integers and different from each other. r1,G is the r1th random individual of the Gth generation, x r2,G is the r2th random individual of the Gth generation, and v is a temporary variable.

[0080] if(random(0, 1) <Pc){ (3)

[0081] x′ k,G =x k,G +δ}

[0082] Among them, δ is the variable step length, at x k,G Randomly generated within the upper and lower boundaries of .

[0083] In step S102, based on a preset evaluation function, the first path population and the second path population are evaluated respectively to obtain an evaluation value of each path, and the paths are sorted according to the evaluation value of each path according to a preset sorting rule, and paths ranked within a preset ranking range are selected to generate a new initial path population, and the initial path population is calculated again based on a preset genetic algorithm to obtain a first path population of a preset scale.

[0084] Specifically, a preset evaluation function (as shown in formula (4)) is used to evaluate each path in the first path population and the second path population, respectively, and an evaluation value of each path is obtained to measure the quality of the path. Among them, H(n) is the total length of the path, and G(n) is the constraint violation function, which reflects the degree of violation of the path under the constraint conditions. The shorter the path length, the more direct the path is, which helps to improve driving efficiency. For each path, check whether it meets the curvature constraint of the moving body and whether it collides with obstacles. According to the degree of violation, a G(n) value is assigned to each path. The smaller the degree of constraint violation, the smaller the G(n) value. The total evaluation value F(n) is calculated by adding H(n) and G(n) of each path to evaluate the overall quality of the path. According to the total evaluation value of each path, each path in the first path population and the second path population is sorted according to the preset sorting rules (i.e., when the degree of path constraint violation is equal, the path with a smaller path length is ranked first; when the degree of path constraint violation is unequal, the path with a smaller degree of constraint violation is ranked first), that is, the shorter the path length and the smaller the degree of illegal constraint, the better the path. If there is a path with a constraint violation degree of 0 in the first path population and the second path population (i.e., no constraint violation), the path with the shortest total path length is selected from all paths with a constraint violation degree of 0 as the optimal path; if the constraint violation degree of all paths in the first path population and the second path population is greater than 0, the path with the smallest constraint violation degree is selected as the optimal path, wherein, if there are multiple paths with the same and smallest constraint violation degree, the path with the shortest path length is selected as the optimal path. According to the sorting results, the paths within the preset ranking range (i.e. the top N with smaller evaluation values) are selected to generate a new initial path population. This new initial path population is used as the input of the next round of preset genetic algorithm and preset distribution estimation algorithm for iterative optimization calculation.

[0085] F(n)=H(n)+G(n); (4)

[0086] Among them, H(n) is the evaluation index, that is, the total length of the path, G(n) is the constraint violation function, and the constraints include the curvature constraint of the moving body and the obstacle constraint.

[0087] In step S103, when the number of iterations meets the preset iteration condition, the optimal path is selected from the new initial path population corresponding to the preset iteration condition as the target path planning solution, so as to perform path planning according to the target path planning solution.

[0088] That is to say, when the current number of iterations meets the preset iteration conditions (that is, the current number of iterations is greater than or equal to the maximum number of iterations Gmax), the algorithm is stopped, and the optimal path is selected from the new initial path population corresponding to the preset iteration conditions as the target path planning solution, so as to perform path planning.

[0089] To facilitate those skilled in the art to further understand the intelligent obstacle avoidance path planning method proposed in the embodiment of the present application, Figure 2 For further elaboration.

[0090] like Figure 2 As shown, the intelligent obstacle avoidance path planning method includes the following steps:

[0091] Step S201, obtain path planning information: waypoint coordinates (x, y) and the number of waypoints n, forming individual information X = {(x 1 ,y 1 ),……,(x n ,y n )}.

[0092] Step S202, initializing population information: population size N, maximum number of generations Gmax, i=1, randomly generating an initial path population with a modulus of N.

[0093] Step S203: Use the EDA algorithm to perform probability model algorithm calculation on the current solution to obtain a solution N1 of scale N.

[0094] Step S204: Use the GA algorithm to perform genetic algorithm calculation on the current solution to obtain a solution N2 of scale N.

[0095] Step S205, sort N1 and N2 according to the evaluation values, and select the top N populations as the next generation initial path population.

[0096] Step S206, determine whether the number of iterations i is greater than or equal to the maximum number of generations Gmax. If yes, execute step S207, otherwise, execute step S203.

[0097] Step S207: output the optimal planning solution.

[0098] According to the intelligent obstacle avoidance path planning method proposed in the embodiment of the present application, the initial path population is calculated based on the preset distribution estimation algorithm and the preset genetic algorithm respectively, and the first path population and the second path population that meet the preset scale are obtained; the first and second path populations are evaluated respectively based on the preset evaluation function, and the evaluation value of each path is sorted, and the paths ranked in the preset ranking range are selected to generate a new initial path population, and the new initial path population is recalculated based on the preset genetic algorithm and the preset genetic algorithm; the optimal path is selected as the target path planning solution from the new initial path population corresponding to the number of iterations that meets the preset iteration conditions. Therefore, by combining the genetic algorithm and the distribution estimation algorithm for obstacle avoidance path planning, the problem that the existing obstacle avoidance algorithm is prone to fall into the local optimum and cannot obtain the optimal path solution is solved, and the accuracy of path planning is improved.

[0099] Next, the intelligent obstacle avoidance path planning device proposed in accordance with the embodiment of the present application is described with reference to the accompanying drawings.

[0100] Figure 3 It is a block diagram of a path planning device for intelligent obstacle avoidance according to an embodiment of the present application.

[0101] like Figure 3 As shown, the intelligent obstacle avoidance path planning device 10 includes: a calculation module 100, an evaluation module 200 and a selection module 300.

[0102] The calculation module 100 is used to generate an initial path population that meets a preset scale, and calculate the initial path population based on a preset distribution estimation algorithm to obtain a first path population that meets the preset scale, and calculate based on a preset genetic algorithm initial path population to obtain a second path population that meets the preset scale;

[0103] Evaluation module 200, used to evaluate the first path population and the second path population respectively based on a preset evaluation function to obtain an evaluation value of each path, and sort the paths according to the evaluation value of each path according to a preset sorting rule, select paths ranked within a preset ranking range to generate a new initial path population, and re-execute the step of calculating the initial path population based on a preset genetic algorithm to obtain a first path population of a preset size;

[0104] The selection module 300 is used to select the best path as the target path planning solution from the new initial path population corresponding to the preset iteration condition when the number of iterations meets the preset iteration condition, so as to perform path planning according to the target path planning solution.

[0105] Furthermore, in some embodiments, the computing module 100 includes:

[0106] An acquisition unit, used to acquire path planning information, the path planning information includes waypoint coordinates, the number of waypoints and obstacle information of the motion trajectory, and the obstacle information includes obstacle coordinates and obstacle range information;

[0107] An acquisition unit is used to obtain control variables based on the waypoint coordinates, the number of waypoints and obstacle information of the motion trajectory, and the control variables include population size and iteration number;

[0108] The initialization unit is used to initialize the path planning information and control variables, and randomly generate an initial path population of a preset size according to the initialization result.

[0109] Further, in some embodiments, the initialization unit is specifically used to:

[0110] Initialize obstacle coordinates and obstacle range information as a prohibited area;

[0111] Initialize the population size and number of iterations.

[0112] Furthermore, in some embodiments, the computing module 100 is specifically configured to:

[0113] Determine a passable path population based on the initial path population, and establish a probability model of the passable path population based on a preset Gaussian distribution strategy and the passable path population;

[0114] Sampling the probability model to obtain a new population of paths that are allowed to pass;

[0115] Based on the initial path population and the new allowed path population, a first path population that meets a preset scale is obtained.

[0116] Furthermore, in some embodiments, the computing module 100 is specifically configured to:

[0117] Based on the preset crossover probability, a crossover operation is performed on any two paths in the initial path population to obtain a crossover result;

[0118] Based on the preset mutation probability, a path is randomly selected from the initial path population for mutation operation to obtain the mutation result;

[0119] According to the crossover results and the mutation results, a second path population that meets the preset size is obtained.

[0120] It should be noted that the aforementioned explanation of the embodiment of the intelligent obstacle avoidance path planning method is also applicable to the intelligent obstacle avoidance path planning device of this embodiment, and will not be repeated here.

[0121] According to the intelligent obstacle avoidance path planning device proposed in the embodiment of the present application, the initial path population is calculated based on the preset distribution estimation algorithm and the preset genetic algorithm respectively to obtain the first path population and the second path population that meet the preset scale; the first and second path populations are evaluated based on the preset evaluation function respectively, and the evaluation values ​​of each path are sorted, and the paths ranked in the preset ranking range are selected to generate a new initial path population, and the new initial path population is recalculated based on the preset genetic algorithm and the preset genetic algorithm; the optimal path is selected as the target path planning solution from the new initial path population corresponding to the number of iterations that meets the preset iteration conditions. Therefore, by combining the genetic algorithm and the distribution estimation algorithm for obstacle avoidance path planning, the problem that the existing obstacle avoidance algorithm is prone to fall into the local optimum and cannot obtain the optimal path solution is solved, and the accuracy of path planning is improved.

[0122] Figure 4 A schematic diagram of the structure of a vehicle provided in an embodiment of the present application. The vehicle may include:

[0123] Memory 401 , processor 402 , and a computer program stored in the memory 401 and executable on the processor 402 .

[0124] When the processor 402 executes the program, the intelligent obstacle avoidance path planning method provided in the above embodiment is implemented.

[0125] Furthermore, the vehicle also includes:

[0126] The communication interface 403 is used for communication between the memory 401 and the processor 402 .

[0127] The memory 401 is used to store computer programs that can be executed on the processor 402 .

[0128] The memory 401 may include a high-speed RAM (Random Access Memory) memory, and may also include a non-volatile memory, such as at least one disk memory.

[0129] If the memory 401, the processor 402 and the communication interface 403 are implemented independently, the communication interface 403, the memory 401 and the processor 402 can be connected to each other through a bus and communicate with each other. The bus can be an ISA (Industry Standard Architecture) bus, a PCI (Peripheral Component Interconnect) bus or an EISA (Extended Industry Standard Architecture) bus, etc. The bus can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Figure 4 Only one thick line is used in the diagram, but this does not mean that there is only one bus or only one type of bus.

[0130] Optionally, in a specific implementation, if the memory 401, the processor 402 and the communication interface 403 are integrated on a chip, the memory 401, the processor 402 and the communication interface 403 can communicate with each other through an internal interface.

[0131] The processor 402 may be a CPU (Central Processing Unit), or an ASIC (Application Specific Integrated Circuit), or one or more integrated circuits configured to implement the embodiments of the present application.

[0132] An embodiment of the present application also provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the above-mentioned intelligent obstacle avoidance path planning method.

[0133] In addition, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Therefore, the features defined as "first" and "second" may explicitly or implicitly include at least one of the features. In the description of this application, the meaning of "plurality" is at least two, such as two, three, etc., unless otherwise clearly and specifically defined.

[0134] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "example", "specific example", or "some examples" etc. means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present application. In this specification, the schematic representations of the above terms are not necessarily directed to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner. In addition, those skilled in the art may combine and combine the different embodiments or examples described in this specification and the features of the different embodiments or examples, without contradiction.

[0135] Although the embodiments of the present application have been shown and described above, it can be understood that the above embodiments are exemplary and cannot be understood as limitations on the present application. Ordinary technicians in the field can change, modify, replace and modify the above embodiments within the scope of the present application.

Claims

1. A path planning method for intelligent obstacle avoidance, characterized in that: The following steps are involved: Generate an initial path population that meets a preset scale, and calculate the initial path population based on a preset distribution estimation algorithm to obtain a first path population that meets the preset scale, and calculate the initial path population based on a preset genetic algorithm to obtain a second path population that meets the preset scale; Based on a preset evaluation function, the first path population and the second path population are evaluated respectively to obtain an evaluation value of each path, and the paths are sorted according to the evaluation value of each path according to a preset sorting rule, and paths ranked within a preset ranking range are selected to generate a new initial path population, and the step of calculating the initial path population based on a preset genetic algorithm to obtain a first path population of a preset scale is re-executed; When the number of iterations meets a preset iteration condition, an optimal path is selected from a new initial path population corresponding to the preset iteration condition as a target path planning solution, so as to perform path planning according to the target path planning solution.

2. The method according to claim 1, characterized in that: The generating of an initial path population meeting a preset scale includes: Obtaining path planning information, the path planning information includes waypoint coordinates, the number of waypoints and obstacle information of the motion trajectory, and the obstacle information includes obstacle coordinates and obstacle range information; Obtaining control variables based on the waypoint coordinates, the number of waypoints and obstacle information of the motion trajectory, wherein the control variables include population size and number of iterations; The path planning information and the control variables are initialized, and an initial path population of the preset size is randomly generated according to the initialization result.

3. The method according to claim 2, characterized in that The initializing the path planning information and the control variables includes: Initializing the obstacle coordinates and the obstacle range information as a prohibited area; The population size and the number of iterations are initialized.

4. The method according to claim 1, characterized in that: The calculating of the initial path population based on the preset distribution estimation algorithm to obtain the first path population that meets the preset scale includes: Determine a passable path population based on the initial path population, and establish a probability model of the passable path population based on a preset Gaussian distribution strategy and the passable path population; Sampling the probability model to obtain a new population of paths that are allowed to pass; Based on the initial path population and the new allowed path population, a first path population that meets the preset scale is obtained.

5. The method according to claim 1, characterized in that The calculating of the initial path population based on the preset genetic algorithm to obtain a second path population that meets the preset scale includes: Based on a preset crossover probability, performing a crossover operation on any two paths in the initial path population to obtain a crossover result; Based on a preset mutation probability, arbitrarily select a path from the initial path population to perform a mutation operation to obtain a mutation result; A second path population satisfying the preset scale is obtained according to the crossover result and the mutation result.

6. An intelligent obstacle avoidance path planning device, characterized in that: include: A calculation module, used to generate an initial path population that meets a preset scale, and calculate the initial path population based on a preset distribution estimation algorithm to obtain a first path population that meets the preset scale, and calculate the initial path population based on a preset genetic algorithm to obtain a second path population that meets the preset scale; An evaluation module, used for evaluating the first path population and the second path population respectively based on a preset evaluation function to obtain an evaluation value of each path, and sorting the paths according to the evaluation value of each path according to a preset sorting rule, selecting paths ranked within a preset ranking range to generate a new initial path population, and re-executing the step of calculating the initial path population based on a preset genetic algorithm to obtain a first path population of a preset size; The selection module is used to select the optimal path as the target path planning solution from the new initial path population corresponding to the preset iteration condition when the number of iterations meets the preset iteration condition, so as to perform path planning according to the target path planning solution.

7. The device according to claim 6, characterized in that The computing module comprises: An acquisition unit, used to acquire path planning information, the path planning information includes waypoint coordinates, the number of waypoints and obstacle information of the motion trajectory, and the obstacle information includes obstacle coordinates and obstacle range information; An obtaining unit, configured to obtain control variables based on the waypoint coordinates, the number of waypoints and obstacle information of the motion trajectory, wherein the control variables include a population size and an iteration number; An initialization unit is used to initialize the path planning information and the control variables, and randomly generate an initial path population of a preset size according to the initialization result.

8. The device according to claim 7, characterized in that The initialization unit is specifically used for: Initializing the obstacle coordinates and the obstacle range information as a prohibited area; The population size and the number of iterations are initialized.

9. A vehicle, characterized in that: include: A memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the program to implement the intelligent obstacle avoidance path planning method as described in any one of claims 1 to 5.

10. A computer-readable storage medium having a computer program stored thereon, characterized in that: The program is executed by a processor to implement the intelligent obstacle avoidance path planning method as described in any one of claims 1 to 5.