Trajectory planning method for variable configuration unmanned aerial vehicle to pass through narrow channel

By modeling the UAV as a polyhedron and optimizing the path points and velocity directions using Euclidean symbolic distance fields, combined with roll angle search, the optimal trajectory is generated. This solves the safety and computational complexity problems of path planning for variable-configuration UAVs in narrow passages, achieving efficient and safe trajectory planning.

CN117452965BActive Publication Date: 2026-11-24HANGZHOU INNOVATION RES INST OF BEIJING UNIV OF AERONAUTICS & ASTRONAUTICS
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
CN202311476497.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-11-07
Publication Date
2026-11-24
Estimated Expiration
2043-11-07

AI Technical Summary

Technical Problem

Existing technologies lack safety considerations in path planning when variable-configuration UAVs traverse narrow passages, fail to fully utilize passage geometric information, and have high computational complexity in trajectory optimization, thus failing to effectively utilize the attitude maneuverability of UAVs.

Method used

The UAV is modeled as a polyhedron, and the center path point and velocity direction are optimized using Euclidean symbolic distance field. The path point is optimized through gradient information, and the optimal trajectory is generated by combining roll angle search. A trajectory optimization method with linear complexity is adopted.

Benefits of technology

It achieves highly safe path planning in narrow passages, reduces ineffective exploration, quickly solves the minimum control cost trajectory, and makes full use of passage geometry information and UAV attitude.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117452965B_ABST
    Figure CN117452965B_ABST
Patent Text Reader

Abstract

This invention provides a trajectory planning method for variable-configuration unmanned aerial vehicles (UAVs) traversing narrow passages, relating to the field of UAV motion planning. It provides a center path point and roll angle for variable-configuration UAVs traversing narrow passages, addressing issues such as insufficient safety in traditional path search methods. The invention includes: UAV contour modeling, establishing the UAV contour as a convex polyhedron; center path point optimization, using Euclidean sign distance field information and gradient information to optimize path points to the centerline of the narrow passage, using gradient optimization of velocity direction, and recursively calculating the next path point; optimal roll angle search, searching for the optimal roll angle for the variable-configuration UAV at the center path point; and optimal trajectory generation, generating a minimum control cost polynomial trajectory based on the center path point sequence and roll angle sequence. The trajectory planning method of this invention offers high safety, high search efficiency, and smooth generated trajectories, making it suitable for mission scenarios involving UAVs traversing narrow passages.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention belongs to the field of aircraft motion planning, specifically relating to a trajectory planning method for a variable-configuration UAV traversing a narrow passage, applicable to scenarios where a variable-configuration UAV traverses a narrow passage. Background Technology

[0002] In recent years, small unmanned aerial vehicles (UAVs) using quadcopters as flight platforms have been widely used in disaster relief and other fields. To improve the autonomous flight capabilities of UAVs, they typically need to search for feasible paths and autonomously plan trajectories in unknown environments to execute flight missions. Traditional quadcopter UAV trajectory planning often treats the aircraft as a point mass, expanding obstacles to a corresponding scale, and planning within the x, y, z configuration space of the point mass, without considering the UAV's shape and attitude. However, rescue spaces in collapsed buildings after disasters are narrow, requiring greater maneuverability for trajectory planning in such scenarios. In search and reconnaissance missions, variable-configuration UAVs provide a more maneuverable flight platform for traversing narrow passages, making trajectory planning for such passages particularly important. In the field of path search, classic algorithms mainly include the search-based A* algorithm and the sampling-based RRT* algorithm. However, these methods have some shortcomings when dealing with scenarios where variable-configuration UAVs traverse narrow passages. For example, these methods focus on finding the shortest path, and the planned paths often hug the passage or obstacles, lacking consideration for safety. Secondly, they do not fully utilize the geometric information of the passage, searching or sampling globally, resulting in many ineffective explorations. Furthermore, they cannot plan the UAV's attitude, failing to fully utilize the feasible space of the narrow passage. In the field of trajectory optimization, the common method for finding the optimal trajectory is Minimum Snap polynomial trajectory optimization. Other methods include B-splines and Bézier curves, but solving Minimum Snap trajectory optimization problems online requires repeatedly calling a quadratic programming solver, resulting in high computational costs. Planning a trajectory close to the center of the narrow passage for a variable-configuration quadrotor UAV, while fully utilizing the UAV's maneuverability, to traverse the narrow passage is a challenging problem.

