A global path planning method and system based on improved artificial potential field method

By improving the artificial potential field method and using the grid method and dynamic constraints to optimize path planning, the problems of low map construction accuracy, unreachable target points and local optimal points in the traditional method are solved, and the operation of unmanned boats in complex waters is realized. Efficient and accurate path planning.

CN118500414BActive Publication Date: 2024-10-18HUAZHONG UNIV OF SCI & TECH

Patent Information

Application Number
CN202410954233.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-07-17
Publication Date
2024-10-18
Estimated Expiration
2044-07-17

AI Technical Summary

Technical Problem

The traditional artificial potential field method has problems such as low map construction accuracy, unreachable target points, and falling into local optimal points in global path planning. As a result, it is difficult for unmanned boats to accurately reach target points in complex water environments. The robustness of the algorithm and calculation Insufficient efficiency.

Method used

The improved artificial potential field method is used to optimize static obstacle recognition through the grid method, and the minimum value of the gravity function and the repulsion function are set. Combined with the dynamic constraints of the unmanned boat, the repulsion direction and coefficient are adjusted to ensure the real-time and accuracy of path planning.

Benefits of technology

It improves the accuracy and stability of path planning, enhances the navigation safety and efficiency of unmanned boats, solves the problem of unreachable target points and local optimal points, and improves the robustness and computational efficiency of the algorithm.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118500414B_ABST
    Figure CN118500414B_ABST
Patent Text Reader

Abstract

The present invention discloses a global path planning method and system based on an improved artificial potential field method. A two-dimensional water coordinate system is constructed according to the water environment and the position of static obstacles to determine the spatial geometric information of the unmanned boat; the unmanned boat heading angle is divided into n parts from positive left to positive right, and the unmanned boat is taken as the center to consider the obstacle avoidance of static obstacles in n+1 directions; the repulsion generated by obstacles within the repulsion influence distance is calculated according to the improved repulsion function, and the gravitational force generated by the target point is calculated according to the improved gravitational function; it is judged whether there is an obstacle in the straight line direction from the moving body to the target point. If not, the repulsion magnitude is set to 0; if so, the angle difference between the repulsion and the gravitational force is calculated to meet the required range; if not, the repulsion direction and the repulsion coefficient are adjusted; otherwise, the repulsion function remains unchanged; the next speed magnitude and direction are determined according to the resultant force of the superposition of the repulsion and the gravitational force and the unmanned boat dynamics constraint, until the unmanned boat reaches the target point.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the technical field of path planning, and in particular relates to a global path planning method and system based on an improved artificial potential field method. Background Art

[0002] As an unmanned mobile platform suitable for surface operations, surface unmanned boats can autonomously plan their navigation paths on the water surface based on environmental information. They have the advantages of being small and light, highly flexible, highly economical, highly environmentally adaptable, low cost, and high-speed and intelligent. Therefore, they are widely used in the military and civilian fields and are rapidly developing in the direction of intelligence. With the increasing demand for the performance of unmanned boats in the development of military and science and technology, it is urgent to improve the intelligence and autonomy of unmanned boats. The path planning technology of unmanned boats plans a navigation trajectory that meets safety requirements by sensing the external environment. It is the key to the safe completion of given goals by unmanned boats, and directly affects the performance and advanced level of unmanned boats.

[0003] Similar to the existing autonomous path planning of unmanned platforms, the main goal of the global path planning of unmanned boats is to plan a navigation trajectory that meets the requirements while avoiding static obstacles. However, many single algorithm systems for global path planning of unmanned boats currently have obvious defects. The Dijkstra algorithm is simple to implement and has good robustness, but it has high time and space complexity and low computational efficiency, and is not suitable for long-distance global path planning. The algorithm has the advantages of good scalability and strong search capability, but it relies on heuristic functions, has a slow solution, and cannot achieve real-time obstacle avoidance; the genetic algorithm has good robustness and is a good choice for solving complex paths, but the algorithm has a slow convergence speed and low system stability, and cannot solve efficiently; the advantage of the particle swarm algorithm is that its model is simple and involves few variables, but the algorithm is prone to fall into local optimal solutions and is not suitable for complex trajectories; the ant colony algorithm has high solution accuracy and can be implemented in parallel with other algorithms, but it also has the problems of slow convergence speed and easy to fall into local optimal solutions.

[0004] Among the global path planning algorithms, the Artificial Potential Field (APF) method is widely used in static obstacle avoidance of surface unmanned boats because of its simple potential function model, convenient calculation between potential fields, and certain robustness to control and sensor errors. The artificial potential field method assumes that the target point exerts gravitational force on the moving body, while the obstacle exerts repulsive force on the moving body. According to the magnitude and direction of gravitational and repulsive forces, a virtual potential field is constructed and superimposed to obtain a potential energy field, so that the moving body moves from the highest potential energy point (the starting point of the unmanned boat) to the lowest potential energy point (the target point of the unmanned boat). However, the traditional artificial potential field method has the following common problems: low map construction accuracy, the moving body is prone to obstacle avoidance failure during movement; the moving body wanders around the target point when approaching the target point and the target point is unreachable; the moving body falls into the "local potential energy minimum point" (local optimal point), causing the moving body to wander or stop moving. Therefore, in actual navigation tests, there is a problem that it is difficult for unmanned boats to reach the target point safely.

[0005] Through the above analysis, the technical problems faced by the traditional artificial potential field method (APF) in global path planning are specifically reflected in:

[0006] (1) Low map construction accuracy: When faced with complex water environments, the traditional artificial potential field method has low map construction accuracy and regards obstacles as simplified point mass models. As a result, the unmanned boat cannot accurately identify the specific coordinates and sizes of multiple static obstacles, and the unmanned boat is prone to obstacle avoidance failure during actual movement.

[0007] (2) The target point is unreachable: The gravitational function given by the traditional artificial potential field method gradually decreases to 0 when the unmanned boat approaches the target point, resulting in the unmanned boat being unable to reach the target point. When there are static obstacles near the target point, the repulsive function given by the traditional artificial potential field method gradually increases, and the direction of the resultant force on the unmanned boat is opposite to that of the target point, making it impossible for the unmanned boat to reach the target point.

[0008] (3) Getting stuck at a local optimal point: When the traditional artificial potential field method faces obstacles that are vertically distributed on the line connecting the unmanned boat and the target point, the direction of the calculated resultant force is close to the direction of the line, causing the unmanned boat to get stuck at a local optimal point and stop during navigation. When multiple obstacles are densely distributed around the unmanned boat's motion path, the planned path given by the traditional artificial potential field method is prone to "oscillation" reaction, causing the unmanned boat to get stuck at a local optimal point and stop during navigation.

