Next Article in Journal
Assessment of Production Technologies on Dairy Farms in Terms of Animal Welfare
Next Article in Special Issue
A Novel Method of Time-Varying Formation Control Based on a Directed Graph for Multiple Autonomous Underwater Vehicles
Previous Article in Journal
Unmanned Aerial Vehicle Landing on Rugged Terrain by On-Board LIDAR–Camera Positioning System
Previous Article in Special Issue
Analysis of Electromagnetic Field Characteristics of Wave Glider
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Virtual Streamline Traction: Formation Cooperative Obstacle Avoidance Based on Dynamical Systems

1
The Technology Innovation Center of Maritime Unmanned Intelligence, Naval University of Engineering, Wuhan 430000, China
2
College of Electrical Engineering, Naval University of Engineering, Wuhan 430000, China
*
Author to whom correspondence should be addressed.
Appl. Sci. 2024, 14(14), 6087; https://doi.org/10.3390/app14146087
Submission received: 6 June 2024 / Revised: 4 July 2024 / Accepted: 11 July 2024 / Published: 12 July 2024
(This article belongs to the Special Issue Modeling, Guidance and Control of Marine Robotics)

Abstract

Formation obstacle avoidance is a critical aspect of cooperation among unmanned surface vehicles (USVs). In practical scenarios involving multiple USVs, managing obstacle avoidance during formation assembly and navigation is essential to ensure the success of cooperative tasks. This study devised a formation cooperative obstacle-avoidance scheme utilizing dynamical systems (DS). The traditional interfered fluid dynamical system (IFDS) applied in two-dimensional planes was enhanced to address local minima issues. Furthermore, robust virtual structure patterns were implemented to effectively decouple velocity vectors. Streamlines were optimized by adjusting velocity amplitudes within specific distance intervals, facilitating precise formation assembly amidst multiple obstacles. Additionally, a novel inter-vehicle disturbance method, distinct from the IFDS, was developed to enhance inter-vehicle collision avoidance. The effectiveness of the proposed method in enabling USV formations to adeptly navigate obstacles while maintaining formation integrity and collision-avoidance capabilities was analyzed theoretically and confirmed through simulation.

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 ξ t = ( x t , y t ) and the target point of its current voyage be ξ d = ( x d , y d ) . 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 u t in the geodetic coordinate system is as follows:
u t = V ( x d x t ) d V ( y d y t ) d T ,
where d = ( x t x d ) 2 + ( y t y d ) 2 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]:
Γ ( ξ ) = ( x t x 0 c ) 2 a + ( y t y 0 d ) 2 b ,
where ξ 0 = ( x 0 , y 0 ) 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 M ¯ 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:
M ¯ = k = 1 N W k M k ,
where “N” is the total number of obstacles, the letter “k” represents the k-th obstacle, Wk 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:
W k = 1 i = 1 , i k N ( Γ i 1 ) ( Γ i 1 ) + ( Γ k 1 ) N = 1 N 1 ,
M k = I n k n k T Γ k 1 / ρ k n k T n k ,
where I is the second-order identity matrix, n k n k T Γ k 1 / ρ k n k T n k 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, n k = Γ k x Γ k y T .
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:
u t ¯ = M ¯ ( u t v Γ ) + v Γ
Here, vΓ is defined as the total velocity vector of the obstacles.
v Γ = k = 1 N W k e 1 Γ k λ k v Γ k ,
where λk is a constant for the k-th obstacle, and v Γ k is the velocity vector of the k-th obstacle. Finally, the total flow field u ¯ t = u x t ¯ u y t ¯ T is obtained from Equation (6), and the position of the USV at the next moment is updated to ξ t + 1 = ( x t + 1 , y t + 1 ) = ( x t + u x t ¯ Δ t , y t + u y t ¯ Δ t ) . Integration of the sampling time Δ t 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:
  • The route leads to the target point.
Proof. 
When the USV is far from all obstacles, the value of Γ k will gradually increase, and we can approximately consider Γ k to approach infinity when the distance from the obstacle is sufficiently large ( Γ k ). This implies that the disturbance matrix n k n k T Γ k 1 / ρ k n k T n k in Equation (5) approaches 0. Therefore, the obstacles do not disturb the initial flow field. The total flow field value stands at u ¯ t = u t , 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., n k T u t ¯ = 0 [31]. On the surface of the obstacle, Γ k = 1 and n k T u t ¯ = n k T M k u t . Because n k T M k = n k T n k T n k n k T n k T n k = n k T n k T = 0 , it follows that n k T u t ¯ = 0 , 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.