[0003] Chinese patent application CN202210605385.9 proposes a trajectory generation method for tilt-rotor quadcopters. It generates discrete path points based on the A* algorithm and parameterizes the path using B-spline interpolation to ensure collision-free trajectory. However, it suffers from three problems: (1) It fails to overcome the shortcomings of the A* algorithm, neglecting safety in path search and failing to fully utilize environmental geometric information, making it unsuitable for trajectory planning in narrow passages; (2) The soft-constraint optimization method cannot guarantee that constraints are met throughout the flight; (3) The attitude planning is not precise, using average values ​​for attitude command channel angles and lacking precise utilization of environmental geometric information. Chinese patent application CN202210842336.7 proposes a real-time trajectory planning method considering the shape of a rotary-wing UAV, modeling the UAV as two spheres and considering the influence of yaw angle on obstacle avoidance during path search. In trajectory optimization, the distance information between all sphere centers and obstacles and the gradient direction information away from obstacles are queried using the ESDF map, and then the gradient descent method is used to optimize the trajectory. However, there are two problems: (1) Modeling the UAV as two spheres is not accurate, especially for models with similar horizontal and vertical dimensions; (2) The front-end path search algorithm only considers the influence of yaw angle, which is essentially still planning in a 2.5D map environment and does not consider the influence of roll angle in a 3D environment. Chinese patent application CN202110748173.1 improves the A* algorithm by first establishing a sampling tree and simultaneously searching during the sampling process. Essentially, it combines the search and sampling methods to solve for feasible paths, but does not consider safety constraints.

[0004] Therefore, the methods described above do not adequately address the challenge of navigating narrow passages for variable-configuration UAVs in terms of trajectory planning. During path search, due to the limited feasible space, expanding obstacles are unsuitable, and assuming the UAV is a point mass is also inappropriate. The search for collision-free paths should consider the impact of the variable-configuration UAV's roll angle on trajectory safety, fully utilizing its attitude maneuverability to traverse narrow passages. Summary of the Invention

[0005] To address the aforementioned technical problems, this invention provides a trajectory planning method for a variable-configuration UAV traversing a narrow passage. Specifically, to achieve trajectory planning for a variable-configuration UAV traversing a narrow passage, given the small feasible area and the potential for the passage to expand, which could reduce the feasible space and lead to conservative or even unsolvable path searches, this invention establishes the UAV's profile as a polyhedral model, taking into account the impact of roll attitude on trajectory safety. To address the issues of traditional path search algorithms generating paths that are too close to obstacles and have low exploration efficiency, this invention fully utilizes the geometric information of the passage, establishing two optimization problems based on Euclidean sign distance fields. By using gradient information to sequentially optimize the center path point and velocity direction, a sequence of path points located at the center of the passage is recursively generated, improving path safety. To address the high computational time complexity of trajectory optimization, this invention employs a method of constructing the optimal trajectory using optimality conditions. By directly constructing a system of linear equations, a unique minimum control cost trajectory is solved with linear complexity.

[0006] To achieve the above objectives, the present invention adopts the following technical solution:

[0007] A trajectory planning method for a variable-configuration unmanned aerial vehicle (UAV) traversing a narrow passage includes the following steps:

[0008] The first step is to model the profile of the variable configuration UAV as a polyhedron model, and represent the vertex coordinates of the polyhedron as states related to the position and attitude of the UAV.

[0009] The second step is to optimize the center path point, including speed optimization and position optimization. In the narrow channel, gradient information is used to optimize the center point path and forward speed direction. The direction of the line connecting adjacent path points is used as the initial speed direction, and the speed direction is optimized using gradient information. The next path point is obtained recursively.

[0010] The third step is to search for the optimal roll angle. At the center path point, search for the optimal roll angle for the variable configuration UAV.

[0011] The fourth step is to generate the optimal trajectory. Based on the sequence of center path points and the roll angle sequence, a time-parameterized minimum control cost polynomial trajectory is generated, which also satisfies the path point constraints.

