A collaborative operation method of unmanned ship formation based on environmental perception
By adopting an unmanned ship formation collaborative operation method based on environmental awareness in aquaculture, multiple unmanned ships are used to collaboratively build maps and dynamically adjust feeding paths, which solves the problem of low efficiency and insufficient accuracy of unmanned ships in aquaculture. problem, achieving efficient and environmentally friendly bait placement.
Patent Information
- Application Number
- CN202411055461.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-02
- Publication Date
- 2024-10-22
- Estimated Expiration
- 2044-08-02
AI Technical Summary
Among the existing aquaculture technologies, unmanned ships have low efficiency and insufficient accuracy in monitoring and feeding bait, which results in the feeding of bait being too scattered and unable to be fully consumed by fish, causing local water pollution.
Using an unmanned ship formation collaborative operation method based on environmental awareness, multiple unmanned ships collaborate to build a breeding water map, set up a pilot ship and a follower ship, use GPS, sensors and sonar modules to obtain environmental information in real time, and calculate the location and location of fish schools. Density, dynamically adjust the formation structure and feeding path to achieve precise feeding.
It improves the efficiency and accuracy of unmanned ships in aquaculture, reduces the waste of bait, avoids water pollution, and achieves more efficient and environmentally friendly bait placement.
Smart Images

Figure CN118567366B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of aquaculture, and in particular to a method for collaborative operation of an unmanned ship formation based on environmental perception. Background Art
[0002] In existing aquaculture technologies, unmanned boats play a key role in monitoring and feeding, but they still face some challenges in practical applications. The main problem is that it takes a long time for unmanned boats to traverse large-scale aquaculture waters, resulting in large differences in feeding time in different areas, which in turn affects the aquaculture effect. In addition, a single unmanned boat has low efficiency in environmental monitoring and cannot determine the best feeding strategy. Therefore, it is usually adopted to traverse the aquaculture waters and feed on a large scale. The defect of this method is that the bait is too scattered and cannot be completely consumed by fish, causing local water pollution. These limitations show that although unmanned boats have potential in the field of aquaculture technology, technological innovation is still needed to achieve more efficient, accurate and environmentally friendly aquaculture management. In summary, in the existing technology, unmanned boats have problems such as low efficiency, lack of accuracy and water pollution in monitoring and feeding in aquaculture areas. There is an urgent need for a method of feeding that can achieve efficient, accurate and environmentally friendly. Summary of the invention
[0003] Purpose of the invention: The purpose of the present invention is to provide a method for collaborative operation of unmanned ship formations based on environmental perception to solve the problems existing in existing aquaculture technologies for unmanned ships, especially the long time required for unmanned ships to traverse large-scale aquaculture waters and the inability to determine the optimal feeding strategy.
[0004] Technical solution: The method for cooperative operation of an unmanned ship formation based on environmental perception described in the present invention comprises the following steps:
[0005] (1) Multiple unmanned boats collaborate to build aquaculture waters maps;
[0006] (2) According to the established aquaculture waters map, the initial positions of the formations of each unmanned ship and the topological structure of the formation are set, and the unmanned ships sail from the shore base to the initial positions of the formation; the unmanned ships include: a pilot ship and a follower ship;
[0007] (3) Set up a pilot ship and plan the pilot trajectory. Use GPS and sensors to obtain its own position, heading angle, and speed information in real time and send it to other follower ships through a wireless data transmission module. The pilot ship is responsible for navigating the entire formation and does not perform feeding tasks.
[0008] (4) The following ship calculates the desired position and the desired heading angle; then it calculates the position error between the actual position of the following ship and the desired position, and the angle error between the actual heading and the desired heading; the following ship adjusts the output of its thrusters and rudders through a PID controller;
[0009] (5) The sonar module of the unmanned boat detects the location of the fish school by emitting sound waves and receiving the reflected sound wave echoes. The sound wave signal is first amplified, then converted into digital form for filtering and noise removal, and the intensity, frequency and time delay of the echo signal are extracted. Finally, the precise location and density of the fish school are calculated. If the fish school density reaches the preset threshold and the location is not within the other feeding circles, the coordinates of the location are set as the feeding target point. The target point is used as the center of the circle with a radius of The circular area is set as the feeding circle; no other feeding target points are set in the set feeding circle;
[0010] (6) Calculate the Euclidean distance between each follower ship and the set feeding target point and sort them from small to large; then, according to the preset K value, select the K follower ships with the closest distance as the task ships to perform the feeding task;
[0011] (7) The task ship performing the feeding task leaves the formation, plans a new path according to the feeding target point, and uses the improved artificial potential field method, namely the dynamic virtual obstacle potential field method, to enable the unmanned ship to autonomously navigate and avoid obstacles, and finally sails to the feeding target point to perform the feeding task;
[0012] (8) After the task ship sails past the feeding target point and completes the feeding task, it follows the pilot ship back to the formation position; if the pilot ship reaches the end of the pilot track and all the task ships reach the formation position, the unmanned ship returns to the shore base and the task is completed; otherwise, it returns to step (4).
[0013] Furthermore, step (1) includes the following steps:
[0014] (11) deploying multiple unmanned vessels to their initial locations on the shore and initializing their sensor systems, including lidar and sonar;
[0015] (12) Divide the aquaculture waters into several areas and allocate the areas according to the number of unmanned boats and exploration efficiency; each unmanned boat formulates an exploration path according to the allocated area and scans the environment;
[0016] (13) Lidar scans obstacles and water boundaries above the water surface and collects distance and angle information; sonar detects underwater terrain and obstacles and records echo intensity and delay time;
[0017] (14) The collected radar data is transmitted to the shore-based central processing unit in real time. At the same time, the unmanned ships share the real-time location and exploration progress information of GPS positioning through the wireless communication network;
[0018] (15) The shore-based central processing unit uses the Kalman filter method to perform data fusion, integrate radar data from different unmanned ships, and filter and denoise the integrated data;
[0019] (16) Based on the fused data, a complete environmental map including water boundaries, obstacle locations, and underwater terrain is constructed; a two-dimensional grid map is used to convert radar data into a visual environmental map.
[0020] Furthermore, in step (3), the pilot ship and the follower ship are relative to the map coordinate system at time t The position and heading angle are:
[0021] ;
[0022] in, It means pilot boat; It means following the ship; Represents the coordinate system of the i-th unmanned ship relative to the map at time t The position and heading angle vector of , , They represent the i-th unmanned ship at time t. Axis coordinates, Axis coordinates and heading angle;
[0023] The speeds of the lead ship and the following ship at time t are:
[0024] ;
[0025] in, It means pilot boat; It means following the ship; represents the velocity vector of the i-th unmanned ship at time t; , , They represent the longitudinal sway linear velocity, transverse sway linear velocity and bow angular velocity of the i-th unmanned ship at time t respectively;
[0026] The kinematic model of the lead ship and the follower ship at time t is as follows:
[0027] ;
[0028] in, It means pilot boat; It means following the ship; represents the kinematic model of the i-th unmanned ship at time t; , , They represent the coordinate system of the i-th unmanned ship relative to the map at time t. of Axis speed, Axis speed and angular velocity; , , They represent the longitudinal sway linear velocity, transverse sway linear velocity and bow angular velocity of the i-th unmanned ship at time t; the relative map coordinate system of the pilot ship and the following ship at time t The position and heading angle are:
[0029] ;
[0030] in, It means pilot boat; It means following the ship; Represents the coordinate system of the i-th unmanned ship relative to the map at time t The position and heading angle vector of , , They represent the i-th unmanned ship at time t. Axis coordinates, Axis coordinates and heading angle;
[0031] The speeds of the lead ship and the following ship at time t are:
[0032] ;
[0033] in, It means pilot boat; It means following the ship; represents the velocity vector of the i-th unmanned ship at time t; , , They represent the longitudinal sway linear velocity, transverse sway linear velocity and bow angular velocity of the i-th unmanned ship at time t respectively;
[0034] The kinematic model of the lead ship and the follower ship at time t is as follows:
[0035] ;
[0036] in, It means pilot boat; It means following the ship; represents the kinematic model of the i-th unmanned ship at time t; , , They represent the coordinate system of the i-th unmanned ship relative to the map at time t. of Axis speed, Axis speed and angular velocity; , , They represent the longitudinal sway linear velocity, transverse sway linear velocity and bow angular velocity of the i-th unmanned ship at time t respectively.
[0037] Furthermore, step (4) includes the following steps:
[0038] (41) According to the position and heading angle of the lead ship at time t and the topological structure of the formation, the expected position and heading angle of the follower ship at time t are calculated by geometric relationship, as follows:
[0039] ;
[0040] in, It means following the ship; represents the expected position and heading angle vector of the i-th following ship at time t; , , They represent the i-th following ship at time t. Axis coordinates, Axis coordinates and heading angle; and They represent the relative position of the i-th following ship relative to the lead ship according to the set formation topology structure. Distances and angles in coordinate systems;
[0041] (42) The position and heading angle of the following ship at time t measured by GPS and sensors are: , calculate its angle with the expected position and expected heading The error is as follows:
[0042] ;
[0043] in, It means following the ship; is the position error at time t; is the heading angle error at time t; , , The i-th following ship at time t Expected axis coordinates, Axis expected coordinates and expected heading angle; , , They represent the i-th following ship at time t. Axis coordinates, Axis coordinates and heading angle;
[0044] (43) PID controllers are used to adjust the output power of the thruster and rudder respectively; the position error is calculated as the speed adjustment through the position PID controller, and the heading error is calculated as the heading adjustment through the heading PID controller; an output upper limit constraint is introduced to limit the speed adjustment and heading adjustment; during the formation process, the following ship avoids obstacles in the surrounding environment through an obstacle avoidance algorithm and dynamically adjusts the local path to avoid collision; the thruster output adjusts the ship's speed according to the speed adjustment, and the rudder output adjusts the ship's heading according to the heading adjustment, so that the following ship gradually approaches the desired position and adjusts to the desired heading.
[0045] Furthermore, in step (5), the estimated fish density is compared with a preset threshold; if the fish density reaches or exceeds the threshold, and the current position is not within other feeding circles, the current position is set as the feeding target point, otherwise other areas continue to be monitored; wherein the target point position is confirmed and no longer changes with time, and the feeding target point position coordinates are:
[0046] ;
[0047] in, Indicates the feeding target point relative to the map coordinate system The position vector of , Respectively represent the feeding target points Axis and Axis coordinates; and the target point is the center of the circle, and the radius is The circular area is set as the feeding circle, and no other feeding target points are set in the set feeding circle.
[0048] Furthermore, step (6) includes the following steps:
[0049] (61) Feed the target point As test data, the position vectors of n following ships at time t ;in, As training data, the distance between the test data and the training data is calculated by the Euclidean distance between two points in two-dimensional space; the calculation formula is as follows:
[0050] ;
[0051] in, It means following the ship; represents the Euclidean distance from the position of the i-th following ship at time t to the feeding target point; , They represent the i-th following ship at time t. Axis and Axis coordinates; , Respectively represent the feeding target points Axis and Axis coordinates;
[0052] (62) The measured data Sort from smallest to largest;
[0053] (63) Set the value of K according to Sort from small to large, and select K follower ships with the smallest Euclidean distance values as the task ships to perform the feeding task;
[0054] (64) Feed the target point Set as the target point of K unmanned boats performing the feeding task, that is, the expected position at time t is:
[0055] ;
[0056] in, Indicates a mission ship; Indicates the coordinate system of the i-th mission ship relative to the map at time t The desired position of , They represent the i-th mission ship at time t. Expected axis coordinates, Expected coordinates of the axis; , Respectively represent the feeding target points Axis and Axis coordinates.
[0057] Beneficial effects: Compared with the prior art, the present invention has the following significant advantages: the use of the KNN dynamic formation task allocation method K-DFT based on the pilot-follower formation algorithm enables the unmanned ship to quickly reconfigure the formation structure for task allocation according to task requirements, thereby more effectively responding to the actual needs of the breeding area. By integrating the dynamic virtual obstacle potential field method based on the artificial potential field method into the K-DFT algorithm, the present invention significantly improves the task execution capability and obstacle avoidance performance of the unmanned ship in complex water environments. This enables the unmanned ship to effectively perform feeding tasks while avoiding obstacles. BRIEF DESCRIPTION OF THE DRAWINGS
[0058] Figure 1 It is the principle diagram of the present invention;
[0059] Figure 2 Schematic diagram of the unmanned ship pilot-follower formation model in an embodiment of the present invention;
[0060] Figure 3 It is a schematic diagram of potential field analysis when the potential field force of the unmanned ship in an embodiment of the present invention is not zero;
[0061] Figure 4 It is a schematic diagram of potential field analysis when the potential field of the unmanned ship in an embodiment of the present invention is zero;
[0062] Figure 5 It is a simulation experiment effect diagram in an embodiment of the present invention. DETAILED DESCRIPTION
[0063] The technical solution of the present invention is further described below in conjunction with the accompanying drawings.
[0064] like Figure 1 and Figure 5 As shown, an embodiment of the present invention provides an unmanned ship formation collaborative operation method based on environment perception, comprising the following steps:
[0065] (1) Multiple unmanned boats collaborate to build a map of aquaculture waters, including the following steps:
[0066] (11) deploying multiple unmanned vessels to their initial locations on the shore and initializing their sensor systems, including lidar and sonar;
[0067] (12) Divide the aquaculture waters into several areas and allocate the areas according to the number of unmanned boats and exploration efficiency; each unmanned boat formulates an exploration path according to the allocated area and scans the environment;
[0068] (13) Lidar scans obstacles and water boundaries above the water surface and collects distance and angle information; sonar detects underwater terrain and obstacles and records echo intensity and delay time;
[0069] (14) The collected radar data is transmitted to the shore-based central processing unit in real time. At the same time, the unmanned ships share the real-time location and exploration progress information of GPS positioning through the wireless communication network;
[0070] (15) The shore-based central processing unit uses the Kalman filter method to perform data fusion, integrate radar data from different unmanned ships, and filter and denoise the integrated data;
[0071] (16) Based on the fused data, a complete environmental map including water boundaries, obstacle locations, and underwater terrain is constructed; a two-dimensional grid map is used to convert radar data into a visual environmental map.
[0072] (2) According to the established aquaculture waters map, the initial positions of the formations of each unmanned ship and the topological structure of the formation are set, and the unmanned ships sail from the shore base to the initial positions of the formation; the unmanned ships include: a pilot ship and a follower ship;
[0073] (3) Set up the pilot ship and plan the pilot trajectory. Use GPS and sensors to obtain its own position, heading angle and speed information in real time and send it to other follower ships through a wireless data transmission module. The pilot ship is responsible for navigating the entire formation and does not perform the feeding task. The pilot ship and the follower ship are in the relative map coordinate system at time t. The position and heading angle are:
[0074] ;
[0075] in, It means pilot boat; It means following the ship; Represents the coordinate system of the i-th unmanned ship relative to the map at time t The position and heading angle vector of , , They represent the i-th unmanned ship at time t. Axis coordinates, Axis coordinates and heading angle;
[0076] The speeds of the lead ship and the following ship at time t are:
[0077] ;
[0078] in, It means pilot boat; It means following the ship; represents the velocity vector of the i-th unmanned ship at time t; , , They represent the longitudinal sway linear velocity, transverse sway linear velocity and bow angular velocity of the i-th unmanned ship at time t respectively;
[0079] The kinematic model of the lead ship and the follower ship at time t is as follows:
[0080] ;
[0081] in, It means pilot boat; It means following the ship; represents the kinematic model of the i-th unmanned ship at time t; , , They represent the coordinate system of the i-th unmanned ship relative to the map at time t. of Axis speed, Axis speed and angular velocity; , , They represent the longitudinal sway linear velocity, transverse sway linear velocity and bow angular velocity of the i-th unmanned ship at time t; the relative map coordinate system of the pilot ship and the following ship at time t The position and heading angle are:
[0082] ;
[0083] in, It means pilot boat; It means following the ship; Represents the coordinate system of the i-th unmanned ship relative to the map at time t The position and heading angle vector of , , They represent the i-th unmanned ship at time t. Axis coordinates, Axis coordinates and heading angle;
[0084] The speeds of the lead ship and the following ship at time t are:
[0085] ;
[0086] in, It means pilot boat; It means following the ship; represents the velocity vector of the i-th unmanned ship at time t; , , They represent the longitudinal sway linear velocity, transverse sway linear velocity and bow angular velocity of the i-th unmanned ship at time t respectively;
[0087] The kinematic model of the lead ship and the follower ship at time t is as follows:
[0088] ;
[0089] in, It means pilot boat; It means following the ship; represents the kinematic model of the i-th unmanned ship at time t; , , They represent the coordinate system of the i-th unmanned ship relative to the map at time t. of Axis speed, Axis speed and angular velocity; , , They represent the longitudinal sway linear velocity, transverse sway linear velocity and bow angular velocity of the i-th unmanned ship at time t respectively.
[0090] (4) The following ship calculates the expected position and the expected heading angle; then calculates the position error between the actual position of the following ship and the expected position, and the angle error between the actual heading and the expected heading; the following ship adjusts the output of its thruster and rudder through a PID controller; the following steps include:
[0091] (41) According to the position and heading angle of the lead ship at time t and the topological structure of the formation, the expected position and heading angle of the follower ship at time t are calculated by geometric relationship, as follows:
[0092] ;
[0093] in, It means following the ship; represents the expected position and heading angle vector of the i-th following ship at time t; , , They represent the i-th following ship at time t. Axis coordinates, Axis coordinates and heading angle; and They represent the relative position of the i-th following ship relative to the lead ship according to the set formation topology structure. Distances and angles in coordinate systems;
[0094] (42) The position and heading angle of the following ship at time t measured by GPS and sensors are: , calculate its angle with the expected position and expected heading The error is as follows:
[0095] ;
[0096] in, It means following the ship; is the position error at time t; is the heading angle error at time t; , , The i-th following ship at time t Expected axis coordinates, Axis expected coordinates and expected heading angle; , , They represent the i-th following ship at time t. Axis coordinates, Axis coordinates and heading angle;
[0097] (43) PID controllers are used to adjust the output power of the thruster and rudder respectively; the position error is calculated as the speed adjustment through the position PID controller, and the heading error is calculated as the heading adjustment through the heading PID controller; an output upper limit constraint is introduced to limit the speed adjustment and heading adjustment; during the formation process, the following ship avoids obstacles in the surrounding environment through an obstacle avoidance algorithm and dynamically adjusts the local path to avoid collision; the thruster output adjusts the ship's speed according to the speed adjustment, and the rudder output adjusts the ship's heading according to the heading adjustment, so that the following ship gradually approaches the desired position and adjusts to the desired heading.
[0098] like Figure 2 As shown, and Represents the map coordinate system The horizontal and vertical axes; and Represent the pilot ship coordinate system The horizontal and vertical axes; , , They represent the pilot ship at time t. Axis coordinates, Axis coordinates and heading angle; , , They represent the i-th following ship at time t. coordinate, Axis coordinates and heading angle; (where, Indicates following ship); , , They represent the longitudinal sway linear velocity, transverse sway linear velocity and bow angular velocity of the i-th unmanned ship at time t respectively; and They represent the relative position of the i-th following ship relative to the lead ship according to the set formation topology structure. Distances and angles in a coordinate system.
[0099] (5) The sonar module of the unmanned boat detects the location of the fish school by emitting sound waves and receiving the reflected sound wave echoes. The sound wave signal is first amplified, then converted into digital form for filtering and noise removal, and the intensity, frequency and time delay of the echo signal are extracted. Finally, the precise location and density of the fish school are calculated. If the fish school density reaches the preset threshold and the location is not within the other feeding circles, the coordinates of the location are set as the feeding target point. The target point is used as the center of the circle with a radius of The circular area is set as the feeding circle; no other feeding target points are set in the set feeding circle; the details are as follows: the estimated fish density is compared with the preset threshold; if the fish density reaches or exceeds the threshold, and the position is not in other feeding circles, the current position is set as the feeding target point, otherwise continue to monitor other areas; among which, the target point position is confirmed and no longer changes with time. The feeding target point position coordinates are:
[0100] ;
[0101] in, Indicates the feeding target point relative to the map coordinate system The position vector of , Respectively represent the feeding target points Axis and Axis coordinates; and the target point is the center of the circle, and the radius is The circular area is set as the feeding circle, and no other feeding target points are set in the set feeding circle.
[0102] (6) Calculate the Euclidean distance between each follower ship and the set feeding target point and sort them from small to large; then, according to the preset K value, select the K follower ships with the closest distance as the task ships to perform the feeding task; including the following steps:
[0103] (61) Feed the target point As test data, the position vectors of n following ships at time t ;in, As training data, the distance between the test data and the training data is calculated by the Euclidean distance between two points in two-dimensional space; the calculation formula is as follows:
[0104] ;
[0105] in, It means following the ship; represents the Euclidean distance from the position of the i-th following ship at time t to the feeding target point; , They represent the i-th following ship at time t. Axis and Axis coordinates; , Respectively represent the feeding target points Axis and Axis coordinates;
[0106] (62) The measured data Sort from smallest to largest;
[0107] (63) Set the value of K according to Sort from small to large, and select K follower ships with the smallest Euclidean distance values as the task ships to perform the feeding task;
[0108] (64) Feed the target point Set as the target point of K unmanned boats performing the feeding task, that is, the expected position at time t is:
[0109] ;
[0110] in, Indicates a mission ship; Indicates the coordinate system of the i-th mission ship relative to the map at time t The desired position of , They represent the i-th mission ship at time t. Expected axis coordinates, Expected coordinates of the axis; , Respectively represent the feeding target points Axis and Axis coordinates.
[0111] (7) The task ship performing the feeding task leaves the formation, plans a new path according to the feeding target point, uses the improved artificial potential field method, i.e., the dynamic virtual obstacle potential field method, to enable the unmanned ship to autonomously navigate and avoid obstacles, and finally sails to the feeding target point to perform the feeding task; the steps include:
[0112] (71) For designated feeding target points , create a circular gravitational potential field with the feeding point as the center and infinite radius, until the mission ship reaches the feeding point, the gravitational potential field is eliminated, and its gravitational potential function is:
[0113] ;
[0114] in, represents the gravitational force at time t; represents the gradient; represents the gravitational potential energy at time t; the coefficient l is the gravitational potential field distance gain coefficient; is the i-th mission ship at time t Position vector in the coordinate system; Indicates the feeding target point relative to the map coordinate system The position vector of
[0115] According to the negative gradient of the gravitational field, we get the expression of gravity:
[0116] ;
[0117] in, represents the gravitational force at time t; represents the gradient; represents the gravitational potential energy at time t; the coefficient l is the gravitational potential field distance gain coefficient; is the i-th mission ship at time t Position vector in the coordinate system; Indicates the feeding target point relative to the map coordinate system The position vector of
[0118] (72) The radar detects a surface obstacle, which includes a fixed obstacle and a moving obstacle. The position coordinates of the obstacle at time t are:
[0119] ;
[0120] in, represents the obstacle at time t Position vector in the coordinate system; , They are respectively represented as the obstacle at time t and Axis coordinates;
[0121] The distance between the mission ship and the obstacle at time t is:
[0122] ;
[0123] in, represents the distance between the mission ship and the obstacle at time t; ; , They are respectively represented as the obstacle at time t and Axis coordinates; , They represent the i-th mission ship at time t. Axis and Axis coordinates;
[0124] With the obstacle coordinate point as the center, a circular repulsive potential field is created, and its repulsive potential function is:
[0125] ;
[0126] in, represents the repulsive potential energy at time t; It represents the distance between the mission ship and the obstacle at time t; m is the distance gain coefficient of the repulsive potential field; r is the influence range radius of the set repulsive potential field;
[0127] The expression of repulsive force at time t is obtained from the negative gradient of the repulsive potential field:
[0128] ;
[0129] in, represents the repulsive force at time t; represents the gradient; represents the repulsive potential energy at time t; m is the distance gain coefficient of the obstacle potential field; is the i-th mission ship at time t Position vector in the coordinate system; is the distance between the mission ship and the obstacle at time t; r is the influence radius of the obstacle potential field;
[0130] (73) Calculate the resultant force of the mission ship under the combined action of the gravitational potential field, the repulsive potential field and the additional virtual repulsive potential field. The resultant force at time t is:
[0131] ;
[0132] in, It represents the resultant force of the mission ship under the combined action of the gravitational potential field, the repulsive potential field and the additional virtual repulsive potential field at time t; represents the gravitational force at time t; represents the repulsive force at time t; s represents the number of obstacles that exert repulsive force on the task ship; represents the virtual repulsive force at time t;
[0133] The vector direction of the resultant force at time t is Coordinate system Axis angle Set to the expected heading angle of the mission ship at time t, that is:
[0134] ;
[0135] in, represents the expected heading angle of the i-th mission ship at time t; The vector direction of the resultant force at time t is Axis angle;
[0136] According to the coordinate system of the i-th task ship at time t relative to the map in step (64), Expected location and the expected heading angle of the i-th task ship at time t in step (73) Calculate the position error and heading angle error of the i-th mission ship at time t; then use the PID controller to adjust the output of the thruster and rudder, thereby adjusting the speed and heading of the mission ship so that it moves in the direction of the resultant force, toward the feeding target point and away from obstacles.
[0137] like Figure 3 As shown, and Represents the map coordinate system The horizontal and vertical axes; Indicates the feeding target point; , Respectively represent the feeding target points Axis and Axis coordinates; represents the position of the i-th mission ship at time t; , They represent the i-th mission ship at time t. Axis and Axis coordinates; ( Indicates the following ship that performs the feeding task, i.e. the task ship); represents the position of the obstacle at time t; , They are respectively represented as the obstacle at time t Axis and Axis coordinates; represents the distance between the mission ship and the obstacle at time t; r represents the radius of influence of the repulsive potential field; represents the resultant force of the mission ship under the combined action of the gravitational potential field and the repulsive potential field at time t; represents the gravitational force at time t; represents the repulsive force at time t; The vector direction of the resultant force at time t is Axis angle.
[0138] like Figure 4 As shown, and Represents the map coordinate system The horizontal and vertical axes; Indicates the feeding target point; , Respectively represent the feeding target points Axis and Axis coordinates; represents the position of the i-th mission ship at time t; , They represent the i-th mission ship at time t. Axis and Axis coordinates; ( Indicates the following ship that performs the feeding task, i.e. the task ship); represents the position of the obstacle at time t; , They are respectively represented as the obstacle at time t Axis and Axis coordinates; r represents the radius of influence of the repulsive potential field; represents the distance between the mission ship and the obstacle at time t; Indicates the location of the added virtual obstacle; , are represented by virtual obstacles Axis and Axis coordinates; Indicates the influence radius of the virtual obstacle potential field; represents the distance between the mission ship and the virtual obstacle at time t; It represents the resultant force of the mission ship under the combined action of the gravitational potential field, the repulsive potential field and the additional virtual repulsive potential field at time t; represents the gravitational force at time t; represents the repulsive force at time t; The vector direction of the resultant force at time t is Axis angle; Represents the virtual repulsive force at time t.
[0139] (8) After the task ship sails past the feeding target point and completes the feeding task, it follows the pilot ship back to the formation position; if the pilot ship reaches the end of the pilot track and all the task ships reach the formation position, the unmanned ship returns to the shore base and the task is completed; otherwise, it returns to step (4).
Claims
1. A method for cooperative operation of unmanned ship formation based on environmental perception, characterized in that: The following steps are involved: (1) Multiple unmanned boats collaborate to build aquaculture waters maps; (2) According to the established aquaculture waters map, the initial positions of the formations of each unmanned ship and the topological structure of the formation are set, and the unmanned ships sail from the shore base to the initial positions of the formation; the unmanned ships include: a pilot ship and a follower ship; (3) Set up a pilot ship and plan the pilot trajectory. Use GPS and sensors to obtain its own position, heading angle, and speed information in real time and send it to other follower ships through a wireless data transmission module. The pilot ship is responsible for navigating the entire formation and does not perform feeding tasks. (4) The following ship calculates the desired position and the desired heading angle; then it calculates the position error between the actual position of the following ship and the desired position, and the angle error between the actual heading and the desired heading; the following ship adjusts the output of its thrusters and rudders through a PID controller; (5) The sonar module of the unmanned boat detects the location of the fish school by emitting sound waves and receiving the reflected sound wave echoes. The sound wave signal is first amplified, then converted into digital form for filtering and noise removal, and the intensity, frequency and time delay of the echo signal are extracted. Finally, the precise location and density of the fish school are calculated. If the fish school density reaches the preset threshold and the location is not within the other feeding circles, the coordinates of the location are set as the feeding target point. The target point is used as the center of the circle with a radius of The circular area is set as the feeding circle; no other feeding target points are set in the set feeding circle; (6) Calculate the Euclidean distance between each follower ship and the set feeding target point and sort them from small to large; then, according to the preset K value, select the K follower ships with the closest distance as the task ships to perform the feeding task; (7) The task ship performing the feeding task leaves the formation, plans a new path according to the feeding target point, and uses the improved artificial potential field method, i.e., the dynamic virtual obstacle potential field method, to enable the unmanned ship to autonomously navigate and avoid obstacles, and finally sails to the feeding target point to perform the feeding task; the steps include: (71) For designated feeding target points , create a circular gravitational potential field with the feeding point as the center and infinite radius, until the mission ship reaches the feeding point, the gravitational potential field is eliminated, and its gravitational potential function is: ; in, represents the gravitational force at time t; represents the gradient; represents the gravitational potential energy at time t; the coefficient l is the gravitational potential field distance gain coefficient; is the i-th mission ship at time t Position vector in the coordinate system; Indicates the feeding target point relative to the map coordinate system The position vector of According to the negative gradient of the gravitational field, we get the expression of gravity: ; in, represents the gravitational force at time t; represents the gradient; represents the gravitational potential energy at time t; the coefficient l is the gravitational potential field distance gain coefficient; is the i-th mission ship at time t Position vector in the coordinate system; Indicates the feeding target point relative to the map coordinate system The position vector of (72) The radar detects a surface obstacle, which includes a fixed obstacle and a moving obstacle. The position coordinates of the obstacle at time t are: ; in, represents the obstacle at time t Position vector in the coordinate system; , are respectively represented as the obstacle at time t and Axis coordinates; The distance between the mission ship and the obstacle at time t is: ; in, represents the distance between the mission ship and the obstacle at time t; ; , are respectively represented as the obstacle at time t and Axis coordinates; , They represent the i-th mission ship at time t. Axis and Axis coordinates; With the obstacle coordinate point as the center, a circular repulsive potential field is created, and its repulsive potential function is: ; in, represents the repulsive potential energy at time t; It represents the distance between the mission ship and the obstacle at time t; m is the distance gain coefficient of the repulsive potential field; r is the influence range radius of the set repulsive potential field; The expression of repulsive force at time t is obtained from the negative gradient of the repulsive potential field: ; in, represents the repulsive force at time t; represents the gradient; represents the repulsive potential energy at time t; m is the distance gain coefficient of the obstacle potential field; is the i-th mission ship at time t Position vector in the coordinate system; is the distance between the mission ship and the obstacle at time t; r is the influence radius of the obstacle potential field; (73) Calculate the resultant force of the mission ship under the combined action of the gravitational potential field, the repulsive potential field and the additional virtual repulsive potential field. The resultant force at time t is: ; in, It represents the resultant force of the mission ship under the combined action of the gravitational potential field, the repulsive potential field and the additional virtual repulsive potential field at time t; represents the gravitational force at time t; represents the repulsive force at time t; s represents the number of obstacles that exert repulsive force on the task ship; represents the virtual repulsive force at time t; The vector direction of the resultant force at time t is Coordinate system Axis Angle Set to the expected heading angle of the mission ship at time t, that is: ; in, represents the expected heading angle of the i-th mission ship at time t; The vector direction of the resultant force at time t is Axis angle; According to the coordinate system of the i-th task ship at time t relative to the map in step (64), Expected location and the expected heading angle of the i-th task ship at time t in step (73) Calculate the position error and heading angle error of the i-th mission ship at time t; then use the PID controller to adjust the output of the thruster and rudder, thereby adjusting the speed and heading of the mission ship so that it moves in the direction of the combined force, toward the feeding target point and away from obstacles; (8) After the task ship sails past the feeding target point and completes the feeding task, it follows the pilot ship back to the formation position; if the pilot ship reaches the end of the pilot track and all the task ships reach the formation position, the unmanned ship returns to the shore base and the task is completed; otherwise, it returns to step (4).
2. The method for cooperative operation of unmanned ship formation based on environment perception according to claim 1 is characterized in that: Step (1) includes the following steps: (11) deploying multiple unmanned vessels to the initial location on the shore and initializing the sensor systems of the unmanned vessels, including lidar and sonar; (12) Divide the aquaculture waters into several areas and allocate the areas according to the number of unmanned boats and exploration efficiency; each unmanned boat formulates an exploration path according to the allocated area and scans the environment; (13) Lidar scans obstacles and water boundaries above the water surface and collects distance and angle information; sonar detects underwater terrain and obstacles and records echo intensity and delay time; (14) The collected radar data is transmitted to the shore-based central processing unit in real time. At the same time, the unmanned ships share the real-time location and exploration progress information of GPS positioning through the wireless communication network; (15) The shore-based central processing unit uses the Kalman filter method to perform data fusion, integrate radar data from different unmanned ships, and filter and denoise the integrated data; (16) Based on the fused data, a complete environmental map including water boundaries, obstacle locations, and underwater terrain is constructed; a two-dimensional grid map is used to convert radar data into a visual environmental map.
3. The method for cooperative operation of unmanned ship formation based on environment perception according to claim 1 is characterized in that: In step (3), the pilot ship and the follower ship are relative to the map coordinate system at time t The position and heading angle are: ; in, It means pilot boat; It means following the ship; Represents the coordinate system of the i-th unmanned ship relative to the map at time t The position and heading angle vector of , , They represent the i-th unmanned ship at time t. Axis coordinates, Axis coordinates and heading angle; The speeds of the lead ship and the following ship at time t are: ; in, It means pilot boat; It means following the ship; represents the velocity vector of the i-th unmanned ship at time t; , , They represent the longitudinal sway linear velocity, transverse sway linear velocity and bow angular velocity of the i-th unmanned ship at time t respectively; The kinematic model of the lead ship and the follower ship at time t is as follows: ; in, It means pilot boat; It means following the ship; represents the kinematic model of the i-th unmanned ship at time t; , , They represent the coordinate system of the i-th unmanned ship relative to the map at time t. of Axis speed, Axis speed and angular velocity; , , They represent the longitudinal sway linear velocity, transverse sway linear velocity and bow angular velocity of the i-th unmanned ship at time t respectively.
4. The method for cooperative operation of unmanned ship formation based on environment perception according to claim 1 is characterized in that: Step (4) includes the following steps: (41) According to the position and heading angle of the lead ship at time t and the topological structure of the formation, the expected position and heading angle of the follower ship at time t are calculated by geometric relationship, as follows: ; in, It means following the ship; represents the expected position and heading angle vector of the i-th following ship at time t; , , They represent the i-th following ship at time t. Axis coordinates, Axis coordinates and heading angle; and They represent the relative position of the i-th following ship relative to the lead ship according to the set formation topology structure. Distances and angles in coordinate systems; (42) The position and heading angle of the following ship at time t measured by GPS and sensors are: , calculate its angle with the expected position and expected heading The error is as follows: ; in, It means following the ship; is the position error at time t; is the heading angle error at time t; , , The i-th following ship at time t Expected axis coordinates, Axis desired coordinates and desired heading angle; , , They represent the i-th following ship at time t. Axis coordinates, Axis coordinates and heading angle; (43) PID controllers are used to adjust the output power of the thruster and rudder respectively; the position error is calculated as the speed adjustment through the position PID controller, and the heading error is calculated as the heading adjustment through the heading PID controller; an output upper limit constraint is introduced to limit the speed adjustment and heading adjustment; during the formation process, the following ship avoids obstacles in the surrounding environment through an obstacle avoidance algorithm and dynamically adjusts the local path to avoid collision; the thruster output adjusts the ship's speed according to the speed adjustment, and the rudder output adjusts the ship's heading according to the heading adjustment, so that the following ship gradually approaches the desired position and adjusts to the desired heading.
5. The method for cooperative operation of unmanned ship formation based on environment perception according to claim 1 is characterized in that: In step (5), the estimated fish density is compared with a preset threshold; if the fish density reaches or exceeds the threshold and the current position is not within other feeding circles, the current position is set as the feeding target point, otherwise other areas continue to be monitored; wherein the target point position is confirmed and no longer changes with time, and the feeding target point position coordinates are: ; in, Indicates the feeding target point relative to the map coordinate system The position vector of , Respectively represent the feeding target points Axis and Axis coordinates; and the target point is the center of the circle, and the radius is The circular area is set as the feeding circle, and no other feeding target points are set in the set feeding circle.
6. The method for cooperative operation of unmanned ship formation based on environment perception according to claim 1 is characterized in that: Step (6) includes the following steps: (61) Feed the target point As test data, the position vectors of n following ships at time t ;in, As training data, the distance between the test data and the training data is calculated by the Euclidean distance between two points in two-dimensional space; the calculation formula is as follows: ; in, It means following the ship; represents the Euclidean distance from the position of the i-th following ship at time t to the feeding target point; , They represent the i-th following ship at time t. Axis and Axis coordinates; , Respectively represent the feeding target points Axis and Axis coordinates; (62) The measured data Sort from smallest to largest; (63) Set the value of K according to Sort from small to large, and select K follower ships with the smallest Euclidean distance values as the task ships to perform the feeding task; (64) Feed the target point Set as the target point of K unmanned boats performing the feeding task, that is, the expected position at time t is: ; in, Indicates a mission ship; Indicates the coordinate system of the i-th mission ship relative to the map at time t The desired position of , They represent the i-th mission ship at time t. Expected axis coordinates, Expected coordinates of the axis; , Represents the feeding target points Axis and Axis coordinates.
