Abstract

With the advancement in robotics technology over the recent years, underwater robots’ design and development are gaining interest. Unmanned underwater vehicles (UUVs) have many applications in aquaculture, deep-sea exploration, research, and enhanced rescue tasks. However, various factors must be considered when developing any underwater vehicle system to explore the deep ends of the underwater world. In this paper, we develop the most suitable model for understanding various system parameters. The new mathematical model considers certain constraints and external disturbances exerted on the system. Also, a control strategy is suggested for the UUV’s stability and robustness. The suggested observer and model are simple, allowing for accurate estimations of all system states and the global impacts of unknown limped perturbations with a minimal computational cost.

1. Introduction

The robotics platform has made great strides in developing advanced technology over recent years, especially in underwater vehicles. Underwater vehicles can be classified into two categories, i.e., remotely operated vehicles (ROVs) and unmanned underwater vehicles (UUVs), commonly known as autonomous underwater vehicles (AUVs). The ROV is tethered to the buoy via cable and operated using a remote control. The UUV system operates independently in water (i.e., no direct human input is required). Science, the environment, the maritime industry, national defense, and underwater surveillance use AUVs. Autonomous underwater drones help humans explore the ocean. Thus, various control schemes are being carried out most recently to improve the performance of the traditional strategies [1]. The challenges with AUVs, in particular, operate in unfamiliar and dangerous habitats, and their research and implementation have been identified as one of human’s primary aims and difficulties. As a result, it is essential to learn more about the AUV’s role and context to respond correctly to any unanticipated circumstances [2].

In 1958, the US Navy built the first UUV. Then, this technology was used to find offshore oil and gas reserves in the North Sea. This was the first time the UUV was used for business. The discovery was made with a remotely operated vehicle or ROV. ROVs are still used in the offshore industry, but autonomous vehicles are becoming increasingly popular [3]. In recent years, there have been significant advances in advanced robotic systems, particularly in the evolution of unmanned systems. On the other hand, the ocean still has a lot of uncharted territory. An underwater vehicle must travel with steadiness in all degrees of freedom in the underwater environment. Some mechanical, electrical, and software criteria must be met to achieve robust movement.

Even while research into AUVs has made great strides in recent years, some AUVs, such as those used to dock with other underwater objects, precise target tracking, or continuous long-distance navigation, still lack adequate mobility and precision control [4]. These vehicles might not accomplish the required jobs effectively. However, UUVs have limitations due to the environments in which they have been deployed [5]. To this end, numerous UAVs with fixed-wing, multirotor, and flapping wings and those with other architectural configurations and mathematical description methods have been developed and researched. Multirotor vehicles benefit from a more reliable and effective control system than conventional aircraft. Therefore, multirotor vehicles significantly benefit in vertical take-off and landing (VTOL), hovering accuracy, and evasive maneuverability [2].

The literature has shown that the quadrotor system is the most promising option for UUVs. Most researchers modeled the UUV as a quadrotor with four independent thrusters or propellers. The rotation of one set of propellers is counterclockwise to the rotation of the other set. The UUV’s maneuverability and stability come from the fact that the vehicle’s motion is controlled solely by the rotor speeds and the force created by the rotors. The use of an open structure (low extra masses), a high payload/volume ratio, and excellent maneuverability are all bonuses of this portrayal [6].

Over the years, experts have developed various control mechanisms to bend the behavior of any system to meet the intended specifications. Proportional–integral–derivative (PID) control is popular among the many available control methods due to its straightforward design and valuable practical applications. The PID was proposed for attitude stabilization and orientation control in [7, 8]. Since the PID values serve as valuable input to the system, calibration of these parameters is essential. The PID control approach is suitable for autonomous vehicles since applying and altering the gain parameters is simple. It is not usually feasible to directly implement the PID control for the UUVs since the quadrotors are a nonlinear, underactuated system [9]. The performance can be improved for drones using a fractional-order controlling scheme [10], recently shown better results [11].

