Unmanned surface vehicle mixed path planning method considering underwater obstacles
Through the improved A* algorithm and dynamic window method, combined with the underwater obstacle model and water depth value, the unmanned boat path planning is optimized, which solves the safety problems caused by underwater obstacles in complex environments and improves the navigation of unmanned boats. Security.
Patent Information
- Application Number
- CN202410724271.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-05
- Publication Date
- 2024-10-08
AI Technical Summary
Existing unmanned boat path planning technology fails to effectively consider underwater obstacles in complex environments, resulting in problems such as inability to safely avoid and serious deviation from the route.
The improved A* algorithm is used, combined with the underwater obstacle model and water depth value, and the path planning is optimized to improve the safety of unmanned boats in complex environments by constructing rasterized maps and dynamic window methods.
It improves the search safety of unmanned boats in static known complex environments, effectively avoids underwater obstacles, reduces deviations from the route, and enhances navigation safety.
Smart Images

Figure CN118747003A_ABST
Abstract
Description
Technical Field
[0001] The invention relates to the technical field of unmanned boat route planning, and in particular to a hybrid path planning method for a surface unmanned boat taking underwater obstacles into consideration. Background Art
[0002] An unmanned surface vehicle is an unmanned device that can autonomously navigate on the water. It is usually composed of a hull, a power system, a navigation system, a communication system, and a payload system. Among them, the path planning module is an important part of the navigation system of the unmanned vehicle. However, from the existing research, the path planning technology of the unmanned vehicle is relatively backward compared with the research of other unmanned devices under the constraints of complex environments, and a safer path planning and obstacle avoidance algorithm has not yet been formed.
[0003] At present, the path planning and obstacle avoidance algorithms that are widely used include the A* algorithm, the ant colony algorithm, the artificial potential field method, the speed obstacle method, the dynamic window method, etc. Since most path planning and obstacle avoidance algorithms do not consider complex environmental constraints such as wind, waves and currents, underwater obstacle constraints, etc., their evaluation functions tend to choose the solution with the smallest direction deviation and moving distance cost. Without comprehensive consideration of safety, there will be situations where underwater obstacles cannot be safely avoided and the route may be seriously deviated due to measurement, calculation errors and environmental factors.
[0004] The patent application with publication number CN110703762 discloses a hybrid path planning method for surface unmanned boats in complex environments. In terms of global path planning, the above patent proposes an improved A* algorithm with a variable step size, which adjusts the step size according to whether the current position and the target point are reachable, thereby reducing the search range, but cannot avoid underwater obstacles in complex marine environments; in terms of local path planning, the above patent adds a predicted trajectory and a global path deviation term based on the traditional dynamic window method, thereby improving the obstacle avoidance effect of the surface unmanned boat in conflict scenarios, but cannot solve the problem of the unmanned boat deviating from its route due to water flow in the marine environment. Summary of the invention
[0005] In view of the above-mentioned defects, the purpose of the present invention is to propose a hybrid path planning method for a surface unmanned boat taking into account underwater obstacles, so as to improve the safety of the unmanned boat searching in a static known complex environment.
[0006] To achieve this purpose, the present invention adopts the following technical solution: a hybrid path planning method for a surface unmanned boat considering underwater obstacles, comprising the following steps:
[0007] Step S1: constructing an underwater obstacle model, and mapping the underwater obstacle model to a two-dimensional map, wherein the two-dimensional map is a rasterized map;
[0008] Define the state of the grid on the map based on underwater obstacles and water depth values;
[0009] Step S2: modifying the A* algorithm according to the state of the grid, and searching according to the modified A* algorithm to obtain a preliminary path;
[0010] Step S3: replan the paths of the nodes in the preliminary path according to the unknown environmental interference, and finally obtain the overall path.
[0011] Preferably, the underwater obstacle model in step S1 is expressed as follows:
[0012] Q(x i ,y i )=h(x i ,y i )+c i ;
[0013]
[0014] Where i is the grid number, (x i ,y i ) is the position of the i-th grid, h(x i ,y i ) is the overall height of the launching obstacle corresponding to the i-th grid position, c i is the height value of the top of the underwater obstacle that increases randomly due to environmental erosion (0≤c i ≤0.01), μ is the underwater obstacle height adjustment coefficient (0≤μ≤1), and a and b are constants.
[0015] Preferably, after the underwater obstacle model is mapped to the two-dimensional map, the water depth value l corresponding to each map grid to the underwater terrain caused by the time-varying tide is recorded;
[0016] The grid state is defined based on underwater obstacles and water depth value l, where the expression defined is as follows:
[0017]
[0018] Where D is the maximum draft of the unmanned boat, d s is the maximum sinking increment of the unmanned boat floating up and down with the natural environment, S i is the state value corresponding to the i-th grid.
[0019] Preferably, the expression formula of the improved A* algorithm is:
[0020]
[0021] in
[0022] f(i) is the total evaluation function of the grids that the unmanned boat passes through, S iis the state value corresponding to the i-th grid, g(i) is the actual cost from the starting point to the current position of the unmanned boat; h(i) is the estimated cost from the current position of the unmanned boat to the end point, and g′(m) is the actual path cost between grids.
[0023] Preferably, the method of performing the search according to the modified A* algorithm is as follows:
[0024] Step A1: Set the starting point as the first parent node, create an OPEN list and a CLOSE list to store the untraversed grid nodes and extended nodes respectively;
[0025] Step A2: adding the first parent node to the OPEN list;
[0026] Step A3: traverse the OPEN list and obtain the grid node with the minimum total evaluation function f(i) as the expansion node;
[0027] Step A4: Move the extended node to the CLOSE list;
[0028] Step A5: Selecting grid nodes in the neighborhood of the extended node;
[0029] Determine whether there is a grid node with an obstacle among the grid nodes of the eight neighborhoods or whether it already exists in the CLOSE list. If so, put the grid node with an obstacle into the CLOSE list, and the nodes in the CLOSE list do not execute step S36. The other grid nodes are put into the OPEN list.
[0030] Step S36: Determine whether there is a repeated grid node in the OPEN list. If so, obtain the sum of the actual path cost from the repeated grid node to the parent node and the actual path cost from the parent node to the starting point as the first sum G1, and obtain the original actual path cost G2 from the repeated grid node to the starting point;
[0031] Determine whether the actual cost first sum G1 is greater than the actual path cost G2. If so, set the parent node of the repeated grid nodes as the extended node.
[0032] Step A6: Repeat steps A3 to A5 for several times. If there is an end point in the OPEN list, it means that the planned path has been found, and the loop of step S37 is terminated.
[0033] Preferably, before executing step S3, the following steps need to be executed:
[0034] Determine the parent node Z n , the previous parent node Z n-1 and the next parent node Z n+1 Are the three nodes on the same straight line? If so, delete the parent node Z.n ;
[0035] If they are not on the same straight line, then determine the previous parent node Z n-1 and the next parent node Z n+1 Whether the connection between them passes through the obstacle grid node, if so, the parent node Z is retained n ;
[0036] If the obstacle grid node is not passed, the previous parent node Z is determined. n-1 and the next parent node Z n+1 Is the shortest distance between the connecting line L and the bottom scratch grid node less than the safe distance? If so, keep the parent node Z. n , if it is greater than the safety distance, delete the parent node Z n ;
[0037] The calculation formula for the safety distance is as follows:
[0038] d save =1.5max{L u ,W u}, L u ,W u They are the length and width of the unmanned surface boat respectively.
[0039] Preferably, the specific steps of step S3 are as follows:
[0040] Construct the kinematic model of the unmanned boat;
[0041] A speed window is constructed based on the limits of speed, acceleration, angular velocity, angular acceleration and braking distance;
[0042] After obtaining the speed window based on the kinematic model of the unmanned boat, multiple groups of speeds are sampled in the window, and the predicted trajectories at the next moment under these speeds are simulated; after obtaining multiple groups of predicted trajectories, the predicted trajectories are scored using the dynamic window method evaluation function, and the predicted trajectory with the highest score is retained as the path between the nodes.
[0043] Preferably, the kinematic model of the unmanned boat is as follows:
[0044]
[0045] Where x(t) and y(t) are the horizontal and vertical coordinates of the position of the unmanned surface boat at time t, respectively; v(t) and w(t) are the velocity and angular velocity of the position of the unmanned surface boat at time t, respectively; θ(t) is the angle between the motion direction of the unmanned boat and the horizontal coordinate direction at time t;
[0046] Based on the limits of speed, acceleration, angular velocity, angular acceleration and braking distance, the speed window is constructed as follows:
[0047] The constraints on the maximum and minimum speeds and angular velocities of the unmanned boat are as follows:
[0048] vm={(v,w)|v∈[v min ,v max ]∩w∈[w min ,w max ]};
[0049] The motor acceleration and deceleration constraints are as follows:
[0050]
[0051] The braking distance constraints are as follows:
[0052]
[0053] Under the condition of maximum deceleration, the surface unmanned boat needs to ensure that it can stop in front of random obstacles. The speed window obtained from the above three equations is:
[0054] v γ =v s ∩v m ∩v d ;
[0055] Where v and w are velocity and angular velocity respectively, v min ,v max are the minimum speed and maximum speed respectively, w min ,w max are the minimum angular velocity and the maximum angular velocity, v c 、v b are the acceleration and deceleration of the motor respectively, are the maximum acceleration and the maximum deceleration of the motor respectively, are the maximum angular acceleration and maximum angular deceleration of the unmanned boat, w c is the angular acceleration of the unmanned vehicle.
[0056] Preferably, the dynamic window method evaluation function is as follows:
[0057] G(v,w)=α′heading(v,w)+βdist so (v,w)+γ′vel(v,w)+δcost uo (v,w); where
[0058]
[0059] γ′=(1+F)γ;
[0060]
[0061] vel(v,w)=|v t |;
[0062] Among them, α, β, γ, and δ are the weight parameters of each evaluation sub-function, heading(v,w) is the evaluation sub-function of the azimuth angle of the key path points of the route, and dist so (v,w) is the distance evaluation sub-function from the unmanned boat to the nearest surface obstacle, vel(v,w) is the optimal speed evaluation sub-function for the unmanned boat to avoid obstacles, and cost uo (v,w) is the risk cost of unknown underwater obstacles, (g xj ,g yj ) is the coordinate of the node selected in the path, (x(t), y(t)) is the coordinate of the unmanned boat at time t, θ(t) is the angle between the moving direction of the unmanned boat and the horizontal coordinate direction at time t, is the angle between the water surface where the unmanned boat is currently located and the distance from the current position of the unmanned boat to the top of the underwater obstacle, d t is the distance from the unmanned boat to the top of the nearest unknown underwater obstacle on the route measured by the sonar carried by the unmanned boat at the current moment, F is the water flow cost, and R is the safety radius of the surface obstacle. (x so ,y so ) is the position of the nearest surface obstacle detected by the unmanned boat sensor, v t It is the linear velocity at the end of the current predicted trajectory.
[0063] One of the above technical solutions has the following advantages or beneficial effects: The present invention designs an improved A* algorithm for decision planning based on the relationship between the water level value at the current position of the unmanned boat and the height of the underwater obstacle. The grid state value is set according to the relationship between the water depth value at the current position of the unmanned boat and the overall height value of the underwater obstacle, and is added to the evaluation function of the A* algorithm to improve the safety of the unmanned boat's search in a static known complex environment. BRIEF DESCRIPTION OF THE DRAWINGS
[0064] Figure 1 is a flow chart of one embodiment of the present invention.
[0065] Figure 2 It is a grid node structure diagram in one embodiment of the present invention.
[0066] Figure 3 It is a schematic diagram of the structure of underwater obstacle threat in one embodiment of the present invention. DETAILED DESCRIPTION
[0067] The embodiments of the present invention are described in detail below, and examples of the embodiments are shown in the accompanying drawings, wherein the same or similar reference numerals represent the same or similar elements or elements having the same or similar functions from beginning to end. The embodiments described below with reference to the accompanying drawings are exemplary and are only used to explain the present invention, and cannot be understood as limiting the present invention.
[0068] In the description of the embodiments of the present invention, the terms "first" and "second" are used for descriptive purposes only and are not to be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Thus, the features defined as "first" and "second" may explicitly or implicitly include one or more of the features. In the description of the embodiments of the present invention, the meaning of "plurality" is two or more, unless otherwise clearly and specifically defined.
[0069] In addition, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Therefore, the features defined as "first" and "second" may explicitly or implicitly include one or more of the features. In the description of the present invention, unless otherwise specified, the meaning of "plurality" is two or more. For those of ordinary skill in the art, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.
[0070] like Figures 1 to 3 As shown, a hybrid path planning method for a surface unmanned vehicle considering underwater obstacles includes the following steps:
[0071] Step S1: constructing an underwater obstacle model, and mapping the underwater obstacle model to a two-dimensional map, wherein the two-dimensional map is a rasterized map;
[0072] Define the state of the grid on the map based on underwater obstacles and water depth values;
[0073] Step S2: modifying the A* algorithm according to the state of the grid, and searching according to the modified A* algorithm to obtain a preliminary path;
[0074] Step S3: replan the paths of the nodes in the preliminary path according to the unknown environmental interference, and finally obtain the overall path.
[0075] The present invention designs an improved A* algorithm for decision planning based on the relationship between the water level value at the current position of the unmanned boat and the height of the underwater obstacle. The grid state value is set according to the relationship between the water depth value at the current position of the unmanned boat and the overall height value of the underwater obstacle, and is added to the evaluation function of the A* algorithm to improve the safety of the unmanned boat's search in a static known complex environment.
[0076] Preferably, in step S1, there are motion interference factors such as water flow, surface obstacles, and underwater obstacles in the operation area of the surface unmanned boat, and traditional environmental modeling generally considers surface obstacles and free areas, which causes the unmanned boat to pass through the underwater obstacle area with a high height value, and the bottom of the boat is easy to rub against the top of the underwater obstacle, which is not conducive to the navigation safety of the unmanned boat. Therefore, in response to the above problem, this patent uses the ocean current field to simulate the water depth value from each sea surface area to the underwater terrain caused by the time-varying tide, and constructs a two-dimensional grid map including water depth, surface obstacles and underwater obstacles, etc. The underwater obstacle model is expressed as follows:
[0077] Q(x i ,y i )=h(x i ,y i )+c i ;
[0078]
[0079] Where i is the grid number, (x i ,y i ) is the position of the i-th grid, h(x i ,y i ) is the overall height of the launching obstacle corresponding to the i-th grid position, c i is the height value of the top of the underwater obstacle that increases randomly due to environmental erosion (0≤c i ≤0.01), μ is the underwater obstacle height adjustment coefficient (0≤μ≤1), and a and b are constants.
[0080] Preferably, after the underwater obstacle model is mapped to the two-dimensional map, the water depth value l corresponding to each map grid to the underwater terrain caused by the time-varying tide is recorded;
[0081] The grid state is defined based on underwater obstacles and water depth value l, where the expression defined is as follows:
[0082]
[0083] Where D is the maximum draft of the unmanned boat, d s is the maximum sinking increment of the unmanned boat floating up and down with the natural environment, S i is the state value corresponding to the i-th grid.
[0084] Preferably, the expression formula of the improved A* algorithm is:
[0085]
[0086] in
[0087] f(i) is the total evaluation function of the grids that the unmanned boat passes through, S i is the state value corresponding to the i-th grid, g(i) is the actual cost from the starting point to the current position of the unmanned boat; h(i) is the estimated cost from the current position of the unmanned boat to the end point, and g′(m) is the actual path cost between grids.
[0088] The traditional A* algorithm is a global path planning method for graph search. It only considers the distance relationship between grid nodes during the search process. The traditional A* algorithm is applied to complex marine environments. Due to the dense underwater obstacles in the marine environment, the traditional A* algorithm does not consider underwater obstacles during planning, so the planned route is unreasonable, resulting in the unmanned boat and underwater obstacles being scratched, which is not conducive to the navigation safety of the unmanned boat. Therefore, in response to the above problems, the present invention combines the traditional A* algorithm with the water depth value of the current position of the unmanned boat and the height relationship of the underwater obstacles to set the grid state value, and adds it to the evaluation function of the A* algorithm, thereby improving the safety of the unmanned boat in the complex marine environment.
[0089] Preferably, the method of performing the search according to the modified A* algorithm is as follows:
[0090] Step A1: Set the starting point as the first parent node, create an OPEN list and a CLOSE list to store the untraversed grid nodes and extended nodes respectively;
[0091] Step A2: adding the first parent node to the OPEN list;
[0092] Step A3: traverse the OPEN list and obtain the grid node with the minimum total evaluation function f(i) as the expansion node;
[0093] Step A4: Move the extended node to the CLOSE list;
[0094] Step A5: Selecting grid nodes in the neighborhood of the extended node;
[0095] Determine whether there is a grid node with an obstacle among the grid nodes of the eight neighborhoods or whether it already exists in the CLOSE list. If so, put the grid node with an obstacle into the CLOSE list, and the nodes in the CLOSE list do not execute step S36. The other grid nodes are put into the OPEN list.
[0096] Step S36: Determine whether there is a repeated grid node in the OPEN list. If so, obtain the sum of the actual path cost from the repeated grid node to the parent node and the actual path cost from the parent node to the starting point as the first sum G1, and obtain the original actual path cost G2 from the repeated grid node to the starting point;
[0097] Determine whether the actual cost first sum G1 is greater than the actual path cost G2. If so, set the parent node of the repeated grid nodes as the extended node.
[0098] Step A6: Repeat steps A3 to A5 for several times. If there is an end point in the OPEN list, it means that the planned path has been found, and the loop of step S37 is terminated.
[0099] An example is given below to explain: Figure 2 As shown in the figure, assuming that the starting point is grid node s and the end point is grid node t, grid s will be added to the OPEN list at the beginning of the search. Since there is only one grid s in the current OPEN list, grid node s is used as an extension node and moved to the CLOSE list. Then, eight grid nodes near grid node s are selected, among which grid nodes e and f are obstacle nodes. Therefore, grid nodes e and f need to be moved to the CLOSE list. The remaining abcdgh grid nodes are put into the OPEN list, and grid node abcdgh enters the OPEN list for the first time. At this time, step A3 is repeated to calculate the total evaluation of grid nodes abcdgh respectively. Function, if the c grid node is the smallest, then select the c grid node as the expansion node, and continue to check the 8 neighboring nodes jktmndsb of node c. Since the starting point s is already in the CLOSE list, the s grid node is not selected, and bd is already in the OPEN list, so it is necessary to obtain the G1 value and G2 value of the bd grid node for further judgment. The parent node of the bd grid node in the original OPEN list is s, and the parent node of the jknmt grid node not in the OPEN list is c. If the G1 value of the bd grid node is greater than the G2 value, then the parent node of the bd grid node needs to be set to c. If not, the parent node of the bd grid node is still s. Since the t grid node is in the OPEN list, the loop can be ended at this time, and the preliminary path is s→c→t.
[0100] Preferably, before executing step S3, the following steps need to be executed:
[0101] Determine the parent node Z n , the previous parent node Z n-1 and the next parent node Z n+1 Are the three nodes on the same straight line? If so, delete the parent node Z. n ;
[0102] If they are not on the same straight line, then determine the previous parent node Z n-1 and the next parent node Z n+1 Whether the connection between them passes through the obstacle grid node, if so, the parent node Z is retained n ;
[0103] If the obstacle grid node is not passed, the previous parent node Z is determined. n-1 and the next parent node Z n+1 Is the shortest distance between the connecting line L and the bottom scratch grid node less than the safe distance? If so, keep the parent node Z. n , if it is greater than the safety distance, delete the parent node Z n ;
[0104] The calculation formula for the safety distance is as follows:
[0105] d save =1.5max{L u ,W u}, L u ,W u They are the length and width of the unmanned surface boat respectively.
[0106] The above operations can reduce redundant points and retain only key parent nodes for subsequent route planning operations, which can effectively improve the overall transportation efficiency of the algorithm.
[0107] Preferably, the specific steps of step S3 are as follows:
[0108] Construct the kinematic model of the unmanned boat;
[0109] A speed window is constructed based on the limits of speed, acceleration, angular velocity, angular acceleration and braking distance;
[0110] After obtaining the speed window based on the kinematic model of the unmanned boat, multiple groups of speeds are sampled in the window, and the predicted trajectories at the next moment under these speeds are simulated; after obtaining multiple groups of predicted trajectories, the predicted trajectories are scored using the dynamic window method evaluation function, and the predicted trajectory with the highest score is retained as the path between the nodes.
[0111] The present invention designs an improved collision avoidance method which takes into account the threat detection of underwater obstacles on unknown routes based on the dynamic window method. A threat cost evaluation sub-function of underwater obstacles on unknown routes is introduced into the dynamic window method evaluation function, so that the risk cost of underwater obstacles can be evaluated according to the real-time position relationship between the unmanned boat and the unknown underwater obstacles, thereby improving the obstacle avoidance safety of the unmanned boat in dynamic and complex environments.
[0112] The present invention designs an improved collision avoidance method for adaptively tracking route target points according to environmental interference based on the dynamic window method, and improves the azimuth evaluation sub-function weight and the speed evaluation sub-function weight respectively, so that the weight size can be adjusted according to the water flow interference cost of the current navigation position of the unmanned boat, thereby preventing the unmanned boat from seriously deviating from the route due to the influence of the water flow.
[0113] Preferably, the kinematic model of the unmanned boat is as follows:
[0114]
[0115] Where x(t) and y(t) are the horizontal and vertical coordinates of the position of the unmanned surface boat at time t, respectively; v(t) and w(t) are the velocity and angular velocity of the position of the unmanned surface boat at time t, respectively; θ(t) is the angle between the motion direction of the unmanned boat and the horizontal coordinate direction at time t;
[0116] Based on the limits of speed, acceleration, angular velocity, angular acceleration and braking distance, the speed window is constructed as follows:
[0117] The constraints on the maximum and minimum speeds and angular velocities of the unmanned boat are as follows:
[0118] v m ={(v,w)|v∈[v min ,v max ]∩w∈[w min ,w max ]};
[0119] The motor acceleration and deceleration constraints are as follows:
[0120]
[0121] The braking distance constraints are as follows:
[0122]
[0123] Under the condition of maximum deceleration, the surface unmanned boat needs to ensure that it can stop in front of random obstacles. The speed window obtained from the above three equations is:
[0124] v γ =v s ∩v m ∩v d ;
[0125] Where v and w are velocity and angular velocity respectively, v min ,v max are the minimum speed and maximum speed respectively, w min ,w max are the minimum angular velocity and the maximum angular velocity, v c 、v b are the acceleration and deceleration of the motor respectively, are the maximum acceleration and the maximum deceleration of the motor respectively, are the maximum angular acceleration and maximum angular deceleration of the unmanned boat, w c is the angular acceleration of the unmanned vehicle.
[0126] Preferably, the dynamic window method evaluation function is as follows:
[0127] G(v,w)=α′heading(v,w)+βdist so (v,w)+γvel(v,w)+δcost uo (v,w); where γ′=(1+F)γ;
[0128] vel(v,w)=|v t |;
[0129] Among them, a, β, γ, and δ are the weight parameters of each evaluation sub-function, heading(v,w) is the evaluation sub-function of the azimuth angle of the key path points of the route, and dist so (v,w) is the distance evaluation sub-function from the unmanned boat to the nearest surface obstacle, vel(v,w) is the optimal speed evaluation sub-function for the unmanned boat to avoid obstacles, and cost uo (v,w) is the risk cost of unknown underwater obstacles, (g xj ,g yj ) is the coordinate of the node selected in the path, (x(t), y(t)) is the coordinate of the unmanned boat at time t, θ(t) is the angle between the moving direction of the unmanned boat and the horizontal coordinate direction at time t, is the angle between the water surface where the unmanned boat is currently located and the distance from the current position of the unmanned boat to the top of the underwater obstacle, d t is the distance from the unmanned boat to the top of the nearest unknown underwater obstacle on the route measured by the sonar carried by the unmanned boat at the current moment, F is the water flow cost, and R is the safety radius of the surface obstacle. (x so ,y so ) is the position of the nearest surface obstacle detected by the unmanned boat sensor, v t It is the linear velocity at the end of the current predicted trajectory.
[0130] The distance evaluation subfunction of the traditional dynamic window method only considers the unknown surface obstacles around the current navigation position of the unmanned boat. However, the unmanned boat tracks the global route in the actual navigation environment. There are some unknown underwater obstacles with higher heights than the route water depth, which makes the unmanned boat prone to bottom scratches, which is not conducive to the safe navigation of the unmanned boat. Therefore, this patent introduces the underwater obstacle threat cost to address the above problems. uo (v,w) Figure 3 At the same time, when the unmanned boat tracks a long route in a dynamic and complex environment, it is easily affected by factors such as water flow, causing the unmanned boat to deviate from the route. This patent adds weight coefficients α′ and γ′ that take environmental factors into consideration, so that it can adjust the route according to the current unknown water flow cost of the unmanned boat.
[0131] In one embodiment, the water flow cost can be selected by referring to the following table:
[0132]
[0133] where v t is the current speed of the unmanned boat, v i The water speed sensor carried by the unmanned boat measures the water flow speed at the current position, and ω is the angle between the navigation direction of the unmanned boat and the water flow direction.
[0134] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "illustrative embodiments", "examples", "specific examples", or "some examples" means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present invention. In this specification, the schematic representation of the above terms does not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner.
[0135] Although the embodiments of the present invention have been shown and described, it will be appreciated by those skilled in the art that various changes, modifications, substitutions and variations may be made to the embodiments without departing from the principles and spirit of the present invention, and that the scope of the present invention is defined by the claims and their equivalents.
Claims
1. A hybrid path planning method for a surface unmanned vehicle considering underwater obstacles, characterized in that: The steps include: Step S1: constructing an underwater obstacle model, and mapping the underwater obstacle model to a two-dimensional map, wherein the two-dimensional map is a rasterized map; Define the state of the grid on the map based on underwater obstacles and water depth values; Step S2: modifying the A* algorithm according to the state of the grid, and searching according to the modified A* algorithm to obtain a preliminary path; Step S3: replan the paths of the nodes in the preliminary path according to the unknown environmental interference, and finally obtain the overall path.
2. A hybrid path planning method for a surface unmanned vehicle considering underwater obstacles according to claim 1, characterized in that: The underwater obstacle model in step S1 is expressed as follows: Q(x i ,y i )=h(x i ,y i )+c i ; Where i is the grid number, (x i ,y i ) is the position of the i-th grid, h(x i ,y i ) is the overall height of the launching obstacle corresponding to the i-th grid position, c i is the height value of the top of the underwater obstacle that increases randomly due to environmental erosion (0≤c i ≤0.01), μ is the underwater obstacle height adjustment coefficient (0≤μ≤1), and a and b are constants.
3. The hybrid path planning method for a surface unmanned vehicle considering underwater obstacles according to claim 2 is characterized in that: After the underwater obstacle model is mapped to the two-dimensional map, the water depth value l corresponding to each map grid to the underwater terrain caused by the time-varying tide is recorded; The grid state is defined based on underwater obstacles and water depth value l, where the expression defined is as follows: Where D is the maximum draft of the unmanned boat, d s is the maximum sinking increment of the unmanned boat floating up and down with the natural environment, S i is the state value corresponding to the i-th grid, where 1 / (lDQ(x i ,y i )) is the grid status value of the ship bottom scratch resistance, and inf means infinity.
4. The hybrid path planning method for a surface unmanned vehicle considering underwater obstacles according to claim 3 is characterized in that: The expression formula of the improved A* algorithm is: in f(i) is the total evaluation function of the grids that the unmanned boat passes through, S i is the state value corresponding to the i-th grid, and g(i) is the actual cost from the starting point to the current position of the unmanned boat; h(i) is the estimated cost from the current position of the unmanned boat to the end point, and g′(m) is the actual path cost between grids.
5. The hybrid path planning method for a surface unmanned vehicle considering underwater obstacles according to claim 3 is characterized in that: The specific method of searching according to the modified A* algorithm is as follows: Step A1: Set the starting point as the first parent node, create an OPEN list and a CLOSE list to store the untraversed grid nodes and extended nodes respectively; Step A2: adding the first parent node to the OPEN list; Step A3: traverse the OPEN list and obtain the grid node with the minimum total evaluation function f(i) as the expansion node; Step A4: Move the extended node to the CLOSE list; Step A5: Selecting grid nodes in the neighborhood of the extended node; Determine whether there is a grid node with an obstacle among the grid nodes of the eight neighborhoods or whether it already exists in the CLOSE list. If so, put the grid node with an obstacle into the CLOSE list, and the nodes in the CLOSE list do not execute step S36. The other grid nodes are put into the OPEN list. Step S36: Determine whether there is a repeated grid node in the OPEN list. If so, obtain the sum of the actual path cost from the repeated grid node to the parent node and the actual path cost from the parent node to the starting point as the first sum G1, and obtain the original actual path cost G2 from the repeated grid node to the starting point; Determine whether the actual cost first sum G1 is greater than the actual path cost G2. If so, set the parent node of the repeated grid nodes as the extended node. Step A6: Repeat steps A3 to A5 for several times. If there is an end point in the OPEN list, it means that the planned path has been found, and the loop of step S37 is terminated.
6. The hybrid path planning method for a surface unmanned vehicle considering underwater obstacles according to claim 1 is characterized in that: Before executing step S3, the following steps need to be performed: Determine the parent node Z n , the previous parent node Z n-1 and the next parent node Z n+1 Are the three nodes on the same straight line? If so, delete the parent node Z. n ; If they are not on the same straight line, then determine the previous parent node Z n-1 and the next parent node Z n+1 Whether the connection between them passes through the obstacle grid node, if so, the parent node Z is retained n ; If the obstacle grid node is not passed, the previous parent node Z is determined. n-1 and the next parent node Z n+1 Is the shortest distance between the connecting line L and the bottom scratch grid node less than the safe distance? If so, keep the parent node Z. n , if it is greater than the safety distance, delete the parent node Z n ; The calculation formula for the safety distance is as follows: d save =1.5max{L u ,W u }, L u ,W u They are the length and width of the unmanned surface boat respectively.
7. The hybrid path planning method for a surface unmanned vehicle considering underwater obstacles according to claim 1 is characterized in that: The specific steps of step S3 are as follows: Construct the kinematic model of the unmanned boat; A speed window is constructed based on the limits of speed, acceleration, angular velocity, angular acceleration and braking distance; After obtaining the speed window based on the kinematic model of the unmanned boat, multiple groups of speeds are sampled in the window, and the predicted trajectories at the next moment under these speeds are simulated; after obtaining multiple groups of predicted trajectories, the predicted trajectories are scored using the dynamic window method evaluation function, and the predicted trajectory with the highest score is retained as the path between the nodes.
8. The hybrid path planning method for a surface unmanned vehicle considering underwater obstacles according to claim 7 is characterized in that: The specific model of the unmanned boat kinematic model is as follows: Where x(t) and y(t) are the horizontal and vertical coordinates of the position of the unmanned surface boat at time t, respectively; v(t) and w(t) are the velocity and angular velocity of the position of the unmanned surface boat at time t, respectively; θ(t) is the angle between the motion direction of the unmanned boat and the horizontal coordinate direction at time t; Based on the limits of speed, acceleration, angular velocity, angular acceleration and braking distance, the speed window is constructed as follows: The constraints on the maximum and minimum speeds and angular velocities of the unmanned boat are as follows: v m ={(v,w)|v∈[v min ,v max ]∩w∈[w min ,w max ]}; The motor acceleration and deceleration constraints are as follows: The braking distance constraints are as follows: Under the condition of maximum deceleration, the surface unmanned boat needs to ensure that it can stop in front of random obstacles. The speed window obtained from the above three equations is: v γ =v s ∩v m ∩v d ; Where v and w are velocity and angular velocity respectively, v min ,v max are the minimum speed and maximum speed respectively, w min ,w max are the minimum angular velocity and the maximum angular velocity, v c 、v b are the acceleration and deceleration of the motor respectively, are the maximum acceleration and the maximum deceleration of the motor respectively, are the maximum angular acceleration and maximum angular deceleration of the unmanned boat, w c is the angular acceleration of the unmanned vehicle.
9. A hybrid path planning method for a surface unmanned vehicle considering underwater obstacles according to claim 8, characterized in that: The dynamic window method evaluation function is as follows: G(v,w)=α′heading(v,w)+βdist so (v,w)+γ′vel(v,w)+δcost uo (v,w); in vel(v,w)=|v t |; Among them, α, β, γ, and δ are the weight parameters of each evaluation sub-function, heading(v,w) is the evaluation sub-function of the azimuth angle of the key path points of the route, and dist so (v,w) is the distance evaluation sub-function from the unmanned boat to the nearest surface obstacle, vel(v,w) is the optimal speed evaluation sub-function for the unmanned boat to avoid obstacles, and cost uo (v,w) is the risk cost of unknown underwater obstacles, (g xj ,g yj ) is the coordinate of the node selected in the path, (x(t), y(t)) is the coordinate of the unmanned boat at time t, θ(t) is the angle between the moving direction of the unmanned boat and the horizontal coordinate direction at time t, is the angle between the water surface where the unmanned boat is currently located and the distance from the current position of the unmanned boat to the top of the underwater obstacle, d t is the distance from the unmanned boat to the top of the nearest unknown underwater obstacle on the route at the current moment measured by the sonar carried by the unmanned boat, F is the water flow cost, R is the safety radius of the surface obstacle, r' is the safety radius of the unknown underwater obstacle prohibited area, (x so ,y so ) is the position of the nearest surface obstacle detected by the unmanned boat sensor, v t It is the linear velocity at the end of the current predicted trajectory.
Citation Information
Cited By
Ground unmanned equipment cluster path planning and formation control method
CN119311015A
Path planning method and system for automatic driving trolley
CN119472685A
Path Planning Method and System for an Autonomous Vehicle
CN119472685B
Autonomous underwater robot navigation path planning method, device and system
CN119555085A
Ocean robot obstacle avoidance trajectory planning method and system considering flow-induced position deviation
CN119759027A