[0009] Therefore, in view of the above problems, improving the artificial potential field method to improve the accuracy of map construction, ensure the accessibility of target points and avoid falling into the local optimum is the key to improving the path planning performance of surface unmanned boats. Solving these technical problems can significantly improve the navigation safety, efficiency and autonomy of surface unmanned boats, and has important application value.

[0010] In industrial applications, the technical problems faced by the traditional artificial potential field method (APF) in global path planning are mainly reflected in the following aspects:

[0011] (1) Problems with map construction and updating

[0012] Map construction of complex water environments requires high precision and real-time performance, but the traditional APF method is unable to cope with complex environments and it is difficult to accurately reflect the distribution and dynamic changes of obstacles in the actual environment.

[0013] The map update mechanism is not sound, making it difficult to respond to emergencies in the aquatic environment, such as new obstacles or temporary no-fly zones.

[0014] (2) Target point accessibility challenge

[0015] In industrial applications, the target point usually has a clear location and arrival requirements, but the traditional APF method is easily affected by obstacles near the target point, resulting in the unmanned boat being unable to reach the target accurately or frequently adjusting the path.

[0016] The increased complexity of the environment near the target point, such as docks, bridges and other structures, requires more sophisticated path planning strategies.

[0017] (3) Local Optimum Trap

[0018] The water environment in industrial applications often contains dense or specially distributed obstacles. The traditional APF method is prone to fall into the local optimal solution in these scenarios, resulting in the unmanned boat being unable to find the global optimal path.

[0019] The local optimal trap causes the unmanned boat to frequently change direction or speed during navigation, reducing navigation efficiency and safety.

[0020] (4) Algorithm robustness and adaptability

[0021] Traditional APF methods lack sufficient robustness and adaptability when facing different water environments and task requirements, and require frequent parameter adjustments or algorithm redesign.

[0022] Industrial applications require algorithms to run stably under a variety of conditions, including severe weather, water flow changes, etc.

[0023] (5) Computational efficiency and resource consumption

[0024] The traditional APF method faces the problem of low computational efficiency when calculating complex paths, resulting in slow response of the unmanned boat or inability to handle environmental changes in a timely manner.

[0025] In industrial applications, unmanned boats often need to process multiple tasks and data simultaneously, and efficient path planning algorithms are the key to ensuring overall performance.

[0026] In summary, the technical problems faced by the traditional artificial potential field method in industrial applications mainly involve map construction and updating, target point accessibility, local optimal traps, algorithm robustness and adaptability, and computational efficiency and resource consumption. Solving these problems is crucial to improving the performance of surface unmanned boats in industrial applications. Summary of the invention

[0027] In view of the problems existing in the prior art, the present invention provides a global path planning method and system based on an improved artificial potential field method.

[0028] The present invention is implemented as follows: a global path planning method based on an improved artificial potential field method constructs a two-dimensional water coordinate system according to the water environment and the position of static obstacles to determine the required spatial geometric information; the next speed and direction are determined according to the improved repulsion and attraction functions combined with the unmanned boat dynamics constraints until the unmanned boat reaches the target point.

[0029] Furthermore, the improved artificial potential field method optimizes the identification of static obstacles including:

[0030] First, the map is evenly divided into multiple grids according to the grid method, and then scaled to improve the modeling accuracy. Obstacles with a certain projection area are divided into an integer number of grids, represented by 1; the grid of the passable water surface area is represented by 0.

[0031] Secondly, after the static obstacles are converted into discrete coordinates by the grid method, the obstacle coordinates are screened to ensure the real-time performance of the path planning algorithm while improving its recognition performance. In order to ensure the efficiency of selecting the next target point, the heading angle of the unmanned boat is divided into two equal parts from the left direction (0°) to the right direction (180°). Only consider The virtual repulsive field generated by the discrete coordinates of obstacles at different angles is used to improve the computational efficiency of the trajectory planning algorithm while ensuring the accuracy of map construction, achieving a higher path planning effect.

[0032] Furthermore, the improved repulsion function and the improved attraction function are as follows:

[0033] First, a two-dimensional water coordinate system is constructed based on the water environment and the position of static obstacles. Assume that the current position coordinates of the unmanned boat are , the coordinate position of the path target point is , No. The position coordinates of the obstacles are ;

[0034] Secondly, according to the principle of the traditional artificial potential field method, there is a problem that the target point is unreachable: when the unmanned boat approaches the target point, the gravitational force it receives will gradually decrease to 0, and it will be unable to reach the target point; when there are obstacles next to the target point, the repulsive force on the unmanned boat will gradually increase, and the direction of the resultant force on the unmanned boat is opposite to that of the target point, so the target point is unreachable; therefore, the above problem is solved by setting the minimum value of the gravitational function and introducing the distance between the moving body and the target point into the repulsive function;

[0035] Improved gravity function The expression is as follows:

[0036]

[0037] in, is the gravitational coefficient, is the minimum distance of gravity, is the distance from the moving body to the target point, is the minimum value of gravity. Less than the minimum distance of gravity , the gravity is fixed to the minimum value, thus preventing the gravity from gradually decreasing to 0.

[0038] Improved repulsion function The expression is as follows:

[0039]

[0040] in, is the repulsion coefficient, is the distance from the moving body to the target point, is the radius of the obstacle, For the sports body When the moving body approaches an obstacle near the target point, in order to control the repulsive force from being too large, the magnitude of the repulsive force is multiplied by the distance from the moving body to the target point. is the distance between the moving body and the target point Second power, To improve the empirical value of the function, it is generally taken as 2.

[0041] Furthermore, the process of improving the artificial potential field method to calculate the coordinates and velocity of the next point is:

[0042] The gravitational force generated by the target point is calculated according to the improved gravitational function, and at the same time, it is determined whether there is a static obstacle in the straight line direction from the moving body to the target point; if not, there is no need to consider the repulsive effect of the obstacle; if so, the static obstacle in the identification direction is used to calculate the repulsive force on the moving body using the improved repulsive function; the coordinates and speed of the next point are determined by the resultant force of the repulsive force and the gravitational force and the unmanned boat dynamics constraints until the unmanned boat reaches the target point;

[0043] According to the principle of traditional artificial potential field method, when the repulsive force and the attractive force are in the same straight line direction or the obstacles are complexly distributed, the moving body is prone to fall into the local optimal point and stop moving or linger; the method of changing the direction of the repulsive force and reducing the magnitude of the repulsive force coefficient is used to avoid the local optimal point problem generated in path planning. Among them, the local optimal point problem is mainly caused by two situations: a single obstacle is vertically distributed on the line connecting the moving body and the target point, and multiple obstacles are densely distributed around the path of the moving body.

