A multi-UAV cooperative confrontation method, system and storage medium

By building a Markov game model and MADDPG algorithm training, autonomous decision-making for multi-UAV collaborative confrontation is achieved, which solves the problem of information transmission and decision-making complexity in a dynamic environment, and improves UAV confrontation efficiency and decision-making speed.

CN114721424BActive Publication Date: 2024-10-15NAT UNIV OF DEFENSE TECH
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202210268450.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-03-18
Publication Date
2024-10-15
Estimated Expiration
2042-03-18

AI Technical Summary

Technical Problem

In a dynamic and unknown confrontation environment, multi-UAV cooperative confrontation faces problems such as difficulty in stable information transmission, high complexity of decision-making algorithms, and large amounts of calculations, resulting in long decision-making time or non-convergence. Especially in the electronic warfare environment, individual drones cannot It is difficult for humans and machines to maintain global information and effective collaboration.

Method used

Using a multi-UAV cooperative confrontation method, by constructing a Markov game model and using the MADDPG algorithm to train actuator and evaluator networks, each UAV can achieve autonomous decision-making, use local observation states to make maneuver decisions, and guide the global state. Strategic training to ensure quick decision-making in dynamic environments.

Benefits of technology

It improves the autonomous decision-making ability of UAVs in confrontation, shortens the decision-making time, improves the efficiency and success rate of collaborative confrontation, avoids the problems of information processing complexity and calculation amount, and achieves rapid convergence and effective maneuvering strategies.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114721424B_ABST
    Figure CN114721424B_ABST
Patent Text Reader

Abstract

The present invention discloses a multi-UAV cooperative confrontation method, system and storage medium. The present invention first establishes a Markov game model under the condition of multi-UAV cooperative confrontation based on the UAV information in the multi-UAV cooperative confrontation system, and then trains the Markov game model based on MADDPG. An improved MADDPG is used to set a group of actuator networks and evaluator networks for each UAV. A centralized training and decentralized execution strategy is used. During training and learning, an evaluator network that obtains global state information is given to guide the training of the UAV. The actuator that outputs specific maneuvering actions only obtains local observation state information. Under the guidance of the evaluator network, the UAV gradually converges to appropriate network parameters, so that the UAV can improve its autonomous decision-making ability in confrontation in an unknown and dynamic confrontation environment. In addition, the present invention has fast convergence speed and short decision-making time.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present application relate to the field of drone technology, and in particular to a multi-drone collaborative confrontation method, system, and storage medium. Background Art

[0002] In the development of air combat, people realized that the coordinated operation of multiple fighters could improve combat efficiency. Early single-aircraft air combat gradually developed into two-aircraft formations and multi-aircraft formations, and combat effectiveness continued to increase. In theory, the increase in the number of fighters provides more firepower output points and a wider observation field of view, which has a stronger advantage in both offensive and defensive missions.

[0003] If the number of fighters performing the same mission in the same area is too large, some defects will inevitably occur. For example, the larger the size of the fighter group, the more obvious its target is, and the easier it is to be exposed and detected by the enemy in advance, which is not conducive to the execution of tasks such as covert contact with the enemy. At the same time, the increase in the number of fighters also leads to an increase in the risk of air collisions, especially in tasks such as air combat confrontations where the battlefield situation changes rapidly and dynamically. The sudden large overload maneuver of the fighter is likely to cause teammates to have no time to dodge and cause collisions, or the teammates are not coordinated and make mistakes, resulting in mission failure. Moreover, the electromagnetic environment of the modern battlefield is complex, and the stable information transmission between multiple aircraft cannot be guaranteed. The inability to coordinate efficiently will greatly reduce the advantages brought by the number of fighters. For this reason, the most common modern fighters are still small groups of two or four aircraft when performing missions, and distinguish between the lead aircraft and the wingman, and specifically divide different main tasks between each other. After a lot of training in the early stage, it is hoped that the greatest cooperation and tacit understanding will be achieved regardless of the state on the battlefield. This is also inspiring for the study of multi-UAV coordinated confrontation.

[0004] Compared with the confrontation between a single UAV (a single friendly UAV and an enemy UAV), the coordinated confrontation between multiple friendly UAVs against the enemy target UAV can improve the mission success rate to a certain extent, improve the efficiency of the confrontation through mutual cooperation, and may even make up for the performance disadvantages of a single UAV through numerical advantage.

[0005] For our drones that cooperate to fight against enemy targets, each drone receives information through its own airborne sensors and communications. If the drones that cooperate to fight against the target can maintain stable information communication, they can concentrate global information to make the best decision. However, this method has two main drawbacks. First, it assumes that the battlefield electromagnetic environment meets the requirements of stable and reliable communication, which is too ideal and unrealistic. Nowadays, electronic warfare has entered the actual battlefield, and technologies such as electronic interference, suppression, and deception are emerging in an endless stream. The drone platform expects to grasp the global information at all times, but this does not conform to the actual scenario. Second, as the number of drones participating in the confrontation increases, the amount of information that needs to be processed increases rapidly, which places high demands on the complexity of the decision-making algorithm, the computing power of the airborne computer, and the carrying capacity of the communication transmission. Excessive computing power may lead to a long decision time or non-convergence of the algorithm. Summary of the invention

[0006] The following is an overview of the subject matter described in detail herein. This overview is not intended to limit the scope of protection of the claims. The embodiments of the present application provide a multi-UAV collaborative confrontation method, system, and storage medium, which can enable our UAVs to improve their autonomous decision-making capabilities in confrontation in an unknown and dynamic confrontation environment.

[0007] In a first aspect of the present invention, an embodiment of the present application provides a multi-UAV cooperative confrontation method, comprising the following steps:

[0008] Acquire drone information in the multi-drone cooperative confrontation system, and construct a Markov game model of multi-drone cooperation based on the drone information;

