Next Article in Journal
Informer-Based Model for Long-Term Ship Trajectory Prediction
Next Article in Special Issue
Multi-Autonomous Underwater Vehicle Full-Coverage Path-Planning Algorithm Based on Intuitive Fuzzy Decision-Making
Previous Article in Journal
Elucidating Temporal Patterns in Coral Health and Assemblage Structure in Papahānaumokuākea
Previous Article in Special Issue
Ship Autonomous Berthing Strategy Based on Improved Linear-Quadratic Regulator
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Hybrid Path Planning Strategy Based on Improved Particle Swarm Optimisation Algorithm Combined with DWA for Unmanned Surface Vehicles

1
School of Electrical and Electronic Engineering, Wuhan Polytechnic University, Wuhan 430023, China
2
School of Mechanical Engineering, Wuhan Polytechnic University, Wuhan 430048, China
3
School of Mechanical and Electrical Engineering, Wuhan Donghu University, Wuhan 430212, China
*
Author to whom correspondence should be addressed.
J. Mar. Sci. Eng. 2024, 12(8), 1268; https://doi.org/10.3390/jmse12081268
Submission received: 29 June 2024 / Revised: 21 July 2024 / Accepted: 26 July 2024 / Published: 28 July 2024
(This article belongs to the Special Issue Unmanned Marine Vehicles: Perception, Planning, Control and Swarm)

Abstract

:
Path planning is one of the core issues in the autonomous navigation of an Unmanned Surface Vehicle (USV), as the accuracy of the results directly affects the safety of the USV. Hence, this paper proposes a USV path planning algorithm that integrates an improved Particle Swarm Optimisation (PSO) algorithm with a Dynamic Window Approach (DWA). Firstly, in order to advance the solution accuracy and convergence speed of the PSO algorithm, a nonlinear decreasing inertia weight and adaptive learning factors are introduced. Secondly, in order to solve the problem of long path and path non-smoothness, the fitness function of PSO is modified to consider both path length and path smoothness. Finally, the International Regulations for Preventing Collisions at Sea (COLREGS) are utilised to achieve dynamic obstacle avoidance while complying with maritime practices. Numerical cases verify that the path planned via the proposed algorithm is shorter and smoother, guaranteeing the safety of USV navigation while complying with the COLREGS.

1. Introduction

In recent years, the development of Unmanned Surface Vehicle (USV) technology has been relatively rapid [1,2,3]. The USV is an intelligent vehicle that can navigate autonomously and perform various tasks [4]. It has the advantages of no crew driving, risk reduction and efficiency improvement [5]. The USV also has a wide range of application fields; it plays an important role in underwater monitoring [6], maritime search and rescue [7] and target tracking [8,9,10]. Path planning is a non-negligible problem in autonomous navigation of the USV [11,12].
In recent years, with the improvement in path planning techniques, many efficient and practical path planning methods have emerged. Among them, Model Predictive Control (MPC) [13,14] is a common path planning method, which is characterised by solving an open-loop optimal control problem in a finite time domain to obtain the current control action. The MPC has been widely applied to path planning in uncertain environments [15]. Furthermore, popular local path planning algorithms include the Artificial Potential Field (APF) algorithm [16,17,18], Dynamic Window Algorithm (DWA) [19,20,21], etc. All these local path planning algorithms can plan paths in dynamic environments and enable safe avoidance of dynamic obstacles. However, local path planning algorithms mainly make decisions using the current environmental information. The mainstream global path planning algorithms include the A* algorithm [22,23], Rapidly Exploring Random Trees (RRT) algorithm [24,25,26], Ant Colony Optimisation (ACO) algorithm [27,28,29], etc. They have strong search ability and stability, and they are also used and improved by many scholars. For example, based on the A* algorithm, Gu et al. achieved collision avoidance for USVs by establishing risk and traffic models [30]. He et al. proposed a dynamic anti- collision A-star (DAA-star) algorithm based on the A* algorithm to achieve safe collision avoidance for USVs [31]. Considering the influence of wind, waves and dynamic obstacles, Lyridis et al. designed an improved ACO with a fuzzy logic algorithm, which has high solution precision and convergence speed [32].
Although these algorithms can plan better paths through different improvements, they cannot adapt to dynamic environments. The PSO algorithm is versatile and has global convergence [33,34]. It can take multiple factors into account and find a globally optimal solution in path planning. Therefore, the PSO algorithm is also widely used in path planning with constraints [35,36,37,38]. For example, considering the safety of autonomous underwater vehicles (AUVs), Zuo et al. designed an adaptive multi-population PSO algorithm to achieve safe collision avoidance of AUVs [39]. In addition, the PSO algorithm is well represented in USV path planning [40,41]. Considering the problems of low search accuracy, premature convergence and a local optimal in the PSO algorithm, many scholars have proposed different improvement methods and optimisation strategies [42,43]. For example, Wang et al. introduced opposition-based learning (OBL) and improved the inertia weights in the PSO algorithm so that the premature problem of the PSO algorithm was effectively avoided and a safe navigation path was planned for the USV [44]. Zhong et al. introduced mutations based on the PSO algorithm to enhance the search efficiency [45].
However, the PSO algorithm has low efficiency in some complex environments and cannot flexibly avoid obstacles in real time according to dynamic environments. This paper proposes a hybrid algorithm that combines the improved PSO (ANWPSO) algorithm with the DWA, and the COLREGS are incorporated to ensure navigation safety. The main contributions in this paper are as follows:
(1)
A nonlinear decreasing inertia weight and adaptive learning factors are adopted to effectively enhance the solution precision and the convergence speed of the PSO algorithm.
(2)
The path length and path smoothness are considered in the fitness function of the PSO algorithm to reduce path length and improve path smoothness.
(3)
The ANWPSO algorithm is combined with the DWA to achieve both global path planning and local path planning simultaneously.
(4)
The COLREGS are incorporated to reduce the collision risk of the USV.
The remainder of this paper is organised as follows: Section 2 describes the PSO algorithm, ANWPSO algorithm and the principles of the DWA. Section 3 describes the hybrid algorithm that combines the ANWPSO algorithm with the DWA. Section 4 verifies the superiority of the ANWPSO and the hybrid algorithm through simulation comparisons. Section 5 is the conclusion of the paper.

