# Optimal energy-efficient sensing in cooperative cognitive radio networks

- Xia Wu
^{1, 2}Email author, - Jin-Ling Xu
^{2}, - Ming Chen
^{2}and - Jun-Bo Wang
^{2}

**2014**:173

https://doi.org/10.1186/1687-1499-2014-173

© Wu et al.; licensee Springer. 2014

**Received: **29 April 2014

**Accepted: **29 September 2014

**Published: **22 October 2014

## Abstract

In a cognitive radio network (CRN), when the secondary users (SUs) are battery-powered devices, the concept of energy-efficient design is very important. The sensing time and the number of cooperative SUs in the cooperative spectrum sensing could greatly affect energy consumption and throughput of the system. In this paper, we propose an energy utility function by formulating the achievable data rate of a cooperative CRN in terms of the energy consumption by the CRN. The maximization of the energy utility function is obtained by jointly designing the sensing time, sensing threshold, and number of cooperative SUs with the constraint of sufficient protection for primary user (PU). Numerical results show that the CRN can achieve almost the maximum achievable data rate with significant energy saving through the joint optimization.

### Keywords

Cognitive radio network Energy-efficient design Sensing time Sensing threshold## Introduction

With the rapid growth of wireless services, scarcity of spectrum resources has become the bottleneck of its development. Under the current fixed spectrum allocation policy, the utilization of the licensed spectrum varies from 15% to 85%, whereas only 2% of the spectrum would be used in the US at any given moment [1]. This motivates the advent of cognitive radio network (CRN) which was first introduced in 1999 by J. Mitola III [2], where the secondary users (SUs) opportunistically utilize the temporarily unused spectrum which is licensed to primary user (PU). And CRN has been proved to be an efficient solution for spectrum shortage and underutilization problem.

Up to now, a lot of work has been done to investigate the CNR. In [3], the use of multipath and single-path quality of service (QoS)-aware routing algorithms under harsh smart grid (SG) environmental conditions is investigated in order to evaluate their service differentiation capabilities in reliability and timeliness domains. In [4], a novel approach is proposed to set different reliability values for image packets for image transmission in wireless multimedia sensor networks (WMSNs). Using this prioritization, important parts of an image are assigned high priority and take priority during data transmission. In [5], authors presented opportunities and design challenges of wireless sensor network (WSNs) for smart grid applications. WSN-based smart grid applications have been introduced, and some WSN standards and communication protocols have been discussed for smart grid applications. In [6], the authors proposed a cross-layer framework that employs cognitive radio communication to circumvent the hostile propagation conditions in power systems and supports QoS for smart grid applications. In [7], architectures to support cognitive radio (CR) networks in SG applications, major challenges, and open issues have been discussed.

Compared with traditional communication systems [8, 9], CRN requires additional energy consumption, such as the energy used in the sensing process. Furthermore, the accuracy of the sensing results also affects the total energy consumption. Cooperative spectrum sensing could increase the accuracy of the sensing results by mitigating the effect of multipath and shadowing. However, energy consumption is a major concern, in addition to extra sensing time and delay [10], as cooperative spectrum sensing consumes additional energy to report the results to the fusion center.

In this paper, we focus on the energy efficiency because of its importance in a practical CRN which is powered by batteries. We attempt to optimize the parameters which affect the energy consumption and the throughput of the cooperative CRN such as sensing time, sensing threshold, and the number of cooperative SUs. Some recent works dealing with the issues of CRN energy efficiency have been presented in [11–15]. In [11], the authors studied a joint design of energy-efficient sensing and transmission duration for a CRN in which the PU was protected. In [12], the authors defined the energy efficiency as the ratio of the average throughput of the CRN over the average energy used by the CRN and a problem of jointly designing the fusion rule threshold and detector’s threshold that maximizes the energy efficiency of the CRN was studied. In [13], the authors proposed a comprehensive utility function by formulating the transmission cost in terms of the energy consumption of sensing process and transmission process. The utility function was maximized by optimizing the sensing time. In [14], the authors identified the sensing-access strategies and the sensing order that achieve the maximum energy efficiency. In [15], a comparison among different decision-fusion rules was studied in terms of the consumed energy and the achievable detection probability at a given false alarm probability threshold.