[0009] The Markov game model is trained based on the MADDPG algorithm to obtain a trained multi-UAV cooperative confrontation autonomous decision-making model; wherein, an actuator network and an evaluator network are set for each of our UAVs through the MADDPG algorithm, the input of the actuator network is the local observation state information of our UAV, and the output is the maneuvering action of our UAV, and the input of the evaluator network is the global state information of all UAVs;

[0010] The states of the enemy UAV and our UAV at the current moment are obtained, and the multi-UAV collaborative confrontation autonomous decision-making model is used to generate corresponding maneuvers of our UAV.

[0011] The multi-UAV cooperative confrontation method provided in the first aspect of the present invention has at least the following beneficial effects:

[0012] In this method, firstly, a Markov game model under the condition of our multi-UAV cooperative confrontation is established based on the UAV information in the multi-UAV cooperative confrontation system, and then the Markov game model is trained based on the MADDPG algorithm, and a set of actuator networks and evaluator networks are set for each of our UAVs. The strategy of centralized training and decentralized execution is used. During training and learning, an evaluator network that obtains global state information is given to guide our UAV training. The actuator that outputs specific maneuvers only obtains local observation state information. Under the guidance of the evaluator network, it gradually converges to appropriate network parameters, so that our UAV can improve its autonomous decision-making ability in confrontation in an unknown and dynamic confrontation environment. Moreover, this method has a fast convergence speed and a short decision-making time.

[0013] In a second aspect, an embodiment of the present application provides a multi-UAV collaborative confrontation system, wherein the multi-UAV collaborative confrontation system includes multiple friendly UAVs and one or more enemy UAVs, each of the friendly UAVs is provided with a memory, a processor, and a computer program stored in the memory and executable on the processor, and is characterized in that when the processor executes the computer program, it implements: the multi-UAV collaborative confrontation method as described in the first aspect above.

[0014] In a third aspect, an embodiment of the present application provides a computer-readable storage medium storing computer-executable instructions, wherein the computer-executable instructions are used to execute: the multi-UAV collaborative confrontation method as described in the first aspect above.

[0015] It can be understood that the beneficial effects of the second to third aspects compared with the related technologies are the same as the beneficial effects of the multi-UAV collaborative confrontation method improved in the first aspect compared with the related technologies. Please refer to the relevant description in the first aspect above and will not be repeated here.

[0016] Additional aspects and advantages of the present invention will be given in part in the following description and in part will be obvious from the following description, or will be learned through practice of the present invention. BRIEF DESCRIPTION OF THE DRAWINGS

[0017] The above and / or additional aspects and advantages of the present invention will become apparent and easily understood from the description of the embodiments in conjunction with the following drawings, in which:

[0018] Figure 1 is a schematic diagram of agent-environment interaction in a Markov decision process provided by an embodiment of the present application;

[0019] Figure 2 It is a flowchart of a multi-UAV cooperative confrontation method provided by an embodiment of the present application;

[0020] Figure 3This is a schematic diagram of a three-degree-of-freedom mass point model of a drone provided by an embodiment of the present application;

[0021] Figure 4 It is a schematic diagram of two friendly drones cooperating to fight against an enemy drone provided by an embodiment of the present application;

[0022] Figure 5 It is a schematic diagram of the structure of the MADDPG algorithm provided by an embodiment of the present application;

[0023] Figure 6 is a schematic diagram of the structure of an evaluator and an executor provided by an embodiment of the present application;

[0024] Figure 7 This is a schematic diagram of the change in reward value during the MADDPG algorithm training process provided by an embodiment of the present application;

[0025] Figure 8 This is a schematic diagram of the trajectories of both parties when the enemy UAV is maneuvering in a straight line at a constant speed, provided by an embodiment of the present application;

[0026] Fig. 9 This is a schematic diagram of the trajectories of both parties when the enemy drone randomly maneuvers, provided by an embodiment of the present application;

[0027] Fig.10 This is a schematic diagram of the trajectories of both parties during the MINMAX strategy maneuver of the enemy UAV provided by an embodiment of the present application;

[0028] Fig.11 It is a schematic diagram of simulation results of multiple friendly drones fighting against a single enemy drone provided by an embodiment of the present application;

[0029] Fig.12 This is a schematic diagram of a pincer attack tactic simulation provided by an embodiment of the present application;

[0030] Fig.13 This is a summary diagram of the pincer attack tactics provided by an embodiment of the present application;

[0031] Fig.14 This is a schematic diagram of a simulation of a decoy tactic provided by an embodiment of the present application;

[0032] Fig.15 This is a summary diagram of the bait tactics provided by one embodiment of the present application;

[0033] Fig.16 This is a schematic diagram of a defense separation and combination tactic simulation provided by an embodiment of the present application;

[0034] Fig.17 This is a summary diagram of the defense separation and combination tactics provided by an embodiment of the present application. DETAILED DESCRIPTION

[0035] Embodiments of the present invention are described in detail below, examples of which are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements having the same or similar functions. The embodiments described below with reference to the accompanying drawings are exemplary and are only used to explain the present invention, and cannot be understood as limiting the present invention.

[0036] It should also be understood that the references to "one embodiment" or "some embodiments" described in the specification of the embodiments of the present application mean that one or more embodiments of the embodiments of the present application include specific features, structures or characteristics described in conjunction with the embodiment. Thus, the statements "in one embodiment", "in some embodiments", "in some other embodiments", "in some other embodiments", etc. that appear in different places in this specification do not necessarily refer to the same embodiment, but mean "one or more but not all embodiments", unless otherwise specifically emphasized in other ways. The terms "including", "comprising", "having" and their variations all mean "including but not limited to", unless otherwise specifically emphasized in other ways.