[0012] The advantages of this invention compared to existing technologies are as follows: This invention is mainly aimed at the trajectory planning task of variable-configuration UAVs traversing narrow passages. Compared with traditional methods, this invention can make full use of the geometric information of the narrow passage and reduce ineffective exploration of the environment; the search path point is closer to the center of the passage, resulting in higher safety; the UAV is modeled as a polyhedron, taking into account the planning problem of roll angle, avoiding the situation where obstacle expansion causes conservative solutions or even no solutions for the path; at the same time, this invention adopts a trajectory optimization method with linear complexity to quickly solve the polynomial minimum control cost trajectory. Attached Figure Description

[0013] Figure 1 This is a flowchart of a trajectory planning method for a variable-configuration UAV traversing a narrow passage according to the present invention. Detailed Implementation

[0014] To make the objectives, technical solutions, and advantages of this invention clearer, the invention will be further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative and not intended to limit the invention. Furthermore, the technical features involved in the various embodiments of this invention described below can be combined with each other as long as they do not conflict with each other.

[0015] To illustrate the specific implementation of this invention, we take a general-purpose variable configuration UAV system as an example. The outer contour of the UAV is modeled, and trajectory planning is performed in a narrow passage. At the same time, obstacle avoidance issues of position and attitude are considered to achieve safe trajectory planning in a narrow passage.

[0016] like Figure 1 As shown, the trajectory planning method for a variable-configuration UAV traversing a narrow passage according to the present invention includes the following steps:

[0017] The first step is to model the profile of the variable configuration UAV as a polyhedron model, and represent the vertex coordinates of the polyhedron as states related to the position and attitude of the UAV.

[0018] The second step is to optimize the center path point, including speed optimization and position optimization. In the narrow channel, gradient information is used to optimize the center point path and forward speed direction. The direction of the line connecting adjacent path points is used as the initial speed direction, and the speed direction is optimized using gradient information. The next path point is obtained recursively.

[0019] The third step is to search for the optimal roll angle. At the center path point, search for the optimal roll angle for the variable configuration UAV.

[0020] The fourth step is to generate the optimal trajectory. Based on the sequence of center path points and the roll angle sequence, a time-parameterized minimum control cost polynomial trajectory is generated, which also satisfies the path point constraints.

[0021] Furthermore, the first step includes: the ground coordinate system is represented as E = {X} E ,Y E Z E}, where X E ,Y E Z E The three axes of the ground coordinate system point to the north, east, and ground directions, respectively; the body coordinate system is represented as B = {X...} B ,Y B Z B}, where XB ,Y B Z B The three axes of the ground coordinate system point to the front, right, and bottom of the aircraft, respectively; p c Let φ represent the center of mass coordinates of the variable configuration UAV, θ represent the roll angle in Euler angles, θ represent the pitch angle in Euler angles, and ψ represent the yaw angle in Euler angles. φ, θ, and ψ are used to describe the attitude of the body coordinate system relative to the ground coordinate system. The corresponding rotation matrix is:

[0022]

[0023] Where cos(·) and sin(·) are the cosine and sine trigonometric functions, respectively; r, r, h represent the length, width, and height dimensions of the variable-configuration UAV profile, assuming the center of the polyhedron coincides with the UAV's centroid; j represents the vertex index; q B j Represents the coordinates of the j-th vertex in the machine system:

[0024]

[0025] Where j = 1...8, q E j The coordinates of the eight vertices of a polyhedron in the ground system are represented as follows:

[0026]

[0027] By q E j The resulting outline is a convex polyhedron, and the fact that each vertex does not collide in a narrow space ensures that the entire machine will not collide with obstacles.

[0028] Furthermore, the second step includes: modeling the environment of the narrow passage using a Euclidean symbolic distance field map; the Euclidean symbolic distance field is a potential field function, where p represents the position coordinates in space, D(p) represents the distance to the nearest obstacle stored in the voxel at p, and G(p) represents the gradient information of the distance, where D(p)∈R, G(p)∈R 3 ;R,R 3 Let represent the one-dimensional and three-dimensional real number spaces, respectively. In Euclidean notation, the D(p) of a voxel outside an obstacle in the distance field is positive, the D(p) of a voxel inside an obstacle is negative, and the D(p) of a voxel on the surface of an obstacle is zero; the gradient G(p) of the voxel at position p is perpendicular to the tangent plane of the surface of the nearest obstacle and points outward from the obstacle.

[0029] By utilizing the gradient information of the Euclidean notated distance field, the center path point and velocity direction are optimized; This represents the initial center path point of the drone. Indicates the initial velocity direction, and step represents the iteration step size. Indicates the predicted next path point

[0030]

[0031] by Establish a circular constraint with r as the center and r as the radius. in For sampling points in the four quadrants of the circle, the quadrants are arranged according to... Direction and normal division; establish optimization problem one, for 4 sampling points on the circle. Optimize:

[0032]

[0033]

[0034] The optimized sampling points are represented by the following formula: The velocity direction for the next iteration is calculated as follows:

[0035]

[0036]

[0037] n s Indicates the direction of the line connecting the sampling points, and the optimized velocity direction. Perpendicular to n s ||·|| represents the 2-norm of a vector.

[0038] Based on optimized speed direction Establish cross-section constraints Considering the limited lateral dimensions of the channel, boundary constraints are established. Where L represents half the width of the channel, p 1 Represents the path point to be optimized, ||·|| inf Let the infinity norm of a vector be represented; let's establish optimization problem two, optimizing the path points:

[0039]

[0040]

[0041] These are the optimized path points;

[0042] Combining optimization problems one and two, the problem of center path point reduction within a narrow channel is reduced to two continuous, non-smooth, nonlinear quadratic optimization problems:

[0043]

[0044]

[0045]

[0046] max D(p i )

[0047]

[0048] in, Let $i$ represent the path prediction point, velocity direction, and center path point at the i-th optimization step, respectively. The numerical solution to the problem can be obtained through a nonlinear optimization solver, and the next center path point can be obtained by iterative optimization.

[0049] Furthermore, the third step includes: searching for the optimal roll angle at the center path point; at the center path point... The optimal roll angle for the variable-configuration UAV is found at point i, so that the overall outline of the UAV is far away from the obstacle. In step i, the following optimization problem is established:

[0050]

[0051]

[0052]

[0053] φ i ∈[-φ m ,φ m ]

[0054] ψ i φ represents the yaw angle. i The optimal rolling posture obtained by solving the optimization problem is represented by the posture in which the sum of the distances from the vertices of the UAV's polyhedral profile to the obstacles is maximized, and the UAV is in the safest posture in the narrow passage; J represents the cost function, and max represents the optimization objective as maximizing the value of the function; φ m The boundary indicating the roll angle; Let x and y represent the x and y components of the optimal velocity, respectively, and arctan represent the arctangent function.

[0055] Furthermore, the fourth step includes: solving for the optimal trajectory from discrete attitude points and path points; and writing the center path point and roll angle obtained in the second and third steps as... N represents the total number of path points, S opt Representing a discrete pose sequence, the polynomial trajectory for the x-axis, the solution for the minimum control cost includes:

[0056] S optThe x-components in the equation are {x0, x1, x2...x} N The N+1 points divide the trajectory into N spline trajectories;

[0057] The trajectory of the i-th segment can be represented by a 7th-degree polynomial as follows:

[0058]

[0059] Where β(a)=(1,a,a) 2 ...a 7 ) T Let t denote the basis of the polynomial, ci∈R8 be the polynomial coefficient matrix; i-1 ,t i Let T be the end time of the (i-1)th and (i-1)th segments of the spline trajectory, respectively. Relative time is used in the trajectory calculation. i =t i -t i-1 Let x be the duration of the i-th trajectory segment, which is determined by N trajectory splines. i The complete trajectory composed of (t) is represented as:

[0060]

[0061] The polynomial trajectory is uniquely determined by the coefficient matrix c and the time vector T:

[0062]

[0063] To generate N-segment trajectories that satisfy UAV dynamic constraints, are smooth and continuous, and have the minimum control cost, optimization problem three is established:

[0064]

[0065]

[0066] The time interval is also divided into N segments; the fourth derivative of the specified trajectory is the control input of the UAV, u(t) is the control input of the UAV, i.e., the fourth derivative of the trajectory x. (4) (t), where W is the weighting coefficient; Let x represent the initial and final boundary conditions of the entire trajectory, respectively. [3] (t) is the derivative of the trajectory up to the third order x, x (1) ,x (2) ,x (3) The trajectory's position, velocity, acceleration, and acceleration derivative information are required to have all derivatives equal to zero under the initial and final boundary conditions during the traversal mission; x i For each spline trajectory connection point, at t iThe value at time represents the points that the trajectory must pass through, while also constraining the intersection of adjacent spline trajectories to be continuous, derived from the discrete path point sequence S from the previous step. opt supply;

[0067] Considering the optimality conditions of the trajectory, establish a linear mapping between the boundary conditions and coefficients; D0, D N ∈R 4 Let represent the matrices formed by the initial and Nth trajectory boundary conditions, respectively. Assuming the UAV is in a hovering state before and after executing the trajectory, then:

[0068] D0 = [x0,0,0,0] T D N [x N ,0,0,0] T

[0069] D i The matrix representing the intermediate conditions of the i-th trajectory segment is given by t. i At any given time, the relationship between the coefficients of the spline trajectory and the intermediate conditions is represented by matrix E. i ,F i Represented as:

[0070]

[0071] in,

[0072] E i =(β(T) i ),β(T i ),β (1) (T i ),...,β (6) (T i )) T ,F i =(0,-β(0),-β) (1) (0),...,-β (6) (0)) T ,β(T i )=[1,T i ,T i 2 ,...,T i 7 ] T ,β (1) (T i ),...,β (6) (T i ) represent the first to sixth derivatives respectively. Matrix F0, E N They are respectively represented as

[0073] F0=(β(0),β (1) (0),β(2) (0),β (3) (0)) T E N =(β(T) N ),β(T N ),β (1) (T N ),β (2) (T N ),β (3) (T N )) T The relationship between the coefficients c of the trajectory polynomial and the linear equations relating the boundary conditions and intermediate conditions is as follows:

[0074] Mc=b

[0075] Where M∈R 8N×8N ,b∈R 8N They are respectively:

[0076]

[0077] The time vector T has positive elements, and the coefficient matrix M is a strip matrix. The nonsingularity of this matrix guarantees that the linear equation system can be solved through matrix decomposition with a time complexity of O(N). After obtaining the matrix coefficients, the time-parameterized trajectory x(t) = c is obtained. T β(t), the trajectory x(t) = c T β(t) is the optimal functional solution to optimization problem three; the time-parameterized trajectories of the y, z, and φ channels are also derived from the sequence S. opt It was obtained through calculation.

[0078] The contents not described in detail in this specification are existing technologies known to those skilled in the art.

Claims

1. A trajectory planning method for a variable-configuration unmanned aerial vehicle (UAV) traversing a narrow passage, characterized in that, Includes the following steps: The first step is to model the profile of the variable configuration UAV as a polyhedron model, and represent the vertex coordinates of the polyhedron as states related to the position and attitude of the UAV. The second step is to optimize the center path point, including speed optimization and position optimization. In the narrow channel, gradient information is used to optimize the center point path and forward speed direction. The direction of the line connecting adjacent path points is used as the initial speed direction, and the speed direction is optimized using gradient information. The next path point is obtained recursively. The third step is to search for the optimal roll angle. At the center path point, search for the optimal roll angle for the variable configuration UAV. The fourth step is to generate the optimal trajectory. Based on the sequence of center path points and the roll angle sequence, a time-parameterized minimum control cost polynomial trajectory is generated, which also satisfies the path point constraints.

