Abstract

High accuracy navigation and surveillance systems are pivotal to ensure efficient ship route planning and marine safety. Based on existing ship navigation and maritime collision prevention rules, an improved approach for collision avoidance route planning using a differential evolution algorithm was developed. Simulation results show that the algorithm is capable of significantly enhancing the optimized route over current methods. It has the potential to be used as a tool to generate optimal vessel routing in the presence of conflicts.

1. Introduction

Collision avoidance technologies are increasingly becoming relevant in the field of marine transport to ensure safety [1]. These technologies are underpinned by three key components: navigation and surveillance technologies and optimization logic. Technologies such as differential global positioning systems (DGPS), automatic radar plotting aid (ARPA), automatic identification system (AIS), and electronic chart display and information system (ECDIS) have significantly improved positioning and surveillance performance. Furthermore, optimization and decision-making theories have rapidly developed in recent years [2, 3], enabling the computation of better vessel trajectories in multivessel environments. These include artificial intelligence algorithms such as genetic algorithms (GA) (see [4, 5]), ant colony algorithms (ACA) (see [6, 7]), fuzzy decision methods (see [810]), and various other approaches [1115]. Smierzchalski proposed an evolutionary algorithm to model a ship’s trajectory in collision situations (see [16, 17]). However, the low computational efficiency puts into question the practical application of such approach. Inspired by the maze route algorithm [18], a practical model was proposed by Chang et al. [19] to transform the decision-making problem in collision avoidance into a route distance optimization problem. Szlapczynski [20] improved this model by accounting for ship maneuvering characteristics, for the COLREGS (The International Regulations for Preventing Collisions at Sea) and by introducing other operational constraints (e.g., speed reduction capability). In [2123] a concept of a set of safe (though usually not optimal) trajectories is proposed, based on collision avoidance path-searches for scenarios involving multiple ships and stationary constraints. These soft computing methods can be used not only to find an optimal route from port to port, but also to avoid collision [24, 25].

However, the quality of the solution and the convergence time of current optimization methods are typically not sufficient for practical applications. Moreover, significant other challenges remain, including accounting for regulations of collision avoidance, as well as navigation and maneuverability factors. Additionally, the computational efficiency and the ability to adapt to the dynamic target saturation state in restricted waters need further enhancement. In order to address these issues, this paper introduces a modified differential evolution algorithm.

This paper addresses some of the above limitations by developing a modified neighborhood differential evolution (MNDE) algorithm, with global and local neighborhoods. Differential evolution (DE) algorithms were first introduced by Storn and Price [26], resulting in significant variants with improved performance [27]. These algorithms were designed to address multiobjective, constrained, large-scale, optimization problems. Analyses show that their performance in terms of accuracy, robustness, and convergence time is significantly better than GA, ACA, and particle swarm optimization (PSO) algorithms [28, 29].

Section 2 provides a brief outline of the basic DE family of algorithms. Section 3 introduces the proposed variant of the differential evolution with global and local neighborhoods (DEGL) algorithm, and Section 4 characterizes the performance of the developed algorithm. The algorithm is applied in Section 5 to ship collision avoidance route planning and the results are analyzed and discussed.

2. State-of-the-Art Differential Evolution Algorithms

DE is an evolutionary algorithm based on modelling swarm behavior, which uses optimization techniques based on cooperation and competition between individuals within populations. DE is based on a real-code greedy genetic algorithm. Like other evolutionary algorithms, DE is based on the following: from a randomly generated initial population and according to certain rules of operation (such as mutation, crossover, and selection), the best individuals are retained following an iterative process which accounts for each individual’s fitness and eliminates the inferior individuals, thus guiding the search process in the search of the optimal solution.

Mathematically, DE is a simple parallel direct search method that attempts to find the global optimal solution in a -dimensional real parameter space . Here we denote by the decision rule defined in the fitness function and by a nonempty finite set in the search space, resulting in the following optimization problem: The goal of DE is to find a parameter vector , such that the fitness function (or objective function) is minimized. Assuming that each element of the population in DE is denoted as , the th vector of the population at the current generation is represented as where is the total population, which is invariant during the minimization process. The mutation is carried out by the donor vector based on the difference between two randomly chosen solution vectors; in this sense, its mutation is like an exploration move in pattern search. The crossover operation of DE can be performed in either binomial or exponential manner. DE is based on a global population search strategy, using a simple differential mutation operation and one-on-one competitive strategies for survival. Moreover, DE has specific memory capabilities enabling dynamic tracking search to adjust the search strategy without requiring the detailed knowledge of the characteristics of the problem. DE shows strong global convergence ability and robustness.

