Next Article in Journal
A Comparative Study of Multi-Scale Hybrid Deep Learning Frameworks for Estimation of Domestic Load Demand of Pakistan’s Central Region
Previous Article in Journal
Dual-Expert Landmark Localization in 3D Facial Point Clouds Under Controlled Synthetic Local Surface Loss for Rigid Initialization
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

U-Shaped Obstacle Avoidance for a Bionic Robotic Fish: A Virtual Sentinel Obstacle Strategy Based on the Artificial Potential Field Method

School of Mechanical and Automotive Engineering, South China University of Technology, Guangzhou 510641, China
*
Author to whom correspondence should be addressed.
Sensors 2026, 26(15), 4990; https://doi.org/10.3390/s26154990
Submission received: 1 June 2026 / Revised: 17 July 2026 / Accepted: 4 August 2026 / Published: 6 August 2026
(This article belongs to the Section Sensors and Robotics)

Abstract

Reliable obstacle avoidance is essential for bionic robotic fish operating in complex underwater environments. However, when a robotic fish performs depth-keeping cruising near U-shaped obstacles, the traditional artificial potential field (APF) method is prone to local minima, which can cause the vehicle to become trapped and lead to obstacle avoidance failure. To address this problem, this paper proposes a virtual sentinel obstacle strategy based on the APF method. Virtual sentinel obstacles are deployed near the entrance of U-shaped obstacles, and corresponding deployment rules are formulated to prevent the robotic fish from entering the local minimum region. To further improve path planning performance, a two-stage fuzzy controller is developed to adjust heading rotation and cruising step size. The proposed method is evaluated through numerical simulations and physical experiments using a self-developed bionic robotic fish prototype. The results show that the virtual sentinel obstacle strategy prevents entrapment around the tested U-shaped obstacles, while fuzzy control shortens the path and improves smoothness. The physical experiments further verify the feasibility of the proposed strategy in a two-dimensional underwater obstacle avoidance scenario. These results indicate that combining virtual sentinel obstacles with APF-based planning provides a feasible approach for U-shaped obstacle avoidance by bionic robotic fish.

1. Introduction

Bionic robotic fish combine concealment, maneuverability, and ecological compatibility, making them promising platforms for applications such as underwater equipment inspection and oil and gas infrastructure monitoring [1,2]. During depth-keeping cruising in complex environments, autonomous task execution requires reliable two-dimensional path planning and obstacle avoidance. Concave obstacles, particularly U-shaped obstacles, can guide a robotic fish into a trapping region from which it cannot readily escape, interrupting the mission and potentially requiring manual intervention. Efficient and reliable obstacle avoidance planning for such environments is therefore important for the practical deployment of bionic robotic fish.
A range of methods has been developed for two-dimensional obstacle avoidance by underwater robots. Classical planners such as A* [3] and rapidly exploring random trees (RRTs) [4] can generate global paths, but their paths may require further smoothing and their search cost can increase in complex environments. Direct sensor-based control provides a reactive alternative [5], whereas recent studies have applied water wave optimization [6], differential evolution [7], beetle swarm optimization [8], event-triggered soft actor–critic learning [9], and salp swarm optimization [10].
Related marine robotics studies have also considered integrated motion planning and control for unmanned surface vessels [11], path planning with moving obstacles under environmental uncertainty [12], and fuzzy consensus control for coordinated multi-ship steering [13]. In this context, fuzzy control offers a rule-based way to convert measured states into motion commands. Its input–output mapping can be generated offline and stored as lookup tables, avoiding online training or population-based search. These studies demonstrate the broader value of computationally efficient planning and fuzzy control structures in marine robotic systems, although they do not directly address APF entrapment around static U-shaped obstacles.
The artificial potential field (APF) method is attractive for underwater obstacle avoidance because it requires relatively little computation and naturally generates smooth motion commands. Its main limitation is susceptibility to local minima, which can make the target unreachable in concave environments such as those containing U-shaped obstacles. Existing remedies generally modify either the guidance mechanism or the potential field model. Zhang et al. introduced virtual goal points to guide a mobile robot around linear obstacles [14]. Xie et al. generated a virtual water flow after detecting that a robot had become trapped [15], while Liu et al. combined RRT with APF and used RRT-generated subgoals to guide an autonomous underwater vehicle out of local minima [16]. Other studies modified the potential field formulation itself: Ge et al. incorporated dispersion, directional consistency, and regional differences into a potential field for multiple autonomous underwater vehicles [17], and Xing et al. fused gyroscope and rangefinder data to improve the potential field function [18]. Most of these methods respond to an emerging or detected trapping condition by introducing additional guidance, escape actions, or field adjustments. Around U-shaped obstacles, such post-trapping processing can require extra online detection, escape search, or replanning, increasing the computational burden on the underwater platform.
To address this limitation, this study places a virtual sentinel obstacle outside the opening of a U-shaped obstacle to reshape the local potential field before the robotic fish enters the trapping region. A two-stage fuzzy controller then adjusts the heading and cruising step size of the virtual sentinel obstacle APF. The strategy is evaluated through numerical simulations and experiments on a self-developed bionic robotic fish platform.

2. Virtual Sentinel Obstacle Avoidance Strategy

2.1. Simplification of the U-Shaped Obstacle in the APF

Obstacles in underwater environments can have irregular geometries, including the U-shaped obstacle shown in Figure 1a. For APF analysis, the U-shaped boundary is represented by a series of circular obstacles, and the target is represented by a point (Figure 1b). The bionic robotic fish is approximated by a point at its center of mass.
In the APF, the target exerts an attractive force F att directed from the current fish position toward the target. Obstacle i exerts a repulsive force F rep i directed from that obstacle toward the current position. For n obstacles, the total repulsive force is
F rep total = i = 1 n F rep i , n 1 .
The resultant force acting on the bionic robotic fish is
F = F att + F rep total .
Near or inside the U-shaped obstacle, the attractive and total repulsive forces can oppose and balance each other (Figure 1b). The resultant force then approaches zero before the target is reached, producing a local minimum that can trap the bionic robotic fish.

2.2. Virtual Sentinel Obstacle Strategy

Most escape-oriented APF methods respond after the robot has entered a concave region or stagnation has been detected. The virtual sentinel obstacle strategy instead modifies the resultant force near the entrance of a U-shaped obstacle before the robotic fish reaches the local minimum region. Let the start and target points be denoted by start and goal, respectively. The point P 0 = ( x 0 , y 0 ) is the entrance point at which the original APF trajectory begins to enter the U-shaped obstacle. Without a virtual sentinel obstacle, the fish proceeds from P 0 into the cavity and becomes trapped at ( x 1 , y 1 ) , as illustrated in Figure 2a.
Let s = ( x s , y s ) denote the center of the virtual sentinel obstacle. The deployment rule is constructed in two stages. First, an ideal candidate region is defined within a distance r 0 of P 0 on the entrance-side:
( x s x 0 ) 2 + ( y s y 0 ) 2 r 0 2 , x s x 0 .
Here, r 0 is the maximum admissible distance between P 0 and the center of the virtual sentinel obstacle, and ρ 0 is its repulsive influence radius. The distance constraint keeps the center close enough to intercept the incoming APF trajectory. The inequality x s x 0 selects the entrance-side half-neighborhood represented by the solid boundary in Figure 2b. If every candidate center has the same influence radius ρ 0 , the outer envelope of the candidate influence disks is bounded by
( q x x 0 ) 2 + ( q y y 0 ) 2 ( r 0 + ρ 0 ) 2 , q x x 0 ,
where q = ( q x , q y ) is an arbitrary point in the entrance-side influence envelope. The dashed boundary in Figure 2b denotes the corresponding r 0 + ρ 0 envelope. For Equations (3)–(6), the local coordinate frame is aligned so that the positive x-direction points from P 0 toward the obstacle interior; a rotated obstacle can be treated by applying the same constraints in its local frame. Let O i = ( x i , y i ) denote the nearest obstacle point on the upper entrance edge. To keep the virtual sentinel obstacle outside the cavity, its center is restricted to the entrance-side region bounded by P 0 and O i . The feasible center set is therefore
D = s : ( x s x 0 ) 2 + ( y s y 0 ) 2 r 0 2 , x s x i , y 0 y s y i .
Equation (5) defines where the center of the virtual sentinel obstacle may be placed, and the resulting feasible region is shown in Figure 2c. For a selected center s D , the virtual sentinel obstacle acts on points within ρ 0 . The influence region associated with all admissible centers is therefore
I ( D , ρ 0 ) = s D q : q s ρ 0 q : q p 0 r 0 + ρ 0 ,
where p 0 = ( x 0 , y 0 ) is the position vector of P 0 , D is the feasible center set defined in Equation (5), and I ( D , ρ 0 ) is the union of the influence disks generated by all centers in D . Equations (5) and (6) therefore have different roles. Equation (5) constrains the center position, whereas Equation (6) describes the region in which an admissible virtual sentinel obstacle can modify the APF trajectory.
The force requirement can be obtained by projecting the resultant force onto the outward normal of the local entrance boundary through P 0 . Let n out be the unit normal directed from this boundary toward the free-space side, and let F 0 ( P 0 ) be the resultant APF force at P 0 without the virtual sentinel obstacle. In the simulation, the virtual sentinel obstacle uses the same repulsive coefficient k rep as the real obstacles; no additional gain is introduced. Dividing all force terms by this common coefficient gives F ˜ 0 = F 0 / k rep . The normalized inward component is
F ˜ in = max 0 , F ˜ 0 ( P 0 ) · n out .
For a candidate center s , define d 0 = p 0 s and u s = ( p 0 s ) / d 0 . The corresponding normalized force generated by the virtual sentinel obstacle is
F ˜ s ( P 0 ) = ϕ ( d 0 , ρ 0 ) u s , ϕ ( d 0 , ρ 0 ) = 1 d 0 1 ρ 0 1 d 0 2 , d 0 < ρ 0 , 0 , d 0 ρ 0 .
Let c = u s · n out . A candidate center can oppose entry only when c > 0 . The virtual sentinel obstacle prevents an inward resultant force at P 0 when
d 0 < ρ 0 , c > 0 , ϕ ( d 0 , ρ 0 ) c F ˜ in ,
because Equation (9) gives ( F ˜ 0 + F ˜ s ) · n out 0 at the entrance. This projection condition provides the mechanical basis for the geometric rules. Equation (5) supplies candidate centers close to and outside the entrance. Equation (6) requires the incoming trajectory to lie within the influence region of the virtual sentinel obstacle. Equation (9) rejects candidates whose repulsive direction or magnitude cannot counter the inward APF component. For the simulated placement P 0 = ( 10 , 9 ) and s = ( 11 , 9 ) , the free-space normal is n out = ( 1 , 0 ) , giving d 0 = 1 , c = 1 , ϕ = 0.5 , and F ˜ in = 0.04 . Thus, the condition 0.5 0.04 is satisfied. The implemented planner selects the lowest-potential point from eight neighboring candidates. Equation (9) is therefore a local directional consistency condition for the underlying continuous potential field rather than a proof of global convergence. The resulting discrete trajectory is verified separately by simulation. The parameter r 0 controls how far the center may be placed from P 0 , whereas ρ 0 controls both whether the entrance is reached and the repulsive magnitude there. If either parameter is too small, the virtual sentinel obstacle may fail to intercept the trajectory. If either parameter is excessive, the path may become unnecessarily conservative or a new equilibrium may be introduced.

2.3. Simulation and Parameter Sensitivity Analysis

The simulated trajectories were evaluated using path length, minimum obstacle clearance, and a smoothness index. For a path containing n points p i = ( x i , y i ) , the path length is
L = i = 1 n 1 p i + 1 p i 2 .
For circular obstacle j with center o j and radius R j , the minimum clearance is
d min = min i , j p i o j 2 R j .
Path smoothness is measured by the accumulated absolute change in heading:
S = i = 1 n 2 wrap [ π , π ) θ i + 1 θ i , θ i = atan2 y i + 1 y i , x i + 1 x i .
A smaller S indicates fewer or weaker heading changes. Successful avoidance requires arrival at the target together with positive minimum clearance.
MATLAB R2023a simulations were conducted in a fixed U-shaped obstacle environment. The four ordinary obstacles are centered at ( 5 , 5 ) , ( 5 , 10 ) , ( 8 , 6 ) , and ( 7 , 9 ) , and the U-shaped obstacle is formed by circular obstacles centered at ( 10 , 10 ) , ( 10 , 11 ) , ( 10 , 12 ) , ( 10 , 13 ) , ( 11 , 13 ) , ( 12 , 13 ) , ( 13 , 13 ) , ( 14 , 13 ) , ( 14 , 12 ) , ( 14 , 11 ) , and ( 14 , 10 ) . The start and target points are ( 1 , 1 ) and ( 14 , 15 ) , respectively. Without a virtual sentinel obstacle, the conventional APF did not reach the target and terminated with a final target distance of 4.155 m after the maximum path length of 200 m.
The joint sensitivity of the deployment radius and influence radius was then evaluated using r 0 = { 0.5 , 1.0 , 1.5 , 2.0 } m and ρ 0 = { 1.0 , 1.5 , 2.0 , 2.5 } m. Here, P 0 = ( 10 , 9 ) and O i = ( 10 , 10 ) . For each r 0 , the representative boundary center s = ( x 0 + r 0 , y 0 ) was selected from Equation (5); thus, d 0 = r 0 and c = 1 . Equation (9) was first used as a local screening condition, whereas successful avoidance was determined from the complete discrete trajectory by requiring target arrival and positive clearance from all real obstacles.
As shown in Figure 3, 9 of the 16 parameter combinations satisfied the local condition in Equation (9), but only 6 reached the target. The combinations ( r 0 , ρ 0 ) = ( 0.5 , 1.0 ) , ( 1.0 , 1.5 ) , and ( 1.5 , 2.0 ) m passed the local screening but failed in the complete discrete trajectory, confirming that Equation (9) is not a global convergence condition. Successful avoidance required ρ 0 1.5 m for r 0 = 0.5 m, ρ 0 2.0 m for r 0 = 1.0 m, and ρ 0 = 2.5 m for r 0 = 1.5 m. None of the tested influence radii succeeded when r 0 = 2.0 m. This trend agrees with the geometric interpretation that a virtual sentinel obstacle placed farther from the entrance requires a larger influence radius. The selected setting r 0 = 1.0 m and ρ 0 = 2.0 m places its center at ( 11 , 9 ) , satisfies 0.5 0.04 in Equation (9), reaches the target with a path length of 23.800 m, and maintains a minimum clearance of 0.811 m.

3. Fuzzy Control Optimization

The virtual sentinel obstacle can increase path updates near ordinary obstacles. A two-stage Mamdani fuzzy controller [19] is therefore used to coordinate heading rotation and cruising step size while retaining a low-cost lookup-table implementation.

3.1. Design of Fuzzy Controller

The first stage maps obstacle distance d obs and the angle γ obs between the repulsive and resultant forces to heading rotation γ rot . The second stage maps target distance d g and γ rot to cruising speed variable ν f . Directional variables use seven linguistic states {NB, NM, NS, M, PS, PM, PB}, whereas distance and speed variables use five states {VS, S, M, B, VB}. Angles in [ π , π ] are mapped to [ 3 , 3 ] , distances are bounded to [ 0 , 16 ] , and ν f [ 1 , 1 ] is converted to the step-size scale ( ν f + 1 ) / 2 . Triangular membership functions were selected for their piecewise-linear evaluation and continuous overlap (Figure 4).
Table 1 and Table 2 give the first- and second-stage rule bases.
The rules impose three constraints: γ rot follows the avoidance direction, its magnitude increases for closer obstacles or stronger angular conflict, and the cruising step decreases near the target or during large rotations. Mamdani inference uses minimum implication, maximum aggregation, unit rule weights, and centroid defuzzification:
Q 0 = Ω q μ ( q ) d q Ω μ ( q ) d q ,
where Q 0 is the defuzzified output, q is the output-domain variable, μ ( q ) is the aggregated membership degree, and Ω is the output universe. The resulting input–output surfaces are discretized offline; online control requires only input scaling and lookup of the heading and step-size commands.

3.2. Sensitivity of the Fuzzy Controller

Under the same U-shaped environment and virtual sentinel obstacle position, the sensitivity analysis varied the controller stages, membership shape, defuzzification method, and rule weight. APF with the virtual sentinel obstacle but without fuzzy adjustment was included as the reference. Path length, clearance, and smoothness were calculated using Equations (10)–(12) (Table 3).
The sensitivity comparison showed that path quality depended on controller tuning. Mean-of-maximum gave the shortest path (23.290 m), whereas the triangular–centroid controller gave a comparable path (23.371 m) and the lowest smoothness index among the tested defuzzification methods (10.996 rad). The single-stage, Gaussian, bisector, and rule-weight-0.6 settings produced substantially longer or more oscillatory paths. The triangular–centroid structure was therefore retained as the best path-length–smoothness compromise in the tested environment.

3.3. Simulation Analysis

To complement the controller tuning analysis under the fixed U-shaped environment in Section 3.2, additional simulations varied the U-shaped geometry and virtual sentinel obstacle configuration. Here, W denotes the obstacle-opening width and D denotes the concavity depth. Figure 5a uses a wider and shallower opening ( W = 4.5 m, D = 2.5 m) with ρ 0 = 3.0 m. Figure 5b uses a narrower and deeper concavity ( W = 3.0 m, D = 4.0 m) with ρ 0 = 2.0 m. Figure 5c contains two U-shaped obstacles and uses one virtual sentinel obstacle for each U-shaped obstacle, with ρ 0 = 2.5 m. A staged path with the second virtual sentinel obstacle omitted isolates the effect of the multi-sentinel configuration.
The geometric-layout comparison further quantified the effect of fuzzy adjustment. In the wider and shallower case, fuzzy control reduced the path length from 23.200 to 22.519 m and the smoothness index from 52.622 to 12.763 rad. In the narrower and deeper case, it reduced the path length from 23.100 to 22.665 m and the smoothness index from 29.060 to 9.032 rad. Its effect remained evident in the two-U environment, reducing the path length from 24.200 to 23.002 m and the smoothness index from 29.845 to 8.247 rad. Thus, the strategy preserved its obstacle avoidance capability under geometric changes and provided greater optimization in the more complex layout.

4. Experiments and Results Analysis

4.1. Prototype of Bionic Robotic Fish and Experimental Platform

A bionic robotic fish was developed as the experimental prototype. An STM32F407VET6 microcontroller executes the onboard control commands at an update frequency of 50 Hz, and the prescribed oscillation frequency is 2 Hz. A shore-based computer transmits the start command through wireless communication. The experiments were conducted in a circular pool with a diameter of 6 m (Figure 6), which provided a larger test space than the tank used in the original submission. A 4 m × 4 m square near the center of the pool defined the experimental area and the world coordinate domain. Centering the motion layout increased its distance from the pool wall and was intended to reduce wall-induced interference. An overhead camera recorded the motion for subsequent trajectory digitization. The dimension line in Figure 6b marks the 6 m pool diameter, while the horizontal and vertical dimension lines in Figure 6c mark the 4 m × 4 m experimental area.
The origin O was placed at the lower-left corner of the square experimental area in Figure 6c. The positive x-axis points to the right, and the positive y-axis points upward, defining the world coordinate system used to describe the planar motion of the robotic fish.
The physical obstacle positions were expressed in this coordinate system. The U-shaped obstacle was 1.4 m long and 0.6 m wide. Table 4 lists its center and the ordinary obstacle coordinates for each arrangement. The virtual sentinel obstacle was deployed according to Section 2.2.