2. The trajectory planning method for a variable-configuration UAV traversing a narrow passage according to claim 1, characterized in that, The first step includes: The ground coordinate system is represented as E = {X} E ,Y E Z E }, where X E ,Y E Z E The three axes of the ground coordinate system point to north, east, and the ground direction, respectively; the body coordinate system is represented as B = {X...} B ,Y B Z B }, where X B ,Y B Z B The three axes of the ground coordinate system point to the front, right, and bottom of the aircraft, respectively; p c Let φ represent the center of mass coordinates of the variable configuration UAV, θ represent the roll angle in Euler angles, θ represent the pitch angle in Euler angles, and ψ represent the yaw angle in Euler angles. φ, θ, and ψ are used to describe the attitude of the body coordinate system relative to the ground coordinate system. The corresponding rotation matrix is: Where cos(·) and sin(·) are the cosine and sine trigonometric functions, respectively; r, r, h represent the length, width, and height dimensions of the variable-configuration UAV profile, assuming the center of the polyhedron coincides with the UAV's centroid; j represents the vertex index; q B j Represents the coordinates of the j-th vertex in the machine system: Where j = 1...8, q E j Represented as the coordinates of the vertices of the polyhedron in the ground system: By q E j The resulting outline is a convex polyhedron, and the fact that each vertex does not collide in a narrow space ensures that the entire machine will not collide with obstacles.

3. The trajectory planning method for a variable-configuration UAV traversing a narrow passage according to claim 2, characterized in that, The second step includes: modeling the environment of the narrow passage using a Euclidean symbolic distance field map; the Euclidean symbolic distance field is a potential field function, where p represents the position coordinates in space, D(p) represents the distance to the nearest obstacle stored in the voxel at p, and G(p) represents the gradient information of the distance, where D(p)∈R, G(p)∈R 3 , R,R 3 Let represent one-dimensional and three-dimensional real spaces, respectively; in the Euclidean notated distance field, D(p) of voxels outside obstacles is positive, D(p) of voxels inside obstacles is negative, and D(p) of voxels on the surface of obstacles is zero; the gradient G(p) of the voxel at position p is perpendicular to the tangent plane of the surface of the nearest obstacle and points outward from the obstacle; the gradient information of the Euclidean notated distance field is used to optimize the center path point and velocity direction; This represents the initial center path point of the drone. The initial velocity direction is indicated by `step`, which represents the iteration step size. Indicates the predicted next path point: by Establish a circular constraint with r as the center and r as the radius. in These are sampling points in four quadrants of the circle, k = 1, 2, 3, 4, arranged in quadrants according to... Direction and normal division; establish optimization problem one, for 4 sampling points on the circle. Optimize: min indicates that the optimization objective is to minimize the cost function. Represents the optimized sampling points, and calculates the speed for the next iteration. for: n s Indicates the direction of the line connecting the sampling points, and the optimized velocity direction. Perpendicular to n s ||·|| denotes the 2-norm of a vector; Based on optimized velocity direction Establish cross-section constraints Considering the limited lateral dimensions of the channel, boundary constraints are established. Where L represents half the width of the channel, p 1 Represents the path point to be optimized, ||·|| inf Let the infinity norm of a vector be represented; let's establish optimization problem two, optimizing the path points: max indicates that the optimization objective is to maximize the function. These are the optimized path points; Combining optimization problems one and two, the problem of center path point reduction within a narrow channel is reduced to two continuous, non-smooth, nonlinear quadratic optimization problems: max D(p i ) in, Let $i$ represent the path prediction point, velocity direction, and center path point at the i-th optimization step, respectively. The numerical solution to the problem can be obtained through a nonlinear optimization solver, and the next center path point can be obtained by iterative optimization.

4. The trajectory planning method for a variable-configuration UAV traversing a narrow passage according to claim 3, characterized in that, The third step includes: searching for the optimal roll angle at the center path point; at the center path point... The optimal roll angle for the variable-configuration UAV is found at point i, so that the overall outline of the UAV is far away from the obstacle. In step i, the following optimization problem is established: f i ∈[-φ m ,f m ] ψ i φ represents the yaw angle. i The optimal rolling posture obtained by solving the optimization problem is represented by the posture in which the sum of the distances from the vertices of the UAV's polyhedral contour to the obstacles is maximized, and the UAV is in the safest posture in the narrow passage; J represents the cost function, and max represents the optimization objective as maximizing the value of the function; φ m The boundary indicating the roll angle; Let x and y represent the x and y components of the optimal velocity, respectively, and arctan represent the arctangent function.

5. The trajectory planning method for a variable-configuration UAV traversing a narrow passage according to claim 4, characterized in that, The fourth step includes: solving for the optimal trajectory from discrete attitude points and path points; and writing the center path point and roll angle obtained in the second and third steps as... N represents the total number of path points, S opt Representing a discrete pose sequence, the polynomial trajectory for the x-axis, the solution for the minimum control cost includes: S opt The x-components in the equation are {x0, x1, x2...x} N The N+1 points divide the trajectory into N spline trajectories; The trajectory of the i-th segment can be represented by a 7th-degree polynomial as follows: Where β(a)=(1,a,a) 2 ...a 7 ) T Denotes the basis of polynomials, c i ∈R 8 t is the polynomial coefficient matrix; i-1 ,t i Let T be the end time of the (i-1)th and (i-1)th segments of the spline trajectory, respectively. Relative time is used in the trajectory calculation. i =t i -t i-1 Let x be the duration of the i-th trajectory segment, which is determined by N trajectory splines. i The complete trajectory composed of (t) is represented as: The polynomial trajectory is uniquely determined by the coefficient matrix c and the time vector T: To generate N-segment trajectories that satisfy UAV dynamic constraints, are smooth and continuous, and have the minimum control cost, optimization problem three is established: The time interval is also divided into N segments; the fourth derivative of the specified trajectory is the control input of the UAV, u(t) is the control input of the UAV, i.e., the fourth derivative of the trajectory x. (4) (t), where W is the weighting coefficient; Let x represent the initial and final boundary conditions of the entire trajectory, respectively. [3] (t) is the derivative of the trajectory up to the third order x, x (1) ,x (2) ,x (3) The trajectory's position, velocity, acceleration, and acceleration derivative information are required to have all derivatives equal to 0 for both initial and final boundary conditions during the traversal mission; x i For each spline trajectory connection point, at t i The value at time represents the points that the trajectory must pass through, while also constraining the intersection of adjacent spline trajectories to be continuous, derived from the discrete path point sequence S from the previous step. opt supply; Considering the optimality conditions of the trajectory, establish a linear mapping between the boundary conditions and coefficients; D0, D N ∈R 4 Let represent the matrices formed by the initial and Nth trajectory boundary conditions, respectively. Assuming the UAV is in a hovering state before and after executing the trajectory, then: D0=[x0,0,0,0] T ,D N [x N ,0,0,0] T D i The matrix representing the intermediate conditions of the i-th trajectory segment is given by t. i At any given time, the relationship between the coefficients of the spline trajectory and the intermediate conditions is represented by matrix E. i ,F i Represented as: Among them, E i =(β(T) i ),β(T i ),β (1) (T i ),...,β (6) (T i )) T ,F i =(0,-β(0),-β) (1) (0),...,-β (6) (0)) T ,β(T i )=[1,T i ,T i 2 ,...,T i 7 ] T ,β (1) (T i ),...,β (6) (T i ) represent the first to sixth derivatives respectively; matrices F0, E N Represented as F0=(β(0),β (1) (0),β (2) (0),β (3) (0)) T E N =(β(T) N ),β(T N ),β (1) (T N ),β (2) (T N ),β (3) (T N )) T The relationship between the coefficients c of the trajectory polynomial and the linear equations relating the boundary conditions and intermediate conditions is as follows: Mc=b Where M∈R 8N×8N ,b∈R 8N They are respectively: The time vector T has positive elements, and the coefficient matrix M is a strip matrix. The nonsingularity of this matrix guarantees that the linear equation system can be solved through matrix decomposition with a time complexity of O(N). After obtaining the matrix coefficients, the time-parameterized trajectory x(t) = c is obtained. T β(t), the trajectory x(t) = c T β(t) is the optimal functional solution to optimization problem three; the time-parameterized trajectories of the y, z, and φ channels are also derived from the sequence S. opt It was obtained through calculation.

Citation Information

Patent Citations

  • Unmanned aerial vehicle trajectory planning method based on improved A star algorithm

    CN113342056A

  • Motion track generation method and system of tilting quad-rotor unmanned aerial vehicle

    CN114924579A

  • Real-time trajectory planning method considering appearance of unmanned rotorcraft in complex environment

    CN115097857A

  • Motion planning method of quadruped robot for narrow environment

    CN114022824A

  • Continuous analytic construction method for convex polyhedron artificial potential field and gradient force

    CN115033003A