1. Introduction
Biofouling significantly degrades water quality in marine aquaculture. This affects aquaculture product yield, leading to annual economic losses of approximately USD 1.5 to USD 3 billion [
1,
2]. The design of underwater cleaning robots that can enhance economic efficiency is of great significance. The precise six-degree-of-freedom (6-DOF) trajectory tracking of Remotely Operated Vehicles has substantial research value. ROVs are widely used in fields such as military reconnaissance and marine aquaculture, significantly improving operational safety and efficiency, particularly in hazardous or inaccessible environments [
3,
4]. As the complexity of the operational environment increases, ROV control systems face significant challenges in dealing with structural nonlinearities, external disturbances, and spatial constraints. These factors not only exacerbate system uncertainties, but also impose higher demands on real-time trajectory tracking [
3]. Developing advanced control strategies that effectively manage system nonlinearities and external disturbances has become crucial.
In the field of ROV control, several methods have been proposed to handle uncertainties and external disturbances. These include traditional control approaches like Proportional–Integral–Derivative (PID) control [
5,
6] and more advanced techniques such as Fuzzy Logic Control (FLC) [
7], sliding mode control (SMC) [
8], Model Predictive Control (MPC) [
9,
10], and neural network control (NNC) [
11,
12]. Each approach presents distinct advantages in specific scenarios; however, these approaches also encounter inherent limitations when applied in the dynamic and nonlinear marine environment.
Although PID control is widely employed due to its simplicity and ease of implementation, its performance is constrained in regard to dynamic systems and when subject to significant external disturbances. Research has shown that PID control can effectively regulate ROV motion over short durations. For instance, a study utilizing Simulink simulations demonstrated PID’s effectiveness in controlling surge, heave, and yaw, maintaining stability at a set position for approximately 3 to 4 s [
5]. However, when faced with the nonlinearities and substantial disturbances characteristic of marine environments, PID control performs inadequately in terms of long-duration trajectory tracking, failing to sustain precise control. Thus, while PID control proves effective in certain scenarios, its adaptability and robustness in complex marine environments are notably limited.
FLC offers advantages in handling uncertainty and nonlinearities. but also presents notable limitations. Primarily, its reliance on manually defined fuzzy rules reduces its adaptability in dynamic and complex environments. Although combining PID with fuzzy control can improve the precision and response speed through FPGA implementation [
7], issues of computational complexity and real-time performance remain, particularly during long-duration operations in complex settings. While studies suggest that FLC can enhance control accuracy and reduce the response time, its robustness and stability when subject to strong nonlinearities and large disturbances still require improvement. Thus, while FLC performs effectively in regard to certain tasks, its limitations must be addressed for optimized performance in complex underwater environments.
SMC exhibits significant advantages in regard to underwater robot control, particularly due to its robustness in addressing system uncertainties and external disturbances [
8]. However, SMC also has some inherent limitations. Firstly, SMC is prone to causing “chattering” phenomena, especially when approaching the sliding surface, where the system may experience high-frequency oscillations that adversely affect control precision and system smoothness. Although higher-order sliding mode control and adaptive control techniques can alleviate this issue to some extent, completely eliminating chattering remains a challenge in complex underwater environments. While the computational complexity of sliding mode control is typically low, certain applications, such as higher-order or adaptive sliding mode control, significantly increase the computational demands. In real-time underwater robot control, these increased computational requirements may pose challenges to hardware resources, thereby limiting its applicability in regard to embedded systems. Therefore, although sliding mode control offers excellent robustness, further optimization is required to reduce the computational complexity and improve its stability and real-time performance in complex underwater environments.
MPC offers significant advantages in regard to underwater robot control, particularly in effectively handling complex constraints and optimizing trajectory tracking in dynamic environments [
9,
10]. By predicting future states and adjusting control inputs in real time, MPC minimizes trajectory errors, making it especially suitable for high-dimensional and multivariable control systems. However, the primary limitation of MPC lies in its high computational complexity. Each sampling period requires an optimal control problem to be solved, which demands considerable computational resources and may lead to response delays, especially in real-time applications. Underwater robots often operate in complex environments where real-time performance is crucial, presenting challenges for applying MPC in hardware with limited computational capacity. Additionally, MPC relies on precise system models, but the dynamic characteristics of underwater robots are complex and are influenced by environmental factors, meaning modeling errors could limit its practical performance. Therefore, while MPC theoretically offers powerful optimization capabilities, its computational complexity and reliance on model accuracy remain significant bottlenecks for its application in underwater robot control [
13].
NNC demonstrates strong adaptability in regard to underwater robot control, effectively addressing complex nonlinear dynamics and external disturbances [
11,
12]. However, the application of NNC also presents certain limitations. Firstly, the training process of neural networks requires a large amount of high-quality data, and the complexity and dynamic nature of the underwater environment make data collection a significant challenge. Secondly, the performance of NNC is highly dependent on the optimization of the network structure and parameters, a process that typically involves repeated trials and adjustments, thereby increasing the design complexity and computational burden. Lastly, although neural networks can enhance system robustness, their high computational demands may still impact real-time performance, particularly in embedded systems with limited resources. Therefore, while neural network control holds potential advantages, its widespread application in underwater robots faces challenges related to data requirements, model optimization, and computational efficiency.
In recent years, sliding mode control has been widely applied in nonlinear systems due to its robustness. Miao Y. proposed a Recurrent Fuzzy Sliding Mode Control (RFSMC) method, which combines fuzzy logic with neural networks to manage multi-scale disturbances effectively and improve system adaptability [
14]. Among intelligent control strategies, Chengqi L. developed a Kalman filter-based MPC approach that successfully compensated for external disturbances in ROV trajectory tracking [
15]. However, the high computational complexity of MPC limits its broader application in regard to real-time control. Xu Z. introduced an adaptive non-singular integral terminal sliding mode control method, which addresses uncertainties in dynamic models and external disturbances, particularly excelling in achieving fast convergence [
16].
These methods have made significant progress in handling uncertainties and external disturbances, but challenges persist in addressing complex disturbances [
17,
18]. Particularly, the highly dynamic and nonlinear nature of marine environments adds to the complexity, making it difficult for existing control methods to maintain precision and robustness in the presence of multi-scale disturbances. Designing control strategies that can effectively manage multi-scale disturbances in complex marine environments is crucial for improving ROV trajectory tracking performance.
In response to the trajectory tracking challenges posed by structural nonlinearities, parameter uncertainties, external environmental disturbances, and strong disturbances during operational tasks involving underwater aquaculture cleaning, this paper proposes a multi-scale dynamic sliding mode adaptive control (MDSMAC) mechanism, which integrates multi-scale sliding mode surface design with an adaptive control strategy to effectively address the trajectory tracking challenges posed by system nonlinearities, parameter uncertainties, and strong disturbances in regard to underwater ROV cleaning tasks in marine environment. MDSMAC innovatively uses a saturation function to mitigate the common issue of chattering in sliding mode control, and by adopting a multi-scale scheme, the sliding mode surface is controlled using different dynamic parameters for large-scale and small-scale states, achieving more precise control. The system is equipped with an adaptive strategy that automatically tracks external disturbances and adjusts the control parameters in real time to adapt to changes in the external environment. This method not only dynamically adapts to multi-scale variations in the external environment, but also provides precise compensation for short-term fluctuations and long-term uncertainties, ensuring stable and efficient operation in complex and dynamic marine conditions. MDSMAC shows superior performance in handling highly nonlinear systems and is ideal for underwater cleaning, inspection tasks, significantly improving the trajectory tracking performance and ensuring long-term stability, even in the presence of strong external disturbances and multiple uncertainties.
2. Modeling and Theoretical Framework
2.1. Dynamic Model of ROVs in Marine Environments
To derive the equations of motion for marine vessels, it is essential to study rigid body motion, hydrodynamics, and hydrostatics. We use the Newton–Euler formulation and vector mechanics to derive the rigid-body equations of motion. Based on Fossen’s underwater vehicle model, the 6-DOF model of ROVs accounts for nonlinearities in the structure, considering parameter uncertainties and coupling effects between fluids and solids, which are typically represented by added mass and nonlinear damping terms. In addition, the mass of the ROV, fluid drag coefficients, and other model parameters may vary dynamically in different ocean environments, further increasing the uncertainty of the model. External disturbances, such as ocean currents and waves, add complexity due to their randomness and the difficulty in achieving precise modeling. To address these challenges, external disturbances and parameter uncertainties are treated as dynamic disturbance terms and are compensated for in real time through adaptive control strategies, ensuring that the ROV maintains stable trajectory control, even in complex marine environments. The dynamic equation of the ROV can be expressed as shown in Equation (1) [
3,
16]:
where
represents the inertia matrix, which includes the ROV’s mass and added mass;
is the Coriolis and centripetal matrix, consisting of both the rigid body and added mass components. It depends on the ROV’s rotational velocity. Moreover,
denotes the damping matrix, representing linear and nonlinear hydrodynamic damping forces. Linear damping accounts for drag proportional to the velocity, while nonlinear damping includes turbulence and vortex shedding effects. In addition,
represents the restoring forces and moments due to buoyancy and gravity, where
is the position and orientation vector [
17,
18]. Then,
is the control input, representing forces generated by the thrusters. Where
is the external disturbance, including ocean currents and waves. The restoring forces are represented by the buoyancy force,
, and the weight of the ROV,
, where
ensures a positive buoyancy.
The fluid resistance of the ROV in water is described by the linear and nonlinear damping coefficients. The nonlinear damping terms primarily reflect turbulence in the boundary layers and vortex-induced shedding. External disturbances, such as ocean currents, are modeled as random processes, often assumed to follow a Gaussian distribution for simplicity [
19,
20,
21].
2.2. Control Objectives and Thruster Configuration Design
The ROV’s propeller configuration consists of three sets of thrusters arranged perpendicularly along the
X(T1–T4),
Z(T5–T6), and
Y(T7–T8) axes, forming a symmetrical layout as shown in
Figure 1. This design minimizes the interference between thrusters, ensuring stable control of the ROV’s motion in highly dynamic environments. The arrangement of the thrusters is carefully designed to handle multidirectional coupling effects, especially during complex attitude control, allowing precise maneuverability.
The symmetrical layout enhances the ROV’s stability and agility in challenging marine environments. By optimizing the positioning of the thrusters, the ROV can reduce thrust loss during sharp turns, vertical movement, or lateral drifting, improving the overall efficiency of the system. Each set of thrusters includes a pair of forward and reverse propellers, with the thrust direction and magnitude controlled by the modulating voltage and current inputs. This allows for 6-DOF control, enabling the ROV to maintain stable thrust output, even in challenging ocean conditions. The real-time adjustment of these inputs helps the system adapt to dynamic ocean conditions, compensating for external disturbances and maintaining system stability and safety.
To optimize the power distribution, a control allocation matrix maps the input control vector to the corresponding thrust output of each propeller. Based on the manufacturer’s datasheet, the thrust of each propeller is a function of the applied voltage and current, which are dynamically adjusted in real time according to the control demands. The thrust matrix is expressed in Equation (2):
This matrix captures the relationship between the control input vector and the output forces from the thrusters, ensuring efficient power usage. By dynamically adjusting the thrust for each axis, the system maintains accurate trajectory tracking and ensures stability, even under varying disturbance conditions.
2.3. Kinematic Modeling and Reference Frame Analysis
The ROV motion control system is inherently nonlinear and subject to uncertainties. The coordinate systems used are depicted in
Figure 2, which shows both the inertial
and body-fixed coordinate systems
. These two systems are essential for describing the posture of the ROV, where the inertial coordinate system is used for the global reference and the body-fixed system tracks the ROV’s orientation and movement. The positions of the ROV are represented by
, while the Euler angles, relative to the inertial coordinate system, are denoted by
,
,
. The variables
represent the rates of change in the ROV’s position relative to the inertial coordinate system. The variables
,
,
indicate the rates of change of the Euler angles of the ROV relative to the inertial coordinate system. The variables
denote the linear velocities in terms of the moving coordinate system. The angular velocities of the ROV relative to the moving coordinate system are represented by
, respectively [
3,
5,
22].
The kinematic behavior of the six-degree-of-freedom ROV can be expressed using two reference frames: the North–East–Down (NED) reference frame and the body-fixed reference frame. The transformation between these two frames can be expressed as Equation (3):
where
represents the velocities in the inertial frame;
denotes the velocities in the body-fixed frame;
is the transformation matrix dependent on the Euler angles.
The 6-DOF motion model of the ROV is defined by its complex dynamic interactions between fluid forces and its rigid body. This model reflects the ROV’s nonlinear dynamics and the parameter uncertainties arising from the changing ocean environment. These nonlinear dynamics need to be managed by the control system, ensuring accurate trajectory control despite external disturbances, such as waves and currents.
2.4. Multi-Scale Sliding Mode Control Strategy
The sliding mode control strategy is widely used to handle nonlinear systems and external disturbances. However, in complex marine environments, the intensity and frequency of unknown disturbances can change, leading to significant uncertainty in the system parameters of nonlinear robotic systems. Single-scale sliding mode control often struggles to balance system robustness and control precision when subject to varying conditions. Larger parameter variations require stronger control actions to enhance system robustness, while smaller parameter variations demand finer adjustments to avoid instability due to over control. To address this issue, this paper proposes a multi-scale sliding mode control strategy. By designing sliding surfaces at different scales, the system can dynamically balance robustness and precision when faced with varying levels of disturbances and parameter changes.
According to Equation (1), the nonlinear system can be reformulated as in Equation (4):
where
,
,
and
. Where
p1 represents the system’s dynamic characteristics in a linear state. It includes the inertia matrix M, Coriolis matrix
, and damping matrix
. These matrices describe the system’s inertial properties, the Coriolis effects, and linear damping behavior under ideal conditions, reflecting the fundamental dynamics of the system. In addition,
p2 represents the system’s controlled state under external forces. This part describes how external forces influence the system’s state in the absence of disturbances and nonlinear effects, illustrating how external inputs affect the motion of the robot through the dynamic system. Moreover,
p3 accounts for the effects of nonlinearities and external disturbances on the system’s state. It includes the added mass matrix
, added Coriolis matrix
, nonlinear damping term
, gravity and buoyancy term
, and external disturbance
. These nonlinear terms and disturbances reflect the real-world forces and dynamic properties of the system in complex marine environments, particularly highlighting how environmental changes introduce nonlinear influences on system motion.
The sliding mode surface is the core of sliding mode control. By designing an appropriate sliding mode surface, the system’s state can gradually approach and slide along the surface until it reaches the equilibrium point. However, in complex dynamic environments, the intensity of external disturbances often varies significantly. A single-scale sliding mode surface may struggle to balance both robustness and precision when subject to varying disturbance conditions. Larger external disturbances require stronger control actions to ensure system robustness, while smaller disturbances necessitate finer control to avoid over adjustment. Multiple sliding mode surfaces are designed to respond to different levels of disturbances and changes in the system state. The large-scale sliding mode surface handles stronger external disturbances to ensure robustness, while small-scale sliding mode surface provides finer control for smaller disturbances, guaranteeing accuracy and stability.
2.4.1. Large-Scale Sliding Mode Surface
A multi-scale sliding mode surface is proposed, incorporating a parameter that consists of both a fixed and a dynamically varying component. This hybrid design allows for adaptive responses to external disturbances of varying intensities, ensuring robustness during large disturbances, while maintaining precision for smaller disturbances. The large-scale sliding mode surface for handling strong disturbances can be written as indicated in Equation (5):
where
is the tracking error,
is the error derivative,
represents the designed path, and
is the current trajectory. Moreover,
is the fixed-gain component, responsible for the system’s baseline response;
represents the dynamic adaptive gain; while
;
is a positive scalar coefficient that regulates the rate of adaptation; and
.
2.4.2. Small-Scale Sliding Mode Surface
For smaller disturbances requiring fine-tuned control, the small-scale sliding mode surface is defined in Equation (6):
where
represents a fixed, smaller gain designed for precise control under conditions of minimal disturbances. This gain ensures stability and reduces overshoot by providing a more refined control action. In these mild disturbance conditions, the control system avoids excessive responses and maintains trajectory accuracy without requiring significant adjustments.
2.4.3. Multi-Scale Sliding Mode Surface Combination
The overall sliding mode surface is a weighted combination of the large-scale and small-scale sliding mode surfaces, as expressed in Equation (7):
where
are time-varying weighting factors, such that
. This formulation allows the controller to prioritize the large-scale sliding mode surface when disturbances are significant, while relying on the small-scale surface for precision control when subject to milder conditions. So, the small changes in the surface of the sliding mode, or the derivative, can be written as in Equation (8): Considering the variation of the sliding mode surface for large-scale and small-scale disturbances, the equation can be derived as shown in Equation (8):
Substitute the dynamics equation into the error equation to obtain .
Then, the surface of the sliding mode can be written as shown in Equation (9):
2.4.4. Control Law Design
Considering the sliding mode function s, to mitigate the chattering problem typically associated with it, the function can be redesigned using a saturation function, which smooths the control action near the sliding surface. Thus, the derivative of the sliding mode function s is designed using a saturation function to smooth the control input and reduce the chattering effect, ensuring more stable control performance. That is,
,
,
is the thick of boundary and the control law can be designed as in Equation (10):
2.4.5. Dynamic Compensation Methods
The dynamic compensator not only adjusts the control inputs in real time to address instantaneous disturbances and uncertainties within the system, but also compensates for the external disturbances by estimating them in real time, ensuring the stability of the ROV in complex marine environments. By quickly responding to external disturbances and actively correcting errors caused by such disturbances, the dynamic compensator significantly enhances the system’s dynamic response speed and overall control accuracy. This design strengthens the robustness of the system, enabling precise control even in varying ocean conditions. Considering the control and s function, along with the dynamic compensator, the control law can be written as given in Equation (11):
The mechanism is a dynamic compensator used to enhance the system’s response speed,
.
. To handle both the sliding mode surface s and the disturbance
, two adaptive parameters, one for the adaptive adjustment of the sliding mode surface and the other for estimating and compensating the disturbance, are designed as indicated in Equation (12):
where
is the parameter of adaptive control as in Formula (13).
where
. Therefore, the final control law is designed as shown in Equation (14):
This formulation ensures that the system can quickly and accurately respond to disturbances, while maintaining stability and precision in varying marine conditions.
2.5. Stability Analysis of Multi-Scale Sliding Mode Control
In this study, the second Lyapunov method is employed to analyze the stability of the proposed control strategy. Compared to other commonly used stability analysis methods, the Lyapunov method offers distinct advantages, particularly in regard to the stability analysis of nonlinear systems. The second Lyapunov method does not rely on system linearization assumptions, which allows it to handle complex nonlinear systems and significant disturbances, making it especially suitable for systems such as those relating to underwater robots that are characterized by a high level of nonlinearity and uncertainty. In contrast, Linear Matrix Inequality (LMI) methods, although applicable to linear or quasi-linear systems, offer limited capacity for robust stability analysis of nonlinear systems, as they require precise modeling. The Lyapunov method, however, ensures a stronger guarantee of global stability by constructing an appropriate Lyapunov function. Additionally, methods like linear system theory and the small gain theorem are mainly applicable to linear or linearized systems, and are ineffective in addressing the stability of highly nonlinear systems, such as underwater robots [
5,
9,
15]. Therefore, the second Lyapunov method provides a suitable tool for stability analysis in this study, ensuring the effectiveness and robustness of the proposed control strategy within complex systems.
The Lyapunov function for the above design is constructed as given in Formula (15):
where
are the given values of their respective parameters. Obviously
, so its derivative can be expressed as in Equation (16):
Substitute Equations (5)–(15) into the expression, and the function can be rewritten as in Equation (17):
According to the Cauchy–Schwarz inequality, the terms can be handled as shown in Equation (19):
where
are intermediate parameters used for adaptive adjustment. So,
can be written as in Equation (20):
Except for the first and second terms, all other terms are evidently negative, by choosing appropriate positive definite parameters
, so that the first and second terms are negative, then:
According to Lyapunov’s theorem, the system has been proven to be stable.
3. Simulation and Analysis of ROV Control Performance
3.1. Simulation Setup and Assumptions
As noted in the background information, biofouling significantly affects water quality and aquaculture productivity, emphasizing the importance of effective control measures. Therefore, the development of underwater cleaning ROV for aquaculture has significant practical importance, with one of the key technical challenges being the precise 6-DOF trajectory tracking of ROVs.
The ROV used in this study is designed for the breeding cabins in GUOXIN 1 aquaculture vessels, where the cabin dimensions are 19,500 mm in length, 22,500 mm in width, and 14,500 mm in height. During the experimental phase, the ROV tests were conducted in a water pool to simulate the conditions of the cabin and eliminate the effects of external waves and currents. The experimental water pool was set to a static water environment, primarily to test the basic control functions of the ROV.
Figure 3 shows the experimental setup: (a) the breeding cabin in the aquaculture vessel and (b) the ROV for cleaning.
Before performing the simulation analysis, the following assumptions were made based on actual working conditions and the existing literature. These assumptions are grounded in regard to the use of a Gaussian distribution to provide a simplified, yet accurate, approximation of large-scale disturbances in marine environments, while smaller turbulence effects can be ignored. Previous studies have shown that in complex marine environments, such as shallow waters, multi-directional waves, or confined waters, wave dynamics exhibit significant nonlinear characteristics and variability. Therefore, using a Gaussian distribution to simulate large-scale external disturbances, while ignoring localized turbulence effects, is an effective method for simplifying the control system [
19,
20,
21].
Assumption 1. In deep-sea environments, wave activity is minimal, and the dynamic changes in the aquaculture vessel are relatively slow, so it can be considered stable.
Assumption 2. The exchange of water within the cabin, fish movements, equipment operation, and the oscillation of the vessel due to wind and waves can be modeled using a Gaussian distribution [18]. Additionally, the internal forces generated by the interaction between the ROV, waves, and water flow must also be considered. Assumption 3. The reaction forces generated by high-pressure water jets can be automatically balanced by the ROV’s X-axis thrusters. Under high-pressure water jet conditions, the turbulence effects are minimal and external environmental disturbances can be neglected.
The mechanism aims to overcome the limitations of existing systems in complex marine environments. To validate the effectiveness of the proposed control algorithm, experiments will be conducted in a controlled water environment, with a focus on evaluating the system’s performance in handling nonlinear characteristics and external disturbances.
3.2. Numerical Simulations of ROV Tracking
In this section, numerical simulations are conducted involving the self-developed ROV. The simulations include the following scenarios:
Trajectory Tracking Performance Test: Simulate the ROV’s movement along a predefined trajectory to evaluate its trajectory tracking capability and tracking error. The analysis focuses on the ROV’s trajectory tracking performance under different speeds and turning angles, with an emphasis on measuring the control rate and tracking error to ensure the ROV can stably follow the predefined path.
Control Strategy Comparison: A comparison is made between adaptive terminal sliding mode control (ATSMC), non-adaptive terminal sliding mode control (NTSMC), and MDSMAC, by simulating the ROV’s trajectory tracking under different disturbance conditions to evaluate the performance of each control strategy. The key metrics measured are the tracking error, disturbance estimation, and control rate, in order to validate the effectiveness of MDSMAC in controlling the ROV’s motion in various environments. The simulation tests will compare the three control strategies by assessing their performance in terms of trajectory tracking accuracy, disturbance compensation, and control rate, thus verifying the advantages of MDSMAC.
Long-term Operational Stability Simulation: Simulate the robot’s stability and control performance under continuous long-term operation.
The ROV designed by our team is shown in
Figure 3b. The ROV has dimensions of 1.1 m in length, 0.4 m in width, and 0.6 m in height, with the center of gravity assumed to coincide with the center of buoyancy, resulting in zero offset values for
. Its detailed parameters are listed in
Table 1 below.
The Coriolis matrix C is derived based on the standard underwater vehicle dynamics framework [
2], and is formulated as indicated in Equation (22):
The hydrodynamic damping coefficients were estimated using empirical formulas based on standard hydrodynamic theory [
3,
14,
22]. The linear damping coefficients were derived from a viscous drag model, while the quadratic damping coefficients were obtained using empirical drag coefficients specific to cylindrical bodies.
In this study, the hydrodynamic damping coefficients were estimated using empirical formulas to represent the ROV’s hydrodynamic characteristics. The linear damping coefficient
primarily accounts for viscous drag, calculated as given in Equation (24):
The damping coefficients are uniformly denoted as , where represents the six directions and angles , the following formulas apply similarly. Where is the dimensionless linear damping coefficient, represents the reference cross-sectional area of the ROV, and is the fluid density.
The quadratic damping coefficient
, which reflects drag forces, is applied for nonlinear damping terms and is shown in Equation (25):
where
is the drag coefficient, typically determined based on the shape of the object (e.g., for cylindrical objects,
). These damping coefficients are used to construct the damping matrix
for the ROV, accounting for the hydrodynamic effects in a freshwater environment.
3.3. Trajectory Tracking Performance
The parameters are given: , , , , , , , and . The simulation time is set to 20 s, with a step size of 0.001 s. The initial state is set to ,,.
Figure 4 illustrates the 6-DOF trajectory tracking, demonstrating that despite structural nonlinearities and significant Gaussian disturbances, the control strategy rapidly adjusts to align with the reference trajectory across all the axes. The angular deviations in regard to the roll, pitch, and yaw remain minimal, within approximately 0.2°. In the X, Y, and Z directions, trajectory tracking is achieved with minor fluctuations in the tracking errors due to persistent Gaussian disturbances. These results indicate that the controller effectively maintains accurate trajectory tracking in all directions.
Under significant Gaussian external disturbances and the influence of structural nonlinearities, the designed control law exhibits corresponding fluctuations, while automatically adapting to these disturbances.
Figure 5 illustrates the variations in the control input, where the combined effects of structural nonlinearities and external disturbances result in oscillations around a baseline value. The numerical simulation results demonstrate that this multi-scale dynamic sliding mode adaptive control strategy effectively achieves stable trajectory tracking in conditions involving structural nonlinearities and disturbance uncertainty, exhibiting strong adaptability and robustness.
The mean of the disturbance estimates across multiple degrees of freedom is approximately zero, indicating effective overall performance, as in
Figure 6. The numerical simulation results demonstrate that multi-scale dynamic sliding mode adaptive control achieves reliable tracking control in conditions involving structural nonlinearities and disturbance uncertainty, balancing external disturbances effectively and exhibiting strong robustness.
3.4. Control Strategy Comparison
Numerical simulations and comparative analyses were conducted in regard to the three control strategies, including non-adaptive terminal sliding mode control, adaptive terminal sliding mode control, and multi-scale dynamic sliding mode adaptive control [
23,
24,
25,
26]. In this section, a comparison is first made between traditional control methods (such as PID control and FLC control) and the multi-scale dynamic sliding mode adaptive control (MDSMAC) algorithm proposed in this study. Then, the performance of Non-Singular Sliding Mode Control (NS-SMC), adaptive terminal sliding mode control (AT-SMC), and MDSMAC under various disturbance conditions is analyzed. Through these comparisons, this study aims to investigate the advantages and disadvantages of each control strategy in terms of trajectory tracking accuracy, system stability, and robustness to complex disturbances, and further analyzes the strengths and limitations of each approach.
3.4.1. Comparison with Traditional Algorithms
This section presents a comparative analysis of traditional control methods, including PID control, FLC, traditional SMC, and NNC, with the multi-scale dynamic sliding mode adaptive control (MDSMAC) strategy proposed in this study. The comparisons are conducted based on identical reference paths, static ROV parameters, external disturbances, and dynamic parameter conditions. All of the results are shown in
Figure 7 and
Figure 8.
Subject to the same input and external disturbance conditions, the simulation tests show that only the proposed multi-scale dynamic sliding mode adaptive control (MDSMAC) and traditional SMC achieve effective trajectory tracking. The standalone NNC and FLC fail to fully accomplish trajectory tracking, while PID control achieves preliminary tracking, but requires further parameter adjustments to attain precise tracking. Differences in performance are also evident in terms of the vacancy rate and error across the control strategies.
3.4.2. Comparison When Subject to Minor Stochastic Disturbances
The parameters are given: , , , , , , , and . The simulation time is set to 20 s, with a step size of 0.001s. The initial state is set to , ,, and .
As observed in
Figure 9a,b, when subject to low disturbance magnitudes, all three strategies, MDSMAC, ATSMC, and NTSMC, can generally track the predefined trajectory, although NTSMC exhibits lower tracking accuracy. From the tracking error plots in (c) and (d), it is evident that NTSMC shows significantly higher fluctuations than the other two strategies, with MDSMAC demonstrating the highest error stability. In the disturbance estimation plots (e) and (f), both MDSMAC and ATSMC effectively estimate disturbance variations, with MDSMAC showing the best responsiveness to disturbance changes, while NTSMC lacks disturbance estimation capability.
Table 2 presents the mean squared error (MSE) and mean absolute error (MAE) for each control strategy in regard to trajectory tracking. The comparison reveals that MDSMAC consistently achieves lower errors in the x, y, and z directions, demonstrating significantly higher tracking accuracy, disturbance rejection capabilities, and response speed than the other strategies.
In terms of the MSE, MDSMAC yields the lowest error in all directions, with a particularly low value of 0.008 in the Z-direction, which is substantially lower than that of ATSMC and NTSMC. This suggests that MDSMAC can maintain stable tracking in terms of the predefined trajectory even under considerable disturbances. However, due to external disturbances and the inherent nonlinear structure of the ROV, it is not feasible for any control strategy to achieve perfect trajectory adherence at all times in complex operational environments. Nonetheless, MDSMAC displays superior response speed and disturbance resilience, effectively minimizing errors over time and maintaining close alignment with the target trajectory. Nonetheless, MDSMAC exhibits enhanced response speed and improved disturbance resilience, effectively minimizing errors over time and maintaining close alignment with the target trajectory.
In regard to the MAE, MDSMAC again outperforms the other strategies, with errors of 0.269, 0.239, and 0.087 in the X, Y, and Z directions, respectively, which are consistently lower than those of ATSMC and NTSMC. This further substantiates MDSMAC’s precision control across multiple axes. In contrast, ATSMC shows moderately higher MAE values, indicating a degree of adaptability, but lower robustness compared to MDSMAC. NTSMC, however, exhibits considerably larger MAE values in the X and Y directions (1.805 and 1.824, respectively), suggesting limited capacity for disturbance compensation and posing potential challenges for precise control in real-world applications.
While control strategies cannot entirely eliminate error in highly nonlinear and disturbance-prone environments, MDSMAC demonstrates superior response speed and tracking accuracy in all directions, making it the optimal control solution for stable tracking in complex disturbance conditions.
3.4.3. Significant Environmental Stochastic Disturbances
The parameters are given: , , , , , , , and . The simulation time is set to 20 s, with a step size of 0.001 s. The initial state is set to , , .
As shown in
Figure 10a–c, the performance of different control strategies in regard to trajectory tracking varies significantly. MDSMAC effectively completes the tracking task when subject to strong disturbances, demonstrating superior disturbance rejection and tracking accuracy. In contrast, ATSMC struggles to maintain stable tracking when subject to large disturbances, and NTSMC exhibits substantial tracking errors, making precise trajectory tracking unachievable. These results highlight the clear advantages of MDSMAC in handling complex disturbances, providing a more reliable solution for accurate trajectory tracking.
In regard to both strong and mild disturbance conditions, the MDSMAC strategy consistently demonstrates optimal performance. Even with persistent structural nonlinearities, it achieves high-precision trajectory tracking and robust disturbance rejection, outperforming other control methods.
3.5. Long-Term Operational Stability Simulation
The parameters are given: , , , , , , , and . The simulation time is set to 100000 s, with a step size of 1s. The initial state is set to ,,. Long-term operation is an essential requirement for task-oriented ROVs and control stability is a necessary characteristic. To evaluate the controllability and stability of the control system, a simulation was conducted for a full day (100,000 s), with a time step of 1 s. This long-term simulation allows for a comprehensive assessment of the controller’s performance and stability over extended periods, verifying its effectiveness in practical applications.
As shown in
Figure 11, the designed scheme demonstrates excellent trajectory tracking performance over an extended period. Throughout the simulation, the ROV closely adheres to the predefined path, maintaining stable operation, and showcasing the robustness and long-term operational capability of the scheme in the presence of external disturbances and structural nonlinearities. In both 2D and 3D trajectory tracking, the tracking error remains minimal, with the system showing very little deviation from the intended path. Overall, these results confirm the effectiveness and reliability of the control strategy for long-term applications, demonstrating its ability to maintain consistent and stable performance in complex conditions.
The comprehensive simulation results indicate that the designed control strategy exhibits significant advantages in complex conditions. Firstly, the strategy achieves high-precision trajectory tracking, even in the presence of structural nonlinearities and external disturbances. Secondly, when compared to other control methods, the MDSMAC strategy demonstrates superior tracking accuracy and stability across various disturbance intensities. Lastly, in regard to long-term operation simulations, the strategy shows excellent robustness, maintaining consistent and stable performance in challenging environments. These findings collectively confirm the efficiency and reliability of the designed control strategy for practical applications.
5. Conclusions and Future Research Directions
This study introduces an innovative multi-scale dynamic sliding mode adaptive control strategy designed to address the challenges encountered in underwater aquaculture cleaning tasks. These challenges include structural nonlinearities, parameter uncertainties, external environmental disturbances, and strong operational disturbances. Using comprehensive theoretical derivations, stability analyses, numerical simulations, and physical experiments, we have validated the effectiveness and robustness of the MDSMAC strategy in complex underwater environments.
The MDSMAC strategy significantly outperforms traditional control methods, such as PID control, FLC, SMC, and NNC, in terms of trajectory tracking accuracy and system stability, particularly when dealing with complex disturbances and nonlinear systems. The experimental results demonstrate that MDSMAC can achieve rapid trajectory tracking within 0.1 s, with mean square errors of 0.205, 0.063, and 0.008 in the X, Y, and Z directions, respectively. These values are substantially lower than those of other intelligent control algorithms. Additionally, the absolute errors of 0.269, 0.239, and 0.087 further confirm the superior performance of MDSMAC in dynamic underwater environments.
Despite these advancements, there are areas for further improvement. The current simulation and experimental setups, while accounting for external disturbances, still have limitations in terms of simulation complexity and randomness, which do not fully capture all potential variations present in real-world environments. Future research should focus on testing the MDSMAC strategy in more complex and dynamic real-world settings to better simulate and address the uncertain disturbances encountered during actual operations. Furthermore, integrating advanced machine learning techniques, particularly adaptive parameter adjustment algorithms, can enhance the system’s accuracy, adaptability, and responsiveness in different operating environments, especially in non-static underwater conditions. This integration will further improve the performance and robustness of MDSMAC in regard to complex tasks.
In summary, the MDSMAC strategy not only effectively manages multi-scale disturbances in underwater environments, but also overcomes the limitations of traditional control methods in handling complex nonlinear systems and external disturbances. Its key advantage lies in its ability to adapt to dynamically changing operating conditions, while achieving superior trajectory tracking accuracy and system stability. Its key advantage lies in its ability to adapt to dynamically changing operating conditions, while maintaining high trajectory tracking accuracy and system stability. Consequently, MDSMAC offers a more efficient and reliable control solution for underwater robotic systems, particularly in tasks such as underwater aquaculture cleaning. With continued research, MDSMAC is expected to demonstrate its potential across a broader range of application scenarios, especially in complex, dynamic, and uncertain environments, thereby enhancing system adaptability and control performance.
Overall, MDSMAC not only successfully addresses the limitations of traditional control methods in regard to specific applications, but also provides innovative solutions and practical approaches to similar complex control challenges. Therefore, this strategy has significant application potential in the field of underwater operations and offers valuable insights and references for nonlinear system control problems in other domains, showcasing strong scalability and broad applicability.