3. Local Minima and Solution

To some extent, the aforementioned approach mitigates the various local minima problems that are intrinsic to APF, resulting in smooth obstacle-avoidance routes reminiscent of the way in which water flows around rocks. However, when the above approach is utilized in two-dimensional planes, two types of local minima problems persist: stationary points and trap areas. This section intends to discuss and solve these problems.

3.1. Stationary Points

As shown in Figure 2, when the target point of the USV lies directly behind an obstacle, the USV navigates straight toward the center of the obstacle. In this case, there is collinearity among the USV, obstacle center, and target point. Upon reaching the edge of the obstacle, the USV cannot cross the obstacle in a two-dimensional plane. Therefore, the velocity vector becomes zero on the edge of the obstacle, causing the USV to stall at the edge, creating a stationary point.
It is evident that even minor deviations in heading can enable the USV to evade stationary obstacles effectively. In practice, as illustrated in Figure 2, it is uncommon for a route to maintain a consistent heading; slight alterations in the heading of the USV often occur because of natural influences such as waves and wind during navigation. To mitigate unnecessary risks and building on the aforementioned observations, the disturbance formula was modified by incorporating an offset vector to the surface normal vector of the obstacle. A tangent vector τ k = Γ k y Γ k x Τ perpendicular to the obstacle’s surface normal vector n k was selected and incorporated into Equation (5), yielding
M k = I n k n k T Γ k 1 / ρ k n k T n k + i τ k n k T Γ k 1 / σ k n k T n k C k ,
where the newly added matrix i τ k n k T Γ k 1 / σ k n k T n k C k is the disturbance-deviation matrix of the obstacle. By introducing this matrix, the sum of the tangent vector τ k and the normal vector n k acts as a disturbance to the initial flow field. Here, i [ 1 , 1 ] can adjust the deviation direction. Proper selection of the value of i enables the USV to deviate right when approaching the right boundary and left when approaching the left boundary. In Equation (8), σ k is the deviation coefficient of the k-th obstacle. A larger deviation coefficient leads to earlier avoidance of stationary points. To ensure that the deviation matrix does not affect the obstacle-avoidance effect of the disturbance matrix, a constant C k is introduced. When this parameter is reasonably set, the norm of the deviation matrix i τ k n k T Γ k 1 / σ k n k T n k C k should be far smaller than that of the disturbance matrix n k n k T Γ k 1 / ρ k n k T n k .

3.2. Trap Areas