The performance of DE depends on the correct balance between global exploration and local development capacity, with significant reliance on the control parameters, including population size, scaling factor, and crossover rate. In recent years, significant variants of DE, such as the DE family of Storn and Price [26, 27] which consists of 10 classical mutation strategies, were developed. However, improving the mutation strategy cannot entirely solve DE weaknesses such as premature convergence or likelihood of local convergence. For example, is one of the most effective mutation strategies proposed by Storn and Price: where is the best individual vector with the best fitness (i.e., lowest objective function value for a given minimization problem) in the population at generation . The scaling factor is a positive control parameter for scaling the difference vectors. In the mutation strategy, the difference between any two of these three random selected vectors is scaled by the factor to generate the corresponding donor vector. It is constant during the global optimum searching process. For each iteration, all of the vectors are close to the optimal location of the fitness surface, resulting in the DE quickly converging to the optimal solution. However, the “development” ability may result in the optimal solution in some local search space, causing the DE to lose its global search capability after a few iterations. Furthermore, the DE algorithm adopts the “greedy” selection rule (choosing always the better vector between the target vector and the trial vector), with a fixed scaling factor (typically selected in the range ). Therefore, if the vector for generating the disturbance is small (when the individual vectors are close to each other, usually the population converges to a small range), the individual vectors would not explore a better search space, and it is difficult to avoid becoming trapped in a suboptimal solution [30]. In order to address this issue, inspired by PSO, Das et al. [31] proposed a novel DE algorithm, DEGL (differential evolution using a neighborhood-based mutation operator with global and local neighborhoods).

In Das et al.’s work, a strategy similar to (3) is adopted to design two types of neighborhood-based models for local mutation and global mutation separately, using the globally optimal vector at the current generation to mutate a given population member. The neighborhood concept comes from the PSO algorithm. Assuming a given differential evolution population with , a neighborhood with radius ( is a nonzero integer within the interval , where ) is defined for each vector . This results in a neighborhood population . Here, the ring topology structure is adopted, so that the two contiguous neighborhoods of are and . Based on the above assumptions, Das et al. give the local and global neighborhood-based mutation models as follows.

The local mutation model is described by where represents the optimal vector in the neighborhood population of and .

Similarly, the global mutation model is given by

The final donor vector of DEGL is a combination of the local and global donor vectors using a scalar weight :

When and , (5) will be transformed into the mutation strategy (see (3)). DEGL is effectively a generalized model providing a better balance between local and global strategies.

3. An Improved DE Algorithm Based on DEGL

A key limitation of the DEGL model developed by Das et al. is that the global optimum searching capability and the convergence speed are very sensitive to the choice of these scaling factors. The choice of scale factor is thus crucial in optimizing the performance of DEGL. If the scale factors are small, the disturbance added to the population is negligible, resulting in the algorithm premature convergence. Consequently, it is difficult for the algorithm to converge to the minimum. If on the other hand the vectors are getting close to the location of the global optimal, a smaller scaling factor would help to reduce the search time, which contributes significantly to accelerating the convergence speed. On the other hand, a large scaling factor could be conducive to enhance the diversity of individuals in the process of mutation; as a consequence, the premature convergence is likely to be avoided, but at the expense of the convergence rate.

In order to address the limitation of using fixed scaling factors and thereby improve the performance of DEGL, this paper develops a new variant of DE, referred to as the MNDE (modified neighborhood-based mutation operator DE). Two key novelties are introduced: firstly, we adopt variable scaling jitter factors instead of the fixed scaling factor to enhance the convergence performance; secondly, the global optimal individual vector is used to replace the first item in the global mutation model, significantly accelerating the convergence speed.

MNDE combines the local mutation model and the new global mutation model and redefines the global mutation model as Here, and are the variable scaling jitter factors based on the fixed scaling factor , which is used to scale the difference vectors to generate the corresponding donor vector in the mutation strategy. Replacing the fixed scaling factor with variable scaling jitter factors can effectively maintain the diversity of the population in the global neighborhood model; moreover, the convergence speed is significantly improved. More specifically, when the variable scaling factor is relatively large, the individuals tend to sample diverse zones of the search space during the global optimum search, which prevents the population from getting trapped in local minima. Meanwhile, smaller scaling factors in the second step of the global optimum search help adjust the movements of the trial solutions of the first step and allow to better explore the interior space in which the suspected global optimum lies, hence allowing the population to converge to the global optimum solution.