2. Algorithm Principles and Improvements

2.1. PSO Algorithm

The PSO algorithm finds the optimal solution of a problem by simulating cooperation and information sharing in a bird flock. Suppose the search space of the PSO algorithm is a D-dimensional space and N particles are randomly generated in this space, where each particle has velocity and position attributes.
For the i-th particle, its velocity and position can be represented by Equations (1) and (2):
v i = v i 1 , v i 2 , v i 3 , , v i D T
x i = x i 1 , x i 2 , x i 3 , , x i D T
For every iteration, the fitness value of each particle is calculated by the fitness function. Then, each particle depends on the currently known individual best position pi and group best position pg to guide its own movement. The individual best position pi and the group best position pg are represented by Equations (3) and (4):
p i = p i 1 , p i 2 , p i 3 , , p i D T
p g = p g 1 , p g 2 , p g 3 , , p g D T
For every iteration, the particle updates its own velocity according to Equation (5):
v i d k + 1 = ω v i d k + c 1 r 1 p i d k x i d k + c 2 r 2 p g d k x i d k
where k represents the current number of iterations. d represents the d-th dimension. v i d k + 1 represents the velocity and position of the i-th particle in the d-th dimension in the k-th iteration. p i d k represents the individual best position of the i-th particle in the d-th dimension in the k-th iteration. p g d k represents the group best position of the i-th particle in the d-th dimension in the k-th iteration. c 1 is the individual learning factor, c 2 is the group learning factor and ω is the inertia weight. r1 and r2 are random numbers within the range of [0, 1].
The particle updates its own position according to Equation (6):
x i d k + 1 = x i d k + v i d k + 1
where x i d k + 1 represents the position of the i-th particle in the d-th dimension in the k-th iteration.
The flowchart of the PSO algorithm is shown in Figure 1, with the following steps:
(1)
Initialize. N particles and their initial velocity and position are randomly generated.
(2)
Calculate the fitness value of each particle. If the fitness value of a particle is less than its own historical optimal solution, the individual best position is updated. If the optimal fitness value among all particles is less than the historical optimal solution of the particle group, the group best position is updated.
(3)
The velocity and position of each particle are updated according to Equations (5) and (6).
(4)
Determine if the iteration is over; if not, repeat steps (2) and (3). If yes, the PSO algorithm runs to the end.

2.2. The ANWPSO Algorithm

Although the PSO algorithm can find the global best solution through cooperation and information sharing between particles, it also has problems such as premature convergence, long planned path and path non-smoothness. In order to overcome these problems and to plan shorter and safer navigation paths for the USV, this paper proposes the ANWPSO algorithm, which is obtained by improving the inertia weight, learning factors and fitness function of the PSO algorithm.

2.2.1. Nonlinear Decreasing Inertia Weight

The inertia weight ω can balance the capacities of global and local searching. A small value of ω can increase the speed of local convergence and find the target solution more rapidly, and a large value of ω is able to enhance the global search capacity and jump out of the local optimal. In order to obtain better global search capacity and to enhance the convergence speed, nonlinear decreasing inertia weight ω is designed in this paper:
ω = ω m a x ω m a x ω m i n 2 k K k K 2
where ω m a x is the maximum value of the inertia weight, ω m i n is the minimum value of the inertia weight, k is the current number of iterations and K is the total number of iterations.

2.2.2. Adaptive Learning Factors

The learning factors c1 and c2 reflect cooperation and information sharing among particles. A small learning factor can enhance the global search capability but will reduce the local convergence speed, and a large learning factor can enhance the local convergence capacity, but there will be a local optimal. When c1 is zero, the particle loses the guidance of the individual cognitive component and no longer considers the effect of the individual best position. It is difficult for particles to converge to the target solution, only through cooperation and information sharing among particles. When c2 is zero, the particle loses the guidance of the group cognitive component and no longer considers the effect of the group best position, which also makes it difficult for each particle working independently to find the target solution. When both c1 and c2 are zero, the particle loses the guidance of the individual and group cognitive components and thus loses the ability to search for the target solution.
Therefore, this paper designs adaptive learning factors. As the number of iterations increases, the learning factors c1 and c2 change adaptively with the number of convergence of the particles, specifically, as shown in Equations (8) and (9):
c 1 = M N 2 c 1 m a x c 1 m i n + c 1 m i n
c 2 = M N 2 c 2 m a x c 2 m i n + c 2 m i n
where M is the number of particles in the particle population that converge to the optimal solution. c 1 m a x and c 2 m a x are the maxima of c1 and c2, respectively. c 1 m i n and c 2 m i n are the minima of c1 and c2, respectively.

2.2.3. Fitness Function

