Next Article in Journal
Day-Ahead Market Modeling for Strategic Wind Power Producers under Robust Market Clearing
Next Article in Special Issue
The Potential of Smart Technologies and Micro-Generation in UK SMEs
Previous Article in Journal
Energy-Based Design of Powertrain for a Re-Engineered Post-Transmission Hybrid Electric Vehicle
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Optimal Power Allocation for a Relaying-Based Cognitive Radio Network in a Smart Grid

1
School of Electrical Engineering, Yanshan University, Qinhuangdao 066004, China
2
Key Laboratory of System Control and Information Processing, Ministry of Education, Department of Automation, Shanghai Jiao Tong University, Shanghai 200240, China
*
Author to whom correspondence should be addressed.
Energies 2017, 10(7), 909; https://doi.org/10.3390/en10070909
Submission received: 28 April 2017 / Revised: 7 June 2017 / Accepted: 28 June 2017 / Published: 3 July 2017
(This article belongs to the Special Issue From Smart Metering to Demand Side Management)

Abstract

:
This paper obtains optimal power allocation to the data aggregator units (DAUs) and relays for cognitive wireless networks in a smart grid (SG). Firstly, the mutual interference between the primary user and the DAU are considered, and the expressions of the DAU transmission signal are derived based on the sensing information. Secondly, we use the particle swarm optimization (PSO) algorithm to search for the optimal power allocation to minimize the costs to the utility company. Finally, the impact of the sensing information on the network performance is studied. Then two special cases (namely, that only one relay is selected, and that the channel is not occupied by the primary user) are discussed. Simulation results demonstrate that the optimal power allocation and the sensing information of the relays can reduce the costs to the utility company for cognitive wireless networks in a smart grid.

1. Introduction

Smart grid (SG) is the modernization of generation, transmission, and distribution of a power grid system with the integration of advanced information and communication technologies (ICTs). The decentralized nature enables the integration of renewable energy resources and promises a two-way communications between consumers and utility company, which will improve the efficiency of utility company programs such as demand response, customer participation, and advanced smart metering [1]. In a smart grid, regulation is a type of ancillary service which continuously balance supply with demand in electricity markets under normal conditions [2]. Generally, the regulation service can be provided by on-line generation units that are equipped with the automatic generation control (AGC). In ancillary service markets, the utility company purchases the AGC service according to the errors between the generation and the load. Thus, the electricity costs to the utility company are increased with the errors between supply and demand. It was demonstrated that the errors can be reduced by the demand-side regulation [3,4], which is dependent on the two-way communications between the utility company and the consumers.
Cognitive radio (CR) [5] is widely recognised as a dynamic spectrum access technique, which enables unlicensed users to share the spectrum with licensed users [6,7]. The author [8] investigated how CR can be utilized to serve a smart grid deployment, from a home area network to power generation. It is recognized as a promising technology to address the communication and networking problems in the smart grid [9]. Under the background of the smart grid [10], the two-way communications [11] can be implemented by the advanced metering infrastructure (AMI), which includes cognitive home area networks, cognitive neighborhood area networks, and cognitive wide area networks. Moreover, several advanced communication technologies have been applied to demand response in a smart grid [12,13,14,15,16]. In Reference [12], the authors propose two different architectures for CR communications systems based on the IEEE 802.22 standard to accommodate the current and future needs of SG communications. Cognitive radio-enabled smart grid was presented for demand response to reduce the communication outage [13]. The book [17] provided readers with the most extensive coverage of technologies for 5G wireless systems to date. A cooperative spectrum sharing strategy based on the Nash bargaining solution for cooperative cognitive systems and a power allocation technique with improved energy efficiency for MIMO-OFDM based CR with tolerable degradation at system capacity was proposed in References [18] and [19], respectively. The authors considered the problem of resource allocation in a two-way relay network [20]. In Reference [21], the authors studied the resource allocation algorithm for CR secondary networks with simultaneous wireless power transfer and secure communication based on a multiobjective optimization framework. The differences of the proposed work with the above literature are shown in Table 1.
Recently, cooperative relaying has been proposed for communications in a smart grid. The basic idea of cooperative relay is to use relays to help mobile users to transmit to the destination, in order to combat the impact of fading [14] and improve the spectral efficiency [15] for smart grid communications. In Reference [16], D. Niyato et al. proposed a cooperative relay-based meter data collection networks in a smart grid, in order to reduce the electricity costs. The authors developed a scheme that optimized the user assignment and power allocation optimization in CR networks [22]. The secondary user power allocation problem in cognitive radio networks with uncertain knowledge of interference information was studied in Reference [23]. The authors in Reference [24] investigated the energy efficient power allocation for orthogonal frequency division multiplexing based cognitive radio networks (CRNs) in the underlay mode.
Particle swarm optimization (PSO) is a population based stochastic optimization algorithm which was originally introduced by Kennedy and Eberhart [25,26]. PSO has been extended to many application areas such as function optimization [27], artificial neural network training [28,29,30], fuzzy system control [31,32,33,34], power system [35,36] and image processing [37]. This algorithm is motivated by the emergent motion of the foraging behavior of a flock of birds. PSO consists of a swarm of particles. Each particle represents a potential solution, which is a point in the multi-dimensional search space. The global optimum of PSO is regarded as the location of food. Each particle has a fitness value and a velocity to adjust its flying direction according to the experiences of the particle itself and its neighbors. PSO is simple in implementation and has good convergence properties when compared to evolutionary algorithms [38]. The advantages of PSO have caused it to become one of the most popular optimization techniques.
To the best of our knowledge, the combination of the relaying and CR in a smart grid has not been considered in the literature. In this paper, we propose to use both relaying and CR in smart grid communications, in order to reduce the packets loss and improve the spectrum utilization simultaneously. We consider the cognitive wireless network in a smart grid and focus on how to reduce the packets loss in the downlink transmission and improve the quality of communication, and then minimize the costs to the utility company. The main contributions of this paper are as follows:
  • This paper converts the sensing errors into the channel available confidence and introduce the average interference constraint to the cognitive wireless networks in a smart grid.
  • We establish a cost model based on the statistical analysis with the regulation errors of a direct load control method for cognitive wireless networks in a smart grid. Specifically, the power allocation problem based on the sensing error information was formulated as a nonlinear optimization problem. Then we use the PSO algorithm to search for the optimum.
  • We demonstrate that the sensing information in power allocation can reduce the costs to the utility company for cognitive wireless networks in a smart grid.