The scaling jitter factors randomly jitter in a small neighborhood of the fixed scale factor . In other words, a small disturbance is introduced to modify the scale factor to increase the population diversity and thus avoid the potentially premature convergence observed with state-of-the-art DEGL. The jitter factors are computed as and are given by the sum of the scale factor and the dimensional random matrix , where and are the dimensions of the individual vectors and generally corresponds to the dimension of the optimization problem. We introduce control parameter to adjust the jitter range of the scaling factor in order to maintain both exploitation and exploration performance. As mentioned previously, if the scale factor is too small, the difference vector is very small (i.e., the individual vectors are very close to each other, typical during population convergence to a small domain), and the individual vectors would not explore a better search space, making it difficult to avoid becoming trapped in a suboptimal solution. Under these circumstances we choose a larger to yield a bigger scaling factor to preserve the diversity of the vectors belonging to the same neighborhood. On the other hand, if the scaling factor is too large, the number of iterations needed to search for the global optimum is large, delaying solution convergence. We therefore reduce the control parameter to generate a suitable scaling factor so as to improve convergence performance.

The second novelty is that, unlike in the DEGL algorithm, we adopt the global optimal individual vector at the current generation as the first item in the global mutation model. The global mutation model is used to guide the mutation strategy to mutate a population member, which improves the convergence ability especially in the global multimodal optimization. Choosing the best vector in the whole population ensures that the new trial vector with minor fitness value may be generated in a small search space near the global optimum solution, thereby enhancing converging ability. Furthermore, if the vectors are getting close to the location of the global optimal solution, the convergence rate is accelerated by choosing the global optimum individual vector instead of the current target individual vector.

4. Performance Testing and Analysis

To evaluate the performance of the MNDE algorithm, various simulations were carried out.

We selected 8 classical benchmark functions (shown in Table 1) and compared them using three DE algorithms including DEGL, (simplified as DE1), and (simplified as DE2). The hardware platform used was a ThinkPad laptop with configuration Core2 Duo CPU, 2.10 GHz, 4 GB Memory, and 64-bit Windows 7 OS; the software was MATLAB 2009a. For each simulation, all algorithms were run 40 times independently, and the optimal solution, worst solution, mean, standard deviation, and average processing time (s) for the given convergence threshold were computed.

In these simulations, we choose the population size of all DE variants , a scale factor , and a crossover rate . For DEGL, we set the fixed scale factors , and for MNDE, the jitter scale factors , where , the radius of neighborhood , and a combination scalar weight in (8) is used to balance the global mutation strategy and local mutation strategy in the search of the optimal solution. In the preliminary stage of the optimization, a smaller could help to enhance the exploitation ability, while a larger improves the exploration ability in the later stage. In this paper, a linear increment schedule to change was adopted to achieve global optimization. Here, all four contestant algorithms and the same stopping criterion (i.e., the same maximum evolution of the number of iterations) were used. For each test function, the individual vector has to evolve within the limits of the search range, which is shown in Table 1. The dimension of each vector is , and up to 3000 iterations are carried out. When the vector evolves to the optimum solution , the optimum value of the test function is obtained.

The optimal solution, the worst solution, the mean, and the standard deviation of the best-of-run values of each of the four contestant algorithms are presented in Table 2. The average number of iterations required to achieve the same prescribed threshold fitness is shown in Table 3, the symbol of “—” indicates that the algorithm failed to reach the prescribed threshold within 3000 iterations. Table 2 shows the improved performance of the MNDE algorithm over other algorithms. It can be clearly seen that the solution found by MNDE algorithm is the most precise among these comparative algorithms, and this is due to the use of the scaling jitter factor in MNDE algorithm. The scaling jitter factor can be adjusted itself according to the current solution during the mutation process; therefore the diversity of the population is enhanced, so the individuals tend to sample diverse zones of the search space during the global optimal searching process, which prevents the population from getting trapped in local minima. In most cases, MNDE algorithm also runs faster and converges more quickly, as shown in Table 3, and this is because of choosing the best vector in the global mutation operation strategy. Adopting the best vector in the whole population can make sure that the new trial vector with minor fitness value may be generated in a small search space near the global optimum solution; therefore the algorithm can avoid blind searching; thus the converging ability is greatly improved.

To further illustrate the performance of the MNDE, two benchmark functions were used to test and evaluate algorithm performance under challenging conditions.

In the following section, a comparison between MNDE and other DE variants is carried out.

The Rosenbrock function is a classic two-dimensional test function with a single peak, which has a unique global minimum of 0 at (1, 1) as shown in Figure 1. The convergence characteristics of the four algorithms DE1, DE2, DEGL, and MNDE are shown in Figures 2 and 3. The MNDE strategy exhibits the shortest convergence time for a given threshold fitness and the fewest number of iterations to reach the global minimum value 0. As we use the global optimal individual vector as the first item in the global mutation model in (7), the MNDE strategy has significantly better performance than DEGL in terms of convergence accuracy and the speed of evolution.

The Rastrigin function is a typical multipeak test function used to evaluate a global optimization problem:

The Rastrigin function has a global optimum point at 0 and a large number of local minima, as shown in Figure 4. For example, when , and , there are 1771561 local minima.

Figure 5 shows that the MNDE has significant advantages in the search of a global optimum solution over other algorithms. In the test results, the MNDE strategy converges to the optimum point after a relative small number of iterations (compared to the DE1 and DEGL strategies, an almost 50% reduction in the number of iterations). The DE2 strategy was unable to find any solution in the predefined number of iterations. It should be noted that, as we introduce the scaling jitter factors and , MNDE can effectively maintain the diversity of the population in the global neighborhood model and improve the global search over DEGL.

5. Application to Ship Collision Avoidance Route Planning

In recent studies, researchers have investigated ways of improving the collision avoidance route planning performance of evolutionary algorithms, for example, Lee [18] and Zaman et al. [10]. Here we test the dynamic ship collision avoidance route planning methodology of the improved differential evolution algorithm developed in this paper.

In this paper, we test the performance using a method similar to that used in Lee [18] and Zaman et al. [10]. The new method in this paper compares GA, DE, and MNDE, using the same platform to evaluate the ship collision avoidance performance. All programs were run in the Visual studio 2008 and MATLAB R2009 mixed simulation environments. Table 4 gives the detailed settings and operations for the different algorithms.

We simplify the fitness functions to reduce the execution time. Economy and safety are the most two important considerations for ship collision avoidance route planning. Here, we choose the shortest distance and minimum threat as the performance indicators, yielding the following least fuel consumption fitness function:

The minimum threat fitness function is given by

The total fitness function can be expressed as where is the distance of the route, is the fuel consumption model, a function of the route distance. Here we assume that equals 1, making the cost of the fuel linearly proportional to the route distance. Meanwhile, indicates the threat associated with the route. Note that the weighing coefficient allows balancing cost efficiency and safety performance.

Using the settings and operation rules in Table 4, we assume that the course of the target ship is fixed, and the speed of the own and target ships is constant, as shown in Table 5. The experimental analysis focusses on two typical circumstances described in the COLREGS, namely, head-on and crossing scenarios. The avoidance operations for the following three shortest collision avoidance routes are obtained separately for the GA, DE, and MNDE algorithms.

Scenario 1. Noncollision avoidance scenario (Figure 6).

Scenario 2. A head-on collision scenario (Figure 7), requiring the own ship to pass on the right side of the target ship.

Scenario 3. A crossing scenario (Figure 8), where the own ship is required to pass on the left side of the target ship and to avoid passing the front of the target ship.

In Figures 6, 7, and 8, the black, yellow, and red lines are the routes generated by the MNDE, the standard DE, and the GA algorithms, respectively. The solid lines display the executed routes, while the dotted lines display the planned routes at the current time.

Figure 6 shows the real and planned routes in a noncollision scenario of three ships in open waters. The MNDE algorithm provides the shortest route for both the planned and executed routes.

Figure 7 shows a head-on collision scenario in open waters. In this scenario, the MNDE and standard DE algorithms are significantly better than the GA algorithm. For MNDE and standard DE, the own ship was able to resume its original route without any significant delay.

Figure 8 shows a crossing scenario. Here, we see again that the MNDE provides a better route than the standard DE or GA. The solutions provided by the MNDE and standard DE are also more reliable than that provided by the GA.

6. Conclusion

An improved differential evolution algorithm is developed in this paper. It introduces the concept of variable scaling jitter factors to maintain the diversity of the population and accelerate convergence speed. The variable scaling jitter factors enable a better trade-off between the exploitation and exploration abilities via the control parameter . By adopting the global optimal individual vector in the global mutation model, the convergence ability of the algorithm was significantly enhanced. Performance tests with various benchmark functions were carried out and application scenarios were evaluated to validate the algorithms’ feasibility and efficiency in solving dynamic route planning problems. Three different algorithms (MNDE, DE, and GA) were run to search an ideal dynamic route in a GIS-based system. The results show that the MNDE algorithm achieves a significantly better performance than the other two algorithms. Future work will investigate more complex scenarios, including larger number of vessels, varying ship types and speed settings, variable weather conditions and other operational restrictions, traffic conditions, and ship onboard equipment. This will lead to the development of a practical intelligent support system for vessel navigation.

Conflict of Interests

The authors declare no conflict of interests. They warrant that none of them have any financial or scientific conflict of interests with regard to the research described in this paper.

Acknowledgments

This work was supported in part by the National Natural Science Foundation of China under Grant no. 51379049 and the Fundamental Research Funds for the Central Universities of China (HEUCFX41302).