Next Article in Journal
Marine Metrology and Oceanographic Measurements 2020
Previous Article in Journal
Coastal Morphodynamics and Climate Change: A Review of Recent Advances
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Forward-Looking Sonar-Based Stream Function Algorithm for Obstacle Avoidance in Autonomous Underwater Vehicles

1
School of Electrical and Electronic Engineering, Yonsei University, Seoul 03722, Republic of Korea
2
LIG Nex1, Seongnam-si 13488, Republic of Korea
3
Department of Aircraft MRO Engineering, Howon University, Gunsan-si 54058, Republic of Korea
*
Author to whom correspondence should be addressed.
J. Mar. Sci. Eng. 2023, 11(10), 1998; https://doi.org/10.3390/jmse11101998
Submission received: 22 September 2023 / Revised: 10 October 2023 / Accepted: 14 October 2023 / Published: 17 October 2023
(This article belongs to the Section Ocean Engineering)

Abstract

:
Autonomous Underwater Vehicles (AUVs) have emerged as pivotal tools for intricate underwater missions, spanning seafloor exploration to meticulous inspection of subsea infrastructures such as pipelines and cables. Although terrestrial obstacle avoidance paradigms exhibit proficiency, their efficacy diminishes in aquatic environments due to the nuanced challenges and distinct dynamics inherent to marine realms and AUV maneuvering. This paper presents an advanced obstacle avoidance algorithm for AUVs based on a stream function framework. Central to this approach is the utilization of a stream function, further nuanced by a radial histogram that serves as the defining cost function. This work also encapsulates constraints related to the maximum allowed path curvature, ensuring enhanced path optimization. Comprehensive simulation results validate the robustness and adaptability of the introduced strategy, evincing its capacity to outline both practicable and optimal evasion trajectories across diverse operational contexts.

1. Introduction

AUVs are becoming increasingly important in underwater operations such as seafloor exploration and the inspection of pipelines or cables. Their use not only promises cost savings, but also reduces the risks associated with systems that require a human operator on board [1]. A major challenge in the development of advanced autonomous systems is to create real-time path planning and obstacle avoidance strategies that can effectively guide the vehicle through unstructured environments.
Research in recent times has seen the development of numerous strategies aimed at addressing the intricacies of path planning. Fundamentally, path-planning algorithms can be categorized into pregenerative and reactive types [2]. The former, often known as global path-planning algorithms, determines the path prior to the mission’s commencement. Examples include the Free Space Network, which utilizes a directed graph reflecting environmental properties [3] and the Cell Decomposition approach, which employs an undirected graph based on subdividing the environment into distinct predefined cellular structures [4]. Another notable technique is the Octree-based method, optimal for three-dimensional environments, although it requires recursive subdivisions of mixed cells [5]. A notable limitation of these global algorithms is their rigidity in adapting paths during active missions due to their nonreal-time nature, although they excel in delivering collision-free paths.
However, reactive algorithms predominantly employ differential computational methods. The Potential Field method, for instance, traces the gradient of artificially produced potential field lines in an environment. However, this could lead to local minimum challenges, which could ensnare the vehicle or produce suboptimal solutions [6]. Solutions such as the stream function, a variant of the harmony function, have been proposed to counteract this [7]. This technique has witnessed its applicability in areas such as robotic navigation, with instances of using hydrodynamic analysis to develop stream functions for intricate geometries [8]. In particular, most existing research is focused on terrestrial and aerial vehicles, leaving underwater applications relatively unexplored. The underwater environment presents unique challenges. Communication is hampered due to the restrictive bandwidth in the underwater channels. The domain is susceptible to currents and may span worldwide [9]. Additionally, torpedo-like vehicles exhibit strong non-holonomic characteristics, with path curvature constraints stemming from vehicle controllability and sonar system limitations. The limited literature focusing on the planning of underwater-specific routes accentuates the need for innovative algorithms tailored for these demanding conditions [1].
Recently, there has been a heightened interest in examining the path-planning capabilities of AUVs through research based on streamline principles. For example, Yongqiang et al. [10] verified the suitability of the stream function for formation control and path planning within multi-agent frameworks. This paradigm also extends to wireless sensor networks, where Wang et al. [11] advocated the application of the stream function to enhance network coverage. Deeper in marine dynamics, To et al. [12] advanced a local motion plan for underwater vehicles, employing the stream function to increase maneuverability. Furthermore, Nan et al. [12] embarked on a rigorous exploration of the path identification algorithm in conjunction with the stream function. W. Cai and et al. [13] propose a fluid mechanics-based obstacle avoidance method for AUVs in 3D IoUT, enhancing energy efficiency and multi-obstacle avoidance through path deformation and energy models. P. Yao et al. [14] propose an improved IIFDS-based submerged path-planning method for autonomous underwater vehicles in intricate ocean settings. The culmination of these studies underscores the pivotal role of streamline-based methodologies in optimizing the functionality of various automated systems. Kazimierski et al. [15] conducted an in-depth examination of process noise, commonly characterized as Gaussian noise with an author-defined covariance matrix. Their approach combined rigorous analytical methods with hands-on empirical testing, validating their theoretical insights against established benchmarks in underwater target tracking.
This paper introduces a two-dimensional path-planning approach based on stream functions, specifically designed for AUVs. A majority of AUVs separate depth control and path control, making two-dimensional path planning more feasible than three-dimensional. Notably, Forward-Looking Sonar (FLS) sensors enable three-dimensional navigation, but they mainly scan laterally, usually providing information in the xy plane. Given these observations, the research accentuates the utility of a two-dimensional stream function. Introduced herein is a streamline function methodology for singular obstacle evasion, with mathematical validations elucidating the generated stream path’s aptitude for obstacle circumvention sans local minima confrontations. To prove the effectiveness of the proposed path-generation method, the path planning was conducted in accordance with the requirements of the FLS sensor installed on the newly developed LIG Nex1 AUV. The LIG Nex1 AUV, developed by LIG NEX1, is the AUV chosen as the target system for this study. The efficiency of the designed path model was then assessed through detailed simulations in collaboration with the on-board control system.
This paper presents two contributions. First, a mathematical analysis of the streamline-based obstacle avoidance algorithm has been performed, demonstrating that the proposed technique does not encounter a local minimum. Second, the effectiveness of the path-planning algorithm has been validated through simulations based on AUV dynamics, using obstacle detection sensors on an actual AUV model.
The subsequent sections of this paper are structured as follows. Section 2 delves into preliminaries on the stream function and its path-planning applications. Section 3 explicates the proposed methodology. Section 4 presents a case study accompanied by simulation results. Finally, Section 5 concludes the paper.

