Abstract

The ability to track the trajectory or path on the sea surface remains a key measurement in the control system of an unmanned surface vehicle (USV). In this research, the designed algorithm defines the path and minimizes the disturbances to zero. Underactuated USVs are ships or boats, which operate on the water surface without a crew and the underactuated system has low actuators than its degree of freedom (DOF). The adaptive control strategy is applied to the unbounded system as the ocean due to its high performance, while the robust control system attains high performance in the bounded system. To consider the trajectory tracking of UUSV and provide an optimal control strategy for a ship in the presence of external disturbances, the study presents a controller-based on model reference adaptive control with an integrator (MRACI), which guarantees the stability of a closed-loop system. The vehicle experiences variations in the system response due to external disturbance. This abovementioned scheme reduces the variations to nearly equal to zero making the vehicle stable. First, use computer-based simulation to verify the proposed controller under two different scenarios. Then, simulation results show that the designed scheme lowers the errors and performs well.

1. Introduction

In recent years, unmanned surface vehicles (USVs) have become more attractive and caught the attention of many researchers all over the world [1]. It attains massive potential to the environment, which includes security, water surveys, monitoring, and military. These vehicles are purposed in marine environments for dull, dirty, and hazardous tasks [2, 3]. This technology provides many qualities which include new vehicle designs and concepts for different missions. Generally, surface vehicles are characteristically fast, smaller in size, and highly maneuverable [4]. In a few years, path planning and trajectory tracking become great attention for the control community. The capability of tracking the path is an essential measurement in the control system [5]. The motivation for this research is to design a control scheme for a surface vehicle that completes the given task effectively. Practically, the disturbance is the basic threat from the environment [6]. This study designs the adaptive control algorithm for trajectory tracking and path planning.

In [7], the study investigates the trajectory tracking problem for surface vehicles. This study presents a novel adaptive fuzzy controller to guarantee the stability of a closed-loop system. The tracking errors can be reduced to small neighborhoods within a fixed time interval. The simulation results verify and demonstrate the validity of the designed control strategy. In [8], the article proposes a sliding mode control scheme for USV using the dynamic system, neural network, backstepping, and sliding mode control. The neural network helps in approximating the system’s dynamic uncertainty, which uses single parameters. The tangent function reduces the variations due to the sliding mode surface. Additionally, a neural shunting model helps in reducing and eliminating the problem caused by the backstepping method. The stability of the system is verified by the Lyapunov stability theory. The simulation results validate the effectiveness of the proposed control scheme. Furthermore, in [9], the paper proposes a trajectory tracking controller for USV with input constraints and multiple uncertainties. It also introduces the nonlinear tracking differentiators, which help in attaining a fast-tracking response. For surge and yaw angles, a new guidance law is constructed. The controller design process is modest with guidance law. The simulation results show the stabilization of tracking errors and verify the accuracy and effectiveness of the proposed algorithm. Finally, in [10], the article presents an adaptive trajectory tracking controller for USV. The controller solves the strong coupling problem of control inputs. Furthermore, a guidance trajectory avoids input saturation. The Lyapunov stability helps in attaining bounded stability. Finally, the computational simulations are compared with different methods and verify the accuracy and effectiveness of the proposed scheme.

The main contributions of this research article are as follows.(I)To design an adaptive control technique for USV that helps in adapting disturbances(II)To perform the objective of trajectory tracking without or with disturbance in an environment(III)To show the higher and optimal performance and stability of the system during trajectory tracking(IV)To add an integrator with the controller in the feedback loop, which rises the order of the system but helps in reducing the errors of the system

This manuscript is organized as follows. Section 1 defines the introduction. The problem statement and the proposed solution are defined in Section 2. Section 3 defines state of the art. Similarly, Sections 4 and 5 define the mathematical model of ship and controller design, respectively. Computational simulations are performed in Section 6. Lastly, Section 7 defines the conclusion of the manuscript.

2. Problem Statement and Proposed Solution

This section defines the problem statement and the solution applied to solve the following issue. The main problems are as follows:(i)Stabilization: The aim is to stabilize [11] the USV by reducing the position and orientation error to zero with respect to the pointed position in an anticipated orientation(ii)Trajectory tracking: The vehicle requires to track time-parameterized references [12, 13]. This problem can be solved by using nonlinear control laws

This section divides the problem into two different scenarios. In scenario 1, the USV follows the path using the designed controller without disturbance. In scenario 2, trajectory tracking takes place with disturbances using the designed controller. Below, each scenario is described in detail.

2.1. Scenario 1

Figure 1 represents the first scenario. In this case, USV starts to track the desired trajectory from the starting position. The environment is free of all the disturbances like wind disturbance. The aim is to complete the trajectory tracking successfully on the reference path while holding the maximum stability in the system.

2.2. Scenario 2

