Path planning method for multiple underwater glider detection coverage based on ant colony algorithm
The ant colony algorithm is used to plan the detection coverage path of the underwater glider, which solves the problem of different detection efficiency in the marine environment and the complexity of the underwater glider movement, and achieves efficient coverage and safe operation.
Patent Information
- Application Number
- CN202210634354.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-06-06
- Publication Date
- 2024-10-29
- Estimated Expiration
- 2042-06-06
AI Technical Summary
In a complex ocean environment, underwater gliders can easily hit the bottom when moving in three-dimensional space. The detection efficiency is different and communication is limited. It is difficult for existing path planning methods to effectively cover the ocean area.
A multi-underwater glider area detection coverage path planning method based on the ant colony algorithm is used to establish a grid map and an underwater glider single-period motion model, using ants as agents to design optimization goals and ant transfer probabilities, local escape strategies and pheromones Update rule, iterative convergence to obtain the detection coverage path.
It achieves adaptive detection coverage paths, improves coverage and speed, ensures the safe operation of underwater gliders, meets the complexity of the ocean environment and communication constraints, and provides a multi-aircraft collaborative strategy.
Smart Images

Figure CN115268473B_ABST
Abstract
Description
Technical Field
[0001] The invention belongs to the technical field of underwater glider control, and in particular relates to a detection coverage path planning method. Background Art
[0002] Underwater gliders are a new type of underwater vehicle with the advantages of low energy consumption and low noise. They can be equipped with various sensors to perform tasks such as ocean observation, biological observation, and ocean mapping. In addition, underwater gliders can also be equipped with passive sonar for regional detection to find targets. Reasonable coverage path planning can significantly improve the coverage rate and coverage efficiency of the area. Multi-robot coverage path planning methods have been widely used in autonomous underwater vehicles, ground robots, drones and other carriers, mainly in regional detection, post-disaster search and rescue, 3D structure detection and other fields.
[0003] The premise of most current methods is that the robot's detection range is always the same, so that path points can be planned in advance. After traversing all the path points, the entire area can be covered. However, in the ocean, the situation is more complicated. Seawater temperature, salinity, depth, and seabed topography will significantly affect the detection capability of sonar. The detection range at different locations in the area is often different, making it difficult to plan path points in advance.
[0004] In addition, although the characteristics of underwater gliders make them very suitable for regional detection, their coverage path planning is relatively complicated. On the one hand, the underwater glider's zigzag motion in three-dimensional space is easy to hit the seabed; on the other hand, the underwater glider can only be controlled by satellite communication on the surface, and cannot communicate after entering the water. The navigation parameters can only be determined before entering the water. After entering the water, it will sail along a zigzag trajectory. It cannot be controlled during the navigation process, but the navigation trajectory will directly affect the detection area. Summary of the invention
[0005] Technical issues to be solved
[0006] In order to solve the problems of different detection efficiencies at different locations in complex ocean environments, i.e., different detection radii, underwater gliders easily touching the bottom when moving in three-dimensional space, and communication limitations of underwater gliders, the present invention proposes a method for regional detection coverage path planning for multiple underwater gliders in complex ocean environments based on an ant colony algorithm.
[0007] Technical Solution
[0008] A method for planning detection coverage paths of multiple underwater gliders based on ant colony algorithm, characterized by the following steps:
[0009] S1: Establish grid map and grid coverage model;
[0010] The entire area is discretized into a grid map with a dimension of M*N, where M is the number of rows and N is the number of columns. The grid coverage map is used to represent the current underwater glider's coverage of the entire sea area, and its dimension is the same as the grid map. At time t, the state of the (x, y) grid is defined as o. xy (t), x=1,2,..,M, y=1,2,...,N, the grid state is encoded in binary;
[0011] S2: Establish a single-cycle motion detection model for underwater gliders;
[0012] Assume that the pitch angle of the underwater glider is the same as the pitch angle of the glider when it dives and when it floats, both of which are θ, and the steady-state gliding speed is V; the gliding speed vertical speed V z and horizontal velocity V x It is expressed as:
[0013]
[0014] The horizontal distance S of a gliding motion of an underwater glider in one cycle is related to the depth D and the gliding angle θ, and can be calculated according to the following formula:
[0015]
[0016] Set t i At this moment, the underwater glider is ready to start p i Cyclic gliding motion, underwater glider from P i (x i ,y i ) and glides for one cycle at a heading angle H. The time of exiting the water is t i+1 , the water outlet point is P i+1 (x i+1 ,y i+1 ), the water outlet and water inlet satisfy the following relationship:
[0017]
[0018] The underwater glider will perform detection during the entire gliding period, that is, the set of path points it passes through is P i (x i ,y i ) and P i+1 (x i+1 ,y i+1 ) connected straight lines; during the gliding process, the grid coverage status is updated according to formula (1);
[0019] S3: Mapping ants as agents of underwater gliders to determine the optimization problem and optimization objectives;
[0020] Cover xy (P) represents the coverage of the area after P cycles, which is calculated by the following formula:
[0021]
[0022] The optimization goal is to maximize the area coverage rate P after m underwater gliders glide for P cycles. c , as shown below:
[0023]
[0024] S4: Establish the mapping relationship between ants and underwater gliders, correspond a single ant to a single underwater glider, and correspond multiple ants to multiple underwater gliders; design the feasible domain, ant transfer probability, local escape strategy and pheromone update rule;
[0025] S5: Through continuous iteration and convergence, the paths of multiple ants are obtained, that is, the detection coverage path of the underwater glider.
[0026] A further technical solution of the present invention: the ant transfer probability:
[0027] The kth ant in each group of ants takes turns to choose the next path, k = 1,...m, and the probability of the kth ant moving from grid i to grid j at time t is P ij k (t), calculated as follows:
[0028]
[0029] Among them allowed k (t) is the grid set that the ant can choose in the next step, that is, the feasible domain of the kth ant at time t; where τ k ij (t) represents the pheromone concentration between grid i and grid j at time t; there are m pheromones in the map, corresponding to m ants one by one; the kth ant is only affected by the kth pheromone, and the ant will update the pheromone after passing through the grid;
[0030] η ij (t) is the heuristic function, which indicates the expected degree of ant transfer from grid i to grid j. Assuming that the ant is in grid i at time t and in period t+1, the ant is in grid j, η ij (t) is defined as follows:
[0031]
[0032] The transition probabilities between the current grid point i and all grids s in the feasible domain are calculated in turn, and the roulette method is used to select the path point that the ant will choose next.
[0033] A further technical solution of the present invention: the local escape strategy:
[0034] When the ant finds the η of all grids in the feasible domain ij When (t) is 0, it means that no matter how the ant walks, it cannot explore new uncovered grids. At this time, the ant falls into the local optimum and adjusts its heading according to the following formula:
[0035]
[0036] Among them, H s represents all the possible headings in the feasible domain, H tar Represents the target heading of the ant, which is calculated as follows:
[0037]
[0038] Among them, (x tar ,y tar ) represents the nearest unoccupied grid to the current grid, (x t ,y t ) represents the current coordinates of the ant; the ant will move forward according to the target heading instead of relying on the transition probability to choose the next grid.
[0039] A further technical solution of the present invention: the pheromone update rule:
[0040] Before the iteration begins, there is an initial pheromone τ on all paths. 0 ;
[0041] In each iteration, every m ants walk as an ant unit with the same fitness. When w*m ants have completed pathfinding, the m pheromones on the path are updated. The kth ant will only affect the mth pheromone.
[0042] Pheromones are more like:
[0043] τ k ij (t+1)=(1-ρ)τ k ij (t)+Δτ k ij (10)
[0044] where τ k ij (t+1) represents the kth pheromone between grid i and grid j after the update at time t+1, τ k ij (t) represents the kth pheromone between grid i and grid j before updating at time t; ρ is the volatility coefficient, Δτ k ij represents the pheromone left by the ants, and is calculated as follows:
[0045]
[0046] Where Q is a constant, fit k represents the fitness of the kth ant; the fitness function is the total number of grids covered by the ant after walking for P cycles, and is calculated as follows:
[0047]
[0048] Too high or too low pheromones will increase the probability of falling into a local optimum. To avoid this, pheromones are limited to a certain range. The optimized pheromone update rules are as follows:
[0049]
[0050] Among them, τ min is the minimum value of pheromone, τ max is the maximum value of pheromone.
[0051] A computer system, characterized in that it comprises: one or more processors, and a computer-readable storage medium for storing one or more programs, wherein when the one or more programs are executed by the one or more processors, the one or more processors implement the above-mentioned method.
[0052] A computer-readable storage medium, characterized in that it stores computer-executable instructions, which are used to implement the above method when executed.
[0053] Beneficial Effects
[0054] The present invention provides an algorithm for planning the detection coverage path of multiple underwater gliders in a complex ocean environment based on an ant colony algorithm. First, a grid map and a grid coverage map model are established as the basis for the execution of the algorithm; secondly, a single-cycle motion detection model of an underwater glider is established; then, ants are mapped as agents of underwater gliders to clarify the optimization problem and optimization goal; then, the feasible domain, ant transfer probability, local escape strategy, fitness function and pheromone update rule are redesigned based on the traditional ant colony algorithm; finally, the paths of multiple ants, i.e., the detection coverage path of the underwater glider, are obtained through continuous iterative convergence. The present invention solves the problems of different detection efficiencies at different positions in a complex ocean environment, i.e., different detection radii, underwater gliders easily touching the bottom when moving in three-dimensional space, and communication limitations of underwater gliders, and plans detection coverage paths for multiple underwater gliders. Compared with the prior art, it has the following beneficial effects:
[0055] 1. The method of the present invention makes full use of the detection efficiency of the area to plan the detection and coverage path, and derives the detection and coverage path based on the adaptive regional detection radius, thereby improving the coverage speed while ensuring a high coverage rate.
[0056] 2. The method of the present invention can ensure the safety of underwater glider operation and prevent it from easily hitting the bottom and causing accidents. In addition, the algorithm meets the communication constraints of the underwater glider, determines the mission depth and pitch angle before launching, and meets the heading change angle constraints.
[0057] 3. The method of the present invention proposes a collaborative strategy for multiple underwater gliders to carry out regional detection coverage. BRIEF DESCRIPTION OF THE DRAWINGS
[0058] The drawings are only for the purpose of illustrating particular embodiments and are not to be considered limiting of the present invention. Like reference symbols denote like components throughout the drawings.
[0059] Figure 1 Schematic diagram of the feasible domain of ants in the method of the present invention.
[0060] Figure 2 It is the algorithm convergence curve diagram of the method of the present invention.
[0061] Figure 3 This is a two-dimensional coverage path for multiple underwater gliders according to the method of the present invention.
[0062] Figure 4 This is the three-dimensional coverage path of multiple underwater gliders in the method of the present invention. DETAILED DESCRIPTION
[0063] In order to make the purpose, technical solutions and advantages of the present invention more clearly understood, the present invention is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not intended to limit the present invention. In addition, the technical features involved in the various embodiments of the present invention described below can be combined with each other as long as they do not conflict with each other.
[0064] The specific implementation of the present invention comprises the following steps:
[0065] Step 1: Create a grid map and grid coverage map, and establish a detection coverage model:
[0066] Discretize the entire area into a grid map with a dimension of M*N, where M is the number of rows and N is the number of columns. Use the grid coverage map to represent the current underwater glider's coverage of the entire sea area, and its dimension is the same as the grid map. Define the state of the (x, y) grid at time t as o xy (t), x=1,2,..,M,y=1,2,...,N. The grid state is coded in binary. If the grid is covered, it is 1; if it is not covered, it is 0. Assuming that the k-th glider is in the (x,y) grid at time t, its detection range is as follows:
[0067]
[0068] Where: dis represents the Euclidean distance between the surrounding grid and the grid where the glider is currently located, R xy Represents the detection radius at the grid (x,y).
[0069] Step 2: Establish a single-cycle motion detection model for underwater gliders:
[0070] In order to save energy, underwater gliders do not carry hydroacoustic communication equipment, so they cannot communicate underwater. Underwater gliders can only complete data exchange and mission parameter settings on the water surface, and then dive to perform tasks. Each time, the gliding parameters can only be controlled when preparing to dive, including the pitch angle θ, depth D, and heading angle H. After that, the underwater glider will glide in a zigzag motion for one circle. It is assumed that the diving pitch angle and the floating pitch angle of the underwater glider are the same, both θ, and the steady-state gliding speed is V. Gliding speed vertical speed V z and horizontal velocity V x It can be expressed as:
[0071]
[0072] The horizontal distance S of a gliding motion of an underwater glider in one cycle is related to the depth D and the gliding angle θ, and can be calculated according to the following formula:
[0073]
[0074] Set t i At this moment, the underwater glider is ready to start p i Cyclic gliding motion, underwater glider from P i (x i ,y i ) and glides for one cycle at a heading angle H. The time of exiting the water is t i+1 , the water outlet point is P i+1 (x i+1 ,y i+1 ), the water outlet and water inlet satisfy the following relationship:
[0075]
[0076] The underwater glider will perform detection during the entire gliding period, that is, the set of path points it passes through is P i (x i ,y i ) and P i+1 (x i+1 ,y i+1 ) connected to the straight line. During the gliding process, the grid coverage status is updated according to formula (1).
[0077] Step 3: Determine the optimization problem and optimization goal:
[0078] m underwater gliders may cover the same grid repeatedly. As long as any underwater glider covers the grid, the grid is considered to be covered. xy (P) represents the coverage of the grid after P cycles, which is calculated by the following formula:
[0079]
[0080] The optimization goal is to maximize the area coverage rate P after m underwater gliders glide for P cycles. c , as shown below:
[0081]
[0082] Step 4: Establish a mapping relationship between ants and underwater gliders, mapping a single ant to a single underwater glider, and mapping multiple ants to multiple underwater gliders:
[0083] Ants are used as agents for underwater gliders to plan coverage paths. The mapping relationship between underwater gliders and ants is shown in the following table:
[0084] Behavior Subject Underwater glider Ant Mobile Space Raster Map Raster Map Feasible domain Restricted water outlet collection Neighboring 8 grids Behavior From the water entry point to the next water exit point Transfer to next grid Target Coverage Foraging
[0085] Based on the ant colony algorithm, it is improved to meet the motion constraints and optimization goals of the underwater glider. Each iteration uses w groups of ants, each group has m ants, corresponding to m underwater gliders. The starting position of the ant corresponds to the initial position of the underwater glider, and the heading of the ant corresponds to the initial heading of the underwater glider.
[0086] Step 5: Constrain the feasible domain of the ants:
[0087] The traditional ant colony algorithm uses an 8-neighborhood grid as the feasible domain for the next cycle, but this is not applicable to underwater gliders. On the one hand, underwater gliders have special motion trajectories. The horizontal distance of a gliding cycle is affected by the pitch angle and depth, and both are limited, resulting in limited water exit points. On the other hand, the underwater glider has weak maneuverability and cannot complete large-scale turns, and there are constraints on the heading change angle. Therefore, the feasible domain is a restricted water exit point set.
[0088] From formula (3), we can get the relationship between the single-cycle horizontal distance, profile depth and pitch angle. When the pitch angle is maximum and the depth is minimum, the single-cycle gliding motion horizontal distance reaches the minimum value S min When the pitch angle is minimum and the depth is maximum, the horizontal distance of the single-cycle gliding motion reaches the maximum value S min .
[0089] P i The heading angle of the cycle is H, and the heading change angle is ΔH, then T i+1 The heading angle range of the cycle is Hi+1 ∈[H min ,H max ], the heading angle H is defined as the angle in the positive direction of the x-axis.
[0090] in:
[0091] H min =H-ΔH / 2 (20)
[0092] H max =H+ΔH / 2 (21)
[0093] The feasible region is the maximum horizontal distance of gliding S max , minimum horizontal distance of gliding S min , heading angle H i+1 , the jointly constrained fan-shaped area, the next water exit point of the underwater glider will be at Figure 1 within the sector area.
[0094] Considering the special zigzag motion trajectory of the underwater glider, it may touch the bottom and be dangerous during the gliding process, so it is necessary to further constrain the feasible domain. According to the motion model of the underwater glider, all the path points of the underwater glider can be calculated. If the depth of a point in the path point is greater than the terrain depth, the grid is marked as an unreachable point and deleted from the feasible domain. Due to terrain and steering restrictions, the feasible domain may be empty. At this time, the ant is marked as a dead ant and the fitness is -inf.
[0095] Step 6: Design the ant's transition probability
[0096] The kth (k = 1, 2, ..., m) ant in each group of ants takes turns to choose the next path. The probability of the kth ant moving from grid i to grid j at time t is P ij k (t), calculated as follows:
[0097]
[0098] Among them allowed k (t) is the grid set that the ant can choose in the next step, that is, the feasible domain of the kth ant at time t. k ij (t) represents the pheromone concentration between grid i and grid j at time t. There are m pheromones in the map, corresponding to m ants. The kth ant is only affected by the kth pheromone, and the ant will update the pheromone after walking through the grid. α represents the pheromone weight. The larger it is, the more ants tend to walk to places with high pheromone concentrations, and the more they are affected by the previous ants, and vice versa.
[0099] η ij(t) is the heuristic function, which represents the expected degree of the ant's transfer from grid i to grid j. Assume that the ant is in grid i at time t and in period t+1, the ant is in grid j, η ij (t) is defined as follows:
[0100]
[0101] Where x=1,2,...,M,y=1,2,...,N, Indicates the number of grids covered at time t+1, represents the number of grids covered at time t, and the difference between the two is η ij (t) represents the transfer from grid i to grid j
[0102] The transition probabilities between the current grid point i and all grids s in the feasible domain are calculated in turn. In order to prevent the algorithm from falling into the local optimum and increase the randomness of the ant's path selection, the roulette method is used to select the path point that the ant will choose next. The number of undetected grids. η ij (t) can make ants move towards unexplored grids.
[0103] Step 7: Design a strategy to escape from the local optimum
[0104] When the ant finds the η of all grids in the feasible domain ij When (t) is 0, it means that no matter how the ant walks, it cannot explore new uncovered grids. At this time, the ant falls into the local optimum and adjusts its heading according to the following formula:
[0105]
[0106] Among them, H s represents all the possible headings in the feasible domain, H tar Represents the target heading of the ant, which is calculated as follows:
[0107]
[0108] Among them, (x tar ,y tar ) represents the nearest unoccupied grid to the current grid, (x t ,y t ) represents the current coordinates of the ant. The ant will move forward according to the target heading instead of relying on the transition probability to choose the next grid.
[0109] Step 8, design pheromone update rules:
[0110] Before the iteration begins, there is an initial pheromone τ on all paths. 0 .
[0111] In each iteration, every m ants walk as an ant unit with the same fitness. When w*m ants have completed pathfinding, the m pheromones on the path are updated. The kth (k=1,...m) ant will only affect the mth pheromone.
[0112] Pheromones are more like:
[0113] τ k ij (t+1)=(1-ρ)τ k ij (t)+Δτ k ij (26)
[0114] where τ k ij (t+1) represents the kth pheromone between grid i and grid j after the update at time t+1, τ k ij (t) represents the kth pheromone between grid i and grid j before updating at time t. ρ is the volatility coefficient, Δτ k ij represents the pheromone left by the ants, and is calculated as follows:
[0115]
[0116] Where Q is a constant, fit k Represents the fitness of the kth ant. The fitness function is the total number of grids covered by the ant after walking for P cycles, and is calculated as follows:
[0117]
[0118] Too high or too low pheromones will increase the probability of falling into a local optimum. To avoid this, pheromones are limited to a certain range. The optimized pheromone update rules are as follows:
[0119]
[0120] Where: τ min is the minimum value of pheromone, τ max is the maximum value of pheromone.
[0121] Step 9: Execute the collaborative detection coverage strategy of multiple underwater gliders, and the algorithm begins to iterate until the iteration stop condition is reached.
[0122] Specifically, in each iteration, each group of ants takes turns walking in order according to the transfer probability, and each ant stops after walking for P cycles. After all w*m ants in one iteration have finished walking, the pheromones on the walking path provide reference for the ants in the next iteration. As the iteration proceeds, the ants' paths will gradually converge. The final converged path is the best path for regional coverage.
[0123] The condition for the iteration to stop is that the number of iterations reaches the maximum number of iterations Itor num .
[0124] Experimental verification:
[0125] The algorithm simulation area is 15km*15km, and the detection radius at different locations within the area is different. The algorithm parameters are shown in the following table:
[0126]
[0127] The starting points of the three underwater gliders are (1km, 1km), (1km, 6km), and (1km, 11km). According to the above method, the detection coverage paths of multiple underwater gliders are finally obtained. With a fixed gliding cycle of 12, the three underwater gliders can cover 96% of the area. Figure 2 is the convergence curve of the algorithm, Figure 3 Demonstrated two-dimensional coverage paths for multiple underwater gliders, Figure 4 AUG1, AUG2, and AUG3 in the figure represent underwater glider 1, underwater glider 2, and underwater glider 3, respectively.
[0128] The above description is only a specific implementation mode of the present invention, but the protection scope of the present invention is not limited thereto. Any technician familiar with the technical field can easily think of various equivalent modifications or substitutions within the technical scope disclosed in the present invention, and these modifications or substitutions should be included in the protection scope of the present invention.
Claims
1. A multi-underwater glider detection coverage path planning method based on ant colony algorithm, Features Here are the steps: S1: Establish grid map and grid coverage model; The entire area is discretized into a grid map with a dimension of M*N, where M is the number of rows and N is the number of columns. The grid coverage map is used to represent the current underwater glider's coverage of the entire sea area, and its dimension is the same as the grid map. At time t, the state of the (x, y) grid is defined as o. xy (t), x=1,2,..,M, y=1,2,...,N, the grid state is encoded in binary; S2: Establish a single-cycle motion detection model for underwater gliders; Assume that the pitch angle of the underwater glider is the same as the pitch angle of the glider when it dives and when it floats, both of which are θ, and the steady-state gliding speed is V; the gliding speed vertical speed V z and horizontal velocity V x It is expressed as: The horizontal distance S of a gliding motion of an underwater glider in one cycle is related to the depth D and the gliding angle θ, and can be calculated according to the following formula: Set t i At this moment, the underwater glider is ready to start p i Cyclic gliding motion, underwater glider from P i (x i ,y i ) and glides for one cycle at a heading angle H. The time of exiting the water is t i+1 , the water outlet point is P i+1 (x i+1 ,y i+1 ), the water outlet and water inlet satisfy the following relationship: The underwater glider will perform detection during the entire gliding period, that is, the set of path points it passes through is P i (x i ,y i ) and P i+1 (x i+1 ,y i+1 ) connected straight lines; during the gliding process, the grid coverage status is updated according to formula (1); S3: Mapping ants as agents of underwater gliders to determine the optimization problem and optimization objectives; Cover xy (P) represents the coverage of the area after P cycles, which is calculated by the following formula: The optimization goal is to maximize the area coverage rate P after m underwater gliders glide for P cycles. c , as shown below: S4: Establish the mapping relationship between ants and underwater gliders, correspond a single ant to a single underwater glider, and correspond multiple ants to multiple underwater gliders; design the feasible domain, ant transfer probability, local escape strategy and pheromone update rule; S5: Through continuous iteration and convergence, the paths of multiple ants are obtained, that is, the detection coverage path of the underwater glider.
2. According to the method for planning detection coverage paths of multiple underwater gliders based on ant colony algorithm in claim 1, Features The ant transfer probability: The kth ant in each group of ants takes turns to choose the next path, k = 1,...m, and the probability of the kth ant moving from grid i to grid j at time t is P ij k (t), calculated as follows: Among them allowed k (t) is the grid set that the ant can choose in the next step, that is, the feasible domain of the kth ant at time t; where τ k ij (t) represents the pheromone concentration between grid i and grid j at time t; there are m pheromones in the map, corresponding to m ants one by one; the kth ant is only affected by the kth pheromone, and the ant will update the pheromone after passing through the grid; η ij (t) is the heuristic function, which indicates the expected degree of ant transfer from grid i to grid j. Assuming that the ant is in grid i at time t and in period t+1, the ant is in grid j, η ij (t) is defined as follows: The transition probabilities between the current grid point i and all grids s in the feasible domain are calculated in turn, and the roulette method is used to select the path point that the ant will choose next.
3. According to the method for planning the detection coverage path of multiple underwater gliders based on ant colony algorithm in claim 2, Features The local escape strategy: When the ant finds that η of all grids in the feasible domain ij When (t) is 0, it means that the ant cannot explore new uncovered grids no matter how it walks. At this time, the ant falls into the local optimum and adjusts its heading according to the following formula: Among them, H s represents all the possible headings in the feasible domain, H tar Represents the target heading of the ant, which is calculated as follows: Among them, (x tar ,y tar ) represents the nearest unoccupied grid to the current grid, (x t ,y t ) represents the current coordinates of the ant; the ant will move forward according to the target heading instead of relying on the transition probability to choose the next grid.
4. According to the method for planning the detection coverage path of multiple underwater gliders based on ant colony algorithm in claim 3, Features The pheromone renewal law: Before the iteration begins, there is an initial pheromone τ on all paths. 0 ; In each iteration, every m ants walk as an ant unit with the same fitness. When w*m ants have completed pathfinding, the m pheromones on the path are updated. The kth ant will only affect the mth pheromone. Pheromones are more like: t k ij (t+1)=(1-ρ)τ k ij (t)+Δτ k ij (10) where τ k ij (t+1) represents the kth pheromone between grid i and grid j after the update at time t+1, τ k ij (t) represents the kth pheromone between grid i and grid j before updating at time t; ρ is the volatility coefficient, Δτ k ij represents the pheromone left by the ants, and is calculated as follows: Where Q is a constant, fit k represents the fitness of the kth ant; the fitness function is the total number of grids covered by the ant after walking for P cycles, and is calculated as follows: Too high or too low pheromones will increase the probability of falling into a local optimum. To avoid this, pheromones are limited to a certain range. The optimized pheromone update rules are as follows: Among them, τ min is the minimum value of pheromone, τ max is the maximum value of pheromone.
5. A computer system, Features include: One or more processors, and a computer-readable storage medium for storing one or more programs, wherein when the one or more programs are executed by the one or more processors, the one or more processors are enabled to implement the method of claim 1.
6. A computer-readable storage medium, Features Computer executable instructions are stored, and when the instructions are executed, they are used to implement the method of claim 1.
Citation Information
Patent Citations
Unmanned aerial vehicle optimal path planning method based on adaptive ant colony algorithm
CN107562072A
Multi-AUV self-adaptive target searching and obstacle avoidance method oriented to unknown environment
CN108594834A
