CN115454067A - Path planning method based on fusion algorithm - Google Patents

Path planning method based on fusion algorithm Download PDF

Info

Publication number
CN115454067A
CN115454067A CN202211105650.3A CN202211105650A CN115454067A CN 115454067 A CN115454067 A CN 115454067A CN 202211105650 A CN202211105650 A CN 202211105650A CN 115454067 A CN115454067 A CN 115454067A
Authority
CN
China
Prior art keywords
algorithm
path
wolf
pheromone
heuristic
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Withdrawn
Application number
CN202211105650.3A
Other languages
Chinese (zh)
Inventor
李慧
陈飞
骆万博
刘越
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Changchun University of Technology
Original Assignee
Changchun University of Technology
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Changchun University of Technology filed Critical Changchun University of Technology
Priority to CN202211105650.3A priority Critical patent/CN115454067A/en
Publication of CN115454067A publication Critical patent/CN115454067A/en
Withdrawn legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05DSYSTEMS FOR CONTROLLING OR REGULATING NON-ELECTRIC VARIABLES
    • G05D1/00Control of position, course, altitude or attitude of land, water, air or space vehicles, e.g. using automatic pilots
    • G05D1/02Control of position or course in two dimensions
    • G05D1/021Control of position or course in two dimensions specially adapted to land vehicles
    • G05D1/0212Control of position or course in two dimensions specially adapted to land vehicles with means for defining a desired trajectory
    • G05D1/0221Control of position or course in two dimensions specially adapted to land vehicles with means for defining a desired trajectory involving a learning process
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05DSYSTEMS FOR CONTROLLING OR REGULATING NON-ELECTRIC VARIABLES
    • G05D1/00Control of position, course, altitude or attitude of land, water, air or space vehicles, e.g. using automatic pilots
    • G05D1/02Control of position or course in two dimensions
    • G05D1/021Control of position or course in two dimensions specially adapted to land vehicles
    • G05D1/0212Control of position or course in two dimensions specially adapted to land vehicles with means for defining a desired trajectory
    • G05D1/0223Control of position or course in two dimensions specially adapted to land vehicles with means for defining a desired trajectory involving speed control of the vehicle

Landscapes

  • Engineering & Computer Science (AREA)
  • Aviation & Aerospace Engineering (AREA)
  • Radar, Positioning & Navigation (AREA)
  • Remote Sensing (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Automation & Control Theory (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The invention provides a path planning method based on a fusion algorithm. The gray wolf algorithm is fused with the improved ant colony algorithm, and the defects that the traditional method is high in randomness, prone to non-optimal planning paths and slow in convergence are overcome. The method comprises the following steps: 1. the route is pre-searched by utilizing the gray wolf algorithm, and the obtained optimal solution is introduced into an pheromone model of the ant colony algorithm so as to solve the problem of invalid route search caused by the lack of pheromones in the early stage of the ant colony algorithm. 2. And modifying the heuristic information of the ant colony algorithm, adding corner constraint in a heuristic function, reducing the redundancy of the path, adaptively updating the heuristic factor, and dynamically adjusting the importance of the heuristic factor and the heuristic factor. 3. And a pseudo-random strategy is adopted to select a path, so that the convergence of the algorithm is accelerated, and the balance between conversion rate adjustment determination and randomness is introduced. The fusion algorithm can enable the AGV to quickly search and obtain an optimal collision-free path from the starting node to the target node, so that the transportation efficiency is improved, and the transportation cost is reduced.

Description

Path planning method based on fusion algorithm
Technical Field
The invention relates to the technical field of AGV path planning, in particular to a path planning method based on a fusion algorithm.
Background
With the progress of computer science and the rapid development of manufacturing level, various industries gradually change from automation to intelligence, and the artificial intelligence technology has become one of the most concerned research fields. The AGV is an intelligent mobile robot integrating multiple functions such as environmental perception, planning decision, intelligent control and the like, and is widely applied to the fields of logistics storage industry, manufacturing industry, wharf carrying and the like. The AGV has changed traditional manufacturing transportation structure, has reduced manpower and materials cost, has promoted manufacturing efficiency.
The path planning is one of important technical contents in the field of artificial intelligence such as an AGV, and the main task of the path planning is to enable the AGV to safely avoid an obstacle to reach a target point position according to certain optimal criteria (such as shortest path and shortest time). There are many researches on path planning algorithms, and the traditional algorithms include an a-star algorithm, a Dijkstra algorithm and the like. The device is concerned with due to the characteristics of simple structure, easy execution and the like. However, they are computationally intensive and the found path is not always optimal. In contrast, intelligent bionic algorithms such as particle swarm, bee colony algorithm and ant colony algorithm are more robust, have better adaptability based on simple individuals and rules, and more people concentrate on the research of the intelligent bionic algorithms on path planning.
The ant colony optimization algorithm is evolved according to the food search mechanism of ants and is mainly used for solving the problems of travelers and trolley path planning. In the algorithm, each ant is equivalent to an agent, the agent selects the next node through the pheromone and the distance, when an agent finds a complete path, the pheromone is updated according to the length of the path, and the higher the concentration of the pheromone is, the higher the probability that the path is selected is. After the iteration is completed, an optimal path is obtained by the algorithm. The ant colony algorithm is well known for its advantages of good environmental adaptability, strong robustness, convenient fusion with other algorithms, and the like, but has strong randomness, and is easy to have the problems of non-optimal planning path, slow convergence, and the like. This may cause the AGV to frequently turn, especially in a complex environment, which may cause a lot of redundant routes or even failure to complete the path planning.
Disclosure of Invention
The invention aims to provide a path planning method based on a fusion algorithm, and aims to solve the problems that the traditional ant colony algorithm is low in search efficiency and easy to fall into local optimization in the background technology.
In order to achieve the purpose, the technical scheme adopted by the invention is as follows:
a path planning method based on a fusion algorithm comprises the following steps:
the method comprises the following steps: and modeling the actual working environment of the AGV by adopting a grid method. The method comprises the following specific steps:
(1) And if the obstacle in the AGV working area is known, determining the position, carrying out two-dimensional gridding treatment on the whole working area, and placing the two-dimensional gridding treatment in a two-dimensional plane coordinate system.
(2) The grid graph is coordinated and digitalized from top to bottom and from left to right, and the corresponding relation is as follows:
Figure BDA0003838155490000011
wherein: n is a radical of x For number of map lines, N y For the number of map columns, mod is the remainder operation, ceil is the rounding operator to the positive infinity, i is the grid number, and a is the length of the grid.
(3) The AGV is regarded as a mass point, the AGV runs at a constant speed in the environment, and the mechanical influence of the AGV per se is ignored.
(4) Enough safety margin is reserved for the expansion treatment of the barrier.
Step two: the method comprises the following steps of generating an initial path for an ant colony algorithm by using a gray wolf algorithm based on obstacle information, wherein the method comprises the following specific steps:
(1) Randomly constructing a wolf population, calculating a population fitness value, and determining alpha, beta, delta and omega wolf.
(2) And (6) tracking. α, β and δ are responsible for finding prey and passing its location information to other wolf individuals:
Figure BDA0003838155490000021
Figure BDA0003838155490000022
Figure BDA0003838155490000023
Figure BDA0003838155490000024
wherein,
Figure BDA0003838155490000025
is the distance between the wolf individual and the prey, t is the number of iterations,
Figure BDA0003838155490000026
is the position of the prey,
Figure BDA0003838155490000027
the position of the gray wolf is the position of the gray wolf,
Figure BDA0003838155490000028
and
Figure BDA0003838155490000029
as a function of the number of the coefficients,
Figure BDA00038381554900000210
for convergence factor, in [0,2]The linear degressive effect is achieved in an inner line,
Figure BDA00038381554900000211
and
Figure BDA00038381554900000212
is [0,1]The random vector of (2).
(3) And (6) performing enclosure catching. After the tracking is finished, the information content of alpha, beta and delta wolf is more, the position of the prey is more known, and the wolf group updates the position along with the information:
Figure BDA00038381554900000213
Figure BDA00038381554900000214
Figure BDA00038381554900000215
wherein,
Figure BDA00038381554900000216
is a distance model of alpha, beta and delta wolf and omega wolf,
Figure BDA00038381554900000217
the direction and step length of the gray wolf movement,
Figure BDA00038381554900000218
the updated position of the wolf pack.
(4) And (6) hunting. To be received
Figure BDA00038381554900000219
Influence when
Figure BDA00038381554900000220
In time, the next position of the wolf pack is infinitely close to the prey, eventually initiating an attack.
(5) The wolf colony hunting route is a route obtained by the grey wolf algorithm, and the new initial pheromone distribution of the ant colony algorithm generated based on the grey wolf algorithm is as follows:
τ ij =τ 0ij GWO
wherein tau is ij Represents the new initial pheromone concentration, tau, obtained after the path pre-search between the ith node and the jth node 0 Is the environment initial pheromone between the two nodes i, j, τ ij GWO is pheromone increment between two nodes i and j, which is used for converting path information obtained by the gray wolf algorithm into the path information.
Step three: ant colony algorithm parameter initialization, m =50,N max =100,ρ=0.2,Q=10,α 0 =1.5,β 0 =7,ω=0.6,λ=0.5,u=0.5。
Step four: the method for improving the heuristic function, the heuristic factor, the transition probability and the pheromone updating strategy of the ant colony algorithm specifically comprises the following steps:
(1) The new heuristic function not only comprehensively considers local and global path information, but also introduces a corner constraint function into the heuristic function, prevents redundant inflection points from appearing in the path, and enhances the guidance of the algorithm.
Figure BDA0003838155490000031
Figure BDA0003838155490000032
Wherein d is ij Is the Euclidean distance of grid i and grid j, d je Is the Euclidean distance of grid j and grid e, d ie Is the Euclidean distance of grid i and grid e, σ is a constant greater than 0, turn represents the direction.
(2) In the initial stage of iteration, ants are greatly influenced by the heuristic function, as the iteration progresses, pheromones gradually dominate the selection of the next position, and the heuristic factor of self-adaptive updating is as follows:
Figure BDA0003838155490000033
Figure BDA0003838155490000034
wherein alpha is 0 For the initial information heuristic factor, beta 0 To initially expect a heuristic factor, N max Is the maximum number of iterations, N is the current number of iterations, α max For maximum value of information heuristic factor, beta min Is the desired heuristic minimum.
(3) Selecting the next node by adopting a random transfer strategy combining deterministic selection development and stochastic selection exploration:
Figure BDA0003838155490000035
Figure BDA0003838155490000036
Figure BDA0003838155490000041
wherein q is 0 Is the conversion rate, representing the threshold of ant selecting the next node, q is uniformly distributed in [0,1]Is used as the random variable.
Figure BDA0003838155490000042
Is the probability that the kth ant goes from the ith grid to the jth grid in the t iteration, λ is a proportionality coefficient, N 0 For the iteration threshold, u is a constant.
(4) When the pheromone is updated, a reinforcement means of the optimal route of the wolf is added on the original basis by combining the elite strategy, and meanwhile, in order to prevent premature convergence caused by continuous increase of the pheromone of the elite strategy, a weight coefficient of self-adaptive attenuation is set:
Figure BDA0003838155490000043
Figure BDA0003838155490000044
Figure BDA0003838155490000045
Figure BDA0003838155490000046
κ(t)=exp(1-ωt)
wherein, tau ij (t + 1) is the concentration of pheromone after updating, rho is the volatilization coefficient of pheromone, m is the number of ants, delta tau ij (t) pheromone increment, Q pheromone intensity factor, L k The walking of ant k in this search is Cheng Zhihe, kappa (t) is weight, L g Algorithm path T for gray wolf GWO ω is a coefficient.
Step five: and judging whether the maximum iteration times is reached, if so, outputting optimal information, and otherwise, returning to the fourth step to continue iteration.
Compared with the prior art, the invention has the beneficial effects that:
(1) The method utilizes the gray wolf algorithm to carry out quick pre-search, and adds the obtained optimal solution serving as the initial pheromone increment into the ant colony algorithm, so that the blindness of the ant colony algorithm in the initial search can be reduced.
(2) The invention improves the heuristic function, not only considers the distance between the current node and the optional node, but also adds the heuristic information of the distance between the current node and the target point. Meanwhile, a corner constraint function is introduced, so that the guidance of the algorithm is enhanced, and path redundant nodes are reduced.
(3) The invention adaptively updates the information elicitation factor and the expected elicitation factor, and the information elicitation factor and the expected elicitation factor respectively change to the maximum value and the minimum value in a linear form along with the increase of the iteration times. The relative importance of the two is continuously adjusted and dynamically changed, and the precision of path search is improved.
(4) In the invention, the conversion rate is introduced into a pseudo-random transfer strategy combining deterministic selection and stochastic selection, and in the initial stage, the certainty of path selection is higher, and the convergence rate of the algorithm is improved; in the later stage, ants tend to select paths by a roulette method, the global searching capability of the algorithm is improved, and the balance between ant colony development and exploration is effectively adjusted.
(5) The method combines the elite strategy, adds a strengthening means of the optimal route of the wolf on the original basis, is favorable for better guiding the bias of ant search, and enables the algorithm to be converged more quickly.
Drawings
FIG. 1 is a flow chart of a method of the present invention;
FIG. 2 is an AGV routing diagram applying a conventional ant colony algorithm.
FIG. 3 is an AGV iteration convergence diagram applying a conventional ant colony algorithm.
FIG. 4 is a diagram of an AGV routing using the improved algorithm of the present invention.
FIG. 5 is a graph of the AGV iteration convergence using the improved algorithm of the present invention.
Detailed Description
The technical solution in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention.
The path planning method based on the fusion algorithm as shown in fig. 1 comprises modeling an AGV working area, pre-searching a path by using a grey wolf algorithm, further improving an ant colony algorithm, and continuously iterating to screen out an optimal path. The method comprises the following specific steps:
executing the step one: and carrying out grid division and coding on the AGV working area.
Modeling the AGV working environment, and generating a 20-by-20 grid map. The white grid is a free grid, indicated by 0 in the simulation, and the AGV allows passage; the black grid is an obstacle grid, and is indicated by 1 in the simulation, and the AGV cannot pass through the black grid. The method specifically comprises the following steps:
(1) And (4) when the obstacle in the AGV working area is known, determining the position, and placing the generated grid map into a two-dimensional plane coordinate system.
(2) The grid graph is coordinated and digitalized from top to bottom and from left to right, and the corresponding relation is as follows:
Figure BDA0003838155490000051
wherein: n is a radical of x For number of map lines, N y For the number of map columns, mod is the remainder operation, ceil is the rounding operator to the positive infinity, i is the grid number, and a is the length of the grid.
(3) The AGV is regarded as a mass point, the AGV runs at a constant speed in the environment, and the mechanical influence of the AGV per se is ignored.
(4) Enough safety margin is reserved for the expansion treatment of the barrier.
Executing the step two: an initial path for the ant colony algorithm is generated with a gray wolf algorithm based on the obstacle information.
The initial pheromone concentration of the classical ant colony algorithm is constant, so that the prior information is lost in the path, the positive feedback of the ant colony algorithm is not obvious, and the calculation amount of path information identification is increased. The gray wolf algorithm is used for carrying out iterative search in advance to generate an initial path for the AGV to run, and the initial path is used as the initial population information increment of the ant colony algorithm. The method specifically comprises the following steps:
(1) Randomly constructing a wolf population, calculating a population fitness value, and determining alpha, beta, delta and omega wolf.
(2) And (6) tracking. α, β and δ are responsible for finding prey and passing its location information to other grayish wolf individuals:
Figure BDA0003838155490000052
Figure BDA0003838155490000053
Figure BDA0003838155490000054
Figure BDA0003838155490000055
wherein,
Figure BDA0003838155490000061
is the distance between the wolf individual and the prey, t is the number of iterations,
Figure BDA0003838155490000062
is the position of the prey,
Figure BDA0003838155490000063
the position of the gray wolf is the position of the gray wolf,
Figure BDA0003838155490000064
and
Figure BDA0003838155490000065
as a function of the number of the coefficients,
Figure BDA0003838155490000066
for convergence factor, in [0,2]The linear degressive effect is achieved in an inner line,
Figure BDA0003838155490000067
and
Figure BDA0003838155490000068
is [0,1]The random vector of (2).
(3) And (6) performing enclosure catching. After the tracking is finished, the information content of alpha, beta and delta wolf is more, the position of the prey is more known, and the wolf group updates the position along with the information:
Figure BDA0003838155490000069
Figure BDA00038381554900000610
Figure BDA00038381554900000611
wherein,
Figure BDA00038381554900000612
is a distance model of alpha, beta and delta wolf and omega wolf,
Figure BDA00038381554900000613
the direction and step length of the gray wolf movement,
Figure BDA00038381554900000614
the updated position of the wolf pack.
(4) And (6) hunting. To be received
Figure BDA00038381554900000615
Effects when
Figure BDA00038381554900000616
In time, the next position of the wolf pack is infinitely close to the prey, eventually initiating an attack.
(5) The wolves hunting route is a path obtained by the grey wolf algorithm, and the initial pheromone distribution based on the grey wolf algorithm is as follows:
τ ij =τ 0ij GWO
wherein τ is ij Represents the new initial pheromone concentration, tau, obtained after the path pre-search between the ith node and the jth node 0 Is the environment initial pheromone between the two nodes i, j, τ ij GWO is the pheromone increment between the two nodes i and j which converts the path information obtained by the wolf algorithm into.
And step three is executed: initializing ant colony algorithm parameters, wherein the number of ants is m =50, and the maximum iteration number is N max =100, volatility coefficient ρ =0.2, pheromone intensity coefficient Q =10, initial value α of information heuristic factor 0 =1.5, initial value β of the desired heuristic factor 0 =7, coefficient ω =0.6, proportionality coefficient λ =0.5, constant u =0.5.
And step four is executed: the taboo list is emptied, ants are placed at the starting point, and iteration is started.
And executing the step five: the method for planning the path of the AGV based on the improved ant colony algorithm specifically comprises the following steps:
(1) And calculating an improved heuristic function, adding the current node into the taboo table, and updating the taboo table.
The heuristic function functions to enable the ant colony algorithm to guide ants to find high quality mobile nodes. The traditional ant colony algorithm only takes the reciprocal of the current node to the next node as a unique heuristic factor, and the difference of nodes at adjacent positions is very small, so that the heuristic information of a target node is very weak. Particularly, in a large-scale environment map, the guiding function of the conventional heuristic function is poor, which is one of the main reasons that the convergence rate of the algorithm is slow and the searching efficiency is poor.
The new heuristic function not only considers the distance between the current node and the optional node in the construction process, but also adds heuristic information of the distance between the current node and the target point. Furthermore, considering the lack of guidance of the beneficial heuristic information by ants, a large number of redundant inflection points may occur in the path, resulting in a decrease in path smoothness. Therefore, a rotation angle constraint function is introduced into the heuristic function, and the guidance of the algorithm is enhanced.
Figure BDA0003838155490000071
Figure BDA0003838155490000072
Wherein d is ij Is the Euclidean distance of grid i and grid j, d je Is the Euclidean distance of grid j and grid e, d ie Is the Euclidean distance of grid i and grid e, σ is a constant greater than 0, and turn represents the direction.
(2) The elicitation factors are updated in a self-adaptive mode, ants are greatly influenced by the elicitation functions in the initial iteration stage, and as the iteration is carried out, pheromones gradually guide the selection of the next position, and the method specifically comprises the following steps:
Figure BDA0003838155490000073
Figure BDA0003838155490000074
wherein alpha is 0 For the initial information heuristic factor, beta 0 To initially expect a heuristic factor, N max Is the maximum number of iterations, N is the current number of iterations, α max Elicitation factors for informationMaximum value, beta min Is the desired heuristic minimum.
In the original ant colony algorithm, alpha and beta are taken by experience, and the population diversity is gradually reduced. The improvement is followed by an increase in the number of iterations, the information heuristic and the desired heuristic will each vary in a linear fashion to a maximum minimum. The relative importance of the two is continuously adjusted and dynamically changed, and the precision of path searching is improved.
(3) Selecting the next node by adopting a pseudo-random transfer strategy combining deterministic selection and stochastic selection:
Figure BDA0003838155490000075
Figure BDA0003838155490000076
Figure BDA0003838155490000077
wherein q is 0 Is the conversion rate, representing the threshold value of the ant for selecting the next node, and q is uniformly distributed in [0,1 ]]Is used as the random variable.
Figure BDA0003838155490000081
Is the probability that the kth ant goes from the ith grid to the jth grid in the t iteration, λ is a proportionality coefficient, N 0 For the iteration threshold, u is a constant.
In the initial stage, q 0 The value is large, ants can be added to select favorable paths according to the global path information, and the convergence speed is improved; at a later stage, q 0 The value is small, which is beneficial for ants to improve the global search capability through random search of transition probabilities.
(4) And combining the route information of the wolf, and updating the pheromone.
In the traditional ant colony algorithm, each ant carries out pheromone updating once according to the length of a self-constructed path after each iteration, and the shorter the path is, the more pheromones are released, and the more obvious the guiding effect is. When the path lengths are small, the difference of pheromones becomes very small, which is also one of the main reasons that the algorithm easily falls into a locally optimal solution in a complex and large-scale environment.
The invention combines the elite strategy, adds a strengthening means of the optimal path of the wolf on the original basis, and simultaneously sets a weight coefficient of self-adaptive attenuation for preventing premature convergence caused by continuous increase of pheromone of the elite strategy:
Figure BDA0003838155490000082
Figure BDA0003838155490000083
Figure BDA0003838155490000084
Figure BDA0003838155490000085
κ(t)=exp(1-ωt)
wherein, tau ij (t + 1) is the concentration of pheromone after updating, rho is the volatilization coefficient of pheromone, m is the number of ants, delta tau ij (t) pheromone increment, Q pheromone intensity factor, L k The walking of ant k in this search is Cheng Zhihe, kappa (t) is weight, L g Algorithm path T for gray wolf GWO ω is a coefficient.
And a sixth step is executed: and D, judging whether all ants reach the end point, if so, executing the step seven, and otherwise, turning to the step five.
And a seventh step is executed: and judging whether the maximum iteration frequency is reached, if so, outputting optimal information, otherwise, adding 1 to the iteration frequency, and returning to the fifth step to continue the iteration.
And step eight is executed: and outputting the optimal path.
The invention fuses the gray wolf algorithm and the ant colony algorithm, so that the AGV can effectively avoid the barrier and then search an optimal path.
In order to verify the effectiveness and superiority of the improved method, the invention firstly utilizes the improved ant colony algorithm to carry out simulation in MATLAB.
The ant colony algorithm has certain randomness, and the performance of the algorithm can be judged according to the possibility that the optimal solution is obtained after the algorithm is operated once.
The experimental simulation result shows that the path found by the improved ant colony algorithm is shorter than the path found by the traditional ant colony algorithm, and the iteration times and the turning times of the optimal path are less.
Referring to fig. 2-5, in the 20 × 20 grid environment, the improved ant colony algorithm has a fast convergence speed and a short early-stage search path, mainly because the initial pheromone concentrations of the conventional ant colony algorithm are the same, which causes blindness of the iterative initial search, and the improved ant colony algorithm provides new initial pheromone concentrations through the path pre-search, which forms the difference of the pheromone concentrations and can find the optimal path more quickly. An elite mechanism based on a grey wolf path is added in the global pheromone updating process, ants can select a more optimal path, the weight of self-adaptive attenuation is set, the influence of an elite strategy in the initial stage is guaranteed, meanwhile, the excessive influence in the later stage is reduced, and the ant colony is prevented from falling into local optimum due to excessive pheromone accumulation. In the aspect of the optimal path turning times, the improved ant colony algorithm is less than that of the traditional ant colony algorithm, the main reason is that the heuristic function considers the end point position information and adds the turning angle constraint, and a pseudo-random transfer strategy is adopted when the next position is selected, so that the AGV tends to run straight on the end point and the path with small turning angle. In conclusion, the path planning method based on the fusion algorithm has better optimization effect, can quickly search the optimal path, reduces the turning times and amplitude of the path, improves the transportation efficiency and saves the production and transportation cost.

Claims (6)

1. A path planning method based on a fusion algorithm is characterized by comprising the following steps:
the method comprises the following steps: modeling the working environment of the AGV by adopting a grid method, and determining the starting point and the end point of the AGV;
step two: the method comprises the steps that an initial path for an ant colony algorithm is generated through a grey wolf algorithm based on obstacle information, and the initial path of the AGV is searched and generated by utilizing the characteristics of high efficiency and excellent feedback mechanism of the grey wolf algorithm and is used as an increment of ant colony algorithm pheromone distribution;
step three: initializing ant colony algorithm parameters including the number m of ants and the maximum iteration number N max Initial value of primitive pheromone τ 0 Pheromone volatilization coefficient rho, pheromone intensity coefficient Q, coefficient omega, information heuristic factor alpha 0 And alpha max Expectation heuristic factor beta 0 And beta min The proportionality coefficient λ, constant u;
step four: and (4) improving the ant colony algorithm to carry out path planning on the AGV to obtain an optimal path.
2. The fusion algorithm based path planning method according to claim 1, wherein in the first step, a grid method is used to model the actual working environment of the AGV, and the specific steps are as follows:
(1) The method comprises the following steps of (1) determining the position of a known obstacle in an AGV working area, carrying out two-dimensional gridding treatment on the whole working area, and placing the two-dimensional gridding treatment in a two-dimensional plane coordinate system;
(2) The grid graph is coordinated and digitalized from top to bottom and from left to right, and the corresponding relation is as follows:
Figure FDA0003838155480000011
wherein: n is a radical of hydrogen x For the number of map lines, N y Mod is the remainder operation,ceil is the rounding operator to the positive infinity, i is the grid number, a is the length of the grid;
(3) The AGV is regarded as a mass point, the AGV runs at a constant speed in the environment, and the mechanical influence of the AGV per se is ignored;
(4) Enough safety margin is reserved for the expansion treatment of the barrier.
3. The path planning method based on the fusion algorithm as claimed in claim 1, wherein the initial path for the ant colony algorithm is generated by the grayish wolf algorithm based on the obstacle information in the second step, and the specific steps are as follows:
(1) Randomly constructing a wolf population, calculating a population fitness value, and determining alpha, beta, delta and omega wolf;
(2) Tracking, α, β and δ are responsible for finding prey and passing its location information to other grayish wolf individuals:
Figure FDA0003838155480000012
Figure FDA0003838155480000013
Figure FDA0003838155480000014
Figure FDA0003838155480000015
wherein,
Figure FDA0003838155480000016
is the distance between the wolf individual and the prey, t is the number of iterations,
Figure FDA0003838155480000017
is the position of the prey,
Figure FDA0003838155480000018
the position of the gray wolf is the position of the gray wolf,
Figure FDA0003838155480000019
and
Figure FDA00038381554800000110
as a function of the number of the coefficients,
Figure FDA00038381554800000111
for convergence factor, in [0,2]The linear degressive effect is achieved in an inner line,
Figure FDA00038381554800000112
and
Figure FDA00038381554800000113
is [0,1]The random vector of (a);
(3) After the trapping and tracking are finished, the information content of alpha, beta and delta wolves is more, the positions of prey are more known, and the wolves follow the positions to update:
Figure FDA0003838155480000021
Figure FDA0003838155480000022
Figure FDA0003838155480000023
wherein,
Figure FDA0003838155480000024
is a distance model of alpha, beta and delta wolf and omega wolf,
Figure FDA0003838155480000025
the direction and step length of the gray wolf movement,
Figure FDA0003838155480000026
updated positions for the wolf pack;
(4) Hunting and receiving
Figure FDA0003838155480000027
Effects when
Figure FDA0003838155480000028
When the attack is started, the next position of the wolf pack is infinitely close to a prey, and finally the attack is initiated;
(5) The wolf colony hunting route is a route obtained by the grey wolf algorithm, and the new initial pheromone of the ant colony algorithm generated based on the grey wolf algorithm is as follows:
τ ij =τ 0ij GWO
wherein tau is ij Represents the new initial pheromone concentration, tau, obtained after the path pre-search between the ith node and the jth node 0 Is the environment initial pheromone between the two nodes i, j, τ ij GWO is the pheromone increment between the two nodes i and j which converts the path information obtained by the wolf algorithm into.
4. The method for path planning based on fusion algorithm as claimed in claim 1, wherein m =50,N in the third step max =100,ρ=0.2,Q=10,α 0 =1.5,β 0 =7,ω=0.6,λ=0.5,u=0.5。
5. The path planning method based on the fusion algorithm according to claim 1, wherein heuristic functions, heuristic factors, transition probabilities, and pheromone update strategies of the ant colony algorithm are improved in step four:
(1) The new heuristic function not only comprehensively considers local and global path information, but also introduces a corner constraint function into the heuristic function, prevents redundant inflection points from appearing in the path, and enhances the guidance of the algorithm:
Figure FDA0003838155480000029
Figure FDA00038381554800000210
wherein d is ij Is the Euclidean distance of grid i and grid j, d je Is the Euclidean distance of grid j and grid e, d ie Is the Euclidean distance of grid i and grid e, σ is a constant greater than 0, turn represents the direction;
(2) In the initial stage of iteration, ants are greatly influenced by the heuristic function, as the iteration progresses, pheromones gradually dominate the selection of the next position, and the heuristic factor of self-adaptive updating is as follows:
Figure FDA0003838155480000031
Figure FDA0003838155480000032
wherein alpha is 0 For the initial information heuristic factor, beta 0 For the initial desired heuristic factor, N max Is the maximum number of iterations, N is the current number of iterations, α max For maximum value of information heuristic factor, beta min Is the desired heuristic minimum;
(3) Selecting the next node by adopting a pseudo-random transfer strategy combining deterministic selection development and stochastic selection exploration:
Figure FDA0003838155480000033
Figure FDA0003838155480000034
Figure FDA0003838155480000035
wherein q is 0 Is the conversion rate, representing the threshold of ant selecting the next node, q is uniformly distributed in [0,1]The random variable (b) in (c),
Figure FDA0003838155480000036
is the probability that the kth ant goes from the ith grid to the jth grid in the t iteration, λ is a proportionality coefficient, N 0 Is an iteration threshold, u is a constant;
(4) When the pheromone is updated, a reinforcement means of the optimal route of the wolf is added on the original basis by combining the elite strategy, and meanwhile, in order to prevent premature convergence caused by continuous increase of the pheromone of the elite strategy, a weight coefficient of self-adaptive attenuation is set:
Figure FDA0003838155480000037
Figure FDA0003838155480000038
Figure FDA0003838155480000039
Figure FDA00038381554800000310
κ(t)=exp(1-ωt)
wherein, tau ij (t + 1) isThe new pheromone concentration, rho is pheromone volatilization coefficient, m is ant number, delta tau ij (t) pheromone increment, Q pheromone intensity factor, L k The walking of ant k in this search is Cheng Zhihe, kappa (t) is weight, L g Algorithm path T for gray wolf GWO ω is a coefficient.
6. The method for path planning based on fusion algorithm according to claim 1, wherein the path planning for AGVs is performed by improving the ant colony algorithm in step four to obtain the optimal path, which specifically includes:
a. entering iteration;
b. according to the improved pheromone model, the heuristic information and the transfer strategy, the AGV selects the next node and determines a path until reaching a target point;
c. updating the path pheromone according to the improved pheromone updating strategy;
d. and c, judging whether the maximum iteration times is reached, if so, outputting optimal information, and otherwise, returning to the step a to continue iteration.
CN202211105650.3A 2022-09-08 2022-09-08 Path planning method based on fusion algorithm Withdrawn CN115454067A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211105650.3A CN115454067A (en) 2022-09-08 2022-09-08 Path planning method based on fusion algorithm

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211105650.3A CN115454067A (en) 2022-09-08 2022-09-08 Path planning method based on fusion algorithm

Publications (1)

Publication Number Publication Date
CN115454067A true CN115454067A (en) 2022-12-09

Family

ID=84303401

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211105650.3A Withdrawn CN115454067A (en) 2022-09-08 2022-09-08 Path planning method based on fusion algorithm

Country Status (1)

Country Link
CN (1) CN115454067A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116502784A (en) * 2023-06-27 2023-07-28 长春工业大学 Path planning method based on hybrid intelligent optimization algorithm
CN117151577A (en) * 2023-10-31 2023-12-01 南京职豆豆智能科技有限公司 Combined path optimization method and system considering group heterogeneity

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116502784A (en) * 2023-06-27 2023-07-28 长春工业大学 Path planning method based on hybrid intelligent optimization algorithm
CN117151577A (en) * 2023-10-31 2023-12-01 南京职豆豆智能科技有限公司 Combined path optimization method and system considering group heterogeneity
CN117151577B (en) * 2023-10-31 2024-02-06 南京职豆豆智能科技有限公司 Combined path optimization method and system considering group heterogeneity

Similar Documents

Publication Publication Date Title
CN109945881B (en) Mobile robot path planning method based on ant colony algorithm
CN115454067A (en) Path planning method based on fusion algorithm
CN109597425B (en) Unmanned aerial vehicle navigation and obstacle avoidance method based on reinforcement learning
CN112327923B (en) Multi-unmanned aerial vehicle collaborative path planning method
CN111982125A (en) Path planning method based on improved ant colony algorithm
CN110347151B (en) Robot path planning method fused with Bezier optimization genetic algorithm
CN111323016A (en) Mobile robot path planning method based on self-adaptive ant colony algorithm
CN110196061A (en) Based on the mobile robot global path planning method for improving ant group algorithm
CN114167865B (en) Robot path planning method based on countermeasure generation network and ant colony algorithm
CN108413963A (en) Bar-type machine people's paths planning method based on self study ant group algorithm
CN111880561A (en) Unmanned aerial vehicle three-dimensional path planning method based on improved whale algorithm in urban environment
Li et al. Mobile robot path planning based on improved genetic algorithm with A-star heuristic method
Hsu et al. Path planning for mobile robots based on improved ant colony optimization
CN110686695A (en) Adaptive ant colony A-star hybrid algorithm based on target evaluation factor
Martin et al. Offline and online evolutionary bi-directional RRT algorithms for efficient re-planning in dynamic environments
Arora et al. A survey of comparison between various metaheuristic techniques for path planning problem
CN113534819A (en) Method and storage medium for pilot-follow multi-agent formation path planning
CN114756027A (en) Mobile robot path planning method based on improved ant colony algorithm and Bezier curve
Yasear et al. Fine-Tuning the Ant Colony System Algorithm Through Harris’s Hawk Optimizer for Travelling Salesman Problem.
CN111080035A (en) Global path planning method based on improved quantum particle swarm optimization algorithm
CN117387619A (en) Path planning method based on fusion improvement ant colony and genetic algorithm
CN113790729A (en) Unmanned overhead traveling crane path planning method and device based on reinforcement learning algorithm
Santos et al. Exploratory path planning using the Max-min ant system algorithm
Garip et al. Path planning for multiple mobile robots in static environment using hybrid algorithm
CN117434950A (en) Mobile robot dynamic path planning method based on Harris eagle heuristic hybrid algorithm

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
WW01 Invention patent application withdrawn after publication
WW01 Invention patent application withdrawn after publication

Application publication date: 20221209