Abstract

Compared with open waters, congested inland waters have narrow waterways, many river-crossing bridges, a high density of navigation, and high current velocity in some sections. In this study, an improved collision avoidance algorithm based on model predictive control (MPC) is proposed to solve the problem of collision avoidance for autonomous surface vehicles (ASVs) in congested inland waters. First, considering the influence of current, the collision avoidance problem of ASVs is transformed into a nonlinear programming problem, and the kinematics of ASVs and the boundary of the channel are regarded as its inequality constraints. Next, since ASVs cannot perform large-scale collision avoidance in congested inland waters, the strategy of reducing the speed and slightly changing the yaw angle is adopted to realize collision avoidance. Then, an improved dynamic bumper model is used to model the safe zone of ASVs and dynamic obstacles, which improves the efficiency of the algorithm and the safety of ASVs. Finally, the collision avoidance rules and the evaluation function of the collision avoidance maneuver are constructed in the cost function of the algorithm. The simulation experiments in different encounter scenarios show that the proposed algorithm significantly improves the rationality and compliance of ASVs’ autonomous collision avoidance in congested inland waters.

1. Introduction

Autonomous surface vehicles (ASVs) are intelligent robots that can autonomously navigate on the surface of the water and perform many dangerous and time-consuming tasks. In recent years, with the continuous development of computer performance [1], sensing technology [2], and artificial intelligence technology, the related technologies of ASVs have achieved rapid development and become a research focus in robotics. In addition, the strong demand from business, scientific research, and environmental protection has further promoted the application of ASVs in cargo transportation, exploration of marine resources, ecological monitoring, and other fields [3, 4]. Compared with the application of ASVs in open waters of the sea, the application of ASVs in congested inland waters is more closely related to people's daily life, which has a broader application prospect [4]. However, due to the narrow bending of the congested inland waters, many river-crossing bridges, high density of navigation, and high current velocity in some river sections, the autonomous navigation of ASVs becomes very challenging. In addition, most of the accidents are caused by human error in congested waters [5], so how to achieve effective autonomous collision avoidance is the key to ASVs in congested inland waters.

The autonomous navigation system of ASVs is usually composed of the navigation module, the guidance module, and the control module [6]. Among them, the guidance module is used to get the collision-free path of ASVs between two different positions according to the environmental information obtained by the navigation module [7]. The guidance module of ASVs usually consists of two parts: global path planning and local path planning. Local path planning is conducted to avoid the dynamic obstacles in real time according to the local environment information around the ASV. It can be divided into two categories: the reactive algorithm and the motion planning algorithm [5, 8]. Among them, the reactive algorithm, which takes the limited information in a short time into consideration, has better real-time performance when coping with sudden changes in the environment [9]. The main reactive algorithms include the dynamic window method [10, 11] and the artificial potential field method [12, 13]. Compared with the reactive algorithm, the motion planning algorithm, which takes more information and a longer time, can provide more optimized paths. The main motion planning algorithms include the velocity obstacle method [14, 15] and the model predictive control (MPC) method [16, 17].

Compared with other collision avoidance algorithms, MPC has the characteristics of good robustness and strong anti-interference ability. MPC can adopt a nonlinear ship model to optimize the system and compensate for external disturbances in real time, reducing the system uncertainty caused by disturbances [18]. During the receding horizon optimization of the ship, MPC can simultaneously consider multiple constraints and calculate an optimal path by predicting the movement state of obstacles [19, 20]. Moreover, the assessment of collision avoidance risk, the limitations of the ship, and the navigation objectives can also be formalized in the cost function of the MPC algorithm [17]. Although there were defects in real time for MPC, its performance has been greatly improved in recent years, with the progress of computer performance, the improvement of algorithm structure, and the optimization of computing tools. The MPC algorithm has been widely applied to the path planning of unmanned aerial vehicles [21], autonomous vehicles [2224], and unmanned surface vehicles [25].

The MPC-based collision avoidance algorithm has made many achievements for ASVs in open waters. Eriksen et al. [26] proposed an MPC-based collision avoidance algorithm that considers the influence of the International Regulations for Preventing Collisions at Sea (COLREGs) to realize autonomous collision avoidance of both static and dynamic obstacles. In order to improve the real-time performance of the collision avoidance algorithm, Sun et al. [27] adopted the finite control set model predictive control algorithm (FCS-MPC) according to the assessment of the encounter scene and the collision risk of the ASV in open waters. The COLREGs are adopted in the algorithm as the evaluation standard to realize effective collision avoidance of various dynamic obstacles. When Hagen et al. [17] designed the MPC-based collision avoidance, they adopted the collision avoidance strategy that significantly changed the surge speed and yaw of the ASV under navigation conditions in open waters, which improved the flexibility of the ASV in collision avoidance. However, the speed and yaw of ASVs are selected from a limited number of sets, which may cause discontinuity of control. In order to reduce the risk of collision avoidance, Johansen et al. [19] used a circular area to model the safety zone of the ASV when designing the MPC-based collision avoidance system. In the collision avoidance algorithm based on nonlinear MPC, Abdelaal et al. [16] adopted an elliptical zone to model the safety zone of the ASV and dynamic obstacles. However, using a standard circular or elliptical safety zone will result in many unnecessary parts in the calculation when assessing the collision avoidance risk, which reduces the computation efficiency of the algorithm.

However, due to the relatively complicated navigation conditions, there are few studies on collision avoidance in congested inland waters. In order to solve the problem of autonomous collision avoidance of ships under the condition of narrow and curved inland rivers, Cheng [28] proposed a collision avoidance algorithm based on the genetic algorithm to realize the collision avoidance of dynamic and static obstacles. Zhang [29] proposed an improved velocity obstacle method to avoid collision for inland river ferries. However, the maneuverability constraints, collision avoidance safety zone, and inland navigation rules of ASVs in the above methods are not fully considered, and there are still certain limitations in practical applications. In order to solve the problems mentioned above and make the ASVs safely navigate in congested inland waters, an improved collision avoidance algorithm based on model predictive control is proposed. The improved algorithm can effectively avoid collision against multiple obstacles, which can comprehensively consider the influence such as current, channel boundary, the actuator constraints of ASVs, and other factors. Different from open waters, ASVs cannot perform large-scale collision avoidance in congested inland waters, the collision avoidance strategy of slightly adjusting the speed and yaw is adopted. In addition, a dynamic bumper model is used to model the safety zone of ASVs and dynamic obstacles, which improves the efficiency of collision avoidance and the navigation safety of ASVs. Finally, the collision avoidance rules and the evaluation function of the collision avoidance maneuver are added to the cost function of the algorithm to ensure the compliance and rationality of the ASV manipulation during the entire collision avoidance process.

The rest of this study is organized as follows. The modeling of ASVs is given in Section 2. Section 3 provides the design of an improved collision avoidance algorithm based on MPC. In Section 4, the algorithm is verified by numerical simulation, and the result is analyzed and discussed. Finally, a summary is given in Section 5.

2. Mathematical Model of the ASV

This study takes the kinematic model of the 3DOF ASV into consideration. The motion coordinate system is shown in Figure 1. and , respectively, represent the pose of the ASV and current in the Earth-fixed reference frame. represents the velocity of the ASV in the body-fixed frame under the assumption of zero relative sway motion, where is the surge speed, and is the yaw rate of the vessel. represents the rotation matrix from the body-fixed to the Earth-fixed frame. is the yaw angle of the ship. is the course of the ASV. Assuming that the sideslip of the ASV is zero, the kinematic equation of underactuated ASV can be defined as follows:

3. Design of Improved Collision Avoidance Algorithm Based on MPC

