Next Article in Journal
Laying the Foundation: How Substrate Choice Influences Kelp Reforestation Success
Previous Article in Journal
A Meta-Frontier Approach to Evaluating the Environmental Efficiency of Coastal Ports: Implications for Port Sustainability
Previous Article in Special Issue
Predefined-Performance Sliding-Mode Tracking Control of Uncertain AUVs via Adaptive Disturbance Observer
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Improved Model Predictive Control Algorithm for the Path Tracking Control of Ship Autonomous Berthing

Navigation and Ship Engineering College, Dalian Ocean University, Dalian 116023, China
*
Author to whom correspondence should be addressed.
J. Mar. Sci. Eng. 2025, 13(7), 1273; https://doi.org/10.3390/jmse13071273
Submission received: 26 May 2025 / Revised: 24 June 2025 / Accepted: 27 June 2025 / Published: 30 June 2025
(This article belongs to the Special Issue Control and Optimization of Ship Propulsion System)

Abstract

To address the issues of path tracking accuracy and control stability in autonomous ship berthing, an improved algorithm combining nonlinear model predictive control (NMPC) and convolutional neural networks (CNNs) is proposed in this paper. A CNN is employed to train on a large dataset of ship berthing trajectories, combined with the rolling optimization mechanism of NMPC. A high-precision path tracking control method is designed, which accounts for ship motion constraints and environmental disturbances. Simulation results show an 88.24% improvement in tracking precision over traditional MPC. This paper proposes an improved nonlinear model predictive control (NMPC) strategy for autonomous ship berthing. By integrating convolutional neural networks (CNNs) and moving horizon estimation (MHE), the method enhances robustness and path-tracking accuracy under environmental disturbances. The amount of system overshoot is reduced, and the anti-interference capability is notably improved. The effectiveness, generalization, and applicability of the proposed algorithm are verified.

1. Introduction

With the advancement of intelligent shipping and autonomous navigation, autonomous ship berthing has become the final and critical operation in the navigation process. Its control accuracy and system robustness directly determine the safety and efficiency of the berthing process. Path tracking control is a key technology in autonomous berthing systems and is crucial for ensuring a ship approaches the berth smoothly and safely along the planned trajectory, serving as a fundamental prerequisite for realizing intelligent berthing [1]. Compared to open-water navigation, path tracking during berthing is significantly more complex. It involves tighter path curvatures and confined spaces while being subject to external disturbances such as wind, waves, and currents, as well as internal constraints, including actuator hysteresis and input saturation. These factors impose stricter demands on the accuracy and robustness of path tracking control methods.
Ship tracking control is mainly divided into two categories—heading-keeping control and track-keeping control—which are the core links to realize high-precision navigation and autonomous berthing of ships. Common control methods include closed-loop gain shaping control, backstepping, and model predictive control (MPC). Min [2] proposed a closed-loop gain shaping algorithm for ship heading tracking and utilized the mirror mapping theory [3,4] to realize unstable system control, which improved the response characteristics of large-inertia ships by adjusting the scaling term. Yuan [5,6] introduced the nonlinear feedback technique, which significantly improved the control performance while ensuring the control stability. Building on this approach, Song [7] addressed the issue of excessive control effort by introducing an enhanced extended Kalman filter (EKF) algorithm. Han [8] further improved the dynamic response by extending the heading control using the line of sight (LOS) method. Godhavn [9] was the first to introduce the backstepping method to the field of ship control. Building on this, Fossen [10] conducted in-depth investigations into its application for nonlinear system control and later enhanced steady-state accuracy by incorporating integral action [11]. Zhang [12,13] designed a robust adaptive controller for waypoint path tracking by integrating neural networks with dynamic surface control (DSC). However, these methods rely heavily on model accuracy, making them less effective in handling parameter uncertainties and external disturbances commonly encountered in practice. For this reason, Li [14] incorporated neural networks into the backstepping method to enhance adaptability. However, the approach did not fully account for rudder actuator load or steering frequency, which may lead to increased wear of the physical control components.
In terms of MPC, existing studies [15,16] have designed high-performance controllers based on linear and nonlinear models, incorporating the LOS method or Lyapunov theory to address path tracking challenges in dynamic environments. Despite improvements in control accuracy, these approaches still exhibit limitations in dealing with model uncertainty and external disturbances. The online update mechanism proposed by Lin [17] enhances the adaptive capability of MPC, but its high computational demand imposes limitations on real-time performance. Meanwhile, MPC approaches incorporating collision avoidance strategies [18,19] have focused on safety, enabling collision-free control in path planning and tracking. Song [20] fused ship collision risk assessment to propose an improved A* algorithm aimed at improving the safety and reducing the planning time of ship navigation in complex seas while achieving optimal path planning. Li [21,22] proposed a robust adaptive event-triggered path planning and control strategy for intelligent maritime search missions. It is worth noting that conventional MPC approaches generally fail to adequately address the impact of marine environmental disturbances, such as wind and waves, on path tracking accuracy and control smoothness. To address this problem, the MHE method was gradually introduced [23] and fused with MPC for real-time state estimation and control optimization [24], which improves the anti-interference ability and stability of the control system to a certain extent.
Although significant progress has been made in ship motion control, effective methods that ensure both high-precision path tracking and environmental robustness during autonomous berthing are still lacking. In dynamic and complex sea conditions, where wind, waves, and currents frequently change and interact, achieving a balance between control accuracy, real-time response, and robustness remains a major challenge. Therefore, this paper proposes a control method that integrates CNN with NMPC, utilizing CNN to extract features and assist in trajectory prediction based on historical path data. Additionally, moving horizon estimation (MHE) is incorporated for state estimation to enhance the accuracy and stability of path tracking. The main contributions are as follows:
(1)
A four-degree-of-freedom (4-DOF) ship motion model is developed, incorporating low-speed berthing, shallow water effects, and external disturbances such as wind and waves, to more accurately simulate ship dynamics in complex sea conditions.
(2)
A cooperative control framework based on CNN and NMPC is constructed to achieve high-precision path prediction and optimal control.
(3)
A high-precision path tracking control method is designed that accounts for ship motion constraints and environmental disturbances, effectively reducing overshoot and oscillations while enhancing system stability and robustness.

