[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Next Article in Journal
Posture Detection of Individual Pigs Based on Lightweight Convolution Neural Networks and Efficient Channel-Wise Attention
Previous Article in Journal
Sound Event Detection by Pseudo-Labeling in Weakly Labeled Dataset
You seem to have javascript disabled. Please note that many of the page functionalities won't work as expected without javascript enabled.
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Multiband Spectrum Sensing and Power Allocation for aCognitive Radio-Enabled Smart Grid

1
College of Electrical Engineering and Automation, Fuzhou University, Fuzhou 350116, China
2
College of Electronic Engineering, National University of Defense Technology, Hefei 230037, China
3
College of Computer and Information Sciences, Fujian Agriculture and Forestry University, Fuzhou 350002, China
*
Author to whom correspondence should be addressed.
Sensors 2021, 21(24), 8384; https://doi.org/10.3390/s21248384
Submission received: 19 October 2021 / Revised: 9 December 2021 / Accepted: 10 December 2021 / Published: 15 December 2021
(This article belongs to the Section Optical Sensors)

Abstract

:
As part of an Internet of Things (IoT) framework, the Smart Grid (SG) relies on advanced communication technologies for efficient energy management and utilization. Cognitive Radio (CR), which allows Secondary Users (SUs) to opportunistically access and use the spectrum bands owned by Primary Users (PUs), is regarded as the key technology of the next-generation wireless communication. With the assistance of CR technology, the quality of communication in the SG could be improved. In this paper, based on a hybrid CR-enabled SG communication network, a new system architecture for multiband-CR-enabled SG communication is proposed. Then, some optimization mathematical models are also proposed to jointly find the optimal sensing time and the optimal power allocation strategy. By using convex optimization techniques, several optimal methods are proposed to maximize the data rate of multiband-CR-enabled SG while considering the minimum detection probabilities to the active PUs. Finally, simulations are presented to show the validity of the proposed methods.

1. Introduction

The Internet of Things (IoT) has the power to reshape the world as we know it. The Smart Grid (SG), as part of an IoT framework, adopts advanced Information and Communication Technologies (ICTs) [1,2] to constantly optimize electrical power generation, delivery, consumption, and storage of electricity. In order to achieve this goal, SG applications need to transmit a huge amount of data, such as meter readings, sensor data, surveillance data, multimedia data, automation data, and services [3], so effective communication is very important for SG applications.
Wireless communication technologies are strongly recommended for SG applications [4,5], because of their flexibility, wide coverages, wall-penetration capabilities, and ease of installation. However, as mentioned before, considering a huge amount of data is needed to be shared within the SG information network and the spectrum limitations of existing wireless communication technologies, advanced communication technologies are extremely needed for SG applications.
Cognitive Radio (CR) is a wireless communication paradigm in which the unlicensed users or Secondary Users (SUs) who have no spectrum licenses can opportunistically access and use the unused spectrum of licensed users or Primary Users (PUs) who have spectrum licenses without causing interference to the PUs. In a typical CR system, SUs first perform spectrum sensing to find the unused bands and then adjust their transmission parameters such as coding schemes, modulation schemes, and transmitting power to access the unused bands. There are three types of spectrum-sharing techniques in CR systems: interweave, underlay, and overlay [6]. In interweave CR systems, SUs can only use the unused bands of PUs, and in underlay CR systems, SUs can use the bands below certain power limits without causing interference to PUs. In overlay CR systems, SUs actively help in PUs’ data transmission. However, PUs should share knowledge of their signal codebooks and messages with SUs in order to cooperate with each other. In this paper, we assumed there is no cooperative communication between PUs and SUs. Hence, only interweave and underlay CR systems were taken into account.
There are already several papers about how to incorporate CR technology into SG to improve the data rate. References. [7,8] proposed a novel idea of a hybrid CR-enabled SG communication network considering the unpredictable activities of PUs. Because of the unknown statuses of PUs, the unlicensed bands may be very difficult to access for SUs. Therefore, the communication links may become very unstable when PUs have high probabilities of appearance. Therefore, the traditional CR communication network may not be very suitable for SG communication because many SG applications such as Distribution Automation (DA) and real-time Demand Response Management (DRM) extremely need reliable communication links. The novel idea of the hybrid communication network proposed in [7,8] consists of not only the unlicensed bands, which are shared with PUs and SUs, but also some licensed bands, which are bought from the telecommunication operators. Unlike the unlicensed bands, the licensed bands can be accessed all the time by SG users with no need for spectrum sensing. In this way, the communication links in the hybrid network are more reliable than the communication links in the traditional CR network. Based on this novel hybrid network, Reference [9] proposed a sensing-performance trade-off metric to optimize the sensing time while maximizing the DRM performance in a CR-enabled SG communication network, which contains a single licensed band and a single unlicensed band. Reference [10] further proposed several joint spatial and temporal spectrum sharing methods to optimize the DRM performance for a single-band-based CR-enabled SG network. However, in this literature, nothing was mentioned about how to find the optimal sensing time and power allocation scheme simultaneously in such a hybrid CR-enabled SG network, which is a fundamental task in CR.
Moreover, multiband CR technology is usually superior to single-band CR technology because multiple bands can offer more access opportunities for SUs. Thus, multiband CR can significantly improve the data rate of a communication system. As a result, multiband spectrum sensing is a hot research topic in traditional CR networks [11]. Reference [12] first proposed an optimal multiband spectrum sensing for CR, but without considering the optimization of sensing time. Reference [13] further proposed an optimal multiband spectrum sensing and resource allocation method. Based on [13], Reference [14] proposed a joint multiband cooperative spectrum sensing and resource allocation framework for Internet of Things (IoT) in cognitive 5G networks. Reference [15] proposed a real-time implementation method of multiband spectrum sensing based on SDR technology. However, References [12,13,14,15] were all based on the traditional CR network and were not based on the idea of the hybrid CR-enabled SG communication network proposed in [7,8]. Therefore, the methods proposed in [12,13,14,15] may not be very reliable for SG applications because their communication links can be interrupted by the PUs according to the above.
In this paper, based on the new idea of the hybrid CR-enabled SG communication network, which comprises both unlicensed bands shared by PUs and licensed bands bought from the telecommunication operators, we first propose a system architecture for multiband-CR-enabled SG communication and some optimization mathematical models to jointly find the optimal sensing time and the optimal power allocation strategy. Then, by using convex optimization techniques, several optimal methods are proposed for both interweave and underlay multiband-CR-enabled SG to maximize the total data rate. Finally, we demonstrate the effects of the proposed methods by presenting some simulation results to prove the soundness of our proposed algorithms.
The remainder of this paper is organized as follows: Section 2 introduces the backgrounds and the system model of the proposed methods. Section 3 introduces the joint spectrum sensing and power allocation method for interweave-CR-enabled SG. Section 4 gives the joint spectrum sensing and power allocation method for underlay-CR-enabled SG. Section 5 presents the simulation results, and conclusions are made in Section 6.

2. Background

2.1. Energy Detection

Energy detection is the most often considered spectrum sensing method in the CR literature because of its simplicity and adequate performance. The received signal y ( n ) of energy detection is [16]:
y ( n ) = { w ( n ) H 0 h x ( n ) + w ( n ) H 1
where x ( n ) is the PU’s signal, w ( n ) is the additive white Gaussian noise with zero mean and variance σ w 2 , h is the channel gain and assumed to vary with time, but remains invariant during one frame, and n denotes the n-th sample of N total samples. The test statistic of energy detection is:
η = n = 1 N y 2 ( n ) N
In CR, the main concern is that the presences of PUs should be detected properly and the transmission of PUs should not be interfered by SUs. Thus, the detection probability should be considered first. The false alarm probability means the loss of access opportunities and will cause no harm to PUs so that it can be considered second. Based on this premise, in this paper, we chose the detection probability as the target detection probability. Therefore, given the target detection probability P d 0 , the threshold λ and the false alarm probability P f a can be obtained as:
λ = 2 σ w 2 e r f c 1 ( 2 P d 0 ) 1 + 2 γ N + σ w 2 + σ w 2 γ
P f a = 1 2 e r f c e r f c 1 ( 2 P d 0 ) 1 + 2 γ + γ N 2
where e r f c ( . ) or e r f c 1 ( . ) is the complementary error function or inverse complementary error function, respectively, and γ = Δ n = 1 N h 2 x 2 ( n ) N σ w 2 is the Signal-to-Noise Ratio (SNR).

2.2. System Model

The CR-enabled SG network architecture can be divided into three layers, that is the Home Area Network (HAN), Neighborhood Area Network (NAN), and Wide Area Network (WAN) [17]. The HAN consists of various kinds of smart devices equipped with sensors and a smart meter used as a Home Gateway (HGW) in home energy management systems. The smart meter communicates with the smart devices to monitor, control, and manage the energy efficiently. The NAN covers the distribution and transmission domains and communicates with the service providers in the WAN and the HGWs in the HAN. In order to support SG applications such as power outage management, power quality monitoring, and distribution automation, the NAN may cover several square kilometers and needs at least 10 Mb/s to keep a good connection with a few hundred to a few thousand HGWs [7]. The WAN covers the transmission and power generation domains and communicates with multiple NANs and the control center. A very high volume of data, including the data of power generation plants, control centers, substations, transmission and distribution grids, and distributed energy resource stations, may be communicated via WAN links. Considering a vast number of heterogeneous smart devices and the different types of network traffic, it is a challenging task to guarantee the reliable communication links for the HAN, NAN, and WAN, without more advanced communication technologies.
Because of the dynamic spectrum-sharing mechanism of CR, the CR-based SG emerges as a promising technology to meet the complex communication needs of the HAN, NAN, and WAN. For example, as illustrated in Figure 1, the HGWs collect the data from the electric meters, the water meters, and the gas meters and then transmit the data to the NAN Gateway (NGW). Then, CR technology can be adopted by the HGWs and NGWs if the PUs allow spectrum sharing in the cognitive area. In Figure 1, SG users (HGWs and NGWs) are SUs and try to access the unused spectrum bands of PUs. However, due to the unpredictable activities of PUs, the communication links absolutely dependent on CR are unreliable. Thus, researchers suggest that the SG users buy some additional licensed bands from the telecommunication operators, which may be narrower than the unlicensed bands of PUs because of the expensive spectrum purchase cost, but can be used by the SG users all the time [7]. These licensed bands owned by the SG users are called original channels in this paper. The SG users can also access the unlicensed bands owned by the PUs via CR technology. These bands that are unlicensed to the SG users are called cognitive channels in this paper. These unlicensed or cognitive channels may have wide bandwidths, but can only be accessed and used before proper spectrum sensing, while the licensed or original channels may have narrow bandwidths, but can be accessed and used all the time.
According to the above, assume the CR-enabled SG communication network consists of L original channels with bandwidths B b , 1 , , B b , L , which are bought from telecommunication operators, and M cognitive channels with bandwidths B s , 1 , , B s , M , which are shared by PUs. The SG users can access the original channels all the time, but can only access the cognitive channels when PUs are absent or the interference limits are not exceeded. Assume that the SG users can transmit data over the L original channels and M cognitive channels simultaneously by some advanced communication technologies such as Carrier Aggregation (CA) and Orthogonal Frequency Division Multiplexing (OFDM) during the transmission period. The block diagram of the proposed single-antenna multiband system is shown in Figure 2, where A/D means an Analog-to-Digital converter and BPF means a Band-Pass Filter. Moreover, all channels share one antenna, which means they should perform transmission and reception at the same time.
The time frame with length T is divided into two slots: spectrum-sensing slot with length τ and transmission slot with length T τ . Assume the sampling interval is T s , then the number of sensing samples N is T / T s . The frame structure is shown in Figure 3.
During the spectrum-sensing slot, the received SNRs of the PUs at the SG transmitter on the M cognitive channels are γ 1 , , γ M . The values of the received SNRs can be estimated by several methods and can be conducted by the HGWs and then broadcast to the NGWs via a control channel [18,19]. During the transmission slot, between the SG transmitter and the SG receiver, the channel gains of L original channels and M cognitive channels are h b , 1 , , h b , L and h s , 1 , , h s , M . The channel gains between the SG transmitter and the PU receiver and the channel gains between the SG receiver and the PU transmitter of the j cognitive channel are g s p , j and g p s , j ( j = 1 , , M ) . All channel gains were assumed to be block fading. The noise variances at the SG receiver of L original channels and M cognitive channels are σ b , 1 2 , σ b , L 2 and σ s , 1 2 , , σ s , M 2 . The system model is shown in Figure 4, where Tx denotes the transmitter and Rx denotes the receiver, while the solid lines denote the real communication links and the dashed lines denote the interference links.
Assume the transmission power constraint of the SG transmitter is P. In interweave CR, the powers allocated to the L original channels and M cognitive channels are P b t , 1 , , P b t , L and P s t , 1 , , P s t , M . In underlay CR, the transmitted powers of the PUs are P p u , 1 , , P p u , M , and the interference limits for the PUs’ receivers are Ψ 1 , , Ψ M . The powers allocated to the L original channels are still P b t , 1 , , P b t , L . However, for the M cognitive channels, a two-level power allocation scheme is adopted. That is, under the absences of the PUs, high-level powers P s t , 1 h , , P s t , M h are allocated, while under the presences of the PUs, low-level powers P s t , 1 l , , P s t , M l are allocated.
Assume π 0 , j and π 1 , j are the probabilities that the j-th cognitive channel is unused and used by the PUs and the minimum target detection probability P d 0 , j is required for the j-th channel. Then, our objective is to find the optimal sensing time and power allocation strategy to maximize the data rate while satisfying all the constraints for the CR-enabled SG communication network.

3. Proposed Method for the Interweave-Cognitive-Radio-Enabled Smart Grid Network

In the interweave-CR-enabled SG, the SG user can only access the cognitive channels when the PUs are absent. Thus, the effective transmissions over the M cognitive channels occur only if the SG user can properly detect the absences of the PUs when the PUs are really absent. Hence, the data rate of the M cognitive channels is:
R s = j = 1 M B s , j log 2 1 + P s t , j h s , j 2 σ s , j 2 π 0 , j 1 P f a 0 , j
where P f a 0 , j = 1 2 e r f c e r f c 1 ( 2 P d 0 , j ) 1 + 2 γ + γ N 2 .
The data rate should be averaged over time. According to Figure 2, the original channels and cognitive channels share one antenna so that all channels can only perform transmission processing during the transmission slot. Hence, R s becomes:
R s = T τ T j = 1 M B s , j log 2 1 + P s t , j h s , j 2 σ s , j 2 π 0 , j 1 P f a 0 , j
The data rate of the L original channels can also be obtained:
R b = T τ T i = 1 L B b , i log 2 1 + P b t , i h b , i 2 σ b , i 2
As a result, the total data rate R is:
R = R b + R s
Considering the transmission power constraint P, the problem can be formulated as:
arg min τ , P bt , P st R s . t . i = 1 L P b t , i + j = 1 M P s t , j = P 0 τ T
where P bt = [ P b t , 1 , , P b t , L ] , P st = [ P s t , 1 , , P s t , M ] . The objective function is R in (9), because finding the maximum of R is finding the minimum of R .
Taking the second derivatives of R with respect to the variables P b t , i and P s t , j , we have:
2 R P b t , i 2 = T τ B b , i h b , i 4 T ln 2 σ b , i 2 + P b t , i h b , i 2 2 0
2 R P s t , j 2 = T τ B s , j π 0 , j 1 P f a 0 , j h s , j 4 T ln 2 σ s , j 2 + P s t , j h s , j 2 2 0
As a result, R is convex with respect to P b t , i and P s t , j , but it is not convex with respect to the sensing time τ . Thus, (9) cannot be solved directly by using convex optimization methods. However, taking into account that the optimal sensing time τ is within the range of 0–T, so that it can be obtained by exhaustive search, therefore, assuming τ is fixed, by using the Lagrange multiplier method, we can obtain:
L ( P bt , P st , μ ) = ( T τ ) T i = 1 L B b , i log 2 1 + P b t , i h b , i 2 σ b , i 2 T τ T j = 1 M log 2 1 + P s t , j h s , j 2 σ s , j 2 × B s , j π 0 , j ( 1 P f a 0 , j ) + μ i = 1 L P b t , i + j = 1 M P s t , j P
Taking the first derivatives of L ( P bt , P st , μ ) with respect to P b t , i and P s t , j and then setting them to zero, we have:
L ( P bt , P st , μ ) P b t , i = μ T τ B b , i h b , i 2 T ln 2 σ b , i 2 + P b t , i h b , i 2 = 0 P b t , i = T τ B b , i μ T ln 2 σ b , i 2 h b , i 2
L ( P bt , P st , μ ) P s t , j = μ T τ B s , j π 0 , j h s , j 2 1 P f a 0 , j T ln 2 P s t , j h s , j 2 + σ s , j 2 = 0 P s t , j = T τ B s , j π 0 , j 1 P f a 0 , j μ T ln 2 σ s , j 2 h s , j 2
Taking the first derivative of L ( P bt , P st , μ ) with respect to μ and setting it to zero yields:
i = 1 L P b t , i + j = 1 M P s t , j = P
Applying (13) and (14) in (15), we can obtain:
T τ μ T ln 2 = P + i = 1 L σ b , i 2 h b , i 2 + j = 1 M σ s , j 2 h s , j 2 i = 1 L B b , i + j = 1 M B s , j π 0 , j 1 P f a 0 , j
Finally, substituting (16) into (13) and (14), the optimal power allocation scheme for a fixed τ can be obtained:
P ˜ b t , i = B b , i P + i = 1 L σ b , i 2 h b , i 2 + j = 1 M σ s , j 2 h s , j 2 i = 1 L B b , i + j = 1 M B s , j π 0 , j 1 P f a 0 , j σ b , i 2 h b , i 2 +
P ˜ s t , j = P + i = 1 L σ b , i 2 h b , i 2 + j = 1 M σ s , j 2 h s , j 2 B s , j π 0 , j 1 P f a 0 , j i = 1 L B b , i + j = 1 M B s , j π 0 , j 1 P f a 0 , j σ s , j 2 h s , j 2 +
where the symbol x + denotes max ( 0 , x ) .
Finally, we propose the optimal multiband spectrum sensing and power allocation method for interweave-CR-enabled SG in the following table (Algorithm 1).
Algorithm 1 Optimal multiband spectrum sensing and power allocation method for interweave-CR-enabled SG communication.
1:
for each τ in 0 to T do
-
According to the given target detection probability P d 0 , j ( j = 1 , . . . , M ) , compute the false alarm probability P f a 0 , j for each channel in terms of (4).
-
Compute P ˜ b t , i ( i = 1 , . . . , L ) for each original channel according to (17).
-
Compute P ˜ s t , j ( j = 1 , . . . , M ) for each cognitive channel according to (18).
-
Compute the data rate R according to (8) for the given τ .
2:
end for
3:
Find the maximum data rate R, and the optimal sensing time and power allocation are the corresponding parameters of the maximum R, that is:
τ * , P bt * , P st * = arg max τ , P bt , P st R τ , P bt , P st .

4. Proposed Method for the Underlay-Cognitive-Radio-Enabled Smart Grid Network

In the underlay-CR-enabled SG, cognitive channels owned by the PUs can be shared with the SUs under certain interference limits. When the PU of a cognitive channel is absent and the SG user can properly detect the absence of the PU, the SG user could access this channel and transmit data with a high-level power P s t , j h . In this case, the effective data rate of the M cognitive channels is:
R s 1 = j = 1 M B s , j log 2 1 + P s t , j h h s , j 2 σ s , j 2 π 0 , j 1 P f a 0 , j
When the PU of a cognitive channel is absent and the SG user cannot properly detect the absence of the PU, the SG user could access and transmit data with a low-level power P s t , j l . In this case, the effective data rate of the M cognitive channels is:
R s 2 = j = 1 M B s , j log 2 1 + P s t , j l h s , j 2 σ s , j 2 π 0 , j P f a 0 , j
When the PU of a cognitive channel is present and the SG user can properly detect the presence of the PU, the SG user could access and transmit data with power P s t , j l . In this case, the effective data rate of the M cognitive channels is:
R s 3 = j = 1 M B s , j log 2 1 + P s t , j l h s , j 2 g p s , j 2 P p u , j + σ s , j 2 π 1 , j P d 0 , j
When the PUs are present and the SG user failed to detect the presences of the PUs, then the SG user would transmit data with the high-level power P s t , j h , and unfortunately, a collision would occur. The effective data rate is zero in this case.
Therefore, for the M cognitive channels, the total averaged effective data rate in time is:
R s = T τ T j = 1 M B s , j log 2 1 + P s t , j h h s , j 2 σ s , j 2 π 0 , j 1 P f a 0 , j + j = 1 M B s , j log 2 1 + P s t , j l h s , j 2 σ s , j 2 × π 0 , j P f a 0 , j + j = 1 M B s , j log 2 1 + P s t , j l h s , j 2 g p s , j 2 P P U , j + σ s , j 2 π 1 , j P d 0 , j
For the L original channels, since they can be used without spectrum sensing, the effective data rate R b is the same as (7). As a result, the total effective data rate R is:
R = R b + R s
Since a two-level power allocation scheme is adopted, the transmission power constraint P should be statistically averaged:
P = i = 1 L P b t , i + j = 1 M P s t , j h π 0 , j 1 P f a 0 , j + P s t , j h π 1 , j 1 P d 0 , j + P s t , j l π 0 , j P f a 0 , j + P s t , j l π 1 , j P d 0 , j
Besides, the interference limit for the j-th PU receiver is:
g s p , j 2 P s t , j h π 1 , j 1 P d 0 , j + g s p , j 2 P s t , j l π 1 , j P d 0 , j Ψ j ( j = 1 , . . . , M )
Finally, the problem can be formulated as (26), where P bt = [ P b t , 1 , , P b t , L ] , P st h = [ P s t , 1 h , , P s t , M h ] , and P st l = [ P s t , 1 l , , P s t , M l ] .
arg min τ , P bt , P st h , P st l R s . t . i = 1 L P b t , i + j = 1 M P s t , j h π 0 , j 1 P f a 0 , j + P s t , j h π 1 , j 1 P d 0 , j + P s t , j l π 0 , j P f a 0 , j + P s t , j l π 1 , j P d 0 , j = P g s p , j 2 P s t , j h π 1 , j 1 P d 0 , j + g s p , j 2 P s t , j l π 1 , j P d 0 , j Ψ j ( j = 1 , . . . , M ) 0 τ T
Taking the second derivatives of R with respect to the variables P b t , i , P s t , j h and P s t , j l i = 1 , , L , j = 1 , , M the same as in Section 3, we can also have:
2 R P b t , i 2 = T τ B b , i h b , i 4 T ln 2 σ b , i 2 + P b t , i h b , i 2 2 0
2 R P s t , j h 2 = T τ B s , j π 0 , j 1 P f a 0 , j h s , j 4 T ln 2 σ s , j 2 + P s t , j h h s , j 2 2 0
2 R P s t , j l 2 = T τ B s , j π 0 , j P f a 0 , j h s , j 4 T ln 2 σ s , j 2 + P s t , j l h s , j 2 2 + T τ B s , j π 1 , j P d 0 , j h s , j 4 T ln 2 g p s , j 2 P p u , j + σ s , j 2 + P s t , j l h s , j 2 0
Hence, R is convex with respect to P b t , i , P s t , j h , and P s t , j l , but it is still not convex with respect to τ . In order to solve this problem, we still use the exhaustive search method. Assuming that τ is fixed, by using the Lagrange multiplier method, we have:
L ( P bt , P st h , P st l , μ , K ) = R + μ i = 1 L P b t , i + j = 1 M P s t , j h π 0 , j 1 P f a 0 , j + P s t , j h π 1 , j 1 P d 0 , j + P s t , j l π 0 , j P f a 0 , j + P s t , j l π 1 , j P d 0 , j P } + j = 1 M κ j × g s p , j 2 P s t , j h π 1 , j 1 P d 0 , j + g s p , j 2 P s t , j l π 1 , j P d 0 , j Ψ j
where μ and K = [ κ 1 , . . . , κ M ] are the Lagrangian multipliers.
According to the Lagrange duality theory (Chapter 5 of [20]), minimizing L ( P bt , P st h , P st l , μ , K ) is to maximize its Lagrange dual function:
g ( μ , K ) = min P bt , P st h , P st l L ( P bt , P st h , P st l , μ , K | μ , K )
where L ( P bt , P st h , P st l , μ , K | μ , K ) denotes L ( P bt , P st h , P st l ,   μ , K ) with fixed μ and K . Then, the problem becomes:
max μ , K g ( μ , K ) = max μ , K min P bt , P st h , P st l L ( P bt , P st h , P st l , μ , K μ , K )
Hence, when μ and K are fixed, by first taking the first derivatives of L ( P bt , P st h , P st l , μ , K | μ , K ) with respect to P b t , i , P s t , j h and P s t , j l and then setting them to zero, the optimal P b t , i , P s t , j h and P s t , j l can be obtained as follows:
P b t , i = T τ μ T ln 2 σ b , i 2 h b , i 2 +
P s t , j l = C 0 , j + C 0 , j 2 4 C 1 , j 2 +
P s t , j h = T τ B s , j π 0 , j 1 P f a 0 , j T ln 2 μ π 0 , j 1 P f a 0 , j + π 1 , j 1 P d 0 , j + κ j g s p , j 2 π 1 , j 1 P d 0 , j σ s , j 2 h s , j 2 +
where C 0 , j and C 1 , j are:
C 0 , j = T τ π 0 , j P f a 0 , j + π 1 , j P d 0 , j B s , j T ln 2 μ π 0 , j P f a 0 , j + π 1 , j P d 0 , j + κ j g s p , j 2 π 1 , j P d 0 , j 2 σ s , j 2 + g p s , j 2 P p u , j h s , j 2
C 1 , j = σ s , j 2 g p s , j 2 P p u , j + σ s , j 4 h s , j 4 T τ π 0 , j P f a 0 , j g p s , j 2 P p u , j + π 0 , j P f a 0 , j σ s , j 2 + π 1 , j P d 0 , j σ s , j 2 B s , j T ln 2 μ π 0 , j P f a 0 , j + π 1 , j P d 0 , j + κ j g s p , j 2 π 1 , j P d 0 , j h s , j 2
Then, in the next step, the optimal values of μ and K should be found to maximize g ( μ , K ) . However, it is difficult to obtain the analytical solutions by common mathematical manipulations. Here, the gradient descent method is used to solve this problem. According to the principles of the gradient descent method, the Lagrange multipliers μ and K can be updated as:
μ n e w = μ o l d + α g μ , K n e w = K o l d + α g K
where g μ and g K = g κ 1 , . . . , g κ M are the partial derivatives of g ( μ , K ) with respect to μ and K , which are shown as follows:
g μ = P i = 1 L P b t , i j = 1 M P s t , j h π 0 , j 1 P f a 0 , j + P s t , j h π 1 , j 1 P d 0 , j + P s t , j l π 0 , j P f a 0 , j + P s t , j l π 1 , j P d 0 , j
g κ j = Ψ j g s p , j 2 P s t , j h π 1 , j 1 P d 0 , j g s p , j 2 P s t , j l π 1 , j P d 0 , j j = 1 , . . . , M
and α is the step size and can be determined via a line search of the following approach (Chapter 9 of [20]):
α k = arg min α g μ + α g μ , κ + α g κ
In summary, the optimal multiband spectrum sensing and power allocation method for underlay-CR-enabled SG is proposed in the following table (Algorithm 2).
Algorithm 2 Optimal multiband spectrum sensing and power allocation method for underlay-CR-enabled SG communication.
1:
for each τ in 0 to T do
2:
    Initialize μ and K .
3:
    According to the given target detection probability P d 0 , j ( j = 1 , . . . , M ) , compute the false alarm probability P f a 0 , j for each channel in terms of (4).
4:
    repeat
-
Compute P b t , i ( i = 1 , . . . , L ) or each original channel according to (33).
-
Compute P s t , j l , P s t , j h ( j = 1 , . . . , M ) for each cognitive channel according to (34) and (35).
-
Update μ and K according to (38).
5:
    until  μ and K converge. Obtain the optimal P ˜ b t , i , P ˜ s t , j h , and P ˜ s t , j l , and then, calculate the data rate R according to (23) for the given τ .
6:
end for
7:
Find the maximum data rate R, and the optimal sensing time and power allocation are the corresponding parameters of the maximum R, that is:
( τ * , P bt * , P st h * , P st l * ) = arg max τ , P bt , P st h , P st l R ( τ , P bt , P st h , P st l )

5. Simulation Results

In this section, we present some simulation results to prove the validity of the proposed methods. We assumed the CR-enabled SG communication network consists of one original channel named B b , 1 with bandwidth 100 kHz and two cognitive channels named B s , 1 and B s , 2 , with equal bandwidths of 8 MHz. In many real systems, the total bandwidth is usually divided into several narrowband sub-channels, such as Global System for Mobile communication (GSM) systems with 25 MHz bandwidth and 125 sub-channels, Narrowband Internet of Things (NB-IoT) systems with 180 kHz bandwidth and 12 sub-channels, and IEEE 802.11g systems with 16.25 MHz and 52 sub-channels, so the bandwidth of a single sub-channel usually ranges from tens of kHz to hundreds of kHz, and it is reasonable to assume the bandwidth of the original channel bought from the telecommunication operator is 100 kHz here. In addition, 6–8 MHz is the typical bandwidth of Television White Spaces (TVWS) [21] for CR usage. The PUs’ signals in B s , 1 and B s , 2 are assumed to be Gaussian distributed, and the probabilities that the cognitive channels are used by PUs, which are denoted by π 1 , 1 , π 1 , 2 , are assumed to be equal. According to [22], the activities of the primary users over TVWS can be measured and modeled in advance. Therefore, π 1 , 1 and π 1 , 2 can also be measured and assumed to be known in advance. During the spectrum-sensing process, the received SNRs of the PUs at the SG user on the two cognitive channels γ 1 and γ 2 are assumed to be identical. The noise variances of B b , 1 , B s , 1 , and B s , 2 , which are denoted by σ b , 1 2 , σ s , 1 2 , and σ s , 2 2 , are 1 W. The minimum target detection probabilities for the two cognitive channels P d 0 , 1 and P d 0 , 2 are also assumed to be identical. All the channel gains were assumed to be Rayleigh distributed with variance one. In the underlay-CR-enabled SG, the PUs’ transmitted powers P p u , 1 , P p u , 2 are 1 W and the interference limits Ψ 1 , Ψ 2 are 15 W.
In Figure 5 and Figure 6, we make some comparisons between the proposed methods and the method without multiband CR technology and use “Non-MCR” to denote the data rate of the traditional method without multiband CR technology. In Figure 7 and Figure 8, we make some comparisons between the proposed methods and the method based on conventional CR network [14]. Note that, in Figure 5 and Figure 6, we assume π 1 , 1 = π 1 , 2 = 0.5 , P d 0 , 1 = P d 0 , 2 = 0.90 . Because no multiband CR technology was adopted, the SG user in such a communication network can only access the original channel B b , 1 , and its data rate can be determined by B b , 1 , σ b , 1 2 and the total transmission power constraint P. In Figure 7 and Figure 8, “conventional” denotes the method in [14] and: proposed: denotes our proposed methods. The communication network in [14] only has cognitive channels B s , 1 and B s , 2 and does not have the original channel B b , 1 . Except for the original channel, all parameters of the conventional methods were set to be the same as the proposed methods.
Figure 5 shows the curves of sensing time τ versus data rate R of the proposed methods in multiband-CR-enabled SG. We set the time frame length T = 1 s, the sampling interval T s = 0.001 s, the transmission power constraint P = 10 W, 15 W, and the received SNRs of the PUs at the SG user on the two cognitive channels γ 1 = γ 2 = 5 dB. From Figure 5, for a given time frame length T, it can been seen that the data rate varies with the sensing time τ . Hence, it is necessary to find the optimal τ to maximize the data rate R. By using the exhaustive search method, the optimal sensing time τ is around 0.2 s for both interweave- and underlay-CR-enabled SG according to Figure 5. This is because the sensing time around 0.2 s is large enough to keep the target detection probability under the given conditions. Moreover, it can be seen that the data rate in underlay CR is usually higher than the data rate in interweave CR. This is because in underlay CR, the SG user can transmit data over the two cognitive channels under the interference limits even when the PUs are present, whereas it is strictly prohibited in interweave CR. Besides, for both interweave and underlay CR, when the total transmission power constraint P is increasing, the data rate is increasing. Figure 5 also shows that the multiband-CR-based method (either interweave CR or underlay CR) is far better than the method without multiband CR technology and thus proves the superiority of the proposed method. Therefore, it is very meaningful to adopt multiband CR technology in the SG communication network.
Figure 6 depicts the curves of the received PUs’ SNR versus data rate R of the proposed methods in multiband-CR-enabled SG. We set T = 1 s, T s = 0.001 s, P = 10 W, 15 W. As mentioned before, we assumed γ 1 = γ 2 . According to Figure 6, for both interweave and underlay CR, the data rates R are increasing while γ 1 and γ 2 are increasing, and they are all superior to the non-multiband-CR-based method. This is because γ 1 and γ 2 are larger; less sensing time τ is needed to meet the target detection probability, and thus, more time can be used for transmission. However, when γ 1 and γ 2 are large enough (larger than −2 dB), the increase of R becomes slow. This is because the necessary sensing time should be guaranteed to achieve the target detection probability and cannot be decreased any more. Again, we see that the data rate in underlay CR is higher than the data rate in interweave CR, having about a 2–3 dB advantage.
Figure 7 and Figure 8 give the comparison of the received SNR versus data rate curves for interweave and underlay CR between the conventional and proposed methods, respectively. We set the cognitive channel used probabilities to 0.85, that is π 1 , 1 = π 1 , 2 = 0.85 . It can be seen from Figure 7 and Figure 8 that the proposed methods are better than the conventional methods both for interweave and underlay CR. Besides, when the received SNR increases, the advantage becomes obvious. The main reason is similar to Figure 6. When the received SNR is higher, less sensing time is needed and more transmission time can be used.
As for the computational complexity, in interweave mode, the proposed method needs about 2 L + 3 M + 3 multiplications and 2 L + 3 M additions to obtain P ˜ b t , i and about 2 L + 3 M + 5 multiplications and 2 L + 3 M + 1 additions to obtain P ˜ s t , j . Hence, the total computational complexity of the proposed method in interweave mode is about ( 2 L 2 + 3 M 2 + 5 M L + 3 L + 5 M ) τ multiplications and 2 L 2 + 3 M 2 + 5 M L + M additions. The computational complexity of the conventional method in interweave mode is about ( 3 M + 5 ) M τ multiplications and ( 3 M + 1 ) M τ additions; in underlay mode, assuming the number of iterations in one round is N T ( T = 1 , , τ ) , the proposed method needs about 8 M + 1 N T multiplications and ( L + 6 M + 1 ) N T additions to obtain μ and 7 M N T multiplications and 4 M N T additions to obtain K , then it needs about 4 L multiplications and 2 L additions to obtain P b t , i , M square root operations, 2 M multiplications, and 2 M additions to obtain P s t , j L , and 13 M multiplications and 8 M additions to obtain P s t , j h . As a result, the total computational complexity of the proposed method in underlay mode is about M τ square root operations, 4 L + 47 M τ + N T = 1 τ 15 M + 1 N T multiplications, and 2 L + 23 M τ + N T = 1 τ L + 10 M + 1 N T additions. The computational complexity of the conventional method in underlay mode is about M τ square root operations, 46 M τ + N T = 1 τ 15 M + 1 N T multiplications, and 20 M τ + N T = 1 τ 10 M + 1 N T additions. Therefore, the computational complexity of the proposed method is higher than that of the conventional method. The computational complexities of the two methods are listed in Table 1.

6. Conclusions

As part of an IoT framework, smart grid applications require effective communication links among the HANs, NANs, and WANs. In this paper, a novel multiband-CR-based SG communication network architecture was proposed. Based on this, several joint spectrum sensing and power allocation methods were further proposed. By using convex optimization techniques, the optimal parameters such as the optimal sensing time and the optimal transmission power were found to maximize the data rate of multiband-CR-enabled SG while considering the target detection probabilities to the PUs. Simulations were presented to prove the correctness and the superiority of the proposed methods compared with the conventional methods.

Author Contributions

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

Funding

This research was funded in part by the Natural Science Foundation of China under Grant No. 61871133 and in part by the Industry-Academia Collaboration Program of Fujian Universities under Grant No. 2020H6006.

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Informed consent was obtained from all subjects involved in the study.

Data Availability Statement

Not applicable.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Ghorbanian, M.; Dolatabadi, S.; 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]
  2. Cavalieri, S. Semantic interoperability between IEC 61850 and oneM2M for IoT-enabled smart grids. Sensors 2021, 21, 2571. [Google Scholar] [CrossRef]
  3. Wang, H.; Qian, Y.; Sharif, H. Multimedia communications over cognitive radio networks for smart grid applications. IEEE Wirel. Commun. 2013, 20, 125–132. [Google Scholar] [CrossRef]
  4. Hu, B.; Gharavi, H. A hybrid wired/wireless deterministic network for smart grid. IEEE Wirel. Commun. 2021, 28, 138–143. [Google Scholar] [CrossRef]
  5. Kumari, A.; Tanwar, S.; Tyagi, S.; Kumar, N.; Obaidat, M.; Rodrigues, J. Fog computing for smart grid systems in the 5G environment: Challenges and solutions. IEEE Wirel. Commun. 2021, 26, 47–53. [Google Scholar] [CrossRef]
  6. Awin, F.; Abdel-Raheem, E.; Tepe, K. Blind spectrum sensing approaches for interweaved cognitive radio system: A tutorial and short course. IEEE Commun. Surv. Tutor. 2019, 26, 238–259. [Google Scholar] [CrossRef]
  7. Yu, R.; Zhang, Y.; Gjessing, S.; Yuen, C.; Xie, S.; Guizani, M. Cognitive radio based hierarchical communications infrastructure for smart grid. IEEE Netw. 2011, 26, 6–14. [Google Scholar] [CrossRef]
  8. Alam, S.; Sohail, M.; Ghaurib, S.; Qureshib, I.; Aqdasb, N. Cognitive radio based smart grid communication network. Renew. Sust. Energ. Rev. 2017, 72, 535–548. [Google Scholar] [CrossRef]
  9. Deng, R.; Chen, J.; Cao, X.; Zhang, Y.; Maharjan, S.; Gjessing, S. Sensing-performance tradeoff in cognitive radio enabled smart grid. IEEE Trans. Smart Grid 2013, 4, 302–310. [Google Scholar] [CrossRef]
  10. Li, Q.; Feng, Z.; Gulliver, T.; Ping, Z. Joint spatial and temporal spectrum sharing for demand response management in cognitive radio enabled smart grid. IEEE Trans. Smart Grid 2014, 5, 1993–2001. [Google Scholar] [CrossRef]
  11. Hattab, G.; Ibnkahla, M. Multiband spectrum access: Great promises for future cognitive radio networks. Proc. IEEE 2014, 102, 282–306. [Google Scholar] [CrossRef] [Green Version]
  12. Quan, Z.; Cui, S.; Sayed, A.; Poor, H. Optimal multiband joint detection for spectrum sensing in cognitive radio networks. IEEE Trans. Signal Process. 2009, 57, 1128–1140. [Google Scholar] [CrossRef] [Green Version]
  13. Stotas, S.; Nallanathan, A. Optimal sensing time and power allocation in multiband cognitive radio networks. IEEE Trans. Commun. 2011, 59, 226–235. [Google Scholar] [CrossRef]
  14. Ejaz, W.; Ibnkahla, M. Multiband spectrum sensing and resource allocation for IoT in cognitive 5G networks. IEEE Internet Things J. 2018, 5, 150–163. [Google Scholar] [CrossRef]
  15. Molina-Tenorio, Y.; Prieto-Guerrero, A.; Aguilar-Gonzalez, R. Real-time implementation of multiband spectrum sensing using SDR technology. Sensors 2021, 21, 3506. [Google Scholar] [CrossRef] [PubMed]
  16. Liu, X.; Sun, C.; Zhou, M.; Wu, C.; Peng, B.; Li, P. Reinforcement learning-based multislot double-threshold spectrum sensing with bayesian fusion for industrial big spectrum data. IEEE Trans. Industr. Inform. 2021, 17, 3391–3400. [Google Scholar] [CrossRef]
  17. Molokomme, D.; Chabalala, C.; Bokoro, P. A review of cognitive radio smart grid communication infrastructure systems. Energies 2020, 13, 3245. [Google Scholar] [CrossRef]
  18. Sharma, S.; Chatzinotas, S.; Ottersten, B. SNR estimation for multi-dimensional cognitive receiver under correlated channel/noise. IEEE Trans. Wirel. Commun. 2013, 12, 6392–6405. [Google Scholar] [CrossRef] [Green Version]
  19. Wang, J.; Li, B.; Liu, M.; Li, J. SNR estimation of time-frequency overlapped signals for underlay cognitive radio. IEEE Commun. Lett. 2015, 19, 1925–1928. [Google Scholar] [CrossRef]
  20. Boyd, S.; Vandenberghe, L. Convex Optimization; Cambridge University Press: Cambridge, UK, 2004. [Google Scholar]
  21. Alonso, R.; Plets, D.; Deruyck, M.; Martens, L.; Nieto, G.; Joseph, W. TV white space and LTE network optimization toward energy efficiency in suburban and rural scenarios. IEEE Trans. Broadcast. 2018, 64, 164–171. [Google Scholar] [CrossRef]
  22. Sengottuvelan, S.; Ansari, J.; Mahonen, P.; Venkatesh, T.; Petrova, M. Channel selection algorithm for cognitive radio networks with heavy-tailed idle times. IEEE Trans. Mob. Comput. 2017, 16, 1258–1271. [Google Scholar] [CrossRef] [Green Version]
Figure 1. Architecture of the CR-enabled SG communication network.
Figure 1. Architecture of the CR-enabled SG communication network.
Sensors 21 08384 g001
Figure 2. Block diagram of the multiband SG user’s receiver.
Figure 2. Block diagram of the multiband SG user’s receiver.
Sensors 21 08384 g002
Figure 3. Frame structure.
Figure 3. Frame structure.
Sensors 21 08384 g003
Figure 4. System model.
Figure 4. System model.
Sensors 21 08384 g004
Figure 5. Sensing time versus data rate of the proposed methods in multiband-CR-enabled SG.
Figure 5. Sensing time versus data rate of the proposed methods in multiband-CR-enabled SG.
Sensors 21 08384 g005
Figure 6. Received SNR versus data rate of the proposed methods in multiband-CR-enabled SG.
Figure 6. Received SNR versus data rate of the proposed methods in multiband-CR-enabled SG.
Sensors 21 08384 g006
Figure 7. Comparison of the received SNR versus data rate curves between the proposed and conventional methods for interweave CR.
Figure 7. Comparison of the received SNR versus data rate curves between the proposed and conventional methods for interweave CR.
Sensors 21 08384 g007
Figure 8. Comparison of the received SNR versus data rate curves between the proposed and conventional methods for underlay CR.
Figure 8. Comparison of the received SNR versus data rate curves between the proposed and conventional methods for underlay CR.
Sensors 21 08384 g008
Table 1. Comparison of the computational complexities.
Table 1. Comparison of the computational complexities.
OperationsMultiplicationsAdditionsSquare Roots
Methods
Proposed, Interweave ( 2 L 2 + 3 M 2 + 5 M L + 3 L + 5 M ) τ 2 L 2 + 3 M 2 + 5 M L + M 0
Conventional, Interweave ( 3 M + 5 ) M τ ( 3 M + 1 ) M τ 0
Proposed, Underlay 4 L + 47 M τ + N T = 1 τ 15 M + 1 N T 2 L + 23 M τ + N T = 1 τ L + 10 M + 1 N T M τ
Conventional, Underlay 46 M τ + N T = 1 τ 15 M + 1 N T 20 M τ + N T = 1 τ 10 M + 1 N T M τ
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Share and Cite

MDPI and ACS Style

Wang, J.; Jiang, W.; Wang, H.; Huang, Y.; Chen, R.; Lin, R. Multiband Spectrum Sensing and Power Allocation for aCognitive Radio-Enabled Smart Grid. Sensors 2021, 21, 8384. https://doi.org/10.3390/s21248384

AMA Style

Wang J, Jiang W, Wang H, Huang Y, Chen R, Lin R. Multiband Spectrum Sensing and Power Allocation for aCognitive Radio-Enabled Smart Grid. Sensors. 2021; 21(24):8384. https://doi.org/10.3390/s21248384

Chicago/Turabian Style

Wang, Jun, Weibin Jiang, Hongjun Wang, Yanwei Huang, Riqing Chen, and Ruiquan Lin. 2021. "Multiband Spectrum Sensing and Power Allocation for aCognitive Radio-Enabled Smart Grid" Sensors 21, no. 24: 8384. https://doi.org/10.3390/s21248384

APA Style

Wang, J., Jiang, W., Wang, H., Huang, Y., Chen, R., & Lin, R. (2021). Multiband Spectrum Sensing and Power Allocation for aCognitive Radio-Enabled Smart Grid. Sensors, 21(24), 8384. https://doi.org/10.3390/s21248384

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