This section presents the mathematical principle and implementation process of the improved collision avoidance algorithm. The proposed collision avoidance algorithm is shown in Figure 2.

3.1. Modeling of the Safety Zone

In this study, an improved bumper model is applied for modeling the safety zone of the ASV and obstacle ships [30]. The bumper model is obtained by statistical analysis of the vessel traffic flow data [31]. It can characterize the collision risk of the ship in the safety zone around the vessel. The bumper model is shown in Figure 3, consisting of two parts: the front and the back. The front half part is half of an ellipse; the parameters and represent the long and short semiaxes of the ellipse, respectively. The second half part is a semicircle with a radius of . In order to comply with the actual navigation conditions, the size of the safety zone should vary with the velocity of the ASV or the obstacle ship [32]. As shown in Figure 4, when the surge speed of the ASV or the obstacle ship is zero, the size of the safety zone is a circular area with a radius of B=0.8 L. When the surge speed of the ASV or the obstacle ship is at its maximum, and in the safety zone, where is the length of the vessel. When the surge speed of the ASV or the obstacle ship is another value, and in the safety zone, where is the maximum surge speed of the ASV.

3.2. Kinematic Constraints

When ASVs navigate in congested inland waters, they can be constrained by their velocity, acceleration, and waterway’s boundary, namely,

where represents the minimum surge speed of the ASV; and represent the maximum and minimum yaw rates of the ASV, respectively; represents the surge speed increment of the ASV per unit time; represents the yaw rate increment of the ASV per unit time; represents the maximum surge speed increment, that is, the ASV per unit time; represents the maximum yaw rate increment of the ASV per unit time; and represent the maximum and minimum values in the horizontal of the channel, respectively; and are the maximum and minimum values in the longitudinal direction of the channel, respectively.

Additionally, due to the limitation of congested inland waterway navigation conditions, the ASV usually adopts no more than a 40° turn when avoiding obstacles [33], namely,

3.3. Rule Compliance

This study takes ASVs navigating in the congested waters of the Zhenjiang section of the Yangtze River as an example. ASVs must abide by the “Regulation of the People’s Republic of China on Inland River Collision Avoidance” (RPRCIRCA) and the “Regulations on Ship Routing System in Jiangsu Section of the Yangtze River” (RSRSJSYR) when navigating in the waters. The most relevant rules for designing collision avoidance algorithms can be summarized as follows:

RPRCIRCA:Rule 9: Any actions to prevent a collision shall be taken effectively, early, and with good driving skill until the vehicle has passed.Rule 10: In a tidal stream, a lake, a reservoir, or an advection area, two vessels shall come close to meet on the port side of each other except in special circumstances.Rule 11: When a motorized vessel catches up or overtakes another motorized vessel in a direction greater than 22.5° behind its sway direction, which may pose a danger of collision, it shall be deemed overtaking.

RSRSJSYR:Rule 10: Vessels shall travel at a safe speed to avoid collision.Rule 12: When overtaking another vessel, a vessel shall overtake from the port side of the overtaken vessel as far as possible under the condition that safety is guaranteed.Rule 20: Any vessel that needs to cross the navigable lane or the recommended route shall pay attention to the condition of the waterway and the surrounding environment and, without hindering the safe sailing of other vessels, carry out the crossing as near as possible to the navigable lane or recommended route at a large angle.Rule 28: A vessel that fails to navigate in the prescribed navigable lane or recommended route shall take the initiative to give way to vessels that usually navigate in the defined passable lane or recommended course.

The encounter situation between the ASV and the obstacle ship in the Zhenjiang section of the Yangtze River is mainly divided into three conditions: head-on, overtaking, and crossing. The graphic diagram of the encounter situation is shown in Figure 5. According to the requirements of the regulations, the avoidance direction of the ASV when evading an encounter scene is demonstrated in Figure 6.

3.4. Division of Encounter Situations

