Research on robust fuzzy logic sliding mode control of Two-DOF intelligent underwater manipulators

: This study investigates the independent motion control of a two-degree-of-freedom (Two-DOF) intelligent underwater manipulator. The dynamics model of two-DOF manipulators in an underwater environment is proposed by combining Lagrange’s equation and Morison’s empirical formulation. Disturbing factors such as water resistance moments, additional mass force moments and buoyancy forces on the intelligent underwater manipulator are calculated exactly. The influence of these factors on the trajectory tracking of the intelligent underwater manipulator is studied through simulation analysis. Based on the design of the sliding mode surface of the PID structure, a new Fuzzy-logic Sliding Mode Control (FSMC) algorithm is presented for the control error and control input chattering defects of traditional sliding mode control algorithm. The experimental simulation results show that the FSMC algorithm proposed in this study has a good e ff ect in the elimination of tracking error and convergence speed, and has a great improvement in control accuracy and input stability.


Introduction
Due to the over exploitation of terrestrial resources in recent years, depletion is now in full swing. The oceans, however, cover two-thirds of the earth's surface and are extremely rich in biological and mineral resources, so the process of marine development is accelerating in all countries of the world. In recent years, many scholars from all over the world have been involved in this research. Meng et al. concerned with the robust finite-time stability and stabilization of impulsive systems subject to hybrid disturbances that consists of external disturbances and hybrid impulses with time-varying jump maps [1]. An adaptive modified reaching law-based switch controller design was developed for robotic manipulator systems using the Disturbance Observer (DO) approach by Shao et al. [2]. To suppress the flexible vibration of underwater manipulators, an Improved Sparrow Search Algorithm (ISSA) combining an elite strategy and a sine algorithm were proposed for the trajectory planning of underwater flexible manipulators [3]. To realize precise operation in underwater narrow spaces, the Fly Arm Underwater Vehicle Manipulator System (FAUVMS) was proposed [4]. Khadembashi et al. have studied beyond pull-in angle control of a dual axis torsional micro-actuator considering bending effects [5]. Jing et al. have proposed dynamic modeling and experimental analysis of an underwater glider in the ocean [6].
While only a single robot model has fewer realizable functions and is less practical, the robot body structure coupled with a self-contained manipulator model is becoming a hot research topic. Compared to conventional robots, robots working in underwater environments are characterized by non-linearity, hydrodynamic shocks and complex external disturbances, and their control faces the challenges of accurate dynamics modeling and high precision control of joint motion [7]. Recently, in order to realize the precise motion control of underwater hydraulic manipulator and make it suitable for underwater precision operations, an adaptive robust controller combined with backstepping strategy was proposed by Zhou et al. [8]. In connection with locating, trajectory planning and control of an underwater propeller cleaning manipulator, a solution for cleaning the propeller by the intelligent underwater manipulator was proposed by Long et al. [9]. Ema et al. investigated the comprehensive modeling and identification of the nonlinear joint dynamics of a collaborative robot. The proposed joint dynamics model and identification describe the most important dynamic characteristics of the robot joints, including nonlinear friction, nonlinear stiffness, hysteresis and motion errors [10]. A novel Non-singular Fast Terminal Sliding Mode (NFTSM) control strategy based on neural networks was proposed for n-linked robots with actuator dynamics [11]. Vimalesh Muralidharan et al. investigated the bit-shaped space and actuator space variables of the Lagrangian equations for the dynamics of a parallel robot [12]. Houssem Abdellatif et al. considered an open-loop sub-chain of the manipulator and derives its dynamics based on the Lagrangian form and a set of generalized coordinates and velocities. The determination of the stability of the method was an important task in the analysis of the system [13]. A robust non-linear PID fuzzy control method was proposed for the trajectory tracking control of an Autonomous Underwater Robotic Manipulator System (AURMS) for deep-sea intervention tasks [14]. Zeng et al. investigated the problem of the performance of the connection weight parameter on a regulatory PID Neural Network (PIDNN) in a complex control system [15]. Hamed Farivarnejad et al. have studied the control problem of a two-arm Underwater Vehicle-Manipulator System (UVMS) for a target manipulation task, and an explicit dynamics model of the UVMS was developed, where the additional mass, drag and buoyancy were considered as external forces and moments in the task space and incorporated into the model by means of a Jacobi matrix at their application points [16]. H. Farivarnejad and Saa Moosavian combined a task-first inverse kinematic redundancy solution method with fuzzy control techniques to achieve coordinated control of the robotic arm, using fuzzy control techniques for motion distribution between robot and manipulator and the handling of multiple auxiliary tasks [17]. Zhong et al. proposed a fuzzy adaptive PID fast terminal sliding mode controller for a redundancy degree robotic arm system with variable loads. The method achieved accurate tracking of the end-effector trajectory of the redundancy robotic arm and improved the robustness to model uncertainty and external disturbances when controlling the position of the redundancy robotic arm [18]. Next, Zhong et al. combined sliding mode control with fuzzy control and proposed an adaptive fuzzy sliding mode control algorithm, which effectively solved the shortcomings such as jittering and achieved accurate and stable control of the robotic arm motion [19]. Lin developed a model-free self-organising fuzzy controller that can effectively control a 3-link manipulator. Simulation studies showed that the self-organising fuzzy controller outperformed a simple fuzzy logic controller in controlling the manipulator [20].
In addition, Amer et al.
proposed an adaptive control scheme for robot-manipulators, namely adaptive fuzzy sliding mode control, and online adjustment by monitoring the fuzzy system. The effectiveness of the scheme was evaluated by comparing its performance with that of a conventional sliding-mode controller to assess the trajectory tracking problem of a 3-degree-of-freedom planar rigid robot manipulator with uncertainty [21]. Lu et al. proposed a robust Proportional-Integral (PI) controller with parameters that employ constraints to design a population extremum optimisation for a multi-area interconnected load frequency control problem, and the effectiveness of the proposed controller was verified by comparing other PI control methods with an optimized model predictive control method [22].
Esfahani et al. presented an improved Time-Delay Control (TDC) method for an underwater robot manipulator system, which used fuzzy rules to adaptively adjust the gain of the TDC and PID terms, and which not only had a higher trajectory tracking performance compared to a conventional sliding mode controller, but also had acceptable robustness in the presence of external disturbances and unknown forces/torques [23]. The Girona 500 AUV model, which is shown in Figure 1, which has a multi-joint manipulator attached to its base, and relies on its attached manipulator to perform all functions in the underwater environment [24][25][26]. For more manufacturing and control technology aspects of underwater manipulator, maybe we can refer to the innovative ideas in these literatures [27][28][29]. In these literatures, X. Xiao et al. introduced an automated method that allowed reorienting the part during the build using a five-axis machine. The reorientations still allow the part to be built using traditional planar deposition but without the use of supports.
In addition, autonomous pilot is crucial in integrally promoting the autonomy of an Unmanned Surface Vehicle (USV). By organically bridging path planning and tracking, an autonomous pilot framework with waypoints generation, path smoothing and policy guidance of a USV in congested waters was established for the first time [30]. To exclusively suppress unuseful underwater noise feature and effectively avoid overenhancement, simultaneously, an underwater attentional generative adversarial network (UAGAN) was innovatively established [31]. A novel reinforcement learning-based optimal tracking control (RLOTC) scheme was established for an USV in the presence of complex unknowns. Simulation results and comprehensive comparisons on a prototype USV demonstrate remarkable effectiveness and superiority [32].
Taking the above research into consideration, we consider the motion of the connected manipulator when the underwater robot is in a horizontal hover state, and does not consider the interaction between the robot body and the manipulator. When the underwater robot is in a horizontal hovering state, considering the interference of multiple underwater factors, the dynamic equation of the two-degreeof-freedom manipulator is established in this study. A fuzzy sliding mode control combined with fuzzy logic control is proposed, which improves the error and stability of the traditional control method in the control process. The simulation results fully demonstrate the effectiveness and accuracy of the proposed improved control algorithm in the motion control of the manipulator.
The structure of this study is as follows. In Section 2, an accurate dynamics model of a twodegree-of-freedom manipulator in an underwater environment is developed. In Section 3, an improved fuzzy logic sliding mode control algorithm for the manipulator is proposed. In Section 4, the effects of three disturbance factors on the trajectory of the manipulator are first compared and studied by dynamic simulation. Then, the superiority of the proposed algorithm in terms of tracking accuracy and joint input stability is verified by comparing the simulation with the conventional sliding mode control algorithm. Finally, Section 5 summarizes the content and innovation in this study.