Motivated by the previous work, we propose an energy utility function by formulating the achievable data rate in terms of the energy consumption in a cooperative CRN. A weighting factor of energy consumption is introduced here. The larger the value of the weighting factor implies that the energy consumption is more important than the achievable data rate of CRN. Taking the maximization of the energy utility as the design objective, the optimization problem is formulated as a function of three variables, which are sensing time, sensing threshold, and the number of cooperative SUs, subject to the target detection probability. An algorithm is provided to solve this problem, and numerical results show that CRN can achieve almost the maximum achievable data rate with significant energy saving through the joint optimization.

The rest of the paper is organized as follows. The system model is presented in the ‘System model’ section. In the ‘Problem formulation’ section, we propose an energy utility function and formulate an optimize problem. And we give an algorithm to obtain the solution of the problem in the ‘Solution of formulation’ section. Numerical results are presented in the ‘Numerical results’ section. Finally, the ‘Conclusions’ section draws the conclusion.

## System model

We consider a CRN with *N* SUs and a fusion center. All the SUs try to use a licensed spectrum (termed channel) without introducing extra interference to the PU of the spectrum. Therefore, the SUs must first perform spectrum sensing to determine the status of the spectrum before using it.

During the sensing time, *M* out of the *N* SUs individually sense the status of the channel and make a decision. Then, they send their decisions to the fusion center sequentially. Finally, based on the decisions of the SUs, the fusion center determines the active or idle status of the channel. If the channel is detected to be idle, the CRN will be allowed to transmit data; otherwise, the CRN will not be allowed to use the spectrum.

*T*. The structure of the time slot is shown in Figure 1, where

*τ*

_{ s }denotes the sensing time, and

*τ*

_{ r }represents the reporting time of single SU, and

*T*

_{ t }is the transmission time. In the reporting block, the local sensing results are reported to the fusion center through the common control channel (see [16]) sequentially. The common control channel operates at a different frequency than the PU, so there is no interference during the transmission of the reports.

*σ*

^{2}, namely

*N*(0,

*σ*

^{2}). The test statistic for energy detector is given by $Y=\frac{\sum _{1}^{N}\left|y\right(n){|}^{2}}{{\sigma}_{u}^{2}}$, where

*N*=

*τ*

_{ s }

*f*

_{ s }. To the

*i*th SU, the probabilities of false alarm and detection for the channel are given by [18]

respectively, where *τ*_{
s
} represents the sensing time, *ε*_{
i
} denotes the sensing threshold of energy detector of the *i* th SU, *γ*_{
i
} is the received signal-to-noise ratio (SNR) from the PU’s signal measured at the *i* th secondary receiver and *γ*_{
i
}=*N* *γ*(*γ* is defined in [18]), *f*_{
s
} represents the sampling frequency, and finally, *Q*(·) is the complementary distribution function of standard Gaussian. Similar to [18, 19], we assume that the size of the CRN is small compared with its distance from the primary system. Therefore, the received signal at each SU experiences almost identical path loss.

*ε*for all SUs, the overall probabilities of false alarm and detection for the channel are, respectively, given by [19]

## Problem formulation

### Average energy consumption of the CRN

In our model, the total power consumption consists of four parts: circuit consumption *P*_{
c
}, spectrum sensing *P*_{
s
}, reporting *P*_{
r
}, and data transmission *P*_{
t
}. In the CRN, there are four different scenarios between the activities of the PU and the SUs.

*P*

_{0}(1−

*Q*

_{ f }(

*τ*

_{ s },

*ε*,

*M*)), where

*P*

_{0}denotes the idle probability of the channel. And the energy consumed is given by

*P*

_{0}

*Q*

_{ f }(

*τ*

_{ s },

*ε*,

*M*), and the energy used is given by

*P*

_{1}(1−

*Q*

_{ d }(

*τ*

_{ s },

*ε*,

*M*)), where

*P*

_{1}=1−

*P*

_{0}denotes the active probability of the channel, and the energy used is given by