We consider path length and path smoothness in the fitness function:
f = μ 1 f 1 + μ 2 f 2
where f denotes the total fitness value, f 1 denotes the path length fitness function and f 2 is the path smoothness fitness function. μ 1 and μ 2 are weighting coefficients and take μ 1 = μ 2 = 1 2 .
Suppose the generated path of the i-th particle is formed by m nodes, the coordinate of the j-th node is P j ( x j , y j ) and the coordinate of the (j+1)-th node is P j + 1 ( x j + 1 , y j + 1 ) . Then, the path length is given in Equation (11):
f 1 = j = 1 m 1 ( x j + 1 x j ) 2 + ( y j + 1 y j ) 2
It can be seen that the smaller f1 is, the shorter the length is.
As shown in Figure 2, for the steering angle between the path segments, set the vectors formed by two neighbouring nodes Pj and Pj+1 with their own previous nodes as V j and V j + 1 , respectively; then, the steering angle θ j between the path segments is:
cos θ j = V j · V j + 1 V j · V j + 1
θ j = 180 ° π arccos V j · V j + 1 V j · V j + 1
The smoothness value of the path is set according to the change in the steering angle θ j . The details are shown in Equations (14) and (15):
f j = 0 , θ j = 0 ° 30 , 0 ° < θ j < 90 ° 60 , θ j = 90 ° 90 , 90 ° < θ j < 180 °
f 2 = j = 2 m 1 f j
In Equation (14), the smaller the steering angle θ j is, the smaller the smoothness value is, which shows that the path segment is smoother. The total fitness value f is obtained by substituting Equations (11) and (15) into Equation (10). With decreasing f, the planned path is more compliant.

2.3. DWA

The DWA can convert the positional obstacle avoidance question for USVs into an optimisation question with speed constraints, and it seeks the target solution through a dynamic window that varies with the motion of the USV. Then, the algorithm selects the optimal path by predicting the motion trajectories of the USV at various combinations of velocities and evaluating the predicted trajectories using an evaluation function. In the velocity space, the velocity (v,w) of the USV needs to be constrained.
Firstly, the velocity constraints of the USV are shown in Equation (16):
V 1 = ( v , w ) v [ v min , v max ] , w [ w min , w max ]
where vmax and wmax represent the maximum linear velocity and angular velocity of the USV, respectively. vmin and wmin represent the minimum linear velocity and angular velocity of the USV, respectively.
Secondly, there is a maximum and minimum acceleration constraint on the USV. The details are shown in Equation (17):
V 2 = v , w v [ v c a v max Δ t , v c + a v max Δ t ] , w [ w c a w max Δ t , w c + a w max Δ t ]
where vc and wc represent the current linear velocity and angular velocity of the USV, respectively. a v max denote the maximum acceleration. a w max denote the maximum angular acceleration.
Finally, in order for the USV to stop before colliding with obstacles, the speed range of the USV is shown in Equation (18):
V 3 = v , w v v min , 2 d i s t v , w a v max , w w min , 2 d i s t v , w a w max
where dist(v,w) represents the closest distance to the obstacle on the corresponding trajectory at (v,w).
The range of velocity constraints in velocity space is the intersection of V 1 , V 2 and V 3 , that is, V = V 1 V 2 V 3 . The DWA evaluates the simulated trajectories in terms of azimuth, distance from obstacles and navigation speed. Thus, the evaluation function of the DWA is shown in Equation (19):
G ( v , w ) = σ ( α H ( v , w ) + β O ( v , w ) + γ V ( v , w ) )
where H(v,w), O(v,w) and V(v,w) denote the azimuth evaluation factor, the distance evaluation factor and the speed evaluation factor, respectively. σ is the smoothing function. α , β and γ denote the weighting coefficients of H(v,w), O(v,w) and V(v,w), respectively.
Because the evaluation function G(v,w) is maximised, H(v,w) is shown in Equation (20):
H ( v , w ) = π δ
where δ represents the angle between the target point and the heading of the USV.
Three evaluation factors are normalised:
σ H ( v , w ) = n o r m a l i z e _ H ( u ) = H ( u ) u = 1 S H ( u )
σ O ( v , w ) = n o r m a l i z e _ O ( u ) = O ( u ) u = 1 S O ( u )
σ V ( v , w ) = n o r m a l i z e _ V ( u ) = V ( u ) u = 1 S V ( u )
where S and u represent the total number of sampling groups at a certain time and the u-th sampling trajectory, respectively.

3. Hybrid Algorithm

3.1. ANWPSO Algorithm Combined with DWA

In this paper, we propose a hybrid algorithm that combines the ANWPSO algorithm and DWA. The flowchart of the hybrid algorithm is illustrated in Figure 3, and the specific steps are given below:
(1)
Establish the simulation environment and initialise parameters.
(2)
Calculate the fitness value f of the particle according to Equation (10).
(3)
Determine whether the fitness value f of the particle is smaller than the fitness value f p i corresponding to the individual best position. If f is smaller than f p i , update the individual best position. If f is not smaller than f p i , retain the individual best position.
(4)
Determine whether the fitness value f of the particle is smaller than the fitness value f p g corresponding to the group best position. If f is smaller than f p g , update the group best position. If f is not smaller than f p g , retain the group best position.
(5)
Update the velocity and position of the particle according to Equations (5) and (6).
(6)
Determine whether the iteration is over. If not, return to step (3). If the iteration ends, output the optimal solution and generate the optimal global path.
(7)
Select key nodes in the optimal global path as sub-target points for local path planning.
(8)
Establish velocity space and sample the velocities of the USV.
(9)
Predict trajectories for each group of sampled velocities and evaluate the predicted trajectories according to Equation (19).
(10)
Select the optimal predicted trajectory based on the evaluation results and record the velocity and position corresponding to the optimal trajectory.
(11)
Determine whether the reached sub-target point is the target point. If not, return to step (8). If the sub-target point is the target point, the run ends and outputs the optimal local path.

3.2. COLREGS

To ensure the navigational safety of USV, the COLREGS are incorporated into the hybrid algorithm in this paper. We set constraints on the sampling angular velocity in the DWA in combination with the COLREGS in this paper. Specifically, the sampled angular velocity is set to a positive value when avoiding to the left, and it is set to a negative value when avoiding to the right. Based on these constraints, the sampling angular velocity of the DWA is filtered to achieve an effective combination of the COLREGS and DWA.
We mainly simulate head-on, overtaking and crossing in this paper. For these three encounter situations, the COLREGS are as follows, with specific collision avoidance situations shown in Figure 4.
(1)
Head-on: when two ships encounter on opposite or nearly opposite directions resulting in danger of collision, each ship shall turn to the right and then pass on the left of another ship.
(2)
Overtaking: when a ship pursues another ship from behind, it should make way for another ship and pass on the left of another ship.
(3)
Crossing: when two ships cross, resulting in danger of collision, and if another ship is on the right of one’s own ship, give way to another ship.
It is difficult to distinguish the type of encounter due to the good flexibility of USVs. Therefore, the type of encounter is judged by comparing the heading angles of two ships in this paper. As shown in Figure 5, the two ships form a situation of head-on when the angle range between the two ships is in [0°, 22.5°] and [337.5°, 360°]. The two ships form a situation of crossing when the angle range between the two ships is in [22.5°, 112.5°] and [247.5°, 337.5°]. When the heading angle between the two ships is within [122.5°, 247.5°], the two ships form an overtaking situation.

4. Simulation and Analysis

4.1. Simulation Environment and Parameters

To validate the efficiency of the proposed method, the PSO algorithm, the PSO algorithm with nonlinear decreasing inertia weight (NWPSO), the PSO algorithm with adaptive learning factors (APSO) and the ANWPSO algorithm are simulated and compared, respectively. The parameters of the four algorithms are given in Table 1.
In this paper, a grid method is used for building the simulation map, which divides the navigation map into a series of square grids of the same size. Then, it marks the corresponding square grids according to the location of obstacles. The simulation map is selected to have an area of 100 m × 100 m and is divided into 100 × 100 square grids in this paper. As shown in Figure 6, the actual area of each square grid is 1 m × 1 m. The black and white areas represent obstacles and the water surface, respectively.

4.2. Simulation and Comparison

In this paper, PSO, APSO, NWPSO and ANWPSO are adopted for path planning of USVs, respectively. The performance of the four algorithms is compared and tested in terms of planned path length and path smoothness. The total number of populations for all four algorithms is set to 100 and the maximum number of iterations is 200 in the simulation experiments. The four algorithms are run 20 times, respectively.
From 20-time simulation experiments, the planned shortest paths from the four algorithms are shown in Figure 7. The longest path, shortest path, average path and variance of the four algorithms in these 20-time simulations, respectively, are listed in Table 2. ANWPSO reduces 5.03%, 8.38% and 12.40% more in the longest paths planned and reduces 2.98%, 6.49% and 9.98% more in the shortest paths than NWPSO, APSO and PSO, respectively. In 20-time simulation experiments, the average path length planned by ANWPSO reduces 3.62%, 8.30% and 11.68% more than the other three algorithms, respectively. Moreover, the performance of the ANWCPSO algorithm is shown to be more stable through the variance value.
The number of path turning points for the four algorithms in 20-time simulation experiments is shown in Table 3. By analysing 20-time simulation results, the maximum and minimum number of turning points planned by ANWPSO are smaller than those of the other three algorithms, and the average number of turning points of the paths planned by ANWPSO is reduced by 47.33%, 59.90% and 67.62% more than that of NWPSO, APSO and PSO, respectively.
Figure 8 shows the corresponding convergence curves for the four algorithms. The fitness value of ANWPSO converges to the optimum at the 15th iteration, while NWPSO, APSO and PSO converge to the optimal fitness value at the 20th, 28th and 51st iterations, respectively. ANWPSO is 25%, 46.43% and 70.59% ahead of schedule compared to the other three algorithms. The optimal fitness values for ANWPSO, NWPSO, APSO and PSO are 91.38, 95.60, 99.18 and 103.04, respectively.
According to the simulation results, the convergence speed of ANWPSO is faster than that of the other three algorithms. And due to the path length and path smoothness being considered in the fitness function of the ANWPSO algorithm, this can effectively shorten the path length and improve the smoothness of the path.

4.3. The Planning Capabilities of the Hybrid Algorithm Based on the COLREGS

