A motion planning method for inspection drones

By combining the method of rolling time domain and control barrier function, the problem of insufficient safety in UAV path planning is solved, multi-constraint optimization in complex environments is achieved, and the safety and work efficiency of UAV are improved.

CN117666354BActive Publication Date: 2024-10-22STATE GRID JIANGSU ELECTRIC POWER CO LTD TAIZHOU POWER SUPPLY BRANCH
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311692889.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-12-08
Publication Date
2024-10-22
Estimated Expiration
2043-12-08

AI Technical Summary

Technical Problem

Existing UAV path planning methods cannot consider multiple constraints at the same time, especially when the flight environment is complex, and their ability to guarantee the safety of UAV inspection tasks is weak.

Method used

Combining the rolling time domain with the control barrier function, a motion planning method is established. Through the discretization model and rolling optimization problem, the discrete time domain control barrier function is added as a safety constraint to optimize the movement path of the UAV.

Benefits of technology

It improves the safety assurance capabilities of UAVs, ensures the safety and efficiency of inspection tasks in complex environments, and achieves control effects in different scenarios by adjusting weights.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117666354B_ABST
    Figure CN117666354B_ABST
Patent Text Reader

Abstract

The present invention relates to the technical field of unmanned aerial vehicle path planning, and specifically to a method for motion planning of an inspection unmanned aerial vehicle, comprising: step S1: establishing a kinematic model of an inspection unmanned aerial vehicle, and discretizing the kinematic model to obtain a discretized model; step S2: based on the discretized model, using a rolling time domain method to establish a rolling optimization problem, and constructing the objective function and constraints of the rolling optimization problem; step S3: adding a discrete time domain control barrier function to the rolling optimization problem as a safety constraint; step S4: solving the rolling optimization problem, using rolling optimization to obtain an input sequence; and correcting the situation where there is no feasible solution to obtain a motion planning path of an inspection unmanned aerial vehicle under multiple constraints. The present invention improves the safety assurance capability of the inspection unmanned aerial vehicle by combining the rolling time domain with the control barrier function.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of unmanned aerial vehicle path planning, and in particular to a method for motion planning of an inspection unmanned aerial vehicle. Background Art

[0002] In recent years, the State Grid has been promoting the use of drones for power inspections and has formulated and improved a number of system standards. Currently, drones have been put into use on a large scale in Jiangsu, Anhui and other regions. Compared with manual inspections, drones can adapt to complex terrains and cover a wide range, greatly improving operational efficiency. Drones can also conduct multi-angle inspections, covering the entire area as well as capturing local details, promptly discovering hidden dangers of external damage, and even enabling nighttime inspections, greatly improving efficiency and reducing costs.

[0003] The automatic flight mode of the drone supports autonomous inspection, automatic return, automatic energy replenishment, and intelligent data collection and analysis. However, due to the diversity of tasks performed by inspection drones and the complex and changeable flight environment, the drone path planning problem is crucial. Path planning refers to making the drone fly from the initial position to the target position. In the path planning task, there are often multiple constraints. At present, the commonly used drone path planning methods include artificial potential field method and ant colony algorithm, but these methods cannot take into account the multiple constraints in the movement of the drone at the same time, which has a greater impact on the inspection task of the drone when the flight environment is complex. For the above problems, technicians in this field have made many efforts. For example, Chinese patent application 2021107757629 provides a drone path planning method based on quadratic programming, which obtains the optimal flight path by considering kinematic constraints, no-fly zone constraints, saturation constraints and initial and final state constraints. However, it does not give much consideration to safety constraints, and its safety assurance capability is weak. Summary of the invention

[0004] To solve the above problems, the present invention provides a motion planning method for an inspection UAV, which adds a safety constraint to the inspection UAV by combining the rolling time domain with the control barrier function, thereby improving its safety assurance capability.

[0005] To achieve the above purpose, the technical solution adopted by the present invention is a motion planning method for an inspection drone, comprising:

[0006] Step S1: establishing a kinematic model of the inspection UAV, and discretizing the kinematic model to obtain a discretized model;

[0007] Step S2: Based on the discretization model, a rolling optimization problem is established using a rolling horizon method, and an objective function and constraint conditions of the rolling optimization problem are constructed;

[0008] Step S3: adding a discrete time domain control barrier function as a safety constraint to the rolling optimization problem;

[0009] Step S4: Solve the rolling optimization problem and obtain an input sequence using rolling optimization; and correct the situation where there is no feasible solution to obtain a motion planning path for the inspection drone under multiple constraints.

[0010] Furthermore, in step S2, the current alarm supports definition of alarm causes, positioning to topology, and supports viewing of historical alarms and related paths, optical paths, and network element information jumps; the current alarm information display includes: presenting uncleared and unconfirmed alarm content.

[0011] Furthermore, in step S1, the kinematic model is:

[0012] Among them, p represents the position coordinates of the inspection drone's center of mass in the geodetic coordinate system p∈R 3 ; v, a represent velocity and acceleration respectively, v, a∈R 3 ;

[0013] The discretization model is: k+1 =Ax k +Bu k

[0014] Among them, x is the state variable of the system, x=[p x ,p y ,p z ,v x ,v y ,v z ] T , u represents the system input variable, u=[a x ,a y ,a z ] T , subscripts k and k+1 are the discretized moments, T is the sampling period of the discrete system, and A and B are constant matrices.

[0015] Furthermore, in step S2, the specific operations of establishing a rolling optimization problem using the rolling time domain include: based on the discretization model, solving a finite time interval optimization problem online at each sampling moment according to the current measurement information obtained, and applying the first element of the obtained control sequence to the controlled object; at the next sampling moment, using the new measurement value as the initial condition, repeating the above process to form a rolling optimization problem.

[0016] Furthermore, in step S2, the objective function of the rolling optimization problem is:

[0017]

[0018] Where N is the number of steps in the rolling time domain prediction; ρ1, ρ2, ρ3>0 are weights;

[0019] e(x t+k ,u t+k )=||x t+k -x t+k|d || 2 , is the tracking error between the multi-rotor inspection UAV and the pre-planned desired trajectory; f(u t+k )=||u t+k || 2 , is the energy consumed by the inspection drone;

[0020] g(u t+k ,u t+k-1 )=||u t+k -u t+k-1 || 2 , is the deviation of the input signal between two adjacent moments; x t+k represents the system state variable at time t+k; x t+k|d represents the expected state variable at time t+k; u t+k represents the system input signal at time t+k; u t+k-1 represents the system input signal at time t+k-1; k represents a positive integer; t represents the time;

[0021] The constraints are:

[0022] Among them, (a) is the kinematic model constraint of the multi-rotor UAV; (b) is the constraint of the inspection UAV's own maneuverability; (c) is the constraint of the system state; N is a positive constant; u max represents the maximum value of the control input signal; χ represents the set of state variables.

[0023] Furthermore, in step S3, the method for obtaining the discrete time domain control barrier function is:

[0024] a: Define a safety set C for the inspection drone system:

[0025] b: Introduce extension Class function γ and control input u, so that h satisfies the relationship: h(x,u)≥-γ(h(x)); where h is the control barrier function and h is a continuous differentiable function;

[0026] c: Combine the control barrier function with the rolling time domain to obtain the discrete time domain control barrier function: h(x k+1 )-h(x k )≥-γ(h(x k)).

[0027] Furthermore, for the discrete time domain, the expansion The class function γ is a constant between 0 and 1; the control barrier function is: h = || px obs || 2 -r 2 ;

[0028] Among them, x obs is the position of the obstacle, and r is the expansion radius of the obstacle.

[0029] Furthermore, in step S4, the rolling optimization problem is solved using a solver; when a feasible solution exists, the first element of the optimal control sequence is applied to the inspection drone system; when a feasible solution does not exist, the correction method is: modify the control input so that:

[0030] The technical solution of the present invention has the following beneficial effects:

[0031] 1. By combining the rolling time domain with the control barrier function, the multiple constraints of the inspection UAV, including safety constraints, are fully considered, the safety assurance capability of the inspection UAV is improved, and it plays an important role in improving the working efficiency of the UAV and reducing safety risks.

[0032] 2. When constructing the objective function of the rolling optimization problem, soft constraints on smoothness are added while considering tracking performance and system energy consumption, which can make the actual flight of the drone more stable. And different control effects can be achieved in different scenarios by adjusting the weight coefficient.

[0033] 3. In the process of solving the rolling optimization problem, the limitations of the optimization problem are taken into consideration. When there is no feasible solution and the system constraints cannot be guaranteed, the corrected control input is designed to further ensure the safety of the inspection drone system. BRIEF DESCRIPTION OF THE DRAWINGS

[0034] In order to make the content of the present invention more clearly understood, the present invention is further described in detail below based on specific embodiments and in conjunction with the accompanying drawings.

[0035] Figure 1 It is a flowchart of the motion planning method of the inspection UAV.

[0036] Figure 2 It is a specific structural diagram of the inspection UAV motion planning system. DETAILED DESCRIPTION

[0037] The technical solution of the present invention is further described below in conjunction with the accompanying drawings, but is not limited thereto. Any modification or equivalent replacement of the technical solution of the present invention without departing from the spirit and scope of the technical solution of the present invention should be included in the protection scope of the present invention.

[0038] like Figure 1 As shown, this embodiment provides a method for motion planning of a patrol inspection drone, including:

[0039] Step S1: According to the under-actuated characteristics of the multi-rotor UAV, a kinematic model of the center of mass of the multi-rotor inspection UAV is established: The kinematic model is discretized to obtain the discretized model: k+1 =Ax k +Bu k .

[0040] Among them, p represents the position coordinates of the inspection drone's center of mass in the geodetic coordinate system, p∈R 3 ; v, a represent velocity and acceleration respectively, v, a∈R 3 . Where x is the state variable of the system, x=[p x ,p y ,p z ,v x ,v y ,v z ] T , u represents the system input variable, u=[a x ,a y ,a z ] T , subscripts k and k+1 are the discretized moments, T is the sampling period of the discrete system, and A and B are constant matrices. And:

[0041]

[0042] Step S2: Based on the discretization model, the rolling optimization problem is constructed using the rolling time domain method. The soft constraints existing in the inspection drone system are added as penalty terms to the objective function to obtain the objective function of the rolling optimization problem:

[0043] Among them, N is the number of steps of the rolling time domain prediction, ρ1, ρ2, ρ3>0 are weights used to measure the importance of each soft constraint. The first term: e(x t+k ,u t+k )=||x t+k -x t+k|d || 2 , represents the tracking error between the multi-rotor inspection drone and the pre-planned desired trajectory, which is used to make the newly planned trajectory deviate from the pre-planned trajectory as little as possible; the second term: f(ut+k )=||u t+k || 2 , represents the energy consumed by the inspection drone, which is used to reduce the energy consumption of the drone; the third item: g(u t+k ,u t+k-1 )=||u t+k -u t+k-1 || 2 , represents the deviation of the input signal between two adjacent moments, and its function is to make the control signal of the inspection drone as smooth as possible. t+k represents the system state variable at time t+k; x t+k|d represents the expected state variable at time t+k; u t+k represents the system input signal at time t+k; u t+k-1 represents the system input signal at time t+k-1; k represents a positive integer; t represents the time.

[0044] The hard constraints that cannot be violated in the inspection drone are added as the constraints of the rolling optimization problem, and the constraints are obtained as follows:

[0045] Among them, (a) is the kinematic model constraint of the multi-rotor UAV, (b) is the constraint of the maneuverability of the inspection UAV itself, (c) is the constraint of the system state, N is a positive constant; u max represents the maximum value of the control input signal; χ represents the set of state variables.

[0046] Step S3: Add a discrete time domain control barrier function as a safety constraint in the rolling optimization problem. The specific implementation method is:

[0047] a: Based on the idea of ​​controlling the barrier function, a safety set C is defined for the inspection drone system:

[0048] Among them, h:R n →R is a continuously differentiable function.

[0049] b: Introduce an extension The class function γ and the corresponding control input u make h satisfy the relationship: h(x,u)≥-γ(h(x)), so that under the action of the control input u, the set C has forward invariance,

[0050] Among them, under the action of the control input u, the set C has forward invariance, that is, the state of the inspection drone system will always be within the safe set. At this time, h is the control barrier function.

[0051] c: Combine the control barrier function with the rolling time domain to obtain the discrete time domain control barrier function: h(x k+1 )-h(xk )≥-γ(h(x k )).

[0052] Step S4: Solve the rolling optimization problem and use rolling optimization to obtain the input sequence; and correct the situation where there is no feasible solution to obtain the motion planning path of the inspection drone under multiple constraints.

[0053] Preferably, in step S2, the specific operation of constructing the rolling optimization problem framework using the rolling time domain method is: at each sampling moment, based on the current measurement information obtained, a finite time interval optimization problem is solved online, and the first element of the obtained control sequence is applied to the controlled object. At the next sampling moment, the above process is repeated: the new measurement value is used as the initial condition for predicting the future dynamics of the system at this time, the optimization problem is refreshed and solved again. The rolling time domain method enables the inspection drone to have the ability to predict the future, and at the same time makes it superior in processing system constraints.

[0054] Preferably, in step S2, different control effects can be achieved by adjusting the weight coefficient in different application scenarios. For example, if the smoothness requirement is very high, ρ3 is set to be relatively large.

[0055] Preferably, in step S3, the discrete time domain control barrier function is added as a hard constraint to the rolling optimization problem to ensure the safety of the multi-rotor inspection drone system. The class function γ is a constant between 0 and 1. For the specific obstacle avoidance problem in safety control, the control barrier function can be selected as h = || px obs || 2 -r 2 .

[0056] Among them, x obs is the position of the obstacle, and r is the expansion radius of the obstacle. When h≥0 is constrained, the inspection drone will not collide with the obstacle.

[0057] Preferably, in step S4, the rolling optimization problem is a typical nonlinear optimization problem in form, so the existing solver can be called to solve it. In the solution process, when a feasible solution exists, according to the rolling optimization idea, the first element of the optimal control sequence is applied to the inspection drone system; when a feasible solution does not exist, the control input used is: To ensure the safety of the inspection drone system.

[0058] In this embodiment, the sampling period T of the discrete system is 0.02 seconds, the number of steps N of the rolling time domain prediction is 8, and ρ1, ρ2, and ρ3 are set to 20, 10, and 10 respectively. Based on the above values, a constraint problem is further constructed for the inspection drone system:

[0059]

[0060] x t+k+1 =Ax t+k +Bu t+k ,k=0,1,...,N-1;

[0061] -u max ≤u t+k ≤u max ,k=0,1,...,N-1;

[0062] x t+k ,x t+N ∈χ,k=0,1,...,N-1;

[0063] h(x k+1 )-h(x k )≥-γ(h(x k )).

[0064] And the maneuverability constraint of the inspection UAV can be obtained as: The speed constraint is:

[0065] For the position (x obs ,y obs ,z obs ), an obstacle with a radius of r, the constructed control barrier function is:

[0066] h=(x (1) -x obs ) 2 +(x (2) -y obs ) 2 +(x (3) -z obs ) 2 -r 2

[0067] where x (1) ,x (2) ,x (3) Represents p x ,p y ,p z . Extension The class function γ is set to a constant, γ = 0.3.

[0068] When the solver is called to solve the rolling optimization problem, at each sampling moment, that is, a sampling period of 0.02 seconds, a finite time interval optimization problem is solved online based on the current measurement information obtained, and the first element of the obtained control sequence is applied to the controlled object. At the next sampling moment, the above process is repeated: the new measurement value is used as the initial condition for predicting the future dynamics of the system at this time, the optimization problem is refreshed and solved again. When there is no feasible solution, the modified control input is: Finally, after completing eight rolling time domain prediction steps, the motion planning of the inspection UAV in a complex environment and under multiple constraints is completed.

[0069] The above descriptions are merely embodiments of the present invention and are not intended to limit the patent scope of the present invention. Any equivalent structure or equivalent process transformation made using the contents of the present invention specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present invention.

Claims

1. A motion planning method for an inspection drone, characterized in that: include: Step S1: establishing a kinematic model of the inspection UAV, and discretizing the kinematic model to obtain a discretized model; Step S2: Based on the discretization model, a rolling optimization problem is established using a rolling horizon method, and an objective function and constraint conditions of the rolling optimization problem are constructed; The objective function of the rolling optimization problem is: Where N is the number of steps for the rolling time domain prediction; ρ1, ρ2, ρ3 are all weights, ρ1, ρ2, ρ3> 0; e(x t+k ,u t+k )=||x t+k -x t+kd || 2 , is the tracking error between the multi-rotor inspection UAV and the pre-planned desired trajectory; f(u t+k )=||u t+k || 2 , is the energy consumed by the inspection drone; g(u t+k ,u t+k-1 )=||u t+k -u t+k-1 || 2 , is the deviation of the input signal between two adjacent moments; x t+k represents the system state variable at time t+k; x t+k|d represents the expected state variable at time t+k; u t+k represents the system input signal at time t+k; u t+k-1 represents the system input signal at time t+k-1; k represents a positive integer; t represents the time; The constraints are: Among them, (a) is the kinematic model constraint of the multi-rotor UAV; (b) is the constraint of the inspection UAV's own maneuverability; (c) is the constraint of the system state; N is a positive constant; u max represents the maximum value of the control input signal; χ represents the set of state variables; Step S3: Adding a discrete time domain control barrier function as a safety constraint to the rolling optimization problem; the method for obtaining the discrete time domain control barrier function is: a: Define a safety set C for the inspection drone system: b: Introduce extension The class function γ and the control input u make h satisfy the relationship: Wherein, h is the control barrier function, and h is continuous and differentiable; the expansion The class function γ is a constant between 0 and 1; the control barrier function is: h = || px obs || 2 -r 2 ; where x obs is the position of the obstacle, r is the expansion radius of the obstacle; p represents the position coordinate of the inspection drone's center of mass in the geodetic coordinate system c: Combine the control barrier function with the rolling time domain to obtain the discrete time domain control barrier function: h(x k+1 )-h(x k )≥-γ(h(x k )); Step S4: Solve the rolling optimization problem, and use rolling optimization to obtain an input sequence; and correct the situation where there is no feasible solution to obtain a motion planning path for the inspection drone under multiple constraints; the specific method is: use a solver to solve the rolling optimization problem; when a feasible solution exists, apply the first element of the optimal control sequence to the inspection drone system; when a feasible solution does not exist, the correction method is: modify the control input so that: Where v represents the speed, 2. The inspection drone motion planning method according to claim 1 is characterized in that: In step S1, the kinematic model is: Among them, p represents the position coordinates of the inspection drone's center of mass in the geodetic coordinate system, v and a represent velocity and acceleration respectively. The discretization model is: k+1 =Ax k +Bu k ; Among them, x is the state variable of the system, x=[p x ,p y ,p z ,v x ,v y ,v z ] T , u represents the system input variable, u=[a x ,a y ,a z ] T , subscripts k and k+1 are the discretized moments, T is the sampling period of the discrete system, and A and B are constant matrices.

3. The inspection drone motion planning method according to claim 1 is characterized in that: In step S2, the specific operations of establishing a rolling optimization problem using the rolling time domain include: based on the discretization model, solving a finite time interval optimization problem online at each sampling moment according to the current measurement information obtained, and applying the first element of the obtained control sequence to the controlled object; at the next sampling moment, using the new measurement value as the initial condition, repeating the above process to form a rolling optimization problem.