Next Article in Journal
Group Class Residual 1-Minimization on Random Projection Sparse Representation Classifier for Face Recognition
Previous Article in Journal
Energy Management Strategy for PEM Fuel Cell Hybrid Power System Considering DC Bus Voltage Regulation
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

USV Dynamic Accurate Obstacle Avoidance Based on Improved Velocity Obstacle Method

1
School of Mechanical Engineering, Jiangsu University of Science and Technology, Zhenjiang 212003, China
2
Marine Equipment and Technology Institute, Jiangsu University of Science and Technology, Zhenjiang 212003, China
3
Shanghai Marine Equipment Research Institute, Shanghai 200031, China
*
Author to whom correspondence should be addressed.
Electronics 2022, 11(17), 2720; https://doi.org/10.3390/electronics11172720
Submission received: 24 July 2022 / Revised: 25 August 2022 / Accepted: 27 August 2022 / Published: 30 August 2022
(This article belongs to the Section Systems & Control Engineering)

Abstract

:
Unmanned surface vehicle (USV) path planning is a crucial technology for achieving USV autonomous navigation. Under global path planning, dynamic local obstacle avoidance has become the primary focus for safe USV navigation. In this study, a USV autonomous dynamic obstacle avoidance method based on the enhanced velocity obstacle method is proposed in order to achieve path replanning. Through further analysis of obstacles, the obstacle geometric model set in the conventional velocity obstacle method was redefined. A special triangular obstacle geometric model was proposed to reconstruct the velocity obstacle region. The collision time was predicted by fitting the previously gathered data to the detected obstacle’s distance, azimuth, and other relevant data. Then, it is combined with the collision risk to determine when obstacle avoidance should begin and end. In order to ensure safe driving between path points, the international maritime collision avoidance rules (COLREGs) are incorporated to ensure the accuracy of obstacle avoidance. Finally, through numerical simulations of various collision scenarios, it was determined that, under the assumption of ensuring a safe encounter distance, the maximum change rates of USV heading angle are optimized by 17.54%, 58.16%, and 28.63% when crossing, head-on, and overtaking, respectively. The results indicate that, by optimizing the heading angle, the enhanced velocity obstacle method can avoid the risk of ship rollover caused by an excessive heading angle during high-speed movement and achieve more accurate obstacle avoidance action in the event of a safety encounter.

1. Introduction

With the advancement of science and technology, an increasing number of USVs have been utilized in a variety of scientific experiments, civil fields, and military fields, including marine environment monitoring, unmanned submersible recovery, search and rescue in complex waters, and military defense. The USV path planning method must be safe, reliable, and precise in order for the USV to perform complex surface missions.
Local dynamic obstacle avoidance is the key technology of USV autonomous navigation and a crucial issue that must be resolved [1]. Many domestic and international researchers have developed and proposed many local path planning algorithms. Common algorithms consist of the artificial potential field method [2,3,4], the dynamic window method [5,6], the velocity obstacle method [7], the vector field histogram method, the fast random tree method, fuzzy logic [8,9], the set-based guidance (SBG) method [10,11,12,13,14,15], etc. Among them, velocity obstacle (VO) is a local path planning method first proposed by Fiorini in 1998 [16]. Due to its rapid response, high real-time performance, strong robustness, and intelligent obstacle avoidance, the velocity obstacle method has been widely adopted for the autonomous obstacle avoidance of various types of underwater robots. Dubey and Rahul proposed a hybrid technology that combines velocity obstacle (VO) and rapid exploration of random trees (RRT) in order to generate the safe trajectory of autonomous surface ships. By combining these two methods, the joint forward simulation guarantees that the generated path remains effective and collision-free as the situation changes [17]. Huang et al. proposed a collision avoidance algorithm based on the application of the generalized velocity obstacle (GVO) algorithm to ship collision protection, taking ship dynamics into consideration. They developed the GVO algorithm considering ship dynamics to deal with the near-distance multi-ship scene at sea [18]. However, the effect of model error and environmental disturbance on the performance of the GVO algorithm, as well as the effect of ship shape, are not taken into account. Zhang et al. applied the velocity obstacle method to the avoidance of dynamic obstacles by USV [19]. The ellipse is used to represent the USV and the obstacle, and the virtual obstacle is used to reduce the influence of error in obstacle motion information on the obstacle avoidance process. However, it does not use COLREGs. There is a high risk of collision if the unmanned ship on the surface chooses to avoid the obstacle in front of the dynamic obstacle when it encounters a dynamic obstacle. Xu et al. proposed an intelligent hybrid collision avoidance algorithm based on deep reinforcement learning, as well as a preferential sampling mechanism with cumulative pruning [20]. However, there are limitations to the circular extension of all obstacles. The actual obstacle is not necessarily suitable for expanding into a circle. Wang et al. proposed an autonomous collision avoidance method based on deep reinforcement learning (DRL), in which the reward function includes a collision risk assessment model, responsibility avoidance rules, and interaction rules. The static obstacle’s virtual potential energy is introduced to improve the DRL [21]. However, it is impossible to predict the target ship’s collision avoidance behavior.
This paper aims to solve the problem of dynamic autonomous and precise obstacle avoidance of unmanned surface vehicles in a variety of environments by enhancing the velocity obstacle method, fitting the information gathered in the early stage, and predicting its collision time to determine the timing of starting and ending obstacle avoidance. The aim was also to integrate the international rules for collision avoidance at sea (COLREGs) to ensure that its obstruction avoidance is accurate. Through numerical simulation of various collision scenarios, it was determined that, under the premise of ensuring a safe encounter distance, the maximum change rates of USV heading angle are optimized by 17.54%, 58.16%, and 28.63% when crossing, head-on, and overtaking, respectively. The results show that, by optimizing the heading angle, the improved velocity obstacle method can avoid the danger of ship rollover during high-speed maneuvering and achieve more accurate obstacle avoidance action in the event of a safety encounter.

