1. Introduction
The dynamic positioning (DP) technique is widely used in ship’s positioning and motion control [
1]. The ship’s DP means that the ship controls its own propulsion system to resist the external disturbances, so that the ship can reach and maintain the desired position or track the reference trajectory with a certain attitude [
2,
3]. Compared with the traditional anchor moored positioning, the DP mode has the advantages of strong flexibility, high positioning accuracy and low positioning costs. In practical engineering, the DP ship will execute some accurate control tasks [
4,
5,
6,
7,
8], such as the fixed-point salvage, parallel navigation of multiple ships, collision avoidance of offshore platforms, underwater engineering construction and underwater vehicle tracking. Considering the actual size of the DP ship, the ship is required to strictly follow the planed path or accurately locate at the desired position, so as to avoid collisions caused by excessive position errors when the ship passes through a specific area or unknown area. Therefore, accurate DP control plays an important role in the ship’s practical engineering.
With the development of the nonlinear control theory, the DP control technique has been greatly developed and a series of DP methods have been proposed [
9,
10,
11,
12,
13]. However, the DP system is a complex nonlinear system with multi-inputs and multi-outputs (MIMO), which is easily affected by external disturbances. Vaerno et al. [
14] designed a model-based disturbance observer to estimate the external disturbances acting on the DP ship. Brodtkorb et al. [
15] developed an online estimation method for unknown disturbances to design a DP controller, which realized the feedforward compensation of wave disturbances. Yang et al. [
16] estimated and compensated the unknown time-varying disturbances by designing a disturbance observer and realized the accurate trajectory tracking of the DP ship. Hu et al. [
17] constructed an adaptive disturbance observer to obtain the unknown disturbance estimation, and it doesn’t need any prior information of the ship’s mathematical model. Considering unknown disturbances and the perturbation of the ship’s mathematical model parameters, Qu et al. [
18] designed an exponentially stable backstepping controller to estimate the composite disturbances. Zhao et al. [
19] used an adaptive compensator to reduce the effects of external disturbances on the system, and developed a terminal sliding-mode DP control law for offshore platforms.
Input saturation is an inevitable nonlinear factor affecting the control performance of the system. Some effective methods for dealing with input saturation have been proposed. Guerreiro et al. [
20] transformed input saturation constraints into optimization conditions and designed a model predictive controller to eliminate the adverse effects of input saturation on the system. Sarhadi et al. [
21] designed an adaptive PID control law based on the anti-saturation compensator for underwater vehicles with unknown mathematical model parameters and input saturation. Chang et al. [
22] developed a parallel distributed compensation fuzzy DP controller to handle input saturation and external disturbances. Hu et al. [
23] designed a robust adaptive DP control law to deal with input saturation by constructing an auxiliary dynamic system.
Most DP control algorithms are designed with the dynamic surface control (DSC) method. However, the design of the DSC method is based on the linear gain [
24], which makes the contradiction between the dynamic quality and the control accuracy of the system. When the control gain is too large, the control accuracy of the system is high, but the system’s input saturation will occur, and when the control gain is too small, the control accuracy of the system will decrease. Moreover, the design of the DSC method depends on local errors of the system, which makes the control system robust to system’s uncertainties, but the control performance of the controller is easily affected by the perturbation of the system’s parameters. Sliding-mode control [
25,
26,
27,
28,
29,
30,
31] has strong robustness to unmodeled dynamics of nonlinear systems. Liu et al. [
32] constructed a nonlinear gain function and proposed an improved DSC strategy with sliding-mode control for a class of nonlinear systems to enhance the non-fragility of the control law. Shen et al. [
33] considered the relationship between the ship’s position errors and velocity errors to design a recursive sliding-mode trajectory tracking control law to ensure the boundedness of all signals in the closed-loop control system. Shao et al. [
34] proposed an adaptive recursive terminal sliding-mode controller to improve the control performance of the linear motor.
The prescribed performance control has been successfully applied to nonlinear systems. Wang et al. [
35] used a non-logarithmic piecewise error mapping function to design a prescribed performance control law for a class of MIMO nonlinear systems. Dai et al. [
36] developed an adaptive neural network control law based on the error transform function for ships with the inaccuracy mathematical model to guarantee the preset tracking performance of the system. Li et al. [
37] proposed a robust adaptive prescribed performance control for DP ships to make the ship’s position and heading maintain at the desired value with the prescribed performance requirements. Wang et al. [
38] designed a fuzzy DP controller based on the integrating prescribed performance control and backstepping control for ships to make the trajectory tracking errors strictly comply within prescribed performance envelopes.
Considering the positioning error constraints, input saturation and unknown external disturbances, a variable gain prescribed performance control law for DP ships is proposed to ensure that all signals in the DP closed-loop control system are uniformly ultimately bounded and guarantee that the positioning errors meet the prescribed performance requirements without input saturation of the system. The main contributions of this paper are as follows.
- (1)
An improved DP control law is proposed for ships to prevent input saturation of the system and deal with positioning error constrains in the same control framework. The variable gain technique is used to dynamically adjust the control gain of the DP control law according to positioning errors to alleviate the contradiction between the dynamic quality and the control accuracy of the DP system with input saturation constrains. The error performance index functions and error mapping functions are designed to ensure that the ship’s DP meets the prescribed performance requirements.
- (2)
The error mapping function replaces the positioning error as a recursive sliding-mode surface to realize the prescribed performance control of the system and guarantee the stability of the closed-loop system with variable control gains, then an improved recursive sliding-mode control is designed based on the DSC to enhance the non-fragility of the DP control law to the perturbation of system’s parameters.
The remaining structure of this paper is arranged as follows. The problem formulation is presented in
Section 2, the DP control design is shown in
Section 3, the stability analysis is detailed in
Section 4, the simulations and the conclusion are presented in
Section 5 and
Section 6, respectively.
Notation: In this paper, defines all real matrices; represents the minimum eigenvalue of the matrix; is the Euclidean norm of the matrix; stands for the diagonal matrix; represents the set of real numbers.
2. Problem Formulation
Assume that the ship is bilaterally symmetric. The ship’s motion coordinate frame is shown in
Figure 1, where
is an inertial coordinate frame and the axes
and
are directed to north and east, respectively.
is a body-fixed coordinate frame, where
is the ship’s center of gravity, and axes
and
are directed to fore and starboard, respectively.
The motion mathematical model of the DP ship is expressed as
where
is the ship’s position vector composed of the position
and heading
;
is the ship’s velocity vector in the body-fixed coordinate system, which is composed of the surge velocity
, the sway velocity
and the yaw rate
;
is the rotation matrix with the properties of
and
, it can be expressed as
is the inertia matrix; is the linear damping matrix; represents the equivalent control vector composed of the equivalent forces and moment provided by the ship’s propulsion system, and are the surge force, sway force and yaw moment, respectively; is the external disturbance vector caused by wind, waves, and currents.
Due to the physical limitation of the propeller, the ship’s equivalent control forces and moment provided by the propulsion system are limited, i.e.,
where
are input saturation amplitudes.
To facilitate the design of the DP control law and the analysis of the system’s stability, the following assumption and lemma are made.
Assumption 1. The external disturbancesare unknown, time-varying yet bounded, and satisfywhereis a positive constant. Lemma 1. Assume that the positive definite functionis continuously differentiable on,andare continuous. Iffor, where, and satisfythen, for, there is Specially, when
,
and
, for
, there is
Since the ocean environment is time-varying, unpredictable and has finite energy, the external disturbances acting on the ship can be regarded as the unknown, time-varying and bounded signals with finite changing rates, so Assumption 1 is reasonable.
In the process of the ship’s DP, the proposed DP control law provides the equivalent forces and moment needed by the ship to suppress the external disturbances, and then the thrust distribution unit calculates them as the command signals of each propeller in the propulsion system, such as the propeller rotation speed, the direction angle, the rudder angle, etc. Finally, the control forces and moment required by the control law are generated by the coordinating action of each propeller, so that the ship can position at the desired value or track the reference trajectory with a certain attitude.
The objective of this paper is to propose a DP control law for ships with positioning error constraints, input saturation and unknown external disturbances to make the ship’s position and heading maintain at the desired value with positioning error constraints, all signals in the DP closed-loop control system are uniformly ultimately bounded and the output amplitudes of the control law meet .
3. DP Control Design
For the ship’s motion mathematical model (1) and (2), we introduce a nonlinear disturbance observer [
23] to estimate and compensate the external disturbances in this section, and design the error performance index functions and error mapping functions to make the ship’s DP meet the prescribed performance requirements, then design a variable gain recursive sliding-mode DSC strategy to prevent input saturation and improve the dynamic quality of the system. Finally, a variable gain DP control law with the prescribed performance is proposed.
3.1. The Nonlinear Disturbance Observer
For the unknown time-varying disturbances
, a nonlinear disturbance observer is introduced, which can be described as
where
is the estimated value of the disturbances;
is the positive definite symmetric observer gain matrix;
is the auxiliary vector of the observer.
Define the disturbance estimation error vector as
, and according to (2) and (9), we obtain
The disturbance observer (9) can provide the accurate estimation vector for the external disturbance vector , rather than the estimation of constant upper bounds of the disturbances. As a result, the ship can reduce the energy consumption in the DP process. In addition, the disturbance observer is exponentially stable, and its stability will be proved in the latter discussion.
3.2. A Variable Gain Function
To limit the output amplitude of the DP control law within the input saturation amplitude range of the propulsion system, a variable gain function is designed as
where
;
is a positive integer. The variable gain function has the characteristic of "Large gains for small errors, small gains for large errors", and has the following properties.
Property 1. The functionstrictly monotonically increases with respect to the independent variable. In order to avoid the excessive slope ofwhen, define Taking different values of
when
, the change curves of
are shown in
Figure 2. It can be seen that the slope of curves decreases with the increase of
.
3.3. The Prescribed Performance Control Design
The prescribed performance control technique can make the tracking error of the closed-loop system converge to a preset allowable range, while ensuring that the convergence rate meets the preseted requirements, thereby improving the control performance of the system.
In the DP task, the DP ship should reach and maintain at the desired value
with positioning error constraints, which means that the positioning error should satisfy
with
where
is the positioning error vector;
and
are error performance index functions and they are strictly decreasing;
,
,
,
,
and
are positive constants and
,
,
.
Theoretically, it is difficult to directly incorporate the prescribed performance bounds defined by (17)–(19) into the DP control design, so the error mapping functions are constructed to resolve the above problem, which can be expressed as
Moreover,
are strictly increasing, and under the following condition
the boundedness of
for all
is sufficient to ensure that the positioning error meets the requirements of (17) when
.
3.4. Variable Gain Recursive Sliding-Mode Prescribed Performance DP Control Design
Based on the variable gain technique, the prescribed performance control and DSC, an improved recursive sliding-mode control is designed to enhance the non-fragility of the control law to the perturbation of system’s parameters and resolve the stability proving problem of the system with variable control gains. Then, combining the nonlinear disturbance observer, the variable gain prescribed performance DP control law is proposed.
To realize the prescribed performance control of the system and guarantee the stability of the closed-loop system with variable control gains, the error mapping function vector
replaces the positioning error vector
as the first recursive sliding-mode surface vector
, and it can be described as
where
.
Taking the derivative of (22), we obtain
where
,
,
,
.
Design the virtual control vector
as
where
,
,
are
symmetric positive definite matrices;
is a variable gain function vector.
The first order low-pass filter is designed as
where
is the filter time constant;
is the low-pass filter state vector.
Inspired by the idea of DSC strategy, the state vector is introduced into the design of the recursive sliding-mode control. It can be seen from (25) that the differential term is directly obtained from , which can effectively avoid the complicated derivative calculation of in the backstepping control and greatly simplify the design process of the DP control law.
Define the filtering error vector of the system as
The velocity error vector is defined as
The second recursive sliding-mode surface vector
is defined as
In view of (2), (27) and (28), we obtain
Design the variable gain prescribed performance DP control law as
where
;
,
are positive definite symmetric matrices;
.
In the DP control law (30), the variable gain function vector with variable gain properties can effectively alleviate the contradiction between the control accuracy and dynamic quality of the DP system; the term is used to eliminate the coupling of the system.
The block diagram of the DP closed-loop control system is shown in
Figure 3.
4. Stability Analysis
Define the Lyapunov function as
In view of (9), (10) and
inequality, the derivative of (32) can be obtained as
where
and
satisfies
;
.
Theorem 1. The estimation errorof the nonlinear disturbance observer (9) can reach and remain in the arbitrarily small bounded compact setby properly selecting the design matrix.
Furthermore, according to (32) and (34), we have
According to Lemma 1 and (34), we know that is bounded, and it can be seen from (35) that for any , there exists a time constant such that for all , i.e., settles within , it means that the compact set can be made arbitrarily small by properly selecting the design matrix . Hence, Theorem 1 is proved.
Taking the derivative of (36), we have
In view of (26), (27) and (28), we obtain
According to
inequality, we have
In the light of (38) and (39), we have
For the term
, according to (29), (30),
inequality and
, we obtain
For the term
, according to (24) and (26), we know that
is a function of
, so
Considering the compact sets
, and
, where
and
are positive constants, which means that
is also a compact set, so there is a non-negative continuous function
, such that
. And there exists a maximum value
for
over
, i.e.,
, then we have
Considering
and according to (14), (40), (41), (44)–(46) and
inequality, we have
When
, in view of (45)–(47), we have
where
,
.
Combining (33) and (48), we obtain
where
,
.
To make
, the following conditions must be satisfied
According to Lemma 1 and (52), we know that is uniformly ultimately bounded. Therefore, according to (31), (32) and (36), are bounded. In view of (17)–(19) and , is bounded. Additionally, in the light of (24)–(27), are bounded. Hence, all signals in the DP closed-loop control system are uniformly ultimately bounded.
According to (36) and (52), we have
It can be seen from (53) that for any , there exists a positive constant such that settles within for all so that the compact set can be made arbitrarily small by properly selecting and . Therefore, according to (14)–(17) and , the ship’s position and heading can reach and maintain at the with the positioning error meeting the prescribed performance requirements.
5. Simulations
In this section, we will use the variable gain prescribed performance DP control law
to simulate a supply ship DP task, and compare it with the state feedback DP control law
and robust nonlinear DP control law
in two different cases. The motion mathematical model parameters of the supply ship are detailed in [
39]. The input saturation amplitudes of the system are
,
and
.
The selection of the design parameters of the error performance index functions
蜴
are shown in
Table 1.
Set the desired value of the ship’s DP as , and select the initial simulation conditions as , .
The DP control law design parameters are chosen as ; ;; ;;;; ; ; ; .
The state feedback control law
addresses the control problem of the ship’s DP with external disturbances, but does not consider the error constraints and input saturation, and which is designed as
where
;
;
;
;
;
;
;
.
The robust nonlinear DP control law
is designed as
the detailed design process of
and its design parameters and matrices can be found in [
23], and it addresses the control problem of the ship with external disturbances and input saturation.
5.1. Case 1. Without Disturbances
The simulation results of the supply ship without disturbances are shown in
Figure 4,
Figure 5,
Figure 6,
Figure 7,
Figure 8 and
Figure 9.
Figure 4 and
Figure 5 show that the control laws
,
and
can enable the ship to accurately complete the DP task, and all the ship’s positioning errors are within the error constraint range.
Figure 6 indicates that the ship’s velocities are bounded. From
Figure 7, we can see that the output forces and moment of
does not exceed the input saturation amplitudes of the propulsion system, which is in line with the practical engineering. This is because the variable gain function can dynamically adjust the control gain according to the ship’s positioning errors to limit the output forces and moment of the control law within the input saturation amplitude range. The output forces and moment of the control law
exceed the saturation amplitude, which is unacceptable in practical engineering.
Figure 8 reveals the control performance
of the DP system. It can be clearly seen that all the ship’s positioning errors can converge to 0 within a finite time. In summary, DP systems under different control laws have good control performance when the supply ship is not affected by external disturbances.
5.2. Case 2. With Disturbances
In order to verify the resistance of the DP system to external disturbances and the non-fragility of the proposed control law to the perturbation of the system’s parameters, we will simulate and analyze the DP task of the supply ship with external disturbances in this case. The desired value, initial conditions, design parameters and matrices are set consistent with Case 1.
The external disturbance vector is selected as
where
is the disturbance vector in the body-fixed frame and it comes from the first order Markov process
where
is the time constant matrix;
is a zero-mean Gaussian white noise vector;
is the amplitude matrix of
. The initial simulation conditions are selected as
.
The simulation results are shown in
Figure 9,
Figure 10,
Figure 11,
Figure 12,
Figure 13,
Figure 14 and
Figure 15. It can be seen from
Figure 9 and
Figure 10 that control laws
and
can still enable the supply ship to accurately complete the DP task and make the positioning errors meet the prescribed performance requirements.
Figure 11 indicates that the ship’s velocities are still bounded.
Figure 12 and
Figure 13 are estimation curves of different DP control laws for external disturbances. The nonlinear disturbance observer in
and
can accurately estimate the external disturbances, thereby reducing the energy consumption of the ship during the DP process. This also implies that the introduced nonlinear disturbance observer in this paper has a strong adaptive ability, while
cannot deal with the external disturbances accurately.
Figure 14 shows that the control output amplitudes of control laws
and
can still remain within the saturation constraint range. Since the control law
cannot accurately approximate the external disturbances, the output amplitude of the control law is larger than that of the Case 1, which is still unacceptable.
Figure 15 reveals that the proposed DP control law can make the system have better dynamic quality and steady-state performance.
The analysis of the simulation results of Case 1 and Case 2 illustrates that the DP system has strong resistance to external disturbances, and the proposed DP control law has strong non-fragility to the perturbation of system parameters.
6. Conclusions
In the presence of external disturbances positioning error constraints and input saturation, a variable gain prescribed performance DP control law is proposed for DP ships in this paper. A nonlinear disturbance observer is introduced to estimate and compensate the unknown external disturbances. The error performance index functions and error mapping functions are designed to make the ship’s DP meet the prescribed performance requirements. A variable gain recursive sliding-mode DSC control is designed to avoid input saturation of the propulsion system and enhance the non-fragility of the control law. The stability of the DP closed-loop control system and the uniformly ultimately boundedness of all signals in the DP control system are proved by the Lyapunov method. Finally, simulation analyses of the DP task of a supply ship are carried out. It illustrated that the proposed control law has strong non-fragility to the perturbation of system’s parameters, which can make the DP control system have a strong resistance to external disturbances and ensure that the positioning errors meet the prescribed performance requirements.
The main innovations of this paper are as follows:
- (1)
An improved DP control law is proposed to resolve the ship’s DP problem of external disturbances, input saturation and error constraints, and ensure the uniformity boundness of all signals in the DP closed-loop system.
- (2)
A prescribed performance control strategy is designed to guarantee that the ship’s positioning error meets the preset performance requirements, and a variable gain function with the characteristics of "large gains for small errors, small gains for large errors" is designed to effectively adjust the control gain of the DP control law according to the ship positioning error to ensure that the system does not have input saturation.
- (3)
Different from the existing DP control laws in [
23] and [
37], the proposed DP control law in this paper does not need to design the auxiliary dynamic system to handle input saturation and it can make the ships complete the high-performance DP with prescribed performance. Moreover, the proposed control law in this paper not only conforms to the practical ship’s DP, but also can be easily extended to the control of other systems with Euler-Lagrange dynamic equations, such as aircraft systems, robotic systems, etc.
The disadvantage of the variable gain recursive sliding-mode DP control law is that the number of control design parameters and matrices increase, while the selection of design parameters and matrices are based on trial and error, which may not be optimal. In the future research, the design matrices and parameters of the variable gain recursive sliding-mode DP control law will be identified and optimized to achieve the optimal control performance, and the unknown kinematics and dynamics mathematical model parameters and unmeasurable velocities of the ship should also be handled in the prescribed performance DP control framework.