4.2. Experimental Results

The virtual sentinel obstacle strategy was evaluated under the three obstacle arrangements in Table 4. Each method was evaluated in five runs under each arrangement. The 50 Hz control update, 2 Hz oscillation, and 1 s camera-based position sampling served different purposes: the first updated the motion command, the second prescribed the oscillatory motion, and the third generated the recorded trajectory. The overhead camera images yielded a discrete time-ordered set of planar localization points for each run. Figure 7a–c superimposes representative fish positions at 0, 3, 6, and 12 s. Red circles denote ordinary obstacles, and the red U-shaped boundary denotes the concave obstacle. The representative sequences show the fish passing the obstacle region without becoming trapped inside the U-shaped obstacle.
After each run, the x- and y-coordinate sequences were linearly interpolated with respect to time. The interpolated coordinates were connected chronologically to reconstruct a continuous piecewise-linear trajectory. The start and target positions were ( 0.20 , 0.20 ) and ( 3.80 , 3.80 ) m, respectively. Figure 8 shows the five reconstructed trajectories for each method and arrangement. The average path length and accumulated heading change for each method–arrangement group were calculated from these five runs.
To remove the effects of the original 1 s temporal sampling interval and local variations in swimming speed, each interpolated trajectory was resampled at a uniform arc-length interval of 0.04 m. Path length was calculated from the resampled coordinates using Equation (10). For each pair of consecutive resampled points, the segment heading was obtained using the atan2 definition in Equation (12). The smoothness index was then calculated by summing the absolute wrapped heading changes between adjacent segments. Thus, the complete experimental processing chain comprised 1 s position sampling, time-domain linear interpolation, 0.04 m arc-length resampling, and equation-based metric calculation. Figure 9 reports the average values across five runs. For arrangements 1–3, fuzzy control reduced the average path length from 5.520 to 5.371 m, from 5.920 to 5.731 m, and from 5.416 to 5.350 m, respectively. The corresponding average smoothness indices decreased from 36.757 to 6.532 rad, from 64.874 to 15.900 rad, and from 30.002 to 8.564 rad. Across the three tested arrangements, the virtual sentinel obstacle prevented entry into the U-shaped local minimum region, whereas the fuzzy controller reduced unnecessary detours and abrupt heading changes. The combined method retains the low computational complexity and online interpretability of APF-based control while improving path efficiency and motion continuity for a resource-constrained robotic fish.

5. Conclusions

This study proposes a virtual sentinel obstacle APF strategy and a two-stage fuzzy controller for robotic fish avoidance of U-shaped obstacles. Simulations and pool experiments show that the virtual sentinel obstacle redirects the fish before it enters the concave local minimum region. After the experimental trajectories were resampled at a common spatial interval, fuzzy control shortened the path and reduced accumulated heading change in all three tested arrangements. By preventing entrapment rather than initiating an escape after entrapment, the virtual sentinel obstacle preserves the simple force-based structure of the conventional APF. The fuzzy controller further adjusts heading and step size online without iterative global optimization or offline training. Together, these features provide a computationally lightweight, interpretable, and experimentally feasible solution for real-time obstacle avoidance on robotic fish with limited onboard resources.
The present method remains limited to static U-shaped obstacles during two-dimensional, depth-keeping motion. The experiments were performed in a large pool with the motion layout positioned near its center to reduce wall-induced interference, but the results should not be extrapolated to environments with water currents, dynamic obstacles, or severe visual occlusion. Virtual sentinel obstacle placement assumes reliable detection of the obstacle entrance and geometry; detection error or occlusion could therefore produce an unsuitable placement. Multiple closely spaced U-shaped obstacles may produce overlapping repulsive fields and require coordinated deployment. In addition, an unsuitable center position or influence radius could create a new local minimum or an unnecessary detour.
Future work will investigate localization calibration, onboard timing measurements, uncertainty-aware perception, adaptive placement of multiple virtual sentinel obstacles, current disturbances, dynamic obstacles, and extension to three-dimensional motion.

Author Contributions

Conceptualization, Y.T. and Z.W.; methodology, Y.T.; software, Y.T. and P.G.; validation, Y.T., R.W., X.H. and Q.D.; formal analysis, Y.T.; investigation, Y.T., R.W. and P.G.; resources, Z.W.; data curation, Y.T. and R.W.; writing—original draft preparation, Y.T.; writing—review and editing, Z.W., R.W., X.H. and Q.D.; visualization, Y.T. and P.G.; supervision, Z.W.; project administration, Z.W.; funding acquisition, Z.W. All authors have read and agreed to the published version of the manuscript.