2. Improved Velocity Obstacle Method

2.1. Improved Dynamic Ship Collision Domain

The conventional velocity obstacle method reduces the irregularly moving obstacle object to a circle on the plane and the moving object to a particle. At the same time, it is assumed that the dynamic obstacles follow a specific trajectory. The instantaneous state (position and velocity) of dynamic obstacles is known or predictable at a specific time node [16,22].
As shown in Figure 1a, in the conventional velocity obstacle method, the dynamic obstacle is uniformly expanded into a circle with a radius of R , and then two tangents of λ 1 and λ 2 are made to the expanded circle through the particle of the moving object. Then, the set of relative velocity V u o is defined as the relative collision area of R C C u o . The structure of this area is closely related to the relative size and shape of the dynamic obstacle.
Through the study of dynamic obstacles on the sea, various types of ships pose the greatest threat to USV. Thus, various types of ships are the main research objects. In the conventional speed obstacle method, all dynamic obstacles are expanded into a circle with a radius R . Thus, the included angle formed by λ 1 and λ 2 in any direction is the same, that is, the same relative collision area R C C u o will be obtained. In fact, due to the different lengths and widths of the hull, the included angles formed in the different directions λ 1 and λ 2 are different, and the obtained relative collision area R C C u o is also different. Therefore, due to the inaccuracy of R C C u o , it may occur in the actual collision avoidance process that obstacle avoidance is performed when obstacle avoidance is not required, and large-angle obstacle avoidance is performed when only a small angle is required.
To solve the aforementioned issues, it is necessary to design a geometric expansion region that can maximally overcome the actual dynamic obstacles. Since the overall shape of the ship is more similar to that of a triangle, a special isosceles triangle is proposed as the geometric expansion region of the dynamic obstacle, which is more consistent with the actual shape of the dynamic obstacle. Further research reveals that the length–width ratio of ordinary transport ships is 7:1~9:1, the length–width ratio of ice breakers is 4:1~6:1, and the length–width ratio of small high-speed transport boats is 3:1~4:1. Therefore, the ratio of height ( h ) to base-side ( d ) of the geometric expansion region of the special isosceles triangle is defined as 2:1 ( h = 2 d ), which corresponds to the actual length and width of the dynamic obstacle, respectively. In the actual process of obstacle avoidance, the value of the bottom edge is derived from the high value. Since the defined ratio is 2:1, the value of the bottom edge in the geometric expansion area of different ship types will exceed the actual ship width. Therefore, the additional range can withstand the interference of uncertain factors.
As shown in Figure 1b, it is assumed that P u is the center of a moving object with a velocity of V u and length of L u . Assuming that P o is the center of the dynamic obstacle, the velocity is V o and the length is L o [23]. Assuming that the current time is T , the P u of the moving object is abstracted into a point, and the P o of the dynamic obstacle is expanded into an isosceles triangle with height ( h = L u + L o ) twice the bottom. In this figure, λ 1 and λ 2 and are two rays emitted by P u passing through the two vertices of an isosceles triangle formed with P o as the center.
The relative velocity of a moving object P u and a dynamic obstacle P o is expressed by V u o . The mathematical formula is as follows:
V u o = V u V o
As shown in the figure, starting from the center point of the moving object P u and making a ray along the relative velocity V u o , it is defined as:
λ P u , V u o = P u + V u o t | t 0
where t represents the time of motion. Then, a ray λ ( P u , V u o ) made along the relative velocity V u o represents the real-time relative position between the moving object P u and the dynamic obstacle P o at time t .
The set of the relative velocity V u o of moving object P u and dynamic obstacle P o is defined as the relative collision region of R C C u o (relative collision cone). Its mathematical formula is defined as follows:
R C C u o = V u o | λ P u , V u o O P O
where O P O represents the special triangular area expanded by the dynamic obstacle P o .
As shown in the figure, if the current direction and speed of the moving object P u and the dynamic obstacle P o remain unchanged during the movement, and as long as the relative speed V u o falls within the fan-shaped relative collision area R C C u o , the moving object and the dynamic obstacle will collide. In contrast, any relative velocity V u o that falls outside the sector will not cause a collision between the two objects.

2.2. Selection of Rays Forming Relative Collision Regions