*P*

_{1}

*Q*

_{ d }(

*τ*

_{ s },

*ε*,

*M*), and the energy consumed is given by

*T*is approximated as

where *x*=*P*_{
s
}+*P*_{
c
}, *y*=(*P*_{
r
}+*P*_{
c
})*τ*_{
r
}, *z*=*P*_{
t
}+*P*_{
c
}.

### Average achievable data rate of the CRN

A channel’s availability for SU transmission is based on the outcome of the spectrum sensing. In case S3, the channel is detected to be idle while the channel is actually active, the PU’s signal is an interference to SUs’ transmission, and we assume the transmission will not succeed. Hence, only in case S1 the data can be transmitted successfully.

*C*as the achievable data rate of the CRN when it operates in the absence of PU, and the value of

*C*is assumed to be [18]

where B is the bandwidth and SNR_{
s
} is the SNR for secondary transmission.

*T*can be expressed as

where *J*=*P*_{0}*C*.

### Energy utility function

When the sensing time *τ*_{
s
} increases, the detection probability can be increased which can protect the PU. On the other hand, the energy consumed in the sensing phase also increases.

The increase of the number of cooperative SUs leads to a high space diversity gain and helps to improve the spectrum sensing performance. However, it also results in the increase of total reporting delay which leads to the decrease of the spectrum sensing time and the data transmission time. And more energy is used in the sensing phase. Hence, there are tradeoffs among the sensing performance, the achievable data rate, and the energy consumption when designing the sensing time and the number of cooperative SUs.

where *v* with *v*>0 is the weighting factor denoting the weight of the energy consumption. The larger value of the weighting factor implies that the energy consumption is more important than the achievable data rate of the CRN. Specially, when *v*=1, (12) denotes the achievable data rate per unit of energy.

*v*, our objective is to maximize the energy utility function

*η*(

*τ*

_{ s },

*ε*,

*M*), which suggests that the SUs try to use less energy to obtain more data rate. Therefore, an optimization problem of jointly designing the sensing time, the sensing threshold, and the number of cooperative SUs is formulated subject to the spectrum sensing accuracy, as shown by the following:

where *α* is the target detection probability to protect the PU.

## Solution of formulation

Instead of solving the problem (13) directly, we propose the algorithm that solves the problem by an exhaustive search for *M*. Since M is an integer and lies within the interval [1, N], the computational complexity to search the optimal M is not very high.

*η*

^{∗}(

*M*) is the optimal objective value of the following problem (15) with a specific

*M*value.

We focus on 0<*v*≤1; next, we discuss the solution of problem (15) under *v*=1 and 0<*v*<1.

### Weighting factor v=1

*Q*

_{ d }(

*τ*

_{ s },

*ε*)=

*α*, we can obtain

where $u=\sqrt{1+2\gamma}{Q}^{-1}\phantom{\rule{0.3em}{0ex}}\left({P}_{d}\left({\tau}_{s},\epsilon \right)\right)$, $h=\gamma \sqrt{{f}_{s}/2}$. With *P*_{
f
}(*τ*_{
s
}), we can get the *Q*_{
f
}(*τ*_{
s
}) through (3).

In a practical CRN, we set *τ*_{
s
}>(*u*/*h*)^{2}, such that *P*_{
f
}(*τ*_{
s
})<0.5 [11].

*v*=1 is simplified to

*λ*is an arbitrary positive number [20, 21]. We define another function expressed as

If *g*(*λ*) is a monotonically decreasing function in terms of *λ*, then the optimal solution of (18) occurs at *g*(*λ*)=0 [14].

#### Proof

*g*(

*λ*) is a monotonically decreasing function in terms of

*λ*. Since for any

*τ*

_{ s },

*ψ*(

*τ*

_{ s })>0. Hence, for any given

*τ*

_{ s },

*f*(

*τ*

_{ s },

*λ*) must decrease as

*λ*increases. Next, we have

*δ*is any positive number. Therefore,

which proves that *g*(*λ*) is a monotonically decreasing function in terms of *λ*.

For a given *τ*_{
s
}, *f*(*τ*_{
s
},*η*(*τ*_{
s
}))=0. Set *τ*_{
s
}^{∗} as the optimal solution of (18), then *λ*=*η*(*τ*_{
s
}^{∗}) is the largest *λ* value that can satisfy *f*(*τ*_{
s
},*λ*)=0 since *η*(*τ*_{
s
}^{∗}) is the maximum value for any *τ*_{
s
}. Next, we denote $\stackrel{\u0304}{\lambda}$ as $g\left(\stackrel{\u0304}{\lambda}\right)=0$ and ${\stackrel{\u0304}{\tau}}_{s}$ as its corresponding *τ*_{
s
} value that can maximize $f({\tau}_{s},\stackrel{\u0304}{\lambda})$. Any $\stackrel{~}{\lambda}>\stackrel{\u0304}{\lambda}$, $g\left(\stackrel{~}{\lambda}\right)<0$ due to monotonicity. Hence, $\stackrel{\u0304}{\lambda}$ is the largest *λ* value that can satisfy *f*(*τ*_{
s
},*λ*)=0. Therefore, $\stackrel{\u0304}{\lambda}$ must be equal to $\stackrel{\u0304}{\lambda}=\eta \left({{\tau}_{s}}^{\ast}\right)$, and ${\stackrel{\u0304}{\tau}}_{s}={{\tau}_{s}}^{\ast}$.

Due to the monotonicity of *g*(*λ*), the optimal value *η*(*τ*_{
s
}^{∗}) which occurs at *g*(*λ*)=0 can be found by using the bisection algorithm.

Furthermore, when *λ* satisfies *g*(*λ*)≥0, *f*(*τ*_{
s
},*λ*) is a convex function when *τ*_{
s
} is in the given interval ((*u*/*v*)^{2}, *T*−*M* *τ*_{
r
}).

*Proof*.

*f*(

*τ*

_{ s },

*λ*) with respect to

*τ*

_{ s }, we get

*f*

^{′}(

*τ*

_{ s },

*λ*) with respect to

*τ*

_{ s },

*P*

_{ f }(

*τ*

_{ s }) is decreasing and convex with respect to

*τ*

_{ s }when satisfying

*P*

_{ f }(

*τ*

_{ s })<0.5 [18]. Hence, there is

*P*

*f*′(

*τ*

_{ s })<0, ${P}_{f}^{\mathrm{\prime \prime}}\left({\tau}_{s}\right)>0$, then we can get

*g*(

*λ*)≥0, so

*J*−

*λ*

*z*

*P*

_{0}>0, and there is

For a given *λ* satisfying *g*(*λ*)≥0, *f*(*τ*_{
s
},*λ*) is a convex function with respect to *τ*_{
s
}. And the optimal *τ*_{
s
} maximizing *f*(*τ*_{
s
},*λ*) can be obtained by solving *f*^{′}(*τ*_{
s
},*λ*)=0. When *λ* satisfying *g*(*λ*)<0, there is no need to find the optimal *τ*_{
s
}. As we want to find the *λ* satisfying *g*(*λ*)=0, however, for any *τ*_{
s
}, there is *g*(*λ*)<0 in this case.

### Weighting factor 0<*v*<1

*M*, similarly to the case

*v*=1, the problem (15) can also be simplified to

In general, the *η*(*τ*_{
s
}) may not be a concave function in terms of *τ*_{
s
}. Hence, we have to exhaustively search for the optimal sensing time over (0, *T*−*M* *τ*_{
r
}). Fortunately, from the numerical results, we can see that the optimal *τ*_{
s
} can be found by using bisection algorithm, which can decrease the complexity to find the solution of problem (25).

## Numerical results

*T*=20 ms, the sampling frequency of the received signal is assumed to be 6 MHz, and the reporting time of single SU is set to be

*τ*

_{ r }=0.1 ms. The SNR of the PU’s signal received at the SUs is set to be −20 dB. The active probability of the channel is assumed to be

*P*

_{1}=0.1, and the threshold of the detection probability is

*α*=0.95. The secondary transmission SNR

