Abstract

This article deals with the study of mathematical models and the assessment of the stability of the motion of ships, investigating properties of the system such as kinetics and stability. This is essential for the selection of suitable control methods according to the requirements set out for the problem. Some control methods require the author to specify control parameters before the operation of the system can be started. Therefore, the survey of the article is useful for the above problem. Control methods through simulation results (PID controller, lag compensator, and lead compensator) give me results that reflect properties of the system (the stability of the operation cycle of the ship model). In addition, control methods for this model, which serve for research and education, are also presented below. Simulation is done by Matlab.

1. Introduction

A ship is an object that constantly moves on the surface of the sea. Ships are often large in size to serve the transport of goods, etc. Vessels are under a lot of pressure from fierce waves, tides, etc. So, navigating a ship is a challenge for the crew. The dynamics analyzed below are mainly laws. In particular, Newton’s law is used in cases where a ship is considered to be a moving body in a fluid medium. The parameters of the liquid surface in this case are not taken into account. The equation describing the motion of the ship is a higher order differential equation. This equation contains many physical parameters. These parameters have correlation relationships with each other. Through previous studies, this object has full kinetic properties: the motion is calculated from the moment of the departure, the reserve of the stability is low [1] due to many effects of external forces, etc. Research reports show that the control of ships is aimed at the following purposes: the author stabilizes the ship’s directions and improves the stability reserve of the system. The author adjusts the parameters so that the transition time is short. The aim of this paper is not beyond the above intentions. In the problems of stability of directions over a finite period of time, several other problems of stability of the trajectories of ships are known. These trajectories can be other objects’ target tracking points. According to the requirements of the above problems, the stability of the systems is a topic of interest. This leads to a work that the author needs to do: the author evaluates the quality of the ship’s kinematics through the parameters presented above. In addition, other factors include the costs to implement and the types of energy and their consumption to control a ship so that it operates in the most efficient way [2]. Another interesting work was lectures on hydrodynamics [3] for destroyers. Another novel theory is the use of techniques [4] for destroyers. A future research paper is investigating the dynamic characteristics for an aircraft carrier equipped with rocket launchers as referenced in [5]. Rudder roll damping experience [6] in Norway is a new research topic. Thrust losses associated with autopilot [7, 8] of a submarine are always welcome. The mechanical tests in [9] can be applied to a military submarine. Guidance and control [10] of military submarines in the ocean is interesting. The planar motion mechanism system [11, 12] for any type of ship is always useful to readers. The principles of architecture [1315] for the design of a submarine are a new topic. Probabilistic theory [16] of submarine dynamics has always been of interest to the author. Based on the reference of [17], the author can study the floating and sinking mechanism of submarines. Articles related to this topic are always helpful. On the coupled motion of steering and rolling [18] of a military submarine is a future work. The compatibility of solutions in [19] for a type of submarine can be considered by the researchers. The description of autonomous vehicles [20], including modern military vehicles underwater, is a novel topic in the early 21st century. Control strategies for unmanned underwater vehicles [21] including robotic submarines and robotic aircraft carriers are a fascinating topic. The Engineering Handbook [22] is necessary to mention the vehicles: robotic submarines and robotic aircraft carriers. The use of artificial neural networks for vehicles in [23] is of great interest. Optimal control for a surface combatant ship [24] /responding-type ship motion model [25] is a new research work. The Mathematical Model of Start [26] and this model can be controlled by a controller for consistency with its structure. Fatigue analysis of [27] is referenced for military ships. Ship-to-grid integration [28] can be advantageous for ships located far inland. The use of methods to detect ship radar signals [29] is a promising study. Electromagnetic compatibility [30] for the design of military ships is a special publication. Analysis on ship’s underwater static electric field [31] was carried out with actual measurements for more accurate results. Intelligent decision support system of ship unsinkability design [32] in the final stages needs to be considered. This paper focuses on investigating the stability of the ship system through specialized control methods that have become popular for teaching activities in schools. The author has evaluated the effectiveness of these methods in the most detailed way that has not been thoroughly documented before.

2. Model of the Ship

Figure 1 depicts, in detail, the motion components and kinematic parameters of the ship (Figure 1) on axes in 6 degrees of freedom (DOF), specifically, as follows.

The motion components and kinematic parameters described on the shaft are as follows:Sliding along the x-axis includes , which isthe displacement of the ship’s center vertically, u, which is the speed of longitudinal displacement, , which is the angle of the inclination, and , which is the angular velocity of the rollSliding along the y-axis includes , which is the displacement of the ship’s center horizontally, , which is the speed of horizontal displacement, , which is the angle of the difference, and , which is the angular velocity of longitudinal rollSliding along the z-axis includes , which is the displacement of the ship’s center in the vertical direction, , which is the direction of the ship, and , which is the speed of the rotation are coordinates of the center point of the ship

The motion of the ship at any position is shown as follows [1]:where is the vector specifying the position, which is used to orient with the reference frame on Earth, is the direction velocity vector or the angular velocity vector, M is the inertial matrix, is the Coriolis matrix, vector of the force, and moment of gravity, and is the vector of the force and the moment of control signal.

The linear state-space model describing the dynamics of a ship without the effects of noise signals is shown as follows [33]:where , A and B are the coefficient matrices, is the control signal, and is the rudder rotation angle. Equation (2) can be written as

Equation (3) is the ship’s linear state-space equation used to synthesize the ship’s controls without interference signals affecting the system. The parameters of a ship are as follows. The length of the ship is L = 175 (m), the width in the center of the ship is B = 25.4 (m), the expansion of the water is W = 21222 (m3), and the maximum speed of the ship is u = 14 Knots. The value of aij and bij is calculated as in Table 1. The linear state-space equation of the ship:

The transfer function of the ship:

From a model (3), the author generated a characteristic matrix A. The values of the coefficients, aij and bij, in this matrix are in an area in the distribution of poles in the complex plane. This leads to an undesirable phenomenon in the investigation of the dynamical properties of any system.

The complex number form is expressed as follows: s = a + bj, where the value of “a” is the real part and the value of b is the imaginary part. Factors that affect the stability of the system include the properties of the dynamics. All state variables are dynamic representations of the system. These variables include important parameters such as tilt angle and yaw speed, affecting the stable quality of the ship system. Therefore, these two parameters are always interested. Another parameter is the magnitude of the rudder angle that affects how much energy is consumed during the steering of the ship. This parameter plays a key role in keeping the direction of a ship’s movements for a long period of time. The analysis of the above factors is necessary for the selection of controllers to control the operation of the ship in different purposes.

3. Controller Design Using PID Strategy

PID controllers are commonly used to regulate the time domain behavior of many different types of dynamic plants [35]. The transfer function of PID control is given by

4. Controller Design Using Lead and Lag Compensators

Lead compensator is a soft approximation of the PD controller; the PD controller, given by GPD (s) = KP + KDs, is not physically implementable, since it is not proper, and it would differentiate high frequency noise, thereby producing large swings in output. To avoid this, the PD controller is approximated to the lead controller of the following form:

The large the value of P, the better the lead controller approximates PD control; rearranging gives

Now, letand

The following approximated controller transfer function of the PD controller is obtained and is called the lead compensator:

If Z < P, this controller is called a lead controller (or lead compensator). If Z > P, this controller is called a lag controller (or lag compensator). The transfer function of the lead compensator is given by

The lag compensator is a soft approximation of the PI controller, and it is used to improve the steady state response, particularly, to reduce the steady-state error of the system; the reduction in the steady-state error is accomplished by adding equal numbers of poles and zeros to systems:

Since the PI controller by itself is unstable, I approximates the PI controller by introducing value of P0 that is not zero but near zero, the smaller I makes P0, the better this controller approximates the PI controller, and the approximation of the PI controller will have the form:

5. Simulation Results and Discussion

Diagrams of the system using the PID controller, LEAD compensator, and LAG compensator are shown in Figures 24 , and simulation results using the PID controller, LEAD compensator, and LAG compensator are shown in Figures 516 .

Figure 8 shows that impulse response for the closed system (highlighted in red) is worse than the open system (highlighted in green Figure 6). The value of amplitude of the oscillation of the closed system in this case is large, and the closed system does not reach a steady state. For the PID controller, the closed system does not respond well. The value of amplitude of the oscillation of the open system in this case is large and the open system does not reach a steady state.

Figure 7 shows that step response for the closed system (highlighted in blue) is worse than that for the open system (highlighted in red Figure 5). The value of amplitude of the oscillation of the closed system in this case is large, and the closed system does not reach a steady state. For the PID controller, the closed system does not respond well. Meanwhile, the open system cannot respond well. In general, for the PID controller, the system does not respond well.

Figure 12 shows that impulse response for the closed system (highlighted in green) is worse than the open system (highlighted in green Figure 10). The value of amplitude of the oscillation of the closed system in this case is large and the closed system does not reach a steady state. For the lead compensator, the closed system does not respond well. The value of amplitude of the oscillation of the open system in this case is zero and the open system reaches a steady state.

Figure 11 shows that step response for the closed system (highlighted in red) is better than that for the open system (highlighted in blue Figure 9). The value of amplitude of the oscillation of the closed system in this case is large and the closed system does not reach a steady state. For the lead compensator, the closed system does not respond well. Meanwhile, the open system cannot respond well. In general, for the lead compensator, the system responds well.

Figure 16 shows that impulse response for the closed system (highlighted in red) is worse than the open system (highlighted in red Figure 14). The value of amplitude of the oscillation of the closed system in this case is large and the closed system does not reach a steady state. For the lag compensator, the closed system does not respond well. The value of amplitude of the oscillation of the open system in this case is −1.4 and the open system reaches a steady state.

Figure 15 shows that step response for the closed system (highlighted in green) is better than that for the open system (highlighted in blue Figure 13). The value of amplitude of the oscillation of the closed system in this case is large and the closed system does not reach a steady state. For the lag compensator, the closed system does not respond well. Meanwhile, the open system cannot respond well. In general, for the lag compensator, the system responds well.

The efficiency of the above control methods in descending order:(1)Lead compensator(2)Lag compensator(3)PID controller

6. Conclusions

Through the investigation of the stability of the system, the author had the next treatment direction in the following research works: the author used this property to evaluate the effectiveness of using specialized controls for the system mentioned above. In the future, the use of powerful control algorithms can be applied to the above model such as neural control. Comparing the efficiency of the controllers helped me understand the essence of the problem for ship models in particular and other automatic models in general. The simulation results of this paper can be a rich source of reference for the selection of new control methods for ships in the future.

Data Availability

The data used to support the findings of the study are cited as references within the article.

Conflicts of Interest

The authors declare that they have no conflicts of interest.