Since the set of relative velocity V u o is the relative collision region of R C C u o , it is composed of two rays λ 1 and λ 2 passing through two vertices of the isosceles triangle. Therefore, the correct two rays can be obtained by selecting the passing vertex.
As shown in Figure 2a, three vertices are obtained by the center point P o ( x o , y o ) of a special triangle. The formula is as follows:
A x a , y a : x a = x o ± h 2 cos θ A y a = y o ± h 2 sin θ A
B x b , y b : x b = x o ± 5 h 4 cos θ B y b = y o ± 5 h 4 sin θ B
C x c , y c : x c = x o ± 5 h 4 cos θ C y c = y o ± 5 h 4 sin θ C
where θ A , θ B , and θ C are the angle between P o A , P o B , P o C , and the X axis. α is the angle between P o A and the positive half axis of X, representing the direction angle of the obstacle ship. ‘+, −’ is related to the size of α angle. h represents the height of the triangle.
The two vertices that make up the relative collision area of R C C u o are selected by the angle β   ( 0 β 2 π ) between the center point P u of the USV and the center point P o of the obstacle and the direction angle α   ( 0 α 2 π ) of the triangle.
As shown in Figure 2a,b, the correct vertex is selected by the following conditions:
γ = β α β + 2 π α , β α 0 , β α < 0
According to the range of γ in Table 1, determine the vertex through which the two rays pass.

3. Collision Time Prediction and Obstacle Avoidance Timing Judgment

This paper performs polynomial fitting of the collected data using the least squares method and predicts the collision time based on the detected dynamic obstacle distance and other relevant information. It is then combined with the collision risk to determine the timing of starting and ending obstacle avoidance.

3.1. Collision Time Prediction

In this paper, the sum of squares of errors i = 0 m r i 2 is often used in curve fitting to calculate the size of the error r i = P ( x i ) y i between a given point ( x i , y i )   ( i = 0 , 1 , , m ) and the approximate function P ( x ) .
Through known points (xi,yi), in the given function class Φ, find P(x)∈Φ, and minimize the sum of squares of the error ri = P(xi) − yi. The formula is as follows:
i = 0 m r i 2 = i = 0 m [ P ( x i ) y i ] 2
The objective is to find a curve y = p(x) with the smallest sum of squares of distances to a given point (xi,yi) geometrically. The fitting function or least square solution is known as the P(x) function, and the least square technique of curve fitting is known as the least square method of curve fitting [24].
For known points (xi,yi), Φ is a set of functions made up of polynomials with a degree of no more than n. P n ( x ) = k = 0 n a k x k Φ is calculated, and the following Formula (9) is obtained:
I = i = 0 m p ( x i ) y i 2 = i = 0 m k = 0 n a k x i k y i 2
Polynomial fitting is used when the fitting function is polynomial, and the least square fitting polynomial that satisfies Equation (10) is known as the least square fitting polynomial. If n = 1, this is known as linear fitting [25].
I = i = 0 m k = 0 n a k x i k y i 2
The aforementioned issue is the extreme value problem of I = I ( a 0 , a 1 , , a n ) , since it is a multivariate function of a 0 , a 1 , , a n . Through the necessary conditions for solving the extreme value using a multivariable function, the following formulas are obtained:
I a j = 2 i = 0 m k = 0 n a k x i k y i x i j = 0 j = 0 , 1 , , n
k = 0 n i = 0 m x i j + k a k = i = 1 n x i j y i   j = 0 , 1 , , n
Formula (12) is a linear system of equations about a0, a1, …, an. Use matrix representation:
m + 1 i = 0 m x i i = 0 m x i n i = 0 m x i i = 0 m x i 2 i = 0 m x i n + 1 i = 0 m x i n i = 0 m x i n + 1 i = 0 m x i 2 n a 0 a 1 a n = i = 0 m y i i = 0 m y i x i i = 0 m x i n y i
Using the inverse proof technique, it is demonstrated that the system of Equation (13) has a unique solution. It is assumed that the coefficient matrix of the equation set (13) is singular and that the homogeneous equation set corresponding to it has a has a non-zero solution. It can be represented by the following formula:
k = 0 n i = 0 m x i j + k a k = 0 j = 0 , 1 , , n
Multiply the j -th equation in Formula (14) by a j j = 0 , 1 , , n , and then add the left and right ends of the newly obtained n + 1 equations, respectively, to obtain j = 0 n a j k = 0 n i = 0 m x i j + k a k = 0 . Because j = 0 n a j k = 0 n i = 0 m x i j + k a k = i = 0 m j = 0 n k = 0 n a k a j x i j + k = i = 0 m j = 0 n a j x i j k = 0 n a k x i k = i = 0 m p n x i 2 , in the formula P n ( x ) = k = 0 n a k x k , there is P n x i = 0 i = 0 , 1 , , m . P n x i is a polynomial of a degree no more than n. It has m + 1 > n different zeros, and a 0 = a 1 = = a n = 0 can be calculated from the basic algebra theorem. It contradicts the hypothesis that the homogeneous equation has a non-zero solution. The normal Equation (13) must, therefore, have a unique solution.
Therefore, a k   ( k = 0 , 1 , , n ) can be solved using equation set (13), and polynomial (15) can be obtained.
P n ( x ) = k = 0 n a k x k
The polynomial fitting and prediction steps are as follows:
When the USV detects an obstacle, the onboard sensor measures the distance between the USV and the obstacle ship in real time, and sample data with time and distance as variables are obtained. At the same time, the degree n of the fitting polynomial is determined;
List calculation i = 0 m x i j and i = 0 m x i j y i   ( j = 0 , 1 , , 2 n ) ;
Write the equations and find a 0 , a 1 , , a n ;
Obtain the fitting polynomial P ( x ) = a 0 + a 1 x + + a n x n ;
Calculate the maximum distance D max from the center of the expansion triangle to the boundary as the minimum collision distance between the USV and the obstacle ship;
Bring the known D max is into the curve equation to solve the collision time T z ;
The collision time TZ can be predicted in real time according to the distance change between the USV and the obstacle ship during the navigation.

