Methods, apparatus, equipment, and storage media for controlling drones to perform obstacle avoidance maneuvers
By obtaining UAV status information, constructing a collision cone area and motion model, and controlling UAV avoidance operations, the problem of low efficiency in airspace conflict detection and resolution of UAVs in urban low-altitude airspace is solved, and air traffic efficiency is improved.
Patent Information
- Application Number
- CN202210332886.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-03-31
- Publication Date
- 2024-09-20
- Estimated Expiration
- 2042-03-31
AI Technical Summary
Existing airspace conflict detection and resolution technologies for UAVs in urban low-altitude airspace have problems such as low efficiency and traffic chaos. Especially in multi-UAV scenarios, existing methods are difficult to effectively reduce the overall avoidance consumption of UAVs.
By obtaining the status information of the target drone and adjacent drones, the collision cone area is constructed and the boundary value is calculated. Combined with the preset motion model, the conflict resolution results are calculated, and the drone is controlled to perform avoidance operations to improve air traffic efficiency. .
It effectively improves the blindness of the coordination mechanism based on flight rules, eliminates the chaotic scenes of drones in local environments, and greatly improves air traffic efficiency.
Smart Images

Figure CN114995486B
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of cooperative control of unmanned aerial vehicles, and in particular to a method, device, equipment and storage medium for controlling unmanned aerial vehicles to perform avoidance operations. Background Art
[0002] As drones have the advantages of non-contact operation and can flexibly complete many tasks related to daily life such as transportation, inspection and performance, the related applications of drones are becoming more and more attractive. People expect drones to enter the low-altitude airspace of cities to provide more support for the daily lives of urban residents. One of the key issues that need to be solved in the widespread use of drones in the complex environment of urban low-altitude airspace is the detection and resolution of airspace conflicts when drones are operating in the air, so as to ensure that multiple drones maintain a safe interval when performing tasks and complete the tasks efficiently.
[0003] At present, researchers have achieved many fruitful results in the study of decentralized conflict resolution. The current methods mainly include reactive methods and distributed coordination optimization methods. Reactive methods are flight coordination methods designed based on the constraint of maintaining a safe distance between moving objects, which rarely considers the tasks performed by drones. The conflict resolution strategies generated based on this type of method usually cause a large deviation in the trajectory of drones, which objectively leads to low efficiency of drone missions and causes air traffic chaos. Distributed coordination optimization methods mainly include reciprocal speed barrier methods and optimal reciprocal collision avoidance methods. Although they can minimize the maneuvering range of drones in a single adjustment, when a large number of drones collide, they will still cause air traffic chaos due to short-sightedness. Therefore, when there are a large number of drones in the air, this method still cannot effectively reduce the overall avoidance consumption of drones. Summary of the invention
[0004] Based on this, the purpose of the present invention is to provide a method, device, equipment and storage medium for controlling a drone to perform an avoidance operation, as follows:
[0005] In a first aspect, an embodiment of the present application provides a method for controlling a drone to perform an avoidance operation, comprising the following steps:
[0006] Acquire status information of the target UAV and adjacent UAVs, wherein the status information includes flight angle, flight speed, and position coordinates;
[0007] Constructing a collision cone area according to the state information of the target UAV and the adjacent UAVs, and calculating the boundary value of the collision cone area;
[0008] Obtaining a conflict resolution result between the target UAV and the adjacent UAV according to the state information, boundary value and preset motion model of the target UAV and the adjacent UAV;
[0009] According to the conflict resolution result, the target UAV and adjacent UAVs are controlled to perform avoidance operations.
[0010] In a second aspect, an embodiment of the present application provides a drone avoidance device, comprising:
[0011] An acquisition module, used to acquire status information of the target UAV and adjacent UAVs, wherein the status information includes flight angle, flight speed and position coordinates;
[0012] A boundary value calculation module, used to construct a collision cone area according to the state information of the target UAV and the adjacent UAVs, and calculate the boundary value of the collision cone area;
[0013] A conflict resolution result calculation module, used to obtain the conflict resolution result between the target UAV and the adjacent UAV according to the state information, boundary value and preset motion model of the target UAV and the adjacent UAV;
[0014] An execution module is used to control the target UAV and adjacent UAVs to perform avoidance operations according to the conflict resolution result.
[0015] In a third aspect, an embodiment of the present application provides a device comprising: a processor, a memory, and a computer program stored in the memory and executable on the processor; when the computer program is executed by the processor, the steps of the method for controlling a drone to perform an avoidance operation as described in the first aspect are implemented.
[0016] In a fourth aspect, an embodiment of the present application provides a storage medium, wherein the storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the method for controlling a drone to perform an avoidance operation as described in the first aspect are implemented.
[0017] In the embodiments of the present application, a method, device, equipment and storage medium for controlling a drone to perform avoidance operations are provided, which effectively improves the blindness of the flight rule coordination mechanism, can significantly eliminate the chaotic scenes caused by a large number of drones flying in a local environment, and improves air traffic efficiency.
[0018] For better understanding and implementation, the present invention is described in detail below with reference to the accompanying drawings. BRIEF DESCRIPTION OF THE DRAWINGS
[0019] Figure 1 A flowchart of a method for controlling a drone to perform an avoidance operation provided by an embodiment of the present application;
[0020] Figure 2 A schematic diagram of the process of S2 in the method for controlling a drone to perform an avoidance operation provided by an embodiment of the present application;
[0021] Figure 3 A schematic diagram of the flow of S21 in the method for controlling a drone to perform an avoidance operation provided in one embodiment of the present application;
[0022] Figure 4 A schematic diagram of the flow of S21 in the method for controlling a drone to perform an avoidance operation provided in one embodiment of the present application;
[0023] Figure 5 A schematic diagram of the flow of S214 in the method for controlling a drone to perform an avoidance operation provided by an embodiment of the present application;
[0024] Figure 6 A schematic diagram of the flow of S4 in the method for controlling a drone to perform an avoidance operation provided in one embodiment of the present application;
[0025] Figure 7 A schematic diagram of the flow chart of S4 in the method for controlling a drone to perform an avoidance operation provided by another embodiment of the present application;
[0026] Figure 8 A schematic diagram of an avoidance method for controlling a drone to perform an avoidance operation provided by an embodiment of the present application.
[0027] Fig. 9 A schematic diagram of the structure of a drone avoidance device provided in one embodiment of the present application;
[0028] Fig.10 A schematic diagram of the structure of a computer device provided for one embodiment of the present application. DETAILED DESCRIPTION
[0029] Exemplary embodiments will be described in detail herein, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, the same numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the following exemplary embodiments do not represent all implementations consistent with the present application. Instead, they are merely examples of devices and methods consistent with some aspects of the present application as detailed in the appended claims.
[0030] The terms used in this application are for the purpose of describing specific embodiments only and are not intended to limit this application. The singular forms of "a", "said" and "the" used in this application and the appended claims are also intended to include plural forms unless the context clearly indicates other meanings. It should also be understood that the term "and / or" used herein refers to and includes any or all possible combinations of one or more associated listed items.
[0031] It should be understood that, although the terms first, second, third, etc. may be used in the present application to describe various information, these information should not be limited to these terms. These terms are only used to distinguish the same type of information from each other. For example, without departing from the scope of the present application, the first information may also be referred to as the second information, and similarly, the second information may also be referred to as the first information. Depending on the context, the words "if" / "if" as used herein may be interpreted as "at the time of" or "when" or "in response to determination".
[0032] See also Figure 1 , Figure 1 A flowchart of a method for controlling a drone to perform an avoidance operation provided in one embodiment of the present application, the method comprising the following steps:
[0033] S1: Obtain status information of a target UAV and adjacent UAVs, wherein the status information includes flight angle, flight speed, and position coordinates.
[0034] The executor of the method for controlling a drone to perform an avoidance operation is a control device for the method for controlling a drone to perform an avoidance operation (hereinafter referred to as the control device). In an optional embodiment, the control device may be a computer device, a server, or a server cluster composed of multiple computer devices.
[0035] The control device can obtain the status information of the target UAV and the adjacent UAVs input by the user, or obtain the status information of the target UAV and the adjacent UAVs from a preset database, wherein the status information includes the flight angle, flight speed and position coordinates.
[0036] The target UAV can exchange necessary information with the adjacent UAV directly or indirectly through avoidance via its own radio station or 4G or other communication methods.
[0037] In this embodiment, the control device selects a target UAV that is in flight, and the target UAV obtains status information of UAVs near itself, that is, status information of adjacent UAVs, through an airborne communication device.
[0038] S2: constructing a collision cone area according to the state information of the target UAV and the adjacent UAVs, and calculating the boundary value of the collision cone area.
[0039] Since the target UAV and the adjacent UAV need to maintain a distance greater than the composite safety distance between each other during the flight, in this embodiment, the control device takes the current position of the target UAV as the center of the circle and the composite safety distance as the radius to construct a circular safety area D, and constructs a collision cone area according to the current position of the adjacent UAV and the circular safety area, and calculates the boundary value of the collision cone area, such as Figure 2 As shown, Figure 2 A schematic diagram of a collision cone area of a method for controlling a drone to perform an avoidance operation provided by an embodiment of the present application. i is the target drone, A j is the adjacent UAV, v ji is the relative speed between the target UAV and the adjacent UAV, P i (0) is the position coordinate of the target UAV relative to the adjacent UAV at time t=0, r s is the composite safety distance, v i is the flight vector of the target UAV, v j is the flight vector of the target UAV, wherein the flight vector is used to reflect the flight speed and flight angle of the UAV, is the maneuvering angle of the target UAV, is the maneuvering angle of the adjacent UAV, v' i is the maneuvering angle of the target UAV Adjusted flight speed, v' j The adjacent UAV maneuvering angle Adjusted flight speed.
[0040] See also Figure 3 , Figure 3 The flowchart of S2 in the method for controlling a drone to perform an avoidance operation provided in one embodiment of the present application includes steps S21 to S22, which are specifically as follows:
[0041] S21: Obtain a composite safety distance according to the position coordinates of the target UAV and the adjacent UAVs and a composite safety distance calculation algorithm.
[0042] The safety distance constraint equation is:
[0043] r s -||P i (t)-P j (t)||≤0
[0044] In the formula, r s is the composite safety distance, r s =max(r i ,r j ), ri With r j The safety radius of the target UAV and the adjacent UAV respectively; P i (t), P j (t) are the position coordinates of the target UAV and the adjacent UAV, respectively, ||.|| is the Euclidean norm;
[0045] In this embodiment, the control device obtains the composite safety distance according to the position coordinates of the target UAV and the adjacent UAVs and a composite safety distance calculation algorithm.
[0046] S22: Obtaining the boundary value of the collision cone area according to the position coordinates of the target UAV and the adjacent UAV, the safety distance and a preset boundary value calculation algorithm.
[0047] The boundary value calculation algorithm is:
[0048]
[0049] Wherein, k is the boundary value, including a first boundary value k1 and a second boundary value k2; is the lateral component of the position coordinates of the target UAV relative to the adjacent UAV, is the longitudinal component of the position coordinates of the target UAV relative to the adjacent UAV, r s is the safety distance, r s =max(r i ,r j ), r i With r j The safety radius of the target UAV and the adjacent UAVs respectively.
[0050] In this embodiment, the control device obtains the boundary value of the collision cone area according to the position coordinates of the target drone and the adjacent drones, the safety distance and a preset boundary value calculation algorithm.
[0051] S3: Obtain conflict resolution results between the target UAV and the adjacent UAVs according to the state information, boundary values and preset motion models of the target UAV and the adjacent UAVs.
[0052] The motion model is used to simulate whether the target UAV and the adjacent UAV can resolve conflicts by adjusting them within a certain maneuvering angle range according to the flight angle, flight speed and position coordinates of the target UAV and the adjacent UAV.
[0053] In this embodiment, the control device obtains the conflict resolution result between the target UAV and the adjacent UAV based on the status information, boundary value and preset motion model of the target UAV and the adjacent UAV, wherein the conflict resolution result includes a conflict resolution success result and a conflict resolution failure result.
[0054] See also Figure 4 , Figure 4 The flowchart of S2 in the method for controlling a drone to perform an avoidance operation provided in one embodiment of the present application includes steps S31 to S33, which are specifically as follows:
[0055] S31: Acquire the relationship identifier between the target UAV and the adjacent UAV according to the status information of the target UAV and the adjacent UAV.
[0056] The inter-machine relationship identifier includes an existing conflict, a potential conflict, and a safety status. The inter-machine relationship identifier includes an existing conflict, a potential conflict, and a safety status. The existing conflict includes a merging conflict, a head-on conflict, and an overtaking conflict.
[0057] The flight rights include a first flight right associated with the merging conflict and a second flight right associated with the overtaking conflict.
[0058] Existing conflict means that the relative speed between the target UAV and the adjacent UAV is within the collision cone area. If their states are not properly adjusted, the distance between them will be less than the composite safety distance in the future.
[0059] Potential conflict means that the relative speed between the target UAV and the adjacent UAV is not within the collision cone area, but considering the maneuverability of the two UAVs, when they make inappropriate motion direction adjustments within the look-ahead time window [0, τ], their relative speed will enter the collision cone area, where τ is the look-ahead time step;
[0060] A safe state means that the target UAV is not involved in existing conflicts or potential conflicts with adjacent UAVs.
[0061] Since each UAV can receive status information of neighboring UAVs through onboard communication equipment, they can identify each one-to-one inter-machine relationship related to themselves, and at the same time can perceive the traffic around the UAVs that are in one-to-one conflict with themselves.
[0062] In order to enable the target UAV and the adjacent UAV to fly normally at a composite safety distance in a crowded environment, in this embodiment, the control device obtains the relationship identifier between the target UAV and the adjacent UAV according to the flight angle and position coordinates of the target UAV and the adjacent UAV, as follows:
[0063] Assume that the target UAV and the adjacent UAV perform maneuvering angles and The heading adjustment of the target UAV A j The speed relative to the neighboring drone is v ji , and its movement direction is:
[0064]
[0065] In the formula, v i is the flight speed of the target UAV, v j is the flight speed of the adjacent UAV, φ i is the flight angle of the target UAV, φ j is the flight angle of the adjacent UAV, is the maneuvering angle of the target UAV, is the maneuvering angle of the adjacent UAV.
[0066] In this embodiment, the control device stipulates that when the drone maneuvers to the right, its angle is negative. When maneuvering to the left, the angle is positive Since the maneuvering angle range is limited, the maximum right turn angle is defined as -π and the maximum left turn angle is defined as π.
[0067] like Figure 2 As shown, the control device divides the inter-machine relationship identification between the target UAV and the adjacent UAV into existing conflict, potential conflict and safe state according to the relative speed between the target UAV and the adjacent UAV and the collision cone area.
[0068] When the inter-drone relationship is identified as an existing conflict, a relative flight angle between the target drone and an adjacent drone is obtained according to the flight angles of the target drone and the adjacent drone.
[0069] When the relative flight angle is within the range of [45 degrees, 135 degrees], the relationship identifier between the target UAV and the adjacent UAV is set to a merging conflict;
[0070] When the relative flight angle is within the range of [135 degrees, 180 degrees], the relationship identifier between the target UAV and the adjacent UAV is set to a head-on conflict;
[0071] When the relative flight angle is within the range of [0, 45 degrees], the inter-machine relationship identifier of the target UAV and the adjacent UAV is set to exceed conflict.
[0072] When the inter-machine relationship identifiers of the target UAV and the adjacent UAV are set to convergence conflict, the relative positions of the target UAV and the adjacent UAV are obtained according to the position coordinates of the target UAV and the adjacent UAV, and the flight right is set for the UAV at the right relative position according to the relative positions;
[0073] When the inter-machine relationship identifier of the target UAV and the adjacent UAV is set to a head-on conflict, the target UAV and the adjacent UAV are not set with flight rights;
[0074] When the inter-machine relationship identifiers of the target UAV and the adjacent UAV are set to be an overtaking conflict, the UAV to be overtaken is set with flight rights according to the flight speeds and position coordinates of the target UAV and the adjacent UAV.
[0075] The control device obtains a set of adjacent drones that have an existing conflict or potential conflict with the target drone according to the relationship identifier between the target drone and the adjacent drones. and There are other drones with which there is an existing conflict or potential conflict.
[0076] S32: According to the inter-machine relationship identifiers of the target UAV and the adjacent UAV and the flight rights associated with the existing conflict, the state information and boundary values of the target UAV and the adjacent UAV are input into the maneuvering angle relationship formula in the motion model to obtain the first maneuvering angle constraint and the second maneuvering angle constraint respectively.
[0077] The first maneuvering angle constraint is a maneuvering angle constraint between the target UAV and the adjacent UAV associated with the existing conflict, and the second maneuvering angle constraint is a maneuvering angle constraint between the target UAV and the adjacent UAV associated with the potential conflict.
[0078] In this embodiment, the control device inputs the state information and boundary value of the target UAV and the adjacent UAV into the maneuvering angle relationship formula in the motion model according to the inter-machine relationship identifier of the target UAV and the adjacent UAV and the flight right associated with the existing conflict, and obtains the first maneuvering angle constraint and the second maneuvering angle constraint respectively, wherein the maneuvering angle relationship formula is:
[0079]
[0080] Where k is the boundary value, v i is the flight speed of the target UAV, v j is the flight speed of the adjacent UAV, φ i is the flight angle of the target UAV, φ j is the flight angle of the adjacent UAV, is the maneuvering angle of the target UAV, is the maneuvering angle of the adjacent UAV;
[0081] According to the first maneuvering angle constraint and the second maneuvering angle constraint of the target UAV and the adjacent UAV, the overlapped part of the first maneuvering angle constraint and the second maneuvering angle constraint is solved to obtain the conflict resolution result between the target UAV and the adjacent UAV. The conflict resolution result includes a conflict resolution success result and a conflict resolution failure result.
[0082] See also Figure 5 , Figure 5 The flowchart of S32 in the method for controlling a drone to perform an avoidance operation provided in one embodiment of the present application includes steps S321 to S324, which are specifically as follows:
[0083] S321: When the inter-aircraft relationship identifier includes a merging conflict, according to the first flight right, the boundary value, the flight angle and the flight speed of the target UAV and the adjacent UAV are input into the maneuvering angle relationship formula, the maneuvering angle of the UAV without flight right associated with the merging conflict is obtained, and the first maneuvering angle constraint associated with the merging conflict is constructed.
[0084] In a merging conflict, the drone on the right side has the right to fly. At this time, the drone on the left side needs to take all the responsibility for conflict avoidance by adjusting its flight direction to the right. Therefore, the maneuvering angle of the drone with the right to fly is set to 0.
[0085] Taking the case where the neighboring drone of the target drone has the flight right and the target drone does not have the flight right as an example, the control device uses the first boundary value k1 and the second boundary value k2 as the boundary values of the maneuvering angle relationship formula, and inputs the flight angle and flight speed of the target drone and the neighboring drone into the maneuvering angle relationship formula, as shown below:
[0086]
[0087] Thus obtaining the maneuvering angle of the target drone that does not have the right to fly Among them, the maneuvering angle of the target drone that does not have flight rights is It includes the maneuvering angle of the target UAV that does not have the flight right corresponding to the first boundary value k1, and the maneuvering angle of the target UAV that does not have the flight right corresponding to the second boundary value k2.
[0088] Will The value of is the minimum maneuvering angle of the target UAV in order to eliminate the conflict with the adjacent UAVs. Considering that the target UAV may have existing conflicts with other UAVs, the final minimum maneuvering angle of the target UAV should satisfy the constraint Construct the first maneuvering angle constraint associated with the merging violation: For the actual scenario, since the angle can only be within [-π,π], the first maneuver angle constraint associated with the merging conflict is
[0089] S322: When the inter-machine relationship identifier includes a head-on conflict, the flight angle, flight speed, and boundary value of the target UAV and the adjacent UAV are input into the maneuvering angle relationship formula, the maneuvering angles of the target UAV and the adjacent UAV associated with the head-on conflict are obtained, and the first maneuvering angle constraint associated with the head-on conflict is constructed.
[0090] In a head-on collision, since neither the target drone nor the adjacent drone has the right to fly, they both need to turn right and have equal responsibility to avoid colliding with each other.
[0091] In this embodiment, the control device uses the first boundary value k1 and the second boundary value k2 as boundary values of the maneuvering angle relationship formula, and the flight angle and flight speed of the target UAV and the adjacent UAV are input into the maneuvering angle relationship formula, as shown below:
[0092]
[0093] Get the maneuvering angle of the target drone associated with the head-on collision and the maneuvering angles of adjacent drones and Wherein, the maneuvering angle of the target UAV associated with the head-on collision is The maneuvering angle of the target UAV associated with the head-on collision corresponding to the first boundary value k1 and the maneuvering angle of the target UAV associated with the head-on collision corresponding to the second boundary value k2; the maneuvering angle of the adjacent UAV associated with the head-on collision Including the maneuvering angle of the adjacent UAV associated with the head-on collision corresponding to the first boundary value k1 and the maneuvering angle of the adjacent UAV associated with the head-on collision corresponding to the second boundary value k2;
[0094] Will The value of is the minimum maneuvering angle of the target UAV in order to eliminate the conflict with the adjacent UAVs. Considering that the target UAV may have existing conflicts with other UAVs, the final minimum maneuvering angle of the target UAV should satisfy the constraint Construct the first maneuver angle constraint associated with the head-on collision: For the actual scenario, since the angle can only be within [-π,π], the first maneuver angle constraint associated with the merging conflict is
[0095] S323: When the inter-aircraft relationship identifier includes an overtaking conflict, according to the second flight right, the flight angle, flight speed, and boundary value of the target UAV and the adjacent UAV are input into the maneuvering angle relationship formula, the maneuvering angle of the UAV without flight right associated with the overtaking conflict is obtained, and the first maneuvering angle constraint associated with the overtaking conflict is constructed.
[0096] In an overtaking conflict, the drone being overtaken has the right to fly, that is, the drone in the front has the right to fly. At this time, the drone behind with a faster speed needs to turn right to bypass the drone in front.
[0097] Taking the adjacent UAV having the flight right as an example, the control device uses the first boundary value k1 and the second boundary value k2 as the boundary values of the maneuvering angle relationship formula, and inputs the flight angle and flight speed of the target UAV and the adjacent UAV into the maneuvering angle relationship formula, as shown below:
[0098]
[0099] Obtain the maneuvering angle of the target drone that does not have flight rights Among them, the maneuvering angle of the target drone that does not have flight rights is It includes the maneuvering angle of the target UAV that does not have the flight right corresponding to the first boundary value k1, and the maneuvering angle of the target UAV that does not have the flight right corresponding to the second boundary value k2.
[0100] Will The value of is the minimum maneuvering angle of the target UAV in order to eliminate the conflict with the adjacent UAVs. Considering that the target UAV may have existing conflicts with other UAVs, the final minimum maneuvering angle of the target UAV should satisfy the constraint Construct the first maneuver angle constraint associated with the overtaking conflict: For actual scenarios, since the angle can only be within [-π,π], the first maneuver angle constraint associated with the overtaking conflict is
[0101] After analyzing all one-to-one existing conflicts involving the target UAV, the control device can obtain the maneuvering angle that the target UAV needs to bear in all existing conflicts: Constructs the first maneuver angle constraint associated with all existing conflicts For actual scenarios, since the angle can only be within [-π,π], the first maneuver angle constraint associated with the existing conflict is
[0102] S324: When the inter-machine relationship identifier includes a potential conflict, the boundary value, the flight angle and the flight speed of the target UAV and the adjacent UAV are input into the maneuvering angle relationship formula, the maneuvering angle associated with the potential conflict is obtained, and a second maneuvering angle constraint associated with the potential conflict is constructed.
[0103] When the inter-drone relationship identifier includes a potential conflict, unreasonable maneuvering adjustments may cause the potential conflict to develop into an existing conflict, thereby expanding the scope of airspace conflicts. Therefore, it is necessary to consider the restrictions on the maneuvering angles of drones caused by potential conflicts and reduce the impact of drone conflict resolution maneuvers on air traffic. The target drone can determine the set of drones that are in potential conflict with it based on its own and its neighbors’ status.
[0104] When the inter-drone relationship identifier includes a potential conflict, the target drone and the adjacent drone will equally share the maneuvering angle that will not cause an existing conflict. The maximum maneuverable angle can be defined as and
[0105] Since the relative speed between the target UAV and the adjacent UAV does not enter the collision cone area when the flight angle between the target UAV and the adjacent UAV is adjusted, the boundary value requirement needs to be met;
[0106] When the boundary value is the first boundary value, the control device inputs the flight angle and the flight speed of the target UAV and the adjacent UAV into the maneuvering angle relationship formula, obtains the maneuvering angle associated with the potential conflict, and constructs a second maneuvering angle constraint associated with the potential conflict, as shown below:
[0107]
[0108]
[0109]
[0110]
[0111] In the formula, is the maximum maneuvering angle of the target UAV when the target UAV and the adjacent UAV are adjusted to the right at the same time, is the maximum maneuvering angle of the target UAV when the target UAV is adjusted to the left and the adjacent UAV is adjusted to the right, is the maximum maneuvering angle of the target UAV when the target UAV is adjusted to the right and the adjacent UAV is adjusted to the left, The maximum maneuvering angle of the target UAV when the target UAV and the adjacent UAV are simultaneously adjusted to the left;
[0112] According to equation f1, the maneuvering angle of the target UAV and the adjacent UAV adjusted to the right at the same time is obtained. That is, the target UAV and the adjacent UAV are adjusted to the right at the same time. The two drones within the maneuvering angle constraints will not cause existing conflicts;
[0113] According to equation f2, the maneuvering angle of the target UAV to the left and the adjacent UAV to the right is obtained. That is, the target UAV is adjusted to the left Within the maneuvering angle constraint, the adjacent UAV is adjusted to the right The two drones will not cause existing conflicts within the maneuvering angle constraints.
[0114] According to equation f3, the maneuvering angle of the target UAV to the right and the adjacent UAV to the left is obtained. That is, the target UAV is adjusted to the right Within the maneuvering angle constraint, the adjacent UAV adjusts to the left The two drones will not cause existing conflicts within the maneuvering angle constraints.
[0115] According to equation f4, the maneuvering angle of the target UAV and the adjacent UAV adjusted to the left at the same time is obtained. That is, the target UAV and the adjacent UAV are simultaneously adjusted to the left. The two drones will not collide within the maneuver angle constraints.
[0116] When the boundary value is the second boundary value, the control device inputs the flight angle and the flight speed of the target UAV and the adjacent UAV into the maneuvering angle relationship formula, obtains the maneuvering angle associated with the potential conflict, and constructs a second maneuvering angle constraint associated with the potential conflict, specifically as follows:
[0117]
[0118]
[0119]
[0120]
[0121] In the formula, is the maneuvering angle of the target UAV and the adjacent UAV adjusted to the right at the same time, is the maneuvering angle of the target UAV and the adjacent UAV adjusted to the left at the same time, The maneuvering angles for the target UAV to adjust to the right and the adjacent UAV to adjust to the left, The maneuvering angles of the target UAV and the adjacent UAVs are adjusted to the left simultaneously;
[0122] According to equation f5, the maneuvering angle of the target UAV and the adjacent UAV adjusted to the right at the same time is obtained. That is, the target UAV and the adjacent UAV are adjusted to the right at the same time. The two drones within the maneuvering angle constraints will not cause existing conflicts;
[0123] According to equation f6, the maneuvering angle of the target UAV to the left and the adjacent UAV to the right is obtained. That is, the target UAV is adjusted to the left Within the maneuvering angle constraint, the adjacent UAV is adjusted to the right The two drones will not cause existing conflicts within the maneuvering angle constraints.
[0124] According to equation f7, the maneuvering angle of the target UAV to the right and the adjacent UAV to the left is obtained. That is, the target UAV is adjusted to the right Maneuvering angle constraint, the adjacent UAV is adjusted to the left The two drones will not cause existing conflicts within the maneuvering angle constraints.
[0125] According to equation f8, the maneuvering angle of the target UAV and the adjacent UAV adjusted to the left at the same time is obtained. That is, the target UAV and the adjacent UAV are simultaneously adjusted to the left. The two drones will not collide within the maneuver angle constraints.
[0126] The above obtains the maneuverable angle constraint of the target drone adjusted to the right And the maneuverable angle constraint adjusted to the left And the maneuverable angle constraints corresponding to the adjacent UAVs and
[0127] In the combination of maneuverable angle constraints of the target UAV and the adjacent UAV, each combination of maneuverable angle constraints cannot have the relative speed go from the potential conflict area to the boundary value through the dark conflict area when changing from 0 to the maneuverable angle boundary. Based on this criterion, Assigned to Assigned to in, Used to refer to Maneuvering angle constraints that meet the criteria; Used to refer to The maneuver angle constraint that meets the criteria is constructed to construct a second maneuver angle constraint associated with the potential conflict. and
[0128] The target drone will be based on the collection The second maneuvering angle constraint caused by all potential conflict pairs in the result is that its maneuverable angle boundary value is Therefore, the second maneuver angle constraint of the target UAV is
[0129] Other drones that are in conflict with the target drone (including existing conflicts and potential conflicts) will calculate the second maneuvering angle constraint of the target drone according to the above calculation process based on the local environment information they obtain. Similarly, the target drone can also calculate the second maneuvering angle constraint of the drone that is in conflict with itself.
[0130] S33: According to the first maneuvering angle constraint and the second maneuvering angle constraint of the target UAV and the adjacent UAV, solving the overlapping part of the first maneuvering angle constraint and the second maneuvering angle constraint to obtain the conflict resolution result between the target UAV and the adjacent UAV.
[0131] In this embodiment, the control device solves the overlapped part of the first maneuvering angle constraint and the second maneuvering angle constraint according to the first maneuvering angle constraint of the target UAV and the adjacent UAV and the second maneuvering angle constraint. If the solution fails, that is, the first maneuvering angle constraint and the second maneuvering angle constraint do not have an overlapped part, a conflict resolution failure result is obtained. If the solution is successful, the overlapped part after the solution is used as the maneuvering angle range of the target UAV and the adjacent UAV. The target UAV and the adjacent UAV determine the maneuvering angle strategy that deviates from their current flight angle the least within their respective maneuverable ranges, and obtain a conflict resolution success result.
[0132] S4: According to the conflict resolution result, the target UAV and the adjacent UAV are controlled to perform avoidance operations.
[0133] In this embodiment, the control device controls the target UAV and the adjacent UAV to perform avoidance operations according to the conflict resolution result, so that the two UAVs will not cause existing conflicts and share the safe airspace equally.
[0134] See also Figure 6 , Figure 6 The flowchart of S4 in the method for controlling a drone to perform an avoidance operation provided in one embodiment of the present application includes steps S41 to S42, which are specifically as follows:
[0135] S41: When the conflict resolution result is a successful conflict resolution result, the maneuvering angle ranges corresponding to the target UAV and the adjacent UAV are respectively constructed according to the first maneuvering angle constraint and the second maneuvering angle constraint of the target UAV and the adjacent UAV, and the minimum avoidance maneuvering angle is determined according to the maneuvering angle ranges, and the target UAV and the adjacent UAV are controlled to perform avoidance operations.
[0136] In this embodiment, when the conflict resolution result is a successful conflict resolution result, the control device constructs the maneuvering angle ranges corresponding to the target UAV and the adjacent UAV respectively according to the overlapping parts of the first maneuvering angle constraint and the second maneuvering angle constraint corresponding to the successful conflict resolution result, and determines the minimum avoidance maneuvering angle for the target UAV and the adjacent UAV to deviate from their respective current flight directions according to the maneuvering angle ranges, and controls the target UAV and the adjacent UAV to perform avoidance operations.
[0137] S42: When the conflict resolution result is a conflict resolution failure result, the correction maneuvering angle range of the target UAV and the adjacent UAV is obtained according to the boundary value, the inter-machine relationship identifier of the target UAV and the adjacent UAV, the flight angle, the flight speed and the first maneuvering angle constraint associated with the existing conflict, and the minimum avoidance maneuvering angle is determined according to the correction maneuvering angle range, and the target UAV and the adjacent UAV are controlled to perform avoidance operations.
[0138] In this embodiment, when the conflict resolution result is a conflict resolution failure result, the control device obtains the correction maneuvering angle range of the target UAV and the adjacent UAV based on the boundary value, the inter-machine relationship identifier of the target UAV and the adjacent UAV, the flight angle, the flight speed, and the first maneuvering angle constraint of the adjacent UAV associated with the existing conflict, and determines the minimum avoidance maneuvering angle for the target UAV and the adjacent UAV to deviate from their respective current flight directions based on the correction maneuvering angle range, and controls the target UAV and the adjacent UAV to perform avoidance operations.
[0139] See also Figure 7 , Figure 7The flowchart of S42 in the method for controlling a drone to perform an avoidance operation provided in one embodiment of the present application includes steps S421 to S422, which are specifically as follows:
[0140] S421: Obtaining a maximum maneuvering angle adjustment value of a UAV involved in a potential conflict;
[0141] When two drones actually collide one-on-one, the drones involved will be held responsible for different types of conflicts. However, there are several possible scenarios:
[0142] Please refer to Figure 8 , Figure 8 An avoidance diagram of a method for controlling a drone to perform an avoidance operation provided by an embodiment of the present application, wherein the target drone and the adjacent drone have a head-on conflict. According to the basic flight rules, the two drones should bear equal avoidance responsibilities, but the maneuvering range of one of the drones includes a potential conflict and cannot achieve the avoidance maneuvering range that should be completed. The other drone understands the surrounding conditions of its neighboring drone and has a larger maneuverable range. It will take the initiative to assume a greater avoidance responsibility to avoid an actual conflict, such as Figure 8 As shown in Figure (a);
[0143] Therefore, the control device obtains the second maneuvering angle constraint of the UAV involved in the potential conflict as the maximum maneuvering angle adjustment value for performing the avoidance operation of the UAV.
[0144] S422: According to the inter-machine relationship identifiers of the target UAV and the adjacent UAV and the flight rights associated with the existing conflict, the status information and the maximum maneuvering angle adjustment value of the target UAV and the adjacent UAV are input into the maneuvering angle relationship formula to obtain the first corrective maneuvering angle constraint and the second corrective maneuvering angle constraint, respectively.
[0145] The first corrective maneuvering angle constraint is a corrective maneuvering angle constraint between the target UAV and the adjacent UAV associated with the existing conflict, and the second corrective maneuvering angle constraint is a corrective maneuvering angle constraint between the target UAV and the adjacent UAV associated with the potential conflict;
[0146] When two drones actually collide one-on-one, the drones involved will be held responsible for different types of conflicts. However, there are several possible scenarios:
[0147] The target drone and the adjacent drone have a head-on conflict. According to the basic flight rules, the two drones should bear equal avoidance responsibilities. However, the maneuvering range of one of the drones includes potential conflicts and cannot achieve the avoidance maneuver range that should be completed. The other drone understands the surrounding conditions of its neighboring drone and has a larger maneuverable range. It will take the initiative to assume greater avoidance responsibility to avoid actual conflicts, such as Figure 8 As shown in Figure (a);
[0148] In order to eliminate the head-on conflict, taking the adjacent UAV including the potential conflict as an example, the control device obtains the maximum maneuvering angle adjustment value of the adjacent UAV including the potential conflict from the first maneuvering angle constraint. The state information of the target UAV and the adjacent UAV and the maximum maneuvering angle adjustment value are input into the maneuvering angle relationship formula, as shown below:
[0149]
[0150] Obtaining the corrective maneuver angle of the target drone associated with the head-on collision Among them, the correction angle of the target drone Including the correction maneuvering angle of the target UAV corresponding to the first boundary value k1 and the correction maneuvering angle of the target UAV corresponding to the second boundary value k2, and constructing the first correction maneuvering angle constraint of the target UAV associated with the head-on collision For the actual scenario, since the angle can only be within [-π,π], the first corrective maneuver angle constraint associated with the head-on collision is
[0151] The target UAV and the adjacent UAVs include a convergence conflict. Since the UAV without the right to fly is limited by its surrounding environment and it is difficult to avoid another UAV, the UAV with the right to fly will make a right turn if it has a maneuverable range to avoid the UAV that should bear all the obstacle avoidance responsibilities but cannot complete the task. Figure 8 As shown in Figure (b);
[0152] In order to eliminate the merging conflict and ensure the safe interval between the two UAVs, taking the target UAV having the flight right as an example, the control device adjusts the value according to the maximum maneuvering angle of the adjacent UAV. The state information of the target UAV and the adjacent UAV and the maximum maneuvering angle adjustment value are input into the maneuvering angle relationship formula to calculate the corrected maneuvering angle of the target UAV, as shown below:
[0153]
[0154] Obtain the corrective maneuver angle of the target drone associated with the merging conflict Among them, the correction angle of the target drone Including the correction maneuvering angle of the target UAV corresponding to the first boundary value k1 and the correction maneuvering angle of the target UAV corresponding to the second boundary value k2, and constructing the first correction maneuvering angle constraint of the target UAV associated with the merging conflict For the actual scenario, since the angle can only be within [-π,π], the first corrective maneuver angle constraint associated with the merging conflict is
[0155] The target UAV and the adjacent UAV may have an overtaking conflict. Since the rear UAV cannot safely overtake the front UAV by turning right alone, the UAV with the right of way can reduce the risk of conflict between the two UAVs through cooperative maneuvers. There are two possibilities:
[0156] If the aircraft with the right of way can reduce the risk of conflict by turning right, it will turn right, such as Figure 8 As shown in Figure (c);
[0157] In order to eliminate the overtaking conflict, taking the target UAV having the flight right as an example, the control device adjusts the value according to the maximum maneuvering angle of the adjacent UAV. The state information of the target UAV and the adjacent UAV and the maximum maneuvering angle adjustment value are input into the maneuvering angle relationship formula, as shown below:
[0158]
[0159] Obtaining a corrective maneuver angle for the target drone associated with the overtaking conflict Among them, the correction angle of the target drone Including the correction maneuvering angle of the target UAV corresponding to the first boundary value k1 and the correction maneuvering angle of the target UAV corresponding to the second boundary value k2, and constructing the first correction maneuvering angle constraint of the target UAV associated with the overtaking conflict For the actual scenario, since the angle can only be within [-π,π], the first corrective maneuver angle constraint of the target UAV associated with the overtaking conflict is
[0160] If the drone with flight rights has flight rights in all existing conflicts related to it and turning left can effectively reduce the risk of conflict, the aircraft can make an appropriate left turn to make room for the aircraft behind, such as Figure 8 As shown in Figure (d);
[0161] In order to eliminate the overtaking conflict, the control device adjusts the value according to the maximum maneuvering angle of the adjacent UAV. The state information of the target UAV and the adjacent UAV and the maximum maneuvering angle adjustment value are input into the maneuvering angle relationship formula, as shown below:
[0162]
[0163] Obtaining a corrective maneuver angle for the target drone associated with the overtaking conflict Among them, the correction angle of the target drone Including the correction maneuvering angle of the target UAV corresponding to the first boundary value k1 and the correction maneuvering angle of the target UAV corresponding to the second boundary value k2, and constructing the first correction maneuvering angle constraint of the target UAV associated with the overtaking conflict For the actual scenario, since the angle can only be within [-π,π], the first corrective maneuver angle constraint of the target UAV associated with the overtaking conflict is
[0164] Considering that the target UAV and the adjacent UAVs including potential conflicts may also have existing conflicts with other UAVs, it is necessary to determine their coordination strategies according to the specific scenarios in which the target UAV and the adjacent UAVs are located. The specific scenarios include the first scenario and the second scenario, which are as follows:
[0165] Scenario 1: When the target drone and the adjacent drones are involved in existing conflicts with other drones, they will share the maneuvering space equally, such as Figure 8 As shown in Figure (a);
[0166] The calculation process is as follows: in step S324, the control device inputs the status information of the target UAV and the adjacent UAV, and the maximum maneuvering angle adjustment value into the maneuvering angle relationship formula to construct a second corrective maneuvering angle constraint associated with the potential conflict.
[0167] The second scenario: When the target UAV is involved in an existing conflict, and the adjacent UAVs only involve potential conflicts, if the adjacent UAV detects that the target UAV needs to take a large maneuvering angle to avoid other UAVs, then the maneuvering space between the target UAV and the adjacent UAVs can be exclusively occupied by the target UAV.
[0168] In order to eliminate potential conflicts, the control device inputs the state information of the target UAV and the adjacent UAV and the maximum maneuvering angle adjustment value into the maneuvering angle relationship according to the boundary value, as shown below:
[0169]
[0170]
[0171]
[0172]
[0173] Obtaining an alternative value of the corrective maneuvering angle of the target drone associated with the first boundary value as well as Alternative value of the corrective maneuvering angle of the target drone associated with the second boundary value as well as
[0174] Constructing a second corrective maneuver angle constraint for the target drone associated with the potential conflict in
[0175] S423: Constructing the correction maneuvering angle ranges corresponding to the target UAV and the adjacent UAV respectively according to the first correction maneuvering angle constraint and the second correction maneuvering angle constraint of the target UAV and the adjacent UAV.
[0176] In this embodiment, the control device constructs the corrective maneuvering angle ranges corresponding to the target UAV and the adjacent UAV respectively according to the overlapped part of the first corrective maneuvering angle constraint and the second corrective maneuvering angle constraint. According to the corrective maneuvering angle ranges, the avoidance maneuvering angle that makes the target UAV and the adjacent UAV deviate from their respective current flight directions can be determined, and the target UAV and the adjacent UAV can be controlled to perform avoidance operations. The coordination strategy based on the corrective maneuvering angle improves the blindness of the coordination mechanism based on flight rules, can greatly eliminate the chaotic scenes of a large number of UAVs flying in a local environment, and improve air traffic efficiency.
[0177] Please refer to Fig. 9 , Fig. 9 This is a schematic diagram of the structure of a drone avoidance device provided by an embodiment of the present application. The device can implement all or part of the drone avoidance device through software, hardware, or a combination of both. The device 8 includes:
[0178] An acquisition module 91 is used to acquire status information of a target UAV and adjacent UAVs, wherein the status information includes a flight angle, a flight speed, and a position coordinate;
[0179] A boundary value calculation module 92 is used to construct a collision cone area according to the state information of the target UAV and the adjacent UAVs, and calculate the boundary value of the collision cone area;
[0180] The conflict resolution result calculation module 93 is used to obtain the conflict resolution result between the target UAV and the adjacent UAV according to the state information, boundary value and preset motion model of the target UAV and the adjacent UAV;
[0181] The execution module 94 is used to control the target UAV and the adjacent UAV to perform avoidance operations according to the conflict resolution result.
[0182] In the embodiment of the present application, the state information of the target drone and the adjacent drone is obtained through the acquisition module, wherein the state information includes the flight angle, flight speed and position coordinates; the collision cone area is constructed according to the state information of the target drone and the adjacent drone through the boundary value calculation module, and the boundary value of the collision cone area is calculated; the conflict resolution result calculation module is used to obtain the conflict resolution result between the target drone and the adjacent drone according to the state information, boundary value and preset motion model of the target drone and the adjacent drone; and the execution module is used to control the target drone and the adjacent drone to perform avoidance operations according to the conflict resolution result. The blindness of the coordination mechanism based on flight rules is effectively improved, and the chaotic scene of a large number of drones flying in the local environment can be greatly eliminated, thereby improving the efficiency of air traffic.
[0183] Please refer to Fig.10 , Fig.10 The computer device 100 is a schematic diagram of a computer device according to an embodiment of the present application. The computer device 100 includes: a processor 101, a memory 102, and a computer program 103 stored in the memory 102 and executable on the processor 101; the computer device may store a plurality of instructions, which are suitable for being loaded and executed by the processor 101. Figure 1 , Figures 3 to 7 The method steps of the embodiment shown in the figure can be found in the specific implementation process. Figure 1 , Figures 3 to 7 The specific description of the illustrated embodiment will not be repeated here.
[0184] Among them, the processor 101 may include one or more processing cores. The processor 101 uses various interfaces and lines to connect various parts in the server, and executes various functions and processes data of the drone avoidance device 9 by running or executing instructions, programs, code sets or instruction sets stored in the memory 102, and calling the data in the memory 102. Optionally, the processor 101 can be implemented in at least one hardware form of digital signal processing (Digital Signal Processing, DSP), field programmable gate array (Field-Programmable Gate Array, FPGA), and programmable logic array (Programble Logic Array, PLA). The processor 101 can integrate one or more combinations of a central processing unit 101 (Central Processing Unit, CPU), an image processor 101 (Graphics Processing Unit, GPU) and a modem. Among them, the CPU mainly processes the operating system, user interface and application programs; the GPU is responsible for rendering and drawing the content to be displayed on the touch display; the modem is used to process wireless communications. It can be understood that the above-mentioned modem may not be integrated into the processor 101, and it can be implemented by a single chip.
[0185] Among them, the memory 102 may include a random access memory 102 (Random Access Memory, RAM), and may also include a read-only memory 102 (Read-Only Memory). Optionally, the memory 102 includes a non-transitory computer-readable storage medium. The memory 102 can be used to store instructions, programs, codes, code sets or instruction sets. The memory 102 may include a program storage area and a data storage area, wherein the program storage area may store instructions for implementing an operating system, instructions for at least one function (such as touch instructions, etc.), instructions for implementing the above-mentioned various method embodiments, etc.; the data storage area may store data involved in the above-mentioned various method embodiments, etc. The memory 102 may also be optionally at least one storage device located away from the aforementioned processor 101.
[0186] The present application also provides a storage medium that can store multiple instructions, which are suitable for the processor to load and execute the above-mentioned Figure 1 , Figures 3 to 7 The method steps of the embodiment shown in the figure can be found in the specific implementation process. Figure 1 , Figures 3 to 7 The specific description of the illustrated embodiment will not be repeated here.
[0187] The technicians in the relevant field can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional units and modules is used as an example for illustration. In practical applications, the above-mentioned function allocation can be completed by different functional units and modules as needed, that is, the internal structure of the device can be divided into different functional units or modules to complete all or part of the functions described above. The functional units and modules in the embodiment can be integrated in a processing unit, or each unit can exist physically separately, or two or more units can be integrated in one unit. The above-mentioned integrated unit can be implemented in the form of hardware or in the form of software functional units. In addition, the specific names of the functional units and modules are only for the convenience of distinguishing each other, and are not used to limit the scope of protection of this application. The specific working process of the units and modules in the above-mentioned system can refer to the corresponding process in the aforementioned method embodiment, which will not be repeated here.
[0188] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described or recorded in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.
[0189] Those skilled in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraint algorithm of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of the present invention.
[0190] In the embodiments provided by the present invention, it should be understood that the disclosed devices / terminal equipment and methods can be implemented in other ways. For example, the device / terminal equipment embodiments described above are only schematic. For example, the division of the modules or units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.
[0191] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0192] In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.
[0193] If the integrated module / unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the present invention implements all or part of the processes in the above-mentioned embodiment method, and can also be completed by instructing the relevant hardware through a computer program. The computer program can be stored in a computer-readable storage medium, and when the computer program is executed by a processor, the steps of the above-mentioned method embodiments can be implemented. Among them, the computer program includes computer program code, and the computer program code can be in source code form, object code form, executable file or some intermediate form, etc.
[0194] The present invention is not limited to the above-mentioned embodiments. If various changes or modifications to the present invention do not depart from the spirit and scope of the present invention, and if these changes and modifications fall within the scope of the claims and equivalent technologies of the present invention, the present invention is also intended to include these changes and modifications.
Claims
1. A method for controlling a drone to perform an avoidance operation, characterized in that: The following steps are involved: Acquire status information of the target UAV and adjacent UAVs, wherein the status information includes flight angle, flight speed, and position coordinates; Constructing a collision cone area according to the state information of the target UAV and the adjacent UAVs, and calculating the boundary value of the collision cone area; According to the status information of the target UAV and the adjacent UAV, an inter-machine relationship identifier between the target UAV and the adjacent UAV is obtained, wherein the inter-machine relationship identifier includes an existing conflict and a potential conflict, and a flight right associated with the existing conflict is obtained, wherein the existing conflict includes a merging conflict, a head-on conflict, and an overtaking conflict, and the flight right associated with the existing conflict includes a first flight right and a second flight right, wherein the first flight right is a flight right associated with the merging conflict, and the second flight right is a flight right associated with the overtaking conflict; According to the inter-machine relationship identifiers of the target UAV and the adjacent UAV and the flight rights associated with the existing conflict, the state information of the target UAV and the adjacent UAV and the boundary value of the collision cone area are input into a preset motion model; when the inter-machine relationship identifier includes a merging conflict, according to the first flight right, the boundary value of the collision cone area, the flight angle and the flight speed of the target UAV and the adjacent UAV are input into a preset maneuvering angle relationship formula, the maneuvering angle of the UAV without the flight rights associated with the merging conflict is obtained, and the first maneuvering angle constraint associated with the merging conflict is constructed; When the inter-machine relationship identifier includes a head-on collision, the flight angle, the flight speed, and the boundary value of the collision cone area of the target UAV and the adjacent UAV are input into the maneuvering angle relationship formula, the maneuvering angles of the target UAV and the adjacent UAV associated with the head-on collision are obtained, and a first maneuvering angle constraint associated with the head-on collision is constructed; When the inter-aircraft relationship identifier includes an overtaking conflict, according to the second flight right, the flight angle, the flight speed, and the boundary value of the collision cone area of the target UAV and the adjacent UAV are input into the maneuvering angle relationship formula, the maneuvering angle of the UAV without flight right associated with the overtaking conflict is obtained, and the first maneuvering angle constraint associated with the overtaking conflict is constructed; When the inter-machine relationship identifier includes a potential conflict, the boundary value of the collision cone area, the flight angles and flight speeds of the target UAV and the adjacent UAV are input into the maneuvering angle relationship formula, the maneuvering angle associated with the potential conflict is obtained, and a second maneuvering angle constraint associated with the potential conflict is constructed, wherein the maneuvering angle relationship formula is: Where k is the boundary value of the collision cone area, v i is the flight speed of the target UAV, v j is the flight speed of the adjacent UAV, is the flight angle of the target UAV, is the flight angle of the adjacent UAV, is the maneuvering angle of the target UAV, is the maneuvering angle of the adjacent UAV; According to the first maneuvering angle constraint and the second maneuvering angle constraint of the target UAV and the adjacent UAV, solving the overlapped part of the first maneuvering angle constraint and the second maneuvering angle constraint, and obtaining the conflict resolution result between the target UAV and the adjacent UAV, wherein the conflict resolution result includes a conflict resolution success result and a conflict resolution failure result; According to the conflict resolution result, the target UAV and adjacent UAVs are controlled to perform avoidance operations.
2. The method for controlling a drone to perform an avoidance operation according to claim 1, characterized in that: The method of constructing a collision cone area according to the state information of the target UAV and the adjacent UAVs, and calculating the boundary value of the collision cone area, comprises the steps of: According to the position coordinates of the target UAV and the adjacent UAVs and the composite safety distance calculation algorithm, the composite safety distance is obtained, wherein the safety distance constraint equation is: r s -||P i (t)-P j (t)||≤0 In the formula, r s is the composite safety distance, r s =max(r i ,r j ), r i With r j The safety radius of the target UAV and the adjacent UAV respectively; P i (t), P j (t) are the position coordinates of the target UAV and the adjacent UAV, respectively, ||.|| is the Euclidean norm; According to the position coordinates of the target UAV and the adjacent UAV, the composite safety distance and a preset boundary value calculation algorithm, the boundary value of the collision cone area is obtained, wherein the boundary value calculation algorithm is: Wherein, k is the boundary value of the collision cone area, including a first boundary value k1 and a second boundary value k2; is the lateral component of the position coordinates of the target UAV relative to the adjacent UAV, is the longitudinal component of the position coordinates of the target UAV relative to the adjacent UAV, r s is the safety distance, r s =max(r i ,r j ), r i With r j The safety radius of the target UAV and the adjacent UAVs respectively.
3. The method for controlling a drone to perform an avoidance operation according to claim 1, characterized in that: The method of controlling the target UAV and the adjacent UAV to perform avoidance operations according to the conflict resolution result comprises the following steps: When the conflict resolution result is a successful conflict resolution result, constructing maneuvering angle ranges corresponding to the target UAV and the adjacent UAV respectively according to the first maneuvering angle constraint and the second maneuvering angle constraint of the target UAV and the adjacent UAV, determining a minimum avoidance maneuvering angle according to the maneuvering angle ranges, and controlling the target UAV and the adjacent UAV to perform avoidance operations; When the conflict resolution result is a conflict resolution failure result, the correction maneuvering angle range of the target UAV and the adjacent UAV is obtained according to the boundary value of the collision cone area, the relationship identifier between the target UAV and the adjacent UAV, the flight angle, the flight speed and the first maneuvering angle constraint associated with the existing conflict, and the minimum avoidance maneuvering angle is determined according to the correction maneuvering angle range, and the target UAV and the adjacent UAV are controlled to perform avoidance operations.
4. The method for controlling a drone to perform an avoidance operation according to claim 3, characterized in that: The method of obtaining the correction maneuvering angle range of the target UAV and the adjacent UAV according to the boundary value of the collision cone area, the relationship identifier between the target UAV and the adjacent UAV, the flight angle, the flight speed, and the first maneuvering angle constraint associated with the existing conflict comprises the steps of: Obtain the maximum maneuver angle adjustment value of the UAV involved in the potential conflict; According to the inter-machine relationship identifier of the target UAV and the adjacent UAV and the flight right associated with the existing conflict, the state information and the maximum maneuvering angle adjustment value of the target UAV and the adjacent UAV are input into the maneuvering angle relationship formula to obtain a first corrective maneuvering angle constraint and a second corrective maneuvering angle constraint, respectively, wherein the first corrective maneuvering angle constraint is the corrective maneuvering angle constraint of the target UAV and the adjacent UAV associated with the existing conflict, and the second corrective maneuvering angle constraint is the corrective maneuvering angle constraint of the target UAV and the adjacent UAV associated with the potential conflict; According to the first correction maneuvering angle constraint and the second correction maneuvering angle constraint of the target UAV and the adjacent UAV, the correction maneuvering angle ranges corresponding to the target UAV and the adjacent UAV are respectively constructed.
5. A drone avoidance device applied to the method for controlling a drone to perform avoidance operation as claimed in claim 1, characterized in that: include: An acquisition module, used to acquire status information of the target UAV and adjacent UAVs, wherein the status information includes flight angle, flight speed and position coordinates; A boundary value calculation module, used to construct a collision cone area according to the state information of the target UAV and the adjacent UAVs, and calculate the boundary value of the collision cone area; A conflict resolution result calculation module, used to obtain the conflict resolution result between the target UAV and the adjacent UAV according to the state information, boundary value and preset motion model of the target UAV and the adjacent UAV; An execution module is used to control the target UAV and adjacent UAVs to perform avoidance operations according to the conflict resolution result.
6. A computer device, characterized in that: include: A processor, a memory, and a computer program stored in the memory and executable on the processor; when the computer program is executed by the processor, the steps of the method for controlling a drone to perform an avoidance operation as described in any one of claims 1 to 4 are implemented.
7. A storage medium, characterized in that: The storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the method for controlling a drone to perform an avoidance operation as described in any one of claims 1 to 4 are implemented.
Citation Information
Patent Citations
Method and device for avoiding obstacles by unmanned aerial vehicle, equipment and storage medium
CN109407705A
Hierarchical anti-collision control method for fixed-wing unmanned aerial vehicle cluster
CN110703804A
Unmanned aerial vehicle control method and device and unmanned aerial vehicle
CN110832420A
Multi-unmanned aerial vehicle trajectory planning method and device, unmanned aerial vehicle and storage medium
CN113900449A
