1. Introduction
In recent years, the concept of unmanned systems has gained significant traction. Notably, unmanned surface vehicles (USVs) have experienced rapid advancement. As crucial elements of unmanned maritime systems, USVs offer advantages such as high-speed intelligence, compact size, maneuverability, and cost-effectiveness compared to traditional surface vessels [
1]. With the diversification of marine operations, the limitations of single-vehicle operations necessitate research into the cooperative use of multiple USVs to enhance operational efficiency and expand operational scopes [
2]. The cooperation among multiple USVs finds applications in marine replenishment, waterway security, unmanned combat systems, hydrological and meteorological information gathering, and surface search and rescue. Such cooperation represents a collaborative approach enabling USVs to accomplish complex tasks. As a member of intelligent robots, the importance of obstacle avoidance cannot be overemphasized [
3].
Formation cooperative obstacle avoidance is a foundational technology for achieving effective cooperation among multiple USVs [
4,
5,
6].
The following are two practical scenarios in formation obstacle avoidance:
During the initial stage of task execution by the formation, the primary step involves assembling individual vehicles into a formation—positioning each vehicle at its designated location to establish the shape of the formation. During this process, obstacles along the route of each vehicle and route conflicts between vehicles may lead to collisions. To enhance the efficiency of task execution by the formation, a dynamic process is preferred, where formation assembly and task execution occur synchronously rather than waiting for all vehicles to come into formation before commencing task execution.
During the task execution by the formation, obstacles may be encountered along the route. Therefore, the formation should rationally avoid obstacles while ensuring a safe distance between vehicles. Following avoidance, the formation may be recovered. Given the surface motion characteristics of USVs, obstacle avoidance should be conducted without sacrificing formation robustness and efficiency. Thus, a robust and efficient virtual guidance structure is preferred [
7,
8]. However, virtual structure patterns have apparent drawbacks: their poor adaptability is unfavorable for obstacle avoidance. The obstacle avoidance in the virtual structure formation method typically involves the entire formation avoiding obstacles, with members of high mobility cooperating with those of low mobility to maintain the formation. However, this cooperation reduces the flexibility of each member within the formation. Consequently, it may result in an increased total path for obstacle avoidance, particularly when dealing with small groups of obstacles. Members with high mobility can traverse such obstacle groups without detouring. To minimize unnecessary trips and enhance task efficiency, we seek a novel solution to address the limited flexibility inherent in the virtual deconstruction method.
To address these drawbacks, a series of targeted explorations were conducted. Mainstream obstacle-avoidance solutions include the following:
The most traditional approach is one based on geometry; among many categories, the more classic is the velocity obstacle (VO) method [
9,
10,
11,
12].
Model predictive control (MPC) [
13,
14,
15], where [
13] utilizes MPC for quadratic programming on intended velocities for obstacle avoidance, and [
14] employs MPC to address collision-avoidance issues within formations.
Based on probability or Stochastic planning methods, rapidly exploring random trees (RRT) algorithm and its variants are common [
16,
17].
Artificial potential field (APF) methods [
18,
19,
20], with [
19,
20] using consensus algorithms alongside APF to achieve intra-formation collision avoidance and formation obstacle avoidance.
Methods based on machine learning, including deep learning and reinforcement learning [
21,
22,
23].
While geometry-based methods offer simplicity and good integrative capabilities, they often fail to yield satisfactory results when faced with complex obstacles, particularly as they struggle to adapt quickly to environmental changes in dynamic settings. The primary drawback of MPC and stochastic planning methods is the exponential increase in computational complexity with the addition of control dimensions, rendering these methods computationally inefficient during obstacle avoidance. Machine learning-based methods provide significant advantages in handling nonlinear, non-stationary, and complex tasks but suffer from poor portability and low sample efficiency. Furthermore, these methods are sensitive to noise and lack practical applicability. APF is highly practical but suffers from numerous local minima issues and poor stability, as depicted in
Table 1.
Inspired by the natural avoidance of obstacles by flowing water, as depicted in
Figure 1, the continuous flow of water prompts scholars to select the velocity vector of a particle in the flow field at different observation times as a correspondence to the agent’s velocity vector, thereby achieving the nonlinear simulation of water flow and avoidance of obstacles. Various methods can simulate obstacle-avoidance behavior of water flow, including those based on stream functions. Notably, the interfered fluid dynamical system (IFDS) [
24,
25,
26,
27,
28], grounded in dynamical systems (DSs) [
29], offers significant advantages. The IFDS algorithm exhibits low computational complexity and yields smooth trajectory solutions [
28]. This approach is particularly suitable for certain underactuated USVs that lack lateral thrust. Its practicality is further enhanced by the optimized velocity vectors it produces. Unlike the vector-field approach of APF, the IFDS encounters fewer problems with local minima and demonstrates superior obstacle-avoidance capabilities, as elaborated in [
26] and subsequent studies. Despite these strengths, the IFDS still faces challenges in two-dimensional obstacle avoidance and in its application to USV formations. Addressing these limitations, this study developed a combined IFDS and DS methodology, termed the virtual streamline traction (VST) method. This novel approach enhances IFDS by overcoming its two-dimensional constraints, incorporating an innovative formation strategy based on an improved IFDS, and devising a novel collision-avoidance technique for formation members using DS. This culminates in a robust and practical formation strategy for USVs.
2. Obstacle-Avoidance Formulation
Consider a USV operating in calm water without obstacles. Let the position of the USV at time
t be
and the target point of its current voyage be
. At this moment, the velocity amplitude of the USV is
V. The route is then a straight line between the two points with coordinates
ξt and
ξd. The initial flow field
in the geodetic coordinate system is as follows:
where
is the distance between the position if the USV is at time
t and the target point.
When obstacles are encountered, they induce disturbances in the initial flow field, causing the navigation route to deviate from obstacles and eventually converge toward the target. In practical scenarios, employing sensors that detect obstacles with high precision can be challenging. To enhance planning efficiency, obstacles can be represented by their boundary volumes. This approach involves categorizing obstacles into standard convex shapes. For example, geographical features such as islands, reefs, and shorelines may be represented as triangles, rectangles, hexagons, ellipses, and circles, or combinations thereof. Similarly, moving boats and vessels can be simplified into circles and ellipses for ease of modeling. To facilitate a standardized approach to obstacle modeling, the representation of obstacles is uniformly defined as follows [
30]:
where
is the center of the obstacle,
c and
d are the axial lengths of the obstacle, and
a and
b are the shape parameters of the obstacle. This method can construct boundary volumes for most obstacles. Extremely large obstacles can be represented as combinations of multiple obstacles to significantly increase the feasibility of obstacle avoidance routes.
Let
represent the disturbances caused by all obstacles to the initial flow field (the velocity vector associated with each point in the original flow field is modulated) [
29]. The expression is as follows:
where “
N” is the total number of obstacles, the letter “
k” represents the
k-th obstacle, W
k is the weight of the
k-th obstacle, and
Mk is the disturbance to the initial flow field
ut caused by the
k-th obstacle. The expressions for
Wk and
Mk are as follows:
where
I is the second-order identity matrix,
is the disturbance matrix (representing the disturbance to the initial flow field caused by the obstacle),
ρk is the disturbance coefficient (adjusting the degree of disturbance caused by the obstacles to the initial flow field; the greater the disturbance coefficient
ρk, the more severe the disturbance caused by the obstacles), and
nk is a vector normal to the surface of the
k-th obstacle,
.
Next, consider the presence of dynamic obstacles such as moving vessels and other mobile platforms. To avoid them, the original flow velocity
ut must be modified as follows:
Here,
vΓ is defined as the total velocity vector of the obstacles.
where
λk is a constant for the
k-th obstacle, and
is the velocity vector of the
k-th obstacle. Finally, the total flow field
is obtained from Equation (6), and the position of the USV at the next moment is updated to
. Integration of the sampling time
yields route planning for the USV; the shorter the sampling duration, the more precise the planned trajectory.
To verify the feasibility of this method, two assertions must hold true:
Proof. When the USV is far from all obstacles, the value of will gradually increase, and we can approximately consider to approach infinity when the distance from the obstacle is sufficiently large (). This implies that the disturbance matrix in Equation (5) approaches 0. Therefore, the obstacles do not disturb the initial flow field. The total flow field value stands at , satisfying the requirement that the route must end at the target point. □
- 2.
The obstacles are impenetrable.
Proof. To ensure the impenetrability of obstacles (the USV does not traverse the obstacle model), it is sufficient to demonstrate that the normal velocity disappears at the surface of the obstacle, i.e.,
[
31]. On the surface of the obstacle,
and
. Because
, it follows that
, the velocity vector of the USV at the surface of the obstacle, when projected onto the normal vector direction, becomes zero, meeting the requirement that the obstacles must be impenetrable. □
Therefore, the obstacle-avoidance method ensures that the vehicles eventually reach the target point, even though the obstacles are impenetrable.
4. Disturbance-Based USB Formation Scheme
4.1. Formation Assembly
Based on the previously discussed individual USV obstacle avoidance, the virtual guidance structure was integrated to achieve formation assembly, as shown in
Figure 6.
Figure 6 illustrates the assembly strategy. The virtual-structure point (VSP) corresponding to each USV in the formation is taken as the target point in the disturbed flow field. During assembly, the USVs in the formation perceive each other as obstacles according to the hierarchy
. In other words,
perceives
as an obstacle,
perceives both
and
as obstacles, and so on. Given the characteristics of the disturbed flow field mentioned in
Section 2, this assembly strategy enables SUVs to effectively avoid obstacles and navigate toward their respective formation positions via shorter routes, fulfilling both assembly requirements and addressing concerns of obstacle avoidance and inter-vehicle collision during assembly.
The virtual structure in a specified direction according to the formation task ensures all USVs are linked through the flow lines of the disturbed flow field. This dynamic formation assembly process, analogous to following guiding threads, facilitates formation navigation while overcoming the rigidity of the virtual structure and significantly enhancing the efficiency of task execution.
To maintain formation shape, the vector and scalar components of the initial flow field of the individual USV are decoupled. Equation (1) is separated into a velocity vector
and velocity amplitude
based on the distance to the VSP, as shown in
Figure 7.
The relationship between each vehicle’s velocity amplitude and distance to the VSP is expressed as follows:
where
is the maximum velocity amplitude of the vehicle,
is the preset velocity toward the VSPs (adjusted based on formation-task requirements),
and
are distance thresholds,
is the distance of the USV to the VSP, and
and
are constants for adjusting the velocity amplitude. In Formula (10), we can make the preset values of
and
close to each other so that the velocity amplitude can converge faster on the preset speed
and keep the distance
between the boat and the virtual structure point within the interval of
and
. In Formula (10), when
,
. When
,
converges to
. When
,
, Formula (10) can be regarded as a monotonically decreasing continuous function. In order to reduce the vibration of the velocity amplitude when it is constrained and affect the sailing effect, once each USV enters the range between
and
for the first time, it no longer perceives other USVs as obstacles. This ensures that each USV does not affect the others during formation navigation. After all the USVs enter the range between
and
, formation assembly transitions to formation navigation.
In summary, a virtual formation is established by connecting USVs and corresponding VSPs through flow lines generated by disturbing the flow field. Through the convergence of the velocity amplitude, the flow lines are tightened similarly to elastic strings so that the USVs maintain their shape and follow the motion of the virtual formation.
4.2. Formation Obstacle Avoidance
The formation structure, as generated by the aforementioned scheme, allows each vehicle to maintain its capability for obstacle avoidance within its respective disturbed flow field during the process of formation obstacle avoidance. Upon encountering obstacles, the formation can disassemble and later reassemble, facilitated by the traction effect of the streamlines. A significant concern addressed is the avoidance of collisions between vehicles within the formation, as illustrated in
Figure 8.
As shown in
Figure 8, when multiple USVs appear on the same side of an obstacle during obstacle avoidance, the streamline density on that side may become excessively high because of the contracting force within the streamlines. The streamlines do not intersect. However, as USVs are not point masses but occupy volume, they may collide with each other when the streamlines are excessively dense. As stated in
Section 4.1, vehicles within the formation perceive each other as obstacles based on their hierarchy. This approach yields satisfactory results in small clusters. However, in larger clusters, the formation is already established, and too many USVs may attempt to avoid the obstacle on the same side. Consequently, some USVs may become trapped between other USVs and the obstacle, as illustrated in
Figure 9. This will result in unnecessary route wastage.
To differentiate between inter-vehicle-collision and obstacle avoidance, a new approach was developed for inter-vehicle disturbances. In Equations (5) and (6), it can be shown that
When
, vector
. Geometrically,
is the projection of
onto
. Accordingly, an improved expression for inter-vehicle disturbance
is proposed:
This equation gives the disturbing effect of the j-th USV on the current one, where I is the identity matrix, is the vector from the j-th USV to the current one, and is the distance from the current USV to the j-th one. The modulation function satisfies , where is the modulation coefficient, and is the safety distance between vehicles.
In addition, the disturbed flow field is weighted by redefined inter-vehicle weights
given by
These weights are assigned to inter-vehicle disturbances, with
being a parameter. The total inter-vehicle disturbance of the USVs is
The total value of the initial flow field formula becomes
Furthermore, the weight of obstacle disturbance relative to inter-vehicle disturbance is added to the inter-obstacle disturbance
:
To verify the feasibility of the aforementioned method, the following assertions were shown to hold:
- (1)
The route can reach the target point without causing inter-vehicle collisions.
Proof. Figure 10 presents the distance dependence of the modulation function
Ej for the case
=
e (the base of the natural logarithms) and
= 13 (the relative safe distance for boats in the 1-ton class is 13 m, and this distance can be adjusted for boats of different tonnages). As the distance between vehicles increases,
gradually increases. However, the function does not converge upwards and ultimately approaches
. At this point,
tends to 0, and the total disturbing effect
of other vehicles on the current one tends to
. Therefore, the total value of the flow field is
. This satisfies the requirement for the route to end at the target point.
In contrast, as the distance between vehicles decreases, the modulation function tends toward 1. In addition, since , it follows that . Thus, when the distance between vehicles equals the safety distance, the normal velocity disappears, meeting the additional requirement for the route to avoid all vehicles. □
- (2)
Obstacle avoidance is given priority over inter-vehicle collision avoidance.
Proof. The function
in
Figure 11 gradually converges to 0 as the distance between USVs reaches the safety-distance range
Dj but does not become 0. This overcomes the influence of the zero denominator in the trap area. Because
≠ 0, obstacle avoidance is given priority over inter-vehicle collision avoidance when a USV is on the surface of an obstacle where
. In other words, USVs can avoid obstacles without being interfered with by other USVs; the disturbance weight brought by other USVs is 0. Thus, USVs sandwiched between obstacles and other vehicles will not stagnate in the trap area or experience unnecessary oscillations in the complex disturbance environment. USVs near obstacles will always push relatively distant USVs away while effectively avoiding obstacles. Thus, the priority of obstacle avoidance over inter-vehicle-collision avoidance is satisfied. □
The proposed VST can be metaphorically understood as wrapping an outer-layer “balloon” around other USVs, as shown in
Figure 12. The elasticity of the “balloon” allows USVs to avoid collisions while being pulled by streamlines. During obstacle avoidance, each vehicle follows the streamlines to evade obstacles and maintains its place in the formation because of the virtual structure law and streamlined contraction.
5. Results
This section will not elaborate on the advantages of IFDS over APF, as these have been clearly demonstrated by numerous case studies [
26,
27,
28]. Instead, it will compare and discuss the differences between IFDS and VST.
5.1. Comparison of Local Minima Problems in Traditional IFDS and VST
VST solves the local minima problem of traditional IFDS in two dimensions.
5.1.1. Stationary-Point Problem
The stationary-point problem was simulated using the following configuration. The starting point of the USV was set to (10,10), the target point was set to (120,120), the center of the obstacle was set to (55,55), and the radius of the obstacle was set to 10 m. The velocity amplitude
of the USV was set to 7.5 m/s. The results for IFDS and VST are shown in
Figure 13.
In scenario (a), the disturbance coefficient of traditional two-dimensional IFDS was set to 3. It can be observed that the USV in the traditional approach had difficulty avoiding obstacles and tended to stagnate at the obstacle surface.
In scenarios (b) and (c), the VST disturbance coefficient was also set to 3 (the parameters are adjusted based on the actual usage scenario; this selection of 3 aligns better with the navigation trajectory of a 1-ton class boat. In subsequent work, we will incorporate dynamic parameters to ensure that the trajectory adheres more closely to the dynamic constraints of USV. The deviation coefficient was set to 2. The parameter setting was in (b), and in (c). It can be clearly seen that VST was not affected by the stationary-point problem of traditional IFDS in two dimensions, and parameter could be adjusted to control the USV to pass on either side of the obstacle.
5.1.2. Trap-Area Problem
For the trap-area problem, the following scenario was configured for comparison. The starting point of the USV was set to (10,10), the target point was set to (120,120); the centers of the two obstacles were set to (65,75) and (75,65), respectively; and the radius of the obstacles was set to 10 m. The velocity amplitude
V of the USV was set to 10 m/s, as shown in
Figure 14.
As shown in
Figure 14, the disturbance coefficient
of traditional two-dimensional IFDS was set to 3. Traditional IFDS faced the trap-area problem in two dimensions as the route passed through obstacles.
By contrast, VST could use virtual target points to effectively avoid trap areas. The VST disturbance coefficient was set to 3, and the deviation coefficient was set to 2. It can be seen that at this velocity amplitude, VST generated virtual target points when reaching coordinates (40,40), and under the influence of these points, the USV moved away from the trap area.
5.2. VST Formation Assembly
This subsection demonstrates the application effect of VST in formation assembly. First, the initial positions of four USVs were set randomly. The initial coordinates of USV1 were (1,40), with a maximum velocity amplitude of 25 m/s. The initial coordinates of USV2 were (0,0), with a maximum velocity amplitude of 23 m/s. The initial coordinates of USV3 were (30,0), with a maximum velocity amplitude of 24 m/s. The initial coordinates of USV4 were (60,0), with a maximum velocity amplitude of 20 m/s. High-speed vehicles treated low-speed vehicles as obstacles.
The disturbance coefficient
for obstacles was set to 3, and the deviation coefficient
was set to 2. The disturbance coefficient
for low-speed vehicles was set to 1. The centers of the obstacles were located at (110,80), (40,50), (165,150), and (80,120). The radii of the obstacles were 13, 12, 11, and 10 m. The formation shape and assembly trajectories are shown in
Figure 15a. The virtual formation velocity amplitude was 5 m/s.
As shown in
Figure 15a, all four USVs could quickly assemble in the corresponding formation positions.
Figure 15b shows that in the initial stage, USVs pursued the virtual target points at maximum velocity amplitudes; their velocities converged to those of the VSPs within a reasonable range to maintain the formation shape.
Figure 15c demonstrates that there were no collisions between vehicles during assembly. Overall, VST met the requirements for formation assembly and performed excellently.
5.3. VST Formation Obstacle Avoidance
To study formation obstacle avoidance, the inter-vehicle-collision-avoidance performances of VST and IFDS were compared. A scenario was constructed in which four USVs navigated under the guidance of VSPs to avoid a nearby large obstacle. Disturbances generated by nearby large obstacles tend to make streamlines dense, which meets the requirements of the problem. The center of the obstacle was located at (90,60), and the radius of the obstacle was 30 m. The disturbance coefficient for the obstacle was set to 3, and the deviation coefficient was set to 2. The inter-vehicle modulation coefficient was set to , and the parameter was set to 1/5. The safe distance between vehicles was set to 12 m.
As shown in
Figure 16, when avoiding a nearby large obstacle, IFDS made the streamlines too dense; it was, therefore, difficult to control the distance between vehicles. By contrast, VST had a more significant effect on controlling the distance between formation members and met the requirements of formation obstacle avoidance. Furthermore, after formation obstacle avoidance, the convergence of velocity amplitudes caused the streamlines to return to the formation shape.
6. Conclusions
We propose a new approach for obstacle avoidance and formation gathering in USV formations based on a novel VST established on the IFDS and DS methods. First, to effectively address the stagnation issue associated with IFDS when applied to USVs, a new perturbation matrix was introduced, which was validated through simulations. Second, to tackle trap zone issues, trap-area-filling and virtual target point methods were proposed, and the remarkable effectiveness of the virtual target point method was verified in simulations.
Regarding formation gathering and maintenance, based on a virtual guiding structure, USVs were tractably guided along streamlines, achieving velocity vector decoupling and the convergence of velocity amplitude to maintain formation tightness. For intra-formation collision avoidance, an innovative collision-avoidance method based on DS was employed, enhancing both the flexibility and robustness of the formation. The simulation results demonstrated that, compared to the IFDS method, VST exhibits superior performance and feasibility in obstacle avoidance and formation gathering.
In conclusion, this method provides novel theoretical support for the practical application of USV formations. However, in simulations, the establishment of the USV models did not include dynamic constraints but instead added rigid constraints, which may affect the feasibility of VST in obstacle avoidance. The future enhancements will incorporate dynamic constraints for USV based on actual usage scenarios, with a focus on optimizing adjustment parameters to meet the dynamic requirements of the USV. Drawing inspiration from the time elastic band method or employing Receding Horizon Control can further enhance the effectiveness of route optimization, ensuring practical feasibility.