_{s}=20 dB. The weighting factor is set as

*v*=0.4. Both the sensing and circuit power are set as 0.1 W, and both the reporting and transmission power are assumed to be 3 W [12]. SNR referred in the following paper is the received signal-to-noise ratio from the PU at the secondary detector.Figure 2 shows the energy utility versus the spectrum sensing time with different numbers of the cooperative SUs. It can be seen from this figure that, with the increase of the sensing time, the values of the energy utility in all curves first increase and then decrease. This indicates that an optimal sensing time can be obtained to maximize the energy utility when given the number of cooperative SUs. In Figure 2, the energy utility vs. the spectrum sensing time is compared among different numbers of cooperative SUs. We can see that with a given number of cooperative SUs, there is an optimal sensing time that can maximize the energy utility.Figure 3 shows the energy utility vs. the number of cooperative SUs with different sensing times. Similar to Figure 2, with the increase of the number of cooperative SUs, the values of the energy utility in all curves first increase and then decrease. Therefore, there is an optimal number of cooperative SUs maximizing the energy utility under both the optimal sensing time and the fixed sensing time. Moreover, it can be observed that the energy utility with the optimal sensing time outperforms that with the fixed sensing time.

*α*takes higher values. In Figure 5, we also can find that the optimal sensing time decreases with the increasing of SNR and increases as the detection probability

*α*takes higher values. In Figure 6, when SNR increases, the energy utility also increases. This is because there is more transmission time and less energy consumption. However, the energy utility decreases with the increasing of detection probability

*α*.

*M*=1, which indicates that the improvement in sensing performance is not able to outweigh the larger energy consumption introduced by the larger number of cooperative SUs when

*v*=1.

## Conclusions

In this paper, we propose an energy utility function by formulating the achievable data rate in terms of the energy consumption in a cooperative CRN. A weighting factor of energy consumption is introduced here. Taking the maximization of the energy utility as the design objective, optimization problem is formulated as a function of three variables, which are sensing time, sensing threshold, and the number of cooperative SUs, subject to the target detection probability. An algorithm is also presented to solve the problem, and numerical results show that the CRN can achieve almost the maximum achievable data rate with significant energy saving through the joint optimization.

## Declarations

### Acknowledgements

This work is supported by National Nature Science Foundation of China (Nos. 11301071, 61372106, 61102068, 61172077, 61223001), Key Special Project of National Science and Technology (No. 2013ZX03003006), National 863 High Technology Development Project (No. 2013AA013601), Research Fund of National Mobile Communications Research Laboratory, Southeast University (No. 2013A04, 2014B01), CPSF (2013M531244, 2014T70450), Research Fund for the Doctoral Program of Higher Education (20113218120017), and Open Research Fund of National Mobile Communications Research Laboratory, Southeast University (2012D14).

## Authors’ Affiliations

## References