The primary information used to divide the encounter situation of the ASV is shown in Figure 7. The specific description is as follows:(1)The blue ship is the ASV, and the green ship is the obstacle ship. The red dashed line represents the given path of the ASV. The blue dashed line represents the navigation path of the ASV. The green dashed line represents the navigation path of the obstacle ship.(2)The blue vector represents the surge speed of the ASV at time t. The green vector represents the surge speed obstacle ship at time t. The red vector represents the unit vector of the ASV to the obstacle ship at time t.(3) represents the yaw angle of the ASV in the Earth-fixed frame at time t.(4)At time t, when , the obstacle ship is considered to be close to the ASV, and avoiding manipulation needs to be performed. Here, represents the Euclidean distance between the ASV and the obstacle ship at time t; represents the minimum distance that the ASV needs to avoid manipulation at time t, and its size depends on factors such as the relative velocity between the ASV and the obstacle ship, the encounter situation, and environmental conditions.

When , , and

The ASV is considered to have a head-on encounter with the obstacle ship.

When , , andThe ASV is behind the obstacle ship, and the ASV is considered to be overtaking the obstacle ship.

When ,

The ASV is facing the obstacle ship, and the ASV is considered to be crossing the obstacle ship.

, , , and are the angles that meet the requirements of the collision avoidance rules. The specific parameters are shown in Table 1.

3.5. Optimization Problem Construction

In this study, multiple shooting methods are applied to transform the optimal control problem of ASV collision avoidance into a nonlinear programming problem (NLP) and consider the changes in the speed and pose of the ASV during optimization. The general form of NLP is as follows:where represents the decision variable; represents the equation constraint of kinematics; represents the inequality constraint; and represents the objective function. is defined as follows:

Among them, , , , , and are the adjustment parameters; represents the reference path of the ASV at the sampling time k; represents the reference surge speed of the ASV, represents the reference yaw rate of the ASV; represents the surge speed of the ASV at the sampling time k; represents the yaw rate of the ASV at the sampling time k; is the cost function used to evaluate the rule compliance for collision avoidance of the ASV; and its specific form is as follows:where and are the adjusting parameters; , , and are parameters with values of 0 or 1; represents the distance between the ASV and the obstacle ship in the sway direction of the ship in the Earth-fixed frame at sampling time ; , , and , respectively, represent the safe distance that the ASV required to conduct collision avoidance manipulation in the situation of head-on, overtaking, and crossing.

In NLP, the constraint of velocity and acceleration in equations (2)-(5) are defined as follows:where and , respectively, represent the surge speed and yaw rate of the ASV at each NLP step. and , respectively, represent the increment of the surge speed and yaw rate of the ASV at each NLP step.

In NLP, the constraint of the waterway’s boundary in equations (6) and (7) is defined as follows:where and represent the position of the ASV at each NLP step.

In NLP, the constraints of course in equation (8) are defined as follows:where represents the course of the ASV at the time related to each NLP step.

As shown in Figure 8, the position of the ASV is , and the position of the obstacle is in the Earth-fixed frame at time . The intersection point of the connection and the safety zone of the ASV is . The intersection point of the connection and the safety zone of the obstacle is . The distance of is , and the distance of is . When it is a static obstacle, is a constant value. In order to ensure that the ASV effectively avoids obstacles during navigating, it must be guaranteed that, at time , the Euclidean distance between the ASV and the obstacle is greater than or equal to the sum of and , that is, .

In NLP, in order to ensure that the ASV effectively avoids static obstacles, for a set of static obstacles , the inequality constraint is as follows:where represents the radius of the safety zone of the static obstacle ; is the position vector of the ASV at the sampling time ; and is the position vector of the static obstacle .

Similarly, in order to ensure that the ASV effectively avoids dynamic obstacles, for a set of dynamic obstacle , the inequality constraint is as follows:where is the value of the safety zone of the dynamic obstacles at the sampling time of ; is the vector of the position of the dynamic obstacle at the sampling time of .

4. Simulation Results and Discussion

In this section, in order to verify the performance of the proposed collision avoidance algorithm, we give the simulation results under five different situations: 1. standard ellipse domain and dynamic bumper domain; 2. head-on; 3. overtaking; 4. crossing; and 5. collision avoidance against static and dynamic obstacles.

4.1. Simulation Setup

In the simulation, we assumed that the ASV navigates in the congested waters of the Zhenjiang section of the Yangtze River, and the specific information of the obstacle ship can be known through AIS. The simulation conditions are CPU of 1.6 GHz Intel Core i5, the operating system of Window10, MATLAB R2020a, and IPOPT solver based on CASADI architecture [34]. According to the requirements of Rule 9 of “RPRCIRCA,” we select the sampling time T as 0.1s and the step size N as 20 to ensure that the prediction range of the collision avoidance algorithm is significantly larger than the response time of the speed and yaw. According to the requirements of Rule 10 of “RSRSJSYR,” the maximum surge speed of the ASV is set to 7.8 m/s, the minimum surge speed is set to 0 m/s in the case of crossing, and 2 m/s in other encounter scenarios. The same tuning parameters are used in all simulations, and the relevant parameters of the collision avoidance algorithm are given in Table 2.

In the simulation results, the following symbols and colors are adopted:(1)The purple dotted line represents the given path of the ASV; the red solid line represents the navigation path of the ASV; and the light blue solid line represents the navigation path of the obstacle ship.(2)The golden yellow dynamic area represents the dynamic bumper domain of the ASV and obstacle ship, the dynamic green area represents the standard ellipse domain, and the blue-filled circle represents the static obstacle.(3)The yellow ship represents the ASV, and the blue ship represents the obstacle ship.

4.2. Simulation 1: Standard Elliptic Domain and Dynamic Bumper Domain

In this simulation, we use the standard elliptic domain and the dynamic bumper domain to model the safety zone of the obstacle ship, respectively. Without considering the constraints of the rules and the safe distance for avoidance, the ASV only completes the collision avoidance of obstacle ships through the limitations of (28). Collision avoidance using standard elliptical domains is shown in Figure 9. Figure 10 shows collision avoidance using the dynamic bumper domain. Due to the constraint of (28), when the ASV avoids the obstacle ship, it will prevent the intersection of its safety zone and the safety zone of the obstacle ship. However, it can be seen from Figure 9 that the safety zone of the ASV and the safety zone of the obstacle ship have an intersection, which is caused by the difficulty of the algorithm to calculate the precise distance between the two safety zones in (28). Therefore, we will solve this problem by adding the constraints of the rules and the safe distance of avoidance in simulations 2–5. It can be seen from Figure 10 : (1) that compared with the standard elliptic domain, the dynamic bumper domain makes the ASV consider a smaller avoidance distance when avoiding the second half of the obstacle ship safety zone, which is more in line with the movement of the ship characteristic. (2) Compared with only using the dynamic bumper safety zone for the obstacle ship, the dynamic bumper safety zone is also used for the ASV. The ASV has a sufficient avoidance distance when avoiding the obstacle, which further ensures the safety of the ASV when avoiding. Therefore, in simulations 2–5, we use the dynamic bumper safety zone for the ASV and obstacle ship. Figure 11 shows the speed change of the ASV when avoiding collision with the obstacle ship using the dynamic bumper domain. It can be seen from Figure 11 that the ASV adopts the evasive maneuver of shifting and steering, and because the distance between the ASV and the obstacle ship is too close for the algorithm to calculate a suitable path through (28) during this period, the ASV has a speed oscillation between 10 and 15 s.

4.3. Simulation 2: Head-On

In this simulation, we take the relative distance between the ASV and the obstacle ship in the sway direction as the evaluation object of in equation (18) so that even if the relative position between the ASV and the obstacle ship rapidly changes, it can be ensured that the ASV has enough reaction time to effectively avoid the obstacle ship. Figure 12 shows the simulation of the head-on encounter. As shown in Figure 12(a), in the beginning, the obstacle ship directly approached at a constant speed in front of the ASV, and the ASV usually traveled along the given path. As shown in Figure 12(b), when encountering an obstacle ship, the ASV conducted the manipulation of steering to the right and appropriately decelerating to pass the port side of the obstacle ship. The avoidance manipulation met the requirements of Rule 10 of “RPRCIRCA.” As shown in Figures 12(c) and 12(d), after passing the handicap with the obstacle ship, the ASV manipulated steering to the left and resumed the given path to continue to navigate. Figure 13 displays the changes in the surge speed and the yaw rate of the ASV in the head-on encounter.

4.4. Simulation 3: Overtaking

In this simulation, we assume that the ASV is the overtaking ship and the obstacle ship is overtaken. The Euclidean distance between the ASV and the obstacle ship is selected to evaluate the in equation (19). Figure 14 shows the simulation of the ASV overtaking the obstacle ship. As shown in Figure 14(a), in the beginning, the ASV navigated behind the obstacle ship at the surge speed faster than the obstacle ship along the given path. As shown in Figure 14(b), when starting to overtake the obstacle ship, the ASV first conducted manipulation of appropriately decelerating and steering to the left, and then gradually accelerated to complete the overtaking from the port side of the obstacle ship. The avoidance manipulation met the requirements of Rule 12 of the “RSRSJSYR.” As shown in Figures 14(c) and 14(d), after passing the obstacle ship, the ASV performed manipulation of steering to the right and accelerating to resume to the given path and continuing to navigate. It can be seen from Figure 14 that, during the overtaking process, the size of the ASV safety zone changed with the ship’s velocity, which meets the requirements of algorithm design. Figure 15 shows the change in the surge speed and yaw rate of the ASV during the overtaking process.

4.5. Simulation 4: Crossing

In this simulation, we assume that the ASV is a crossing ship, and the obstacle ship is normally navigating on the navigation lane. The Euclidean distance between the ASV and the obstacle ship is selected as the evaluation of in (20). Figure 16 shows the simulation of the ASV crossing the obstacle ship. As shown in Figure 16(a), in the beginning, the obstacle ship approached at a constant surge speed on the left and front of the ASV. As shown in Figure 16(b), when starting to cross the obstacle ship, the ASV first conducted the manipulation of steering to the left and appropriately decelerating, and then gradually accelerated and passed from the stern direction of the obstacle ship. As shown in Figures 16(c) and 16(d), after passing the obstacle ship, the ASV performed manipulation of steering to the right and accelerating to resume to the given path and continuing to navigate. It can be seen from Figure 16 that the avoidance manipulation during the entire crossing process met the requirements of Rule 20 and Rule 28 of “RSRSJSYR.” Furthermore, no matter where the ASV crossed from the obstacle ship, the collision avoidance algorithm can plan a path that meets the requirements of the rules. Figure 17 displays the change in the surge speed and yaw rate of the ASV during the crossing process.

4.6. Simulation 5: Collision Avoidance of Static and Dynamic Obstacles