To validate the path planning capability of the hybrid algorithm after incorporating the COLREGS in multi-ship encounters, this paper simulates the collision avoidance situation between two ships in head-on, overtaking and crossing. The parameters of the DWA are set as follows: α = 0.4, β = 0.2, γ = 0.4, the prediction time is 3 s and the sampling time is 0.5 s. The parameters of the USV are shown in Table 4.
(1)
Head-on: As shown in Figure 9, the USV is in the opposite direction of the obstacle ship, and the USV turns to the right according to the COLREGS to avoid collision. After the USV navigates to a safe distance, it will keep navigating along the global path towards the target point.
(2)
Overtaking: As shown in Figure 10, when the USV is overtaking the obstacle ship, the USV turns to the left according to the COLREGS to avoid collision. After the USV navigates to a safe distance, it will keep navigating along the global path towards the target point.
(3)
Crossing: As shown in Figure 11, when the obstacle ship is laterally in front of the starboard of the USV, the USV turns to the right according to the COLREGS to give way to the obstacle ship and passes astern of it. After the USV navigates to a safe distance, it will keep navigating along the global path towards the target point.
In the case of head-on, overtaking and crossing situations, the navigation direction and status of the obstacle ship are both uncertain. The USV may avoid the obstacle ship from the left or right side by using the DWA, and the avoidance direction is random. There is a high risk of collision between the USV and the obstacle ship. By introducing the COLREGS, the USV will avoid in accordance with the prescribed avoidance rules, thereby significantly improving the safety of avoidance.
The heading angle variations of the USV in the three encounter types are shown in Figure 12, Figure 13 and Figure 14, which show the linear and angular velocity variations of the USV in the three encounter types, respectively. Through simulation experiments on the three encounter types, it can be seen that the proposed hybrid algorithm is able to safely avoid the obstacle ship according to the COLREGS, which ensures the navigational safety of the USV in a multi-ship encounter.

5. Discussion

In this paper, a hybrid path planning algorithm is proposed by combining the ANWPSO algorithm and DWA, and the COLREGS are introduced to ensure the navigation safety of USVs in multi-ship encounters. The simulation and comparison of the PSO algorithm, APSO algorithm, NWPSO algorithm and ANWPSO algorithm show that the ANWPSO algorithm can plan shorter and smoother global paths and reduce the number of iterations at the same time. This is due to the fact that the nonlinear decreasing inertia weight and adaptive learning factors are introduced in the PSO algorithm, and the fitness function is improved by considering the path length and path smoothness. This improved method can effectively enhance the performance of the algorithm and plan better paths. Three multi-ship encounter scenarios are simulated to demonstrate that the hybrid algorithm incorporating the COLREGS ensures USVs can safely avoid the obstacle ship. These results show that with the introduction of the COLREGS, USVs can safely avoid collisions in accordance with the rules when encountering an obstacle ship. It effectively reduces the risk of collision and improves navigational safety.
Furthermore, the algorithm proposed in this paper has some limitations. It only considers the collision risk of USVs in multi-ship encounters. We will further consider the effects of uncertain factors such as ocean currents in our future research.

6. Conclusions

In this paper, we propose a hybrid algorithm that combines the ANWPSO algorithm and DWA for path planning of the USV. To overcome the shortcomings of the PSO algorithm and plan a better global path, the ANWPSO algorithm is proposed by incorporating a nonlinear decreasing inertia weight and adaptive learning factors into the PSO algorithm and considering the path length and path smoothness in the fitness function. Secondly, the ANWPSO algorithm is combined with the DWA, and the DWA is utilised to plan the local path of the USV. In addition, the COLREGS are introduced in the hybrid algorithm considering various encounter situations. The simulation comparison with the NWPSO algorithm, APSO algorithm and PSO algorithm shows that the proposed ANWPSO algorithm can effectively accelerate the convergence speed, improve the path smoothness and shorten the path length. The simulation of the three encounter types shows that the proposed hybrid algorithm ensures USVs safely avoid obstacle ships and reduces the collision risk of USVs.
However, the proposed hybrid algorithm ignores the effects of environmental factors such as marine currents, and it has some limitations. We will further consider the influence of environmental factors in future research and perform practical tests to ensure that the proposed method can work safely and reliably in various practical environments.

Author Contributions

Methodology, J.L. and L.W.; software, J.L.; validation, J.L., L.W., Z.H., Y.C. and H.T.; writing—original draft preparation, J.L.; writing—review and editing, J.L. and L.W.; supervision, L.W. All authors have read and agreed to the published version of the manuscript.

Funding

This research was funded by the Natural Science Foundation of Hubei Province, grant number 2022CFB449.

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

Data are contained within the article.

Conflicts of Interest

The authors declare no conflicts of interest.