Dynamic modeling of Two-DOF intelligent underwater manipulator
It can be seen that there are multiple factors for the external disturbance of the intelligent underwater manipulator when moving in the underwater environment [19]. Assume that the water flow is stationary and the robot is fully immersed in the water. The connecting rods of the intelligent underwater manipulator are all cylinders, and at the same time, the center of gravity and the center of buoyancy of each component are coincident. Only the influence of the motion of the manipulator itself is concerned. According to the knowledge of fluid mechanics, when a single object moves in water, the force between the unit length of the object and the water can be described as shown in Eq (2.1): here, F represents the total disturbance of the manipulator when it moves underwater. F w represents the water resistance; F m represents the additional mass force; F l represents the lift force and F b represents the buoyancy force. Considering that the intelligent underwater manipulator has no airfoil structure, it is not necessary to consider the influence of lift, and only the other three items are considered. Therefore, the hydrodynamic factors are divided into three types, namely water resistance, additional mass force and equivalent gravity considering buoyancy. The dynamic equation of the manipulator can be described as Eq (2.2): here, θ,θ,θ are the vectors of joint angle, angular velocity and angular acceleration of the two-joint manipulator respectively. M 1 (θ) represents the acceleration inertia matrix of order n × n in joint space. M 2 (θ) represents the additional mass force matrix. C 1 (θ,θ) represents the centripetal force and the coriolis force matrix. C 2 (θ,θ) is the water resistance matrices. G 2 (θ) is the buoyancy matrices, and G(θ) is the equivalent gravity matrix considering the effect of buoyancy. τ d (θ,θ) represents uncertainties, such as external disturbances. The right side of the equation τ represents the external torque matrix acting on the joints of the intelligent underwater manipulator.
According to the knowledge of fluid mechanics, the water resistance d f w of any unit in the underwater environment is given by Eq (2.3): The water resistance moment dτ w is shown in Eq (2.4): According to Morison's empirical equation, hydrodynamic unit dF, which contains the water resistance and additional mass forces, can be expressed as Eq (2.5): At the same time, by integrating any element along the length of the connecting rod, the water resistance moment τ w and the additional mass moment τ m can be obtained, and their expressions are Eqs (2.6) and (2.7), respectively: here, ρ represents the fluid density, and D i represents the diameter of the cylindrical rod, l i (i = 1, 2) represents the length of the two connecting rods, respectively. Because the manipulator structure is similar to the cylindrical structure, and approximate calculations can be made. V i (x) represents the velocity function, and A represents the projected area of the object in the direction perpendicular to the water flow velocity. C w represents the water resistance coefficient, and C m represents the additional mass force coefficient. In the actual analysis of dynamics, empirical values are often used for calculation, here C w = 1.0 and C m = 1.0 are taken into the calculation, respectively. The schematic diagram of the 2 -DOF manipulator motion model is shown in Figure 2. In Figure 2, q 1 and q 2 denote the rotation angle of the two joints, respectively, dx 1 and dx 2 denote the unit length of the connecting rod, respectively, which are equal when they have been substituted into the calculation equations. v 1−1 and v 2−1 represent the normal velocities generated by the angular velocity of joint 1 and joint 2 to link 1 per unit length, respectively, while v 2−2 denotes the normal velocity of the angular velocity of joint 2 on the connecting rod per unit length. These normal velocities have a direct influence on the generation of the hydrodynamic moment of the robotic linkage. A simple gripper is attached to the end of joint 2, which can be used for tasks such as underwater cable cutting. Based on Figure 2, multiple normal velocities can be calculated as Eqs (2.8)-(2.10), respectively: Substituting the above Eqs (2.8)-(2.10) into Eqs (2.6) and (2.7), the water resistance moments and additional mass moments for the two connecting rods can be calculated as Eqs (2.11)-(2.14), respectively: According to Eqs (2.15) and (2.16), the water resistance matrix C 2 and the additional mass force matrix M 2 can be obtained, respectively. The equivalent gravity matrix can be expressed as Eq (2.17): here, V 1 and V 2 indicate the effective volume of the connecting rod, and ρ m indicates the size of the density of the connecting rod.

Fuzzy logic sliding mode control algorithm for manipulator movement of underwater robot
In this section, when the underwater robot is in a hovering state, we approximately regard the base part connected to the manipulator as a fixed state, and do not consider the influence of the underwater robot body on the motion state of the manipulator.

Description of PID sliding mode control
In the state space of a general system, there is a sliding surface s(t) that divides the state space of the system into two parts, namely s(t) > 0 and s(t) < 0. There are three cases of motion points on the sliding surface, as shown in Figure 3. Point A represents the normal point, the system movement point moves to the sliding surface s(t) = 0 and passes through point A. Point B represents the starting point, that is, the moving point reaches the sliding surface and leaves from point B to both sides. Point C represents the end point. When the moving point reaches the vicinity of the sliding surface, it tends to this point from both sides of the sliding surface. When all motion points in the system are termination points, the system reaches a steady state.
Therefore, for sliding mode control, the design of the sliding mode surface function s(t) and the convergence control rate τ(t) are two important elements of the closed loop interval that allows the actual value to converge to the desired value.
here k p , k i and k d are the n×n order diagonal gain matrices and their expressions are k p = diag k p1 , k p2 , k i = diag (k i1 , k i2 ), and k d = diag (k d1 , k d2 ), respectively. The purpose of the sliding mode control is to move the tracking error e(t) towards the sliding mode surface and eventually to the termination position. Therefore, a stable sliding surface is necessary, which can ensure that the error gradually approaches 0 with the increase of time. In Eq (3.2), θ d (t) is the desired trajectory and θ(t) is the actual trajectory of the intelligent underwater manipulator joints.
It is well known that for systems with uncertainties and imposed disturbances, the complete full sliding mode control is generally a combination of equivalent control and switching control, and its expression is Eq (3.3): where τ(t) is the complete control law of sliding mode control. τ eq (t) is the equivalent control law, which is usually designed for deterministic systems without external disturbances. τ sw (t) is the switching control law, which can achieve robust control effects against uncertainties and external disturbances in the system.
Then, one can obtain that the following control equation system is stable: Proof. From Eq (3.2), one can get Eq (3.7): Considering the uncertain factors existing in the system, Eq (3.7) can be described as Eq (3.8): where N(t) = ∆Aθ + ∆BG − ∆Cτ(t) + m(t). From Eq (3.1), it follows that: (3.10) If the uncertainties and external disturbance factors in the system are not considered, it can be deduced that ∆A = ∆B = ∆C = m(t) = 0. Simplifying the Eq (3.10) as the following Eq (3.11): The equivalent control τ eq (t) expression can be taken as the following Eq (3.12): τ eq (t) = (k d C) −1 k pė + k i e + k d θ d + Aθ + BG(θ) (3.12) However, if there are undesired disturbances in the control system in the form of parameter changes, and load disturbances, etc., then we need to perform supplementary control, that is, switching control, which can perform robust stability control against these uncertain disturbances. In order to verify the stability of the system, according to the Lyapunov function theory, the Lyapunov function is proposed to be described as the following Eq (3.13): In the case of a stable system,V(t) = s T (t)ṡ(t) < 0, s(t) 0 should be guaranteed. Wherein, in the full control law τ(t) = τ eq (t) + τ sw (t), in order to satisfy the system stability condition, the first order derivative of V(t) is expressed as the following Eq (3.14): Continuing to simplify Eq (3.14), one can obtain the following Eq (3.15): Based on the Eq (3.15), the switching control law τ sw (t) can be designed as the following Eq (3.16): Substituting Eq (3.16) into Eq (3.15), one can deduce the first order derivative of the Lyapunov functionV(t) < 0, s(t) 0, which proves the stability of the system. □ Next, an expression for the switching control law in conventional sliding mode control is given by the following Eq (3.17): τ sw (t) = ε sw · sgn(s(t)) (3.17) where ε sw = diag (ε sw1 , ε sv2 . . . ε svn ) denotes the switching control gain with an uncertain upper bound, and the switching control is designed in the form of the symbolic function sgn(s(t)) in Eq (3.17). As can be seen from the expression for the switching control law in conventional sliding mode control, the state switching process of the sign function contained in the Eq (3.17) is not smooth, which will lead to an undesired control trajectory, and eventually the control trajectory will appear chattering. The physical explanation can be described as follows: when the trajectory of the system reaches the switching surface, its velocity is finite and its own inertia causes the point of motion to cross the sliding mode surface s = 0, thus eventually creating a chattering phenomenon.

The proposition of fuzzy logic sliding mode control model
In this study, in order to improve the chattering defect of traditional sliding mode control, combined with fuzzy logic control method, a Fuzzy-logic Sliding Mode Control (FSMC) model based on fuzzy logic control is designed to improve the defect of sliding mode control.
As a control method different from the traditional control theory, the FSMC method gives full play to its advantages of not needing a mathematical model of the object and having robustness in the control effect, and shows its advantages in the control field with relevant characteristics. In some complex systems, especially when the system has imprecise and uncertain information, the effect of fuzzy logic control is often better than that of conventional control methods.
For conventional sliding mode control, the addition of fuzzy logic control methods can smooth out the control signal and reduce or avoid the jittering phenomenon in the conventional sliding mode control process. Based on the traditional control method, this study proposes an improved fuzzy logic sliding mode control method. For the fuzzy logic control system, the inputs include the sliding mode surface function s(t) and its first order derivativeṡ(t), and the system output switches the control law τ sw (t), whose output is essentially a part of the input torque of the intelligent underwater manipulator joint. The overall control block diagram is shown in Figure 4. The switching control law for the proposed control method can be expressed as the following equation: where ε f is the normalized term of the system output, and τ f (t) is the resultant output of the fuzzy logic sliding mode control system under the action of inputs s(t) andṡ(t).
In a fuzzy logic sliding mode control system, the rules for the input control parameters s,ṡ and the output control parameter τ f are shown in Figure 5(a)-(c). Figure 5(d) shows the input and output of the fuzzy inference system in a spatial view.  Table 1 describes the fuzzy rule table for the control system. The fuzzy sets are defined as PB = positive large; PS = positive small; ZO = zero; NS = negative small; NB = negative large. Each input is divided into 5 intervals, and finally multiple fuzzy rules are generated. Usually, the input parameters in the fuzzy system are also called fuzzy variables, and the Gaussian membership function of normal distribution is selected here.
When the fuzzy rule of design is in the mth item, it can be expressed as follows: here A m and B m represent the input rule base, C m denotes the output rule base, m = 1, 2, . . . n, and n denotes the number of fuzzy rules in the control system. At the same time, the output of the fuzzy system is also made accurate by using the centre of gravity averaging method in the process of anti-fuzzification. The final full control law based on the FSMC control method is expressed as Eq (3.19): Theorem 2. IF s is A m andṡ is B m , THEN τ f is C m , ε f > k d |N(t)|, and the following equation is satisfied:

20)
here, ε f is the normalized term of the system output, and τ f (t) is the resultant output of the fuzzy logic sliding mode control system under the action of inputs s(t) andṡ(t). Then, one can obtain that the following control equation system is stable: Proof. In order to prove the stability of the proposed system, similarly, based on the classical Lyapunov function theory, the proposed Lyapunov function is described as Eq (3.22): Calculating the first order derivative of Eq (3.22), and substituting Eq (3.9) into (3.22), one gets the following Eq (3.23): Substituting the expression for τ eq (t) into Eq (3.23), one can obtain the simplification of Eq (3.24): Considering that the output fuzzy set in the fuzzy system is normalized in the interval [0, 1], it can be deduced that: The result of combining Eqs (3.24) and (3.25) can be described as the following Eq (3.26): It is easy to see from Eq (3.26) that if the value of ε f is chosen to be larger than the value of k d |N(t)|, then it can be concluded thatV(t) < 0, which proves the asymptotic stability of the control system. It is guaranteed that the error in the control process of the system converges to the sliding mode surface. □

Simulation results
When the underwater robot is in the hovering state, the joints of the manipulator at the bottom are unfolded, and the manipulator structure is shown in Figure 2. In order to simulate the underwater environment and the accurate model, it is assumed that the mass of the connecting rod of the intelligent underwater manipulator is concentrated at the end position, which is marked m 1 and m 2 in Figure 2. The parameters of the intelligent underwater manipulator are shown in Table 2.

Hydrodynamic numerical analysis and quantitative research of underwater manipulator
The effects of complex disturbing factors in the underwater environment are taken into account, especially in terms of the effects of fluid mechanics. It is necessary to investigate the kinematic effects, simulation and modeling of the hydrodynamics of a two-DOF intelligent underwater manipulator. Meanwhile, the parametric equations of the dynamic model of the manipulator are deduced in detail in the second section of this study. All simulations are done with MATLAB/Simulink tools in this study. The work on the numerical analysis and quantitative study of the hydrodynamics of the intelligent underwater manipulator will provide a good basis for the reduction of simulation errors and the accuracy of the model.
In order to conduct a comparative study, at the same time, we consider the influence of three external disturbance effects(water resistance moment, additional mass moment, buoyancy) on the trajectory of the intelligent underwater manipulator. The degree of their influence on the actual trajectory is studied through simulation analysis. The desired trajectories of the two joints during the simulation are θ d1 = 2 sin(3t) + 3 cos(t), and θ d2 = − sin(2t) − 2 cos(t), respectively. Figure 6 shows the trajectory of the intelligent underwater manipulator under the combined influence of both the water resistance moment and the additional mass moment. As shown in the Figure 6, under the condition of water resistance and additional mass force, the trajectory deviation of the intelligent underwater manipulator continues to increase. It can be known that the manipulator is more affected by water resistance and additional mass force when it moves in the underwater environment.
Meanwhile, as shown in Figure 7, the trajectory control of the intelligent underwater manipulator when the effect of buoyancy is considered. The simulation results show the strong influence of hydrodynamic factors on the trajectory of the underwater environment. It can be seen from the Figure 7 that at the beginning there are large errors in the trajectory of the manipulator in both cases. However, with the increase of time, the trajectory of the intelligent underwater manipulator under the influence of buoyancy begins to fit the expected trajectory after about 1s, and the trajectory is well tracked. The deviation in the trajectory of the manipulator under water resistance and additional mass forces continues to increase. It can be seen that the manipulator is more influenced by water resistance and additional mass forces when moving in a submerged environment.
In summary, it has been demonstrated that attenuating or counteracting the effects of hydrodynamic forces is necessary to control the trajectory of the manipulator in underwater operations.

