The ship trajectory prediction algorithm based on unscented Kalman filter
Abstract
The traditional Kalman Filter (KF) method often struggles to accurately determine ship positions when dealing with nonlinearities, multiple maneuvers, and other complexities in ship trajectory prediction, exhibiting certain limitations. To address these issues, this paper proposes a ship trajectory prediction algorithm based on the Unscented Kalman Filter (UKF). By preprocessing AIS data, a nonlinear state space model suitable for the characteristics of AIS trajectory data is constructed. A UKF-based recursive prediction algorithm for ship trajectories is then designed for state prediction and update. To further verify the effectiveness of the proposed algorithm, this study introduces the standard Kalman filter (KF) as a baseline method and employs quantitative evaluation metrics, including the root mean square error (RMSE), mean absolute error (MAE), and mean position error (MPE), to assess prediction performance. Experimental results show that the method is simple to implement and converges rapidly. It can effectively handle nonlinear maneuvers such as sudden acceleration, deceleration, and turns, ensuring the required accuracy and timeliness for trajectory prediction. This method holds high practical value in dynamic ship tracking, intelligent shipping.