Online optimization method and device for information interaction topology of UAV formation with balanced energy consumption
Through the computer-executed balanced energy consumption optimization method, based on the three-dimensional formation and initial energy of the UAV formation, the information interaction topology is periodically updated, which solves the problem of uneven energy consumption of the UAV formation and extends the UAV formation task time.
Patent Information
- Application Number
- CN201910778249.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2019-08-22
- Publication Date
- 2024-09-06
- Estimated Expiration
- 2039-08-22
AI Technical Summary
The UAV formation has a short working time when performing tasks, mainly because each UAV consumes too much energy in the sending state, resulting in insufficient energy.
Through computer-executed online optimization method of UAV formation information interaction topology with balanced energy consumption, based on the UAV formation's three-dimensional formation and initial energy acquisition communication network, a weighted directed graph and a three-dimensional linear independent graph are generated, and the information interaction topology is updated. , based on the remaining energy and flight time of each UAV, the information interaction topology of the UAV formation is updated periodically to ensure energy balance.
The working time of the UAV formation is extended, the energy utilization rate is improved, and early landing caused by insufficient energy is avoided.
Smart Images

Figure CN110647166B
Abstract
Description
Technical Field
[0001] The present invention relates to the field of unmanned aerial vehicle communication technology, and in particular to an online optimization method and device for unmanned aerial vehicle formation information interaction topology with balanced energy consumption. Background Art
[0002] With the development of science and technology, unmanned aerial vehicle (UAV) technology is increasingly being used in various fields, such as military, industry, environmental monitoring, medical care, and intelligent transportation. When using drones for work, controlling multiple drones to maintain a certain formation for flight is the most important part. Drones usually exchange information through point-to-point communication links to form a certain formation and maintain this formation to fly towards the target area. Among them, the communication link used is called the information interaction topology of the drone formation.
[0003] Drones are generally equipped with data computing and processing devices, so that each drone constitutes a network computing node. When working in formation, drones can send signals to other drones and receive signals from other drones, thereby realizing information exchange between multiple drones and building an information interaction topology.
[0004] However, the inventor of the present application found that since the energy available to each drone is limited, but the drone in the sending state consumes energy faster than the drone in the receiving state, when the drone formation performs a mission for a long time, one or several drones may consume too much energy. That is, the prior art has the disadvantage of a short working time of the drone formation when performing a mission in actual application. Summary of the invention
[0005] 1. Technical issues to be resolved
[0006] In view of the shortcomings of the prior art, the present invention provides a method and device for online optimization of the information interaction topology of a UAV formation with balanced energy consumption, which solves the problem of short working time of a UAV formation when performing a mission.
[0007] (II) Technical solution
[0008] To achieve the above objectives, the present invention is implemented through the following technical solutions:
[0009] The present invention solves the technical problem by providing an online optimization method for the information interaction topology of a UAV formation with balanced energy consumption. The optimization method is executed by a computer and comprises the following steps:
[0010] S1, communication network based on the three-dimensional formation of UAVs and the initial energy acquisition of UAVs;
[0011] S2. Acquire a weighted directed graph based on the communication network;
[0012] S3, obtaining a three-dimensional linearly independent graph based on the weighted directed graph;
[0013] S4. Acquire the information interaction topology of the UAV formation based on the three-dimensional linear independent graph;
[0014] S5. Send the information interaction topology of the drone formation to the drones and record the initial time;
[0015] S6. Record each flight time of the UAV, and obtain a real-time time difference between the UAV based on the initial time and each flight time;
[0016] S7. When the real-time time difference is greater than a preset scheduling period, the remaining energy of each UAV is obtained, and it is determined whether the remaining energy of each UAV is greater than the minimum energy required to maintain the flight of the UAV;
[0017] If the conditions are met, then the information interaction topology of the drone formation at the current time is generated based on the three-dimensional formation and the remaining energy; the information interaction topology of the drone formation is updated to the information interaction topology of the drone formation at the current time, the initial time is updated to the current time, and the process jumps to S5 to repeat steps S5-S7;
[0018] If the conditions are not met, the drone is ordered to land.
[0019] Preferably, in S2, the method for obtaining the weighted directed graph is:
[0020] Acquire a first minimum tree diagram of the communication network, and delete arcs and reverse arcs in the first minimum tree diagram from the communication network to obtain a first communication network;
[0021] Acquire a second minimum tree diagram of the first communication network, and delete arcs and reverse arcs in the second minimum tree diagram from the first communication network to obtain a second communication network;
[0022] Acquire a third minimum tree diagram of the second communication network, and delete arcs and reverse arcs in the third minimum tree diagram from the second communication network to obtain a third communication network;
[0023] The first minimum tree graph, the second minimum tree graph and the third minimum tree graph are combined to obtain the weighted directed graph.
[0024] Preferably, in S3, the method for obtaining the three-dimensional linear independent graph is:
[0025] S301, sorting the arcs in the weighted directed graph in descending order of weights, and assigning h=1;
[0026] S302, determining whether the number of arcs in the weighted directed graph is greater than the rank r of the stiffness matrix of the weighted undirected graph corresponding to the weighted directed graph, and if the condition is satisfied, deleting the hth arc in the weighted directed graph to obtain a first weighted directed graph; if the condition is not satisfied, the weighted directed graph is a three-dimensional linearly independent graph;
[0027] S303, judging whether the rank of the stiffness matrix of the weighted undirected graph corresponding to the first weighted directed graph is less than r, if the condition is satisfied, adding the hth arc back into the first weighted directed graph to obtain a second weighted directed graph; if the condition is not satisfied, no processing is performed to obtain a second weighted directed graph;
[0028] S304, update the value of h;
[0029] S305. Determine whether the number of arcs in the second weighted directed graph is greater than r. If the condition is met, update the data in the weighted directed graph to the data in the second weighted directed graph, and jump to step S302, and repeat steps S302-S305; if the condition is not met, the second weighted directed graph is a three-dimensional linearly independent graph.
[0030] Preferably, in S4, the method for acquiring the information interaction topology of the drone formation is:
[0031] S401, determine whether the rank r0 of the stiffness matrix of the weighted undirected graph corresponding to the three-dimensional linear independent graph and the node set V of the three-dimensional linear independent graph satisfy r0<3×|V|-6, if the conditions are met, sort the arcs in the third communication network in order from low to high weights, and obtain the kth arc a in the third communication network ij , where k=1; if the condition is not met, the three-dimensional linear independent graph is the information interaction topology of the UAV formation;
[0032] S402, determining whether the rank r0 of the stiffness matrix of the weighted undirected graph corresponding to the three-dimensional linearly independent graph and the node set V of the three-dimensional linearly independent graph satisfy r0<3×|V|-6; if not, the three-dimensional linearly independent graph is the information interaction topology of the UAV formation;
[0033] If the conditions are met, then determine: the kth arc a ij The end point v j Is the in-degree in the three-dimensional linearly independent graph less than 3 and the k-th arc a ij The reverse arc a jiIs it not in the three-dimensional linearly independent graph? If both conditions are met, the kth arc a ij Add to the three-dimensional linearly independent graph to obtain a first three-dimensional linearly independent graph, and jump to step S403; if both conditions cannot be met, update the value of k and repeat step S402;
[0034] S403, determining whether the rank of the stiffness matrix of the weighted undirected graph corresponding to the first three-dimensional linearly independent graph is full rank, if not, resetting the kth arc a ij Delete from the first three-dimensional linearly independent graph to obtain a second three-dimensional linearly independent graph, and let r1 = r0; if the condition is met, let r1 = r0 + 1 and retain the kth arc a ij , and obtain the second three-dimensional linearly independent graph;
[0035] S404, updating the value of k;
[0036] S405. Determine whether r1 satisfies r1<3×|V|-6. If so, update the data in the three-dimensional linearly independent graph to the data in the second three-dimensional linearly independent graph, and jump to step S402, and repeat steps S402-S405. If not, the second three-dimensional linearly independent graph is the information interaction topology of the UAV formation.
[0037] The present invention solves the technical problem by providing an online optimization device for the information interaction topology of a UAV formation with balanced energy consumption. The optimization device comprises a computer, and the computer comprises:
[0038] at least one storage unit;
[0039] at least one processing unit;
[0040] The at least one storage unit stores at least one instruction, and the at least one instruction is loaded and executed by the at least one processing unit to implement the following steps:
[0041] S1, communication network based on the three-dimensional formation of UAVs and the initial energy acquisition of UAVs;
[0042] S2. Acquire a weighted directed graph based on the communication network;
[0043] S3, obtaining a three-dimensional linearly independent graph based on the weighted directed graph;
[0044] S4. Acquire the information interaction topology of the UAV formation based on the three-dimensional linear independent graph;
[0045] S5. Send the information interaction topology of the drone formation to the drones and record the initial time;
[0046] S6. Record each flight time of the UAV, and obtain a real-time time difference between the UAV based on the initial time and each flight time;
[0047] S7. When the real-time time difference is greater than a preset scheduling period, the remaining energy of each UAV is obtained, and it is determined whether the remaining energy of each UAV is greater than the minimum energy required to maintain the flight of the UAV;
[0048] If the conditions are met, then the information interaction topology of the drone formation at the current time is generated based on the three-dimensional formation and the remaining energy; the information interaction topology of the drone formation is updated to the information interaction topology of the drone formation at the current time, the initial time is updated to the current time, and the process jumps to S5 to repeat steps S5-S7;
[0049] If the conditions are not met, the drone is ordered to land.
[0050] Preferably, in S2, the method for obtaining the weighted directed graph is:
[0051] Acquire a first minimum tree diagram of the communication network, and delete arcs and reverse arcs in the first minimum tree diagram from the communication network to obtain a first communication network;
[0052] Acquire a second minimum tree diagram of the first communication network, and delete arcs and reverse arcs in the second minimum tree diagram from the first communication network to obtain a second communication network;
[0053] Acquire a third minimum tree diagram of the second communication network, and delete arcs and reverse arcs in the third minimum tree diagram from the second communication network to obtain a third communication network;
[0054] The first minimum tree graph, the second minimum tree graph and the third minimum tree graph are combined to obtain the weighted directed graph.
[0055] Preferably, in S3, the method for obtaining the three-dimensional linear independent graph is:
[0056] S301, sorting the arcs in the weighted directed graph in descending order of weights, and assigning h=1;
[0057] S302, determining whether the number of arcs in the weighted directed graph is greater than the rank r of the stiffness matrix of the weighted undirected graph corresponding to the weighted directed graph, and if the condition is satisfied, deleting the hth arc in the weighted directed graph to obtain a first weighted directed graph; if the condition is not satisfied, the weighted directed graph is a three-dimensional linearly independent graph;
[0058] S303, judging whether the rank of the stiffness matrix of the weighted undirected graph corresponding to the first weighted directed graph is less than r, if the condition is satisfied, adding the hth arc back into the first weighted directed graph to obtain a second weighted directed graph; if the condition is not satisfied, no processing is performed to obtain a second weighted directed graph;
[0059] S304, update the value of h;
[0060] S305. Determine whether the number of arcs in the second weighted directed graph is greater than r. If the condition is met, update the data in the weighted directed graph to the data in the second weighted directed graph, and jump to step S302, and repeat steps S302-S305; if the condition is not met, the second weighted directed graph is a three-dimensional linearly independent graph.
[0061] Preferably, in S4, the method for acquiring the information interaction topology of the drone formation is:
[0062] S401, determine whether the rank r0 of the stiffness matrix of the weighted undirected graph corresponding to the three-dimensional linear independent graph and the node set V of the three-dimensional linear independent graph satisfy r0<3×|V|-6, if the conditions are met, sort the arcs in the third communication network in order from low to high weights, and obtain the kth arc a in the third communication network ij , where k=1; if the condition is not met, the three-dimensional linear independent graph is the information interaction topology of the UAV formation;
[0063] S402, determining whether the rank r0 of the stiffness matrix of the weighted undirected graph corresponding to the three-dimensional linearly independent graph and the node set V of the three-dimensional linearly independent graph satisfy r0<3×|V|-6; if not, the three-dimensional linearly independent graph is the information interaction topology of the UAV formation;
[0064] If the conditions are met, then determine: the kth arc a ij The end point v j Is the in-degree in the three-dimensional linearly independent graph less than 3 and the k-th arc a ij The reverse arc a ji Is it not in the three-dimensional linearly independent graph? If both conditions are met, the kth arc a ij Add to the three-dimensional linearly independent graph to obtain a first three-dimensional linearly independent graph, and jump to step S403; if both conditions cannot be met, update the value of k and repeat step S402;
[0065] S403, determining whether the rank of the stiffness matrix of the weighted undirected graph corresponding to the first three-dimensional linearly independent graph is full rank, if not, resetting the kth arc a ijDelete from the first three-dimensional linearly independent graph to obtain a second three-dimensional linearly independent graph, and let r1 = r0; if the condition is met, let r1 = r0 + 1 and retain the kth arc a ij , and obtain the second three-dimensional linearly independent graph;
[0066] S404, updating the value of k;
[0067] S405, determine whether r1 satisfies r1<3×|V|-6. If so, update the data in the three-dimensional linear independent graph to the data in the second three-dimensional linear independent graph, and jump to step S402, repeating steps S402-S405; if not, the second three-dimensional linear independent graph is the information interaction topology of the UAV formation.
[0068] (III) Beneficial effects
[0069] The present invention provides a method and device for online optimization of information interaction topology of UAV formation with balanced energy consumption. Compared with the prior art, it has the following beneficial effects:
[0070] The present invention obtains the communication network of the drone formation based on the three-dimensional formation of the drone formation and the initial energy of the drone; obtains a weighted directed graph based on the communication network; obtains a three-dimensional linear independent graph based on the weighted directed graph; obtains the information interaction topology of the drone formation based on the three-dimensional linear independent graph; sends the information interaction topology of the drone formation to the drone; when the real-time time difference between the flight time and the initial time of the drone is greater than the preset scheduling cycle, obtains the remaining energy of each drone, and judges whether the remaining energy of each drone is greater than the minimum energy for maintaining the flight of the drone; if the condition is met, the information interaction topology of the drone formation is updated based on the current remaining energy, and the above process is continuously cycled until the condition is not met; when the condition is not met, the drone is ordered to land. The present invention can update the information interaction topology of the drone formation according to the set cycle according to the remaining energy of each drone and the formation of the formation, so that the energy consumption of all drones is balanced when working, the energy utilization rate of the drone formation is improved, and the working time of the drone formation when performing tasks is extended. BRIEF DESCRIPTION OF THE DRAWINGS
[0071] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0072] Figure 1It is an overall flow chart of the online optimization method for the information interaction topology of a UAV formation with balanced energy consumption according to an embodiment of the present invention;
[0073] Figure 2 A schematic diagram of a three-dimensional space formation of a UAV formation in one embodiment of the present invention;
[0074] FIG3 is a schematic diagram of obtaining the information interaction topology of the initial UAV formation in one embodiment of the present invention;
[0075] FIG4 is a schematic diagram of obtaining the information interaction topology of a UAV formation after updating a scheduling cycle in one embodiment of the present invention;
[0076] Figure 5 Schematic diagram of the information interaction topology of a drone formation in the last scheduling cycle in one embodiment of the present invention. DETAILED DESCRIPTION
[0077] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention are clearly and completely described. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0078] The embodiments of the present application provide a method and device for online optimization of information interaction topology of a drone formation with balanced energy consumption, thereby solving the problem of short working time of a drone formation when performing a mission, achieving balanced energy consumption of the drone formation, and extending the working time of the drone formation when performing a mission.
[0079] The technical solution in the embodiment of the present application is to solve the above technical problems, and the overall idea is as follows:
[0080] The embodiment of the present invention obtains the communication network of the drone formation based on the three-dimensional formation of the drone formation and the initial energy of the drone; obtains the weighted directed graph based on the communication network; obtains the three-dimensional linear independent graph based on the weighted directed graph; obtains the information interaction topology of the drone formation based on the three-dimensional linear independent graph; sends the information interaction topology of the drone formation to the drone; when the real-time time difference between the flight time and the initial time of the drone is greater than the preset scheduling period, obtains the remaining energy of each drone, and judges whether the remaining energy of each drone is greater than the minimum energy to maintain the flight of the drone; if the condition is met, the information interaction topology of the drone formation is updated based on the current remaining energy, and the above process is continuously cycled until the condition is not met; when the condition is not met, the drone is ordered to land. The embodiment of the present invention can update the information interaction topology of the drone formation according to the set period according to the remaining energy of each drone and the formation of the formation, so that the energy consumption of all drones is balanced when working, the energy utilization rate of the drone formation is improved, and the working time of the drone formation when performing tasks is extended.
[0081] In order to better understand the above technical solution, the above technical solution will be described in detail below in conjunction with the accompanying drawings and specific implementation methods.
[0082] The embodiment of the present invention provides an online optimization method for the information interaction topology of a UAV formation with balanced energy consumption, such as Figure 1 As shown, the optimization method is executed by a computer and includes the following steps:
[0083] S1, communication network based on the three-dimensional formation of UAVs and the initial energy acquisition of UAVs;
[0084] S2. Acquire a weighted directed graph based on the above communication network;
[0085] S3, obtaining a three-dimensional linearly independent graph based on the weighted directed graph;
[0086] S4. Obtaining the information interaction topology of the UAV formation based on the three-dimensional linear independent graph;
[0087] S5. Send the information interaction topology of the above drone formation to the drones and record the initial time;
[0088] S6. Record each flight time of the UAV, and obtain the real-time time difference of the UAV based on the initial time and each flight time;
[0089] S7. When the above-mentioned real-time time difference is greater than the preset scheduling period, the remaining energy of each UAV is obtained, and it is determined whether the remaining energy of each UAV is greater than the minimum energy for maintaining the flight of the UAV;
[0090] If the conditions are met, then the information interaction topology of the drone formation at the current time is generated based on the above three-dimensional formation and the above remaining energy; the information interaction topology of the drone formation is updated to the information interaction topology of the drone formation at the current time, the above initial time is updated to the current time, and jump to S5, and repeat steps S5-S7;
[0091] If the conditions are not met, the drone is ordered to land.
[0092] The embodiment of the present invention obtains the communication network of the drone formation based on the three-dimensional formation of the drone formation and the initial energy of the drone; obtains the weighted directed graph based on the communication network; obtains the three-dimensional linear independent graph based on the weighted directed graph; obtains the information interaction topology of the drone formation based on the three-dimensional linear independent graph; sends the information interaction topology of the drone formation to the drone; when the real-time time difference between the flight time and the initial time of the drone is greater than the preset scheduling period, obtains the remaining energy of each drone, and judges whether the remaining energy of each drone is greater than the minimum energy to maintain the flight of the drone; if the condition is met, the information interaction topology of the drone formation is updated based on the current remaining energy, and the above process is continuously cycled until the condition is not met; when the condition is not met, the drone is ordered to land. The embodiment of the present invention can update the information interaction topology of the drone formation according to the set period according to the remaining energy of each drone and the formation of the formation, so that the energy consumption of all drones is balanced when working, the energy utilization rate of the drone formation is improved, and the working time of the drone formation when performing tasks is extended.
[0093] Specifically, the method is executed by a computer in a ground control center, and then the calculation results are sent to each UAV to achieve a three-dimensional formation of multiple UAVs.
[0094] The following is a detailed description of each step:
[0095] In step S1, a communication network is acquired based on the three-dimensional formation of the UAVs and the initial energy of the UAVs.
[0096] Specifically, in practical applications, the embodiments of the present invention determine the available communication links between the drones in the formation according to the formation of the preset drone formation and the communication range of the drones, and construct the communication network topology of the formation with the drones as nodes and the available communication links as arcs. If the distance between any two drones is within the communication range of the drones, there is a two-way communication link between the two drones, and the communication cost of each communication link is determined by the corresponding communication distance.
[0097] In the embodiment of the present invention, a total of n UAVs are assumed to form and maintain a three-dimensional formation S through one-way communication between UAVs. The n positions in the formation S are numbered {1, 2, ..., n}, respectively, and the positions of all UAVs include at least two heights to form a three-dimensional formation.
[0098] The communication network of this formation is determined according to the formation S and the initial energy y0 of each UAV.
[0099] Specifically, it is expressed as D = (V, A, W). Where:
[0100] V={v i}, 1≤i≤n is the set of nodes represented by the drone, where v i Represents UAV i , that is, the i-th drone.
[0101] 1≤i,j≤n is the set of arcs formed by every two nodes, where arc a ij =(v i ,v j ) indicates from UAV i To UAV j There is a communication link available that allows the UAV i Can send information to UAV j .
[0102] W={w ij}, where w ij Indicates that from UAV i To UAV j Communication link a ij The weight of node v i To node v j Communication link a ij The weight, specifically, w ij Equal to d ij / y i , where d ij For node v i To node v j The distance y i It is the remaining energy of the drone at the current time.
[0103] In step S2, a weighted directed graph is obtained based on the above communication network.
[0104] Specifically, the embodiment of the present invention first obtains the first minimum tree diagram T1 of the communication network D, and deletes the arcs in the first minimum tree diagram T1 and their reverse arcs from the communication network D to obtain the first communication network D1.
[0105] The second minimum tree graph T2 of the first communication network D1 is obtained, and the arcs in the second minimum tree graph T2 and the reverse arcs thereof are deleted from the first communication network D1 to obtain the second communication network D2.
[0106] A third minimum tree graph T3 of the second communication network D2 is obtained, and arcs in the third minimum tree graph T3 and their reverse arcs are deleted from the second communication network D2 to obtain a third communication network D3.
[0107] The first minimum tree graph, the second minimum tree graph and the third minimum tree graph are combined to obtain a weighted directed graph. The weighted directed graph is T = (V, A * ,W * ).
[0108] Specifically, the embodiment of the present invention adopts the Edmonds minimum tree diagram optimization algorithm when obtaining the minimum tree diagram.
[0109] The embodiment of the present invention also obtains a weighted undirected graph according to the weighted directed graph.
[0110] Specifically, the embodiment of the present invention first obtains the stiffness matrix of the weighted undirected graph based on the stiffness matrix theory, and further obtains the rank r of the stiffness matrix.
[0111] In step S3, a three-dimensional linearly independent graph is obtained based on the weighted directed graph.
[0112] Specifically, the method for obtaining the three-dimensional linear independent graph is as follows:
[0113] S301 , sort the arcs in the weighted directed graph T in descending order of weight, and assign h=1.
[0114] S302, determining whether the number of arcs in the weighted directed graph T is greater than the rank r of the stiffness matrix of the weighted undirected graph, and if the condition is satisfied, deleting the hth arc in the weighted directed graph T to obtain a first weighted directed graph. If the condition is not satisfied, the weighted directed graph T is a three-dimensional linearly independent graph.
[0115] S303. Determine whether the rank of the stiffness matrix of the weighted undirected graph corresponding to the first weighted directed graph is less than r. If the condition is met, add the hth arc back into the first weighted directed graph to obtain a second weighted directed graph. If the condition is not met, do not process it to obtain a second weighted directed graph.
[0116] S304: Update the value of h. Specifically, set h=h+1.
[0117] S305. Determine whether the number of arcs in the second weighted directed graph is greater than r. If the condition is met, update the data in the weighted directed graph T to the data in the second weighted directed graph, and jump to step S302, and repeat steps S302-S305; if the condition is not met, the second weighted directed graph is a three-dimensional linearly independent graph.
[0118] It should be noted that a three-dimensional linearly independent graph means: assuming that M is a three-dimensional stiffness matrix of a directed graph T = (V, A) corresponding to an undirected graph G = (V, E) in three-dimensional space. Only when the rank of the three-dimensional stiffness matrix and the number of edges |E| of the undirected graph satisfy r = |E|, the directed graph T is a three-dimensional linearly independent graph.
[0119] The algorithm steps adopted by the above acquisition method are shown in Table 1:
[0120] Table 1
[0121]
[0122] In step S4, the information interaction topology of the UAV formation is obtained based on the above three-dimensional linear independent graph.
[0123] Specifically, the method for obtaining the information interaction topology of the three-dimensional formation of UAVs is as follows:
[0124] S401, when the rank r0 of the stiffness matrix of the weighted undirected graph corresponding to the three-dimensional linearly independent graph and the rank r1 of the three-dimensional linearly independent graph T 0 When the node set V satisfies r0<3×|V|-6, the arcs in the third communication network D3 are sorted in order from low to high weights to obtain the kth arc a of the third communication network D3. ij , where k = 1. When the above conditions are not met, the three-dimensional linearly independent graph T 0 That is the information interaction topology of the UAV formation.
[0125] It should be noted that, in the embodiment of the present invention, the rank r0 of the stiffness matrix of the three-dimensional linear independent graph and the rank r of the stiffness matrix of the weighted undirected graph have the same numerical value.
[0126] S402, determine: the rank r0 of the stiffness matrix of the weighted undirected graph corresponding to the three-dimensional linearly independent graph and the rank r1 of the three-dimensional linearly independent graph T 0 Whether the node set V satisfies r0<3×|V|-6. When the above condition is not met, the three-dimensional linear independent graph T 0 That is the information interaction topology of the UAV formation.
[0127] When the above conditions are met, judge: the kth arc a ij The end point v j In the three-dimensional linearly independent graph T 0Is the in-degree less than 3 and the kth arc a ij The reverse arc a ji Is it not in the three-dimensional linearly independent graph T 0 When both of the above conditions are met, the kth arc a ij Add to 3D linearly independent graph T 0 In the first three-dimensional linearly independent graph, When the above two conditions cannot be fully satisfied, the value of k is updated. Specifically, k=k+1 is set, and step S402 is repeated to perform the above operation on the k+1th arc.
[0128] S403, judging: first three-dimensional linearly independent graph Whether the rank of the stiffness matrix of the corresponding weighted undirected graph is full rank.
[0129] If the condition is not met, the kth arc a ij From the first three-dimensional linearly independent graph , we can get the second three-dimensional linearly independent graph by deleting At this time, let r1=r0.
[0130] If the condition is met, the value of r0 is updated to obtain the rank r1 after the updated value. Specifically, r1=r0+1 can be set. And the kth arc a is retained. ij , and obtain the second three-dimensional linearly independent graph
[0131] S404. Update the value of k. Specifically, set k=k+1.
[0132] S405, determine whether r1 satisfies r1<3×|V|-6. If so, convert the three-dimensional linear independent graph T 0 The data in is updated to the second three-dimensional linear independent graph The data in the 3D linear independent graph is obtained, and the process jumps to step S402, and steps S402-S405 are repeated; if the condition is not met, the second 3D linear independent graph That is the information interaction topology of the three-dimensional formation of drones.
[0133] Specifically, the algorithm steps used in the above acquisition method are shown in Table 2:
[0134] Table 2
[0135]
[0136]
[0137] In step S5, the information interaction topology of the above-mentioned drone formation is sent to the drones, and the initial time is recorded and set as t0.
[0138] In step S6, each flight time t1 of the UAV is recorded, and the real-time time difference t′ of the UAV is obtained based on the initial time t0 and each flight time t1.
[0139] In step S7, when the real-time time difference t′ is greater than the preset scheduling period t, the remaining energy y of each drone is obtained. i , and determine: the remaining energy y of each drone i Are they all greater than the minimum energy required to maintain the flight of the drone? Specifically, the scheduling cycle can be set by yourself.
[0140] If the conditions are met, based on the above three-dimensional formation S and the above residual energy y i Generate the information interaction topology of the drone formation at the current time. Specifically, the method for updating the information interaction topology can refer to steps S1-S4.
[0141] The information interaction topology of the above-mentioned UAV formation is updated to the information interaction topology of the UAV formation at the current time, the above-mentioned initial time t0 is updated to the current time t1, and jump to S5 to repeat steps S5-S7.
[0142] If the conditions are not met, the drone is ordered to land.
[0143] Specifically, the embodiments of the present invention are described below with specific examples.
[0144] In one embodiment of the present invention, it is assumed that a UAV formation consists of 5 UAVs, the communication range of each UAV is 1600m, and the 5 UAVs form a three-dimensional space formation. The positions of the UAVs are numbered as {1, 2, 3, 4, 5}, and their relative positions in the three-dimensional space are as follows: Figure 2 (a). Taking position 4 in the formation as the formation reference point, the position coordinates of each drone in the above formation are as follows: Figure 2 (b) as shown.
[0145] In the embodiment of the present invention, the initial energy of each drone is set to be the same, which is y max During the flight, each drone needs to send information to other m drones and receive information from other n drones. The energy consumed by this drone per minute is:
[0146] (0.02+0.01*m+0.005*n)*y max ,m≥0,n≥0
[0147] In an embodiment of the present invention, the scheduling period for the drone formation to update the information interaction topology is 30 seconds.
[0148] The initial information interaction topology of this drone formation is obtained according to steps S1-S4. When the drone formation is not working, the remaining energy of all drones is y max , according to the three-dimensional formation of the UAV formation and the energy acquisition communication network of the UAV, where the weight of each arc in the communication network is as follows:
[0149]
[0150] According to the communication network, the three minimum tree diagrams are obtained as shown in Figure 3(a)(b)(c). The three minimum tree diagrams are merged to obtain a weighted directed graph, as shown in Figure 3(d). According to the weighted directed graph, a three-dimensional linear independent graph is obtained. In the acquisition process of this embodiment, an arc (1,4) is deleted, and the obtained three-dimensional linear independent graph is shown in Figure 3(e). Finally, the information interaction topology of the drone formation is obtained according to the three-dimensional linear independent graph. Specifically, the information interaction topology of the drone formation is Figure 3(e). This information interaction topology is sent to the drone formation for work.
[0151] After a scheduling cycle, that is, after the UAV formation has worked for 30 seconds, the information interaction topology of the UAV formation is updated. At this time, the remaining energy of the UAVs is: 0.9750y max , 0.9750y max , 0.9750y max , 0.9800y max and 0.9775y max .
[0152] The communication network is obtained based on the three-dimensional formation of the UAVs and the remaining energy of the UAVs at this moment. The weight of each arc in the communication network is as follows:
[0153]
[0154] According to the communication network at this time, its three minimum tree diagrams are obtained as shown in Figure 4(a)(b)(c). The three minimum tree diagrams are merged to obtain a weighted directed graph, as shown in Figure 4(d). According to the weighted directed graph, a three-dimensional linear independent graph is obtained. In the acquisition process of this embodiment, an arc (4,1) is deleted, and the obtained three-dimensional linear independent graph is shown in Figure 4(e). Finally, the updated information interaction topology of the drone formation is obtained according to the three-dimensional linear independent graph. Specifically, the updated information interaction topology of the drone formation is Figure 4(e). This updated information interaction topology is sent to the drone formation for work.
[0155] The information interaction topology of the UAV formation is continuously updated according to the 30-second cycle. After the UAV formation works for 1230 seconds, the remaining energy of the UAVs is: 0.0600004y max、(3.78117e-007)y max , 0.00750038y max , 0.0575003y max , 0.0575004y max The weight of each arc in the corresponding communication network is:
[0156]
[0157] According to the information interaction topology of the UAV formation obtained by the communication network at this time, Figure 5 As shown, according to the information interaction topology at this time, the UAV formation continues to fly for 0.000648201 seconds, the energy of the second UAV will be exhausted, the UAV formation can no longer work, and all UAVs are ordered to land.
[0158] According to the method provided in this embodiment, the information interaction topology of the drone formation is continuously updated, and the total time of the drone formation is finally obtained to be 1230.000648201 seconds. If no update is performed and only the initial information interaction topology is used, the total working time is 1200.000469387 seconds.
[0159] Therefore, the method provided by the embodiment of the present invention can extend the working time of the drone formation when performing tasks, and improve the energy utilization rate of the drone formation.
[0160] The embodiment of the present invention further provides an online optimization device for information interaction topology of a UAV formation with balanced energy consumption, the device comprising a computer, and the computer comprising:
[0161] at least one storage unit;
[0162] at least one processing unit;
[0163] The at least one storage unit stores at least one instruction, and the at least one instruction is loaded and executed by the at least one processing unit to implement the following steps:
[0164] S1, communication network based on the three-dimensional formation of UAVs and the initial energy acquisition of UAVs;
[0165] S2. Acquire a weighted directed graph based on the above communication network;
[0166] S3, obtaining a three-dimensional linearly independent graph based on the weighted directed graph;
[0167] S4. Obtaining the information interaction topology of the UAV formation based on the three-dimensional linear independent graph;
[0168] S5. Send the information interaction topology of the above drone formation to the drones and record the initial time;
[0169] S6. Record each flight time of the UAV, and obtain the real-time time difference of the UAV based on the initial time and each flight time;
[0170] S7. When the above-mentioned real-time time difference is greater than the preset scheduling period, the remaining energy of each UAV is obtained, and it is determined whether the remaining energy of each UAV is greater than the minimum energy for maintaining the flight of the UAV;
[0171] If the conditions are met, then the information interaction topology of the drone formation at the current time is generated based on the above three-dimensional formation and the above remaining energy; the information interaction topology of the drone formation is updated to the information interaction topology of the drone formation at the current time, the above initial time is updated to the current time, and jump to S5, and repeat steps S5-S7;
[0172] If the conditions are not met, the drone is ordered to land.
[0173] It is understandable that the above-mentioned optimization device provided in the embodiment of the present invention corresponds to the above-mentioned optimization method, and the explanations, examples, beneficial effects and other parts of the relevant contents can refer to the corresponding contents in the online optimization method of the information interaction topology of the drone formation with balanced energy consumption, which will not be repeated here.
[0174] In summary, compared with the prior art, the present invention has the following beneficial effects:
[0175] The embodiment of the present invention obtains the communication network of the drone formation based on the three-dimensional formation of the drone formation and the initial energy of the drone; obtains the weighted directed graph based on the communication network; obtains the three-dimensional linear independent graph based on the weighted directed graph; obtains the information interaction topology of the drone formation based on the three-dimensional linear independent graph; sends the information interaction topology of the drone formation to the drone; when the real-time time difference between the flight time and the initial time of the drone is greater than the preset scheduling period, obtains the remaining energy of each drone, and judges whether the remaining energy of each drone is greater than the minimum energy to maintain the flight of the drone; if the condition is met, the information interaction topology of the drone formation is updated based on the current remaining energy, and the above process is continuously cycled until the condition is not met; when the condition is not met, the drone is ordered to land. The embodiment of the present invention can update the information interaction topology of the drone formation according to the set period according to the remaining energy of each drone and the formation of the formation, so that the energy consumption of all drones is balanced when working, the energy utilization rate of the drone formation is improved, and the working time of the drone formation when performing tasks is extended.
[0176] It should be noted that, through the description of the above implementation methods, those skilled in the art can clearly understand that each implementation method can be implemented by means of software plus a necessary general hardware platform. Based on such an understanding, the above technical solution is essentially or the part that contributes to the prior art can be embodied in the form of a software product, which can be stored in a computer-readable storage medium, such as ROM / RAM, a disk, an optical disk, etc., including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in each embodiment or some parts of the embodiments.
[0177] In the description provided herein, a large number of specific details are described. However, it is understood that embodiments of the present invention can be practiced without these specific details. In some instances, well-known methods, structures and techniques are not shown in detail so as not to obscure the understanding of this description.
[0178] In this article, relational terms such as first and second, etc. are used only to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "comprise", "include" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the statement "comprise a ..." do not exclude the presence of other identical elements in the process, method, article or device including the elements.
[0179] The above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit the same. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features may be replaced by equivalents. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.
Claims
1. An online optimization method for information interaction topology of UAV formation with balanced energy consumption, characterized in that: The optimization method is executed by a computer and comprises the following steps: S1, communication network based on the three-dimensional formation of UAVs and the initial energy acquisition of UAVs; S2. Acquire a weighted directed graph based on the communication network; S3, obtaining a three-dimensional linearly independent graph based on the weighted directed graph; S4. Acquire the information interaction topology of the UAV formation based on the three-dimensional linear independent graph; S5. Send the information interaction topology of the drone formation to the drones and record the initial time; S6. Record each flight time of the UAV, and obtain a real-time time difference between the UAV based on the initial time and each flight time; S7. When the real-time time difference is greater than a preset scheduling period, the remaining energy of each UAV is obtained, and it is determined whether the remaining energy of each UAV is greater than the minimum energy required to maintain the flight of the UAV; If the conditions are met, then the information interaction topology of the drone formation at the current time is generated based on the three-dimensional formation and the remaining energy; the information interaction topology of the drone formation is updated to the information interaction topology of the drone formation at the current time, the initial time is updated to the current time, and the process jumps to S5 to repeat steps S5-S7; If the conditions are not met, the drone is ordered to land; In S2, the method for obtaining the weighted directed graph is: Acquire a first minimum tree diagram of the communication network, and delete arcs and reverse arcs in the first minimum tree diagram from the communication network to obtain a first communication network; Acquire a second minimum tree diagram of the first communication network, and delete arcs and reverse arcs in the second minimum tree diagram from the first communication network to obtain a second communication network; Acquire a third minimum tree diagram of the second communication network, and delete arcs and reverse arcs in the third minimum tree diagram from the second communication network to obtain a third communication network; Merging the first minimum tree graph, the second minimum tree graph and the third minimum tree graph to obtain the weighted directed graph; In S3, the method for obtaining the three-dimensional linearly independent graph is: S301, sorting arcs in the weighted directed graph in descending order of weights, and assigning h=1; S302: Determine whether the number of arcs in the weighted directed graph is greater than the rank of the stiffness matrix of the weighted undirected graph corresponding to the weighted directed graph. r , if the condition is met, delete the hth arc in the weighted directed graph to obtain a first weighted directed graph; if the condition is not met, the weighted directed graph is a three-dimensional linearly independent graph; S303: Determine whether the rank of the stiffness matrix of the weighted undirected graph corresponding to the first weighted directed graph is less than r If the condition is met, the hth arc is added back into the first weighted directed graph to obtain a second weighted directed graph; if the condition is not met, no processing is performed to obtain a second weighted directed graph; S304, update the value of h; S305: Determine whether the number of arcs in the second weighted directed graph is greater than r If the condition is met, the data in the weighted directed graph is updated to the data in the second weighted directed graph, and the process jumps to step S302, and steps S302-S305 are repeated; if the condition is not met, the second weighted directed graph is a three-dimensional linearly independent graph; In S4, the method for obtaining the information interaction topology of the drone formation is: S401, determining the rank of the stiffness matrix of the weighted undirected graph corresponding to the three-dimensional linearly independent graph and the node set of the three-dimensional linearly independent graph V Is it satisfied? , if the condition is met, sort the arcs in the third communication network in order from low to high weights, and obtain the arcs in the third communication network k Arc a ij ,in, k =1; if the condition is not met, the three-dimensional linear independent graph is the information interaction topology of the UAV formation; S402: Determine the rank of the stiffness matrix of the weighted undirected graph corresponding to the three-dimensional linearly independent graph. and the node set of the three-dimensional linearly independent graph V Is it satisfied? , if the condition is not met, then the three-dimensional linear independent graph is the information interaction topology of the UAV formation; If the conditions are met, then determine: k Arc a ij The end point v j Whether the in-degree in the three-dimensional linearly independent graph is less than 3 and the k Arc a ij The reverse arc a ji is not in the three-dimensional linear independent graph; if both conditions are met, the k Arc a ij Add to the three-dimensional linearly independent graph to obtain a first three-dimensional linearly independent graph, and jump to step S403; if both conditions cannot be met, update k and repeat step S402; S403, determining whether the rank of the stiffness matrix of the weighted undirected graph corresponding to the first three-dimensional linearly independent graph is full rank, if not, k Arc a ij Deleting from the first three-dimensional linearly independent graph, we get the second three-dimensional linearly independent graph, and let = If the conditions are met, then = +1, keep the above k Arc a ij , and obtain the second three-dimensional linearly independent graph; S404: Update the k The value of S405: Determine the If the conditions are met, the data in the three-dimensional linearly independent graph is updated to the data in the second three-dimensional linearly independent graph, and the process jumps to step S402, and steps S402-S405 are repeated; if the conditions are not met, the second three-dimensional linearly independent graph is the information interaction topology of the UAV formation.
2. An online optimization device for information interaction topology of UAV formation with balanced energy consumption, characterized in that: The optimization device comprises a computer, and the computer comprises: at least one storage unit; at least one processing unit; The at least one storage unit stores at least one instruction, and the at least one instruction is loaded and executed by the at least one processing unit to implement the following steps: S1, communication network based on the three-dimensional formation of UAVs and the initial energy acquisition of UAVs; S2. Acquire a weighted directed graph based on the communication network; S3, obtaining a three-dimensional linearly independent graph based on the weighted directed graph; S4. Acquire the information interaction topology of the UAV formation based on the three-dimensional linear independent graph; S5. Send the information interaction topology of the drone formation to the drones and record the initial time; S6. Record each flight time of the UAV, and obtain a real-time time difference between the UAV based on the initial time and each flight time; S7. When the real-time time difference is greater than a preset scheduling period, the remaining energy of each UAV is obtained, and it is determined whether the remaining energy of each UAV is greater than the minimum energy required to maintain the flight of the UAV; If the conditions are met, then the information interaction topology of the drone formation at the current time is generated based on the three-dimensional formation and the remaining energy; the information interaction topology of the drone formation is updated to the information interaction topology of the drone formation at the current time, the initial time is updated to the current time, and the process jumps to S5 to repeat steps S5-S7; If the conditions are not met, the drone is ordered to land; In S2, the method for obtaining the weighted directed graph is: Acquire a first minimum tree diagram of the communication network, and delete arcs and reverse arcs in the first minimum tree diagram from the communication network to obtain a first communication network; Acquire a second minimum tree diagram of the first communication network, and delete arcs and reverse arcs in the second minimum tree diagram from the first communication network to obtain a second communication network; Acquire a third minimum tree diagram of the second communication network, and delete arcs and reverse arcs in the third minimum tree diagram from the second communication network to obtain a third communication network; Merging the first minimum tree graph, the second minimum tree graph and the third minimum tree graph to obtain the weighted directed graph; In S3, the method for obtaining the three-dimensional linearly independent graph is: S301, sorting arcs in the weighted directed graph in descending order of weights, and assigning h=1; S302: Determine whether the number of arcs in the weighted directed graph is greater than the rank of the stiffness matrix of the weighted undirected graph corresponding to the weighted directed graph. r , if the condition is met, delete the hth arc in the weighted directed graph to obtain a first weighted directed graph; if the condition is not met, the weighted directed graph is a three-dimensional linearly independent graph; S303: Determine whether the rank of the stiffness matrix of the weighted undirected graph corresponding to the first weighted directed graph is less than r If the condition is met, the hth arc is added back to the first weighted directed graph to obtain a second weighted directed graph; if the condition is not met, no processing is performed to obtain a second weighted directed graph; S304, update the value of h; S305: Determine whether the number of arcs in the second weighted directed graph is greater than r If the condition is met, the data in the weighted directed graph is updated to the data in the second weighted directed graph, and the process jumps to step S302, and steps S302-S305 are repeated; if the condition is not met, the second weighted directed graph is a three-dimensional linearly independent graph; In S4, the method for obtaining the information interaction topology of the drone formation is: S401, determining the rank of the stiffness matrix of the weighted undirected graph corresponding to the three-dimensional linearly independent graph and the node set of the three-dimensional linearly independent graph V Is it satisfied? , if the condition is met, sort the arcs in the third communication network in order from low to high weights, and obtain the arcs in the third communication network k Arc a ij ,in, k =1; if the condition is not met, the three-dimensional linear independent graph is the information interaction topology of the UAV formation; S402: Determine the rank of the stiffness matrix of the weighted undirected graph corresponding to the three-dimensional linearly independent graph. and the node set of the three-dimensional linearly independent graph V Is it satisfied? , if the condition is not met, then the three-dimensional linear independent graph is the information interaction topology of the UAV formation; If the conditions are met, then determine: k Arc a ij The end point v j Whether the in-degree in the three-dimensional linearly independent graph is less than 3 and the k Arc a ij The reverse arc a ji is not in the three-dimensional linear independent graph; if both conditions are met, the k Arc a ij Add to the three-dimensional linearly independent graph to obtain a first three-dimensional linearly independent graph, and jump to step S403; if both conditions cannot be met, update k The value of , and repeat step S402; S403, determining whether the rank of the stiffness matrix of the weighted undirected graph corresponding to the first three-dimensional linearly independent graph is full rank, if not, k Arc a ij Deleting from the first three-dimensional linearly independent graph, we get the second three-dimensional linearly independent graph, and let = If the conditions are met, then = +1, keep the above k Arc a ij , and obtain the second three-dimensional linearly independent graph; S404: Update the k The value of S405: Determine the If the conditions are met, the data in the three-dimensional linearly independent graph is updated to the data in the second three-dimensional linearly independent graph, and the process jumps to step S402, and steps S402-S405 are repeated; if the conditions are not met, the second three-dimensional linearly independent graph is the information interaction topology of the UAV formation.