3.2. Start and End Obstacle Avoidance Timing Judgment

Through the velocity obstacle method, it is possible to predict whether the USV and the dynamic obstacle will collide at a future time, but it is not possible to predict the timing of the beginning and ending obstacle avoidance. Therefore, the timing of obstacle avoidance is determined by combining the velocity obstacle method and the collision risk [26,27].
The collision point between USV and the expansion geometric region of dynamic obstacles is defined as CPA, the distance between USV and CPA is defined as D C P A at a certain moment, and the time is defined as T C P A .
D C P A = D u o D s
As in Formula (16), D u o is the distance between USV and dynamic obstacles at a certain time, and D s is the distance from the expanded special triangle center to the triangle boundary.
T C P A = T Z T d
According to Formula (17), T Z is the collision time predicted by the least square fitting polynomial and T d represents the current time of USV.
D is the relative distance between the USV and the dynamic obstacle, and is defined as follows:
D = x o x u 2 + y o y u 2
Definition B is the relative azimuth angle between the USV and the dynamic obstacle as follows:
B = β α
K is defined as the speed ratio of USV to the dynamic obstacle as follows:
K = V o / V u
When USV finds dynamic obstacles, the collision risk assessment set is established as { D C P A , T C P A , D , B , K } . The hazard membership functions are μ d ( D C P A ) , μ t ( T C P A ) , μ D ( D ) , μB(B), and μ K ( K ) :
μ d ( D C P A ) = 0 , D C P A > d 2 1 2 1 2 sin π d 1 d 2 D C P A d 1 + d 2 2 , d 1 < D C P A d 2 1 , D C P A d 1
μ t ( T C P A ) = 0 , T C P A > t 2 t 2 T C P A t 2 t 1 , t 1 < T C P A t 2 1 , T C P A t 1
μ D ( D ) = 1 , 0 D D 1 D 2 D D 2 D 1 , D 1 < D D 2 0 , D 2 < D
μ B ( B ) = 1 2 cos B 19 ° + 440 289 + cos 2 B 19 ° 5 17   ,   0 B < 360 °
μ K ( K ) = 1 1 + 2 K K 2 + 1 + 2 K sin C   ,   K 0
In Equations (21)–(25), d 1 and d 2 are the range of the distance to the nearest encounter point, t 1 and t 2 are the time interval to the nearest encounter point, D 1 represents the latest starting obstacle avoidance distance, D2 is the earliest starting obstacle avoidance distance, and C is the collision angle between the USV and the dynamic obstacle.
Each indicator has different impacts on the collision risk. The collision risk assessment set μ d t D B K can be obtained by combining the weighting coefficient with the risk membership function:
μ d t D B K = k 1 μ d ( D C P A ) + k 2 μ t ( T C P A ) + k 3 μ D ( D ) + k 4 μ B ( B ) + k 5 μ K ( K ) , ( k 1 + k 2 + k 3 + k 4 + k 5 = 1 )
Through a large number of data statistics, and in combination with the weighting parameter calculation method in reference [28], the specific weighting coefficients can be calculated as k 1 = 0.41 , k 2 = 0.35 , k 3 = 0.18 , k 4 = 0.04 , and k 5 = 0.02 .
At this point, the opportunity to start and end obstacle avoidance is determined by:
First, the collision distance D C P A between USV and obstacles is less than the set safe distance D s .
Second, the relative velocity V u o between USV and obstacles is located in the relative collision area R C C u o .
Third, when the collision risk is evaluated as high risk, i.e., when μ d t D B A > 0.5 .
When the USV decision-making system needs to meet the above three conditions in the actual obstacle avoidance process, the obstacle avoidance can be terminated if it is not satisfied.

3.3. International Regulations for Preventing Collisions at Sea (COLREGS)

According to the COLREGs collision rules, when there is a collision risk between two ships and one of the ships must be avoided, the encounter scenarios must be classified [29,30]. It is primarily divided according to rules 13 to 15 in COLREGs. These rules define three distinct encounter scenarios: overtaking, head-on, and crossing. To ensure the safety of maritime navigation, the relative azimuth of the USV and obstacle ship is used to distinguish and define ship encounters. The formula for calculating the relative azimuth angle is shown in Formula (27).
ω = tan 1 y p u ( t k ) y p o ( t k ) x p u ( t k ) x p o ( t k ) ψ p o ( t k )
where x p u ( t k ) and y p u ( t k ) denote the co-ordinate position of USV at t k , x p o ( t k ) and y p o ( t k ) denote the co-ordinate position of obstacle ship at t k , and ψ p o ( t k ) represents the heading angle of obstacle ship at t k .
As shown in Figure 3 and Figure 4, it follows the relevant rules of COLREGs combined with the relative azimuth angle to determine the encounter situations of ships:
Rule 13 (overtaking): when ω [ 112.5 ° , 247.5 ° ] , it is judged that the encounter scenario is overtaking. In this case, the speed and direction of the obstacle ship remain unchanged, the USV right rudder passes the obstacle ship, or the left rudder passes the obstacle ship.
Rule 14 (head-on): when ω [ 0 ° , 15 ° ] [ 345 ° , 360 ° ] , it is judged that the encounter scene is head-on. In this case, the USV right rudder passes through the obstacle ship.
Rule 15 (crossing): when ω [ 15 ° , 112.5 ° ] [ 247.5 ° , 345 ° ] , the encounter scenario is judged to be (left and right) cross. When the obstacle ship is on the USV’s starboard side, the right rudder of the USV steers away, while the obstacle ship maintains its original driving posture. When the obstacle ship is on the USV’s starboard side, the USV maintains its original driving position, and the obstacle ship’s right rudder steers away.