In order to fully verify the effectiveness of the proposed algorithm, in this simulation we let ASV avoid collisions for three different encounter situations at the same time. In addition, ASVs need to avoid static obstacles such as river-crossing bridges and buoys when navigating in congested inland waters. In the simulation, such static obstacles were simplified into circular areas with a fixed size, the radius of which varied with the size of the obstacles. Figure 18 shows the simulation of the ASV avoiding collisions with static and dynamic obstacles. As shown in Figure 18(a), in the beginning, the ASV follows the reference path from left to right, and the three obstacle ships decelerate along the fixed course, respectively. As shown in Figures 18(b) and 18(c), when the encounter situation with the first obstacle ship (blue) was formed, the ASV first took the evasive maneuver of turning to the right and decelerating. After the first obstacle ship passed the yield, the ASV turned to the left and resumed navigating on the reference path. The entire avoidance process complied with the requirements of Rule 10 of the “RPCIRCA.” As shown in Figures 18(d) and 18(e), when the overtaking encounter situation with the second dynamic obstacle ship (purple) was formed, the ASV took a left turn and accelerated maneuver, and overtaking from the left side of the obstacle ship. After overtaking, when passing the obstacle ship, the ASV took a right-hand turn to return to the reference path and continue to navigate. The entire overtaking process complied with the requirements of Rule 12 of the “RSRSJSYR.” As shown in Figures 18(f) and 18(g), when the crossing situation was formed with the third obstacle ship (green), the ASV took a right turn and slowed down and passed the stern of the obstacle ship. After giving way, the ASV took the maneuver of turning left and accelerating to resume navigating on the reference path. The entire evasion process complied with the requirements of Rule 20 and Rule 28 of the “RSRSJSYR.” As shown in Figures 18(h)–18(j), when the ASV normally follows the reference path, there is a static obstacle in front of the ASV, and the ASV immediately turns to the right and decelerates to avoid the static obstacle. After passing the static obstacle, the ASV took a left turn and resumed navigating on the reference path. Figure 19 shows the change in the surge speed and yaw rate of the ASV during the collision avoidance process.

4.7. Simulation Summary

The proposed algorithm solved all conditions of the encounter while complying with Rules 9–11 of RPRCIRCA and Rules 10, 12, 20, and 28 of RSRSJSYR. From the process of the ASV avoiding obstacles in simulations 2–5, it can be seen that the ASV has sufficient collision avoidance space to avoid obstacles, and there will be no intersection of the safety zone, as shown in Figure 9.

It can be seen from the speed curve of the ASV in simulations 2–5 that there are some deviations in the speed of the ASV when avoiding collision. Still, the proposed algorithm can effectively compensate for the influence of the current. After adding the avoidance safety distance, the ASV has enough reaction time to avoid the obstacle ship, and the speed of the ASV will not oscillate, as shown in Figure 11 during the collision avoidance process.

The average computation times of the proposed algorithm are 0.0181s in simulation 2, 0.0172s in simulation 3, 0.0192s in simulation 4, and 0.0235s in simulation 5. It can be seen that in all interactive scenarios, the average calculation time of the algorithm is less than 0.025s, which meets the real-time requirements.

5. Conclusions

In this study, an improved collision avoidance algorithm based on model predictive control is proposed to solve the autonomous collision avoidance of ASVs in congested inland waters. The proposed algorithm can comprehensively consider the influence of constraints such as actuators and waterway’s boundary and can compensate for current disturbances in real time, which has good robustness. The algorithm adopts the dynamic bumper domain to model the safety zone of the ASV and the obstacle ship. It adopts the maneuvering strategy of reducing the speed and slightly changing the yaw in collision avoidance, which meets the requirements of ASVs in congested inland waters. In the simulation scenarios of head-on, overtaking, crossing, and avoiding collisions against static and dynamic obstacles simultaneously, the proposed algorithm can avoid all collisions, while complying with the rules of RPRCIRCA and RSRSJSYR. In the future, we will realize the hybrid collision avoidance of ASVs by combining the proposed algorithm with the algorithm of global path planning and comprehensively verifying the algorithm’s performance through actual ship experiments.

Data Availability

All data, together with relevant analysis scripts and files, are available from the corresponding author upon request.

Conflicts of Interest

The author declares that there are no conflicts of interest regarding the publication of this paper.

Acknowledgments

This research was funded by the Natural Science Foundation of China (grant no. 51809128) and the Zhenjiang Key R&D Program-Industry Foresight and Common Key Technology Preliminary Guidance Project (grant no. GY2018026).