Next Article in Journal
Flying Sensor and Edge Network-Based Advanced Air Mobility Systems: Reliability Analysis and Applications for Urban Monitoring
Next Article in Special Issue
A Q-Learning-Based Two-Layer Cooperative Intrusion Detection for Internet of Drones System
Previous Article in Journal
Development of Heuristic Approaches for Last-Mile Delivery TSP with a Truck and Multiple Drones
Previous Article in Special Issue
Optimal Energy and Delay Tradeoff in UAV-Enabled Wireless Sensor Networks
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Optimization Algorithms for UAV-and-MUV Cooperative Data Collection in Wireless Sensor Networks

1
School of Information Science and Technology, Beijing Forestry University, Beijing 100083, China
2
Engineering Research Center for Forestry-Oriented Intelligent Information Processing of National Forestry and Grassland Administration, Beijing 100083, China
3
School of Information, Renmin University of China, Beijing 100872, China
*
Author to whom correspondence should be addressed.
Drones 2023, 7(7), 408; https://doi.org/10.3390/drones7070408
Submission received: 16 May 2023 / Revised: 20 June 2023 / Accepted: 20 June 2023 / Published: 21 June 2023
(This article belongs to the Special Issue UAV-Assisted Internet of Things)

Abstract

:
The deployment of unmanned aerial vehicles (UAVs) has significantly improved the efficiency of data collection for wireless sensor networks (WSNs). The freshness of collected information from sensors can be measured by the age of information (AoI), which is an important factor to consider in data collection. For data collection during long-term mission, the energy limitation of UAVs may cause mission interruption, which makes supplementation of the UAVs’ energy more necessary. To this end, we introduce the mobile unmanned vehicle (MUV) to guarantee the UAVs’ energy supplementation. In this paper, we investigate the problem of multi-UAVs and single-MUV cooperative trajectory planning (MUSM-CTP) for data collection in WSNs with consideration for the AoI the collected data and the limited battery capacity of UAVs. The objective of this problem is to find cooperative flight trajectories for multiple UAVs and to determine the MUV’s travel plan to replace batteries for the UAVs, such that the average AoI of all collected data is minimized. We prove the NP-hardness of the problem and design the algorithm via three phases to solve this: determining candidate hover points based on the affinity propagation (AP) clustering method, constructing the flight trajectories of multiple UAVs based on the genetic algorithm (GA), and designing a travel plan for the MUV. The simulation results verify the effectiveness of the proposed algorithm in improving the freshness of the information collected from all of the sensors.

1. Introduction

Wireless sensor networks (WSNs) have been deployed in various domains of human life to provide a wide range of applications, such as intelligent transportation, environmental monitoring, event detection, and target tracking. Generally, the WSN consists of a large number of sensor nodes (SNs) powered by batteries. In traditional WSNs, the information obtained by the sensors is usually collected and forwarded to the destination by receivers in a multi-hop manner, which may quickly deplete the battery of the receiver, greatly reducing the network connectivity, data transmission performance, and the lifespan of the WSN. Additionally, the location of the base station (BS) is limited by geographic conditions such as terrain and altitude. The geographic isolation between the BS and SNs and the complex environment invisibly increases the difficulty and delay of data collection.
As the pace of design and production accelerates, unmanned aerial vehicles (UAVs) have become significant drivers in various fields. In WSNs, UAV-assisted data collection has emerged as a promising method for data collection due to the exceptional flexibility and maneuverability of the UAVs [1]. Compared to conventional ground-based equipment, UAV-assisted data collection exhibits superior environmental adaptability. UAVs act as airborne base stations or relays [2,3]. They approach numerous small, energy-limited SNs to improve efficiency and coverage. At the same time, the UAVs establish low-altitude and line-of-sight communication links with ground-based SNs to collect perception information from the environment. Each UAV reduces the transmission energy required for data collection via short-range, reliable communication, thus prolonging the lifespan of the entire WSN.
In the UAV-assisted data collection in WSNs, there are two important influencing factors for the network performance: the energy supply of the UAVs and the freshness of the collected information. Firstly, although the utilization of UAVs for data collection in WSNs offers numerous advantages, the limited energy capacity of UAVs imposes an energy constraint on the conduction of long-term and energy-intensive flight missions. Therefore, the energy issue is a fundamental bottleneck in the implementation of UAV-assisted WSNs. To address this challenge, UAVs can supplement their energy supply by replacing onboard batteries by returning to the BS or fixed charging station, which may increase energy consumption and task completion time. To overcome these problems, we attempt a novel approach to enhance the performance of energy-limited UAVs by introducing a mobile unmanned vehicle (MUV) as a mobile charging station for UAVs. The MUV is equipped with a large number of spare batteries and offers the flexibility to compensate for the battery capacity of UAVs while minimizing the impact of onboard energy restrictions. The mobility and speed advantages of the MUV make it possible to perform these replacements quickly and easily. Furthermore, MUV-based energy supplementation is a cost-effective and scalable solution that can be deployed in a distributed manner for simultaneous charging. Secondly, the freshness of information has become increasingly important for applications such as autonomous driving and forest fire monitoring, which can be measured by a new performance metric called the age of information (AoI) [4]. The AoI describes the time elapsed since the latest received update was generated. A lower AoI means that the collected information is more up-to-date, while a higher AoI may be inconsistent with the current state, potentially resulting in the loss of its meaning. Designs based on AoI can ensure the freshness of real-time status information updating systems, which is very different from traditional network designs based on delay and throughput. Therefore, AoI has attracted more and more attention [5,6,7].
Based on the energy supply of UAVs and the freshness of collected information, this paper considers a new WSN architecture composed of multiple SNs, multiple UAVs, and one MUV. We study the cooperative trajectory planning problem of UAV-and-MUV-assisted data collection in AoI-based WSNs, whose goal is to jointly optimize the flight trajectories of UAVs and the travel plan of the MUV such that the average AoI of the entire WSN is minimized. The contributions of this paper can be summarized as follows:
  • We consider a new WSN architecture comprising multiple SNs, multiple UAVs, and one MUV. In this architecture, multiple UAVs are used as mobile data collectors to collect sensed data from SNs deployed on the ground, and an MUV repowers all the UAVs by replacing batteries. We identify the multi-UAVs and single-MUV cooperative trajectory planning (MUSM-CTP) problem, with the goal of minimizing the average AoI of the entire WSN. Then, we prove that this problem is NP-hard.
  • In order to solve the MUSM-CTP problem, we propose a three-phase algorithm, the multi-UAVs and single-MUV cooperative trajectory planning algorithm (MUSM-CTPA), which is composed of clustering based on affinity propagation (AP), the UAVs’ flight trajectory planning based on the genetic algorithm (GA), and the MUV’s travel plan based on the greedy idea.
  • We conducted extensive simulation experiments to demonstrate the effectiveness of the proposed algorithm for solving the MUSM-CTP problem.
The remaining parts of this paper are organized as follows. Section 2 introduces the related literature. In Section 3, we introduce related models and the formal definition of our problem. In Section 4, we propose the MUSM-CTPA algorithm to solve the problem. The simulation results are presented in Section 5. Section 6 summarizes this paper.

2. Related Works