[0044] Furthermore, the single obstacles vertically distributed on the line connecting the moving body and the target point include:

[0045] When a single obstacle is vertically distributed on the line between the moving body and the target point, because the directions of gravity and repulsion almost coincide, the path planning and obstacle avoidance often stops halfway or collides because there is no time to avoid it.

[0046] Therefore, the direction of repulsion is calculated first. Direction of gravity The angle difference between the two is used to determine whether there is a problem of being trapped in the local optimal point. If so, adjust the direction of the repulsive force to make the moving body jump out of the local optimal point. The repulsive force direction adjustment function is as follows:

[0047]

[0048] in, is the repulsive force direction angle; is the gravitational direction angle; Fine-tune the size of the repulsive force direction; The threshold for adjusting the direction angle. When the angle between repulsion and attraction satisfies the above formula, select the corresponding formula to adjust the direction of repulsion. After the repulsion direction function is adjusted, the planned path can smoothly avoid obstacles and reach the target point.

[0049] Furthermore, multiple obstacles densely distributed around the path of the moving body include:

[0050] When multiple obstacles are densely distributed around the path of the moving body, the path is prone to "oscillation" reaction, which increases the length of the planned path and reduces the efficiency of the algorithm. According to the change in the angle before and after the calculated path, it is judged whether the angle change value exceeds the critical value. If so, an "oscillation" reaction occurs, and the repulsion coefficient is reduced to reduce the influence of the complex distribution of obstacles on the path trajectory. At the same time, in order to further reduce the length of the planned path, if there are no static obstacles distributed on the line connecting the moving body and the target point, the influence of repulsion on the path of the moving body is not considered.

[0051] Another object of the present invention is to provide a global path planning system for implementing the global path planning method based on the improved artificial potential field method, comprising:

[0052] A coordinate system construction module is used to identify the location of static obstacles in the water environment and construct a two-dimensional water coordinate system;

[0053] The constraint condition determination module is used to determine the starting point and end point coordinates, initial angle, velocity and angular velocity constraints of the moving body;

[0054] The two-dimensional matrix information conversion module takes the position of the moving body as the center, identifies the distance of static obstacles in the specified direction, and converts the map environment into two-dimensional matrix information using the grid method of optimized recognition;

[0055] The repulsion / gravity calculation module calculates the repulsion generated by obstacles within the repulsion influence distance according to the improved repulsion function, and calculates the gravity generated by the target point according to the improved gravity function;

[0056] The repulsion / gravity adjustment module is used to determine whether there are obstacles in the straight line from the moving body to the target point. If not, the repulsion magnitude is set to 0; if so, the angle difference between the repulsion and gravity is calculated to see if it meets the required range; if not, the repulsion direction and repulsion coefficient are adjusted; otherwise, the repulsion function remains unchanged. The next speed magnitude and direction are determined based on the resultant force of the repulsion and gravity and the unmanned boat dynamics constraints;

[0057] The target point judgment module is used to judge whether the moving body has reached the target point. If it has, it will terminate; if not, it will return to the repulsion / attraction calculation module.

[0058] Another object of the present invention is to provide a computer device, which includes a memory and a processor, wherein the memory stores a computer program, and when the computer program is executed by the processor, the processor executes the steps of the global path planning method based on the improved artificial potential field method.

[0059] Another object of the present invention is to provide a computer-readable storage medium storing a computer program, which, when executed by a processor, enables the processor to execute the steps of the global path planning method based on the improved artificial potential field method.

[0060] Another object of the present invention is to provide an information data processing terminal, which is used to implement the global path planning system based on the improved artificial potential field method.

[0061] In combination with the above technical solutions and the technical problems solved, the advantages and positive effects of the technical solutions to be protected by the present invention are as follows:

[0062] First, the present invention provides a map modeling scheme based on the grid method to optimize the identification of static obstacles. The map is divided into multiple grids, obstacles are represented by integer grids, and the map environment is converted into a two-dimensional matrix containing only 0 and 1. At the same time, considering that the unmanned boat does not have a retreat instruction during the autonomous recovery path planning process, the unmanned boat is divided from the left to the right. Only consider The obstacles at different angles generate repulsive forces on the moving body. This avoids the problems of excessive calculation, long calculation time, and planning paths that pass through obstacle areas that exist in traditional artificial potential field methods.

[0063] The present invention provides an improved gravity and repulsion function for the problem of unreachable targets, which solves the problem of unreachable targets in the path planning of the traditional artificial potential field method by setting the minimum value of the gravity function and introducing the distance from the target point into the repulsion function. When the distance of the moving body from the target point gradually decreases to the minimum gravity distance, the gravity magnitude is fixed to the minimum gravity value to prevent the gravity magnitude from gradually decreasing to 0 so that the moving body cannot reach the target point; when the moving body approaches an obstacle near the target point, the magnitude of the repulsive force is controlled, and the original repulsive force is multiplied by the distance from the moving body to the target point to prevent the repulsive force from gradually increasing so that the moving body wanders outside the target point and cannot reach the target point. The present invention improves the trajectory accuracy and real-time performance by solving the problem of unreachable target points, thereby increasing the success rate of path planning.

[0064] The present invention provides an improved repulsion function for the local optimal point problem, which circumvents the local optimal point problem generated in the path planning of the traditional artificial potential field method by changing the direction of the repulsion and reducing the magnitude of the repulsion coefficient. When a single obstacle is vertically distributed on the line connecting the moving body and the target point, the angle between the repulsion and the gravitational direction is small, which can easily cause the moving body to stop in front of the obstacle or collide with the obstacle. Therefore, a repulsion direction adjustment function is used to make the moving body jump out of the local optimal point; when multiple obstacles are densely distributed near the path of the moving body, the path is prone to "oscillation" reaction, and the moving body cannot reach the target point in time. Therefore, the repulsion coefficient is reduced to reduce the impact of the complex distribution of obstacles on the route trajectory, and reduce the planned path length and the rate of change of the turning angle. The present invention solves the local optimal point problem by improving the repulsion function, while reducing the complexity of the planned path, reducing the amount of algorithm calculation, and improving the efficiency of the algorithm.

[0065] The present invention takes into account the dynamic constraints of the moving body and proposes an anti-interference global path planning algorithm. The maximum angle range that the moving body can deflect during the time it moves to the next point is the product of the maximum angular acceleration and time; the maximum speed that it can increase or decrease is the product of the maximum acceleration and time, and the speed and direction of the next point of the moving body are constrained within the range of an annular sector. The present invention improves the feasibility of the path planning algorithm by clarifying the speed constraints and improves the success rate of path planning.