Funding

This research was funded by the Guangzhou Municipal Key Science and Technology Project, grant number 2023B03J1328.

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

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

Conflicts of Interest

The authors declare no conflicts of interest.

Abbreviations

The following abbreviations are used in this manuscript:
APFArtificial potential field
RRTRapidly exploring random tree
AUVAutonomous underwater vehicle

References

  1. Koiri, M.K.; Sharma, A.K.; Jha, A.; Kumar, J. A comprehensive review of bio-inspired swimming in robotic fishes. Sens. Actuators A Phys. 2025, 394, 116913. [Google Scholar] [CrossRef]
  2. Masud, M.H.; Ankhi, I.J.; Faisal, A.K.M.; Alam, M.M. Translating marine biology into engineering: A review of biomimicry and its applications. Ocean Eng. 2025, 339, 122108. [Google Scholar] [CrossRef]
  3. Wang, H.; Jiang, Y.L. Robotic fish path planning based on an improved A* algorithm. Appl. Mech. Mater. 2013, 336–338, 968–972. [Google Scholar] [CrossRef]
  4. Fu, Y.; Chen, K.; He, L.; Wang, H.T. Path planning for robotic fish based on improved RRT* algorithm and dynamic window approach. Ind. Robot 2024, 51, 671–682. [Google Scholar] [CrossRef]
  5. Choi, S.; Lee, H.; Lee, D.; Lee, J. Obstacle avoidance algorithm of the underwater robot in the underwater environment. In Proceedings of the 2012 IEEE/ASME International Conference on Advanced Intelligent Mechatronics (AIM); IEEE: New York, NY, USA, 2012; pp. 369–373. [Google Scholar]
  6. Yan, Z.; Zhang, J.; Tang, J. Path planning for autonomous underwater vehicle based on an enhanced water wave optimization algorithm. Math. Comput. Simul. 2021, 181, 192–241. [Google Scholar] [CrossRef]
  7. Li, J.; Zhang, R.; Yang, Y. Research on route obstacle avoidance task planning based on differential evolution algorithm for AUV. In Advances in Swarm Intelligence; Tan, Y., Shi, Y., Coello, C.A.C., Eds.; Springer International Publishing: Cham, Switzerland, 2014; pp. 106–113. [Google Scholar]
  8. Mu, Y.; Qiao, J.; Liu, J.; An, D.; Wei, Y. Path planning with multiple constraints and path following based on model predictive control for robotic fish. Inf. Process. Agric. 2022, 9, 91–99. [Google Scholar] [CrossRef]
  9. Xu, J.; Huang, F.; Wu, D.; Cui, Y.; Yan, Z.; Du, X. A learning method for AUV collision avoidance through deep reinforcement learning. Ocean Eng. 2022, 260, 112038. [Google Scholar] [CrossRef]
  10. Guo, X.; Zhao, D.; Fan, T.; Long, F.; Fang, C.; Long, Y. Autonomous underwater vehicle path planning based on improved salp swarm algorithm. J. Mar. Sci. Eng. 2024, 12, 1446. [Google Scholar] [CrossRef]
  11. Liang, H.; Li, H.; Shi, Y.; Constantinescu, D.; Xu, D. Energy-efficient integrated motion planning and control for unmanned surface vessels. IEEE Trans. Control. Syst. Technol. 2024, 32, 250–257. [Google Scholar] [CrossRef]
  12. Tao, X.; Lang, N.; Li, H.; Xu, D. Path planning in uncertain environment with moving obstacles using warm start cross entropy. IEEE/ASME Trans. Mechatron. 2022, 27, 800–810. [Google Scholar] [CrossRef]
  13. Arockia Samy, S.; Naeem, H.M.Y.; Ullah, I.; Bai, X.; Wu, Z.; Li, J. Secure aperiodic sampling delay H consensus control for T–S fuzzy multi-agent systems with actuator faults: Its application to intelligent multi-ship steering unmanned pilots. Ocean Eng. 2026, 345, 123620. [Google Scholar] [CrossRef]
  14. Zhang, Y. Improved artificial potential field method for mobile robots path planning in a corridor environment. In Proceedings of the 19th IEEE International Conference on Mechatronics and Automation (IEEE ICMA); IEEE: New York, NY, USA, 2022; pp. 185–190. [Google Scholar]
  15. Xie, L.; Chen, H.; Xie, G. Artificial potential field based path planning for mobile robots using virtual water-flow method. In Advanced Concepts for Intelligent Vision Systems; Loog, M., Heutte, L., Huang, D., Eds.; Springer: Dordrecht, The Netherlands, 2007; pp. 588–595. [Google Scholar]
  16. Liu, J.; Yan, Y.; Yang, Y.; Li, J. An improved artificial potential field UAV path planning algorithm guided by RRT under environment-aware modeling: Theory and simulation. IEEE Access 2024, 12, 12080–12097. [Google Scholar] [CrossRef]
  17. Ge, H.; Chen, G.; Xu, G. Multi-AUV cooperative target hunting based on improved potential field in a surface-water environment. Appl. Sci. 2018, 8, 973. [Google Scholar] [CrossRef]
  18. Xing, T.; Wang, X.; Ding, K.; Ni, K.; Zhou, Q. Improved artificial potential field algorithm assisted by multisource data for AUV path planning. Sensors 2023, 23, 6680. [Google Scholar] [CrossRef] [PubMed]
  19. Mamdani, E.H.; Assilian, S. An experiment in linguistic synthesis with a fuzzy logic controller. Int. J. Man-Mach. Stud. 1975, 7, 1–13. [Google Scholar] [CrossRef]
Figure 1. Physical and APF representations of a U-shaped obstacle. (a) Physical scene, with red markings indicating the obstacle boundary, robotic fish, and target. (b) APF model, where the dark- and light-blue circles denote obstacle elements and the target, respectively.
Figure 1. Physical and APF representations of a U-shaped obstacle. (a) Physical scene, with red markings indicating the obstacle boundary, robotic fish, and target. (b) APF model, where the dark- and light-blue circles denote obstacle elements and the target, respectively.
Sensors 26 04990 g001
Figure 2. Virtual sentinel obstacle placement and feasible deployment regions. (a) APF trajectory without a virtual sentinel obstacle. (b) Ideal candidate region. (c) Actual feasible region. Red circles denote obstacles.
Figure 2. Virtual sentinel obstacle placement and feasible deployment regions. (a) APF trajectory without a virtual sentinel obstacle. (b) Ideal candidate region. (c) Actual feasible region. Red circles denote obstacles.
Sensors 26 04990 g002
Figure 3. Path sensitivity to r 0 and ρ 0 for (a) r 0 = 0.5 m, (b) r 0 = 1.0 m, (c) r 0 = 1.5 m, and (d) r 0 = 2.0 m. Red circles indicate obstacles; colored lines show trajectories for the ρ 0 values in the legend.
Figure 3. Path sensitivity to r 0 and ρ 0 for (a) r 0 = 0.5 m, (b) r 0 = 1.0 m, (c) r 0 = 1.5 m, and (d) r 0 = 2.0 m. Red circles indicate obstacles; colored lines show trajectories for the ρ 0 values in the legend.
Sensors 26 04990 g003
Figure 4. Triangular membership functions of the two-stage fuzzy controller: γ obs ; d obs ; ν f .
Figure 4. Triangular membership functions of the two-stage fuzzy controller: γ obs ; d obs ; ν f .
Sensors 26 04990 g004
Figure 5. Obstacle avoidance paths under different U-shaped obstacle geometries: (a) wider and shallower U-shaped obstacle; (b) narrower and deeper U-shaped obstacle; (c) two U-shaped obstacles. Red circles denote obstacles.
Figure 5. Obstacle avoidance paths under different U-shaped obstacle geometries: (a) wider and shallower U-shaped obstacle; (b) narrower and deeper U-shaped obstacle; (c) two U-shaped obstacles. Red circles denote obstacles.
Sensors 26 04990 g005
Figure 6. Bionic robotic fish and experimental platform: (a) robotic fish prototype; (b) circular pool with a diameter of 6 m; (c) 4 m × 4 m experimental area.
Figure 6. Bionic robotic fish and experimental platform: (a) robotic fish prototype; (b) circular pool with a diameter of 6 m; (c) 4 m × 4 m experimental area.
Sensors 26 04990 g006
Figure 7. Representative obstacle avoidance sequences under (a) arrangement 1, (b) arrangement 2, and (c) arrangement 3. Labels show fish positions at 0, 3, 6, and 12 s. Red circles and red U-shaped outlines denote obstacles; black circles denote virtual sentinel obstacles.
Figure 7. Representative obstacle avoidance sequences under (a) arrangement 1, (b) arrangement 2, and (c) arrangement 3. Labels show fish positions at 0, 3, 6, and 12 s. Red circles and red U-shaped outlines denote obstacles; black circles denote virtual sentinel obstacles.
Sensors 26 04990 g007
Figure 8. Repeated experimental trajectories under three obstacle arrangements: (a,b) arrangement 1; (c,d) arrangement 2; and (e,f) arrangement 3. Panels (a,c,e) show results without fuzzy control, whereas panels (b,d,f) show results with fuzzy control. Blue and orange lines distinguish the two methods, respectively; different line styles denote Runs 1–5.
Figure 8. Repeated experimental trajectories under three obstacle arrangements: (a,b) arrangement 1; (c,d) arrangement 2; and (e,f) arrangement 3. Panels (a,c,e) show results without fuzzy control, whereas panels (b,d,f) show results with fuzzy control. Blue and orange lines distinguish the two methods, respectively; different line styles denote Runs 1–5.
Sensors 26 04990 g008
Figure 9. Experimental comparison of path length and accumulated heading change: (a) average path length across the three obstacle arrangements; (b) average accumulated heading change across the three obstacle arrangements. Blue circles denote the virtual-sentinel APF, and orange squares denote the fuzzy virtual-sentinel APF. Each point represents the mean of five runs.
Figure 9. Experimental comparison of path length and accumulated heading change: (a) average path length across the three obstacle arrangements; (b) average accumulated heading change across the three obstacle arrangements. Blue circles denote the virtual-sentinel APF, and orange squares denote the fuzzy virtual-sentinel APF. Each point represents the mean of five runs.
Sensors 26 04990 g009
Table 1. First-stage fuzzy control rule base for γ rot .
Table 1. First-stage fuzzy control rule base for γ rot .
γ obs NBNMNSMPSPMPB
d obs
VSNBNBNMNSPMPBPB
SNBNMNMNSPMPMPB
MNMNMNSMPSPMPM
BNSNSMPSMPSPS
VBMMMPSMMM
Note: The column variable is γ obs , the row variable is d obs , and each intersection gives the output linguistic value of γ rot .
Table 2. Second-stage fuzzy control rule base for ν f .
Table 2. Second-stage fuzzy control rule base for ν f .
γ rot NBNMNSMPSPMPB
d g
VSVSVSVSVSVSVSVS
SVSSSSSVSPB
MSSMMMSS
BSMBBBMS
VBMBVBVBVBBM
Note: The column variable is γ rot , the row variable is d g , and each intersection gives the output linguistic value of ν f .
Table 3. Sensitivity of the fuzzy controller design choices.
Table 3. Sensitivity of the fuzzy controller design choices.
ControllerMFDefuzz.WeightPath/m d min /mS/rad
No fuzzy control23.8000.81136.128
Single-stageTriangularCentroid1.053.7500.588611.825
Two-stageTriangularCentroid1.023.3710.69610.996
Two-stageGaussianCentroid1.049.7190.589653.059
Two-stageTriangularBisector1.051.7280.591666.803
Two-stageTriangularMean of max.1.023.2900.69415.708
Two-stageTriangularCentroid0.823.3910.70810.996
Two-stageTriangularCentroid0.648.6330.590616.930
MF: membership function; Defuzz.: defuzzification method.
Table 4. Obstacle dimensions and coordinates for the experimental arrangements.
Table 4. Obstacle dimensions and coordinates for the experimental arrangements.
ArrangementU-Shaped Obstacle SizeU-Shaped Obstacle CenterOrdinary Obstacle Centers
1 1.4 m × 0.6 m ( 2.00 , 1.50 ) ( 2.25 , 3.65 ) ; ( 1.60 , 3.40 ) ; ( 3.00 , 2.40 )
2 1.4 m × 0.6 m ( 2.00 , 2.25 ) ( 1.20 , 1.75 ) ; ( 2.75 , 1.60 ) ; ( 3.50 , 2.50 )
3 1.4 m × 0.6 m ( 3.00 , 2.25 ) ( 1.00 , 1.65 ) ; ( 2.10 , 1.10 ) ; ( 1.20 , 2.45 )
Coordinates are reported in metres as ( x , y ) . The obstacle size is given as length × width.
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

Tong, Y.; Wan, Z.; Wang, R.; Guan, P.; Hu, X.; Dai, Q. U-Shaped Obstacle Avoidance for a Bionic Robotic Fish: A Virtual Sentinel Obstacle Strategy Based on the Artificial Potential Field Method. Sensors 2026, 26, 4990. https://doi.org/10.3390/s26154990

AMA Style

Tong Y, Wan Z, Wang R, Guan P, Hu X, Dai Q. U-Shaped Obstacle Avoidance for a Bionic Robotic Fish: A Virtual Sentinel Obstacle Strategy Based on the Artificial Potential Field Method. Sensors. 2026; 26(15):4990. https://doi.org/10.3390/s26154990

Chicago/Turabian Style

Tong, Yijin, Zhenping Wan, Ruolin Wang, Pengxi Guan, Xiangyu Hu, and Qingya Dai. 2026. "U-Shaped Obstacle Avoidance for a Bionic Robotic Fish: A Virtual Sentinel Obstacle Strategy Based on the Artificial Potential Field Method" Sensors 26, no. 15: 4990. https://doi.org/10.3390/s26154990

APA Style

Tong, Y., Wan, Z., Wang, R., Guan, P., Hu, X., & Dai, Q. (2026). U-Shaped Obstacle Avoidance for a Bionic Robotic Fish: A Virtual Sentinel Obstacle Strategy Based on the Artificial Potential Field Method. Sensors, 26(15), 4990. https://doi.org/10.3390/s26154990

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