An advanced method, such as a sliding mode controller (SMC), can control nonlinear quadrotor UUVs [2]. It is beneficial, particularly for external forces acting on the system. The SMC technique directs the system states toward the sliding surface, which employs a well-designed law to keep the system states on the body. However, the system must be developed and deployed to mitigate the associated risks. Another improved method with dynamic SMC was proposed to improve robustness overactuated autonomous underwater when exposed to under ocean current and model uncertainties [12, 13]. Other strategies, such as fuzzy logic (FL) [14] and the model predictive controller (MPC) [15], have produced noteworthy outcomes. In [14], FL is integrated with the Kalman filter to assess the position of AUVs and to drive them using a specified route. It is also capable of handling qualitative and unclear decision-making issues. During operation, the system was able to calculate its position precisely. Shen et al. [16] developed an MPC controller for the dynamic positioning of the UUV based on the Lyapunov theory. The MPC inherits the characteristics of Lyapunov controllers, such as stability, which makes this scheme desirable for the dynamic placement of UUVs. The result presented in the literature shows better robustness against external shocks and parametric uncertainties. Due to its ability to operate with disturbances and limitations, behavior prediction, tuning simplicity, and advanced performance for systems with numerous variables, the MPC has made significant strides in controller design [9]. Utilizing the plant model to anticipate the future output behavior of the plant is the fundamental aspect of an MPC. Since the UUV system is very nonlinear, the linearization-acquired stability is often impractically ineffective. It is to note [17] that the MPC and FL have been determined as more suitable controllers in a nonlinear system.

It is crucial that the reference model be determined. Recent work in [18] has presented an adaptive approach for dealing with structured and unstructured uncertainties. The intricate design of the compensator necessitated a tracking controller with a high degree of accuracy. As is very likely the case with UUVs, one of the enduring problems with such a controller is that its performance immediately diminishes with diverse physical systems. In fact, due to the complex and changing environment underwater and various potential risks, the variability of the structural parameters and environmental parameters of the underwater vehicle [19], very recently discussed the control of UUV in fixed depth motion in water.

Despite numerous control schemes that has been proposed for underwater vehicles in the literature, designing and implementing autonomous control algorithms for these vehicles to perform real-time marine tasks remains an open challenge. This is due to several factors, these includes internal perturbations, time-varying external disturbances such as ocean current effects, inherent parametric uncertainties in UUVs, unmodeled dynamics, and the unpredictable nature of the underwater environment [13]. These challenges become even more complex when dealing with a fleet of low-cost UUVs [20]. Due to the highly nonlinearity model of UUVs and it being exposed to several disturbances and uncertainties as discussed before, this article proposes a novel method for estimating and compensating for all disturbances at once, regardless of their source or nature, including but not limited to internal perturbations, time-varying external disturbances, inherent parametric uncertainties in UUVs, unmodeled dynamics, and the unpredictable nature of the underwater environment. More specifically:(1)A low computation demand is acquired by the simplicity of the proposed modeling and observer, which requires no additional sensors and robustly estimates all the states of the system and the overall effects of the unknown lumped disturbances;(2)It is worth mentioning that conventional robust control methods employ intricate controllers and may lack the agility to respond promptly to significant disturbances. Also, these controllers need expensive sensors and real-time information fed to the controller to compensate for the lumped disturbance [20]; in contrast, this article’s approach compensates for the exact amount of disturbance which is precisely estimated online as presented in the results section;(3)By being independent of the type of controller used to determine the rotor speeds of the UUVs, the developed scheme can provide existing controllers with the additional capacity to better deal with disturbances. This fact is shown in the paper in simulation, which has excellent results when exposed to different types of disturbances with a simple MPC controller. Moreover, this add-on feature can be utilized by any UUV provided the controller has access to rotor speeds.

The rest of this paper is arranged as follows: Dynamic modeling of the UUV is introduced to depict the positions and velocity of the vehicle. Following this section, the proposed control scheme with UUV model is presented with an observer design. The following section discusses simulation results, whereas two scenarios with real-time challenges validate the proposed scheme. Conclusions are presented in the last section.

2. Dynamic Modeling of Unmanned Underwater Vehicle (UUV)

To mathematically model the UUV, it is essential to identify the vehicle’s reference frame, which will be utilized to depict the equations for the positions and velocities of the vehicle. This is shown in Figure 1. The position of a UUV center of mass is measured by underwater global positioning system (UGPS) sensors, which provide data in the inertial earth frame , while the orientation is measured by inertial measurement units (IMU) in a body frame . The state vector of a UUV consists of and variables representing the vehicle’s position and velocity, respectively.