[0037] In the relevant scheme, compared with the confrontation between a single UAV (a single friendly UAV and an enemy UAV), multiple friendly UAVs working together to confront enemy target UAVs can improve the success rate of the mission to a certain extent, improve the efficiency of confrontation through mutual cooperation, and even make up for the performance disadvantages of a single UAV through the advantage of quantity. For our UAVs working together to confront enemy targets, each of our UAVs detects and receives information through its own airborne sensors and communications. If the information communication between our UAVs working together to confront the target can be stable, the global information can be concentrated to make the best decision. However, this method has two main disadvantages. First, it assumes that the battlefield electromagnetic environment meets the requirements of stable and reliable communication, which is too ideal and unrealistic. Nowadays, electronic warfare has moved to the actual battlefield, and technologies such as electronic interference, suppression, and deception are emerging in an endless stream. The UAV platform expects to grasp the global information at all times, but this does not conform to the actual scenario. Second, with the increase in the number of UAVs participating in the confrontation, the amount of information that needs to be processed increases rapidly, which places high demands on the complexity of the decision-making algorithm, the computing power of the airborne computer, and the carrying capacity of the communication transmission. Excessive computing power may lead to a long decision time or non-convergence of the algorithm.

[0038] In some embodiments of the present invention, a multi-UAV cooperative confrontation system is provided, and the multi-UAV cooperative confrontation system includes multiple friendly UAVs and one or more enemy UAVs. For example, a multi-UAV cooperative confrontation system can be formed by two friendly UAVs and one enemy UAV. Each friendly UAV is provided with a memory, a processor, and a computer program stored in the memory and executable on the processor, and a multi-UAV cooperative confrontation method is implemented when the processor executes the computer program.

[0039] Reference Figure 2 Based on the above multi-UAV cooperative confrontation system, a multi-UAV cooperative confrontation method is provided, comprising the following steps:

[0040] Step S100: obtaining drone information in the multi-drone cooperative confrontation system, and constructing a Markov game model of multi-drone cooperation based on the drone information.

[0041] First, establish the UAV motion model. Figure 3 As shown, the "North Celestial East" inertial coordinate system is established, with the positive direction of the X axis pointing to the east, the positive direction of the Y axis pointing to the north, and the positive direction of the Z axis pointing vertically upward. During the flight of the drone, it is mainly affected by the engine thrust, gravity and aerodynamic force. The following set of equations represents the simplified dynamic model of the drone in the inertial coordinate system.

[0042]

[0043] In the formula, g is the acceleration due to gravity, and v represents the speed of the drone, whose magnitude satisfies the constraint v min ≤v≤v max The velocity direction is decomposed into two angles to represent the track inclination angle γ, which represents the angle between the velocity vector and the horizontal plane XOY. γ∈[-π / 2, π / 2], pointing to due north is 0°, and turning to the west is positive. The track deviation angle ψ represents the angle between the projection of the velocity vector on the horizontal plane and the coordinate axis X axis. ψ∈(-π, π], which is 0° when horizontal and positive when upward. τ 、n f is the tangential overload and normal overload, μ is the roll angle. τ It can be seen as the effect of the combined force of thrust and drag on the speed, and its direction is the direction of the speed. The drag includes the component of gravity, which is used to change the speed of the aircraft; normal overload n f The direction is the direction of the top of the aircraft, and the roll angle μ is the rotation angle of the UAV around its own longitudinal axis. The two determine the rate of change of the speed heading angle and the speed climb angle, which can change the flight direction and altitude.

[0044] In the same inertial coordinate system, the simplified UAV motion equation can be obtained after coordinate transformation:

[0045]

[0046] Where x, y and z represent the position of the drone in the inertial coordinate system.

[0047] Reference Figure 1The reinforcement learning process is a "trial and error" process, and the Markov decision process is described as a model framework for reinforcement learning tasks. This embodiment constructs a Markov game model under multi-agent conditions (each drone is regarded as an agent in this embodiment of the application) based on the Markov decision process of a single agent.

[0048] In some embodiments, the Markov game model is constructed by a state space, an action space, a reward function, and a state transfer function. In a multi-UAV cooperative confrontation system, assuming that the number of our UAVs is N, each of our UAVs is regarded as an intelligent agent. Therefore, a significant difference from the Markov decision process in a single-machine confrontation is that the state set is divided into the global state of the entire battlefield (i.e., the confrontation area) and the local observation state that each of our UAVs can observe. In addition to defining the maneuvering action of each of our UAVs, there is also an action set of all intelligent agents, A1,...,A N Suppose the global state set of the battlefield is S, then the state transition process (state transition function) is T: S×A1×...×A N →P(S), which represents the probability distribution of being in different states at the next moment when the global state and the actions of all agents at the current moment are known. The reward function of each agent is a mapping of the global state and action to the reward value S×A1×...×A N →R i In particular, consider the limited state information o that the environment feeds back to each agent i i , o i It is the observable part of agent i in the global state s (s∈S). Each agent learns a strategy π in the process of interacting with the environment (Markov decision model is a model of interactive learning between agents and the environment) i :o i →P(A i ), the strategy is a mapping of the local observed state of the agent to the distribution probability of different actions. The state transition process of the Markov decision model is the probability distribution of the next state of the current state and joint behavior of all agents; the next state and reward of any agent depends on the current state and the current actions of all other agents.

[0049] For Markov decision making, if the reward function and state transition function in the decision are known, we want to find the Nash equilibrium of different agent strategies, recorded as N strategy groups If it is unknown, we hope that the agent can learn the Nash equilibrium strategy in the exploration environment. The Nash equilibrium strategy means that when the strategies of other agents do not change, the strategy of a certain agent can no longer obtain better returns. Define the action value function Q of agent i i (s,a1,...,a N) is the cumulative sum of the discounted returns of agent i when the state and the joint actions of all agents are given. Similarly, the return function of agent i is defined as Define agent i to adopt strategy π i The expected cumulative discounted reward J i (π i ):

[0050]

[0051] The Nash equilibrium strategy of the agent is to maximize J i (π i ) strategy, where γ∈[0,1] is the discount factor, which determines the preference of the strategy for immediate rewards and long-term rewards.

[0052] Specifically, first, state space;

[0053] For each friendly drone r1, the state input of its actuator network is divided into three parts: its own state, the enemy drone state, and the state of our cooperative drone. The own state part includes its own speed Track inclination Track angle and speed roll angle The enemy drone status includes the speed of the enemy drone itself. Track inclination Track angle It also includes the distance from our drone, the horizontal tilt angle and longitudinal deflection angle of both parties' line of sight; the status of our coordinated drone includes the speed of the coordinated drone Track inclination Track angle Add to that the distance from our drone, the horizontal and longitudinal angles of their lines of sight.

[0054] The evaluator network adds action states to the input actuator states. Therefore, in a system where m friendly drones are fighting against n enemy drones, the number of states input to the actuator network of one friendly drone is (6m+6n+4).

[0055] Take a two-on-one confrontation as an example, that is, two friendly drones cooperate to fight against one enemy drone. This is a very common confrontation scenario, and it also contains the minimum state information of the three elements of the intelligent agent itself, the collaborative teammates, and the enemy. Figure 4 As shown, we use the perspective of our drone r1, our teammate is r2, and the opponent is the enemy drone b1. The line of sight ρ is from r1 to b1. adv , line of sight ρ adv The angle with the horizontal plane XOY is β adv , line of sight ρadv The angle between the projection of XOY on the horizontal plane and the X-axis is α adv The line of sight ρ is from r1 to r2 ally , line of sight ρ ally The angle with the horizontal plane XOY is β ally , line of sight ρ ally The angle between the projection of XOY on the horizontal plane and the X-axis is α ally .

[0056] Therefore, when the model is trained, the local observed state value of our drone r1 can be obtained. Before inputting it into the actuator network training, the local observed state value can be preprocessed to stabilize the network and improve the network convergence speed. For example:

[0057]

[0058]

[0059] Table 1

[0060] In Table 1, D ally Indicates the spatial distance between our drone and the collaborative teammates, D adv Indicates the spatial distance between our drone and the enemy drone, and Dmax indicates the maximum detection distance of the drone. For each of our drones, the input dimension of the training neural network is 16, and the values ​​of the preprocessed data are mostly between -1 and 1. After the preprocessing operation, it can be conducive to network stability, fast calculation, and improved convergence speed.

[0061] Second, action space and state transfer function;

[0062] Action selection The three continuous control quantities of the UAV's tangential overload, normal overload and rolling angular velocity control the UAV's maneuvers, a = [n τ , n f ,ω], ω is the body roll angular velocity. The drone can maneuver to any heading by selecting different action combinations, and each action in the maneuver action library can correspond to a set of action values.

[0063] In the neural network, different nonlinear activation functions are used. If the neural network does not add nonlinear activation functions, it can only describe polynomial functions and cannot have the ability to approximate arbitrary functions. The final output layer of the actuator network selects the hyperbolic tangent function (tanh function) as the activation function, and its mathematical expression is:

[0064] y=(e x -e -x ) / (e x +e -x )

[0065] The tanh function maps the data output by the actuator network to the interval (-1, 1). After mathematical processing, the actual control quantity is as follows:

[0066]

[0067]

[0068] ω=ω min +(a3+1)×(ω max -ω min )×0.5

[0069] In the above formula, a1, a2 and a3 are the quantities in the (-1, 1) interval directly output by the neural network after passing through the tanh function.

[0070] The state transfer function describes the probability of converting to a new state when taking a certain action in the current state. In this embodiment, the state transfer process satisfies the constraints of the UAV motion equation defined above.

[0071] Knowing the tangential overload, normal overload and roll angular velocity instructions of the UAV, the speed, track inclination and track deviation of the UAV can be calculated, and the three-dimensional spatial position of the UAV in the inertial coordinate system can be further obtained.

[0072] Third, reward function;

[0073] Finally, the reward function and termination condition are set, and the drone selects actions according to a certain strategy to interact with the environment to gain experience. The algorithm aims to maximize the reward. In this embodiment, the reward function includes lock reward, process reward and collision penalty.

[0074] When the distance between the drones meets the minimum attack distance of the airborne weapons and the relative angle between the drones is appropriate, the lock is considered successful, and you will receive a reward while also receiving a friendly aircraft assistance reward. Similarly, when a friendly aircraft successfully locks an enemy aircraft, you will also receive a drone assistance reward:

[0075]

[0076] r lock To lock in the reward, D adv represents the spatial distance between our UAV and the enemy UAV, D′ represents the spatial distance between our cooperative UAV and the enemy UAV, and D * To meet the minimum distance between the two aircraft when the lock is successful. r is the angle between the speed direction of our drone and the center of mass of the enemy drone, e r is the angle between the enemy UAV’s speed direction and the sight vector of our UAV pointing to its center of mass, p *In order to meet the maximum angle of the attacking drone’s speed direction deviation from the center of mass of the defending drone when the lock is successful, it is related to the maximum attack angle of the drone’s weapon system; p′ r is the angle between the speed direction of our cooperative UAV and the center of mass of the enemy UAV, e′ r is the angle between the enemy UAV’s speed direction and the sight vector of our cooperative UAV pointing to its center of mass, e * In order to meet the requirement of successful locking, the maximum angle at which the defender's drone's speed direction deviates from the attacker's drone and points to the defender's drone's center of mass.