2. Mathematical Model of Ship Motion

For autonomous berthing, a 4-DOF ship motion mathematical model is established, which is enhanced to account for low-speed maneuvering, shallow water effects, and wind–wave disturbances. Ships are idealized as rigid bodies, moving in three dimensions. The motion of the ship includes the following 4-DOF: surge velocity ( u ), sway velocity ( v ), yaw rate ( r ) and roll rate ( p ). Joint modeling is carried out with a geodetic coordinate system ( O x y z ) and an attachment coordinate system ( G x 0 y 0 z 0 ). As shown in Figure 1, O x y z is a geodetic coordinate system whose origin O coincides with the center of gravity G of the ship at the initial moment. The x 0 y 0 -plane lies in the horizontal plane, and the z 0 -axis points downward. G x 0 y 0 z 0 is the attached body coordinate system, with its origin also located at the ship’s center of gravity ( G ). In this coordinate system, the G x 0 -axis oriented towards the bow, while the G y 0 -axis points toward the starboard side, and the G z 0 -axis is vertically downward, pointing to underwater. These two coordinate systems clearly describe both the ship’s overall motion and its local motion status.
The attitude and trajectory equations of the ship can be formulated as presented below:
η ˙ = R ( ψ , φ ) v
where η = x , y , φ , ψ T denotes the position and attitude of the ship. v = u , v , r , p T is the velocity vector of the ship in the attached body coordinate system. R ( ψ , φ ) is the conversion matrix associated with the heading angle:
R ( ψ , φ ) = cos ψ - sin ψ cos φ 0 0 sin ψ cos ψ cos φ 0 0 0 0 cos φ 0 0 0 0 1
The ship dynamics equations are constructed based on the modified Fossen model and are expressed as
M v ˙ + C ( v ) v + D ( v ) v = τ + τ w + τ h
where M represents the inertia matrix of the ship, describing the effect of inertia on acceleration. The matrix C ( v ) represents the coriolis and centrifugal forces, and D denotes the damping matrix, representing the system’s damping forces. τ = τ u , 0 , τ r , 0 T is the matrix of control forces and moments, with τ u as the propulsive force and τ r as the yaw moment. The matrix τ w = τ u w , τ v w , τ r w , τ p w T captures the wind–wave interference effects, characterizing the influence of wind–wave interference on surge velocity, sway velocity of the ship, roll rate, and yaw rate of the ship. τ h = [ τ u h , τ v h , τ r h , τ p h ] T denotes the shallow water effect disturbance matrix. The additional mass and damping coefficients vary significantly with speed and water depth in low-speed navigation and shallow water environments, and are further modeled as
C ( v ) = 0 0 0 m 33 u 0 0 0 - m 22 v 0 0 0 m 11 u - m 33 u m 22 v - m 11 u 0
M = m 11 0 0 0 0 m 22 0 0 0 0 m 33 0 0 0 0 m 44
D = d 11 0 0 0 0 d 22 0 0 0 0 d 33 0 0 0 0 d 44
The 4-DOF nonlinear Fossen model of a ship can be expressed in the following form:
x · = u cos ψ v sin ψ cos φ y · = u sin ψ + v cos ψ cos φ ψ · = r cos φ φ · = p u · = [ ( m 33 p d 11 ) u + τ u + τ u w + τ u h ] m 11 1 v · = [ ( m 22 p d 22 ) v + τ v w + τ v h ] m 22 1 r · = [ ( m 11 u d 33 ) r + τ r + τ r w + τ r h ] m 33 1 p · = [ ( m 33 + m 11 ) u 2 m 22 v 2 d 44 p + τ p w + τ p h ] m 44 1
Remark 1.
The model incorporates low-speed conditions, shallow water effects, and wind–wave disturbances to more accurately capture the complex dynamics encountered during actual navigation. It provides a more accurate representation of ship motion characteristics.

