CN111781948A - Unmanned aerial vehicle formation shape transformation and online dynamic obstacle avoidance method - Google Patents

Unmanned aerial vehicle formation shape transformation and online dynamic obstacle avoidance method Download PDF

Info

Publication number
CN111781948A
CN111781948A CN202010559970.0A CN202010559970A CN111781948A CN 111781948 A CN111781948 A CN 111781948A CN 202010559970 A CN202010559970 A CN 202010559970A CN 111781948 A CN111781948 A CN 111781948A
Authority
CN
China
Prior art keywords
unmanned aerial
aerial vehicle
repulsion
obstacle
force
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Withdrawn
Application number
CN202010559970.0A
Other languages
Chinese (zh)
Inventor
郑宇�
曾旭
金滢
赵雪冬
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Nanjing Non Air Aviation Technology Co ltd
Original Assignee
Nanjing Non Air Aviation Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Nanjing Non Air Aviation Technology Co ltd filed Critical Nanjing Non Air Aviation Technology Co ltd
Priority to CN202010559970.0A priority Critical patent/CN111781948A/en
Publication of CN111781948A publication Critical patent/CN111781948A/en
Withdrawn legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05DSYSTEMS FOR CONTROLLING OR REGULATING NON-ELECTRIC VARIABLES
    • G05D1/00Control of position, course, altitude or attitude of land, water, air or space vehicles, e.g. using automatic pilots
    • G05D1/10Simultaneous control of position or course in three dimensions
    • G05D1/101Simultaneous control of position or course in three dimensions specially adapted for aircraft
    • G05D1/104Simultaneous control of position or course in three dimensions specially adapted for aircraft involving a plurality of aircrafts, e.g. formation flying

Landscapes

  • Engineering & Computer Science (AREA)
  • Aviation & Aerospace Engineering (AREA)
  • Radar, Positioning & Navigation (AREA)
  • Remote Sensing (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Automation & Control Theory (AREA)
  • Control Of Position, Course, Altitude, Or Attitude Of Moving Bodies (AREA)

Abstract

The invention discloses a formation transformation and online dynamic obstacle avoidance method for unmanned aerial vehicles, and belongs to the technical field of unmanned aerial vehicles. The method specifically comprises the following steps: step one, calculating a repulsive force field and a repulsive force of the unmanned aerial vehicle and resultant force borne by the unmanned aerial vehicle through an artificial potential field algorithm; step two, improving the calculation of the artificial potential field algorithm in the step one; combining with improved artificial potential field algorithm calculation, providing an expected path smoothing strategy based on a Kernel method for solving the problems of excessive fold lines and large inflection point angle of an expected path caused by frequent entering and exiting of an obstacle expansion area in the obstacle avoidance process of the unmanned aerial vehicle; and step four, designing an inter-aircraft obstacle avoidance algorithm for realizing avoidance of the unmanned aerial vehicles. According to the flight characteristics of the fixed-wing unmanned aerial vehicle, the inter-aircraft obstacle avoidance artificial potential field is designed, so that the multiple aircrafts cannot fly into a static obstacle area and collide with other aircrafts when flying in formation.

Description

Unmanned aerial vehicle formation shape transformation and online dynamic obstacle avoidance method
Technical Field
The invention belongs to the technical field of unmanned aerial vehicles, and particularly relates to a formation transformation and online dynamic obstacle avoidance method for unmanned aerial vehicles.
Background
When unmanned aerial vehicle formation flies, must keep certain safe distance between each machine inside the formation, therefore online developments are indispensable. The current mature obstacle avoidance and path planning algorithms include an artificial potential field method, an ant colony algorithm, a fast expansion random number method, a Voronoi diagram method, an A-star algorithm and the like. These methods can be divided into global planning and local planning according to the perception of the surrounding environment. The global information is known in the global planning, the global information is unknown in the local planning, and the local information can be sensed only by combining the sensor. Unmanned aerial vehicle formation is kept away the barrier and is kept away the route re-planning behind the barrier under the dynamic environment is a hotspot and difficult point in the technical field of cluster, and collision between the unmanned aerial vehicle under the motion condition also can cause very big loss, consequently keeps away the barrier in real time and is especially important to formation aircraft in flight.
Disclosure of Invention
The invention provides a method for unmanned aerial vehicle formation shape transformation and on-line dynamic obstacle avoidance, aiming at solving the technical problems in the background technology.
The invention is realized by adopting the following technical scheme: a method for unmanned aerial vehicle formation shape transformation and online dynamic obstacle avoidance specifically comprises the following steps:
step one, calculating a repulsive force field and a repulsive force of the unmanned aerial vehicle and resultant force borne by the unmanned aerial vehicle through an artificial potential field algorithm;
step two, improving the calculation of the artificial potential field algorithm in the step one;
combining with improved artificial potential field algorithm calculation, providing an expected path smoothing strategy based on a Kernel method for solving the problems of excessive fold lines and large inflection point angle of an expected path caused by frequent entering and exiting of an obstacle expansion area in the obstacle avoidance process of the unmanned aerial vehicle;
designing an inter-aircraft obstacle avoidance algorithm for avoiding the unmanned aerial vehicles;
wherein, the first step specifically comprises:
defining the position of the unmanned aerial vehicle as q, and then defining the gravitational field function U of the unmanned aerial vehicle at the point qatt(q)And gravitational force Fatt(q)Respectively satisfy the following formulas:
Figure BDA0002545736250000011
Figure BDA0002545736250000021
where λ represents a gravitational gain, ρα(q) represents the distance between the point q and the target a;
the repulsion field and repulsion at point q of the unmanned aerial vehicle are as follows:
Figure BDA0002545736250000022
Figure BDA0002545736250000023
η is the repulsive force gain, ρ0Is the maximum radius of influence of the obstacle,
ρr(q) is the distance from point q to the obstacle r;
the resultant force F experienced by the drone is:
F=Fatt+Frep
Fattas the attraction of the target to the drone, FrepDefining the repulsion of the obstacle to the unmanned aerial vehicle and the attraction of the target point to the unmanned aerial vehicle as the negative gradients of the corresponding repulsion field and attraction field respectively for the repulsion of the obstacle to the unmanned aerial vehicle, and then the attraction F of the target point is applied to the point qatt(q) and repulsive force F of obstaclerep(q) negative gradients of the gravitational potential function and the repulsive potential function of the point respectively,
the assumption that there are N obstacles simultaneously affecting the drone is that, according to the principle of superposition, the resultant force F of the drone is:
Figure BDA0002545736250000024
in the formula
Figure BDA0002545736250000025
Repulsive force generated for the ith obstacle。
In a further embodiment, when it is determined that the magnitude of the attraction force of the drone at a certain point is not zero, and the total resultant force experienced by the drone is zero: then, the unmanned aerial vehicle can be judged to be trapped in the local optimal solution at the moment, and if an equivalent barrier exists, the magnitude and direction of the repulsive force generated by the barrier are the same as those of the repulsive force borne by the unmanned aerial vehicle, and at the moment, the unmanned aerial vehicle, the equivalent barrier and the target are necessarily collinear; the specific position of equivalent barrier is reversely released by the artificial potential field method, and the specified flying direction that the unmanned aerial vehicle jumps out of the local optimum is the tangential direction of the unmanned aerial vehicle position and the barrier expansion area circle, and the unmanned aerial vehicle position and the barrier expansion area circle are arbitrarily taken from left to right.
In a further embodiment, when the magnitudes of the attractive and repulsive forces are not proportional, the gravitational field function at this time is:
Figure BDA0002545736250000031
in the formula (I), the compound is shown in the specification,
Figure BDA0002545736250000032
representing the distance threshold between no targets of the drone, ξ is the repulsion coefficient,
the corresponding gravity calculation method comprises the following steps:
Figure BDA0002545736250000033
in a further embodiment of the method of the invention,
when the target point is in an unreachable condition, superposing the distance between the unmanned aerial vehicle and the target point to the nth power on the basis of the artificial potential field method, and then calculating the new repulsive force field function as follows:
Figure BDA0002545736250000034
in a further embodiment of the method of the invention,
to increase the smoothing effect, y is defined*(i) For the smoothed data, the bandwidth is h, S (t) represents the weighting function, the window length is n, y (j) represents the windowAnd the calculation method of the fitting value at the time t of the jth data in the mouth is as follows:
Figure BDA0002545736250000035
weighting function S in the formulaj(t) calculation method:
Figure BDA0002545736250000036
in the formula
Figure BDA0002545736250000037
tj represents the time of the current time, and Kernel (x) is the Kernel function, which is the Kernel of Kernel smoothing.
In a further embodiment, the fourth step comprises: assuming that the j-th airplane in the formation generates a repulsive force effect on the position q in the environment, the repulsive force field function on the q point is defined as follows:
Figure BDA0002545736250000041
where ξ is the coefficient of repulsion, σ0Is the radius of the expansion area of the unmanned aerial vehicle,
Figure BDA0002545736250000042
representing the distance between the drone and the point q, ∈ (0,1) being the expansion zone separation coefficient;
the repulsion that this unmanned aerial vehicle that corresponds is to q is:
Figure BDA0002545736250000043
distance between machines greater than σ0In the process, the repulsion force of the two machines is zero, and the two machines do not need to avoid barriers; distance between machines is less than sigma0When the two machines enter respective expansion regions and act as barriers to each other, the repulsive force is divided into two sections
Figure BDA0002545736250000044
The distance between the repulsion generated between the unmanned aerial vehicle and the unmanned aerial vehicle is in a linear relation, the change amplitude of the repulsion is small, which is equivalent to a buffer time for the unmanned aerial vehicle to execute obstacle avoidance action, and the repulsion and the distance are slowly kept away from each other, so that large-angle maneuvering is not frequently performed; when in use
Figure BDA0002545736250000045
When, two machines are very near this moment, need keep away the barrier immediately for avoiding bumping, and this is facing to being close of two quick-witted distances, and repulsion becomes exponential increase, forces unmanned aerial vehicle to keep away from the other side fast, is in
Figure BDA0002545736250000046
At this point, the calculated repulsion force of the two ranges is equal, i.e. the repulsion force is continuous, and the command cannot be suddenly changed.
In a further embodiment, the drone expansion zone radius σ0The calculation steps are as follows:
the first step is as follows: two adjacent unmanned aerial vehicles regard self coordinates as original points to the ray of the flying speed direction, and whether the distance between the two rays is smaller than a small distance or not is judgedminIf not, indicating no possibility of collision, let σ00, the unmanned aerial vehicle on the other side does not generate repulsion force on the unmanned aerial vehicle on the other side; if the distance between two rays is less thanminIf so, the paths of the two machines may intersect, and the second step is carried out; selectingminThe principle is based on factors such as unmanned aerial vehicle sensor error, body size and control precision;
the second step is that: if two unmanned aerial vehicles meet, defining the time threshold value of two-aircraft collision as TmThis value represents how much time is left to process in anticipation of a collision, using q1And q is2Representing the positions of the drone one and the drone two,
Figure BDA0002545736250000051
representing the velocity vectors of drone one and drone two,vqrepresenting vectors
Figure BDA0002545736250000052
And
Figure BDA0002545736250000053
the included angle of the unmanned plane II is analyzed, the unmanned plane I is used as a barrier at the moment, and then sigma is calculated0The calculation method of (2) is as follows:
Figure BDA0002545736250000054
the invention has the beneficial effects that: the method is based on the artificial potential field method, provides corresponding improvement measures aiming at three defects of the artificial potential field method, and then combines the Kernel method to carry out smoothing processing on the expected path, thereby solving the problem of the expected path oscillation. Finally, on the basis, according to the flight characteristics of the fixed-wing unmanned aerial vehicle, the inter-aircraft obstacle avoidance artificial potential field is designed, so that multiple aircrafts cannot fly into a static obstacle area and collide with other aircrafts when flying in formation.
Drawings
Fig. 1 is a diagram of attraction and repulsion of targets and obstacles to a drone.
Fig. 2 avoids the locally optimal solution motion direction diagram.
Fig. 3 is a graph of random perturbation applied to equivalent obstacles.
FIG. 4 is a schematic diagram of Kernel path smoothing.
Fig. 5 is a schematic diagram of the repulsive force fields of two drones.
Fig. 6 is a diagram of the situation that two drones meet.
Fig. 7 is a diagram for calculating obstacle avoidance determination between two drones.
Fig. 8 is a schematic view of the direction of the repulsive force between two drones.
Concrete real-time mode
The invention is further described with reference to the following description of the drawings and specific embodiments.
First, the inventors considered that: when unmanned aerial vehicle formation flies, must keep certain safe distance between each machine inside the formation, therefore online developments are indispensable. The current mature obstacle avoidance and path planning algorithms include an artificial potential field method, an ant colony algorithm, a fast expansion random number method, a Voronoi diagram method, an A-star algorithm and the like. These methods can be divided into global planning and local planning according to the perception of the surrounding environment. The global information is known in the global planning, the global information is unknown in the local planning, and the local information can be sensed only by combining the sensor. For the problem of online obstacle avoidance, dynamic obstacles comprise other airplanes flying in formation, static obstacles comprise a no-fly area, an electronic geo-fence and the like, and therefore the obstacle avoidance is carried out under the condition that global information is known. Considering the constraint characteristics that the fixed wing has the minimum stall speed and the minimum turning radius, the invention provides an online dynamic obstacle avoidance algorithm combining an improved artificial potential field method, Kernel path smoothing and an introduced artificial potential field between machines.
A method for unmanned aerial vehicle formation shape transformation and online dynamic obstacle avoidance specifically comprises the following steps: step one, calculating a repulsive force field and a repulsive force of the unmanned aerial vehicle and resultant force borne by the unmanned aerial vehicle through an artificial potential field algorithm;
step two, improving the calculation of the artificial potential field algorithm in the step one;
combining with improved artificial potential field algorithm calculation, providing an expected path smoothing strategy based on a Kernel method for solving the problems of excessive fold lines and large inflection point angle of an expected path caused by frequent entering and exiting of an obstacle expansion area in the obstacle avoidance process of the unmanned aerial vehicle;
and step four, designing an inter-aircraft obstacle avoidance algorithm for realizing avoidance of the unmanned aerial vehicles.
The Artificial Potential Field (APF) is a path planning algorithm proposed by Khatib in the last 80 th century. The algorithm considers the target and the obstacle as objects with attraction and repulsion to the unmanned aerial vehicle respectively, and the unmanned aerial vehicle moves along the resultant force of the attraction and the repulsion. Fig. 1 shows a diagram of the attraction and repulsion of targets and obstacles to a drone.
Defining the position of the unmanned aerial vehicle as q, and then defining the gravitational field function U of the unmanned aerial vehicle at the point qatt(q)And gravitational force Fatt(q)Respectively satisfy the following formulas:
Figure BDA0002545736250000061
Figure BDA0002545736250000062
where λ represents a gravitational gain, ρα(q) represents the distance between the point q and the target a;
the repulsion field and repulsion at point q of the unmanned aerial vehicle are as follows:
Figure BDA0002545736250000063
Figure BDA0002545736250000064
η is the repulsive force gain, ρ0Is the maximum radius of influence of the obstacle,
ρr(q) is the distance from point q to the obstacle r;
the resultant force F experienced by the drone is:
F=Fatt+Frep
Fattas the attraction of the target to the drone, FrepDefining the repulsion of the obstacle to the unmanned aerial vehicle and the attraction of the target point to the unmanned aerial vehicle as the negative gradients of the corresponding repulsion field and attraction field respectively for the repulsion of the obstacle to the unmanned aerial vehicle, and then the attraction F of the target point is applied to the point qatt(q) and repulsive force F of obstaclerep(q) negative gradients of the gravitational potential function and the repulsive potential function of the point respectively,
the assumption that there are N obstacles simultaneously affecting the drone is that, according to the principle of superposition, the resultant force F of the drone is:
Figure BDA0002545736250000071
in the formula
Figure BDA0002545736250000072
Repulsive force generated for the i-th obstacle.
The second step is to improve the artificial potential field method, mainly because the artificial potential field method has the following defects:
(1) at a certain point of the target, if the attraction force and the repulsion force are just equal and opposite at a certain point, the unmanned aerial vehicle is easy to fall into a local optimal solution at the moment, and the expression form is that the unmanned aerial vehicle continuously vibrates near the point.
(2) When the target point is far away, the attraction force becomes extremely large, and the unmanned aerial vehicle path may touch an obstacle with relatively small repulsive force.
(3) When an obstacle exists near the target point, the repulsive force is very large, the attractive force is relatively small, and the unmanned aerial vehicle can hardly reach the target point.
The following measures are proposed in this section for three problems of the APF algorithm, which are described separately below.
This subsection proposes the following solution to problem (1):
when the unmanned aerial vehicle is judged to be not zero at a certain point, the total force borne by the unmanned aerial vehicle is zero. Then it can be determined that the drone is stuck in the locally optimal solution at this time. Assuming that an equivalent obstacle exists, the repulsive force generated by the obstacle and the repulsive force received by the unmanned aerial vehicle are the same in magnitude and direction. Unmanned aerial vehicle, equivalent barrier, target must be on the same line this moment. The specific location of the equivalent obstacle is deduced inversely from the above formula. And the flying direction of the unmanned aerial vehicle jumping out of the local optimal is set as the tangential direction of the unmanned aerial vehicle position and the obstacle expansion area circle, and the unmanned aerial vehicle can be selected from left and right. Fig. 2 gives a schematic view of the direction of its movement.
The method of avoiding getting into a locally optimal solution can also be implemented by adding additional disturbances to the drone. However, directly adding disturbance to the unmanned aerial vehicle is not beneficial to stable flight of the unmanned aerial vehicle, and this section determines to apply random disturbance to the equivalent obstacle on the basis of adding the equivalent obstacle, and the specific method is to add a random position error (q) when the position of the equivalent obstacle is reversely solved, as shown in fig. 3.
In the case that the problem (2) may encounter an obstacle, mainly due to the fact that the attractive force and the repulsive force are not proportional, it can be known from the above formula that the attractive force is linear with the distance, and the phenomenon that the attractive force is too large due to too large distance can be avoided by modifying the linear corresponding relationship. The gravitational field function is modified to:
Figure BDA0002545736250000081
in the formula (I), the compound is shown in the specification,
Figure BDA0002545736250000082
representing the distance threshold between no targets of the drone, ξ is the repulsion coefficient,
the corresponding gravity calculation method comprises the following steps:
Figure BDA0002545736250000083
compared with the formula in the first step, when the distance between the unmanned aerial vehicle and the target is smaller than a set threshold, the calculation results of the unmanned aerial vehicle and the target are the same, when the distance is larger than the threshold, the attraction force applied to the unmanned aerial vehicle is not in a linear relation with the distance, and the farther the distance is, the slower the attraction force increasing speed is. The attractive force is limited so that it is not so large as to mask the influence of the repulsive force.
For the case that the target point of problem (3) is not reachable, the distance between the drone and the target point may be superimposed to the nth power on the basis of the formula in step one. The new repulsive force field function calculation method is:
Figure BDA0002545736250000084
from the above formula, it can be seen that, for the situation that the target point is close to the obstacle, when the unmanned aerial vehicle is approaching the obstacle again, according to the U in the step oneatt(q)The repulsive force field obtained by the calculation formula is increased due to the improved Uatt(q)The formula adds the influence of the distance between the unmanned aerial vehicle and the target point, and the formula is
Figure BDA0002545736250000091
In reducing, this factor can play the dragging action to the increase of repulsion field to let unmanned aerial vehicle can reach the target point smoothly.
The paths drawn by the improved APF calculation rules have the problems of too many fold lines of expected paths, large inflection angle and the like due to the fact that the unmanned aerial vehicle frequently enters and exits an obstacle expansion area in the obstacle avoidance process, the risks of flying of the unmanned aerial vehicle formation are increased due to the defects, and the efficiency of task execution of the formation is reduced. The invention provides an expected path smoothing strategy based on a Kernel method, so that an expected planned path processed by the Kernel method is more suitable for the flight of a fixed wing unmanned aerial vehicle.
The Kernel data smoothing method is widely applied to the field of information, the essential principle of the Kernel data smoothing method is also the minimum binomial smoothing of a moving window, and the current point is fitted by utilizing the weighted linear combination of all data in the window, so that the smoothing effect is obtained.
Definition of y*(i) For the smoothed data, the bandwidth is h, s (t) represents a weighting function, the window length is n, y (j) represents the jth data in the window, and the calculation method of the fitting value at the time t is as follows:
Figure BDA0002545736250000092
weighting function S in the formulaj(t) calculation method:
Figure BDA0002545736250000093
in the formula
Figure BDA0002545736250000094
tj represents the time of the current time, and Kernel (x) is the Kernel function, which is the Kernel of Kernel smoothing.
There are three expressions, representing different weighting functions:
a uniformity function:
Figure BDA0002545736250000095
a quadratic function:
Figure BDA0002545736250000096
gaussian function:
Figure BDA0002545736250000097
too large a selection of the window length n may cause the weighting function Sj(t) the delay is severe due to computational difficulties, and under-fitting can be caused by too small n selection. Therefore, the method determines to select n with proper size to smooth the expected path in a segmented mode, keeps the continuity and smoothness of the connection points of each segment, and selects a quadratic function to fit through the weighting function.
Assuming improved APF algorithm at t1,t2,t3,t4,t5,t6,t7,t8The expected point position planned at the moment is P1,P2,P3,P4,P5,P6,P7,P8Will P1,P2,P3,P4As a first stage, P5,P6,P7,P8As a second stage, n is 4. Fig. 4 shows a schematic diagram of path generation after Kernel smoothing.
For the unmanned aerial vehicles flying in the formation, other airplanes are regarded as moving obstacles. Each drone in the formation generates a repulsive field that acts on all other drones in the expansion zone. The obstacle avoidance between the unmanned aerial vehicles in the formation can be understood as a mutual avoidance process, and the obstacle avoidance between the two unmanned aerial vehicles on the horizontal plane is taken as an example for analysis. The unmanned aerial vehicle executing the obstacle avoidance process is also regarded as an obstacle by another unmanned aerial vehicle. Fig. 5 shows a schematic diagram of the respective repulsive force fields of two drones.
Considering that the flight speed of the fixed-wing unmanned aerial vehicle is far higher than that of a robot and a multi-rotor wing, and has the limitation of minimum turning radius, the obstacle avoidance of the fixed-wing unmanned aerial vehicle is different from that of a robot or a rotor wing moving in six degrees of freedom, and the execution of the obstacle avoidance action needs a period of buffering. In view of this feature, the present invention redesigns a new repulsive field function.
Suppose that the j-th aircraft in the formation exerts a repulsive force on the location q in the environment. Its repulsive force field function for point q is defined as follows:
Figure BDA0002545736250000101
where ξ is the coefficient of repulsion, σ0Is the radius of the expansion area of the unmanned aerial vehicle,
Figure BDA0002545736250000102
representing the distance between the drone and the point q, ∈ (0,1) is the expansion zone separation factor.
The repulsion that this unmanned aerial vehicle that corresponds is to q is:
Figure BDA0002545736250000103
distance between machines greater than σ0In the process, the repulsion force of the two machines is zero, and the two machines do not need to avoid barriers; distance between machines is less than sigma0When the two machines enter respective expansion regions and act as barriers to each other, the repulsive force is divided into two sections
Figure BDA0002545736250000111
The distance between the repulsion generated between the unmanned aerial vehicle and the unmanned aerial vehicle is in a linear relation, the change amplitude of the repulsion is small, which is equivalent to a buffer time for the unmanned aerial vehicle to execute obstacle avoidance action, and the repulsion and the distance are slowly kept away from each other, so that large-angle maneuvering is not frequently performed; when in use
Figure BDA0002545736250000112
When, two machines are very near this moment, need keep away the barrier immediately for avoiding bumping, and this is facing to being close of two quick-witted distances, and repulsion becomes exponential increase, forces unmanned aerial vehicle to keep away from the other side fast, is in
Figure BDA0002545736250000113
The calculated repulsion force is equal in the two ranges, i.e. the repulsion force is continuous and does not causeBecomes an instructed mutation.
The traditional APF algorithm judges whether the two machines generate repulsion action, and only the distance between the two machines is used as judgment. This obviously does not correspond to the characteristics of the fixed-wing drone direct flight type, i.e. the fixed wing has the minimum stall speed and cannot back up. Assuming the inflation zone radius σ of all drones in the formation0Both are equal, now analyzing the two-plane situation as in fig. 6, the arrow direction in the figure represents the speed direction of the drone.
Defining the distance between two machines in the graph as the hypothesis
Figure BDA0002545736250000114
Suppose two machines distance in the figure
Figure BDA0002545736250000115
Equal and smaller than the radius sigma of the expansion zone of the obstacle0. For the diagram (a) in fig. 6, although the distance between the two machines enters the obstacle avoidance area, the two machines are flying in the opposite direction, and the possibility of collision is theoretically impossible; (b) the flying direction of the two aircrafts forms 90 degrees, and the two aircrafts are far away from each other, so that collision is not possible in theory; (c) the flight paths of the two aircrafts are crossed, and the possibility of collision exists; (d) the two machines fly relatively, and the possibility of collision is highest.
According to the characteristics of fixed-wing flight, the radius sigma of the expansion zone of the obstacle needs to be reset0And (4) defining. The calculation steps are as follows:
the first step is as follows: two adjacent unmanned aerial vehicles regard self coordinates as original points to the ray of the flying speed direction, and whether the distance between the two rays is smaller than a small distance or not is judgedminIf not, indicating no possibility of collision, let σ00, the unmanned aerial vehicle on the other side does not generate repulsion force on the unmanned aerial vehicle on the other side; if the distance between two rays is less thanminIf so, the paths of the two machines may intersect, and the second step is carried out; selectingminThe principle is based on factors such as unmanned aerial vehicle sensor error, body size and control precision;
the second step is that: as shown in fig. 7, in the case of meeting two drones, the time threshold for collision between two drones is defined as TmThe value is indicated in the predictionAt the time of collision, how much time is left for processing at least, using q1And q is2Representing the positions of the drone one and the drone two,
Figure BDA0002545736250000116
representing the velocity vectors of drone one and drone two,vqrepresenting vectors
Figure BDA0002545736250000117
And
Figure BDA0002545736250000121
the included angle of the unmanned plane II is analyzed, the unmanned plane I is used as a barrier at the moment, and then sigma is calculated0The calculation method of (2) is as follows:
Figure BDA0002545736250000122
considering the position and course of the long plane as the reference points of other wing planes in formation flight, the invention determines that the long plane only generates a repulsive field and does not execute obstacle avoidance in the obstacle avoidance process. When meeting with other bureaucratic planes, the other bureaucratic planes execute the obstacle avoidance command. The invention takes the tangential direction of the moving speed of the obstacle as the direction of the repulsive force. FIG. 8, F1
Figure BDA0002545736250000123
Representing the resultant, gravitational and repulsive forces to which the drone is subjected, F2
Figure BDA0002545736250000124
And the total force, the attraction force and the repulsion force borne by the unmanned aerial vehicle II are represented.
For the on-line dynamic obstacle avoidance problem of formation, the invention provides corresponding improvement measures aiming at three defects of an artificial potential field method on the basis of the artificial potential field method, and then combines a Kernel method to carry out smoothing processing on an expected path, thereby solving the problem of expected path oscillation. Finally, on the basis, according to the flight characteristics of the fixed-wing unmanned aerial vehicle, the inter-aircraft obstacle avoidance artificial potential field is designed, so that multiple aircrafts cannot fly into a static obstacle area and collide with other aircrafts when flying in formation.

Claims (7)

1. A method for unmanned aerial vehicle formation form change and online dynamic obstacle avoidance is characterized by comprising the following steps:
step one, calculating a repulsive force field and a repulsive force of the unmanned aerial vehicle and resultant force borne by the unmanned aerial vehicle through an artificial potential field algorithm;
step two, improving the calculation of the artificial potential field algorithm in the step one;
combining with improved artificial potential field algorithm calculation, providing an expected path smoothing strategy based on a Kernel method for solving the problems of excessive fold lines and large inflection point angle of an expected path caused by frequent entering and exiting of an obstacle expansion area in the obstacle avoidance process of the unmanned aerial vehicle;
designing an inter-aircraft obstacle avoidance algorithm for avoiding the unmanned aerial vehicles;
wherein, the first step specifically comprises:
defining the position of the unmanned aerial vehicle as q, and then defining the gravitational field function U of the unmanned aerial vehicle at the point qatt(q)And gravitational force Fatt(q)Respectively satisfy the following formulas:
Figure FDA0002545736240000011
Figure FDA0002545736240000012
where λ represents a gravitational gain, ρα(q) represents the distance between the point q and the target a;
the repulsion field and repulsion at point q of the unmanned aerial vehicle are as follows:
Figure FDA0002545736240000013
Figure FDA0002545736240000014
η is the repulsive force gain, ρ0Is the maximum radius of influence of the obstacle,
ρr(q) is the distance from point q to the obstacle r;
the resultant force F experienced by the drone is:
F=Fatt+Frep
Fattas the attraction of the target to the drone, FrepDefining the repulsion of the obstacle to the unmanned aerial vehicle and the attraction of the target point to the unmanned aerial vehicle as the negative gradients of the corresponding repulsion field and attraction field respectively for the repulsion of the obstacle to the unmanned aerial vehicle, and then the attraction F of the target point is applied to the point qatt(q) and repulsive force F of obstaclerep(q) negative gradients of the gravitational potential function and the repulsive potential function of the point respectively,
the assumption that there are N obstacles simultaneously affecting the drone is that, according to the principle of superposition, the resultant force F of the drone is:
Figure FDA0002545736240000021
in the formula
Figure FDA0002545736240000022
Repulsive force generated for the i-th obstacle.
2. The method of claim 1, wherein when it is determined that the attraction force of the unmanned aerial vehicle at a certain point is not zero and the total force applied to the unmanned aerial vehicle is zero: then, the unmanned aerial vehicle can be judged to be trapped in the local optimal solution at the moment, and if an equivalent barrier exists, the magnitude and direction of the repulsive force generated by the barrier are the same as those of the repulsive force borne by the unmanned aerial vehicle, and at the moment, the unmanned aerial vehicle, the equivalent barrier and the target are necessarily collinear; the specific position of equivalent barrier is reversely released by the artificial potential field method, and the specified flying direction that the unmanned aerial vehicle jumps out of the local optimum is the tangential direction of the unmanned aerial vehicle position and the barrier expansion area circle, and the unmanned aerial vehicle position and the barrier expansion area circle are arbitrarily taken from left to right.
3. The unmanned aerial vehicle formation and online dynamic obstacle avoidance method according to claim 1, wherein when the magnitude of the attractive force and the repulsive force is not proportional, the gravitational field function at the moment is:
Figure FDA0002545736240000023
in the formula (I), the compound is shown in the specification,
Figure FDA0002545736240000024
representing the distance threshold between no targets of the drone, ξ is the repulsion coefficient,
the corresponding gravity calculation method comprises the following steps:
Figure FDA0002545736240000025
4. the unmanned aerial vehicle formation form transformation and online dynamic obstacle avoidance method according to claim 1, wherein when a target point is in an unreachable condition, the n-th power of the distance between the unmanned aerial vehicle and the target point is superimposed on the basis of an artificial potential field method, and then the new repulsive field function calculation method is as follows:
Figure FDA0002545736240000031
5. the method as claimed in claim 1, wherein y is defined to increase smoothing effect*(i) For the smoothed data, the bandwidth is h, s (t) represents a weighting function, the window length is n, y (j) represents the jth data in the window, and the calculation method of the fitting value at the time t is as follows:
Figure FDA0002545736240000032
weighting function S in the formulaj(t) calculation method:
Figure FDA0002545736240000033
in the formula
Figure FDA0002545736240000034
tj represents the time of the current time, and Kernel (x) is the Kernel function, which is the Kernel of Kernel smoothing.
6. The method for controlling the unmanned aerial vehicle formation cooperative control system based on the distributed architecture as claimed in claim 1, wherein the fourth step includes: assuming that the j-th airplane in the formation generates a repulsive force effect on the position q in the environment, the repulsive force field function on the q point is defined as follows:
Figure FDA0002545736240000035
where ξ is the coefficient of repulsion, σ0Is the radius of the expansion area of the unmanned aerial vehicle,
Figure FDA0002545736240000036
representing the distance between the drone and the point q, ∈ (0,1) being the expansion zone separation coefficient;
the repulsion that this unmanned aerial vehicle that corresponds is to q is:
Figure FDA0002545736240000041
distance between machines greater than σ0In the process, the repulsion force of the two machines is zero, and the two machines do not need to avoid barriers; distance between machines is less than sigma0When the two machines enter respective expansion regions and act as barriers to each other, the repulsive force is divided into two sections
Figure FDA0002545736240000042
The distance between the repulsion generated between the unmanned aerial vehicle and the unmanned aerial vehicle is in a linear relation, the change amplitude of the repulsion is small, which is equivalent to a buffer time for the unmanned aerial vehicle to execute obstacle avoidance action, and the repulsion and the distance are slowly kept away from each other, so that large-angle maneuvering is not frequently performed; when in use
Figure FDA0002545736240000043
When, two machines are very near this moment, need keep away the barrier immediately for avoiding bumping, and this is facing to being close of two quick-witted distances, and repulsion becomes exponential increase, forces unmanned aerial vehicle to keep away from the other side fast, is in
Figure FDA0002545736240000044
At this point, the calculated repulsion force of the two ranges is equal, i.e. the repulsion force is continuous, and the command cannot be suddenly changed.
7. The method for controlling the unmanned aerial vehicle formation cooperative control system based on the distributed architecture of claim 6, wherein the radius σ of the expansion area of the unmanned aerial vehicle is0The calculation steps are as follows:
the first step is as follows: two adjacent unmanned aerial vehicles regard self coordinates as original points to the ray of the flying speed direction, and whether the distance between the two rays is smaller than a small distance or not is judgedminIf not, indicating no possibility of collision, let σ00, the unmanned aerial vehicle on the other side does not generate repulsion force on the unmanned aerial vehicle on the other side; if the distance between two rays is less thanminIf so, the paths of the two machines may intersect, and the second step is carried out; selectingminThe principle is based on factors such as unmanned aerial vehicle sensor error, body size and control precision;
the second step is that: if two unmanned aerial vehicles meet, defining the time threshold value of two-aircraft collision as TmThis value represents how much time is left to process in anticipation of a collision, using q1And q is2Representing the positions of the drone one and the drone two,
Figure FDA0002545736240000045
representing the velocity vectors of drone one and drone two,vqrepresenting vectors
Figure FDA0002545736240000046
And
Figure FDA0002545736240000047
the included angle of the unmanned plane II is analyzed, the unmanned plane I is used as a barrier at the moment, and then sigma is calculated0The calculation method of (2) is as follows:
Figure FDA0002545736240000048
CN202010559970.0A 2020-06-18 2020-06-18 Unmanned aerial vehicle formation shape transformation and online dynamic obstacle avoidance method Withdrawn CN111781948A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010559970.0A CN111781948A (en) 2020-06-18 2020-06-18 Unmanned aerial vehicle formation shape transformation and online dynamic obstacle avoidance method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010559970.0A CN111781948A (en) 2020-06-18 2020-06-18 Unmanned aerial vehicle formation shape transformation and online dynamic obstacle avoidance method

Publications (1)

Publication Number Publication Date
CN111781948A true CN111781948A (en) 2020-10-16

Family

ID=72757475

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010559970.0A Withdrawn CN111781948A (en) 2020-06-18 2020-06-18 Unmanned aerial vehicle formation shape transformation and online dynamic obstacle avoidance method

Country Status (1)

Country Link
CN (1) CN111781948A (en)

Cited By (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112379672A (en) * 2020-11-24 2021-02-19 浙大宁波理工学院 Intelligent unmanned ship path planning method based on improved artificial potential field
CN112799432A (en) * 2021-04-08 2021-05-14 北京三快在线科技有限公司 Obstacle avoidance control method and device for unmanned aerial vehicle, storage medium and electronic equipment
CN112925342A (en) * 2021-01-20 2021-06-08 北京工商大学 Unmanned aerial vehicle dynamic obstacle avoidance method based on improved mutual velocity obstacle method
CN113119116A (en) * 2021-03-22 2021-07-16 深圳市优必选科技股份有限公司 Mechanical arm motion planning method and device, readable storage medium and mechanical arm
CN113282103A (en) * 2021-05-24 2021-08-20 河北科技大学 Unmanned aerial vehicle collision detection and separation method based on improved adaptive threshold potential field adjusting method
CN113359859A (en) * 2021-07-16 2021-09-07 广东电网有限责任公司 Combined navigation obstacle avoidance method and system, terminal device and storage medium
CN113485454A (en) * 2021-08-23 2021-10-08 南京航空航天大学 Unmanned aerial vehicle obstacle avoidance maneuvering method and system for geometrically improved artificial potential field
CN113655789A (en) * 2021-08-04 2021-11-16 东风柳州汽车有限公司 Path tracking method, device, vehicle and storage medium
CN113655810A (en) * 2021-08-20 2021-11-16 上海微电机研究所(中国电子科技集团公司第二十一研究所) Unmanned aerial vehicle obstacle avoidance method and system based on speed potential field
CN114764247A (en) * 2022-04-25 2022-07-19 珠海云洲智能科技股份有限公司 Control method, device, equipment and storage medium for unmanned equipment cluster
CN115167528A (en) * 2022-09-05 2022-10-11 北京航空航天大学 Space cooperative guidance method and device based on artificial potential field method
CN116400722A (en) * 2023-05-10 2023-07-07 江苏方天电力技术有限公司 Unmanned aerial vehicle obstacle avoidance flight method and related device
CN116661502A (en) * 2023-07-25 2023-08-29 吉林农业大学 Intelligent agricultural unmanned aerial vehicle path planning method
CN117608318A (en) * 2024-01-23 2024-02-27 北京航空航天大学 Unmanned aerial vehicle formation obstacle avoidance control method and system based on bird-like phototaxis

Cited By (20)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112379672A (en) * 2020-11-24 2021-02-19 浙大宁波理工学院 Intelligent unmanned ship path planning method based on improved artificial potential field
CN112925342A (en) * 2021-01-20 2021-06-08 北京工商大学 Unmanned aerial vehicle dynamic obstacle avoidance method based on improved mutual velocity obstacle method
CN113119116A (en) * 2021-03-22 2021-07-16 深圳市优必选科技股份有限公司 Mechanical arm motion planning method and device, readable storage medium and mechanical arm
CN112799432A (en) * 2021-04-08 2021-05-14 北京三快在线科技有限公司 Obstacle avoidance control method and device for unmanned aerial vehicle, storage medium and electronic equipment
CN112799432B (en) * 2021-04-08 2021-07-02 北京三快在线科技有限公司 Obstacle avoidance control method and device for unmanned aerial vehicle, storage medium and electronic equipment
CN113282103A (en) * 2021-05-24 2021-08-20 河北科技大学 Unmanned aerial vehicle collision detection and separation method based on improved adaptive threshold potential field adjusting method
CN113359859B (en) * 2021-07-16 2023-09-08 广东电网有限责任公司 Combined navigation obstacle avoidance method, system, terminal equipment and storage medium
CN113359859A (en) * 2021-07-16 2021-09-07 广东电网有限责任公司 Combined navigation obstacle avoidance method and system, terminal device and storage medium
CN113655789A (en) * 2021-08-04 2021-11-16 东风柳州汽车有限公司 Path tracking method, device, vehicle and storage medium
CN113655810B (en) * 2021-08-20 2024-04-16 上海微电机研究所(中国电子科技集团公司第二十一研究所) Unmanned aerial vehicle obstacle avoidance method and system based on speed potential field
CN113655810A (en) * 2021-08-20 2021-11-16 上海微电机研究所(中国电子科技集团公司第二十一研究所) Unmanned aerial vehicle obstacle avoidance method and system based on speed potential field
CN113485454A (en) * 2021-08-23 2021-10-08 南京航空航天大学 Unmanned aerial vehicle obstacle avoidance maneuvering method and system for geometrically improved artificial potential field
CN114764247A (en) * 2022-04-25 2022-07-19 珠海云洲智能科技股份有限公司 Control method, device, equipment and storage medium for unmanned equipment cluster
CN114764247B (en) * 2022-04-25 2023-08-29 珠海云洲智能科技股份有限公司 Unmanned equipment cluster control method, device, equipment and storage medium
CN115167528A (en) * 2022-09-05 2022-10-11 北京航空航天大学 Space cooperative guidance method and device based on artificial potential field method
CN116400722A (en) * 2023-05-10 2023-07-07 江苏方天电力技术有限公司 Unmanned aerial vehicle obstacle avoidance flight method and related device
CN116661502A (en) * 2023-07-25 2023-08-29 吉林农业大学 Intelligent agricultural unmanned aerial vehicle path planning method
CN116661502B (en) * 2023-07-25 2023-10-10 吉林农业大学 Intelligent agricultural unmanned aerial vehicle path planning method
CN117608318A (en) * 2024-01-23 2024-02-27 北京航空航天大学 Unmanned aerial vehicle formation obstacle avoidance control method and system based on bird-like phototaxis
CN117608318B (en) * 2024-01-23 2024-04-09 北京航空航天大学 Unmanned aerial vehicle formation obstacle avoidance control method and system based on bird-like phototaxis

Similar Documents

Publication Publication Date Title
CN111781948A (en) Unmanned aerial vehicle formation shape transformation and online dynamic obstacle avoidance method
CN109871031B (en) Trajectory planning method for fixed-wing unmanned aerial vehicle
CN109508035B (en) Multi-region hierarchical unmanned aerial vehicle formation path planning method based on distributed control
Baras et al. Decentralized control of autonomous vehicles
Zhao et al. Flocking control of fixed-wing UAVs with cooperative obstacle avoidance capability
Yu et al. Collision-free trajectory generation and tracking for UAVs using Markov decision process in a cluttered environment
Cole et al. Reactive trajectory generation for multiple vehicles in unknown environments with wind disturbances
Lai et al. Enhanced DWA algorithm for local path planning of mobile robot
Frew et al. Obstacle avoidance with sensor uncertainty for small unmanned aircraft
CN111880574A (en) Unmanned aerial vehicle collision avoidance method and system
Zhao et al. Four-dimensional trajectory generation for UAVs based on multi-agent Q learning
Abeywickrama et al. Potential field based inter-UAV collision avoidance using virtual target relocation
Lin et al. Potential-field-based evolutionary route planner for the control of multiple unmanned aerial vehicles
Zhang et al. Research on obstacle avoidance algorithm of multi-uav consistent formation based on improved dynamic window approach
CN114138022A (en) Distributed formation control method for unmanned aerial vehicle cluster based on elite pigeon swarm intelligence
Alturbeh et al. Real-time obstacle collision avoidance for fixed wing aircraft using b-splines
Yang et al. Path planning and collision avoidance methods for distributed multi-robot systems in complex dynamic environments
Huang et al. A path planning algorithm for smooth trajectories of unmanned aerial vehicles via potential fields
CN111121804B (en) Intelligent vehicle path planning method and system with safety constraint
Zhang et al. Collision Avoidance of Fixed-Wing UAVs in Dynamic Environments Based on Spline-RRT and Velocity Obstacle
Luo et al. Enhanced artificial potential field-based moving obstacle avoidance for UAV in three-dimensional environment
Kahn et al. Formation flying control via elliptical virtual structure
Wang et al. Improved A* and fuzzy dynamic window based dynamic trajectory planning for an UAV
Zhang et al. Research on collision avoidance of fixed-wing UAV
Meng et al. A navigation framework for mobile robots with 3D LiDAR and monocular camera

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
WW01 Invention patent application withdrawn after publication
WW01 Invention patent application withdrawn after publication

Application publication date: 20201016