Path planning method of underwater multi-legged robot for walkable wall surface
By grating and obstruction marking of the environmental map of underwater multifoot robots and optimizing the path with the evaluation function, the problem that traditional underwater vehicles cannot be suitable for underwater multifoot robot path planning is solved, and the path safety is improved and resistance to current.
Patent Information
- Application Number
- CN202411009916.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-26
- Publication Date
- 2024-11-15
AI Technical Summary
Traditional underwater vehicles cannot be directly applicable to underwater multi-foot robots in the path planning of walkable walls, and the strategy of path planning in complex obstacle distribution environments cannot effectively avoid current energy consumption and safety issues.
By grating the environmental map of the underwater multifoot robot, marking the accessible grating nodes and obstacles, building an evaluation function, combining Euclidean distance and energy consumption equivalent path length, planning a path that maintains a safe distance from obstacles, , optimize current resistance.
It improves the path safety and anti-current interference capability of underwater multifoot robots, reduces energy consumption, and realizes effective path planning in complex environments.
Smart Images

Figure CN118960734A_ABST
Abstract
Description
Technical Field
[0001] The invention relates to the technical field of underwater robots, and in particular to a path planning method for an underwater multi-legged robot on a walkable wall. Background Art
[0002] Because underwater multi-legged robots have the ability to walk on walls and work at close range, they can effectively perform designated tasks on the seabed, shallows, or other walls that require close observation or work. Path planning is one of the core technologies that promote the intelligence of underwater robots. Therefore, based on the ability of underwater multi-legged robots to walk on walls, the applicability of path planning of underwater multi-legged robots in complex obstacle distribution environments is improved, the energy consumption impact of ocean currents is reduced, and the path safety of underwater multi-legged robots near obstacles and under ocean current interference is improved.
[0003] Path planning refers to planning an effective path that does not collide with obstacles based on the starting point, end point and map information. Traditional underwater vehicles do not have the function of crawling on walkable walls, and their path planning strategies cannot be directly applied to underwater multi-legged robots. Therefore, it is very necessary to provide a path planning method for underwater multi-legged robots for walkable walls, which can effectively identify obstacles that can be avoided and improve the ability to resist ocean currents. Summary of the invention
[0004] In view of this, the present invention proposes a path planning method for an underwater multi-legged robot for a walkable wall, which can fully consider factors such as the size of underwater currents, the safe distance of obstacles and walkable walls, and use the walkable walls to resist the influence of currents and improve the ability to resist cross-currents.
[0005] The present invention provides a path planning method for an underwater multi-legged robot on a walkable wall, comprising the following steps:
[0006] S1: gridding the environment map in which the underwater multi-legged robot moves, and obtaining a grid map with grid nodes;
[0007] S2: Mark each reachable grid node and obstacle, and update the grid map information;
[0008] S3: According to the grid map, the starting point and the end point, an effective path is planned to keep a safe distance from obstacles; the starting point is added to the open set, and it is checked whether the grid nodes in the current open set can reach the end point. If the end point can be reached, the effective path from the end point to the starting point is reversed; if the end point cannot be reached, step S4 is executed;
[0009] S4: construct an evaluation function; obtain the grid node with the smallest value of the evaluation function in the open set as the current node, and add the current node to the closed set;
[0010] S5: traverse the non-obstruction adjacent nodes around the current node. If a certain adjacent node belongs to a closed set, then abandon the adjacent node; if a certain adjacent node does not belong to a closed set, then execute step S6;
[0011] S6: Check whether the ocean current speed at the adjacent node meets the requirements. If the ocean current speed meets the requirements, execute step S7; if the ocean current speed does not meet the requirements, abandon the adjacent node and re-execute step S5 to select an adjacent node;
[0012] S7: Check whether there is an obstacle within the given distance range of the adjacent node. If there is an obstacle within the given distance range, it is considered that the adjacent node does not maintain a safe distance from the obstacle, and the adjacent node is abandoned; if there is no obstacle within the given distance range, it is considered that the adjacent node maintains a safe distance from the obstacle, and the adjacent node is retained and step S8 is executed;
[0013] S8: Check whether the adjacent node is in the open set; if the adjacent node does not belong to the open set, then the cost value and the evaluation function are updated and then put into the open set; if the adjacent node belongs to the open set, then the cost value is updated and compared with the original cost value, the smaller cost value is retained, the parent node of the adjacent node is adjusted and updated, and the parent node is put into the open set;
[0014] S9: Return to step S3 and execute a loop until a valid path to the end point is obtained.
[0015] On the basis of the above technical solution, preferably, the specific content of step S1 is: decompose the length, width and height of the environment map into M×N×L three-dimensional grids, and the movement process of the underwater multi-legged robot in the same grid remains unchanged; the volume of each grid is the same, and each grid serves as a grid node.
[0016] Preferably, the size of the grid is proportional to the size of the underwater multi-legged robot; the diagonal length of the grid is not less than twice the diagonal length of the bounding box circumscribed to the underwater multi-legged robot.
[0017] Further preferably, the content of step S2 is: obstacles are divided into general obstacles and obstacles with walkable walls, and the edges of obstacles with walkable walls are marked; grids within the neighborhood of general obstacles are not regarded as reachable grid nodes; obstacle-free areas outside the neighborhood of general obstacles and the edges of marked obstacles with walkable walls are regarded as reachable grid nodes, and the direction of the ocean current is marked in each reachable grid node.
[0018] More preferably, the ocean current direction marked in the grid node is the direction in which the ocean current appears most frequently within 1 hour before the underwater multi-legged robot walks from the starting point, and the length of the vector marking the ocean current is proportional to the average value of the ocean current speed within 1 hour before the underwater multi-legged robot walks from the starting point.
[0019] Further preferably, the check in step S3 as to whether the grid nodes in the current open set can reach the end point is to construct a connection line between the grid node where the starting point is located and the grid node where the end point is located. If the connection line is not blocked by an obstacle, it indicates that there is a direct path between the starting point and the end point; if the connection line is blocked by an obstacle, it indicates that there is a direct path between the starting point and the end point, and path addressing is required.
[0020] Further preferably, the evaluation function constructed in step S4 is to establish the following function:
[0021] Where f(p n ) is the evaluation function; g(p n ) is the cost function; h(p n ) is the heuristic function; p n is the current node; p e It is the end point; is the vector length from the current node to the end point; d f (p i-1 , p i ) is the equivalent path length between any two adjacent grid nodes, i is the grid node in the path; two adjacent grid nodes p in the path i-1 、p i Denoted as the first grid node p1 and the second grid node p2, there is the following relationship: where d f (p1, p2) represents the equivalent path length between the first grid node and the second grid node, d c (p1, p2) is the energy equivalent path length between the first grid node and the second grid node; d(p1, p2) is the Euclidean distance between the first grid node and the second grid node; q1 is the weighting coefficient of the Euclidean distance, and q2 is the weighting coefficient of the energy equivalent path length; let V auv is the absolute speed of the underwater multi-legged robot relative to the inertial coordinate system; is the displacement unit vector of the first grid node and the second grid node; is the ocean current velocity vector of the environment during the movement between the first grid node and the second grid node; x1, y1, z1 and x2, y2, z2 are the three-dimensional coordinates of the first grid node and the second grid node respectively; u, v, w are the velocity components of the ocean current in different directions, then the following relationship is satisfied
[0022] Further preferably, the step S6 of checking whether the ocean current speed at the adjacent node meets the requirements is to set the upper limit of the ocean current speed to V cl , then the following requirements are met: V cl1 V is the upper limit of the nautical speed at the edge of the walkable wall; cl2 The upper limit of the current speed in the obstacle-free area.
[0023] Further preferably, in step S7, it is checked whether there is an obstacle within the given distance range of the adjacent nodes, and an external box body of the obstacle is constructed, and the horizontal cross-section of the external box body is an ellipse, and the given distance range d of the adjacent nodes is checked. sc It is the diagonal length of the grid where the nearest distance from the center of the grid where the adjacent node is located to the horizontal section is not less than 1 times.
[0024] Further preferably, the absolute speed V of the underwater multi-legged robot relative to the inertial coordinate system is auv It is related to the distance D between the adjacent node and the nearest obstacle.
[0025] The path planning method for an underwater multi-legged robot on a walkable wall provided by the present invention has the following beneficial effects compared with the prior art:
[0026] (1) This scheme combines static obstacle avoidance with full consideration of the influence of the ocean current size and the distance to the obstacle on the energy consumption of the underwater multi-legged robot. A corresponding evaluation function is established, and the grid node with the minimum evaluation function value is selected as the current node on the way to the destination. The safety distance between the obstacle and the adjacent node is constrained, so that the underwater multi-legged robot reaches the destination in the direction with the least energy consumption, thereby improving the underwater multi-legged robot's ability to resist ocean current interference and safety capabilities;
[0027] (2) The equivalent path length between adjacent grid nodes is obtained by weighted calculation of the Euclidean distance and the energy-equivalent path length between adjacent grid nodes. The equivalent path length is used as the cost value of the evaluation function, and the Euclidean distance between the current node and the target node is used as the heuristic function value of the evaluation function. This can effectively balance the energy consumption and path length of underwater walking. The evaluation function selects an open set of nodes with the shortest equivalent path length and a reasonable distance from obstacles to construct a path, and selects suitable neighboring nodes to supplement them as part of the path. The judgment of adjacent nodes on the path is executed cyclically until a complete path to the end point is constructed. BRIEF DESCRIPTION OF THE DRAWINGS
[0028] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0029] Figure 1 An algorithm block diagram of a path planning method for an underwater multi-legged robot on a walkable wall surface according to the present invention;
[0030] Figure 2 This is a path planning effect diagram of a path planning method for an underwater multi-legged robot on a walkable wall surface according to the present invention. DETAILED DESCRIPTION
[0031] The following will be combined with the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0032] like Figure 1 As shown, the present invention provides a path planning method for an underwater multi-legged robot on a walkable wall, comprising the following steps:
[0033] S1: gridding the environment map in which the underwater multi-legged robot moves, and obtaining a grid map with grid nodes.
[0034] The specific content of this step is: decompose the environment map into M×N×L three-dimensional grids according to the length, width and height, and the movement process of the underwater multi-legged robot in the same grid remains unchanged; the volume of each grid is the same, and each grid is a grid node. The environment map can be a known seabed topographic map.
[0035] The size of the divided grid is proportional to the size of the underwater multi-legged robot; the diagonal length of the grid is not less than twice the diagonal length of the bounding box of the underwater multi-legged robot.
[0036] Obstacles usually do not fill the entire grid, but to simplify the processing, the grid can be considered to be completely filled with obstacles if the volume of the obstacle exceeds half of the volume of the grid. Although there is a certain loss of accuracy, a certain degree of error can be accepted for the safety of the underwater multi-legged robot.
[0037] S2: Mark each reachable grid node and obstacle, and update the grid map information.
[0038] The specific content of this step is: obstacles are divided into general obstacles and obstacles with walkable walls, and the edges of obstacles with walkable walls are marked; the grids within the neighborhood of general obstacles are not regarded as reachable grid nodes; the obstacle-free area outside the neighborhood of general obstacles and the edges of marked obstacles with walkable walls are regarded as reachable grid nodes, and the direction of the ocean current is marked in each reachable grid node. Figure 2 The arcs in each grid node mark the direction of the ocean current.
[0039] The judgment of the walkable wall is to identify whether there is a flat, smooth or small slope continuous area around the obstacle and its surroundings that is easy to pass through through the three-dimensional model as a potential walkable wall. If there is a potential walkable wall on the surface of the three-dimensional model, a local path on the walkable wall is further constructed through the A* algorithm, Dijkstra algorithm or RRT random tree algorithm. The A* algorithm, Dijkstra algorithm and RRT random tree algorithm are conventional technical means in this field and will not be repeated here.
[0040] Ocean currents are vectors, and their speed and direction are not always constant. To simplify the planning content, the ocean current direction marked in the grid node is the direction of the ocean current with the highest frequency within 1 hour before the underwater multi-legged robot walks from the starting point. The length of the vector marking the ocean current is proportional to the average speed of the ocean current within 1 hour before the underwater multi-legged robot walks from the starting point, that is, the length of the ocean current vector corresponds to the speed of the ocean current.
[0041] refer to Figure 2 As shown, Figure 2 The grid node where the circle in the lower left corner is located is the starting point, the grid node where the diamond point is located is the end point, and the broken line connecting the starting point and the end point is the path. The obstacle is painted dark black, and the walkable wall near the obstacle is painted gray. Figure 2 The rectangular area in the center is a general obstacle, and the general obstacle has no walkable wall. Figure 2 The obstacle at the lower left near the starting point has a walkable wall.
[0042] S3: Based on the grid map, the starting point and the end point, plan an effective path that keeps a safe distance from obstacles; add the starting point to the open set, check whether the grid nodes in the current open set can reach the end point, if so, reverse the effective path from the end point to the starting point; if not, execute step S4.
[0043] The elements of the open set include the starting point, the grid nodes of the barrier-free area, and the grid nodes corresponding to the local paths of the aforementioned walkable walls.
[0044] In this step, it is checked whether the grid nodes in the current open set can reach the end point, which is to build a connection line between the grid node where the starting point is located and the grid node where the end point is located. If the connection line is not blocked by obstacles, it means that there is a direct path between the starting point and the end point, and it may not be necessary to avoid obstacles. Only the impact of ocean currents on the underwater multi-legged robot needs to be considered; if the connection line is blocked by obstacles, it means that there is a direct path between the starting point and the end point, and path addressing is required, and the distance to the obstacle and the ocean current conditions need to be fully considered.
[0045] S4: construct an evaluation function; obtain the grid node with the smallest value of the evaluation function in the open set as the current node, and add the current node to the closed set.
[0046] The specific content is to establish the following evaluation function:
[0047] Where f(p n ) is the evaluation function; g(p u ) is the cost function; h(p n ) is the heuristic function; p n is the current node; p e It is the end point; is the vector length from the current node to the end point; d f (p i-1 , p i ) is the equivalent path length between any two adjacent grid nodes, i is the grid node in the path; two adjacent grid nodes p in the path i-1 、p i Denoted as the first grid node p1 and the second grid node p2, there is the following relationship: where d f (p1, p2) represents the equivalent path length between the first grid node and the second grid node, d c (p1, p2) is the energy equivalent path length between the first grid node and the second grid node; d(p1, p2) is the Euclidean distance between the first grid node and the second grid node; q1 is the weighting coefficient of the Euclidean distance, and q2 is the weighting coefficient of the energy equivalent path length; let V auv is the absolute speed of the underwater multi-legged robot relative to the inertial coordinate system; is the displacement unit vector of the first grid node and the second grid node; is the ocean current velocity vector of the environment during the movement between the first grid node and the second grid node; x1, y1, z1 and x2, y2, z2 are the three-dimensional coordinates of the first grid node and the second grid node respectively; u, v, w are the velocity components of the ocean current in different directions, then the following relationship is satisfied The absolute velocity V of the underwater multi-legged robot relative to the inertial coordinate system auv It is not fixed, the absolute speed V auv It is related to the distance D between the adjacent node and the nearest obstacle. In this embodiment, it is preferred to have
[0048] The values of the evaluation function are calculated for each element in the open set, sorted by size, and the current node is obtained for further extending the path.
[0049] S5: Traverse the non-obstruction adjacent nodes around the current node. If an adjacent node belongs to a closed set, abandon the adjacent node; if an adjacent node does not belong to a closed set, execute step S6. The closed set contains all the extreme points. If the adjacent nodes of the current node belong to a closed set, it may fall into an infinite loop in the subsequent pathfinding process, so it is eliminated.
[0050] S6: Check whether the ocean current speed at the adjacent node meets the requirements. If the ocean current speed meets the requirements, execute step S7; if the ocean current speed does not meet the requirements, abandon the adjacent node and re-execute step S5 to select an adjacent node.
[0051] Let the upper limit of the ocean current velocity be V cl , then the ocean current velocity needs to meet the following requirements: V cl1 V is the upper limit of the nautical speed at the edge of the walkable wall; cl2 is the upper limit of the current speed in the obstacle-free area. Since the edge of the walkable wall is close to the obstacle, the current speed is weakened to a certain extent, so V cl1 Usually greater than V cl2 .
[0052] S7: Check whether there is an obstacle within the given distance range of the adjacent node. If there is an obstacle within the given distance range, it is considered that the adjacent node does not maintain a safe distance from the obstacle, and the adjacent node is abandoned; if there is no obstacle within the given distance range, it is considered that the adjacent node maintains a safe distance from the obstacle, and the adjacent node is retained and step S8 is executed.
[0053] In this step, it is checked whether there is an obstacle within the given distance range of the adjacent nodes. The outer box of the obstacle is constructed. The horizontal cross-section of the outer box is an ellipse. sc It is the diagonal length of the grid where the nearest distance from the center of the grid where the adjacent node is located to the horizontal section is not less than 1 times.
[0054] S8: Check whether the adjacent node is in the open set; if the adjacent node does not belong to the open set, then the cost value and the evaluation function are updated and then put into the open set; if the adjacent node belongs to the open set, then the cost value is updated and compared with the original cost value, the smaller cost value is retained, the parent node of the adjacent node is adjusted and updated, and the parent node is put into the open set;
[0055] S9: Return to step S3 and execute a loop until a valid path to the end point is obtained.
[0056] Since the energy consumption impact brought by the ocean current is taken into account, and factors such as the ocean current size, obstacle safety distance and walkable wall are taken into account, the effective path can effectively select the walkable wall area grid as the path node, and use the wall to resist the influence of the ocean current to improve the ability to resist cross-current, avoid the area with high ocean current speed, and maintain a certain safety distance around general obstacles. Therefore, the effective path obtained by this scheme can fully consider the influence of ocean current and obstacles on the path, thereby improving the reliability and safety of the underwater multi-legged robot during movement.
[0057] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present invention should be included in the protection scope of the present invention.
Claims
1. A path planning method for an underwater multi-legged robot on a walkable wall, characterized in that: The steps include: S1: gridding the environment map in which the underwater multi-legged robot moves, and obtaining a grid map with grid nodes; S2: Mark each reachable grid node and obstacle, and update the grid map information; S3: Based on the grid map, the starting point and the end point, an effective path is planned to keep a safe distance from obstacles; the starting point is added to the open set, and it is checked whether the grid nodes in the current open set can reach the end point. If the end point can be reached, the effective path from the end point to the starting point is reversed; If the end point cannot be reached, step S4 is executed; S4: construct an evaluation function; obtain the grid node with the smallest value of the evaluation function in the open set as the current node, and add the current node to the closed set; S5: traverse the non-obstruction adjacent nodes around the current node. If a certain adjacent node belongs to a closed set, then abandon the adjacent node; if a certain adjacent node does not belong to a closed set, then execute step S6; S6: Check whether the ocean current speed at the adjacent node meets the requirements. If the ocean current speed meets the requirements, execute step S7; if the ocean current speed does not meet the requirements, abandon the adjacent node and re-execute step S5 to select an adjacent node; S7: Check whether there is an obstacle within the given distance range of the adjacent node. If there is an obstacle within the given distance range, it is considered that the adjacent node does not maintain a safe distance from the obstacle, and the adjacent node is abandoned; if there is no obstacle within the given distance range, it is considered that the adjacent node maintains a safe distance from the obstacle, and the adjacent node is retained and step S8 is executed; S8: Check whether the adjacent node is in the open set; if the adjacent node does not belong to the open set, then the cost value and the evaluation function are updated and then put into the open set; if the adjacent node belongs to the open set, then the cost value is updated and compared with the original cost value, the smaller cost value is retained, the parent node of the adjacent node is adjusted and updated, and the parent node is put into the open set; S9: Return to step S3 and execute a loop until a valid path to the end point is obtained.
2. A path planning method for an underwater multi-legged robot on a walkable wall according to claim 1, characterized in that: The specific content of step S1 is: decompose the environment map into M×N×L three-dimensional grids according to the length, width and height, and the movement process of the underwater multi-legged robot in the same grid remains unchanged; The volume of each grid is the same, and each grid acts as a grid node.
3. A path planning method for an underwater multi-legged robot on a walkable wall according to claim 2, characterized in that: The size of the grid is proportional to the size of the underwater multi-legged robot; the diagonal length of the grid is not less than twice the diagonal length of the bounding box of the underwater multi-legged robot.
4. The path planning method for an underwater multi-legged robot on a walkable wall according to claim 2, characterized in that: The content of step S2 is: classify obstacles into general obstacles and obstacles with walkable walls, and mark the edges of obstacles with walkable walls; Generally, grids within the neighborhood of obstacles are not considered reachable grid nodes; Generally, the obstacle-free area outside the neighborhood of the obstacle and the edge of the marked obstacle with a walkable wall are regarded as reachable grid nodes, and the direction of the ocean current is marked in each reachable grid node.
5. A path planning method for an underwater multi-legged robot on a walkable wall according to claim 4, characterized in that: The ocean current direction marked in the grid node is the direction of the ocean current with the highest frequency within 1 hour before the underwater multi-legged robot walks from the starting point, and the length of the vector marking the ocean current is proportional to the average speed of the ocean current within 1 hour before the underwater multi-legged robot walks from the starting point.
6. A path planning method for an underwater multi-legged robot on a walkable wall according to claim 4, characterized in that: The step S3 described in checking whether the grid nodes in the current open set can reach the end point is to construct a connection between the grid node where the starting point is located and the grid node where the end point is located. If the connection is not blocked by an obstacle, it means that there is a direct path between the starting point and the end point; if the connection is blocked by an obstacle, it means that there is a direct path between the starting point and the end point, and path addressing is required.
7. A path planning method for an underwater multi-legged robot on a walkable wall according to claim 6, characterized in that: The evaluation function constructed in step S4 is to establish the following function: Where f(p n ) is the evaluation function; g(p n ) is the cost function; h(p n ) is the heuristic function; p n is the current node; p e It is the end point; is the vector length from the current node to the end point; d f (p i-1 , p i ) is the equivalent path length between any two adjacent grid nodes, i is the grid node in the path; two adjacent grid nodes p in the path i-1 、p i Denoted as the first grid node p1 and the second grid node p2, there is the following relationship: where d f (p1, p2) represents the equivalent path length between the first grid node and the second grid node, d c (p1, p2) is the energy equivalent path length between the first grid node and the second grid node; d(p1, p2) is the Euclidean distance between the first grid node and the second grid node; q1 is the weighting coefficient of the Euclidean distance, and q2 is the weighting coefficient of the energy equivalent path length; let V auv is the absolute velocity of the underwater multi-legged robot relative to the inertial coordinate system; is the displacement unit vector of the first grid node and the second grid node; is the ocean current velocity vector of the environment during the movement between the first grid node and the second grid node; x1, y1, z1 and x2, y2, z2 are the three-dimensional coordinates of the first grid node and the second grid node respectively; u, v, w are the velocity components of the ocean current in different directions, then the following relationship is satisfied 8. A path planning method for an underwater multi-legged robot on a walkable wall according to claim 7, characterized in that: In step S6, the speed of the ocean current at the adjacent node is checked to see whether it meets the requirements, and the upper limit of the ocean current speed is set to V cl , then the following requirements are met: V cl1 V is the upper limit of the nautical speed at the edge of the walkable wall; cl2 The upper limit of the current speed in the obstacle-free area.
9. A path planning method for an underwater multi-legged robot on a walkable wall according to claim 7, characterized in that: In step S7, it is checked whether there is an obstacle within the given distance range of the adjacent nodes. The outer box of the obstacle is constructed. The horizontal cross section of the outer box is an ellipse. sc It is the diagonal length of the grid where the nearest distance from the center of the grid where the adjacent node is located to the horizontal section is not less than 1 times.
10. A path planning method for an underwater multi-legged robot on a walkable wall according to claim 9, characterized in that: The absolute velocity V of the underwater multi-legged robot relative to the inertial coordinate system auv It is related to the distance D between the adjacent node and the nearest obstacle.
Citation Information
Cited By
Autonomous underwater robot navigation path planning method, device and system
CN119555085A
