Abstract

In path planning problems, the most important task is to find a suitable collision-free path which satisfies some certain criteria (the shortest path length, security, feasibility, smoothness, and so on), so defining a suitable curve to describe path is essential. Three different commonly used curves are compared and discussed based on their performance on solving a set of path planning problems. Dynamic multiswarm particle swarm optimizer is employed to optimize the necessary parameters for these curves. The results show that Bezier curve is the most suitable curve for producing path for the certain path planning problems discussed in this paper. Safety criterion is considered as a constrained condition. A new constraint handling method is proposed and compared with other two constraint handling methods. The results show that the new method has a better characteristic to improve the performance of algorithm.

1. Introduction

The mobile robot path planning is an important research field of robotics. One of the most important tasks to realize navigation and control of the robots is path planning. In an environment with obstacles, the aim of path planning is to find a suitable collision-free path, which satisfies some certain optimal criteria (such as the shortest path length, security, and feasibility), for a mobile robot to move from a start position to a target position. Most researches have focused on finding the shortest path, the minimum-time path, or the safest path, but the generated paths may be discontinued. Smoothness of the path is essential for the navigation of mobile robots, because nonsmooth motions have effect on slip [15]. So finding a suitable curve to describe the path is a very important task in path planning problems.

In [6], curve with parallel variable-length genetic algorithm has been used to realize path planning problems. Ferguson is another curve which is used commonly with particle swarm optimizer in [7, 8] and particle filter in [9]. Bezier curve is one of the most common curves which is combined with de Casteljau algorithm in [10], genetic algorithm in [11], and particle swarm optimizer in [12] in recent years. These curves which are used to generated curve have their own specific characteristics and requirements, but which one is the best has not been discussed.

The approaches of traditional path planning are artificial potential field [13], neural network [14], algorithm [15], and so on. With the appearance and development of evolutionary computation algorithms, many nature inspired optimization computing methods have been proposed to solve path planning problems, including genetic algorithms [16, 17] and differential evolution [18, 19].

Particle swarm optimization (PSO) which was proposed by Eberhart and Kennedy in 1995 [20, 21] is based on swarm intelligence. It has been applied to many areas successfully such as artificial neural network training [22], path planning problems [23, 24], multiworking modes product-color planning [25], and robust control of 3RPS parallel manipulators [26], for its easiness to use, robustness, and strong ability of global optimization. An improved particle swarm optimizer is applied to solve the path planning problems in this paper.

The robotic path planning problem is to find a suitable path for a mobile robot to move from the start location to the target location, which satisfies some optimum criteria in an environment full of obstacles. In this paper, we define the security and the shortest path as the optimum criteria. The security means no collision between the robot and all the obstacles and the shortest path describes the distance the robot moves from the initial point to the end point [5, 27]. The three times Bezier curve, Ferguson curve, and curve are used to generate the path and their performances are compared. With these curve generating methods the path planning can be transformed into optimizing a few limited anchor points which are used to form the path. Then dynamic multiswarm particle swarm optimizer (DMS-PSO) is employed to optimize the locations of these anchor points.

In the previous work, two different constraint handling methods, dynamic threshold and dynamic balance function, have been tested [28]. Based on the analysis on the weakness of these two constraint handling methods, a novel constraint handling method “dynamic compared ” is proposed to be incorporated intothe algorithm to improve the search efficiency. The experimental result shows that this new method has a better performance on most path planning problems discussed in this paper.

The rest of this paper is organized as follows. The characteristics of the three curves are introduced in detail in Section 2. Section 3 gives a brief introduction on the dynamic multiswarm particle swarm optimizer and the constraint handling mechanisms employed in this work. The experimental setup and the results are presented in Section 4. Conclusions and future work are given in Section 5.

2. Description of Curves

2.1. The Definition and Properties of Bezier Curve

Bezier curve was proposed by the French engineer Pierre Bezier, who used Bezier curve to design for the body of the car in 1962 [29]. In recent years, Bezier curve was applied to various occasions for its advantages on describing both straight line and curve.

A Bezier curve of degree is a parametric curve composed of Bernstein basis polynomials of degree [22]:

In this equation, basis function is a famous times Bernstein polynomial [23], which is defined as

The parameter equation of every point for three times Bezier curve could be generated by formulas (1) and (2) as follows: where is in the range of . Bezier curve starts at and ends at .

The properties of Bezier curves [22] can be described as follows.(1)Bezier curves start at the start point and stop at the end point.(2)First derivatives of the start point and the end point are only related to the two near control points and in the same direction of the line of the two points.

The calculation formula is

A complex first-order continuous Bezier curve can be formed by connecting several segments of low-order Bezier curves. Each segment has four control points. Assuming we have two segments, and , in order to ensure the continuousness of the curve after connection, the following equation should be satisfied:

Therefore, in order to meet the property of first-order continuous when using segments of Bezier curves to describe a path, points ( parameters) are needed. The path can be generated using the following: where represents the start point while stands for the end point. When changes in the interval , we can get a cubic Bezier curve of segment . These segments of cubic Bezier curve constitute the entire path of the curve.

2.2. The Properties of Ferguson Curve

Ferguson curve is also a famous curve which has many excellent properties and plays an important role in the shape description.

Since Ferguson curve is smooth and easy to implement, it is also often used to describe the path in path planning problems. One segment of Ferguson curve can be defined as follows: and are the start point and the end point of the curve, respectively, and and are control points which control the shape of the curve. represents Ferguson polynomial and is defined as follows:

Assuming that a curve consists of segments of Ferguson curves, these Ferguson curves should satisfy certain requirements. Two-segment Ferguson curves are taken as an example to illustrate the requirements they should satisfy to ensure smooth connection between these two segments. Suppose that the other Ferguson curve is described as follows:

In order to make the path smooth, the curve which is used to describe the path must be first-order continuous, and then and must satisfy

The same as Bezier curve, if segments Ferguson curves are used to generate the path, there will be control points which means that variables are to be optimized.

2.3. The Properties of Curve

The same as the Bezier curve and Ferguson curve, curve which is used in path planning problems for its good properties in describing lines, arcs, and clothoid is also a widely used curve. As shown in [8], first we set two arbitrary combinations as follows:

Here , , and represent coordinates and direction, respectively, while and denote curvature and curvature derivative of the path at one point. A 7th-order polynomial of curve can be formed by the following formulas:

In order to ensure the smoothness of the curve after connecting, the following formula should be satisfied:

In addition, the polynomial has extra six degrees of freedom. In order to reduce the calculation of degrees of freedom, we use Euclidean distance of two terminal configurations to represent some variables of vectors while the other variables of vectors are set to 0. Therefore, coordinate coefficients used to generate the curve can be obtained according to the above formulas as follows: coordinate coefficients can be obtained by changing into . When segments of curve are used to describe the path, control points are needed. However, the start point and the end point are known in the path planning problems discussed in this paper; thus the number of the control points which are needed to be optimized is . In other words, there are variables to be optimized. Except the location of the control points, the tangent directions of each control point for the path are also controllable, so there are other points to be optimized for segments. Therefore, there are variables for an curve with segments.

So from the above information, we could know that and are the coordinates of every point which should be optimized. What is more, these three curves are smooth and suitable for path planning for robots. If the same number of segments is needed to generate the path, there are parameters to be optimized for the first two curves and variables for curve.

3. Brief Introduction about Algorithm and Constraint Handling Mechanisms

Particle swarm optimizer is an intelligent evolutionary algorithm which is constructed by mimicking the birds’ behavior of preying food [21]. The basic idea of particle swarm optimization algorithm is to find the optimal solution through collaboration among groups and information sharing among individuals.

The idea of dynamic multiswarm based on periodically changed neighborhood structure was firstly proposed by Liang and Suganthan in 2005 [27]. The good information obtained by each subswarm is exchanged among the subswarms and the diversity of the population is increased simultaneously by using the dynamic changing topology. Considering its good performance on complex optimization problems, the dynamic multiswarm particle swarm optimizer (DMS-PSO) is employed to solve the path planning problems in this paper.

The position updating equations of DMS-PSO with crossover can be described as follows [28]: where represents the position of the th particle in dimension . represents the velocity of the th particle in dimension . is the best position in history of the th particle in dimension . is the predefined maximum value in dimension .

DMS-PSO was firstly used in path planning problems in [5], where the path planning problem has been solved by the following means.(1)Security and the shortest path criteria are combined into a punitive function with a constant to balance them.(2)Path length is regarded as the objective function, while the security criterion is regarded as a constraint for the shortest path.In these path planning problems, a series of circles are used to represent obstacles, and the safe distance between path and obstacles is set as (which is radius of the circle). The minimum distance between path and obstacles is . If and only if is larger than , the path could be defined as secure. Otherwise, penalty will be imposed. is treated as security penalty function as follows: where and are the centre of the obstacles and is a collection of all the obstacles in the space. The total cost is calculated as is a constant value, which is used to balance the proportion of and . A large will lead to local optimum easily while a small will make a collision with obstacles, so choosing a suitable value is difficult.

