A TSS-Compliant Ship Automatic Route-Planning Algorithm
Abstract
1. Introduction
- (1)
- A dedicated TSS-zone planning module is designed and deeply integrated with the PSO algorithm, which for the first time realizes the automation of TSS-compliant route replanning on the basis of global optimal route planning, solving the problem that existing algorithms rely on manual adjustment for TSS-zone navigation.
- (2)
- A systematic comparative framework for four mainstream swarm intelligence optimization algorithms (PSO/SSA/IVY/GOA) is established for ship global route planning, and the superiority of PSO in terms of route optimality, stability and computational efficiency is verified by multi-index quantitative experiments.
- (3)
- The TSS module is designed with a quadrilateral decomposition mechanism for irregular TSS zones, which improves the adaptability of the algorithm to actual maritime TSS scenarios with complex shapes and provides a standardized processing method for TSS-zone route planning.
- (4)
- The proposed algorithm is validated by real nautical chart data of Bohai Bay, and the test results show that it can stably generate safe and compliant routes for both single- and multiple-TSS-zone scenarios, providing a feasible technical solution for intelligent ship-navigation systems.
2. Automatic Planning Module for Traffic Separation Zones
- Navigate along the specified traffic flow direction within the traffic lane and maintain a straight course as much as possible.
- Avoid separation zones or separation lines to the greatest extent, and it is advisable to take the midline of the traffic lane when passing markers.
- Access or depart from the TSS zone via its end points and maintain the smallest feasible angle with the general traffic direction within the lane.
- (1)
- Delete path waypoints within the TSS zones
- (2)
- Determine the TSS-area traversal order
- (3)
- Path replanning in the TSS zone
| Algorithm 1: TSS-Zone Replanning algorithm |
| Input: Original planned route (waypoints with latitude, longitude), TSS-zone set , TSS-zone geographic data (traffic lane, flow direction, separation zone ) Output: TSS-compliant replanned route Begin: Initialize // empty set for replanned route for do // traverse all waypoints of original route for do // traverse all TSS zones in the scene if then // judge if waypoint is inside TSS zone read boundary points from calculate the recommended route and by Formula (1) calculate angle between and by Formula (2) calculate angle between and by Formula (2) if then // route is consistent with delete from // remove invalid waypoint add to // add TSS-compliant recommended route // Assign to if then // route is consistent with delete from add to else replan with PSO end if end if if cross then // judge if route crosses the TSS area read boundary points from calculate the recommended route and by Formula (1) calculate angle between and by Formula (2) if then // route is consistent with delete from add to if then // route is consistent with delete from add to else replan with PSO end if else end if end for end for end |
3. TSS-Compliant Ship Automatic Route-Planning Algorithm
3.1. PSO-Based Automatic Route-Planning Algorithm
- (1)
- Particle swarm initialization
- (2)
- Crossover and mutation operations
- (3)
- Update the particle velocity
- (4)
- Update the particle position
- (5)
- Calculate the fitness value and update the particle’s local and global optimal solutions.
- (6)
- Stop the solution search when the maximum number of iterations is reached, the global optimal solution has not been updated for more than 300 generations, or the particle fitness has not improved; otherwise, return to (2).
3.2. TSS-Compliant Ship Automatic Route-Planning Algorithm
4. Experiment and Verification
4.1. Validation for the Effectiveness of the PSO-Based Global Route-Planning Algorithm
4.2. Validation for the Effectiveness of Global Path-Planning Algorithms Considering TSS Zones
5. Conclusions
- Integration with local collision avoidance (COLAV) module: Refer to the hierarchical Gaussian-process-based nonlinear programming approach proposed by [29] for USV route-planning, integrate the global route-planning algorithm proposed in this paper with the local dynamic collision avoidance module, and realize the joint optimization of global TSS compliance and local dynamic obstacle avoidance, so as to adapt to the actual dynamic marine environment.
- Optimization of the TSS module for complex TSS scenarios: Improve the quadrilateral decomposition method of the TSS module; add a concave polygon decomposition submodule to solve the decomposition problem of concave irregular TSS zones; and introduce real-time traffic-density parameters into the TSS module, and dynamically adjust the route replanning strategy according to the traffic density in the TSS zone.
- Extension to multi-objective ship route planning: Add multi-objective optimization objectives to the PSO algorithm’s fitness function and design a multi-objective PSO algorithm based on the non-dominated sorting genetic algorithm (NSGA-II) to meet the diverse optimization requirements of actual ship navigation.
- Integration with global logistics inter-modal transportation: Combined with the land-bridge transport research results of [30] on the Red Sea and Mediterranean Sea, extend the proposed algorithm to the field of global logistics multi-modal transportation. The algorithm will not only realize TSS-compliant ship route planning but also add a marine chokepoint avoidance module to judge whether to bypass congested marine chokepoints via land rail transport, so as to realize the optimal selection between maritime transportation and land-bridge transport and further improve the efficiency of global logistics transportation.
Author Contributions
Funding
Data Availability Statement
Conflicts of Interest
References
- Tingwei, Z. Research on the Application of Particle Swarm Optimization Algorithm in NP-hard Problems. J. Nat. Sci. Harbin Norm. Univ. 2023, 39, 43–48. [Google Scholar] [CrossRef]
- Hao, C. Neighborhood search methods for solving NP-hard problems. J. Adult Educ. Coll. Hubei Univ. 2005, 23, 80–81. [Google Scholar] [CrossRef]
- Liang, Z.; Fang, W.; Yong, B. Current Status and Challenges of Path Planning for Unmanned Surface Vehicles. Ship Eng. 2022, 44, 1–7+48. [Google Scholar] [CrossRef]
- Yuntao, K.; Kun, Y.; Lijun, W. RPMTD: A Route Planning Model With Consideration of Tourists’ Distribution. IEEE Access 2024, 12, 69488–69504. [Google Scholar] [CrossRef]
- Dijkstra, E.W. A Note on Two Problems in Connection with Graphs. Numer. Math. 1959, 1, 269–271. [Google Scholar] [CrossRef]
- Lozano, T.; Wesley, M. An Algorithm for Planning Collision-free Paths among Polyhedral Obstacles. Commun. ACM 1979, 22, 436–450. [Google Scholar] [CrossRef]
- Wang, Y.L.; Yu, X.M.; Liang, X. Design and Implementation of Global Path Planning System for Unmanned Surface Vehicle among Multiple Task Points. Int. J. Veh. Auton. Syst. 2018, 14, 82–105. [Google Scholar] [CrossRef]
- Song, R.; Liu, Y.; Bucknall, R. Smoothed A* Algorithm for Practical Unmanned Surface Vehicle Path Planning. Appl. Ocean Res. 2019, 83, 9–20. [Google Scholar] [CrossRef]
- Li, S.; Wei, Y.; Liu, X.; Zhu, H.; Yu, Z. A New Fast Ant Colony Optimization Algorithm: The Saltatory Evolution Ant Colony Optimization Algorithm. Mathematics 2022, 10, 925. [Google Scholar] [CrossRef]
- Zhi, L.; Zuo, Y. Collaborative Path Planning of Multiple AUVs Based on Adaptive Multi-Population PSO. J. Mar. Sci. Eng. 2024, 12, 223. [Google Scholar] [CrossRef]
- Tam, C.K.; Bucknall, R. Path-Planning Algorithm for Ships in Close-Range Encounters. J. Mar. Sci. Technol. 2010, 15, 395–407. [Google Scholar] [CrossRef]
- Liu, G.; Zhang, S.; Ma, G.; Pan, Y. Path Planning of Unmanned Surface Vehicle Based on Improved Sparrow Search Algorithm. J. Mar. Sci. Eng. 2023, 11, 2292. [Google Scholar] [CrossRef]
- Ghasemi, M.; Zare, M.; Trojovský, P. Optimization based on the smart behaviour of plants with its engineering applications: Ivy algorithm. Knowl.-Based Syst. 2024, 295, 111850. [Google Scholar] [CrossRef]
- Hamad, R.K.; Rashid, T.A. GOOSE algorithm: A powerful optimization tool for real-world engineering challenges and beyond. Evol. Syst. 2024, 15, 1249–1274. [Google Scholar] [CrossRef]
- Liwen, H.; Luping, X.; Jiahao, C. Research on Navigation Decision-Making Method for Inland Wide Waters with Traffic Separation Scheme. J. Huazhong Univ. Sci. Technol. (Nat. Sci. Ed.) 2024, 52, 94–102. [Google Scholar] [CrossRef]
- Filipowicz, W. Traffic Control in Separation Schemes. J. Navig. 1983, 36, 445–453. [Google Scholar] [CrossRef]
- Lai, J.; Ding, Y.; Li, R.; Huang, X.; Wei, W.; Shen, H. A COLREGs-compliant route planning framework incorporating fairway and traffic separation scheme constraints. Appl. Ocean Res. 2025, 165, 104836. [Google Scholar] [CrossRef]
- Koch, P. Perform assessment of COLREGs onboard a maritime autonomous surface ship: Narrow Channels and Traffic Separation Schemes. J. Phys. Conf. Ser. 2024, 2867, 012026. [Google Scholar] [CrossRef]
- Liu, Z.; Wu, Z.; Zheng, Z.; Yu, X.; Yu, P. A rasterized and data-driven framework for the regional collision risk identification of traffic separation scheme. Ocean Eng. 2025, 318, 120170. [Google Scholar] [CrossRef]
- Emden, R.K.N. Yachts and Traffic Separation Schemes. J. Navig. 1977, 30, 495–497. [Google Scholar] [CrossRef]
- Sunaryo, S.; Priadi, A.A.; Tjahjono, T. Implementation of Traffic Separation Scheme for Preventing Accidents on the Sunda Strait. Int. J. Technol. 2015, 6, 990. [Google Scholar] [CrossRef]
- Cho, Y.; Han, J.; Kim, J. Efficient COLREG-Compliant Collision Avoidance in Multi-Ship Encounter Situations. IEEE Trans. Intell. Transp. Syst. 2022, 23, 1899–1911. [Google Scholar] [CrossRef]
- Amiri, A.; Kimiaghalam, B. Robust watermarking with PSO and DnCNN. Signal Image Video Process. 2024, 18, 663–676. [Google Scholar] [CrossRef]
- Jain, M.; Saihjpal, V.; Singh, N.; Singh, S.B. An Overview of Variants and Advancements of PSO Algorithm. Appl. Sci. 2022, 12, 8392. [Google Scholar] [CrossRef]
- Hou, W.; Xiong, Z.; Wang, C.; Chen, H. Enhanced Ant Colony Algorithm with Communication Mechanism for Mobile Robot Path Planning. Robot. Auton. Syst. 2022, 148, 103949. [Google Scholar] [CrossRef]
- Han, Y.; Shi, X.; Yang, S.; Zhang, Y.; Hong, Z.; Zhou, R. Hyperspectral Sea Ice Image Classification Based on the Spectral-Spatial-Joint Feature with the PCA Network. Remote Sens. 2021, 13, 2253. [Google Scholar] [CrossRef]
- Ma, Y.; Yin, W.; Guo, Z.; Xuan, J. The Ocean Surface Current in the East China Sea Computed by the Geostationary Ocean Color Imager Satellite. Remote Sens. 2023, 15, 2210. [Google Scholar] [CrossRef]
- Xu, X.; Fakhrmoosavi, F.; Zockaie, A.; Mahmassani, H.S. Estimating Path Travel Costs for Heterogeneous Users on Large-Scale Networks: Heuristic Approach to Integrated Activity-Based Model–Dynamic Traffic Assignment Models. Transp. Res. Rec. 2017, 2667, 119–130. [Google Scholar] [CrossRef]
- Tao, Y.; Du, J. Time-optimal global path planning and collision-avoidance local path planning for USVs in traffic separation scheme-implemented coastal waters. ISA Trans. 2025, 165, 280–294. [Google Scholar] [CrossRef]
- Wiseman, Y.; Giat, Y. Red Sea and Mediterranean Sea Land Bridge via Eilat. World Rev. Intermodal Transp. Res. 2015, 5, 353–368. [Google Scholar] [CrossRef]













| Optimal Route Length | Average Route Length | Standard Deviation of Route Length | Average Time Consumption | |
|---|---|---|---|---|
| SSA | 72.83 | 74.66 | 3.21 | 4.32 |
| IVY | 68.80 | 82.56 | 12.45 | 15.12 |
| GOA | 122.8 | 178.4 | 45.45 | 10.42 |
| PSO | 57.71 | 60.85 | 3.42 | 8.56 |
| Route Length (nm) | Time Consumption (s) | ||
|---|---|---|---|
| Scenario 1 | PSO only | 137.86 | 16.4 |
| PSO + TSS case1 | 138.64 | 19.7 | |
| PSO + TSS case2 | 143.92 | 20.1 | |
| PSO + TSS average | 141.28 | 19.9 | |
| Scenario 2 | PSO only | 172.48 | 17.9 |
| PSO + TSS case1 | 175.54 | 22.4 | |
| PSO + TSS case2 | 174.42 | 22.8 | |
| PSO + TSS average | 174.98 | 22.6 |
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. |
© 2026 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license.
Share and Cite
Zhang, N.; He, F.; Chang, L.; Zong, J. A TSS-Compliant Ship Automatic Route-Planning Algorithm. Algorithms 2026, 19, 220. https://doi.org/10.3390/a19030220
Zhang N, He F, Chang L, Zong J. A TSS-Compliant Ship Automatic Route-Planning Algorithm. Algorithms. 2026; 19(3):220. https://doi.org/10.3390/a19030220
Chicago/Turabian StyleZhang, Ning, Fang He, Lubin Chang, and Jingwen Zong. 2026. "A TSS-Compliant Ship Automatic Route-Planning Algorithm" Algorithms 19, no. 3: 220. https://doi.org/10.3390/a19030220
APA StyleZhang, N., He, F., Chang, L., & Zong, J. (2026). A TSS-Compliant Ship Automatic Route-Planning Algorithm. Algorithms, 19(3), 220. https://doi.org/10.3390/a19030220

