1. Introduction
According to definitions provided by the International Maritime Organization (IMO) and Det Norske Veritas (DNV), a dynamic positioning system (DPS) comprises all the necessary equipment for a dynamic positioning ship, including the power, propulsion, and dynamic positioning control systems [
1,
2]. Dynamic positioning systems have been widely used in marine engineering fields such as offshore oil and gas resource development and submarine pipeline laying. Shatto [
3] created the first dynamic positioning system in 1961, equipped with four steering propellers. The first DPS was employed by the ship “Cuss 1” in the California Sea. In the same year, the drillship “Eureka” [
3], belonging to the Royal Dutch Shell company, was equipped with the first analog-signal DP system. The first digital-signal DP ship, “Gloma Challenger” [
3], was built in 1968 and traveled almost every ocean on Earth, providing a wealth of favorable evidence for geological discoveries, especially for the theory of plate and shell structures. Subsequently, the application of microwave position reference, underwater acoustic position reference, satellite positioning, and other position reference systems improved the accuracy of dynamic positioning systems.
The dynamic position control algorithm is the key component of a DPS. The first generation of dynamic positioning systems used conventional proportional–integral–derivative (PID) control laws. To avoid responding to high-frequency movements, low-pass or notch filters were employed to eliminate high-frequency components from the deviation signal [
4].
In the mid-1970s, Balchen and others proposed the use of optimal control and Kalman filtering theory combined with dynamic positioning control, giving rise to the second generation of dynamic positioning systems, which were also widely applied [
5,
6,
7]. Currently, the third generation of dynamic positioning systems focuses on advanced control algorithms such as nonlinear control algorithms and intelligent control theories [
8,
9,
10,
11]. Tannuri [
12] designed a control algorithm for dynamic positioning systems based on sliding mode control and employed nonlinear multi-variable mathematical models, providing robustness to variations in displacement and environmental conditions. Do [
13] developed a globally robust and adaptive output feedback controller for the dynamic positioning of surface ships under environmental disturbances based on Lyapunov’s direct method, forcing the ship’s position and orientation to globally asymptotically converge to the desired values. Hassani [
14] proposed a new strategy for the design of robust DP controllers for marine vessels under different sea conditions using mixed-
synthesis. Yang [
15] proposed a robust adaptive NN-based output feedback control scheme for a dynamic positioning ship with uncertainties and unknown external disturbances. Zhang [
16] developed a dynamic event-triggered mechanism for dynamic positioning vehicles with input saturation suited to marine applications due to its concision and flexibility. Cho [
17] presented a sliding mode control algorithm as a robust dynamic positioning control technique applicable to various tasks in the marine industry.
Due to the influence of the mechanical performance of the thrusters, the control force and torque generated by a dynamic positioning system are subject to amplitude and increment constraints, i.e., the system inputs and their rates of change present saturation issues. The model predictive control (MPC) algorithm is the only advanced technology that can handle the online optimization control of multi-variable constrained systems in a systematic and intuitive manner [
18], achieving favorable performance and robustness. Wang Yuanhui et al. [
19], drawing inspiration from GreenDP, designed a dynamic positioning controller combining the Kalman filter and model predictive control. Subsequently [
20], they used correlation-based non-switching analytical model predictive control theory to design a nonlinear model predictive controller for dynamic positioning, addressing the nonlinear control problem of dynamic positioning ship motion. Veksler [
21] adopted the MPC algorithm to combine positioning control and thrust allocation into a single algorithm that could theoretically yield a near-optimal controller output. Miller [
22] used the MPC regulator to control the LNG carrier training service ship “Dorchester Lady” and proved that a predictive controller could be built to steer an SS during an UNREP maneuver. However, its application was difficult due to the requirement of a ship dynamics’ linear incremental model. Based on this, Miller [
23] combined the MPC algorithm with the line-of-sight (LOS) approach to control Maritime Autonomous Surface Ships (MASSs) through the ship trajectory tracking system. This was combined with a variable maneuver path advance, leading to effective trajectory tracking on turns and built-in integral action reference correlation.However, the above methods only considered the thrust amplitude constraints generated by the thrusters, ignoring the constraints on the thrust amplitude increment within a certain time and non-zero-mean disturbance issues.
Model predictive control (MPC) systematically and intuitively determines the current optimal control actions based on given constraints and performance requirements. However, it faces the challenge of substantial online computations. Liuping Wang [
24] proposed a discrete model predictive control method using the Laguerre function to describe the control increment signal, thereby reducing the computational load of the algorithm. Kong Xiaobing et al. [
25] introduced a nonlinear model predictive control algorithm based on input–output feedback linearization, employing an approximate optimization method to reduce the online computation load of solving nonlinear constrained problems in sequential quadratic programming during the rolling optimization process.
To address the nonlinear nature of dynamic positioning ship motion, the saturation of input amplitudes and their rates of change, and the susceptibility to disturbances from the marine environment, a novel nonlinear model predictive control algorithm for the dynamic positioning of ships is proposed based on the Laguerre function. Compared to the original algorithm, this new approach effectively reduces the online computational load while retaining control performance. It allows a ship to rapidly reach and maintain the desired position in real time.
This paper is organized as follows:
Section 2 describes the problem and provides background knowledge.
Section 3 presents the design process of the dynamic positioning controller and an analysis of the computation load. In
Section 4, we provide simulation results demonstrating the effective performance of the proposed DP controller.
Section 5 concludes the paper.
3. Steps for Dynamic Positioning Controller Design
3.1. Precise Feedback Linearization
The mathematical model of dynamic positioning vessel motion in Equation (
7) is a standard affine nonlinear expression. Feedback linearization is required before applying the model predictive control algorithm. First, the Lie derivatives of the system output variables in Equation (
7) are calculated:
According to Equations (
23) and (
24), the relative orders of the system are
,
, and
, and the total relative order
is equal to the number of system state variables. Therefore, the nonlinear model of dynamic positioning vessel motion can undergo exact state feedback linearization, resulting in new state variables:
The nonlinear feedback control rate is given by
in which
The linear model obtained through feedback linearization is
The coefficients of each matrix in this equation are
3.2. Linear Control Structure
Discretizing the state-space model (
28) with a step size of
h yields the discretized linear model:
Here, represents the state of the linear system at time k; is the input to the linear system; is the output of the linear system at time k; and , , , and are the constant matrices after discretization.
Suppose that
and
; then, based on Equation (
29), we obtain
Suppose that
; introducing an integral component, we obtain an augmented state-space model that eliminates the slowly varying disturbance term
d, expressed as follows:
Here, , , and represent the constant augmented matrix coefficients, which are as follows:
According to Equations (
29) and (
30), the future
system outputs
in the control time domain can be predicted as follows
:
In the equation above,
Additionally, based on Equations (
26), (
29), and (
30), the relationship between the entire predicted time domain’s linear system state variables and the input
can be obtained:
where
The optimization objective function is formulated as a quadratic function of
:
where
represents the input weight. Substituting Equation (
32) into the previous expression yields the performance index
with respect to
:
where the Hessian matrix
and the vector
f are defined as follows:
Under unconstrained conditions, the optimal solution for
is given by
Due to the physical limitations of the propulsion system on a dynamic positioning vessel, the total control force and moment generated by the thrusters are constrained. Additionally, the amplitude of the total control force and moment changes within a certain time is also constrained, indicating the presence of input and input rate saturation in the system:
The input
of the nonlinear dynamic positioning vessel motion model under the mapping of the nonlinear feedback control rate (
26) results in the input
for the new linear system. The linear inequality constraints (
39) and (
40) with respect to
are transformed into nonlinear inequality constraints for
. However, the upper and lower bounds of
throughout the control time domain,
and
, cannot be directly determined. Their values are dependent on the system’s state at each sampling moment and need to be determined. According to Equation (
26), the relationship between
and
throughout the entire control time domain can be obtained:
The original nonlinear system input
and the linear system input
can both be obtained by summing their control increments
and
; that is,
Therefore,
and
over the entire control time domain are given by
where
Substituting the combined expressions (
33) and (
46) into (
42) yields a nonlinear expression for
in terms of
:
The constraint conditions, transformed from the linear constraints on U in (
39) and (
40), are combined with (
36) and (
47) to form the following nonlinear programming problem:
The left-hand side of the nonlinear constraint inequality in this equation is
The current optimal solution for the feedback-linearized system input at time
k, denoted as
, is obtained by solving the nonlinear programming problem in Equation (
48) using the sequential quadratic programming method. In this process, the initial point for iteration is set according to Equation (
38), and the transformed values are derived to obtain the inputs for the original nonlinear system, representing the required thrust and moments for the dynamic positioning of the ship.
3.3. Introduction to Laguerre Functions
A nonlinear model predictive control algorithm typically selects a relatively large and appropriate control horizon () to ensure a more favorable dynamic response and stability. However, increasing the control horizon also increases the solution time for the nonlinear programming problem, preventing the computer from issuing control commands in real time and affecting the positioning of the ship. Therefore, we introduce Laguerre functions to describe the control increments of the linearized system after feedback, proposing a new low-computational-cost nonlinear model predictive control algorithm for ship dynamic positioning.
We assume that the future
m time steps of the linear system control input increments at the current time step
k are represented by the following Laguerre function:
where
Substituting Equation (
51) into the augmented state-space model (
31), we obtain a state-space model incorporating the Lagrange function:
Thus, based on the current state and output sampled at time
k, we can predict the system’s state and output at future time
:
where
. Then, we substitute the Laguerre function into the optimization objective function (Equation (
34)) to obtain
Due to the sufficiently large prediction horizon
, the orthogonality of the Lagrange functions can be exploited to simplify the second term of Equation (
55), resulting in
Introducing the variable
and substituting Equations (
53) and (
54) into Equation (
56) yields the new performance index function:
where the Hessian matrix
and the vector
are represented as
Under unconstrained conditions, the optimal solution for
is
To handle the nonlinear constraint conditions in the original nonlinear programming problem (
48), the Laguerre function must be sequentially substituted into (
33), (
42) and (
46) to obtain the expression of
in terms of
:
By combining Equation (
57) and Equation (
61), we rewrite the original nonlinear programming problem (
48) in terms of
, forming a new nonlinear programming problem with respect to
:
where
Finally, employing the sequential quadratic programming method, the optimal solution to Equation (
62) is determined, with Equation (
60) used as the initial point. This provides the required thrust and torque for the current time step
k in the dynamic positioning of the vessel.
3.4. Computational Analysis
The sequential quadratic programming algorithm involves approximating the nonlinear programming function at a certain point through a Taylor expansion into multiple quadratic programming problems and iteratively obtaining the optimal solution. Its computational complexity increases exponentially with the dimensionality of the variables.
The original nonlinear model predictive control method’s nonlinear optimization problem, expressed in Equation (
48), and the new nonlinear optimization problem of the model predictive control algorithm based on the Laguerre function, expressed in Equation (
62), have a similar form. However, the dimensions of their internal variables differ. In Equation (
48), the variable
has dimensions of
, the Hessian matrix
H has dimensions of
, and the coefficient vector
has dimensions of
. Meanwhile, for the new algorithm’s optimization problem (
62), the variable
has dimensions of
, the Hessian matrix
has dimensions of
, and the coefficient vector
has dimensions of
. In practical applications, the Laguerre function series
N is much smaller than the control time domain
. Therefore, in the process of sequential quadratic programming, with the same number of iterations, the computational load of the proposed ship dynamic positioning nonlinear model predictive control algorithm based on the Laguerre function is reduced compared to the original algorithm.
4. Simulation Verification and Data Analysis
To validate the effectiveness of the proposed ship dynamic positioning nonlinear model predictive control algorithm based on the Laguerre function, simulation verification was conducted using a dynamic positioning supply ship as the research object. The supply ship had a length of 76.1 m, a width of 18.8 m, a draft of 6.25 m, and a displacement of 4200 t. The main parameters are detailed in
Table 1, and the non-dimensional inertia matrix and damping matrix were as follows [
26]:
The simulation experiment was configured using a nonlinear model predictive controller with a prediction horizon
of 10, a control horizon
of 150, Laguerre function poles
, and a series order of
. The initial position of the ship was set to
, and the desired position was
. The low-frequency environmental disturbance was set to a certain value.
Under simulated conditions equivalent to sea state four operations, the simulation time was set to 500 s with a time step of 0.5 s. The experiment was conducted on a Lenovo desktop computer equipped with an Intel Core(TM) i7-6700 CPU running at 3.4 GHz and with 8 GB of RAM. The results of the experiment are depicted in
Figure 3,
Figure 4,
Figure 5,
Figure 6,
Figure 7 and
Figure 8, where the blue dashed line represents the original algorithm, and the red solid line represents the new NMPC algorithm based on the Laguerre function. Additionally, the results are summarized in
Table 2.
Simulation experiment results analysis: Overall, the response curves of the proposed nonlinear model predictive control (NMPC) algorithm for ship dynamic positioning were almost identical to those of the original algorithm.
Figure 3 and
Figure 4 show the ship’s trajectory and time response under low-frequency environmental disturbance, indicating that the designed controller overcame ocean environmental disturbances to bring the ship to and maintain it at the desired position.
Figure 5 represents the ship’s speed response curve; the speed components had relatively small values, and, under the influence of environmental disturbances, they oscillated near the zero point.
Figure 6 illustrates the response curves of ship control forces and torques and their rate of change, showing that the control forces and torques were within the constraint range. Ultimately, they oscillated around a fixed value to counteract the impact of ocean environmental disturbances on the ship.
Figure 7 represents the response curves for the rate of change in the control forces and torques, all within their constraint range, which oscillated around a zero mean.
Figure 8 and
Table 2 compare the computational load of the newly designed ship dynamic positioning NMPC algorithm based on the Laguerre function with that of the original algorithm. The graph indicates that the new algorithm’s single-computation time was significantly lower than that of the original algorithm. During the 1 s–17 s simulation period, the original algorithm’s single minimum computation time was 227.9 ms, with a maximum of 1847.0 ms and an average of 684.2 ms, preventing the real-time calculation of the control algorithm. During this period, the new algorithm’s single minimum computation time was 10.9 ms, the maximum was 227.9 ms, and the average was 134.6 ms, marking a decrease of 80.3% compared to the original algorithm. In the subsequent simulation period from 17 s to 500 s, as the sequential quadratic programming (SQP) iteration’s starting point was already the optimal point, the computational load was the same as when unconstrained. The new algorithm’s average computation time during this period was 13.6 ms, a 22.8% decrease compared to the original algorithm’s time of 10.5 ms. Overall, the average computation time of the new algorithm was 14.6 ms, representing a 59.1% decrease compared to the original algorithm’s time of 35.7 ms, ensuring the real-time performance of the algorithm solution.
The experimental results indicated that the ship dynamic positioning nonlinear model predictive control (NMPC) algorithm based on the Laguerre function designed in this work could overcome the impact of unknown time-varying ocean environmental disturbances under the conditions of input and input rate saturation. It enabled the ship to reach and maintain the desired position while retaining the control performance of the original nonlinear model predictive control algorithm. Additionally, the computational load significantly decreased, ensuring the real-time solution of the algorithm.
5. Conclusions
This paper proposes a novel nonlinear model predictive control (NMPC) algorithm for ship dynamic positioning based on the Laguerre function. The algorithm uses the Laguerre function to describe the control increment signal of the linear system after feedback linearization, reducing the dimensions of the coefficient matrices in the nonlinear constraint problems. This addresses the issue of the high computational load in the original nonlinear model predictive control algorithm. Finally, the algorithm was validated through simulation experiments on a supply ship. The results demonstrated that the improved ship dynamic positioning NMPC algorithm, under input and input rate saturation conditions, overcame the impact of unknown time-varying disturbances, such as wind, waves, and currents. It ensured that the ship reached and maintained the desired position and heading angle. The new algorithm retains the favorable control performance of the original NMPC algorithm while addressing the computational load issue, satisfying real-time computational requirements.
In future work, we will study the stability and reliability of the NMPC algorithm based on the Laguerre function and consider thrust allocation to solve the overdriving problem for dynamic positioning ships.