1. Introduction
Maritime transportation plays a crucial role in the global transportation system, with the shipping industry continuously striving to enhance operational efficiency, vessel intelligence, and navigation safety [
1]. Currently, ship navigation heavily depends on onboard communication and navigation systems, which offer limited capabilities in terms of navigation information and communication. This constraint hampers the timely, comprehensive, and effective utilization of available information resources, resulting in a shortage of critical data and hindering the realization of full interconnectivity. Consequently, this leads to inadequate security risk mitigation. Additionally, the absence of an efficient ship navigation system results in low communication efficiency between vessels and ports, further exacerbating the risk of accidents and incidents, such as delays in departures and arrivals, ship collisions, and groundings [
2].
To address these challenges within the maritime sector, our research team previously proposed the Internet of Ships (IoS) conceptual framework. Building upon the IoS framework, this paper introduces a novel behavior planning framework aimed at ensuring both the safety of ship navigation and the efficient coordination of vessels. Ensuring the safety of networked marine surface vessel systems (NMSVs) in inland waterway channels is of paramount importance to preventing maritime accidents and minimizing traffic conflicts. Collisions between vessels, especially in constrained waterway environments, pose significant risks not only to human life but also to the environment and economy [
3]. Ensuring that NMSVs comply with both safety regulations and navigational rules is paramount to preventing such incidents and ensuring efficient waterway traffic management [
4]. NMSVs are increasingly recognized as vital components of modern maritime navigation, enabling fully autonomous operations while mitigating the risks associated with human error [
5]. Therefore, it is essential to develop intelligent decision-making and motion planning systems that can mitigate these risks, enhance operational safety, and ensure compliance with maritime regulations.
Autonomous navigation for NHMSVs typically involves three core components: perception, decision-making/planning, and control. These systems must operate in complex environments with dynamic traffic conditions, where the behavior of surrounding vessels can change unpredictably [
6]. To ensure safe navigation, it is crucial for NMSVs to not only detect obstacles but also predict their movements, assess the traffic situation, and make real-time decisions that reduce the likelihood of accidents.
Navigating through narrow waterway channels, especially in mixed traffic environments involving both NMSVs and human-operated vessels, presents significant challenges. The absence of fixed traffic lanes and traffic signals on the water creates an inherently dynamic environment that requires careful coordination to avoid collisions. These challenges are further compounded by the need to adhere to global maritime safety regulations, such as the International Regulations for Preventing Collisions at Sea (COLREGs), which govern the movement of vessels in constrained spaces.
When faced with these complex dynamics, automated decision-making systems play a pivotal role in NMSVs’ ability to navigate safely and efficiently. These systems must evaluate the surrounding environment in real time and make decisions that reduce the risk of collisions, account for uncertainties, and ensure adherence to maritime regulations [
7]. NMSV behavioral decision-making strategies can generally be classified into rule-based systems [
8] and learning-based approaches [
9]. While rule-based systems rely on predefined conditions and regulations, learning-based methods can adapt to dynamic conditions and optimize decision-making through continuous feedback.
A decision-making system evaluates the surrounding environment and determines the vessel’s behaviors [
10] based on the available options and resource constraints. Kim proposed an autonomous intelligent body architecture approach to solve the optimal task planning problem for vessels [
11]. This approach has some advantages owing to its highly autonomous multi-subject architecture features capable of performing state estimation, maintaining environment awareness, determining the task goal, planning/re-planning to achieve the set goal, and allocating resources. Ferris proposed a scalable mission planning architecture that allows vessels to reach multiple target points with time-optimal mission plans [
12]. The vessel’s route planning is seen as a mass. The vessel is considered a non-holonomic constrained vessel in trajectory planning, considering kinematic constraints. Finally, dynamical constraints are introduced to motion planning, fully considering the behavioral constraints (rules) and the vessel’s dynamic information.
Planning is a multi-scale constraint problem, typically applied to large-scale scenarios, treating the object of research as a particle with no dynamic properties. Vessel behavior planning [
13] relates to vessel navigation, consisting of behavior, task, and motion planning [
14]. However, the navigation of waterway channels presents difficulties in terms of motion planning due to the constrained space available and the presence of other vessels driven by humans. Collisions between ships are a severe danger to maritime safety, and particular care should be taken with the ship’s operation in narrow channels to avoid accidents, substantial economic losses, and environmental destruction [
3]. Furthermore, it is important to note that an accident has the potential to result in insignificant economic ramifications due to the subsequent disruption of key transportation routes.
The successful navigation of waterways necessitates meticulous preparation and precise execution to circumvent potential collisions with both stationary and moving impediments. Furthermore, adherence to interaction regulations [
15] in canal channels is of utmost importance, akin to the collision avoidance laws at sea (COLREGs) [
16]. The adherence to these restrictions is obligatory, and by doing so, the movements of the NMSV become socially compliant and predictable to other individuals utilizing the canal.
While NMSVs and other autonomous vehicles [
17] have been studied in dynamic environments, motion planning for NMSVs faces unique challenges due to the special environment in inland waterway traffic separation schemes. Unlike road-based autonomous vehicles, NMSVs must navigate without predefined lanes or traffic signals, and their motion planning must take into account both their own physical dynamics and the potential behavior of nearby vessels [
18]. Furthermore, unlike mobile robots navigating unstructured environments [
19], NMSVs must also comply with maritime-specific traffic regulations to ensure safe passage [
20]. Wang et al. proposed an algorithm for avoiding collisions, allowing virtual lanes to run parallel to waterways [
21]. Tao et al. [
4] produced a plan for channels to be followed by the vessel train model. However, these studies failed to consider avoidance regulations in the waterway channel, including interaction regulations, which consider ships’ operation in channels.
Current approaches to collision avoidance in waterway navigation often fail to fully incorporate the need for regulation-aware decision-making, particularly regarding interaction rules, which govern vessel operation in constrained channels [
22]. While previous studies have proposed various strategies for collision avoidance, many have overlooked the importance of considering waterway-specific regulations, such as the guidelines for safe operation in narrow channels and the interactions between vessels. These regulations are crucial for preventing accidents, yet they are often inadequately integrated into existing motion planning systems. Many studies have explored different methods for autonomous vessel navigation, focusing primarily on optimizing decision-making processes. Model predictive control (MPC) has been one of the most widely applied techniques due to its ability to handle multiple variables and constraints while optimizing vessel trajectories in real time. For instance, MPC has shown promising results in collision avoidance in maritime traffic. However, one of the main limitations of traditional MPC approaches lies in real-time decision-making. The computational complexity involved in solving optimization problems in high-traffic conditions often prevents these methods from operating effectively in real time, particularly when high-density traffic or unpredictable environmental factors are involved.
On the other hand, reinforcement learning methods have emerged as a potential solution to dynamic decision-making, as they can adapt to the environment over time. However, these methods face challenges in terms of scalability and the need for large datasets. Moreover, reinforcement learning does not inherently provide guarantees for regulatory compliance or safety, which are essential in maritime contexts where collision avoidance and traffic regulations are crucial.
Although several advances have been made, these methods still have limitations in scalability and real-time applicability, especially in inland waterways, where high-traffic conditions and environmental factors add additional layers of complexity.
To address the existing challenges in maritime safety and navigation efficiency, we propose a novel approach that integrates hierarchical conditional state machine (HCSM) and chance-constrained model predictive control (CC-MPC). Our approach specifically addresses the limitations of traditional methods, offering a solution that is scalable, feasible in real time, and capable of handling uncertainties in dynamic, high-density environments. The combination of HCSM and CC-MPC allows for safe and efficient navigation of vessels, ensuring collision avoidance, compliance with traffic regulations, and adaptability to unforeseen circumstances, such as changes in traffic patterns or environmental factors. This combination enables dynamic decision-making while ensuring the system remains computationally efficient enough for real-time operation.
The proposed framework integrates hierarchical conditional state machines with chance-constrained model predictive control. This hybrid approach enables vessels to navigate complex traffic scenarios while adhering to both safety constraints and traffic regulations. By leveraging the IoS infrastructure, our system allows for more effective decision-making and coordination. Furthermore, the use of edge computing allows for localized processing of real-time environmental data, reducing latency and enhancing the timeliness of decision-making in critical situations.
The key contributions of this paper are as follows:
- (1)
This paper presents a novel regulation-aware decision-making framework that leverages the Internet of Ships and edge computing to integrate behavioral decision-making with motion planning, specifically designed to enhance the safety and efficiency of NMSVs operating in inland waterway channels.
- (2)
Hierarchical conditional state machine is employed to make decisions about the vessel’s maneuvers based on the current traffic situation, implementing safety constraints to prevent collisions.
- (3)
The chance-constrained model predictive Control is then used to optimize the vessel’s trajectory, factoring in both the vessel’s own dynamic constraints and the uncertainty in the surrounding traffic environment. This integrated approach not only enhances collision avoidance but also ensures that NMSVs adhere to traffic regulations, improving overall safety and reducing the potential for accidents.
The subsequent sections of this paper are structured in the following manner:
Section 2 of this paper provides an overview of the theoretical background.
Section 3 of the document focuses on the decision-making framework that governs the behavior of autonomous surface vehicles in waterway channels and the optimal planning approach utilizing a chance-constrained model prediction framework.
Section 4 discusses case study.
Section 5 summarizes the discussion and conclusions.
2. Problem Formulation
In the autonomous navigation phase, vessels must rely on the integrated system’s perception, decision-making, and execution capabilities to achieve autonomous control without the need for human intervention [
23]. At this stage, the system must exhibit robust data processing, real-time decision-making, and incident response capabilities [
24,
25]. The above scenarios are the basis of the algorithm studied in this paper and are mentioned in our previous research [
26].
2.1. Vessel Behavior Modeling
Understanding traffic separation schemes, as regulated by the International Maritime Organization (IMO), is crucial for preventing accidents and enhancing the safety of vessel operations in waterway channels. These schemes are designed to organize vessel movement, helping to mitigate the risk of collisions and improve traffic flow in congested or narrow waterways. Historically, traffic separation schemes typically involve dual-lane systems to guide vessels in distinct directions, but in inland waterways, the restricted width often necessitates single-lane configurations.
In dynamic environments, vessels frequently interact with other ships, and these interactions can range from benign to hazardous, directly influencing both the safety of the vessel in question and the overall traffic dynamics. The key to reducing accidents lies in understanding and modeling these interactions. Preliminary studies [
13] indicate that the nature of ship-to-ship interactions—shaped by factors such as proximity, speed, and maneuvers—significantly impacts overall vessel behavior and collision risks.
In the context of waterway navigation, vessel behavior can be broken down into three critical stages: situational awareness, decision-making, and execution of maneuvers. Vessels must continuously assess the surrounding traffic conditions, gathering data from other vessels and evaluating potential risks to avoid accidents. These ongoing assessments help vessels to make real-time adjustments to their operations, including changes in heading or speed, based on the movement of other ships. These adjustments, however, often trigger ripple effects that can alter the overall traffic situation, potentially introducing new safety risks that must be mitigated.
The navigation status of a vessel includes serval-dimensional state sets composed of position information (east x and north y), vessel velocity v, heading angel c, vessel decision state d, vessel control input τ, and other dynamic attributes. The expression of a vessel’s navigation state in maritime traffic is as follows:
where
is the timestamp,
is the vessel behavior of vessel
, n is the number of the vessel, and
is the navigation status of the vessel
at time
.
Vessels must continuously adapt to changes in the navigation status of surrounding vessels. Significant variations in navigation status can lead to safety incidents, necessitating appropriate behavioral adjustments. This process entails perceiving environmental changes, deciding on navigational alterations, and executing actions to maintain safety. Recent advancements in traffic separation schemes, akin to highway lanes, have been implemented to enhance safety and prevent collisions. The interaction process of vessel behavior is classified into three stages: perceiving the traffic environment, assessing movement trends, and, if required, altering navigation states to avoid collisions. This tripartite approach ensures safe and efficient navigation, with vessels constantly evaluating traffic conditions and adjusting behaviors according to established rules and emerging safety threats.
Sailing routes are determined by ship captains over thousands of years of sailing practice. Then, waterways, known as the traffic separation scheme, gradually appeared like “lanes” on highways to prevent ships from colliding. The traffic separation scheme, regulated by the International Maritime Organization, is a route-management system for traffic management. Historically, a single traffic separation scheme consists of two lanes. A vessel sailing in a traffic lane should follow the approximate direction of that lane. Each vessel in the traffic separation scheme is assigned to one of three statuses. Once the vessel has entered the traffic separation scheme, it is able to navigate along its intended course and at the chosen velocity without any restrictions.
Nevertheless, if a target vessel travels at a slower velocity and is positioned ahead, it is possible for the vessel in question to utilize an adjacent lane to surpass the vessel, if there is minimal vehicular congestion in the opposing direction. The procedure is commonly referred to as vessel overtaking. Due to environmental indications or human factors, the vessel may encounter head-on situations in narrow channels during the sailing process. The vessel may observe transitioning between phases based on the current maritime conditions.
This study redefines vessel sailing behavior within the traffic separation scheme into two primary states: normal sailing and collision avoidance (as shown in
Table 1). Collision avoidance is further subdivided into chasing and encountering scenarios, depending on the specific environmental and traffic conditions within the waterway. Normal sailing is the baseline state of the vessel, where it is cruising along its planned route under typical conditions, without any immediate threat from other vessels or obstacles. In this state, the vessel is moving at a constant speed and heading. The vessel is in clear water without encountering any obstacles or other vessels. The traffic in the waterway is minimal, and there are no immediate risks of collision or navigational interference. The vessel remains in the “normal sailing” state unless it detects potential obstacles, such as approaching vessels, or changes in the environment that could pose a threat. If another vessel comes too close or the environment becomes congested, the system transitions to “collision avoidance.” For example, an autonomous vessel is cruising in a broad waterway with little to no traffic. It is maintaining its course and speed. The system continuously monitors the surrounding area to ensure that no vessels are on a collision path. As long as the path remains clear, the vessel continues in the “normal sailing” state. The collision avoidance state is activated when the vessel detects a potential collision with another vessel or obstacle. The vessel will take evasive actions to prevent accidents, such as adjusting its speed or changing its course. Other vessels or objects that are on a collision course within a predefined safe distance are detected. Real-time calculation of a collision risk that exceeds the safety threshold, such as when another vessel suddenly changes course into the vessel’s path, is calculated. Once the collision risk is mitigated (e.g., the vessel has adjusted its course to avoid the other vessel), the system transitions back to “normal sailing.” For example, the autonomous vessel detects an approaching vessel from the side. To avoid a collision, it adjusts its speed and changes its course, allowing enough space to pass safely. Once the collision risk is eliminated, the vessel resumes “normal sailing.” Overtaking and head-on processes are the processes of collision avoidance.
Figure 1 shows the transition from normal sailing to overtaking to normal sailing in the physical layer.
By focusing on these core behavioral types, we aim to develop a comprehensive model for understanding and predicting vessel behavior under varying maritime conditions, ultimately reducing the likelihood of collisions and improving overall safety in waterway traffic. Understanding these behavior patterns is essential for designing systems that can dynamically adjust to the constantly changing traffic environment, thus mitigating the risk of accidents and ensuring smoother, safer navigation in inland waterways.
2.2. Vessel Description and Dynamics
The motion of the vessel is modeled using a 3-DoF hydrodynamic model, as shown in
Figure 2, with the kinematics and kinetics formulations represented as:
where
represents the position and orientation of the vessel,
is the rotation matrix, and
. The variables denoted by
correspond to the velocities in the surge, sway, and yaw directions. The symbol
represents the inertia matrix,
represents the Coriolis and the centripetal matrices, and
represents the damping matrix. Furthermore,
denotes the vector of control inputs.
In the field of navigation practice, the control input often involves the manipulation of the rudder angle. Consequently, to effectively tackle the issue at hand, namely, trajectory tracking with multi-obstacle avoidance, the following transformation is implemented in a direct manner:
where
represents the rudder angle,
represents the propeller thrust, and
,
,
,
,
,
, and
are model parameters. The relationship between sway velocity and rate of turn, denoted by
, can be established by both full-scale and laboratory tests. The parameters
,
, and
are associated with a simplified Nomoto model.
Let
be a vector, without loss of generality. Equation (3) can be converted into the subsequent nonlinear control system.
where
,
, and
.
If two vessels risk colliding, international or local maritime norms dictate that action must be initiated immediately. Nevertheless, establishing a secure separation distance between the two watercrafts can present a complex task. This article proposes a technique for estimating the geometry of the target vessel domain and suggests the shortest passing distance. This study employs dynamic ship domain models that consider many factors, such as navigable canal conditions, ship behaviors, ship types, and ship sizes.
Based on the above ship domain research, vessels transiting the channel must maintain a minimum safe distance from other vessels traveling in the same longitudinal direction when navigating a channel. This process establishes the vessel’s primary axis navigation domain. Furthermore, it is imperative for vessels to uphold a prescribed minimum safe distance from other vessels in adjacent lanes within a multi-lane waterway to establish the minor axis of the vessel’s domain.
Stopping visual range may be used to detect the principal axis of the vessel domain for vessels traversing the channel. In the field of traffic engineering, the concept of stopping visual range pertains to the minimum distance at which a vehicle must come to a stop when the driver hits impediments or when the preceding vehicle halts. This calculation takes into consideration factors such as response time, stopping distance, and the appropriate safe distance.
where variable
represents the stopping visual range for a vessel, whereas
denotes the safe distance, which is approximately equivalent to one-fourth of the vessel’s length [
20]. In this context,
represents the distance required for a vessel to react,
denotes the distance needed for the vessel to brake if there is no vessel behind, the value of
is 0,
signifies the initial speed of the vessel,
is the vessel operator’s response time, and
is the braking rate of the vessel behind.
Suppose the channel navigation standard establishes a safe distance from vessels ahead or behind. This specified safe distance may be used as the principal axis of the vessel domain for vessels sailing along the channel. The vessel’s domain minor axis may be calculated following the Guidelines for the Design of Approach Channels, the Code for Design of General Layout of Sea Ports, the European Code for Inland Waterways, or any other applicable design guidelines for limited water channels.
The main axis is , the minor axis is , the track width is , and the safe reach width is .
4. Case Study
4.1. Experimental Settings
This section presents the evaluation of the proposed autonomous vessel navigation and collision avoidance system, with a focus on preventing traffic accidents and enhancing navigational safety in maritime environments. Three distinct scenarios are examined: the first test demonstrates the robustness and real-world applicability of the system on an actual USV, as shown in
Figure 12, the second examines the path planning and avoidance performance in head-on and overtaking situations, and the third evaluates the vessel’s ability to navigate safely in a complex, dynamic waterway environment. These case studies aim to assess how the proposed framework can effectively reduce traffic conflicts and improve safety by preventing accidents through proactive decision-making and optimized path planning.
To ensure replicability, the experiments were conducted using publicly available software (MATLAB2023a and FORCES PRO 4.2). The experiments can be replicated by adjusting the key parameters, such as the control horizon Hp, the number of vessels, and the density of obstacles. The model was tested for various traffic densities, ranging from sparse to congested conditions. The hardware configuration for these simulations includes an Intel i7-12700 CPU, an Nvidia GeForce RTX A2000 8 GB GPU, and 32 GB of RAM, ensuring efficient and reliable computational performance.
The non-convex model predictive control MPC problem, as defined in Equation (32), is solved using a 7 s planning horizon and 35 planning steps, with optimization performed through the FORCES PRO tools. This methodology enables effective management of complex, real-time maritime scenarios, ensuring that the vessel’s decision-making and trajectory planning are optimized for both safety and operational efficiency. The model parameters are given as , b = 0.62, , , , , , and . The propeller thrust is constrained in .
4.2. Real-World Experimental Study
To assess the performance of the proposed system in real-world conditions, a simulated waterway channel was created with a width of 200 m and a length of 900 m, representing a typical narrow and congested waterway. The goal of the experiment was to demonstrate how the proposed system could mitigate the risks associated with traffic conflicts and improve safety, especially under challenging environmental conditions, such as wind, waves, and sensor uncertainty.
The experimental environment includes three static obstacles placed within the waterway channel: two circular obstacles and one rectangular obstacle. These obstacles were simulated as virtual physical entities, representing common hazards that could impede the safe navigation of vessels in busy waterways. The radius of the first circular obstacle is set to 26 m, the second is set to 13 m, and the rectangular obstacle measures 95 m in length and 21 m in width. These obstacles serve as realistic representations of the types of hazards that could lead to traffic conflicts or accidents in congested waterway environments.
The real-world experiment evaluates the vessel’s ability to navigate through the waterway channel at a target speed of 4 m/s while avoiding static obstacles. The vessel autonomously adjusts its path in real time to avoid collisions, as shown in
Figure 13. The key events are as follows:
At Time A, the vessel detects the first obstacle in its path.
At Time B, the vessel alters its course to avoid the obstruction.
At Time C, a similar maneuver is performed to circumvent a second static obstacle.
At Time D, the vessel continues its original trajectory, preparing for the next obstacle.
At Time E, the vessel detects another obstruction and evaluates its safety margin.
At Time F, the vessel adjusts its course to avoid the newly identified hazard and continues toward its destination.
Throughout the test, the vessel successfully avoids all obstacles, demonstrating the system’s capability to prevent accidents by maintaining a safe distance from potential collisions. The ability to adapt to dynamic obstacles in real time underscores the effectiveness of the decision-making and planning algorithms in preventing traffic conflicts and ensuring safe navigation.
Figure 14 presents the surge velocity and yaw rate results for the vessel in Scenario 1. These measurements show how the vessel adjusts its speed and heading to maintain a safe path while avoiding obstacles. The real-time adjustments are critical for preventing accidents, as the vessel is able to respond dynamically to the detected obstacles and avoid unsafe trajectories. These data further confirm the ability of the proposed system to not only navigate safely but also optimize efficiency, a key factor in accident prevention.
4.3. Simulation Evaluation in Typical Scenarios
Simulation case study 1 simulates a dynamic maritime environment featuring four moving vessels. The scenario includes two overtaking situations and one head-on encounter, all of which adhere to maritime traffic regulations. These simulated conditions are crucial for testing the effectiveness of our proposed collision avoidance strategies and their ability to enhance navigational safety.
Simulation case study 2 simulates a more complex waterway scenario involving four vessels, with their initial positions randomly generated within a predefined area of an inland traffic separation scheme at Rotterdam Port. This simulation helps evaluate the system’s ability to manage multiple vessels navigating simultaneously, ensuring safe interactions and minimizing collision risks in busy waterway environments.
- (1)
Case study 1: Sailing in a dynamic vessel environment
In this case study, we simulate an overtaking scenario involving several vessels navigating through an inland waterway. The presence of multiple moving vessels introduces unpredictability, allowing us to assess the resilience of our decision-making model in real time. The simulation also includes vessels that deviate from established navigation laws to test the algorithm’s robustness under more chaotic conditions.
Figure 15 illustrates a comprehensive traffic scenario comprising three consecutive sub-scenes, showcasing how the research vessel interacts dynamically with surrounding vessels. In this simulation, one of the vessels in the scenario violates maritime navigation regulations, introducing unpredictability into the system, which is designed to test how well the decision-making model handles more complex, less predictable traffic conditions. This approach simulates a more realistic environment, allowing the decision model to better manage unpredictable vessel movements and enhance its collision prevention capability.
The proposed chance-constrained model predictive control controller governs the movement of the vessels in the simulation. While the environmental vessels follow a straight path, the autonomous vessel adjusts its trajectory based on surrounding dynamic changes. This ability to react to real-time environmental shifts is crucial for mitigating potential traffic conflicts and improving safety in busy waterway environments.
The simulation reveals that the autonomous vessel adheres to prescribed reference paths but adapts when it encounters the boundary conditions for state switching. At this point, the state machine evaluates multiple states and dynamically adjusts the predictive control constraints to prevent accidents, rerouting the vessel to avoid collision risks and navigating safely.
Figure 16 illustrates the simulation of an overtaking maneuver. Initially, the orange vessel is overtaking a slower-moving blue vessel. The safety gap is maintained, ensuring no collisions occur during the overtaking process. As shown in
Figure 16b, the autonomous vessel adjusts its path in real time to safely overtake, while the red line marks the safety limit. The vessel initiates a nudge maneuver (
Figure 16d) and successfully moves into the opposite lane to complete the overtaking action. After the maneuver, the vessel returns to its designated path, as shown in
Figure 16e.
During the simulation, velocity and angular velocity data (
Figure 17a) show that the autonomous vessel increases speed to overtake the slower vessel, then returns to its original trajectory at the optimal speed for efficient navigation. Safety considerations are prioritized throughout, ensuring that energy consumption is minimized without compromising collision avoidance.
Figure 17b depicts the forces acting on the vessel during the overtaking process. The results indicate that while energy is expended during lane changes, the maneuver is completed successfully with minimal vibrations and disruptions to the vessel’s stability.
- (2)
Case study 2: Sailing in a waterway environment
This case study addresses the challenges of navigating multiple vessels in an inner canal system, simulating a complex scenario involving unpredictable movements and diverse traffic patterns. The primary objective is to evaluate the effectiveness of the chance-constrained model predictive control controller in ensuring safe vessel separation and preventing collisions within confined waterway spaces. By considering dynamic environmental factors, we aim to improve waterway safety through proactive collision avoidance and safe navigation strategies.
Figure 18 depicts the trajectories of four vessels in an overtaking situation. All vessels are programmed to follow the designated navigation paths, but when one vessel reaches the boundary conditions of the state-switching mechanism, the system adapts by adjusting the model predictive control (MPC) restrictions. The state machine dynamically evaluates the vessel’s position and environmental context, adjusting the control strategy accordingly to ensure safe maneuvering. As a result, the autonomous vessel adjusts its path to mitigate collision risks and avert mishaps in real time.
Figure 19 shows the behavior of the vessels during normal sailing. The error in the vessel’s position and heading, controlled by the hierarchical conditional state machine and chance-constrained model predictive control algorithms, approaches zero, indicating that the vessel maintains a high degree of precision and stability in its navigation. This ensures that the autonomous vessel stays within the designated route while adjusting to the surrounding vessels and environmental conditions. The control system’s ability to minimize navigation errors is vital for collision prevention, particularly in high-density traffic scenarios.
Despite the successful overtaking, minor oscillations in the vessel’s velocity and heading are observed. These oscillations occur due to the need for the vessel to expend energy when transitioning to the adjacent lane, which is typically denser with traffic and requires a wider time gap for a safe maneuver. This highlights the inherent trade-off between safety and energy efficiency, which must be carefully balanced in real-time decision-making to ensure safe navigation while minimizing unnecessary energy consumption.
Safety considerations play a critical role in this scenario, as the vessel adjusts its trajectory to avoid collision with the preceding vessel, demonstrating the algorithm’s ability to adapt to changing traffic conditions and ensure safe vessel operations in confined and high-risk environments.
Figure 20 illustrates the position, velocity, and heading of Vessel 4 during the overtaking maneuver. In this scenario, the autonomous vessel encounters a slower-moving vessel and, to avoid potential collision, navigates to an adjacent canal to safely overtake. After the maneuver, the autonomous vessel returns to its original course while maintaining an optimal speed, demonstrating the system’s capacity to make timely overtaking decisions.
- (3)
Comparative Analysis: Methodologies and Baseline Approaches
To further evaluate the effectiveness of our proposed hierarchical conditional state machine and chance-constrained model predictive control methodologies, we compare their performance against two baseline methods: RA-MPCC [
30] and Breadth First Search (BFS) local planner with NMPC [
21]. The results, summarized in
Table 2, demonstrate that our approach outperforms the baseline methods in terms of collision frequency and navigation safety.
The use of hierarchical conditional state machine and chance-constrained model predictive control enables vessels to anticipate potential collisions and adjust their trajectories proactively. This allows for the initiation of avoidance maneuvers at an earlier stage, particularly in head-on encounters or overtaking situations, leading to safer navigation in congested waterways. In contrast, the BFS-NMPC approach tends to adhere too rigidly to the initial trajectory, failing to account for future obstacles, and as a result, it experiences a higher frequency of collisions and does not fully comply with inland waterway regulations.
4.4. Computational Complexity and Real-Time Performance
4.4.1. Theoretical Complexity
The worst-case complexity of the proposed framework is governed by the SQP iterations and multistage QP structure O(K⋅Hp⋅(nx + nu)3), where K = 10 (average iterations), Hp = 35, nx = 5, and nu = 2. Total FLOPs = 10⋅35⋅(5 + 2)3 = 120,050 FLOPs.
4.4.2. Measured Computation Time
Table 3 summarizes the actual computation time across three scenarios, and the results are shown in the table.
Even in the worst case (Hp = 35), the maximum solve time (14.5 ms) is 85.5% faster than the 100 ms control cycle, leaving ample margin for sensor data processing and actuator communication. GPU acceleration reduces computation time by 22% compared to CPU-only execution (tested via solver profiling).
The RTX A2000 GPU significantly accelerates dense linear algebra operations in FORCES PRO. GPU-accelerated LU decomposition reduces per-iteration time by 35%. Collision avoidance constraints (Equations (37) and (38)) were batched and evaluated on the GPU, achieving a 1.8× speedup over CPU.
4.4.3. Comparison with Baseline Solvers
A comparative analysis with general-purpose solvers highlights FORCES PRO’s efficiency, and the results are shown in
Table 4.
FORCES PRO’s structure exploitation and GPU acceleration enable 5.8× faster solves than IPOPT. The proposed framework achieves real-time trajectory planning (5–20 ms per solve) on commercially available hardware (Intel i7-12700 + RTX A2000). By leveraging FORCES PRO’s code generation, multicore CPU/GPU parallelism, and sparsity exploitation, the method scales efficiently to complex maritime scenarios with dynamic obstacles and stochastic uncertainties. These results confirm that the computational complexity is fully compatible with real-world deployment, even under resource constraints.
4.5. Robustness Analysis
In this section, we present the results of the sensitivity analysis conducted to evaluate the impact of key parameters on the performance of the proposed decision-making framework. Sensitivity analysis helps in understanding how variations in system parameters affect the overall performance, and it allows for assessing the robustness of the system to different conditions.
The control horizon refers to the number of steps over which the model predictive control (MPC) makes predictions for the system’s behavior.
We varied the control horizon Hp to assess its effect on both computational performance and safety. A longer horizon increases the accuracy of predictions but also increases the computational complexity, as the number of optimization variables grows.
With a shorter horizon (Hp = 20), the optimization problem becomes less complex, leading to faster computation times. However, it sometimes results in reduced safety margins, particularly in dynamic environments where unexpected changes can occur.
A longer horizon (Hp = 35 H) improves the accuracy of predictions and ensures better safety, but it also increases the computational load. The system was able to maintain real-time feasibility with a horizon of 35 steps, although the average computation time increased slightly.
The system shows robust performance across a range of horizons, ensuring safety without compromising real-time feasibility, especially with the use of GPU acceleration.
4.6. Discussion
In the first real-world experiment, we evaluated the system’s performance in a simulated waterway channel with three static obstacles (two circular and one rectangular). The system demonstrated effective real-time obstacle avoidance, adapting the vessel’s path and maintaining safe distances. The autonomous vessel navigated at 4 m/s, dynamically adjusting its course to avoid obstacles. These maneuvers highlight the system’s ability to respond to environmental changes, minimizing collision risk and optimizing efficiency. However, the study did not address dynamic factors such as moving vessels or fluctuating environmental conditions (e.g., wind and waves), which require further refinement in the control algorithms to enhance performance in more variable scenarios.
In the second case study, we simulated overtaking scenarios in a multi-vessel environment to test the robustness of the chance-constrained model predictive control (CC-MPC). The system successfully adjusted its trajectory for overtaking slower vessels, maintaining safety distances and ensuring compliance with regulations. Real-time adjustments, as indicated by velocity and angular velocity measurements, balanced speed with safety during overtaking. However, unpredictable movements of other vessels, especially those violating maritime regulations, posed challenges. The system must improve its ability to anticipate complex interactions and quickly adjust to sudden changes in vessel speed.
The third case study simulated a multi-vessel scenario in a confined waterway. The CC-MPC effectively managed vessel movements by adjusting the path to avoid collisions, ensuring safe maneuvering in high-density traffic. This was especially critical when environmental constraints necessitated path adjustments. The system maintained high precision in navigation, minimizing errors in position and heading. However, oscillations in velocity and heading during maneuvers suggest a trade-off between safety and energy efficiency, highlighting the need for optimization.
A comparative analysis showed that the proposed HCSM and CC-MPC method significantly outperformed baseline methods in collision avoidance and regulatory compliance. The system demonstrated superior computational efficiency and real-time decision-making capabilities, outperforming traditional solvers such as IPOPT and fmincon, which struggled with real-time feasibility due to their higher computational demands.
In the future, the integration of Internet of Ships (IoS) will enhance the system by enabling real-time communication and data exchange between vessels and shore systems, facilitating dynamic decision-making and improving system reliability. These technologies ensure that the system can adapt to real-time traffic changes and environmental disturbances, which are critical in busy waterways where vessel behavior and environmental factors are constantly changing.
While the experiments conducted in this study focused on a specific waterway configuration and obstacle layout, the proposed framework is designed with flexibility and adaptability in mind, making it applicable to a broad range of maritime environments. The ability to dynamically adjust vessel trajectories based on traffic conditions and environmental factors ensures that the system is not confined to a single type of waterway or scenario.
The core principles of the HCSM and CC-MPC method can be easily adapted to various waterway types, including narrow channels, wide channels, rivers, and open seas. In narrow channels, where space is limited and the risk of collisions is higher, the system can prioritize safety by increasing safety margins and adopting more conservative maneuvers. For wider water bodies or open seas, where vessel interactions are less frequent, the framework can optimize vessel speeds and trajectories for greater efficiency while maintaining safe distances.
In conclusion, the generalizability of the proposed framework extends far beyond the specific waterway configuration tested in this study. Its flexibility allows it to be applied to a diverse set of maritime scenarios, ensuring that it can be effectively deployed in different waterway types, traffic densities and regulatory contexts. Future work will focus on further enhancing its adaptability and extending its applicability to even more complex real-world maritime environments.
4.7. Limitations of the Study
Despite the promising results, this study has several limitations. First, the experimental evaluations were conducted in simulated environments under controlled conditions, which did not fully capture dynamic factors such as moving vessels, fluctuating environmental conditions (e.g., wind and waves), sensor noise, and model inaccuracies. The limited obstacle configuration and specific waterway scenarios may restrict the generalizability of the findings to more diverse maritime settings. Furthermore, the observed oscillations in velocity and heading during high-density traffic indicate a trade-off between safety and energy efficiency that warrants further optimization. Future research should focus on integrating robust optimization techniques, incorporating additional dynamic environmental factors, and validating the framework under a broader range of realistic conditions.
5. Conclusions
This study investigates the application of hierarchical conditional state machine and chance-constrained model predictive control algorithms for enhancing the safety of autonomous vessels in dynamic waterway environments. The construction of the hierarchical system involves the utilization of both a hierarchical conditional state machine and a chance-constrained model predictive control technique. The implementation of a hierarchical design in this context serves to guarantee both the safety and efficiency of sailing operations, considering the necessary compliance with avoidance restrictions pertaining to the waterway as well as the prevailing environmental circumstances. The hierarchical conditional state machine establishes appropriate reference and safety thresholds for navigation by employing avoidance sub-maneuvers and adhering to the appropriate transition condition. Given the presence of forecast uncertainty, the chance-constrained model predictive controller offers an optimal, effective, and secure trajectory. The sailing propensity in the hierarchical conditional state machine stage can be altered by adjusting the weighting parameter, whereas in the chance-constrained model predictive control stage, it can be influenced by manipulating the chance constraint parameter. The experimental results demonstrate that these algorithms can effectively mitigate traffic conflicts and reduce the risk of collisions, particularly in congested and high-risk waterway conditions. By incorporating real-time decision-making and trajectory planning, the system proactively avoids accidents and optimizes vessel navigation, thereby contributing to traffic accident prevention.
The experimental results clearly indicate that the proposed framework achieves enhanced computational efficiency and safety performance under dynamic and high-density traffic conditions. However, the current framework does not fully account for uncertainties such as sensor noise, model inaccuracies, and unexpected vessel maneuvers, which are critical in real-world applications. Moreover, the experimental validation was performed within a specific simulation environment, limiting the generalizability of the findings. In future research, we plan to extend our model by incorporating robust optimization techniques to explicitly handle these uncertainties, validating the framework under more diverse and realistic scenarios, and exploring strategies to further improve energy efficiency.
Looking forward, the integration of environmental factors into the decision-making process, coupled with the optimization of energy usage, will enhance the system’s robustness. Additionally, improving real-time adaptability in complex, unpredictable traffic situations will be critical in ensuring that autonomous vessels can navigate safely in real-world conditions. Overall, we believe that these enhancements will pave the way for more adaptive and resilient autonomous maritime navigation systems, ultimately contributing to safer and more efficient waterway operations.