Simulation of FSMC for underwater manipulator
In a real underwater environment, the intelligent underwater manipulator is controlled to track the trajectory based on the set trajectory information, and the accuracy of the control directly affects the accuracy of the actual operation. The desired motion trajectory equation in the simulation is set as θ d1 = θ d2 = 3 cos(t) + 2 sin(2t), 0 ≤ t ≤ 10s. Moreover, in the sliding mode surface equation based on PID control design, the parameters are chosen as k p = diag(50, 50), k i = diag (20,20), and k d = diag (5,5). For the SMC method, the control gain parameter is chosen as ε sw = diag(3500, 2500). Similarly, for the FSMC method, the gain parameter is designed to be ε f = diag(1000, 750) in the simulation.  In order to demonstrate the superiority of the control method proposed in this study, FSMC is compared with the traditional sliding mode control method, and the trajectory tracking of the intelligent underwater manipulator is simulated and verified. Under the traditional sliding mode control method, the actual and desired trajectory tracking effect of the two joints of the intelligent underwater manipulator are shown in Figure 8, and the angular velocity tracking actual and desired trajectory of the two joints of the intelligent underwater manipulator are shown in Figure 9, respectively.
Similarly, under the fuzzy logic sliding mode control method, the actual and desired trajectory tracking effect of the two joints of the intelligent underwater manipulator are shown in Figure 10, and the angular velocity tracking actual and desired trajectory of the two joints of the intelligent underwater manipulator are shown in Figure 11, respectively.
It can be seen from Figures 8-11 that in the simulation comparison between the FSMC method proposed in this study and the traditional SMC method, the joint trajectory tracking effect based on the FSMC method is better.
As can be seen from Figures 8-11, the FSMC-based method has a better trajectory tracking effect in the simulation comparison between the proposed FSMC method and the conventional SMC method. In the figures, the joint 1 of intelligent underwater manipulator only has a partial deviation from the start of the simulation to 1.5s. With the extension of the simulation time, the trajectory convergence achieves the expected effect. The trajectory convergence time of joint 2 of the intelligent underwater manipulator is shorter and faster, and some small-scale errors caused by trajectory tracking are acceptable.
As shown in Figures 12 and 13, the comparisons of the trajectory tracking errors corresponding to     the two joints of the intelligent underwater manipulator under the comparison of the two control methods are described, respectively. These control effects are generated under the action of the two different control methods, e.g., SMC and FSMC. Figure 12 describes the tracking error of the joint 1 on intelligent underwater manipulator, Figure 13 describes the tracking error of the joint 2 on intelligent underwater manipulator. They describe the detailed comparison of the trajectory tracking errors corresponding to the two joints of the intelligent underwater manipulator. From the figures, the superiority of the trajectory tracking of the FSMC method can be more clearly observed. The traditional sliding mode control method has a big defect, which will produce an obvious chattering phenomenon during trajectory tracking, which is unacceptable for the actual intelligent underwater manipulator motion control. Therefore, combined with fuzzy logic control, a new fuzzy logic sliding mode control method is proposed in this study. The new control method improves the chattering phenomenon to a great extent and makes the input of joint torque smoother. Figures 14 and 15 are the joint torque input curves of the intelligent underwater manipulator based on the SMC and FSMC methods, respectively. It can be clearly seen from Figures 14 and 15 that the joint input process based on the FSMC method is smooth and gentle. In contrast, the joint input based on the SMC method suffers from a large chattering problem, which can seriously affect the stability and reliability of the control system. Therefore, it is finally verified and proved by simulation that the proposed new method has good tracking effect on the desired trajectory, small tracking error, short convergence time, and improves the joint input defect problem of the traditional control method.

Conclusions
In this study, based on the two-link intelligent underwater manipulator model, combined with the Lagrangian equation and Morison equation, an accurate dynamic model of the manipulator in the underwater environment is established. On the basis of the sliding mode surface of the PID structure, considering the uncertainty and external disturbance of the system, the equivalent control law and switching control law of the sliding mode control are analyzed and studied. Aiming at the large trajectory tracking error and chattering of control input existing in the traditional SMC method, a new FSMC method is proposed. In order to demonstrate the superiority of the new method proposed in this study, a simulation comparison was made with the traditional sliding mode control algorithm. The simulation results show that the proposed FSMC method can effectively eliminate the tracking error and external disturbance factors in the trajectory control process of the intelligent underwater manipulator. Furthermore, the instability problem of the control input of the traditional control method is largely improved.
Future research topics of interest include study on the stable and precise control of the intelligent underwater manipulator under complex dynamic disturbance conditions, and it can also be based on the traditional sliding mode control to further improve the fuzzy control system to achieve a more accurate and stable control effect of the intelligent underwater manipulator.

Use of AI tools declaration
The authors declare they have not used Artificial Intelligence (AI) tools in the creation of this article.