Trajectory Tracking and Obstacle Avoidance of Robotic Fish Based on Nonlinear Model Predictive Control

Biomimetics (Basel). 2023 Nov 6;8(7):529. doi: 10.3390/biomimetics8070529.

Abstract

The attainment of accurate motion control for robotic fish inside intricate underwater environments continues to be a substantial obstacle within the realm of underwater robotics. This paper presents a proposed algorithm for trajectory tracking and obstacle avoidance planning in robotic fish, utilizing nonlinear model predictive control (NMPC). This methodology facilitates the implementation of optimization-based control in real-time, utilizing the present state and environmental data to effectively regulate the movements of the robotic fish with a high degree of agility. To begin with, a dynamic model of the robotic fish, incorporating accelerations, is formulated inside the framework of the world coordinate system. The last step involves providing a detailed explanation of the NMPC algorithm and developing obstacle avoidance and objective functions for the fish in water. This will enable the design of an NMPC controller that incorporates control restrictions. In order to assess the efficacy of the proposed approach, a comparative analysis is conducted between the NMPC algorithm and the pure pursuit (PP) algorithm in terms of trajectory tracking. This comparison serves to affirm the accuracy of the NMPC algorithm in effectively tracking trajectories. Moreover, a comparative analysis between the NMPC algorithm and the dynamic window approach (DWA) method in the context of obstacle avoidance planning highlights the superior resilience of the NMPC algorithm in this domain. The proposed strategy, which utilizes NMPC, demonstrates a viable alternative for achieving precise trajectory tracking and efficient obstacle avoidance planning in the context of robotic fish motion control within intricate surroundings. This method exhibits considerable potential for practical implementation and future application.

Keywords: DWA; NMPC; obstacle avoidance; robotic fish; trajectory tracking.