Figure 2 represents the second scenario. In this case, USV again starts to track the desired trajectory from the starting position. The environment is not free from disturbances and causes variations and noises in the system response. In this case, it is not easy to follow the track because it interrupts the stability of the system. The aim is to complete the trajectory tracking successfully under the designed scheme on the reference path while holding as maximum stability as possible.

This study presents a USV intending to track the path, i.e., trajectory tracking with or without disturbances in the environment. To attain this, the vehicle reaches to initial position and tries to track the path, but it is difficult in a disturbed environment to track a path because it affects its stabilization and many other factors. To solve these issues, this study presents a model reference adaptive controller with an integrator. This scheme guarantees the stability of a closed-loop system. The system response experiences variations due to disturbance, but this designed scheme reduces the variation nearly to zero.

3. State of the Art

This section defines the current trends in this field. In [14], the article presents the positioning system based on stereo vision. This study also proposed an object detection model based on learning to solve the robust detection challenge in a complex environment. Furthermore, two methods, namely, stereo vision and monocular are examined for comparison. The USV is equipped with a positioning system oppressed to verify the accuracy of the system. Computational results show that the designed scheme attains a higher accuracy with a good performance in all scenarios. In [15], the study proposes a method based on optimal control to obtain an optimal path for USV. This method is also called the global path planning method and cannot be applied to complex scenarios. This article defines the obstacle-based modeling approach with path planning problems considering kinematics. The proposed method is then compared with traditional methods under two different scenarios. The simulation results show that the designed scheme is superior in terms of convergence speed and path quality. Similarly, in [16], the article proposes path planning of USVs to rescue the target points in the complex environment of the ocean. The objective is to rescue all targets and turn them back safely to priority points. The contributions of this study are that it proposes a K-means division algorithm to identify the ocean’s complex environment and a path planning method to optimize the angular energy. The simulation results with state-of-the-art methods demonstrate that the proposed scheme is superior in terms of collision avoidance and assignment of the target. In [17], the study designed the sliding mode control (SMC) method for the formation regulation of USVs with environmental disturbances. The formation based on a sliding surface is a troupe in asymptotic stability analysis to reduce the order of the sliding mode system. This study also derived a formation reference function with initial conditions.

4. Mathematical Model

This section briefly defines the motion of the marine vehicle, which is divided into two sections kinematics and dynamics.

4.1. Kinematics

The geometric motion effects are dealt with in this section. The marine vehicle attains six degrees of freedom (DOF) [18] in 3D. The six variables define their position and orientation, as in Table 1 below.

The position, orientation, linear, and angular velocity of the vehicle are defined as follows:

The two coordinate systems are required to attain the model of a marine vehicle, namely: (1) the Earth coordinate system [19] (ECS) and (2) the body coordinate system [20] (BCS). ECS is used in day-to-day life routines. In this coordinate system, the x-axis points toward the north direction, the y-axis points toward the east direction, and the z-axis point perpendicular to the Earth’s surface. Assume that this system is inertial because the marine vehicle has virtually fixed longitude and latitude. So, Newton’s laws are applicable. BCS is attached to the marine vehicle used in measuring the linear and angular velocities of the designed system. In this coordinate system, the x-axis points to the length of the vehicle from center to front, and the y-axis points toward the right side. Figure 3 below clearly defines the concept of both coordinate systems.

The ship or vehicle velocity is transformed from body to Earth frame using the transformation matrix and equation (1).whereaswhere a rotation matrix is denoted by , a square matrix is denoted by having three dimensions, and . The matrix is considered a component of an orthogonal group of third order and is well-defined as follows:

The Euler angle transformation method is used to calculate the matrix . It can be represented as

The following lemmas and statements are considered while designing the control system of the vehicle.

Lemma 1. The matrix can be written aswhere as

Lemma 2. The solution is bounded uniformly if there is a positive and continuous Lyapunov function denoted by , which satisfies the condition such that . However, and are functions of class , the positive constants are and .

Statement 1. The marine vehicle center of gravity (COG) will be located at nonzero and if the vehicle is symmetric on plane.

Statement 2. The dissimilarity of disturbance is denoted by and stays bounded and restricted. Thus,where is the constant. The essentials of roll, pitch, and heave will be abandoned for simplification while using surface ships and vehicles. This is done because in these directions, the motion/rotations are identically small. Thus, equation (3) can be written in a simplified form as follows:Now, and . Furthermore, can be written asEquation (8) can be rewritten as

4.2. Dynamics

This section deals with the study of forces that helps in causing motion. The equation of dynamics of motion can be written by considering hydrodynamic forces, moments, and statement 1 as follows:where aswhere the mass of the ship is denoted by , and the inertia of the moment along the z-axis is represented by . The hydrodynamic parameters are (, , and ), , and . The overall mathematical model of the vehicle can be written as follows: where the peripheral disturbance in the system is denoted by .