UAV-assisted WSNs have attracted a lot of attention in both academia and industry. Most existing works have focused on maximizing the UAV’s communication coverage range [8], system throughput [9], and energy efficiency [1], or minimizing the UAV’s transmission delay [10] and energy consumption [11]. The related works will be introduced from four aspects: resource allocation, path planning, information freshness, and energy supply in UAV-assisted data collection. The comparison and summary of the contributions from related works are presented in Table 1.
Researchers have extensively studied the efficient mobility management and resource allocation problems in UAV-assisted data collection. In [1], Y. Zeng et al. studied energy-efficient communication between the UAV and ground SNs by optimizing the trajectory of the UAV. A distributed wireless sensor network data collection method is proposed in [12]. The UAVs are used as data transmission nodes to connect separated distributed regions. A UAV-assisted WSN data collection framework is proposed in [13], where UAVs are used as relays to collect sensed data from SNs. In [14], the task completion time is minimized by optimizing the flight path and wake-up time allocation of the UAV. Gong et al. studied the minimization of UAV flight time for collecting sensor data from the starting point in [15]. An HAP-assisted RSMA-enabled VEC system is proposed in [16], where vehicular edge computing (VEC) offers service by utilizing high-altitude platforms (HAPs) and rate-splitting multiple access (RSMA) techniques. In [17], the authors investigated enhancing the service experience of Internet of Things devices (IoTD) by optimizing the limited computation, communication, and energy resources in both HAPs and UAVs when the terrestrial base station (TBS) is underserved.
Trajectory planning is a very important topic in UAV communication consumption. In [18], the cooperative flight trajectories of multiple UAVs are designed by balancing data collection, charging, and collision avoidance. In [19], multiple UAVs act as mobile relay nodes between sensors and base stations. The flight trajectories of multiple UAVs are planned on the premise of minimizing the received packet AoI and equipment energy consumption. In [20], UAV trajectories and SN wake-up scheduling are jointly optimized to minimize the maximum completion time. In [21], a low-complexity algorithm is designed to maximize the total uplink power by jointly optimizing the UAV’s position, height, and antenna beam width. The authors of [22] investigated the problem of online cooperative charging schedules using multiple wireless charging vehicles (WCVS) in a WRSN, where each WCV arranges its charging scheduling path by responding to the interdependence of temporal and spatial correlations of different charging requests. The above works focused on optimizing 2D or 3D UAV trajectories and user schedules based on time or energy allocation to improve performance, such as energy efficiency and completion time; however, they ignore the information freshness.
The freshness of sensed information is crucial in delay-sensitive applications. Freshness as an important metric is called the AoI [23], which is defined as the time elapsed since the latest update [5]. Due to the importance of the AoI and the popularity of UAVs in IoT systems, AoI-aware UAV-assisted WSN design has attracted increasing interest. In [24], a centralized information-sharing mechanism among multiple UAVs is designed to avoid multiple visits to the same user by the UAVs. The AoI is minimized by joint optimization of task allocation, interaction point selection, and UAV trajectory. In [25], the trajectory and data collection mode of the UAVs are jointly optimized to minimize the average AoI of all sensors, where a UAV is allowed to collect data in hover, fly, or mixed modes. In [26], a trajectory planning strategy for UAVs is proposed to minimize the maximum AoI of the WSN by balancing the upload time of sensors and the flight time of the UAVs. In [27], an end-to-end artificial intelligence-based UAV trajectory planning framework is proposed by balancing accuracy and efficiency, and the flight path with the minimum AoI is obtained.
Due to the limited onboard energy of UAVs, it is necessary to replenish energy during their mission. Many researchers have devoted themselves to methods of obtaining energy when UAVs are used as mobile data collectors or mobile edge computing servers. In [28], Suzuki et al. investigated an automatic battery replacement system for UAVs, which included a ground station with replaceable batteries for supplying UAVs. In [29], Luo et al. investigated a laser-charged UAV-assisted wireless rechargeable sensor network. The laser beam directions are uniformly deployed in the monitoring environment to charge the UAV by firing the laser beam. In [30], Fu et al. proposed a reinforcement learning method to design a path for UAVs to collect sensor data and replenish energy using fixed charging stations. In [31], the problem of UAV-assisted data collection in wireless sensor networks with “mobile charging stations” is studied for the first time from the perspective of collaborative trajectory planning. In [32], Zhu et al. investigated the problem of UAV-assisted data collection in large-scale wireless sensor networks based on a truck carrying spare batteries for the UAV’s battery replenishment. In [33], the author introduced denial of charge (DoC) into a WRSN and forms an on-demand charging model. A large-scale WRSN with multiple chargers is proposed in [34]; the authors focused on minimizing the charging delay with directional charging schemes.
Since the AoI characterizes the freshness of sensed data in terms of destination, most research works have been devoted to solving the AoI minimization data collection scheduling problem in WSNs. Energy-constrained UAVs need to replenish their energy during the data collection process to continue working. The scheme of returning to the base station or fixed charging station to replace the battery is not only expensive but also increases the energy consumption and task completion time of the UAVs. This is because UAVs need to travel back and forth to the BS regardless of their location, and using fixed charging stations to replace batteries also increases the working time and reduces the flexibility of UAVs. To overcome these problems, this paper studies the collaborative trajectory planning problem of UAV-and-MUV-assisted data collection based on the AoI in WSNs.

3. System Model and Problem Definition

3.1. System Model

We consider a set of n wireless sensors S = { s 1 , s 2 , , s n } located in the two-dimensional region, a set of m UAVs F = { f 1 , f 2 , , f m } , a charging MUV, and a BS, as shown in Figure 1. In this paper, we use the three-dimensional Cartesian coordinate system XYZ to mark the position of the sensors and UAVs. The sensors are randomly distributed in a given area to monitor the environment. Each SN s i B S S is located at the position of s i = ( x i , y i , 0 ) , and  d i , j represents the horizontal distance between s i and s j . Assume that each sensor s i S generates V i units of sensing data.
We employ m rotary-wing UAVs F as airborne mobile data collectors to collect data from SNs. Each UAV f k F has the same maximum battery capacity E m a x and minimum energy threshold E 0 . All UAVs start their data collection task from BS at the same time and fly at fixed height h and constant speed v. Let T represent the flight period of the UAVs. At any time, t T , f k is located at p o s k ( t ) = ( x k ( t ) , y k ( t ) , h ) , and its remaining energy is denoted by E k ( t ) . The coverage radius of UAVs when hovering at an altitude h with a transmission range R is r = R 2 h 2 . In this paper, we adopt a one-to-one transmission mode for data collection, where the UAVs can collect data from SNs within the coverage area with a radius r and deliver the data to the BS after completing the data collection task. The other constraints, such as UAV acceleration or turning angle, are out of consideration here.
An energy-free MUV is used to replace the batteries of UAVs such that the UAVs have sufficient energy to complete their data collection tasks. The MUV only needs to replace the battery for f k when the remaining energy E k ( t ) is not higher than the energy threshold E 0 . The MUV starts from BS and travels simultaneously with F along a fixed path L. The MUV has a maximum speed v m a x during the travel process and finally returns to the BS. When a UAV lands on the stationary MUV, the MUV replaces the UAV’s battery with a fully charged battery, which takes a fixed amount of time. After the battery replacement, the remaining energy E k ( t ) of f k is set to E m a x . At a particular time, the MUV can replace the battery of only one UAV.
To ensure that a feasible solution exists for the research problem, we assume the following conditions: (1) A UAV with an initial energy level can collect data from at least one area and return to the BS, regardless of where the area is located in the monitored region. (2) The remaining energy of a UAV can support it to fly to the battery replacement point on L and wait for the arrival of the MUV to replace its battery. (3) Any two data collection areas are disjoint from each other. (4) The MUV carries a sufficient number of batteries when it departs from the BS.

3.2. Data Collection Model

In order to collect data from the SNs, the UAVs need to hover over the SNs for a period of time. We use ϖ ( s i ) to represent a circular data collection area with a radius of up to r, whose center is s i . Let | ϖ ( s i ) | indicate the number of SNs in area ϖ ( s i ) . We consider the data transmission between F and S is the line-of-sight communication links (LoS). In one-to-one transmission mode, when f k hovers directly above s i , s i is represented as the hover point c k i and takes t c , k i time to collect data from all of the SNs in ϖ ( s i ) , one by one, in sequence. During this period, the  s i packages its sensing information into a packet with a time stamp T i and length L i and then transmits the marked packet to f k . Without losing generality, we assume that F takes off at T 0 = 0 . The channel power gain of the LoS link from s i to f k can be modeled as g = β h 2 , in which β represents the channel gain of the reference distance. When s i uploads data at a constant power P i , its data upload rate on LoS link can be expressed as
R i = B log 2 1 + g · P i σ 2 = B log 2 1 + β h 2 σ 2 P i ,
where B represents the system bandwidth, and σ 2 represents the noise power of the UAV receiver. Each sensor s i obtains the sensing data of the V i unit to be collected. In order to ensure that s i ϖ ( s i ) within t c , k i successfully upload all the data to f k , the following inequality needs to be satisfied.
t c , k i R i i = 1 | ϖ ( s i ) | V i .
Compared with the data uploading time of SNs and the flight time of UAVs, it is assumed that the sampling time and communication cost of each sensor can be ignored.

3.3. Power Consumption Model

When the UAV performs data collection tasks, both flight and hover operation need to consume energy, and the energy consumption of the UAV mainly consists of these two parts. This paper uses the propulsive power consumption model of the rotary-wing UAV proposed in [10]. Therefore, the power consumption of a UAV flying at a speed of v can be described as
P f = P 0 1 + 3 v 2 U t i p 2 + P 1 1 + v 4 4 v 0 4 v 2 2 v 0 2 1 2 + d 0 ρ s v 3 A 2 ,
where P 0 and P 1 are two physical constants associated with the UAV and flight environment, U t i p represents the tip velocity of the rotor blade, v 0 represents the average rotor-induced velocity during hovering, d 0 represents the body drag ratio, s represents the rotor stiffness, ρ represents the air density, and A represents the rotor disk area.
Since v = 0 when the UAV is hovering, we bring v = 0 into Equation (3) and the power consumption of UAV can be expressed as
P h = P 0 + P 1 .
Let τ denote the flight period of f k from the completion of this battery replacement to the next battery replacement, and let η denote the set of SNs where f k collects data in 0 , t , where t τ . We define the binary variable X i t 0 , 1 for arbitrary s i S , X i t = 1 , which indicates that s i transmits data to f k at the time instant t, and X i t = 0 indicates that s i does not transmit data to f k at the time instant t. According to the energy change process of f k , the residual energy of f k at any time t τ can be expressed as
E k t = E m a x 0 t X i t · P h + P f d t > 0 , s i η .
Let E m a x represent the maximum battery capacity of the UAV. When the current residual energy E k t of f k is not higher than the energy threshold E 0 , the MUV shall replace the battery of f k . The UAV battery will be restored to a full charge when it is accessed by the MUV. Therefore, the current residual energy of the f k F must meet E k t E m a x .

3.4. AoI Model

The freshness of the data collected from the SN is measured by its AoI. Let Δ i k t represent the AoI of the data collected by f k from s i at a time t. According to the definition of AoI, it can be described as
Δ i k t = t U i k + ,
where 1 k m , a + = m a x 0 , a . U i k is the timestamp when f k collects data from s i . In fact, when t < U i k , s i is not yet served at time t, we define Δ i k t = 0 .
Let U T k denote the observation time for f k to transmit the collected data to BS. When f k returns to BS, the average AoI of all its collected data can be defined as
Δ k ¯ = 1 N ( k ) i = 1 N ( k ) Δ i k t = U T k ,
where 1 N ( k ) n denotes the number of SN served by f k . The average AoI of the whole network can be defined as
Δ ¯ = 1 n k = 1 m i = 1 N ( k ) Δ i k t = U T k .

3.5. Problem Definition

Before giving the formal definition of our problem, we introduce a series of notations: We first use U k to represent the flight trajectory of f k . During the phase in which f k collects data from SNs, C k represents the set of hover points collected by f k in U k ; T C , k represents the set of hover times corresponding to the hover points of f k in C k . Each hover point c k i C k has a corresponding hover time t c , k i T C , k . During the phase in which the MUV replaces the battery for f k , B k represents the set of battery replacement points of f k in U k ; T P , k represents the set of waiting times in B k for f k to wait for the MUV to arrive at the corresponding battery replacement point, where P represents waiting for the arrival of the MUV. Each battery replacement point b k l B k has a corresponding waiting time t p , k l T P , k and a battery replacement time t B , where l represents the battery replacement point on L, and t B is a fixed value. Then, the flight plan of the UAV f k is denoted as Ψ k U k , C k , T C , k , B k , T P , k .
We adopt Ψ Ψ 1 , Ψ 2 , , Ψ m to denote the flight plans of F, and Φ to denote the travel plan of the MUV on fixed path L. Therefore, Ψ , Φ is a feasible plan for F and the MUV to collect sensed data from all SNs and transmit this to the BS.
In this paper, UAVs are used as mobile data collectors to collect perception data from SNs, while an MUV is used to recharge the UAVs. We try to minimize the impact of onboard energy restrictions on UAV-assisted data collection by giving the charging station mobility to flexibly compensate for the battery capacity of UAVs. Our objective is to find the optimal flight plans for F and the travel plan of the MUV Ψ , Φ cooperative such that the average AoI Δ ¯ of all of the collected data is minimized.
We refer to the problem as the multi-UAVs and single-MUV cooperative trajectory planning (MUSM-CTP) problem. Let r ( s i ) denote the radius of ϖ ( s i ) . The binary variable a i , j , k is defined as below.
a i , j , k = 1 , if f k visits ϖ ( s j ) after ϖ ( s i ) , 0 , o t h e r w i s e .
We can obtain the following mathematical formulation of the MUSM-CTP problem
M i n i m i z e Δ ¯ = 1 n k = 1 m i = 1 N ( k ) Δ i k t = U T k
s.t.
k = 1 m j = 1 n a 0 , j , k = m
k = 1 m i = 1 n a i , 0 , k = m
1 k = 1 m i = 1 n a i , j , k m 1 j n
0 r ( s i ) r 1 i n
0 < E k t = E m a x 0 t X i t · P h + P f d t E m a x t T
ϖ ( s i ) ϖ ( s j ) = 1 i n , 1 j n
1 N ( k ) n m + 1
X i t 0 , 1 1 i n , t T
Constraints (11) and (12) indicate that each UAV takes off from the BS to reach the data collection area and finally returns to the BS. Constraint (13) indicates that each cluster should be visited by at least one UAV and at most m UAVs. Constraint (14) indicates that the data collection area radius cannot exceed the coverage area radius r of the UAV. Constraint (15) indicates that the energy of all UAVs is always greater than 0 and less than or equal to E m a x . Constraint (16) indicates that any two data collection areas are disjoint from each other. Constraint (17) indicates that each UAV collects data from at least one cluster.
Theorem 1.
The MUSM-CTP Problem is NP-hard.
Proof. 
We consider a special case of the MUSM-CTP problem where we set V i = 0 for each SN s i S , m = 1, E m a x = + , and h = 0. Then, the MUSM-CTP problem can be reduced to the well-known traveling salesman problem (TSP), where the UAVs only need to visit all SNs located in the detection area. Since the TSP problem is proved to be NP-hard, and it is a special case of the MUSM-CTP problem, the MUSM-CTP problem is NP-hard.   □

4. Proposed Solution

By the definition of MUSM-CTP, we propose an algorithm named the multi-UAVs and single-MUV cooperative trajectory planning algorithm (MUSM-CTPA) to realize cooperative trajectory planning with three phases. In the first phase, we propose a clustering algorithm based on affinity propagation, the minimum coverage algorithm based on affinity propagation (MCA-AP), to divide the SNs into clusters for finding the hovering point set C and the corresponding time set T C of all UAVs according to the transmission range of the UAV and the location of SNs in the WSN.
Based on the hovering points obtained in the first phase, we will plan the flight trajectories of the UAVs and replace their batteries. In order to efficiently collect data, the separation of UAVs’ trajectory planning from UAVs’ energy supply is necessary since that UAVs’ trajectories are primary for data collection, which is essential for addressing the problem. Furthermore, the MUV travels along the fixed path L and can perform battery replacements for UAVs at any point on path L. The candidate battery replacement points are determined based on the energy consumption of UAVs during data collection along the planned trajectories. Then we realize the trajectory planning and energy supply in the following two phases, respectively.
In the second phase, according to the hovering points set C obtained in the first phase, we propose the multi-UAVs trajectory planning algorithm based on the genetic algorithm (MTPA-GA) to design the flight trajectory of multiple UAVs cooperatively traversing all of the data collection areas, which is the positions and order of the hovering points C k visited by each UAV f k . Note that each hover point c k i C k of f k is selected from C. The algorithm obtains the flight trajectory U k and the corresponding flight time T k of each UAV f k .
In the third phase, the MUV will replace batteries at certain locations on the predefined and fixed path L for all UAVs whose energy is not higher than E 0 during data collection. According to the flight trajectory U k of each UAV f k obtained in the second phase, we calculate the battery replacement point set B k of each UAV and design the scheduling strategy of all UAVs served by MUV. Then, the corresponding waiting time t p , k l T P , k of each UAV f k waiting for an MUV at its battery replacement point b k l B k is obtained. Finally, the flight trajectories of all UAVs, the travel plan of an MUV, and the time consumption of each UAV to complete the data collection task are obtained, and then the average AoI Δ ¯ of all the collected data is obtained. The implementation of the above three phases is detailed in the following three sections.

4.1. Algorithm for Minimum Coverage Based on Affinity Propagation

In this subsection, we propose the minimum coverage algorithm based on affinity propagation (MCA-AP) to divide the SNs into clusters to compute the hovering positions and the corresponding hovering time for all UAVs to collect data from all SNs. The SNs randomly deployed in the monitoring area need to be visited by at least one UAV with a limited transmission range for data collection. The MCA-AP aims to divide all SNs in the monitoring area into clusters according to the transmission range of f k , such that the number of divided clusters is as small as possible and the distance between SNs within each cluster is as close as possible. This algorithm identifies a cluster center for the UAV to hover in each cluster, and the UAV hovers above the cluster center to sequentially collect the data of the SNs in this cluster. We apply this algorithm to optimize the number of clusters and obtain the hover point and the corresponding hover time of each cluster.
Before describing the algorithm, we introduce some parameters used in this algorithm. Let N represent the number of clusters. The binary variable ρ i , j ( i , j = 1 , 2 , , n ) represents whether sensor s i chooses sensor s j as its clustering center. When ρ i , j = 1 , sensor s i chooses sensor s j as its clustering center. The variable r t ( i , j ) represents the ability of s j to act as the cluster center of s i in the t-th iteration. The variable a t ( i , j ) represents the ability of s i to select s j as its cluster center in the t-th iteration. The variable s i m ( i , j ) represents the similarity information between s i and s j .
The MCA-AP consists of the following five steps:
  • In the first step, the sample data set S = { s 1 , s 2 , , s n } is input. In order to satisfy constraint (14), the coverage radius r of the UAV is input. The counter n u m = 0 is initialized, and the maximum iteration number N m a x is set to an arbitrarily large positive integer to obtain the best experimental results possible, as shown in Line 1 of Algorithm 1.
  • In the second step, based on the sample data set input in the first step, the Euclidean distance d between each sensor is calculated, e.g.,  d ( i , j ) . Let d ( i , j ) initialize the similarity information s i m ( i , j ) between s i and s j in the similarity matrix S i m . The larger the value of s i m ( i , j ) , the closer the distance between s i and s j , and the stronger the ability of s j to act as the cluster center of s i , as shown in Line 2–Line 7 of Algorithm 1. Both matrix R and matrix A are initialized as zero matrices isomorphic to matrix S i m , where matrix R consists of r t + 1 ( i , j ) , and matrix A consists of a t + 1 ( i , j ) , as shown in Line 8 of Algorithm 1.
  • In the third step, each iteration updates matrix R and matrix A according to (19) and (21), respectively. In order to avoid oscillations, the attenuation coefficient λ is introduced in the update. The updated value of this iteration is set to λ times the updated value of the last iteration, plus 1 λ times the updated value of the current iteration, according to (20) and (22), respectively, as shown in Line 11 of Algorithm 1.
    r t + 1 ( i , j ) = 1 i , j , k n s i m ( i , j ) max j k a t ( i , k ) + r t ( i , k ) , s i m ( i , j ) max j k s i m ( i , k ) , i j , i = j .
    r t + 1 ( i , j ) = 1 i , j n λ · r t ( i , j ) + ( 1 λ ) r t + 1 ( i , j ) .
    a t + 1 ( i , j ) = 1 i , j , k n min 0 , r t + 1 ( j , j ) + k i , j max r t + 1 ( k , j ) , 0 , j k max r t + 1 ( k , j ) , 0 , i j , i = j .
    a t + 1 ( i , j ) = 1 i , j n λ · a t ( i , j ) + ( 1 λ ) a t + 1 ( i , j ) .
  • In the fourth step, matrix R and matrix A are used to determine whether there is any change in the decision information of the t-th iteration. If there is any change, it will return to the third step to update r t + 1 ( i , j ) and a t + 1 ( i , j ) , as shown in Line 10–Line 16 of Algorithm 1. The algorithm ends if the decision information remains unchanged after several iterations or the algorithm reaches the N m a x . The clustering results and the number of clusters N are output, and the association relationship ρ between the cluster center and other SNs within the cluster is established in each cluster. The radius r of each cluster is calculated based on the current clustering results. When r > r , the SNs in the cluster are extracted. Finally, all extracted SNs that do not meet the requirements are re-clustered, which is to return to the second step, as shown in Line 17–Line 23 of Algorithm 1.
  • Finally, the cluster center of N clusters is the data collection hover point set C of UAV F. According to the data upload rate R i , the hovering time set T C = t c 1 , t c 2 , , t c N corresponding to the hovering point set C = c 1 , c 2 , , c N is obtained, as shown in Line 24–Line 26 of Algorithm 1. The pseudo-code of the MCA-AP is given in Algorithm 1.
Algorithm 1: Minimum Coverage Algorithm based on Affinity Propagation (MCA-AP)
Drones 07 00408 i001

4.2. Algorithm for Multi-UAVs Trajectory Planning Based on Genetic Algorithm

In this subsection, we propose the multi-UAVs trajectory planning algorithm based on the genetic algorithm (MTPA-GA) to compute the flight trajectory U k and the corresponding flight time T k of each UAV f k . Based on the hover point set C and the corresponding hover time set T C obtained in the previous section, all the UAVs start from the BS and return to the BS after traversing all hover points. During this process, each hover point can only be visited once. The MTPA-GA is designed to optimize the flight trajectories of multiple UAVs, such that the total mission time T = max T k | f k F of the last UAV to complete the data collection task is as short as possible. The total mission time T k of f k is defined as in (23) without considering the battery replacement of f k and waiting for the MUV, where L ( U k ) is the length of the flight trajectory U k .
T k = L ( U k ) v + t c , k i T C , k t c , k i .
We solve the cooperative trajectory planning problem of multiple UAVs based on the genetic algorithm(GA). By coordinating the number of hover points visited by each UAV, the hover points visited by each UAV and their order are obtained. Designing the MTPA-GA requires defining the following elements: initial population, fitness function, selection, crossover and mutation operations, and the termination criterion.
  • Initial population: Each cluster obtained in the clustering phase by the MCA-AP is made up of several SNs. It is known that N is the number of clusters obtained. Each individual X in the initial population is made up of the cluster heads of the same N clusters but in a different order within each individual X. Since multiple UAVs cooperate to perform the data collection task, which is different from the case of a single UAV, each individual needs to maintain two gene segments: the trajectory segment and the break point segment. Therefore, according to the number m of UAVs, we set m 1 breakpoints in each individual to obtain the trajectory of each UAV, as shown in Line 1 of Algorithm 2.
  • Fitness function: In particular, a large fitness value implies that an individual has a high probability of being chosen to form part of the next generation. We consider that an individual X following the shorter path has better fitness and that it has a greater chance of being selected in the next generation, as shown in Line 4 of Algorithm 2. The fitness function F ( X ) is defined as in (24):
    F ( X ) = 1 Z ,
    where X represents individual, and Z is the weighted sum of the total flight distance and flight distances balance of all UAVs when individual X is considered. Z is defined as in (25):
    Z = D w · k = 1 m D k + B w · B ,
    where D w and B w are positive constants. D k represents the flight distance of UAV f k . B represents the balance of distances for all UAVs. The  D k and B are defined as in (26) and (27), respectively:
    D k = c i , c j C d i s t ( π k ( c i ) , π k ( c j ) ) ,
    B = D m a x D m i n D m a x ,
    where d i s t ( a , b ) represents the distance between a and b. π k ( c i ) is a mapping function and means that c i is the hover point c k j visited by f k . D m a x = max D k | f k F is the longest flight distance of all UAVs in the individual X, and D m i n = min D k | f k F is the shortest flight distance of all UAVs in the individual X.
  • Selection strategy: We use tournament selection as the selection strategy as it can be implemented efficiently. It also allows for modification of the number of individuals taking part in the selection. We will choose an appropriate size of tournament because, if it is larger, weak individuals will have fewer chances to be selected as they have to compete with stronger candidates, as shown in Line 5 of Algorithm 2.
  • Crossover operation: For the crossover operation, we use the order crossover method. It is easy to implement and requires no overhead operations. The individuals winning the tournament selection are used for order crossover. Note that crossover is performed independently in each individual, as shown in Line 6 of Algorithm 2.
  • Mutation operation: For the mutation operation, we use the swapping mutation method. Indeed, according to the mutation probability, an individual undergoes a mutation by swapping two randomly chosen SNs, as shown in Line 7 of Algorithm 2.
Finally, when the maximum number of iterations N m a x is reached, the proposed MTPA-GA terminates, as shown in Line 3–Line 9 of Algorithm 2. We select the individual with the largest fitness function value from the current population, which contains the flight trajectories U of m UAVs that we have obtained. The flight trajectory U k of each UAV f k is obtained by sequentially assigning m trajectories to the corresponding UAV according to the m 1 breakpoints in the chosen individual. Then, the flight trajectories U of m UAVs is obtained by the MTPA-GA, and the total mission time T = max T k | f k F of the last UAV to complete the data collection task is obtained, as shown in Line 10–Line 13 of Algorithm 2. The pseudo-code of the MTPA-GA is given in Algorithm 2.    
Algorithm 2: Multi-UAVs Trajectory Planning Algorithm based on Genetic Algorithm (MTPA-GA)
Drones 07 00408 i002

4.3. Algorithm for Multi-UAVs and Single-MUV Cooperative Trajectory Planning

In this subsection, we propose the multi-UAVs and single-MUV cooperative trajectory planning algorithm (MUSM-CTPA). Based on the hovering points and the corresponding hovering times obtained in the first phase and the flight trajectory of each UAV obtained in the second phase, the battery replacement point set B k of each UAV f k is calculated, and the scheduling strategy for the MUV to replace the battery of all UAVs in the process of all UAVs performing the data collection task is designed. Then, the waiting time set T P , k of each UAV f k waiting for the MUV is calculated. The MUSM-CTPA aims to optimize the travel plan of the MUV and minimize the Δ ¯ of all collected data on the premise that the total mission time T k of the last UAV returning to the BS is as short as possible. In this case, the total mission time T k of the f k is defined as in (28).
T k = L ( U k ) v + t c , k i T C , k t c , k i + b k l B k t B + t p , k l T P , k t p , k l .
The MUSM-CTPA consists of the following five steps:
  • In the first step, the WSN is divided into N clusters according to Algorithm 1, and  C = c 1 , c 2 , , c N represents the hover points with the corresponding hover times T C = t c 1 , t c 2 , , t c N for the N cluster, as shown in Line 1 of Algorithm 3.
  • In the second step, the flight trajectory U k of each UAV f k is calculated according to Algorithm 2 based on the hovering point set C obtained in the first step, as shown in Line 2 of Algorithm 3.
  • In the third step, based on the UAVs’ flight trajectories obtained in the second step, we firstly calculate the current residual energy E k of UAV f k from hovering points c k i to c k j by (29). If  E k is greater than the energy threshold E 0 , the  f k has the ability to provide services for the next cluster according to the trajectory U k , as shown in Line 6–Line 8 of Algorithm 3. Otherwise, the UAV arrives at the nearest point ( x l , y l ) on L according to its current position and takes it as the battery replacement point b k l to wait for the arrival of the MUV, and its corresponding waiting time is t p , k l , as shown in Line 9–Line 13 of Algorithm 3. Eventually, the battery replacement point set B k in the flight trajectory of the UAV f k is obtained.
    E k = E k d i , j v · P f t c , k i · P h .
  • In the fourth step, for each battery replacement point b k l B k , the average AoI Δ k l ¯ of the data collected by f k at the current location is calculated, as shown in Line 11 of Algorithm 3. The value of Δ k l ¯ is an important criterion to decide the MUV service scheduling strategy.
  • In the fifth step, we design the MUV service scheduling strategy based on the greedy idea. During the process of the MUV traveling on the fixed path L, it may need to replace the batteries of multiple UAVs at a certain time. In this case, the MUV preferentially reaches the battery replacement point with the largest Δ k l ¯ and replaces the battery for the UAV at that point, as shown in Line 15 of Algorithm 3. This idea enables the UAV with the largest average AoI of the current collected data to remove the waiting time for the MUV to replace the battery as soon as possible, thus minimizing the Δ ¯ of the WSN.
Therefore, we can find the flight plans of F and the travel plan of the MUV Ψ , Φ . The pseudo-code of the MUSM-CTPA is given in Algorithm 3.
Figure 2 shows the flowchart for the implementation of the MUSM-CTPA algorithm.
Algorithm 3: Multi-UAVs and Single-MUV Cooperative Trajectory Planning Algorithm (MUSM-CTPA)
Drones 07 00408 i003

4.4. Computational Complexity

The computational complexity of the proposed MUSM-CTPA algorithm mainly depends on the complexity of Algorithms 1 and 2. Algorithm 1 is based on the AP clustering method to determine the hover points. The computational complexity mainly involves similarity computation and message passing. In the similarity computation stage, the similarity matrix between samples needs to be calculated, which requires a computational cost of O ( N 1 2 ) , where N 1 is the number of SNs. In the message passing stage, T 1 iterations are performed. Therefore, the computational complexity is O ( N 1 2 T 1 ) . Algorithm 2 is based on the GA method to design cooperative flight trajectories for multiple UAVs. The computational complexity depends mainly on the population size, the chromosome length, and the number of iterations. During the initialization stage, generating the initial population typically has a computational complexity of O ( N 2 L 2 ) , where N 2 is the population size, and L 2 is the chromosome length. Updating the population involves replacing individuals in the old population, with a computational complexity of O ( T 2 ) , where T 2 is the number of iterations. Therefore, the computational complexity is O ( T 2 N 2 L 2 ) . In Algorithm 3, the scheduling strategy for the MUV is designed based on the greedy idea. The MUV needs to select battery replacement points one by one, starting with the one that has the highest average AoI at the current time, until all of the battery replacement points have been served. This process requires O ( N 3 2 ) computational complexity, where N 3 is the number of battery replacement points. To this end, the total computational complexity of the proposed MUSM-CTPA algorithm is approximately O ( N 1 2 T 1 + T 2 N 2 L 2 + N 3 2 ) .

5. Simulation Experiments

5.1. Simulation Settings

In this section, we present simulation results to evaluate the performance of the proposed MUSM-CTPA algorithm. The simulation experiments are conducted in Python. In the experiments, we consider the system model shown in Figure 1. We assume that the SNs are deployed in a 1000 m × 1000 m detection area, the BS is located at the origin ( 0 , 0 ) , and UAVs and the MUV depart from BS at time instant t = 0 . Unless otherwise specified, the major simulation parameters are presented in Table 2.
We consider the following nine groups of parameter settings, and we create 100 instances to perform the simulation and obtain the average results for each parameter setting: (1) under different algorithms with fixed n = 300 , 600 and m = 3 , in terms of the flight trajectories of the UAVs; (2) n varies from 100 to 600 by the step of 100 with fixed m = 3 under different algorithms, in terms of the average AoI and the largest mission time; (3) with a fixed m = 1 , 3 , 5 , 10 and n = 300 , in terms of the flight trajectories of the UAVs; (4) n varies from 100 to 600 by a step of 100 with a fixed m = 1 , 3 , 5 , 10 , respectively, in terms of the average AoI and the largest mission time; (5) n varies from 100 to 600 by a step of 100 with a fixed m = 1 , 3 , 5 , 10 , respectively, in terms of the travel time of the MUV; (6) n varies from 100 to 600 by a step of 100 with a fixed m = 3 , with or without an MUV, in terms of the average AoI and the largest mission time; (7) v varies from 10 to 50 by a step of 10 with a fixed V m a x = 5 , 10 , 15 , m = 3 and n = 300 , in terms of the average AoI and the largest mission time; (8) E 0 varies from 500 to 2500 by a step of 500 with a fixed E m a x = 5000, 10,000, 15,000, m = 3 and n = 300 , in terms of the largest mission time; (9) V i varies from 100 to 500 by a step of 100 with a fixed m = 1 , 3 , 5 , 10 and n = 300 , in terms of the largest mission time.
For evaluation, we use the greedy-based algorithm as a benchmark and compare it with our algorithm in the same system scenario. Both of the algorithms assume that the given location of BS and SNs, the determined hover points at which the UAVs collect data and the replacement points on L at which the MUV performs battery replacement for the underpowered UAVs, can enable the UAVs to complete their missions and return to the BS. The objective of both algorithms is to find the optimal flight plans of F and travel plan of the MUV Ψ , Φ cooperative such that the average AoI Δ ¯ of all collected data is minimized.

5.2. Simulation Results and Analysis

5.2.1. The Impact of the Parameters of the SNs

Firstly, we investigate the impact of variations in the number of SNs under different algorithms on the flight trajectories of UAVs, we dispatch three UAVs to perform data collection tasks and set the number of SNs to 300 and 600, respectively. Figure 3 shows the flight trajectories of UAVs utilizing two algorithms with varying numbers of SNs when we set m = 3 . It can be seen that the MUSM-CTPA algorithm results in a shorter total flight distance than the greedy-based algorithm when the number of SNs is 300 and 600, respectively. This is attributed to the GA-based visit sequence optimization algorithm employed by MUSM-CTPA, which enables it to find suboptimal visit sequences capable of escaping local optima and converging to the global optimal solution in a timely manner. In contrast, the greedy-based visit sequence algorithm tends to become trapped in local optima.
Figure 4a,b show the impact of varying numbers of SNs on the average AoI and the largest mission time under different algorithms when we set m = 3 , respectively. It can be seen that both the average AoI and the largest mission time gradually increase in both algorithms as the number of SNs increases. This is because, with an increase in the number of SNs, the number of data collection hover points visited by UAV increases, the number of SNs requiring service at each data collection hover point also increases, and the corresponding hovering time further increases. As a result, the average AoI of all collected data after the UAVs return to the BS increases, while the total mission time of the last UAV returning to the BS becomes longer.
It can also be further seen from Figure 4a,b that regardless of the number of SNs, both the average AoI and the largest mission time based on the MUSM-CTPA algorithm are smaller than those based on the greedy algorithm. This is because the UAV flight trajectory obtained by MUSM-CTPA is more reasonable and closer to the global optimal solution. Therefore, the number of battery replacement times for the UAVs by the MUV will be correspondingly reduced, and the service scheduling of the MUV will be more reasonable, which decreases the average AoI of all the collected data after all UAVs return to the BS and the total mission time after the last UAV returns to the BS.
Figure 5 shows the largest mission time when the amount of data increases from 100 KB to 500 KB by 100 KB under different numbers of UAVs. It can be seen that the largest mission time gradually increases as the amount of data increases under any number of UAVs. However, with any fixed amount of data, the largest mission time gradually decreases with the addition of more UAVs. This is because the corresponding hovering time for each hovering point increases as the amount of data increases, which makes the total mission time of the last UAV returning to the BS become longer. Nevertheless, with the addition of more UAVs, the number of hovering points visited by each UAV decreases, which reduces the total mission time of UAVs.
Figure 6 shows the ratio of MUSM-CTPA to the lower bound. It can be seen that the ratio gradually decreases as the number of SNs increases, and the ratio is always greater than or equal to one and less than or equal to two. This is because the MUSM-CTPA algorithm not only plans the flight trajectories of multiple UAVs but also designs a strategy for the MUV to replace the UAVs’ batteries to optimize the data collection process. This result validates the effectiveness of MUSM-CTPA in achieving efficient data collection.

5.2.2. The Impact of the Parameters of the UAVs

Figure 7 shows the trajectories of the UAVs under the condition of n = 300 when we set m = 1 , m = 3 , m = 5 and m = 10 , respectively. It can be seen from Figure 7a, when m = 1 , one single UAV is dispatched to visit all data collection hover points for data collection. It can also be seen from Figure 7b–d that multiple UAVs are dispatched to perform data collection, among which m = 3 is set in Figure 7b, m = 5 in Figure 7c, and m = 10 in Figure 7d. The trajectory of each UAV is marked with a different color. In order to visit all the data collection hover points, the multiple UAVs are supposed to perform data collection collaboratively. Each UAV is responsible for a part of all the data collection hovering points; the balance of the flight distances of all the UAVs should be considered to avoid a much larger gap at the same time. Therefore, the flight distance and mission time of each UAV decrease as the number of UAVs increases.
Figure 8 shows the interaction between the UAVs and one MUV under the condition of n = 300 when we set m = 1 and m = 3 , respectively. We use a blue star to indicate the battery replacement point. It can be seen that the MUV needs to replace the battery for the UAV in both Figure 8a,b. In Figure 8a, since there is only one UAV, the MUV only needs to follow the flight of the UAV to provide service in time. In Figure 8b, since there are three UAVs performing tasks at the same time, the MUV needs to adopt a scheduling strategy to decide the service order when replacing the batteries for the UAVs. It can also be seen that there is not much difference in the total number of battery replacements in Figure 8a,b. This is because, compared with one UAV, multiple UAVs performing tasks at the same time may have a longer total flight distance, but the task execution time is much shorter.
Figure 9a,b show the average AoI and the largest mission time when the number of SNs increases from 100 to 600 by 100 under different numbers of UAVs, respectively. It can be seen that both the average AoI and the largest mission time gradually increase as the number of SNs increases under any number of UAVs. This is because, as the number of SNs increases, the number of data collection hover points visited by UAV increases. The number of SNs required to be served at each data collection hover point also increases, and the corresponding hovering time further increases, which will increase the average AoI of all collected data after the UAVs return to the BS, and the total mission time of the last UAV returning to the BS becomes longer.
It can also be further seen from Figure 9a,b that regardless of the number of SNs, both the average AoI and the largest mission time when m = 1 are much higher than the other three multi-UAVs cases. This is because multiple UAVs can perform data collection tasks at the same time, which can complete data collection faster than a single UAV. At the same time, multiple UAVs can work together to assign tasks according to the requirements of data collection tasks, thus covering a wider area and improving the coverage and efficiency of data collection. Therefore, as the number of UAVs increase, both the average AoI of all the collected data and the total mission time for the last UAV to complete the task decrease correspondingly.
Figure 10 shows the largest mission time under E m a x and E 0 change when we set n = 300 and m = 3 , respectively. It can be seen that the largest mission time gradually increases with the increase in E 0 under E m a x = 5000 and E m a x = 5000 . However, the largest mission time remains unchanged when E m a x = 15,000. This is because, with the increase in E 0 , the UAVs need to replace the battery more times, which makes the largest mission time increase. However, once the E m a x reaches a certain value, the UAVs are fully capable of collecting data without having to replace the battery.

5.2.3. The Impact of the Parameters of the MUV

Figure 11 shows the travel time of the MUV returning to the BS after departing from the BS to serve all the UAVs requiring battery replacement when the number of SNs increases from 100 to 600 by 100 under different numbers of UAVs. It can be seen that with any number of UAVs, the travel time of the MUV gradually increases with the increase in the number of SNs. However, with any number of SNs, the travel time of the MUV gradually decreases with the increase in the number of UAVs. This is because in the case of a given number of UAVs, as the number of SNs increases, the number of data collection hover points visited by UAVs increases, resulting in a greater energy consumption of the UAVs. Consequently, the frequency of battery replacement for the UAVs increases, and the scheduling of the MUV on the fixed path L becomes more frequent. As a result, the travel time of the MUV also increases. However, in the case of a certain number of SNs, multiple UAVs cooperate to visit all data collection hovering points, and the energy consumption of UAVs is reduced. Consequently, the frequency of battery replacement for the UAVs decreases. As a result, the travel time of the MUV also decreases.
Figure 12a,b show the average AoI and the largest mission time with or without an MUV to replace the battery for the UAVs when we set m = 3 , respectively. It can be seen that both the average AoI and the largest mission time with MUV are smaller than those without the MUV. This is because, with the assistance from the MUV, the UAVs can arrive at the nearest point on L to the current position and wait for the MUV to arrive to replace its battery. When there is no MUV, the UAVs need to return to the BS for battery replacement, which greatly increases the distance and flight time of the UAVs.
Figure 13a,b show the average AoI and the largest mission time under v m a x and v change when we set n = 300 and m = 3 , respectively. It can be seen that both the average AoI and the largest mission time significantly decrease with the increase in v under any v m a x , but eventually flattens out. This is because, on the one hand, with the increase in the UAVs’ speed v, the flight times of UAVs are shortened, which makes UAVs return to the BS faster. On the other hand, the increase in the MUV’s speed v m a x makes the MUV provide battery replacement service for the UAV faster, which reduces the time for UAVs to wait for the MUV.
To conclude, the above simulation results show that the proposed MUSM-CTPA algorithm can find the more optimal flight plans of F and travel plan of the MUV cooperative than the benchmark algorithm such that the average AoI of all collected data is minimized. In addition, in the parameter setting of the MUSM-CTPA algorithm, n, m, v, v m a x , V i , E m a x , E 0 , and the presence of an MUV have different impacts on the average AoI. Among these parameters, m and the presence of MUV have a greater impact, since multiple UAVs can perform tasks synchronously compared to a single UAV, while MUV can minimize the limitation of UAV energy. Therefore, it is necessary to consider the cooperation of multiple UAVs and a single MUV to assist data collection in WSN.

6. Conclusions

This paper investigates the multi-UAVs and single-MUV cooperative trajectory planning (MUSM-CTP) problem, which focuses on finding the flight trajectories of m UAVs and the travel plan of the MUV cooperative. The objective of this problem is to minimize the largest mission time of m UAVs such that the average AoI of all collected data is minimized. Then, we prove that the MUSM-CTP problem is NP-hard. Based on the definition of MUSM-CTP, we propose an algorithm named the multi-UAVs and single-MUV cooperative trajectory planning algorithm (MUSM-CTPA) to achieve cooperative trajectory planning. First, the minimum coverage algorithm based on affinity propagation (MCA-AP) is developed to find the hovering points set C and the corresponding times set T C in a given WSN. Based on this result, the multi-UAVs trajectory planning algorithm based on the genetic algorithm (MTPA-GA) is designed to find the flight trajectories of m UAVs cooperatively visiting all the hover points, which are the positions and order of the hovering points C k visited by each UAV f k . Finally, the scheduling strategy of the MUV is designed to find the optimal travel plan of the MUV. According to the massive simulations, we can verify that the proposed algorithm has great performance. In future work, we plan to consider the WSNs that utilize multiple UAVs and multiple MUVs for data collection and investigate the cooperative strategies for data collection and energy charging. Our goal is to further improve the efficiency and reliability of data collection to meet the demands of a wider range of practical applications.

Author Contributions

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

Funding

This work was supported in part by the National Natural Science Foundation of China under Grant (62002022, 62202054) and the Fundamental Research Funds for the Central Universities (No. BLX201921, No. 2021ZY88).

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

Not applicable.

Conflicts of Interest

The authors declare no conflict of interest. The founding sponsors had no role in the design of the study; in the collection, analyses, or interpretation of data; in the writing of the manuscript; or in the decision to publish the results.

Abbreviations

The following abbreviations are used in this manuscript:
UAVUnmanned Aerial Vehicle
WSNWireless Sensor Network
SNSensor Node
BSBase Station
AoIAge of Information
LOSLine-of-Sight
MUVMobile Unmanned Vehicle
APAffinity Propagation
GAGenetic Algorithm
MCA-APMinimum Coverage Algorithm based on Affinity Propagation
MTPA-GAMulti-UAVs Trajectory Planning Algorithm based on Genetic Algorithm
MUSM-CTPMulti-UAVs and Single-MUV Cooperative Trajectory Planning
MUSM-CTPAMulti-UAVs and Single-MUV Cooperative Trajectory Planning Algorithm

References

  1. Zeng, Y.; Zhang, R. Energy-efficient UAV communication with trajectory optimization. IEEE Trans. Wirel. Commun. 2017, 16, 3747–3760. [Google Scholar] [CrossRef] [Green Version]
  2. Pang, X.; Tang, J.; Zhao, N.; Zhang, X.; Qian, Y. Energy-efficient design for mmWave-enabled NOMA-UAV networks. Sci. China Inf. Sci. 2021, 64, 1–14. [Google Scholar] [CrossRef]
  3. Gui, G.; Liu, M.; Tang, F.; Kato, N.; Adachi, F. 6G: Opening new horizons for integration of comfort, security, and intelligence. IEEE Wirel. Commun. 2020, 27, 126–132. [Google Scholar] [CrossRef]
  4. Samir, M.; Sharafeddine, S.; Assi, C.M.; Nguyen, T.M.; Ghrayeb, A. UAV trajectory planning for data collection from time-constrained IoT devices. IEEE Trans. Wirel. Commun. 2019, 19, 34–46. [Google Scholar] [CrossRef]
  5. Kaul, S.; Yates, R.; Gruteser, M. Real-time status: How often should one update? In Proceedings of the 2012 IEEE INFOCOM, Orlando, FL, USA, 25–30 March 2012; pp. 2731–2735. [Google Scholar] [CrossRef] [Green Version]
  6. Najm, E.; Yates, R.; Soljanin, E. Status updates through M/G/1/1 queues with HARQ. In Proceedings of the 2017 IEEE International Symposium on Information Theory (ISIT), Aachen, Germany, 25–30 June 2017; pp. 131–135. [Google Scholar] [CrossRef] [Green Version]
  7. Devassy, R.; Durisi, G.; Ferrante, G.C.; Simeone, O.; Uysal, E. Reliable transmission of short packets through queues and noisy channels under latency and peak-age violation guarantees. IEEE J. Sel. Areas Commun. 2019, 37, 721–734. [Google Scholar] [CrossRef] [Green Version]
  8. Liu, X.; Li, Z.; Zhao, N.; Meng, W.; Gui, G.; Chen, Y.; Adachi, F. Transceiver design and multihop D2D for UAV IoT coverage in disasters. IEEE Internet Things J. 2018, 6, 1803–1815. [Google Scholar] [CrossRef] [Green Version]
  9. Zeng, Y.; Zhang, R.; Lim, T.J. Throughput maximization for UAV-enabled mobile relaying systems. IEEE Trans. Commun. 2016, 64, 4983–4996. [Google Scholar] [CrossRef]
  10. Yan, H.; Chen, Y.; Yang, S.H. UAV-enabled wireless power transfer with base station charging and UAV power consumption. IEEE Trans. Veh. Technol. 2020, 69, 12883–12896. [Google Scholar] [CrossRef]
  11. Liu, Y.; Xiong, K.; Ni, Q.; Fan, P.; Letaief, K.B. UAV-assisted wireless powered cooperative mobile edge computing: Joint offloading, CPU control, and trajectory optimization. IEEE Internet Things J. 2019, 7, 2777–2790. [Google Scholar] [CrossRef]
  12. Yang, B.; Bai, X.; Zhang, C. Data collection method of energy adaptive distributed wireless sensor networks based on UAV. Wirel. Commun. Mob. Comput. 2022, 2022, 3469221. [Google Scholar] [CrossRef]
  13. Say, S.; Inata, H.; Liu, J.; Shimamoto, S. Priority-based data gathering framework in UAV-assisted wireless sensor networks. IEEE Sens. J. 2016, 16, 5785–5794. [Google Scholar] [CrossRef]
  14. Zhu, G.; Guo, L.; Dong, C.; Mu, X. Mission time minimization for multi-UAV-enabled data collection with interference. In Proceedings of the 2021 IEEE Wireless Communications and Networking Conference (WCNC), Nanjing, China, 29 March–1 April 2021; pp. 1–6. [Google Scholar] [CrossRef]
  15. Gong, J.; Chang, T.H.; Shen, C.; Chen, X. Flight time minimization of UAV for data collection over wireless sensor networks. IEEE J. Sel. Areas Commun. 2018, 36, 1942–1954. [Google Scholar] [CrossRef] [Green Version]
  16. Nguyen, T.H.; Park, L. HAP-assisted RSMA-enabled vehicular edge computing: A DRL-based optimization framework. Mathematics 2023, 11, 2376. [Google Scholar] [CrossRef]
  17. Lakew, D.S.; Tran, A.T.; Dao, N.N.; Cho, S. Intelligent offloading and resource allocation in heterogeneous aerial access IoT networks. IEEE Internet Things J. 2023, 10, 5704–5718. [Google Scholar] [CrossRef]
  18. Seong, M.; Jo, O.; Shin, K. Multi-UAV trajectory optimizer: A sustainable system for wireless data harvesting with deep reinforcement learning. Eng. Appl. Artif. Intell. 2023, 120, 105891. [Google Scholar] [CrossRef]
  19. Eldeeb, E.; de Souza Sant’Ana, J.M.; Pérez, D.E.; Shehab, M.; Mahmood, N.H.; Alves, H. Multi-UAV path learning for age and power optimization in IoT with UAV battery recharge. IEEE Trans. Veh. Technol. 2022, 72, 5356–5360. [Google Scholar] [CrossRef]
  20. Zhan, C.; Zeng, Y. Completion time minimization for multi-UAV-enabled data collection. IEEE Trans. Wirel. Commun. 2019, 18, 4859–4872. [Google Scholar] [CrossRef]
  21. Yang, Z.; Pan, C.; Shikh-Bahaei, M.; Xu, W.; Chen, M.; Elkashlan, M.; Nallanathan, A. Joint altitude, beamwidth, location, and bandwidth optimization for UAV-enabled communications. IEEE Commun. Lett. 2018, 22, 1716–1719. [Google Scholar] [CrossRef] [Green Version]
  22. Lin, C.; Wang, Z.; Deng, J.; Wang, L.; Ren, J.; Wu, G. mTS: Temporal-and spatial-collaborative charging for wireless rechargeable sensor networks with multiple vehicles. In Proceedings of the IEEE INFOCOM 2018—IEEE Conference on Computer Communications, Honolulu, HI, USA, 16–19 April 2018; pp. 99–107. [Google Scholar] [CrossRef]
  23. Kaul, S.; Gruteser, M.; Rai, V.; Kenney, J. Minimizing age of information in vehicular networks. In Proceedings of the 2011 8th Annual IEEE Communications Society Conference on Sensor, Mesh and Ad Hoc Communications and Networks, Salt Lake City, UT, USA, 27–30 June 2011; pp. 350–358. [Google Scholar] [CrossRef] [Green Version]
  24. Liu, C.; Guo, Y.; Li, N.; Song, X. AoI-minimal task assignment and trajectory optimization in multi-UAV-assisted IoT networks. IEEE Internet Things J. 2022, 9, 21777–21791. [Google Scholar] [CrossRef]
  25. Jia, Z.; Qin, X.; Wang, Z.; Liu, B. Age-based path planning and data acquisition in UAV-assisted IoT networks. In Proceedings of the 2019 IEEE International Conference on Communications Workshops (ICC Workshops), Shanghai, China, 20–24 May 2019; pp. 1–6. [Google Scholar] [CrossRef]
  26. Tong, P.; Liu, J.; Wang, X.; Bai, B.; Dai, H. UAV-enabled age-optimal data collection in wireless sensor networks. In Proceedings of the 2019 IEEE International Conference on Communications Workshops (ICC Workshops), Shanghai, China, 20–24 May 2019; pp. 1–6. [Google Scholar] [CrossRef]
  27. Wu, T.; Liu, J.; Liu, J.; Huang, Z.; Wu, H.; Zhang, C.; Bai, B.; Zhang, G. A novel AI-based framework for AoI-optimal trajectory planning in UAV-assisted wireless sensor networks. IEEE Trans. Wirel. Commun. 2021, 21, 2462–2475. [Google Scholar] [CrossRef]
  28. Suzuki, K.A.; Kemper Filho, P.; Morrison, J.R. Automatic battery replacement system for UAVs: Analysis and design. J. Intell. Robot. Syst. 2012, 65, 563–586. [Google Scholar] [CrossRef]
  29. Luo, C.; Liu, N.; Hou, Y.; Hong, Y.; Chen, Z.; Li, D. Trajectory optimization of laser-charged UAV to minimize the average age of information for wireless rechargeable sensor network. Theor. Comput. Sci. 2023, 945, 113680. [Google Scholar] [CrossRef]
  30. Fu, S.; Tang, Y.; Wu, Y.; Zhang, N.; Gu, H.; Chen, C.; Liu, M. Energy-efficient UAV-enabled data collection via wireless charging: A reinforcement learning approach. IEEE Internet Things J. 2021, 8, 10209–10219. [Google Scholar] [CrossRef]
  31. Zhu, Y.; Wang, S. Aerial data collection with coordinated UAV and truck route planning in wireless sensor network. In Proceedings of the 2021 IEEE Global Communications Conference (GLOBECOM), Madrid, Spain, 7–11 December 2021; pp. 1–6. [Google Scholar] [CrossRef]
  32. Zhu, Y.; Wang, S. Efficient aerial data collection with cooperative trajectory planning for large-scale wireless sensor networks. IEEE Trans. Commun. 2021, 70, 433–444. [Google Scholar] [CrossRef]
  33. Lin, C.; Shang, Z.; Du, W.; Ren, J.; Wang, L.; Wu, G. CoDoC: A novel attack for wireless rechargeable sensor networks through denial of charge. In Proceedings of the IEEE INFOCOM 2019—IEEE Conference on Computer Communications, Paris, France, 29 April–2 May 2019; pp. 856–864. [Google Scholar] [CrossRef]
  34. Lin, C.; Yang, Z.; Dai, H.; Cui, L.; Wang, L.; Wu, G. Minimizing charging delay for directional charging. IEEE/ACM Trans. Netw. 2021, 29, 2478–2493. [Google Scholar] [CrossRef]
Figure 1. System model.
Figure 1. System model.
Drones 07 00408 g001
Figure 2. The flowchart of the MUSM-CTPA algorithm.
Figure 2. The flowchart of the MUSM-CTPA algorithm.
Drones 07 00408 g002
Figure 3. Illustrate the flight trajectories of three UAVs under different algorithms when n = 300 and n = 600 , respectively.
Figure 3. Illustrate the flight trajectories of three UAVs under different algorithms when n = 300 and n = 600 , respectively.
Drones 07 00408 g003
Figure 4. The average AoI and the largest mission time under different algorithms versus the number of SNs.
Figure 4. The average AoI and the largest mission time under different algorithms versus the number of SNs.
Drones 07 00408 g004
Figure 5. The largest mission time under different numbers of UAVs versus the value of V i .
Figure 5. The largest mission time under different numbers of UAVs versus the value of V i .
Drones 07 00408 g005
Figure 6. The ratio between MUSM-CTPA and the lower bound versus the number of SNs.
Figure 6. The ratio between MUSM-CTPA and the lower bound versus the number of SNs.
Drones 07 00408 g006
Figure 7. Illustration of the trajectories of UAVs when m = 1 , m = 3 , m = 5 , and m = 10 under the condition of n = 300 .
Figure 7. Illustration of the trajectories of UAVs when m = 1 , m = 3 , m = 5 , and m = 10 under the condition of n = 300 .
Drones 07 00408 g007
Figure 8. Illustration of the interaction between UAV and MUV when m = 1 and m = 3 under the condition of n = 300 .
Figure 8. Illustration of the interaction between UAV and MUV when m = 1 and m = 3 under the condition of n = 300 .
Drones 07 00408 g008
Figure 9. The average AoI and the largest mission time under different numbers of UAVs versus the number of SNs.
Figure 9. The average AoI and the largest mission time under different numbers of UAVs versus the number of SNs.
Drones 07 00408 g009
Figure 10. The largest mission time versus different E m a x and E 0 .
Figure 10. The largest mission time versus different E m a x and E 0 .
Drones 07 00408 g010
Figure 11. The travel time of the MUV under different numbers of UAVs versus the number of SNs.
Figure 11. The travel time of the MUV under different numbers of UAVs versus the number of SNs.
Drones 07 00408 g011
Figure 12. The average AoI and the largest mission time versus with or without a MUV.
Figure 12. The average AoI and the largest mission time versus with or without a MUV.
Drones 07 00408 g012
Figure 13. The average AoI and the largest mission time versus different v m a x and v.
Figure 13. The average AoI and the largest mission time versus different v m a x and v.
Drones 07 00408 g013
Table 1. Literature  Comparison.
Table 1. Literature  Comparison.
Related WorksContributions
Resource AllocationPath PlanningInformation FreshnessEnergy Supply
[1,12,13,14,15,16,17][1,12,13,14]××
[18,19,20,21,22]×[19][18,22]
[5,23,24,25,26,27][24,26,27][24,25,26,27]×
[28,29,30,31,32,33,34][31,32][29,30,31,32]×
manuscript
indicates presenting features in all literature. × indicates missing features in all literature.
Table 2. Simulation Parameters.
Table 2. Simulation Parameters.
NotationPhysical MeaningValues
hThe UAVs’ flight height50 m
vThe UAVs’ flight velocity20 m/s
v m a x The MUV’s velocity10 m/s
rThe UAVs’ coverage radius20 m
BThe system bandwidth5 MHz
β The channel gain at d 0 = 1 m−60 dB
P i The SNs’ transmission power0.1 watt
σ 2 The SNs’ noise power−110 dBm
E m a x The UAVs’ maximum battery capacity10,000 J
E 0 The UAVs’ minimum energy threshold1000 J
V i The amount of data carried by each sensor s i S [100 KB, 200 KB]
L i The data packet length1 Mbits
t B The fixed battery replacement time5 s
P 0 Blade power14.7517 J
P 1 Induced power41.5409 J
U t i p Tip speed of the rotor blade80 m/s
v 0 The average rotor-induced velocity5.0463 m/s
d 0 The fuselage drag ratio0.5009
ρ Air density1.225 kg/m 3
sRotor solidity0.1248
ARotor disc area0.1256 m 2
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

Lu, Y.; Hong, Y.; Luo, C.; Li, D.; Chen, Z. Optimization Algorithms for UAV-and-MUV Cooperative Data Collection in Wireless Sensor Networks. Drones 2023, 7, 408. https://doi.org/10.3390/drones7070408

AMA Style

Lu Y, Hong Y, Luo C, Li D, Chen Z. Optimization Algorithms for UAV-and-MUV Cooperative Data Collection in Wireless Sensor Networks. Drones. 2023; 7(7):408. https://doi.org/10.3390/drones7070408

Chicago/Turabian Style

Lu, Yu, Yi Hong, Chuanwen Luo, Deying Li, and Zhibo Chen. 2023. "Optimization Algorithms for UAV-and-MUV Cooperative Data Collection in Wireless Sensor Networks" Drones 7, no. 7: 408. https://doi.org/10.3390/drones7070408

Article Metrics

Back to TopTop