The Euler angle describes the vehicle’s orientation in 3D Euclidean space. Among many possibilities, the ZXY convention aligns the axes of and . The orientation of the aircraft is determined by first rotating about the -axis of (yaw) radians, then about the -axis of (roll) radians, and finally about the -axis of (pitch) radians. Consequently, considering the fundamental rotations as,where and , the complete rotation converting body-frame coordinates into inertial ones is:Furthermore, the four rotors provide orthogonal force to the rotation plane of their blades in the system, generating thrust forces in the negative z-axis direction relative to the body frame to support the systems’ weight and produce further maneuvering. The propellers of the UUV rotate at an angular velocity where the subscript represents the rotors 1, 2, 3, and 4. Moreover, due to the rotation, each ith rotor produces torque () along the orthogonal axis, which can be expressed as;where and are the force constant and torque constant, respectively. The inputs for the UUV depend on the magnitudes of the rotor’s angular velocities, which are the combinations of the force and torques generated around an axis in the body-fixed frame. Thus, the input vector is represented by . Where is the overall thrust force and are the components of the torque vector () are linearly coupled with the squares of rotor speeds. All such quantities are grouped in the state and input vectors.

Considering the theorem of momentum and using the second law of motion, the dynamic model of the UUV in the body frame can be expressed as;where, is the resultant force, is the moment that acts on the UUV, and M is the vehicle’s mass. Moreover, is the linear velocity, and is the angular velocity of the vehicle’s body. The UUV model is supposed to be symmetric about each coordinate system. Hence, the inertia around the x, y and z axes can be represented by . Furthermore, the angular velocity of the UUV in the body frame is related to the Euler angles via the dynamic relation that depicts the ZXY conventions as:which can be simplified as;Hence, Equation (7) can be rewritten as;Various factors need to be considered for the UUV to successfully navigate and maneuver underwater. As stated in Equation (5), two important factors, which are forces and moments acting on the vehicle’s body, must be considered while modeling any underwater vehicle. Moreover, to determine the net force that acts upon the UUV while maneuvering underwater, the thrust of the four propellers, gravity, and the vehicle’s buoyancy in the water are considered. The standard principle to express force in the inertial coordinate system is that gravity is always opposite the z-axis. On the contrary, the buoyancy acts upwards in the positive direction. Therefore, the following is obtained:where is the gravitational force and is buoyancy force. While is the density of water, is the volume of the UUV, and is gravity. Indicating with the aircraft mass and Newton’s equations for the translational motion of the center of mass reads,Equation (10) can be further expanded as;Since the origin of the body coordinate frame is located at the center of gravity of UUV, gravity does not generate a moment. To add on, the buoyancy does generate moments, and the buoyancy center coordinates in the inertial frame are denoted as , it is considered to be acting in the positive z-axis of the body frame. Thus, the buoyancy moment is expressed as;The gyro moment of the vehicle is produced when there is a change in the attitude of the UUV and can be expressed as;where is the moment of inertia of the rotors. Thus adding up, the total external moment of the UUV is expressed as;Summing up, the dynamic model of the UUV can be obtained using with inertia matrix (i.e., ) along with the equations derived for the external force and moments of the vehicle. Thus, the nonlinear dynamic mathematical model of the UUV can be represented as, .

In the following section, using the proposed control strategy, Equation (15) is used for precision and robust control in the presence of disturbances, internal perturbations, and the unpredictable nature of the underwater environment.

3. Control Strategy

The nonlinear dynamic model discussed in the earlier section shows that it is purely an integrating system and highly complex. Moreover, the UUV is underactuated since the control inputs are the four rotors while its outputs are the positions . Therefore, roll and pitch angles are kept zero. Thus, the UUV would have four inputs which are from Equation (4) and four outputs enabling the UUV having four degrees of freedom. Now, in the following subsections, we design an observer with a proposed model, considering no additional sensors however, can robustly estimate all the states of the system and the minimize effects of the unknown limped disturbances.

3.1. Linearization of the UUV