[0066] Second, the present invention provides a global path planning system based on an improved artificial potential field method, which constructs a water area model through an optimization recognition scheme based on a grid method, improves map construction accuracy and simplifies algorithm calculations; improves existing repulsion and gravity functions by setting a minimum gravity value and introducing the distance from the target point into the repulsion function to solve the problem of unreachable targets; improves existing repulsion functions by changing the direction of repulsion and reducing the size of the repulsion coefficient to solve the problem of local optimal points; considers the dynamic constraints of the moving body when calculating the coordinates and speed of the next moving body, and improves the anti-interference ability of the algorithm.

[0067] Third, the technical solution of the present invention solves the main defects of the traditional artificial potential field method:

[0068] The traditional artificial potential field method has the following limitations when planning the recovery path of unmanned boats: the map construction accuracy is low and the moving body is prone to obstacle avoidance failure; when there are obstacles near the target point, the planned path cannot reach the target point; when the repulsive force and gravitational force on the moving body are in the same straight line direction or the obstacle distribution is complex, the planned path falls into the local optimal point.

[0069] The present invention provides a global path planning system based on an improved artificial potential field method, which solves the above-mentioned defects by improving the calculation process: constructing a water area model through an optimization recognition scheme based on a grid method to improve the map construction accuracy; improving the existing repulsion and gravity functions by setting a minimum gravity value and introducing the distance from the target point into the repulsion function to solve the problem of unreachable targets; and improving the existing repulsion function by changing the repulsion direction and reducing the repulsion coefficient to solve the problem of local optimal points.

[0070] Fourth, the technical solution of the present invention takes into account the dynamic constraints, optimizes the selection method of the motion point of the traditional artificial potential field method, and proposes an improved artificial potential field method that is resistant to interference:

[0071] The traditional artificial potential field method starts from the starting point of the moving body and takes the minimum potential energy point within a certain distance as the next moving point according to the total potential field distribution in the two-dimensional coordinate system until the target point is reached. However, the moving body may not reach the specified minimum potential energy point due to its own dynamic constraints.

[0072] The present invention takes into account the dynamic constraints of the moving body, and according to the speed and direction constraints of the moving body on the trajectory path, clarifies the moving point with the minimum potential energy that can actually be reached under the constraints, optimizes the calculation of the motion trajectory, reduces the redundant calculation amount of the traditional artificial potential field method, and realizes an improved artificial potential field method that is anti-interference and highly efficient.

[0073] Fifth, the present invention is based on a global path planning method based on an improved artificial potential field method. By optimizing the identification of static obstacles and combining the dynamic constraints of the unmanned boat, the path of the unmanned boat is efficiently planned. This method has brought significant technical effects in practical applications, which are specifically manifested in the following aspects:

[0074] First, the accuracy and stability of path planning are improved. By constructing a two-dimensional water coordinate system and adopting an optimized identification method based on the grid method, this method can more accurately identify the water environment and the location of static obstacles, thereby planning a more accurate and stable path. This helps reduce the risk of collision between the unmanned boat and obstacles during navigation and improves the safety performance of the unmanned boat.

[0075] Secondly, the feasibility and efficiency of path planning are optimized. By combining the improved repulsion and gravitational functions with the dynamic constraints of the unmanned boat, this method can overcome the defects of the traditional artificial potential field method and quickly determine the speed and direction of the unmanned boat's next step, thereby effectively improving the feasibility of the planned path and reducing the time of path planning. This helps to improve the navigation efficiency of the unmanned boat, enabling it to complete the scheduled tasks accurately and quickly.

[0076] In addition, the method has strong adaptability and flexibility. By adjusting the map size, the coordinates of the starting and ending points, and the parameter settings of obstacles, the method can adapt to the changes in different water environments and task requirements. At the same time, by comparing the impact of different angle shares on path planning, the most suitable angle share is selected to further optimize the effect of path planning.

[0077] Finally, this method also has broad application prospects. As an important water transportation tool, unmanned boats have wide application value in the fields of ocean exploration, environmental monitoring, rescue operations, etc. The global path planning method based on the improved artificial potential field method can provide a more efficient, accurate and stable path planning solution for unmanned boats, which will help promote the application and development of unmanned boats in more fields.

[0078] The global path planning method based on the improved artificial potential field method has brought significant technical effects, improved the accuracy and stability of unmanned boat path planning, optimized the feasibility and efficiency of path planning, and has strong adaptability and flexibility. This will help promote the further development of unmanned boat technology and bring more convenience and value to industrial applications. BRIEF DESCRIPTION OF THE DRAWINGS

[0079] Figure 1 is a flow chart of a global path planning method based on an improved artificial potential field method provided by an embodiment of the present invention;

[0080] Figure 2is a schematic diagram of a global path planning method based on an improved artificial potential field method provided by an embodiment of the present invention;

[0081] Figure 3 is a schematic diagram of static obstacle recognition angles provided by an embodiment of the present invention;

[0082] Figure 4 is a schematic diagram of the gravity function before and after improvement provided by an embodiment of the present invention;

[0083] Figure 5 is a schematic diagram of an obstacle avoidance path with an "oscillation" reaction before and after the improvement provided by an embodiment of the present invention;

[0084] Figure 6 is a structural diagram of a global path planning system based on an improved artificial potential field method provided by an embodiment of the present invention;

[0085] Figure 7 8 random maps and path planning comparison diagrams provided by an embodiment of the present invention;

[0086] Figure 8 Schematic diagram of the main problems existing in the traditional artificial potential field method provided by the embodiment of the present invention;

[0087] Fig. 9 is a schematic diagram of the simulation path planning time and length changing with the number of recognized angles provided by an embodiment of the present invention;

[0088] Fig.10 It is a schematic diagram of a planning path in which a target unreachable problem occurs before and after the improvement provided by an embodiment of the present invention;

[0089] Fig.11 It is a schematic diagram of a planning path for a local optimum problem before and after the improvement provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0090] In order to make the purpose, technical solution and advantages of the present invention more clearly understood, the present invention is further described in detail below in conjunction with the embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not used to limit the present invention.

[0091] The global path planning system based on the improved artificial potential field method provided by the embodiment of the present invention has broad application prospects in the fields of unmanned boat ocean surveys, rescue missions, etc. Specific application embodiments are listed below:

[0092] Application Example 1: Global Path Planning of Unmanned Boats in Complex Water Environments

[0093] In ocean survey missions, the water environment is complex and unknown, and there are often multiple static obstacles (such as islands, buoys, shipwrecks, etc.). The unmanned boat needs to navigate from the starting point to the end point while avoiding collisions with obstacles and optimizing the navigation path as much as possible.

[0094] (1) Water environment identification and coordinate system construction: Use nautical charts and radar sensors to identify the location of static obstacles in the water environment, construct a two-dimensional water coordinate system, and on this basis determine the starting and end points of the unmanned boat, as well as the initial angle, speed, and angular velocity constraints.

[0095] (2) Environmental information conversion: The continuous water environment is discretized into two-dimensional matrix information using a rasterization method, where each grid represents the occupancy status (idle or occupied) of a specific area.

[0096] (3) Path planning and obstacle avoidance: The improved artificial potential field method is used to calculate the repulsive force generated by static obstacles and the attractive force generated by the target point. If there is no obstacle on the straight path, the repulsive force is set to 0. If there is an obstacle, the direction and magnitude of the repulsive force are adjusted according to the angular difference between the repulsive force and the attractive force to meet the requirements of navigation safety and efficiency.

[0097] 4) Navigation decision and execution: Calculate the speed and direction of the next step based on the combined force and the dynamic constraints of the unmanned boat, and adjust the navigation strategy in real time to avoid obstacles until the unmanned boat arrives safely at the destination.

[0098] Application Example 2: Global path planning of an unmanned boat with multiple obstacles densely distributed near the path

[0099] In maritime rescue missions, there are often multiple obstacles (such as islands, reefs, sunken ships, buoys, etc.) densely distributed near the path available for unmanned boats to navigate. Faced with extreme water environments, unmanned boats need to avoid complex static obstacles and avoid or reduce the "shock" reaction of the planned path to ensure that the unmanned boat reaches the target point in time.

[0100] (1) Water environment identification and coordinate system construction: Use GPS and lidar to identify the location of static obstacles in the water environment and construct a two-dimensional water coordinate system. Confirm the starting point and target point of the unmanned boat, as well as the initial angle, speed and angular velocity constraints through the mission objectives.

[0101] (2) Environmental information conversion: The continuous water environment is discretized into two-dimensional matrix information using a rasterization method, where each grid represents the occupancy status (idle or occupied) of a specific area.

[0102] (3) Path planning and obstacle avoidance: The improved artificial potential field method is used to calculate the repulsive force generated by static obstacles and the attractive force generated by the target point. Because there are often multiple obstacles densely distributed around the path of the moving object in the task, it is necessary to monitor the angle change before and after the planned path. If the angle change value exceeds the critical value, it is judged that the planned path has an "oscillation" reaction, and the repulsive force coefficient needs to be adjusted to re-plan the path.

[0103] (4) Navigation decision-making and execution: The speed and direction of the next step are calculated based on the resultant force and the dynamic constraints of the unmanned boat, and the navigation strategy is adjusted in real time to avoid obstacles until the unmanned boat safely reaches the destination.

[0104] The signal and data processing process of the global path planning system based on the improved artificial potential field method involves several key steps. The following is a detailed explanation of these steps:

[0105] S101: Environment initialization and condition setting

[0106] Signal Input: The system first receives data from sensors that describe the locations of static obstacles in the water environment.

[0107] Data processing: Based on the received data, the system constructs a two-dimensional water coordinate system and determines the starting and ending coordinates of the moving body, the initial angle, and the speed and angular velocity constraints of the moving body.

[0108] Output: After completing the environment initialization, the system outputs a two-dimensional water map and the initial moving body state.

[0109] S102: Rasterized Maps and Environmental Perception

[0110] Signal input: The system continuously receives data from environmental perception sensors, which continuously update the water environment information.

[0111] Data processing: The environmental information is converted into a two-dimensional matrix using the grid method with optimized recognition, where each grid represents a part of the environment, including obstacles and traversable areas.

[0112] Output: The system outputs rasterized two-dimensional matrix information for subsequent path planning.

[0113] S103: Repulsion and gravitation calculation and path planning

[0114] Signal input: The system identifies the distances of static obstacles in all directions based on the current position of the moving object and rasterized map information.

[0115] Data processing: According to the improved repulsion function, calculate the repulsion generated by obstacles within the repulsion distance. According to the improved gravitational function, calculate the gravitational force generated by the target point.

[0116] Determine whether there are obstacles in the straight line from the moving body to the target point, and adjust the size and direction of the repulsive force accordingly.

[0117] Based on the combined force of repulsion and gravity and the dynamic constraints of the moving body, the speed and direction of the next step are determined.

[0118] Output: The system outputs the next movement instruction, including speed, magnitude and direction.

[0119] S104: Target point determination and path planning iteration

[0120] Signal input: The system receives the position information of the current moving object.

[0121] Data processing: Determine whether the current moving body has reached the target point.

[0122] If the target point is reached, the path planning process is terminated.

[0123] If the target point is not reached, step S103 is repeated to continue calculating new repulsive forces and attractive forces, and to plan the next movement path.

[0124] Output: If the target point is not reached, the system continues to output the next movement instruction; if the target point is reached, the system outputs the information that the path planning is completed.

[0125] During the entire processing process, the system also needs to continuously process new data input by the sensor and update environmental information in real time to ensure the accuracy and real-time performance of path planning. In addition, the system also needs to handle abnormal situations, such as abnormal sensor data and restricted movement of moving objects, to ensure the robustness of path planning.

[0126] In view of the problems existing in the prior art, the present invention provides a global path planning method and system based on an improved artificial potential field method. The present invention is described in detail below in conjunction with the accompanying drawings.

[0127] like Figure 1 As shown, the global path planning system based on the improved artificial potential field method provided by the embodiment of the present invention includes the following steps:

[0128] S101, identifying the position of static obstacles in the water environment, constructing a two-dimensional water coordinate system, and determining the coordinates of the starting point and the end point of the moving body, the initial angle, the speed of the moving body, and the angular velocity constraints;

[0129] S102, taking the position of the moving body as the center, identify The distance of static obstacles in each direction is calculated, and the map environment is converted into two-dimensional matrix information using the grid method of optimized recognition;

[0130] S103, calculate the repulsive force generated by obstacles within the repulsive influence distance according to the improved repulsive force function, and calculate the gravitational force generated by the target point according to the improved gravitational function; determine whether there are obstacles in the straight line from the moving body to the target point. If not, set the repulsive force to 0; if yes, calculate whether the angle difference between the repulsive force and the gravitational force meets the required range. If not, adjust the repulsive force direction and the repulsive force coefficient; otherwise, the repulsive force function remains unchanged. Determine the next speed magnitude and direction based on the resultant force of the repulsive force and the gravitational force and the unmanned boat dynamics constraints;

[0131] S104, determining whether the moving body has reached the target point, if so, terminating; if not, repeating step S103.

[0132] As a preferred embodiment, Figure 2 As shown, the global path planning system based on the improved artificial potential field method provided by the embodiment of the present invention specifically includes the following steps:

