Next Article in Journal
Neural Network-Based Descent Control for Landers with Sloshing and Mass Variation: A Cascade and Adaptive PID Strategy
Previous Article in Journal
An Analysis of Direct Operating Costs for the Wright Spirit Electric Aircraft
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Research on UAV Conflict Detection and Resolution Based on Tensor Operation and Improved Differential Evolution Algorithm

1
Air Traffic Control and Navigation School, Air Force Engineering University, Xi’an 710051, China
2
People’s Liberation Army Unit 93514, Tangshan 064200, China
3
State Key Laboratory of Air Traffic Management System, Nanjing 210018, China
*
Author to whom correspondence should be addressed.
Aerospace 2024, 11(12), 1008; https://doi.org/10.3390/aerospace11121008
Submission received: 20 October 2024 / Revised: 27 November 2024 / Accepted: 29 November 2024 / Published: 8 December 2024
(This article belongs to the Section Aeronautics)

Abstract

:
With the widespread application of unmanned aerial vehicles (UAVs) in civilian and military fields, how to effectively detect and resolve conflicts of large-volume and high-density UAV flights in local airspace has become an important issue. This paper proposes a method for UAV conflict detection and resolution based on tensor operation and an improved differential algorithm. Firstly, the UAV protection zone model and airspace rasterization model are constructed, and the rapid detection of flight conflicts is achieved by using the properties of tensor Hadamard product operations and prime factorization. Then, for the detected conflicts, a hybrid improved differential evolution algorithm is used for resolution. This algorithm improves the solution speed and quality by using an adaptive mutation operator and introducing a redundant evaluation mechanism and a confidence-based selection strategy. Simulation results show that this method can quickly and accurately detect and resolve flight conflicts in high-density UAV scenarios, with high timeliness and conflict resolution capability.

1. Introduction

With the development of the economy and technology, unmanned aerial vehicles (UAVs) are widely applied in today’s society. In the civilian sector, the continuous advancement of low-altitude airspace opening reforms in China has led to an increasing number of UAVs being utilized in power line patrol, express delivery, geological survey, and other fields, greatly promoting economic development. In the military sector, UAVs undertake reconnaissance, strike, and transportation tasks in contemporary local conflicts around the world and are favored by the military due to their low cost and versatility. With the continuous expansion of UAV applications, more UAVs will fly into the skies, while airspace resources are limited. A stable, accurate, and efficient method for UAV conflict detection and resolution is key to ensuring the safe and efficient operation of large numbers of UAVs within limited airspace [1].
The method for detecting UAV flight conflicts in three-dimensional space is primarily based on the Euclidean formula to determine the distance between two UAVs, with the calculation formula as follows:
  d i j = ( x 2 x 1 ) 2 + ( y 2 y 1 ) 2 ( z 2 z 1 ) 2
where x 2 , y 2 , z 2  and ( x 1 , y 1 , z 1 ) are the coordinates of two UAVs at a given moment. If the distance is greater than the safety interval, it indicates no conflict; if less, it indicates a conflict between UAVs. By calculating the distances between all pairs of UAVs, the detection of UAV conflicts within the airspace is achieved. When there are many UAVs, using the Euclidean formula requires a large number of calculations to detect all conflicts, which has the disadvantages of large computational volume and high computational complexity. Therefore, scholars at home and abroad have conducted in-depth research on improved UAV conflict detection methods. Bilimoria [2], focusing on the conflict detection problem of aircraft within a two-dimensional plane, derived an analytical solution based on the geometric characteristics of flight trajectories and achieved conflict resolution by adjusting speed and heading. Dang Shan [3], based on the study of various UAV conflict detection algorithms, comprehensively considered the position accuracy in ADS-B (Automatic Dependent Surveillance–Broadcast) messages, described the credibility of parameters through navigation accuracy and integrity levels, compensated the time of the closest point with safety margins, and then improved the accuracy of the algorithm for UAV flight conflict detection. In order to adapt to different airspace conditions, Yang Yue et al. [4] proposed a three-factor repeated measurement experimental scheme. This scheme optimizes the overall performance of the system by adjusting the minimum distance (MD), convergence angle (CA), and speed characteristics (SC) parameters to achieve shorter reaction times and higher accuracy rates. The results of this research are of great reference significance for enhancing the perception and prediction capabilities of conflict detection. Jones et al. [5] introduced polynomial chaos to estimate collision probabilities, used polynomial chaos expansion to approximate the solution of stochastic differential equations, and simulated collision probabilities through the Monte Carlo method to achieve conflict detection.
In terms of UAV conflict resolution, researchers have also conducted extensive and thorough research. Yao Cheng et al. [6] used genetic algorithms to quickly and effectively determine the optimal conflict resolution path by changing flight headings to achieve the goal of conflict resolution. Zhang Honghong et al. [7] proposed a concept based on the “core solution” of cooperative game theory, which ensures the fairness of UAV conflict resolution and uses a hybrid solution strategy based on artificial potential field ant colony methods to quickly generate UAV conflict resolution paths. Dong Huyi [8] applied the sparrow search algorithm to UAV conflict resolution and enhanced the global search capability of the optimization algorithm through improvement, which accelerated the convergence speed in the later stage. Aiming at the shortcomings of genetic algorithms such as slow solution speed and large delay distance when solving UAV conflicts, Zhen Ran et al. [9] proposed a UAV conflict resolution method based on quantum genetic algorithms. Using quantum rotation gates to achieve individual evolution, the speed of conflict resolution is faster, and the quality of the solution is higher, which improves the effectiveness of conflict resolution. Jie Dong et al. [10] improved the ant colony algorithm by introducing angle information and sorting systems to enhance its ability to find the optimal conflict resolution path. The results show that the improved ant colony algorithm can effectively provide joint resolution paths for multi-aircraft conflict situations in the airspace. In terms of multi-aircraft conflict issues, Liu et al. [11] modeled multi-level conflict problems as optimal control problems and used hybrid nonlinear programming methods to solve optimization problems. Based on the optimal solutions obtained, conflict resolution and trajectory recovery are achieved through three changes of speed and heading angle. Wu et al. [12] took aircraft as nodes, established a flight conflict network based on flight conflict relationships, defined the concept of an optimal dominating set, and quickly resolved conflicts in the network by removing the optimal dominating set nodes of the flight conflict network, which reduced the complexity of the network.
Analyzing the aforementioned literature, current UAV flight conflict detection methods are mostly aimed at two-dimensional planes, and in the case of a large number of UAVs and numerous conflicts, there are still shortcomings such as large computation and low detection efficiency. These methods are difficult to adapt to the future requirements of rapid and accurate determination of conflicts for a high-volume of UAVs in the airspace. In terms of conflict resolution, methods in the literature use geometric positions to optimize future trajectories, which have the disadvantages of long computation time and low success rate in resolving complex conflict scenarios. Meanwhile, some other methods in the literature use traditional intelligent algorithms to transform conflict resolution into an optimization problem, which has the disadvantages of slow convergence speed and insufficient research on continuous resolution problems.
This paper establishes UAV protection zone models and airspace rasterization models, extracts real-time position tensors of operating UAVs, performs tensor operations, and uses the properties of prime factorization to detect flight conflicts in real-time and quickly during UAV flight. After a flight conflict occurs with a UAV, conflict sets are extracted, and the differential algorithm, which is simple, practical, and has strong reliability, efficiency, and robustness, is fully utilized. Further hybrid improvements are made to the differential algorithm, and a differential evolution algorithm with adaptive mutation operators and related mechanisms is designed for conflict resolution. Finally, simulation experiments are conducted to verify the reliability and efficiency of the aforementioned methods for conflict detection and resolution between UAVs in local airspace.