5. Controller Designing

In the last few years, different types of adaptive controllers had been used for both linear and nonlinear systems. But when it comes to the dynamics controling of an autonomous vehicle, a model reference adaptive controller (MRAC) is the optimal solution. As shown in Figure 4, it attains the reference model and adaptive law, which is defined as the response of the system. Similarly, disturbances are added, for example, wind disturbance to offset the uncertainties. If the response of the system is differing, the adaptive law changes the output. According to the demand of the controller, the vehicle tunes its dynamics. The steady-state errors are diminished by the integral [21].

The uncertainties guarantee the dynamics of the system as well as identical conditions, which are as follows:where defines the vehicle time-dependent state variables, and defines the time-dependent output. The matrices of the vehicle are , , and . The nonlinear function of is . The total torque is defined as .where denotes the parametric matrix, and Lipchitz vector is denoted by . The multiple input and multiple output assumptions are taken as follows:

The tracking error is given as follows:

The integrated tracking error of output is attained as follows:where the output tracking error is denoted by . The open-loop vehicle dynamics are given as follows:

The control input of the open loop is denoted by and the output is denoted by . The improved tracking error is defined as . The known constant matrix is denoted by . The order of the system is . The parametric uncertainty is defined as . The regressor vector is dented by . From a restricted locality origin, there would be a finite constant, and inequity is defined as follows:

Assumption 1. In the ostensible system, the pair of matrices is governable and under control. The matrix’s controllability is linked with the condition of rank given as follows:Neglecting the system uncertainties, the standard reference model is given as follows:whereasThe feedback gain of the linear quadratic regulator (LQR) is denoted by . The positive exact solution of is given as follows:where the symmetric positive matrices are denoted by .

Assumption 2. Consider a diagonal matrix and matrix . The gain matrix is given as follows:For controllable matrix and nonsingular matrix , is assured. Eliminate , , and take the inverse of by relating equations (25) and (27) resulting in the following:The dynamics of the vehicle are rewritten in the following equation (27)Finally,

6. Simulation Results

This section presents the simulations, which verify the accuracy and effectiveness of the designed control algorithm in two different scenarios, i.e., without and with disturbance. MATLAB software is used for the simulation results. The initial position of the vehicle is with an engine speed of and a vehicle speed of . The speed of wind is approximately with the direction of . This section provides the comparison of the designed scheme with fuzzy-PID in two different scenarios, as mentioned above. The speed and heading of the vehicle can be changed at any time. Thus, the relationship between the disturbance and the vehicle also changes.

6.1. Scenario 1

In this case, the simulation results show the trajectory tracking of USV with two controllers (F-PID and designed scheme) without disturbance. The main objective, in this case, is to follow the path and reach the targeted position safely.

Figure 5 shows the trajectory tracking of vehicles under the designed scheme. It is seen from Figure 5 that the USV arrives at its starting position, tracks the path well nearly to the reference path with the designed scheme, and reaches the targeted position. Figure 6 shows the USV variation curves of torque in terms of and with respect to time. Figures 7(a)–7(f) show the control inputs and state curves of USV. It is observed that the USV positions to the expected value in 15 seconds, and then the orientation converges to the expected value within 80 seconds.

6.2. Scenario 2

In this case, the simulation results show the trajectory tracking of USV with two controllers (F-PID and designed scheme) with disturbance. The main objective, in this case, is to follow the path and reach the targeted position safely by avoiding disturbances.

Figure 8 shows the trajectory tracking of vehicles under the designed scheme. It is seen from Figure 8 that the USV arrives at its starting position, tracks the path well nearly to the reference path with the designed scheme, and reaches the targeted position by reducing the effects of disturbances. Figure 9 shows the USV variation curves of torque in terms of and with respect to time. Figures 10(a)–10(f) show the control inputs and state curves of USV. It is observed that the USV positions to the expected value in 20 seconds, and then the orientation converges to the expected value within 70 seconds. As seen in Figure 10, the performance of the designed scheme is quite effective as compared to another controller. It reduces the oscillations and performs well.

7. Conclusion

This paper addresses the trajectory tracking of unmanned surface vehicles (USVs). Specifically, it also presents the mathematical model of the ship in terms of kinematics and kinetics. It also designs the model reference adaptive controller with an integrator (MRACI). Due to external disturbances, the vehicle experiences some fluctuations and variations in the system response. The designed control strategy reduces these errors and makes the vehicle as much as possible. The Simulink (MATLAB) is used to simulate the designed scheme with and without disturbance. The simulation results verify the effectiveness of the controller and guarantee stability in the system.

Data Availability

The data supporting the current study are given in the article.

Conflicts of Interest

The authors declare that they have no conflicts of interest.