4. Simulation and Discussion

Simulation validates the improved velocity obstacle method proposed in this paper. To verify and compare the accuracy of the algorithm, several different simulation experiments are carried out. All experiments are based on USV detection devices that can detect moving obstacles from varying distances and directions. According to the actual size of the ship, the length of the obstacle ship is set to 16 m and the length of the USV is set to 6 m. The traditional velocity obstacle method abstracts the obstacle ship as a circle with a 22-m diameter, whereas the improved velocity obstacle method abstracts the obstacle as an isosceles triangle with a 22-m height and an 11-m base. To obtain valid comparison results, the obstacle avoidance speed of the USV is held constant.

4.1. Simulation Study of Predicting Obstacle Avoidance

As shown in Figure 5, a dynamic obstacle avoidance simulation is carried out for an obstacle vessel with variable speed and direction. By obtaining the real-time distance between the USV and the obstacle vessel, the collision time T Z is measured using the least square fitting polynomial when the obstacle avoidance scheme is not adopted. Then, the real-time T C P A is obtained by subtracting the current time T d of the USV. Through the obtained T C P A , the hazard membership function is established to determine the timing of starting and ending obstacle avoidance.
As shown in Figure 5d, collision time T Z can be predicted in real time by collecting distance information before obstacle avoidance. Combined with (a), (d), and (c), this method can accurately implement obstacle avoidance for obstacle ships with variable speed and variable direction, where the minimum distance between the two ships is greater than the safe distance.

4.2. Comparison of Accurate Implementation of Obstacle Avoidance Measures

To verify that the improved velocity obstacle method can be a more accurate implementation of obstacle avoidance measures, the traditional velocity obstacle method and the improved velocity obstacle method are compared under identical conditions in terms of their implementation of obstacle avoidance measures.
As shown in Figure 6, the beginning point co-ordinate of the USV is (155, 20), the ending point co-ordinate is (175, 240), and the velocity is 3 m/s. The starting co-ordinates of obstacles are (155, 220), the ending co-ordinates are (155, 80), and the speed is 2 m/s. It can be found through experiments that the improved velocity obstacle method in Figure 6a determines that there is no collision danger at this time, and no collision avoidance measures are implemented. The conventional velocity obstacle method depicted in Figure 6b determines that a collision hazard exists at the current time and implements collision avoidance measures. By comparing the relative distances in Figure 6c, it can be determined that the center distance between the USV and the obstacle remains above the safe distance, indicating that no obstacle avoidance measures are necessary at this time. This demonstrates that the improved velocity obstacle method is more accurate for evaluating the implementation of collision avoidance measures.

4.3. Comparison of Obstacle Avoidance Simulation for Single-Ship and Multi-Scenario Encounter

Three distinct encounter scenarios are defined based on the COLREG collision rules for the single-ship encounter simulation experiment: overtaking, head-on, and crossing. According to the avoidance rule, the ship does not need to avoid the left cross-meeting scenario; it can simply maintain its original state of navigation. The obstacle avoidance in the scenarios of crossing from the right (Figure 7), head-on (Figure 8), and overtaking (Figure 9) is simulated, respectively.
Comparing and analyzing the experimental data in Table 2, Table 3 and Table 4 reveals that, assuming a safe encounter distance, the maximum change rate of USV heading angle is optimized by 17.54%, 58.16%, and 28.63% in crossing, head-on, and overtaking, respectively. The improved velocity obstacle method is clearly superior to the conventional velocity obstacle method. The improved velocity obstacle method can avoid the danger of ship rollover due to excessive heading angle in the process of high-speed motion by optimizing the heading angle, and can realize more accurate obstacle avoidance action in the case of a safe encounter. In addition, the USV that has completed obstacle avoidance no longer returns to the original path but instead plans a new route directly at the obstacle’s end point, which can reduce the USV’s bypass path and ensure that it maintains a greater distance under limited power or fuel.

5. Conclusions

In this paper, the conventional velocity obstacle method is improved. Through further analysis of obstacles, the geometric obstacle model in the traditional velocity obstacle method is redefined. A special triangular obstacle geometric model is proposed for reconstructing the velocity obstacle area. Using the detected obstacle’s distance, azimuth, and other relevant data, the least square fitting polynomial was applied to the previously gathered data to predict the collision time. Then, it was combined with the collision risk to determine when obstacle avoidance should begin and end. Under the assumption of ensuring safe driving between path points, the international maritime collision avoidance rules (COLREGs) are incorporated to ensure the accuracy of obstacle avoidance.
The experimental data indicate that, under the assumption of ensuring a safe encounter distance, the maximum change rate of USV heading angle is optimized by 17.54%, 58.16%, and 28.6% in crossing, head-on, and overtaking, respectively. The enhanced velocity obstacle method is superior to the conventional velocity obstacle method. The improved velocity obstacle method can avoid the danger of ship rollover due to excessive heading angle in the process of high-speed motion by optimizing the heading angle and can realize more accurate obstacle avoidance action in the case of a safe encounter. At the same time, the USV that has completed obstacle avoidance no longer returns to its original path but instead plans a new path directly at the obstacle’s end point, which can reduce the USV’s bypass path and ensure that it maintains a greater distance under limited power or fuel. In the future, it will be determined if the method can effectively avoid dynamic obstacles in confined waters using multi-sensor information fusion, and the stability control method in complex environments will be investigated in conjunction with dynamics.

