Next Article in Journal
EGNet: 3D Semantic Segmentation Through Point–Voxel–Mesh Data for Euclidean–Geodesic Feature Fusion
Previous Article in Journal
Design and Evaluation of a Cloud Computing System for Real-Time Measurements in Polarization-Independent Long-Range DAS Based on Coherent Detection
Previous Article in Special Issue
A TSENet Model for Predicting Cellular Network Traffic
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

A User Association and Resource Allocation Algorithm for UAV-Assisted Smart Grid

1
Xuejiawan Power Supply Company, Ordos 010300, China
2
College of Information Science and Electronic Engineering, Zhejiang University, Hangzhou 310027, China
*
Author to whom correspondence should be addressed.
Sensors 2024, 24(24), 8195; https://doi.org/10.3390/s24248195
Submission received: 25 October 2024 / Revised: 2 December 2024 / Accepted: 18 December 2024 / Published: 22 December 2024
(This article belongs to the Special Issue Advanced Technologies in 6G Heterogeneous Networks)

Abstract

:
Recently, massive intelligent applications have emerged for the smart grid (SG), such as inspection and sensing. To support these applications, there have been high requirements on wireless communication for the SG, especially in remote areas. To tackle these challenges, a UAV-assisted heterogeneous wireless network is proposed in this paper for the SG, where multiple UAVs and a macro base station collaboratively provide a wide range of communication services. To further improve the communication capacity of this system, a joint user association and resource allocation algorithm is developed to maximize the total system throughput. To solve this problem, a matching algorithm is first proposed to solve the user association and subchannel assignment optimization problem. Then, the Lagrangian dual method is utilized to solve the power allocation problem. Finally, extensive simulations show that the proposed algorithm can effectively increase the user communication rate and enhance the capacity of the heterogeneous network for the SG.

1. Introduction

Recently, the smart grid (SG) has emerged, breaking through the traditional mode of raw power supply and consumption [1]. Utilizing advanced information, control, and communication technologies, the SG provides technical support for safe and efficient use of electricity with reduced energy consumption and greenhouse gas emissions [2,3]. To realize the above functions, an effective, reliable and robust communication system is indispensable [4,5]. As shown in Figure 1, the communication network of the SG can be divided into a power backbone communication network, distribution communication network, and customer communication network [6,7].
The power backbone communication network connects high-voltage power plants and substations, and it is dominated by optical fiber communication. The customer communication network refers to the communication network formed by the interconnection of household electricity equipment. In contrast, the distribution communication network covers medium- and low-voltage power plants, substations, distributed power sources, and other facilities. It carries out information interaction between the distribution side and the upper control center and supports distributive automation, distributive operation monitoring, power consumption information collection, and other services [8,9,10]. Therefore, the SG is directly oriented to electricity customers and society. With wide coverage, a large number of devices and complex communication services, the communication system occupies a pivotal position in the SG and has high requirements for security and reliability. For the complex and diverse communication demands, multiple communication networks complement each other and form heterogeneous networks to realize high-speed seamless coverage in the SG [11,12]. Moreover, to satisfy the power demand of users, some terminal devices are distributed in remote areas with complex terrain and poor communication conditions [13]. These impose strict requirements on the network planning and user association of the SG. As to the above challenges, unmanned aerial vehicles (UAVs) are able to provide auxiliary communication services due to the characteristics of low cost, high mobility, and self-adaptive capability [14,15,16]. Therefore, we consider the UAV-assisted heterogeneous wireless network (HWN) for the SG in remote areas, where UAVs and a macro base station (BS) reuse spectrum resources to supplement communication coverage for a large number of power terminals, such as sensors, controllers, and cameras. Note that the UAV-assisted communication is still a relatively low-cost and reliable method in most normal scenarios. In extreme scenarios, such as extreme weather, satellite communication and other methods can be used instead, which is outside the scope of our work.
The user association has always been the most fundamental and critical problem in the HWN [17,18,19]. Generally, the user association algorithms include the maximum signal-to-interference-to-noise ratio (SINR) algorithm, multi-attribute decision-making (MADM) algorithm, game theory-based algorithm, and utility-based algorithm [20,21,22]. In the max-SINR algorithm, the user simply associates with the BS with the highest SINR. Differently, the MADM algorithm considers multiple attributes of networks and users, including user preferences, business requirements, network differences, etc. [23,24]. The weights of each attribute are determined through methods such as hierarchical analysis [24] and fuzzy logic, and then the weighted attributes are combined to select the network with the best comprehensive performance. Meanwhile, the game theory-based method considers the impact between user behavior and network behavior, and it finds a compromise solution to balance the interests of users and operators [25,26,27]. For example, the authors in [27] have proposed an algorithm that determines the access scheme through a non-cooperative game in multiple network overlapping areas, and the system finally reaches game equilibrium. Moreover, the utility-based algorithm optimizes resource allocation and network performance by proposing utility functions to quantify the benefits of utilizing different resources [28,29]. However, the above works may lead to load imbalance and low resource utilization due to differences in BSs in HWNs. In addition, the existing algorithms such as MADM have a high complexity, which would increase the workload of communication networks. Nevertheless, the utility-based algorithm is the preferred choice, with relatively low design and computational complexity, as well as favorable performance.
As mentioned earlier, the communication environment of the SG is complex and has a large coverage in general, which leads to a crucial requirement on a flexible communication network. In addition, a more efficient algorithm with low complexity is needed to make such a system more practical. Therefore, in this paper, we propose a user association and resource allocation algorithm for a UAV-assisted HWN in the SG, which maximizes the system throughput while ensuring the quality of service (QoS) of each user. The main contributions are summarized as follows:
  • UAV-assisted heterogeneous network architecture for the SG: A UAV-assisted heterogeneous network framework is proposed for SG communication scenarios. The power terminal can flexibly select the BSs equipped on UAVs or macro BSs for communication. The framework can meet the communication demand in remote areas without sufficient communication coverage.
  • Joint user association and resource allocation optimization algorithm: To further improve the system capacity of the SG, we formulate the optimization problem to jointly optimize the user association, subchannel allocation and power allocation. To efficiently solve this problem, a joint optimization method based on matching algorithm and Lagrangian dual algorithm is proposed. Therein, based on the proposed user-side and BS-side utility functions, the heuristic algorithm can obtain suboptimal solutions with low complexity.
The framework and algorithms described above can enhance the performance of SG communications. On one hand, UAVs can provide a wider range of communication coverage, ensuring the power supply in remote areas. On the other hand, the proposed joint optimization algorithms can further enhance system capacity, allowing the system to adjust the selection of BSs and resource allocation based on channel conditions.
The remainder of this paper is arranged as follows. In Section 2, we introduce the system model of the UAV-assisted HWN. Then, the problem formulation of maximizing system throughput is analyzed. In Section 3, the proposed joint user association and resource allocation algorithm is described in detail. In Section 4, experimental findings are provided to validate the proposed algorithm. This paper is finally concluded in Section 5.

2. System Model and Problem Formulation

2.1. System Model

Figure 2 shows the proposed UAV-assisted HWN in the SG. In the scenario, macro BS and micro BSs equipped on the multiple UAVs coexist with overlapping coverage areas to provide communication services for randomly distributed power terminals, such as sensors, controllers, and cameras. To improve the spectrum utilization, the system uses orthogonal frequency division multiple access (OFDMA) for communication. Macro BS and M micro BSs share a set of orthogonal subchannels S = { 1 , 2 , , N } . The N users of the macro BS occupy the N subchannels. For ease of analysis, we assume that there is no mutual interference between the subchannels. In addition, it is assumed that both the macro BS and the micro BSs can obtain the channel state information (CSI) of all users. For convenience of representation, we use M = { 1 , 2 , , M } to denote the set of micro BSs and K = { 1 , 2 , , K } to denote the set of users of micro BSs. In addition, we denote the set of users associated with the micro BS m by K m , and denote the set of users communicating with micro BS m on subchannel n by K m n .

2.2. Problem Formulation

According to Shannon’s formula, when user k associates with BS m on subchannel n, the communication rate can be expressed as
R k , m , n = B n log 2 1 + γ k , m , n ,
where B n represents the bandwidth of subchannel n, and γ k , m , n denotes the received SINR, which can be calculated as follows,
γ k , m , n = p k , n h k , m , n j K n , j k p j , n h j , m , n + p l , n h l , m , n + σ 2 ,
where p k , n , p j , n , and p l , n represent the signal power of micro BS user k, micro BS user j, and macro BS user l that communicate on subchannel n, respectively, h k , m , n , h j , m , n , and h l , m , n represent the channel gains of micro BS user k, micro BS user j and macro BS user l to BS m, respectively, and σ 2 represents the noise power.
To meet the communication demands of users in the SG, a minimum communication rate is set for each user, which can be expressed as
m M n S R k , m , n R k m i n ,
where R k m i n represents the minimum communication rate required by user k.
Additionally, we define a binary variable x k , m to represent the connection between user k and BS m. Specifically, x k , m = 1 when user k associates with BS m, and x k , m = 0 otherwise. Considering that a user can only associate with one BS at the same time, there is the following constraint
m M x k , m 1 , k K .
Similarly, define a binary variable y k , m , n to represent the subchannel assignment of BS m. Specifically, y k , m , n = 1 when the subchannel n of BS m is occupied by user k, and y k , m , n = 0 otherwise. Considering that a subchannel of a BS can only be occupied by one user at the same time, and a user can only occupy a subchannel of a BS at the same time, there are the following constraints:
k K y k , m , n 1 , m M , n S ,
n S y k , m , n 1 , k K , m M .
Considering that the communication resources of BSs are limited, when the load of each BS is relatively balanced, the entire communication system can provide more reliable services. Therefore, the load of the micro BS is limited to avoid excessive users associating with a BS at the same time, which can be given by
k K x k , m q m , m M ,
where q m represents the maximum number of users allowed to associate with BS m.
In addition, due to the scarcity of spectrum resources, we consider that the macro BS and micro BSs share the same set of subchannels. However, this will lead to inter-layer interference and intra-layer interference in the HWN. In order to ensure the communication quality of macro BS users, it is necessary to ensure that the interference to macro BS users does not exceed a certain threshold. Therefore, the following constraint is imposed on the interference:
m M k K y k , m , n p k , n h k , 0 , n I 0 , n t h , n S ,
where h k , 0 , n represents the channel gain from user k to macro BS on subchannel n, and I 0 , n t h represents the maximum interference threshold allowed for macro BS on subchannel n.
Finally, due to the existence of interference, it is necessary to limit the signal transmission power within the system. Therefore, there is the following constraint:
p k min p k , n p k max , k K , n S ,
where p k min and p k max represent the minimum and maximum transmission power of user k, respectively.
For ease of representation, we denote X = { x k , m , k , m } as the set of user association variables, Y = { y k , m , n , k , m , n } as the set of subchannel assignment variables, and P = { p k , n , k , n } as the set of power allocation variables. By jointly considering user association, subchannel assignment, and power allocation, the following optimization problem in the UAV-assisted SG is formulated to maximize the system throughput
P 1 max X , Y , P m M k K n S x k , m y k , m , n R k , m , n , s . t . m M n S R k , m , n R k m i n , k K , m M k K y k , m , n p k , n h k , 0 , n I 0 , n t h , n S , m M x k , m 1 , k K , k K x k , m q m , m M , k K y k , m , n 1 , m M , n S , n S y k , m , n 1 , k K , m M , x k , m { 0 , 1 } , k K , m M , y k , m , n { 0 , 1 } , k K , m M , n S , p k min p k , n p k max , k K , n S .

3. Joint User Association and Resource Allocation Algorithm

It can be found the optimization problem (10) is a mixed integer nonlinear programming (MINLP) problem and cannot be solved directly. Therefore, we adopt the block coordinate descent (BCD) algorithm to decompose the optimization problem into three subproblems, i.e., user association problem, subchannel assignment problem, and power allocation problem.

3.1. User Association Optimization

When the subchannel assignment Y and power allocation P are given, the user association optimization problem can be expressed as
P 1 UA max X m M k K x k , m R k , m , n , s . t . m M x k , m 1 , k K , k K x k , m q m , m M , x k , m { 0 , 1 } , k K , m M .
The matching algorithm can be utilized to solve the optimization problem (11) [30,31,32]. Define u U A k ( m ) as the utility function of user k to BS m and u U A m ( k ) as the utility function of BS m to user k. For user k, if u U A k ( m 1 ) > u U A k ( m 2 ) , it is more appropriate to associate with BS m 1 than BS m 2 . For BS m, if u U A m ( k 1 ) > u U A m ( k 2 ) , the benefit of associating with user k 1 is greater than that of associating with user k 2 .
User-side utility function: We use the average SINR of all subchannels as the utility function for it, which is one of the most commonly used association judgments in user association problems [21]. Therefore, the utility function of user k to BS m on S m subchannels can be expressed as
u U A k ( m ) = log 2 1 + n S m γ k , m , n ,
where S m represents the set of available subchannels of BS m.
BS-side utility function: For BS m, to maximize the system throughput, it is profitable to associate with the user with a higher communication rate. Therefore, the utility function of BS m to user k on S m subchannels can be expressed as:
u U A m ( k ) = n S m p k , m h k , m , n .
Let P L U A k denote the preferences list of user k to BSs, where BSs are sorted in descending order of their utility functions. Similarly, set P L U A m to be the preferences list of BS m to users. According to the preference list, each user will send a connection request to the BS that can enable it to achieve a higher rate. Subsequently, the BS that receives the request will decide whether to accept the connection request based on its preference list and remaining capacity. The specific execution process is described in Algorithm 1.
Algorithm 1 User association based on matching algorithm.
  • Initialization: K , M , K r e j = K , K m r e q = K m r e j = , q m .
  • Each BS m broadcasts its available subchannel S m .
  • Each user k generates its preference list P L U A k .
  • while K r e j do
  •    Update K r e j K , K m r e q
  •    for  k K  do
  •      Find m = arg max m P L U A k u U A k ( m ) .
  •      Update K m r e q K m r e q { k } .
  •    end for
  •    for  m M  do
  •      BS m generates its preference list P L U A m .
  •      if  K m r e q q m  then
  •         Update K m K m r e q .
  •      else
  •         repeat
  •           Find user k K m r e q top-ranked in P L U A m .
  •           Update K m K m { k } .
  •           Delete k from P L U A m .
  •         until  K m = q m
  •      end if
  •      Update K m r e j K m r e q K m .
  •      User k K m r e j removes BS m from P L U A k .
  •      Update K r e j K r e j K m
  •    end for
  • end while

3.2. Subchannel Assignment Optimization

When the user association X and power allocation P are given, the subchannel assignment optimization problem can be expressed as
P 1 RA max Y m M k K n S y k , m , n R k , m , n , s . t . k K y k , m , n 1 , m M , n S , n S y k , m , n 1 , k K , m M , y k , m , n { 0 , 1 } , k K , m M , n S .
Obviously, the optimization problem (14) is still an NP-hard problem and cannot be solved directly. Nevertheless, the interference between BSs is fixed since P is given. Therefore, each BS only needs to consider assigning subchannels to the users associated with it. Accordingly, the subchannel assignment problem of each BS can be regarded as an independent subproblem, i.e., the optimization problem (14) can be split into M independent subproblems, each of which can be expressed as
P 1 RA m max Y k K m n S y k , m , n R k , m , n , s . t . k K m y k , m , n 1 , n S , n S y k , m , n 1 , k K m , y k , m , n { 0 , 1 } , k K m , n S .
Similar to the solution of the user association optimization problem, we also utilize the matching algorithm to solve the subchannel assignment problem. Define u R A m k ( n ) as the utility function on the user side to represent the preference of user k associated with BS m to subchannel n, and define u R A m n ( k ) as the utility function on the subchannel side to represent the preference of subchannel n to user k. The specific definitions are as follows.
User-side utility function: When user k associates with BS m, the utility function of the user on subchannel n is defined as
u R A m k ( n ) = R k , m , n .
which means users will occupy the subchannel with a higher rate.
Subchannel-side utility function: When user k associates with BS m, the utility function for evaluating the user on the subchannel side is defined as
u R A m n ( k ) = α R k , m , n R k m i n R k , m , n C k , n ,
where α is the weight coefficient, and C k , n represents the interference aroused by user k on subchannel n, which can be expressed as
C k , n = β p k , n h k , 0 , n + γ j M , j m p k , n h k , j , n ,
where β and γ are the weight coefficients. According to (17), it can be found that BSs always allocate subchannels to users who can increase the communication rate while causing less interference to other BSs.
Denote P L R A m k as the preferences list of user k K m to available subchannels of BS m, where subchannels are sorted in descending order of their utility functions. Similarly, set P L R A m n to be the preferences list of subchannel n to users associated with BS m.
The proposed subchannel assignment algorithm is specifically described in Algorithm 2. Since the subchannel assignments of different BSs are independent in this stage, the algorithm will complete the subchannel assignment of all BSs in parallel. For BS m, each user first sends a request to BS m to occupy the subchannel top-ranked in its preference list. On the BS side, after receiving the requests of users, it sorts all users on each subchannel according to (17) to generate P L R A m n . Finally, BS m will determine the subchannel assignment according to the requests and preference lists of subchannels.
Algorithm 2 Subchannel assignment based on matching algorithm.
  • Initialization: K m , M , S m , K m r e j = K m , K m n r e q = K m n r e j = .
  • for m M do
  •    for  k K m  do
  •      User k generates its preference list P L R A m k .
  •    end for
  •    while  K m r e j  do
  •      Update K m r e j K m
  •      for  k K m  do
  •         Find n = arg max n P L R A m k u R A m k ( n ) .
  •         Update K m n r e q K m n r e q { k } .
  •      end for
  •      for  n S m  do
  •         Subchannel n generates its preference list P L R A m n .
  •         Find k * K m n r e q top-ranked in P L R A m n .
  •         Allocate subchannel n to user k * .
  •         Update K m n r e j K m n r e q { k * } .
  •         User k K m n r e j removes subchannel n from P L R A m k .
  •         Update K m r e j K m r e j { k * } .
  •      end for
  •    end while
  • end for

3.3. Power Allocation Optimization

To solve the power allocation problem, both the communication rate requirements of users and the interference in the HWN need to be considered. Since different subchannels do not interfere mutually, the power allocation on different subchannels is independent. Similar to the subchannel assignment problem, we divide the primal power allocation problem into N subproblems, each of which can be expressed as
P 1 PA n max P μ n k , m μ n R k , m , n , s . t . R k , m , n R k min , k , m μ n , k , m μ n y k , m , n p k , n h k , 0 , n I 0 , n t h , p n min p k , n p n max , k , m μ n .
where μ n denotes the set of user–BS pairs communicating on subchannel n.
The optimization problem (19) is a non-convex problem, which cannot be solved directly. We first convert the problem to a convex problem. When the SINR is high, it can be regarded as log ( 1 + SIN R ) log ( SIN R ) . In the considered system, we assume that the SINR of the received signal is sufficiently high. Then, we have R k , m , n B n log ( γ k , m , n ) . In addition, the SINR γ k , m , n contains the variable p k , n in both the numerator and denominator, leading to difficulties in solving the optimization problem. Therefore, we introduce the variable p ¯ k , n = ln ( p k , n ) to replace p k , n in optimization problem (19). In addition, we define the variable D k , m , n j K n , j k p j , n h ( j , m , n ) to simplify the expression of mutual interference between BSs in the equation of γ k , m , n . To facilitate the solution, the auxiliary variable D ¯ k , m , n = ln ( D k , m , n ) is also introduced. Accordingly, the optimization problem (19) can be represented as
P 1 PA n min P ¯ , D ¯ k , m μ n log e p ¯ k , n h k , m , n e D ¯ k , m , n + h l , m , n p l , n + σ 2 , s . t . log e p ¯ k , n h k , m , n e D ¯ k , m , n + h l , m , n p l , n + σ 2 + R k m i n B n 0 , k , m μ n , k , m μ n e p ¯ k , n h k , 0 , n I 0 , n t h 0 , ln ( p n min ) p ¯ k , n ln ( p n max ) , k , m μ n . D ¯ k , m , n = ln ( D k , m , n ) , k , m μ n .
where P ¯ and D ¯ represent the sets of p ¯ k , n and D ¯ k , m , n , k , m μ n , respectively.
The optimization problem (20) is a convex problem that can be solved by using the Lagrange dual method [33,34,35]. First, we introduce the Lagrange multipliers λ n , κ k , m , n , and ν k , m , n , and then the Lagrange equation can be expressed as
L ( p ¯ k , n , D ¯ k , m , n , λ , κ , ν ) = k , m μ n log e p ¯ k , n h k , m , n e D ¯ k , m , n + h l , m , n p l , n + σ 2 λ n k , m μ n e p ¯ k , n h k , 0 , n I 0 , n t h k , m μ n ν k , m , n D ¯ k , m , n ln ( D k , m , n ) k , m μ n κ k , m , n log e p ¯ k , n h k , m , n e D ¯ k , m , n + h l , m , n p l , n + σ 2 + R k m i n B n .
Using the Karush–Kuhn–Tucker (KKT) conditions, the optimal solution of (21) can be derived
p k , n * = 1 + κ k , m , n λ n h k , 0 , n ln ( 2 ) P n , ( k , m ) μ n ,
where a P n denotes that a is within [ p n min , p n m a x ] . In addition, the auxiliary variable D k , m , n can be expressed as
D k , m , n = e D ¯ k , m , n = h l , m , n p l , n + σ 2 ν k , m , n ln ( 2 ) 1 + κ k , m , n ν k , m , n ln ( 2 ) + ,
where a + = max { a , 0 } .
Using the subgradient method, the Lagrange multipliers are iteratively updated until convergence, which are calculated as follows
λ n l + 1 = λ n l + ξ k μ n e p ¯ k , n h k , 0 , n I 0 , n t h + ,
κ k , m , n l + 1 = κ k , m , n l + ζ log ( ψ k , m , n ) ) + R k m i n B n + ,
ν k , m , n l + 1 = ν k , m , n l + ϑ D k , m , n e D ¯ k , m , n ,
where ψ k , m , n = e p ¯ k , n h k , m , n e D ¯ k , m , n + h l , m , n p l , n + σ 2 , ξ , ζ , and ϑ are the update steps of the Lagrangian factors, and l denotes the number of iterations. In conclusion, Algorithm 3 describes the specific solution process of the power allocation problem.
Algorithm 3 Power allocation algorithm based on Lagrange dual method.
  • Initialization: S , μ n , P ¯ = D ¯ = 0 .
  • for n S do
  •    for  ( k , m ) μ n  do
  •      Estimate D k , m , n .
  •      repeat
  •         Calculate D k , m , n l + 1 according to Formula (23).
  •         Calculate κ k , m , n l + 1 according to Formula (25).
  •         Calculate ν k , m , n l + 1 according to Formula (26).
  •      until  D k , m , n , κ k , m , n , ν k , m , n converge.
  •    end for
  •    for  ( k , m ) μ n  do
  •      Estimate p k , n * .
  •      repeat
  •         Calculate λ n l + 1 according to Formula (24).
  •         Calculate p k , n l + 1 according to Formula (22).
  •      until  λ n , p k , n converge.
  •    end for
  • end for

3.4. Discussion

The proposed algorithm can reduce the computational complexity while the theoretically optimal solution cannot be guaranteed compared with the baselines. Specifically, the computational complexity mainly comes from three parts: user association optimization, subchannel assignment optimization, and power allocation optimization. The proposed algorithm can significantly reduce the computational complexity of the first two parts. Specifically, user association and subchannel assignment are integer programming problems, and they can be generally solved with exponential complexity while the matching-based algorithm can achieve polynomial complexity [36,37]. In terms of the third part, the Lagrange dual method adopted in our work also has polynomial complexity [38,39]. Therefore, the proposed algorithm can be effectively applied in practical systems to achieve acceptable performance with low complexity.

4. Simulation Results and Analysis

4.1. Simulation Setup

To verify the effectiveness of the proposed algorithm, we consider a 10 km × 10 km power monitoring scenario. A macro BS is deployed in the center of the area to provide signal coverage for the surrounding area of 5 km. In addition, in order to meet the communication demands of multiple terminals and further improve the system capacity, four UAVs equipped with micro BSs are deployed in the area to provide communication services for users in the surrounding area of 2 km. There are 28 power terminals randomly distributed in the area. Consider that each BS has eight subchannels available to users, each with a bandwidth of 1 MHz and a carrier frequency of 2 GHz. The macro BS provides communication services for eight users, and the remaining 20 users are allocated to the micro BSs. To balance the load of BSs, each micro BS is set to serve up to five users at the same time, that is, q m = 5 . In addition, the maximum interference allowed for each subchannel of the macro BS is set to be 75 dBm, the noise power is set to be 114 dBm, the minimum communication rate of each user is set to be 2 Mbps, the maximum signal transmission power is set to be 1 W, and the signal transmission power of macro BS users is set to be 1 W.
Considering the power communication environment, we use the log-distance model of the macro cell to estimate the path loss, that is, P L = 128.1 + 37.6 log 10 ( d ) , where d represents the distance between the transmitter and receiver [40]. In addition, the Rayleigh fading model is used to estimate the small-scale fading. Then, the channel gain h k , m , n of user k to BS m on subchannel n can be represented as
h k , m , n = 10 ( 128.1 37.6 log 10 d k , m + R a y l r n d ( B ) ) / 10 ,
where the standard deviation of the Rayleigh fading is set to be B = 1 in the simulation.

4.2. Numerical Evaluation

Figure 3 depicts the execution results of the proposed algorithm. Figure 3a shows the connection between micro BSs and users. It can be seen that according to the matching method proposed in Algorithm 1, 20 users respectively establish connections with four micro BSs. Meanwhile, due to the setting of the maximum capacity of micro BSs, the four micro BSs provide communication services for five users, respectively, achieving the load balancing. Figure 3b shows the subchannel assignment result, and eight subchannels are assigned to 20 users, respectively. The subchannel assignment algorithm optimizes the user rate while tending to minimize the interference between users. Figure 3c demonstrates the power allocation result of the micro BS users, which is achieved with comprehensive consideration of the intra-layer interference, inter-layer interference, the user rate requirements, etc. Allocating transmission power to users according to the proposed algorithm can meet the various requirements of the entire communication system of the SG. Figure 3d illustrates the achievable data rate of micro BS users based on the proposed algorithm, where the red line represents the minimum required rate. It can be observed that the communication rate of each user in the SG can meet its minimum requirement, indicating the effectiveness of the proposed algorithm.
Furthermore, to fully evaluate the strengths and potential limitations of the proposed method, the proposed algorithm is simulated and compared with other five schemes, which are described as follows.
  • Exhaustive search algorithm: An exhaustive method is adopted to obtain the optimal user association and subchannel assignment as in [41,42].
  • Max-SINR algorithm: The max-SINR is adopted for user association as in [43], and the proposed Algorithm 2 is still used for subchannel assignment.
  • Hungarian algorithm: The Hungarian algorithm is adopted for user association and subchannel assignment to find the maximum match as in [44].
  • K-means algorithm: The K-means algorithm is adopted for user association as in [30,45], and the proposed Algorithm 2 is still used for subchannel assignment.
  • Best channel gain algorithm: Users select the BS and subchannel with the best channel gain as in [46].
Note that the above schemes all use the proposed power allocation in Algorithm 3.
Under the power monitoring scenario described in Section 4.1, i.e., K = 20 , M = 4 , N = 8 , p m a x = 1 , the comparison of the total system throughput and complexity of different schemes is shown in Table 1. From this table, the performance of the proposed algorithm is close to the exhaustive search algorithm. Meanwhile, compared to the exponential complexity of the exhaustive search algorithm, the proposed algorithm is able to solve the optimization problem in polynomial time. This indicates that the proposed algorithm achieves a great balance between computational complexity and performance. In addition, the system throughput of the proposed algorithm is 5.40% higher than that of the max-SINR algorithm, 2.76% higher than that of the Hungarian algorithm, 11.23% higher than that of the K-means algorithm, and 7.35% higher than that of the best channel gain algorithm.
To further compare the different schemes under various scenarios, we obtain the simulation results under the varying number of users, the varying number of available subchannels, and the varying maximum transmission power in Figure 4, Figure 5, and Figure 6, respectively.
Figure 4 shows the total system performance comparison under different numbers of users. It can be seen that the total system throughput of both the proposed algorithm and the other five schemes gradually increases as the number of users increases. When the number of users reaches the maximum capacity, the system throughput remains stable. This is because the number of user connections of all BSs in the system reaches the limit. Also, the system throughput achieved by the proposed algorithm is always superior to that of the max-SINR algorithm, the Hungarian algorithm, the K-means algorithm, and the best channel gain algorithm.
Figure 5 describes the total system performance comparison between the proposed algorithm and five baselines with different numbers of available subchannels. It can be seen that the total system throughput of different algorithms initially increases with the increase of the number of system subchannels. This is because when the number of available subchannels is relatively small, there will be multiple users sharing a single subchannel, and the interference between users is severe. In this case, the transmission power of the users under the limit of the interference threshold is small, so the system throughput is low. When the number of available subchannels is large enough, different users can occupy different subchannels, or even each user can occupy a completely independent subchannel. Therefore, the achievable data rate of the users increases due to there being no interference between these users. It can also be seen that the performance of the proposed algorithm is significantly better than the max-SINR algorithm, the Hungarian algorithm, the K-means algorithm, and the best channel gain algorithm, which is close to the upper limit provided by the exhaustive search algorithm, demonstrating the effectiveness of the proposed algorithm.
Figure 6 depicts the total system performance comparison between the proposed algorithm and five baselines under different maximum transmission power. It can be seen that with the increase in the user transmission power, the total system throughput of all four schemes gradually increases and finally reaches stability. This is because when the transmission power increases to a certain degree, the interference to BSs will be larger, and then the proposed power allocation algorithm will limit the transmission power of users to avoid excessive interference. There is an upper limit to the total system throughput as the transmission power increases. In addition, the exhaustive search algorithm in Figure 6 can also achieve the highest performance, while a similar performance can be obtained by the proposed algorithm with a low complexity.
According to the simulation results in Figure 4, Figure 5, and Figure 6, our proposed method achieves acceptable performance compared to baselines in different scenarios, such as different numbers of users and different amounts of communication resources. Although the performance is lower than the exhaustive search algorithm, it has the advantage of lower complexity, which is more appropriate for practical systems.

5. Conclusions

In this paper, to meet the demands on the reliable communication in the SG, especially in remote areas, a UAV-assisted HWN architecture is proposed. To further improve the capacity of the smart grid communication system, an efficient algorithm is developed to maximize the system throughput by jointly adjusting the user association and resource allocation. Herein, the constraints on the intra-layer and inter-layer interference of the HWN, the communication demand of users, and the load balancing of the BSs are taken into account. To solve this non-convex optimization problem, we first decompose the original optimization problem into three subproblems: a user association problem, subchannel assignment problem, and power allocation problem. For the user association and subchannel assignment problems, a matching algorithm is designed to accomplish the matching between users and base stations as well as between users and subchannels. For the power allocation problem, we use the Lagrangian dual method to obtain the closed-form solution of power allocation. Finally, the proposed algorithm is validated by simulation. The simulation results show that the proposed algorithm can enhance the system capacity while satisfying the user communication requirements in the SG. In addition, it has the performance close to the exhaustive search algorithm, and it outperforms the max-SINR algorithm, the Hungarian algorithm, the K-means algorithm, and the best channel gain algorithm. Future research will focus on several key challenges in UAV-assisted communications, especially UAV power management and trajectory optimization.

Author Contributions

Conceptualization, J.W. and Z.W.; methodology, J.W. and Y.X.; formal analysis, P.M., L.S. (Lingtao Sun); software, P.M.; validation, Z.W., P.M. and L.S. (Lingtao Sun); writing—original draft preparation, Y.X., L.S. (Lin Su) and Y.L.; writing—review and editing, J.W. and Z.W. All authors have read and agreed to the published version of the manuscript.

Funding

This research was funded by the Technology Project of Inner Mongolia Power (GROUP) Co., Ltd. under grant No.[2024]5.

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

The data generated during and/or analyzed during the current study are available from the corresponding author upon reasonable request.

Conflicts of Interest

Authors JianweiWei, ZhiyiWen, Yongqing Xiao, Pengcheng Ma, Lingtao Sun and Lin Su were employed by the company Xuejiawan Power Supply Company. The remaining author declares that the research was conducted in the absence of any commercial or financial relationships that could be construed as a potential conflict of interest.

References

  1. Dileep, G. A survey on smart grid technologies and applications. Renew. Energy 2020, 146, 2589–2625. [Google Scholar] [CrossRef]
  2. Judge, M.A.; Khan, A.; Manzoor, A.; Khattak, H.A. Overview of smart grid implementation: Frameworks, impact, performance and challenges. J. Energy Storage 2022, 49, 104056. [Google Scholar] [CrossRef]
  3. Chong, A.T.Y.; Mahmoud, M.A.; Lim, F.C.; Kasim, H. A review of smart grid technology, components, and implementation. In Proceedings of the 2020 8th International Conference on Information Technology and Multimedia (ICIMU), Selangor, Malaysia, 24–25 August 2020; pp. 166–169. [Google Scholar] [CrossRef]
  4. Bhat, S. Leveraging 5g network capabilities for smart grid communication. J. Electr. Syst. 2024, 20, 2272–2283. [Google Scholar] [CrossRef]
  5. Abrahamsen, F.E.; Ai, Y.; Cheffena, M. Communication technologies for smart grid: A comprehensive survey. Sensors 2021, 21, 8087. [Google Scholar] [CrossRef] [PubMed]
  6. Qays, M.O.; Ahmad, I.; Abu-Siada, A.; Hossain, M.L.; Yasmin, F. Key communication technologies, applications, protocols and future guides for IoT-assisted smart grid systems: A review. Energy Rep. 2023, 9, 2440–2452. [Google Scholar] [CrossRef]
  7. Panda, D.K.; Das, S. Smart grid architecture model for control, optimization and data analytics of future power networks with more renewable energy. J. Clean. Prod. 2021, 301, 126877. [Google Scholar] [CrossRef]
  8. Chin, W.L.; Lin, Y.H.; Chen, H.H. A framework of machine-to-machine authentication in smart grid: A two-layer approach. IEEE Commun. Mag. 2016, 54, 102–107. [Google Scholar] [CrossRef]
  9. Le, T.N.; Chin, W.L.; Chen, H.H. Standardization and security for smart grid communications based on cognitive radio technologies—A comprehensive survey. IEEE Commun. Surv. Tutor. 2016, 19, 423–445. [Google Scholar] [CrossRef]
  10. Ghorbanian, M.; Dolatabadi, S.H.; Masjedi, M.; Siano, P. Communication in smart grids: A comprehensive review on the existing and future communication and information infrastructures. IEEE Syst. J. 2019, 13, 4001–4014. [Google Scholar] [CrossRef]
  11. Khan, F.; ur Rehman, A.; Arif, M.; Aftab, M.; Jadoon, B.K. A survey of communication technologies for smart grid connectivity. In Proceedings of the 2016 International Conference on Computing, Electronic and Electrical Engineering (ICE Cube), Quetta, Pakistan, 11–12 April 2016; pp. 256–261. [Google Scholar] [CrossRef]
  12. Tightiz, L.; Yang, H. A comprehensive review on IoT protocols’ features in smart grid communication. Energies 2020, 13, 2762. [Google Scholar] [CrossRef]
  13. Rehmani, M.H.; Reisslein, M.; Rachedi, A.; Erol-Kantarci, M.; Radenkovic, M. Integrating renewable energy resources into the smart grid: Recent developments in information and communication technologies. IEEE Trans. Ind. Inform. 2018, 14, 2814–2825. [Google Scholar] [CrossRef]
  14. Nawaz, H.; Ali, H.M.; Laghari, A.A. UAV communication networks issues: A review. Arch. Comput. Methods Eng. 2021, 28, 1349–1369. [Google Scholar] [CrossRef]
  15. Meng, K.; Wu, Q.; Xu, J.; Chen, W.; Feng, Z.; Schober, R.; Swindlehurst, A.L. UAV-enabled integrated sensing and communication: Opportunities and challenges. IEEE Wirel. Commun. 2024, 31, 97–104. [Google Scholar] [CrossRef]
  16. Shahzadi, R.; Ali, M.; Khan, H.Z.; Naeem, M. UAV assisted 5G and beyond wireless networks: A survey. J. Netw. Comput. Appl. 2021, 189, 103114. [Google Scholar] [CrossRef]
  17. Marabissi, D.; Mucchi, L.; Morosi, S. User-cell association for security and energy efficiency in ultra-dense heterogeneous networks. Sensors 2021, 21, 508. [Google Scholar] [CrossRef] [PubMed]
  18. Bikram Kumar, B.; Sharma, L.; Wu, S.L. Online distributed user association for heterogeneous radio access network. Sensors 2019, 19, 1412. [Google Scholar] [CrossRef] [PubMed]
  19. Zhang, S.; Kang, G. User association and power control for energy efficiency maximization in M2M-enabled uplink heterogeneous networks with NOMA. Sensors 2019, 19, 5307. [Google Scholar] [CrossRef]
  20. Hu, S.; Chen, X.; Ni, W.; Wang, X.; Hossain, E. Modeling and analysis of energy harvesting and smart grid-powered wireless communication networks: A contemporary survey. IEEE Trans. Green Commun. Netw. 2020, 4, 461–496. [Google Scholar] [CrossRef]
  21. Liu, D.; Wang, L.; Chen, Y.; Elkashlan, M.; Wong, K.K.; Schober, R.; Hanzo, L. User association in 5G networks: A survey and an outlook. IEEE Commun. Surv. Tutor. 2016, 18, 1018–1044. [Google Scholar] [CrossRef]
  22. Ramazanali, H.; Mesodiakaki, A.; Vinel, A.; Verikoukis, C. Survey of user association in 5G HetNets. In Proceedings of the 2016 8th IEEE Latin-American conference on communications (LATINCOM), Medellin, Colombia, 15–17 November 2016; pp. 1–6. [Google Scholar] [CrossRef]
  23. Yadav, A.K.; Singh, K.; Arshad, N.I.; Ferrara, M.; Ahmadian, A.; Mesalam, Y.I. MADM-based network selection and handover management in heterogeneous network: A comprehensive comparative analysis. Results Eng. 2024, 21, 101918. [Google Scholar] [CrossRef]
  24. Chou, H. A heterogeneous wireless network selection algorithm for smart distribution grid based on chi-square distance. In Proceedings of the 2018 10th International Conference on Communications, Circuits and Systems (ICCCAS), Chengdu, China, 22–24 December 2018; pp. 325–330. [Google Scholar] [CrossRef]
  25. Alhashimi, H.F.; Hindia, M.N.; Dimyati, K.; Hanafi, E.B.; Izam, T.F.T.M.N. Joint optimization scheme of user association and channel allocation in 6G hetnets. Symmetry 2023, 15, 1673. [Google Scholar] [CrossRef]
  26. Huang, B.; Guo, A. A dynamic hierarchical game approach for user association and resource allocation in HetNets with wireless backhaul. IEEE Wirel. Commun. Lett. 2024, 13, 59–63. [Google Scholar] [CrossRef]
  27. Khawam, K.; Lahoud, S.; El Helou, M.; Martin, S.; Gang, F. Coordinated framework for spectrum allocation and user association in 5G HetNets with mmWave. IEEE Trans. Mob. Comput. 2020, 21, 1226–1243. [Google Scholar] [CrossRef]
  28. Yadav, A.K.; Singh, K.; Srivastava, P.K. Probabilistic estimation of comprehensive utility based on user preference and network condition for network selection in future in HetNet. J. Supercomput. 2024, 80, 4378–4400. [Google Scholar] [CrossRef]
  29. Montalban, J.; Muntean, G.M.; Angueira, P. A utility-based framework for performance and energy-aware convergence in 5G heterogeneous network environments. IEEE Trans. Broadcast. 2020, 66, 589–599. [Google Scholar] [CrossRef]
  30. Liu, Y.; Liu, K.; Han, J.; Zhu, L.; Xiao, Z.; Xia, X.G. Resource allocation and 3-D placement for UAV-enabled energy-efficient IoT communications. IEEE Internet Things J. 2021, 8, 1322–1333. [Google Scholar] [CrossRef]
  31. Chiti, F.; Fantacci, R.; Gu, Y.; Han, Z. Content sharing in Internet of Vehicles: Two matching-based user-association approaches. Veh. Commun. 2017, 8, 35–44. [Google Scholar] [CrossRef]
  32. LeAnh, T.; Tran, N.H.; Saad, W.; Le, L.B.; Niyato, D.; Ho, T.M.; Hong, C.S. Matching theory for distributed user association and resource allocation in cognitive femtocell networks. IEEE Trans. Veh. Technol. 2017, 66, 8413–8428. [Google Scholar] [CrossRef]
  33. Gharagezlou, A.S.; Nangir, M.; Imani, N. Energy efficient power allocation with joint antenna and user selection in massive MIMO systems. Comput. Netw. 2022, 216, 109225. [Google Scholar] [CrossRef]
  34. Adam, A.B.; Wan, X.; Wang, Z. User scheduling and power allocation for downlink multi-cell multi-carrier NOMA systems. Digit. Commun. Netw. 2023, 9, 252–263. [Google Scholar] [CrossRef]
  35. Han, J.; Lee, G.H.; Park, S.; Choi, J.K. Joint subcarrier and transmission power allocation in OFDMA-based WPT system for mobile-edge computing in IoT environment. IEEE Internet Things J. 2022, 9, 15039–15052. [Google Scholar] [CrossRef]
  36. Benedek, M.; Biro, P.; Johnson, M.; Paulusma, D.; Ye, X. The complexity of matching games: A survey. J. Artif. Intell. Res. 2023, 77, 459–485. [Google Scholar] [CrossRef]
  37. Biró, P.; Kern, W.; Paulusma, D. Computing solutions for matching games. Int. J. Game Theory 2012, 41, 75–90. [Google Scholar] [CrossRef]
  38. Pólik, I.; Terlaky, T. Interior Point Methods for Nonlinear Optimization; Springer: Berlin/Heidelberg, Germany, 2010. [Google Scholar] [CrossRef]
  39. Potra, F.A.; Wright, S.J. Interior-point methods. J. Comput. Appl. Math. 2000, 124, 281–302. [Google Scholar] [CrossRef]
  40. Ortega, A.; Tralli, V. QoS-aware resource allocation with pilot-aided channel estimation for heterogeneous wireless networks. Sensors 2022, 22, 4545. [Google Scholar] [CrossRef]
  41. Sun, Z.; Wei, Z.; Yang, N.; Zhou, X. Two-tier communication for UAV-enabled massive IoT systems: Performance analysis and joint design of trajectory and resource allocation. IEEE J. Sel. Areas Commun. 2020, 39, 1132–1146. [Google Scholar] [CrossRef]
  42. Rana, S.S.; Verma, G.; Sahu, O. Energy-efficient resource allocation for NOMA-MEC system under imperfect successive interference cancellation. Int. J. Comput. Appl. 2024, 46, 911–920. [Google Scholar] [CrossRef]
  43. Belaoura, W.; Ghanem, K.; Shakir, M.Z.; Hasna, M.O. Performance and User Association Optimization for UAV Relay-Assisted mm-Wave Massive MIMO Systems. IEEE Access 2022, 10, 49611–49624. [Google Scholar] [CrossRef]
  44. ALsmadi, H.; Alsheyab, H.; Alsmadi, M.; Mohammed, E.; Alomari, Y.; Ikki, S. Less Complex and Higher Spectral Efficiency Resource Allocation Algorithm for Unmanned Aerial Vehicles Networks. IEEE Can. J. Electr. Comput. Eng. 2022, 45, 279–284. [Google Scholar] [CrossRef]
  45. Zhang, X.; Chen, Y.; Zhang, Y.; An, K.; Liang, T. Subchannel Allocation for UAV-Enabled OFDMA Systems with UAV Placement and User Association. In Proceedings of the 2023 11th China Conference on Command and Control, Beijing, China, 24–25 October 2024; Di Cecco, L., Ed.; Springer: Singapore, 2024; pp. 297–310. [Google Scholar] [CrossRef]
  46. Liu, Y.; Zhang, H.; Zhou, H.; Long, K.; Leung, V.C.M. User Association, Subchannel and Power Allocation in Space-Air-Ground Integrated Vehicular Network With Delay Constraints. IEEE Trans. Netw. Sci. Eng. 2023, 10, 1203–1213. [Google Scholar] [CrossRef]
Figure 1. The SG communication system architecture.
Figure 1. The SG communication system architecture.
Sensors 24 08195 g001
Figure 2. UAV-assisted HWN in the SG.
Figure 2. UAV-assisted HWN in the SG.
Sensors 24 08195 g002
Figure 3. User association, subchannel assignment, power allocation, and user achievable data rate optimization results. (a) User association results. (b) Subchannel allocation results. (c) Power allocation results. (d) Achievable data rate of users.
Figure 3. User association, subchannel assignment, power allocation, and user achievable data rate optimization results. (a) User association results. (b) Subchannel allocation results. (c) Power allocation results. (d) Achievable data rate of users.
Sensors 24 08195 g003
Figure 4. Total system throughput comparison of different algorithms with different numbers of users.
Figure 4. Total system throughput comparison of different algorithms with different numbers of users.
Sensors 24 08195 g004
Figure 5. Total system throughput comparison of different algorithms with different numbers of subchannels.
Figure 5. Total system throughput comparison of different algorithms with different numbers of subchannels.
Sensors 24 08195 g005
Figure 6. Total system throughput comparison of different algorithms with different maximum signal transmission power.
Figure 6. Total system throughput comparison of different algorithms with different maximum signal transmission power.
Sensors 24 08195 g006
Table 1. Comparison of the total system throughput and complexity of different schemes.
Table 1. Comparison of the total system throughput and complexity of different schemes.
SchemesTotal System Throughput (Mb/s)Complexity
Proposed Algorithm91.969Medium
Exhaustive Search Algorithm [41,42]94.599High
Max-SINR Algorithm [43]87.256Medium
Hungarian Algorithm [44]89.495Medium
K-means Algorithm [30,45]82.682Low
Best Channel Gain Algorithm [46]85.670Low
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

Wei, J.; Lei, Y.; Wen, Z.; Xiao, Y.; Ma, P.; Sun, L.; Su, L. A User Association and Resource Allocation Algorithm for UAV-Assisted Smart Grid. Sensors 2024, 24, 8195. https://doi.org/10.3390/s24248195

AMA Style

Wei J, Lei Y, Wen Z, Xiao Y, Ma P, Sun L, Su L. A User Association and Resource Allocation Algorithm for UAV-Assisted Smart Grid. Sensors. 2024; 24(24):8195. https://doi.org/10.3390/s24248195

Chicago/Turabian Style

Wei, Jianwei, Yuzhu Lei, Zhiyi Wen, Yongqing Xiao, Pengcheng Ma, Lingtao Sun, and Lin Su. 2024. "A User Association and Resource Allocation Algorithm for UAV-Assisted Smart Grid" Sensors 24, no. 24: 8195. https://doi.org/10.3390/s24248195

APA Style

Wei, J., Lei, Y., Wen, Z., Xiao, Y., Ma, P., Sun, L., & Su, L. (2024). A User Association and Resource Allocation Algorithm for UAV-Assisted Smart Grid. Sensors, 24(24), 8195. https://doi.org/10.3390/s24248195

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

Article Metrics

Back to TopTop