During the creation of obstacle models, overlapping is commonly observed. At the intersection of two obstacles, both Γ k and Γ k + 1 become 1. Thus, the denominator of the weight Equation (4) becomes 0, which leads to the failure of navigation planning. As depicted in Figure 3, when a USV continues toward the overlapping region of two obstacles, it can easily become ensnared in the “trap area” formed by these obstacles.
Trap areas are particularly prevalent when constructing models of large-scale obstacles, such as coastal areas and ports. Since these large-scale obstacles often contain multiple smaller obstacles, it is crucial to appropriately fill these trap areas based on the boundary volume of the obstacles to ensure unimpeded navigation. The method for filling these areas is detailed in Figure 4.
The trap-area-filling method effectively addresses all identified trap areas. However, in the expansive maritime environment, obstacles are generally scarce and not overly large, comprising primarily small islands and vessels. Employing the trap-area method might inadvertently enlarge the obstacle volume, leading to deviations from the optimal route. This is particularly problematic for USVs operating at sea, where conditions for replenishing power sources are limited. In such scenarios, adhering to the shortest possible route is paramount. To address these issues, employing a virtual target point is recommended because it offers a solution to the trap-area problems. This approach is illustrated in Figure 5.
When obstacles overlap and the heading of the USV points toward the trap area, it becomes crucial to determine the generation of virtual target points. Initially, upon entering the trap warning area, a sector navigation domain is established based on the angular velocity boundary limit, given the current velocity amplitude. A set of virtual target points, Vir1,2,3,4 … P, on the arc of the sector navigation domain, is obtained (illustrated by the red arc in Figure 5). The selection of reasonable virtual target points is guided by specific criteria, which are detailed as follows:
First, drawing inspiration from articles concerning the presence of radar targets within a specified area [32,33,34], lines l1 and l2 are constructed perpendicular to the tangent line at the tangent point. Starting from the virtual target point, a ray is projected onto one of these lines, l1 and l2. When the ray intersects both l1 and l2, the virtual target point is considered feasible. Conversely, if the ray only intersects with one of the lines l1 and l2, the virtual target point is considered unfeasible and is therefore excluded from generating the corresponding feasible domain.
Second, the optimal virtual target point is determined based on the cost function Eva:
E v a = λ 1 γ + λ 2 χ + λ 3 μ ,
γ = k = 1 K 1 / Γ k ( V i r p ) + Γ k ( V i r p ) > 1 Γ k ( V i r p ) 1 ,
χ = d V i r p , ξ d min d V i r p , ξ d d max V i r p , ξ d min d V i r p , ξ d ,
μ = 0 + Do   not   sail   to   new   trap   areas O t h e r w i s e ,
where λ1, λ2, and λ3 are weights. Here, γ is the collision cost (reflecting whether there is a collision with obstacles, where V i r p corresponds to the coordinates of the virtual target point), χ is the consumption cost (reflecting the magnitude of the additional navigation distance caused by the virtual target point), and μ is the escape cost (reflecting whether the USV is heading toward other trap areas). When the virtual target point satisfies the requirements of the cost function and feasibility, the USV navigates to the selected virtual target point and then heads to the real target point.
The aforementioned ruling renders it impossible to identify any virtual target point that satisfies the given criteria. The velocity amplitude is reduced, and a new sector navigation domain is generated.

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 U S V 1 > U S V 2 > U S V 3 > U S V j . In other words, U S V 2 perceives U S V 1 as an obstacle, U S V 3 perceives both U S V 2 and U S V 1 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 x d x t d y d y t d T and velocity amplitude V 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:
V = V max V v i r + ( V max V v i r ) e λ v i r 2 ( d v i r 2 d ) V v i r e λ v i r 1 ( d v i r 1 d ) d > d v i r 2 d v i r 1 < d d v i r 2 d d v i r 1 ,
where V max is the maximum velocity amplitude of the vehicle, V v i r is the preset velocity toward the VSPs (adjusted based on formation-task requirements), d v i r 1 and d v i r 2 are distance thresholds, d is the distance of the USV to the VSP, and λ v i r 1 and λ v i r 2 are constants for adjusting the velocity amplitude. In Formula (10), we can make the preset values of d v i r 1 and d v i r 2 close to each other so that the velocity amplitude can converge faster on the preset speed V v i r and keep the distance d between the boat and the virtual structure point within the interval of d v i r 1 and d v i r 2 . In Formula (10), when d = d v i r 2 , V = V max . When d d v i r 1 , V converges to V v i r . When d = d v i r 1 , V = V v i r , 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 d v i r 1 and d v i r 2 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 d v i r 1 and d v i r 2 , 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
u ¯ = M u = u + s .
Therefore,
s = M u u = ( M I ) u = ( I n n T Γ 1 / ρ n T n I ) u = n n T Γ 1 / ρ n T n u
When Γ = 1 , vector s = n n T n T n u . Geometrically, n n T n T n u is the projection of u onto n . Accordingly, an improved expression for inter-vehicle disturbance M j is proposed:
M j = I W j n j n j T E j n j T n j
This equation gives the disturbing effect of the j-th USV on the current one, where I is the identity matrix, n j = x t x j t d j y t y j t d j T is the vector from the j-th USV to the current one, and d j is the distance from the current USV to the j-th one. The modulation function satisfies E j = ln ( d j D j + ε ) ln ε , where ε is the modulation coefficient, and D j is the safety distance between vehicles.
In addition, the disturbed flow field is weighted by redefined inter-vehicle weights W j given by
W j = i = 1 N ( Γ i 1 ) ( Γ i 1 ) + e η ( d j D j ) j j = 1 , j j j J e η ( d j j D j j ) e η ( d j j D j j ) + e η ( d j D j )
These weights are assigned to inter-vehicle disturbances, with η being a parameter. The total inter-vehicle disturbance of the USVs is
M j ¯ = j = 1 J M j
The total value of the initial flow field formula becomes
u j t = M j ¯ u t
Furthermore, the weight of obstacle disturbance relative to inter-vehicle disturbance is added to the inter-obstacle disturbance M k :
M k = I W k j n k n k T Γ k 1 / ρ k n k T n k + W k j i τ k n k T Γ k 1 / σ k n k T n k C k
W k j = j = 1 J e η ( d j D j ) e η ( d j D j ) + ( Γ k 1 )
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 D j = 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, E j gradually increases. However, the function does not converge upwards and ultimately approaches . At this point, n j n j T E j n j T n j tends to 0, and the total disturbing effect M j ¯ of other vehicles on the current one tends to I . Therefore, the total value of the flow field is u j t = u t . This satisfies the requirement for the route to end at the target point.
In contrast, as the distance between vehicles decreases, the modulation function E j tends toward 1. In addition, since n j T M j = n j T n j T n j n j T n j T n j = n j T n j T = 0 , it follows that n k T u j t ¯ = 0 . 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 e d j D j 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 e d j D j ≠ 0, obstacle avoidance is given priority over inter-vehicle collision avoidance when a USV is on the surface of an obstacle where Γ k = 1 . 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 V 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 ρ k 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 ρ k 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 σ k was set to 2. The parameter setting was i = 1 in (b), and i = 1 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 i 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 ρ k 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 ρ k was set to 3, and the deviation coefficient σ k 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 ρ k for obstacles was set to 3, and the deviation coefficient σ k 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 ρ k for the obstacle was set to 3, and the deviation coefficient σ k was set to 2. The inter-vehicle modulation coefficient ε was set to e , 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.