Author Contributions

Conceptualization, J.W. and R.W.; methodology, J.W. and R.W.; software, R.W.; validation, J.W., R.W. and T.T.; formal analysis, J.W. and D.L.; investigation, H.Z. and D.L.; data curation, R.W. and T.T.; writing—original draft preparation, R.W.; writing—review and editing, J.W. and D.L.; visualization, R.W.; supervision, J.W.; project administration, J.W. and H.Z.; funding acquisition, J.W. and D.L. All authors have read and agreed to the published version of the manuscript.

Funding

This research is funded by Key Research and Development Program of Jiangsu Province (Grant No. BE2022062) and National Key research and development Program (Grant No. 2018YFC0309103).

Acknowledgments

We would like to thank the editor and anonymous reviewers for their valuable comments and suggestions that significantly improved the quality of this paper.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Ren, J.; Zhang, J.; Cui, Y. Autonomous Obstacle Avoidance Algorithm for Unmanned Surface Vehicles Based on an Improved Velocity Obstacle Method. ISPRS Int. J. Geo-Inf. 2021, 10, 618. [Google Scholar] [CrossRef]
  2. Sun, X. Research on Real-Time Path Planning System of Unmanned Surface Vehicle. Master’s Thesis, Dalian Maritime University, Dalian, China, 2016. [Google Scholar]
  3. Khatib, M.; Chatila, R. An extended potential field approach for mobile robot sensor-based motions. In Proceedings of the Intelligent Autonomous Systems (IAS-4), Karlsruhe, Germany, 27–30 March 1995. [Google Scholar]
  4. Jin, Q.; Tang, C.; Cai, W. Research on Dynamic Path Planning Based on the Fusion Algorithm of Improved Ant Colony Optimization and Dynamic Window Method. IEEE Access 2021, 10, 28322–28332. [Google Scholar] [CrossRef]
  5. Khatib, O. Real-time obstacle avoidance for manipulators and mobile robots. Int. J. Robot. Res. 1986, 5, 90–98. [Google Scholar] [CrossRef]
  6. Fox, D.; Burgard, W.; Thrun, S. The dynamic window approach to collision avoidance. IEEE Robot. Autom. Mag. 1997, 4, 23–33. [Google Scholar] [CrossRef]
  7. Kuwata, Y.; Wolf, M.; Zarzhitsky, D.; Huntsberger, T. Safe maritime autonomous navigation with colregs, using velocity obstacles. IEEE J. Ocean. Eng. 2014, 39, 110–119. [Google Scholar] [CrossRef]
  8. Song, L.; Shi, X.; Sun, H.; Xu, K.; Huang, L. Collision Avoidance Algorithm for USV Based on Rolling Obstacle Classification and Fuzzy Rules. J. Mar. Sci. Eng. 2021, 9, 1321. [Google Scholar] [CrossRef]
  9. Hu, Y.; Meng, X.; Zhang, Q.; Park, G.-K. A Real-Time Collision Avoidance System for Autonomous Surface Vessel Using Fuzzy Logic. IEEE Access 2020, 8, 108835–108846. [Google Scholar]
  10. Brock, O.; Khatib, O. High-speed navigation using the global dynamic window approach. In Proceedings of the International Conference on Robotics and Automation, Detroit, MI, USA, 10–15 May 1999. [Google Scholar]
  11. Conti, R.; Meli, E.; Ridolfi, A. An innovative decentralized strategy for I-AUVs cooperative manipulation tasks. Robot. Auton. Syst. 2015, 72, 261–276. [Google Scholar] [CrossRef]
  12. Rezaee, H.; Abdollahi, F. A decentralized cooperative control scheme with obstacle avoidance for a team of mobile robots. IEEE Trans. Ind. Electron. 2013, 61, 347–354. [Google Scholar] [CrossRef]
  13. Alterman, R.; Bruch, M. Velodyne HDL-64E LIDAR for unmanned surface vehicle obstacle detection. In Proceedings of the SPIE—The International Society for Optical Engineering, Orlando, FL, USA, 7 May 2010; Volume 7692, p. 9. [Google Scholar]
  14. Yang, X.; Zhou, Q.; Zhang, Y. Autonomous obstacle avoidance algorithm for three-dimensional dynamic uncertain UAV. Electroopt. Control. 2017, 24, 1–5. [Google Scholar]
  15. Wu, X.; Chen, H.; Xu, L.; Zhen, R. Research on the method of UAV’s burst release by improving the speed obstacle method. Electroopt. Control 2020, 27, 31–35. [Google Scholar]
  16. Fiorini, P.; Shiller, Z. Motion planning in dynamic environments using velocity obstacles. Int. J. Robot. Res. 1998, 17, 760–772. [Google Scholar]
  17. Dubey, R.; Louis, S. VORRT-COLREGs: A Hybrid Velocity Obstacles and RRT Based COLREGs-Compliant Path Planner for Autonomous Surface Vessels. In Proceedings of the Oceans Conference Record (IEEE), San Diego, CA, USA, 20 September 2021. [Google Scholar]
  18. Huang, Y.; Chen, L.; Gelder, P. Generalized velocity obstacle algorithm for preventing ship collisions at sea. Ocean. Eng. 2019, 173, 142–156. [Google Scholar]
  19. Zhang, Y.; Qu, D.; Ke, J.; Li, X. Dynamic obstacle avoidance of unmanned surface vehicle based on velocity obstacle method and dynamic window method. J. Shanghai Univ. (Nat. Sci. Ed.) 2017, 23, 1–16. [Google Scholar]
  20. Xu, X.; Lu, Y.; Liu, G.; Cai, P.; Zhang, W. COLREGs-abiding hybrid collision avoidance algorithm based on deep reinforcement learning for USVs. Ocean Eng. 2022, 247, 110749. [Google Scholar]
  21. Wang, L.; Zhang, X.; Wang, C.; Cui, H. COLREGs-Compliant Collision Avoidance Method for Autonomous Ships via Deep Reinforcement Learning. In Proceedings of the 2021 International Conference on Autonomous Unmanned Systems (ICAUS), Changsha, China, 24–26 September 2021; Springer: Singapore, 2022; Volume 3, pp. 2016–2026. [Google Scholar]
  22. Berg, J.V.D.; Lin, M.; Manocha, D. Reciprocal velocity obstacles for real-time multi-agent navigation. In Proceedings of the International Conference on Robotics and Automation, Pasadena, CA, USA, 19–23 May 2008. [Google Scholar]
  23. Xiong, N.; Zhou, X.; Yang, X.; Xiang, Y.; Ma, J. Mobile Robot Path Planning Based on Time Taboo Ant Colony Optimization in Dynamic Environment. Front. Neurorobot. 2021, 15, 1662–5218. [Google Scholar]
  24. Ma, L.; Zhang, Y.; Xiao, Y. Prediction and Elimination of Plastic Waste Based on AHP. In Proceedings of the International Conference on Information Systems and Computer Aided Education, Dalian, China, 24–26 September 2021. [Google Scholar]
  25. Wang, A.; Wang, Q.; Yu, M.; Xu, H. Research on Time Delay System Based on Time-free Crossover. In Proceedings of the International Conference on Information Science and Control Engineering (ICISCE), Shanghai, China, 20–22 December 2019. [Google Scholar]
  26. Wu, G.; Shi, D.; Guo, J. Deliberative collision avoidance for unmanned surface vehicle based on the directional weight. J. Shanghai Jiaotong Univ. Sci. 2016, 21, 307–312. [Google Scholar]
  27. Xie, H.; Zhang, Y.; Xing, S.; Gao, Z. A method for ship autonomous collision auoidance based on model predictive control. Ship Eng. 2021, 43, 23–28. [Google Scholar]
  28. Chen, Y.; Du, W.; Hu, X.; Bai, G.; Zhang, J. USV collision hazard assessment and track planning algorithm. Ocean. Eng. 2022, 261, 112149. [Google Scholar]
  29. Johansen, T.A.; Perez, T.; Cristofaro, A. Ship collision avoidance and colregs compliance using simulation-based control behavior selection with predictive hazard assessment. IEEE Trans. Intell. Transp. Syst. 2016, 17, 3407–3422. [Google Scholar]
  30. Naeem, W.; Irwin, G.W.; Yang, A. COLREGs-based collision avoidance strategies for unmanned surface vehicles. Mechatronics 2012, 22, 669–678. [Google Scholar]
