Abstract

In this paper, we investigate an energy harvesting scheme in a smart grid based on the cognitive relay protocol, where a primary transmitter scavenges energy from the nature sources and then employs the harvested energy to forward the primary signal. Depending on the intensity of the energy harvesting from nature, a secondary user dynamically acts as a relay node to assist the primary transmission or does not. When the energy is not enough powerful to support the direct transmission between two primary users, the secondary users share the spectrum by assisting the primary transmission. For the relaying scheme, both amplify-and-forward (AF) and decode-and-forward (DF) protocols are investigated. We analytically obtain the exact transmission rates for both primary and secondary networks and derive the exact expressions of the system outage probabilities for both primary and secondary users in the smart grid. Moreover, we develop the analytically optimal bandwidth allocation strategy to maximize the total sum rate of the proposed scheme. Numerical results are presented to demonstrate the performance gain of the proposed scheme over the nonoptimal scheme.

1. Introduction

Spectral efficiency has attracted much attention in wireless smart grid communications networks due to the increasing demands of wireless services [1]. It has been demonstrated that cognitive radio is a promising way to improve the efficiency of the radio spectrum by allowing spectrum sharing [24]. On the contrary, energy efficiency is another aspect worth considering in wireless smart grid systems [57]. In order to lower carbon emissions, reducing energy consumption from wireless systems has become more and more important. As a result, combining energy harvesting technology with cognitive radio networks offers a new opportunity to improve both spectral and energy efficiency for the smart grid [8].

In smart grid, harvesting energy from nature such as solar, radio frequency, or wind provides a new free source of energy for the wireless nodes. With nature energy harvesting technique, wireless devices can utilize the free renewable energy sources to improve the energy efficiency [9]. In the field of cognitive networks, the energy harvesting has been developed in [1014]. In [10], the authors investigated the relationship between the optimal sensing threshold and sensing duration in order to maximize the average throughput of the secondary network in a cognitive radio. Park and Hong [11] applied energy harvesting to the cognitive radio network in which the secondary transmitter harvests energy from ambient sources. The theoretical upper bound on the maximum achievable throughput of secondary transmitter was derived, which is a function of the temporal correlation of the primary traffic and the energy arrival rate. In [12], a cognitive radio system was considered. Specifically, an energy harvesting secondary user attempts to access the primary channel randomly. The impact of the multipacket reception capability, the primary queueing delay constraints, and the energy queue arrivals on the maximum secondary throughput was investigated. Park and Hong [13] provided an optimal spectrum sensing policy for an energy harvesting cognitive radio which is in purpose of maximizing the expected total throughput. Besides, an approximate solution to the optimal detection threshold was also presented. Similar researches include two-way channel [15], two-user MIMO interference channels [16], and cognitive radio systems [1723].

In this paper, considering the massive potential of harvesting energy from nature resources, we adopt this technique to cognitive radio network where we assume the primary user lacks of energy and thus harvests energy from the nature resources. Due to the fluctuation of energy harvesting from nature sources, we model and propose an energy harvesting and relaying protocol with dynamic bandwidth allocation in cognitive relay networks. The protocol enables a secondary user dynamically sharing the primary spectrum by assisting the primary transmission if the direction transmission between two primary users cannot be effectively realized. In particular, the energy harvesting primary user first scavenges energy from ambient sources and then decides to cooperate with the secondary network or transmit information directly to its destination based on the intensity of the harvesting energy. If the direct transmission data rate meets the basic threshold requirement, the direct transmission between two primary users occurs and some bandwidth is allocated to the secondary network. If the direct transmission data rate is below the threshold, the secondary user acts as the relay to assist the primary transmission and the secondary network can share some bandwidth for its own transmission in return. We first derive the analytical expressions of the data rates for the primary and secondary networks. Accordingly, the system outage probabilities for PD and SD are then derived for different transmission schemes. In order to maximize the sum data rate, the optimal bandwidth allocation strategies are analyzed and proposed. Furthermore, the correspondingly analytical policies are derived to solve the optimization problems. Finally, numerical results provide us with the valuable insights into the performance under various system parameters, i.e., the energy arrival rate and the location of the relay.

An outline of the remainder of the paper is as follows. Section 2 describes the system model for the smart grid with the cooperative of cognitive radio technology and discusses the transmission protocol. Section 3 derives the system outage probabilities for PD and SD. Section 4 formulates the optimal bandwidth allocation for maximizing the sum rate and obtains the optimal allocation policy. The numerical results are presented in Section 5, and the conclusions are drawn in Section 6.

2. System Model and Protocol Description

In this section, we begin by describing the smart grid system with the cognitive relay model based on energy harvesting.

2.1. System Model

We consider a cognitive network which is composed of four nodes, as shown in Figure 1. Let us denote the primary source node as “PS,” the primary destination node as “PD,” the secondary source node as “SS,” and the secondary destination node as “SD.” The PS is capable of harvesting energy from nature resources and has a rechargeable battery which is modeled as a queue. is the amount of Joules per energy packet. We assume that PS has an infinite length buffer to store the arrived energy packets which is a reasonable assumption if the packet length is very small compared with the buffer’s size [21].

We suppose that the secondary user SS has a constant power supply, i.e., P, while there is no fixed energy provided for the primary node PS, and it thus requires harvesting energy from the nature resources. We adopt a Rayleigh flat fading channel model, and assume that the channel gains remain constant over the duration of a time slot, T. Besides, the channel state information (CSI) is perfect known by the transmitting terminals PS and SS (we can use a short CSI training phase prior to the transmission to obtain the CSI. For example, PD and SD can estimate the channel gains based on the pilot transmitted from PS and SS in a predetermined sequence and then broadcast their corresponding channel gains to PS and SS. This short CSI training phase overhead is reasonably negligible in an assumed quasi-static fading channel). Let , , , and be the channel coefficient between PS and SS, SS and PD, PS and PD, and SS and SD, respectively. We thus have for . The joint instantaneous channel coefficient is denoted by . We also assume that is the additive white Gaussian (AWGN) noise with power per unit frequency. The spectrum licensed to the primary network is denoted as .

The time slot T is divided into small intervals, which has a length of δ. We then have mini slots. Besides, the probability of receiving one energy packet within a mini slot is assumed to be p. Therefore, the number of harvested nature energy packets during one time slot T meets Bernoulli distribution with parameters n and p. If n is large enough and p is small enough, the number of harvested nature energy packets within one time slot T can be approximated as Poisson distribution with a parameter , where is the energy arrival rate. The probability of harvesting i packets from nature resources within one time slot T is expressed as follows:

Accordingly, the mean transmitted power can be expressed as

2.2. Energy Harvesting and Relaying Protocol

Because of the nature fluctuation, PS sometimes harvests high energy, and sometimes, it harvests low energy from the nature sources. Accordingly, we propose the following energy harvesting and relaying protocol:(i)When the harvesting energy is powerful enough to support the direct transmission between two primary nodes, the primary network operates in the direct transmission mode and spectrum will be allocated to the primary network while the rest to the secondary network. Therefore, the transmission consists of only one phase which lasts for one slot time T.(ii)If the data rate of the direct transmission between two primary nodes cannot meet the threshold requirement, the secondary node SS acts as the relay to assist the primary transmission. As return, the primary network allocates some bandwidth to the secondary network for its own transmission and the rest bandwidth for the primary transmission. Here, we assume that SS always has data to transmit. In this scenario, the transmission operates in two phases. During the first phase, PS exploits all the harvested energy to transmit the information to SS. During the second phase, SS forwards the received signals along with the information intended for SD based on the AF or DF scheme. In this paper, we assume that each phase is .

2.2.1. AF Scheme

At the beginning of each time slot, PS ascertains the availability of direct transmission between two primary users, and the test function is given aswhere follows the fact that the unit of power is watt, but the unit of is watt per unit frequency.

If R exceeds the primary data rate threshold , then spectrum is allocated to the primary network and PS sends its information to PD without the assistance of SS. In this scenario, the secondary network has spectrum for its transmission, where . Therefore, the data rate for primary and secondary network is given by

If R is below , SS acts as the relay to assist the primary transmission. Bandwidth is allocated to the primary network, while rest bandwidth is allocated to the secondary network. During the first phase, the primary node PS sends its information to the relay SS. The received signal of SS in frequency band can thus be formulated aswhere is the unit-power signal intended for PD. denotes the narrow-band AWGN introduced by the antenna at SS [22]. The coefficient 2 is due to the fact that the time duration of each phase is .

During the second phase, SS uses half of its power to broadcast the received primary signals and employs the rest power to transfer signals intended for SD. The information transmitted in frequency band is given bywhere denotes AWGN introduced by the signal conversion from passband to baseband at SS, and the coefficient 1/2 is account of the half power allocated to the primary transmission. The power normalization factor β of the relay SS iswhere the approximation is tight at high SNR.

The corresponding received signal at primary user PD in frequency band can be expressed aswhere denotes the AWGN at PD.

Accordingly, we the data rates for PD and SD, respectively, as follows:

In fact, the noise introduced by the received antenna is much smaller than that of the baseband noise power. Without loss of generality, we assume the antenna noise power to be zero [23], i.e., . Consequently, we have . As a result, we rewrite the data rate of PD as follows:

2.2.2. DF Scheme

If R meets need of the primary rate threshold , the data rate for the primary and secondary network are given byrespectively.

If R is below the primary rate threshold, the transmission mechanism is the same with the AF scheme. The data rate achieved at PD and SD can be given bywhere denotes the rate from PS to SS in the first phase and denotes the rate from SS to PD in the second phase.

3. System Outage Probability Analysis

In this section, we investigate the system outage performance in Rayleigh fading environments. If the transmission rates of PD or SD is lower than the given target rate, the system occurs an outage event. Therefore, we have the following proposition for the primary user PD.

Proposition 1. Let , , and . Given a target rate , the system outage probability for the primary user PD with the AF scheme can be expressed asAnd for the DF scheme, we have

Proof. Accordingly, we have the outage probability
Let and , where the corresponding probability density function (PDF) can be presented asTherefore, we have

Based on (17) and (20), we can easily to obtain the proposition.

Similarly, the system outage probability for the secondary user SD is given by the following proposition.

Proposition 2. For both the AF and DF scheme, the system outage probability for the secondary user SD is

Proof. Similar to the proof of Proposition 1, we can have this proposition.

4. Optimization Problem: Sum Data Rate

In this section, we attempt to maximize the sum rate of the whole system for both the AF and DF scheme. However, this depends on the value of R. If R exceeds the data threshold, then the exact value is given by (4) and (12). If R is below the threshold, the primary network will allocate some bandwidth to the secondary network for its own transmission. The data rate in (10), (11), (13), and (14) depends on bandwidth distribution.

4.1. AF Scheme

The Optimization Problem 1 (OP1) for the AF scheme can be formulated aswhere we use and to replace and since and are in dynamic adjustment in correspondence with the instantaneous channel coefficients and energy arrival rate.

In order to simplify the expression of and , we rewrite as follows:where , , and are given in Table 1.(1): first, we do not consider the restricted condition of . Then, we use to represent the data rate of each network user, where is a concave and increasing function of and is a constant, i.e., , . The first part of (23) resembles the classical water-filling power distribution problem [24]. As a result, we obtain the requirement for the optimal solution of the problem, denoted by :and we havewhere the function is monotonically increasing. From (24), we obtain thatas . Furthermore, from (26), we have the optimal solution for bandwidth allocation:where, we take the restricted condition of into consideration. must exceed the threshold , so we suppose that is the solution to . Since is increasing in , the optimal must exceed . As a result, we obtain the optimal bandwidth for the primary network:(2): similar to the situation of , we have the optimal bandwidth for the primary network:where is the solution to .

4.2. DF Scheme

The Optimization Problem 2 (OP2) for the DF scheme can be formulated as

For the sake of simplicity, we rewrite as follows:wherewhere and are given in Table 1.(1): similar to the AF scheme, we obtain the optimal bandwidth allocation policy for the primary network user:where is the solution to .(2): the optimal bandwidth allocation solution is the same as the AF scheme:where is the solution to .

5. Numerical Results

In this section, we present some numerical results to verify the effectiveness of the proposed protocol and the analytical optimization solutions. Besides, the derived analytical results are employed to provide insights into the different parameter’s impact on the whole system. In the simulation, the distance between PS and PD is normalized. Let , , , and denote the distance between PS and SS, SS and PD, PS and PD, and SS and SD, respectively. Considering the large-scale fluctuation, we have , , , and for , , , and , respectively. The parameters used to generate the figure are , , , , and .

In Figure 2, the analytical results for system outage probability are evaluated. For either PD and SD, the analytical expressions are given in (15), (16), and (21). We observe that the system outage probability of PD with the AF scheme is very close to that of the DF scheme. Also, we find that SD can achieve a better outage probability than PD.

In Figure 3, the analytically results for optimized sum rates of the AF and DF scheme are examined and verified through simulation under different distance . For either AF or DF scheme, the analytical optimization solutions are given in (28), (29), (34), and (36). To test the optimized results, we present one pair of AF and DF results with fixed bandwidth allocation, i.e., . We notice from Figure 3 that the optimized sum data rates achieve evident improvement compared with fixed bandwidth allocation. For the AF scheme, the sum rate first increases with increase of and then decreases with increase of , and it achieves maximum when . While for the DF scheme, the situation is inverse. This can be explained as following: for the AF scheme, the harvested energy of PS is impotent compared with SS’s transmitted power. As a result, the SS’s power become dominating which generates the situation where the distance between SS and PD has a vital influence on the sum rate. When increases, the distance between SS and PD decreases, which leads to less path loss and more sum rate. When is too large, PS and SS cannot communicate effectively which leads to reduction of the sum data rate. For the DF sheme, the PS’s power is dominating and the distance between PS and SS has a major influence on the sum rate. Therefore, with increase of , the pass loss between PS and SS increases which results in less sum rate. Moreover, when is below approximate 0.5, DF scheme outperforms the AF scheme. The situation is opposite when exceeds 0.5.

In Figure 4, we present numerical examples of sum data rates under different energy arrival rates. Compared with fixed , the optimized results are extremely improved. Besides, Figure 4 shows that the sum data rates of the AF and DF scheme increase as the energy arrival rate increases. This is due to the fact that large energy arrival rate leads to more energy allocated to data transmission which increases the sum data rates. Furthermore, compared with direct transmission, we find that the proposed protocol can achieve a better transmission data rate of the primary user. Figure 5 depicts the impact of P on the performance of sum data rates. We firstly observe that the optimized results are conspicuously enhanced. Besides, Figure 5 illustrates that, with increase of P, the sum rate for either case increases, which can be interpreted by its physical meaning. Larger P means that more power is employed to assist the primary and secondary transmission which boosts the sum data rate. Moreover, the DF scheme outperforms the AF scheme which is on account of specific .

In Figure 6, we evaluate the impact of on the optimal . It is interesting to note that decreases when increases. This is because when is small, more bandwidth is allocated to the primary network in order to meet the threshold requirement, thus resulting in large . We also note that when increases, the difference of between AF and DF scheme shrinks. This can be explained as follows: when is large, more energy is harvested to assist the primary transmission, which tends to do direct transmission. As result, the gap between AF and DF decreases. Besides, when is large enough, the curve of the DF scheme changes smoothly. This is due to the fact that, for large , the primary data rate is more likely determined by the rate between SS and PD, which is a constant value. Therefore, varies slowly when increases in the large range of values. Moreover, compared with the DF scheme, is larger under the AF scheme. This is because for the AF scheme, the secondary signals interfere with the primary transmission which leads more bandwidth distributed to the primary network so as to meet the threshold requirement. Furthermore, for each scheme, under is larger than the situation under . This is on account of the reason that larger means more threshold requirement for the primary transmission which leads to more bandwidth allocated to the primary network.

6. Conclusion

In this paper, we have investigated an energy harvesting and relaying protocol in the smart grid with cognitive relay networks. The proposed protocol enables the secondary network opportunistically share the spectrum licensed to the primary network by assisting the primary transmission if the direct transmission between two primary users cannot meet the threshold requirement. The exact expressions of data rate for both primary and secondary networks are derived under different relaying schemes, namely, AF and DF schemes. We then derive the system outage probability of PD and SD for both two transmission schemes. Furthermore, in order to improve the performance of whole system, we formulate optimization problems which are in purpose of achieving the maximum sum data rates. For each scheme, we derive the correspondingly analytical solution. Subsequently, the numerical results verify the accuracy of theoretical derivations. Besides, simulation results demonstrate that the proposed spectrum sharing with energy harvesting in this protocol can achieve better transmission rate compared with the direct transmission. Finally, the numerical results provide us with valuable insights into the influence of various system parameters on the system performance.

Data Availability

The numerical results are directly calculated from the mathematical derivations we provide in this paper. All data are reliable and valid.

Disclosure

The work was partly presented in IEEE/CIC ICCC 2016 [25].

Conflicts of Interest

The authors declare that there are no conflicts of interest regarding the publication of this paper.

Acknowledgments

This work was supported by State Grid Shanghai Municipal Electric Power Company (Grant: 52094014001V).