2. Algorithm for Obstacle Avoidance
2.1. Overview of the Enhanced Interfered Fluid Dynamical System
EIFDS is an improved obstacle avoidance algorithm based on the interfered fluid dynamical system (IFDS) [
30]. The specific implementation is as follows:
In a tranquil, unobstructed water surface, let
denote the position of the surface agent (SA) at the current time t,
represent the target point for this voyage, and
signify the magnitude of the SA’s velocity at this moment. In the absence of obstacles, the trajectory of the SA is represented as a straight line directed towards the target point, which serves as the basis for constructing an initial flow field. The formulation of this initial flow field
in the Cartesian coordinate system is presented as follows:
In this equation,
represents the distance between SA’s position at time t and the designated target point. Now assume that there are K obstacles that disrupt the initial flow field, leading to a disturbance that causes the original trajectory to deviate from the obstacles (notably differing in principle from that of artificial potential fields). Ultimately, it will converge towards the designated target point. In practice, sensors are capable of detecting obstacles with excessive precision. Therefore, to enhance planning efficiency, we substitute a collection of obstacles with their corresponding boundary volumes. This approach allows for the simplification of islands, coral reefs, and coastal infrastructure into standard convex polyhedra, including triangles, rectangles, hexagons, ellipses, circles, or combinations thereof, the motion of vessels and ships can be effectively characterized as circular and elliptical obstacles. To facilitate a consistent modeling approach for obstacles, we will represent them using the following formula [
31]:
In this equation,
denotes the central position of the Kth obstacle, while
and
indicate the lengths of its axes. Additionally,
and
are utilized to characterize the shape of the obstacle. This methodology can be employed to delineate the boundary volume of most obstacles. In cases involving exceptionally large obstacles, we may utilize combinations of multiple obstacles to substantially enhance the feasibility of obstacle avoidance strategies. Here,
denotes the disturbance induced by all obstacles on the initial flow field, and its formulation is presented as follows:
In the equation,
denotes the total number of obstacles, where
signifies the weight of the Kth obstacle, and
represents the disturbance induced by this obstacle on the initial flow field
. The formulations for
and
are presented as follows:
In this equation, denotes a rank 2 identity matrix, represents the disturbance matrix that encapsulates the initial flow field disturbances induced by obstacles, and signifies the disturbance coefficient which modulates the intensity of these disturbances in relation to the initial flow field. A larger value of the disturbance coefficient correlates with more pronounced disturbances caused by obstacles. Additionally, is defined as the normal vector to the surface of the Kth obstacle as follows: .
serves as the modulation matrix, which is introduced to address the stagnation point problem in the two-dimensional plane of IFDS, as discussed in our reference [
32].
represents a vector perpendicular to the normal vector
, while
denotes the modulation coefficient. Moreover, there exists a positive correlation between the degree of deviation from the stagnation point and the modulation coefficient, with a typical value usually around 2. One of the components
, can be adjusted to deviate from its trajectory by appropriately selecting the value of
. This adjustment allows SA to veer right when approaching the right boundary of an obstacle and to veer left when nearing the left boundary. To preserve the efficacy of the disturbance matrix in obstacle avoidance, we introduce a constant
. Provided that parameter
is appropriately defined, our objective is to ensure that the norm of the deviation matrix
remains significantly smaller than that of the disturbance matrix
, with a typical value usually around 10.
In this context, taking into account the presence of dynamic obstacles such as ships and other mobile platforms, we modify the original fluid velocity
to derive the expression for the total perturbed flow velocity as follows:
Specifically,
is characterized as the aggregate velocity vector of the obstacle:
represents a constant associated with the Kth obstacle, while denotes the velocity vector corresponding to the Kth obstacle.
Regarding the matter of trap areas, as illustrated in
Figure 1. we employ the virtual target point method, as previously discussed in our earlier work [
32]; thus, further elaboration on this approach will not be provided here.
2.2. Residual Issues Pertaining to Disturbances
In our previous work, the aforementioned EIFDS algorithm exhibited outstanding obstacle avoidance capabilities in two-dimensional environments; however, it encounters a challenge known as the residual effect of interference (REI) post-avoidance, the disturbances induced by obstacle avoidance will continue to influence the initial flow field. The presence or absence of static obstacles may be disregarded, and dynamic obstacles present a different challenge. Particularly when the velocity vector of a dynamic obstacle converges with that of the SA, the risk evaluation index (REI) can lead to the proliferation of superfluous navigation routes and increased risks for SAs, as illustrated in
Figure 2.
The presence of REI issues causes the SA to deviate from its optimal trajectory due to the influence of the obstacle’s REI. To mitigate this issue, a modification has been applied to Equation (5), as detailed below:
In this equation, represents the modified disturbance matrix, denotes a vector that extends from the center point of the obstacle to the target point , while signifies the post-disturbance coefficient applied to in an analogous manner. The position coefficient, denoted as , can be determined based on the relative positioning of SA with respect to the obstacle.
To ascertain the relative position of SA in relation to the obstacle, it is essential to compute the vector
originating from the center point of obstacle
to the SA’s location
at time
. Subsequently, the angle
between vector
and vector
is determined, as illustrated in
Figure 3.
① When the angle , the SA is positioned behind the obstacle, . Consequently, as indicated in Equation (8), the disturbance is represented by .
② When the angle , the SA is positioned before the obstacle, . Consequently, as indicated in Equation (8), the disturbance is represented by .
The adjustment of disturbance is contingent upon the relative positioning of the SA and surrounding obstacles, aimed at mitigating the REI issue induced by the EIFDS following obstacle avoidance maneuvers.
To assess feasibility, it is sufficient to confirm that the scenario (i.e.,
) under the condition of angle
being satisfied aligns with the navigation planning requirements, as angle
is consistent with the verified scenarios presented in
Section 2.1 and
Section 2.2.
① Initially, the trajectory must direct towards the designated target point:
Proof. When the distance between the SA and the obstacle is substantial, as this distance increases (), the disturbance converges towards , resulting in a total flow field of that ultimately ensures the path heading reaches the target point. □
② Addressing the requirements for obstacle avoidance while eliminating REI.
Proof. At this moment, since the SA is positioned behind the obstacle, the disturbance can be characterized as . The direction of this disturbance emanates from the center of the obstacle towards the target point, aligning with a trajectory that moves away from the obstacle. Consequently, the initial flow field originating from the SA’s position to the target point also maintains a direction that diverges from the obstacle. Therefore, it can be concluded that the SA will not collide with the obstacle; additionally, at this juncture, there is no disturbance affecting the normal vector of the obstacle. Thus, the issue of REI induced by obstacles can be effectively addressed. A novel EIFDS algorithm for obstacle avoidance has been developed. □
3. The Challenge of Describing Obstacle Avoidance in Formation Control
Let us consider a scenario involving
J surface agents (SAs), with the kinematic model for the
jth SA articulated as follows:
In this equation, denotes the position of the jth sensor agent (SA) within the terrestrial coordinate system; signifies the heading angle of the SA; and represents the magnitudes of the forwards and sideways velocity of the SA, respectively; indicates the yaw rate of the SA; and J represents the total number of SA.
Each SA must ensure the maintenance of a safe distance
from obstacles to prevent potential collisions:
Specifically,
denotes the center point of the Kth obstacle, while
signifies its radius. Consequently, the obstacle model can be derived from Equation (2) as follows:
This formula is capable of constructing the boundary volume for a majority of obstacles; in cases involving particularly large obstacles, we can employ combinations of multiple obstacles.
Simultaneously, the members of the formation must maintain an appropriate distance
from one another to mitigate the risk of collisions.
In the equation, denotes the location of the neighboring vessel.
4. A Strategy for Obstacle Avoidance in Formation Control
In contrast to the leader–follower approach, this study employs a virtual leader–follower methodology to enhance both the maneuverability and robustness of the formation. The position
of the virtual leader within the Earth coordinate system is designated as the origin of the formation’s coordinate system, while the heading direction
of the virtual leader is defined as aligning with the
X-axis of this formation coordinate framework. The position of the
j-th SA in the Earth coordinate system is denoted as
, while its corresponding position in the coordinate system for formation analysis is represented as
. The relationship between these two positions can be articulated as follows:
In this section, the motion trajectory of the virtual leader is governed by the second component of the EIFDS, with a constant velocity amplitude denoted as . The virtual leader exclusively accounts for static obstacles while navigating from the initial point to the target point of the formation task. Consequently, each follower’s designated position within the formation can be derived from that of the virtual leader. The EIFDS establishes a connection between the designated position and its corresponding follower. Given the inherent characteristics of EIFDS, it can be inferred that the follower will ultimately ‘flow’ towards the specific designated position within the formation due to streamline effects, thereby acquiring an enhanced capability to navigate around obstacles. To ensure that the follower converges to its designated position within the positions corresponding to the formation, the amplitude of the desired velocity can be modulated to sustain the formation pattern of a fleet.
4.1. Navigation Strategies for Obstacle Avoidance
In accordance with the virtual leader and Equation (13), the designated position of the
jth follower within the formation’s coordinate system is denoted as
, which serves as the target point for the previously mentioned EIFDS algorithm. Subsequently, Equation (1) is employed to establish the initial flow field. The initial flow field
in the Earth coordinate system can be articulated as follows:
In the equation, denotes the position of the jth follower at this time.
In accordance with the EIFDS algorithm presented in Part II, the resultant value represents the disturbed flow velocity of the
jth follower at this specific time:
Consequently, the anticipated heading angle of the follower at this moment is determined. Furthermore, the expected heading angle of the follower at any location within the terrestrial coordinate system can be derived from the aforementioned analysis.
The aforementioned results yield the anticipated heading angle
for the
jth follower. To facilitate the convergence of the heading angle
of the
jth follower towards this expected value, a FTCLF is defined as follows:
In order to regulate the heading angle
to converge towards heading angle
within a specified time frame, the constraints of the FTCLF are delineated as follows [
30]:
Among these variables, are positive constants. and denote the errors, while and represent the relaxed variables that are subject to optimization, represents the expected yaw rate of the SA.
The quadratic programming of angular velocity, constrained by the FTCLF conditions, can be derived from Equation (17) as follows:
is the coefficient of the first-order term in the quadratic programming.
Proposition 1. If the set is non-empty, then for every , the quadratic programming Equation (18) possesses a unique feasible solution.
Proof. For any arbitrary
, we shall define
within the context of the equation
. □
Among these, meets the constraint conditions outlined in Equation (18), thereby ensuring the existence of a solution. Given that Equation (18) represents a complex quadratic programming problem and its domain is non-empty, it can be concluded that the solution is unique.
Through this process, we acquire the angular velocity signal of the follower at any given position within the Earth coordinate system.
4.2. Flow Field Structural Formation
To sustain the formation, the modulation of velocity amplitude is contingent upon the distance and bearing between the follower’s actual position and its designated location within the formation. The presence of external noise interference in real-world environments complicates the precise positioning of the follower by the actuator. To enhance both practicality and stability, it is deemed that the jth follower has successfully reached the designated position within the formation when it enters the range corresponding to this position, thereby fulfilling the convergence criteria.
The design of velocity amplitude is categorized into two cases based on the orientation of the follower in relation to the specified position. Initially, the actual position of the follower is determined using Equation (13), alongside its corresponding designated position. The displacement vector
, which represents the transition from the designated to the actual position of the follower, is then derived. Subsequently, we compute the angle
between this vector and the displacement vector associated with its corresponding position (i.e., representing the navigation direction of the virtual leader), as illustrated in
Figure 4.
If , the follower is positioned behind the corresponding designated point; conversely, when angle , the follower occupies a position in front of this designated point. Based on these varying positions of the follower, distinct velocity strategies are formulated.
① When the angle
, the follower operates in a pursuit state, with modifications made solely to the desired velocity amplitude
to facilitate its alignment with the designated position within the formation. The modulation of the target velocity amplitude
is predicated on the correlation between the actual distance from the follower to the designated position and the defined range
.
In this equation, denotes the velocity amplitude of the virtual leader, signifies the distance between the follower’s actual position and its designated target, indicates the radius of the circular area encompassing the designated position range, while and are relaxation variables. Consequently, one can derive the velocity amplitude of the follower in a pursuit state.
② When the angle
, the follower is in an overshoot state, it becomes necessary not only to adjust the amplitude of the desired velocity
but also to make a slight modification to the heading angle. This adjustment facilitates improved convergence of the follower towards its designated position within the formation. Although guided by EIFDS, which ensures that the follower consistently ‘flows’ toward this target position, its overshoot state indicates that it has not yet reached this designated location. At this stage, the follower typically executes a significant angular deviation to reach the designated position, which is detrimental to the heading of the SA and should be avoided whenever possible, as illustrated in
Figure 5.
To mitigate issues resulting from excessive maneuvering, it is essential to make slight adjustments to the heading angle and modify the target point while preserving the efficacy of obstacle avoidance. EIFDS has been modified from the originally designated position within the formation to a location along the displacement vector, specifically aligned with the virtual leader’s heading direction. This new target should be positioned at a distance of (such that the actual position of follower relative to the designated position is twice the length of the projection of the distance between these two positions onto the displacement vector). This approach effectively addresses the issue of over-maneuvering resulting from an excessive number of states, thereby enhancing the robustness of the formation structure.
Subsequently, the amplitude of the velocity is fine-tuned while remaining in an overshoot state to facilitate the follower’s convergence to the designated position. The procedure for adjusting the velocity amplitude is outlined as follows:
In this equation, and denote the expected velocity amplitudes of the jth follower at time t and the subsequent time step, respectively; signifies the observation duration; is associated with the relaxation variable ; and represents the minimum velocity amplitude.
4.3. Strategies for Collision Avoidance Among Vessels
(1) Deficiencies in Inter-Vessel Collision Avoidance within the EIFDS Framework.
In the aforementioned formation structure, the utilization of EIFDS dictates the trajectory information of the virtual leader, thereby establishing the designated positions for each follower SA (denoted as
j) within the formation. The
j SAs function as followers and are linked to their respective designated positions through EIFDS. Owing to the inherent characteristics of EIFDS, these followers possess an intrinsic capability to ‘navigate towards’ their corresponding designated positions while also demonstrating proficiency in obstacle avoidance. To ensure the follower converges to the designated position, two state conditions—namely, the chasing state and overshoot state—were established for the velocity regulation scheme of the follower. The velocity amplitude is calibrated for the pursuit state to facilitate rapid convergence of the follower towards the designated position. To mitigate overshooting issues arising from an excessive number of states, the target point of EIFDS was adjusted, and the velocity amplitude was reduced to facilitate a more reasonable convergence of the follower towards the designated position. This ultimately enabled the formation strategy to be based on a flow field with obstacle avoidance capabilities, as illustrated in
Figure 6.
The aforementioned description of the formation structure suggests that this formation strategy does not address collision avoidance among the vessels within the formation.
The problem arises due to adjacent boats as obstacles using the EIFDS method. This is primarily due to the fact that during convoy navigation, the navigational characteristics of vessels within a convoy—specifically their heading and velocity—are often similar. If the EIFDS approach remains in use for collision avoidance under these conditions, it may significantly complicate the flow field and exacerbate the challenges associated with obstacle avoidance, specifically, similar to barrier-type obstacles, as illustrated in
Figure 7.
As illustrated in
Figure 7a, when adjacent vessels within a convoy simultaneously navigate to circumvent a walled-type obstacle using EIFDS, there is a significant risk that one of the vessels may inadvertently enter the trap zone (at this juncture, the exponent in the obstacle weighting formula base is equal to zero), leading to potential failure in collision avoidance and resulting in collisions either between the vessels themselves or with the obstacle. As illustrated in
Figure 7b, if one of the neighboring vessels first maneuvers to avoid the obstacle, subsequent vessels may deviate from the optimal route due to disturbances caused by this initial avoidance. This can lead to inefficient paths and significantly exacerbate the challenges associated with obstacle avoidance. Given the unique characteristics of convoy navigation, it is imperative to develop a novel collision avoidance strategy specifically tailored for boat-to-boat interactions. Additionally, to streamline the complexity of obstacle avoidance trajectories, it is essential to focus solely on optimizing the velocity amplitude
.
(2) The velocity amplitude FTCBF constraint is determined by the distance between the vessels and the time required for convergence.
The presence of EIFDS and fluid formation structures enables followers to maintain their formation while effectively avoiding obstacles. Nevertheless, a constraint on the safe distance between followers persists, which translates into a limitation on velocity amplitude to satisfy collision avoidance requirements for boats and establish a comprehensive strategy for collision avoidance within the formation.
Assuming that followers can effectively exchange state information within the range
, we denote the
jth follower as having a safety area
centered around itself.
denotes a safety area of the adjacent follower. Consequently, the safety distance between this follower and its neighboring counterparts must satisfy:
To enhance computational efficiency and optimize fleet performance, followers are organized into hierarchical categories (i.e., secondary followers should refrain from interacting with primary followers). In this framework, the jth follower is assigned a lower priority compared to all other followers capable of exchanging states (this indicates that ).
Let us define a control barrier function (CBF) as follows:
In the presented equation
, the secure set is defined as
.
Among these variables, denotes the relaxed parameter that is subject to optimization.
Simultaneously, to facilitate the convergence of
towards the boundary of the secure set, a temporal constraint is introduced, thereby reformulating Equation (23) as follows:
In the presented equation , .
From this, an FTCBF constraint is derived. Subsequently, a quadratic programming controller is developed to determine the final velocity amplitude signal.
To achieve the desired velocity amplitude
convergence, maintain formation integrity, and ensure a safe distance between vessels, we employ the following quadratic programming approach with FTCBF constraints for velocity amplitude optimization:
In this equation, denote the maximum and minimum velocity amplitudes, respectively, while represents the relaxation variable.
Ultimately, by resolving Equation (25), the final velocity amplitude signal can be derived to satisfy the formation velocity amplitude criteria outlined in
Section 4.2 and the inter-boat distance constraints specified in Equation (21).
4.4. Summary of the Process
The subsequent outline delineates the decision-making process for formation in the aforementioned scenario.
① By employing EIDFS and a constant velocity amplitude, the virtual leader is directed towards the mission’s destination. This virtual leader is capable of generating the specified positions for each SA within the formation.
② Guided by the EIFDS streamline, the anticipated heading angle of each SA at any given position is determined, directing the formation towards the designated location of its corresponding member while endowing it with obstacle avoidance capabilities. Ultimately, the angular velocity signal of the SA at this juncture is derived through a quadratic programming solution constrained by FTCLF.
③ Utilizing the fluid formation strategy, the velocity amplitude is adjusted during the pursuit state, while both the velocity amplitude and the EIFDS target point are meticulously fine-tuned in the overshoot state. Consequently, the anticipated velocity amplitude of SA can be derived at this juncture.
④ Based on the desired velocity amplitude, the velocity amplitude is regulated by FTCBF in accordance with the inter-vessel distance, and an optimal velocity amplitude signal is derived through quadratic programming. Ultimately, a guidance strategy for SAs to maintain formation and navigate around obstacles is established.
5. Simulation Techniques
This section will present the simulation results to validate the efficacy of the method discussed in this paper.
5.1. Comparison of REI Problems
The EIFDS, in contrast to interfered fluid dynamical system (IFDS), provides an effective solution to the REI problem:
The initial position of the SA is established at coordinates (10, 10), with the target point located at coordinates (150, 150). The path encounters an obstacle whose center is situated at coordinates (75, 75) and possesses a radius of 15 m, as illustrated in
Figure 8a. The velocity amplitude
of the SA is maintained at a constant value 10 m/s, while the heading angle is established at 45 degrees.
In this scenario, to streamline the variables, the two-dimensional IFDS is incorporated into the deviation matrix. The disturbance coefficient of the IFDS, denoted as
, is established at 3, while the deviation coefficient of the IFDS, represented as
, is set at 2. The disturbance coefficient
of the EIFDS is established at 3, the deviation coefficient
is set to 2, and the post-disturbance coefficient
is defined as 2. It is evident that EIFDS is not constrained by the REI problem; furthermore, as illustrated in
Figure 8b, EIFDS achieves convergence to the target point more rapidly. Next, a dynamic obstacle scenario will be developed to assess the superiority of EIFDS over IFDS. The starting position of the SA is established at coordinates (10, 10), with the target point located at coordinates (150, 150). Within this path, a dynamic obstacle is introduced, originating from coordinates (80, 0) and possessing a radius of 15 m. This obstacle travels along the Y-axis at a constant velocity of 12 m/s, as illustrated in
Figure 9. Additionally, the velocity amplitude of SA is maintained at a constant value denoted as 10 m/s, while its heading angle is initially set to 45 degrees.
As illustrated in
Figure 9a,b, the scenario remains consistent with previous observations, where the disturbance coefficient
of the IFDS is set to 3 and the deviation coefficient
is established at 2. In contrast, for the EIFDS, the disturbance coefficient
is also set to 3, while its deviation coefficient
is maintained at 2, alongside a post-disturbance coefficient
fixed at 2. It is evident that EIFDS is not constrained by the REI problem, whereas the REI issue in IFDS becomes more pronounced in the presence of dynamic obstacles.
5.2. Multi-Obstacle Formation and Obstacle Avoidance Strategies
To assess the capability of formation obstacle avoidance and the subsequent regrouping ability post-avoidance, the simulation design environment is outlined as follows:
Within the framework of the geodetic coordinate system, the virtual leader is initially positioned at (50, 50). The amplitude of the virtual leader’s velocity, denoted as AAA, is set at 7 m/s. The parameters of EIFDS for the virtual leader are individually configured: the disturbance coefficient is set to 3, the deviation coefficient to 2, and the post-disturbance coefficient also to 2. The designated positions for each SA within the formation coordinate system are as follows: SA1 at (−15, 0), SA2 at (−30, 0), SA3 at (−15, 15), and SA4 at (−15, −15).
In a specified area, four SA units are distributed with their initial positions and heading angles defined in the geodetic coordinate system as follows: SA1(1, 40, 45°), SA2(30, 0, 45°), SA3(60, 0, 45°), and SA4(0, 0, 45°). The minimum velocity amplitude for all units is set at 1 m/s. The maximum velocity amplitudes are recorded as 17 m/s for SA1, 18 m/s for SA2, 16 m/s for SA3, and 15 m/s for SA4. The angular velocity interval is expressed in radians per second; . The relaxation variable is 36; the coefficient of the angular velocity quadratic term within the linear component of the quadratic programming problem is designated as 0.1; the fixed time exponential parameters are uniformly set to 2 for all instances; the coefficient of the velocity amplitude quadratic term in the linear aspect of the quadratic programming problem is also specified as 0.1; regarding EIFDS parameters, for the SA, the disturbance coefficient is assigned a value of 3, while the deviation coefficient and post-disturbance coefficient are both set to 2. The prioritization of SAs is established as SA1 > SA2 > SA4 > SA3, with a designated safety distance of 10 m maintained between formation members. The obstacles are positioned at coordinates (110, 75), (130, 155), (200, 160), (80, 120), and (132, 95), each characterized by radii of 13 m, 12 m, 11 m, 10 m, and 12 m, respectively. The results from the simulation are presented next.
As illustrated in
Figure 10a, all members of the formation successfully navigated obstacles, ultimately achieving the desired formation pattern.
Figure 10b presents the velocity amplitude output signals for each SA under the streamline formation structure and FTCBF constraints. Meanwhile,
Figure 10c displays the angular velocity output signals for each SA subjected to EIFDS and FTCLF constraints.
Figure 10d illustrates the inter-member distances within the formation, demonstrating that under the FTCBF constraint, members maintain a separation exceeding 10 m. This observation underscores the efficacy of the quadratic programming controller and confirms that no collisions occur among formation members.
5.3. Formation Obstacle Avoidance in Wall Barrier Environments
To assess the efficacy of the proposed formation’s obstacle avoidance strategy, a comparative analysis is conducted between the decision-making framework presented in this paper and that of the IFDS formation when confronted with a barrier obstacle. The simulation design environment is outlined as follows:
The initial position of the virtual leader within the Earth coordinate system is defined as (80, 80). The amplitude of the virtual leader’s velocity, denoted as is set at 7 m/s. The parameters for EIFDS governing the virtual leader are individually specified: the disturbance coefficient is established at 3, the deviation coefficient is assigned a value of 2, and the post-disturbance coefficient is also designated as 2. Furthermore, in the formation coordinate system, each SA has predetermined positions: SA1(−7, 7), SA2(−7, −7), SA3(−7, 22), and SA4(−7, −22).
Four SAs are arranged linearly within a specified area, with their initial positions and heading angles defined in the geodetic coordinate system as follows: SA1(15, 45, 45°), SA2(25, 35, 45°), SA3(35, 25, 45°), and SA4(45, 15, 45°). The minimum velocity amplitude for all units is set at 0.1 m/s; the maximum velocity amplitudes are recorded as 17 m/s for SA1, 18 m/s for SA2, 16 m/s for SA3, and 15 m/s for SA4. The angular velocity interval is expressed in radians per second;. The relaxation variable is 36. In the context of quadratic programming, the linear coefficient associated with the quadratic term of angular velocity is set to 0.1. Additionally, the fixed time exponential parameters are uniformly assigned a value of 2 across all instances. Similarly, the linear coefficient for the quadratic term related to velocity magnitude in quadratic programming also holds a value of 0.1. Regarding EIFDS parameters for SA, the disturbance coefficient is designated as 3, while the deviation coefficient and post-disturbance coefficient are both set to 2. The prioritization of the SA is as follows: SA1 > SA2 > SA4 > SA3, with a safety distance of 10 m maintained between formation members. The obstacles are positioned at coordinates (55, 95) and (95, 55), each with a radius of 23 m. The results from the simulation are presented below.
To assess the efficacy of the formation’s obstacle avoidance capabilities, a decision-making framework for IFDS formation obstacle avoidance was developed for comparative analysis. To maintain variable uniqueness, both the formation structure and parameters align with those presented in this study, while environmental factors and performance metrics for each vessel remain consistent (i.e., initial state, velocity amplitude constraints, and angular velocity constraints are uniform). In light of these conditions, the IFDS parameters for each SA have been established, with the disturbance coefficient set to 3 and the deviation coefficient set to 2. The prioritization of SAs is as follows: SA1 > SA2 > SA4 > SA3. A safety distance of 10 m is maintained between formation members. The simulation results are presented below.
The simulation results presented above, particularly in
Figure 11a and
Figure 12a, demonstrate that all members of the formation successfully navigated around obstacles as per the avoidance strategy proposed in this paper, ultimately achieving a formation. In the context of IFDS formation obstacle avoidance, the constraints of a minimum inter-barrier distance of 10 m and a safe inter-boat distance of 10 m can easily lead to the emergence of a sudden trap area during navigation, potentially resulting in the failure of the SA to evade obstacles in a timely manner. As illustrated in
Figure 11d and
Figure 12b, the formation avoidance strategy proposed in this study, under the constraints of FTCBF, successfully maintains a separation distance exceeding 10 m among its members. This finding underscores the efficacy of the quadratic programming controller and confirms that no collisions occur between formation members. Nevertheless, in the context of IFDS formation avoidance, the presence of chaotic dynamics, REI issues, and the sudden emergence of trap zones within the flow field beneath barrier obstacles in a two-dimensional environment impede members from maintaining a safe inter-member distance.
Figure 11b illustrates the velocity amplitude output signals of each SA under the formation avoidance strategy proposed in this study.
Figure 11c presents the angular velocity output signals of each SA within the same framework. Consequently, a comparative analysis of these data substantiates the efficacy of this formation avoidance strategy.
6. Conclusions
This study presents a fixed-time streamline traction formation avoidance strategy for a fleet of vehicles navigating around obstacles. The formation structure is established based on the leader–follower approach, wherein a virtual leader is directed towards the target point of the formation task utilizing the EIFDS tractor. The designated positions for each member within the formation are determined by this virtual leader. Subsequently, both the SA and their corresponding designated positions are interconnected through the EIFDS. Owing to the inherent characteristics of the EIFDS, the SA consistently navigates towards its designated location while exhibiting obstacle avoidance capabilities, thus establishing its anticipated trajectory. To ensure the stability of the formation, a comprehensive approach utilizing flow field methodologies was employed to design the SA velocity amplitude under varying conditions, thereby determining the anticipated SA velocity amplitude accordingly. In addressing the challenge of preventing collisions between vessels, employing FTCBF to regulate velocity amplitude can effectively maintain a safe distance between boats. An FTCLF is employed to impose the angular velocity constraint, subsequently yielding the outputs of angular velocity and velocity amplitude through a quadratic programming controller. The effectiveness and superiority of the formation obstacle avoidance strategy proposed in this paper were validated through simulations of obstacle avoidance and comparative analysis with barrier obstacles.
In conclusion, this method offers novel theoretical support for the practical application of SA formation obstacle avoidance. However, in this paper, corresponding dynamic constraints have not been established, and the influences brought by environmental noises such as wind and waves and sea clutter have not been taken into account. It is merely based on the decision-making level of formation path planning. This might have an impact on the feasibility of SAs in the actual process of formation obstacle avoidance. In the future, based on the inspiration from MFC, a new predictive control algorithm will be devised to adjust the parameters in the EIFDS obstacle avoidance algorithm, so as to meet the dynamic constraints of SAs and deal with environmental noise. This will further decrease the need for parameter adjustment, enhance the autonomy of SA formation, and ensure its feasibility in practical environments.