The rest of the paper is organized as follows. In Section 2, we describe the cognitive wireless network model and the cost model to the utility company in a smart grid. The power allocation problem is formulated as a multi-variable optimization problem and PSO algorithm is employed to seek the optimal solution in Section 3. Simulation results are shown in Section 4. Finally, we draw conclusions in Section 5.

2. Cognitive Wireless Network Model in a Smart Grid

Consider a downlink cellular cognitive wireless network, which includes the primary network and cognitive radio network, as shown in Figure 1. The cognitive radio network is implemented by two-way communications between the utility company and the consumers. The DAU that is deployed by the utility company collects the temperature settings from the consumers and forwards them to the utility company in the uplink transmission. Meanwhile, the DAU receives the control commands from the utility company and forwards them through the relays to the consumers in the downlink transmission. In the primary network, the primary transmitter (PT) transmits to the primary receiver (PR). Assume that the PT transmits to the PR with a fixed power, and the DAU uses the vacant channel to transmit information according to the sensing information.

2.1. Cognitive Wireless Network

The DAU accesses to the channels of the primary user by spectrum sensing. The available channel of the primary user is divided into k carriers, and the existing probability of the primary user in each carrier is p q . We use the binary variables to represent the activity of the primary user on the carrier k . We denote C k = 1 when the primary user is active on the carrier k and C k = 0 when the primary user is inactive. C ^ k is the sensing results of the DAU on carrier k. We denote C ^ k = 0 when the carrier is occupied by the primary user and C ^ k = 1 otherwise. In practice, the sensing results of the DAU are not accurate, which causes false alarm and mis-detection. The false alarm denotes the carrier that is actually vacant when the DAU believes that the primary user occupies the carrier due to sensing errors. The mis-detection denotes the carrier that is actually occupied by the primary user but refers to the case when DAU believes that the carrier is vacant. We denote the false alarm probability is p f and the mis-detection probability is 1 - p d . When the mis-detection happens, the cognitive network communication can produce interference to the PR, and the instantaneous interference can be expressed as
I sp = P sr | H sr , p | ( 1 - C k ) ,
where P sr is the transmission power of the DAU transmitter or relays and H sr , p is the channel gain from the DAU transmitter or relays to the PR. We need to ensure that the average interference of the primary user is lower than the interference temperature threshold when the DAU occupies the communication channel of the primary user [39,40,41], i.e.,
I ¯ sp = E C k | C ^ k [ P sr | H sr , p | ( 1 - C k ) ] = P sr δ sr , p 2 ( 1 - E [ C k | C ^ k ] ) I 0 ,
where I 0 denotes the interference temperature threshold of the primary user. The instantaneous interference from the primary user to the gateway or relay is described as follows:
I pd = P p | H p , dm | ( 1 - C k ) ,
where P p is the transmission power of the primary user, H p , dm is the channel gain from the PT to the DAU receiver or relay. The corresponding average interference can be expressed as
I ¯ pd = E C k | C ^ k [ P p | H p , dm | ( 1 - C k ) ] = P sr δ p , dm 2 ( 1 - E [ C k | C ^ k , dm ] )

2.2. Packets Loss Model

We consider a communication model as shown in Figure 1, where the transmission strategy is the cooperative relaying. Without loss of generality, we only consider the packets loss in the downlink transmission and formulate the packets loss rate as
P r = ( T - R ) g T ,
where T denotes the arriving rates of the DAU, R is the receiving rate of the gateway, and g is the correct transmission ratio from the gateways to the consumers.

2.3. Transmission Formulation of The Network

We assume that the PT can adjust the transmission power according to its own throughput requirements. Moreover, the utility company is restricted to the average interference temperature of primary user and improve the transmission quality as far as possible, in order to reduce the packets loss and the costs. Under the condition of the mutual interference, the DAU and the relays constitute a virtual antenna array through collaboration, and the relays terminal and DAU receiver will introduce two beamforming weights. In addition, the weight of the relays terminal can eliminate or reduce the interference from other networks, and the DAU is able to obtain a higher Signal to Noise (SNR). Next, we utilize the channel confidence levels to denote the degree of the available channel. We assume that the DAU scans all the channels of the primary user and the results are sent to the DAU transmitter. The channel confidence level is formulated by the following conditional probability:
γ k = E [ C m | | C ^ k | ] = P r [ C m = 1 | C ^ k ] = ( 1 - p q ) P r [ | C ^ k | = 1 ] ( 1 - p q ) P r [ | C ^ k | | C k = 1 ] + p q P r [ | C ^ k | | C k = 0 ] ,
where γ k [ 0 , 1 ] , and | C ^ k | denotes the number of C ^ k = 1 in the sensing results. For cognitive wireless networks in a smart grid, the communication is composed of two scheduled time slots: within the first time slot, the relay receives the information from the DAU and the interference from the PT simultaneously. x s and x p are the information generated from the DAU transmitter and the PT, respectively. The received signal [42,43,44] at the relay is denoted by y s , m ,
y s , m = P s h s , m x s + ( 1 - C k ) P p g m x p + η s , m ,
where P s and P p are the transmission power of the DAU transmitter and the PT, respectively. h s , m and g m are the channel-to-noise ratio from the DAU transmitter and the PT to the relay, respectively. η s , m  denotes the zero-mean circular symmetric complex Gaussian noise at the DAU transmitter and the relays. In Equation (7), the received signal at the relays consists of three parts. The first part is the information that the relays receive from the DAU transmitter. The second part is the interference that the relays receive from the primary user. The third part is the background noise. The relays receive average information from the DAU sender as follows:
y ¯ s , m = E C k | C k ^ ( P s h s , m x s + ( 1 - C k ) P p g m x p + η s , m ) = P s h s , m x s + ( 1 - E C k | C k ^ ) P p g m x p + η s , m = P s h s , m x s + ( 1 - γ k ) P p g m x p + η s , m ,
In the second time slot, we employ the amplify-and-forward (AF) [45] relay strategy for the cognitive wireless network in a smart grid. The relay receives the information that the DAU transmitter retransmits to the PR. By introducing the beamforming weight vector w m , the retransmission signal can be represented as
x m , d = w m y ¯ s , m | y ¯ s , m = w m y ¯ s , m P s h s , m + ( 1 - γ k ) 2 P p g m + N s , m ,
In the DAU receiver, by introducing the beamforming weights w d [46], the received signal at the DAU receiver is
y m , d = w d ( P m h m , d x m , d + ( 1 - C k ) P p g d x p + η m , d ) = w d ( w m P m h m , d P s h s , m x s A + ( w m ( 1 - γ k ) P m h m , d P s h s , m A + ( 1 - C k ) P p g d ) x p + w m η s , m P m h m , d A + η m , d ) ,
where A = P s h s , m + ( 1 - γ k ) 2 P p g m + N s , m .
According to Equation (10), we can obtain the signal-to-noise ratio [47] that the information from the DAU transmitter through the relays to the DAU receiver as follows:
S N R = m = 1 l S m N m ,
where S m and N m are the received signals and background noise, respectively. And the expression are as follows:
S m = | w d | 2 | w m | 2 P m h m , d P s h s , m P s h s , m + ( 1 - γ k ) 2 P p g m + σ 2 ,
and
N m = | w d | 2 | w m | 2 P m h m , d σ 2 P s h s , m + ( 1 - γ k ) 2 P p g m + σ 2 + | w d | 2 σ 2 .
Without loss of generality, we assume that the noise power of all links are the same and denoted as σ 2 . For the cooperative relaying transmission from the utility company to the consumers under the amplify-and-forward (AF) relaying strategy, the receiving rate [48] of the gateway is defined as
R = W 2 log 2 ( 1 + S N R ) ,
where W is the transmission bandwidth of the DAU.
Substituting Equations (11)–(14) into Eqiation (5), gives
P r = ( T - W 2 log 2 ( 1 + m = 1 l | w d | 2 | w m | 2 P m h m , d P s h s , m P s h s , m + ( 1 - γ k ) 2 P p g m + σ 2 | w d | 2 | w m | 2 P m h m , d σ 2 P s h s , m + ( 1 - γ k ) 2 P p g m + σ 2 + | w d | 2 σ 2 ) ) g T ,

2.4. Costs to Utility Company

In this section, a case of the temperature-priority control strategy which was developed in [49] is studied. As illustrated in Figure 2, the “on” loads with lower indoor temperatures have higher priorities to turn off, and the “off” loads with higher indoor temperatures have higher priorities to turn on. Therefore, the aggregated loads are ranked by their indoor temperatures. Then the loads with lower priorities will be turned on or off in sequence until the load can combine the AGC signal with the baseline load to follow the reference signal.
Taking the packets loss rate P r = 5 % as an example, we can obtain the tracking error distribution of the load control strategy through the MATLAB and EasyFit software [50]. As shown in Figure 3, the tracking errors follow the normal distribution. For the reliability of the communication, the probability of providing ancillary service is required to be larger than 99%. Thus, the utility company has to purchase u + 3 σ AGC service because there is P ( μ - 3 σ < = x < = μ + 3 σ ) 99 % under the normal distribution. We have
Z = p a ( μ + 3 σ ) ,
where μ is the expectation, σ is the standard variance, and p a is the price per unit fraction of AGC service.
Assume the expectation and the standard variance scale linearly with the packets loss rate, i.e., μ = A P r + B and σ = C P r + D . Substituting the expression of μ and σ into Equation (16) and combining with Equation (15), we obtain
Z = p a ( ( A + 3 C ) ( T - W 2 log 2 ( 1 + m = 1 l | w d | 2 | w m | 2 P m h m , d P s h s , m P s h s , m + ( 1 - γ k ) 2 P p g m + σ 2 | w d | 2 | w m | 2 P m h m , d σ 2 P s h s , m + ( 1 - γ k ) 2 P p g m + σ 2 + | w d | 2 σ 2 ) ) g T + B + 3 D ) .

3. Problem Formulation and Solutions

In this section, we first give the problem formulation and then derive the optimal power allocation to the DAU and the relays. The problem is equivalent to selecting the optimal power allocation of the DAU p s and the relay p m such that the costs to utility company are minimized, and the optimization problem is cast into the following problem.
( P 1 ) min Z s . t . P s + m = 1 l P m P t ( 1 - γ k ) P s h s , p I 0 ( 1 - γ k ) m = 1 l P m h m , d I 0
The first constraint is the total power restrictions of the cognitive radio network, the second constraint is the interference temperature threshold constraints, and the third constraint denotes that the transmission of DAU transmitter and the relays should be less than the interference temperature threshold constraints for primary user.
Remark 1.
We can observe that (P1) is a non-convex optimization problem according to Equation (17). The traditional gradient optimization methods cannot be applied to solve it. Next, we employ PSO to search for the optimum. Specially, the optimal solution can be obtained by using the KKT condition when the optimization problem has only one relay .

3.1. PSO Algorithm

We use the PSO algorithm to solve the multi-variable optimization problem [51]. For an optimization problem of D variables, the potential solution of the optimization problem can be described as a point in D-dimensional space. Each particle has a velocity vector to determine its direction and a fitness value to measure its corresponding optimization state., The position and velocity are adjusted in D-dimensional search space according to the current optimal particle.
The process can be converted into a mathematical problem as follows. The PSO is initiated by a group of random particles (solutions), and then it searches for the optimum by updating generations. Each particle updates its position by using best present (pbest) and global best (gbest) in the next iteration. The ith particle in D-dimensional space is represented as x i = ( x 1 i , x 2 i , . . . , x d i , . . . , x D i ) , where  x d i [ x min , x max ] , d [ 1 , D ] . The velocity corresponding to the ith particle is v i = ( v 1 i , v 2 i , . . . , v d i , . . . , v D i ) , where v d i [ v min , v max ] . The velocity and location update strategies of the i t h particle are defined by :
v i d v i d + c 1 · r a n d 1 i d · ( p b e s t i d - p i d ) + c 2 · r a n d 2 i d · ( g b e s t d - p i d ) ,
p i d = p i d + v i d ,
where c 1 and c 2 are the constriction factors. c 1 represents the weight that the ith particle tracks its own historical optimal value pbest i , and c 2 represents the weight that the ith particle tracks the whole group’s optimal value gbest . All particles use the same values c 1 and c 2 . pbest i and gbest are updated all the time according to each particle’s fitness value. Moreover, r a n d 1 i d and r a n d 2 i d stand for random values that are in the range between 0 and 1.
The position of each particle represents the variables of the system. In this paper, the variables are the DAU’s power allocation P s and the relays’s power allocation P m . The flowchart of the PSO algorithm is given in Figure 4, and the pseudo-code of PSO is given in Algorithm 1 as below.
Algorithm 1 PSO Algorithm
Input:
Z: size of the whole population; iter-max: maximum iterations; Initialize each particle’s position p i d and velocity v i d .
Output:
each particle’s position p i d .
1:
for iter=1: iter-max do
2:
 Calculate their fitness values and update pbest i , gbest ;
3:
 Update each particle using Equations (18) and (19) and revise v i d , p i d using v i d =min( v max , max( v max , v i d )), p i d =min( p max , max( p max , p i d ));
4:
end for

3.2. The Solution with One Relay

The DAU selects one relay to transmit information to the consumers. In that case, the costs to the utility company can be denoted as
Z 1 = p a ( ( A + 3 C ) ( T - W 2 log 2 ( 1 + | w d | 2 | w m | 2 P m h m , d P s h s , m P s h s , m + ( 1 - γ k ) 2 P p g m + σ 2 | w d | 2 | w m | 2 P m h m , d σ 2 P s h s , m + ( 1 - γ k ) 2 P p g m + σ 2 + | w d | 2 σ 2 ) ) g T + B + 3 D ) .
In order to minimize the costs to utility company we need to select the optimal power allocation of the DAU p s and the relay p m . And The optimization problem can be described as follows:
( P 2 ) min Z 1 s . t . P s + P m P t ( 1 - γ k ) P s h s , p I 0 ( 1 - γ k ) P m h m , d I 0
We solve the above optimization problem by the Karush Kuhn Tucker (KKT) conditions and obtain the optimal power allocation solution:
( P s * , P m * ) = ( P s , P m ) , i f P s P s m a x a n d P s P s m a x ( m i n ( P t - P m m a x , P s m a x ) , P m m a x ) , i f P s < P s m a x a n d P s > P s m a x ( P m m a x , m i n ( P t - P s m a x , P m m a x ) , i f P s > P s m a x a n d P s < P s m a x ( P s m a x , P m m a x ) , i f P s > P s m a x a n d P s > P s m a x ,
where
( P s , P m ) = ( h m , d P t + σ 2 ± ( h s , m P t + σ 2 ) ( h m , d P t + σ 2 ) h m , d - h s , m , h m , d P t + σ 2 ± ( h s , m P t + σ 2 ) ( h m , d P t + σ 2 ) h m , d - h s , m ) ,
and
( P s m a x , P m m a x ) = ( I 0 ( 1 - γ k ) 2 h s , p , I 0 ( 1 - γ k ) 2 h s , p ) .
The optimal power allocation solution Equation (21) is meaningless when γ k = 1 , therefore, we need to analyze the special case that γ k = 1 , which denotes that there is no interference between the primary user and the DAU. Thus, the corresponding interference constraints should be deleted. Moreover, the relay receives the signal of the primary user as follows:
y s , m = P s h s , m x s + η s , m .
The relaying signals under AF relay strategy are as follows:
y s , m = w m y s , m P s h s , m + N s , m .
The received signals from the relay at the DAU receiver are:
y m , d = w d ( P m h m , d y s , m + η m , d ) ,
Substituting Equations (23) and (24) into Equation (25), gives
y m , d = P s P m h s , m h m , d w m w d x s P s h s , m + N s , m + ( P m h m , d w m w d η s , m P s h s , m + + N s , m + η m , d w d ) ,
and the signal-to-noise ratio can be expressed as
S N R = P s P m h s , m h m , d P m h m , d N s , m + N m , d ( P s h s , m + N s , m ) .
Therefore, the optimization problem (P1) can be converted to the following optimization problem:
( P 3 ) min Z 2 s . t . P s + P m P t
The optimal power solutions based on the KKT conditions are as follows:
( P s * , P m * ) = ( h m , d P t + σ 2 ± ( h s , m P t + σ 2 ) ( h m , d P t + σ 2 ) h m , d - h s , m , h m , d P t + σ 2 ± ( h s , m P t + σ 2 ) ( h m , d P t + σ 2 ) h m , d - h s , m )

4. Simulation Results

In the simulation, we consider a communication system consisting of a primary user, a DAU, a relay, and one gateway shared by the consumers. The primary transmitter is located at the origin, the DAU is distributed in (0 m, 30 m), the gateway is located at (20 m, −20 m), and the relays are randomly distributed in the area of (100 m × 100 m). The total system bandwidth is set to be W = 10 4 Hz, the probability of correct transmission from the gateway to the consumers is g = 0 . 99 , and the base price of the AGC service is p a = 20 $/MW. The arriving rates of the DAU are 100 bits/s, i.e., T = 100 bits/s, and the noise power of all communication links is 10 - 1 W, i.e., σ 2 = 10 - 1 W. In addition, the existing probability of primary user in the carrier is p q = 0 . 5 , the false alarm probability is p f = 0 . 2 , the correct detection probability is p d = 0 . 8 , and the interference threshold is I 0 = 6 . 3096 db. In addition, the DAU’s maximum and minimum power allocation are 12 mW and 0 mW, respectively. The relays’s maximum and minimum power are 5 mW and 0 mW, respectively.
In the cognitive radio network, the relays sense the occupancy of the PR’s carriers, and then transmit the sensing results to the DAU. Hence, the DAU calculates the channel confidence level by combining all the sensing results. Furthermore, the DAU determines the relaying power allocation. In the simulation, we use the binomial distribution of 0 and 1 to generate the sensing results.
The convergence results of the best fitness values (i.e., the costs to the utility company) with different number of relays are shown in Figure 5. It is observed that the PSO algorithm can converge to the optimal solution. Comparing the fitness values with different number of relays, we observe that the the costs to the utility company can be reduced by deploying multiple relays.
The costs to the utility company Z versus the total power P t are given in Figure 6. The costs to the utility company have the similar changing trend under the direct transmission and the cooperative relaying, but the cooperative relaying can reduce the costs to the utility company dramatically.
The performance comparisons between the direct transmission and the cooperative relaying are given in Table 2. It is shown that the cooperative relaying can reduce the SNR , the packets loss rate, and the costs to the utility company dramatically.
The relationship between the costs to the utility company Z and the total power P t under Sensing Information (SI) and Non-Sensing Information (NSI) is shown in Figure 7. It is straightforward to observe that the costs to the utility company increases with the total power, however, the costs to the utility company under SI has lower cost than the costs under NSI significantly.
As shown in Figure 8, the costs to the utility company are examined with the change of the existence probability of primary user under different total power P t . It can be observed that the costs to utility company under different total power have the similar trend and the costs to utility company is decreasing with the total power before the critical total power and remain the same and then increasing with the total power after that.
The relationship between the costs to the utility company and the existence probability of primary user in different total power P p is shown in Figure 9. The costs to the utility company both reach the rock bottom and remain the same, but begin a slow increase after that.

5. Conclusions

This paper studies the power allocation problem for a cognitive wireless network in a smart grid based on the sensing information and minimizes the costs to a utility company by using the PSO algorithm to search for the optimal power allocation under the interference temperature threshold constraints of primary users. We obtain the optimal power allocation for cognitive wireless networks in a smart grid and study the cases that only one relay is selected by DAU and the channel is not occupied by the primary user. The simulation results illustrate that the optimal power allocation and the sensing information can decrease the costs to the utility company for cognitive wireless networks in a smart grid. This paper only considers one DAU and that will limit the performance of the cognitive radio network in a smart grid. In the future, we will extended the model to the case with multiple DAUs and multiple relays.

Acknowledgments

This research was supported in part by National Natural Science Foundation of China under Grants 61573303, 61503324, and 61473247, in part by Natural Science Foundation of Hebei Province under Grant F2016203438, E2017203284, F2017203140, and F2017203084, in part by Project Funded by China Postdoctoral Science Foundation under Grant 2015M570233 and 2016M601282, in part by Project Funded by Hebei Education Department under Grant BJ2016052, in part by Technology Foundation for Selected Overseas Chinese Scholar under Grant C2015003052, and in part by Project Funded by Key Laboratory of System Control and Information Processing of Ministry of Education under Grant Scip201604.

Author Contributions

Kai Ma contributed the idea and wrote the paper; Xuemei Liu conceived and designed the experiments; Jie Yang performed the experiments; Zhixin Liu analyzed the data; Yazhou Yuan contributed the analysis tools.

Conflicts of Interest

The authors declare no conflict of interest. The founding sponsors had no role in the design of the study; in the collection, analyses, or interpretation of data; in the writing of the manuscript, and in the decision to publish the results.

Nomenclature

C k , C ^ k Binary variable.
p q The existing probability of the primary user in each carrier.
p f The false alarm probability.
p d The correct detection probability.
P sr The transmission power of the DAU transmitter or relays.
H sr , p The channel gain from the DAU transmitter or relays to the PR.
I 0 The interference temperature threshold of the primary user.
P p The transmission power of the primary user.
H p , dm The channel gain from the PT to the DAU receiver or relay.
TThe arriving rates of the DAU.
RThe receiving rate of the gateway.
g The correct transmission ratio from the gateways to the consumers.
γ k The channel confidence level.
x s The information generated from the DAU transmitter.
x p The information generated from the PT.
y s , m The received signal at the relay.
P s The transmission power of the DAU transmitter.
P p The transmission power of the PT.
h s , m The channel-to-noise ratio from the DAU transmitter.
g m The channel-to-noise ratio from the PT to the relay.
η s , m The zero-mean circular symmetric complex Gaussian noise at the DAU transmitter and the relay.
w m , w d The beamforming weight.
SThe received signals.
NThe background noise.
P r The packets loss rate.
μ The expectation.
σ The standard variance.
p a The price per unit fraction of AGC service.
ZThe costs to utility company with multiple relays.
Z The costs to utility company with a relay.
v i d The dth dimension of the velocity for the ith particle.
x i d The dth dimension of the position for the ith particle.
g b e s t The whole group’s optimum value.
p b e s t i The ith particle’s historical optimum value.
r a n d 1 i d Uniform random number over [0,1].
r a n d 2 i d Uniform random number over [0,1].
l w o r s t i k The two worst particles for each sub-swarm.
l b e s t i The better particle for each sub-swarm.
c 1 , c 2 The learning factors.
ω Inertia weight.

References

  1. Gungor, V.C.; Sahin, D.; Kocak, T.; Ergut, S. Smart grid technologies: Communication technologies and standards. IEEE Trans. Ind. Inform. 2011, 7, 529–539. [Google Scholar] [CrossRef]
  2. Kirby, B. Ancillary services: Technical and commercial insights. Retrieved Oct. 2007, 1, 5–12. [Google Scholar]
  3. Callaway, D.S. Tapping the energy storage potential in electric loads to deliver load following and regulation, with application to wind energy. Energy Convers. Manag. 2009, 50, 1389–1400. [Google Scholar] [CrossRef]
  4. Lu, N.; Zhang, Y. Design considerations of a centralized load controller using thermostatically controlled appliances for continuous regulation reserves. IEEE Trans. Smart Grid 2013, 4, 914–921. [Google Scholar] [CrossRef]
  5. Liu, X.; Na, Z.; Jia, M.; Gu, X.; Li, X. Multislot simultaneous spectrum sensing and energy harvesting in cognitive radio. Energies 2016, 9, 568. [Google Scholar] [CrossRef]
  6. Haykin, S. Cognitive radio: Brain-empowered wireless communications. IEEE J. Sel. Areas Commun. 2006, 23, 201–220. [Google Scholar] [CrossRef]
  7. Zhang, Z.; Long, K.; Wang, J. Self-organization paradigms and optimization approaches for cognitive radio technologies: A survey. IEEE Wirel. Commun. 2013, 20, 36–42. [Google Scholar] [CrossRef]
  8. Shuaib, K.; Barka, E.; Hussien, N.A.; Abdel-Hafez, M.; Alahmad, M. Cognitive radio for smart grid with security considerations. Computers 2016, 5, 7. [Google Scholar] [CrossRef]
  9. Gungor, V.C.; Sahin, D. Cognitive radio networks for smart grid applications: A promising technology to overcome spectrum inefficiency. IEEE Veh. Technol. Mag. 2012, 7, 41–46. [Google Scholar] [CrossRef]
  10. Rahman, M.S.; Basu, A.; Kiyomoto, S.; Bhuiyan, M.Z.A. Privacy-friendly secure bidding for smart grid demand-response. Inf. Sci. 2016, 379, 229–240. [Google Scholar] [CrossRef]
  11. Yu, R.; Zhang, Y.; Gjessing, S.; Yuen, C.; Xie, S.; Guizani, M. Cognitive radio based hierarchical communications infrastructure for smart grid. IEEE Netw. 2011, 25, 6–14. [Google Scholar] [CrossRef]
  12. Ghassemi, A.; Bavarian, S.; Lampe, L. Cognitive Radio for Smart Grid Communications. In Proceedings of the First IEEE International Conference on Smart Grid Communications, Gaithersburg, MD, USA, 4–6 October 2010; pp. 297–302. [Google Scholar]
  13. Deng, R.; Chen, J.; Cao, X.; Zhang, Y. Sensing-performance tradeoff in cognitive radio enabled smart grid. IEEE Trans. Smart Grid 2013, 4, 302–310. [Google Scholar] [CrossRef]
  14. Ahmed, M.H.U.; Alam, M.G.R.; Kamal, R.; Hong, C.S. Smart grid cooperative communication with smart relay. J. Commun. Netw. 2012, 14, 640–652. [Google Scholar] [CrossRef]
  15. Sun, H.; Nallanathan, A.; Tan, B.; Thompson, J.S. Relaying technologies for smart grid communications. IEEE Wirel. Commun. 2012, 19, 52–59. [Google Scholar] [CrossRef]
  16. Niyato, D.; Wang, P. Cooperative transmission for meter data collection in smart grid. IEEE Commun. Mag. 2012, 50, 90–97. [Google Scholar] [CrossRef]
  17. Wong, W.S.V.; Schober, R.N.D.W.K.; Wang, L.C. Key Technologies for 5G Wireless Systems; Cambridge University Press: Cambridge, UK, 2017. [Google Scholar]
  18. Lu, W.; Gong, Y.; Wang, J.; Hua, J.; Meng, L. Optimal time and bandwidth allocation based on Nash bargaining solution for cooperative cognitive systems. China Commun. 2013, 10, 149–157. [Google Scholar]
  19. Deepika, A.G.; Sudha, T. A Power Allocation Technique for MIMO-OFDM Based Cognitive Radio with Improved Energy Efficiency. In Proceedings of the 2014 National Conference on Communication, Signal Processing and Networking (NCCSN), Palakkad, India, 10–12 October 2014; pp. 1–4. [Google Scholar]
  20. Jendeya, A.; Shaat, M.; Hudrouss, A.A.; Bader, F. Joint Resource Allocation in Multicarrier Based Cognitive Networks with Two-Way Relaying. In Proceedings of the 1st International Workshop on Cognitive Cellular Systems, Rhine River, Germany, 2–4 September 2014; pp. 1–5. [Google Scholar]
  21. Ng, D.W.K.; Lo, E.S.; Schober, R. Multiobjective resource allocation for secure communication in cognitive radio networks with wireless information and power transfer. IEEE Trans. Veh. Technol. 2016, 65, 3166–3184. [Google Scholar] [CrossRef]
  22. Rehman, Y.; Ullah, H.; Tariq, T.B.; Sidhu, G.A.S. User Assignment and Power Allocation Optimization in Cognitive Radio Networks. In Proceedings of the International Conference on Frontiers of Information Technology, Islamabad, Pakistan, 17–19 December 2014; pp. 41–45. [Google Scholar]
  23. Lee, H.W.; Kwak, J.; Le, L.B. Robust power allocation in cognitive radio networks with uncertain knowledge of interference. IEEE Wirel. Commun. Lett. 2016, 5, 468–471. [Google Scholar] [CrossRef]
  24. Zhou, M.; Zhao, X. Energy-efficient power allocation algorithm in cognitive radio networks. IET Commun. 2016, 10, 2445–2451. [Google Scholar] [CrossRef]
  25. Eberhart, R.; Kennedy, J. A New Optimizer Using Particle Swarm Theory. In Proceedings of the International Symposium on MICRO Machine and Human Science, Nagoya, Japan, 4–6 October 1995; pp. 39–43. [Google Scholar]
  26. Kennedy, J.; Eberhart, R. Particle Swarm Optimization. In Proceedings of the IEEE International Conference on Neural Networks, Perth, Australia, 27 November–1 December 1995; pp. 1942–1948. [Google Scholar]
  27. Shi, Y.; Eberhart, R. Empirical Study of Particle Swarm Optimization. In Proceedings of the 1999 Congress on Evolutionary Computation, Washington, DC, USA, 6–9 July 1999; pp. 1945–1950. [Google Scholar]
  28. Kennedy, J.; Eberhart, R. Swarm Intelligence; Morgan Kaufmann Publishers: San Francisco, CA, USA, 2001. [Google Scholar]
  29. Mendes, R.; Cortez, P.; Rocha, M.; Neves, J. Particle Swarms for Feedforward Neural Network Training. In Proceedings of the International Joint Conference on Neural Networks, Honolulu, HI, USA, 12–17 May 2002; pp. 1895–1899. [Google Scholar]
  30. Valdez, F.; Melin, P.; Licea, G. Modular neural networks architecture optimization with a new evolutionary method using a fuzzy combination particle swarm optimization and genetic algorithms. Inf. Sci. 2014, 270, 143–153. [Google Scholar] [CrossRef]
  31. Parsopoulos, K.E.; Papageorgiou, E.I.; Groumpos, P.P.; Vrahatis, M.N. A first study of fuzzy cognitive maps learning using particle swarm optimization. In Proceedings of the 2003 Congress on Evolutionary Computation, Canberra, Australia, 8–12 December 2003; Volume 2, pp. 1440–1447. [Google Scholar]
  32. Maldonado, Y.; Castillo, O.; Melin, P. Particle swarm optimization of interval type-2 fuzzy systems for FPGA applications. Appl. Soft Comput. 2013, 13, 496–508. [Google Scholar] [CrossRef]
  33. Melin, P.; Olivas, F.; Castillo, O.; Valdez, F.; Soria, J.; Valdez, M. Optimal design of fuzzy classification systems using PSO with dynamic parameter adaptation through fuzzy logics. Exp. Syst. Appl. 2013, 40, 3196–3206. [Google Scholar] [CrossRef]
  34. Fierro, R.; Castillo, O.; Valdez, F.; Cervantes, L. Design of Optimal Membership Functions for Fuzzy Controllers of the Water Tank and Inverted Pendulum with PSO Variants. In Proceedings of the Ifsa World Congress and Nafips Meeting, Edmonton, AB, Canada, 24–28 June 2013; pp. 1068–1073. [Google Scholar]
  35. Das, T.K.; Venayagamoorthy, G.K. Bio-inspired Algorithms for the Design of Multiple Optimal Power System Stabilizers: SPPSO and BFA. In Proceedings of the 2006 Industry Applications Conference, Tampa, FL, USA, 8–12 October 2006; pp. 635–641. [Google Scholar]
  36. Valle, Y.D.; Venayagamoorthy, G.K.; Mohagheghi, S.; Hernandez, J.C.; Harley, R.G. Particle swarm optimization: Basic concepts, variants and applications in power systems. IEEE Trans. Evol. Comput. 2008, 12, 171–195. [Google Scholar] [CrossRef]
  37. Wachowiak, M.P.; Smolikova, R.; Zheng, Y.; Zurada, J.M.; Elmaghraby, A.S. An approach to multimodal biomedical image registration utilizing particle swarm optimization. IEEE Trans. Evol. Comput. 2004, 8, 289–301. [Google Scholar] [CrossRef]
  38. Blackwell, T. A study of collapse in bare bones particle swarm optimization. IEEE Trans. Evol. Comput. 2012, 16, 354–372. [Google Scholar] [CrossRef]
  39. Srinivasa, S.; Jafar, S.A. Soft Sensing and Optimal Power Control for Cognitive Radio. In Proceedings of the 2007 IEEE Global Telecommunications Conference, Washington, DC, USA, 26–30 November 2007; pp. 1380–1384. [Google Scholar]
  40. Zhang, X.L.; Hong, J.I.; Xi, L.I.; Dai, L.Y. Optimal distributed power allocation for a new spectrum sharing paradigm in cognitive radio networks. J. China Univ. Posts Telecommun. 2012, 19, 37–43. [Google Scholar] [CrossRef]
  41. Wei, X. Study On Resources Allocation in Cognitive Radio Networks Based On Sensing Information; Yanshan University: Qinhuangdao, China, 2012. [Google Scholar]
  42. Nosratinia, A.; Hunter, T.E.; Hedayat, A. Cooperative communication in wireless networks. IEEE Commun. Mag. 2004, 42, 68–73. [Google Scholar] [CrossRef]
  43. Sendonaris, A.; Erkip, E.; Aazhang, B. User cooperation diversity. Part I: System description. IEEE Trans. Commun. 2003, 51, 1927–1938. [Google Scholar] [CrossRef]
  44. Sendonaris, A.; Erkip, E.; Aazhang, B. User cooperation diversity. Part II: Implementation aspects and performance analysis. IEEE Trans. Commun. 2003, 51, 1939–1948. [Google Scholar] [CrossRef]
  45. Cai, C.; Qiu, R. Energy-efficient cooperative two-hop amplify-and-forward relay protocol in cognitive radio networks. IET Commun. 2016, 10, 2135–2142. [Google Scholar] [CrossRef]
  46. Chen, T.; Yuan, H.Q.; Zhao, T.Z.; Zhang, Z.S. Joint beamforming and power allocation for secure communication in cognitive radio networks. IET Commun. 2016, 10, 1156–1162. [Google Scholar] [CrossRef]
  47. Hafeez, A.; Ramesh, R.; Hui, D. Maximum SNR Prefiltering for MIMO Systems. In Proceedings of the 2005 IEEE Workshop on Signal Processing Advances in Wireless Communications, New York, NY, USA, 5–8 June 2005; pp. 186–190. [Google Scholar]
  48. Laneman, J.N.; Tse, D.N.C.; Wornell, G.W. Cooperative diversity in wireless networks: Efficient protocols and outage behavior. IEEE Trans. Inf. Theory 2004, 50, 3062–3080. [Google Scholar] [CrossRef]
  49. He, H.; Sanandaji, B.M.; Poolla, K.; Vincent, T.L. Aggregate flexibility of thermostatically controlled loads. IEEE Trans. Power Syst. 2014, 30, 189–198. [Google Scholar]
  50. EasyFit Software. Available online: http://www.mathwave.com/ (accessed on 20 November 2015).
  51. Xu, X.; Tang, Y.; Li, J.; Hua, C.; Guan, X. Dynamic multi-swarm particle swarm optimizer with cooperative learning strategy. Appl. Soft Comput. 2015, 29, 169–183. [Google Scholar] [CrossRef]
Figure 1. The cognitive wireless network in a smart grid.
Figure 1. The cognitive wireless network in a smart grid.
Energies 10 00909 g001
Figure 2. Temperature-priority control strategy.
Figure 2. Temperature-priority control strategy.
Energies 10 00909 g002
Figure 3. The tracking error distribution under the packets loss.
Figure 3. The tracking error distribution under the packets loss.
Energies 10 00909 g003
Figure 4. The flow chart of particle swarm optimization (PSO) algorithm.
Figure 4. The flow chart of particle swarm optimization (PSO) algorithm.
Energies 10 00909 g004
Figure 5. The convergence curve of the fitness value with different number of relays. (a) The convergence of the fitness value with one relay; (b) The convergence of the fitness value with six relays; (c) The convergence of the fitness value with ten relays.
Figure 5. The convergence curve of the fitness value with different number of relays. (a) The convergence of the fitness value with one relay; (b) The convergence of the fitness value with six relays; (c) The convergence of the fitness value with ten relays.
Energies 10 00909 g005
Figure 6. The costs to utility company under the transmission modes.
Figure 6. The costs to utility company under the transmission modes.
Energies 10 00909 g006
Figure 7. The costs to utility company under Sensing Information (SI) and Non-Sensing Information (NSI).
Figure 7. The costs to utility company under Sensing Information (SI) and Non-Sensing Information (NSI).
Energies 10 00909 g007
Figure 8. The costs to utility company under different P t .
Figure 8. The costs to utility company under different P t .
Energies 10 00909 g008
Figure 9. The cost to utility company under different P p .
Figure 9. The cost to utility company under different P p .
Energies 10 00909 g009
Table 1. Differences of the proposed work with the literature.
Table 1. Differences of the proposed work with the literature.
IndexesThroughputPower AllocationCooperationSignal-to-Noise Ratio (SNR)Packet Loss
[18]×××
[19]××××
[20]×
[21]××××
This work
Table 2. Comparison results.
Table 2. Comparison results.
Indexes SNR P r Z ( $ )
SI (Direct transmission) 4 . 3731 × 10 6 0.8808 1 . 8879 × 10 5
SI (m = 1) 2 . 3229 × 10 11 0.8031 1 . 7214 × 10 5
SI (m = 6) 2 . 3555 × 10 11 0.2177 4 . 6664 × 10 4
SI (m = 10) 9 . 7531 × 10 7 0.0985 2 . 1114 × 10 4

Share and Cite

MDPI and ACS Style

Ma, K.; Liu, X.; Yang, J.; Liu, Z.; Yuan, Y. Optimal Power Allocation for a Relaying-Based Cognitive Radio Network in a Smart Grid. Energies 2017, 10, 909. https://doi.org/10.3390/en10070909

AMA Style

Ma K, Liu X, Yang J, Liu Z, Yuan Y. Optimal Power Allocation for a Relaying-Based Cognitive Radio Network in a Smart Grid. Energies. 2017; 10(7):909. https://doi.org/10.3390/en10070909

Chicago/Turabian Style

Ma, Kai, Xuemei Liu, Jie Yang, Zhixin Liu, and Yazhou Yuan. 2017. "Optimal Power Allocation for a Relaying-Based Cognitive Radio Network in a Smart Grid" Energies 10, no. 7: 909. https://doi.org/10.3390/en10070909

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