3. Path Tracking Control Method Design

3.1. CNN

To enhance the path tracking performance of model predictive control, CNN is introduced to extract and learn features from predefined path data. CNN automatically identifies key features related to ship motion and environmental disturbances from large path datasets, reducing the complexity of manual feature design and improving the adaptability of the control method. A sliding window approach is used to construct training samples from the simulation-generated path dataset. Each sequence of consecutive data points serves as input to predict the k + z data point. The input–output pairs are constructed as
P i = [ x i , x i + 1 , , x i + k + 1 ] , t i = x i + k + z 1
where k is the input step and z is the prediction step, k = 15 , z = 1 .
As shown in Figure 2, the CNN topological structure consists of input layers, convolutional layers, nonlinear transformation layers combining Batch Normalization (BN) and the ReLU activation function, dropout layers, fully connected layers, and an output layer. The input layer receives the path data. Convolutional layers apply multiple one-dimensional kernels to extract local patterns along the temporal dimension. The BN-ReLU activation layers reduce internal covariate shift during training, improving model stability. Used alongside dropout layers, which effectively mitigate overfitting and enhance generalization to unseen path scenarios. The output layer employs a linear activation function to produce the predicted path feature representation.
The structure captures both local detailed features and global trend information of the path, thus improving adaptability to complex path variations and environmental disturbances. The first convolutional layer employs 64 kernels with a size of 3 and a stride of 1 to capture local temporal features from the input sequence. The second convolutional layer uses 128 kernels to extract higher-level temporal dependencies, enhancing feature representation capability. The convolutional layer output is calculated as follows:
y i j n = f ( m = 1 M ( n 1 ) p = 0 h 1 q = 0 w 1 W m , p , q n · x m , i + p , j + q ( n 1 ) + b ( n ) )
where n is the number of network layers, W is the convolution kernel weights, b is the bias, f is the activation function, and h , w denotes the convolution kernel size. Trained on large volumes of path data, the network can rapidly generate high-quality feature representations for new path scenarios and external disturbances, providing dynamic guidance and accurate reference inputs for the control strategy.
Remark 2.
By extracting common patterns from diverse historical data, the CNN enhances the disturbance resilience of path prediction and automatically learns the effects of external disturbances on the path.
Remark 3.
CNN reduces reliance on manual modeling, simplifies the path planning process, and improves system scalability and transferability.

3.2. NMPC

