CN104020769B - Robot overall path planning method based on charge system search - Google Patents
Robot overall path planning method based on charge system search Download PDFInfo
- Publication number
- CN104020769B CN104020769B CN201410264165.XA CN201410264165A CN104020769B CN 104020769 B CN104020769 B CN 104020769B CN 201410264165 A CN201410264165 A CN 201410264165A CN 104020769 B CN104020769 B CN 104020769B
- Authority
- CN
- China
- Prior art keywords
- robot
- electric charge
- charge
- path planning
- path
- 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.)
- Expired - Fee Related
Links
Landscapes
- Control Of Position, Course, Altitude, Or Attitude Of Moving Bodies (AREA)
- Feedback Control In General (AREA)
- Manipulator (AREA)
Abstract
The invention relates to a robot overall path planning method based on the charge system search. The method includes the steps that a robot path planning mathematic model is established; environment parameters for planning paths of a robot and relevant parameters of a charge system search algorithm are initialized; N paths and the initial position and the speed of each charge are randomly initialized; according to robot environment information and the robot path planning mathematic model, the fitness value fit, the best fitness value fitbest and the worst fitness value fitworst of each charge are calculated; the charge quantity qj of each charge, an attraction mark pij between every two charges and the Euclidean distance rij between every two charges are updated; the position and the speed of each charge are updated; fitness of each charge is recalculated according to the robot path planning mathematic model, the position Xbest new of the charge with the best fitness currently is found, and therefore the optimal path of the robot is obtained; if the number of iteration times is larger than the number itermax of iteration, a circulation is ended, the optimal path is output, and otherwise iteration of the next time is conducted.
Description
Technical field
The present invention relates to a kind of robot global path planning method based on Charge System search.
Background technology
Robot path planning refers to that, in its work space, completing a certain Given task for robot provides a peace
Entirely, efficient motion path.Generally speaking, robot completes the selectable path of Given task has many bars, in practical application
Often to select one under certain criterion be optimum (or near-optimization) path, conventional criterion has:Shortest path, consumption
Energy is minimum or use time is the shortest etc..Therefore, robot path planning is substantially a constrained optimization problem.
Path planning problem is an important problem of mobile robot research field, grasps environmental information according to prior
Degree, path planning problem can be divided into global path planning and sensor-based local path based on priori environment information
Planning.Traditional global path planning method mainly has Grid Method, Visual Graph method, topological approach and free-space Method etc., these biographies
All there is the shortcoming that computational efficiency is low, is not suitable for high-dimensional optimization in the method for system.With many intelligent bionic optimized algorithms
Proposition and fast development, these algorithms are applied to robot path planning field, achieve certain effect by many scholars.
Charge System searching algorithm (Charged System Search, CCS) is a kind of to the coulomb in physicss
Law and the new Optimizing Search technology of Newton's laws of motion simulation, are a kind of meta-heuristic algorithms, it passes through in colony
The swarm intelligence producing that interacts of the electric field force of each charged particles instructs Optimizing Search.
Content of the invention
Present invention aim at providing a kind of robot global path planning method based on Charge System search, calculate effect
Rate is high, can effectively solve the problem that robot path planning's problem under complex dynamic environment.
Realize the object of the invention technical scheme:
A kind of robot global path planning method based on Charge System search it is characterised in that:
Step 1:Set up robot path planning's mathematical model;
Step 2:Initialization robot need to carry out the ambient parameter of path planning and the correlation of Charge System searching algorithm
Parameter;
Step 3:The initial position of random initializtion N paths and each electric charge and speed, with robot original position
Set up rectangular coordinate system with target location for x-axis, by x-axis D decile,
The position defining j-th electric charge isFor j=1,2 ..., N, whereinRepresent
J-th electric charge position in d dimension, the position X of each electric chargejJust represent the operating path of a robot, finally own
Optimal location in electric charge is the optimal path of robot;
Step 4:The robot path planning's mathematical model set up according to robot environment's information and in step 1, meter
Calculate the fitness value fit of each electric charge, fitness best values fitbest, fitness bad value fitworst;
Step 5:According to the fitness value fit of each electric charge of acquisition, fitness best values fitbest, adaptation in step 4
Degree bad value fitworst, updates the quantity of electric charge q of each electric chargej, attraction mark p between two electric chargesijAnd two electric charges it
Between Euclidean distance rij;
Step 6:Quantity of electric charge q according to each electric charge obtaining in step 5j, attraction mark p between two electric chargesijAnd
Euclidean distance r between two electric chargesij, update position and the speed of each electric charge;Then according to the robot setting up in step 1
Path planning mathematical model recalculates the fitness of each electric charge, finds out the position of the best electric charge of current fitness
Xbest,new, i.e. the optimal path path of robot;
Step 7:If iterationses are more than maximum iteration time itermax, then exit circulation, export optimal path path, no
Then return to step 5 enters following iteration.
In step 1, by equation below, set up robot path planning's mathematical model,
In formula, F represents generalized cost function, and L represents path, and B represents the obstruction generation to robot for the Environment Obstacles thing
Valency, E represents that robot runs the energy consuming, and α ∈ [0,1] represents that robot security runs the balance system and consumed energy between
Number;
Environment Obstacles thing is obtained by equation below to obstruction cost B of robot,
In formula, NBRepresent the number of barrier, dkThe distance away from k-th barrier for the midpoint of two nodes of expression.
In step 2, initialized parameter includes:Electric charge population scale N, optimizes dimension D, algorithm maximum iteration time
itermax, robot security run and consumed energy between balance factor alpha, barrier number N in environmentB, Charge sites
Charge radius a in renewal equation, starting point coordinate and terminal point coordinate that robot runs.
In step 5, more new formula is as follows,
In formula, XiAnd XjIt is i-th electric charge and j-th electric charge respectively in the position in space, XbestIt is all electric charges at present
Desired positions, i.e. the position of the corresponding electric charge of fitbest, ε is the normal number of a very little, to prevent divisor from being zero.
In step 6, the position of each electric charge and speed more new formula are as follows,
Vj,new=Xj,new-Xj,old.
The device have the advantages that:
The present invention proposes a kind of Charge System searching algorithm model, and is successfully applied to solve under complex environment
Robot path planning's problem.Different from other bionic intelligence algorithms, the concurrency that goes out embodied in Charge System search procedure,
The features such as concertedness, self-organization, dynamic, strong robustness, is extremely consistent with complicated robot running environment, therefore electricity
G system searching algorithm can path planning problem under effectively solving robot complex dynamic environment.
Computational efficiency of the present invention is high, has good real-time and rapidity, and reality is more approached in the path being searched
Robot optimal path, allows the robot to reach target position on the premise of meeting safe performance indexes and energy expenditure index
Put, be the effective technical way solving robot path planning under complex dynamic environment.The present invention can be applied not only to machine
People's path planning, also apply be applicable to the technical fields such as Path Planning for Unmanned Aircraft Vehicle under complex environment, underwater robot path planning.
The present invention provides a very effective approach for high-dimensional function optimization problem, can be widely applied to robot, aviation, boat
My god, navigation, commercial production etc. be related to the field of multidimensional function optimization problem.
Brief description
Fig. 1 robot system theory diagram;
Fig. 2 robot path planning's schematic diagram;
Fig. 3 Environment Obstacles thing hinders cost to calculate schematic diagram in robot;
The interphase interaction schematic diagram of Fig. 4 electric charge;
The robot global path planning method program flow diagram that Fig. 5 present invention is searched for based on Charge System;
Robot path planning's optimal result schematic diagram that Fig. 6 the inventive method obtains;
In figure label and symbol description are as follows:
In Fig. 3:K-th barrier of k, -1 barrier of k-1 kth ,+1 barrier of k+1 kth, k+2 kth+2
Individual barrier;(xi-1,yi-1) coordinate of the i-th -1 node, (x in robot pathi,yi) i-th section in robot path
The coordinate of point;dkThe distance away from k-th barrier for the midpoint of the i-th -1 node and i-th node in robot path,
dk-1The distance away from -1 barrier of kth for the midpoint of the i-th -1 node and i-th node, d in robot pathk+1Machine
The distance away from+1 barrier of kth for the midpoint of the i-th -1 node and i-th node, d in people pathk+2In robot path
The distance away from+2 barriers of kth for the midpoint of i-1 node and i-th node;
In Fig. 4:q1The quantity of electric charge of the 1st electric charge, q2The quantity of electric charge of the 2nd electric charge, q3The electric charge of the 3rd electric charge
Amount, q4The quantity of electric charge of the 4th electric charge, q5The quantity of electric charge of the 5th electric charge, q6The quantity of electric charge of the 6th electric charge;F14Electric charge
q1To electric charge q4Electric field force, F24Electric charge q2To electric charge q4Electric field force, F34Electric charge q3To electric charge q4Electric field force, F64—
Electric charge q6To electric charge q4Electric field force, F4Electric charge q1、q2、q3、q6To electric charge q4Electric field force make a concerted effort;
In Fig. 5:The number of electric charge in N population, the current iterationses of iter algorithm, itermaxThe maximum of algorithm
Iterationses, the optimal path of path robot, j-th electric charge of j.
Specific embodiment
As shown in figure 1, robot system principle is, robot core control unit is responsible for the motor control of robot and each
The collection of individual sensor information and process;The control signal that robot servo motors' drive system receives key control unit drives
Robot motor moves;Robot electric quantity measurement sensor can the current electricity of robot measurement, if robot is in initial bit
Electricity when putting is Eo, reaching electricity during target location is Ef, then ENERGY E=E that robot running consumeso-Ef;Machine
Device people's avoidance sensor is capable of the range information of robot measurement preceding object thing in real time;By robot photoelectric dial sensor
It is capable of the speed of service of robot measurement, the time run in conjunction with robot can obtain the distance information of robot operation.
With reference to Fig. 2, with the original position of robot and target location line as x-axis and by its D decile, every of robot
Path all can use X=(x1,x2,...,xd,...,xD) represent, wherein xdRepresent the y-coordinate value of d-th Along ent, D value is bigger,
Robot path planning is finer.It can be seen that the dashed path of in figure is substantially better than other two paths, robot path is advised
The purpose drawn is exactly under meeting some requirements, and finds an optimum path X*, thus by a robot path planning
Problem is converted into the function optimization problem of a D dimension.
Robot path planning is the scale reducing planning space using a kind of definitiveness Sort of Method of State Space.Will
Robot path planning's problem reduction becomes a 2D path planning problem, and that is, a D ties up function optimization problem, then basis
Robot path planning's target, sets up its mathematical model as follows:
Wherein F represents generalized cost function, and L represents path, and B represents the obstruction generation to robot for the Environment Obstacles thing
Valency, E represents that robot runs the energy consuming, and α ∈ [0,1] represents that robot security runs the balance system and consumed energy between
Number, if the safety that robot runs is critically important, α selects larger value;If robot reaches the rapidity of target very
Important, then α selects less value.Robot path planning's purpose is exactly on the premise of minimizing generalized cost function herein,
Calculate the path of an optimum (or near-optimization) for robot.
The ENERGY E that robot runs consumption is relevant with the length in its path, obstruction cost B to robot for the Environment Obstacles thing
It is calculated as follows,
Wherein NBRepresent the number of barrier, with reference to Fig. 3, dkRepresent two nodes midpoint away from k-th barrier away from
From.
Charge System searching algorithm (Charged System Search, CCS) is a kind of to the coulomb in physicss
Law and the new Optimizing Search technology of Newton's laws of motion simulation, it passes through the electric field force of each charged particles in colony
Interact produce swarm intelligence instruct Optimizing Search.With reference to Fig. 4, each electric charge producing electric field about and can act on
In other electric charges, in figure electric charge q4Receive self charge q1,q2,q3,q5And q6Active force final along F with joint efforts4Direction fortune
Dynamic.Each electric charge moves under other charge forces in search space, and its location updating formula and speed more new formula are such as
Under:
Vj,new=Xj,new-Xj,old
Wherein Xj,newRepresent the new position of j-th electric charge, Xj,oldRepresent the old position of j-th electric charge, Xi,oldRepresent i-th
The old position of individual electric charge, Vj,newRepresent the new speed of j-th electric charge, Vj,oldRepresent the old speed of j-th electric charge, qiRepresent i-th
The quantity of electric charge of individual electric charge, rijRepresent the i-th electric charge and j-th electric charge Euclidean distance in space, randj1And randj2It is uniform
It is distributed in the random number of (0,1), iter represents the current iterationses of algorithm, itermaxRepresent the maximum iteration time of algorithm, a
Represent the radius that electric charge is considered as a powered spheroid, i1And i2It is defined as follows:
pijRepresent whether j-th electric charge is subject to the captivation of i-th electric charge, be defined as follows:
The current fitness of wherein fit (i) i-th electric charge of expression, the current fitness of fit (j) j-th electric charge of expression,
Fitbest represents the best fitness of all electric charges at present, and rand is generally evenly distributed in the random number of (0,1).
Below by an instantiation, to the robot global path based on Charge System search proposed by the invention
Planing method further describes.Experimental situation is 2.70Ghz, 2G internal memory, MATLAB R2012b version.
With reference to Fig. 5, a kind of robot global path planning method based on Charge System search, it implements
Step is as follows:Step 1:The foundation of robot path planning's mathematical model:
The foundation of robot environment's mathematical model:
Using a kind of definitiveness Sort of Method of State Space, reduce the scale of planning space, robot path planning is asked
Topic simplification becomes a 2D path planning problem, and that is, a D ties up function optimization problem.
Wherein F represents generalized cost function, and L represents path, and B represents the obstruction generation to robot for the Environment Obstacles thing
Valency, E represents that robot runs the energy consuming, and α ∈ [0,1] represents that robot security runs the balance system and consumed energy between
Number, if the safety that robot runs is critically important, α selects larger value;If robot reaches the rapidity of target very
Important, then α selects less value.
The foundation of robot path planning's optimality criterion mathematical model:
Execute safe performance indexes and the energy expenditure performance indications of task according to robot, to robot environment's barrier
Obstruction cost founding mathematical models to robot.
Wherein NBRepresent the number of barrier, with reference to Fig. 3, dkRepresent two nodes midpoint away from k-th barrier away from
From.
Step 2:Initialization robot need to carry out the ambient parameter of path planning and the correlation of Charge System searching algorithm
Parameter.
Parameter is set to:Electric charge population scale is N=20, and optimization dimension is D=30, and algorithm maximum iteration time is
itermax=200, robot security runs balance factor alpha=0.5 and consumed energy between, barrier number N in environmentB
=5, the charge radius a=1 in location updating equation, starting point coordinate [0,0] and terminal point coordinate [60,110] that robot runs.
Step 3:Random initializtion N paths and the initial position X of each electric chargej, for j=1,2 ..., N with just
Beginning speedFor j=1,2 ..., N, rectangular coordinate system is set up for x-axis with robot original position and target location, will
X-axis D decile.
Step 4:The robot path planning's mathematical model set up according to robot environment's information and in step 1, meter
Calculate the obstruction cost to robot for the environment barrier in each paths, draw the fitness value fit of each electric charge, fitness is
Value fitbest well, fitness bad value fitworst.
Step 5:Update the quantity of electric charge q of each electric chargej, attraction mark p between two electric chargesijAnd between two electric charges
Euclidean distance rij, its more new formula is distinguished as follows:
Wherein XiAnd XjIt is i-th electric charge and j-th electric charge respectively in the position in space, XbestIt is all electric charges at present
Desired positions, i.e. the position of the corresponding electric charge of fitbest, ε is the normal number of a very little, to prevent divisor from being zero.
Step 6:Update position and the speed of each electric charge according to equation below:
Vj,new=Xj,new-Xj,old(7)
Then the fitness fit assessing each electric charge is recalculated according to the mathematical model of robot path planning, find out
Fitness best values fitbest, bad value fitworst and fitbest corresponding Charge sites Xbest,new.Robot works as
Front optimal path is expressed as
Wherein Xbest,previousRepresent the optimal location of an iteration before all electric charges.
Step 7:If iterationses are more than maximum iteration time itermax, then exit circulation, export optimal path path, no
Then return to step 5 enters following iteration.
Fig. 6 is results of experimental operation, and the inventive method goes out a feasible, effective path for robot planning, becomes
Circumvent the barrier in environment work(and reach impact point.
Claims (4)
1. a kind of robot global path planning method based on Charge System search, comprises the following steps:
Step 1:Set up robot path planning's mathematical model;
Step 2:Initialization robot need to carry out the ambient parameter of path planning and the relevant parameter of Charge System searching algorithm;
Step 3:The initial position of random initializtion N paths and each electric charge and speed, with robot original position and mesh
Mark is set to x-axis and sets up rectangular coordinate system, by x-axis D decile,
The position defining j-th electric charge isWhereinRepresent j-th
Position in d dimension for the electric charge, the position X of each electric chargejJust represent the operating path of a robot, finally in all electric charges
Optimal location be robot optimal path;
Step 4:The robot path planning's mathematical model set up according to robot environment's information and in step 1, calculates each
The fitness value fit of individual electric charge, fitness best values fitbest, fitness bad value fitworst;
Step 5:According to the fitness value fit of each electric charge of acquisition, fitness best values fitbest, fitness in step 4
Bad value fitworst, updates the quantity of electric charge q of each electric chargej, attraction mark p between two electric chargesijAnd between two electric charges
Euclidean distance rij;
Step 6:Quantity of electric charge q according to each electric charge obtaining in step 5j, attraction mark p between two electric chargesijAnd two
Euclidean distance r between electric chargeij, update position and the speed of each electric charge;Then according to the robot path set up in step 1
Mathematics for programming model recalculates the fitness of each electric charge, finds out the position X of the best electric charge of current fitnessbest,new, that is,
The optimal path path of robot;
Step 7:If iterationses are more than maximum iteration time itermax, then exit circulation, export optimal path path, otherwise return
Return step 5 and enter following iteration;
It is characterized in that:In step 1, by equation below, set up robot path planning's mathematical model,
In formula, F represents generalized cost function, and L represents path, and B represents the obstruction cost to robot for the Environment Obstacles thing, E
Represent that robot runs the energy consuming, α ∈ [0,1] represents that robot security runs the balance coefficient and consumed energy between;
Environment Obstacles thing is obtained by equation below to obstruction cost B of robot,
In formula, NBRepresent the number of barrier, dkThe distance away from k-th barrier for the midpoint of two nodes of expression.
2. the robot global path planning method based on Charge System search according to claim 1 it is characterised in that:
In step 2, initialized parameter includes:Electric charge population scale N, optimizes dimension D, algorithm maximum iteration time itermax, machine
Balance factor alpha between people's safe operation and consumed energy, barrier number N in environmentB, in Charge sites renewal equation
Charge radius a, starting point coordinate and terminal point coordinate that robot runs.
3. the robot global path planning method based on Charge System search according to claim 2 it is characterised in that:
In step 5, more new formula is as follows,
In formula, XiAnd XjIt is i-th electric charge and j-th electric charge respectively in the position in space, XbestIt is the best of all electric charges at present
Position, i.e. the position of the corresponding electric charge of fitbest, ε is the normal number of a very little, to prevent divisor from being zero.
4. the robot global path planning method based on Charge System search according to claim 3 it is characterised in that:
In step 6, the position of each electric charge and speed more new formula are as follows,
Vj,new=Xj,new-Xj,old.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410264165.XA CN104020769B (en) | 2014-06-13 | 2014-06-13 | Robot overall path planning method based on charge system search |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410264165.XA CN104020769B (en) | 2014-06-13 | 2014-06-13 | Robot overall path planning method based on charge system search |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104020769A CN104020769A (en) | 2014-09-03 |
CN104020769B true CN104020769B (en) | 2017-02-08 |
Family
ID=51437578
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410264165.XA Expired - Fee Related CN104020769B (en) | 2014-06-13 | 2014-06-13 | Robot overall path planning method based on charge system search |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104020769B (en) |
Families Citing this family (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104597900A (en) * | 2014-12-02 | 2015-05-06 | 华东交通大学 | Electromagnetism-like mechanism optimization based FastSLAM method |
CN105320140B (en) * | 2015-12-01 | 2018-09-18 | 浙江宇视科技有限公司 | A kind of sweeping robot and its clean paths planning method |
CN106843216B (en) * | 2017-02-15 | 2019-11-05 | 北京大学深圳研究生院 | A kind of biology excitation complete traverse path planing method of robot based on backtracking search |
CN111288991B (en) * | 2018-12-06 | 2022-09-06 | 北京京东乾石科技有限公司 | Path planning method, device, robot and computer readable storage medium |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
TWI404918B (en) * | 2009-03-26 | 2013-08-11 | Univ Yuan Ze | Path planning method of adaptive obstacle avoidance for mobile robot |
KR101667029B1 (en) * | 2009-08-10 | 2016-10-17 | 삼성전자 주식회사 | Method and apparatus of path planing for a robot |
CN102506863B (en) * | 2011-11-07 | 2013-12-11 | 北京航空航天大学 | Universal gravitation search-based unmanned plane air route planning method |
CN103823466B (en) * | 2013-05-23 | 2016-08-10 | 电子科技大学 | Method for planning path for mobile robot under a kind of dynamic environment |
-
2014
- 2014-06-13 CN CN201410264165.XA patent/CN104020769B/en not_active Expired - Fee Related
Also Published As
Publication number | Publication date |
---|---|
CN104020769A (en) | 2014-09-03 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
Wen et al. | Path planning for active SLAM based on deep reinforcement learning under unknown environments | |
WO2023082697A1 (en) | Coordination and optimization method and system for comprehensive electric-thermal energy system, and device, medium and program | |
CN102402712B (en) | Robot reinforced learning initialization method based on neural network | |
CN102799179B (en) | Mobile robot path planning algorithm based on single-chain sequential backtracking Q-learning | |
CN104020769B (en) | Robot overall path planning method based on charge system search | |
Ma et al. | Ultra-short-term wind generation forecast based on multivariate empirical dynamic modeling | |
CN102819264A (en) | Path planning Q-learning initial method of mobile robot | |
CN102207736A (en) | Robot path planning method and apparatus thereof based on Bezier curve | |
CN105509749A (en) | Mobile robot path planning method and system based on genetic ant colony algorithm | |
CN104217251B (en) | Equipment failure Bayesian network forecasting method based on K2 algorithms | |
CN114021836A (en) | Multivariable reservoir water inflow amount prediction system based on different-angle fusion, training method and application | |
Li et al. | Application of improved ant colony optimization in mobile robot trajectory planning | |
Su et al. | Robot path planning based on random coding particle swarm optimization | |
CN105529714A (en) | Normal distribution combination characteristic-based rapid probabilistic power flow calculation method | |
Ma et al. | Research on fault location in DC distribution network based on adaptive artificial bee colony slime mould algorithm | |
Yadav et al. | PSO tuned ANFIS model for short term photovoltaic power forecasting | |
Shamseldin | Adaptive controller with PID, FOPID, and NPID compensators for tracking control of electric–wind vehicle | |
Kim et al. | Transient Stability Assessment Using Deep Transfer Learning | |
CN103268068B (en) | The building method of axial mixed magnetic bearing immunity ant colony algorithm PID controller | |
Zou et al. | Improved genetic algorithm for dynamic path planning | |
Hu et al. | Prediction of river water quality based on neural network model | |
Qin et al. | A path planning algorithm based on deep reinforcement learning for mobile robots in unknown environment | |
CN106655266A (en) | Method for configuring flexibly adjustable power supplies of new energy-integrated regional power network | |
Wu et al. | A deep reinforcement learning based car following model for electric vehicle | |
CN105976026B (en) | Wind series Forecasting Methodology based on associative neural network |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20170208 |
|
CF01 | Termination of patent right due to non-payment of annual fee |