References

  1. Fan, Y.; Sun, Z.; Wang, G. A novel intelligent collision avoidance algorithm based on deep reinforcement learning approach for USV. Ocean Eng. 2023, 287, 115649. [Google Scholar] [CrossRef]
  2. Jiang, T.; Yan, Y.; Yu, S.H. Adaptive sliding mode control for unmanned surface vehicles with predefined-time tracking performances. J. Mar. Sci. Eng. 2023, 11, 1244. [Google Scholar] [CrossRef]
  3. Sun, Z.; Fan, Y.; Wang, G. An Intelligent Algorithm for USVs Collision Avoidance Based on Deep Reinforcement Learning Approach with Navigation Characteristics. J. Mar. Sci. Eng. 2023, 11, 812. [Google Scholar] [CrossRef]
  4. Yan, Y.; Liu, P.; Yu, S. Neural network-based practical fixed-time nonsingular sliding mode tracking control of autonomous surface vehicles under actuator saturation. Ocean Eng. 2024, 306, 118032. [Google Scholar] [CrossRef]
  5. Er, M.J.; Ma, C.; Liu, T.; Gong, H. Intelligent motion control of unmanned surface vehicles: A critical review. Ocean Eng. 2023, 280, 114562. [Google Scholar] [CrossRef]
  6. Chang, H.C.; Hsu, Y.L.; Hung, S.S.; Ou, G.R.; Hsu, C. Autonomous Water Quality Monitoring and Water Surface Cleaning for Unmanned Surface Vehicle. Sensors 2021, 21, 1102. [Google Scholar] [CrossRef]
  7. Jin, X.; Er, M.J. Cooperative path planning with priority target assignment and collision avoidance guidance for rescue unmanned surface vehicles in a complex ocean environment. Adv. Eng. Inform. 2022, 52, 101517. [Google Scholar] [CrossRef]
  8. Fan, Y.; Qiao, S.; Wang, G.; Chen, S.; Zhang, H. A modified adaptive Kalman filtering method for maneuvering target tracking of unmanned surface vehicles. Ocean Eng. 2022, 266, 112890. [Google Scholar] [CrossRef]
  9. He, Z.; Wang, G.; Fan, Y.; Qiao, S. Fast finite-time path-following control of unmanned surface vehicles with sideslip compensation and time-varying disturbances. J. Mar. Sci. Eng. 2022, 10, 960. [Google Scholar] [CrossRef]
  10. Fan, Y.; Qiu, B.; Liu, L.; Yang, Y. Global fixed-time trajectory tracking control of underactuated USV based on fixed-time extended state observer. Isa Trans. 2023, 132, 267–277. [Google Scholar] [CrossRef]
  11. Xiaofei, Y.; Yilun, S.; Wei, L.; Hui, Y.; Weibo, Z.; Zhengrong, X. Global path planning algorithm based on double DQN for multi-tasks amphibious unmanned surface vehicle. Ocean Eng. 2022, 266, 112809. [Google Scholar] [CrossRef]
  12. Long, Y.; Liu, S.; Qiu, D.; Li, C.; Guo, X.; Shi, B.; AbouOmar, M.S. Local path planning with multiple constraints for USV based on improved bacterial foraging optimization algorithm. J. Mar. Sci. Eng. 2023, 11, 489. [Google Scholar] [CrossRef]
  13. Heshmati-Alamdari, S.; Nikou, A.; Dimarogonas, D.V. Robust Trajectory Tracking Control for Underactuated Autonomous Underwater Vehicles. In Proceedings of the 2019 IEEE 58th Conference on Decision and Control (CDC), Nice, France, 11–13 December 2019; pp. 8311–8316. [Google Scholar]
  14. Nikou, A.; Heshmati-Alamdari, S.; Dimarogonas, D.V. Scalable time-constrained planning of multi-robot systems. Auton. Robot. 2020, 44, 1451–1467. [Google Scholar] [CrossRef] [PubMed]
  15. Heshmati-Alamdari, S.; Nikou, A.; Dimarogonas, D.V. Robust trajectory tracking control for underactuated autonomous underwater vehicles in uncertain environments. IEEE Trans. Autom. Sci. Eng. 2020, 18, 1288–1301. [Google Scholar] [CrossRef]
  16. Khatib, O. Real-Time Obstacle Avoidance for Manipulators and Mobile Robots. In Proceedings of the 1985 IEEE International Conference on Robotics and Automation, St. Louis, MO, USA, 25–28 March 1985; Volume 2, pp. 500–505. [Google Scholar]
  17. Yang, C.; Pan, J.; Wei, K.; Lu, M.; Jia, S. A Novel Unmanned Surface Vehicle Path-Planning Algorithm Based on A* and Artificial Potential Field in Ocean Currents. J. Mar. Sci. Eng. 2024, 12, 285. [Google Scholar] [CrossRef]
  18. Liu, W.; Qiu, K.; Yang, X.; Wang, R.; Xiang, Z.; Wang, Y.; Xu, W. COLREGS-based collision avoidance algorithm for unmanned surface vehicles using modified artificial potential fields. Phys. Commun. 2023, 57, 101980. [Google Scholar] [CrossRef]
  19. Fox, D.; Burgard, W.; Thrun, S. The dynamic window approach to collision avoidance. IEEE Robot. Autom. Mag. 1997, 4, 23–33. [Google Scholar] [CrossRef]
  20. Han, S.; Wang, L.; Wang, Y.; He, H. A dynamically hybrid path planning for unmanned surface vehicles based on non-uniform Theta* and improved dynamic windows approach. Ocean Eng. 2022, 257, 111655. [Google Scholar] [CrossRef]
  21. Kim, H.G.; Yun, S.J.; Choi, Y.H.; Ryu, J.K.; Suh, J.H. Collision avoidance algorithm based on COLREGs for unmanned surface vehicle. J. Mar. Sci. Eng. 2021, 9, 863. [Google Scholar] [CrossRef]
  22. Hart, P.E.; Nilsson, N.J.; Raphael, B. A formal basis for the heuristic determination of minimum cost paths. IEEE Trans. Syst. Sci. Cybern. 1968, 4, 100–107. [Google Scholar] [CrossRef]
  23. Pasandi, L.; Hooshmand, M.; Rahbar, M. Modified A* Algorithm integrated with ant colony optimization for multi-objective route-finding; case study: Yazd. Appl. Soft Comput. 2021, 113, 107877. [Google Scholar] [CrossRef]
  24. LaValle, S. Rapidly-Exploring Random Trees: A New Tool for Path Planning. Research Report 9811. 1998. Available online: https://msl.cs.illinois.edu/lavalle/papers/Lav98c.pdf (accessed on 28 June 2024).
  25. Yu, J.; Chen, Z.; Zhao, Z.; Yao, P.; Xu, J. A traversal multi-target path planning method for multi-unmanned surface vessels in space-varying ocean current. Ocean Eng. 2023, 278, 114423. [Google Scholar] [CrossRef]
  26. Mao, S.; Yang, P.; Gao, D.; Bao, C.; Wang, Z. A Motion Planning Method for Unmanned Surface Vehicle Based on Improved RRT Algorithm. J. Mar. Sci. Eng. 2023, 11, 687. [Google Scholar] [CrossRef]
  27. Dorigo, M.; Maniezzo, V.; Colorni, A. Ant system: Optimization by a colony of cooperating agents. IEEE Trans. Syst. Man. Cybern. Part (Cybern.) 1996, 26, 29–41. [Google Scholar] [CrossRef]
  28. Ntakolia, C.; Lyridis, D.V. Path Planning in the Case of Swarm Unmanned Surface Vehicles for Visiting Multiple Targets. J. Mar. Sci. Eng. 2023, 11, 719. [Google Scholar] [CrossRef]
  29. Liu, C.; Wu, L.; Xiao, W.; Li, G.; Xu, D.; Guo, J.; Li, W. An improved heuristic mechanism ant colony optimization algorithm for solving path planning. Knowl.-Based Syst. 2023, 271, 110540. [Google Scholar] [CrossRef]
  30. Zhen, R.; Gu, Q.; Shi, Z.; Suo, Y. An improved A-star ship path-planning algorithm considering current, water depth, and traffic separation rules. J. Mar. Sci. Eng. 2023, 11, 1439. [Google Scholar] [CrossRef]
  31. He, Z.; Liu, C.; Chu, X.; Negenborn, R.R.; Wu, Q. Dynamic anti-collision A-star algorithm for multi-ship encounter situations. Appl. Ocean. Res. 2022, 118, 102995. [Google Scholar] [CrossRef]
  32. Lyridis, D.V. An improved ant colony optimization algorithm for unmanned surface vehicle local path planning with multi-modality constraints. Ocean Eng. 2021, 241, 109890. [Google Scholar] [CrossRef]
  33. Kennedy, J.; Eberhart, R. Particle Swarm Optimization. In Proceedings of the ICNN’95—International Conference on Neural Networks, Perth, WA, Australia, 27 November 1995–1 December 1995; Volume 4, pp. 1942–1948. [Google Scholar]
  34. Shi, Y.; Eberhart, R. A Modified Particle Swarm Optimizer. In Proceedings of the 1998 IEEE International Conference on Evolutionary Computation Proceedings, IEEE World Congress on Computational Intelligence (Cat. No. 98TH8360), Anchorage, AK, USA, 4–9 May 1998; pp. 69–73. [Google Scholar]
  35. Xu, L.; Cao, M.; Song, B. A new approach to smooth path planning of mobile robot based on quartic Bezier transition curve and improved PSO algorithm. Neurocomputing 2022, 473, 98–106. [Google Scholar] [CrossRef]
  36. Song, B.; Wang, Z.; Zou, L. An improved PSO algorithm for smooth path planning of mobile robots using continuous high-degree Bezier curve. Appl. Soft Comput. 2021, 100, 106960. [Google Scholar] [CrossRef]
  37. Tan, L.; Zhang, H.; Shi, J.; Liu, Y.; Yuan, T. A robust multiple Unmanned Aerial Vehicles 3D path planning strategy via improved particle swarm optimization. Comput. Electr. Eng. 2023, 111, 108947. [Google Scholar] [CrossRef]
  38. Tian, S.; Li, Y.; Kang, Y.; Xia, J. Multi-robot path planning in wireless sensor networks based on jump mechanism PSO and safety gap obstacle avoidance. Future Gener. Comput. Syst. 2021, 118, 37–47. [Google Scholar] [CrossRef]
  39. Zhi, L.; Zuo, Y. Collaborative Path Planning of Multiple AUVs Based on Adaptive Multi-Population PSO. J. Mar. Sci. Eng. 2024, 12, 223. [Google Scholar] [CrossRef]
  40. Guo, X.; Ji, M.; Zhao, Z.; Wen, D.; Zhang, W. Global path planning and multi-objective path control for unmanned surface vehicle based on modified particle swarm optimization (PSO) algorithm. Ocean Eng. 2020, 216, 107693. [Google Scholar] [CrossRef]
  41. Xin, J.; Zhong, J.; Li, S.; Sheng, J.; Cui, Y. Greedy mechanism based particle swarm optimization for path planning problem of an unmanned surface vehicle. Sensors 2019, 19, 4620. [Google Scholar] [CrossRef] [PubMed]
  42. Krell, E.; King, S.A.; Carrillo, L.R.G. Autonomous Surface Vehicle energy-efficient and reward-based path planning using Particle Swarm Optimization and Visibility Graphs. Appl. Ocean. Res. 2022, 122, 103125. [Google Scholar] [CrossRef]
  43. Xin, J.; Li, S.; Sheng, J.; Zhang, Y.; Cui, Y. Application of improved particle swarm optimization for navigation of unmanned surface vehicles. Sensors 2019, 19, 3096. [Google Scholar] [CrossRef] [PubMed]
  44. Wang, Z.; Li, G.; Ren, J. Dynamic path planning for unmanned surface vehicle in complex offshore areas based on hybrid algorithm. Comput. Commun. 2021, 166, 49–56. [Google Scholar] [CrossRef]
  45. Zhong, J.; Li, B.; Li, S.; Yang, F.; Li, P.; Cui, Y. Particle swarm optimization with orientation angle-based grouping for practical unmanned surface vehicle path planning. Appl. Ocean. Res. 2021, 111, 102658. [Google Scholar] [CrossRef]
Figure 1. Flowchart of PSO algorithm.
Figure 1. Flowchart of PSO algorithm.
Jmse 12 01268 g001
Figure 2. Schematic of steering angles between path segments.
Figure 2. Schematic of steering angles between path segments.
Jmse 12 01268 g002
Figure 3. Flow chart of hybrid algorithm.
Figure 3. Flow chart of hybrid algorithm.
Jmse 12 01268 g003
Figure 4. Schematic diagrams of collision avoidance for three encounter situations.
Figure 4. Schematic diagrams of collision avoidance for three encounter situations.
Jmse 12 01268 g004
Figure 5. The division of the three encounter types.
Figure 5. The division of the three encounter types.
Jmse 12 01268 g005
Figure 6. Simulation environment.
Figure 6. Simulation environment.
Jmse 12 01268 g006
Figure 7. The planned shortest paths from the four algorithms.
Figure 7. The planned shortest paths from the four algorithms.
Jmse 12 01268 g007
Figure 8. The convergence curves for the four algorithms.
Figure 8. The convergence curves for the four algorithms.
Jmse 12 01268 g008
Figure 9. Collision avoidance simulation for head-on.
Figure 9. Collision avoidance simulation for head-on.
Jmse 12 01268 g009
Figure 10. Collision avoidance simulation for overtaking.
Figure 10. Collision avoidance simulation for overtaking.
Jmse 12 01268 g010
Figure 11. Collision avoidance simulation for crossing.
Figure 11. Collision avoidance simulation for crossing.
Jmse 12 01268 g011
Figure 12. Schematic of USV heading angle variation.
Figure 12. Schematic of USV heading angle variation.
Jmse 12 01268 g012
Figure 13. Schematic of USV linear velocity variation.
Figure 13. Schematic of USV linear velocity variation.
Jmse 12 01268 g013
Figure 14. Schematic of USV angular velocity variation.
Figure 14. Schematic of USV angular velocity variation.
Jmse 12 01268 g014
Table 1. Parameter setting for each algorithm.
Table 1. Parameter setting for each algorithm.
AlgorithmParameterValue
Inertia weight ω 0.8
PSOIndividual learning factor c12
Group learning factor c22
Inertia weight ω 0.8
APSOIndividual learning factor c1Changes according to Equation (13) and the range is 0.4 to 1.4.
Group learning factor c2Changes according to Equation (14) and the range is 0.2 to 1.2.
Inertia weight ω Nonlinear decreasing according to Equation (11) and the range is 0.4 to 1.2.
NWPSOIndividual learning factor c12
Group learning factor c22
Inertia weight ω Nonlinear decreasing according to Equation (11) and the range is 0.4 to 1.2.
ANWPSOIndividual learning factor c1Changes according to Equation (13) and the range is 0.4 to 1.4.
Group learning factor c2Changes according to Equation (14) and the range is 0.2 to 1.2.
Table 2. Comparison of path lengths planned by four algorithms in 20-time simulation experiments.
Table 2. Comparison of path lengths planned by four algorithms in 20-time simulation experiments.
AlgorithmLongest Path/mShortest Path/mAverage Length/mVariance/m2
ANWPSO98.2292.7595.121.96
NWPSO103.4395.6098.692.94
APSO107.2199.18103.733.68
PSO112.13103.04107.705.23
The average length and variance of the path are results of 20-time simulation experiments.
Table 3. Comparison of number of path turning points planned by four algorithms in 20-time simulation experiments.
Table 3. Comparison of number of path turning points planned by four algorithms in 20-time simulation experiments.
AlgorithmMaximum Number of Turning PointsMinimum Number of Turning PointsAverage Number of Turning Points
ANWPSO533.95
NWPSO967.50
APSO1299.85
PSO16712.20
The average of path turning points is the result of 20-time simulation experiments.
Table 4. Parameters of USV.
Table 4. Parameters of USV.
ParameterValueParameterValue
Total mass21.5 kgMaximum angular speed0.5 rad/s
Length1.40 mAcceleration range±1 m/s2
Width0.65 mAngular acceleration range±0.3 rad/s2
Maximum speed2.0 m/sEndurance time2 h
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Li, J.; Wan, L.; Huang, Z.; Chen, Y.; Tang, H. Hybrid Path Planning Strategy Based on Improved Particle Swarm Optimisation Algorithm Combined with DWA for Unmanned Surface Vehicles. J. Mar. Sci. Eng. 2024, 12, 1268. https://doi.org/10.3390/jmse12081268

AMA Style

Li J, Wan L, Huang Z, Chen Y, Tang H. Hybrid Path Planning Strategy Based on Improved Particle Swarm Optimisation Algorithm Combined with DWA for Unmanned Surface Vehicles. Journal of Marine Science and Engineering. 2024; 12(8):1268. https://doi.org/10.3390/jmse12081268

Chicago/Turabian Style

Li, Jing, Lili Wan, Zhen Huang, Yan Chen, and Huiying Tang. 2024. "Hybrid Path Planning Strategy Based on Improved Particle Swarm Optimisation Algorithm Combined with DWA for Unmanned Surface Vehicles" Journal of Marine Science and Engineering 12, no. 8: 1268. https://doi.org/10.3390/jmse12081268

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop