scieee AI-readable full text Open interactive document viewer

Joint Optimization Method of User Association and Spectrum Allocation for Multi-UAV-Assisted Communication

Wu, D.; Zhang,Y; Qian,P; Chen,Y.

Abstract

In this paper, we mainly study the scenario where multiple UAVs act as aerial base stations (BSs) to provide communication services for ground users (GUs). We propose a method to optimize the max-min average rate of GUs in order to ensure the fairness of user communication, where spectrum reuse and co-channel interference management are considered. The mathematical model is a mixed integer non-linear programming (MINLP) problem which we solve by using the alternating optimization approach where we iteratively optimize the user association, sub-channel allocation and power allocation until convergence. We propose a heuristic algorithm to solve the user association sub-problem and use genetic algorithm (GA) to solve the sub-channel allocation sub-problem. Moreover, the geometric programming algorithm is used to convexify the non-convex power allocation sub-problem and CVX is used to solve it. Simulation results show that the proposed method can effectively improve the transmission rate and ensure the fairness of user communication.

Full text

RADIOENGINEERING, VOL. 32, NO. 1, APRIL 2023 103 DOI: 10.13164/re.2023.0103 Joint Optimization Method of User Association and Spectrum Allocation for Multi-UAV-Assisted Communication Di WU 1, Yu ZHANG 1, Pengzhi QIAN 1, Yong CHEN 1,2 1 The Sixty-third Research Institute, National University of Defense Technology, 210007 Nanjing, China 2 College of Communication Engineering, Army Engineering University of PLA, 210007 Nanjing, China [email protected], [email protected]om, qpz[email protected], [email protected]om Submitted August 25, 2022 / Accepted November 23, 2022 / Online first February 22, 2023 Abstract. In this paper, we mainly study the scenario where multiple UAVs act as aerial base stations (BSs) to provide communication services for ground users (GUs). We propose a method to optimize the max-min average rate of GUs in order to ensure the fairness of user communication, where spectrum reuse and co-channel interference management are considered. The mathematical model is a mixed integer non-linear programming (MINLP) problem which we solve by using the alternating optimization approach where we iteratively optimize the user association, sub-channel allocation and power allocation until convergence. We propose a heuristic algorithm to solve the user association sub-problem and use genetic algorithm (GA) to solve the sub-channel allocation sub-problem. Moreover, the geometric programming algorithm is used to convexify the non-convex power allocation sub-problem and CVX is used to solve it. Simulation results show that the proposed method can effectively improve the transmission rate and ensure the fairness of user communication. Keywords UAV, spectrum reuse, mixed integer non-linear programming, user association, sub-channel allocation, power allocation 1. Introduction In recent years, UAVs have become a promising application in wireless communication networks due to their high flexibility, on-demand deployment capabilities, and good link characteristics with the ground [1], [2]. For example, UAVs can be rapidly deployed as air base stations or air mobile relays and provide enhanced communication performance for existing wireless communication networks, or support emergency services in war and disaster areas. In addition, UAVs can also be used to perform remote monitoring and transmit real-time video data to ground terminals [3]. 1.1 Related Works Although more research achievements have been made in the field of UAV communication, it still faces many challenges, such as association between UAVs and users, and spectrum resource allocation in one UAV cluster. Nowadays, scholars have carried out a lot of research on the above challenges. In [4], the authors jointly optimized user association and UAV location to maximize the total rate of users’ downlink. Since the optimization problem was a mixed integer non-convex optimization problem, the authors decomposed it into an integer user association problem and a non-convex UAV position optimization problem, and then alternately iterated to obtain the suboptimal solution. In [5], aiming at maximizing the minimum average rate of ground users, the problem of UAV flight path and continuous bandwidth allocation was studied, and the relative optimal solution of the problem was obtained by using the alternating optimization technique. In [6], with the goal of maximizing the minimum transmission rate of users, the authors considered the joint optimization of subchannel allocation and UAV trajectory control, and adopted the alternate optimization method until a relative optimal solution was obtained. However, the above work only considered the resource allocation and UAV deployment optimization of single UAV scene, and there was no spectrum reuse and co-channel interference. In [7], the authors considered the co-channel interference, and optimized the transmission power and sub-channel allocation jointly to maximize the energy efficiency of the system. However, it only studied the wireless network problem with one UAV and one jammer. For multiple UAV scenarios, in [8], the authors considered co-channel interference, and used a joint algorithm to iteratively optimize sub-channel allocation and UAV speed to maximize the sum rate of UAV uplinks under fixed trajectory conditions, but they didn’t consider user association and power allocation. In [9], the authors jointly optimized the sub-channel allocation and power allocation in the multi-cell network considering co-channel interference, and the throughput was used as the performance 104 D. WU, Y. ZHANG, P. QIAN, ET AL., JOINT OPTIMIZATION METHOD OF USER ASSOCIATION AND SPECTRUM… optimization index. But they used distributed optimization to solve the sub-channel allocation, which decomposed the multi-cell optimization problem to single-cell optimization problem, and then multiple cells were iteratively optimized until convergence, but this solution ignored the coordination ability between different cells. 1.2 Contribution and Structure In view of the above challenges and deficiencies faced by dynamic spectrum allocation under the current multi-UAV-assisted communication, this paper proposes a joint optimization method of user association and spectrum allocation, in order to ensure the fairness of user communication and effectively improve ground user minimum average transmission rate. Compared with existing research, the main contributions of this paper are as follows: (1) We construct a scenario where multiple UAVs are used as temporary base stations to assist user communication and introduce a more accurate probabilistic line-of- sight channel model. In order to ensure the fairness of user communication, we propose a method to optimize the maxmin average rate of GUs where spectrum reuse and cochannel interference management are considered. The method decomposes the mixed integer non-linear programming problem (MINLP) into multiple sub-problems and solves it from three aspects: user association, subchannel allocation and power allocation, then we can obtain a relatively optimal solution of the original problem. (2) We solve the problem using an alternate optimization method, which iteratively optimize the user association, sub-channel allocation and power allocation until convergence. Specifically, we develop a heuristic algorithm to solve the user association sub-problem. As for the sub-channel allocation sub-problem, we use a genetic algorithm (GA) to solve it, and an elite retention strategy is introduced to ensure that the best individuals are kept during each evolutionary. Given the UAV-GU association and sub-channel assignment solutions, the power optimization sub-problem is a difficult non-convex problem. So we propose to use the geometric programming [10] algorithm to convexify and use CVX [11] to solve this sub-problem. (3) Based on the analysis of the convergence and complexity of the proposed algorithm, we prove that the proposed algorithm can effectively improve the transmission rate of users and ensure the fairness of user communication. The remainder of this paper is organized as follows. In Sec. 2, we present the system model and problem formulation. In Sec. 3, we describe how we solve the three subproblems and provide the convergence and complexity analysis of the proposed method. Section 4 shows the simulation results and discussion. Finally, Section 5 concludes this work. 2. System Model and Problem Formulation 2.1 System Model As shown in Fig. 1, we consider the scenarios which deploy multi-UAVs as temporary base stations to provide communication services for multiple temporary hotspots, where spectrum-dependent systems (SDS) are densely distributed, to relieve the pressure on ground base stations. For example, a large-scale sports meeting needs to be held in a stadium in the center of the city. The ground base station can’t meet the high traffic demand in such a hot spot, and the cost of building a new ground base station for temporary needs is too high. Therefore, deploying a UAV- based station is a reasonable solution. We consider the downlink UAV-assisted network consisting of a set of M = {1,2,…,M} of M UAVs, a set of K = {1,2,…,K} of K GUs and a set of N = {1,2,…,N} of N sub-channels, which satisfies MK< . Considering that there is a control center at the far end of the air to manage the centralized spectrum resources of the UAVs, the UAVs fly at a fixed altitude H during the flight period. To facilitate modeling of problems, we use the time discretization method that the whole flight period is divided into multiple time slots T ={1,2,…,T}. Because the interval of each time slot is small enough, the trajectory of UAV can be approximately represented as a discrete combination of UAV positions of each time slot. The locations of the UAV m∈  and the GU k∈  are denoted as U UU [] ( [], [], ) m mm t x ty tH= q and (, ) k kk xy=q . Specifically, to make the formula expression clearer, the subscript U in this paper represents UAV. Besides, UAVs use the orthogonal frequency division multiple access technology to provide services for ground users, which means that users of different sub-channels will not generate interference. At the same time, we consider that for any given UAV, one sub-channel can only serve one GU, while for multi-UAVs, one sub-channel can serve different users, which leads to co-channel interference. Control center UAV UAV UAV Control link Communication link Interference link Fig. 1. Multi-UAV-assisted communication network. RADIOENGINEERING, VOL. 32, NO. 1, APRIL 2023 105 2.2 UAV-GU Association Given the locations of the UAVs in each time slot, GUs need to be associated with the UAVs for high-quality communications. Specifically, GUs should be clustered according to the number of UAVs, and the cluster head UAV will provide communication services for all users in the cluster. The corresponding decision variables are defined as: , 1, if GU is assigned to UAV [ ] in time slot 0 otherwise mk km tt ω   =  , . (1) In order to ensure the continuous communication of users, GUs must have one and only one UAV to provide services in each time slot, hence, there are constraints: , 1 [ ] 1, , M mk m t kt ω = = ∀ ∑ . (2) 2.3 Sub-channel Allocation Secondly, we need to determine the sub-channel allocation for each GU, assuming that the sub-channel bandwidth is B, the corresponding decision variable is defined as: , 1, if sub-channel is assigned to GU [ ] in time slot 0 otherwise kn nk bt t   =  , . (3) Since the UAV serves GUs using orthogonal frequency division multiple access (OFDMA) technology, its communication link can occupy multiple sub-channels. At the same time, in order to ensure the continuous communication of users, in each time slot one GU occupies at least one sub-channel, and no more than N sub-channels. There are constraints: , 1 1 [] , N kn n bt Nk = ≤ ≤∀ ∑ . (4) At the same time, there are constraints that for any given UAV, one sub-channel can only serve one GU, which leads to the coupling between the UAV-GU association matrix and the sub-channel allocation matrix, which is expressed as: ,, 1 [] [] 1, , , K mk kn k tb t mnt ω = ≤∀ ∑ . (5) 2.4 Power Allocation When the UAV m is assigned to serve the GU k, its communication link can occupy multiple sub-channels for transmission with different power. The transmission power of the UAV m on the sub-channel n in the time slot t is expressed as Pm,n[t]. The transmit power of the UAV m in all sub-channels doesn’t exceed the upper limit of its own transmit power, which is expressed as: max ,, , 11 , NK mk kn mn m nk bP P m ω = = ≤∀ ∑∑ . (6) 2.5 Communication Model In the air-to-ground communications [12], the path loss link is a weighted combination of line-of-sight (LoS) and the non-LoS (NLoS) links by using the standard lognormal shadowing model. The LoS and NLoS path losses U, [] mk Lt in time slot t between UAV m and GU k can be expressed as: ( ) ( ) LoS c U , U, NLoS c U , 4 [ ] , LoS link [] 4 [ ] , NLoS link mk mk mk fd t c Lt fd t c α α ξπ ξπ   =   (7) where fc and c are the carrier frequency and the speed of light. LoS ξ and NLoS ξ are the mean additional loss for the LoS and NLoS links due to free space propagation loss. α is the path loss exponent, and U,[] mk dt is the distance between the UAV m and the GU k, which can be expressed as U, U [] [] mk m k dt t= −qq . Then the LoS probability LoS U, Pr [ ] mk t and the NLoS probability NLoS U, Pr [ ] mk t are given by: () LoS U, U, 1 Pr [ ] 1 exp [ ] mk mk ta b ta θ = +− −  , (8) U, U, 180 [ ] arcsin [] mk mk H tdt θπ  =   , (9) NLoS LoS U, U, Pr [ ] 1 Pr [ ] mk mk tt= − (10) where a and b are constant values [12], which depend on the network environment. θUm,k[t] is the elevation angle from UAV m to GU k in time slot t. H is the altitude of UAV and we assume that UAVs fly at the same altitude in this paper. Hence, the mean probabilistic path loss of the air-to-ground link is the averaged value of LoS and NLoS links, which can be given by: ( ) LoS NLoS U, U, LoS U, NLoS U, [] (Pr [] Pr [] ) [] mk mk mk mk L t t t Ad t α ξξ − = + (11) where A = 4πfc / c. 2.6 Problem Formulation Under the constraints of user association, sub-channel allocation and power allocation, we aim to maximize the minimum average transmission rate of GUs within a period of T by optimizing the UAV-GU association, sub-channel allocation, and power allocation. According to Shannon's formula, the achievable transmission rate of UAV m serving GU k on sub-channel n in time slot t is: , U, ,, , , 2 U0 [] [] [] [] [] log (1 ) [] mn mk mkn mk kn P th t R t tb tB It N ω = + + (12) 106 D. WU, Y. ZHANG, P. QIAN, ET AL., JOINT OPTIMIZATION METHOD OF USER ASSOCIATION AND SPECTRUM… where B is the sub-channel bandwidth, N0 is the background noise power, hUm,k[t] is the channel gain between UAV m and the GU k in time slot t, which satisfies hUm,k[t] = 1/L Um,k[t]. Pm,n[t] is the transmission power of the UAV m on the sub-channel n in time slot t. Therefore, the total transmission rate of GU k in time slot t is: ,, 11 [] [] MN k mkn mn Rt R t = = =∑∑ . (13) The average transmission rate of GU k in T time slots can be expressed as: 1 , U, ,, 2 1 11 U0 1[] [] [] 1[] [] log 1 . [] T kk t TMN mn mk mk kn t mn R Rt T P th t tb tB T It N ω = = = = =  = +  +  ∑ ∑∑∑ (14) IU[t] is the co-channel interference of different UAVGU clusters, specifically expressed as follows: U , , , U, 1, 1, [] [] [] [] [] MK i j jn in ik i i mj j k I t tb tP th t ω =≠=≠ =∑∑ . (15) Considering user communication fairness, our design goal is to maximize the minimum average transmission rate of all GUs within a period of time T by jointly optimizing the UAV-GU association matrix Wf (a three-dimensional matrix of M × K ×T about variable ω m,k[t]), sub-channel allocation matrix Bf (a three-dimensional matrix of K × N ×T about variable bk,n[t])and power allocation matrix Pf (a three-dimensional matrix of M × N ×T about variable Pm,n[t]). For the convenience of problem solving, we introduced µ (Wf, Bf, Pf) = min k k R ∈  as the minimum rate of all GUs. Then our optimization problem is equivalent to maximization µ (Wf, Bf, Pf). Therefore, the dynamic spectrum allocation objective function for this problem can be expressed as: { } { } f ff ,, 1 2, 1 3, 1 4 ,, 1 5, max 6, 1 7, 8, max s.t. : , , : [ ] 1, , , :1 [ ] , , , : [] [] 1, , ,, : [ ] 0, , , , : [] , ,, : [ ] 0,1 , , , , : [ ] 0,1 , , , k M mk mN kn n K mk kn k mn N mn m n mk kn CR k C t kt C b t N kt C tb t mnt C P t mnt C P t P mt C t mkt C b t knt µ µ µ ω ω ω = = = = ≥∀ = ∀ ≤ ≤∀ ≤∀ ≥∀ ≤∀ ∈∀ ∈∀ ∑ ∑ ∑ ∑ WBP , (16) where C1 describes that the average transmission rate of any GU in a period of time is larger than the objective function. C2 describes that one GU can only be served by one UAV in one time slot. C3 describes that given the UAV m, GU k can transmit in multiple sub-channels, but no more than N sub-channels. C4 describes that given the UAV m, only one GU can be assigned to one sub-channel. C5 describes that the power of UAVs is not negative. C6 describes that the sum of the transmit power of UAVs in all sub-channels doesn’t exceed its own maximum transmit power. C7 describes that the value range of each element in the UAV-GU association matrix is 0 or 1. C8 describes that the value range of each element in the sub-channel allocation matrix is 0 or 1. 3. Problem Solving Since the objective function involves binary variables ω m,k[t], bk,n[t] and real variables Pm,n[t], hence the formula (16) is a mixed integer non-linear programming problem (MINLP), so this paper uses the block coordinate descent (BCD) algorithm to solve it, specifically, given the values of other variables in the corresponding sub-problem, iteratively optimize each set of variables until convergence. 3.1 Optimize UAV-GU Association Given sub-channel allocation and power allocation, optimize the UAV-GU association. Let Bf, Pf in (16) as fixed variables and let Wf as decision variables, then the mixed integer non-linear programming problem in (16) is transformed into an integer programming problem which can be described as: f 12 4 7 max s.t. , , .CCCC µ µ W, , (17) The integer non-convex optimization problem is difficult to solve, so we propose a heuristic algorithm to solve the UAV-GU association problem. Table 1 gives the specific solution steps of this problem: Algorithm 1 UAV-GU Association Algorithm Input: sub-channel allocation matrix B f , power allocation matrix P f 1. Initialization: Let r = 0, initial the UAV-GU association matrix Wf which satisfies the problem (17); 2. Repeat 3. 1;rr= + 4. Calculate the minimum average transmission rate µ over the period of time T and find its corresponding users kmin; 5. Time slot t repeats from 1 to T; 6. UAV m repeats from 1 to M; 7. Calculate the average transmission rate µ (m) of M UAVs serving user kmin respectively, among m ∈ M ; then we assign the UAV m’ with the largest average transmission rate to the user, which satisfies m’ = arg max( µ (m)); 8. Calculate the minimum average transmission rate µ over a period of time T again, and find its corresponding user k’min; If k’min = kmin, end the loop; otherwise, let kmin = k’min, return to step 5; 9. Update Wf; 10. Until convergence: µ isn’t increasing Output: ** f ,W µ Tab. 1. UAV-GU association algorithm. RADIOENGINEERING, VOL. 32, NO. 1, APRIL 2023 107 3.2 Optimize Sub-channel Allocation Given UAV-GU association and power allocation, optimize the sub-channel allocation strategy. Let Wf, Pf in (16) as fixed variables and let Bf as decision variables, then the mixed integer nonlinear programming problem in (16) is transformed into an integer programming problem, which can be described as: f 13 4 8 max s.t. , , . CC C C µ µ B , , (18) The integer non-convex optimization problem is difficult to solve, so we propose a sub-channel allocation algorithm based on GA. Table 2 gives the specific solution steps and key steps of the algorithm: The key steps are described as following: (1) Gene encoding: First, perform gene straightening on the sub-channel allocation matrix Bf, that is, convert the K × N × T matrix into 1 × KNT matrix, then let it as an individual in the population; (2) Initial population: randomly generate a twodimensional matrix of λ × KNT, where λ is the number of individuals in the population; (3) Gene crossover: The λ individuals in the population are paired in a random manner to form λ/2 paired genome, and then the two genes in one paired genome are crossed. In this paper, we adopt the single-point crossover method, that is, according to a given crossover probability pc, each other's genes are exchanged at the crossover point, thereby generating a new encoding vector. (4) Gene mutation: In order to optimize the local search ability, maintain the diversity of the population in the process of finding the optimal solution and prevent premature convergence. That is, according to the given mutation probability pm, the value of one or more mutation Algorithm 2 GA-based Sub-channel Allocation Algorithm Input: UAV-GU association matrix W f , power allocation matrix P f 1. Initialization: Let r = 0, initial the sub-channel allocation matrix which satisfies the problem (18), and randomly generate the initial population 2. Repeat: 3. 1;rr= + 4. In order to ensure the diversity of the population, we perform the gene crossover and gene mutation operations to generate new individuals; 5. In order to prevent the generation of multiple unqualified individuals after step 4, we perform gene correction and gene screening operations; 6. Calculate the fitness of individuals in the population according to the fitness function, then select according to the roulette strategy, in order to control the number of populations to be the initial population number, and retain the optimal individual; 7. When the algorithm execution reaches the preset algebra, end; otherwise return to the loop; Output: * f B Tab. 2. GA-based sub-channel allocation algorithm. points in the gene is reversed to generate a new encoding vector. (5) Gene correction and gene screening: Before selecting individuals in the population, correct and screen the individuals that have undergone gene crossover and mutation in each time slot according to the constraints in (18), in order to prevent too many genetic individuals that doesn’t meet the conditions. (6) Fitness function: The fitness function represents the adaptive ability of individuals in the population, and equation (18) is the optimization objective in this algorithm. (7) Selection strategy: The selection strategy used here is the roulette selection method. It is based on the size of the individual fitness. If the individual fitness value is small, it is likely to be discarded; if the individual fitness value is large, it is more likely to be selected. Through the selection strategy, the population number is controlled at the initial population number. At the same time, in order to ensure that the best individuals are not lost in the process of selection and crossover, an elite retention strategy is also introduced in the implementation process of the algorithm, that is, the best individual of each generation is saved to the next generation, which improves the convergence speed of the algorithm. 3.3 Optimize Power Allocation Given UAV-GU association and sub-channel allocation, optimize power allocation strategy. Let Wf, Bf in (16) as fixed variables and let Pf as decision variables, then the mixed integer non-linear programming problem in (16) is transformed into a non-integer programming problem, which can be described as: f 156 max s.t. , , .CCC µ µ P, (19) It can be seen that the power allocation problem is a non-convex optimization problem, and we can transform it into a convex optimization problem by geometric programming [10]. Theorem 1 The optimization problem in (19) can be transformed into convex form by using logarithmic transformation: ( ) , 2, [] log [] mn mn Pt Pt=  . Prove: In geometric programming, log2(1 + x) can be approximated as log2(x) in high SINR regimes in this paper. Use logarithmic variables Pm,n[t] = log2(Pm,n[t]),the constraints C1 can be converted to (20). It can be seen from (20) that the first term is a linear function of Pm,n[t], it can be either convex or concave [12], so we consider it as a concave function for the following convex constraint proof. The second term contains the log- 108 D. WU, Y. ZHANG, P. QIAN, ET AL., JOINT OPTIMIZATION METHOD OF USER ASSOCIATION AND SPECTRUM… , U, ,, 2 1 11 U0 , U, ,, 2 1 11 , , , U, 0 1, 1, ,, 2 11 [] [] 1[] [] log( ) [] [] [] 1[] [] log( ) [] [] [] [] ex 1[] [] log( TMN mn mk mk kn t mn TMN mn mk mk kn MK t mn i j jn in ik i i mj j k MN mk kn mn P th t tb tB T It N P th t tb tB Ttb tP th t N tb tB T ω ω ω ω = = = = = = =≠=≠ = = + = + = ∑∑∑ ∑∑∑ ∑∑ ∑∑ , U, 1 , , , U, 0 1, 1, , , , 2 U, 1 11 , , 2 ,, , 1 1 1, 1, p [] [] ) [] []exp [] [] 1( [] log []) 1[] [] log( [] []exp Tmn mk MK t i j jn in ik i i mj j k TMN mk kn mn mk t mn MN M K mk kn i j jn in m n i i mj j k P th t tb t P th t N b BP t h t T tb tB tb t P T ω ω ωω = =≠=≠ = = = == =≠=≠ + = + − ∑∑∑ ∑∑∑ ∑∑ ∑ ∑     U, 0 1 [] [] ) , T ik t th t N µ = +≥ ∑ (20) , 1 , , 2 , , , U, 0 1 1 1 1, 1, , , , 2 U, 1 11 max 6, 1 max 1 s.t. : [] [] log( [] []exp [] [] ) 1[] [] ( [] log []) 0, : exp [ ] 0 f TMN M K mk kn i j jn in ik t m n i i mj j k TMN mk kn mn mk t mn N mn m n C tb tB tb t P th t N T tb tBP t h t k T C PtP µ µ ωω µω === =≠=≠ = = = = + + − + ≤ ∀ −≤ ∑∑∑ ∑ ∑ ∑∑∑ P    .,mt∀ ∑ (21) sum-exp form, this form is convex [12], and the negation becomes a concave function. Concave function addition is still a concave function, and the expression that concave function greater than a constant is convex constraint, so the constraints C1 is convex of Pm,n[t]. The original question turns into (21). It is easy to know that the constraints are both logsum-exp and sum-exp, so they are convex constraints. Since the problem is a convex optimization problem, the problem can be solved by applying MATLAB's CVX package to get Pm,n*[t], and after that, apply Pm,n[t] = log2(Pm,n[t]) again to get Pm,n*[t]. Its solution (Algorithm 3) is a standard CVX solution algorithm. Algorithm 4 A Joint Optimization Method of User Association and Spectrum Allocation Input: the number of UAVs M, the number of GUs K, the number of sub-channels N 1. Initialization: Let r = 0, initialize the allocation matrix (Wf, Bf, Pf) that satisfies the optimization problem 2. Repeat 3. Given sub-channel allocation and power allocation, solve subproblem 3.1 by Algorithm 1 to get Wfr; 4. Given the UAV-GU association and power allocation, solve subproblem 3.2 by Algorithm 2 to get Bfr; 5. Given the UAV-GU association and sub-channel assignment, solve sub-problem 3.3 by Algorithm 3 to get Pfr; 6. Update 1rr= + ; 7. End: µ r + 1– µ r ≤ ζ reach the maximum number of iterations rmax, end; Otherwise, return to the loop; Output: * *** f ff , ,,WBP µ Tab. 3. A joint optimization method of user association and spectrum allocation. 3.4 Joint Optimization Algorithm Based on the partial results of Sec. 3.1, 3.2, and 3.3, we propose a joint optimization method of user association and spectrum allocation, which is described in Algorithm 4. Since the optimization result of each sub-problem is incremental, and the transmission rate is the optimization target, there must be an upper limit for its value, so the proposed Algorithm 4 must converge to a feasible solution. Figure 2 is the schematic flowchart of Algorithm 4. Start Initialization Optimize user matching Optimize subchannel allocation Optimize power allocation Whether the conditions are met No Yes End Fig. 2. Algorithm 4 flowchart. RADIOENGINEERING, VOL. 32, NO. 1, APRIL 2023 109 3.5 Complexity Analysis Next, we analyze the complexity of the proposed algorithm with the required arithmetic. For the UAV-GU association sub-problem, since Algorithm 1 allocates UAVs to each GU, it needs to traverse all UAVs and GUs, hence its complexity is O1(L1MKT), where L1 is the number of iterations required for Algorithm 1 to converge; for Algorithm 2, the complexity of GA depends on the complexity of its fitness function O22( µ ), assuming that the maximum number of iterations is Max_GEN, and the number of populations is λ, then the complexity is O2(Max_GEN × λ × O22( µ )); for Algorithm 3, it has a complexity of O 3(M(N)4.5T log(1/ ζ )) [12]. Assuming that L is the number of iterations of Algorithm 4, the complexity of the joint optimization algorithm is O (L( O 1 + O 2 + O 3)). 4. Simulation Results and Discussion 4.1 Parameter Settings In this section, we evaluate the performance of the proposed algorithm. We consider a circular network area with radius R0 = 500 m with two or more clusters i.e., hotspots, of GUs. The radius of each circular cluster is Rc = 200 m and different clusters are placed far enough apart not to overlap. Assuming that each UAV serves a hotspot area, for each hotspot area, firstly, we should determine its center q0 = (x0, y0) and UAV's uniform circular motion radius RUAV. Given the distribution of GUs in the hotspot area, the center point can be obtained by clustering algorithm, and the uniform circular motion radius can be determined by RUAV = min(dmmax1, dmmax2), where dmmax1 = vT/ 2π represents the largest circumference that UAV can Parameter Description Value Terrestrial user distribution 1000 × 1000 m 2 M Number of UAVs [2, 3, 4] K Number of GU [8, 10, 12, 14, 16] N Number of sub-channels [10, 15, 20, 25, 30] B Bandwidth of each sub-channel 10 MHz H Altitude of UAV 300 m Pmmax Transmit power of UAV 2 W ξ LoS Line-of-sight link loss 3 dB ξ NLoS NLOS link loss 23 dB T Flight period 20 s fc Carrier frequency 2 GHz α Air-Ground Path Loss Index 2 a Environmental parameters 11.95 b Environmental parameters 0.136 N0 Noise power –170 dBm/Hz Vmax Maximum speed of UAV 40 m/s Tab. 4. System simulation parameters. travel during the flight period and dmmax2 = maxqk – q0, k ∈ K represents the maximum distance from GUs to the center point. Assuming that the flight energy of the UAV is sufficient to cover the flight operations and wireless communication within its mission completion time, which is supported in [14], the flight time of a UAV equipped with a 3-cell, 3250 mAh, 11.1 V LiPo battery is approximately 20 minutes. In order to make the parameter settings more reasonable, we refer to [12], [13] to set the simulation parameters, as shown in Tab. 4. 4.2 Simulation Results Figure 3 shows the location distribution and trajectories of 14 GUs served by 3 UAVs. Figure 4 shows that according to the initial UAV-GU association strategy, the UAVs only serve users in the corresponding hotspot areas. Figure 5 uses t = 13 time slot as an example, after the optimization of the joint optimization method proposed in this paper, the service UAVs of 8th GU and 13th GU have changed, which can provide the better service performance. Fig. 3. Location distribution of UAVs and GUs. Fig. 4. Initial UAV-GU association matrix. Fig. 5. UAV-GU association matrix with t = 13 time slot. 110 D. WU, Y. ZHANG, P. QIAN, ET AL., JOINT OPTIMIZATION METHOD OF USER ASSOCIATION AND SPECTRUM… 0 100 200 300 400 500 600 700 800 900 Generation 5 5.5 6 6.5 7 7.5 8 8.5 9 Population fitness(bps) 10 7 Best individual Average population fitness Fig. 6. Convergence diagram of sub-channel allocation based on GA. 024 6 8 10 12 14 16 18 Number of iterations 2.6 2.7 2.8 2.9 3 Max-min average rate(bps) 10 8 3UAVs,12GUs,30Channel 4UAVs,12GUs,30Channel 0 2 4 6 8 10 12 Number of iterations 1.4 1.45 1.5 1.55 1.6 Max-min average rate(bps) 10 8 3UAVs,12GUs,15Channel 4UAVs,12GUs,15Channel Fig. 7. Convergence diagram of joint optimization algorithm. Figure 6 shows the GA-based sub-channel assignment convergence graph for 3 UAVs, 12 GUs, and 10 subchannels, where the initial population is 100, the maximum number of generations is 900, the crossover probability is 0.95, and the mutation probability is 0.1. The results show that when the evolution reaches 720 generations, the average fitness of the population and the minimum average transmission rate of the GUs is stable. Figure 7 shows the convergence curves of the joint optimization algorithm proposed in this paper in different scenarios. It can be seen that the value of the objective function increases continuously in the iterative process. At the same time, with the increase of the number of UAVs and the number of sub-channels, the complexity of the joint optimization algorithm and the number of iterations required increases. Figure 8 shows the comparison of the max-min average rate of users with different numbers of GUs when the number of available sub-channels is 10. The results show 8 10 12 14 16 Number of GUs 0 2 4 6 8 10 12 14 16 Max-min average rate(bps) 10 7 2UAVs 3UAVs 4UAVs Fig. 8. Max-min rates under different numbers of GUs. 10 15 20 25 30 Number of sub-channels 0.5 1 1.5 2 2.5 3 3.5 Max-min average rate(bps) 10 8 2UAV 3UAV 4UAV Fig. 9. Max-min rates under different number of subchannels. that with the increase of the number of GUs, the max-min average rate of users decreases. This is because in order to satisfy the communication requirements, there will be multiple users occupying the same sub-channel, and the cochannel interference will increase. In addition, the more the number of UAVs, the higher the max-min average rate of GUs, this is because the more UAVs, the greater the power that can be allocated to the users, and there are more channel access schemes that can be selected. However, the rate gap between the 3 scenarios decreases when the number of GUs increases due to stronger interference with the larger number of UAVs. Figure 9 shows the comparison of the max-min average rate for 12 GUs under different number of subchannels. It can be seen that the max-min average rate of GUs increases almost linearly with the increase of the number of sub-channels. In addition, the more the number of UAVs, the greater the max-min average rate of users, and the difference will become more and more obvious as the number of sub-channels increases. RADIOENGINEERING, VOL. 32, NO. 1, APRIL 2023 111 10 15 20 25 30 Number of sub-channels 0.5 1 1.5 2 2.5 3 Max-min average rate(bps) 10 8 Joint optimization algorithm User matching optimization,Sub-channel optimization,Power average distribution Initial user matching,Sub-channel optimization,Power optimization User matching optimization,Single-channel allocation,Power optimization Fig. 10. Performance comparison of different algorithms. In order to further verify the effectiveness of the proposed algorithm in the multi-UAV assisted communication scenario, we use the method of simulation comparison to analyze the performance of the proposed algorithm by replacing the solving algorithm of one sub-problem in the joint algorithm. The single-channel allocation algorithm [15] performs multiple single-channel access until all available sub-channels are allocated, and uses the maximum weight association algorithm to ensure that the objective function value of the spectrum allocation process for each single-channel access is the largest. Figure 10 shows the performance comparison of the four schemes in the scenario of 3 UAVs and 12 GUs. It can be seen that the performance of the joint optimization algorithm proposed in this paper is better than the other three joint algorithms. The single-channel allocation algorithm can find the optimal channel to access in each selection, but due to its distributed selection characteristics, the co-channel interference between different clusters is not considered, resulting in the worst performance; the power average distribution strategy can’t dynamically adjust the power of UAV in each sub-channel, so its performance is lower than the algorithm proposed in this paper. 5. Conclusion In this paper, we studied the dynamic spectrum allocation problem in the multi-UAV-assisted communication scenario, where UAVs served as air base stations to provide temporary services for GUs with given trajectories. In order to ensure the fairness of user communication, considering spectrum reuse and co-channel interference, aiming at maximizing the minimum average transmission rate of GUs, we proposed a joint optimization method of user association and spectrum allocation to solve the above mixed integer non-linear optimization problem. Specifically, we solved the optimal association problem with an iterative UAV-GU association algorithm, solved the sub-channel allocation with the genetic algorithm, and solved the power allocation with the convex optimization algorithm. The experimental results proved the effectiveness of the algorithm which can greatly improve the user transmission rate and ensure the user communication fairness. References [1] ZENG, Y., ZHANG, R., LIM, T. J. Wireless communications with unmanned aerial vehicles: Opportunities and challenges. IEEE Communications Magazine, 2016, vol. 54, no. 5, p. 36–42. DOI: 10.1109/MCOM.2016.7470933 [2] NAMUDURI, K. Flying cell towers to the rescue. IEEE Spectrum, 2017, vol. 54, no. 9, p. 38–43. DOI: 10.1109/MSPEC.2017.8012238 [3] MOTLAGH, N. H., BAGAA, M., TALEB, T. UAV-based IoT platform: A crowd surveillance use case. IEEE Communications Magazine, 2017, vol. 55, no. 2, p. 128–134. DOI: 10.1109/MCOM.2017.1600587CM [4] XI, X., CAO, X., YANG, P., et al. Joint user association and UAV location optimization for UAV-aided communications. IEEE Wireless Communications Letters, 2019, vol. 8, no. 6, p. 1688 to 1691. DOI: 10.1109/LWC.2019.2937077 [5] HUANG, Y., CUI, M., ZHANG, G., et al. Bandwidth, power and trajectory optimization for UAV base station networks with backhaul and user QoS constraints. IEEE Access, 2020, vol. 8, p. 67625–67634. DOI: 10.1109/ACCESS.2020.2986075 [6] NGUYEN, M. D., HO, T. M., LE, L. B., et al. UAV trajectory and sub-channel assignment for UAV based wireless networks. In IEEE Wireless Communications and Networking Conference (WCNC). Seoul (South Korea), 2020, p. 1–6, DOI: 10.1109/WCNC45663.2020.9120814 [7] CAI, Y., WEI, Z., LI, R., et al. Joint trajectory and resource allocation design for energy-efficient secure UAV communication systems. IEEE Transactions on Communications, 2020, vol. 68, no. 7, p. 4536–4553. DOI: 10.1109/TCOMM.2020.2982152 [8] ZHANG, S., ZHANG, H., DI, B., et al. Cellular UAV-to-X communications: Design and optimization for multi-UAV networks. IEEE Transactions on Wireless Communications, 2019, vol. 18, no. 2, p. 1346–1359. DOI: 10.1109/TWC.2019.2892131 [9] ZHANG, L. Research on Resource Management and Deployment Optimization in UAV-Assisted Communication (in Chinese). Xi'an University of Electronic Science and Technology, 2021. [10] LAHOUD, S., KHAWAM, K., MARTIN, S., et al. Energyefficient joint scheduling and power control in multi-cell wireless networks. IEEE Journal on Selected Areas in Communications, 2016, vol. 34, no. 12, p. 3409–3426. DOI: 10.1109/JSAC.2016.2611847 [11] GRANT, M. C., BOYD, S. P. The CVX Users’ Guide, Release 2.0 (beta). 100 pages. [Online] Cited 2013-07-02. Available at: https://citeseerx.ist.psu.edu/viewdoc/summary?doi=10.1.1.309.521 [12] YANG, H., XIE, X. Energy-efficient joint scheduling and resource management for UAV-enabled multicell networks. IEEE Systems Journal, 2019, vol. 14, no. 1, p. 363–374. DOI: 10.1109/JSYST.2019.2911895 [13] NGUYEN, M. D., LE, L. B., GIRARD, A. Integrated UAV trajectory control and resource allocation for UAV-based wireless networks with co-channel interference management. IEEE Internet of Things Journal, 2021, vol. 9, no. 14, p. 12754–12769. DOI: 10.1109/JIOT.2021.3138374