- Ghasemi A, Sousa ES: Spectrum sensing in cognitive radio networks: requirements, challenges and design trade-offs.
*IEEE Commun. Mag*2008, 46(4):32-39.View ArticleGoogle Scholar - Mitola J, Maguire GQ Jr: Cognitive radio: making software radios more personal.
*IEEE Personal Commun*1999, 6(4):13-18. 10.1109/98.788210View ArticleGoogle Scholar - Sahin D, Gungor VC, Kocak T, Tuna G:
*Quality-of-service differentiation in single-path and multi-path routing for wireless sensor network-based smart grid applications*. 2014. doi:10.1016/j.adhoc.2014.05.005Google Scholar - Macit M, Gungor VC, Tuna G: Comparison of QoS-aware single-path vs.multi-path routing protocols for image transmission in wireless multimedia sensor networks.
*Ad Hoc Netw*2014, 19: 132-141.View ArticleGoogle Scholar - Tuna G, Gungor VC, Gulez K: Wireless sensor networks for smart grid applications: a case study on link reliability and node lifetime evaluations in power distribution systems.
*Int. J. Distributed Sensor Netw. (Article ID 796248)*2013, 11. doi:10.1155/2013/796248Google Scholar - Shah GA, Gungor VC, Akan OB: A cross-layer QoS-aware communication framework in cognitive radio sensor networks for smart grid applications.
*IEEE Trans. Ind. Inf*2013, 9(3):1477-1485.View ArticleGoogle Scholar - Gungor VC, Sahin D: Cognitive radio networks for smart grid applications: a promising technology to overcome spectrum inefficiency.
*IEEE Vehicular Technol. Mag*2012, 7(2):41-46.View ArticleGoogle Scholar - Wang JY, Wang JB, Song XY, Chen M, Zhang J: Network planning for distributed antenna-based high-speed railway mobile communications.
*Trans. Emerging Telecommun. Technol*2014, 25(7):707-722. 10.1002/ett.2599View ArticleGoogle Scholar - Wang J-Y, Wang J-B, Chen M, Song X: Performance analysis for free-space optical communications using parallel all-optical relays over composite channels.
*IET Commun*2014, 8(9):1437-1446. 10.1049/iet-com.2013.0754MathSciNetView ArticleGoogle Scholar - Akyildiz IF, Lo BF, Balakrishnan R: Cooperative spectrum sensing in cognitive radio networks: a survey.
*Phys. Commun*2011, 4(1):40-62. 10.1016/j.phycom.2010.12.003View ArticleGoogle Scholar - Shi Z, Teh K, Li KH: Energy-efficient joint design of sensing and transmission durations for protection of primary user in cognitive radio systems.
*Commun. Lett*2013, 17(3):565-568.View ArticleGoogle Scholar - Peh ECY, Liang YC, Guan YL, Pei YY: Energy-efficient cooperative spectrum sensing in cognitive radio networks. In
*Proc. IEEE Global Telecommun. Conf*. IEEE,, Houston; 2011:1-5.Google Scholar - Feng XX, Gan XY, Wang XB:
*Energy-constrained cooperative spectrum sensing in cognitive radio networks.*IEEE,, Houston; 2011:1-5.Google Scholar - Pei YY, Liang YC, Teh KC, Li KH: Energy-efficient design of sequential channel sensing in cognitive radio networks: optimal sensing strategy, power allocation, and sensing order.
*IEEE J. Sel. Areas Commun*2011, 29(8):1648-1659.View ArticleGoogle Scholar - Althunibat S, Narayanan S, Renzo MD, Granelli F: On the energy consumption of the decision-fusion rules in cognitive radio networks. In
*IEEE International Workshop on Computer Aided Modeling and Design of Communication Links and Networks*. IEEE,, Barcelona; 2012:125-129.Google Scholar - Gao F, Yuan W, Liu W, Cheng WQ, Wang S: Pipelined cooperative spectrum sensing in cognitive radio networks.
*IEEE Wirel. Commun. Netw. Conf*2009, 1-5.Google Scholar - Digham FF, Alouini MS, Simon MK: On the energy detection of unknown signals over fading channels.
*IEEE Trans. Commun*2007, 55(1):21-24.View ArticleGoogle Scholar - Liang YC, Zeng YH, Peh ECY, Hoang AT: Sensing-throughput tradeoff for cognitive radio networks.
*IEEE Trans. Wirel. Commun*2008, 7(4):1326-1337.View ArticleGoogle Scholar - Peh ECY, Liang YC, Guan YL: Optimization of cooperative sensing in cognitive radio networks: a sensing-throughput tradeoff view.
*IEEE Trans. Veh. Technol*2009, 58(9):5294-5299.View ArticleGoogle Scholar - Zhu HL, Wang JZ: Chunk-based resource allocation in OFDMA systems - part I: chunk allocation.
*IEEE Trans. Commun*2009, 57(9):2734-2744.View ArticleGoogle Scholar - Zhu HL, Wang JZ: Chunk-based resource allocation in OFDMA systems - part II: joint chunk, power and bit allocation.
*IEEE Trans. Commun*2012, 60: 499-509.View ArticleGoogle Scholar

## Copyright

This article is published under license to BioMed Central Ltd. This is an Open Access article distributed under the terms of the Creative Commons Attribution License (http://creativecommons.org/licenses/by/4.0), which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly credited.