[0133] Step 1: Map modeling and static obstacle recognition

[0134] First, the map is evenly divided into multiple grids according to the grid method, and then scaled to improve the modeling accuracy. Obstacles with a certain projection area are divided into integer grids, represented by 1; the grid of the passable water surface area is represented by 0.

[0135] Secondly, after the static obstacles are converted into discrete coordinates by the grid method, the obstacle coordinates are screened to improve their recognition performance and ensure the real-time performance of the path planning algorithm. In order to ensure the efficiency of selecting the next target point, Figure 3 As shown in the figure, with the unmanned boat as the center, its heading angle from the left direction (0º) to the right direction (180º) is divided into Only consider The virtual repulsive field generated by the discrete coordinates of obstacles at different angles is used to improve the computational efficiency of the trajectory planning algorithm while ensuring the accuracy of map modeling, and achieve a higher path planning effect.

[0136] Step 2: Calculate the net force on the moving body

[0137] First, the gravity generated by the target point is calculated according to the improved gravity function. The improved gravity function expression is as follows:

[0138]

[0139] in, is the gravitational coefficient, is the minimum distance of gravity, is the distance from the moving body to the target point, is the minimum value of gravity. Figure 4As shown, when the moving body is away from the target point Less than the minimum distance of gravity , the gravity is fixed to the minimum value, thus preventing the gravity from gradually decreasing to 0.

[0140] Secondly, determine whether there are obstacles in the direction of the moving body to the target point. If not, set the repulsive force to 0; if so, determine whether the angle difference between the repulsive force and the attractive force is too small. The repulsive force direction adjustment function is as follows:

[0141]

[0142] in, is the repulsive force direction angle; is the gravitational direction angle; Fine-tune the size of the repulsive force direction; Adjust the threshold for the direction angle. When the angle between the repulsive force and the attractive force satisfies the above formula, select the corresponding formula to adjust the repulsive force direction.

[0143] Again, the repulsion force on the moving body is calculated according to the improved repulsion function. The improved repulsion function expression is as follows:

[0144]

[0145] in, is the repulsion coefficient, is the distance from the moving body to the target point, is the radius of the obstacle, For the sports body When the moving body approaches an obstacle near the target point, in order to control the repulsive force from being too large, the magnitude of the repulsive force is multiplied by the distance from the moving body to the target point. is the distance between the moving body and the target point Second power, To improve the empirical value of the function, it is generally taken as 2.

[0146] When the static obstacles are complexly distributed, such as Figure 5 As shown, it is judged whether the change of the front and rear angle of the path is too large. If it exceeds the critical value, a "shock" reaction occurs, and the repulsion coefficient needs to be reduced to reduce the impact of the complex distribution of obstacles on the route trajectory.

[0147] Finally, the resultant force acting on the moving body is obtained by superimposing the calculated gravitational force and repulsive force.

[0148] Step 3: Calculate the coordinates and speed of the next point of the moving body

[0149] The coordinates and velocity of the next point of the moving body are determined according to the resultant force acting on the moving body and the dynamic constraints of the moving body until the target point is reached.

[0150] like Figure 6 As shown, the global path planning system based on the improved artificial potential field method provided by the embodiment of the present invention includes:

[0151] A coordinate system construction module is used to identify the location of static obstacles in the water environment and construct a two-dimensional water coordinate system;

[0152] The constraint condition determination module is used to determine the starting point and end point coordinates, initial angle, velocity and angular velocity constraints of the moving body;

[0153] The two-dimensional matrix information conversion module takes the moving body as the center, identifies the distance of static obstacles in all directions, and converts the map environment into two-dimensional matrix information using the grid method of optimized recognition;

[0154] The repulsion / gravity calculation module calculates the repulsion generated by obstacles within the repulsion influence distance according to the improved repulsion function, and calculates the gravity generated by the target point according to the improved gravity function;

[0155] The repulsion / gravity adjustment module is used to determine whether there are obstacles in the straight line from the moving body to the target point. If not, the repulsion magnitude is set to 0; if so, the angle difference between the repulsion and gravity is calculated to see if it meets the required range; if not, the repulsion direction and repulsion coefficient are adjusted; otherwise, the repulsion function remains unchanged. The next speed magnitude and direction are determined based on the resultant force of the repulsion and gravity and the unmanned boat dynamics constraints;

[0156] The target point judgment module is used to judge whether the moving body has reached the target point. If it has, it will terminate; if not, it will return to the repulsion / attraction calculation module.

[0157] An application embodiment of the present invention provides a computer device, which includes a memory and a processor. The memory stores a computer program. When the computer program is executed by the processor, the processor executes the steps of a global path planning method based on an improved artificial potential field method.

[0158] An application embodiment of the present invention provides a computer-readable storage medium storing a computer program. When the computer program is executed by a processor, the processor executes the steps of a global path planning method based on an improved artificial potential field method.

[0159] An application embodiment of the present invention provides an information data processing terminal, which is used to implement a global path planning system based on an improved artificial potential field method.

[0160] Preferably, the global path planning method based on the improved artificial potential field method provided in the embodiment of the present invention uses the improved artificial potential field method as the global path planning:

[0161] According to the water environment and the position of static obstacles, a two-dimensional water coordinate system is constructed to determine the starting and ending coordinates, initial angle and other spatial geometric information of the unmanned boat; the unmanned boat is evenly divided from left to right. With unmanned boat as the center, identification The distance of static obstacles in the direction; the repulsion generated by obstacles within the repulsion influence distance is calculated according to the improved repulsion function, and the gravitational force generated by the target point is calculated according to the improved gravitational function; it is determined whether there are obstacles in the straight line from the moving body to the target point. If not, the repulsion magnitude is set to 0; if so, it is calculated whether the angle difference between the repulsion and gravitation meets the required range; if not, the repulsion direction and repulsion coefficient are adjusted; otherwise, the repulsion function remains unchanged; the next speed magnitude and direction are determined according to the resultant force of the superposition of repulsion and gravitation and the unmanned boat dynamics constraints until the unmanned boat reaches the target point.

[0162] In order to verify the effect of the improved artificial potential field method in path planning, the obstacle avoidance test for randomly distributed static obstacles was designed using simulation software. In order to reflect the optimization effect after improvement, the artificial potential field method before and after improvement was tested. The simulation parameters are set as follows:

[0163] Set the test map size to , randomly add 20 circular static obstacles, set the obstacle pixel diameters to 20, 30, 40, 50 and 60 respectively, and the arrangement spacing is twice the diameter size; according to the obstacle distribution, set the starting point coordinates to The end point coordinates are , the initial angle of the starting point is 0°.

