OGM-Based Real-Time Obstacle Detection and Avoidance Using a Multi-beam Forward Looking Sonar

Article information

J. Ocean Eng. Technol. 2024;38(4):187-198
Publication date (electronic) : 2024 August 22
doi : https://doi.org/10.26748/KSOE.2024.057
1Researcher, Autonomous Systems R&D Division, Korea Institute of Robotics & Technology Convergence, Pohang, Korea
2Senior Researcher, Autonomous Systems R&D Division, Korea Institute of Robotics & Technology Convergence, Pohang, Korea
3Chief Researcher, Autonomous Systems R&D Division, Korea Institute of Robotics & Technology Convergence, Pohang, Korea
Corresponding author Ji-Hong Li: +82-54-279-0467, jhli5@kiro.re.kr
Received 2024 June 24; Revised 2024 July 17; Accepted 2024 July 23.

Abstract

Autonomous underwater vehicles (AUVs) have a limited bandwidth for real-time communication, limiting rapid responses to unexpected obstacles. This study addressed how AUVs can navigate to a target without a pre-existing obstacle map by generating one in real-time and avoiding obstacles. This paper proposes using forward-looking sonar with an occupancy grid map (OGM) for real-time obstacle mapping and a potential field algorithm for avoiding obstacles. The OGM segments the map into grids, updating the obstacle probability of each cell for precise, quick mapping. The potential field algorithm attracts the AUV towards the target and uses repulsive forces from obstacles for path planning, enhancing computational efficiency in a dynamic environment. Experiments were conducted in coastal waters with obstacles to verify the real-time obstacle mapping and avoidance algorithm. Despite the high noise in sonar data, the experimental results confirmed effective obstacle mapping and avoidance. The OGM-based potential field algorithm was computationally efficient, suitable for single-board computers, and demonstrated proper parameter adjustments through two distinct scenarios. The experiments also identified some of challenges, such as dynamic changes in detection rates, propulsion bubbles, and changes in repulsive forces caused by sudden obstacles. An enhanced algorithm to address these issues is currently under development.

1. Introduction

In recent years, various marine exploration and operations that previously used remotely operated vehicles (ROVs) are gradually carried out by AUVs. ROVs can conduct detailed operations in specific areas, but the need for tether cables significantly limits their working abilities. Consequently, ROVs are being replaced with AUVs for underwater tasks. In line with this trend, there is a growing demand for enhanced autonomy in AUVs. A key technological element for enhancing the autonomy of AUVs is autonomous obstacle detection and avoidance. AUVs are expensive equipment, but real-time communication is challenging, making it difficult to respond promptly in emergencies and increasing the likelihood of being lost due to obstacles. Therefore, the autonomy of AUVs can be enhanced and the task success rate will be maximized if AUVs can produce obstacle maps in real-time and further avoid it.

Traditional obstacle detection and avoidance algorithms for underwater environments mostly used technologies commonly applied in land-based settings. Cameras, light detection and ranging (LiDAR), and radar are typically used for detecting and avoiding obstacles on land (Dang and Bui, 2023; Jiang et al., 2023; Yu et al., 2023). In underwater environments, however, radar cannot be used because radio waves cannot penetrate water. In addition, LiDAR is limited by light attenuation, and camera-based systems suffer from poor visibility. Thus, ground sensors cannot be used directly or are not as effective underwater. In underwater settings, sound waves are used instead of radio waves, making sonar a common choice for obstacle detection (Petillot et al., 2001; Paull et al., 2010). Nevertheless, using sonar for underwater obstacle detection and path planning also requires data computation reduction, sonar image denoising, obstacle detection, and avoidance path planning for moving objects.

1.1 Image Preprocessing

Actual sonar images are easily influenced environmental noise, reverberation noise, and self-noise. Sound waves are affected by channel characteristics, such as scattering and reverberation, when propagated in water, resulting in sonar images with poor visibility and quality due to speckle noise (Yu et al., 2023). Therefore, denoising is an essential preprocessing technology in sonar image applications.

Existing image noise removal algorithms are generally categorized into spatial domain filtering (Petillot et al., 2001) and transform domain filtering (Paull et al., 2010). Spatial domain filtering methods include existing technologies such as median, Gaussian, and bilateral filtering. Lee (1981) used the adaptive median filtering algorithm designed based on secondary noise detection and adjacent pixel restoration to overcome the drawbacks of median filtering. Spatial domain filtering methods aim to remove specific types of noise, but the processed images often become blurry and lose detail. Notable transform domain-filtering methods include the discrete cosine transform (DCT) (Yuki et al., 2018), principal component analysis (PCA) (Zhang et al., 2018), and wavelet shrinkage denoising (Shen et al., 2017). Transform domain filtering methods can remove specific noise and cause a loss of detail by eliminating the high-frequency components of the signal. Similarly, the maximally stable extremal regions (MSER) method was introduced to detect stable regions for identifying potential object candidates (Hong, 2023).

Deep learning-based noise-removal algorithms have been researched to reduce noise in sonar images. For example, a neural network-based convolutional autoencoder can effectively remove noise in sonar images (Kim et al., 2017). On the other hand, deep learning technology demands high computational power and sonar datasets for training. Executing high-performance computing in AUVs and acquiring the necessary sonar data is challenging. Accordingly, pre-trained noise removal methods (Dong et al., 2018) have been a recent focus of research, but they are unsuitable for real-time image filtering because of their high computational requirements. This study applied a constant false alarm rate (CFAR) algorithm for noise filtering (Kim et al., 2017; Dong et al., 2018; Ritcey and Hines, 1991). The CFAR algorithm detects targets by accounting for the noise level of the surrounding environment and dynamically adjusting the threshold based on the changes in the environment. This particular algorithm is suitable for scenarios involving sonar images because the sonar intensity varies with distance and is affected by sidelobe effects.

1.2 Obstacle Detection

Underwater mapping technology involves producing a two-dimensional horizontal map or a three-dimensional spatial map by detecting obstacles. Detecting objects in sonar images is challenging because of significant noise and low resolution. In addition, 3D point clouds generated using the beam width of sonar include height information over a broad area but lack sufficient shape details. A stereo pair of orthogonally oriented sonars was proposed for 3D sonar mapping to complement each imperfection (McConnell and Englot, 2021), and Bayesian inference was used to reconfigure the regions without overlapped field of view. Additional methods have been suggested to reconfigure height information based on the mobility of AUVs and to partially address the ambiguity issues of angles related to the elevation angle of forward-looking sonar (FLS) (Kim et al., 2020). This study applied an occupancy grid map (OGM) to produce underwater maps, and obstacles were detected using Bayesian inference. The OGM reduces the uncertainty about the position of an object detected by sonar beams by estimating occupancy and non-occupancy of the grid. This algorithm enables robots to map the environment and quickly detect obstacles accurately. Bayesian inference updates the confidence level if the grid intensity surpasses a specific threshold. Regions with confidence above a certain probability are then considered obstacles.

1.3 Obstacle Avoidance

Obstacle avoidance aims to navigate robots from their current location to a target location without collisions. Widely used methods include the potential field algorithm (Weber, 2021; Sunny and Narayanan, 2022) and the A* algorithm (Thrun et al., 2005). The potential field algorithm is straightforward and computationally efficient, making it suitable for various platforms requiring low computational resources. This algorithm is used widely because it can calculate the paths in real-time, even in dynamic environments. The parameters of the potential field function can be adjusted to be applicable in various environments and scenarios. On the other hand, the potential field algorithm entails the issue of local minima. Several studies have examined the local minima issue using the revised potential field algorithm (Li et al., 2019; Rostami et al., 2019). The A* algorithm is a graph-search algorithm for finding the shortest path from a given starting vertex to a target vertex using a heuristic function (Hart et al., 1968). The limitation of the A* algorithm is its unsuitability for real-time path planning because it becomes computationally complex when dealing with dynamic obstacle maps. A genetic algorithm (GA) (Alhijawi and Awajan, 2024) involves significant computational costs and does not ensure an optimal solution. It excels in pre-trained paths but struggles to adapt flexibly to maps generated in real-time. When comparing the two most commonly used and straightforward algorithms―the potential field algorithm and the A* algorithm―the potential field algorithm is faster than the A* algorithm when applied to maps with the same resolution (Kot et al., 2024). The difference between the two algorithms becomes more pronounced as maps increase in size and contain more dynamic obstacles. Furthermore, the A* algorithm is restricted to specific angles (0°, 45°, 90°) for movement when setting the target direction in grid-format maps. In contrast, the potential field algorithm offers a range of target directions by calculating the attractive and repulsive forces between the AUV and obstacles. This allows for adaptable control of AUVs.

Recent research on obstacle detection and avoidance algorithms using sonar in underwater environments is leading to the development of various path-planning algorithms. Petillot et al. (2001) facilitated path planning in complex environments with fast-moving obstacles by acquiring the real-time dynamic characteristics of the obstacles. Another feature is that obstacles are represented as convex shapes, which reduces the likelihood of encountering local minima. On the other hand, in addition to distinct processing for static and dynamic characteristics, the computational load is high because dynamic obstacles are identified separately during image streaming. A hexagonal grid and a directed acyclic graph have been proposed for path planning. Nevertheless, avoiding dynamic obstacles is challenging because a directed acyclic graph requires computation for all cells (Paull et al., 2010). Another approach proposed involves combining a GA with a detection algorithm to compute the optimal search path. On the other hand, the GA was effective in finding the optimal path only when an intuitive solution was available (Cho et al., 2007). Recently, a method has been suggested for generating and simulating a path using flow-based stream functions of a fluid. Nevertheless, its application to real-time path planning is challenging because of its complex computation and difficult implementation (Kim et al., 2023). Therefore, this study proposes an OGM-based potential field algorithm that can generate an obstacle map and calculate the paths in real-time, even in dynamic environments, owing to its straightforward implementation and low computational requirements. This algorithm is effective for real-time obstacle avoidance because of its simple architecture and low computational demands. On the other hand, the parameters must be calibrated based on the control performance of AUVs, considering the noise and instability in sonar data. Therefore, the CFAR algorithm processes sonar images, producing a reliable OGM obstacle map through Bayesian inference. In the future, parameters will be calibrated to suitable values for the platform through a real sea test.

2. Defining the Problem

2.1 Multi-Beam Forward-Looking Sonar

This study uses the Gemini 1200ik from Tritech as an FLS. Table 1 lists the specifications of Gemini 1200ik.

Specifications of Gemini 1200ik, Tritech

A low-frequency mode, an operating distance of 50 m, and a horizontal beam width of 120° are used. A multi-beam FLS projects a 3D object onto a 2D image plane. Once a coordinate X (xs, ys, zs) is given in a 3D Cartesian coordinate system, the relationship between this Cartesian coordinate system and a spherical coordinate system (r, θ, ϕ) can be described as Eq. (1)(2).

(1) X=[xsyszs]=[rcosθcosφrsinθcosφrsinφ]
(2) [rθφ]=[xs2+ys2+zs2tan1(xsys)tan1(zsxs2+ys2)]
where (r, θ, ϕ) represents the range, azimuth angles, and elevation angles, respectively. The Cartesian projection point P of point X is positioned at (xs′, ys′ ) on the image plane:
(3) P=[xsys]=[rcosθrsinθ]=1cosφ[xsys]

Fig. 1 shows that when a 3D point is projected onto a 2D image, there is a nonlinear component (cosϕ) between the two points. The vertical beam width of Gemini 1200ik is 20°. Thus, cos (20°) is 0.94 and cos(ϕ) ≈1, sin(ϕ) ≈0, suggesting that the effect of nonlinearity due to elevation can be disregarded. Accordingly, it can be expressed as a point, =(xs, ys). In this model, the projection region rotates in the same manner as the sonar during yaw rotation, affecting the image. On the other hand, the pitch rotation of the sonar does not influence the projection of a point on the image plane, but roll motion can alter the projection position.

Fig. 1.

FLS projection model

2.2 AUV Test Bed

An obstacle detection and avoidance algorithm is implemented to enhance the autonomy and success rate of AUV task completion. But AUVs cannot perform real-time communications, and there is a high risk of damage or loss because of collisions with obstacles. Therefore, the N-SURO ROV, currently owned by the Korea Institute of Robot and Convergence, is used as a test bed. Figs. 2 and 3 show the overall appearance of the AUV and system configuration, respectively.

Fig. 2.

Test bed ROV

Fig. 3.

System diagram

N-SURO is a hovering type ROV equipped with six thrusters, providing it with five degrees of freedom, excluding pitch. A multi-beam FLS is mounted at the front for obstacle avoidance. All algorithm operations were executed on the Xavier AGX, with only the target heading value delivered as output to facilitate future conversion to an AUV.

2.3 Building the Experiment Site Environment

The experiment in this study is conducted at the coastal area near the Korea Institute of Ocean Science and Technology (KIOST) South Sea Research Institute, as shown in Fig. 4. The KIOST South Sea Research Institute was well-equipped with infrastructure for conducting marine experiments, owing to simple topological features from being a reclaimed land. The coastal area shows a 5 m depth difference (5 m at low tide and 9 m at high tide). The author conducted various experiments at this location and has experience obtaining nearby terrain data using the Gemini 1200ik FLS from Tritech. Typically, the front and seabed were detectable when the sonar range was set to 50 m in shallow coastal areas, where the seabed features a muddy geology and gentle topography. When conducting avoidance experiments using sonar with obstacles placed arbitrarily, external objects near the seabed are not always detected as obstacles. In addition, shallow depths reduce the operational range of the ultra-short baseline (USBL) system. Therefore, ROVs are operated at sea, and their positions are determined using a global positioning system (GPS).

Fig. 4.

Experimental environment of the KIOST South Sea Research Institute

This study set up two types of obstacles. The first obstacle aims to verify the effectiveness of the obstacle avoidance algorithm using an obstacle installed at the target point, while the second obstacle focuses on assessing the possibility of detecting small obstacles in the grid. The angular resolution of the sonar was configured to 0.25°, and its detection range was set to 50 m. The length covered by a single sonar beam at a distance of 50 m was approximately 0.218 m, calculated as the arc length. The obstacles were designed with a minimum diameter of 0.5 m to ensure detection using at least two beams. Plastic and steel were used for the obstacles, as the detection rate can vary according to the material. Fig. 5(a) shows the actual images of the obstacles. As shown in Fig. 5(b), the test obstacles were detectable up to 32 m, but due to the schedule, it could not be confirmed at 50 m.

Fig. 5.

Obstacle and sonar perception data

The diameter of the test obstacles was 0.5 m. Hence, there must be only one pixel for an obstacle on the OGM. In reality, they are represented by more than one pixel because of reverberation noise, the rope used to catch the obstacles, and the yellow buoy being detected by the sonar. Fig. 5 shows the rope and the buoy.

3. OGM-Based Obstacle Detection Algorithm

An OGM-based obstacle map is generated using sonar data, and an obstacle avoidance algorithm was proposed based on the potential field algorithm. Fig. 6 presents the algorithm flow.

Fig. 6.

Algorithm flowchart

3.1 CFAR Algorithm

Actual sonar data extensively contain speckle noise and impulsive noise because of reflections from the seabed, sea surface, or obstacle (Yu et al., 2023; Ritcey and Hines, 1991; McConnell and Englot, 2021). In this study, the CFAR algorithm is applied to mitigate impulsive noise. The CFAR algorithm is a signal processing technique commonly used in radar and sonar systems to enhance the reliability of signal detection and effectively manage noise. The CFAR algorithm adjusts the threshold dynamically based on the intensity around the reference cell to filter noise and reduce reflected impulsive noise. Among various CFAR algorithms, this study applies the greatest of the CFAR (GO-CFAR) algorithm. The GO-CFAR algorithm calculates the threshold using the maximum value instead of the mean or median value of the surrounding cells. This method responds effectively to strong signals, particularly when the noise intensity is weaker than the signal (Mbouombouo Mboungam et al., 2023). In this study, the threshold is set to 80% or higher of the largest value in the surrounding cells. Fig. 7 presents the algorithm.

Fig. 7.

GO-CFAR algorithm

3.2 OGM Composition

Generally, FLS captures a wide area at high resolutions using 512 or 1,024 beams, producing a large volume of data to process. In addition, AUVs are not constrained by the tether cable length as ROVs are, allowing them to explore a larger area and gather more data, which increases the computational load. Managing global map data and minimizing the computational load is essential to generating real-time obstacle maps for a large area. Given that the radius of rotation of an AUV typically exceeds 10 m, the resolution of the obstacle avoidance map must be adjusted accordingly.

This study uses the OGM to adjust resolutions and generate obstacle maps. The OGM estimates the occupancy state of each grid probabilistically, facilitating rapid exploration and decreasing the uncertainty of the position of an object detected by a sonar beam. Bayesian inference updates the confidence level if the grid intensity surpasses a specific threshold. Regions with confidence above a certain probability are then considered to contain obstacles. It provides data with 1,506 rows when the sonar range in this study is set to 50 meters. This indicates that the sonar resolution is approximately 0.03 m. This study focuses on avoiding obstacles based on the rotation radius of the AUV rather than on identifying the detailed shapes of the obstacles. Accordingly, the OGM is defined as one square meter in the Earth-centered, Earth-fixed coordinate system. Using area interpolation from the OpenCV (Open Source Computer Vision Library), the sonar image was adjusted from a range of 50 m, 512 columns, and 1,506 rows to a one-meter grid per pixel. This process is expressed as Eq. (4).

(4) Dp=NrR
where Dp, Nr, and R are the pixel density, number of row pixels, and sonar range, respectively. Dp was calculated as 15065030 (pixel/meter). Thus, the rows of the original image were divided by 30 to ensure that one pixel corresponds to 1 m. The resolution was not reduced because the columns have a unit corresponding to each multi-beam number. The result was calculated using Eq. (5).
(5) Ap=OpDp=15063050
where Ap is the adjusted pixel size, and Op is the original pixel size.

The CFAR algorithm was applied to the adjusted image to remove noise. Most of the speckle noise was eliminated by adjusting the resolution, and impulsive noise generated in the vicinity during this process was also removed. The computational load of the CFAR algorithm increases based on the size of the comparison cells because the algorithm involves comparisons with nearby cells. On the other hand, the speed remains sufficiently fast if low-resolution images are used. A preprocessed image contains only pixels that are considered to include obstacles. These coordinates are then mapped in the global frame using this data along with the positional data of the AUV.

(6) [xryrzr]=[xcyczc]+Cbr[rcosθbrsinθb0]

Here, (xr, yr, zr ) is the pixel coordinate in the reference frame; (xc, yc, zc) is the vehicle’s center position of the vehicle in the reference frame; r is the pixel distance in the multi-beam sonar head; θb is the respective beam angle. The coordinate transformation matrix Cbr from the vehicle frame to the reference frame is defined as follows:

(7) Cbr=[cθcψcφsψ+sφsθcψsφsψ+cφsθcψcφsψcφcψ+sφsθθsψsφcψ+cφsθsψsθsφcθcφcθ]

(ϕ, θ, ψ) each represents the roll, pitch, and yaw of AUV, respectively.

Each cell of the OGM represents the probability of the presence of obstacles. The initial probability of the presence of an obstacle was set low because the long range of the sonar and the slow-moving speed of the AUV allowed for the collection of sufficient data. The reliability of the sonar image for obstacle identification was fine-tuned through multiple experiments. This adjustment reflects the sophisticated data processing method based on the Bayesian inference. Fig. 8 shows the Bayesian inference algorithm.

Fig. 8.

Bayesian Inference Algorithm

BM represents the probability of obstacles being present in each cell; pixelData is the actual sonar measurement of each cell; truePositiveRate is the probability of a sensor correctly detecting obstacles when they exist, and falsePositiveRate is the probability of a sensor falsely detecting obstacles when they are not present. B, D, and P() denotes the presence of obstacles, the detection of obstacles by a sensor, and the probability, respectively. Therefore, P(B) is the prior probability that obstacles are present at coordinates X, Y. P(D) is the probability that a sensor will detect obstacles; P(D | B) is the probability that a sensor will detect obstacles that are present; P(D |B) is the probability that a sensor will detect obstacles that are not present, and (1P(B)) is the prior probability that there are no obstacles present. P(D | B), indicating the sensor reliability, is pre-defined and calculated based on empirical data.

4. Obstacle Avoidance Algorithm Based on Potential Field

This study examines the process of an AUV navigating a region for which an obstacle map has not been generated previously, generating an obstacle map in real-time, and reaching the destination point while avoiding obstacles. The algorithm for producing paths to avoid obstacles has been studied extensively because of the high demand. Compared to the commonly used A* algorithm or GA, the potential field algorithm is chosen for its low computational load, real-time path computation capability in dynamic environments, and straightforward implementation.

The potential field algorithm generates a potential field-based attraction toward the target point and repulsion from an obstacle. The algorithm then plans a path to the target point while avoiding obstacles. Using the potential function with the OGM is effective for AUVs to avoid obstacles; therefore, this study applies smoothing before using the potential function (Li et al., 2022).

(8) fp(ζ,a)=c0aζ(1τaτ2)ρ(τa)dτ
where c0 >0 is a constant, and ρ(·) is a soft bump function with the following form.
(9) ρ(ξ)={1ξ[0,h]e(ξh)2(ξ1)2,ξ[h,1]0,otherwise
where h ∈ (0,1) is a design parameter, and fp (ζ,a) is a monotonic reduction function, where it is evident that if ζa, then fp (ζ,a)= 0.
(10) fp(ζ,a)=c0aζ(1τaτ2)ρτa)dτ

Based on the sum of calculated attraction and repulsion force, the reference path (obstacle avoidance) of the AUV is defined as the reference direction ψr, as expressed in the following Eq. 11

(11) ψr=atan2(FX,FY)
where n in FX=fattX+i=1nfrepXi and FY=fattY+i=1nfrepYi is the number of grids with a density greater than the threshold.

This study uses the heading value calculated using the potential field algorithm as the target direction, and the platform is controlled using a proportional-integral-derivative (PID) controller. Furthermore, virtual AUV movements are simulated based on the target heading direction to generate paths in real-time using the calculated target heading value and to verify if the values fall into local minima. This process was repeated to implement the potential field algorithm. When encountering local minima, measures are taken to ensure the AUV could escape the region by introducing a virtual obstacle with strong repulsion.

5. Performance Verification in Real Sea

This chapter presents the results of experiments conducted at the KIOST South Sea Research Institute to verify the performance of the OGM-based potential field algorithm. Two experimental scenarios are introduced, as shown in Fig. 9.

Fig. 9.

Obstacle avoidance scenario

In the first scenario, the obstacles are placed 10 meters apart, and the AUV attempts to avoid them twice. In the second scenario, the distance between the obstacles is increased, and the test platform aims to navigate between them. A north-east-down (NED) coordinate system is used. A pontoon point located in the southern part of the arranged obstacles is designated as the origin, (100, Y: 100). The starting point is set near (X: 125, Y: 90), while the target point is set behind the back of the obstacle (X: 128, Y: 130).

The GPS data are used when setting the initial positions of the obstacles. In scenario 1, the front and rear obstacles are the positions (X: 128, Y: 110) and (X: 123, Y: 118), respectively. In scenario 2, the front and rear obstacles are at the positions (X: 132, Y: 101) and (X: 123, Y: 118), respectively. Each obstacle is secured with an anchor, but an error of 5 m occurs within the installation radius because of tidal variations and currents. The radius within which the repulsion effect of the potential field algorithm is applied was set to 7 m.

5.1 Image Preprocessing

The OGM technique and the GO-CFAR algorithm are used to eliminate speckle noise and impulsive noise from the sonar data. The original sonar image, with 1,506 rows, 512 columns, and a range of 50 m, is scaled to 1/30 of its size to produce a 1-m grid. The GO-CFAR algorithm is applied to identify the obstacles. Accordingly, both the computational load is reduced. The obstacle detection performance also decreases when noise is reduced by downsampling. In the actual sonar data, obstacles with high reflection intensity appear and disappear intermittently. This study addresses this issue by reducing the accuracy of the sensor model using Bayesian inference to ensure the stable recognition of obstacles. Fig. 10 shows the process of resizing an image and applying the GO-CFAR algorithm.

Fig. 10.

Sonar image processing for noise and azimuth striking reduction

The image resized to 512 × 30 pixels is too small, so it is enlarged to 512 × 1,500 pixels to provide a more practical reference for visual inspection. The noise in image (b) is reduced through area interpolation, but azimuth streaking remains visible. In image (c), the CFAR algorithm is applied to remove azimuth streaking and noise. Certain strong noises remain, but they do not continue to appear at the same position, thus not being discerned as an obstacle in Bayesian inference.

5.2 Obstacle Map Production

The processed sonar data is converted from the reference frame to the global frame based on the attached position of the sonar. Based on this data, the obstacle map is updated through Bayesian inference, and positions with a probability 98% or higher are considered obstacles. The entire obstacle map is 200 × 2,000 pixels; Fig. 11 shows a part of the obstacle map generated in real-time by moving the test platform.

Fig. 11.

Part of the obstacle map

The obstacles are depicted as yellow dots, the movement path of the platform is shown as a red line, and the generated real-time path is indicated by a brown line. In addition to the installed obstacles, the surrounding walls, pontoon, rocks, and other platforms are recognized as obstacles.

5.3 Potential Field Algorithm Verification

This section introduces the performance experiment results of the potential field algorithm. The repulsion force radius of the obstacles is set to 7 m, considering the distance between the obstacles. Initially, the sonar does not detect the obstacles, but the obstacles gradually appear on the obstacle map as the platform moves forward. Fig. 12 shows the paths generated by the potential field algorithm. Successful paths often resemble each other, and notable examples of these paths are presented.

Fig. 12.

Path in case of success

The experiments are repeated 10 times for each scenario. Table 2 lists the obstacle avoidance results, with an 80% success rate for scenario 1 and a 90% success rate for scenario 2.

Outcomes of scenarios 1 and 2 over 10 trials

The third trial of scenario 1 take place during high tide, leading to obstacle detection failure because of floating debris produced by the flood tide. The sonar intensity is then adjusted to enable detection. In the fourth trial of scenario 1, failure occurs because the AUV did not follow the planned path because of the increased distance between the obstacles. In the seventh trial of scenario 2, failure occurs because the platform fall into a local minimum when the nearby experimental platform is detected. Fig. 13 presents the failure paths.

Fig. 13.

Path in case of failure

Obstacle avoidance is mostly successful, but there are certain restrictions. First, floating debris is formed by the flood tide in the real sea. Floating debris disrupts sound wave transmission, leading to continuous fluctuations in the obstacle detection intensity. Consequently, adjusting the sonar intensity and the sensor reliability through Bayesian inference take considerable time. In this experiment, tether cables are used to monitor sensor data in real-time and promptly adjust the sonar intensity. On the other hand, adjusting AUVs is challenging and necessitates more robust algorithm modifications.

Another issue is that obstacles on the water surface are detected too easily. Buoys, thick ropes, and pontoons are also easily recognized as obstacles. In addition, the test platform in this study has a front-mounted thruster, and the bubbles produced by the thruster are also detected by sonar. As a result, additional chattering occurs because of the bubbles when the heading changes abruptly. Although most AUVs have rear-mounted thrusters, which minimizes the concern, it should still be considered. Similarly, obstacles that are not initially detected begin to be recognized suddenly when they are at closer distances. The potential field algorithm produces stronger repulsion as the distance to obstacles decreases. The platform often deviate by 180° because of the sudden strong repulsive forces, leading to obstacles appearing behind the platform because of abrupt heading changes. In such cases, the platform may become trapped in local minima, leaving obstacles on the map not present in the rear before proceeding.

The experiment reveals several issues that could occur in real-world situations, highlighting the need to develop a more robust algorithm that can effectively recognize and respond to environmental factors.

6. Conclusion

In this study, the OGM-based potential field algorithm has been implemented and verified for its real-time path planning capability in dynamic environments. This algorithm operates based on low computational loads, allowing AUVs to explore areas without pre-existing obstacle maps, generate these maps in real-time, and navigate to a target point while avoiding obstacles. The CFAR algorithm was used to preprocess the sonar data collected from a real sea environment. Subsequently, an OGM-based obstacle map was generated using Bayesian inference based on this preprocessed data. Furthermore, the potential field algorithm was employed for real-time path planning. The test platform then followed the planned path, continuously updating the obstacle map and adjusting the route as needed. The experimental results showed that accurate obstacle maps were produced, and obstacles were successfully avoided, even with significant noise in the sonar data. The OGM-based potential field algorithm was computationally efficient enough to be used on a single-board computer, with various parameters adjusted appropriately for two different scenarios. In a coastal environment, several issues were identified, including fluctuating recognition rates, thruster bubbles, and variations in repulsion caused by the sudden appearance of obstacles. One of our interesting future works is to address these issues and improve the obstacle detection performance to enable experiments on obstacle avoidance in complex coastal environments.

Notes

No potential conflict of interest relevant to this article was reported.

This work was supported in part by the Project titled “Autonomous underwater vehicle fleet and its operation system development for quick response of search on maritime disasters” of the Korea Institute of Marine Science and Technology Promotion (KIMST) funded by the Korea Coast Guard Agency under Grant KIMST-20210547, and in part by KIMST funded by the Ministry of Oceans and Fisheries in Republic of Korea under Grant RS-2023-00256122.

References

Alhijawi B, Awajan A. 2024;Genetic algorithms: theory, genetic operators, solutions, and applications. Evolutionary Intelligence 17:1245–1256. https://doi.org/10.1007/s12065-023-00822-6.
Cho J. H, Kim J. S, Lim J. S, Kim S, Kim Y. S. 2007;Optimal acoustic search path planning for sonar system based on genetic algorithm. International Journal of Offshore and Polar Engineering 17(03)
Dang T. V, Bui N. T. 2023;Obstacle avoidance strategy for mobile robot based on monocular camera. Electronics 12(8):1932. https://doi.org/10.3390/electronics12081932.
Dong W. S, Wang P. Y, Yin W. T, Shi G. M, Wu F. F, Lu X. 2018;Denoising prior driven deep neural network for image restoration. IEEE transactions on pattern analysis and machine intelligence 41(10):2305–2318. https://doi.org/10.1109/TPAMI.2018.2873610.
Frost V. S, Stiles J. A, Shanmugan K. S, Holtzman J. C. 1982;A model for radar images and its application to adaptive digital filtering of multiplicative noise. IEEE Transactions on Pattern Analysis and Machine Intelligence PAMI-4(2):157–166. https://doi.org/10.1109/TPAMI.1982.4767223.
Hart P. E, Nilsson N. J, Raphael B. 1968;A formal basis for the heuristic determination of minimum cost paths. IEEE Transactions on Systems Science and Cybernetics 4(2):100–107. https://doi.org/10.1109/TSSC.1968.300136.
Hong S. 2023;A robust underwater object detection method using forward-looking sonar images. Remote Sensing Letters 14(5):442–449. https://doi.org/10.1080/2150704X.2023.2215895.
Jiang Y, Peng P, Wang L, Wang J, Wu J, Liu Y. 2023;LiDAR-based local path planning method for reactive navigation in underground mines. Remote Sensing 15(2):309. https://doi.org/10.3390/rs15020309.
Kim J, Song S, Yu S. 2017;Denoising auto-encoder based image enhancement for high resolution sonar image. 2017 IEEE Underwater Technology (UT), Busan, Korea https://doi.org/10.1109/UT.2017.7890316.
Kim B, Sung M, Lee M, Cho H, Yu S. C. 2020;Imaging sonar based AUV localization and 3D mapping using image sequences. Global Oceans 2020: Singapore – US Gulf Coast, Biloxi, MS, USA :1–6. https://doi.org/10.1109/IEEECONF38699.2020.9389469.
Kim M. H, Yoo T, Park S. J, Oh K. 2023;Forward-looking sonar-based stream function algorithm for obstacle avoidance in autonomous underwater vehicles. Journal of Marine Science and Engineering 11(10):1998. https://doi.org/10.3390/jmse11101998.
Kot R, Szymak P, Piskur P, Naus K. 2024;A comparative study of different collision avoidance systems with local path planning for autonomous underwater vehicles. IEEE Access 12:61443–61466. https://doi.org/10.1109/ACCESS.2024.3394569.
Lee J. S. 1981;Speckle analysis and smoothing of synthetic aperture radar images. Computer Graphics and Image Processing 17(1):24–32. https://doi.org/10.1016/S0146-664X(81)80005-6.
Liang X. X, Liu C. Y, Song X. L, Zhang Y. K. 2018;Research on improved artificial potential field approach in local path planning for mobile robot. Computer Simulation 35(4):291–361.
Li T. T, Tang S. F, Wang F, Tong M. M, Xu C. L. 2018;Image enhancement study based on adaptive median filtering with secondary noise detection and neighborhood pixel recovery. 2018 International Conference on Robots & Intelligent System (ICRIS), Changsha, China :134–136. https://doi.org/10.1109/ICRIS.2018.00042.
Li J. H, Park D, Ki G. 2019;Autonomous swimming technology for an AUV operating in the underwater jacket structure environment. International Journal of Naval Architecture and Ocean Engineering 11(2):679–687. https://doi.org/10.1016/j.ijnaoe.2019.02.002.
Li J. H, Kang H, Kim M. G, Lee M. J, Cho G. R, Jin H. S. 2022;Adaptive formation control of multiple underactuated autonomous underwater vehicles. Journal of Marine Science and Engineering 10(9):1233. https://doi.org/10.3390/jmse10091233.
McConnell J, Englot B. 2021;Predictive 3D sonar mapping of underwater environments via object-specific Bayesian inference. 2021 IEEE International Conference on Robotics and Automation (ICRA), Xi’an, China :6761–6767. https://.org/10.1109/ICRA48506.2021.9560737.
Mbouombouo Mboungam A. H, Zhi Y, Youani W. A. T. 2023;Moving target detection using CA, SO and GO-CFAR detectors in nonhomogeneous environment. Applied Mathematics and Sciences: An International Journal (MathSJ), 7th International Conference on Applied Mathematics and Sciences https://.org/10.2139/ssrn.4453254.
Park M. G, Lee M. C. 2003;A new technique to escape local minimum in artificial potential field based path planning. KSME International Journal 17:1876–1885. https://doi.org/10.1007/BF02982426.
Paull L, Saeedi S, Li H, Myers V. 2010;An information gain based adaptive path planning method for an autonomous underwater vehicle using sidescan sonar. 2010 IEEE International Conference on Automation Science and Engineering, Toronto, ON, Canada :835–840. https://doi.org/10.1109/COASE.2010.5584478.
Petillot Y, Tena Ruiz I, Lane D. M. 2001;Underwater vehicle obstacle avoidance and path planning using a multi-beam forward looking sonar. IEEE Journal of Oceanic Engineering 26(2):240–251. https://doi.org/10.1109/48.922790.
Ritcey J. A, Hines J. L. 1991;Performance of MAX family of order-statistic CFAR detectors. IEEE Transactions on Aerospace and Electronic Systems 27(1):48–57. https://doi.org/10.1109/7.68147.
Rostami SM. H, Sangaiah A. K, Wang J, Liu X. 2019;Obstacle avoidance of mobile robots using modified artificial potential field algorithm. Journal of Wireless Communications and Networking 2019:70. https://doi.org/10.1186/s13638-019-1396-2.
Shen Y, Liu Q, Lou S. Q, Hou Y. L. 2017;Wavelet-based total variation and nonlocal similarity model for image denoising. IEEE Signal Processing Letters 24(6):877–881. https://doi.org/10.1109/LSP.2017.2688707.
Sunny S. P, Narayanan M, P. 2022;Parallel sorting based OS-CFAR implementation in FPGA. OCEANS 2022 - Chennai Chennai, India https://doi.org/10.1109/OCEANSChennai45887.2022.9775472.
Thrun S, Burgard W, Fox D. 2005. Probabilistic Robotics MIT Press.
Weber T. C. 2021;A CFAR detection approach for identifying gas bubble seeps with multi-beam echo sounders. IEEE Journal of Oceanic Engineering 46(4):1346–1355. https://doi.org/10.1109/JOE.2021.3056910.
Yang X, Yang W, Zhang H. J, Chang H, Chen C. Y, Zhang S. 2016;A new method for robot path planning based artificial potential field. Proceedings of the IEEE 11th Conference on Industrial Electronics and Applications Hefei, China :1294–1299. https://doi.org/10.1109/ICIEA.2016.7603784.
Yuki K, Yoshihiro M, Norishige F. 2018;Parallelized and vectorized implementation of DCT denoising with FMA instructions. 2018 International Workshop on Advanced Image Technology (IWAIT) Chiang Mai, Thailand https://doi.org/10.1109/IWAIT.2018.8369754.
Yu X, Luo Y, Liu Y. 2023;A novel adaptive two-stage approach to dynamic optimal path planning of UAV in 3-D unknown environments. Multimedia Tools and Applications 82:18761–18779. https://doi.org/10.1007/s11042-022-14254-4.
Zhang J. C, Luo H. B, Liang R. G, Zhou W, Hui B, Chang Z. 2017;PCA-based denoising method for division of focal plane polarimeters. Optical Express 25(3):2391–2400. https://doi.org/10.1364/OE.25.002391.

Article information Continued

Fig. 1.

FLS projection model

Fig. 2.

Test bed ROV

Fig. 3.

System diagram

Fig. 4.

Experimental environment of the KIOST South Sea Research Institute

Fig. 5.

Obstacle and sonar perception data

Fig. 6.

Algorithm flowchart

Fig. 7.

GO-CFAR algorithm

Fig. 8.

Bayesian Inference Algorithm

Fig. 9.

Obstacle avoidance scenario

Fig. 10.

Sonar image processing for noise and azimuth striking reduction

Fig. 11.

Part of the obstacle map

Fig. 12.

Path in case of success

Fig. 13.

Path in case of failure

Table 1.

Specifications of Gemini 1200ik, Tritech

Item Low-frequency mode High-frequency mode
Maximum range (m) 120 50
Number of beams (EA) 512 1024
Horizontal beam width (°) 120 120
Vertical beam width (°) 20 12
Operating frequency (kHz) 720 1200
Angular resolution (°) 0.25 0.12

Table 2.

Outcomes of scenarios 1 and 2 over 10 trials

Trials 1st scenario 2nd scenario
1st O O
2nd O O
3rd X O
4th X O
5th O O
6th O O
7th O X
8th O O
9th O O
10th O O