Firstly, Equation (15) is linearized around as equilibrium point () so that the UUV model can be represented in a fully controllable form. The small angle approximation uses and , using Taylor series expansion to the new state space representation. Hence, the linearization is written in the following form.where is the state vector, is a known input vector, is the vector of the unknown input, and is an output vector. Moreover, is the state matrix, is the output matrix, is the disturbance matrix of suitable sizes, and and are nonlinear functions. Then, the nonlinear quadrotor model Equation (15) can be written as by defining:where all the external moments and other unmodelled dynamics are compiled as disturbances, that is, , , , and . Also, it is noted that we can only measure six outputs which are , the matrix becomes .

3.2. Observer Design

From Equation (16), function denotes the lumped disturbance, which includes external moments, unmodelled dynamics, other external disturbances, parameter variations, friction, and complex nonlinear dynamics, which may be difficult for the modeling and controller to deal with. Hence, all of this can be estimated using an observer and then fed back to any chosen controller for compensation. The observer would all the lump highly unknown disturbances and the parameters that are difficult to the state matrix , which then becomes . The observer will be designed as follows.

Firstly, an extended variable is added to the states, which is:Then, the extended state space can be obtained as;where the extended state variables are now, and and the matrices.Moreover, the following assumptions are required.(1)The controllable matrix for the pair and the observability matrix for the pair are fully ranked;(2) should be invertible;(3)The lumped disturbances satisfy the following conditions is bounded and a constant value in steady state .

Finally, the observer is designed as follows:where and is gain matrix for the observer. The observer state equations are seen to model the actual state equation, with the true state replaced by the estimate , and a correction term which is the difference between the actual measured output and its estimate . The output in the second equation is also seen to be a model of the system’s output equation, with replaced by its estimate.

The estimation errors of state and disturbance are defined as;where represents the estimate of system uncertainties. Hence combining Equations (21), (23), and (24), the estimation error is governed by:where and . The boundedness stability of the observer has been concluded by the following lemma.

Lemma 1. Assuming that the observer gain vector in is chosen such that is a Hurwitz matrix, then the observer error, for the observer is bounded for any bounded .

Lemma 2. A system is a linear system is asymptotically stable if is a Hurwitz matrix, is bounded and satisfies .

Hence, this method will lump all disturbances, including buoyancy, external moment, and other parameter variations, and can be compensated by any controller.

3.3. Controller Design

The well-adopted control scheme, namely, the model predictive controller, is chosen to verify the new dynamics model of the UUV. This is because the MPC works with nonlinear MIMO systems and is also a favored control strategy due to its versatility in handling complex systems. The MPC employs a predictive approach by using a model of the system to forecast future behavior. This prediction-based methodology allows MPC to proactively plan optimal control actions over a defined time horizon, considering various constraints, objectives, and uncertainties. This capability is particularly advantageous in process control, robotics, and autonomous systems, where intricate dynamics, multivariable interactions, and stringent constraints are common. By incorporating optimization techniques, MPC excels at balancing multiple objectives, ensuring stability, and adapting to changing conditions. Matlab Toolbox [21] is utilized in the process of developing the controller for the proposed idea. It is a powerful tool for real-time decision-making in dynamic and challenging environments. In our example, the predictive controller minimizes the cost function for optimal control, as shown below.where matrices and are tuned control variables.

To prove the stability consider Equations (18) and (19) and and . To show that the system is stable when controlled by an MPC strategy, the Lyapunov function is derived as follows:where is chosen as a positive definite matrix. Computing the derivative of , we get:After applying the MPC control law,This can be further simplified to:Substituting the MPC control and observer estimation gives:Factorizing the above gives:For stability validation, should be negative definite; therefore, should be negative definite and should be chosen appropriately.

4. Results and Discussion

The UUV is modeled and simulated in a 3D environment using MATLAB Simulink 2023b. The computer requirement for the simulation is 16 GB RAM with more than 1.80 GHz processing speed. This virtual environment provides an authentic representation of the UUV’s behavior, enabling users to introduce time-varying and ramp disturbances to the UUV using sinusoidal and ramp functions. Utilizing the mathematical model presented in the earlier section, the simulation outputs linear and angular positions, as well as velocities. These outputs are then fed into the MATLAB MPC controller toolbox and the observer discussed in the earlier section to compute the correct rotor speed for compensation. The parameters of the nonlinear UUV are detailed in Table 1. We have referred to some recent articles to choose the simulation parameters [2, 22].