[0164] like Figure 7 As shown, 8 maps are repeatedly set using simulation parameters, and the paths are planned using the artificial potential field method before and after the improvement. The comparison algorithm of the same map sets the same repulsion and attraction coefficients, start and end point information, and compares the trajectory length and turning angle changes before and after the improvement.

[0165] As shown in Table 1, among the 8 randomly set map plans:

[0166] (1) The planning success rate of the traditional artificial potential field method is 62.5%, and the planning success rate of the improved artificial potential field method is 100%.

[0167] (2) In the five cases where both algorithms were successful, compared with the traditional artificial potential field method, the number of path points of the improved artificial potential field method was reduced by an average of 14.29%, and the absolute cumulative value of each corner change was reduced by an average of 85.39%.

[0168] Therefore, in an environment with complex static obstacle distribution, the improved artificial potential field algorithm can effectively improve the success rate of global path planning, reduce the change of path length and turning angle, make the path smoother, and effectively improve the efficiency of path planning.

[0169] Table 1: Planning path data record table of 8 maps

[0170]

[0171] like Figure 8 As shown in the figure, the traditional artificial potential field method has the following main defects: Figure 8 (a) The map construction problem in the figure; Figure 8 The target is unreachable in (b) of the figure; Figure 8 The local optimal point problem in Figure (c) of Figure 1 is solved by improving the artificial potential field method, which uses optimization models and improved functions to solve the above problems one by one.

[0172] (1) Map construction issues

[0173] The traditional artificial potential field method can only avoid simple obstacle coordinates. If the influence of all obstacle coordinates in the water area is considered to construct the potential field map, there will often be problems such as excessive calculation amount, long calculation time and planning path passing through the obstacle area.

[0174] In order to simplify the calculation amount, shorten the calculation time and improve the calculation efficiency of the algorithm, and considering that the unmanned boat does not have the instruction to retreat during the autonomous recovery path planning process, such as Figure 3 As shown in the figure, with the unmanned boat as the center, its heading angle is evenly divided from the left direction (0°) to the right direction (180°). Only consider To determine the most suitable number of angles for the test map, Simulations were performed at 4 to 20 different scenarios.

[0175] like Fig. 9 As shown, according to the stability of the simulation path planning time and length, the number of angles suitable for the test map is selected; for Size map, choose =10~14, the path planning and length results are relatively stable, and the final optimal =12.

[0176] (2) Target unreachable problem

[0177] When the traditional artificial potential field method faces obstacles near the target point, the target will be unreachable. This is because when the moving body approaches the target point, the repulsive force generated by the obstacle increases as the distance between the moving body and the obstacle decreases, while the gravitational force generated by the target point decreases as the distance between the moving body and the target point decreases. As a result, the repulsive force is greater than the gravitational force when the moving body approaches the target point, and the moving body cannot reach the target point smoothly, and is prone to wandering near the target point.

[0178] The improved artificial potential field method solves the problem of unreachable targets by setting the minimum value of the attraction function and introducing the distance from the target point into the repulsion function. Fig.10 As shown in the figure, the improved planned trajectory can normally reach the target point near the static obstacle.

[0179] (3) Local optimal point problem

[0180] According to the principle of traditional artificial potential field method, when the direction vectors of repulsion and attraction are almost coincident, or when the distribution of obstacles is complex, the moving body is likely to fall into the local optimal point and stop moving or linger.

[0181] The improved artificial potential field method avoids the local optimal point generated in the planning path by changing the direction of repulsion and reducing the magnitude of the repulsion coefficient. Fig.11 As shown in , when the repulsive force and the attractive force are in the same straight line direction, the improved artificial potential field method can bypass the local optimal point to reach the target point; Figure 5 As shown in Figure (a), when multiple obstacles are densely distributed around the path of the moving body, the traditional artificial potential field method will show an "oscillation" response when planning the path; Figure 5 As shown in Figure (b), compared with before and after the improved artificial potential field algorithm, the number of path points is reduced from 108 to 88, and the angle change value is reduced by 34.2%, which effectively solves the "oscillation" reaction and avoids the planned trajectory from falling into the local optimal point.

[0182] It should be noted that the embodiments of the present invention can be implemented by hardware, software, or a combination of software and hardware. The hardware part can be implemented using dedicated logic; the software part can be stored in a memory and executed by an appropriate instruction execution system, such as a microprocessor or dedicated design hardware. It can be understood by a person of ordinary skill in the art that the above-mentioned devices and methods can be implemented using computer executable instructions and / or contained in a processor control code, such as a carrier medium such as a disk, CD or DVD-ROM, a programmable memory such as a read-only memory (firmware), or a data carrier such as an optical or electronic signal carrier. Such code is provided on the carrier medium. The device and its modules of the present invention can be implemented by hardware circuits such as very large-scale integrated circuits or gate arrays, semiconductors such as logic chips, transistors, etc., or programmable hardware devices such as field programmable gate arrays, programmable logic devices, etc., can also be implemented by software executed by various types of processors, and can also be implemented by a combination of the above-mentioned hardware circuits and software, such as firmware.

[0183] 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 modifications, equivalent substitutions and improvements made by any technician familiar with the technical field within the technical scope disclosed by the present invention and within the spirit and principle of the present invention should be covered by the protection scope of the present invention.

Claims

1. A global path planning method based on an improved artificial potential field method, characterized in that: A two-dimensional water coordinate system is constructed based on the water environment and the position of static obstacles to determine the required spatial geometric information; the next speed and direction are determined based on the improved repulsion and gravitational functions combined with the unmanned boat dynamics constraints until the unmanned boat reaches the target point; The improved repulsion function and the improved attraction function are as follows: First, a two-dimensional water coordinate system is constructed based on the water environment and the position of static obstacles. Assuming that the current position coordinates of the unmanned boat are , the coordinate position of the path target point is , No. The position coordinates of the obstacles are ; Secondly, according to the principle of the traditional artificial potential field method, there is a problem that the target point is unreachable: when the unmanned boat approaches the target point, the gravitational force it receives will gradually decrease to 0, and it will be unable to reach the target point; When there is an obstacle next to the target point, the repulsive force on the unmanned boat gradually increases, and the direction of the resultant force on the unmanned boat is opposite to the target point, so the target point cannot be reached. Therefore, the above problem is solved by setting the minimum value of the gravity function and introducing the distance between the moving body and the target point into the repulsive function; Improved gravity function The expression is as follows: ; in, is the gravitational coefficient; is the minimum distance of gravity, is the distance from the moving body to the target point, is the minimum value of gravity; when the moving body is away from the target point Less than the minimum distance of gravity When , the gravity is fixed to the minimum value, thus preventing the gravity from gradually decreasing to 0; The improved repulsion function expression is as follows: ; in, is the repulsion coefficient, is the distance from the moving body to the target point, is the radius of the obstacle, For the sports body When the moving body approaches the obstacle near the target point, in order to control the repulsive force from being too large, the repulsive force is multiplied by the distance from the moving body to the target point. is the distance between the moving body and the target point Second power, To improve the empirical value of the function; Single obstacles vertically distributed on the line connecting the moving body and the target point include: When a single obstacle is vertically distributed on the line between the moving body and the target point, because the directions of gravity and repulsion almost coincide, the path planning and obstacle avoidance often stops halfway or collides with it because it is too late to avoid it. Therefore, the direction of repulsion is calculated first. Direction of gravity The angle difference between the two is used to determine whether there is a problem of falling into the local optimal point according to the size of the difference angle; if so, adjust the direction of the repulsive force to make the moving body jump out of the local optimal point. The repulsive force direction adjustment function is as follows: ; in, is the repulsive force direction angle; is the gravitational direction angle; Fine-tune the size of the repulsive force direction; is the direction angle adjustment threshold; when the angle between repulsion and attraction satisfies the above formula, select the corresponding formula to adjust the direction of repulsion; after the repulsion direction function is adjusted, the planned path can smoothly avoid obstacles and reach the target point.

2. The global path planning method based on the improved artificial potential field method according to claim 1, characterized in that: Improved artificial potential field method to optimize the identification of static obstacles includes: First, the map is evenly divided into multiple grids according to the grid method, and the scale is performed to improve the modeling accuracy; obstacles with a certain projection area are divided into integer grids, represented by 1; and the grid of the passable water surface area is represented by 0; Secondly, after the static obstacles are converted into discrete coordinates by the grid method, the obstacle coordinates are screened to improve the recognition performance and ensure the real-time performance of the path planning algorithm. In order to ensure the efficiency of selecting the next target point, the heading angle of the unmanned boat is divided into 0° from the left to 180° from the right. Only consider The virtual repulsive field generated by the discrete coordinates of obstacles at different angles is created; while ensuring the accuracy of map modeling, the computational efficiency of the trajectory planning algorithm is improved, and a higher path planning effect is achieved.

3. The global path planning method based on the improved artificial potential field method according to claim 1, characterized in that: The process of calculating the coordinates and velocity of the next point by improving the artificial potential field method is as follows: The gravitational force generated by the target point is calculated according to the improved gravitational function, and at the same time, it is determined whether there are static obstacles in the straight line direction from the moving body to the target point; if not, there is no need to consider the repulsive effect of the obstacle; if yes, the static obstacle in the identification direction is used to calculate the repulsive force on the moving body using the improved repulsive function; the coordinates and speed of the next point are determined by the resultant force of the repulsion and gravitation and the dynamic constraints of the unmanned boat until the unmanned boat reaches the target point.

4. The global path planning method based on the improved artificial potential field method as claimed in claim 3, characterized in that: Multiple obstacles densely distributed around the path of the moving body include: When multiple obstacles are densely distributed around the path of the moving body, the path is prone to "oscillation" reaction, which increases the length of the planned path and reduces the efficiency of the algorithm. According to the change in the angle before and after the calculated path, it is judged whether the angle change value exceeds the critical value. If so, an "oscillation" reaction occurs, and the repulsion coefficient is reduced to reduce the impact of the complex distribution of obstacles on the path trajectory. At the same time, in order to further reduce the length of the planned path, if there is no static obstacle distribution on the line connecting the moving body and the target point, the impact of repulsion on the path of the moving body is not considered.

5. A global path planning system for implementing the global path planning method based on the improved artificial potential field method as claimed in any one of claims 1 to 4, characterized in that: include: A coordinate system construction module is used to identify the location of static obstacles in the water environment and construct a two-dimensional water coordinate system; The constraint condition determination module is used to determine the starting point and end point coordinates, initial angle, velocity and angular velocity constraints of the moving body; The two-dimensional matrix information conversion module takes the position of the moving body as the center, identifies the distance of static obstacles in each direction, and converts the map environment into two-dimensional matrix information using the grid method of optimized recognition; The repulsion / gravity calculation module calculates the repulsion generated by obstacles within the repulsion influence distance according to the improved repulsion function, and calculates the gravitational force generated by the target point according to the improved gravitational function; The repulsion / attraction adjustment module is used to determine whether there are obstacles in the straight line from the moving body to the target point. If not, the repulsion magnitude is set to 0; If yes, calculate whether the angle difference between repulsion and gravity meets the required range; if not, adjust the repulsion direction and repulsion coefficient; otherwise, the repulsion function remains unchanged; determine the next speed and direction based on the resultant force of repulsion and gravity and the unmanned boat dynamics constraints; The target point judgment module is used to judge whether the moving body has reached the target point. If it has, it will terminate; if not, it will return to the repulsion / attraction calculation module.

6. A computer device, comprising a memory and a processor, wherein the memory stores a computer program, and when the computer program is executed by the processor, the processor executes the steps of the global path planning method based on the improved artificial potential field method as described in any one of claims 1 to 4.

7. An unmanned boat global path planning system based on the global path planning method based on the improved artificial potential field method according to claim 1, characterized in that: include: The environment initialization module is used to receive sensor data to construct a two-dimensional water coordinate system and set the start point, end point, initial angle, speed and angular velocity constraints of the unmanned boat; The rasterization map module is used to discretize the continuous water environment into two-dimensional matrix information to represent the occupancy status of each area; The path planning module uses an improved artificial potential field method to calculate the repulsive force generated by static obstacles and the gravitational force generated by the target point, and combines the dynamic constraints of the unmanned boat to plan a global path to avoid obstacles; The navigation decision-making and execution module calculates the speed and direction of the next step based on the planned path and the dynamic constraints of the unmanned boat, and adjusts the navigation strategy in real time until the unmanned boat safely reaches the destination.

8. The unmanned boat global path planning system according to claim 7, characterized in that: The path planning module also includes: The repulsion and gravitation calculation unit is used to calculate the repulsion generated by obstacles within the repulsion influence distance and the gravitation generated by the target point according to the current position of the unmanned boat and the rasterized map information; The path planning iteration unit is used to determine whether the unmanned boat has reached the target point. If not, it will repeatedly calculate the repulsion and attraction and plan the next movement path until the unmanned boat safely reaches the target point.

Citation Information

Patent Citations

  • Ship path planning method and device based on clustering processing and artificial potential field

    CN112650237A

  • Artificial potential field path planning method considering angular velocity constraint and improved repulsive force field

    CN112965471A

Cited By

  • Three-dimensional path planning method based on multi-force-field collaborative optimization

    CN122732761A