Abstract
According to the characteristics of ant colony optimization (ACO) algorithm in mobile robot path planning, such as local optimal solution, slow convergence speed, low search efficiency, and propensity to produce numerous deadlock ants, an improved ACO algorithm based on island type (insular ACO (INACO)) is introduced. In this algorithm, firstly, several islands are established between the starting and the ending position of environment, serving as intermediate nodes for the paths searched by the ants. This greatly reduces the number of deadlock ants. Additionally, rectangular areas are initialized with non-uniform pheromone levels between adjacent islands, while other areas are set to a constant minimum pheromone value. This prevents blind searches during the initial stages of path planning. Furthermore, an adaptive volatilization coefficient is introduced into the global pheromone update rules to balance the convergence and global search ability. Finally, optimal parameter combinations of INACO are determined by simulation. INACO algorithm is simulated in various grid maps and compared with other improved ACO algorithms. Results demonstrate its superior global optimal search capability and rapid convergence speed. The average iterative times is 2.7 in a 20 × 20 grid environment and 4.7 in a 30 × 30 grid environment. Notably, INACO produces very few lost ants, with mean values of 50.1 and 95.2 in 20 × 20 and 30 × 30 grid environments, respectively.
Introduction
Navigation is an important research direction which can be used in mobile robot 1 and visually impaired individuals, 2 the optimal path from the starting position to the target position without collision can be found through path planning. 3 Path planning stands as a crucial prerequisite for enabling mobile robots to independently navigate intricate environments. Its significance spans various domains, including facilitating autonomous robot actions to prevent collisions, 4 obstacle avoidance, 5 conducting unmanned aerial vehicle (UAV) penetration flights, 6 urban road network planning, 7 addressing vehicle routing challenges in logistics management, and so on. 8 Arduino Uno and Raspberry Pi are common control systems capable of sensing the environment through various sensors such as distance sensors, LiDAR, etc., and controlling lights, motors, etc., to provide feedback and influence the environment. They have been widely used by researchers in the design of unmanned vehicles. Samrat et al. 9 installed various sensors on the autonomous driving vehicle and utilized commands from Arduino and Raspberry Pi to implement an optimized path planning algorithm, aiming to find the optimal route to the destination. Oltean 10 proposed a mobile robot platform with a fixed four-wheel chassis and designed electronic systems around Raspberry Pi and Arduino Uno interfaces. This platform can be used for applications such as autonomous guided robots in indoor environments. Mohan and Ignatious 11 designed a mobile robot controlled by an Arduino Uno board to assess the enhanced A* algorithm for path planning. Therefore, path planning holds high engineering application value and garnered considerable attention from scholars.
Path planning has emerged as a prominent research topic, garnering significant attention across various industries. A multitude of methodologies and algorithms, such as the Dijkstra algorithm, A* algorithm, simulated annealing (SA), artificial potential field (APF) method, and rapidly exploring random tree (RRT), among others, have been extensively investigated. The Dijkstra algorithm is widely recognized for computing the shortest route between a source and destination point. 12 Wu et al. 13 utilized it to tackle urban traffic path planning in Nanling town, while Li et al. 14 implemented it in selecting the optimal service composition path, providing a feasible solution for selecting service composition modes. The A* algorithm, refined from the Dijkstra algorithm, incorporates global information to approximate the distance between the current position and the destination point. Hassani et al. 15 employed the A* algorithm to optimize robot path planning, while Duchon et al. 16 and Akshay et al. 17 enhanced the original A* algorithm for mobile robot path planning across various grid environments. Nevertheless, the A* algorithm's memory computation can significantly increase computational demands, especially in complex environments. The SA is a stochastic algorithm extensively applied to address combinatorial optimization challenges, including the traveling salesman problem and graph coloring problem. Xiao et al. 18 introduced an enhanced SA method for UAV coverage path planning, demonstrating its high-quality effectiveness. The vehicle routing optimization problem was addressed by Xi et al. 19 through their proposal of an SA-hybrid neural network (SA-HNN) algorithm. The APF stands as another commonly employed algorithm for path planning. 20 In addressing the challenge of real-time drone path planning in complex environments, Yao et al. 21 incorporated a constrained artificial potential field method into their proposed path planning approach, leveraging the D*Lite algorithm for enhanced effectiveness. Xiong et al. 22 introduced the Rapid Annotation using Subsystem Technology star (RAST*) algorithm, a novel approach that merges concepts from the RRT star (RRT*) with tournament selection techniques and informative heuristics to enhance exploration and adaptability. Additionally, Zhang et al. 23 proposed a target bias search strategy and a new metric function to address the poor real-time performance and rough planned paths of the basic RRT algorithm. Zhang et al. 23 devised a targeted bias search strategy along with a novel metric function to mitigate the challenges associated with the basic RRT algorithm, including its sluggish real-time performance and the generation of coarse planned paths. With the advancements in bionic algorithms and artificial intelligence, intelligent path optimization algorithms such as genetic algorithm (GA),6,7 particle swarm optimization (PSO), 24 and ant colony optimization (ACO),25,26 have become extensively employed in path planning tasks. The GA operates by searching for optimal solutions based on Darwinian evolution principles. 27 Chong et al. 28 utilized an improved adaptive GA to optimize the initial weights and thresholds of the backpropagation neural network, enhancing the reliability of underwater path planning for autonomous underwater vehicles. In another study, Zhang et al. 29 improved the GA by incorporating adaptive crossover and mutation rates, resulting in refined path planning for multi-UAV scenarios to enhance effective flight time and mission completion rates. Similarly, PSO, known for its rapid convergence speed and minimal parameter requirements, has found widespread application in the realm of path planning. The improved PSO algorithm based on Gaussian processes, as presented by Kathen et al., 30 achieves a better balance between exploration and exploitation for the movement of each autonomous surface vehicle on Lake Ypacarai's surface. Moreover, Ahmed et al. 31 introduced a trajectory planner leveraging the PSO algorithm to optimize path planning for achieving distributed full coverage by a swarm of UAVs.
The ACO algorithm, which was introduced by Dorigo and Gambardella, 32 is a meta-heuristic evolutionary algorithm based on group foraging and has the advantages of parallel processing, distributed computing, high robustness, and positive feedback.33,34 Consequently it has been widely used in solving numerous combinational optimization problems 35 and has demonstrated significant success in path planning for mobile robots. Despite its effectiveness, ACO still has some defects of stagnation and premature convergence, low search efficiency, difficulty in determining control parameters, local optimization, a large number of lost ants, and extended search durations. As the complexity of the environmental map increases, these deficiencies become more obvious. In an effort to improve the performance of ACO, several enhancements have been proposed by researchers. Zhao et al. 36 introduced a variant of the ACO aimed at minimizing the effect of ant population size on algorithm performance. This was achieved through the implementation of information pheromone coverage and an updated strategy. Miao et al. 37 proposed an improved adaptive ACO algorithm by enhancing transfer probability and implementing an adaptive adjustment method to the pheromone update rule. Wu et al. 38 incorporated the rollback strategy into basic ACO, enabling more ants to reach the target while reducing the impact of invalid pheromones on ACO evolution. Yue et al. 39 proposed a penalty strategy aimed at improving ants’ ability to explore unknown regions by volatilizing the poor path pheromone. An adaptive polymorphic ACO algorithm proposed by Jiao et al. 40 can solve the problem of deadlock and improve the global search ability. Furthermore, Jiang et al. 41 introduced a novel improved algorithm rooted in ACO. This approach increased the initial pheromone concentration, dynamically controlled the pseudorandom transfer strategy, updated the pheromones of high-quality ants, and adjusted the volatility coefficient adaptively. This resulted in significant improvements in the global search ability, convergence speed, and computational efficiency. Zhang et al. 42 introduced an improved ant colony system (EACSPGO), which effectively accelerates the convergence rate and produces a better solution. Ajeil et al. 43 devised an aging-based ACO (ABACO) that incorporates grid-based modeling across various grid maps to address navigation problems. Through comparisons with traditional algorithms in various static environments, they demonstrated the superiority of ABACO, offering new perspectives for improving ACO algorithms.
According to the literature mentioned above, optimization measures have improved the performance of ACOs in previous studies. However, some shortcomings remain, such as a large number of lost ants are not considered, especially in complex environments. There remains potential for enhancing both the convergence speed and the quality of solutions. In this paper, a variant of ACO, namely an improved ACO algorithm based on islands type (insular ACO (INACO)), is proposed. The main characteristics of this algorithm are summarized as follows:
Several island points are evenly distributed between the starting grid and the destination grid, resulting in a significant decrease in deadlocked ants and enhancing the success rate of finding the optimal path, especially in complex grid maps. The acceleration of the convergence rate is achieved through the implementation of non-uniform pheromone distribution between adjacent islands during the initialization stage. An adaptive evaporation coefficient is introduced to update the pheromone adaptively. Additionally, additional pheromones are increased along the optimal path as a reward, while they are reduced along the worst path as a form of punishment. With the improvements above, the global optimal path can be found quickly. The optimal parameter combination is determined through the simulation studies, and the effectiveness of this algorithm is validated across different grid maps.
Environment modeling
For environment modeling, the grid method is employed due to its simplicity and efficiency. In the grid environment modeling, free grids are represented by 0 and are filled with white, while obstacle grids are represented by 1 and are filled with black. This paper utilizes a Cartesian coordinate system along with serial number notation to define the location of each grid. 44 The grid method of environment modeling (Environment 1) is illustrated in Figure 1. Environment 1 comprises 10 × 10 grids. As depicted in Figure 2, the left-up grid represents an obstacle grid, while the remaining grids are free and available for robot path planning.

Grid map.

Alternative options for movement direction.
In a Cartesian coordinate system, the center of each grid can be uniquely represented by absolute coordinates (x, y). In the serial number method, grids are numbered sequentially from left to right and top to bottom, starting at 1 and increasing by 1. Each grid corresponds to a specific number. The serial number of all grids in the environment are formed as a set, which is described as follows
45
:
Brief introduction of ACO
The ACO is utilized to solve optimization problems by imitating the food-seeking behavior of real ant colonies, which relies on the shortest route of pheromone from their nest to the food source. As ants search for food, they explore the environment randomly, while leaving pheromones on the path they traverse. Pheromone concentration increases as ants continue along paths with stronger pheromones. Consequently, an increased number of ants will be drawn to the path, leading to further amplifying the pheromone concentration, and so forth. The ants usually use the behavior mentioned above to search for the shortest path.
Assuming that the kth ant moves from position i to position j at time t, where position i is the current grid of the ant and position j is the unvisited grid to which the ant will move. If there is more than one unvisited grid j around current grid i, the transition probability
Once all ants finished an iterative search, the pheromone on each path is adjusted according to equation (10)
42
:
Introduction of INACO
The traditional ACO has shortcomings in that it often falls into local optimization at the initial stage, as the optimal solution cannot always be attained through the selection of transition probability. Additionally, the algorithm's convergence rate may decelerate due to the limitations of heuristic search constraints. As a result, when the environment becomes more complex, ants are prone to becoming trapped. As illustrated in Figure 3, when an ant reaches position P1, there are no other grids to traverse, and similarly, there are no unvisited grids around position P2, leading to the failure to reach the target grid. To enhance the performance of ACO and reduce the number of lost ants, we introduce a variant algorithm of ACO, which is abbreviated as INACO. This algorithm improves four major aspects of ACO: the island division strategy between starting and target grids, the pheromone distribution in the initial stage, the modification of the heuristic function, and the global pheromone updating rule.

Status of deadlock.
Island division principle
In response to reducing the number of lost ants in complex grid maps, several intermediate grids are added between the starting grid (S) and the end grid (E) before path planning, which we refer to as intermediate islands. To determine the location of the intermediate islands, we need to calculate the radius of the search circle (rs), and it can be expressed as follows:
Take Environment 1 as a example. As shown in Figure 4, 3 and 100 represent the starting and target positions, respectively. Assuming that the map requires five islands to be set, the final path planning sequence is

Schematic map of island search.
Modify heuristic function
In basic ACO, the heuristic value of each grid, calculated by the heuristic function, remains constant throughout the process. However, to accelerate the convergence rate, it is desirable for the heuristic value to start with a higher value at the initial stages of the iteration calculation. As the iteration progresses, the heuristic value gradually decreases. Therefore, the heuristic function is modified accordingly, the specific calculation is shown as follows in equation (16):
Improved distribution of initial pheromones
In the initial stage of ACO, all the pheromone values in the environment remain constant. At the outset of the path search, the ant colony exhibits a certain degree of blindness, which leads to the slow convergence rate of the algorithm. This article proposes an uneven initial pheromone distribution strategy, namely. Specifically, the rectangular region with the adjacent island numbers

A case of non-uniform initial pheromone distribution.
Adaptive pheromone update rule
Once all ants complete an iterative cycle, the original path's pheromones evaporate at a certain rate, while new pheromones are deposited by ants that traverse the path. After many iterations, a path with the most concentrated pheromones emerges, representing the optimal route. An improvement in the pheromone update rule is proposed in this paper, which enhances the rate of pheromone accumulation on the optimal route while weakening the accumulation rate on the suboptimal route. Additionally, a dynamic adaptive volatilization coefficient is introduced. These adjustments improve the convergence rate of the algorithm. The specific calculations are outlined as follows:
Process of INACO for path planning
The concrete steps of INACO for path planning are as follows:
Step 1: Initialize parameters. The parameters, including S, G, m,
Step 2: Calculate the number of divided islands. The number of divided islands is calculated according to equations (12) to (15).
Step 3: Calculate
Step 4: Path selection. Initially, the starting position S is set as first island, and ending point G is set as
Step 5: Global update of the pheromones. After each iterative search, the paths traversed by all ants are recorded from the beginning position S to the ending position G, the longest and the shortest path lengths are then determined from these records. The adaptive volatilization coefficient
Step 6: Search end. If
The specific procedure of INACO for route planning is depicted in Figure 6.

Procedure of insular ant colony optimization (INACO) for route planning.
The algorithm proposed in this paper sets several islands between the starting point and the endpoint, which can also be seen as sub-target points. All ants are guided to reach these sub-target points sequentially, eventually reaching the endpoint. This approach employs a divide-and-conquer strategy. Once the islands are properly set, the ant colony can quickly complete the path planning, significantly reducing the loss of ants. It is particularly suitable for large-scale or complex map environments. Compared with other variants of ACO algorithms, this algorithm also improves the heuristic function, distribution of initial pheromones, and pheromone update rule to achieve faster convergence speed and better path solutions.
Simulation and analysis
Determination of parameter optimization combination
In an attempt to identify the optimal combination of parameters, numerous simulation experiments were conducted using empirical and experimental methods 44 in this paper. The arbitrary simulation environment, hereafter referred to as Environment 2, is shown in Figure 7. The sequence number of the start position is 3, and the sequence number of the end position is 225.

Environment 2: the test grid map.
A group of parameters is set for simulation experiments. In each experiment, parameters
In the environment 2, parameters are set as follows:

The change of the iterative times with different scaling factor.

The change of global optimal path length with different scaling factor.

The change of amount of lost ants with different scaling factor.
From Figures 8 to 10, it can be observed that with the increase of the scaling factor, the number of iterations and the optimal path length of the algorithm change very slightly, but the number of lost ants increases gradually, when
Under the condition of the same grid map, the setting parameters are set as follows:

The change of the iterative times with different adaptive coefficient.

The change of global optimal path length with different adaptive coefficient.

The change of amount of lost ants with different adaptive coefficient.
Through analyzing Figures 11 to 13, regardless of the adaptive coefficient
In the same environment, experiments are conducted with parameters

The change of the iterative times with different island number.

The change of global optimal path length with different island number.

The change of amount of lost ants with different island number.
Analyzing Figures 14 to 16 reveals that as the number of islands increases, the iterations required for convergence and the occurrence of deadlock ants decrease. The minimum number of iterations is 1 and the minimum number of lost ants is 0.2. However, as the number of islands increases, the optimal route length fluctuates. This occurs because while an island may appear optimal locally, it may not be the best choice for the entire map, resulting in convoluted paths. Therefore, minimizing the generation of deadlocked ants and selecting fewer islands is crucial.
Generally, INACO demonstrates superior performance than ACO. The better parameter combination is
To compare with other algorithms
Environment with 20 × 20 grids
To verify the algorithm's effectiveness, we employed a grid map used in simulation experiments by researchers in the literature.46–48 Liu et al.
46
proposed ACO with artificial potential field (APFACO) in the literature,
46
Luo et al.
47
proposed improved ACO (IACO) in literature, and a new variation of ACO called modified adaptive ACO (MAACO) algorithm was introduced in the literature.
48
For the convenience of comparison, the same grid map was selected for our test environment in simulation experiments, the initialization parameters are set as follows:

Initial pheromone distribution of insular ant colony optimization (INACO).

The pheromone distribution of insular ant colony optimization (INACO) at 1, 5, 15, and 30 iterations.

Simulation results of the five algorithms.

The optimal path planning of three algorithms.
Statistics of relevant data generated by two simulation algorithms.
ACO: ant colony optimization; APFACO: ACO with artificial potential field; INACO: insular ACO; MAACO: modified adaptive ACO.
As shown in Figures 17 and 18, it is evident that the pheromone quickly concentrates on the optimal path as the number of iterative times increases. Specifically, in Figure 18(b), it is noticeable that the algorithm can identify the optimal path by the fifth iteration, while pheromone is completely concentrated on the optimal path in the 10th iteration. Simulation results of the five algorithms are demonstrated in Figure 19, while Table 1 presents the statistical data from 10 repeated experiments about seven algorithms in the same environment. The global optimal path length in this environment is 30.97056, achievable by ACO, IACO, MAACO, Dijkstra, and INACO. Concerning convergence iterations, the average iterative times of INACO is 2.7, markedly superior to ACO, APFACO, IACO, and MAACO. It can also be seen from Figure 19(b) that INACO proposed in this paper has the fastest convergence speed. The average lost ants of INACO is 50.1, the smallest among ACO, APFACO, IACO, MAACO, and INACO. The INACO algorithm is comparable to the Dijkstra algorithm in calculating the optimal path length, but spends much less time (12.506 s < 30.27619 s) required to find the optimal path. Although the optimal path length generated by INACO is equal to that of A*, it is shorter than that of APFACO. Overall, the experimental results confirm the excellent performance of INACO.
Environment with 30 × 30 grids
For verifying the availability of INACO in path planning in a complex environment, we selected the grid map from the literature,47,49 as the simulation environment. Hou et al.
49
proposed an enhanced ACO algorithm with communication mechanism (CMEACO) in the literature, for the convenience of comparison, the grid map is also selected for our test environment for simulation experiments, The initialization parameters are set as follows:

Initial pheromone distribution of insular ant colony optimization (INACO).

The pheromone distribution of insular ant colony optimization (INACO) at 1, 5, 15, and 30 iterations.

Simulation results of the four algorithms.

The optimal path planning of three algorithms.
Statistics of relevant data generated by two simulation algorithms.
ACO: ant colony optimization; IACO: improved ACO; CMEACO: enhanced ACO algorithm with communication mechanism; INACO: insular ACO.
From Figure 22, it is evident that pheromones began to concentrate on the optimal path by the fifth generation, reaching complete concentration by the 10th generation, showcasing the rapid convergence speed of the proposed algorithm. Figure 23(a) reveals that the path produced by ACO tends to optimize local paths, indicating the difficulty of the ACO algorithm in finding the optimal path in complex environments. In Figure 23(b), all algorithms converge quickly within 50 iterations except for the ACO algorithm, with the INACO algorithm exhibiting the fastest convergence speed. This is mainly attributed to the improved distribution of the initial pheromones and the adaptive pheromone update rule, effectively concentrating the pheromones to the optimal path. As depicted in Figure 23(c), the number of deadlocked ants n the proposed algorithm demonstrates a more rapid downward trend compared to the comparison algorithms. Combining Figure 24 and Table 2, although the optimal path lengths calculated by Dijkstra, A*, and INACO are the same, the calculation time of Dijkstra is significantly longer than that of INACO (94.873796 s > 30.080210 s). The global path length of the complex environment is 44.5269. In the 10 experiments, the average iterative times of the proposed algorithm is 5.2, close to half of the CMEACO, one-fourth of the IACO, and one-tenth of the ACO, indicating a significantly improved convergence speed. The average number of lost ants generated by INACO is 95.2. As the number of iterations increases, the number of deadlock ants of the INACO algorithm presents a sharp downward trend in the early stage and rapidly decreases to zero, which is the smallest among ACO, IACO, and MAACO.
In general, the INACO proposed in this paper is simulated in grid environments of 20 × 20 and 30 × 30 scales, respectively, and the simulation results are compared with other algorithms, the INACO effectively improves the convergence rate and reduces the number of lost ants by strategically setting islands between the starting position and ending position, improving the pheromone initialization strategy, and updating rules. These enhancements indicate promising prospects for practical applications.
The algorithm enhances path planning success by strategically incorporating islands between the starting and ending points in the grid map. It starts from the initial point and systematically searches for routes to reach these islands until smoothly reaching the destination. This increases the success rate of path planning, accelerates convergence speed, and reduces the number of lost ants. It is suitable for complex or large-scale map environments.
Conclusions
By analyzing the traditional ACO, this study proposes an INACO algorithm that effectively reduces the number of deadlock ants and exhibits a fast convergence rate, meanwhile, the length of the optimum path generated by INACO is shorter compared to other improved algorithms. The main results of the study are summarized as follows:
In an arbitrary grid map scenario, the beginning and the ending positions are treated as islands. Several additional island points are evenly distributed between the starting and the ending positions. This approach enables the ant colony to conduct path planning, island by island, from the beginning position to the ending position. Eventually, path planning for the entire grid environment between the beginning and the ending points is completed. This method significantly diminishes the number of lost ants and offers more pronounced advantages for complex grid maps. The favorable region comprises a rectangular area formed by the vertices of the adjacent islands, while the remaining areas are designated as the non-favorable region. In the favorable region, pheromone values are initialized with non-uniform distribution, while in other regions, the pheromone values are set to a constant, which is the minimum pheromone value of the favorable region. This setup enables the ant colony to navigate effectively during path search and enhances the convergence speed of the algorithm. The heuristic function has been modified to gradually decrease the heuristic value as the iteration times increase. This adjustment aims to improve the convergence rate of the algorithm. An adaptive pheromone update rule is introduced to update the global pheromone when all ants complete the iteration. This rule increases the pheromones along the global optimum route as a reward while decreasing the pheromones along the worst route as punishment. This approach further accelerates the convergence rate and optimization efficiency of the algorithm. The INACO is applied to the robot path planning, and the better parameter combination is determined through the simulation study. By comparing it with other improved algorithms in various grid environments, the effectiveness and superiority of the algorithm are proved.
Although the INACO algorithm proposed in this paper can calculate the optimal path of a two-dimensional map and reduce the number of deadlock ants, it has yet to be validated by real experiments. In future research, the superiority of the algorithm can be further verified by real experiments. In addition, the INACO algorithm will be improved and employed to solve the path planning problem in three-dimensional space environment models.
Footnotes
Declaration of conflicting interests
The authors declared no potential conflicts of interest with respect to the research, authorship, and/or publication of this article.
Funding
The authors disclosed receipt of the following financial support for the research, authorship, and/or publication of this article: This work was supported by the Zhejiang Lingyan Plan Project (grant number 2022C04022).