The derived mathematical model of the UUV together with the disturbance estimation and compensation scheme have been implemented as per Figure 2. The system parameters are the same as discussed in Table 1. The control system has been tested under two different scenarios:(1)Linear trajectory with time-varying disturbances;(2)Spiral trajectory with ramp-type disturbances.

It is verified and observed through simulation, that step- or ramp-type disturbances are comparatively simpler to detect and the system can cancel time-varying disturbances.

4.1. Scenario 1: Straight Trajectory with Time-Varying Disturbances

Firstly, the proposed UUV model, the estimation technique where part of the model is taken as lumped disturbances with the MPC controller is used to verify for linear path where the UUV. The reference linear positions are 1, 2 and −3 m to in directions, respectively. Figure 3 shows the effectiveness of the proposed estimation technique and control methods to the model. As the observer reconstructs the lumped disturbance component and provides the signal values to the controller for compensation, the UUV quickly reaches the desired position. The controller commands the rotor speeds via a signal ensuring that the UUV receives the correct rotor velocities, leading to desired directions. The proposed method is compared to MPC controller only with no state estimation, which means that the output from the UUV are from UGPS and IMU which are positions only. The results show the proposed method outperforms the MPC controller with time varying disturbances. The rotor speed plot in Figure 3 shows how the controller compensates for the disturbances by varying the rotor speeds. This shows that the controller can easily compensate for the effect of disturbances to maintain the precise position of the UUV. It is noted that the estimation of the partial states with unknown parameters as well as disturbances are done online and compensated directly by the controller, this requires no additional sensors, water currents, model uncertainty, or other disturbance measurement devices and it precisely controls the UUV in water.

4.2. Scenario 2: Helical Trajectory with Time-Varying Disturbances

The subsequent phase involves initiating a helical trajectory for the UUV while subjecting it to higher levels of disturbance. It becomes evident that the UUV exhibits seamless navigation, successfully reaching its intended destination, driven by the pursuit of precision and the effective mitigation of disturbances, achieved through the manipulation of rotor speeds. The UUV’s performance is thoughtfully depicted in Figure 4.

In order to comprehensively evaluate the proposed methodology, a rigorous testing regimen is employed. Four distinct disturbances, each in the form of a ramp, are input into the system, with the highest values reaching magnitudes of , 2, 3, and . The proposed method adeptly computes precise estimates for all relevant states seamlessly integrated into MPC. The observer, in turn, calculates the necessary adjustments to the rotor speeds of the UUV. Given the ramp-like nature of these disturbances, the rotor speeds continuously adapt over time to counteract these perturbations and guide the vehicle toward its predefined positions with exceptional accuracy.

5. Conclusions

In conclusion, this paper presents a mathematical model of an unmanned underwater vehicle. It introduces an innovative approach for accurately estimating and compensating for various disturbances and unknown parameters. These disturbances encompass external moments, unmodeled dynamics, other external interferences, parameter variations, friction, and complex nonlinear dynamics. Dealing with these factors can be challenging during modeling and complex for the controller. Therefore, by utilizing the proposed estimation method, these disturbances are aggregated and effectively compensated for. Additionally, the velocities of the UUV are also estimated, as these values are essential for the controller to compute the rotor speeds. The UUV demonstrates robust performance, accurately following the desired path when subjected to various disturbances, as confirmed through validation in the Simulink environment. This underscores that the proposed method requires no additional sensors, involves low computational complexity, and possesses the capability to respond rapidly to different types of disturbances during its course. Ultimately, this independent and robust control method holds significant potential for various real-world applications in underwater vehicles or drones.

Data Availability

Data available on request, please contact Sheikh Izzal Azid on sheikhizzal@gmail.com.

Conflicts of Interest

The authors declare that they have no conflicts of interest.

Acknowledgments

Open access publishing facilitated by Charles Darwin University, as part of the Wiley–Charles Darwin University agreement via the Council of Australian University Librarians.