2. Preliminaries

The study of flows of incompressible, inviscid and irrotational fluids hinges on the potential function, a fundamental concept that allows for the formal representation of such flows. The stream function, a broader mathematical construct, encapsulates both spatial coordinates and temporal progression. Its existence is intrinsically tied to the principles of continuity and incompressibility that govern fluid dynamics, with empirical observations indicating its presence even in viscous media [16].
In the framework of infinitesimal increments, denoted as δ x and δ y , velocity components aligned to the respective axes, represented as u and v, adhere to the following relation:
u = ψ y , v = ψ x
Here, the velocities u and v pertain to the x and y directions, correspondingly. The term 2 ψ epitomizes the vorticity of fluid flow. An irrotational flow within a domain Ω satisfies 2 ψ = 0 , ψ is a harmonic function on Ω [17]. It is a well-known fact that harmonic functions do not possess any local optimum [18]. Consequently, stream functions also lack local optimum.
This work harnesses the representation of the stream function through complex equations. In this context, the marriage between stream and potential functions yields the following complex equation:
Definition 1.
Complex Potential Given ϕ and ψ as the velocity potential and stream function describing the irrotational bidimensional movements of an inviscid fluid, the associated complex potential ω is given by:
ω = ϕ + i ψ
This results in the following velocity components:
ϕ x = ψ y , ϕ y = ψ x
This relationship precisely aligns with the Cauchy–Riemann equations, signifying that ω operates as a holomorphic function of the complex variable z = x + i y , in regions where ϕ and ψ are singular.
A fundamental proposition in using stream functions within path-planning algorithms stems from the inherent ability of the stream function to depict a continuous, smooth trajectory devoid of local extremes. The crux lies in devising a complex stream function sensitive to the positional nuances of obstacles, thereby facilitating an intricate obstacle avoidance technique in alignment with streamlines.
Upon introducing an obstacle into a flow, the incumbent boundary condition necessitates the flow to be tangential to the obstacle’s surface. This is in tandem with the consistent nature of the stream function on an obstacle surface, as ψ maintains uniformity along a streamline. To identify a streamline that envelopes the specified obstacle, one must calibrate the imaginary component of the complex potential function to be consistent.
The subsequent theorem, known as the Circle Theorem, elucidated in [16], delves into the dynamics of the complex potential with an integrated boundary condition.
Theorem 1.
Circle Theorem [16] considers an irrotational, bidimensional flow of an incompressible inviscid fluid across the z-plane devoid of rigid boundaries. If the complex potential of the flow is denoted by f ( z ) , and all singularities of f ( z ) lie beyond a distance r from a reference point b, then the introduction of a circular cylinder, characterized by its cross-sectional circle C where | z b | = r , alters the complex potential as:
ω = ϕ + i ψ = f ( z ) + f ¯ r 2 z b + b ¯
Proof. 
A detailed proof is articulated in [16]. □
Here, f ¯ denotes the conjugate function, while b ¯ represents the associated conjugate variable in the complex plane. The obstacle b is expressed in its complex form as b = o x + o y i , where o x and o y designate the coordinates of the obstacle in the x and y axes, respectively. Similarly, the position (z) is expressed as z = x + y i .
The Circle Theorem provides a framework for constructing the vehicle’s stream function using primitives located in arbitrary positions. A particularly salient primitive for AUVs is the sink, represented by f s :
f s ( z ) = K ln ( z )
where K R + denotes the strength of the associated singularity.
Given that the sink is positioned at the origin and an obstacle is situated at ( o x , o y ) , the complex potential ω , by invoking the Circle Theorem, becomes:
ω = K ln ( z ) K ln r 2 z b + b ¯
The ensuing stream function, derived from the imaginary component of Equation (6), is expressed as:
ψ ( z ) = ψ s ( z ) + ψ o ( z ) = K tan 1 y x K tan 1 r 2 ( y o y ) ( x o x ) 2 + ( y o y ) 2 + o y r 2 ( x o x ) ( x o x ) 2 + ( y o y ) 2 + o x
In the above relation, ψ s and ψ o denote the stream function components for the sink and the obstacle, respectively. The detailed derivation of Equation (7) is explained in Appendix A.

3. Obstacle Avoidance Path Based on Stream Function

3.1. Design of Stream Function for Path Planning

In this study, a novel path-planning approach for AUV in a two-dimensional plane is introduced. This methodology requires three pivotal coordinates: the starting point, the location of the obstacle and the destination. The stream function, as articulated in Equation (7), omits the target location, maintaining the origin as the fixed starting point. Consequently, the objective is to devise a flow function that encompasses the target location. A comparison is made between the conventional stream function and the proposed approach, in which the source primitive symbolizes the target location, and the sink primitive denotes the start position. The complex potential function (6) is extended to incorporate this additional dimension, detailed as follows:
ω = K ln ( z s ) + K ln ( z g ) K ln r 2 z o + o ¯
The coordinates of the starting and goal points are represented by s = s x + s y i and g = g x + g y i , respectively. Consequently, the stream function is calculated as follows:
ψ ( z ) = ψ s ( z ) + ψ g ( z ) + ψ o ( z ) = K tan 1 y s y x s x + K tan 1 y g y x g x K tan 1 r 2 ( y o y ) ( x o x ) 2 + ( y o y ) 2 + o y r 2 ( x o x ) ( x o x ) 2 + ( y o y ) 2 + o x
Here, ψ g ( z ) represents the stream function component for the goal point.
Given the AUV’s heading as θ h , the waypoint for an avoidance path can be computed using the following relations:
x ( t + 1 ) = x ( t ) + L cos θ h ( t ) ,
y ( t + 1 ) = y ( t ) + L sin θ h ( t ) ,
where L denotes the movement distance and θ h ( t ) represents the heading angle at time t. This formulation transforms the coordinate components of the waypoint determination from (x, y) to (L, θ h ( t ) ). The core objective of this investigation is to identify the optimal heading angle, θ h ( t ) , ensuring that the waypoint ( x , y ) is contained within C f . It is noteworthy that the movement distance L is inherently determined by the vehicle’s speed.
In the context of this study, the stream function plays a crucial role in determining the optimal heading angle. The objective is to ascertain the optimal heading angle, θ o p t ( t ) , such that it minimizes a defined cost function. Formally, the problem can be framed as:
θ o p t ( t ) = arg min θ f c o s t ( θ ( t ) ) .
The function f c o s t ( θ ( t ) ) quantifies the desirability of each potential heading angle. A representative cost function, constructed using the stream function, is given by:
f ( θ ( t ) ) = ψ x ( t ) + L cos θ ( t ) + i · ( y ( t ) + L sin θ ( t ) ) 2 ,
where the pair ( x ( t ) , y ( t ) ) delineates the boundary coordinate of the sonar’s fan-shaped search zone. Through this cost function, the magnitude of the flow function is calculated, with θ o p t ( t ) being the angle that yields the minimal value of the flow function.
To bolster the robustness of the approach, this study introduces a histogram-based technique for the cost function. Specifically, a radial histogram formulation is proposed:
f c o s t ( t ) = l = 0 l s θ = θ h ( t 1 ) θ s θ h ( t 1 ) + θ s ψ x 0 + l cos θ + i · ( y 0 + l sin θ ) 2 , t > 2 ,
where θ h ( t 1 ) denotes the AUV’s prior heading angle. The parameter l s signifies the maximum detection range of the FLS and θ h ( 0 ) represents the AUV’s initial heading angle.

3.2. Characteristic of Forward Looking Sonar

A crucial challenge in AUV deployment concerns the measurement methodologies adopted. Predominantly, sonar sensors are employed for obstacle detection, with their emitted acoustic signals undergoing a series of intricate signal and image processing transformations prior to visualization. Although this manuscript does not delve extensively into the nuances of image processing or enhancements in sonar efficiency, the repercussions of these preprocessing phases warrant consideration. This discourse is predicated on several foundational assumptions:
  • Every obstacle within the search area is identified post-preprocessing.
  • The discerned data include only the position and distance of the obstacles.
  • Pre-processing procedures are sufficiently rapid to facilitate real-time operations.
In the present investigation, the characteristics of the FLS sensor were incorporated to enhance the accuracy of the path planning for AUVs. The FLS sensor, integrated into the LIG AUV, covers a scanning ambit of 120 degrees, systematically segmented into 60 bins. Each bin, with an angular breadth of 2 degrees, furnishes data on five discrete distances. Furthermore, the vertical scanning range of the sensor extends to 15 degrees. The fundamental coordination of the FLS is depicted in Figure 1a and images captured from the actual sensor are presented in Figure 2. Within these figures, obstacles are denoted by a red dot, whereas dots of varying colors signify reflections of diminished intensity. The designated search angle in the figure is 90 degrees with a maximum detectable range of 100 m. As a result, the FLS of the LIG Nex1 AUV produces a matrix, denoted as D F L S , described as:
D F L S = d 1 , 1 d 1 , 2 d 1 , 5 d 2 , 1 d 2 , 2 d 1 , 5 d 60 , 1 d 60 , 2 d 60 , 5
where d i , j denotes the distance of the target with the jth intensity at the ith angle. If no obstacle is detected at the ith scanning angle, then d i , j k k is set to 0.
In conventional marine navigation settings, encounters with various obstacles are sporadic. Although path planning for terrestrial robots in intricate environments has been thoroughly examined, underwater terrains inherently span three dimensions. Floating objects, potentially perceived as underwater obstacles, are seldom observed in operational contexts. A particularly intricate component involves detecting obstacles and gauging their positions using sensors like the FLS. This study delves into a technique for obstacle recognition leveraging D F L S data, seamlessly integrating this identification within the streamline path-planning approach. Let θ i B denote the scanning angle of the ith bin of the FLS sensor and let B ( θ ) represent the index value of the bin that encompasses an arbitrary angle θ . Figure 3 illustrates an example of D F L S generated by LIG Nex1 AUV’s FLS during the detection of single obstacles. Obstacles manifest as clusters in the values, and based on the perspective of the unmanned submersible, the distances from the obstacle can be derived from the index values of the most left angle θ l B and the most right angle θ r B . When an obstacle is detected, evasion must be carried out based on the information of the nearest obstacle. Thus, for each bin, the information about the closest obstacle to evasion can be defined as follows:
D i = min k = 1 5 d i , k
The size of the detected obstacle o s can be estimated as follows when a single obstacle is identified:
o s = θ l B θ r B B ( θ r b ) B ( θ l b ) θ = θ l B θ r B D θ
Furthermore, the location of the obstacle ( o x , o y ) and the distance between obstacle and AUV o d can be estimated as described below,
o d = 1 B ( θ r b ) B ( θ l b ) θ = θ l B θ r B D θ
o x = x + o d ( k ) cos ( θ l B + θ r B 2 )
o y = y + o d ( k ) sin ( θ l B + θ r B 2 )
where x , y are the position of the AUV.

3.3. Design of Avoidance Path Planning for Single Obstacle

In general aquatic environments, excluding the topography, most obstacles in a floating state are often singular. Therefore, the initial focus is on the methodology for generating obstacle avoidance paths in the presence of a single floating obstacle. Assume that there are n waypoints generated by the global path technique. If the kth waypoint is denoted as P ( k ) = ( x p ( k ) , y p ( k ) ) , then the obstacle avoidance path generated when moving to the next waypoint (k + 1)th can be formed using the stream function ψ s ( z ) such as defined:
ψ s ( z ) = | ψ k ( z ) + ψ k + 1 ( z ) | + | g ( ψ o ( z ) ) |
ψ k ( z ) = K tan 1 y ( t ) y p ( k ) x ( t ) x p ( k )
ψ k + 1 ( z ) = K tan 1 y ( t ) y p ( k + 1 ) x ( t ) x p ( k + 1 )
where the function g ( ψ o ( z ) ) is defined as:
g ( ψ o ( z ) ) = ψ o ( z ) if o d o s ρ o otherwise
where ρ o denotes the minimum bias value of the obstacle’s stream function.
Assumption A1.
The AUV traverses between two waypoints, P ( k ) and P ( k + 1 ) . When its position, denoted by x ( t ) and y ( t ) , nears P ( k + 1 ) , the index k increments. The criterion to determine if the AUV has reached the designated waypoint is when the distance between the AUV and P ( k + 1 ) is less than the safety threshold R s .
Theorem 2.
Consider an AUV with a maximum radius r a . Let an obstacle of radius o s be positioned at ( o x , o y ) R . The AUVs avoid the obstacle between waypoint P ( k ) and P ( k + 1 ) if and only if:
ρ o > 2 l s θ s ψ m a x 2
( Δ g x ) 2 + ( Δ g y ) 2 > ( Δ o x ) 2 + ( Δ o y ) 2 + r + r a
where Δ o x = o x x p ( k ) , Δ o y = o y y p ( k ) , Δ g x = x p ( k + 1 ) x p ( k ) and Δ g y = y p ( k + 1 ) y p ( k ) . ψ m a x is the peak value of the stream function ψ ( z ) outside the obstacle zone. l s is the maximum range of FLS sonar. θ s is the maximum search angle of FLS. Then, collision-free local waypoints between P(k) and P(k+1) are calculated by:
x ( t + 1 ) = x ( t ) + L cos ( θ h ( t ) )
y ( t + 1 ) = y ( t ) + L sin ( θ h ( t ) )
where the optimal avoidance angle θ h is determined as:
θ h ( t ) = arg min θ l = 1 l s θ = θ h ( t 1 ) θ s θ h ( t 1 ) + θ s ψ s ( x ( t ) + l cos ( θ ) + i ( y ( t ) + l sin ( θ ) ) ) 2
Proof. 
The proof is to substantiate two propositions:
1. Collision avoidance: The path does not intersect the obstacle.
Given the cost function f c o s t defined for ( x , y ) O , the following relationship is established:
θ = θ h ( t 1 ) θ s θ h ( t 1 ) + θ s ψ m ( x ( t ) + L cos ( θ ) + i ( y ( t ) + L sin ( θ ) ) ) 2 < θ = θ h ( t 1 ) θ s θ h ( t 1 ) + θ s ψ m a x 2 < 2 l s θ s ψ m a x 2
If ρ o > 2 l s θ s ψ m a x 2 , then:
f c o s t ( z 1 ) < f c o s t ( z 2 ) , where z 1 O and z 2 O
This ensures the absence of points ( x ( t ) + cos ( θ h ) , y ( t ) + sin ( θ h ) ) in the obstacle region, confirming our first assertion.
2. Path Validity: The path begins at P ( k ) and concludes at P ( k + 1 ) .
Consider two stream functions as defined by:
ψ k ( z ) + ψ k + 1 ( z ) = C tan 1 ( m 1 ) + C tan 1 ( m 2 )
where m 1 = y ( t ) y p ( k ) x ( t ) x p ( k ) , m 2 = y ( t ) y p ( k + 1 ) x ( t ) x p ( k + 1 )
Similarly, the obstacle stream function can be expressed as:
ψ o ( z ) = tan 1 r ^ y ( t ) + ( 1 / r ^ 1 ) o y x ( t ) + ( 1 / r ^ 1 ) o x
where r ^ = o s 2 / { ( x ( t ) o x ) 2 + ( y ( t ) o y ) 2 } . The modified stream function is:
ψ m ( z ) = | C tan 1 ( m 1 ) + C tan 1 ( m 2 ) | + g ( tan 1 r ^ y ( t ) + ( 1 / r ^ 1 ) o y x ( t ) + ( 1 / r ^ 1 ) o x )
The optimal path is achieved by selecting the angle yielding the minimum mean square sum from Equation (29). This minimum is primarily influenced by the values of ψ k ( z ) + ψ k + 1 ( z ) , which is least when:
C tan 1 ( m 1 ) = C tan 1 ( m 2 )
This results in ψ k ( z ) + ψ k + 1 ( z ) having a minimum at ( x , y ) which satisfies:
y = y p ( k + 1 ) y p ( k ) x p ( k + 1 ) x p ( k ) x + y p ( k ) y p ( k + 1 ) y p ( k ) x p ( k + 1 ) x p ( k ) x p ( k )
This equation encompasses both the starting and ending points. Additionally, all streamlines converge to ( x p ( k ) , y p ( k ) ) and ( o x , o y ) since ψ k ( z ) and ψ k + 1 ( z ) represent the primary sources of sink and source. This validates our second assertion. □

3.4. Path Generation Considering the Motion of AUV

The torpedo-like AUV has its propellers and control fins at the after body. This strategic placement gives the AUV the ability to maneuver while maintaining forward propulsion. The control fins of an AUV largely determine the shape of its trajectory, particularly its curved path. When in a steady operational state, this force helps identify the minimum possible turning radius R t ( u ) . Therefore, when making a plan for the trajectory, it is essential to take into account this minimum turning radius.
In a stabilized state, the external force N e x t that influences the turning angle ψ can be summarized as follows [19]:
N e x t = N h y d r o s t a t i c + N l i f t + N d r a g + N c o n t r o l
N c o n t r o l = N u u q δ r u 2 δ r
where N h y d r o s t a t i c is hydrostatic force, N l i f t is body lift force and N d r a g is drag force. δ r denotes the angle of the control fin of the rudder. Although most external forces change in relation to velocity, the control force varies in proportion to the square of the velocity. Therefore, in a stabilized state, it is possible to estimate the maximum turning angle ψ m ( u ) based on velocity. Estimation of the maximum turning angle ψ m ( u ) is commonly achieved through simulations of sea elevation. Due to variations in the hydrodynamic coefficients based on the shape of the AUV, it is challenging to define a generalized maximum value. Once the maximum turning angle is defined, it can be incorporated into the previously proposed path-planning technique.
Figure 4 presents the results of the simulation of the maximum rotation at 3 kt from the stabilized motion model mentioned above. While a driving control command for rotation was given at 6 degr/s, it can be observed that the maximum rotational speed is limited to 5 deg/s. The maximum deflection angle of the rudder is limited to 14 degrees and maintains this maximum angle during rotation, as shown in Figure 4. The maximum rotation angle was calculated based on the maximum rotation angular velocity r m a x obtained from the simulation, utilizing the FLS’s maximum detection distance l s and speed u as follows:
ψ m ( u ) = r m a x l s u
The proposed path-planning method is formulated around finding the optimal avoidance angle based on obstacle locations determined via FLS and the current position of the AUV. By integrating the turning constraints of the AUV into the optimal obstacle avoidance angle, a trajectory that takes into account the AUV’s motion can be formulated. Then, the optimal avoidance angle θ h considering AUV’s motion constraints is calculated as:
θ h ( t ) = arg min θ l = 1 l s θ = θ h ( t 1 ) θ d θ h ( t 1 ) + θ d ψ s ( x ( t ) + l cos ( θ ) + i ( y ( t ) + l sin ( θ ) ) ) 2
where θ d is the minimum value between the maximum turning angle ψ m ( u ) and the maximum detection angle θ s .

4. Simulation Results and Analysis

The proposed streamline-based path-planning method addresses both the generation of obstacle avoidance trajectories in intricate maritime scenarios and the facilitation of local path planning amidst waypoints. An inherent attribute of the trajectories produced through this approach is their alignment with rational principles, facilitating the navigation of AUV. The effectiveness of this method was evaluated through obstacle avoidance simulations based on the AUV motion model developed by LIG Nex1. As shown in Figure 5, the characteristics of the obstacle avoidance sensors incorporated into the LIG Nex1 AUV were considered. For an authentic simulation environment, real-world representative obstacle data derived from these sensors were utilized. The chief specification of the in-use FLS is as follows:
  • Feasible operating range: 30 m.
  • Horizontal beam width: 120 .
Note that the insonified region of FLS is not included in the simulation results presented.

4.1. Obstacle Avoidance Standalone Simulation

A comprehensive performance assessment of the path-generation algorithm was performed through simulations. These simulations were designed to both evaluate the algorithm’s efficacy against generic obstacle patterns and test its robustness in overcoming obstacles leading to local minima. The primary objective is to empirically validate its robustness and feasibility. For consistency, each simulation was conducted under the assumption that the dimensions of the underwater environment are (100 m × 100 m). Furthermore, the AUV is abstracted as a particle with a radius of 2 m. The threshold bias value, ρ 0 , is designated as 10 5 . This value sufficiently satisfies the condition given by Equation (25) in Theorem 2, particularly as ψ m a x remains below 10 3 across all underwater environmental points.
Figure 6 highlights the local minimum dilemma often encountered in potential field methods. Here, the AUV speed is set to (1 m/s) with a sonar operating range of 20 m. Traditional potential-field techniques tend to cause the AUV to stall in front of U-shaped obstacles. On the contrary, our proposed stream function-centric approach successfully navigates these challenges, generating smooth paths for obstacle avoidance.
Figure 7 and Figure 8 represent scenarios with increased navigational complexity. The algorithm consistently produces reliable avoidance paths in the majority of these complicated cases. Ensuring an AUV’s precision in following the designated trajectory is paramount.

4.2. Integrated Obstacle Avoidance Simulation

To determine whether the proposed route is easily navigable for the autonomous underwater vehicle, a simulation that integrates both the control algorithm and the motion model is essential. To implement the proposed obstacle generation technique in the actual control algorithm, a simulation framework was designed, as shown in Figure 9, which encompasses the AUV’s motion dynamics, path-planning algorithm and virtual obstacle management. The motion dynamics, calculated in real-time, utilize a 6-degrees-of-freedom equation to derive the AUV’s posture and position. The Mission Management module orchestrates AUV operations and formulates the overarching mission trajectory. Within this simulated environment, the dynamics and obstacle data converge to generate virtual obstacles, currently focusing solely on circular-shaped challenges. The obstacle avoidance sonar model, mirroring the functionalities of the FLS, identifies these virtual impediments and provides pertinent data. Core path planning, capitalizing on a streamline-based algorithm, discerns optimal traversal paths and depths. The entire navigation process culminates with a nonlinear controller guiding the AUV based on this predetermined trajectory and depth. All components were conceptualized and instantiated using MATLAB.
Figure 10 illustrates the trajectories of an AUV travelling at 4 knots and navigating between waypoints 150 m apart, with a sonar detecting range of 30 m and a maximum turning angle of 120 . The strategic placement of obstacles modulated the trajectories and the changes were highlighted. Additionally, Figure 11 shows the control output fluctuations due to depth changes for avoiding obstacles. Complicated paths may make control angles to their limits, possibly slowing down the AUV and increasing energy usage. As more obstacles are added, the navigation path lengthens, causing the control panel’s operation to slow down. The chattering phenomenon in the control angle is not due to the generated path but is inherent to the nonlinear controller’s characteristics. During actual navigation, many sensors provide directional input. To robustly handle this input, the controller has an uncontrolled region set, which leads to the chattering effect. The occurrence of chatter indicates a small error between the commanded and actual path, suggesting that the path is easily navigable for the autonomous underwater vehicle. Upon the second obstacle avoidance, one can observe a pronounced curve in the path as illustrated in Figure 10. However, examining the rudder angle shows that while it briefly maintains its maximum value for the initial rotation maneuver, it does not utilize the entire deflection angle for the subsequent path control. This indicates that the proposed path is traceable. The reason for maintaining the initial maximum deflection is to alter the initial direction, a phenomenon executed to avoid rapid obstacles.

5. Conclusions

This paper proposed the development of an obstacle avoidance algorithm for AUVs that utilizes a stream function. Recent studies have shown a growing interest in stream function-based approaches, and this work defines a path-planning problem based on the stream function to identify the optimal traversal path. It was shown that the derived optimal path for a single obstacle is free of collisions and local minima. Additionally, a methodology was proposed to generate paths within avoidance capabilities, taking into account the turning radius of torpedo-shaped AUVs. The proposed path-planning technique was then integrated with the FLS specifications used in a prototype AUV and linked to a motion model-based controller. This approach was not only used for path planning but was also extended to simulations of the entire mission, thus demonstrating its effectiveness. Future research will aim to confirm the stable obstacle avoidance in real-sea conditions through field tests, integrating the obstacle sensor and the controller in actual scenarios.

Author Contributions

Conceptualization, M.H.K.; methodology, M.H.K.; software, T.Y.; validation, T.Y. and M.H.K.; formal analysis, M.H.K.; investigation, M.H.K. and T.Y.; resources, S.J.P.; data curation, T.Y.; writing—original draft preparation, M.H.K.; writing—review and editing, K.O.; supervision, K.O.; project administration, M.H.K. and K.O. All authors have read and agreed to the published version of the manuscript.

Funding

This research received no external funding.

Data Availability Statement

Not applicable.

Conflicts of Interest

The authors declare no conflict of interest.

Appendix A. Derivation of the Stream Function

The Circle Theorem yields the complex potential ω as:
ω = K ln ( z ) K ln r 2 z b + b ¯ ,
where z is the complex position of a point in the flow. b = o x + i o y is the complex position of the obstacle. b ¯ is its complex conjugate. r denotes the radius associated with the obstacle.
The stream function ψ ( z ) is derived from the imaginary part of ω . Leveraging the characteristic of the imaginary segment of a complex logarithm, the following is established:
( ln ( z ) ) = tan 1 ( z ) ( z ) .
Dissecting the terms individually:
For the sink term:
( K ln ( z ) ) = K tan 1 ( z ) ( z ) ,
Given z = x + i y ,
ψ s ( z ) = K tan 1 y x .
For the obstacle-induced term:
K ln r 2 z b + b ¯
Given:
z = x + i y , b = o x + i o y ,
it is deduced as:
z b = ( x o x ) + i ( y o y ) ,
| z b | = ( x o x ) 2 + ( y o y ) 2 .
Continuing the derivation:
r 2 z b = r 2 ( x o x ) ( x o x ) 2 + ( y o y ) 2 + i r 2 ( y o y ) ( x o x ) 2 + ( y o y ) 2 .
Combining with b ¯ , the real and imaginary components are:
r 2 z b + b ¯ = r 2 ( x o x ) ( x o x ) 2 + ( y o y ) 2 + o x ,
r 2 z b + b ¯ = r 2 ( y o y ) ( x o x ) 2 + ( y o y ) 2 + o y .
Extracting the imaginary component:
ψ o ( z ) = K tan 1 r 2 ( y o y ) ( x o x ) 2 + ( y o y ) 2 + o y r 2 ( x o x ) ( x o x ) 2 + ( y o y ) 2 + o x .
Incorporating both the sink and obstacle components, the total stream function becomes:
ψ ( z ) = ψ s ( z ) + ψ o ( z ) .

References

  1. Antonelli, G.; Chiaverini, S.; Finotello, R.; Schiavon, R. Real-time path planning and obstacle avoidance for RAIS: An autonomous underwater vehicle. IEEE J. Ocean. Eng. 2001, 26, 216–227. [Google Scholar] [CrossRef]
  2. Alvarez, A.; Caiti, A.; Onken, R. Evolutionary path planning for autonomous underwater vehicles in a variable ocean. IEEE J. Ocean. Eng. 2004, 29, 418–429. [Google Scholar] [CrossRef]
  3. Zhang, Q. A Hierarchical Global Path Planning Approach for AUV Based on Genetic Algorithm. In Proceedings of the 2006 International Conference on Mechatronics and Automation, Luoyang, China, 25–28 June 2006; pp. 1745–1750. [Google Scholar] [CrossRef]
  4. Brooks, R.A.; Lozano-Pérez, T. A subdivision algorithm in configuration space for findpath with rotation. IEEE Trans. Syst. Man Cybern. 1985, SMC-15, 224–233. [Google Scholar] [CrossRef]
  5. Noborio, H.; Naniwa, T.; Arimoto, S. A quadtree-based path-planning algorithm for a mobile robot. J. Robot. Syst. 1990, 7, 555–574. [Google Scholar] [CrossRef]
  6. Kitamura, Y.; Tanaka, T.; Kishino, F.; Yachida, M. 3-D path planning in a dynamic environment using an octree and an artificial potential field. In Proceedings of the 1995 IEEE/RSJ International Conference on Intelligent Robots and Systems. Human Robot Interaction and Cooperative Robots, Pittsburgh, PA, USA, 5–9 August 1995; Volume 2, pp. 474–481. [Google Scholar] [CrossRef]
  7. Connolly, C.I.; Grupen, R.A. The applications of harmonic functions to robotics. J. Robot. Syst. 1993, 10, 931–946. [Google Scholar] [CrossRef]
  8. Kim, J.O.; Khosla, P. Real-time obstacle avoidance using harmonic potential functions. IEEE Trans. Robot. Autom. 1992, 8, 338–349. [Google Scholar] [CrossRef]
  9. Petres, C.; Pailhas, Y.; Patron, P.; Petillot, Y.; Evans, J.; Lane, D. Path Planning for Autonomous Underwater Vehicles. IEEE Trans. Robot. 2007, 23, 331–341. [Google Scholar] [CrossRef]
  10. Yongqiang, B.; Wenzhi, X.; Hao, F.; Jixiang, L.; Jing, C. Obstacle avoidance for multi-agent systems based on stream function and hierarchical associations. In Proceedings of the 31st Chinese Control Conference, Hefei, China, 25–27 July 2012; pp. 6363–6367. [Google Scholar]
  11. Wang, J.; Li, X.; Yan, J.; Luo, X. Formation Coverage Control for Mobile Directional Sensor Networks with Obstacle Avoidance via Stream Function. In Proceedings of the 2019 Chinese Control Conference (CCC), Guangzhou, China, 27–30 July 2019; pp. 6410–6415. [Google Scholar] [CrossRef]
  12. To, K.Y.C.; Lee, K.M.B.; Yoo, C.; Anstee, S.; Fitch, R. Streamlines for Motion Planning in Underwater Currents. In Proceedings of the 2019 International Conference on Robotics and Automation (ICRA), Montreal, QC, Canada, 20–24 May 2019; pp. 4619–4625. [Google Scholar] [CrossRef]
  13. Cai, W.; Xie, Q.; Zhang, M.; Lv, S.; Yang, J. Stream-Function Based 3D Obstacle Avoidance Mechanism for Mobile AUVs in the Internet of Underwater Things. IEEE Access 2021, 9, 142997–143012. [Google Scholar] [CrossRef]
  14. Yao, P.; Zhao, S. Three-Dimensional Path Planning for AUV Based on Interfered Fluid Dynamical System Under Ocean Current (June 2018). IEEE Access 2018, 6, 42904–42916. [Google Scholar] [CrossRef]
  15. Kazimierski, W.; Zaniewicz, G. Determination of Process Noise for Underwater Target Tracking with Forward Looking Sonar. Remote Sens. 2021, 13, 1014. [Google Scholar] [CrossRef]
  16. Milne-Thomson, L.M. Theoretical Hydrodynamics. In Dover Books on Physics; Dover Publications: Mineola, NY, USA, 2013. [Google Scholar]
  17. Waydo, S. Vehicle Motion Planning Using Stream Functions. In Proceedings of the 2003 IEEE International Conference on Robotics and Automation (Cat. No.03CH37422), Taipei, Taiwan, 14–19 September 2003. [Google Scholar]
  18. Axler, S.; Bourdon, P.; Ramey, W. Harmonic Function Theory; Springer: New York, NY, USA, 2001. [Google Scholar]
  19. Prestero, T. Verification of a Six-Degree of Freedom Simulation Model for the REMUS Autonomous Underwater Vehicle. Ph.D. Thesis, Massachusetts Institute of Technology, Cambridge, MA, USA, 2001. [Google Scholar]
Figure 1. FLS of LIG Nex1 AUV.
Figure 1. FLS of LIG Nex1 AUV.
Jmse 11 01998 g001
Figure 2. Raw data visualization of LIG Nex1 AUV’s FLS sonar.
Figure 2. Raw data visualization of LIG Nex1 AUV’s FLS sonar.
Jmse 11 01998 g002
Figure 3. Example of the search angle and result matrix values when an obstacle is detected by the FLS.
Figure 3. Example of the search angle and result matrix values when an obstacle is detected by the FLS.
Jmse 11 01998 g003
Figure 4. Maximum rotation radius simulation at 3 kts with 6 degree heading angle.
Figure 4. Maximum rotation radius simulation at 3 kts with 6 degree heading angle.
Jmse 11 01998 g004
Figure 5. Mock-up of LIG Nex1 AUV (FLS sonar is installed in front head in real AUV).
Figure 5. Mock-up of LIG Nex1 AUV (FLS sonar is installed in front head in real AUV).
Jmse 11 01998 g005
Figure 6. Illustration of the local minimum challenge in potential fields.
Figure 6. Illustration of the local minimum challenge in potential fields.
Jmse 11 01998 g006
Figure 7. AUV avoidance path in a multifaceted environment (Scenario I).
Figure 7. AUV avoidance path in a multifaceted environment (Scenario I).
Jmse 11 01998 g007
Figure 8. AUV avoidance path in a multifaceted environment (Scenario II).
Figure 8. AUV avoidance path in a multifaceted environment (Scenario II).
Jmse 11 01998 g008
Figure 9. Simulation configuration for LIG AUV model.
Figure 9. Simulation configuration for LIG AUV model.
Jmse 11 01998 g009
Figure 10. Comparison of simulation trajectories with various obstacle conditions.
Figure 10. Comparison of simulation trajectories with various obstacle conditions.
Jmse 11 01998 g010
Figure 11. Comparison of control fins with various obstacle conditions.
Figure 11. Comparison of control fins with various obstacle conditions.
Jmse 11 01998 g011
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

Kim, M.H.; Yoo, T.; Park, S.J.; Oh, K. Forward-Looking Sonar-Based Stream Function Algorithm for Obstacle Avoidance in Autonomous Underwater Vehicles. J. Mar. Sci. Eng. 2023, 11, 1998. https://doi.org/10.3390/jmse11101998

AMA Style

Kim MH, Yoo T, Park SJ, Oh K. Forward-Looking Sonar-Based Stream Function Algorithm for Obstacle Avoidance in Autonomous Underwater Vehicles. Journal of Marine Science and Engineering. 2023; 11(10):1998. https://doi.org/10.3390/jmse11101998

Chicago/Turabian Style

Kim, Moon Hwan, Teasuk Yoo, Seok Joon Park, and Kyungwon Oh. 2023. "Forward-Looking Sonar-Based Stream Function Algorithm for Obstacle Avoidance in Autonomous Underwater Vehicles" Journal of Marine Science and Engineering 11, no. 10: 1998. https://doi.org/10.3390/jmse11101998

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