<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE article  PUBLIC "-//NLM//DTD Journal Publishing DTD v3.0 20080202//EN" "http://dtd.nlm.nih.gov/publishing/3.0/journalpublishing3.dtd"><article xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink" dtd-version="3.0" xml:lang="en" article-type="research article"><front><journal-meta><journal-id journal-id-type="publisher-id">JCC</journal-id><journal-title-group><journal-title>Journal of Computer and Communications</journal-title></journal-title-group><issn pub-type="epub">2327-5219</issn><publisher><publisher-name>Scientific Research Publishing</publisher-name></publisher></journal-meta><article-meta><article-id pub-id-type="doi">10.4236/jcc.2016.42002</article-id><article-id pub-id-type="publisher-id">JCC-63419</article-id><article-categories><subj-group subj-group-type="heading"><subject>Articles</subject></subj-group><subj-group subj-group-type="Discipline-v2"><subject>Computer Science&amp;Communications</subject></subj-group></article-categories><title-group><article-title>
 
 
  Robot Global Path Planning Based on an Improved Ant Colony Algorithm
 
</article-title></title-group><contrib-group><contrib contrib-type="author" xlink:type="simple"><name name-style="western"><surname>ingang</surname><given-names>Cao</given-names></name><xref ref-type="aff" rid="aff1"><sub>1</sub></xref><xref ref-type="corresp" rid="cor1"><sup>*</sup></xref></contrib></contrib-group><aff id="aff1"><label>1</label><addr-line>Department of Computer, North China Electric Power University, Baoding, China</addr-line></aff><author-notes><corresp id="cor1">* E-mail:<email>caojg168@126.com</email></corresp></author-notes><pub-date pub-type="epub"><day>15</day><month>02</month><year>2016</year></pub-date><volume>04</volume><issue>02</issue><fpage>11</fpage><lpage>19</lpage><history><date date-type="received"><day>9</day>	<month>January</month>	<year>2016</year></date><date date-type="rev-recd"><day>accepted</day>	<month>12</month>	<year>February</year>	</date><date date-type="accepted"><day>15</day>	<month>February</month>	<year>2016</year></date></history><permissions><copyright-statement>&#169; Copyright  2014 by authors and Scientific Research Publishing Inc. </copyright-statement><copyright-year>2014</copyright-year><license><license-p>This work is licensed under the Creative Commons Attribution International License (CC BY). http://creativecommons.org/licenses/by/4.0/</license-p></license></permissions><abstract><p>
 
 
  Aiming at the disadvantages of the basic ant colony algorithm, this paper proposes an improved ant colony algorithm for robot global path planning. First, adjust the pheromone evaporation rate dynamically to enhance the global search ability and convergence speed, and then modify the heuristic function to improve the state transition probabilities in order to find the optimal solution as quickly as possible; and finally change the pheromone update strategy to avoid premature by strengthening pheromone on the optimal path and limiting pheromone level. Simulation results verify the effectiveness of the improved algorithm.
 
</p></abstract><kwd-group><kwd>Path Planning</kwd><kwd> Ant Colony Algorithm</kwd><kwd> Grid Method</kwd></kwd-group></article-meta></front><body><sec id="s1"><title>1. Introduction</title><p>The path planning is an important ability in many applications, such as UAV (Unmanned Aerial Vehicle), robotics, unmanned car and so on. Its task is to find a path from the current point (or the start point) to the target point, which is a shortest or a minimum price path without barrier in the environment which has obstacles.</p><p>The path planning is further divided into two categories [<xref ref-type="bibr" rid="scirp.63419-ref1">1</xref>] ―global path planning and local path planning. Global path planning is required that environment should be completely known and the obstacles should be static. The robot produces a path from the starting point to the destination before it starts moving. But local path planning enables a robot to plan its path as it is moving in the environment, which means the robot will be able to generate new paths in response to the changes of environment [<xref ref-type="bibr" rid="scirp.63419-ref2">2</xref>] .</p><p>In recent years, many researchers have studied the global path planning on various intelligent methods, such as genetic algorithms [<xref ref-type="bibr" rid="scirp.63419-ref3">3</xref>] , particle swarm algorithms [<xref ref-type="bibr" rid="scirp.63419-ref4">4</xref>] , neural networks [<xref ref-type="bibr" rid="scirp.63419-ref5">5</xref>] and ant colony algorithm [<xref ref-type="bibr" rid="scirp.63419-ref6">6</xref>] , etc.</p><p>M. Dorigo, Italian scholar, who was inspired from ant foraging behavior and first proposed the ant colony algorithm in 1991 [<xref ref-type="bibr" rid="scirp.63419-ref6">6</xref>] . Ant colony algorithm is a swarm intelligent algorithm, and it has many advantages: 1) strong solved robustness; 2) easy to implement parallel processing; 3) easy to combine with other algorithms to improve [<xref ref-type="bibr" rid="scirp.63419-ref7">7</xref>] . However, the basic ant colony algorithm also has many disadvantages: 1) easy to fall into local optimal solution; 2) large calculation, slow convergence and so on. The paper considers the problems of ant colony algorithm and proposes an improved ant colony algorithm and uses it to the robot global path planning.</p><p>The paper is organized as follows: Section 2 and 3 describes the method of grid modeling and the basic ant colony algorithm; Section 4 describes the improved ant colony algorithm for the robot; Section 5 presents the experimental results on robot global path planning based on ant colony algorithms. Section 6 presents brief concluding remarks.</p></sec><sec id="s2"><title>2. Grid Modeling</title><p>Grid method was proposed by the W. E. Howden in 1968, and its mainly task is to build a path grid map depending on the environment. The basic principle is to divide robot working environment into numerous tiny grid units, and the specifications of each grid is determined by the robot steps, namely one step is one grid unit. The grid is divided into two kinds: free gird and obstacle grid. Free grid is represented by white grid, and obstacle grid is represented by black grid. The grid map can be represented by a binary matrix, which 1 represents obstacle and 0 is free grid. The obstacle can occupy a grid or multiple grids, if it less than one grid is also expressed by one grid. Robot can only move in the free grid and must avoid when it encounter obstacles grid.</p><p>Depending on the position of grid, the grid can be divided into intermediate grid and boundary grid. For intermediate grid, robot may have eight directions for the next motion. Such as up, down, left, right, right-up, right-down, left-up and left-down. <xref ref-type="fig" rid="fig1">Figure 1</xref> shows the motion direction of the robot. And for boundary grid, it has to subtract inaccessible directions. Robot must avoid obstacles to select an optimization motion path moving to the target position.</p><p>The paper uses two-dimensional grid represents robot environment, and encodes the grid from left to right, from top to bottom. <xref ref-type="fig" rid="fig2">Figure 2</xref> is a 20 &#215; 20 grid map.</p><p>In <xref ref-type="fig" rid="fig2">Figure 2</xref>, the number of grid in each row<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1730310x6.png" xlink:type="simple"/></inline-formula>, and the number of grid in each column<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1730310x7.png" xlink:type="simple"/></inline-formula>. The coordinate of the first grid is (0.5, 19.5), and the coordinate of the second grid is (1.5, 19.5), … Suppose <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1730310x8.png" xlink:type="simple"/></inline-formula> is a set of the number of grids, the coordinate of the ith grid is <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1730310x9.png" xlink:type="simple"/></inline-formula> and <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1730310x10.png" xlink:type="simple"/></inline-formula> is the length of each unit in axis. The relation between the coordinate and the number of the grid can be expressed as follows:</p><disp-formula id="scirp.63419-formula85"><label>(1)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/2-1730310x11.png"  xlink:type="simple"/></disp-formula><p>where, <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1730310x12.png" xlink:type="simple"/></inline-formula>is the number of grid in each row; <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1730310x13.png" xlink:type="simple"/></inline-formula>is the number of grid in each column; i is the ith grid; mod is a function to get remainder, and ceil is a function to get integer.</p><fig id="fig1"  position="float"><label><xref ref-type="fig" rid="fig1">Figure 1</xref></label><caption><title> The motion direction of the robot</title></caption><graphic mimetype="image"   position="float"  xlink:type="simple"  xlink:href="http://html.scirp.org/file/2-1730310x14.png"/></fig><fig id="fig2"  position="float"><label><xref ref-type="fig" rid="fig2">Figure 2</xref></label><caption><title> The grid map</title></caption><graphic mimetype="image"   position="float"  xlink:type="simple"  xlink:href="http://html.scirp.org/file/2-1730310x15.png"/></fig></sec><sec id="s3"><title>3. The Basic Ant Colony Algorithm</title><p>Ant colony algorithm (ACO) is an intelligent heuristic search algorithm by simulating the ant behavior to find the optimal path between the food source and their nest. Ants release pheromone on the path which they passed. Through these pheromones, ants can communicate with each other and find the shortest path to food finally. When the ant reaches an intersection at first time, it will randomly choose a motion direction forward. The more ants follow a given path, the more pheromone will be left on the path, and also the more attractive this path becomes to be followed by other ants. The probability of other ants selecting the path is increased. Ants can also adapt to environmental changes, when there is an obstacle on the path, they will find a new path quickly. This process can be expressed as a loop of positive feedback.</p><p>The probability of the ant k moving from the grid i to j is defined as follows [<xref ref-type="bibr" rid="scirp.63419-ref6">6</xref>] :</p><disp-formula id="scirp.63419-formula86"><label>(2)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/2-1730310x16.png"  xlink:type="simple"/></disp-formula><p>where, <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1730310x17.png" xlink:type="simple"/></inline-formula>denotes the transition probability in which the ant k will traverse from grid i to j at time t; <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1730310x18.png" xlink:type="simple"/></inline-formula>is the intensity of the pheromone between grid i and j at time t; <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1730310x19.png" xlink:type="simple"/></inline-formula>represents the heuristic function between</p><p>grid i and j; <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1730310x20.png" xlink:type="simple"/></inline-formula>is information inspiration factor and <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1730310x20.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1730310x21.png" xlink:type="simple"/></inline-formula> is hope inspiration factor; allowed<sub>k</sub> denotes a set of grids the ant k selecting in next step.</p><p>The process of robot path planning based on ant colony algorithm can be divided into two stages: optimization stage and stagnation stage. In optimization stage, the algorithm should have stronger ability of global search and can rapidly converge; and during stagnation stage, the algorithm should can automatically jump out of local optimal solution and continue to search the global optimal solution. To avoid premature to fall into local optimal solution and blind searching, the algorithm requires randomness of search and accuracy of solution. But randomness and accuracy are usually both contradictory and interrelation. In order to overcome defects of ACO, this paper presents an improved ant colony algorithm (IACO).</p></sec><sec id="s4"><title>4. The Improved Ant Colony Algorithm</title><sec id="s4_1"><title>4.1. Optimize the Initial Pheromone</title><p>For the basic ant colony algorithm, the searching time is too long. One of the reasons is that the direction of the initial moment when the ants begin to search is uncertain. To improve the problem, and speed up the search, we initialize pheromone decreasing with distance so that the ant has a clear motion direction during the initial search, the method is as follows:</p><disp-formula id="scirp.63419-formula87"><label>(3)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/2-1730310x22.png"  xlink:type="simple"/></disp-formula><disp-formula id="scirp.63419-formula88"><label>(4)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/2-1730310x23.png"  xlink:type="simple"/></disp-formula><p>where, <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1730310x24.png" xlink:type="simple"/></inline-formula>denotes the initial pheromone level of a free grid i<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1730310x24.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1730310x25.png" xlink:type="simple"/></inline-formula>; <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1730310x24.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1730310x25.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1730310x26.png" xlink:type="simple"/></inline-formula>is a pheromone constant; <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1730310x24.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1730310x25.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1730310x26.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1730310x27.png" xlink:type="simple"/></inline-formula>represents the distance between the grid i <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1730310x24.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1730310x25.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1730310x26.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1730310x27.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1730310x28.png" xlink:type="simple"/></inline-formula> and the target position G<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1730310x24.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1730310x25.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1730310x26.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1730310x27.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1730310x28.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1730310x29.png" xlink:type="simple"/></inline-formula>.</p></sec><sec id="s4_2"><title>4.2. Adjust Pheromone Evaporation Rate Dynamically</title><p>In ACO, pheromone evaporation rate <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1730310x30.png" xlink:type="simple"/></inline-formula> is unchanged and<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1730310x30.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1730310x31.png" xlink:type="simple"/></inline-formula>, which is directly related to the global search ability and convergence speed. If <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1730310x30.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1730310x31.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1730310x32.png" xlink:type="simple"/></inline-formula> is too small, ACO is prone to local convergence. On the contrary, if <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1730310x30.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1730310x31.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1730310x32.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1730310x33.png" xlink:type="simple"/></inline-formula> is too large, although it can improved ACO random search performance and global search capability, the convergence rate of the algorithm will be reduced. So the paper adjusts <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1730310x30.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1730310x31.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1730310x32.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1730310x33.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1730310x34.png" xlink:type="simple"/></inline-formula> dynamically with the change of the number of cycles. In order to reduce the amount of calculation, <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1730310x30.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1730310x31.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1730310x32.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1730310x33.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1730310x34.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1730310x35.png" xlink:type="simple"/></inline-formula>does not adjust in each cycle. In the early stage of algorithms, <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1730310x30.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1730310x31.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1730310x32.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1730310x33.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1730310x34.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1730310x35.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1730310x36.png" xlink:type="simple"/></inline-formula>has a large value to enhance the global search ability of the algorithm. With the number of cycles increases, <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1730310x30.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1730310x31.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1730310x32.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1730310x33.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1730310x34.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1730310x35.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1730310x36.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1730310x37.png" xlink:type="simple"/></inline-formula>reduced appropriately, and the algorithm can converge to the optimal solution quickly. Specific rules are as follows:</p><disp-formula id="scirp.63419-formula89"><label>(5)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/2-1730310x38.png"  xlink:type="simple"/></disp-formula><p>where, k represents the current number of cycle; <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1730310x39.png" xlink:type="simple"/></inline-formula>represents the maximum number of cycle; <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1730310x39.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1730310x40.png" xlink:type="simple"/></inline-formula>is the initial value of the pheromone evaporation rate, F is the frequency factor, the bigger F is , the slower <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1730310x39.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1730310x40.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1730310x41.png" xlink:type="simple"/></inline-formula> will be adjusted.</p></sec><sec id="s4_3"><title>4.3. Improved Heuristic Function</title><p>In ACO, the heuristic function is:</p><disp-formula id="scirp.63419-formula90"><label>(6)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/2-1730310x42.png"  xlink:type="simple"/></disp-formula><p>where, <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1730310x43.png" xlink:type="simple"/></inline-formula>represents the distance between grid i and the next grid j. But in grid map, the difference of value between adjacent grids is not obvious. In order to improve search efficiency of the algorithm, we use <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1730310x43.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1730310x44.png" xlink:type="simple"/></inline-formula> instead of<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1730310x43.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1730310x44.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1730310x45.png" xlink:type="simple"/></inline-formula>, and <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1730310x43.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1730310x44.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1730310x45.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1730310x46.png" xlink:type="simple"/></inline-formula> represents the distance the next grid j to the target grid g.</p><p>In grids map, when the target position is known, a ant can calculate distances from its surrounding eight grids to the target point. The smaller the distance, the larger the value of<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1730310x47.png" xlink:type="simple"/></inline-formula>. So the heuristic function can be expressed as</p><disp-formula id="scirp.63419-formula91"><label>(7)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/2-1730310x48.png"  xlink:type="simple"/></disp-formula><p>where, <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1730310x49.png" xlink:type="simple"/></inline-formula>is heuristic factor, and it is a constant.</p></sec><sec id="s4_4"><title>4.4. Modified Pheromone Update Strategy</title><p>Scholars have proposed several different pheromone update models, there are three mainly models: Ant-Cycle model, Ant-Quantity model and Ant-Density model. The paper chooses Ant-Cycle model, which can be expressed as follows:</p><disp-formula id="scirp.63419-formula92"><label>(8)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/2-1730310x50.png"  xlink:type="simple"/></disp-formula><p>where Q is a constant of pheromone, <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1730310x51.png" xlink:type="simple"/></inline-formula>is the length of path passed by the ant k, and<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1730310x51.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1730310x52.png" xlink:type="simple"/></inline-formula>.</p><p>All ants move one step called once iteration, after n iterations, all ants finish a cycle. In a cycle, there is a current optimal solution <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1730310x53.png" xlink:type="simple"/></inline-formula> and a worst solution<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1730310x53.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1730310x54.png" xlink:type="simple"/></inline-formula>. Using these two values to select some good solutions and update pheromone quantity, the rules are as follows:</p><disp-formula id="scirp.63419-formula93"><label>(9)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/2-1730310x55.png"  xlink:type="simple"/></disp-formula><disp-formula id="scirp.63419-formula94"><label>(10)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/2-1730310x56.png"  xlink:type="simple"/></disp-formula><disp-formula id="scirp.63419-formula95"><label>(11)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/2-1730310x57.png"  xlink:type="simple"/></disp-formula></sec><sec id="s4_5"><title>4.5. Limited Pheromone Quantity</title><p>When the pheromone quantity is too high, the algorithm is prone to premature, and it will reduce the optimization capability. The paper introduces Max-Min ant method to pheromone update strategy, which can be described as follows:</p><disp-formula id="scirp.63419-formula96"><label>(12)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/2-1730310x58.png"  xlink:type="simple"/></disp-formula><p>In Formula (12), the pheromone quantity is limited between<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1730310x59.png" xlink:type="simple"/></inline-formula>, which can make the difference of the pheromone quantity between the worst path and the optimal path is not too large.</p></sec><sec id="s4_6"><title>4.6. Algorithm Steps</title><p>Step 1: Initialization parameter: setting the start and target point, the maximum number of cycles<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1730310x60.png" xlink:type="simple"/></inline-formula>, the number of ant colony, and other parameters such as<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1730310x60.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1730310x61.png" xlink:type="simple"/></inline-formula>, etc.;</p><p>Step 2: Put all ants on the start point, and each ant determines which path it will select according to the transition probability equation;</p><p>Step 3: Save the path and the path length of each ant in each cycle;</p><p>Step 4: When one cycle finish, update pheromone quantity according to pheromone strategies;</p><p>Step 5: Loop execution Step 2 to 4 until the optimal solution is got or reach the maximum number of cycles.</p></sec></sec><sec id="s5"><title>5. Simulation and Analysis</title><p>In order to verify the effectiveness of the improved ant colony algorithm, the paper simulates on Matlab 7.1 platform. The main parameters as follows: ρ = 0.7; α = 1; β = 5; Q = 1000.</p><p>To compare with the basic ant colony algorithm (ACO), we design the five different grid maps as Figures 3-7, which are the results of the simulation. <xref ref-type="fig" rid="fig1">Figure 1</xref> is a 10 &#215; 10 size and the simple and small map. <xref ref-type="fig" rid="fig2">Figure 2</xref> is a 15 &#215; 15 size and more complex than <xref ref-type="fig" rid="fig1">Figure 1</xref>. Figures 3-5 is a 20 &#215; 20 size, 25 &#215; 25 size and 30 &#215; 30 size respectively. In different figures, there are two parameter were changed during simulation, they are the maximum number of cycles and the number of ants. In each Figure, (a) and (b) show the optimal path with IACO and ACO; (c) and (d) are the convergence curve about the average length of path and the number of cycle.</p><p>In the different five maps, each map simulates 20 times independently. <xref ref-type="table" rid="table1">Table 1</xref> shows the results of comparison between IACO and ACO. Form <xref ref-type="table" rid="table1">Table 1</xref>, we can see that the average number of cycles with IACO is much less than ACO, which nearly reduce one-third of the number of cycles. Also, the average length of the optimal path with IACO is shorter than ACO. It’s because IACO improves the transition probability, and ants are prone to find the optimal path. In other words, the results show that global optimization ability and searching speed are improved obviously with IACO.</p><fig-group id="fig3"><label><xref ref-type="fig" rid="fig3">Figure 3</xref></label><caption><title> (a) IACO; (b) ACO; (c) IACO; (d) ACO.</title></caption><fig id ="fig3_1"><label> (b)</label><graphic mimetype="image"   position="float"  xlink:type="simple"  xlink:href="http://html.scirp.org/file/2-1730310x62.png"/></fig><fig id ="fig3_2"><label>(c)</label><graphic mimetype="image"   position="float"  xlink:type="simple"  xlink:href="http://html.scirp.org/file/2-1730310x63.png"/></fig></fig-group><fig-group id="fig4"><label><xref ref-type="fig" rid="fig4">Figure 4</xref></label><caption><title> (a) IACO; (b) ACO; (c) IACO; (d) ACO.</title></caption><fig id ="fig4_1"><label> (b)</label><graphic mimetype="image"   position="float"  xlink:type="simple"  xlink:href="http://html.scirp.org/file/2-1730310x64.png"/></fig><fig id ="fig4_2"><label>(c)</label><graphic mimetype="image"   position="float"  xlink:type="simple"  xlink:href="http://html.scirp.org/file/2-1730310x65.png"/></fig></fig-group><fig-group id="fig5"><label><xref ref-type="fig" rid="fig5">Figure 5</xref></label><caption><title> (a) IACO; (b) ACO; (c) IACO; (d) ACO.</title></caption><fig id ="fig5_1"><label> (b)</label><graphic mimetype="image"   position="float"  xlink:type="simple"  xlink:href="http://html.scirp.org/file/2-1730310x66.png"/></fig><fig id ="fig5_2"><label>(c)</label><graphic mimetype="image"   position="float"  xlink:type="simple"  xlink:href="http://html.scirp.org/file/2-1730310x67.png"/></fig></fig-group><fig-group id="fig6"><label><xref ref-type="fig" rid="fig6">Figure 6</xref></label><caption><title> (a) IACO; (b) ACO; (c) IACO; (d) ACO.</title></caption><fig id ="fig6_1"><label> (b)</label><graphic mimetype="image"   position="float"  xlink:type="simple"  xlink:href="http://html.scirp.org/file/2-1730310x68.png"/></fig><fig id ="fig6_2"><label>(c)</label><graphic mimetype="image"   position="float"  xlink:type="simple"  xlink:href="http://html.scirp.org/file/2-1730310x69.png"/></fig></fig-group><fig-group id="fig7"><label><xref ref-type="fig" rid="fig7">Figure 7</xref></label><caption><title> (a) IACO; (b) ACO; (c) IACO; (d) ACO.</title></caption><fig id ="fig7_1"><label> (b)</label><graphic mimetype="image"   position="float"  xlink:type="simple"  xlink:href="http://html.scirp.org/file/2-1730310x70.png"/></fig><fig id ="fig7_2"><label>(c)</label><graphic mimetype="image"   position="float"  xlink:type="simple"  xlink:href="http://html.scirp.org/file/2-1730310x71.png"/></fig></fig-group><table-wrap id="table1" ><label><xref ref-type="table" rid="table1">Table 1</xref></label><caption><title> The results of the comparison</title></caption><table><tbody><thead><tr><th align="center" valign="middle"  rowspan="2"  >Type of map</th><th align="center" valign="middle"  colspan="2"  >The average number of cycles</th><th align="center" valign="middle"  colspan="2"  >The average length of the optimal path</th></tr></thead><tr><td align="center" valign="middle" >ACO</td><td align="center" valign="middle" >IACO</td><td align="center" valign="middle" >ACO</td><td align="center" valign="middle" >IACO</td></tr><tr><td align="center" valign="middle" ><xref ref-type="fig" rid="fig3">Figure 3</xref></td><td align="center" valign="middle" >31</td><td align="center" valign="middle" >21</td><td align="center" valign="middle" >15.7279</td><td align="center" valign="middle" >14.8995</td></tr><tr><td align="center" valign="middle" ><xref ref-type="fig" rid="fig4">Figure 4</xref></td><td align="center" valign="middle" >43</td><td align="center" valign="middle" >34</td><td align="center" valign="middle" >22.799</td><td align="center" valign="middle" >21.3848</td></tr><tr><td align="center" valign="middle" ><xref ref-type="fig" rid="fig5">Figure 5</xref></td><td align="center" valign="middle" >99</td><td align="center" valign="middle" >50</td><td align="center" valign="middle" >30.2668</td><td align="center" valign="middle" >29.1153</td></tr><tr><td align="center" valign="middle" ><xref ref-type="fig" rid="fig6">Figure 6</xref></td><td align="center" valign="middle" >153</td><td align="center" valign="middle" >95</td><td align="center" valign="middle" >37.0692</td><td align="center" valign="middle" >36.2885</td></tr><tr><td align="center" valign="middle" ><xref ref-type="fig" rid="fig7">Figure 7</xref></td><td align="center" valign="middle" >212</td><td align="center" valign="middle" >147</td><td align="center" valign="middle" >44.5269</td><td align="center" valign="middle" >43.1838</td></tr></tbody></table></table-wrap></sec><sec id="s6"><title>6. Conclusion</title><p>This paper proposes an improved ant colony algorithm and applies it to the robot path planning. In the improved algorithm, pheromone quantity is reinforced in some short paths of each cycle, and pheromone evaporation rate is adjusted dynamically and so the transition probability is improved. The simulation results show that these measures are effective and can enhance global optimization ability, searching speed, and can avoid premature.</p></sec><sec id="s7"><title>Cite this paper</title><p>JingangCao, (2016) Robot Global Path Planning Based on an Improved Ant Colony Algorithm. Journal of Computer and Communications,04,11-19. doi: 10.4236/jcc.2016.42002</p></sec></body><back><ref-list><title>References</title><ref id="scirp.63419-ref1"><label>1</label><mixed-citation publication-type="other" xlink:type="simple">Wang, H.H. and Liu, Q. (2006) Convergence Analysis of a MAX-MIN ant Colony Algorithm. Dynamics of Continuous Discrete and Impulsive Systems, Series B—Applications &amp; Algorithms, 13E, 3901-3904.</mixed-citation></ref><ref id="scirp.63419-ref2"><label>2</label><mixed-citation publication-type="other" xlink:type="simple">Dorigo, M., Maniezzo, V. and Colorni, A. (1996) Ant System: Optimization by a Colony of Cooperating Agents. IEEE Transactions on Systems, Men and Cybernetics—Part B, 26, 29-41. http://dx.doi.org/10.1109/3477.484436</mixed-citation></ref><ref id="scirp.63419-ref3"><label>3</label><mixed-citation publication-type="other" xlink:type="simple">Deng, W.Y., Zheng Q.H., Chen, L. and Xu, X.B. (2010) Research on Extreme Learning of Neural Networks. Chinese Journal of Computers, 33, 279-287. http://dx.doi.org/10.3724/SP.J.1016.2010.00279</mixed-citation></ref><ref id="scirp.63419-ref4"><label>4</label><mixed-citation publication-type="other" xlink:type="simple">Zhang, W.X., Zhang, X.L. and Li, Y. (2014) Path Planning for Intelligent Robots Based on Improved Particle Swarm Optimization Algorithm. Chinese Journal of Computer Applications, 34, 510-513.</mixed-citation></ref><ref id="scirp.63419-ref5"><label>5</label><mixed-citation publication-type="other" xlink:type="simple">Zhou, L.F. and Hong, B.R. (2006) A Knowledge Based Genetic Algorithm for Path Planning of a Mobile Robot. Chinese Journal of Acta Electronica Sinica, 34, 911-914.</mixed-citation></ref><ref id="scirp.63419-ref6"><label>6</label><mixed-citation publication-type="other" xlink:type="simple">Yee, Z.C. and Ponnambalam, S.G. (2009) Mobile Robot Path Planning Using Ant Colony Optimization. IEEE/ASME International Conference on Advanced Intelligent Mechatronics, AIM 2009, Singapore, 14-17 July 2009, 851-856.</mixed-citation></ref><ref id="scirp.63419-ref7"><label>7</label><mixed-citation publication-type="other" xlink:type="simple">Sedighi, K.H., Ashenayi, K., Manikas, T.W., Wainwright, R.L. and Tai, H.M. (2004) Autonomous Local Path Planning for a Mobile Robot Using a Genetic Algorithm. Proceedings of the 2004 IEEE Congress on Evolutionary Computation, 2, 1338-1345. http://dx.doi.org/10.1109/CEC.2004.1331052</mixed-citation></ref></ref-list></back></article>