Air-ground joint motion planning method for tensegrity cross-domain robot
Through the joint land and air planning method based on the visual road map, the problem of UAV avoiding obstacles in complex environments is solved, and the joint land and air motion planning of tensegrity robots is realized. The generated trajectory satisfies the needs of UAV and control device requirements, reducing the risk of collision.
Patent Information
- Application Number
- CN202410558644.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-08
- Publication Date
- 2024-08-30
AI Technical Summary
In a complex and disorderly environment, it is difficult for drones to effectively avoid collapsed building obstacles, resulting in a high risk of collision. It is difficult to achieve joint land-air motion planning with existing technology, especially in the ground-air maneuverability of tensegrity robots. under complex circumstances.
A land-air joint planning method based on visual road maps is adopted. By randomly sampling in the feasible space and judging the visual relationship between sampling points, a joint planning of air and surface paths is generated, and the improved A* algorithm and Bresenham algorithm are used for optimization. Trajectory, combined with the SST algorithm to process the obstacle surface path to ensure the feasibility and safety of the path.
The size and amount of information in the route map are significantly reduced, and the generated trajectory meets the input requirements of the UAV and tensegrity controller, which can effectively avoid obstacles and ensure the successful completion of the mission.
Smart Images

Figure CN118565474A
Abstract
Description
Technical Field
[0001] The present invention belongs to the technical field of robot path planning, and in particular relates to a land-air joint motion planning method for a tensegrity cross-domain robot. Background Art
[0002] In recent years, unmanned aerial vehicles (UAVs) have been frequently used for information gathering missions in hazardous environments. In complex and disordered environments, UAVs often encounter complex obstacles, such as collapsed buildings, which are difficult to detect and avoid. Collisions with obstacles may lead to serious consequences, such as mission failure and vehicle damage. The emergence of tensegrity-based UAVs addresses this challenge. Motion planning plays a vital role in enabling robots to complete autonomous movement in practical tasks. The situation becomes even more complicated considering the ground-to-air mobility of tensegrity. In order to obtain both the ground-to-air path and the mode switching point simultaneously, a unified path planning method needs to be designed. Summary of the invention
[0003] In view of this, the present invention provides a land-air joint motion planning method for a tensegrity cross-domain robot, which can realize the joint planning of the air and surface paths of the tensegrity cross-domain robot.
[0004] The technical solution for implementing the present invention is as follows:
[0005] A land-air joint motion planning method for a tensegrity cross-domain robot, the method includes two parts:
[0006] (i) Joint land-air planning based on visual route map: By randomly sampling in the feasible space and judging the visual relationship between the sampling points and the connecting paths, the topological information of the feasible space, i.e., the guiding path, is obtained. The guiding path includes the aerial path and the surface path.
[0007] (ii) taking the aerial path in the guide path as an initial value, and using the aerial trajectory planning generation method to obtain the aerial trajectory; taking the surface path in the guide path as an initial value, and using the surface trajectory planning generation method to plan and obtain the surface path.
[0008] Furthermore, the specific process of random sampling in the feasible space of step (1) of the present invention is as follows:
[0009] (1) Perform uniform sampling in the configuration space and map the sampling points to the feasible space;
[0010] (2) Calculate the sampling point pos rand Feasible space to the obstacle surface If the distance is less than the set threshold, the mapping process is triggered. Otherwise, it is determined whether the sampling point is located within the obstacle. If not, the node is regarded as a feasible sampling point, the label is set to empty, and it is added to the set Q. Otherwise, the sampling point is abandoned. The mapping process is:
[0011] For the normal vector of the feasible space closest to the sampling point, the sampling point is mapped to the corresponding point on the feasible space plane. The corresponding point is mapped to a new sampling point through a guide vector of random length and direction perpendicular to the normal vector. The collision relationship between the new sampling point and the obstacle is checked. If there is no collision, its label is set to the number of the obstacle and added to the sampling point set Q.
[0012] Furthermore, the specific process of determining the visual relationship between sampling points and connection paths in the present invention is as follows:
[0013] Definition: Guard nodes are nodes responsible for occupying feasible spaces, and Bridge nodes are nodes responsible for connecting occupied areas;
[0014] (1) For each node q in the node set Q i , and the route map G and q i The guard node of the same feasible space is used as the currently calculated point set P, and the distance q is found in the currently calculated point set P. i The point set Q within the radius δ neigh ;
[0015] If Q neigh is an empty set, and the node q i Join the route map G as a guard node. Conversely, if the current node q in the set i If the visible node is greater than or equal to 2, it is defined as a candidate bridge node and recorded as q bridge ;
[0016] Judge q bridge Whether the node meets the uniform visible deformation condition in the same feasible space, if it meets the condition, q bridge The node is defined as a bridge node;
[0017] After completing the definition of the node types in the set Q, add them to the roadmap G to complete the path planning.
[0018] Furthermore, the present invention determines q bridge The process of determining whether a node satisfies the uniform visible deformation condition in the same feasible space is as follows:
[0019] The node set Q neigh Zhong and q bridgeThe closest node is denoted as q nearest ;
[0020] Q nearest Set as the base point for judging the uniqueness and uniform visual deformation of the bridge, that is, the starting point of all paths to be checked is q nearest , traverse the set Q neigh Divide by q nearest Other nodes other than q j , and q nearest ,q bridge ,q j The three points are connected in sequence to form a local feasible path path1;
[0021] Q nearest With q i The common bridge nodes owned are recorded as N s , traverse N s Node n in s , q nearest ,n s ,q i The local feasible path consisting of three points is recorded as path2;
[0022] If path2 does not have a uniform visual deformation relationship with path1, q bridge The node is defined as a bridge node and added to the set Q.
[0023] Furthermore, the judgment criterion of the uniform visible deformation relationship of the present invention is:
[0024] Normalize path1 and path2 to the scale range of t∈[0,1], and calculate the relationship between the straight line checkPath formed by path1(t) and path2(t) and the obstacle. If there is a time t that makes checkPath(t) collide with the obstacle, it is considered that there is no uniform visual deformation relationship between the two paths.
[0025] Furthermore, the process of obtaining the aerial trajectory by using the aerial trajectory planning generation method using the aerial path in the guide path as the initial value is as follows:
[0026] The heuristic function in the A* algorithm is set to the sum of the Euclidean distance h1(n) from the current point to the end point and the guide path offset distance h2(n), and the aerial path is iteratively optimized based on the improved A* algorithm;
[0027] The iteratively optimized aerial path is subjected to the quadrotor dynamics constraints to obtain the final aerial trajectory.
[0028] Furthermore, the heuristic function in the A* algorithm described in the present invention is set to the sum of the Euclidean distance h1(n) from the current point to the end point and the guide path offset distance h2(n):
[0029] h(n)=ε1*h1(n)+ε2*h2(n)
[0030] Among them, ε1 and ε2 are preset weight coefficients.
[0031] Furthermore, after iteratively optimizing the aerial path based on the improved A* algorithm, the present invention also uses the Bresenham algorithm to further optimize the corners of the optimal path under the A* algorithm to optimize the optimal path.
[0032] Furthermore, the present invention uses the surface path in the guide path as an initial value and uses the surface trajectory planning generation method to plan the process of obtaining the surface path as follows:
[0033] The SST algorithm is used to optimize the obstacle surface path. During the SST algorithm processing, the obstacle surface path GuidingPath is used to limit the random sampling area. When the end point of the obtained path is within the set area of the target end point, the trajectory that satisfies the end point path position and posture is searched.
[0034] Furthermore, the present invention searches for trajectories that satisfy the endpoint path position and posture by selecting a pruning-based random search strategy to trim repeated loops in the path, paths that exceed the information boundary, and paths that collide with obstacles, so as to find a trajectory that satisfies the endpoint continuity and discrete constraints.
[0035] Beneficial effects:
[0036] First, the present invention obtains the topological information of the feasible space by randomly sampling in the feasible space and judging the visual relationship between the sampling points and the connecting paths. The entire roadmap only retains the basic edges of node reachability, which can significantly reduce the size of the roadmap. Based on the feasible path solution, the goal is to obtain a path that includes ground and air modes.
[0037] Second, the present invention adopts a method based on visual route map to capture the topological connection relationship of the feasible space through the different properties of Guard and Bridge points. Through the concept of uniform visual deformation, it is ensured that there is no topological deformation relationship between the paths, thereby limiting the amount of information in the route map.
[0038] Third, the present invention can be applied to obstacle environments with feasible surfaces. The algorithm can generate a land-air path that passes through the obstacle surface, and the generated trajectory meets the input requirements of the UAV and the tensegrity controller. BRIEF DESCRIPTION OF THE DRAWINGS
[0039] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings required for use in the embodiments 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.
[0040] Figure 1 This is a flow chart of the land-air joint motion planning method of the tensegrity cross-domain robot of the present invention;
[0041] Figure 2 is a connection diagram between feasible spaces;
[0042] Figure 3 A flowchart of the joint ground-air geometry path generation based on the visual roadmap is provided for the first part;
[0043] Figure 4 Update the flow chart for the bridge node;
[0044] Figure 5 It is the relationship diagram between each node;
[0045] Figure 6 This is a flow chart for judging the uniform visible deformation relationship. DETAILED DESCRIPTION
[0046] The embodiments of the present invention are described in detail below with reference to the accompanying drawings.
[0047] It should be noted that the following embodiments and features in the embodiments may be combined with each other in the absence of conflict; and, based on the embodiments in the present disclosure, all other embodiments obtained by ordinary technicians in the field without making any creative work are within the scope of protection of the present disclosure.
[0048] It should be noted that various aspects of the embodiments within the scope of the appended claims are described below. It should be apparent that the aspects described herein may be embodied in a wide variety of forms, and any specific structure and / or function described herein is merely illustrative. Based on the present disclosure, it should be understood by those skilled in the art that an aspect described herein may be implemented independently of any other aspect, and two or more of these aspects may be combined in various ways. For example, any number of aspects described herein may be used to implement the device and / or practice the method. In addition, other structures and / or functionalities other than one or more of the aspects described herein may be used to implement this device and / or practice this method.
[0049] Consider a robot moving in a space with obstacles. The robot's configuration space is denoted by C and the space occupied by the obstacles is denoted by Cobs , the collision-free free space relative to the obstacle is represented by C free Under this definition, C free The space where the robot can move freely without colliding with obstacles is the feasible space. free By planning the robot's moving path, we can obtain a collision-free path from the current position to the target position. Let the current position be q, the target position be q', and the local feasible path from q to q' be L(q,q'). In the context of calculating the guided path, the local feasible path can be represented as a path located in the free space C free The straight line path in .
[0050] A roadmap is a graph structure with collision-free nodes. If there is a local feasible path between two nodes q and q' in the roadmap that connects the two nodes, then q and q' are adjacent nodes. The roadmap method uses a query-based strategy to solve the path planning problem: for a roadmap G, given the configuration q of the starting point init And the configuration q of the target point goal , if there is a node in the route graph G Make the local feasible path Then q init Add to the roadmap G. Similarly, if there is a node in the roadmap G Make the local feasible path Then q goal Add to the route map G. After that, the route map is continuously expanded through the designed algorithm, and the path search is finally completed. init to q goal The solution to the path planning problem is represented as a series of finitely connected local feasible paths.
[0051] Definition 1 For a collision-free node q, its visible area is defined as:
[0052]
[0053] Definition 2 For a node q, if its visible area vis L If (q) does not contain other guard nodes, node q is considered to be a guard node, and the guard node is a node responsible for occupying the feasible space.
[0054] Definition 3 If the union of the visible areas of a set of guard nodes covers the entire free space CS free , then this group of guard nodes is considered to constitute C free A limited coverage of .
[0055] Ideally, as the number of samples increases, the free space C free It can always be covered by a set of guard nodes. Due to the exclusive nature of guard nodes, there is no local feasible path between any two guard nodes. Therefore, other types of nodes are needed to complete the connection of guard nodes.
[0056] Definition 4 For a node q, if its visible area vis L If the number of guard nodes contained in (q) is greater than or equal to 2, the node q is considered to be a bridge node. Bridges nodes are nodes responsible for connecting occupied areas.
[0057] Therefore, in the above node definition and classification, the guard node class is used to occupy the free feasible space, and the bridge node class is used to connect the adjacent space. Here, due to the special definition of the guard node, the guard node cannot have a visibility relationship with other guard nodes, that is, the guard node can only be connected to the bridge node. At the same time, in order to limit the intra-class connection of the bridge node, it is also required that the bridge node can only be connected to the guard node. Through the continuous updating of the above nodes, the connection relationship between the feasible spaces can be obtained, as shown in Figure 2.
[0058] In order to reduce the number of nodes and local feasible paths in the roadmap, it is necessary to classify the paths reasonably, that is, representative paths. In mathematics, the concept of homology describes the "continuous change" between two objects in topology. In topology, two continuous functions defined in topological spaces are called homological if one of them can "continuously transform" into the other.
[0059] Definition 5 If there exists a continuous mapping h:[0,1]×[0,1]→X in the topological space X such that for all s∈[0,1], h(s,0)=τ(s) and h(s,1)=τ′(s), and for all t∈[0,1], h(0,t)=h(0,0) and h(1,t)=h(1,0), then the paths τ and τ′ are homotopic.
[0060] The parametric visualization function of a curve can be expressed as:
[0061]
[0062] Therefore, by calculating the visibility between any two points between two curves, the visual deformation relationship of the entire curve can be obtained. However, since VD inspection needs to calculate the visibility of any two points between two curves, its deformation inspection cost is relatively high. Therefore, a visual deformation concept with lower computational cost is provided, namely Uniform Visibility Deformation (UVD).
[0063] Definition 6 For Under the conditions τ(0) = τ′(0), τ(1) = τ′(1), a point τ(t) in a path τ and its corresponding point τ′(t) in a path τ′ exist
[0064] According to the definition, the original visual deformation check between any two points is weakened to only check when the parameter value is the same, which greatly reduces the number of times the visual relationship is calculated. UVD is actually a subset of VD. Its parameter visibility function is expressed as:
[0065]
[0066] Based on the above definition, the land-air joint motion planning method of a tensegrity cross-domain robot in an embodiment of the present application includes two parts. The first part is the land-air joint planning based on a visual probabilistic roadmap. The topological information of the feasible space is obtained by randomly sampling in the feasible space and judging the visual relationship between the sampling points and the connecting paths. The entire roadmap only retains the basic edges of the node reachability, which can significantly reduce the size of the roadmap. The second part includes two algorithms. The first algorithm is a trajectory generation algorithm for UAVs; the second algorithm is a ground rolling trajectory generation algorithm; a two-stage trajectory generation method is used to obtain a trajectory that meets the terminal posture requirements. Based on the feasible path solution, the goal is to obtain a path that includes ground and air modes. The workflow of the tensegrity UAV joint planner is as follows. Figure 1 shown.
[0067] The first part provides a joint ground-air geometric path generation method based on a visual roadmap. In the design of the joint planning method, the feasible space of different motion modes is decomposed into two parts: one is the feasible space in the air The other part is the feasible space on the obstacle surface In the feasible space of the obstacle surface, different labels are used to represent it according to its connectivity, which is recorded as Used to distinguish different feasible spaces. These contents are added to the environment class Env as part of the environment representation. Therefore, through the sampling algorithm, the node p obtained contains two parts of information: position information p pos And the label information p of the space to which it belongs flagA projection-based method is used to map the sampling points onto the manifold in the free space, ensuring uniform sampling in all feasible spaces under different motion modes. When exploring the feasible space, the guard nodes in visib-PRM are used to occupy the free feasible space, and the bridge nodes are used to connect adjacent spaces. The framework diagram of the entire algorithm is shown in Figure 3 As shown, the detailed implementation is as follows:
[0068] The configuration space is the three-dimensional space where the robot operates (including obstacles), and the feasible space is the three-dimensional space after removing obstacles;
[0069] Step 1: Perform uniform sampling in the feasible space, set the labels of the sampling points, and add them to the node set Q. The specific process of this step is:
[0070] The input of the algorithm includes the roadmap G, the planned starting point s, and the planned end point g. Initially, the roadmap G only includes the starting point s and the end point g. The nodes responsible for occupying the feasible space are called guards, and the nodes responsible for connecting the occupied areas are called bridges.
[0071] (1) In each iteration, the Uniform Random Sample algorithm is used to uniformly sample the feasible space and output the sampling node pos rand ;
[0072] In the design of uniform sampling algorithm, the strategy of uniform sampling in the configuration space C of the three-dimensional robot is adopted, and then the sampling points are mapped to the feasible space. This method can avoid sampling directly on the complex obstacle surface, and at the same time facilitate the mapping of the feasible space in the air. Feasible space with obstacle surface Putting them in the same sampling space improves the uniformity of the obtained nodes. is represented as an independent plane with boundaries. At the same time, for the consistency of the algorithm, the ground is also considered as a feasible space on the obstacle surface and added to The function uniform Random Sample implements uniform sampling in the configuration space C, and its output is the sampled node pos rand The three-dimensional coordinates of .
[0073] (2) The algorithm traverses all obstacles that have feasible surface space and calculates the sampling point pos rand Feasible space to the obstacle surface If the distance is less than the set threshold, the subsequent mapping mechanism will be triggered; if it is greater than this distance, the sampling point pos is judged. randIs it located within the obstacle? If not, only take this node as a feasible sampling point, set the label to empty, and add it to the set Q. Otherwise, abandon the sampling point.
[0074] The mapping mechanism is:
[0075] In the plane projection function, the algorithm first The normal vector of the sampling node pos rand Mapping to the feasible space of obstacle surface The corresponding point in the plane is then mapped to a new sampling point q by a guide vector of random length and direction perpendicular to the normal vector project , q project The label is set to the number of the current obstacle.
[0076] By checking q project With obstacles If there is a collision, the node mapping is considered successful and the node q project Add to the output set Q.
[0077] In order to ensure that the threshold mapping mechanism does not affect the uniformity of the sampling algorithm, the original sampling node pos rand Perform collision detection. If the safety requirements are met, the sampling node pos is rand Set the label of to empty and add it to the set Q;
[0078] After the above process, a node set Q with labels is obtained, which can be used for subsequent visual node judgment.
[0079] Step 2: Visual node determination and path generation
[0080] First, traverse all nodes q in the sampled node set Q i , and the route map G and q i The guard nodes in the same feasible space (with the same label) are used as the point set for current calculation, and the distance q is found. i The set of points Q in the same feasible space within the radius δ neight .
[0081] If Q neight is an empty set, then the current q i It can be added to the roadmap G as a guard node. On the contrary, if the visible nodes of the current node are greater than or equal to 2, it is considered that the node may become a bridge node and enter the bridge node update function. The bridge node update function is:
[0082] After getting the new candidate bridge node qbridge After that, we need to use a certain update strategy to determine q i Whether it meets the uniform visual deformation condition in the same feasible space. The update process is as follows Figure 4 Specifically:
[0083] Use q i and Q neigh The guard nodes in the new local feasible path are used to verify whether there are other paths in the feasible space of the path, and whether a bridge node should be added based on this.
[0084] In the bridge node update strategy, the neighbor Q neigh Zhong and q bridge The closest node is denoted as q nearest . nearest Set as the base point for judging the uniqueness and uniform visual deformation of the bridge, that is, the starting point of all paths to be checked is q nearest This design ensures that the newly added bridge node only exists within the range covered by the nearest node, preventing the path priority confusion caused by the addition of the bridge node. neigh Divide by q nearest Other nodes outside the nearest ,q bridge ,q i The three points are connected in sequence to form a local feasible path path1.
[0085] In order to judge q bridge The uniqueness of q nearest With q i The common bridge nodes owned are recorded as N s . Traverse N s Node n in s , q nearest ,n s ,q i The local feasible path consisting of three points is recorded as path2.
[0086] If path2 and path1 do not have a uniform visual deformation relationship, then q nearest With q i There is no reachable path between the two points, and a bridge node needs to be added to connect the two points to generate a local path. If path2 and path1 have a uniform visual deformation relationship, the current node is not used as a bridge node to be added. The length relationship between the two paths needs to be determined to select a better local feasible path. The relationship between the nodes is as follows: Figure 5 shown.
[0087] Furthermore, in this embodiment, the uniform visible deformation relationship is determined in the following manner:
[0088] The concept of uniform visual deformation is used to capture the topological structure of the free feasible space and is extended to land and air trajectory generation. The input of the uniform visual deformation check algorithm is two local feasible paths to be compared, and the output is a Boolean variable indicating whether there is a uniform visual deformation relationship between the two paths. The algorithm flow is as follows Figure 6 shown.
[0089] First, determine whether the two input paths meet the same type of conditions. Since the starting point and end point of path1 and path2 are the same, we only need to compare the bridge node between the two points, that is, q bridge With q i The labels of the two are the same. If they are different, it is directly returned that there is no uniform visual deformation relationship. Based on the judgment of the type, the case where there is no uniform visual deformation can be directly excluded, and the remaining cases can be further judged later.
[0090] The further judgment process is as follows: During the uniform visual deformation check process, path1 and path2 are normalized to the scale range of t∈[0,1], and the relationship between the straight line checkPath formed by path1(t) and path2(t) and the obstacle is calculated. If there is a time t that makes checkPath(t) collide with the obstacle, it is considered that there is no uniform visual deformation relationship between the two paths.
[0091] In general, the proposed method aims to explore the feasible space through Guard, occupy more areas, and then connect the areas through Bridge. When generating Bridge, the algorithm continuously optimizes the existing path in the iterative process using the concept of uniform visual deformation. Using the above process, the joint ground-air geometric path generation can be achieved, that is, the path in the air and the path on the obstacle surface can be included.
[0092] The second part of the present invention provides a ground rolling trajectory planning module and a UAV flight trajectory planning module. After obtaining the geometric guidance path, the path is used as prior information and input into the ground and air trajectory generation modules to obtain a feasible trajectory that meets the execution requirements of the controller.
[0093] (i) In the flight trajectory planning module, the improved A* algorithm is used to generate a collision-free initial path, and then the 3D Bresenham algorithm is applied for path simplification. The processed path is used as the initial solution to the trajectory optimization problem and input into the B-spline trajectory optimization algorithm to generate a feasible air path.
[0094] The detailed implementation method is as follows:
[0095] Step 1: The heuristic function in the A* algorithm is set to the sum of the Euclidean distance h1(n) from the current point to the end point and the guide path offset distance h2(n), and the weight coefficient of the Euclidean distance h1(n) and the guide path offset distance h2(n) is set to obtain an improved A* algorithm; based on the above improved A* algorithm, the iterative optimal path tree can realize real-time optimal path planning from the current position to the end point.
[0096] The specific process of this step is:
[0097] Use the improved A* algorithm to implement real-time path planning from the current position to the target position of the drone. Since the A* algorithm runs on a grid map, it is a commonly used path search and graph traversal algorithm that combines the characteristics of depth-first search and breadth-first search algorithms. When provided with appropriate heuristic information, it exhibits good performance and accuracy. The key to the A* algorithm lies in the design of its evaluation function. It maintains a heuristic evaluation function
[0098] f(n)=g(n)+h(n)
[0099] This function aims to find the shortest path, where g(n) represents the cost from the starting node to the current node, and h(n) is a heuristic function indicating the cost from the current node to the target node. Considering the calculation speed and path length, the heuristic function is set to the sum of the Euclidean distance h1(n) from the current point to the end point and the guide path offset distance h2(n).
[0100]
[0101] h2(n)=min d(n,GuidingPath(θ))
[0102] Here, d() represents the Euclidean distance, GuidingPath(θ) is the aerial path, and n is the center point on the grid map.
[0103] In order to strike a balance between optimization performance and calculation speed, and inspired by the concept of weighted A*, the heuristic estimation function is improved and can be expressed as:
[0104] f(n)=g(n)+ε1*h1(n)+ε2*h2(n),
[0105] In this case, ε1 (ε1>1) is the heuristic weight coefficient. ε2 selects the node with the lowest value (highest priority) as the next node to traverse.
[0106] Based on the above improved A* algorithm, the iterative optimal path tree can realize real-time optimal path planning from the current location to the destination.
[0107] Step 2: Optimize the corners of the optimal path under the A* algorithm to obtain a further optimized optimal path;
[0108] When this step is specifically performed: Since the corners of the optimal path under the A* algorithm only have specific values, the Bresenham algorithm needs to be used to further optimize the path;
[0109] Therefore, the generated path is grid-based and highly discrete, which is not conducive to backend processing. In addition, due to the use of stronger heuristic methods, it is difficult to guarantee that the generated path is optimal. Therefore, after obtaining the discrete path, considering the process of the A* algorithm to generate a three-dimensional discrete path, the Bresenham algorithm can be used to further optimize the path.
[0110] After generating the three-dimensional discrete lines, they are optimized for the A* path planning operation. Traditionally, when the A* algorithm reaches a target point, a common approach involves tracing back from the current node to its parent node until the current node becomes the starting point.
[0111] In the method of the present application, the connection relationship of the grid nodes of the A* algorithm is used to reversely traverse from the end point to find the parent node of the current node, and then evaluate the visual relationship between the parent node and the starting point. If the discrete lines generated between the nodes do not collide with obstacles, the current node is considered to meet the longest visual path principle and is added to the path to be generated. Subsequently, using this current node as a new starting point, the reverse traversal starts again from the end point, and the process is repeated until the current node becomes the end point. In this process, the path generated by A* is reduced to several key nodes, which improves the quality of the initial solution.
[0112] Step 3: Optimize the best path in step 2 to a trajectory that meets the dynamic constraints of the quadrotor.
[0113] Since the quadrotor has a differentially flat property, we only need to know the expected flat output trajectory expression to derive the expected expressions of all state variables and control quantities in the system. This will effectively reduce the complexity of planning. Here, B-spline curves are used to describe the quadrotor trajectory in three-dimensional space.
[0114] The B-spline basis functions are defined by the Cox-de Boor recursive formula as follows:
[0115]
[0116] where i∈0,1,…,n,k≥1, and
[0117]
[0118] A high-order B-spline basis function is expressed as a linear combination of low-order B-spline basis functions. B-spline basis functions have properties such as non-negativity, local support, derivative continuity, and linear independence. A B-spline curve can be expressed as
[0119]
[0120] here, represents the i-th control point of the curve, N i,k (ρ) represents the k-th order B-spline basis function determined by the knot vector U, where the number of knots satisfies m = n + k + 1. The trajectory is parameterized by a uniform B-spline curve φ, whose order is denoted by p b It consists of Nc control points and a node vector t1,t2,…,t m Composition, of which tm∈R, and M=N c +p b .
[0121] The problem of obtaining a smooth, safe, and dynamically feasible trajectory is formulated as an optimization problem, expressed as
[0122]
[0123] where v max and a m Respectively represent the maximum speed and acceleration of a single axis, F(x,y) is a penalty function
[0124]
[0125] f c represents the collision cost, and d(q) is the distance of point q in ESDF. v and f a Penalize infeasible speed and acceleration respectively, where and is the control point of velocity and acceleration, which can be obtained by the following formula
[0126]
[0127] (ii) In the ground rolling trajectory planning module, a two-stage path planning method is used. Due to the existence of mode switching points in the entire air-ground trajectory generation problem, the structural characteristics of the tensegrity UAV require that one of the two takeoff surfaces is in contact with the ground during takeoff. This introduces a new constraint to the ground rolling problem, namely the discrete surface constraint. The rolling problem of the tensegrity UAV without considering the contact surface constraint only involves inequality constraints on the endpoint positions, which constitute continuous constraints. Therefore, the problem becomes complex, covering continuous and discrete state variables, as well as continuous and discrete constraints.
[0128] The rolling planning method in this embodiment includes two planning stages: In the first stage, the SST algorithm is run under the constraints of the guided path until a trajectory within a certain range near the endpoint is found. According to the endpoint of the trajectory generated in the first stage, a random graph search operation with pruning is performed. This operation is performed by introducing a guided information set and ends when a solution that satisfies the position and posture constraints and is within a certain threshold near the endpoint is found.
[0129] The detailed implementation method is as follows:
[0130] Step 1: Use the SST algorithm to optimize the obstacle surface path; during the SST algorithm processing, use the obstacle surface path GuidingPath to limit the random sampling area. When the end point of the obtained path is within the set area of the target end point, proceed to step 2.
[0131] Since tensegrity is a non-standard icosahedron and cannot cover the entire feasible region on the rolling surface, an algorithm based on stable sparse RRT (SST) is chosen, which can achieve probabilistic convergence to the optimal solution while ensuring computational efficiency. A motion primitive-based approach is adopted to convert the tensegrity ground rolling control into a face-to-face rolling problem to improve the computational speed. The basic rolling motion of tensegrity is achieved by transitioning from one face to the adjacent face. The surface geometry of tensegrity consists of 24 edges occupied by elastic cables and 6 additional virtual edges forming 20 triangular faces. Therefore, 60 motion primitives may need to be considered in terms of rolling directionality. However, due to the symmetric topological structure of tensegrity, these motion primitives can be reduced to three equivalent primitives: i) Λ→Δ, ii) Δ→Λ, and iii) Λ→Λ. Δ is an equilateral triangular face and Λ is an isosceles triangular face. A sampling-based trajectory generation method derived from SST is adopted and improved to exploit the library of motion primitives.
[0132] The input of the algorithm includes the initial state x of the system o , target condition X G , motion primitive U and the total number of iterations N. The method maintains a search tree T prop During the iteration of the algorithm, the RandSelect function randomly samples within the area determined by the obstacle surface path GuidingPath to obtain an extension point x new From the active nodes of the existing tree G, the algorithm searches for the nearest neighbor x selected As an extension node. Use the MPProp function to select the motion primitive combination with the minimum extension cost in the motion primitive library to expand x selected , get the current local trajectory π new .
[0133] At this time, the newly generated trajectory π new The endpoints of x are not necessarily new coincides, so we need to check the endpoint π of the current trajectory new (t) Whether it is within the range of other observation points. If the current local trajectory does not collide with obstacles and has the lowest cost among the current observation points, then add the endpoint of the current trajectory to the point set V active , and add the current trajectory to the edge set E. In addition, the observation points need to be updated. If the endpoint of the current trajectory is not within the range of other observation points, then π new (t) is directly added as a new observation point. Otherwise, according to the rules for processing active point sets in SST, the points within the current observation point will be processed accordingly.
[0134] When the end point of the path obtained in step 1 is within a certain area of the target end point,
[0135] After reaching the end point, the second stage, step 2, begins, searching for a trajectory that satisfies the end point path position and posture. By randomly connecting the motion primitives of the tensile body, a trajectory that satisfies the end point path position and posture is searched.
[0136] Step 2: Since the tensegrity shell is a non-standard regular icosahedron, its unfolded diagram is not repeatable, resulting in a large search space in the path search. Therefore, a random search strategy based on pruning is selected to trim the repeated loops in the path, the paths that exceed the information boundary, and the paths that collide with obstacles, so as to find the trajectory that meets the continuity and discrete constraints of the end point.
[0137] The algorithm input includes the motion primitive library U, the initial state x of the tensegrity o and the target state X G Similarly, the algorithm maintains a graph structure G, which initially has only one node x o . During the iteration, the algorithm keeps track of the valid frontier points encountered during the search process. Here, a valid frontier point refers to a point in the graph G that satisfies the conditions, such as the trajectory has no loops within the window range, the current position does not exceed the GuidingPath boundary, and has child nodes. At the beginning of each iteration, the algorithm randomly selects a point from the valid frontier points as the starting point for updating the current graph, and checks whether the two child nodes meet the validity conditions. If so, then verify whether the child node falls within the endpoint threshold range and meets the posture requirements.
[0138] In summary, the above are only preferred embodiments of the present invention and are not intended to limit the protection scope of 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 method for land-air joint motion planning of a tensegrity cross-domain robot, characterized in that: This method consists of two parts: (i) Joint land-air planning based on visual route map: By randomly sampling in the feasible space and judging the visual relationship between the sampling points and the connecting paths, the topological information of the feasible space, i.e., the guiding path, is obtained. The guiding path includes the aerial path and the surface path. (ii) using the aerial path in the guidance path as an initial value and obtaining an aerial trajectory using an aerial trajectory planning generation method; The surface path in the guide path is taken as an initial value, and a surface trajectory planning generation method is used to plan and obtain the surface path.
2. The land-air joint motion planning method of the tensegrity cross-domain robot according to claim 1 is characterized in that: The specific process of random sampling in the feasible space of step (1) is as follows: (1) Perform uniform sampling in the configuration space and map the sampling points to the feasible space; (2) Calculate the sampling point pos rand Feasible space to the obstacle surface If the distance is less than the set threshold, the mapping process is triggered. Otherwise, it is determined whether the sampling point is located within the obstacle. If not, the node is regarded as a feasible sampling point, the label is set to empty, and it is added to the set Q. Otherwise, the sampling point is abandoned. The mapping process is: For the normal vector of the feasible space closest to the sampling point, the sampling point is mapped to the corresponding point on the feasible space plane. The corresponding point is mapped to a new sampling point through a guide vector of random length and direction perpendicular to the normal vector. The collision relationship between the new sampling point and the obstacle is checked. If there is no collision, its label is set to the number of the obstacle and added to the sampling point set Q.
3. The land-air joint motion planning method of the tensegrity cross-domain robot according to claim 2 is characterized in that: The process of determining the visual relationship between sampling points and connection paths to obtain the topological information of the feasible space is as follows: Definition: Guard nodes are nodes responsible for occupying feasible spaces, and Bridge nodes are nodes responsible for connecting occupied areas; (1) For each node q in the node set Q i , and the route map G and q i The guard node of the same feasible space is used as the currently calculated point set P, and the distance q is found in the currently calculated point set P. i The point set Q within the radius δ neigh ; If Q neigh is an empty set, and the node q i Join the route map G as a guard node. Conversely, if the current node q in the set i If the visible node is greater than or equal to 2, it is defined as a candidate bridge node and recorded as q bridge ; Judge q bridge Whether the node meets the uniform visible deformation condition in the same feasible space, if it meets the condition, q bridge The node is defined as a bridge node; After the definition of the node types in the set Q is completed, they are added to the roadmap G to obtain the guidance path.
4. The land-air joint motion planning method of the tensegrity cross-domain robot according to claim 3 is characterized in that: The judgment q bridge The process of determining whether a node satisfies the uniform visible deformation condition in the same feasible space is as follows: The node set Q neight Zhong and q bridge The closest node is denoted as q nearest ; Q nearest Set as the base point for judging the uniqueness and uniform visual deformation of the bridge, that is, the starting point of all paths to be checked is q nearest , traverse the set Q neigh Divide by q nearest Other nodes other than q j , and q nearest ,q bridge ,q j The three points are connected in sequence to form a local feasible path path1; Q nearest With q i The common bridge nodes owned are recorded as N s , traverse N s Node n in s , q nearest ,n s ,q i The local feasible path consisting of three points is recorded as path2; If path2 does not have a uniform visual deformation relationship with path1, q bridge The node is defined as a bridge node and added to the set Q.
5. The land-air joint motion planning method of the tensegrity cross-domain robot according to claim 4 is characterized in that: The judgment criteria of the uniform visible deformation relationship are: Normalize path1 and path2 to the scale range of t∈[0,1], calculate the relationship between the straight line checkPath formed by path1(t) and path2(t) and the obstacle, and if there is a time t that makes checkPath(t) collide with the obstacle, it is considered that there is no uniform visual deformation relationship between the two paths.
6. The land-air joint motion planning method of the tensegrity cross-domain robot according to claim 1 is characterized in that: The process of taking the aerial path in the guidance path as the initial value and using the aerial trajectory planning generation method to obtain the aerial trajectory is as follows: The heuristic function in the A* algorithm is set to the sum of the Euclidean distance h1(n) from the current point to the end point and the guide path offset distance h2(n), and the aerial path is iteratively optimized based on the improved A* algorithm; The iteratively optimized aerial path is subjected to the quadrotor dynamics constraints to obtain the final aerial trajectory.
7. The land-air joint motion planning method of the tensegrity cross-domain robot according to claim 6 is characterized in that: The heuristic function in the A* algorithm is set to the sum of the Euclidean distance h1(n) from the current point to the end point and the guide path offset distance h2(n): h(n)=ε1*h1(n)+ε2*h2(n) Among them, ε1 and ε2 are preset weight coefficients.
8. The land-air joint motion planning method of the tensegrity cross-domain robot according to claim 3 is characterized in that: After iteratively optimizing the aerial path based on the improved A* algorithm, the Bresenham algorithm is further used to optimize the corners of the optimal path under the A* algorithm to obtain the optimal path.
9. The land-air joint motion planning method of the tensegrity cross-domain robot according to claim 1 is characterized in that: The process of taking the surface path in the guide path as the initial value and using the surface trajectory planning generation method to plan the surface path is as follows: The SST algorithm is used to optimize the obstacle surface path. During the SST algorithm processing, the obstacle surface path GuidingPath is used to limit the random sampling area. When the end point of the obtained path is within the set area of the target end point, the trajectory that satisfies the end point path position and posture is searched.
10. The land-air joint motion planning method of the tensegrity cross-domain robot according to claim 9 is characterized in that: The search for a trajectory that satisfies the terminal path position and posture is as follows: a random search strategy based on pruning is selected to cut repeated loops in the path, paths that exceed the information boundary, and paths that collide with obstacles, so as to find a trajectory that satisfies the continuous and discrete constraints of the terminal.
Citation Information
Cited By
State-augmented air-ground amphibious vehicle path planning and mode switching method and system
CN120704306A