In order to overcome this drawback, two constraint handling methods have been used to improve the above static constrain in [27]; is the current fitness evaluation times and is the predefined max fitness evaluation times.

Constraint Handling Method 1 (Dynamic Threshold ). One has

Figure 1 describes the dynamic changing process of . is considered to be better than if

We observed that the potential good solutions which locate near to the global optimum but do not satisfy the current constraint will be replaced. In this way, the useful information obtained along the search process may be lost.

Constraint Handling Method 2 (Dynamic Balance Function). This method is similar to the previous static penalty function (17) except that the balance factor is gradually increasing. The dynamic is defined as follows:

is considered to be better than if

The dynamic changing process of with the FEs is presented in Figure 2. is changed with the and its rising trend is gentle and continuous. It is better than the static penalty function, but it is still difficult to control and select a suitable value to avoid losing some potential solutions.

Constraint Handling Method 3 (Dynamic Compared Function, Described with ). Constraint handling methods 1 and 2 improved the feature of algorithm which has been discussed in previous work, but they still have some drawbacks: the first method may lose some potential solutions which have been abandoned for dissatisfying constraint condition in current generation while the second method may not find the best solution for its gentle change. On the other hand, the first one has large space while the second has small space to be improved. A new constraint handling method which has a larger constraint range is introduced to overcome the shortage of the first constraint handling method. It is expected to have a better ability of global search. In this new method, two different , and , are employed to judge if a solution satisfies the constraint. And the mean value of values of current particles is used to control the value of :

Figure 3 provides the possible range of and . is the effective range of and . The new constraint method is generated by the comparison of and . For any two solutions and to be compared, the following comparison criterion is used:

If is equal to 1, is considered to be better than . This constraint handling method overcomes the shortage of the dynamic threshold which may be trapped into local optimum and improves the exploration property of the algorithm.

4. Experimental Setup and Results

From the previous test in the path planning problems, some conclusions have been made that DMS-PSO with crossover outperforms DMS-PSO and PSO with crossover performs better than PSO. So in this task, DMS-PSO with crossover and PSO with crossover are combined with the above three constraint handling methods which are designed to test the characteristics of the curves in path planning problems.(1)The following six algorithms are used to test characteristics of each curve in path planning problems:(i)PSO-: basic particle swarm optimizer with dynamic and crossover operator;(ii)PSO-DP: basic particle swarm optimizer with dynamic balance and crossover operator;(iii)PSO-: basic particle swarm optimizer with dynamic compared and crossover operator;(iv)DMS-PSO-: dynamic multiswarm particle swarm optimizer with dynamic and crossover operator;(v)DMS-PSO-DP: dynamic multiswarm particle swarm optimizer with dynamic balance and crossover operator;(vi)DMS-PSO-: dynamic multiswarm particle swarm optimizer with dynamic compared and crossover operator.(2)Some parameters settings during the experiment are as follows:MaxFEs (the max fitness evaluation): 40000;independent runs for every algorithm: 25;population size of PSO: 30;number of subswarms in DMS-PSO: 10;particles in each subswarm in DMS-PSO: 3.(3)The settings of every curve and the parameters need to be optimized.

In this task, three different curves are used to generate path. The segment of each curve and parameters needed to be optimized are set in detail as follows. Generally speaking, more points make the path more smooth and complex, while fewer points take less time in optimization.(a)The first case is that the segments of every curve are uniform (), so there are 8 parameters to be optimized in Bezier curve and Ferguson curve while 5 parameters should be optimized in curve.(b)The second case is that the optimized parameters of every curve are equal (8 parameters for all curves), so three segments of curve are used to describe the path.

4.1. Comparison of Best Satisfied Paths for Each Problem

Eight artificial designed path planning problems which have different properties are used to test characteristics of Bezier curve, Ferguson curve, and curve. In order to show how the robot moves in an environment full of obstacles, the following landscapes with the best path of these tested problems are plotted in Figure 4. The yellow circles describe the dangerous distance around the obstacles. What is more, A represents the start point while B stands for the end point.

These eight path planning problems can be classified into two classes. F1, F2, F3, and F4 are simple problems which have less local optima and are easier to find the shortest path that satisfies the safety criterion. F5, F6, F7, and F8 can be classified into complex problems which have more local optima and make the algorithms be easily trapped into the local optima.

4.2. Comparison Results of the Different Curves