Figure 1. Comparison of dynamic ship collision domains with velocity obstacle method: (a) traditional dynamic ship collision domain; (b) improved dynamic ship collision domain.
Figure 1. Comparison of dynamic ship collision domains with velocity obstacle method: (a) traditional dynamic ship collision domain; (b) improved dynamic ship collision domain.
Electronics 11 02720 g001
Figure 2. Schematic diagram of the selection of triangle vertices that form a relative collision area: (a) improved obstacle geometry region diagram; (b) vertex selection diagram of ray passing.
Figure 2. Schematic diagram of the selection of triangle vertices that form a relative collision area: (a) improved obstacle geometry region diagram; (b) vertex selection diagram of ray passing.
Electronics 11 02720 g002
Figure 3. Encounter scenario partitioning schematic.
Figure 3. Encounter scenario partitioning schematic.
Electronics 11 02720 g003
Figure 4. Obstacle avoidance diagram based on COLREGs.
Figure 4. Obstacle avoidance diagram based on COLREGs.
Electronics 11 02720 g004
Figure 5. Obstacle collision time prediction and obstacle avoidance simulation: (a) path simulation; (b) relative distance between USV and obstacle ship; (c) the change in USV heading angle; (d) curve fitting and collision time prediction.
Figure 5. Obstacle collision time prediction and obstacle avoidance simulation: (a) path simulation; (b) relative distance between USV and obstacle ship; (c) the change in USV heading angle; (d) curve fitting and collision time prediction.
Electronics 11 02720 g005
Figure 6. Comparison of whether to implement obstacle avoidance: (a) improved VO path simulation; (b) traditional VO path simulation; (c) relative distance comparison graph; (d) USV heading angle comparison chart.
Figure 6. Comparison of whether to implement obstacle avoidance: (a) improved VO path simulation; (b) traditional VO path simulation; (c) relative distance comparison graph; (d) USV heading angle comparison chart.
Electronics 11 02720 g006
Figure 7. Simulation comparison of crossing from the right scene: (a) improved VO path simulation; (b) traditional VO path simulation; (c) relative distance comparison graph; (d) USV heading angle comparison chart.
Figure 7. Simulation comparison of crossing from the right scene: (a) improved VO path simulation; (b) traditional VO path simulation; (c) relative distance comparison graph; (d) USV heading angle comparison chart.
Electronics 11 02720 g007
Figure 8. Simulation comparison of the head-on scene: (a) improved VO path simulation; (b) traditional VO path simulation; (c) relative distance comparison graph; (d) USV heading angle comparison chart.
Figure 8. Simulation comparison of the head-on scene: (a) improved VO path simulation; (b) traditional VO path simulation; (c) relative distance comparison graph; (d) USV heading angle comparison chart.
Electronics 11 02720 g008
Figure 9. Simulation comparison of the overtaking scene: (a) improved VO path simulation; (b) traditional VO path simulation; (c) relative distance comparison graph; (d) USV heading angle comparison chart.
Figure 9. Simulation comparison of the overtaking scene: (a) improved VO path simulation; (b) traditional VO path simulation; (c) relative distance comparison graph; (d) USV heading angle comparison chart.
Electronics 11 02720 g009
Table 1. Selection of two vertices through which the ray passes.
Table 1. Selection of two vertices through which the ray passes.
Range   of   γ The Two Vertices the Ray Passes through
γ 0 , arctan 1 4   arctan 1 4 , arctan 1 2   a n d   D P o , P u < D P o , W A C π 2 π arctan 1 2 , 2 π arctan 1 4   a n d   D P o , P u < D P o , W A B 2 π arctan 1 4 , 2 π B and C
γ arctan 1 4 , arctan 1 2   a n d   D P o , P u D P o , W A C arctan 1 2 , π 2   a n d   D P o , P u D P o , W B C π , 3 π 2 3 π 2 , 2 π arctan 1 2   a n d   D P o , P u < D P o , W C B A and B
γ arctan 1 2 , π 2   a n d   D P o , P u < D P o , W B C π 2 , π 3 π 2 , 2 π arctan 1 2   a n d   D P o , P u D P o , W C B 2 π arctan 1 2 , 2 π arctan 1 4   a n d   D P o , P u D P o , W A B A and C
Where P u represents the center point of USV, P o is the center point of obstacles, W A C is the intersection point of straight AC and straight P u P o , W B C represents the intersection point of straight BC and straight P u P o , W C B denotes the intersection point of straight CB and straight P u P o , and W A B is the intersection point of straight AB and straight P u P o . D ( P o , P u ) is the distance between point P o and point P u , which is known by other similar theories. l 1 and l 4 are parallel to BC, l 2 is parallel to AC, and l 3 is parallel to AB.
Table 2. Simulation data of traditional VO for a single ship.
Table 2. Simulation data of traditional VO for a single ship.
Simulation SceneVesselVelocity
(m/s)
Heading Angle
(rad)
Starting PointDiameter of Expansion Circle (m)Minimum Distance
(m)
USV Maximum Steering Angle
(rad)
Safety Distance
(m)
CrossingUSV30.9109(83, 55)2215.320.523311
Obstacle 32.9997(205, 115)
Head-onUSV31.5708(100, 20)2218.410.43435.5
Obstacle 24.7124(100, 220)
OvertakingUSV40.7854(30, 30)2216.450.330811
Obstacle 10.7854(80, 80)
Table 3. Simulation data of improved VO for a single ship.
Table 3. Simulation data of improved VO for a single ship.
Simulation SceneVesselVelocity
(m/s)
Heading Angle
(rad)
Starting PointExpanded Triangle Height (m)Minimum Distance
(m)
USV Maximum Steering Angle
(rad)
Safety Distance
(m)
CrossingUSV30.9109(83, 85)2213.980.431511
Obstacle 32.9997(205, 115)
Head-onUSV31.5708(110, 20)227.770.18175.5
Obstacle 24.7124(100, 220)
OvertakingUSV40.7854(30, 30)2213.290.236111
Obstacle 10.7854(80, 80)
Table 4. Optimization rate of steering angle in obstacle avoidance.
Table 4. Optimization rate of steering angle in obstacle avoidance.
Simulation SceneUSV Maximum Steering Angle (rad)Optimization Rate
Traditional VOImproved VO
Crossing0.52330.431517.54%
Head-on0.43430.181758.16%
Overtaking0.33080.236128.63%
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Share and Cite

MDPI and ACS Style

Wang, J.; Wang, R.; Lu, D.; Zhou, H.; Tao, T. USV Dynamic Accurate Obstacle Avoidance Based on Improved Velocity Obstacle Method. Electronics 2022, 11, 2720. https://doi.org/10.3390/electronics11172720

AMA Style

Wang J, Wang R, Lu D, Zhou H, Tao T. USV Dynamic Accurate Obstacle Avoidance Based on Improved Velocity Obstacle Method. Electronics. 2022; 11(17):2720. https://doi.org/10.3390/electronics11172720

Chicago/Turabian Style

Wang, Jia, Rongtao Wang, Daohua Lu, Hao Zhou, and Tianyi Tao. 2022. "USV Dynamic Accurate Obstacle Avoidance Based on Improved Velocity Obstacle Method" Electronics 11, no. 17: 2720. https://doi.org/10.3390/electronics11172720

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