[0077] In order to solve the problem of difficulty in convergence caused by sparse rewards, this application adds process rewards to guide the learning of the drone during the training process, mainly including angle advantage rewards r1 and distance advantage rewards r2.

[0078] r1=-(p r +e r ) / 2π

[0079]

[0080] Finally, add a collision penalty. Set a minimum safe distance D between our drones to avoid collision. c , when the distance between the two coordinated drones is less than D c When , a negative reward value r is given to the cooperative drone c .

[0081] Get comprehensive single-step rewards:

[0082] R=r lock +k1r1+k2r2+r c

[0083] In the formula, k1 and k2 are weights, which range from 0 to 1 and their sum is 1.

[0084] The round ends when the number of steps in each round reaches the maximum value, or when one drone continuously locks onto the other drone for a preset number of steps.

[0085] Step S200, training the Markov game model based on the MADDPG algorithm to obtain a trained multi-UAV collaborative confrontation autonomous decision-making model; wherein, the MADDPG algorithm is used to set an actuator network and an evaluator network for each of our UAVs, the input of the actuator network is the local observation state information of our UAV, the output is the maneuvering action of our UAV, and the input of the evaluator network is the global state information of all UAVs.

[0086] First, the Multi-Agent Deep Deterministic Policy Gradient (MADDPG) algorithm is an extension of the Deterministic Policy Gradient (DDPG) algorithm in a multi-agent environment. It adopts the idea of ​​centralized learning and decentralized execution, which was first proposed by the OpenAl team in 2017. The structure of the MADDPG algorithm is given in this application. Figure 5 shown.

[0087] In the Markov decision model training based on MADDPG, each of our drones has a set of "actor-critic" neural network frameworks. The actor network outputs actions based on the input state, and the critic neural network judges the performance of the actuator based on the environmental rewards. Unlike single-agent reinforcement learning, the information input to the actuator is limited and does not include the actions of other agents, while the information input to the evaluator is the global state, including the action information of all agents.

[0088] The specific design of the neural network includes: each of our drones has a set of actuator networks and judge networks. The networks are all fully connected layer networks composed of input layers, hidden layers and output layers. The number of neurons in the input layer of the actuator is determined by the number of its local observation states. The output layer is 3 action quantities, namely the tangential overload, normal overload and roll angular velocity of the drone. The number of neurons in the input layer of the judge is determined by the global state quantity, and the output is an evaluation value. The hidden layers of both neural networks have two layers, each containing 300 neuron nodes. The activation function is the Relu function, defined as follows:

[0089] f(x) = max(0, x)

[0090] The neural network structure is as follows Figure 6 As shown:

[0091] Training parameter settings:

[0092]

[0093]

[0094] Table 2

[0095] Deterministic strategies are different from random strategies in that they output the probability of actions, but directly output actions, which greatly improves learning efficiency. At the same time, in order to ensure "exploration" and avoid falling into local optimality, random noise is added when outputting actions. The random noise satisfies the Gaussian distribution and takes 0 as the mean and the random noise parameter N as iIt is a normal distribution with a standard deviation, and the final output action is still in the interval [-1, 1] after processing.

[0096] In order to achieve stable learning, a fixed Q-value network method is adopted, which is updated after a certain number of steps, and a soft update method is adopted. Only a part of the parameters are updated each time, and the proportion of the update is determined by the soft update parameter τ.

[0097] The performance parameters of the drone are shown in Table 3 below:

[0098]

[0099]

[0100] Table 3

[0101] Among them, the attack range of the drone's onboard weapons and the two locking angles together describe the performance of the onboard weapons. When the speed of the defending drone is at a large angle to the line of sight, it is easy to lose the target, so in order to stably lock the enemy, such restrictions are made.

[0102] Step S300: Obtain the current status of the enemy UAV and our UAV, and use the multi-UAV collaborative confrontation autonomous decision-making model to generate corresponding maneuvers for our UAV.

[0103] The following is a set of simulation experiment examples:

[0104] The background is that two friendly UAVs are fighting against one enemy UAV. The initial state is random. Our UAV adopts the strategy training based on the MADDPG algorithm, and the enemy UAV adopts the uniform straight line strategy 1 (that is, keep the heading for uniform straight line motion after starting the simulation), random maneuver strategy 2 (that is, at each decision moment, randomly select an action from the maneuver action library) and MINMAX strategy 3 (extremely small maximum strategy).

[0105] A total of 100,000 rounds were simulated, with 50 steps per round and a simulation step length of 0.5 seconds. The optimized training method of soft update scenario migration was selected. In the first 20,000 rounds, the enemy UAV had a probability of selecting strategy 1 and (1-a) probability of selecting strategy 2. During the period from 20,000 to 70,000 rounds, there was b probability of selecting strategy 2 and (1-b) probability of selecting strategy 3. Strategy 3 was selected in the last 30,000 rounds.

[0106] a=1-s / 20000

[0107] b=(s-20000) / 50000

[0108] Where s is the current round number. As the number of rounds increases, the strategy chosen by the enemy drone becomes more complex. This gradual process from easy to difficult is more suitable for intelligent agent learning.

[0109] As the number of training times increases, we can observe that the total reward obtained by our drone is getting higher and higher, and converges to a stable state. The average reward changes during the training process are as follows: Figure 7 As shown:

[0110] Depend on Figure 7 It can be found that the reward increases rapidly in the early stage of training and tends to converge at about 30,000 rounds. Observing the reward curve during the training process, the curve has been fluctuating, and after convergence, it also oscillates within a certain range. There are two reasons for this analysis: First, the initial conditions of each round of simulated confrontation are randomly set, and the initial state of our drone may be at an advantage or a disadvantage, which has a great impact on the calculation of the total reward value at the end of a round; second, when selecting actions, in order to increase exploration and prevent the agent from falling into a local optimum, a random perturbation value is added. While maintaining the use of existing experience, it is also constantly exploring and trying, and there is this uncertainty in the learning process.

[0111] The following is a visual verification and analysis of the multi-UAV collaborative confrontation environment. The initial environment is randomly selected. First, when the enemy UAV chooses a uniform straight-line maneuver, the initial state information of the two UAVs is shown in Table 4:

[0112]

[0113] Table 4

[0114] The simulated flight trajectory is as follows Figure 8 (It should be noted that Figure 8 As shown in the subsequent figures, r1 and r2 represent our drones in coordinated combat, and b1 represents the enemy drone), the enemy drone has always maintained its initial direction of movement, and the two our drones have steadily followed behind the enemy drone after adjusting their headings to gain a favorable angle, and have gradually shortened the distance with the enemy drone.

[0115] Next, the enemy chooses a random maneuver strategy, and the initial state is shown in Table 5 below:

[0116]

[0117] Table 5

[0118] The simulated flight trajectory is as follows Fig. 9As shown, the enemy UAV made some maneuvers during the flight process, and deviated to the left while climbing. After adjusting the heading, the two of our UAVs still stably followed behind the enemy UAV to gain a favorable angle, and gradually shortened the distance with the enemy UAV.

[0119] Finally, the enemy drone chooses to adopt the MINMAX maneuver strategy, and its confrontation target chooses the closest friendly drone. The initial state is shown in Table 6 below:

[0120]

[0121] Table 6

[0122] The simulated flight trajectory is as follows Fig.10 As shown in the figure, at this time, the enemy drone chooses the closest drone on the left as its opponent and flies towards it. The drone on the left chooses to climb and change its course to avoid the attack of the enemy drone and approaches the drone on the right. The drone on the right quickly changes its course and flies towards the battlefield. It can be seen that our drones have good autonomous confrontation capabilities without knowing the opponent's maneuvering strategy, and they have some cooperation with each other.

[0123] We continue to increase the number of our drones and analyze the training effect of multiple drones working together against a single target. The reward value change curve during the training process is as follows: Fig.11 As shown in the figure, as the number of our drones increases, the fluctuation of the reward value in the training process becomes larger. After the three maneuver strategies are trained for 100,000 rounds and the neural network converges, the simulation verifies the training effect of the execution network. After 1,000 rounds of simulation, the winning rate of two-machine collaboration is 86.1%, and the dangerous collision rate is 2.0%; the winning rate of three-machine collaboration is 87.9%, and the dangerous collision rate is 5.4%; the winning rate of four-machine collaboration is 75.8%, and the dangerous collision rate is 8.9%. The winning rate of three-machine collaboration is close to that of two-machine collaboration, but the dangerous collision rate doubles. The four-machine collaboration not only has the highest dangerous collision rate, but also has a lower winning rate. The reason for the analysis is that the increase in the number of intelligent agents leads to an increase in the number of state quantities, more complex environmental changes, and reduced learning effects; second, the research scenario is based on close-range air combat, and the increase in the number of friendly aircraft leads to a significant increase in the probability of collision. Learning obstacle avoidance during the confrontation process also reduces the learning effect. In comparison, the efficiency and effect of two-machine collaborative confrontation are the highest.

[0124] After achieving convergence using the MADDPG algorithm, this method analyzed through a large number of experimental observations that our drones have learned some collaborative strategies in some states, mainly including multi-drone collaborative pincer tactics, multi-drone collaborative decoy tactics, and multi-drone collaborative defense separation and combination tactics.

[0125] First, multi-aircraft coordinated pincer attack tactics;

[0126] Reference Fig.12 and Fig.13 First, observe the simulation diagram. It can be seen from the diagram that at the beginning, our two drones found that the enemy drone was flying in front of them. Both drones chose to turn and maneuver to attack the enemy drone from behind, and each drone chose to attack one side of the enemy drone. This avoided collisions due to the close distance and restricted the movement direction of the enemy drone from multiple directions. The enemy drone chose to attack our drone on the left and maneuvered to the left. Our drone on the left turned left to defend. Neither side gained an advantageous position. Another drone of ours, which was initially located on the right, took the opportunity to go around the enemy drone and locked onto the enemy drone. Through a large number of similar simulation examples, the pincer attack tactics were summarized. The schematic diagram is as follows:

[0127] As shown in the figure, at time t1, two friendly drones encounter an enemy drone head-on, and adopt a pincer attack tactic, forcing the enemy drone to choose one of our drones as an attack target at time t2, so that the other drone can deviate from the battlefield and make a forward turn to gain a greater offensive advantage at time t3. If the enemy drone does not choose to attack any of our drones and keeps flying forward, then both our drones can turn to attack behind the enemy.

[0128] Second: Multi-aircraft coordinated decoy tactics;

[0129] Reference Fig.14 and Fig.15 At the initial moment, an enemy drone located behind our drone formation launched an attack, choosing to attack our drone in front of us, which was closer to it. At this time, our drone was in a disadvantageous state. The attacked drone on the right quickly turned right away from its teammates, and then changed its course several times, making it impossible for the enemy drone to successfully lock on and attack. At the same time, another one of our drones turned right and moved behind the enemy drone to occupy a favorable position to prepare for an attack.

[0130] Based on the analysis of such simulation results, the drone decoy tactics are summarized, and the tactics are shown as follows:

[0131] When a friendly drone is being chased by an enemy drone and is at a disadvantage, it should choose to maneuver in a direction away from teammates and attract the enemy's attention through timely maneuvers. At this time, another friendly drone should immediately adjust its angle and occupy a favorable position to attack the enemy drone. The initial position is unfavorable to our drone, but through tactical coordination, we can give full play to our numerical advantage. A friendly drone fighting with an enemy drone creates attack opportunities for teammates and gains battlefield advantage. The inspiration for formulating tactics is that after entering the battlefield airspace, the distance between drones in formation should not be too close, and the detection position should be comprehensive to avoid being attacked and destroyed by the enemy at the same time.

[0132] Third: Multi-aircraft coordinated defense separation and combination tactics;

[0133] Reference Fig.16 and Fig.17, the enemy drone still appeared behind our drone formation, but did not make a decision to attack the opponent, but just kept tracking. At this time, our two drones suddenly separated and maneuvered to both sides, circled around and waited for the enemy drone to rush forward before reuniting, attacking the enemy from two different directions.

[0134] The summarized tactics are as follows: When the enemy drone is behind our drone and it is not clear which one of our drones will be attacked, our drones will separate horizontally or vertically to confuse the enemy drones, and then converge to attack the enemy drones from different angles when the time is right. If the enemy drone pursues one of our drones during the maneuver, the situation is similar to the coordinated bait tactic, and the pursued our drone fights with the enemy drone to create an attack opportunity for another our drone.

[0135] Compared with the autonomous maneuvering strategy of a single aircraft, which tends to change speed and turn to find opportunities to gain battlefield advantages, multi-aircraft coordination tends to form an azimuth advantage in the upper three-dimensional space. The reason why the pincer attack tactics and the defensive separation and combination tactics are effective is closely related to the attack model of the airborne weapon system. The weapon attack model has attack angle and range restrictions, and the firepower threat range can be expanded when implementing the pincer attack tactics; the implementation of the defensive separation and combination tactics also takes advantage of the attack angle restrictions of the enemy UAV weapons, which cannot attack all our UAVs separated at the same time.

[0136] This method first establishes a Markov game model under the conditions of multi-UAV cooperative confrontation of our UAVs based on the UAV information in the multi-UAV cooperative confrontation system, and then trains the Markov game model based on the MADDPG algorithm. The improved MADDPG algorithm is used to set a group of actuator networks and evaluator networks for each of our UAVs. The strategy of centralized training and decentralized execution is used. During training and learning, an evaluator network that obtains global state information is given to guide the training of our UAVs. The actuator that outputs specific maneuvers only obtains local observation state information. Under the guidance of the evaluator network, it gradually converges to appropriate network parameters, so that our UAVs can continuously repeat the process of "exploration", "learning" and "decision-making" in an unknown and dynamic confrontation environment, continuously improve their autonomous decision-making ability in air combat confrontation, and obtain a favorable situation on the battlefield. In addition, this method has fast convergence speed and short decision-making time.

[0137] In the application scenario of this method, our drone only obtains local state information through its own sensors, and our drone does not know the strategy of the coordinated drone at the next moment. During training, the coordinated drone strategy is constantly changing, and the strategies of our drones are not interoperable. In this changing environment, they cannot learn a stable strategy, resulting in training failure. This method uses the solution of "centralized training and decentralized execution" and uses the MADDPG algorithm to use global state information to estimate the action value function of the agent (during training and learning, an evaluator that obtains global state information is given to guide drone training, and the actuator that outputs specific maneuvering actions only obtains local information. Under the guidance of the evaluator, it gradually converges to appropriate network parameters through attempts). This method effectively solves the non-static problem of the environment faced by multi-agent reinforcement learning; only using its own local observation state information to represent the agent's strategy. This method enables the agent to make full use of all data information during the training stage, and when actually executing the strategy, it is not necessary to share each other's actions and other information.

[0138] The simulation results show that this method can solve the expected UAV movement strategy and is feasible. In addition, the embodiment of the present application also summarizes the coordinated tactics of multi-UAV coordinated pincer attack, bait tactics, and defense separation and combination through the analysis and research of the simulation results.

[0139] An embodiment of the present application provides an electronic device, which includes: a memory, a processor, and a computer program stored in the memory and executable on the processor.

[0140] The processor and the memory may be connected via a bus or other means.

[0141] The memory, as a non-transient computer-readable storage medium, can be used to store non-transient software programs and non-transient computer executable programs. In addition, the memory may include a high-speed random access memory, and may also include a non-transient memory, such as at least one disk storage device, a flash memory device, or other non-transient solid-state storage device. In some embodiments, the memory may optionally include a memory remotely disposed relative to the processor, and these remote memories may be connected to the processor via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.

[0142] It should be noted that the electronic device in this embodiment can constitute a part of the system architecture in the above-mentioned system embodiments. These embodiments all belong to the same inventive concept, so these embodiments have the same implementation principles and technical effects, which will not be described in detail here.

[0143] The non-transient software program and instructions required to implement the multi-UAV cooperative confrontation method of the above embodiment are stored in the memory. When executed by the processor, the above embodiment method is executed, for example, the above described method is executed. Figure 2 Method steps S100 to S300 in.

[0144] The terminal embodiments described above are merely illustrative, and the units described as separate components may or may not be physically separated, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0145] In addition, an embodiment of the present application also provides a computer-readable storage medium, which stores computer-executable instructions. The computer-executable instructions are executed by a processor or a controller, for example, by a processor in the above system embodiment, so that the above processor can execute the multi-UAV cooperative confrontation method in the above embodiment, for example, execute the above described Figure 2 In another example, the method steps S100 to S300 in the device connector embodiment can be executed by a processor in the device connector embodiment, so that the processor can execute the multi-UAV cooperative confrontation method in the embodiment, for example, executing the above-described Figure 2 Method steps S100 to S300 in.

[0146] It will be appreciated by those skilled in the art that all or some of the steps and systems in the disclosed method above may be implemented as software, firmware, hardware and appropriate combinations thereof. Some physical components or all physical components may be implemented as software executed by a processor, such as a central processing unit, a digital signal processor or a microprocessor, or may be implemented as hardware, or may be implemented as an integrated circuit, such as an application specific integrated circuit. Such software may be distributed on a computer-readable medium, which may include a computer storage medium (or a non-transitory medium) and a communication medium (or a temporary medium). As known to those skilled in the art, the term computer storage medium includes volatile and non-volatile, removable and non-removable media implemented in any method or technology for storing information (such as computer-readable instructions, data structures, program modules or other data). Computer storage media include, but are not limited to, RAM, ROM, EEPROM, flash memory or other memory technologies, CD-ROM, digital versatile disks (DVD) or other optical disk storage, magnetic cassettes, magnetic tapes, disk storage or other magnetic storage devices, or any other medium that may be used to store desired information and may be accessed by a computer. Furthermore, it is well known to those skilled in the art that communication media typically embodies computer readable instructions, data structures, program modules, or other data in a modulated data signal such as a carrier wave or other transport mechanism, and may include any information delivery media.

[0147] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "illustrative embodiments", "examples", "specific examples", or "some examples" means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present invention. In this specification, the schematic representation of the above terms does not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner.

[0148] Although the embodiments of the present invention have been shown and described, it will be appreciated by those skilled in the art that various changes, modifications, substitutions and variations may be made to the embodiments without departing from the principles and spirit of the present invention, and that the scope of the present invention is defined by the claims and their equivalents.

Claims

1. A multi-UAV cooperative confrontation method, characterized in that: The steps include: The drone information in the multi-drone cooperative confrontation system is obtained, and a Markov game model of multi-drone cooperation is constructed according to the drone information; the Markov game model is composed of a state space, an action space, a reward function and a state transfer function; the state space includes the local observation state of each of our drones and the global state of all drones, the action space includes the tangential overload, normal overload and rolling angular velocity of the drone, the state transfer function is used to characterize the probability distribution of being in different states at the next moment after the global state at the current moment and the actions of all drones are known, and the reward function is used to characterize the mapping of the global state and action to the reward value; the single-step reward formula of the reward function is: in, Indicates locked rewards, Indicates the spatial distance between our drone and the enemy drone. Indicates the spatial distance between our cooperative UAV and the enemy UAV, Indicates the minimum distance between the two devices when the lock is successful. It indicates the angle between the speed direction of our drone and the center of mass of the enemy drone. It indicates the angle between the enemy UAV's speed direction and the sight vector of our UAV pointing to its center of mass. Indicates the maximum angle at which the attacking drone's speed direction deviates from the center of mass of the defending drone when the lock is successful. Indicates the maximum angle at which the defender's drone's speed direction deviates from the attacker's drone's direction toward the defender's drone's center of mass when the lock is successful. It indicates the angle between the speed direction of our cooperative drone and the center of mass of the enemy drone. It indicates the angle between the enemy UAV's speed direction and the sight vector of our cooperative UAV pointing to its center of mass. Indicates the angle advantage bonus, Indicates the maximum detection distance of the drone. Indicates distance advantage bonus, , represents the weight and , Indicates the collision penalty when the distance between two coordinated friendly drones is less than the preset minimum safety distance; The Markov game model is trained based on the MADDPG algorithm to obtain a trained multi-UAV cooperative confrontation autonomous decision-making model; wherein, an actuator network and an evaluator network are set for each of our UAVs through the MADDPG algorithm, the input of the actuator network is the local observation state information of our UAV, and the output is the maneuvering action of our UAV, and the input of the evaluator network is the global state information of all UAVs; The states of the enemy UAV and our UAV at the current moment are obtained, and the multi-UAV collaborative confrontation autonomous decision-making model is used to generate corresponding maneuvers of our UAV.

2. The multi-UAV cooperative confrontation method according to claim 1 is characterized in that: The local observation status information of our UAV includes the self-status information of our UAV, the status information of the enemy UAV and the status information of our cooperative UAV, wherein the self-status information of our UAV includes the speed, track inclination, track deviation and speed roll angle of our UAV; the status information of the enemy UAV includes the speed, track inclination, track deviation of the enemy UAV, as well as the distance between our UAV and the enemy UAV, the horizontal deflection angle and the longitudinal tilt angle of the line of sight; the status information of our cooperative UAV includes the speed, track inclination, track deviation of our cooperative UAV, as well as the distance between our UAV and our cooperative UAV, the horizontal deflection angle and the longitudinal tilt angle of the line of sight.

3. The multi-UAV cooperative confrontation method according to claim 1 is characterized in that: The activation function of the MADDPG algorithm is the Relu function, which is expressed as: .

4. The multi-UAV cooperative confrontation method according to claim 3 is characterized in that: The actuator network and the evaluator network are both composed of an input layer, a hidden layer and an output layer, wherein the number of the hidden layers is two.

5. The multi-UAV cooperative confrontation method according to claim 4 is characterized in that: Also includes: During the training process, the actuator network outputs the maneuvering action of our drone and adds random noise that satisfies the Gaussian distribution.

6. The multi-UAV cooperative confrontation method according to claim 4 is characterized in that: Also includes: The actuator network and the evaluator network perform soft update learning according to preset soft update parameters.

7. A multi-UAV cooperative confrontation system, characterized in that: The multi-UAV collaborative confrontation system includes multiple friendly UAVs and one or more enemy UAVs. Each friendly UAV is provided with a memory, a processor, and a computer program stored in the memory and executable on the processor. It is characterized in that when the processor executes the computer program, it implements: the multi-UAV collaborative confrontation method according to any one of claims 1 to 6.

8. A computer-readable storage medium storing computer-executable instructions, characterized in that: The computer executable instructions are used to execute: the multi-UAV collaborative confrontation method as described in any one of claims 1 to 6.