Neural Network With Sliding Data Window Enhances Autonomous Ship Path Following (opens in a new tab)
A neural network combined with a sliding data window improves autonomous ship path-following by adapting to hydrodynamic uncertainties and ocean disturbances. The system uses a feedforward neural network trained in real-time with an improved butterfly optimization algorithm, avoiding reliance on rigid physical models. Tested on the vessel *Hual Trooper*, it reduced path-following errors by up to 65.57% and computational runtime to 0.0872 seconds per step, meeting maritime control timing demands. The approach ensures stable navigation along planned routes while handling varying cargo, speed, and sea conditions.