Next Article in Journal
Wind Tunnel Investigation of the Icing of a Drone Rotor in Forward Flight
Next Article in Special Issue
Unmanned Aerial Vehicle Obstacle Avoidance Based Custom Elliptic Domain
Previous Article in Journal
Reinforcement-Learning-Based Multi-UAV Cooperative Search for Moving Targets in 3D Scenarios
Previous Article in Special Issue
Research on Unmanned Aerial Vehicle (UAV) Visual Landing Guidance and Positioning Algorithms
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

A Heuristic Routing Algorithm for Heterogeneous UAVs in Time-Constrained MEC Systems

1
School of Computer Science and Engineering, Southeast University, Nanjing 211189, China
2
Key Laboratory of New Generation Artificial Intelligence Technology and Its Interdisciplinary Applications (Southeast University), Ministry of Education, Nanjing 211189, China
*
Author to whom correspondence should be addressed.
Drones 2024, 8(8), 379; https://doi.org/10.3390/drones8080379
Submission received: 21 June 2024 / Revised: 31 July 2024 / Accepted: 3 August 2024 / Published: 6 August 2024
(This article belongs to the Special Issue Path Planning, Trajectory Tracking and Guidance for UAVs)

Abstract

The rapid proliferation of Internet of Things (IoT) ground devices (GDs) has created an unprecedented demand for computing resources and real-time data-processing capabilities. Integrating unmanned aerial vehicles (UAVs) into Mobile Edge Computing (MEC) emerges as a promising solution to bring computation and storage closer to the data sources. However, UAV heterogeneity and the time window constraints for task execution pose a significant challenge. This paper addresses the multiple heterogeneity UAV routing problem in MEC environments, modeling it as a multi-traveling salesman problem (MTSP) with soft time constraints. We propose a two-stage heuristic algorithm, heterogeneous multiple UAV routing (HMUR). The approach first identifies task areas (TAs) and optimal hovering positions for the UAVs and defines an effective fitness measurement to handle UAV heterogeneity. A novel scoring function further refines the path determination, prioritizing real-time task compliance to enhance Quality of Service (QoS). The simulation results demonstrate that our proposed HMUR method surpasses the existing baseline algorithms on multiple metrics, validating its effectiveness in optimizing resource scheduling in MEC environments.

1. Introduction

Mobile Edge Computing (MEC) provides high-speed processing and large-scale distributed computing capabilities for many typical computing-intensive applications, such as automatic navigation, augmented reality, and remote control aircraft [1]. The implementation of MEC relies on dispersed large-scale IoT devices and their wireless communication. The number of global IoT devices has increased rapidly in recent years [2]. The increase in a large number of IoT devices has brought new challenges to mobile communication and service quality. At the same time, due to the limited computing power of IoT devices, additional computing resources are needed to support the effectiveness of services. In this context, UAVs have aroused significant research interest in academia due to their high maneuverability. As a result, UAV-assisted MEC has emerged as a prominent area of study [3]. Meanwhile, the short-range communication characteristics of the UAV means that it cannot transmit data over limited resources over long distances. This requires the dispatch of UAVs to IoT-device-intensive areas through task allocation, path planning, and trajectory optimization to assist in completing tasks.
This paper considers assigning multiple UAVs to multiple task clusters for auxiliary calculations, and effectively formulating UAV flight routes through a heuristic strategy. Taking into account the different flight capabilities of the UAV and the constraints of the task time window, the goal of maximizing the QoS is achieved. In this paper, we consider both the number of tasks resolved by users and the data throughput in relay communications as elements of the Quality of Service (QoS) considerations. To our best knowledge, in the MTSP, the vast majority of UAVs studied are isomorphic [2]. However, there are many UAV manufacturers, and there is no fixed unified standard for the UAVs produced, so the heterogeneous UAV model used in this article has different flight capabilities, i.e., maximum flight coverage [4], to adapt to different UAVs produced by different manufacturers, so that various types of UAVs can be applied to our solution. Meanwhile, compared to previous studies on static environmental systems, we consider the real-time constraints of tasks generated by GDs, which means that the UAVs can only serve tasks during the open time window of the task. Real-time tasks are widely present in real environments, such as a traffic intersection having a large amount of traffic flow during specific time periods and a company’s security system needing to monitor a certain area at specific times every day. We model the UAV routing problem with the above characteristics as a heterogeneous multi-traveling salesman routing problem with soft time constraints. Based on the NP-hard characteristics of the traveling salesman problem (TSP) and the MTSP, the heterogeneous multiple traveling salesman routing problem (HMTSRP) is also NP-hard. For UAV-assisted MEC, as shown in Figure 1, the UAV departs from the airport, is deployed to a TA, that is an area where a large number of GDs are concentrated, interacts with the GD, and offloads tasks to the base station.
Providing high QoS for GDs in this model is a challenging issue: (a) A large number of dispersed GDs may make it difficult to determine the TAs, further leading to difficulties in selecting the optimal hovering position. (b) The heterogeneity of UAVs results in different flight capabilities, can lead to different results when different UAVs perform the same task combination, and significantly increase the solution space of the allocation strategy, then making the allocation of UAVs a difficult problem. (c) The time window constraint of a task defines the time it can be served, making it necessary to consider the time factor in UAV path planning. Only by scheduling the UAV to the task location within the time window can effective service be provided.
For the challenges mentioned above, we propose a heuristic UAV scheduling algorithm, referred to as HMUR, for the problem under study. The main contributions are as follows:
  • The task allocation and path planning problem of heterogeneous UAVs in MEC systems is modeled as a heterogeneous MTSP with soft time constraints, which is an NP-hard problem. This article proposes a solution called HMUR, which applies a two-stage heuristic algorithm to obtain an approximate optimal solution for improving the QoS.
  • Using the k-means clustering method to cluster the geographic coordinates of a large number of GDs solves the problem of too many IoT devices.
  • A method for calculating the fitness between heterogeneous UAVs with different flight capabilities and different task assignments is proposed to determine UAV allocation under resource constraints.
  • The time window constraint of the task is considered, and a heuristic method is used to formulate travel paths within the responsibility range of each UAV to achieve a higher QoS.
The rest of this paper is organized as follows. Section 2 reviews the existing literature on the problem under study. Section 3 proposes a modeling method for the system, and the problem is described and formulated. Section 4 introduces the HMUR algorithm proposed in this paper. Section 5 shows the experimental results, and Section 6 provides the conclusion.

2. Related Work

In a MEC environment assisted by UAVs, many studies focus on path planning, trajectory optimization, task offloading strategies, and other aspects of UAVs. In this section, we discuss the achievements of existing research and analyze the focus that can be further studied.
The integration of energy-efficient routing protocols is a critical issue in prolonging the operating time of UAVs [5]. The research focuses primarily on the following areas: Energy-Aware Routing Protocol (AODV [6]): This protocol extends the overall network lifetime by prioritizing UAVs with a higher remaining energy to transmit data. Location-Aware Routing Protocol (GPSR [7]): This protocol uses a greedy algorithm to select the node closest to the destination, thereby reducing data transmission distance and energy consumption. Cluster-Based Routing Protocol [8]: This protocol extends the lifetime of the UAV network by periodically rotating the cluster heads to balance energy consumption. Hybrid Routing Protocol (ZRP [9]): This protocol combines reactive and proactive routing mechanisms and dynamically selects the optimal routing strategy based on the distance between nodes and their energy status. Security is another critical concern in UAV-assisted MEC systems, where the integrity and confidentiality of data transmission must be maintained. Ensuring secure communication involves implementing robust encryption methods and secure communication protocols. Using advanced cryptographic techniques and secure transmission channels [10,11], the risk of data breaches and unauthorized access can be minimized.
Regarding the routing issue of a single UAV, Dariush Ebrahimi et al. [12] proposed a reinforcement learning method to enable UAVs to autonomously locate and formulate trajectories within the task area; this work improved the positioning accuracy of multiple objects while considering time and path length to reduce UAV energy consumption. Liang Zhang et al. [13] proposed an energy-efficient trajectory-optimization scheme for UAVs based on reinforcement learning; they jointly applied reinforcement learning methods to solve formulaic optimization problems, considering the average data rate, total energy consumption, and coverage fairness of IoT terminals to optimize the trajectory design of UAVs. Marceau Coupechoux et al. [14] proposed an algorithm based on the Hamilton Jacobi equation to solve the single UAV-trajectory-optimization problem. This work finds the optimal trajectory to minimize costs while considering velocity and service traffic.
Many studies on routing and trajectory optimization for multiple UAVs have received attention. Kai Wang et al. [15] proposed an iterative algorithm and made the first attempt to solve the collaborative path planning problem of multiple unmanned aerial vehicles. This work successfully transforms the problem into an integer linear programming problem by creating a new directed acyclic graph of the UAV state transition and proposes an iterative algorithm with a constant approximation ratio to solve this problem. Abhishek Bera et al. [16] modeled the multi-UAV path planning problem as a capacitated single-depot vehicle-routing problem (CSDVRP) and proposed a routing-adjustment algorithm to optimize the trajectory of the UAVs; this algorithm considers the trade-off between different activation modes of IoT devices and UAV travel time. Yejun He et al. [17] investigated a 3D multi-UAV trajectory optimization based on GDs selecting the target UAV for task computing; this algorithm theoretically derives and proves an optimal selection and uninstallation strategy for IoT devices. Hongyue Wu et al. [18] proposed an improved tabu search algorithm under the background of UAV-assisted edge computing, focusing on path planning, while effectively optimizing the number of UAVs to speed up the unloading of computing tasks. Xiaohan Qiu et al. [19] proposed an integrated host and content-centric routing mechanism that takes advantage of both mechanisms to address the issues of multi-UAV formation and integrated management. Hao Song et al. [20] modeled the UAV network using the Poisson clustering process, divided the UAV network into multiple clusters, and designed an enhanced flood routing protocol based on random network coding and clustering to achieve efficient routing management of the UAV cluster network. Anna Gaydamaka et al. [21] proposed a dynamic topology organization and maintenance method for UAV swarms and, based on this, designed advanced functions for dynamic cluster merging and separation, making it suitable for practical applications. Xutong Yang et al. [22] proposed an adaptive routing scheme based on the Bodies mobile model to complete the task of efficient unmanned aerial vehicle (UAV) networks. They developed a biologically inspired Bodies-based Social Force Model (BSFM) and designed an adaptive UAV routing scheme to improve the communication performance of the UAV network while maintaining the topology. Mohammed Gharib et al. [23] proposed a method based on linear programming modeling to address the problem of a self-organizing unmanned-aerial-vehicle-routing protocol to find the shortest path. Pengcheng Zhao et al. [24] proposed a blockchain and deep Q-network (DQN) co-evolutionary routing (BDCoER) scheme for UAV networks, which completes the path co-evolution of the entire network based on each UAV training its own DQN model.
Many works on collision avoidance in UAV routing also have achieved accomplishments. Yu-Hsin Hsu et al. [25] proposed a reinforcement learning method to help UAVs learn collision avoidance without prior knowledge of other UAV paths, while using optimization theory to find the shortest backward path for each UAV to ensure that the UAV collects data from all relevant IoT devices. Jinyu Fu et al. [26] proposed a multi-layer projection clustering algorithm for multiple UAVs, developed a straight-line flight judgment to reduce the computational complexity of obstacle avoidance, and proposed an improved adaptive window probability roadmap algorithm to plan obstacle avoidance paths.
Table 1 shows a comparison between some related work and the work of this paper. The comparison of some related works with certain features of this paper, including the methods, the number of drones, and whether the drones are heterogeneous, reveals that many studies on multiple UAVs consider UAVs that are isomorphic, with identical battery capacity, signal transmission power, CPU operating speed, and so on. To better fit the actual situation and enrich the diversity of choices, we introduce the heterogeneity of UAVs in this study and then consider routing decisions for multiple UAVs. At the same time, we consider the real-time characteristics of the task based on the static MEC environment, to be closer to the real situation of UAV-assisted MEC.

3. System Model

In our proposed algorithm, each GD possesses an auxiliary calculation task. These tasks should be offloaded to the high-computing-ability base station (BS) by choosing proper UAVs as the relay devices, so as to optimize the QoS performance metrics (i.e., the number of tasks to be solved and the amount of offloaded workload). Several essential factors are included in the process, such as the number of tasks, the amount of offloaded workload, energy consumption, and the number of dispatched UAVs. We simulated this problem by establishing the following models: (a) scenario model, (b) communication model, (c) task-assisted model, and (d) energy consumption model.
The notations to be used are listed in Notations section.

3.1. Scenario Model

As illustrated in Figure 2, we abstracted the entire environment into two parts: the air part and the ground part; GDs are fixed in the ground part and clustered as TAs, generating tasks waiting for UAV-assisted computation; D = { d 1 , d 2 , , d M } denotes a collection of M GDs. Each GD is identified by a unique number, and a location is provided in the system. In this system, to simplify the computation, we assumed that each GD only generates one task within the same time interval, i.e., A = { a 1 , a 2 , , a M } ; task set A corresponds one-to-one to GD set D. Each task a i A is restricted by a real-time window δ i = [ δ i s t a r t , δ i e n d ] during which the task can only be performed. L i represents the workload of task a i .
Due to the large number of GDs, we need to identify TAs containing several GDs in the environment as a prerequisite for dispatching UAVs, i.e., B = { b 1 , b 2 , , b N } denotes N TAs. Due to our simplified model, tasks correspond one-to-one to the GDs, and we can consider that each TA contains several tasks, i.e., B n = { a 1 n , a 2 n , . . . , a s n } indicates that TA b n contains a total of s tasks. For each TA, we determine a unique hover position to facilitate UAV positioning services. In addition, the BS and airport (AP) are also fixed on the ground, representing high-computing-power service base stations and UAV aprons, respectively.
In the air part, U = { u 1 , u 2 , , u K } denotes K UAVs moving in the air. In this paper, task allocation and path planning are performed on them.

3.2. Communication Model

Based on many previous studies, such as [2,3,16,27,28], we used the air-to-ground (ATG) [2] LoS channel probability model to simulate the communication between the UAV and the GD. Let ( x k U ( t ) , y k U ( t ) , h k U ( t ) ) and ( x i D , y i D , 0 ) denote the coordinates of UAV u k and GD d i at time t; the Euclidean distance between them can be calculated as
d i k D U ( t ) = ( x k U ( t ) x i D ) 2 + ( y k U ( t ) y i D ) 2 + ( h k U ( t ) ) 2
The average path loss between UAV u k and GD d i can be expressed as a probability-averaged ATG-LOS model [2,16] into
P L i k ¯ = P r i k L o S P L i k L o S + P r i k N L o S P L i k N L o S
where P L i k L o S and P L i k N L o S are the pass loss for the LoS and Non-Line of Sight (NLoS) link and P r i k L o S and P r i k N L o S denote the probabilities of LoS communication and NLoS communication, respectively. P L i k L o S and P L i k N L o S are given as
P L i k L o S = 20 log 10 4 π f c d i k D U ( t ) c + η L o S
P L i k N L o S = 20 log 10 4 π f c d i k D U ( t ) c + η N L o S
where f c is the carrier frequency, c is the velocity of light, and η L o S and η N L o S are the average additional loss for LoS and NLoS, respectively. P r i k L o S and P r i k N L o S are given as
P r i k L o S = ( 1 + X [ Y ( θ i k X ) ] ) 1
P r i k N L o S = 1 P r i k L o S
where X and Y are the environmental constants, depending on the environmental condition in which the system is located. θ i k is the elevation angle between GD d i and UAV u k . It is expressed in radians, as
θ i k = 180 π arcsin h k U ( t ) d i k
Therefore, the data transfer rate (in bps) between GD d i and UAV u k is
R i k D U = B 0 log 2 ( 1 + P i D / P L i k ¯ σ 2 )
According to the orthogonal frequency-division multiple access (OFDMA) communication [2], B b w is the total channel bandwidth, B 0 b w = B b w / k 0 , k 0 is the number of GDs serviced simultaneously, P i D is the transmission power of GD d i , and σ 2 is the noise power.
Similarly, the transmission rate R k U B of the offloaded data from the UAV to the BS is calculated by
R k U B = B 0 b w log 2 ( 1 + P k U / P L k ¯ σ 2 )
where P k U is the transmission power of UAV u k .

3.3. Task-Assisted Model

This work considers using UAVs as mobile relay points, which means that tasks can be offloaded from UAV relays to the BS for computation. As in many previous studies [2,29,30], because its size is much smaller than the data size that must be offloaded, we ignored the delay in sending the data results from the BS back to the UAV and from the UAV back to the GD.
This work divides the working time of the entire system into several parts of a sufficiently small constant δ t of equal size and considers that the UAV is stationary within a time slot. Due to our communication being divided into two parts, GD to UAV and UAV to BS, we divided a time slot into the two same parts, i.e., UAV u k assists task a i in offloading data, and we have δ i k D U + δ k U B = δ t , where δ i k D U is the time that GD d i offloads data to UAV u k . δ k U B is the time that UAV u k offloads data to BS. To ensure the complete processing of a portion of data within one time slot, i.e., the amount of data processed in both parts is the same, the time relationship between the two parts should meet
δ i k D U R i k D U ( t ) = δ i k U B R k U B ( t )
Based on the above, there are
δ i k D U = δ t · R k U B ( t ) R k U B ( t ) + R i k D U ( t )
δ i k U B = δ t · R i k D U ( t ) R k U B ( t ) + R i k D U ( t )
At this point, the amount of data processed within one time slot, i.e., single time slot data processing speed, is represented as
β i k = δ t · R i k D U ( t ) R k U B ( t ) R i k D U ( t ) + R k U B ( t )
The service duration of UAV u k for GD d i is t i k = L i / β i k , where L i is the amount of data that needs to be offloaded by d i . At this point, the total duration of the UAV u k hovering over TA b j is
t k j h o v e r = max d i b j t i k
The total flight time of UAV u k from TA b p to TA b q is t p q k = v k × D p q , where D p q is the Euclidean distance between TAs b p and b q .

3.4. Energy Consumption Model

Due to the fact that the communication energy consumption of the UAVs is much lower than that of motion (including traveling and hovering), we ignore the communication energy consumption of the UAVs. Therefore, the energy consumption of UAV u k executing tasks along the path r k is expressed as
E k t o t a l = E k t r a v + E k h o v e r
Based on the alternate fixed rotary wing UAV energy consumption calculation method [2,31] used, when UAV travels at velocity v, the unit time flight energy consumption is
P ( | | v | | ) = P 0 ( 1 + 3 | | v | | 2 U t i p 2 ) + P i ( 1 + | | v | | 4 4 v 0 4 | | v | | 2 2 v 0 2 ) 1 2 + 1 2 d 0 ρ s A | | v | | 3
where P 0 , P i , v 0 , U t i p 2 , d 0 , ρ , s, and A are the aerodynamic parameters of the UAV. Specific definitions and settings can be found in Table 2. Then, the total flight energy consumption of UAV u k is measured by
E k = δ t n = 1 N P ( | | v | | )

3.5. Problem Formulation

To optimize the QoS with the restriction of energy consumption and the number of dispatched UAVs, a soft time constraint model named HMTSRP is proposed as follows. We define
Y t o t a l = i A x i
L t o t a l = i A x i L i
Among these, Y t o t a l represents the total number of serviced tasks, L t o t a l represents the total amount of offloaded data workload for serviced tasks, and L i represents the amount of data offloaded by task a i . Boolean variable x i indicates whether task a i is served by the UAV:
x i = 0 , if a i is not be served , 1 , if a i is served .
Therefore, we formulate a minimization problem as
P 1 : max Y t o t a l
P 2 : max L t o t a l
s . t . C 1 : E k t o t a l E k m a x , u k U
C 2 : q k [ 0 ] = q A P , u k U
C 3 : q k [ n ] = q A P , u k U
C 4 : j = 1 , j j | | B | | ϕ ( b j , b j ) = 1
C 5 : j = 1 , j j | | B | | ϕ ( b j , b j ) = 1
(21a) and (21b) are the optimization objectives, maximizing the total number of service tasks and data offloading, subject to the following: (21c) represents the battery capacity constraint for the UAVs; (21d) and (21e) represent the starting and ending points of the UAVs, which must be the AP; among these, q k [ n ] is the position of UAV u k at time n and q A P is the location of the AP; (21f) and (21g) represent that, for all TAs, there only exist one departure and one arrival for one UAV, respectively. The definition of Boolean variable ϕ ( b j , b j ) is as follows:
ϕ ( b j , b j ) = 1 , if UAV selects path from b j to b j , 0 , otherwise .

4. Problem Analysis and Solution Approach

In order to effectively allocate tasks to BSs for computation by relaying among multiple UAVs with different capacities, a three-step algorithm named HMUR is proposed in this paper. HMUR consists of three steps: (a) TA determination: establishing TAs for related GDs and determining the optimal hover positions of UAVs; (b) UAV allocation: assigning TAs to suitable UAVs; (c) subpath determination: determining the final task execution path for each UAV.

4.1. HMUR

Algorithm 1 shows the framework of HMUR. Throughout the entire process, HMUR first applies the k-means clustering algorithm to cluster the geographic coordinates of the GD and uses its clustering center as the optimal hover location. Secondly, HMUR executes Algorithm 2 for the UAV allocation to perform tasks. Finally, HMUR executes Algorithm 3 to determine the final subpath for each UAV.
In this process, we consider using energy consumption as a constraint for task partitioning in Algorithm 2 to ensure that at least one route for the UAV to be able to complete the designated task. Meanwhile, we use the QoS as an evaluation metric in Algorithm 3 to determine the final subpath, to optimize the service QoS as much as possible within the allowable range of energy consumption.
Algorithm 1 HMUR algorithm.
Input: D, A, and U;
Output: Final subpath set R;
1:
k-means clustering algorithm generates B from D and determines the optimal hover position
2:
Algorithm 2 determines UAV allocation for B
3:
Algorithm 3 determines the final subpath set R
4:
return Final subpath set R
Algorithm 2 UAV  allocation.
Input: B, U;
Output: Allocation set K for UAV;
1:
Generate graph G from B
2:
Generate minimum spanning tree T M S T from G
3:
Generate set of odd degree vertices O from T M S T
4:
Find minimum weight matching M from O
5:
Merge T and M to generate Eulerian circuit H E U L A R
6:
Generate Hamiltonian circuit R C from H E U L A R
7:
n u m = 0
8:
while n u m < l e n ( R C ) do
9:
    b s t a r t = R C [ n u m ]
10:
   for  u k U  do
11:
     Simulate travel from b s t a r t , and generate B k
12:
     Record f k
13:
   end for
14:
   Choose u b e s t with f b e s t for n TAs that it covered
15:
   Generate B b e s t , and allocate u b e s t for B b e s t
16:
   Add B b e s t to K
17:
   Remove u b e s t from U
18:
    n u m = n u m + n
19:
end while
20:
return Allocation set K
Algorithm 3 Subpath  determination.
Input: U, K;
Output: Final subpath set R;
1:
for B i K   do 
2:
  for all  b j B i  do
3:
     v i s i t [ b j ] = 0
4:
  end for
5:
  s t a r t = A P
6:
while  B i  do
7:
    for all  b j B i   do
8:
       if  v i s i t [ b j ] = = 0  then
9:
          Calculate S b j
10:
      end if
11:
    end for
12:
   Choose TA b h with the highest S b h as the target
13:
    v i s i t [ b h ] = 1
14:
    s t a r t = b h
15:
   Add b h to queue r i
16:
   Delete b h from B i
17:
  end while
18:
  if Energy consumption of r i exceeds the maximum energy consumption of u i  then
19:
      r i = predicted path generated by Algorithm 2
20:
  end if
21:
  Add r i to set R
22:
end for
23:
return R

4.2. TA Determination

Since there are numerous GDs in the MEC environment, it is not realistic to assign one UAV to each GD for auxiliary computation. Thus, GDs with close geographical coordinates are aggregated into TAs, which are served by UAVs within certain time periods. Under constant environmental factors, the data transmission rate is mainly related to the distance d i k D U ( t ) between UAV u k and GD d i . Obviously, the smaller d i k D U ( t ) is, the higher the transmission rate. Therefore, in TA b j , the optimal hover location is the position with the smallest distance from all GDs, and we formulate this problem as follows:
P 2 : min d i b j d i k D U ( t )
The k-means clustering algorithm [16,32] is adopted here to establish clusters (i.e., TAs) and determine the cluster centers (i.e., the optimal hover positions of UAVs). The assignment of a GD to a nearby TA is iteratively updated by k-means until convergence. Then, the point with the minimum sum of distances from all the other GDs within one TA is considered as the optimal hover position.

4.3. UAV Allocation

After obtaining the TAs, each UAV will be allocated to several TAs. Let K = { B 1 , B 2 , , B K } be the set of allocations of K UAVs, of which each element B k represents a mapping between u k and the TA set B k . Then, this paper takes the battery capacity carried by the UAV as a constraint and considers maximizing resource utilization for u k to execute tasks in B k . To ensure the continuity of UAV routes, a partitioning method is proposed by adding breakpoints to a single TSP path to partition TAs. Based on the Christofides approximation algorithm [16], an advanced fitness function f k is introduced to efficiently evaluate the allocation results in TAs of different heterogeneous UAVs.
Algorithm 2 employs the Christofides algorithm to obtain an approximate solution for the traveling salesman problem (TSP). This approach utilizes a minimum spanning tree, perfect matching, an Eulerian circuit, and a Hamiltonian circuit from graph theory to provide a suboptimal solution. As mentioned in previous research [16], the performance ratio of the Christofides algorithm does not exceed 1.5 compared to the optimal solution, and it is a constructive solution that can be solved within polynomial time.
As shown in Algorithm 2, after creating a complete TSP path R c by lines 1 to 6, some breakpoints are inserted to truncate the path into several predicted paths: when UAV u k travels along R C (denoting a TA sequence) and consumes energy during flight and mission execution; when a UAV finds that its energy consumption cannot reach the next TA and then returns to the AP, it will return to the AP and represent the TAs’ path that has performed for the task as r k . If u k travels along the route r k , the fitness can be designed as
f k = α × E k h o v e r E k t o t a l + ( 1 α ) × E k t o t a l E k m a x
where E k h o v e r represents the energy consumption of u k during task execution, E k t o t a l represents the total energy consumption of this travel path, and E k m a x represents the maximum battery capacity of u k . So, the effective energy consumption rate ρ k E = E k h o v e r / E k t o t a l . Due to the heterogeneity among UAVs, different UAVs executing tasks from the same route may insert virtual points into different positions (i.e., returning to the AP from different TA endpoints), resulting in different E k t r a v .
An example of Algorithm 2 is illustrated in Figure 3, Figure 4 and Figure 5. Assume that travel consumption is an integer, and temporarily assume that the hover consumption of UAV at each concerned TA is 10, i.e., the energy consumption occurring when a UAV resolves tasks at a specific TA. The UAV executes tasks in the order of ( A P b 1 ( T A 1 ) b 2 ( T A 2 ) b 3 ( T A 3 ) ) , and the energy consumption rate of each situation is ρ 1 E = 10 / ( 10 + 10 + 10 ) = 33.33 % , ρ 2 E = 20 / ( 10 + 10 + 12 + 10 + 20 ) = 32.26 % , and ρ 3 E = 30 / ( 10 + 10 + 12 + 10 + 5 + 10 + 20 ) = 38.96 % , respectively. To some extent, the higher ρ k E , the more tasks can be solved with the same energy consumption, further indicating that we can obtain a better solution by organizing the dispatch of heterogeneous UAVs. In addition, the second item of (24) with a gravity control factor α is used to control the resource utilization of UAVs, aiming to maximize the utilization of the total battery resource carried by the UAV.

4.4. Subpath Determination

After obtaining the allocation set for different UAVs, HMUR determines the final task execution path for each UAV. In this section, we take into account the real-time window constraint of tasks.
We process UAV allocation options K and rearrange the routing path within the energy consumption limitation. According to the predicted results of Algorithm 2, it can be seen that, among all the tasks the UAV is responsible for, each UAV has at least one route that can complete all tasks. Specifically, in the selection of the allocation of B k , the UAV u k starts from the AP, predicts the arrival time of the task points in B k that have not been traversed, and calculates the score function for the selected TA. The score function is formulated as follows:
S b j = Y b j B log 2 E b j , b j t r a v + log 10 L b j B
where Y b j B is the number of tasks that open the window upon arrival, E b j , b j t r a v is the energy consumption for flying from the previous point to b j , and L b j B is total workload of data expected to be offloaded in b j . The UAV selects the TA with the highest S b j and travels to TA b j to complete as many tasks as possible during the window period. The optimization in this section focuses on adapting to the real-time window factor of the task, sacrificing some energy consumption to achieve greater QoS, and to some extent, neglecting energy consumption control. Therefore, during the adjustment process, there may be situations where the total energy consumption exceeds the maximum energy consumption of the UAV. In response to this situation, we abandon the path rearrangement and use the predicted path generated by Algorithm 2 as the final routing path.
This paragraph analyzes the time complexity of the algorithm to ensure the real-time applicability of the entire system. As previously mentioned, under the environment of n TAs and n UAVs, the Christofides algorithm can solve problems within polynomial time with a complexity of O ( n 2 l o g n ) . Additionally, lines 8-19 of Algorithm 2 iterate through each path divided by the Christofides algorithm and traverse m UAVs in each path, with a time complexity strictly less than O ( m n ) . Moreover, after initialization, Algorithm 3 enters a double loop, which simulates the value of the UAVs reaching different TAs on each subpath, with a time complexity of O ( m ) × O ( n ) = O ( m n ) . Consequently, HMUR can solve the problem within polynomial time.

5. Performance Evaluation

5.1. Dataset

To evaluate HMUR performance, we used real data from IoT users and BS deployments in Melbourne CBD provided by the Australian Communications and Media Authority [33]. The dataset includes a total of 816 GDs and 125 BSs available for the UAVs to offload data, In Figure 6, black dots represent geographically fixed GDs and red dots (i.e., the center of each red circle) represent the service base stations. In the clustering results of Figure 7, we retain only the abstract representation of GDs and BSs, depicting GDs in different partitions with light-colored circles of various colors and marking the clustering centers of the clustering results with red crosses. The overall distribution of the data is between geographic coordinates of latitude (−37.822, −37.808) and longitude (144.950, 144.975). Figure 6 provides a realistic map image of the scene, and Figure 7 shows the location of IoT devices and the results after clustering into TAs (the number of TAs is 50).

5.2. Benchmarks

Due to conducting experimental simulations in urban environments, set X = 10.39 , Y = 0.05 [16], η L o S = 1 , and η N L o S = 20 [2]. Other parameters related to aerodynamics are shown in Table 2. To better validate the effectiveness of UAV assistance, we only retained one available BS (144.966686, −37.815549) in the environment and set the AP at (144.962344, −37.815303).
The settings and definitions of the instance factors are shown in Table 3. Among them, three essential factors are used as independent variables to analyze the performance of the algorithm, which are: (a) the number of TAs, (b) the average real-time window size of the task, and (c) the average workload generated by the GDs. Four indicators were adopted to evaluate the compared algorithms, namely (a) the total number of solved tasks, (b) the amount of offloaded workload, (c) the quantity of dispatched UAVs, and (d) the number of tasks solved by the UAVs per minute.

5.3. Performance Comparison

The architecture of this paper was written in Python 3.7, and the algorithm ran on the Ubuntu 22.04.1 LTS operating system, under an NVIDIA RTX 4090 cluster environment. To test the performance of the proposed algorithm HMUR, it was compared with the best-existing algorithms for the considered problem: CEDAN by Bera et al. [16] and the GA-based method (GAM) of Wang et al. [34]. In this paper, we set the energy payload of the UAVs in CEDAN and GAM to the average energy payload of heterogeneous UAVs in HMUR, denoted as E a v g U . Furthermore, to evaluate the effectiveness of the subpath determination strategy (Algorithm 3), the proposed algorithm without this strategy (HMUWS) was also compared. Furthermore, in the diagram, as the task TA on the horizontal axis changes, we maintained the total number of GDs retained. Furthermore, we decreased the number of GDs included in each TA as the number of TAs increased.
The total number of solved tasks: Figure 8 shows the total number of solved tasks when varying the number of TAs. As the number of TAs increases, the number of tasks assisted by HMUR and that by the baseline algorithms both show an increasing trend, but HMUR is 73.86% higher than CEDAN and 80.22% higher than GAM, while 36.43% higher than HMUW3 (when the number of TAs is 30). Meanwhile, Figure 9 shows the numerical performance of the number of auxiliary tasks solved when the average duration of the task window changes. It reveals that the longer the duration of the task window, the more tasks the UAVs assist in solving. However, when the time window size exceeds a threshold (about 1000 s), the number of solved tasks obtained by the other three algorithms no longer increases, except that of HMUR. This is probably due to HMUR considering the soft time constraints; in each selection, HMUR tends to choose TAs with more tasks with open time windows.
The total amount of offloaded workload: It can be seen from Figure 10 that the amount of offloaded workload generated by HMUR is higher than those of the other algorithms. With an increase in the number of solved tasks, the amount of offloaded workload gradually increases for all four algorithms. In Figure 11, we vary the average duration of the task windows to obtain the value of the workload offloading. HMUR selects routes that can achieve a higher QoS by calculating the TA’s score function, thereby solving more tasks and offloading more data.
The quantity of dispatched UAVs: Figure 12, Figure 13, Figure 14 and Figure 15 shows the difference in the number of UAVs dispatched by HMUR and CEDAN when the average amount of data generated by the GDs varies. The results show that the average number of UAVs dispatched by HMUR is 25.95% (the average task window is 500 s in Figure 12), 25.19% (the average task window is 1000 s in Figure 13), 41.63% (the average task window is 1500 s in Figure 14), and 24.62% (all tasks are open in Figure 15) less than that of CEDAN. This is because HMUR considers the compatibility between heterogeneous UAVs and paths, making more rational use of the UAV resources. Moreover, since HMUR is developed by adding Algorithm 3 to the base of HMUWS, and since Algorithm 3 does not involve changes in the number of unmanned aerial vehicles, HMUWS is not considered in this context.
Number of tasks solved per minute: Figure 16 shows the time utilization of HMUR and the baseline algorithm, which we represent as the average number of tasks solved per minute. It can be seen that HMUR sacrifices some time to obtain a larger number of tasks, resulting in a decrease in time utilization. However, overall, the performance of HMUR is still acceptable.
In the above experiment, we tested the impact of system scale (number of TAs), task urgency (average duration of the task window), and task load (average workload generated by GD) on the system. The experimental results show that the number of auxiliary tasks and offloaded data increase with increasing system scale and average task window duration, while the quantity of dispatched UAVs mainly increases with the growth of the average workload generated by the GD. HMUR outperforms the other algorithms because of the following reasons: The clustering results of k-means exactly meet the requirements of the system model, that is the sum of distances between the optimal hover position and all GDs is the shortest. At the same time, in Algorithm 2, the fitness evaluates the effective energy consumption of the UAVs in executing tasks and maximizes the utilization of battery energy within the allowable range of energy consumption. Finally, in Algorithm 3, the score function considering the timeliness constraints helps the UAVs find the TA with the highest number of executable tasks at each time point, thus improving the QoS.

6. Conclusions and Future Work

In this paper, a multi-UAV routing algorithm named HMUR is proposed for the UAV-assisted MEC problem. Instead of isomorphic UAVs as commonly considered in the literature, we also took into account the heterogeneity of UAVs and the real-time characteristics of the task. An effective fitness measurement is defined to match the UAVs and different routing paths under certain energy constraints. A score function is designed to determine the final route with the highest QoS. An extensive comparison of the proposed algorithm is performed against the best existing approaches. The experimental results show that the proposed method is superior to the best existing algorithms on multiple metrics. We demonstrated the effectiveness of the algorithm through experiments divided into four parts, which collectively evaluated the performance of the service based on the number of tasks completed, the volume of data offloaded, the efficiency of task resolution, and the number of UAVs used. The volume of data offloaded is correlated with the number of tasks completed. Through the HMUR algorithm, heterogeneous UAVs are appropriately allocated in the UAV allocation segment and tasks are reorganized in the subpath determination segment to ensure that more tasks are within their window period when the UAV reaches the task area. Furthermore, since the fitness function considers the ratios of E k h o v e r to E k t o t a l (reflecting the effective energy consumption of UAVs) and E k t o t a l to E k m a x (reflecting UAV battery utilization), it ensures that the energy of each UAV is efficiently used, thereby indirectly reducing the number of UAV deployments.
Future research avenues involve the consideration of the improvement of the proposed framework. For example, more UAV attributes such as output power, battery weight, bandwidth, and flight speed can be introduced as a UAV-type selection mechanism. It also seems worthwhile to apply the proposed algorithm with some heuristic offloading solutions for further improvement. Meanwhile, future work could consider replacing FDMA with communication methods such as TDMA and LoRaWAN to achieve new effects. At the same time, we will explore the integration of machine learning techniques and reinforcement learning for routing to adaptively allocate tasks based on historical data, improving the efficiency and responsiveness of our system. Additionally, we aim to develop a user-friendly tool for easy implementation and deployment of our algorithm in various MEC environments, enhancing user adoption and practicality.

Author Contributions

Conceptualization, L.C. and G.L.; methodology, L.C. and G.L.; software, G.L.; validation, G.L. and X.L.; formal analysis, G.L.; investigation, G.L.; resources, L.C. and X.L.; writing—original draft preparation, L.C. and G.L.; writing—review and editing, L.C., G.L. and X.Z.; supervision, X.Z.; project administration, G.L.; funding acquisition, L.C. and X.Z. All authors have read and agreed to the published version of the manuscript.

Funding

This work is supported by the National Key Research and Development Program of China (No. 2022YFB3305500), the National Natural Science Foundation of China (Nos. 62273089, 62102080), the Natural Science Foundation of Jiangsu Province (No. BK20210204), and the Fundamental Research Funds for the Central Universities (No. 2242022R10017).

Conflicts of Interest

The authors declare no conflicts of interest.

Abbreviations

DGD set, D = { d 1 , d 2 , , d M }
ATask set, A = { a 1 , a 2 , , a M }
BTA set, B = { b 1 , b 2 , , b N }
B n Task set contained in TA b n , B n = { a 1 n , a 2 n , , a s n }
UUAV set, U = { u 1 , u 2 , , u K }
KAllocation set, K = { B 1 , B 2 , , B K } ; B k contains several TAs and represents the allocation
of u k to these TAs
RSubpath set, R = { r 1 , r 2 , , r K } ; r k and u k correspond one-to-one
P L i k ¯ Average path loss between d i and u k
P L i k L o S Pass loss for LoS link between d i and u k
P L i k N L o S Pass loss for NLoS link between d i and u k
P r i k L o S Probability of LoS link between d i and u k
P r i k N L o S Probability of NLoS link between d i and u k
R i k D U ( t ) Data transfer rate between d i and u k at time t
R k U B ( t ) Data transfer rate between u k and the BS at time t
δ t Time slot
δ i k D U Time for offloading data from d i to u k in a time slot
δ k U B Time for offloading data from u k to the BS in a time slot
β k m Data processing rate between u k and d i
δ k Time for offloading data from u k to the BS in a time slot
L i The workload of task a i
t i k Time required for u k to process a i
t k j h o v e r Time for u k to hover at b j
E k t o t a l Energy consumption for u k throughout the entire process
E k m a x Battery capacity of u k
E k t r a v Energy consumption during u k movement
E k h o v e r Energy consumption during u k hover
E b j , b j t r a v Energy consumption for flying from the previous point to b j

References

  1. Long, T.; Ma, Y.; Xia, Y.; Xiao, X.; Peng, Q.; Zhao, J. A Mobility-Aware and Fault-Tolerant Service Offloading Method in Mobile Edge Computing. In Proceedings of the 2022 IEEE International Conference on Web Services (ICWS), Barcelona, Spain, 10–16 July 2022; pp. 67–72. [Google Scholar] [CrossRef]
  2. Liao, Z.; Ma, Y.; Huang, J.; Wang, J.; Wang, J. HOTSPOT: A UAV-Assisted Dynamic Mobility-Aware Offloading for Mobile-Edge Computing in 3-D Space. IEEE Internet Things J. 2021, 8, 10940–10952. [Google Scholar] [CrossRef]
  3. Zhang, T.; Xu, Y.; Loo, J.; Yang, D.; Xiao, L. Joint Computation and Communication Design for UAV-Assisted Mobile Edge Computing in IoT. IEEE Trans. Ind. Inform. 2020, 16, 5505–5516. [Google Scholar] [CrossRef]
  4. Yan, H.; Bao, W.; Zhu, X.; Wang, J.; Liu, L. Data Offloading Enabled by Heterogeneous UAVs for IoT Applications Under Uncertain Environments. IEEE Internet Things J. 2023, 10, 3928–3943. [Google Scholar] [CrossRef]
  5. Lu, Y.; Wen, W.; Igorevich, K.K.; Ren, P.; Zhang, H.; Duan, Y.; Zhu, H.; Zhang, P. Uav ad hoc network routing algorithms in space–air–ground integrated networks: Challenges and directions. Drones 2023, 7, 448. [Google Scholar] [CrossRef]
  6. Perkins, C.; Belding-Royer, E.; Das, S. RFC3561: Ad hoc On-Demand Distance Vector (Aodv) Routing; ACM: New York, NY, USA, 2003. [Google Scholar]
  7. Karp, B.; Kung, H.-T. Gpsr: Greedy perimeter stateless routing for wireless networks. In Proceedings of the of the 6th Annual International Conference on Mobile Computing and Networking, Boston, MA, USA, 6–11 August 2000; pp. 243–254. [Google Scholar]
  8. Heinzelman, W.R.; Chandrakasan, A.; Balakrishnan, H. Energy-efficient communication protocol for wireless microsensor networks. In Proceedings of the 33rd Annual Hawaii International Conference on System Sciences, Maui, HI, USA, 7 January 2000; p. 10. [Google Scholar]
  9. Haas, Z.J.; Pearlman, M.R. The performance of query control schemes for the zone routing protocol. ACM SIGCOMM Comput. Commun. Rev. 1998, 28, 167–177. [Google Scholar] [CrossRef]
  10. Krichen, M.; Adoni, W.Y.H.; Mihoub, A.; Alzahrani, M.Y.; Nahhal, T. Security challenges for drone communications: Possible threats, attacks and countermeasures. In Proceedings of the 2022 2nd International Conference of Smart Systems and Emerging Technologies (SMARTTECH), Riyadh, Saudi Arabia, 9–11 May 2022; pp. 184–189. [Google Scholar]
  11. Ko, Y.; Kim, J.; Duguma, D.G.; Astillo, P.V.; You, I.; Pau, G. Drone secure communication protocol for future sensitive applications in military zone. Sensors 2021, 21, 2057. [Google Scholar] [CrossRef]
  12. Ebrahimi, D.; Sharafeddine, S.; Ho, P.-H.; Assi, C. Autonomous UAV Trajectory for Localizing Ground Objects: A Reinforcement Learning Approach. IEEE Trans. Mob. Comput. 2021, 20, 1312–1324. [Google Scholar] [CrossRef]
  13. Zhang, L.; Celik, A.; Dang, S.; Shihada, B. Energy-Efficient Trajectory Optimization for UAV-Assisted IoT Networks. IEEE Trans. Mob. Comput. 2022, 21, 4323–4337. [Google Scholar] [CrossRef]
  14. Coupechoux, M.; Darbon, J.; Kélif, J.-M.; Sigelle, M. Optimal Trajectories of a UAV Base Station Using Hamilton-Jacobi Equations. IEEE Trans. Mob. Comput. 2023, 22, 4837–4849. [Google Scholar] [CrossRef]
  15. Wang, K.; Zhang, X.; Duan, L.; Tie, J. Multi-UAV Cooperative Trajectory for Servicing Dynamic Demands and Charging Battery. IEEE Trans. Mob. Comput. 2023, 22, 1599–1614. [Google Scholar] [CrossRef]
  16. Bera, A.; Misra, S.; Chatterjee, C.; Mao, S. CEDAN: Cost-Effective Data Aggregation for UAV-Enabled IoT Networks. IEEE Trans. Mob. Comput. 2023, 22, 5053–5063. [Google Scholar] [CrossRef]
  17. He, Y.; Gan, Y.; Cui, H.; Guizani, M. Fairness-Based 3-D Multi-UAV Trajectory Optimization in Multi-UAV-Assisted MEC System. IEEE Internet Things J. 2023, 10, 11383–11395. [Google Scholar] [CrossRef]
  18. Wu, H.; Wu, M.; Peng, W.; Chen, S.; Feng, Z. ITS: Improved Tabu Search Algorithm for Path Planning in UAV-Assisted Edge Computing Systems. In Proceedings of the 2023 IEEE International Conference on Web Services (ICWS), Chicago, IL, USA, 2–8 July 2023; pp. 340–349. [Google Scholar] [CrossRef]
  19. Qiu, X.; Zhang, S.; Wang, Z.; Luo, H. Integrated Host- and Content-Centric Routing for Efficient and Scalable Networking of UAV Swarm. IEEE Trans. Mob. Comput. 2023, 23, 2927–2942. [Google Scholar] [CrossRef]
  20. Song, H.; Liu, L.; Shang, B.; Pudlewski, S.; Bentley, E.S. Enhanced Flooding-Based Routing Protocol for Swarm UAV Networks: Random Network Coding Meets Clustering. In Proceedings of the IEEE INFOCOM 2021—IEEE Conference on Computer Communications, Vancouver, BC, Canada, 10–13 May 2021; pp. 1–10. [Google Scholar] [CrossRef]
  21. Gaydamaka, A.; Samuylov, A.; Moltchanov, D.; Ashraf, M.; Tan, B.; Koucheryavy, Y. Dynamic Topology Organization and Maintenance Algorithms for Autonomous UAV Swarms. IEEE Trans. Mob. Comput. 2024, 23, 4423–4439. [Google Scholar] [CrossRef]
  22. Yang, X.; Wang, L.; Xu, L.; Zhang, Y.; Fei, A. Boids Swarm-based UAV Networking and Adaptive Routing Schemes for Emergency Communication. In Proceedings of the IEEE INFOCOM 2023—IEEE Conference on Computer Communications Workshops (INFOCOM WKSHPS), Hoboken, NJ, USA, 20 May 2023; pp. 1–6. [Google Scholar] [CrossRef]
  23. Gharib, M.; Afghah, F.; Bentley, E. OPAR: Optimized Predictive and Adaptive Routing for Cooperative UAV Networks. In Proceedings of the IEEE INFOCOM 2021—IEEE Conference on Computer Communications Workshops (INFOCOM WKSHPS), Vancouver, BC, Canada, 10–13 May 2021; pp. 1–6. [Google Scholar] [CrossRef]
  24. Zhao, P.; Lu, Y.; Wei, Y.; Leng, S. Blockchain and DQN Enabled Co-Evolutionary Routing Scheme in UAV Networks. In Proceedings of the IEEE INFOCOM 2023—IEEE Conference on Computer Communications Workshops (INFOCOM WKSHPS), Hoboken, NJ, USA, 20 May 2023; pp. 1–6. [Google Scholar] [CrossRef]
  25. Hsu, Y.-H.; Gau, R.-H. Reinforcement Learning-Based Collision Avoidance and Optimal Trajectory Planning in UAV Communication Networks. IEEE Trans. Mob. Comput. 2022, 21, 306–320. [Google Scholar] [CrossRef]
  26. Fu, J.; Sun, G.; Liu, J.; Yao, W.; Wu, L. On Hierarchical Multi-UAV Dubins Traveling Salesman Problem Paths in a Complex Obstacle Environment. IEEE Trans. Cybern. 2024, 54, 123–135. [Google Scholar] [CrossRef]
  27. Qureshi, H.N.; Imran, A. On the Tradeoffs Between Coverage Radius, Altitude, and Beamwidth for Practical UAV Deployments. IEEE Trans. Aerosp. Electron. Syst. 2019, 55, 2805–2821. [Google Scholar] [CrossRef]
  28. Li, J.; Zhao, H.; Wang, H.; Gu, F.; Wei, J.; Yin, H.; Ren, B. Joint Optimization on Trajectory, Altitude, Velocity, and Link Scheduling for Minimum Mission Time in UAV-Aided Data Collection. IEEE Internet Things J. 2020, 7, 1464–1475. [Google Scholar] [CrossRef]
  29. Zhou, F.; Wu, Y.; Hu, R.Q.; Qian, Y. Computation Rate Maximization in UAV-Enabled Wireless-Powered Mobile-Edge Computing Systems. IEEE J. Sel. Areas Commun. 2018, 36, 1927–1941. [Google Scholar] [CrossRef]
  30. Cao, X.; Xu, J.; Zhang, R. Mobile Edge Computing for Cellular-Connected UAV: Computation Offloading and Trajectory Optimization. In Proceedings of the 2018 IEEE 19th International Workshop on Signal Processing Advances in Wireless Communications (SPAWC), Kalamata, Greece, 25–28 June 2018; pp. 1–5. [Google Scholar] [CrossRef]
  31. Zeng, Y.; Xu, J.; Zhang, R. Energy Minimization for Wireless Communication With Rotary-Wing UAV. IEEE Trans. Wirel. Commun. 2019, 18, 2329–2345. [Google Scholar] [CrossRef]
  32. Bera, A.; Misra, S.; Chatterjee, C. QoE Analysis in Cache-Enabled Multi-UAV Networks. IEEE Trans. Veh. Technol. 2020, 69, 6680–6687. [Google Scholar] [CrossRef]
  33. Lai, P.; He, Q.; Abdelrazek, M.; Chen, F.; Hosking, J.; Grundy, J.; Yang, Y. Optimal Edge User Allocation in Edge Computing with Variable Sized Vector Bin Packing. In Proceedings of the 16th International Conference on Service-Oriented Computing (ICSOC2018), Hangzhou, China, 12–15 November 2018; pp. 230–245. [Google Scholar]
  34. Wang, S.; Jiang, Z.; Bao, X. Autonomous Trajectory Planning Method for Multi-UAV Collaborative Search. In Proceedings of the 2021 5th International Conference on Automation, Control and Robots (ICACR), Nanning, China, 25–27 September 2021; pp. 84–88. [Google Scholar] [CrossRef]
Figure 1. UAV-assisted MEC schematic diagram.
Figure 1. UAV-assisted MEC schematic diagram.
Drones 08 00379 g001
Figure 2. System model.
Figure 2. System model.
Drones 08 00379 g002
Figure 3. Route of u 1 .
Figure 3. Route of u 1 .
Drones 08 00379 g003
Figure 4. Route of u 2 .
Figure 4. Route of u 2 .
Drones 08 00379 g004
Figure 5. Route of u 3 .
Figure 5. Route of u 3 .
Drones 08 00379 g005
Figure 6. The real map.
Figure 6. The real map.
Drones 08 00379 g006
Figure 7. Cluster result.
Figure 7. Cluster result.
Drones 08 00379 g007
Figure 8. Total number of solved tasks (varying the number of TAs).
Figure 8. Total number of solved tasks (varying the number of TAs).
Drones 08 00379 g008
Figure 9. Total number of solved tasks (varying the average duration of the task window).
Figure 9. Total number of solved tasks (varying the average duration of the task window).
Drones 08 00379 g009
Figure 10. Total amount of offloaded workload (varying the number of TAs).
Figure 10. Total amount of offloaded workload (varying the number of TAs).
Drones 08 00379 g010
Figure 11. Total amount of offloaded workload (varying the average duration of the task window).
Figure 11. Total amount of offloaded workload (varying the average duration of the task window).
Drones 08 00379 g011
Figure 12. The quantity of dispatched UAVs (average duration of task window = 500 s).
Figure 12. The quantity of dispatched UAVs (average duration of task window = 500 s).
Drones 08 00379 g012
Figure 13. The quantity of dispatched UAVs (average duration of task window = 1000 s).
Figure 13. The quantity of dispatched UAVs (average duration of task window = 1000 s).
Drones 08 00379 g013
Figure 14. The quantity of dispatched UAVs (average duration of task window = 1500 s).
Figure 14. The quantity of dispatched UAVs (average duration of task window = 1500 s).
Drones 08 00379 g014
Figure 15. The quantity of dispatched UAVs (no time window constraint).
Figure 15. The quantity of dispatched UAVs (no time window constraint).
Drones 08 00379 g015
Figure 16. Number of tasks solved per minute.
Figure 16. Number of tasks solved per minute.
Drones 08 00379 g016
Table 1. Summary of related work.
Table 1. Summary of related work.
Related WorksMethodNumber of UAVsHeterogeneity of UAVs
[12,13]Reinforcement Learningone-
[14]Heuristic Algorithmone-
[15,16,17,19,20,21]Heuristic AlgorithmMultipleIsomorphic
[18,22]Intelligent AlgorithmMultipleIsomorphic
[23]Linear ProgrammingMultipleIsomorphic
[24]Deep LearningMultipleIsomorphic
This paperHeuristic AlgorithmMultipleHeterogeneous
Table 2. Parameter setting.
Table 2. Parameter setting.
ParameterValueDefinition
f c 2 GHz [16]Carrier frequency
c 3 × 10 8 m/sVelocity of light
η L o S 1 [2]Average additional loss in LoS
η N L o S 20 [2]Average additional loss in NLoS
X 10.39 [16]Environmental parameter
Y 0.05 [16]Environmental parameter
σ 2 174 dBm/Hz [28]Gaussian noise
P 0 158.76 w [3]Blade profile power in hovering status
P i 88.63 w [3]Induced power in hovering status
U t i p 120 m/s [3]Tip speed of the rotor blade
v 0 4.03 [3]Mean rotor-induced velocity in hover
d 0 0.3 [3]Fuselage drag ratio
ρ 1.225 km/m3 [3]Air density
s 0.05 [3]Rotor solidity
A 0.503 m2 [3]Rotor disc area
Table 3. Factor setting.
Table 3. Factor setting.
ParameterValue or Range of ValueDefinition
n G D 816The number of GDs
t a v g A [ 500 , 1500 ] sAverage time window of task
n T A [ 20 , 60 ] The number of TAs
L a v g D [ 1 , 6 ] MBGDs’ average workload
E a v g U 400 kJUAVs’ average battery capacity
E U 700 kJ, 700 kJ, 600 kJ, 500 kJ, 400 kJ, 300 kJ, 200 kJ, 100 kJ, 100 kJHeterogeneous UAVs’ battery capacity
α 0.5 Weight of fitness
B b w 5 GHzBandwidth
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

Chen, L.; Liu, G.; Zhu, X.; Li, X. A Heuristic Routing Algorithm for Heterogeneous UAVs in Time-Constrained MEC Systems. Drones 2024, 8, 379. https://doi.org/10.3390/drones8080379

AMA Style

Chen L, Liu G, Zhu X, Li X. A Heuristic Routing Algorithm for Heterogeneous UAVs in Time-Constrained MEC Systems. Drones. 2024; 8(8):379. https://doi.org/10.3390/drones8080379

Chicago/Turabian Style

Chen, Long, Guangrui Liu, Xia Zhu, and Xin Li. 2024. "A Heuristic Routing Algorithm for Heterogeneous UAVs in Time-Constrained MEC Systems" Drones 8, no. 8: 379. https://doi.org/10.3390/drones8080379

APA Style

Chen, L., Liu, G., Zhu, X., & Li, X. (2024). A Heuristic Routing Algorithm for Heterogeneous UAVs in Time-Constrained MEC Systems. Drones, 8(8), 379. https://doi.org/10.3390/drones8080379

Article Metrics

Back to TopTop