Nonparametric statistical method -test is used to evaluate the difference between two algorithms. For each problem, the results of the best algorithm which obtains the best average value in the 25 independent runs are compared with those of other algorithms by -test method. indicates a rejection of the null hypothesis at the 5% significance level. indicates a failure to reject the null hypothesis at the 5% significance level.

Case 1. Two segments for all curves are used to describe the path, so there are eight points for Bezier curve and Ferguson curve to be optimized while five parameters are needed for curve. The experiment results are listed in Tables 1 to 3.

Some conclusions could be drawn from Table 1 as follows.(1)DMS-PSO outperforms PSO in all constraint handling methods correspondingly, which shows that DMS-PSO has better global search ability.(2)The result of -test 2 shows that there is no obvious difference between these two algorithms, so this phenomenon is regarded as these two algorithms have the similar performance on these problems. But DMS-PSO- performs better on problems F1, F2, F4, F5, and F6 while DMS-PSO- outperforms on F4, F6, and F7 on average.(3)Compared with the best solutions obtained by DMS-PSO- and DMS-PSO-, the distribution of optimal solutions of DMS-PSO-DP is significantly different on problems F2, F3, F4, F5, F6, and F7 which could be seen from the results of -test 2.These three points show that although DMS-PSO- and DMS-PSO- have the same characteristic on -test 2, DMS-PSO- overcomes the drawback of DMS-PSO- which is easy to be trapped into local optimum on average. Compared with other algorithms, the feature of DMS-PSO- stands out on path planning problems where Bezier curve is used to generate path. The result also tells that Bezier curve is suitable on path planning problems for its stable feature when we employ evolutionary algorithm to optimize its parameters.

Table 2 gives us the following information.(1)DMS-PSO has a better global search ability compared with PSO on the whole.(2)All best solutions about Ferguson curve spread in DMS-PSO- and DMS-PSO-, while the best results of problems F1, F6, F7, and F8 accept DMS-PSO-DP in the distribution of optimal solutions for 25 independent runs. The result of problem F6 has no difference with DMS-PSO-DP, DMS-PSO-, and DMS-PSO- on the distribution of 25 independent runs though there is much difference between these four algorithms on the mean value.(3)The constraint handling method is little better than dynamic balance function and dynamic compared when path is produced by Ferguson curve.(4)Except for problems F1, DMS-PSO- outperforms obviously than other algorithms on the whole no matter on the result of mean value or t-test 2.In a word, and are suitable and DMS-PSO- and DMS-PSO- are smart choices when Ferguson curve is applied in path planning problems especially on complex problems.

From Table 3, we could observe the following.(1)Dynamic multiswarm has improved the search ability of traditional particle swarm optimizer which means that DMS-PSO with crossover performs better than PSO under all constraint handling methods.(2)DMS-PSO- has a better mean value than other algorithms on the whole.(3)DMS-PSO- is better than DMS-PSO-+ and DMS-PSO-DP except for F2, F4, and F5 while DMS-PSO- is similar to DMS-PSO- on problem F2 and DMS-PSO-DP+ on problem F5 on average.(4)Except for problems F6 and F7, DMS-PSO- and DMS-PSO- have similar performance.(5)Although DMS-PSO-DP is better than other algorithms on F3, DMS-PSO-, DMS-PSO-+, and DMS-PSO-DP have the same acceptance which means they have no difference under 25 independent runs at the 5% significance level.Generally speaking, DMS-PSO- possesses a good feature so that it could be applied in path planning problems when curve is used to describe path.

Case 2. Eight parameters are satisfied to generate path; Table 4 is the result (the result concludes curve only).

The following information is given from Table 4.(1)DMS-PSO is absolutely better than PSO in three-segment curve no matter the result of mean value or the null hypothesis at the 5% significance level.(2)When DMS-PSO- is better than DMS-PSO- on the mean value, the previous accepts the latter on all problems which means they have no difference.(3)When DMS-PSO- is better than DMS-PSO-+ on the mean value, the previous rejects the latter on F3 and F6.(4)DMS-PSO- and DMS-PSO- are better than DMS-PSO-DP on all problems.So, when three-segment curve is used to generate path, it is clear to ensure DMS-PSO performs better than PSO. The constraint handling method dynamic threshold and dynamic compared are better than dynamic balance function and dynamic compared overcomes the drawback of dynamic threshold and outperforms it.

Case 3. The comparison of best result under each curve is as follows.

Having compared the best result of every curve, when two segments of Bezier curve, Ferguson curve, and curve are used to describe path, we could observe the following.(1)Ferguson curve performs better than Bezier curve and curve on problems F1 to F4 which are easy to find global optimum and has a worse feature on problems F5 to F8 which are described as complex problems.(2)Although curve is not so good as Ferguson curve and Bezier curve on simple problem, it outperforms Ferguson curve on complex problem which means curve possesses a better search ability.(3)Bezier curve is better in producing path compared with Ferguson curve and curve on the whole.When three-segment curve is applied in these problems, conclusions could be made as follows. (1)Compared with two segments, three-segment has a small range of the distribution between the best and worst solutions on the whole.(2)There is no difference between problems F1, F2, F5, and F7 no matter it is two-segment or three-segment curve.(3)Three-segment curve outperforms on problems F3, F4, F6, and F8 in generating path obviously.(4)On complex problems which are easily trapped into local optimum, three-segment curve is much better than two-segment curve which means that the previous has obvious difference compared to the latter such as F6, F8, F3, and F4.(5)Three-segment curve performs better than Ferguson on complex problems but obviously expresses an inferior characteristic in generating path compared with Bezier curve.From so many points of discussion from Tables 1 to 5, conclusions could be made that DMS-PSO overcomes the drawback of PSO which is easy to fall into local optimal and premature. Dynamic compared overcomes the drawback and inherits the advantage of dynamic threshold and shows better constraint characteristics than dynamic balance function, which makes it show good binding properties in path planning problems.

When all curves are composed by the same number of segments, curve outperforms Ferguson curve on complex problems specifically but is worse than Bezier curve for all problems. Fewer points would be optimized when curve is used to describe path, so less time is needed.

Three-segment curve is better than two-segment one for generating path because it has more anchor points to control and can generate a more flexible path, especially on complex problems.

Bezier curve expresses better performance on path planning problems compared with Ferguson curve and curve. The most possible reason may be that Bezier curve is easier to change the shape of the path via adjustment of a fixed number of anchor points than the other two curves. So Bezier curve is the most suitable curve to produce path in this paper and DMS-PSO with crossover combined with dynamic compared is the best choice to optimize path in path planning problems.

In order to show the property of Bezier curve and DMS-PSO with crossover combined with dynamic compared , complex problem F6 is an example to show how particles learn from their neighborhood and avoid being trapped into local optimum. The yellow circles describe the dangerous distance around the obstacles, red paths mean the current local paths, and blue path is the best path satisfying some certain criteria. The processes of iteration are in Figure 5.

Figure 5 shows the search process which could be seen that although the robot always runs into obstacles in the first 400 iterations, it is far away from obstacles step by step. After 700 iterations, solutions are converged into the best path gradually which shows that DMS-PSO with crossover combined with dynamic compared has a good ability of global search in early stage and global convergence in latter stage.

5. Conclusion

In order to solve path planning problems in static environment, suitable curves and algorithms with constraint mechanisms are designed in this paper. Three curves are compared under six algorithms, and the results have proved that DMS-PSO has a better ability of global search than PSO again. At the same time, the analyses of three constraint handling methods and curves are carried on. Firstly, dynamic constraint methods are designed well for path planning problems compared with the previous work where static constraint is used. Then the dynamic compared possesses a better feature than dynamic threshold and dynamic balance function which has overcome the drawback of dynamic threshold which might lose the previous good solutions found in the search process, which are near to the global optimum but do not satisfy the current constraint. So dynamic compared is more suitable to be applied in path planning problems. From the results, we could observe that curve outperforms Ferguson curve when the same segment is used to describe path, especially on the distribution of solutions for complex problems. What is more, compared with two segments, three segments of curve are more suitable to generate path for the reason that more points may make the path more flexible and easier to change the direction of path. The most important is that Bezier curve outperforms curve and Ferguson curve no matter on simple or complex problems and it improves the solutions further, which is more likely depending on the property of its flexible shape changed by adjusting a fixed number of anchor points. So when PSO and its improved versions are used to solve path planning problems, Bezier curve possesses a higher status. For the limitation of experimental conditions, only the path length and security criteria are compared in this paper. Bezier curve will be used to evaluate more criteria in path planning problems as well as in the condition of dynamic environment where the obstacles are changed with time in the future.

Conflict of Interests

The authors declare that there is no conflict of interests regarding the publication of this paper.

Acknowledgments

This work is supported partially by National Natural Science Foundation of China (61305080, U1304602), Postdoctoral Science Foundation of China (Grant 20100480859), Specialized Research Fund for the Doctoral Program of Higher Education (20114101110005), Scientific and Technological Project of Henan Province (132102210521, 122300410264), and Key Foundation of Henan Educational Committee (14A410001).