Given the nonlinear nature of ship dynamics, which becomes more pronounced in complex sea conditions, traditional linear control strategies struggle to maintain satisfactory performance. This paper employs an NMPC algorithm based on Fossen’s nonlinear dynamics model, combined with CNN-generated dynamic reference trajectories, to achieve high-precision path tracking control. The future state of the ship is given by the following nonlinear prediction model:
x k + 1 = f ( x k , u k )
where x k is the current state, u k is the control input, and f ( ) denotes the nonlinear dynamics equation of the system. CNN generates reference trajectories in real time as targets of NMPC, which addresses delays in response to environmental changes in traditional path methods and improves adaptability to dynamic conditions. NMPC targets CNN-predicted paths and optimizes control inputs online in real time to ensure the smooth and efficient movement of the ship along the preset paths.
The controller aims to guide the ship to berth smoothly and stably along a predefined double-S trajectory plan. The optimization problem is formulated as follows:
y ¯ k + i | k = y k + i | k + e k + i | k e k + i | k = E ( e k , , e k j ) e k = y k y k | k 1
where E denotes the error estimation function, j denotes the number of past errors in the error estimate, Y ¯ k + i | k denotes the corrected predicted output, and e k denotes the error in the output estimate at moment k 1 for moment k . Assume that the tracking objective at step k is ω k = ω k + 1 , ω k + q T , and the predicted output is y ¯ k = y ¯ k + 1 | k , y ¯ k + q | k T , where q is the predicted time domain and H is the constraints, thus, the optimization problem can be expressed as
min u k J k = F ( x k , u k , ω k ) s . t . : x k + 1 = f ( x k . u k ) , k 0   h ( x k , u k , ω k ) H
Further considering the wind–wave and measurement noise disturbances, MHE is introduced for real-time state estimation and correction. MHE uses historical observation sequences to identify disturbance patterns and adjust the predicted trajectory accordingly. The external error terms are assumed to be bounded, τ u w τ ¯ u w , τ v w τ ¯ v w , τ r w τ ¯ r w , τ p w τ ¯ p w , where τ ¯ u w , τ ¯ v w , τ ¯ r w , τ ¯ p w is an unknown constant, and these error terms are assumed to be bounded. At zero ship speed, the measurement error V and disturbance W are Gaussian-distributed with a specific measurement error matrix: W = 0 , 0 , 0 , 0 , τ u w m 11 , τ v w m 22 , τ r w m 33 , τ p w m 44 T R 8 . In this model, the ship position information is obtained from the observation system X · = f ( X , T ) + W and measurement model Y m = h ( x ) = x m , y m , θ m , l m T R 4 . Then, the MHE problem is established:
min X , T τ J n MHE ( X , T τ ) = i = k n MHE k | | Y ( i ) Y m ( i ) | | w 1 2 + i = k n MHE k 1 | | T ˜ τ ( i ) T τ ( i ) | | w 2 2 s . t .     X ( i + 1 ) = f ( X ( i ) , T τ ( i ) ) T τ ( i ) T ¯ τ , i k n MHE , k 1 X ( i ) X ¯ , i k n MHE , k
The control system flow block diagram is shown in Figure 3.
Remark 4.
NMPC performs real-time adjustment of control inputs through nonlinear optimization, ensuring control accuracy. This approach also enhances system responsiveness, making it suitable for real-time ship path control tasks.

4. Stability Analysis