2. UAV Conflict Detection Method Based on Tensor Hadamard Product Operation

2.1. Establishment of UAV Protection Zone and Airspace Grid Model

In the future, UAVs will be used in large quantities across various industries. It is particularly important to avoid collisions between large numbers of UAVs in real time to reduce the risk of UAV collision. And it is the key task for UAV collision avoidance to designate protection zones for UAVs to prevent other UAVs from entering a protected area and to prevent overlapping with other UAVs’ protection zones. The style and size of the UAV protection zone affects the capacity and operational efficiency of UAVs in the airspace. Current methods for modeling UAV protection zones include the Reich cuboid model, the cylindrical protection zone model, the spherical protection zone model, and the ellipsoidal protection zone model [13]. During flight, UAVs are affected by factors such as wind and positioning accuracy. Analysis using the Monte Carlo method shows that UAVs maintain higher precision in altitude than along the flight path, and a certain safety margin should be retained as the safety interval of UAVs. Therefore, this paper adopts the cylindrical protection zone model and sets up a two-tier collision avoidance strategy: the outer cylindrical protection zone serves as a conflict warning area, which is an unsafe area for timely adjustment and resolution of UAV conflicts; the inner cylindrical area is the core protection zone, which is strictly off-limits.
In local warfare, especially in urban combat, the battlefield area is limited, and small and medium-sized UAVs are also limited by range and scope of control, so the effective combat radius of UAVs will be relatively small. This paper simulates an urban combat environment, setting the battlefield airspace to a square area of 10 km × 10 km. Due to the limited battlefield airspace, it is less affected by the curvature of the Earth during the division process. To facilitate coding, this paper divides the grid based on the latitude and longitude coordinate system and controls the precision and calculation speed of conflict detection by setting the granularity of the division [14]. After dividing into small grids, the grid is encoded in the same way as the plane rectangular coordinate system, with the format ( i ,   j ) , where   i represents the horizontal coordinate of the sub-grid and   j   represents the vertical coordinate. The grid division result and encoding representation are shown in Figure 1, in which the 10 km × 10 km airspace is dissected into 100 × 100 sub-grids of 100 m × 100 m.
Based on the cylindrical UAV protection zone model and the airspace rasterization subdivision model, the protection zones of UAVs in the three-dimensional operational airspace are shown in Figure 2.

2.2. Basic Concepts of Tensors and Hadamard Product Operation

To address the insufficiency of detecting only two-dimensional plane position conflicts using matrix Hadamard product operations and the inability to detect height conflicts, the concept of tensors in physics is introduced [15]. By utilizing tensor operations, three-dimensional conflict detection for UAVs is realized.
Set A = ( a i 1 i m ) , if a i 1 i m R, among them i j = 1 , , n j = 1 , , m , then A is said to be an n-dimensional real tensor of order m with n m elements, and is recorded as A = ( a i 1 i m ) R [ m , n ] , notated in particular as I = ( δ i 1 i m ) R [ m , n ] . To take the third-order tensor as an example, it is common to use A i j k or A ( i , j , k ) to represent the elements of the third-order tensor in the i-th row, j-th column, and k-th frontal slice.
Set A = ( a i 1 i m ) R [ m , n ] , B = ( b i 1 i m ) R [ m , n ] , denoted as C = ( c i 1 i m ) R [ m , n ] , where in c i 1 i m = a i 1 i m b i 1 i m , C is A and B ’s Hadamard product, which can be noted as A B . The Hadamard product can only be performed between tensors when their orders and dimensions are the same [16].
A B = a 11 b 11 a 12 b 12 a 13 b 13 a 1 n b 1 n a 21 b 21 a 22 b 22 a 23 b 23 a 2 n b 2 n a 31 b 31 a 32 b 32 a 33 b 33 a 3 n b 3 n a m 1 b m 1 a m 2 b m 2 a m 3 b m 3 a m n b m n a 11 b 11 a 12 b 12 a 13 b 13 a 1 n b 1 n a 21 b 21 a 22 b 22 a 23 b 23 a 2 n b 2 n a 31 b 31 a 32 b 32 a 33 b 33 a 3 n b 3 n a m 1 b m 1 a m 2 b m 2 a m 3 b m 3 a m n b m n a 11 b 11 a 12 b 12 a 13 b 13 a 1 n b 1 n a 21 b 21 a 22 b 22 a 23 b 23 a 2 n b 2 n a 31 b 31 a 32 b 32 a 33 b 33 a 3 n b 3 n a m 1 b m 1 a m 2 b m 2 a m 3 b m 3 a m n b m n
In this tensor, the order represents the altitude layer of the UAV, and the matrix within the tensor represents the UAV’s position in the two-dimensional plane. Tensor and tensor analysis operations are widely used in the study of continuum mechanics, elasticity, fluid dynamics, electromagnetism, and other fields. Similarly, we can apply them to the field of UAV flight conflict detection to reduce computational volume and the complexity of the detection method.

2.3. 0–1 Tensor Rapid Detection Method

For the spatial position of UAVs, which consists of horizontal, longitudinal, and altitude components, a third-order tensor A ( i , j , k ) can represent the spatial position of a UAV. Since the interval between UAVs in the horizontal and longitudinal directions is greater than the interval in altitude, and considering UAVs operate at low altitudes with a much larger range than their ceiling limit, the grid division granularity in the horizontal and longitudinal directions is finer with more dimensions set, whereas the granularity in altitude is coarser with fewer dimensions set. To facilitate calculations, the horizontal and longitudinal coordinates are considered the first and second orders of the tensor, with altitude as the third order. In the tensor A ( i , j , k ) center, i represents the dimension of the UAV on the horizontal coordinates, j represents the dimension of the UAV on the vertical coordinates, and k represents the height dimension of the UAV.
In conflict detection using the Hadamard product of tensors, there are two methods: the 0–1 tensor rapid detection method and the detection method based on prime factorization. In the 0–1 tensor rapid detection method, based on gridded airspace, the sub-grid spaces occupied by the UAV and its outer cylindrical protection area are assigned a value of “1”, while other unoccupied positions are assigned a value of “0”. After the assignment is completed, the spatial grid assignment situation of the UAV a 1 is extracted as a tensor A 1 ( i , j , k ) , which represents the spatial position of the UAV a 1 . Similarly, the spatial position tensors of all UAVs are extracted sequentially, and the spatial position tensor of the nth UAV a n is represented as A n ( i , j , k ) .
An addition operation is performed on the spatial position tensor of all drones to obtain the sum tensor C . The elements in the sum tensor are then analyzed; if there are elements c i j k > 1 in the sum tensor C , it indicates that there are drone conflicts in this airspace, and the conflict position is sliced in row i , column j , and layer k . If all elements in the sum tensor are not greater than 1, it indicates that there are no conflicts. No matter how many UAVs there are, the 0–1 rapid detection method can find out the conflict of the UAV in space with only one calculation, which has the characteristics of speed, efficiency, and accuracy. However, this method also has shortcomings. The use of this method can only detect the location and height of the conflict, and it cannot detect which UAVs are in conflict with each other.

2.4. Flight Conflict Detection Based on Prime Factorization

To improve the shortcomings of the 0–1 detection method, which cannot identify the UAVs involved in conflicts, and to facilitate conflict resolution, the concept of prime numbers and their properties from number theory are introduced to uniquely represent UAVs [17]. During model establishment, following the 0–1 rapid detection method, a third-order tensor A ( i , j , k ) is used to represent the spatial position of UAVs, i represents the dimension of the UAV on the horizontal coordinates, j represents the dimension of the UAV on the vertical coordinates, k represents the height dimension of the UAV. First, a prime sequence   2 , 3 , 5 , 7 is established, and each UAV is assigned a prime number that uniquely identifies it. For example, the prime number “2” is used to uniquely identify a UAV a 1 . After the airspace rasterization division, the grid spaces occupied by the UAV a 1 in space are all assigned the value “2”, while unoccupied grids are assigned “1”. After the assignment is completed, the spatial grid assignment situation of the UAV a 1 is extracted as a tensor A 1 ( i , j , k ) , representing the spatial position of the UAV a 1 . Similarly, the spatial position tensors of each UAV are extracted in the same manner. The spatial position tensor of the n th UAV a n is represented as A n ( i , j , k ) . The front and side projections of the grid assignment situation within the battlefield airspace for UAVs are shown in Figure 3 and Figure 4, where the position of the purple UAV is (7, 7, 300), and the red UAV is (3, 3, 200), with the protection zones of both UAVs assigned their corresponding prime numbers.
The Hadamard product operation is performed on the spatial position tensors of all UAVs to derive the product tensor, and the elements in the product tensor C are analyzed. If each element is not a composite number, then it means that there is no conflict. If an element c i j k is a composite number, it indicates that there is UAV conflict in this airspace, and the conflict position is sliced in row i , column j , and layer k . A prime factorization of these composite numbers can be decomposed into several prime numbers, thus indicating that there are flight conflicts between the UAVs identified by these prime numbers. The process of flight conflict detection method based on prime factorization is shown in Figure 5.
On the basis of prime factorization, the flight conflict detection method assigns a prime number to each UAV, uses the Hadamard product operation of tensors to detect the number and location of UAV conflicts, and identifies the UAVs involved in each conflict through the prime factorization method. For large volumes of UAV conflicts within the airspace, this method only requires one tensor calculation and analysis of the conflict set to determine detailed conflict information, greatly reducing the computational effort and shortening the detection time.

3. Flight Conflict Resolution Method Based on Hybrid Improved Differential Evolution Algorithm

3.1. Model Establishment

It is assumed that there are UAVs in operation in a certain altitude layer. Through methods based on matrix or tensor Hadamard products and prime factorization, n flight conflicts are detected, with each conflict forming a conflict set. Considering that UAVs need to perform tasks such as reconnaissance and strikes at specific altitude levels, conflict resolution is achieved by adjusting the heading and speed of the conflicting UAVs without considering the change of operating altitude of the UAVs for the time being. To prevent large bank turns when UAVs change course, the range of heading change is limited to 60 ° , + 60 ° around the original flight path, and the range of speed change is limited to 5   m / s , + 5   m / s . After extracting the conflict set, the heading and speed adjustments for the UAVs within the conflict set are calculated using the hybrid improved differential algorithm. These adjustments are then applied to update the positions of the aircraft and simulate the trajectory of the aircraft for a period in the future. The fitness function is used to perform a conflict assessment of the UAV’s future position. After the assessment, the state of the UAV is restored to the state before the application of the solution, so that the next set of adjustments can be assessed. Ultimately, the heading and speed adjustment plan with the highest fitness is applied to the current aircraft to resolve the flight conflict.
Determination of the objective function and constraints:
Objective function: Setting up an index collection of a conflict aircraft I = i 1 , i 2 , , i n , there are a number of conflicting UAVs, then the objective of the optimization is set to minimize the distance between any two UAVs in the conflict set, and the target function is
f ( X ) = min i , j I , i j d i s t a n c e ( i , j )
X = ( θ 1 , v 1 ) , ( θ 2 , v 2 ) , , ( θ n , v n ) is a set of optimized variables, θ i is the heading change angle of the i -th UAV, and v i is the amount of change in velocity of the i -th UAV. d i s t a n c e ( i , j ) = ( x i x j ) 2 + ( y i y j ) 2 represents the Euclidean distance between UAV i and UAV j . x = x 1   , x 2 , , x n belongs to all conflict UAV x coordinates. y = y 1 , y 2 , , y n belongs to all conflict UAV y coordinates.
Fitness function: The minimum distance between conflict aircraft is taken as the fitness score. The smaller the distance, the greater the conflict risk and the lower the fitness score. Conversely, the larger the distance, the smaller the conflict risk and the higher the fitness score. The goal of the fitness score assessment is to maximize the minimum distance between conflict aircraft, thus the fitness function is
M A X ( f X ) = M A X ( min i , j I , i j d i s t a n c e i , j )
Speed constraint condition: The speed change of each UAV must satisfy the lower and upper limit constraints: v i + v i v m i n , v m a x . This constraint ensures that the UAV’s velocity change is always within a reasonable range.
Heading angle constraint condition: The heading change of each UAV also needs to satisfy the lower and upper limit constraints: θ i + θ i θ m i n , θ m a x .
After using the improved differential evolution algorithm to resolve conflicts for UAVs, the criteria for successful resolution are: (1) The UAV can achieve no conflicts in the outer protection zone within 15 s. (2) The UAV can never have a conflict in the inner protection zones during the conflict process. The effectiveness of the improved differential evolution algorithm for UAV conflict resolution is assessed using the above evaluation method.

3.2. Improved Differential Evolution Algorithm with Hybrid Strategy

3.2.1. Differential Evolution Algorithm

A differential evolution (DE) algorithm can reduce the complexity of evolutionary operations by employing real-number encoding and simple differential-based mutation operations, along with one-on-one competitive survival strategies. This unique evolutionary mechanism endows it with strong robustness and global search capabilities, which is a great advantage in solving optimal problems within complex environments [18].
Initialization: Utilizing N P ( N P is the population size) D -dimensional real-number parameter value vectors, these vectors are used as the population for each generation, with each individual represented as A i , G ( i = 1 , 2 , N P ) , where i represents the sequence of the individual within the population and G represents the number of evolutionary generations, which remains constant during the minimization process. The initial population is formed by randomly selecting from the values within the given boundary constraints, which follows a uniform probability distribution. If the parameter boundaries are set as x j ( L ) < x j < x j ( U ) , then
x j i ( 0 ) = r a n d 0 , 1 · ( x j ( U ) x j ( L ) ) + x j ( L )   ( i = 1 , 2 , , N P ; j = 1 , 2 , D )
where r a n d 0 , 1 is a uniformly distributed random number between 0 and 1.
Mutation: The mutation operator adopts the best solution plus the differential of random vectors; that is, excluding the current individual in the population, two different individuals are randomly selected for vector differentiation. The result is multiplied by the amplification factor and added to the best individual of the current population, which can accelerate the search for the best solution. The offspring are produced by the following formula:
X i ( t + 1 ) = X b e s t ( t ) + F · ( X j ( t ) X k ( t ) )
where X b e s t ( t ) is the best individual in the current population and X j ( t ) , X k ( t ) are two randomly selected different individuals excluding the current individual.
Crossover: In order to increase the diversity of the interference parameter vectors, the parent individual X j ( t ) and the new individual X i ( t + 1 ) produced after the differential mutation operation undergo the following crossover operation:
x j i ( t + 1 ) = x j i ( t + 1 ) ,         r a n d j i P c         o r         j = J r a n d x j i ( t ) ,         r a n d j i P c         o r         j J r a n d         P c ( 0 , 1 )
Let x j i ( t ) be the value of the j -th gene of the i -th individual, where i = 1 , , N , j = 1 , , L , r a n d j i represents a uniformly distributed random number for the j -th gene of the i -th individual, and J r a n d is the introduced random gene position. It is enforced that the gene at the J r a n d position is taken from the newly mutated individual, making x j i ( t ) , x j i ( t + 1 ) not completely identical, thus increasing the diversity of the population.
Selection: A greedy selection operator is used to compare the adaptability between the individual X i ( t + 1 ) and the original vector X i ( t ) . Only when the adaptability of X i ( t + 1 ) is higher than X i ( t ) can it be chosen as the parent of the next generation. Otherwise, X i ( t ) will still be selected as the next generation parent.
X i ( t + 1 ) = X i ( t + 1 )             i f     f ( X i ( t + 1 ) ) > f ( X i ( t ) )             X i ( t )                                     otherwise                                                                  
Boundary handling: During the mutation operation, the increase in the number of iterations may cause the mutated values to exceed the range of the UAV heading and speed changes. Therefore, if a new individual does not meet the boundary constraints, it will be replaced by a parameter vector randomly generated within the feasible domain, i.e., x j i ( t + 1 ) < x j ( L ) or x j i ( t + 1 ) > x j ( U ) , then
x j i ( t + 1 ) = r a n d 0 , 1 · ( x j ( U ) x j ( L ) ) + x j ( L )           ( i = 1 , , N , j = 1 , , L , r a n d j i )
Encoding method of differential evolution algorithm: The encoding scheme represents the structure of the solution and the representation of individuals in the population. In this algorithm, each individual is encoded by using a real-number array, with each individual representing a combination of heading and speed adjustments for a group of UAVs. The real-number array of an individual is represented as a chromosome, which contains multiple genes, each representing a specific design variable. In this method, the individual structure is specifically manifested as follows: assuming there are n UAVs in the conflict set, then the chromosome of each individual can be represented as X = ( θ 1 , v 1 ) , ( θ 2 , v 2 ) , , ( θ n , v n ) , where θ n represents the heading change angle of the n -th UAV (in degrees) and v n represents the speed change amount of the n -th UAV. Real-number encoding can directly represent design variables, which has the advantage of high computational efficiency and high precision for solving complex optimization problems containing a large number of continuous variables.

3.2.2. Adaptive Adjustment of Mutation and Crossover Operators

The traditional DE algorithm has difficulty determining the mutation operator. In the calculation, if the mutation rate is set too low, it will reduce the diversity of the population, which will lead to premature convergence. If the mutation rate is set too high, it will reduce the search efficiency and affect the accuracy of the global optimal solution. Therefore, an adaptive mechanism is introduced to automatically adjust parameters and improve algorithm performance [19].
The adaptive mutation operator is designed as follows:
λ = e 1 G m G m + 1 G ,   F = F 0 × 2 λ
where F 0 is the mutation operator, G m is the maximum number of evolution generations, and G is the current number of evolution generations. This design ensures that the algorithm starts with a larger mutation operator of 2 F 0 , which maintains individual diversity and avoids premature convergence. As iterations continue, the mutation operator gradually decreases, preventing the loss of the optimal solution and increasing the probability of finding the global optimal solution.
In addition, considering that the possible random changes during the amplification of the differential vector may help maintain population diversity during the search process, the crossover operator is adaptively adjusted as follows:
C R = C R + c r o s s o v e r _ r a t e _ a d a p t a t i o n · ( 1 C R )
where c r o s s o v e r _ r a t e _ a d a p t a t i o n is a pre-set adjustment factor used to control the adjustment range.

3.2.3. Introduction of Redundant Evaluation Mechanism

The redundant evaluation mechanism is used to improve the accuracy of the evaluation by repeatedly evaluating the target function of each individual to reduce the noise impact in the target function value. The target function of the individual is f ( x ) , and this function has random noise. ϵ ~ N ( 0 , σ 2 ) , that is, f ( x ) = g ( x ) + ϵ . g ( x ) is the real target function value of the individual x , and ϵ is the Gaussian noise with mean value 0 and variance σ 2 . As for the redundant assessment mechanism, the mean value f ^ ( x ) of n evaluations for individual x is defined as
f ^ ( x ) = 1 n i = 1 n f i ( x )
Each f i ( x ) is dependent on which contains the evaluation values of noise. According to the law of large numbers, when n , f ^ ( x ) g ( x ) ; that is to say, the real target function value can be approached.
By increasing the number of evaluations n , the impact of noise can be reduced and the accuracy of the estimation can be improved. The estimated variance is
V a r ( f ^ ( x ) ) = σ 2 n
Therefore, the redundant evaluation mechanism reduces the variance by increasing n , making f ^ ( x ) closer to g ( x ) .

3.2.4. Confidence Level-Based Selection Strategy

A selection strategy based on the level of confidence takes into account the uncertainty (e.g., variance) of individual evaluation to determine confidence in a solution, and then introduces uncertainty information into the process of individual selection. It is assumed that n   redundancy assessments for individuals x is performed to obtain the assessment mean value f ^ ( x ) and standard deviation σ ^ ( x ) . A confidence interval can be calculated to judge the quality and stability of the solution. The range of confidence intervals can be determined by the sample mean and standard deviation:
C I = f ^ ( x ) ± z · σ ^ ( x ) n
When z is the critical value under the normal distribution, for the width of 95% confidence interval,
I f     f ^ ( t r i a l ) z · σ ^ ( t r i a l ) n < f ^ ( x i ) z · σ ^ ( x i ) n , t h e n   s e l e c t   t r i a l
In this way, the selection strategy introduces the handling of uncertainty into the estimation of the objective function. The operational process of the improved differential evolution algorithm with hybrid strategy is shown in Figure 6.

4. Simulation Experiment

4.1. Simulation Experiment One

Airspace model: A square mission airspace with a side length of 10 km is delineated and divided into small grids with a granularity of 100 m based on latitude and longitude coordinates. The airspace is divided into a 100 × 100 grid, and each small grid is encoded according to the coding method of the rectangular coordinate system.
UAV model: Taking a certain model of civilian medium-low altitude multi-purpose rotary-wing unmanned aerial vehicle as an example, the operational parameters of the UAV during the simulation process are shown in Table 1. Based on the performance and size of the UAV, the radius of the UAV’s outer protection zone is determined to be 100 m, and the height of the cylindrical protection zone is 30 m.
Simulation environment: Huawei laptop, Core i7 processor, Windows 10 system, Python 3.8 environment.
Simulation process: A number of UAVs are randomly generated within the airspace to move according to set parameters with random headings. A sequence of UAV operational altitude layers is set (100 m, 200 m, 300 m). When UAVs are generated, a random altitude layer from the sequence is chosen as the operating altitude. Then, flight conflict detection is conducted using four methods: the Hadamard product method, the traditional Euclidean formula method, the velocity obstacle (VO) method [20], and the improved GJK detection algorithm [21]. When the number of UAVs generated in the airspace is 10, 20, 30 ... 150 and 200, 300, 400 ... 800, the detection times of the four methods are recorded and compared, as shown in Figure 7 and Figure 8, to analyze the efficiency of the four methods in detecting conflicts between UAVs. When the number of UAVs generated in the airspace is 10, 20, 30 ... 150, the number of conflicts detected by the traditional Euclidean formula method and the tensor Hadamard product method for different numbers of UAVs is compared, as shown in Figure 9, to analyze the accuracy of the conflict detection method based on the tensor Hadamard product.
A partial screenshot of the UAV conflict resolution simulation process is shown in Figure 10. In the figure, the circles represent the projection of the UAV’s protection zone on a two-dimensional plane. UAVs without conflicts and their protection zone boundaries are marked in blue, while UAVs with conflicts and their protection zones are marked in red. The grids occupied by the UAV protection zones are marked with the corresponding prime numbers, and the height marker of the UAV is located at the lower right side of the UAV.
Simulation conclusions and analysis: When the number of UAVs in the airspace is relatively small, there is little difference in computation speed among the four detection methods. However, as the number of UAVs in the airspace increases, the time consumption of traditional detection methods and the velocity obstacle method grows exponentially. In contrast, the computation times for the tensor Hadamard product detection method and the improved GJK detection method remain relatively short. Especially when the number of UAVs exceeds 200, the efficiency of the tensor Hadamard product detection method and the improved GJK detection method is significantly higher than that of traditional methods and the velocity obstacle method. In terms of algorithm performance, the tensor Hadamard product detection method outperforms the improved GJK detection method. Especially when the number of UAVs exceeds 200, the tensor Hadamard product detection method can detect conflicts within 1 millisecond, and when there are 800 UAVs, it only takes 3.267 milliseconds to detect all conflicts, whereas traditional methods require 0.3512 s to complete the detection. The more UAVs there are, the more pronounced the performance advantage of the tensor Hadamard product detection method becomes. Therefore, using the tensor Hadamard product and prime factorization methods requires less time to detect flight conflicts among large numbers of UAVs and wins more valuable time for conflict resolution.
By comparing the relationship between the number of UAVs and the number of detected conflicts, it can be seen that when the number of UAVs is the same, the number of detected conflicts does not differ significantly. The conflict detection accuracy of traditional Euclidean formula detection method is 100%. Through comparison, it can be seen that the tensor Hadamard product detection method has high accuracy and reliability in detecting conflicts.

4.2. Simulation Experiment Two

In this simulation experiment for UAV conflict resolution, three scenarios are constructed: a two-aircraft conflict, a three-aircraft conflict, and a four-aircraft conflict. Respectively, traditional differential evolution (DE), adaptive differential evolution (ADE), and hybrid improved differential evolution (HIDE) algorithms, as well the as genetic algorithms (GA) and ant colony algorithms (ACO) used in references 6 and references 10, are applied to resolve flight conflicts. The effectiveness of the HIDE algorithm in resolving flight conflicts in different conflict scenarios is judged by analyzing and comparing the convergence curves of the optimal values of the five resolution algorithms.

4.2.1. Model and Algorithm Parameter Settings

To ensure the accuracy of conflict resolution, a 600 m × 600 m square airspace is divided into 600 × 600 small grids of 1 m × 1 m. The base radius of the cylindrical outer protection zone of the UAV is set to 100 m, the base radius of the inner protection zone is set to 50 m, and the cruising speed of the UAV is set to 20 m per hour. Based on this model, three types of differential evolution algorithms are adopted to adjust the heading and speed of conflicting UAVs in a composite manner to resolve flight conflicts. The initial parameters of the three DE algorithms are shown in Table 2:

4.2.2. Two-Aircraft Conflict Scenario Simulation Experiment

The starting and ending positions of UAV1 are (0, 300) and (600, 300), respectively, while those of UAV2 are (600, 300) and (0, 300), respectively. The two UAVs have a heading angle of 180°, simulating a head-on conflict. The optimal value convergence curves of the three DE algorithms are compared in Figure 11, and the distance between UAVs during the simulation process is shown in Figure 12.

4.2.3. Three-Aircraft Conflict Scenario Simulation Experiment

The starting and ending positions of UAV1 are (0, 0) and (600, 600), respectively, those of UAV2 are (600, 0) and (0, 600), respectively, and those of UAV3 are (300, 600) and (300, 0), respectively. The three UAVs are heading at an angle of 120° toward each other, simulating a three-aircraft cross conflict.
In the three-aircraft conflict, since there are multiple aircraft in the resolution process, the resolution results lead to different changes in heading and speed for each UAV. One UAV completes the resolution first, with the aim of increasing the resolution rate and preventing UAVs from remaining in an unsafe state for a long period of time. Then, the three DE algorithms continue to be applied for the second round of resolution to the remaining two UAVs. The results of the two resolution simulations are shown in Figure 13, Figure 14 and Figure 15.

4.2.4. Our-Aircraft Conflict Scenario Simulation Experiment

The starting and ending positions of UAV1 are (0, 300) and (600, 300), respectively, those of UAV2 are (600, 300) and (0, 300), respectively, those of UAV3 are (300, 0) and (300, 600), respectively, and those of UAV4 are (300, 600) and (300, 0), respectively. The heading angles between the four UAVs are 90° to each other.
As before, in the four-aircraft conflict, due to multiple aircraft in the resolution process, the resolution results lead to different changes in heading and speed for each UAV. The algorithm first completes the conflict resolution for two of the UAVs, in order to increase the resolution rate and prevent UAVs from remaining in an unsafe state for a long time. Therefore, the three DE algorithms continue to be applied for the second round of resolution to the remaining two UAVs. The results of the two resolution simulations are shown in Figure 16, Figure 17 and Figure 18.

4.2.5. Experimental Result Analysis:

By analyzing the optimal value convergence curves of the three DE algorithms, it can be concluded that in different conflict scenarios, the ADE algorithm enhances performance on the basis of the traditional DE algorithm by adjusting the parameters of mutation rate and crossover rate. Nonetheless, the HIDE algorithm enhances performance even more by introducing an adaptive adjustment mechanism for parameters, a redundant evaluation mechanism, and a confidence level-based selection strategy. Not only that, the computational efficiency and the conflict resolution effectiveness are better when compared to both the ADE algorithms and traditional DE algorithms. By comparing the convergence curves of the optimal values with those of GA and ACO, it can be seen that the mixed improved differential evolution algorithm has superior convergence and optimal values compared to GA and ACO. This effect is particularly evident in the resolution of conflicts in complex multi-aircraft scenarios.
Analyzing the distance curves reveals that during the resolution process of the HIDE algorithm, only the optimal value of the fitness function for the second resolution in the three-aircraft conflict is 194.29, and all other optimal values are greater than 200, ensuring the effectiveness of the UAV conflict resolution. Analysis of the distance curves during the resolution process reveals that the minimum distances between UAVs in the three scenarios are 137.08, 132.50, and 126.56, respectively, all of which did not invade the inner protection zone of the UAVs. This ensures the rapid and accurate conflict resolution under the premise of UAV flight safety. For multi-aircraft conflict resolution through two rounds of DE algorithms, it fully utilizes the advantage of DE algorithms in solving continuous optimization problems and reflects the advantage of the HIDE algorithm in resolving complex conflict scenarios [22].

5. Conclusions

For conflict detection problems associated with large numbers of UAVs in battlefield airspace, a detection method based on tensor Hadamard product operation and prime factorization has been proposed. By constructing UAV protection zone models and dividing the airspace into grids, using grids to characterize the UAV protection zones, and utilizing tensor operations and the properties of composite prime factorization, it is possible to detect conflicts between UAVs with just one calculation, regardless of the number of UAVs. This reduces the complexity of conflict detection calculations from O ( C n n 1 ) to O ( n 1 ) , overcoming the problems of complicated computation and long time consumption of the traditional detection method. For high-density UAV conflicts, simulation results indicate that this method significantly improves the efficiency of conflict detection among large numbers of UAVs, greatly reducing program runtime and enhancing detection efficiency during large-scale UAV operations.
Regarding the UAV conflict resolution issue, this paper has leveraged the advantages of DE algorithms in solving continuous optimization problems for simulated resolution. By introducing three strategies—adaptive parameter adjustment, redundant evaluation mechanisms, and confidence level-based selection strategies—improved hybrid DE algorithms are proposed. The simulation results demonstrate that this approach greatly enhances the resolution capability of DE algorithms. It also shows good convergence and accuracy in resolving complex conflict scenarios such as three-aircraft and four-aircraft conflicts, which is of great significance for resolving various conflicts involving large numbers of UAVs in battlefield airspace.

Author Contributions

Validation, J.Y.; Formal analysis, Y.J.; Data curation, L.M.; Writing—original draft, Z.Z.; Writing—review & editing, G.Z. and Y.W. All authors have read and agreed to the published version of the manuscript.

Funding

This research received no external funding.

Data Availability Statement

Data is contained within the article.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Xie, J.; Fang, S. A Brief Discussion on the Military Application of Consumer Grade UAVs. Mil. Dig. 2024, 3, 30–35. [Google Scholar]
  2. Bilimoria, K. A geometric optimization approach to aircraft conflict resolution. In Proceedings of the 18th Applied Aerodynamics Conference, Denver, CO, USA, 14–17 August 2000; AIAA: Chengdu, China, 2000; p. 4265. [Google Scholar]
  3. Dang, S. Research on UAV Conflict Detection and Collision Avoidance Strategy Based on ADS-B. Bachelor’s Thesis, Civil Aviation University of China, Tianjin, China, 2022. [Google Scholar]
  4. Yang, Y.; Ma, B. Research on Multi-factor Flight Conflict Detection Strategy Based on Gaze Feature. China Saf. Sci. Technol. 2024, 20, 179–185. [Google Scholar]
  5. Jones, B.A.; Parrish, N.; Doostan, A. Postmaneuver Collision Probability Estimation Using Sparse Polynomial Chaos Expansions. J. Guid. Control. Dyn. A Publ. Am. Inst. Aeronaut. Astronaut. Devoted Technol. Dyn. Control. 2015, 38, 1425–1437. [Google Scholar] [CrossRef]
  6. Yao, C.; Lin, L.; Li, N. Application of Genetic Algorithm in Multi-aircraft Flight Conflict Resolution. Mini-Micro Syst. 2022, 38, 28–31. [Google Scholar]
  7. Zhang, H.; Gan, X.; Xin, J.; Liu, Y.; Chen, X. Multi-aircraft Conflict Resolution Algorithm Based on Cooperative Game Theory. J. Beijing Univ. Aeronaut. Astronaut. 2022, 48, 863–871. [Google Scholar]
  8. Dong, H. Research on UAV Conflict Resolution Method Based on Improved Sparrow Search Algorithm. Bachelor’s Thesis, Hebei University of Science and Technology, Shijiazhuang, China, 2023. [Google Scholar]
  9. Zhen, R.; Wang, P.; Wu, X.; Wu, X. UAV Conflict Resolution Method Based on Quantum Genetic Algorithm. Sci. Technol. Eng. 2020, 20, 6963–6969. [Google Scholar]
  10. Jie, D.; Tang, X.; Chen, J.; Li, T. Research on Multi-UAV Conflict Resolution Technology Based on Improved Ant Colony Algorithm. J. Wuhan Univ. Technol. (Transp. Sci. Eng. Ed.) 2020, 44, 141–146+152. [Google Scholar]
  11. Liu, X.; Xiao, G. Flight Conflict Resolution and Trajectory Recovery Through Mixed Integer Nonlinear Programming Based on Speed and Heading Angle Change. Transp. Res. Rec. 2024, 2678, 751–775. [Google Scholar] [CrossRef]
  12. Wu, M.; Yang, W.; Bi, K.; Wen, X.; Li, J. Conflict Resolution Strategy Based on Flight Conflict Network Optimal Dominating Set. Int. J. Aerosp. Eng. 2022, 9747531. [Google Scholar] [CrossRef]
  13. Liu, J.; Jiang, L.; Liu, Y.; Zhang, X. Overview of UAV Conflict Detection and Resolution Technology Research. Sci. Technol. Eng. 2023, 23, 11081–11089. [Google Scholar]
  14. Liu, Z.; Nan, Y.; Xie, R. Airspace Conflict Detection Method Based on Divided Grid. Nav. Sci. Technol. 2022, 42, 157–162. [Google Scholar]
  15. Qu, K.; Zhao, G.; Zhang, Y.; Wu, Y.; Wei, X.; OuYang, W. Airspace Conflict Detection Method Based on Matrix Hadamard Product Operation. J. Air Force Eng. Univ. 2023, 24, 55–63. [Google Scholar]
  16. Xu, Y. Hadamard Product of Tensors and Its Applications. Bachelor’s Thesis, Yunnan University, Kunming, China, 2016. [Google Scholar]
  17. Kenneth, H.R. Elementary Number Theory and Its Applications; Xia, H., Translator; Mechanical Industry Press: Beijing, China, 2015. [Google Scholar]
  18. Li, Y. Research on Optimization Method of Differential Evolution and Its Application in Flight Conflict Resolution. Ph.D. Thesis, Sichuan University, Chengdu, China, 2023. [Google Scholar]
  19. Yuan, Y.; Dong, Z. Differential Evolution Algorithm Based on Adaptive Multi-mutation and Its Application. Sci. Technol. Innov. 2024, 12, 104–107. [Google Scholar]
  20. Bi, K.; Wu, M.; Wen, X.; Zhang, W.; Yang, W. Modeling and analysis of flight conflict network based on velocity barrier method. Syst. Eng. Electron. Technol. 2021, 43, 2163–2173. [Google Scholar]
  21. Xie, H.; Su, F.; Yin, J.; Han, S.; Zhang, X. Network modeling and refined management of UAV flight conflicts in complex low altitude airspace. Acta Aeronaut. Et Astronaut. Sin. 2023, 44, 328226. [Google Scholar]
  22. Wang, S.; Li, Y.; Xiong, Q.; Yang, H. Research on Flight Conflict Resolution Method Based on Mixed Differential Evolution and Rat Swarm Optimization Algorithm. Eng. Sci. Technol. 2024, 1–18. [Google Scholar]
Figure 1. Airspace latitude and longitude division model and encoding.
Figure 1. Airspace latitude and longitude division model and encoding.
Aerospace 11 01008 g001
Figure 2. Projection of UAV protection zone in three-dimensional operational airspace.
Figure 2. Projection of UAV protection zone in three-dimensional operational airspace.
Aerospace 11 01008 g002
Figure 3. Frontal projection of UAV protection zone assignment.
Figure 3. Frontal projection of UAV protection zone assignment.
Aerospace 11 01008 g003
Figure 4. Side projection of UAV protection zone assignment.
Figure 4. Side projection of UAV protection zone assignment.
Aerospace 11 01008 g004
Figure 5. Process of flight conflict detection method.
Figure 5. Process of flight conflict detection method.
Aerospace 11 01008 g005
Figure 6. Process flow diagram of the improved differential evolution algorithm with hybrid strategy.
Figure 6. Process flow diagram of the improved differential evolution algorithm with hybrid strategy.
Aerospace 11 01008 g006
Figure 7. Comparison of detection times using four methods.
Figure 7. Comparison of detection times using four methods.
Aerospace 11 01008 g007
Figure 8. Comparison of detection times using four methods.
Figure 8. Comparison of detection times using four methods.
Aerospace 11 01008 g008
Figure 9. Comparison of the number of conflicts detected using two methods.
Figure 9. Comparison of the number of conflicts detected using two methods.
Aerospace 11 01008 g009
Figure 10. Partial screenshot of the UAV conflict resolution simulation process.
Figure 10. Partial screenshot of the UAV conflict resolution simulation process.
Aerospace 11 01008 g010
Figure 11. Comparison of optimal value convergence curves for two-aircraft conflict resolution.
Figure 11. Comparison of optimal value convergence curves for two-aircraft conflict resolution.
Aerospace 11 01008 g011
Figure 12. Distance curve between UAVs during two-aircraft conflict resolution.
Figure 12. Distance curve between UAVs during two-aircraft conflict resolution.
Aerospace 11 01008 g012
Figure 13. Comparison of optimal value convergence curves for the first resolution of a three-aircraft conflict.
Figure 13. Comparison of optimal value convergence curves for the first resolution of a three-aircraft conflict.
Aerospace 11 01008 g013
Figure 14. Comparison of optimal value convergence curves for the second resolution of a three-aircraft conflict.
Figure 14. Comparison of optimal value convergence curves for the second resolution of a three-aircraft conflict.
Aerospace 11 01008 g014
Figure 15. Distance curve between UAVs during three-aircraft conflict resolution.
Figure 15. Distance curve between UAVs during three-aircraft conflict resolution.
Aerospace 11 01008 g015
Figure 16. Comparison of optimal value convergence curves for the first resolution of a four-aircraft conflict.
Figure 16. Comparison of optimal value convergence curves for the first resolution of a four-aircraft conflict.
Aerospace 11 01008 g016
Figure 17. Comparison of optimal value convergence curves for the second resolution of a four-aircraft conflict.
Figure 17. Comparison of optimal value convergence curves for the second resolution of a four-aircraft conflict.
Aerospace 11 01008 g017
Figure 18. Distance curve between UAVs during four-aircraft conflict resolution.
Figure 18. Distance curve between UAVs during four-aircraft conflict resolution.
Aerospace 11 01008 g018
Table 1. Performance parameter table of a certain type of UAV.
Table 1. Performance parameter table of a certain type of UAV.
Performance IndicatorsParameters
protection zone sizeradius (R) = 100 m
cruising speed20 m/s
climb rate10 m/s
maximum range25 km
UAV dimensionslength 81 cm, width 67 cm, height 43 cm
Table 2. Initial parameter table of differential evolution algorithms.
Table 2. Initial parameter table of differential evolution algorithms.
Parameters
iterations50
population size20
initial mutation factor0.8
initial crossover probability0.7
mutation factor adaptability0.1
crossover probability adaptability0.1
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Zhou, Z.; Zhao, G.; Jiang, Y.; Wu, Y.; Yang, J.; Meng, L. Research on UAV Conflict Detection and Resolution Based on Tensor Operation and Improved Differential Evolution Algorithm. Aerospace 2024, 11, 1008. https://doi.org/10.3390/aerospace11121008

AMA Style

Zhou Z, Zhao G, Jiang Y, Wu Y, Yang J, Meng L. Research on UAV Conflict Detection and Resolution Based on Tensor Operation and Improved Differential Evolution Algorithm. Aerospace. 2024; 11(12):1008. https://doi.org/10.3390/aerospace11121008

Chicago/Turabian Style

Zhou, Zhichong, Guhao Zhao, Yiru Jiang, Yarong Wu, Jiale Yang, and Lingzhong Meng. 2024. "Research on UAV Conflict Detection and Resolution Based on Tensor Operation and Improved Differential Evolution Algorithm" Aerospace 11, no. 12: 1008. https://doi.org/10.3390/aerospace11121008

APA Style

Zhou, Z., Zhao, G., Jiang, Y., Wu, Y., Yang, J., & Meng, L. (2024). Research on UAV Conflict Detection and Resolution Based on Tensor Operation and Improved Differential Evolution Algorithm. Aerospace, 11(12), 1008. https://doi.org/10.3390/aerospace11121008

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop