1. Introduction
Over the past few decades, the development of Maritime Autonomous Surface Ship (MASS) has been very rapid. MASS can carry out tasks including cargo transportation, search and rescue, coastal patrol, and security incessantly with less human intervention. Compared with common ships, MASS reduces the interference of human factors in terms of ship control, ship command execution, and human–computer interaction. MASS is gradually moving from the laboratory to real navigation environments.
The International Maritime Organization (IMO) held a Legislative Framework Development Workshop for MASS on 5–6 September 2022 [
1], which covered a wide range of topics regarding MASS including MASS safe operation requirements, MASS technology status reports and deployment, future prospects for MASS research and development, and legal issues and obstacles to overcome to ensure that MASS operations comply with international legislation, including the United Nations Convention on the Law of the Sea (UNCLOS). Given that MASS may operate in a mixed-traffic environment that is highly dependent on the interaction among systems, it is necessary to ensure that MASS and common ships can operate safely together. Therefore, the study is very important to combine a swarm of MASS with common ships in a constrained environment.
In 2021, the European Maritime Safety Agency (EMSA) released its Annual Overview of Marine Casualties and Incidents 2021, in which a total of 15,481 marine casualties were reported from 2014 to 2020 [
2]. The number of marine casualties reported each year has increased from 2014 to 2019, with the number of marine casualties falling by 10.1% in 2020. The main cause of the casualties was loss of control of the ship (32.3%), followed by collision and contact casualties (30.2%); the data are shown in
Figure 1. About 53.5% of the casualties investigated were caused by personnel misconduct. The nonconformities encountered in the use of technology by humans were counted [
3]. Therefore, human error will be permanent in maritime transport. The intelligent navigation research of MASS can effectively deal with the impact on navigation safety caused by human factors or errors. MASS can replace some common or high-risk manual operations.
Recently, the research on the swarm of MASS has become a hot spot in the field of ship navigation, and the development trend of ships is gradually moving toward the direction of unmanned/fewer people on ships, intelligence, and swarming [
4]. Compared with a single vessel, the swarm of MASS has a wider range of application scenarios and business value. Multiple tasks can be completed at the same time in a complex environment by the swarm of MASS, which can economize a lot of human resources and avoid collisions on the sea, and MASS also can work continuously without considering the risks caused by human factors [
5]. However, compared with a single vessel, a swarm of MASSs is faced with a more complex navigation environment when executing tasks [
6]. A swarm of MASS needs to consider the position of other ships and maintain path following and collision avoidance during the autonomous navigation period.
Some scholars have carried out extensive studies on Unmanned Surface Vehicle (USV)/MASS path planning, single-ship collision avoidance, multiship collision avoidance, and many related optimization algorithms are being applied to MASS. In path planning, the A* algorithm can help the object to find a complete path, and the traditional A* algorithm is improved to achieve path planning in multiple constraints [
7]. The Particle Swarm Optimization (PSO) algorithm realizes optimal path finding [
8]. The improved Ant Colony Optimization (ACO) algorithm speeds up the node search speed [
9]. The Fast Marching Method (FMM) can improve computational efficiency [
10]. The improved genetic algorithm can avoid local optimization and realize parallel task allocation and path planning [
11].The path planning algorithm mentioned above usually takes a single agent as the experimental object, and the simulation environment is far different from the real navigation environment. It cannot meet the path planning requirements for swarm of MASS, so maintaining the stability of the swarm structure is particularly important.
Another problem for the swarm of MASS is path following and collision avoidance [
12]. The dynamic window method is used to avoid collisions in a dynamically unpredictable environment [
13]. A fuzzy dynamic collision risk model for collision risk, navigation economy, and collision-avoidance time is considered [
14]. The Real-time Collision-avoidance Algorithm is based on the Field Theory [
15]. The Artificial Potential Field (APF) method is an effective method to satisfy the demands of collision avoidance and path following. The APF method adjusts the potential energy gradient descent of the MASS in the process of path following by establishing the environmental potential field and maintaining the preset route of the MASS. Meanwhile, this method also can attain a reasonable circumambulation according to the influential range of the obstacle as an attempt to achieve the effect of collision avoidance. Therefore, the APF method was used to solve the problem of ship autonomous navigation.
Recently, many studies combined the APF method with other path optimization algorithms to solve the problem of autonomous navigation in a complex environment. A two-layer dynamic obstacle avoidance algorithm was proposed by combining the Velocity Obstacle (VO) method with the APF method [
16]. A collision-avoidance path-planning method based on a hybrid APF method was proposed [
17]. In a complex unknown environment, the APF method is used for the swarm of MASS collision avoidance [
18].
In the process of sailing, the swarm of MASS needs to avoid external obstacles (land, islands, and target ships) and internal collision risks (swarm members). After selecting an appropriate strategy, the swarm can adjust the conditions of the member ships, which can transform into a regular formation. The formation is a stable condition in which multiple MASSs coexist. Distributed formation control for the trajectory of Underactuated Underwater Vehicles (UUVs) has achieved high effectiveness [
19]. Kuppan integrated the distributed formation framework and dynamic role-switching mechanism [
20]. Sun proposed an autonomous navigation system for USVs with the distributed control strategy [
21]. The Distributed Leader–Follower strategy is used for fully actuated USVs to achieve a formation path following with constraints [
22]. Trajectory tracking is achieved by applying deep reinforcement learning to the brake speed constraints with the formation of USVs [
23]. However, in the changeable environment and engineering application, it is difficult for F-MASSs to complete the optimal path following under the interference of multiple uncertain factors. Therefore, the feasible goal is to find a navigable path-following scheme for F-MASSs.
It is a challenge for MASSs to coexist with common ships in a high interaction in channel systems. Tonoğlu et al. provided the estimation of potential risks in the Turkish Straits through a Fuzzy AHP-PRAT method [
24]. Christensen et al. discussed the future potential of the northern sea route as a viable and less risky alternative way for shipping trade [
25]. Xiao and Ma studied collision-avoidance measures and behaviors of autonomous ships in the channels based on AIS data, which was helpful to develop navigation traffic simulation scenarios to reflect ship behaviors in reality [
26]. Wang studied the navigability of the restricted channel, reflecting the change of traffic efficiency caused by the behavior of ships in the restricted channel [
27]. However, a F-MASS encounters other common ships in the channel, and the operation of MASSs and common ships is still controversial. Therefore, the study of MASS decision making in the restricted channel is helpful to solve the current problem.
The MASS can move clearly according to preset paths and commands, while the common ship (manned ship) cannot obtain the subsequent maneuvering information. Under the ‘unmanned–manned’ encounter situation, the avoidance decision made between the two ships has become a hot issue in current research. Previous scholars classified MASSs and manned ships as the same engine ship in the International Regulation for Preventing Collision at Sea (COLREGs) rules and considered that the MASS has the same avoidance priority as a manned ship when it encounters a common ship [
28,
29]. Under COLREGs rules, even if the MASS is the stand-on vessel, it will not act to the give-way vessel, and the stand-on vessel still needs to make emergency avoidance action for the give-way vessel [
30]. Given the complex situation of multiship encounters at sea, a fuzzy inference system has been established to infer the sailing intention of other ships to assist in MASS collision avoidance [
31]. The method of dynamic navigation ship domain was adopted to find navigable paths from both sides of the stand-on vessel [
32]. Therefore, it is meaningful to deal with the ‘unmanned–manned’ encounter situation based on previous experience.
Previous work included extracting various modes of ship encounters using AIS data, constructing a division map of ship confluence azimuth to assist ships in path planning and intelligent collision avoidance [
33], and studying the avoidance decision making of F-MASSs when encountering common ships. The relevant topographic coordinates of Tianjin Port were extracted from the S-57 Electronic Navigation Chart (ENC). The trajectory of the common ship was retrieved from AIS data.
Inspired by the abovementioned literature, this article aims at resolving the collision-avoidance and path-following problems of F-MASSs by employing the improved APF method in the constrained environment. Some highlights can be the following: (1) Based on the Leader–Follower strategy, a variable formation strategy is introduced to meet the constraint condition of formation. (2) To satisfy the multiple constraints of F-MASSs, a novel formation condition set was designed for the F-MASSs, and the different priority conditions were listed. (3) The traditional APF method was improved for the path-following process of F-MASSs. Finally, the simulation results validate the effectiveness of our improved APF method in ‘unmanned–manned’ encounter situations and constrained environments.
The organizational division of the paper is as follows: The first section is the introduction. The second section is about problem description, including the assumptions and the formation strategy. The third section is the methodology, including definition of Formation Ship State Parameter and the improved APF method. The fourth section introduces the environment model and the verification simulation experiment. Finally, this paper is summarized. The section structure is shown in
Figure 2, and the full text structure diagram is shown in
Figure 3.
3. Methodology
Path planning refers to finding the path of moving objects from the starting point to the destination to avoid collisions with static and dynamic obstacles in the environment. The final path is the result of reaching an equilibrium with multiple constraints. The path that can pass from the starting point to the destination without intersecting any obstacles is called a collision-free path.
3.1. Definition of Formation Ship State Parameter
The purpose of MASS path planning is to find a safe trajectory between the initial position of the MASS and the destination in a specific navigation environment and realize the path following under a set of multiple constraints. Many people have conducted extensive research on path planning. However, when the F-MASSs are constrained in a constrained environment, it is very challenging for the F-MASSs to sail in the constrained environment compared with the open water. Although the possible interference effects of land and wrecks and other obstacles are avoided as much as possible through the set formation path in the channel in advance, it also puts the F-MASSs in the situation of sailing together with common ships in the same narrow water area. The path, under the constraints of the channel and the influence of target ships (common ships), is followed by the F-MASSs. Therefore, the Formation Ship State Parameters (FSSPs) of the F-MASSs are defined in advance, and the tasks being executed by each MASS are known by the FSSP values marked on every MASS. The decisions suitable for the current environmental conditions are generated for each ship according to the FSSP.
During navigation, a member in the formation is separated from the main formation due to a static obstacle, target ship’s influence, formation pattern change, restricted channel area, or other factors. At this time, because each MASS has different FSSPs, each ship needs to be handled differently for different cases. Considering the good maneuverability and fast response of the MASS, the following formula (Equations (1)−(6)) of the MASS divides the states the MASS encounters into different situations during navigation.
represents the total potential energy of each MASS; represents the goal point of the potential energy; represents the waypoint l potential value; is the set of waypoints; represents the obstacle’s potential energy; represents the obstacle’s potential value; is the set of obstacles; represents the other MASS influence of the potential energy of the formation; represents the MASS number of i generated of the potential value; is the set of formation; represents the target ship’s (common ship) influence of the potential energy; represents the target ship’s potential value; is the set of target ships; represents the channel’s potential energy; represents the channel number n of the potential value; is the set of channel area.
We summarized waypoints, obstacles, target ships, formation ships, and channel potential energy values in order to make the MASS conform to the FSSP in action and set the priority of different types of FSSPs.
Table 2 gives the detailed information and priority of each FSSP, and the more explicit FSSP is given by
Figure 6. The condition of the MASS being underway is throughout the entire navigation process, but it is also the lowest priority. As long as
, the MASS will continue to sail. The higher priority level means that when the above constraints restrict the MASS, the MASS will give priority to take actions that meet the higher priority constraints. The constraint of
means that as long as the current position of the MASS is in the area of the channel, the constraint will not take effect, otherwise the MASS is attracted to the channel. By setting the priority for different constraints, the F-MASSs can prioritize the constraints that have a high-priority impact and then resolve the other lower-priority constraints separately. When
, all the known constraints have no effect, and the MASS navigation process is accomplished.
3.2. Path following by Improved APF
APF is a widely used method in the field of agent path following. Through the construction of potential function, the agent is affected by the potential field around the obstacles in the navigation process, and the agent moves away from obstacles and continues to be near the goal position under the influence of the potential field. The traditional APF method is suitable for the path following of a single ship, but F-MASS contains many ships. The formation is treated as the smallest unit, the traditional APF method could not satisfy the constraints, such as the influence of waypoint to F-MASS, target ship and static obstacles to F-MASSs, channel area to F-MASSs, and internal ship interaction to F-MASS.
In order to ensure that F-MASS is consistent with the preset path as much as possible in the path-following process, an improved APF model was proposed. This model is applicable to the path following of F-MASS under multiple constraints, and it makes the Leader–Follower strategy suitable for the path-following process.
The MASS motion model is the kinematic model, described by the following Equation (7):
where
j represents the time of iterations; it is contained in total time
;
represents the serial number of MASS;
represents the counting period of adjacent iteration; and
represents the F-MASSs.
In each iteration period, the positions and directions of each MASS are changed. With the potential field formed by the superposition of waypoints and obstacles, the tasks of switching waypoints, avoiding static and dynamic obstacles, staying in the channel area, and maintaining the formation shape are required for F-MASS in path following. Therefore, the APF method applicable to multiple ships was improved as follows (Equations (8)−(13)):
and represent the positive calibration constant of the corresponding potential function.
Equation (8) represents the potential field function of the MASS inside the formation, and
represents the ship domain of the MASS. As long as
, the condition between MASS-
p and MASS-
q is relatively safe. If the distance norm is 0, the potential field value becomes infinite.
Figure 7 represents the calculation of repulsion between MASS-
p and MASS-
q.
In Equation (9),
represents the leader and is not affected by other MASSs in the formation.
represents the destination of the path segment and belongs to
, as shown in
Figure 8 The waypoint has the gravitational potential field for MASS and will be switched to the next waypoint when the MASS arrives nearby.
represents the gravitational potential energy of the leader subjected to the waypoint.
As
Figure 9 shows, a formation is formed with a leader and two followers. The corresponding waypoints (red points) in the path are set to each ship. The blue points represent the virtual following positions set by the leader to each follower. In the process of navigation, the follower is affected by the gravitational potential field generated by the virtual following position, and the virtual following position is updated by the position of the leader.
Equation (11) considers the influence of dynamic obstacles (target ships) repulsion potential field on the formation; refers to the potential energy of the MASS entering the influence range of dynamic obstacles, which contains dynamic obstacles within the distance range ; represents the maximum impact distance of dynamic obstacles.
In Equation (12),
represents the repulsion potential field of MASS affected by static obstacles
. As shown in
Figure 10, according to the distance between the obstacle and the MASS, the influence can be divided into three stages, that is, the negotiation area
, the collision risk area
, and the emergency risk area
. The hierarchical collision-avoidance function can lead to different collision-avoidance actions and improve the priority of obstacle avoidance according to the risk level of the MASS and the obstacles.
In Equation (13),
represents the potential value of MASS in the corresponding channel, and it is necessary to determine whether the position of MASS is within the current channel segment. As shown in
Figure 11, if the MASS position is not in the channel segment, the virtual MASS ship position is generated by the channel constraint and the MASS position, and the MASS is affected by the channel’s potential field. The virtual MASS position is determined according to the proportion of the MASS’s distance in the current channel path. The MASS is given gravitational potential energy to push it back into the channel.
Based on the formulas, a multiple-constraint APF model for F-MASSs was established, which can assist F-MASSs to complete path following.
When the F-MASS is in a restricted area, the leader of the formation is the master. Each follower’s waypoint is set by the leader. The follower is attracted by a virtual following position, which is generated by the leader with the FSSP status of underway, forming a fixed Leader–Follower structure. At this time, the formation is divided into leader and followers. According to the switch of the ship’s FSSP, some MASSs need to deal with different tasks, and the formation is a variable Leader–Follower structure.
Figure 12 shows the information framework of the formation. The F-MASS’s preset path is set by the environmental map model. The leader can sense the information of static obstacles, target ships, and boundary information of the channel and share it with other followers in the formation. If there is a ship FSSP change in the formation, its identity is transformed into an independent ship. The ‘unmanned–manned’ rules or channel area information accordingly are considered by the independent ship, and after its FSSP status changes to underway, it can return to the original formation. The information of static obstacles, target ships, and channel areas and formation ship positions is shared by the general leader and the independent ship.
4. Results
In order to verify whether the F-MASS can be used in multiple constrained environments, the path-following test under the formation conditions was verified by the improved APF method. According to the two types of Leader–Follower strategies, the formation transformation was realized in the simulation process, and a series of simulations were performed on the MASS under the assumed conditions.
In this study, AIS data near Tianjin Port in 2018 were used.
Figure 13. shows the AIS big data trajectory of the ship near in Tianjin Port. In order to achieve the smooth display of the AIS data in the experiment, the AIS data with different recording intervals were interpolated.
Table 3 shows the Maritime Mobile Service Identity (MMSI), navigation time, and start and end positions of the nine target ships.
Before the simulation test, the potential environmental field model, including obstacles, target ships, channel areas, and F-MASSs, was first established. The establishment of the environmental model included the extraction and description of characteristic environmental information. Electronic navigation charts store relevant elements in data files in geometric forms, such as points, lines, and planes, and can display and select and relevant navigational and environmental information required by adjusting the number of layers. It is the basis of the navigation environment model to read the S-57 data packet information of the test area and screen out relevant land and channel information. Due to the uneven distribution of land and the complex structure of obstacles in the selected environment, it took a lot of calculating to refine the corresponding terrain coordinates, so the boundary points of the obstacles were selected as the feature coordinates for extraction, and the boundary points with large spacing were interpolated. As shown in
Figure 14, (a) is the original information of the S-57 Electronic Navigation Chart of Tianjin Port. (b) is the environmental model after extracting the coordinates of AIS data, land, and channel areas in the set area. (c) is the value of the gravitational potential field at the goal. (d) is the under the obstacle influence of the superposition potential field.
The main channel of Tianjin Port was selected as the preset path of the F-MASSs, and waypoints were set for the F-MASSs at the beginning and end of each channel to ensure that the formation was always sailing in the channel area. During the sailing process of F-MASSs, each ship decided the action in the next iteration according to its own FSSP. As shown in
Figure 15, the simulation process of the F-MASSs was recorded by time series. The entire simulation process was 5247 s long, and (b)–(f) represent an interval of 650 s. The yellow line is the trajectory of the target ships; the pink dashed line is the channel area, and the black is the obstacle. (a) shows the whole navigation process of the F-MASSs, and (b) shows that the F-MASSs entered the first section of the channel, and some target ships also began to move along the set path. In the process from (c) to (d), the F-MASSs entered the new channel segment. In the process of (e)–(f), the F-MASSs encountered TS-1 and conducted collision avoidance according to the ‘unmanned-manned’ encounter regulations. Some MASSs temporarily exceeded the channel due to collision avoidance. After the risk of collision avoidance with TS-1 was eliminated, the ship returned to the channel in time according to the constraints of the channel on the MASS. (h) shows that the F-MASSs was not restricted by the channel for the time being, which was decided according to the actual situation of the channel setting in Tianjin Port. In (i), the F-MASSs encountered the crossing channel. According to the goal set, the F-MASSs divided into two subformations, and each formation maintained the formation pattern of the subformation to reach the set goal point.
Figure 16 shows the process of the F-MASSs encountering one target ship, and the F-MASSs eliminated the risk of collision according to multiple constraints. (a) shows that the F-MASSs was about to form an ‘unmanned–manned’ cross encounter situation with TS-1, and when the MASS entered the ship domain of TS-1, the collision risk of the unmanned–manned ships was calculated. (b) shows that according to the risk assessment, the FSSP of the F-MASSs was changed to ‘Encounter single manned ship’. The speed and heading of the F-MASSs were changed by the influence of TS-1. (c) shows that three MASSs trajectory were out of the channel due to collision avoidance with TS-1. Their condition was transformed into ‘Out of channel’, and these MASSs returned to the channel in time. (d) When the collision-avoidance action of the TS-1 was completed, the F-MASSs restored the formation pattern. (d) and (e) are the speed and heading changes of each ship in the formation during the collision-avoidance process.
Figure 17 shows the process of the F-MASSs when encountering two target ships. (a) shows that the F-MASSs was about to form ‘unmanned–manned’ encounter situations with TS-3 and TS-5, and when the F-MASSs met two manned ships, the MASSs would give way to the ship with the shorter distance to them. (b) TS-3 ship had a higher priority to be given way than TS-5, and the MASSs took collision-avoidance action to TS-3 firstly, and the FSSP of the F-MASSs was changed to ‘Encounter two or more manned ships. The speed and heading of F-MASSs were changed by the influence of TS-3. (c) shows that when there was no collision risk between the F-MASSs and TS-3, the collision-avoidance action to TS-3 was completed and then to TS-5. (d) With collision-avoidance action of the two manned ships completed, the F-MASSs restored the formation pattern. (d) and (e) are the speed and heading changes of each ship in the formation during collision-avoidance process.