1. Introduction
For safe sailings and operations in the ocean, large ships often encounter uncertain situations, such as supply difficulties, unknown sea conditions and hidden risks in the operation of marine equipment, which may affect the ship safety during the sailing [
1]. Therefore, it is of great significance for large ships, especially containers, to predict and optimize the performance of real marine motion system with wave disturbance, including optimizing ship motions as well as actuator actions and reducing the saturation rate of the actuators. In particular, the constraints of actuators of the rudder-fin joint system draw much attention in the study field of ship safe sailing [
2,
3,
4,
5,
6,
7]. The maximum angle of the fin stabilizers/rudder is usually limited, namely saturated, which may cause dynamic stall and even instability of the system risking severe accidents [
8]. Moreover, the input constraints of the actuators are also reflected in the input delay characteristics of the fin stabilizer driving system, which further deteriorates the control performance.
Many novel methods, including relevant nonlinear control, have been applied to ship motion control tentatively [
3,
9], In recent years, with the development of various advanced control algorithms, the feedback linearization and other nonlinear control methods are applied for ship autopilot control. Yang and Jiang employed the nonlinear variable structure robust control method in fin stabilizer control [
10]. Perez and Goodwin applied the model predictive control to the fin stabilizer control to prevent the occurrence of dynamic stall [
4]. In addition, the rise of intelligent control methods has attracted a large number of scholars [
11,
12,
13]. Some achievements of rudder roll reduction are included in [
3,
14]. The most important of these achievements is to adopt the modern control technology based on the nominal state space model to deal with the problems of rudder roll reduction. The main control method is LQG and its integrated/improved control approaches [
15,
16,
17,
18,
19]. Additionally, Blanke applied
H∞ control to rudder roll reduction [
20]. Although the modern control methods improve the efficiency of roll stabilization, the effect of high and low encounter frequency is still not ideal.
Most nonlinear processing methods based on strict feedback nonlinear system have the advantages of fast response, good convergence and high accuracy, and they achieve certain control effect. However, it is also found that the conventional nonlinear control methods for MIMO system have the following shortcomings: the design process is complex, and the adjustment of control parameters is difficult; the performance indexes set by users cannot be optimized online and real-time; constraints cannot be explicitly considered, such as state constraints, actuator input constraints (including saturation and delay characteristics of actuators), which may cause the degradation of the control performance. The above issues motivate the studies of deploying model predictive control (MPC) in ship motion control. The method has been widely used in process industries [
21,
22,
23] due to its excellent capacity of dealing with multivariables and various constraints. In recent years, abundant results have been reported in different application fields, such as advanced manufacturing, energy storage, electrical engineering, and so on [
24,
25,
26]. A significant feature of MPC is the receding horizon fashion, and the optimization problem is solved at each time instant to determine the control inputs.
Both fin roll reduction and rudder roll reduction are faced with the problems of complex modeling and controller failure caused by the change of sailing states. Abundant results on MPC addressing ship control have been reported concerning the above issues. ODA proposed a method based on autoregressive model that can automatically identify models online [
7]. Although there is no need to model in theory, the online calculation workload is huge, and it is difficult to apply in practice [
2]. Preze’s MPC control method [
4] can effectively solve the problem of actuator constraints, but it is still not enough to deal with the aforementioned problems in fin roll reduction or rudder roll reduction. Wang proposed a distributed MPC [
27] for multiship collision avoidance decision support and path following, which offers a complete set of solutions for multiship collision avoidance in intelligent navigation. It is also worth mentioning that classic MPC approaches usually optimize a control sequence with an open-loop form, which inevitably deteriorates the robustness of the control system.
In this paper, we consider employing MPC to deal with the ship roll/yaw motion control problem, in order to guarantee the ship performance and the actuator action reliability. To be more specific, the H∞-type robust MPC is employed in ship control. As far as we know, the relevant work has not been reported in the literature. The main advantage of the method is that it can actively address the disturbance, especially when the upper bound of disturbance can be determined in advance. Furthermore, the control input within the prediction horizon adapts a state feedback control law, which renders more robust control performance compared with the open-loop scenarios. In the rudder-fin joint MIMO control system, the receding-horizon optimization strategy is implemented in real time, and the input constraints of rudder angle and fin angle are considered. In such a way, ship roll/yaw motion control is handled with the minimized disturbance attenuation level.
The main contributions of this paper lie in the following facts:
To the best of the authors’ knowledge, the achievement in this paper is the first attempt to apply H∞-type model predict control strategy to ship roll/yaw motion control.
Compared with the existing processing methods to input constrains, the delay characteristic of practical fin stabilizer system and saturation limitation of the rudder/fin stabilizers are simultaneously considered and addressed.
The subsequent sections are arranged as follows. In
Section 2, the three degrees of freedom (3-DOF) coupling ship motion model is constructed to be consistent with the predictive model.
Section 3 focuses on presenting the
H∞-type state feedback model predictive control (
H∞-SFMPC) strategy, which is the main part of this paper. In
Section 4, simulations are demonstrated to show the effectiveness using the approach. Conclusions and the future work are given in
Section 5.
3. Main Result
3.1. Design of Robust Model Predictive Controller for Roll/yaw with Saturation Constraints
The optimal problem of infinite-horizon MPC is given by
Equation (13) is a min-max optimal problem, i.e., maximize the cost function with respect to the disturbance over the prediction horizon, and then minimize it by the optimal control input sequence [
23]. Although this optimization problem is convex, it is not computationally feasible. In order to simplify the solution, we may derive the upper bound of the performance index, and then use the state feedback control law to minimize the upper bound. Hence, a quadratic function
is designed such that
Based on the above inequality, one has
Thus
L(
x(
k)) is the upper bound of the performance index. Now that we have the upper bound of the cost function, we need to consider the following state feedback control law,
Substituting Equation (13) into Equation (11), then Equation (11) can be written in an inequality form
In this way, infinite-horizon MPC optimization problem is transformed into: at every moment
k, find the state feedback control law to minimize
L(
x(
k)), but only implement Equation (14); at the next moment
k+1, repeat the same optimization problem according to the new measurement value
x(
k+1) and get the new
K. Define a scalar
, which follows that
Then minimization of the upper bound of the cost function is approximated as minimization of
. Define
, by resorting to the Schur complement, Equation (15) is equivalent to
Equation (14) is equivalent to
Letting
,
,
,
, then Equation (17) is expressed as
where
.
By resorting to the Schur complement, a sufficient condition can be derived for the inequality (18) as follows
where
and
.
The details of the derivation of the above linear matrix inequality (LMI) is shown below.
By multiplying
on both sides of the inequality Equation (20), and setting
,
,
, one can obtain the equivalent LMI as follows,
which is exactly the inequality (19). The variable
or
is associated to input-state-stability [
32]; it is worth noting that smaller
means better control performance [
33]. Besides, our optimization objective is to minimize
, which is denoted by
where
is the optimal
obtained in the previous time instant.
The input saturation constraints of the controller should be considered. It is assumed that control inputs satisfy
. Referring to [
34], the input saturation constraints of the controller are guaranteed by the following LMI
where
C is a diagonal matrix, and the
j-th element satisfying
.
The
H∞-type MPC online real-time optimization problem considering linear state feedback control law can be summarized as follows [
33]:
3.2. A Predict Method Compensating Delay Dynamic of Fin Stabilizers
In the practical operation of ship antiroll control system, there is always some delay in the response of the fin stabilizer drive system to the master signal. Therefore, it is not suitable to employ the present states to participate in the close-loop control. In cases where the dynamic response characteristics of the fin stabilizer drive system are not obtained, the prediction value of the roll angles should be used in advance, which participates in the closed-loop control system to compensate the dynamic delay of the fin stabilizers to achieve ideal control effect. It is noticed that the rudder has the different control effect on the both course and roll in delay characteristics, so only the delay characteristic of the fin stabilizer drive system is considered in this paper for simplicity of the controller design.
The essence of the above method is to compensate the dynamic delay of fin stabilizers by a parameter estimation and prediction method based on a single-input single-output (SISO) stochastic model. The least square method can be used to estimate the corresponding parameter in batch processing. However, it brings additional computational burden and storage resources, thus it is not suitable for online identification. Based on the traditional recursive least square (RLS) algorithm, we add a fading factor to the previous data and propose the fading memory recursive least squares (FMRLS) algorithm, which can properly reduce the weight of old data while strengthening the weight to renew data.
For SISO stochastic system
where
and
are the sample matrix,
is the parameter to be estimated and
is the noise. The objective is that we resolve the estimated value
such that
Therefore, the FMRLS algorithm using forgetting factor is
where
is the present parameter estimate vector,
is the past estimate,
is the present measurement,
is the prediction error, also known as update information,
is the correction error gain matrix,
is the covariance matrix and
is the present sample matrix.
The algorithm flow is based on the previous data and the new measurement data and can calculate the next recursion calculation required.
Auto-Regression (AR) Model is common and prevalent. The general form of the p-order AR model is given by
Based on Equation (27), together with
,
and
, we obtain the
l-step prediction as follows:
where
l = 2, 3, …;
i = 1, 2, …
p.
The order
p of AR model is unknown, so it is necessary to determine
p and fit a more reasonable AR model to predict the roll angles accurately for the participation in the controller design. There is no strict criterion to confirm the order
p of the model. Increasing the order can reduce the mean square deviation between the model and the sample data, making the model closer to the sample data, but too high order will introduce the disturbance, which does not mean that it can better describe the real sequence. There are some criteria for the selection of order, and the more famous one is Akaike criterion (AIC) [
35]. It is generally more appropriate to describe the motion of the ship on the wave above order 4 and below order 8 [
36].
3.3. Ship Roll/Yaw Robust Model Predict Control with Multiple Input Constraints
For the ship roll/yaw controller design, the discrete-time ship motion state prediction model is carried out according to H∞-type cost function, the minimum value of cost function is treated as inequality constraint and the multiple input constraints are considered, including the saturation limitation of the rudder/fin stabilizers and the delay constraint of the fin stabilizers. With the help of Matlab toolbox, the control law gain K at each time instant is obtained.
In addition, considering that there is extreme wave interference when the ship is sailing in the ocean, the feasible region of online solution may exceed, making the control inputs lose efficacy further, resulting in being out of control. To resolve the issue, the maximal feasible region can be calculated offline in advance. In cases where the system states lie outside this region, a linear quadratic regulator (LQR) is employed to improve the safety of the ship.
As a summary of this section, the H∞-type MPC approach is integrated with the prediction method by considering the fin angles delay constraint. Note that the control method employed in this paper is inherently developed for linear state space models. In fact, the nonlinearity is not strong for a complete ship control system model under mild conditions. Hence, it is reasonable to consider the model mismatches in the disturbance term when a linear model is employed for prediction. A byproduct of this treatment is that less computational resources are required, which facilitates real-time implementation compared with a nonlinear model based predictive control method.
It can be seen that the robust
H∞-type model predictive control strategy with multiple input constraints (
H∞-SFMPC) is constructed in this paper, as is shown in
Figure 1.
4. Simulations
The main parameters of the term ship are shown in
Table 1. In the
H∞-type cost function, the
Q and
R weighting matrices are selected as diagonal matrices diag {1, 1, 400, 400, diag {0.8, 0.8} respectively. The control scheme proposed in this paper is verified by simulation in the following cases.
Simulations of the irregular wave disturbance forces/moments are given by means of the strip theory calculation and the weighted average of power spectrum of the first-order wave disturbance forces/moments, e.g., here the rolling disturbance moment in random six-level upper limit sea state is simulated, and its transverse wave harmonic amplitude and rolling disturbance moment are plotted, as shown in
Figure 2 and
Figure 3.
In cases where the order of AR model is
p = 5, the fitting model has high accuracy [
37]. Generally, the delay time of fin stabilizer actuator is more than 1 s. It is assumed that the delay time is 1.2 s, which can compensate the dynamic delay of fin stabilizers. In the simulations, the parameter identification accuracy and stability can be considered, and the forgetting factor is set
= 0.975 in this paper. The predicted roll angles can be used to participate in the subsequent controller design.
Simulation Case 1: Control performance of H∞-SFMPC strategy based on nominal model in different sea states
In this case, the robustness of the proposed approach in different sea states is studied. The sea state codes are selected as four, five and six levels, and the encounter angle is set as 90°. The simulation results are shown in
Figure 4, where
Figure 4a shows the time history curves of the ship yaw angles in these levels of sea conditions; (b) represents the time history curves of the ship roll angles; (c) represents the time history curves of the fin angle inputs; (d) represents the time history curves of the rudder angle inputs. From the results in
Figure 4, it can be seen that the
H∞-SFMPC strategy can satisfy control requirements for roll and yaw angles. In addition, the larger the sea state level is, the greater the response of roll angles and yaw angles is, and the input effect of the controller is also increased. In the six-level sea state, there exist the larger fin angles and rudder angles relative to other low level sea states. The statistical values of simulation results are shown in
Table 2. It clearly shows that the
H∞-SFMPC strategy has considerable control effect and robustness in different sea states.
Simulation Case 2: Control performance using different strategies
In this case, LQR control law (LQR controller is designed only for the linear model without considering the nonlinear term of the system in nominal model) and
H∞-SFMPC strategy are used for the ship roll/yaw control in the six-level sea condition at the encounter angle of 90°. The results are illustrated in
Figure 5. It can be seen from (a) and (b) that the control effect of the
H∞-SFMPC control law proposed is obviously better than that of the traditional LQR control law; it can be seen from (c) and (d) that the difference of fin angle amplitudes using different control methods is not obvious, and the amplitude of rudder angle actions using
H∞-SFMPC become smaller as a whole, while the rudder actions are more frequent, which is the reason that the
H∞-SFMPC works by the optimization online and in real time, viz., for a relatively better state response it is necessary to speed up the action rate of the actuators. The statistical values of simulation results are shown in
Table 3.
Simulation Case 3: Control performance based on different design parameters
In this case study, the parameters involved in the controller design are investigated. The parameters to be tuned are
Q and
R in the cost function, which are the weights of system state and control input, respectively. Note that
in the stage cost is a variable. Thus, it is not chosen by the user. To show how
Q and
R affect the control performnace, simulations are carried out as shown in
Figure 6. It is illustrated that the yaw and roll angles have smaller fluctrations, when the weight of the sytem state is much larger than that of the control input. Under this condition, however, the control input is more aggressive. On the other hand, the control input is much smoother when we increase its weight in the cost function, one benefit of which is the improved fuel economy. Hence, it can be concluded that larger
Q should be considered for extreme sea states in order to stabilize the ship, while larger
R can be considered for calm sea state.
Simulation Case 4: Control performance based on different models (nominal/uncertain model)
In this case, the ship roll/yaw control using H∞-SFMPC strategy is investigated based on the nominal/uncertain model alternately in the six-level sea state at the encounter angle of 90°.
We assume that hydrodynamic coefficients are perturbed in the proposed model, while the inertia and mass of ship rigid body are constant. The uncertain hydrodynamic coefficient matrices are given such that perturbation coefficient
ei = 1.3 − 0.6
δi,
δi ∈
N (0, 1), i.e., the bounded perturbation value is set as 30%,
I = 1, 2, …, 21, viz. there are in total 21 hydrodynamic coefficients of
,
and
in Equation (2), see
Appendix A.
The simulation results are shown in
Figure 7. It can be seen from (a) and (b) that the ship motion response based on two different models has good similar control effect, and from (c) and (d) it can be seen that the
H∞-SFMPC also has strong robustness to the parameter uncertainty model when the control inputs based on nominal/uncertain model are not so different. The statistical values of simulation results are shown in
Table 4.