To verify the stability of the proposed control method under complex perturbation conditions, it is analyzed using Lyapunov stability theory [25]. Consider a control system operating in the following nonlinear state space model:
x t + 1 = f ( x t , u t ) + d t
where x t R n is the system state, u t R m is the control input, and d t is an external perturbation assumed to be bounded | | d t | | d ¯ . The stability of the controlled system is ensured by terminal constraints that need to be satisfied by the system state:
X ^ ( t k   |   t ) X t + k r = 0
The Lyapunov equation is established as
V ( k ) = i = 1 N ι ( X ^ ( k + 1   |   k ) , T τ ^ ( k + i 1   |   k ) )
It is required to satisfy the following inequality in the presence of perturbation:
V * ( k + 1 ) = min T τ i = 1 N ι ( X ( k + i ) , T τ ( k + i 1 ) ) ι ( X ( k + 1 + N ) , T τ ( k + N ) ) = ι ( X ( k + i ) , T τ ( k ) ) + min T τ i = 1 N ι ( X ( k + i ) , T τ ( k + i 1 ) ) + ι ( X ( k + 1 + N ) , T τ ( k + N ) ) ι ( X ( k + i ) , T τ * ( k ) ) + V * ( k ) + min T τ ι ( X ( k + 1 + N ) , T τ ( k + N ) )
The control inputs are generated by NMPC, and the optimization objective function has the following form:
J = k = 0 N ( | | x t + k | t x t + k r | | Q 2 + | | u t + k | t | | R 2 )
And fulfills the following conditions:
(1)
The reference trajectory x r is continuously bounded.
(2)
Control inputs meet system controllability requirements.
(3)
The CNN prediction module has a finite error bound | | x ˜ t r x t r | | ϵ , where ϵ is adjustable.
Under these conditions, it can be proven that the optimization problem is feasible at every moment, and the Lyapunov function decreases monotonically along the closed-loop trajectory. From that,
lim sup t x t x t r β ( d ¯ , ϵ )
where β is a positive function indicating that the final state of the system will converge to asymptotic stability within a bounded neighborhood of the reference trajectory. From Equation (15), min T τ ι ( X ( k + 1 + N ) , T τ ( k + N ) = 0 , and 0 V * ( k + 1 ) V * ( k ) , the Lyapunov function is non-increasing and hence the controlled system is stable.

5. Simulation Experiments

To validate the effectiveness and superiority of the proposed control method, simulation experiments of ship berthing path tracking control were conducted at Manila International Port, as shown in Figure 4.
The control strategy setup prediction step is set to 80, and the discrete system sampling period is 1 s. The simulation is based on a Gulf-class utility ship [26], which has a length of 38 m and a mass of m = 118 × 10 3 kg . The Fossen model parameters can be configured based on the physical and dynamic characteristics of the ship, as shown in Table 1 below:
In traditional algorithms, the path tracking accuracy and attitude control of the ship exhibit noticeable deviations under complex sea conditions. The control performance is particularly limited under dynamically changing sea conditions and nonlinear constraints. The improved control scheme is compared with the model predictive control algorithm by introducing the improved control scheme. As shown in Figure 5 and Figure 6, the ship berthing path tracking effect of the algorithm before and after the improvement is demonstrated in a dynamically disturbed harbor environment.
The tracking effect shows that before the improvement, the ship responded slowly to path changes. This led to delays in heading or speed adjustments and caused deviation from the planned trajectory. In contrast, the improved algorithm increases the response speed of the control strategy, allowing the ship to adjust its heading and speed more rapidly in response to path changes.
The simulation results are shown in Figure 7, Figure 8, Figure 9, Figure 10, Figure 11, Figure 12 and Figure 13. A comparison of the control performance before and after the improvement demonstrates that the proposed control method successfully achieves effective ship path tracking and attitude regulation. During the control process, the variations of the relevant state variables are effectively controlled, including surge and sway velocity ( u , v ), yaw rate ( r ), roll rate ( p ) and track error ( l ). In addition, the changes in longitudinal thrust ( τ u ) and yaw moment ( τ r ) are shown.
Analyzing the figure, it can be seen that in terms of the response of surge and sway velocities, the improved control strategy exhibits stronger dynamic stability and disturbance resistance. In particular, the response of surge velocity shows a smooth rise with almost no overshoot. The sway velocity response exhibits minimal disturbance amplitude and faster oscillation decay, significantly enhancing the system’s ability to suppress lateral and yaw disturbances.
Simulation results show that the proposed method exhibits good no-overshoot characteristics around key turning points. The control curves transition smoothly, effectively avoiding attitude instability caused by excessive responses. In contrast, NMPC (blue line) and NMPC with MHE (green line) show noticeable overshoot during certain periods. Meanwhile, the control accuracy is significantly improved. The enhanced algorithm exhibits the smallest fluctuations in yaw and roll velocities throughout the process, resulting in more convergent and controllable system responses and effectively reducing attitude disturbances during berthing.
The improved algorithm also has a significant advantage in track error. Experimental results show that the method maintains low error levels over extended periods. Especially during abrupt path changes or strong external disturbances, the error curve remains smooth and continuous without significant spikes. This demonstrates strong robustness and high-precision tracking capability.
In terms of control inputs, the responses of longitudinal thrust and yaw moment also highlight differences between control strategies. Compared to previous algorithms, the improved method exhibits smoother and more continuous control actions, without high-frequency oscillations or abrupt changes. Especially during sudden heading changes, the control method maintains stable adjustments, demonstrating improved real-time responsiveness and continuity of the control system.
As shown in Table 2, the three control methods exhibit significant differences in path tracking performance and attitude control.
The traditional NMPC method exhibits considerable position errors and noticeable state oscillations, with overshoot particularly evident during turning, indicating limited stability. With the introduction of MHE, system response is optimized to a certain extent, reducing position errors and attenuating fluctuations in velocity and attitude variables. However, oscillations remain during periods of significant lateral disturbance. Further integration of CNN enhances the overall control performance of the system. The method exhibits very high stability and accuracy on all control variables. For example, in terms of track error, the traditional NMPC method results in an error of 3.4 m, while the integrated CNN and MHE approach reduces the error to just 0.4 m. For example, in terms of track error, the traditional NMPC method results in an error of 3.4 m, while the integrated CNN and MHE approach reduces the error to just 0.4 m, with an error reduction of 88.24%, demonstrating a significant improvement in path-tracking accuracy. The sway velocity error is reduced by up to 75%, further confirming the robustness and stability of the proposed method in dynamic response control. It basically achieves overshoot-free control in terms of position error. It also shows minimal fluctuations and optimal tracking in dynamic responses such as speed and heading.
In summary, the improved algorithm effectively integrates the advantages of observation accuracy and predictive control. It substantially improves control precision and response speed while mitigating system oscillations and overshoot. These improvements highlight its evident advantages and robustness, rendering it particularly suitable for autonomous berthing scenarios requiring high levels of accuracy and stability.

6. Conclusions

This paper introduces a convolutional neural network trained on extensive historical path data in a sequential manner. Combined with nonlinear model predictive control, it enables high-precision regulation of ship states under multiple disturbances and constraints. Simulation results show that the proposed method improves path tracking accuracy by 88.24% compared to traditional MPC in dynamic and disturbed port environments, demonstrating its superior performance. The main conclusions are as follows:
(1)
The dynamic responses of each velocity component remain smooth with minimal fluctuations, reducing speed deviations caused by environmental disturbances. This ensures the ship maintains effective motion during berthing. The path tracking error is significantly reduced to improve the control accuracy.
(2)
By integrating a CNN and a moving optimization mechanism, the system demonstrates enhanced robustness and stability under complex conditions such as wind and wave disturbances. Control commands remain smooth with no significant overshoot, reflecting superior dynamic response performance.
(3)
The control inputs exhibit smooth, continuous variations without abrupt changes, enhancing both system stability and energy efficiency. This indicates that the control method can effectively handle various disturbances and path variations, demonstrating strong environmental adaptability and control robustness.

Author Contributions

Conceptualization, C.S. and X.G.; methodology, C.S.; software, C.S.; validation, C.S. and X.G.; formal analysis, X.G.; investigation, X.G.; resources, J.S.; data curation, X.G.; writing—original draft preparation, C.S. and X.G.; visualization, C.S.; supervision, J.S.; project administration, J.S.; funding acquisition, J.S. All authors have read and agreed to the published version of the manuscript.

Funding

This research received support from the 2023 Basic Scientific Research Project for Colleges and Universities funded by the Liaoning Provincial Department of Education (Grant No. JYTQN2023131), the Applied Basic Research Program in the Field of Artificial Intelligence under the Liaoning Province Department of Science and Technology (Grant No. 600024003), 2024 Dalian City Young Science and Technology Star Project, and 2024 Liaoning Province Science and Technology Plan Joint Program Technical Research Project.

Data Availability Statement

If you require access to the experimental data and details presented in this research, please contact the corresponding author.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Zhang, G.Q.; Zhang, X.K.; Guan, W. Concise robust adaptive path following control for underactuated ships. J. Harbin Eng. Univ. 2014, 35, 1053–1059. (In Chinese) [Google Scholar]
  2. Min, B.; Zhang, X. Concise robust fuzzy nonlinear feedback track keeping control for ships using multi-technique improved LOS guidance. Ocean Eng. 2021, 224, 108734. [Google Scholar] [CrossRef]
  3. Zhang, X.-K.; Zhang, Q.; Ren, H.-X.; Yang, G.-P. Linear reduction of backstepping algorithm based on nonlinear decoration for ship course-keeping control system. Ocean Eng. 2018, 147, 1–8. [Google Scholar] [CrossRef]
  4. Wang, Y.; Li, J.; Chen, C.; Zhang, J.; Zhan, Z.H. Scale adaptive fitness evaluation-based particle swarm optimization for hyperparameter and architecture optimization in neural networks and deep learning. CAAI Trans. Intell. Technol. 2022, 8, 849–862. [Google Scholar] [CrossRef]
  5. Yuan, S.; Liu, Z.; Zheng, L.; Sun, Y.; Wang, Z. Event-based adaptive horizon nonlinear model predictive control for trajectory tracking of marine surface vessel. Ocean Eng. 2022, 258, 111082. [Google Scholar] [CrossRef]
  6. Song, C.; Qiao, Q.; Sui, J. Pitching Stabilization Control for Super Large Ships Based on Double Nonlinear Positive Feedback under Rough Sea Conditions. J. Mar. Sci. Eng. 2024, 12, 1657. [Google Scholar] [CrossRef]
  7. Song, C.; Zhang, X.; Zhang, G. Attitude prediction of ship coupled heave–pitch motions using nonlinear innovation via full-scale test data. Ocean Eng. 2022, 264, 112524. [Google Scholar] [CrossRef]
  8. Han, X. Ship Berthing Path Planning with Model Predictive Track Keeping Control. Ph.D. Thesis, Dalian Maritime University, Dalian, China, 2023. (In Chinese). [Google Scholar]
  9. Godhavn, J.; Fossen, T.; Berge, S. Non-linear and adaptive backstepping designs for tracking control of ships. Int. J. Adapt. Control. Signal Process. 1998, 12, 649–670. [Google Scholar] [CrossRef]
  10. Fossen, T.I.; Strand, J.P. Tutorial on nonlinear backstepping: Applications to ship control. Model. Identif. Control. 1999, 20, 83–135. [Google Scholar] [CrossRef]
  11. Liu, S.; Song, J.; Zhang, L.; Tan, Y. Adaptive finite-time backstepping integral sliding mode control of three-degree-of-freedom stabilized system for ship propulsion-assisted sail based on the inverse system method. J. Mar. Sci. Eng. 2024, 12, 348. [Google Scholar] [CrossRef]
  12. Zhang, G.; Zhang, X. A novel DVS guidance principle and robust adaptive path-following control for underactuated ships using low frequency gain-learning. ISA Trans. 2015, 56, 75–85. [Google Scholar] [CrossRef]
  13. Zhang, G.; Li, J.; Jin, X.; Liu, C. Robust adaptive neural control for wing-sail-assisted vehicle via the multiport event-triggered approach. IEEE Trans. Cybern. 2021, 52, 12916–12928. [Google Scholar] [CrossRef] [PubMed]
  14. Li, H.; Li, Z.; Liu, J.; Zheng, X.; Yu, X.; Kaynak, O. Adaptive neural network backstepping control method for aerial manipulator based on coupling disturbance compensation. J. Frankl. Inst. 2024, 361, 106733. [Google Scholar] [CrossRef]
  15. Fan, Y.; Zou, X.; Wang, G.; Mu, D. Robust adaptive path following control strategy for underactuated unmanned surface vehicles with model deviation and actuator saturation. Appl. Sci. 2022, 12, 2696. [Google Scholar] [CrossRef]
  16. Remmas, W.; Chemori, A.; Kruusmaa, M. Fault-tolerant control allocation for a bio-inspired underactuated AUV in the presence of actuator failures: Design and experiments. Ocean Eng. 2023, 285, 115327. [Google Scholar] [CrossRef]
  17. Lin, X.; Tang, Y.; Zhou, B. Improved model predictive control path tracking strategy based an online updating algorithm with cosine similarity and a horizon factor. IEEE Trans. Intell. Transp. Syst. 2021, 23, 12429–12438. [Google Scholar] [CrossRef]
  18. Menges, D.; Tengesdal, T.; Rasheed, A. Nonlinear Model Predictive Control for Enhanced Navigation of Autonomous Surface Vessels. IFAC-PapersOnLine 2024, 58, 296–302. [Google Scholar] [CrossRef]
  19. Sun, X.; Wang, G.; Fan, Y.; Mu, D.; Qiu, B. A Formation Autonomous Navigation System for Unmanned Surface Vehicles With Distributed Control Strategy. IEEE Trans. Intell. Transp. Syst. 2020, 22, 2834–2845. [Google Scholar] [CrossRef]
  20. Song, C.; Guo, T.; Sui, J. Ship path planning based on improved multi-scale a* algorithm of collision risk function. Sci. Rep. 2024, 14, 30418. [Google Scholar] [CrossRef]
  21. Li, J.; Zhang, G.; Zhang, X.; Zhang, W. Integrating dynamic event-triggered and sensor-tolerant control: Application to usv-uavs cooperative formation system for maritime parallel search. IEEE Trans. Intell. Transp. Syst. 2023, 25, 3986–3998. [Google Scholar] [CrossRef]
  22. Li, J.; Zhang, G.; Zhang, W.; Shan, Q.; Zhang, W. Cooperative path following control of USV-UAVs considering low design complexity and command transmission requirements. IEEE Trans. Intell. Veh. 2023, 9, 715–724. [Google Scholar] [CrossRef]
  23. Alessandri, A. Robust moving horizon estimation for nonlinear systems: From perfect to imperfect optimization. Automatica 2025, 175, 112187. [Google Scholar] [CrossRef]
  24. Chen, G.; Ding, C.; Yin, J.; Zhu, H.; Li, Y. Study on automatic berthing of large under-actuated vessel with multi-tug collaboration. Ocean Eng. 2025, 325, 120709. [Google Scholar] [CrossRef]
  25. Liu, Y.; Im, N.-K.; Zhang, Q.; Zhu, G. Adaptive auto-berthing control of underactuated vessel based on barrier lyapunov function. J. Mar. Sci. Eng. 2022, 10, 279. [Google Scholar] [CrossRef]
  26. Shen, Z. Ship Motion Adaptive Sliding Mode Control; Science Press: Beijing, China, 2019. (In Chinese) [Google Scholar]
Figure 1. Coordinate system for ship motion.
Figure 1. Coordinate system for ship motion.
Jmse 13 01273 g001
Figure 2. CNN topological structure.
Figure 2. CNN topological structure.
Jmse 13 01273 g002
Figure 3. Control system flowchart.
Figure 3. Control system flowchart.
Jmse 13 01273 g003
Figure 4. Manila international port.
Figure 4. Manila international port.
Jmse 13 01273 g004
Figure 5. Tracking results before improvements.
Figure 5. Tracking results before improvements.
Jmse 13 01273 g005
Figure 6. Tracking results after improvements.
Figure 6. Tracking results after improvements.
Jmse 13 01273 g006
Figure 7. Comparison of surge velocity.
Figure 7. Comparison of surge velocity.
Jmse 13 01273 g007
Figure 8. Comparison of sway velocity.
Figure 8. Comparison of sway velocity.
Jmse 13 01273 g008
Figure 9. Comparison of yaw rate.
Figure 9. Comparison of yaw rate.
Jmse 13 01273 g009
Figure 10. Comparison of roll rate.
Figure 10. Comparison of roll rate.
Jmse 13 01273 g010
Figure 11. Comparison of track error.
Figure 11. Comparison of track error.
Jmse 13 01273 g011
Figure 12. Comparison of longitudinal thrust.
Figure 12. Comparison of longitudinal thrust.
Jmse 13 01273 g012
Figure 13. Comparison of yaw moment.
Figure 13. Comparison of yaw moment.
Jmse 13 01273 g013
Table 1. Simulation model parameters.
Table 1. Simulation model parameters.
NotationNumerical Value (kg)NotationNumerical Value (kg)
m 11 1.2 × 10 5 d 11 2.15 × 10 4
m 22 1.779 × 10 5 d 22 1.47 × 10 5
m 33 6.36 × 10 7 d 33 8.02 × 10 6
m 44 9.865 × 10 7 d 44 11.71 × 10 6
Table 2. Comparison of tracking effects of control methods.
Table 2. Comparison of tracking effects of control methods.
Control VariableNMPCNMPC + MHECNN + NMPC + MHEPercentage Increase
surge and sway velocity deviation3.0 m2.0 m1.0 m66.67%
yaw rate4.5 rad/s3.3 rad/s2.3 rad/s48.89%
roll rate0.04 rad/s0.03 rad/s0.01 rad/s75.00%
track error3.4 m1.3 m0.4 m88.24%
longitudinal thrust8.0 × 105 N7.2 × 105 N4.4 × 105 N45.50%
yaw moment1.5 × 106 N1.3 × 106 N0.3 × 106 N80.67%
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Song, C.; Guo, X.; Sui, J. Improved Model Predictive Control Algorithm for the Path Tracking Control of Ship Autonomous Berthing. J. Mar. Sci. Eng. 2025, 13, 1273. https://doi.org/10.3390/jmse13071273

AMA Style

Song C, Guo X, Sui J. Improved Model Predictive Control Algorithm for the Path Tracking Control of Ship Autonomous Berthing. Journal of Marine Science and Engineering. 2025; 13(7):1273. https://doi.org/10.3390/jmse13071273

Chicago/Turabian Style

Song, Chunyu, Xiaomin Guo, and Jianghua Sui. 2025. "Improved Model Predictive Control Algorithm for the Path Tracking Control of Ship Autonomous Berthing" Journal of Marine Science and Engineering 13, no. 7: 1273. https://doi.org/10.3390/jmse13071273

APA Style

Song, C., Guo, X., & Sui, J. (2025). Improved Model Predictive Control Algorithm for the Path Tracking Control of Ship Autonomous Berthing. Journal of Marine Science and Engineering, 13(7), 1273. https://doi.org/10.3390/jmse13071273

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop