Abstract

The status information of complex status update applications (e.g., real-time environmental monitoring in disaster areas) can only be obtained after data processing. Therefore, the impact of data processing on age of information (AoI) cannot be ignored in complex status update applications. In this paper, complex status updates in emergency scenario are investigated, where some multiantenna unmanned aerial vehicles (UAVs) help resource-limited user devices (UDs) complete complex status updates which involve computing processes. To reduce average AoI, UDs’ energy consumptions, and UAVs’ energy consumptions in a balanced manner, the weighted sum of the three metrics is aimed to be minimized. Scheduling strategies (i.e., data transmission and computing start moments, service period, and flight radius) and power (i.e., data and pilot transmit power) allocation strategies are jointly optimized to reduce the weighted sum. The original problem is NP-hard. Thus, it is decoupled into some subproblems. Then, the near-optimal solution or stationary point of each subproblem is obtained by analyzing the characteristics of the subproblems. Finally, an iterative algorithm is proposed to alternately optimize the scheduling and power allocation strategies to obtain the suboptimal solution of the original problem. Simulation results show that the proposed algorithm can effectively reduce the average AoI and the energy consumptions of UDs and UAVs in a balanced way.

1. Introduction

The steady development of Internet of Things (IoT) has promoted the demand for real-time status update applications. In these applications, the user device (UD) (e.g., IoT device) sends sensing data to the control terminal for subsequent control processes [1]. The work [2] first proposed the age of information (AoI) to characterize the freshness of information during status updates. Recently, some works studied optimizations for AoI [26]. These works pay attention to the impact of simple data transmission on AoI. However, the impact of computing on AoI cannot be ignored in some complex status update applications. For example, in intelligent driving, the environmental information sensed by vehicles needs to be transformed into status information by complex computing. During the complex status update process, the computing delay affects AoI, which is different from the traditional status update process.

Resource-limited UDs may not afford the energy consumptions caused by the complex computing. Computing offloading technology allows UDs to offload computing tasks to computing servers, which is an effective solution to the problem above. It is worth noting that compared to tasks in conventional computing offloading, we adopt AoI instead of task delay to evaluate the tasks in complex state updates. Some works studied the AoI in cloud computing or fog computing scenarios [711]. More recently, some works analyzed and optimized AoI in multiaccess edge computing (MEC) systems [1217]. The works above studied the AoI in MEC systems where the computing servers are fixed. However, fixed servers cannot adapt to emergency scenarios such as disaster rescue.

Owing to the high mobility, unmanned aerial vehicles (UAVs) [1820] can be used to assist or serve UDs in some emergency scenarios. Specifically, UAVs can be used as data repeaters to assist UDs during status updates [2123]. Furthermore, UAVs can be used as temporary servers to provide computing services for UDs [2427]. Therefore, multiple UAVs can help UDs complete complex status updates in emergency scenarios. Moreover, since multiple antennas [2830] can effectively reduce the transmission energy consumption without increasing the power and bandwidth, it is a basic physical layer technology in 5G and even in B5G/6G. Therefore, UAVs can be equipped with multiple antennas in the millimeter wave band [31] to provide higher quality services to UDs.

In this paper, we focus on the complex status updates in a multiantenna UAV-assisted MEC system. During one service period, each UD offloads its computing task to an UAV. Next, the UAV completes the task and then transmits the status information back to the UD. Since average AoI can reflect the average information freshness of complex status updates, it is an important performance metric. Furthermore, the energy consumptions of energy-limited UDs and UAVs should be considered for extending the UDs’ and UAVs’ endurance. Therefore, we aim to reduce the average AoI and the energy consumptions of UDs and UAVs simultaneously. However, there are complex correlations between the three performance metrics. Thus, independent optimizations for one of the performance metrics cannot achieve the global optimization. To this end, we aim to minimize the weighted sum of the average AoI and the energy consumptions of UDs and UAVs, which aims to optimize the three performance metrics in a balanced way.

During the status updates, reaping the minimization of the weighted sum requires taking into account the following key issues. Firstly, the transmission and computing start moments affect average AoI. Furthermore, the transmission start moments can affect the UAVs’ positions of receiving tasks and then further influence the UDs’ energy consumptions. Secondly, pilot and data transmit powers affects UDs’ energy consumptions significantly. Thirdly, service period and flight radius affect the average AoI and the energy consumptions of UDs and UAVs. Therefore, the six types of variables above should be jointly optimized.

However, the joint optimization problem has the following challenges. Firstly, compared to the existing works where servers are fixed, the UAVs’ positions of receiving tasks decide UDs’ transmission rates and further affect the average AoI and the energy consumptions of UDs, which increases the difficulty of the optimization. Secondly, transmission start moments of the adjacent status updates are coupled with each other, which greatly increases the complexity of the problem. The discussion above also applies to the computing start moments. Thirdly, since we model the channels between the UAVs and UDs as Rician channels under imperfect channel state information, the transmission rate is a complex and nonconvex function with respect to the pilot and data transmit powers, service period, and flight radius. Although the joint optimization problem has the challenges above, we obtain the suboptimal solution by analyzing the problem and proposing an iterative algorithm. Moreover, a large rotor UAV at a higher altitude, as a central controller [32], collect UDs’ positions and task information and release the optimized scheduling and power allocation strategies to UDs and UAVs. The main contributions of this paper are summarized as follows. (1)Complex status updates in an emergency scenario are investigated. In the scenario, multiantenna UAVs, as air computing servers, provide computing services for UDs so that they can update their statuses timely. Moreover, the Rician channel and the nonideal channel state information are both considered, which are realistic(2)We adopt the zero-wait principle for the computing offloading process, which aims to avoid the increase of average AoI caused by data accumulations. Moreover, the weighted sum of the average AoI and the energy consumptions of UDs and UAVs is reduced by jointly optimizing scheduling and power allocation strategies, which improves the efficiency of status update with low energy consumption(3)The NP-hard problem is decoupled into five subproblems, and we obtain the near-optimal solutions or stationary points of the subproblems by analyzing their characteristics. Specially, we propose a search algorithm based on greedy rules to obtain the near-optimal solution of the transmission and computing start moment subproblem. Subsequently, we transform the pilot and data transmit power subproblems into convex problems and propose search algorithms based on the successive convex approximation to obtain their stationary points

The rest of this paper is organized as follows. In Section II, we introduce the system model and formulate the optimization problem. In Section III, the five subproblems are solved one by one and an iterative algorithm is proposed to solve the optimization problem. Section IV presents the numerical results. Finally, we conclude the paper in Section V.

2. System Model and Problem Formulation

In a system without infrastructures, UDs have perception and communication capabilities. They obtain perceived data by sensing physical processes in the real world. Specially, the perceived data needs to be calculated and transformed into status information for subsequent operations. Since the energy of each UD is limited, multiple UAVs equipped with multiple antennas fly over the target area and provide UDs with computing services.

As shown in Figure 1, we consider a multiantenna UAV-assisted MEC system, where fixed-wing UAVs equipped with antennas provide computing services to single-antenna UDs. The system adopts the millimeter wave frequency band, which allows the deployment of multiple antennas on UAVs [33, 34]. The UDs are randomly distributed in the circular area with radius , and the circular area is uniformly divided into sector areas. For convenience, we denote the set of sector areas as , and the set of all UDs belonging to the sector area is , where is the number of UDs in the sector area . All UAVs fly with the same altitude and on the same circular trajectory of radius . Moreover, all UAVs make uniform circular motions and the flight period of each UAV is . In particular, since UAVs perform services during the flight process, the service period is equivalent to the flight period. At the initial moment of a service period, UAVs start flying from the angular bisector of sector areas, respectively. Therefore, in any sector area, there is always one UAV over the area at any moment within the period . It is worth noting that since each UAV makes a uniform circular motion and its initial position is known, the position of each UAV at any moment can be obtained by calculations. Moreover, a three dimensional Cartesian coordinate system is adopted, where the coordinate of UD in the sector area is . The coordinate of the UAV at moment is , where and , where represents the initial azimuth of UAV . Each UD needs to complete status updates during a service period. Define as the set of the number of status updates. During each status update, the perceived data of UD in the sector area is the input data of a computation-intensive task , which adopts the binary offloading model where the task has to be executed as a whole at one equipment. represents the amount of computing task for the UD in the sector area , and is the CPU cycles required to complete .

All UDs in sector area utilize the same time-frequency resource to offload perceived data to the UAV over the sector area. Due to the strong line-of-sight (LoS) link and some NLoS links, the channels between UAVs and UDs can be modeled as Rician channels [35]. In order to facilitate the decoding of multiuser signals, UAVs need to perform uplink channel estimation based on the UDs’ uplink pilot signals before the data transmission. Specifically, all UDs in sector area send uplink pilots with symbol sequences of length to the UAV over the sector area , where is smaller than the channel coherence interval . Moreover, the pilots of all UDs in a sector area are designed pair-wise orthogonally, i.e., there is no pilot pollution. The UAVs adopt the minimum mean-square-error (MMSE) estimation approach and the maximal ratio combining (MRC) detection method. Based on the work [36], at moment , the achievable uplink rate of the UD in the sector area is shown in formula (1), where is the generation moment and the transmission start moment of the perceived data during the -th status update, i.e., the perceived data are sent immediately when they are generated. It is worth noting that the transmission start moments of all UDs are the same. In addition, represents the bandwidth allocated to each sector area, and represents the total system bandwidth. Moreover, some parameters in formula (1) are defined as

where and represent the pilot transmit power and data transmit power of all UDs in sector area during the -th status update, respectively. represents the deterministic channel gain between UD in the sector area and the UAV over the area during the -th status update. Moreover, and represent the channel power gain at the reference distance m and the distance between the UD and the UAV over the sector area during the -th status update, respectively. Based on the work [35], the Rician factor can be modeled by the exponential function of the elevation angle , and its expression is , where and are constant coefficients determined by the specific environment. Moreover, .

During the -th status update, the transmission delay, computing delay, and energy consumption of the UD in the sector area can be given as follows:

where is the computing rate assigned to the UD in the sector area . We define that the total computing rate of any UAV is , and each UAV equally distributes its computing rate to all UDs connected to it. In other words, . Moreover, the transmission delay includes the pilot transmission delay and data transmission delay. The data transmission delay has proportional relationships with the transmission delay and pilot transmission delay. Therefore, in formulas (3a) and (3c), the transmission delay and the pilot transmission delay can be obtained by multiplying the data transmission delay with scale factors.

We adopt the zero-wait principle for the communication process and the specific principle is given as follows. To avoid the communication queuing, the transmission start moment of the -th status update should not be less than the transmission termination moment of the -th status update, and the constraint is given as follows:

where represents the maximal transmission delay during the -th status update, and its expression is .

Moreover, the positions of all UAVs are considered to be stationary during each status update. Therefore, the maximal transmission delay of each status update needs to satisfy the following constraint:

where represents a time threshold. Specifically, if the maximal transmission delay of the -th status update is smaller than the threshold, UAVs are approximately regarded as stationary.

To keep UDs from spending large idle time on the communication, the transmission start moment of the -th status update should not be greater than the termination moment of the -th status update. The constraint is given as follows:

where represents the maximal computing delay of the -th status update, and its expression is . represents the termination moment of the -th status update. Since the amount of status information is small, the download time of status information can be ignored.

Since the status update is continuous and time-sensitive, the AoI is introduced to characterize the freshness of the status information. The change rules of the AoI are given as follows. During the -th status update, if the computation- intensive task of UD in the sector area does not be completed, the UD does not receive new status information. Thus, its AoI increases linearly with time . Otherwise, the AoI of UD in the sector area can be given as follows:

Furthermore, the average AoI of UD in the sector area can be given as follows:

In Figure 2, a schematic of the AoI of UD in the sector area is depicted. The initial AoI of the UD in the sector area is . Its average AoI can be calculated by the areas of isosceles trapezoids and the area of an isosceles triangle . The expression can be given as follows:

where is the computing start moment of the -th status update. Since there are multiple sector areas in the system, all UAVs start to perform computing tasks simultaneously for the facilitate management.

Moreover, UAVs have flight energy consumptions and computing energy consumptions during the service period. Since computing energy consumptions are much smaller than flight energy consumptions, we mainly consider flight energy consumptions of UAVs. Similar to work [18], the flight energy consumption of UAV that flies on a circle is given as follows:

where and are parameters related to UAV weight, wing area, air density, and gravitational acceleration, etc.

In order to improve the efficiency of status update with low energy consumption, we aim to minimize the weighted sum of the average AoI and the energy consumptions of UDs and UAVs by jointly optimizing the scheduling and power allocation strategies, where the scheduling strategies include the transmission and computing start moments, service period, and flight radius. The power includes the pilot and data transmit power. The optimization problem is given as follows:

where . , , and are the weighted factors of average AoI, UDs’ energy consumptions, and UAVs’ energy consumptions, respectively. The main function of weighted factors is to optimize the average AoI and the energy consumptions of UDs and UAVs in a blanced way. The values of the weighted factors can be determined by comparing the average AoI and the energy consumptions of UDs and UAVs under an initial solution.

Here, constraint (9b) ensures that all UAVs are consider to be stationary during any status update. Constraint (9c) requires that the transmission start moment of the -st status update must be nonnegative. Constraint (9d) ensures the realization of the zero-wait principles in communication process. Constraint (9e) avoids long-term idleness in communications. Constraint (9f) indicates that the computing start moment should not be less than the transmission termination moment during any status update. Constraint (9g) means that the computing start moment of the -th status update cannot be less than the termination moment of the -th status update. The reason is that the computing tasks of the -th status update should be started at the same time, and the computing tasks of the -th status update cannot be executed when the computing tasks of the status update are being executed. Constraint (9h) indicates that the termination moment of the -th status update should not be greater than the service period . Constraints (9i) and (9j) represent that the pilot and data transmit powers must be in the feasible power ranges. Constraint (9k) indicates that the flight radius of UAVs should ensure the UAV minimum safe distance and do not exceed the radius of the UDs’ area. Constraint (9l) means that the service period of UAVs should satisfy the flight constraints of UAVs, where and are the maximal and minimal flight speed of each UAV. Since the objective function and the constraints (9b) and (9d)–(9f) are nonconvex, the problem is a nonconvex optimization problem and cannot be directly solved by the convex optimization techniques.

3. Algorithm Design

In this section, we first transform the original problem into multiple subproblems based on the correlations between variables. Specifically, there are constraints between transmission and computing start moments, and they are independent of other variables. Therefore, we formulate a sub-problem related with transmission and computing start moments. Since the other variables are independent of each other, we formulate the corresponding subproblem for each variable. Then, we solve subproblems according to their characteristics. Finally, an iterative algorithm is proposed to obtain the suboptimal solutions of the original problem.

3.1. Transmission and Computing Start Moment Optimization

Since the transmission start moment and the computing start moment are tightly coupled, the subproblem SP1 jointly optimizes the two types of variables. With given , the transmission and computing start moment optimization problem can be formulated as follows:

Although there is a strong coupling relationship between and , we can simplify the SP1 by analyzing the objective function. Specifically, we obtain the partial derivative of the objective function with respect to as

It can be seen that the objective function is a linear expression of . Since and , the objective function is monotonically increasing with respect to . Therefore, if does not take the minimum value within its feasible region, a smaller can always be found to make the objective function smaller. In summary, when the objective function is optimal, the formulas

always hold. Therefore, the transmission and computing start moment optimization problem can be equivalently transformed as follows:

Since the objective function of the SP1.1 is still a nonconvex function of , it is difficult to solve it by convex optimization techniques. In addition, both and are complex functions of . It is intractable to analyze in the objective function of the SP1.1. Therefore, search algorithms are more suitable for solving the SP1.1. However, the number of variables in the SP1.1 is , and the adjacent variables and are coupled. If the exhaustive search algorithm is performed for all variables, the computational complexity of the exhaustive search algorithm is highly exponential. Therefore, the exhaustive search algorithm is not suitable for solving the SP1.1.

In order to obtain an approximately optimal solution with lower complexity, we further analyze the SP1.1. When is fixed, there is a optimal set of to minimize the objective function. Moreover, the constraints (12d) and (12e) indicate the Markov properties of the transmission start moments, i.e., is only related to . In other words, the SP1.1 can be divided into multiple subproblems step by step. For example, when is fixed, the subproblem of can be solved. When is fixed, the subproblem of can be solved and so on. Based on the characteristics above, the greedy rule can be used to solve each sub-problem above. Specifically, when is fixed, we only choose that minimizes the current weighted sum as the solution of . The current weighted sum is shown in formulas (13) and (14), where . The specific steps of the algorithm are shown in Algorithm 1, where is the number of sampling points of , and is the maximum feasible value of and can be obtained by search algorithms. Specially, is a set of which are generated from sampling points and satisfies constraints , , and within the interval . Moreover, is a set of which are generated from sampling points and satisfies constraints , , , and within the interval .

1: and
2: repeat
3: Set and .
4: Calculate based on formula (3a).
5: if then
6:  .
7: else
8:  .
9:  repeat
10:   ifthen
11:    Find the set of .
12:    if then
13:     .
14:     break.
15:    else
16:     Choose in the that minimizes as and set .
17:    end if
18:   end if
19:   ifthen
20:    Find the set of .
21:    ifthen
22:     .
23:     break.
24:    else
25:     Choose in the set that minimizes as and set .
26:    end if
27:   end if321
28:  until
29: end if
30: until
31: Choose the set with the smallest objective function as .
32: Output: .
3.2. Pilot Transmit Power Optimization

With given , the pilot transmit power optimization problem can be formulated as follows:

It can be seen that the objective function of the SP2 only includes UDs’ energy consumptions. Moreover, does not affect the energy consumptions of UDs in different status updates and in different sector areas. Therefore, the SP2 can be equivalently transformed into a problem of minimizing energy consumptions of UDs in sector area and during status update . Specifically, the equivalent problem SP2.1 can be given as follows:

where

It can be seen that the objective function of the SP2.1 is nonconvex, and constraints (16b)-(16c) need to be further processed. Thus, we convert the SP2.1 into an approximate convex problem and utilize successive convex approximation (SCA) to obtain the stationary point of the SP2.1. First, we deal with the objective function of the SP2.1. The auxiliary variables are introduced, which satisfy constraints . Then, we further deal with the constraints above.

Firstly, the transmission rate can be equivalently written as

where the expressions of , , , , , and are shown in formulas (1823). Therefore, the constraints can be equivalently expressed as formula (24): where , , .

We set . Since is a concave function with respect to , we obtain the first-order Taylor expansion of at the feasible point . Then, the constraint (24) can be written approximately as follows:

It is worth noting that constraint (25) does not guarantee the validity of constraint (24), namely, it cannot ensure that we can obtain the upper bound of the objective function of SP2.1 for minimization. However, the effectiveness of constraint (25) can be seen from the simulation section. Therefore, constraint (25) is acceptable. Next, we introduce variables and set . Then, constraint (25) can be equivalently written as follows: where , , and . Moreover, we define a function .

Lemma 1. is a concave function with respect to .

Proof. The function can be written equivalently as Further, formula (27) can be written as where .
Since takes the minimal value of when and , then the inequality holds. Moreover, because , , , , and are all positive, both and are less than 0. In summary, since and are convex function with respect to , is a concave function with respect to .
It can be seen that constraint (26) is nonconvex. Thus, we perform first-order Taylor expansions of and at the feasible point . Next, constraint (26) can be approximately written as where the first-order Taylor expansions of and are and , respectively. Moreover, and need to be greater than zero to approximate and , respectively. Obviously, constraint (29) is convex. Moreover, the objective function of SP2.1 can be transformed into based on the and .
Next, we process constraints (16b) and (16c). Firstly, constraint (16b) can equivalently be written as where Based on analyses of different situations of , we rewrite the constraint (30a) as follows: where , . Moreover, represents the set of real numbers.
For the constraint (16c), we choose sector area for analyses. If UD in the sector area satisfies constraint , the constraint can be equivalently written as follows: where

Define that the UD in the sector area during the -th status update satisfies constraint (32a). Since the constraint (32a) is similar to the constraint (30a), the constraints after processing are shown as follows.

1: Obtain and based on analyses for all sector areas.
2: For all sector areas in , search based on constraints (31) and (34c)-(34d).
3: Set .
4: repeat
5: Obtain by the one-dimensional search method based on constraints (31), (34c), and (34d).
6: For all UDs belonging to the set , search based on constraints (31), (33), (34c), and (34d)) and further obtain .
7: Calculate based on the power set.
8: .
9: until
10: Choose the set with the minimal as the optimal pilot transmit powers of all sector areas in.
11: Output: .

In summary, the SP2.1 can be written approximately as follows:

where , and it is to obtain a certain lower bound of for subsequent processing.

Obviously, the SP2.1.1 is convex. However, due to a large number of variables and the high complexity of SP2.1.1, it is difficult to utilize the CVX toolkit for solving the problem. Therefore, we further analyze the problem and propose a search algorithm. Firstly, based on the Lemma 1, , , and are negative. In addition, and are positive. Thus, . Moreover, since , , and are positive, . In summary, constraint (29) can be equivalently expressed as

When the objective function of SP2.1.1 is optimal, the equality in the constraint (35) always holds. Thus, the objective function of SP2.1.1 is a function with respect to . In other words, a one-dimensional search algorithm is proposed for obtaining the optimal solutions of SP2.1.1. In particular, since the proposed search algorithm is based on the analysis of SP2.1.1, its computational complexity is lower than that of general search algorithms. Finally, we can obtain the stationary point of SP2.1 by iteratively optimizing SP2.1.1. The detailed solution process of obtaining the optimal solution of SP2.1.1 is shown in Algorithm 2. In the algorithm, if there is no UD that satisfy constraint (33) in sector area , then . Otherwise, . Moreover, represents the area number of the -th element in the set , and represents the number of all elements in the set . Moreover, the feasible region of of each UD in the sector area can be obtained based on constraints (31), (33), (34c), and (34d). If the feasible region is not empty, . In addition, is the that minimizes .

3.3. Data Transmit Power Optimization

The data transmit power optimization problem can be formulated with given , since has no effect on the energy consumptions of UDs in the sector area during any status update and has no effect on the energy consumptions of UDs in the sector area during other status updates. Therefore, the data transmit power optimization problem can be investigated with given status update and sector area . Specifically, the simplified optimization problem can be given as follows: where

Since the objective function of SP3 is nonconvex, we introduce the auxiliary variables which satisfy constraints . In addition, we define that , and the constraints above can be rewritten as follows: where

The function in constraint (37a) is a convex function with respect to . Moreover, and in constraint (37a) are convex functions with respect to and , respectively. In order to transform the nonconvex constraint (37a) into a convex constraint, we obtain the first-order Taylor expansion of the function at the feasible point . Then, constraint (37a) can be written approximately as

Since and are convex functions of and , constraint (38) is convex. It is worth noting that the first-order Taylor expansion in constraint (38) has to be greater than zero. Moreover, constraint (37b) can be rewritten as follows:

In constraint (36c), if UD in the sector area satisfies constraint (36c), the UD ’s data transmit power satisfies the following constraint.

We set based on constraint (35). In summary, we denote that

where the is the same as the in the constraint (34d).

If there is no UD that satisfies constraint (36c) in the sector area , then . Otherwise, . Then, the following constraints hold based on the .

In summary, the problem SP3 can be approximately expressed as follows:

Since and are convex functions, the objective function is convex. Therefore, SP3.1 is a convex problem. However, the CVX toolkit is difficult to solve SP3.1 because of the high complexity of the problem. Next, we further analyze the problem and propose a search algorithm to solve it. Firstly, constraint (38) can be rewritten as follows:

where and .

It can be seen that when the minimal objective function of SP3.1 is obtained, the equation in constraint (44a) holds. Therefore, we only need to perform one-dimensional search within the feasible interval of to obtain the optimal solution of SP3.1. Specially, we further analyze the problem to reduce the number of searches. Finally, we can adopt SCA to iteratively optimize SP3.1 for obtaining the stationary point of SP3. The detailed process of obtaining the optimal solution of the SP3.1 is shown in Algorithm 3, where represents the area number of the -th element in the set , and represents the number of all elements in the set .

1: Obtain and .
2: For all sector areas in , search and further obtain .
3: Set .
4: repeat
5: For all areas , search within the interval and further obtain .
6: Search within the interval and further obtain .
7: Calculate based on the power set .
8: .
9: until
10: Choose the set with the minimal as the optimal data transmit powers of all sector areas in .
11: Output: .
3.4. Service Period Optimization

The service period optimization problem can be formulated as follows:

1: Initialize , and calculate the weighted sum based on .
2: Set the iteration number , and the tolerance error .
3: repeat
4: .
5: Obtain and with given by the Algorithm 1 and SCA.
6: Set , and .
7: repeat
8:  Set .
9:  Obtain the stationary points of pilot transmit powers based on the Algorithm 2 and feasible point and with
   given .
10:  Set .
11: until
12: Set .
13: Set , and .
14: repeat
15:  Set .
16:  Obtain the stationary points of data transmit powers based on Algorithm 3 and feasible point and with given
   .
17:  Set .
18: until
19: Set .
20: Utilize one-dimensional search algorithm to obtain with given .
21: Utilize one-dimensional search algorithm to obtain with given .
22: Obtain the weighted sum based on .
23: until
24: Output:.

The coordinate of the UAV at moment is , where and . Obviously, the UAV’s location is a complex function with respect to the service period. Therefore, the UD’s transmission energy consumption and the maximal transmission delay of the -th status update are complex functions with respect to the service period. Function analysis method and SCA method are difficult to be used for the objective function and constraints of SP4. Therefore, we adopt a one-dimensional search algorithm to obtain the near-optimal solution of SP4.

3.5. Flight Radius Optimization

The flight radius optimization problem can be formulated as follows:

Similarly, the UAV’s location is a complex function with respect to the flight radius. Therefore, the UD’s transmission energy consumption and the maximal transmission delay of the -th status update are complex functions with respect to the flight radius. Function analysis method and SCA method are difficult to be used for the objective function and constraints of SP5. Therefore, we adopt a one-dimensional search algorithm to obtain the near-optimal solution of SP5.

3.6. The Iterative Algorithm and Analysis

Finally, we propose an iterative algorithm for joint scheduling and power optimization (JSPO). The JSPO is shown in Algorithm 4. Next, we analyze the convergence of the JSPO. Although the loop in the JSPO is comprised of five nonconvex subproblems, we utilize greedy, SCA, and one-dimensional search methods to obtain their near-optimal solutions or stationary points, respectively. Define . In each iteration, since the near-optimal solution or stationary point of each subproblem can be obtained with given other variables, the weighted sum is monotonically nonincreasing. Moreover, the optimal solution of the OP is a lower bound of the solution obtained by the JSPO. In summary, the JSPO can converge.

Moreover, the computational complexity of the JSPO depends mainly on the five decomposed subproblems in the loop. First, the computational complexity of solving SP1.1 mainly comes from Algorithm 1. In Algorithm 1, we first select sampling points for . Then, for each , we use the greedy method to select each subsequent transmission start moment under the sampling points. Therefore, the computational complexity of Algorithm 1 is . Second, the computational complexity of solving mainly comes from the loop in Algorithm 2. In the worst case, Algorithm 2 requires iterations. In each iteration, a one-dimensional search with sample points is conducted for sector areas, and one-dimensional searches with sample points are conducted for a sector area, where represents the average number of UDs in a sector area. Therefore, the computational complexity of Algorithm 2 is . Third, the computational complexity of solving mainly comes from the loop in Algorithm 3. In the worst case, Algorithm 3 requires iterations. In each iteration, a one-dimensional search with sample points is conducted for sector areas. Therefore, the computational complexity of Algorithm 3 is . and are both solved by the one-dimensional search algorithm, and the number of samples is and , respectively. In summary, the computational complexity of the JSPO is , where , , and are the number of iterations of the JSPO, Algorithm 2, and Algorithm 3, respectively.

4. Simulation Results

In this section, simulation results are presented to evaluate the performance of the JSPO. Multiple UDs randomly deploys in a cell with a radius of m. The Rician channel model is considered in the system. Moreover, based on the typical settings in [18, 37], we set other related system parameters as , , , MHz, m, dB, dB, , s, GHz, dBm, Mbits, , , , and dBm/Hz. In order to narrow the numerical gap between the average AoI and the energy consumptions of UDs and UAVs, we design weighted factors , , and based on the initial values of the average AoI and the energy consumptions of UDs and UAVs. Specifically, , , and .

To evaluate the performance of the JSPO, we compare it with other algorithms. Specifically, the comparison algorithms are shown as follows. (i)“OnlyT”. In this algorithm, only the transmission and computing start moments are optimized(ii)“OnlyPP”. In this algorithm, only the pilot transmit power is optimized(iii)“OnlyDP”. In this algorithm, only the data transmit power is optimized(iv)“OnlySP”. In this algorithm, only the service period is optimized(v)“OnlyR”. In this algorithm, only the flight radius is optimized(vi)“RLB”. In this algorithm, we modify the objective function of the original problem, thus transforming it into a relaxed lower bound (RLB) problem, and then obtain the optimal solution of the RLB problem. Specifically, we first set each variable in formula (3c) to its maximal or minimal value to obtain the lower bound of UDs’ energy consumptions. Subsequently, we obtain the minimal average AoI of each UD based on the method of work [38] without considering constraints. Moreover, we utilize the function analysis method to obtain the minimal energy consumptions of UAVs without considering constraints. Finally, the RLB of the original problem is obtained by adding the minimal average AoIs and minimal energy consumptions of the UDs and UAVs. It is worth noting that the solution of the RLB is the relaxed lower bound of the optimal solution of the original problem, and it can be compared with the solution of the proposed algorithm

In Figure 3, we plot the convergence performance of the JSPO under different initial service periods and flight radiuses. The JSPO can converge within a finite number of iterations, thus showing convergence performances. Moreover, the convergence value of the weighted sum shows an obvious change with the change of the initial service period and flight radius. This shows that the convergence value of the weighted sum is related to the initial service period and flight radius. In addition, the weighted sum first decreases and then increases with the increase of the initial service period. This is because average AoI is a monotonically increasing function with respect to the service period, and the energy consumptions of UAVs are a convex function with respect to the service period.

The weighted sum versus the number of antennas under different algorithms is presented in Figure 4. It can be seen from Figure 4(a) that the weighted sum obtained by the JSPO is significantly lower than that obtained by the OnlyPP, OnlySP, and OnlyR, thus indicating the superiority of the JSPO. Moreover, the gap between the weighted sum obtained by the JSPO and that obtained by the RLB is not large, which further proves the superiority of the JSPO. In Figure 4(a), the curve of the weighted sum obtained by the JSPO has two inflection points, which shows that the number of antennas should be appropriate. In order to analyze this phenomenon, we observe the relationship between average AoI/UDs’ energy consumptions/UAVs’ energy consumptions and the number of antennas by adjusting the weighted factors.

It can be seen from Figure 4(b) that when average AoI has a larger weight than the energy consumptions of UDs and UAVs, the weighted sum obtained by the JSPO first decreases and then increases as the number of antennas increases, which shows that the increase of the number of antennas has both advantages and disadvantages for average AoI. This is because the number of antennas has a complex impact on the maximal transmission delay, and average AoI is a complex function with respect to the maximal transmission delay. Moreover, the optimization effect of the OnlyT is better than that of the JSPO. This is because the OnlyT only optimizes the variables that affect average AoI, while the JSPO takes into account the variables that affect the entire objective function. Therefore, when focusing on optimizing average AoI, the OnlyT can be adopted. However, the performance of the OnlyT is quite different from that of the RLB. There are two main reasons. First, since the solution obtained by the RLB is the relaxed lower bound of the original problem, its performance is better than the optimal solution of the original problem. Second, average AoI is also related to the service period; however, the OnlyT does not optimize the service period.

It can be seen from Figure 4(c) that when the energy consumptions of UDs have a larger weight, the weighted sum obtained by the JSPO decreases as the number of antennas increases. This is because that the increase of the number of antennas can reduce the transmission delay of most UDs, thereby reducing the sum of UDs’ energy consumptions. In addition, the performance of the JSPO is not much different from that of the RLB, thereby indicating that the JSPO can obtain near-optimal performance when focusing on optimizing the energy consumptions of UDs. It can be seen from Figure 4(d) that when the energy consumptions of UAVs have a larger weight, the weighted sum obtained by the JSPO hardly changes with the increase of the number of antennas. The reason is that the number of antennas does not change the service period and flight radius, thereby having little impact on the energy consumptions of UAVs.

Figure 5 shows that the weighted sum versus the number of UAVs under different algorithms. It can be seen from Figure 5(a) that the weighted sum obtained by the JSPO is significantly lower than that obtained by the OnlyPP, OnlySP, and OnlyR, thereby indicating the superiority of the JSPO. Moreover, the gap between the weighted sum obtained by the JSPO and that obtained by the RLB is not large, which further proves the superiority of the JSPO. Moreover, when the communication bandwidth of the system is determined, the increase of the number of UAVs mainly brings the following three effects. The first is that the amount of bandwidth divided into each sector area is reduced, thereby increasing the transmission delay and energy consumptions of UDs. The second is that the average number of UDs in each sector area is reduced, which reduces the interference among UDs in same sector area, thereby reducing the transmission delay and energy consumptions of UDs. Thus, the increase of the number of UAVs brings both benefits and disadvantages for the transmission delay and energy consumptions of UDs. Moreover, the transmission delays of UDs are related to the maximal transmission delay , thereby affects average AoI. Therefore, when we focus on optimizing average AoI or energy consumptions of UDs, there may be some inflection points. The third is that the increase of the number of UAVs increases the total energy consumptions of UAVs.

It can be seen from Figures 5(b) and 5(c) that when focusing on optimizing the average AoI and the energy consumptions of UDs, the performance curve of the JSPO shows one or more performance inflection points as the number of UAVs increases, thus verifying the correctness of the conclusion above. In Figure 5(b), since the performance of the OnlyT outperforms that of the JSPO, the OnlyT can be adopted when focusing on optimizing average AoI. In Figure 5(d), the weighted sum obtained by the JSPO increases with the increase of the number of UAVs, which verifies the conclusion mentioned above. Moreover, combined with all subfigures of Figure 5, since the system can obtain favorable performance with a low economic cost, a small number of UAVs is more worthy of being selected. However, due to the delay limitation in constraint (9b), the number of UAVs cannot be reduced indefinitely. Therefore, we should choose the minimal number of UAVs that meets constraint (9b).

Figure 6 shows that the weighted sum versus the number of status updates under different algorithms. It can be seen from Figure 6(a) that the weighted sum obtained by the JSPO is significantly lower than that obtained by the OnlyPP, OnlySP, and OnlyR under different numbers of status updates, indicating the superiority of the JSPO. It can be seen from Figure 6(b) that when average AoI is mainly optimized, the weighted sum decreases as the number of status updates increases. This shows that increasing the number of status updates can effectively reduce average AoI. This is because under the condition of a fixed service period, increasing the number of status updates can effectively reduce the area enclosed by the curve of the AoI and the time axis, thereby reducing average AoI. In Figure 6(c), the weighted sum increases as the number of status updates increases when the energy consumptions of UDs are mainly optimized. The reason is that increasing the number of status updates increases the number of transmissions, thereby increasing the energy consumptions of UDs. In Figure 6(d), the energy consumptions of UAVs do not change with the number of status updates, which reflects that the number of status updates have no affect on the energy consumptions of UAVs. Moreover, we can observe that the weighted sum obtained by the JSPO gradually decreases as the number of state updates increases in Figure 6(a). However, this does not mean that more status updates can be better. When the number of status updates is large, the total delay may exceed the service period and the energy consumptions of UDs increase.

It can be seen from Figure 46 that the optimization effect of the service period and flight radius related to the energy consumptions of UAVs is not obvious. The reason for this result is given as follows. By analyzing the constraints in the original optimization problem, since the service period and flight radius are strongly constrained and their feasible regions are small, it is difficult to find the service period and flight radius that have better performance and satisfy the constraints. However, Figure 3 shows that the weighted sum is related to the initial service period and flight radius. Moreover, when the average AoI and the energy consumptions of UDs and UAVs are both optimized, the performance of the OnlyDP is close to that of the JSPO. Therefore, we propose the JSPO-R to improve the performance of the JSPO. The flow of the JSPO-R is given as follows. The OnlyDP is performed under different initial service periods and flight radiuses, which aims to obtain the service period and flight radius with better performance. Then, the service period and flight radius obtained by the operation above are regarded as the initial solution of the JSPO. It can be seen from Figure 7 that the performance of the JSPO-R is better than that of the JSPO under different number of the antennas, UAVs, and status updates. Moreover, compared to the JSPO, the gap between the JSPO-R and the RLB is further narrowed. In summary, when the system has high requirements for the performance, the JSPO-R, which is more complex but has better performance, can be adopted.

5. Conclusions

In the multiantenna UAV-assisted MEC system, we have aimed to reduce the average AoI and the energy consumptions of UDs and UAVs in a balanced manner. Therefore, the weighted sum of the three performance metrics was aimed to be minimized by the joint optimization of the scheduling and power allocation strategies. The original NP-hard problem was divided into five sub-problems which were solved one by one. First, a low-complexity search algorithm has been proposed to obtain the near-optimal solution of the transmission and computing start moments. Then, we have obtained stationary points of the pilot and data transmit powers by the SCA. Next, we have adopted a one-dimensional search method to solve the service period and flight radius subproblems. Finally, an iterative algorithm has been proposed to obtain the suboptimal solution of the original problem. Simulation results show that the proposed algorithm can effectively reduce the weighted sum of the average AoI and the energy consumptions of UDs and UAVs. Moreover, the simulation results also demonstrate that we should adjust the number of antennas, the number of UAVs, and the number of status updates according to actual needs and conditions to obtain better performance.

Data Availability

The data used to support the findings of this study are included within the article.

Conflicts of Interest

The authors declare no conflict of interest.

Acknowledgments

This work is supported in part by the National Key R&D Program of China (No. 2018YFB1801103), in part by the Natural Science Foundations of China (No. 62171464, No. 61801505, No. 61771487, and No. 62171454), and in part by the Young Elite Scientist Sponsorship Program.