CN111080035A - Global path planning method based on improved quantum particle swarm optimization algorithm - Google Patents
Global path planning method based on improved quantum particle swarm optimization algorithm Download PDFInfo
- Publication number
- CN111080035A CN111080035A CN201911404479.4A CN201911404479A CN111080035A CN 111080035 A CN111080035 A CN 111080035A CN 201911404479 A CN201911404479 A CN 201911404479A CN 111080035 A CN111080035 A CN 111080035A
- Authority
- CN
- China
- Prior art keywords
- iteration
- global
- particle
- fitness value
- best position
- 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.)
- Pending
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q10/00—Administration; Management
- G06Q10/04—Forecasting or optimisation specially adapted for administrative or management purposes, e.g. linear programming or "cutting stock problem"
- G06Q10/047—Optimisation of routes or paths, e.g. travelling salesman problem
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01C—MEASURING DISTANCES, LEVELS OR BEARINGS; SURVEYING; NAVIGATION; GYROSCOPIC INSTRUMENTS; PHOTOGRAMMETRY OR VIDEOGRAMMETRY
- G01C21/00—Navigation; Navigational instruments not provided for in groups G01C1/00 - G01C19/00
- G01C21/20—Instruments for performing navigational calculations
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06N—COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G06N3/00—Computing arrangements based on biological models
- G06N3/004—Artificial life, i.e. computing arrangements simulating life
- G06N3/006—Artificial life, i.e. computing arrangements simulating life based on simulated virtual individual or collective life forms, e.g. social simulations or particle swarm optimisation [PSO]
Landscapes
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- Business, Economics & Management (AREA)
- Human Resources & Organizations (AREA)
- Remote Sensing (AREA)
- Radar, Positioning & Navigation (AREA)
- Theoretical Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Economics (AREA)
- Strategic Management (AREA)
- Marketing (AREA)
- Artificial Intelligence (AREA)
- Quality & Reliability (AREA)
- General Business, Economics & Management (AREA)
- Operations Research (AREA)
- Entrepreneurship & Innovation (AREA)
- Game Theory and Decision Science (AREA)
- Development Economics (AREA)
- Automation & Control Theory (AREA)
- Health & Medical Sciences (AREA)
- Life Sciences & Earth Sciences (AREA)
- Tourism & Hospitality (AREA)
- Biomedical Technology (AREA)
- Biophysics (AREA)
- Computational Linguistics (AREA)
- Data Mining & Analysis (AREA)
- Evolutionary Computation (AREA)
- General Health & Medical Sciences (AREA)
- Molecular Biology (AREA)
- Computing Systems (AREA)
- General Engineering & Computer Science (AREA)
- Mathematical Physics (AREA)
- Software Systems (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
The invention is suitable for the technical field of path planning, and provides a global path planning method based on an improved quantum-behaved particle swarm optimization algorithm, which comprises the following steps: s1, creating a grid map; s2, setting parameters; s3, initializing particle swarm; s4, adding one to the iteration number, and updating the individual best position and fitness value of each current particle; s5, updating the global best position and the fitness value; s6, calculating the average value of the individual best positions of all the particles in the iteration; s7, predicting the position of each particle in the next iteration; and S8, performing multipoint intersection operation, combining new particle swarms, detecting whether the global convergence is achieved or whether the iteration times reach the maximum iteration times, if the detection result is negative, executing the step S4, and if the detection result is positive, outputting the optimal position on each dimension to obtain the global planning path. The method solves the defects of 'early-maturing' phenomenon and local optimization of the traditional QPSO algorithm.
Description
Technical Field
The invention belongs to the technical field of path planning, and provides a global path planning method based on an improved quantum particle swarm optimization algorithm.
Background
Path planning is one of core technologies for realizing autonomous navigation of a mobile robot, and has become a hot problem for research of many experts and scholars in the field of mobile robots. The path planning methods for mobile robots are roughly classified into three categories, namely, a global path planning method, a local path planning method and a hybrid path planning method. The global path planning is aimed at finding a collision-free optimal path from the starting position to the target position for the mobile robot under the condition that the global static environment information is completely known. The global path planning comprises two parts of environment modeling and a path searching algorithm. Common environment models include a grid graph method, a visual graph method, a Voronoi graph method and the like; the path search algorithm includes a genetic algorithm, an ant colony algorithm, a Particle Swarm Optimization (PSO) algorithm, a Quantum Particle Swarm Optimization (QPSO) algorithm, and the like. In the existing path planning technical scheme, most of the path planning technical scheme is realized based on an intelligent algorithm. For example, a path planning method based on Genetic Algorithm (GA) gradually obtains an optimal solution to a problem in a population consisting of a plurality of chromosomes through operations such as selection, crossover, mutation and the like according to the principle of biological evolution. The method has the advantages that the algorithm is convenient to use, has better global search capability, is easy to fuse with other intelligent algorithms, and improves the performance of the algorithm. However, the method has the defects of easy local optimization, long operation time, low convergence rate and the like. For example, a path planning method based on a Particle Swarm Optimization (PSO) algorithm, which is a swarm algorithm with global optimization capability, has the advantages of high operation speed and strong local search capability, but cannot search in the whole feasible solution space due to the limitation of the particle speed, and is easy to fall into local optimization. The Quantum Particle Swarm Optimization (QPSO) algorithm is an intelligent algorithm which is put forward from the quantum mechanics perspective and solves the problem that the PSO algorithm cannot guarantee global convergence, is an improved algorithm which adds a quantum physical idea in an evolutionary search strategy of a classical PSO algorithm, updates the particle position by establishing a potential well model and a particle swarm with quantum behaviors and introducing an average best position, and has the defects of 'premature' phenomenon and local optimization falling in the traditional QPSO algorithm.
Disclosure of Invention
The embodiment of the invention provides a global path planning method based on an improved quantum particle swarm optimization algorithm, and the traditional QPSO algorithm has the defects of premature phenomenon and local optimization.
The invention is realized in such a way, and provides a global path planning method based on an improved quantum particle swarm optimization algorithm, which specifically comprises the following steps:
s1, creating a grid map and establishing an environment model;
s2, setting the number N of particles, the dimension D of the particles, the maximum iteration number M, the expansion-contraction coefficient α and the proportion lambda of the particles participating in the cross operation;
s3, initializing particle swarm, setting initial individual best position Pi(0) Global best position Pg(0) Calculating to obtain an initial average best position;
s4, adding one to the iteration number, and updating the individual best position P of the current particlei(t) and its corresponding fitness value;
s5, updating the global best position in the current iteration and the corresponding fitness value thereof, S6, calculating the average value of the individual best positions of all particles in the current iteration, namely the average best position;
s7, predicting the position of each particle in the next iteration;
s8, selecting partial particles based on the set proportion lambda to carry out multipoint intersection operation, combining the particles subjected to the multipoint intersection operation with the residual particles to form a new particle swarm, detecting whether the particle swarm is globally converged or whether the iteration times reaches the maximum iteration times, if the detection result is negative, executing a step S4, if the detection result is positive, outputting the optimal position in each dimension, and forming a global planning path based on the optimal position in each dimension.
Further, the calculation formula of the particle at the next iteration position is specifically as follows:
pi,j=fj(t)·Pi,j(t)+|1-fj(t)|·Pg,j(t),fj(t)~U(0,1)
wherein α is the contraction-expansion coefficient, Xi,j(t +1) represents the position of the ith particle in the jth dimension in the t +1 th iteration, pi,j(t) represents the individual best position of the ith particle in the jth dimension in the tth iteration, Xi,j(t) represents the position of the ith particle in the jth dimension in the tth iteration, mbestjRepresents the mean best position, u, of the jth dimension in the t iterationi,j(t)、fj(t) each represent a uniformly distributed function, P, of the obedient interval U (0,1)g,j(t) represents the global best position, p, of the ith particle in the jth dimension in the tth iterationi,jRepresenting the local attraction factor for the j-th dimension.
Further, the method for updating the global optimal position and the corresponding fitness value specifically includes:
taking the individual best position with the minimum fitness value as the global best position P of the iterationg(t) comparing the global best position P of the current iterationg(t) corresponding fitness value F [ P ]g(t)]Fitness value F [ G (t-1) corresponding to global best position G (t-1) of last iteration]Comparing the current global best position Pg(t) updating to the global best position corresponding to the smaller fitness value.
Further, the method for updating the individual optimal position and the corresponding fitness value specifically comprises the following steps:
calculating the fitness value F [ X ] of each particle after the iterationi(t)]The fitness value F [ X ] after the iteration is carried outi(t)]Fitness value F [ P ] after last iterationi(t-1)]Comparing, updating the current fitness to a smaller fitness value, and updating the position corresponding to the smaller fitness value to the individual best position P of each current particlei(t)。
The global path planning method based on the improved quantum particle swarm optimization algorithm provided by the invention solves the problems of 'precocity' phenomenon and local optimization falling in the traditional QPSO algorithm, and effectively plans a global optimal path.
Drawings
Fig. 1 is a flowchart of a global path planning method based on an improved quantum-behaved particle swarm optimization algorithm according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
Fig. 1 is a flowchart of a global path planning method based on an improved quantum-behaved particle swarm optimization algorithm, which includes the following steps:
s1, creating a grid map and establishing an environment model;
s2, setting the number N of particles, the dimension D of the particles, the maximum iteration number M, the expansion-contraction coefficient α and the proportion lambda of the particles participating in the cross operation;
s3, initializing particle swarm, setting initial individual best position Pi(0) Global best position Pg(0) And calculating to obtain an initial average best position.
S4, adding one to the iteration number, and calculating the fitness value F [ X ] of each particle after the current iterationi(t)]The fitness value F [ X ] after the iteration is carried outi(t)]Fitness value F [ P ] after last iterationi(t-1)]Comparing, updating the current fitness to a smaller fitness value, and updating the position corresponding to the smaller fitness value to the best position P of each current particlei(t), the calculation formula is specifically as follows:
wherein, Fi(x) Representing the ith particle fitness; pi(t) represents the individual best position of the ith particle at the tth iteration, (x)j,yj) Denotes the coordinates of the ith particle in the jth dimension, (x)j-1,yj-1) Denotes the coordinates of the ith particle in the j-1 dimension, Xi(t) the current position, P, of the ith particle at the tth iterationi(t-1) represents the individual best position of the ith particle at the t-1 iteration.
S5, selecting the minimum value in the fitness values of the N particles, and taking the position corresponding to the minimum fitness value as the global best position P of the current iterationg(t) comparing the global best position P of the current iterationg(t) corresponding fitness value F [ P ]g(t)]Fitness value F [ G (t-1) corresponding to global best position G (t-1) of last iteration]Comparing the current global best position Pg(t) updating the global best position corresponding to the smaller fitness value, wherein the calculation formula is as follows:
wherein, Pg(t) represents the global best position among all particles at the tth iteration.
S6, calculating the average value of the individual best positions of all the particles in the iteration, namely the average best position;
wherein, mbestj(t) represents the average of the current individual best positions of all particles in the jth dimension at the tth iteration, pi,j(t) represents the individual best position of the ith particle in the jth dimension in the tth iteration.
S7, predicting the position of each particle in the next iteration;
the method comprises the following steps of self-adaptively adjusting the size of a local search space according to the search state of particles, adding a random variable to each dimension of a local attractor, updating the positions of the particles of each dimension, and predicting the position of the particle of the next iteration, wherein the formula is as follows:
pi,j=fj(t)·Pi,j(t)+|1-fj(t)|·Pg,j(t),fj(t)~U(0,1)
wherein α is contraction-expansion coefficient, generally, α value is linearly reduced from 1 to 0.5, and better effect can be obtained, Xi,j(t +1) represents the position of the ith particle in the jth dimension in the t +1 th iteration, pi,j(t) represents the individual best position of the ith particle in the jth dimension in the tth iteration, Xi,j(t) represents the position of the ith particle in the jth dimension in the tth iteration, mbestjRepresents the mean best position, u, of the jth dimension in the t iterationi,j(t) represents, fj(t) denotes a uniform distribution function, P, of the obedient interval U (0,1)g,j(t) represents the global best position, p, of the ith particle in the jth dimension in the tth iterationi,jRepresenting the local attraction factor for the j-th dimension.
S8, selecting partial particles based on the set proportion lambda to carry out multipoint intersection operation, combining the particles subjected to the multipoint intersection operation with the residual particles to form a new particle swarm, detecting whether the particle swarm is globally converged or whether the iteration times reaches the maximum iteration times, if the detection result is negative, executing a step S4, if the detection result is positive, outputting the optimal position in each dimension, and forming a global planning path based on the optimal position in each dimension.
The global path planning method based on the improved quantum particle swarm optimization algorithm provided by the invention solves the problems of 'precocity' phenomenon and local optimization falling in the traditional QPSO algorithm, and effectively plans a global optimal path.
The above description is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the invention, and any modifications, equivalents and improvements made within the spirit and principle of the present invention are intended to be included within the scope of the present invention.
Claims (4)
1. A global path planning method based on an improved quantum particle swarm optimization algorithm is characterized by specifically comprising the following steps:
s1, creating a grid map and establishing an environment model;
s2, setting the number N of particles, the dimension D of the particles, the maximum iteration number M, the expansion-contraction coefficient α and the proportion lambda of the particles participating in the cross operation;
s3, initializing particle swarm, setting initial individual best position Pi(0) Global best position Pg(0) Calculating to obtain an initial average best position;
s4, adding one to the iteration number, and updating the individual best position P of the current particlei(t) and its corresponding fitness value;
s5, updating the global best position in the current iteration and the corresponding fitness value;
s6, calculating the average value of the individual best positions of all the particles in the iteration, namely the average best position;
s7, predicting the position of each particle in the next iteration;
s8, selecting partial particles based on the set proportion lambda to carry out multipoint intersection operation, combining the particles subjected to the multipoint intersection operation with the residual particles to form a new particle swarm, detecting whether the particle swarm is globally converged or whether the iteration times reaches the maximum iteration times, if the detection result is negative, executing a step S4, if the detection result is positive, outputting the optimal position in each dimension, and forming a global planning path based on the optimal position in each dimension.
2. The global path planning method based on the improved quantum-behaved particle swarm optimization algorithm as claimed in claim 1, wherein the calculation formula of the particle at the next iteration position is as follows:
pi,j=fj(t)·Pi,j(t)+|1-fj(t)|·Pg,j(t),fj(t)~U(0,1)
wherein α is the contraction-expansion coefficient, Xi,j(t +1) represents the position of the ith particle in the jth dimension in the t +1 th iteration, pi,j(t) represents the individual best position of the ith particle in the jth dimension in the tth iteration, Xi,j(t) represents the position of the ith particle in the jth dimension in the tth iteration, mbestjRepresents the mean best position, u, of the jth dimension in the t iterationi,j(t)、fj(t) each represent a uniformly distributed function, P, of the obedient interval U (0,1)g,j(t) represents the global best position, p, of the ith particle in the jth dimension in the tth iterationi,jRepresenting the local attraction factor for the j-th dimension.
3. The global path planning method based on the improved quantum-behaved particle swarm optimization algorithm as claimed in claim 1, wherein the method for updating the global optimal position and the corresponding fitness value specifically comprises the following steps:
taking the individual best position with the minimum fitness value as the global best position P of the iterationg(t) comparing the global best position P of the current iterationg(t) corresponding fitness value F [ P ]g(t)]Fitness value F [ G (t-1) corresponding to global best position G (t-1) of last iteration]Comparing the current global best position Pg(t) updating to the global best position corresponding to the smaller fitness value.
4. The global path planning method based on the improved quantum-behaved particle swarm optimization algorithm as claimed in claim 1, wherein the updating method of the individual optimal position and the corresponding fitness value is specifically as follows:
calculating the fitness value F [ X ] of each particle after the iterationi(t)]The fitness value F [ X ] after the iteration is carried outi(t)]Fitness value F [ P ] after last iterationi(t-1)]Comparing, updating the current fitness to a smaller fitness value, and updating the position corresponding to the smaller fitness value to the individual best position P of each current particlei(t)。
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911404479.4A CN111080035A (en) | 2019-12-31 | 2019-12-31 | Global path planning method based on improved quantum particle swarm optimization algorithm |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911404479.4A CN111080035A (en) | 2019-12-31 | 2019-12-31 | Global path planning method based on improved quantum particle swarm optimization algorithm |
Publications (1)
Publication Number | Publication Date |
---|---|
CN111080035A true CN111080035A (en) | 2020-04-28 |
Family
ID=70320218
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201911404479.4A Pending CN111080035A (en) | 2019-12-31 | 2019-12-31 | Global path planning method based on improved quantum particle swarm optimization algorithm |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111080035A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112612275A (en) * | 2020-12-23 | 2021-04-06 | 南京市晨枭软件技术有限公司 | Complex path planning system and method for database machine room |
CN112734088A (en) * | 2020-12-28 | 2021-04-30 | 浙江工业大学 | Path planning method based on self-organizing multi-mode multi-target quantum particle swarm optimization algorithm |
CN116684273A (en) * | 2023-06-08 | 2023-09-01 | 中国人民解放军国防科技大学 | Automatic planning method and system for mobile communication network structure based on particle swarm |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101387888A (en) * | 2008-09-27 | 2009-03-18 | 江南大学 | Mobile robot path planning method based on binary quanta particle swarm optimization |
CN105095595A (en) * | 2015-08-25 | 2015-11-25 | 国家电网公司 | Particle swarm optimization algorithm based on clustering degree of swarm |
WO2018072351A1 (en) * | 2016-10-20 | 2018-04-26 | 北京工业大学 | Method for optimizing support vector machine on basis of particle swarm optimization algorithm |
CN108133258A (en) * | 2016-12-01 | 2018-06-08 | 南京理工大学 | A kind of mixing global optimization method |
-
2019
- 2019-12-31 CN CN201911404479.4A patent/CN111080035A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101387888A (en) * | 2008-09-27 | 2009-03-18 | 江南大学 | Mobile robot path planning method based on binary quanta particle swarm optimization |
CN105095595A (en) * | 2015-08-25 | 2015-11-25 | 国家电网公司 | Particle swarm optimization algorithm based on clustering degree of swarm |
WO2018072351A1 (en) * | 2016-10-20 | 2018-04-26 | 北京工业大学 | Method for optimizing support vector machine on basis of particle swarm optimization algorithm |
CN108133258A (en) * | 2016-12-01 | 2018-06-08 | 南京理工大学 | A kind of mixing global optimization method |
Non-Patent Citations (3)
Title |
---|
王晓丽等: "一种改进的粒子群优化算法", 《机械工程与自动化》 * |
陈孟元: "《移动机器人SLAM、目标跟踪及路径规划》", 31 December 2017, 北京:北京航空航天大学出版社 * |
陈家照等: "基于改进粒子群优化算法的三维空间路径规划", 《计算机应用与软件》 * |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112612275A (en) * | 2020-12-23 | 2021-04-06 | 南京市晨枭软件技术有限公司 | Complex path planning system and method for database machine room |
CN112734088A (en) * | 2020-12-28 | 2021-04-30 | 浙江工业大学 | Path planning method based on self-organizing multi-mode multi-target quantum particle swarm optimization algorithm |
CN116684273A (en) * | 2023-06-08 | 2023-09-01 | 中国人民解放军国防科技大学 | Automatic planning method and system for mobile communication network structure based on particle swarm |
CN116684273B (en) * | 2023-06-08 | 2024-01-30 | 中国人民解放军国防科技大学 | Automatic planning method and system for mobile communication network structure based on particle swarm |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109765893B (en) | Mobile robot path planning method based on whale optimization algorithm | |
CN109945881B (en) | Mobile robot path planning method based on ant colony algorithm | |
CN108036790B (en) | Robot path planning method and system based on ant-bee algorithm in obstacle environment | |
CN103760907B (en) | A kind of underwater hiding-machine three-dimensional path planning method based on cuckoo searching algorithm | |
CN111080035A (en) | Global path planning method based on improved quantum particle swarm optimization algorithm | |
CN103279793B (en) | A kind of unmanned vehicle formation method for allocating tasks determined under environment | |
CN105426992B (en) | Mobile robot traveler optimization method | |
CN112684700B (en) | Multi-target searching and trapping control method and system for swarm robots | |
CN112577507A (en) | Electric vehicle path planning method based on Harris eagle optimization algorithm | |
CN108413963A (en) | Bar-type machine people's paths planning method based on self study ant group algorithm | |
CN110181508A (en) | Underwater robot three-dimensional Route planner and system | |
CN114611801A (en) | Traveler problem solving method based on improved whale optimization algorithm | |
CN110530373A (en) | A kind of robot path planning method, controller and system | |
CN109670655A (en) | A kind of electric system multi-objective particle swarm optimization dispatching method | |
CN115933693A (en) | Robot path planning method based on adaptive chaotic particle swarm algorithm | |
Ding et al. | Improved GWO algorithm for UAV path planning on crop pest monitoring | |
CN112000126A (en) | Whale algorithm-based multi-unmanned-aerial-vehicle collaborative searching multi-dynamic-target method | |
CN114995460A (en) | Robot path planning method based on self-adaptive improved ant colony algorithm | |
Martinez-Soto et al. | Fuzzy logic controllers optimization using genetic algorithms and particle swarm optimization | |
CN115469673B (en) | Unmanned vehicle route planning method based on air-ground information cooperation | |
Zhang et al. | Path planning of patrol robot based on modified grey wolf optimizer | |
Zhang et al. | A parallel hybrid evolutionary particle filter for nonlinear state estimation | |
Liu et al. | Improved gray wolf optimization algorithm integrating A* algorithm for path planning of mobile charging robots | |
Li et al. | A novel RBF neural network design based on immune algorithm system | |
Zhang et al. | A Robot Spraying Path Planning Method for the Digital Camouflage Pattern |
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 | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20200428 |
|
RJ01 | Rejection of invention patent application after publication |