Author Contributions

Conceptualization, Y.L.; methodology, Y.L.; software, Y.L.; validation, Y.L.; formal analysis, Y.L.; resources, Y.L.; writing—original draft preparation, Y.L.; writing—review and editing, Y.L. and J.W.; supervision, J.Z.; project administration, J.Z.; funding acquisition, J.Z. and Y.Z. All authors have read and agreed to the published version of the manuscript.

Funding

The author(s) disclose receipt of the following financial support for the research, authorship, and/or publication of this article. This work was funded by the Natural Science Foundation of Hubei Province, grant number 2018CFC865.

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

The data that support the findings of this study are available within the article.

Acknowledgments

The authors of this paper would like to express their sincere gratitude to the editors and reviewers for their hard work.

Conflicts of Interest

The authors declare no conflicts of interest.

References

  1. Xiaoming, D. Introduction to Maritime Unmanned Systems; Harbin Engineering University Press: Harbin, China, 2020. [Google Scholar]
  2. Peng, Z.; Wu, W.; Wang, D.; Liu, L. Coordinated control of multiple unmanned surface vehicles: Recent advances and future trends. Chin. J. Ship Res. 2021, 16, 51–64. [Google Scholar]
  3. Sahoo, S.K.; Choudhury, B.B. Autonomous navigation and obstacle avoidance in smart robotic wheelchairs. J. Decis. Anal. Intell. Comput. 2024, 4, 47–66. [Google Scholar] [CrossRef]
  4. Zhang, L.; Zhang, J.; Wang, B. Unmanned Surface Vehicles; Shanghai Jiao Tong University Press: Shanghai, China, 2020. [Google Scholar]
  5. Afonso, R.J.M.; Maximo, M.R.O.A.; Galvão, R.K.H. Task allocation and trajectory planning for multiple agents in the presence of obstacle and connectivity constraints with mixed-integer linear programming. Int. J. Robust. Nonlinear Control 2020, 30, 5464–5491. [Google Scholar] [CrossRef]
  6. Kang, Y.H.; Liu, S.T.; Zhang, H.L.; Li, W.; Han, Z.; Osher, S.; Poor, H.V. Joint sensing task assignment and collision-free trajectory optimization for mobile vehicle networks using mean-field games. IEEE Internet Things J. 2021, 8, 8488–8503. [Google Scholar] [CrossRef]
  7. Aghaeeyan, A.; Abdollahi, F.; Talebi, H.A. UAV-UGVs cooperation: With a moving center based trajectory. Robot. Auton. Syst. 2015, 63, 1–9. [Google Scholar] [CrossRef]
  8. Sen, A.; Sahoo, S.R.; Kothari, M. Cooperative target-centric formation control without relative velocity measurements under heterogeneous networks. J. Intell. Robot. Syst. 2017, 87, 683–698. [Google Scholar] [CrossRef]
  9. Fiorini, P.; Shiller, Z. Motion planning in dynamic environments using velocity obstacles. Int. J. Robot. Res. 1998, 17, 760–772. [Google Scholar] [CrossRef]
  10. Huang, Y.; van Gelder, P.H.A.J.M.; Wen, Y. Velocity obstacle algorithms for collision prevention at sea. Ocean. Eng. 2018, 151, 308–321. [Google Scholar] [CrossRef]
  11. Masood, K.; Molfino, R.; Zoppi, M. Simulated sensor based strategies for obstacle avoidance using velocity profiling for autonomous vehicle FURBOT. Electronics 2020, 9, 883. [Google Scholar] [CrossRef]
  12. Xiong, Z.; Luo, Y.; Liu, Z.; Zhang, J.; Liu, Z. Collision and obstacle avoidance for agents based on velocity programming in unknown environments under kinematical constraints. IET Control Theory Appl. 2023, 17, 1089–1104. [Google Scholar] [CrossRef]
  13. Xiao, H.; Li, Z.; Philip Chen, C.L.P. Formation control of leader–follower mobile robots’ systems using model predictive control based on neural dynamic optimization. IEEE Trans. Ind. Electron. 2016, 63, 5752–5762. [Google Scholar] [CrossRef]
  14. Han, X.; Zhang, X. Tracking control of ship at sea based on MPC with virtual ship bunch under Frenet frame. Ocean. Eng. 2022, 247, 110737. [Google Scholar] [CrossRef]
  15. Dong, Z.; Zhang, Z.Q.; Qi, S.J.; Zhang, H.; Li, J.; Liu, Y. Autonomous cooperative formation control of underactuated USVs based on improved MPC in complex ocean environment. Ocean. Eng. 2023, 270, 113633. [Google Scholar] [CrossRef]
  16. Liu, H.; Chen, J.; Feng, J.; Zhao, H. An improved RRT* UAV formation path planning algorithm based on goal bias and node rejection strategy. Unmanned Syst. 2023, 11, 317–326. [Google Scholar] [CrossRef]
  17. Pedram, A.R.; Stefarr, J.; Funada, R.; Tanaka, T. Rationally inattentive path-planning via RRT. In Proceedings of the American Control Conference, ACC, New Orleans, LA, USA, 26–28 May 2021; pp. 3440–3446. [Google Scholar] [CrossRef]
  18. Fu, X.W.; Pan, J.; Wang, H.X.; Gao, X. A formation maintenance and reconstruction method of UAV swarm based on distributed control. Aerosp. Sci. Technol. 2020, 104, 105981. [Google Scholar] [CrossRef]
  19. Yoo, S.J.; Park, B.S. Distributed dynamic obstacle avoidance design to connectivity-preserving formation control of uncertain underactuated surface vehicles under a directed network. Ocean. Eng. 2023, 273, 113872. [Google Scholar] [CrossRef]
  20. Peng, Z.H.; Wang, D.; Li, T.S.; Han, M. Output-Feedback Cooperative Formation Maneuvering of Autonomous Surface Vehicles with Connectivity Preservation and Collision Avoidance. IEEE Trans. Cybern. 2020, 50, 2527–2535. [Google Scholar] [CrossRef]
  21. Xia, J.; Zhu, X.; Liu, Z.; Luo, Y.; Wu, Z.; Wu, Q. Research on collision avoidance algorithm of unmanned surface vehicle based on deep reinforcement learning. IEEE Sens. J. 2022, 23, 11262–11273. [Google Scholar] [CrossRef]
  22. Xia, J.W.; Liu, Z.K.; Zhu, X.F.; Liu, Z. A coordinated rendezvous method for unmanned surface vehicle swarms based on multi-agent reinforcement learning [J/OL]. J. Beijing Univ. Aeronaut. Astronaut. 2022, 49, 3365–3376. [Google Scholar]
  23. Jiawei, X.; Xufang, Z.; Zhong, L.; Qingtao, X. LSTM-DPPO based deep reinforcement learning controller for path following optimization of unmanned surface vehicle. J. Syst. Eng. Electron. 2023, 34, 1343–1358. [Google Scholar] [CrossRef]
  24. Wu, J.F.; Wang, H.L.; Wang, Y.X.; Liu, Y.H. UAV reactive interfered fluid path planning [J/OL]. Acta Autom. Sin. 2021, 47, 1–16. [Google Scholar]
  25. Wang, H.L.; Wu, J.F.; Yao, P. UAV three-dimensional path planning based on interfered fluid dynamical system: Methodology and application. Unmanned Syst. Technol. 2018, 1, 72–82. [Google Scholar]
  26. Liang, X.; Wang, H.L.; Li, D.W.; Lv, W.T. Three-dimensional path planning for unmanned aerial vehicles based on principles of stream avoiding obstacles. Acta Aeronaut. Astronaut. Sin. 2013, 34, 1670–1681. [Google Scholar]
  27. Wu, J.; Wang, H.; Li, N.; Su, Z. Formation obstacle avoidance: A fluid-based solution. IEEE Syst. J. 2019, 14, 1479–1490. [Google Scholar] [CrossRef]
  28. Wang, Y.X.; Wang, H.L.; Wu, J.Y. Adaptive path planning for UAV based on interfered fluid algorithm and deep neural network. J. Unmanned Syst. Technol. 2020, 3, 50–58. [Google Scholar]
  29. Khansari-Zadeh, S.M.; Billard, A. A dynamical system approach to realtime obstacle avoidance. Auton. Robot 2012, 32, 433–454. [Google Scholar] [CrossRef]
  30. Khatib, O. Real-time obstacle avoidance for manipulators and mobile robots. Int. J. Robot. Res. 1986, 5, 90–98. [Google Scholar] [CrossRef]
  31. Fox, R.W.; Mcdonald, A.T. 95/00999 Introduction to Fluid Mechanics—ScienceDirect; Wiley & Sons: Hoboken, NJ, USA, 1994; p. 460. [Google Scholar]
  32. Xia, J.W.; Zhou, D.C.; Zhu, X.F. Autonomous multi-target tracking technology of unmanned surface vessel based on navigation radar image. Int. J. Inf. Commun. Technol. 2019, 15, 256–274. [Google Scholar] [CrossRef]
  33. Kai, H.; Agahos, A. The point in polygon problem for arbitrary polygons. Comp. Geom. Theor. Appl. 2021, 3, 131–144. [Google Scholar]
  34. Galetzka, M.; Glauner, P.O.A. A Simple and correct even-odd algorithm for the point-in-polygon problem for complex polygons. Comput. Sci. 2012, 1, 175–178. [Google Scholar] [CrossRef]
Figure 1. Flowing water avoiding rocks.
Figure 1. Flowing water avoiding rocks.
Applsci 14 06087 g001
Figure 2. Illustration of the stagnation point.
Figure 2. Illustration of the stagnation point.
Applsci 14 06087 g002
Figure 3. Trap area formed by the boundaries of two obstacles and their common tangent line.
Figure 3. Trap area formed by the boundaries of two obstacles and their common tangent line.
Applsci 14 06087 g003
Figure 4. (a) Black lines depict shores and islands, while the blue line represents obstacle information generated based on the strength of the echo after radar-sensor scanning. (b) The red line represents obstacle information after the effective filling of trap areas using composite polygons based on shores, islands, and radar information.
Figure 4. (a) Black lines depict shores and islands, while the blue line represents obstacle information generated based on the strength of the echo after radar-sensor scanning. (b) The red line represents obstacle information after the effective filling of trap areas using composite polygons based on shores, islands, and radar information.
Applsci 14 06087 g004aApplsci 14 06087 g004b
Figure 5. Virtual target point method of avoiding trap areas, (a) is the schematic diagram, (b) is the flow chart.
Figure 5. Virtual target point method of avoiding trap areas, (a) is the schematic diagram, (b) is the flow chart.
Applsci 14 06087 g005aApplsci 14 06087 g005b
Figure 6. Formation assembly by three USVs in the presence of obstacles.
Figure 6. Formation assembly by three USVs in the presence of obstacles.
Applsci 14 06087 g006
Figure 7. Distance relationship between USVs and VSPs.
Figure 7. Distance relationship between USVs and VSPs.
Applsci 14 06087 g007
Figure 8. Avoidance of inter-vehicle collisions.
Figure 8. Avoidance of inter-vehicle collisions.
Applsci 14 06087 g008
Figure 9. Diagram of inter-vehicle-collision-avoidance trap.
Figure 9. Diagram of inter-vehicle-collision-avoidance trap.
Applsci 14 06087 g009
Figure 10. Variation of E = ln ( d j 13 + e ) ln e with distance dj.
Figure 10. Variation of E = ln ( d j 13 + e ) ln e with distance dj.
Applsci 14 06087 g010
Figure 11. Variation of e d j D j (for the case Dj = 10) with distance dj.
Figure 11. Variation of e d j D j (for the case Dj = 10) with distance dj.
Applsci 14 06087 g011
Figure 12. Sketch map of inter-vehicle-collision avoidance.
Figure 12. Sketch map of inter-vehicle-collision avoidance.
Applsci 14 06087 g012
Figure 13. Comparison of the stationary-point problem in (a) traditional IFDS and (b,c) VST.
Figure 13. Comparison of the stationary-point problem in (a) traditional IFDS and (b,c) VST.
Applsci 14 06087 g013aApplsci 14 06087 g013b
Figure 14. Comparison of the trap-area problem in (a) traditional IFDS and (b) VST.
Figure 14. Comparison of the trap-area problem in (a) traditional IFDS and (b) VST.
Applsci 14 06087 g014
Figure 15. VST formation assembly: (a) Formation assembly trajectory (blue dots correspond to USV1, USV4, USV3, and USV2 from left to right); (b) Convergence of vehicle velocities during formation assembly; (c) Distances between vehicles during formation assembly.
Figure 15. VST formation assembly: (a) Formation assembly trajectory (blue dots correspond to USV1, USV4, USV3, and USV2 from left to right); (b) Convergence of vehicle velocities during formation assembly; (c) Distances between vehicles during formation assembly.
Applsci 14 06087 g015aApplsci 14 06087 g015b
Figure 16. Comparison of VST and IFDS in formation obstacle avoidance: inter-vehicle distance in (a) IFDS and (b) VST formation obstacle avoidance; (c) Route diagram of VST formation obstacle avoidance.
Figure 16. Comparison of VST and IFDS in formation obstacle avoidance: inter-vehicle distance in (a) IFDS and (b) VST formation obstacle avoidance; (c) Route diagram of VST formation obstacle avoidance.
Applsci 14 06087 g016aApplsci 14 06087 g016b
Table 1. Current mainstream solutions to the obstacle-avoidance problem.
Table 1. Current mainstream solutions to the obstacle-avoidance problem.
SolutionInstanceDisadvantage
Based on geometric analysis methodsVelocity obstacle methodUnable to adapt quickly to changes in dynamic environments
Model predictive control (MPC) methodsNonlinear MPC methodHigh computational requirements and workload; low computational efficiency
Stochastic planning methodsRapidly exploring random-tree algorithmLow calculation efficiency in complex environments
Methods of simulating force fieldsArtificial potential field (APF) methodMany local minima problems
Intelligent optimization algorithmsNeural networks and reinforcement learningSample inefficiency and generalizability problems; poor practicality
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

Liu, Y.; Zhang, J.; Zhang, Y.; Wang, J. Virtual Streamline Traction: Formation Cooperative Obstacle Avoidance Based on Dynamical Systems. Appl. Sci. 2024, 14, 6087. https://doi.org/10.3390/app14146087

AMA Style

Liu Y, Zhang J, Zhang Y, Wang J. Virtual Streamline Traction: Formation Cooperative Obstacle Avoidance Based on Dynamical Systems. Applied Sciences. 2024; 14(14):6087. https://doi.org/10.3390/app14146087

Chicago/Turabian Style

Liu, Yiping, Jianqiang Zhang, Yuanyuan Zhang, and Jiarui Wang. 2024. "Virtual Streamline Traction: Formation Cooperative Obstacle Avoidance Based on Dynamical Systems" Applied Sciences 14, no. 14: 6087. https://doi.org/10.3390/app14146087

APA Style

Liu, Y., Zhang, J., Zhang, Y., & Wang, J. (2024). Virtual Streamline Traction: Formation Cooperative Obstacle Avoidance Based on Dynamical Systems. Applied Sciences, 14(14), 6087. https://doi.org/10.3390/app14146087

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