1. Introduction
The rapid increase in the diversity of communication applications and services has brought great challenges for efficient spectrum exploitation. As the core technique of cognitive radio, spectrum sensing is proposed to improve the spectrum efficiency using spectrum band sharing. In a cognitive radio network, secondary users (SUs) periodically detect the presence of a primary user (PU) and transmit data during the spectrum hole of the PU. The sensing technique, however, requires high detection performance [
1,
2,
3] and good coordination between the PU and SUs [
3,
4]. Besides, the energy efficiency (EE) of cognitive radio networks (CRNs) has attracted a great deal of research attention recently, especially in the context of the tradeoff of sensing and the transmission time ratio [
5,
6,
7,
8,
9,
10,
11,
12,
13,
14,
15,
16]. Since the PU and SUs share the same spectrum band, the analysis of their transmission powers becomes a critical issue in CRNs. The transmission powers of the PU and SUs have a significant influence not only on EE but also on the sensing performance. In addition, EE and sensing performance are also interconnected, and the sensing metrics and thresholds must be strictly respected while designing the CRN system with the aim of achieving a higher EE. Regarding this complex optimization problem, more detailed analyses of a PU’s transmission power and its influences on SUs’ sensing and transmission phases are presented in
Section 1 by referring to some recently proposed methods [
17,
18,
19,
20,
21,
22,
23,
24,
25,
26,
27,
28,
29,
30,
31,
32,
33,
34,
35].
Table 1 lists some common abbreviations that are used in this paper.
Although these studies have made contributions to the active/sleep symptoms of a PU, to the best of our knowledge, only a few studies have investigated the activities of a PU aiming at the maximization of the global EE (i.e., for both the PU and SUs) in CRNs, not to mention modeling PU’s transmission power as EE constraints on the provision sensing performance of SUs. In addition, the probability of reawakening PU traffic is not the only aspect of the activities of a PU that should be considered in the performance metrics and throughput of CRNs. More importantly, the distribution of a PU’s idle/active states contributes to very different sensing results.
Figure 1 presents an example of the sensing process under different conditions of PU presence probabilities. In this figure, the blue blocks of the PU denote the presence of the PU, while white blocks denote its absences; for SUs, the blue and white blocks denote the related sensing results of “0” and “1”, respectively. When there is a sparse presence, as in PU1, the spectrum band is more available, which makes the transmission of SUs easier to access. Otherwise, when the PU presents frequently as PU2, the received SNR at SUs’ side becomes easier to detect. Therefore, the false alarm probability (i.e., the letter “
F” in
Figure 1) can be better controlled than in the sparse presence case under the same target detection probability condition. Although the access of transmission (i.e., the letter “
T” in
Figure 1) is limited, the spectrum sensing is more efficient; thus, the EE is also improved. These two situations should be considered in parallel, and the activities of the PU should be adapted to an optimum where sensing performance and opportunistic access are both guaranteed.
In this context, the PU’s activity is designed towards an interactive behavior of SU access. On the one hand, given a fixed probability of PU’s presence, SUs are able to optimize EE by finding their most suitable sensing ratio. On the other hand, the PU’s activity has critical impacts on EE. In our study, the overall EE of both the PU and SUs is studied, and the relation between EE and the PU’s presence is especially analyzed. We prove that a maximized EE is subject to a sparse presence of a PU, similar to the PU1 case in
Figure 1, where the assumption of free access is admitted as a principal impact, rather than the advantage of the false alarm probabilities of PU2. Nevertheless, the design of the PU is subject to certain constraints in order to obtain sufficient sensing performance at all times. According to these key challenges, a PU-related EE optimization model is proposed.
We assume a scenario in which several PUs with different QoS (i.e., quality of service) requirements are present in an alternate way with different sleep/reactivate ratios. Since the spectrum band is shared among the PU and SUs, the reuse of the spectrum is strongly related to the PU’s presence characteristics, which determine whether sufficient networks resources are left for other SUs in the same CR network. The SUs’ QoS and EE targets both require SUs to make the most of their opportunistic accesses and to avoid occupying the band when PUs are present. In our study, the multidimensional relation between PU presence, SU performance metrics, and EE are jointly analyzed and demonstrated mathematically, based on which we apply the optimization methods to achieve the appropriate range of PU presence ratios where SUs can achieve opportunistic access without interfering with each other. This method is aimed at optimizing the EE of a target CR network without losing detection accuracy.
The main contributions of this study are as follows:
- (1)
It analyzes the required lower boundary of PU presence probability to achieve adequate sensing performance by solving a quadratic equation at the minimum condition of SNR received at the SUs;
- (2)
It formulates the EE as a constrained three-dimensional optimization problem and adopts the bisection search algorithm to find the optimized solutions at the lower bound of the PU’s periodical presence ratio range, defined by the PU’s reactivation ratio.
The rest of this study is organized as follows. In
Section 2, the recent contributions in this domain are presented. In
Section 3, the system model of PU–SU spectrum sensing is analyzed by investigating multiple situations.
Section 4 provides detailed proofs to testify the feasibility of achieving an optimized solution of EE under boundary conditions, based on which we present our bisection search algorithm. Finally, simulation results are presented in
Section 5, and
Section 6 presents our conclusion.
2. Literature Analysis
In the literature, recent works have mainly proposed new spectrum sensing techniques or models and optimized the EE or the sensing performances adaptively. O. H. Toma et al. [
17] proposed a comprehensive spectrum sensing model in which a PU’s channel statistics under imperfect spectrum sensing are notably analyzed and compared with original statistics. By defining closed-form expressions based on realistic spectrum scenarios, the authors proposed a set of estimators to approximate the PU’s activity statistics in the presence of sensing errors. However, although the study provided considerable statistical analysis to overcome the degradation of performance during the sensing period, it mainly focused on sensing performance metrics and channel state changes, and the transmission power was not discussed in detail, not to mention the EE. The authors of [
18] provided a CoMAC-based spectrum sensing approach and proposed to solve the non-convex EE optimization problem by minimizing the average energy consumption. The sensing thresholds and the golden decision threshold were jointly analyzed in order to define the boundary conditions of sensing performances. More importantly, the authors pointed out that the sensing time optimization is the key issue for improving the sensing performance. They also mentioned that the SUs’ detection accuracy is subject to the average sustainable transmission power of the PU. In [
19], B. Soni et al. adopted a long short-term memory (LTSM)-based spectrum sensing model: a deep learning-based method to extract explicit features by constructing and training the spectrum dataset. Besides, the authors analyzed the PU statistics including active/sleep period duration and duty cycle, based on which the overall sensing performance is further improved.
Several works have contributed to EE formulations in CRN systems. Some classic works [
3,
4] proposed the allocation of a suitable sensing time for SUs to achieve the optimization of the EE function, whereas other recent studies [
18,
20] defined EE as throughput per unit of energy consumption (i.e., unity: bit/Hz/Joule). Then, they took the number of SUs into consideration [
18] and adapted either the optimal rule threshold of fusion or the optimal energy detector threshold [
20] to further improve the performances. The authors of [
1,
6] studied the sensing–EE tradeoff. The sensing and transmission durations were adjusted to the balanced conditions while ensuring the PU’s detection probability at the same time. These studies aimed to reduce the interference risks between a PU and SUs and to avoid greedy accesses by SUs. The authors of [
7] aimed to proportionally deduct the penalty of miss detection and the SUs’ energy cost from the positive throughput gain in order to form a reasonable weighted utility function. Afterwards, they optimized this utility function and found the equilibrium by performing cooperative spectrum sensing. However, the authors did not clarify how to select the weights for the three parts of the unity function, and the definition of utility was purely empirical where persuasive mathematical demonstrations were still lacking. In a recent study [
14], O. I. Khalaf et al. employed the look-up table with rapidly updated access as a sensing database for SUs to work in a cooperative way, where the reporting time can be shortened in comparison with traditional techniques. Moreover, the authors proposed a fuzzy selection scheme to switch SUs’ harvested energy states between their main power source and residential energy, depending on the total energy cost during their sensing and transmission periods. Furthermore, the partial derivatives of EE to transmission power and to sensing time were both calculated mathematically, and the corresponding optimal solutions were analyzed. This study also mentioned the PU transmission power constraints and the influence on SE (i.e., spectrum efficiency) and EE. Nevertheless, the main contribution of the study is the look-up table under the energy-harvesting concept; both of these two novelties are related to SUs. The authors only considered the SNR from the PU’s side, instead of defining EE and its boundary conditions according to the PU’s activity statistics and its transmission power. In our study, we reinforce the study of the relation between the PU’s activity and optimization of EE.
A large number of studies have studied the impact of the PU’s and SUs’ transmission power on the optimization of EE. As we know, EE in the CRN system is basically defined as the throughput per unit energy consumption (i.e., on both the PU and SUs), and the transmission power refers to the energy consumption per unit time. The authors of [
3] proved that EE is a concave function with respect to the transmission power, that an optimum always exists on the power axis, and that the optimum can be obtained by an iterative bisection search. Other contributions applied a golden section method to select an optimal sensing time ratio [
21,
22] and also to jointly determine the optimal transmission power allocation [
21]. In addition, the authors of [
1,
23] investigated the PU’s activities, especially towards the probability of the reactivation of the PU during SUs’ transmission period, which might bring about additional collision risks between PU and SUs. A PU’s frequent reactivation should be noticed in practice, as the system throughput and EE might be directly influenced by this issue. More precisely, as the PU signal is usually modeled as a circularly symmetric complex Gaussian (CSCG) signal and the PU’s active/sleep durations are considered as independent and identically distributed random variables [
24], the range of the PU’s reawake probability should be approximated in advance by statistical analysis [
17] to prevent the network performance and QoS from being degraded. Other existing studies (e.g., [
25,
26]) have focused on the dynamic optimization of the energy detector threshold to make appropriate decisions regarding the PU’s signal and to lower the overall sensing error rate.
In addition, PU protection and SNR provisioning were recently studied in [
2,
3,
17,
27,
28,
29] by setting a lower bound for the detection probability to ensure the sensing accuracy. Other objective functions such as throughput, EE, SE, etc., are analyzed under the sensing performance constraints. Y. Wang et al. [
30] presented opportunistic access schemes to protect a PU during the SUs’ transmission phase without degrading the SUs’ QoS. The authors of a recent article [
31] calculated the peak transmission power of SUs and secondary relays given a PU’s interference threshold; they also considered the power allocation strategies according to the secrecy outage constraints. However, this study did not formulate EE or throughput with these constraints. The coordination between the PU and SUs with the detection accuracy targets remains the major concern of CRNs and deserves to be analyzed with the power constraints, instead of only considering the secrecy outage probability as the performance metrics. W. Zhang et al. [
32] proposed a CSMA/CA-based method on a MAC layer to dynamically calculate the back-off time by supervising the channel states. Moreover, NSS (normal spectrum sensing) and FSS (fast spectrum sensing) were alternatively applied before and after the channel contention period in order to identify the available idle states on the primary channel and to detect the PU’s return for collision avoidance, respectively. However, the proposed method still needs to consider the additional expenditure of the packets’ headers on the MAC layer. The authors of [
33] implemented network coding techniques and determined the average packet delays of the PU and SUs without knowing the channel statistics and packet arrival rates. Then, the authors improved the stable throughput region by the coordination of the PU and SUs. A. Bhowmick et al. [
34] proposed a PU prediction framework under collision constraints. The authors applied an estimated noise power (ENP)-based energy detection (ED) scheme to take over the conventional ED schemes in order to improve the throughput. Moreover, they pointed out that the increasing cooperative sensing efforts can compensate the miss predictions of the PU’s transmission power in order to achieve the ideal network performance. Furthermore, some other previous works [
35,
36] investigated the power allocation schemes in an OFDMA-based CRN system under a PU’s rate loss constraints and tolerable interference constraints, respectively. By assigning an optimal number of unused subcarriers, these methods provided reinforced PU protection during the SUs’ transmission period, without any degradations of network performances (e.g., throughput).
In conclusion, the analysis of the tradeoff between sensing performance and EE has become a major development trend in cognitive radio systems. To guarantee the sensing performance, the boundary conditions of the sensing duration ratio are studied in the literature according to the activity of a PU. To improve EE, the transmission power should be adapted to ensure enough transmission time for SUs and to avoid collisions between the PU and SUs. In this study, we consider both ends of this tradeoff, especially with the impact of a PU’s dynamic activity. Unlike the classic studies [
3,
4] which modeled the EE according to the optimal sensing time and the number of SUs, our study proposes to model the global EE of CRNs with the transmission power constraints for both the PU and SUs. In this way, EE can be modeled precisely in an integrated CRNs system, without ignoring the PU’s transmission power analysis, which can be very decisive for the sensing performance.
3. System Model
We consider a CRN with one PU and N SUs. SUs are assumed to be homogeneous users that have a similar distance to the PU, and a similar averaged SNR (denoted by γ) is assumed to be received at the SU side during the PU’s active state. The signals of the PU and SUs are both considered as independent white Gaussian signals, and the interference of the PU’s circuit power is ignorable (i.e., compared with white Gaussian noise) by an SU during the PU’s idle state. In order to provide sufficient sensing performance, the received SNR γ is particularly defined to guarantee the detection of a PU’s presence and to prevent SUs from collisions caused by miss detection. Apart from γ, which is transmitted by the PU and received at the SU side, it should also be noted that the data rate is calculated based on the SUs’ SNR during data transmission, which is relevant to the transmitted power of an SU.
During the sensing process, SUs take turns to perform sensing by listening to the PU’s signal. Let us denote by
that the PU is available, which means that SUs are accessible, and
indicates that the PU is present, meaning the band is too busy to be reutilized by SUs. The relative probabilities of the PU staying at
and
states are denoted as
,
, respectively. An SU can only access the channel for its own transmission when the PU is detected to be in the
state. Each SU takes an individual decision by comparing the received signal power to an energy detector threshold
ξ, as presented in
Section 3.2.
We denote
= 1, 2, …,
as the number of sensing samples. The main error risks in CRN are expressed in two aspects: (1) a false alarm describes that SU receives 1 and falls into sleep while the channel is actually available (state 0), which leads to spectrum waste; (2) miss detection indicates that SU receives 0 and starts transmission while the channel is occupied by PU, which increases the probability of a collision between the PU and SUs. Given the sensing time ratio
and sampling rate
, according to [
37,
38], the individual false alarm and miss detection probabilities are approximated in (1) and (2) when the number of samples is approaching infinity:
where
Q(
x) is the complementary distributed Gaussian standard function defined by
. The individual sensing results are generalized by the fusion center (FC) which stores the fusion rules and makes a conclusive decision for all SUs. In this study, the
k-out-of-
N rule is applied: the FC requires at least
k positive decisions to be received from
N SUs to make a final decision that the PU is present. Then, the general probabilities [
22] of false alarm and miss detection under the
k-out-of-
N rule are computed as in (3) and (4):
3.1. Energy Efficiency Analysis
To study the energy efficiency of CRN, the cooperative sensing model is divided into four cases where and are jointly considered:
Case 1. The PU is occupied and the SU detects it correctly. SUs transfer the spectrum band to the PU as they have a lower priority. SUs only spend power on sensing and reporting phases denoted by
(
τ and
are defined as the sensing and reporting interval in a frame structure as shown in
Figure 2), where the transmission powers of SUs for reporting and transmission slots are the same and denoted by
, and the sensing power is denoted as
. SUs make a contribution to sensing but receive zero throughput in return in this case.
Case 2. The PU is occupied but the SU detects it to be available (i.e., miss detection). SUs make efforts to achieve both sensing and transmission, but they still suffer serious collisions with the PU during the transmission as they share the same band; then, the total energy cost
is calculated as (5):
The data rate of the SU is denoted as
, and we assume in case (2), that the probability of this case is
. The expected throughput of the SU under miss detection is defined as (6):
Case 3. Under the circumstance of a false alarm, SUs receive an “occupied” state and cease the transmission. However, spectrum waste is caused in this case, as the spectrum band is actually available. The energy cost equals . In return, SUs earn zero throughput as they refuse to transmit data. At the receiving part, the SU exhibits a similar action as in case (1); case (3) is considered as an irregular case as it only results in spectrum waste. In this regard, should be minimized to improve the throughput.
Case 4. A successful transmission is represented by the scenario in which SUs transmit data when the PU is truly available. The energy cost in this case is
. The SUs’ data rate is denoted as
. The interference introduced by the presence of the PU is evident in case (2), while SUs enjoy successful transmissions when no in-band interference happens. Similar to (5), the throughput is calculated as (7):
3.2. Energy Detector
The test statistics defines the average energy detected in
samples received at each SU during its sensing period, which is defined as (8):
Then, the test statistics of each SU are compared individually to a detection threshold
. The probability of detection is defined as the integration of the probability density functions (PDFs)
in the range
, which is shown as (9):
As shown in (3) and (4), the FC collects all test statistics and makes the global decisions with a selected fusion rule (e.g., k-out-of-N, OR, AND, majority, etc.); then, the FC broadcasts the results to the whole CRN. The probability of detection should be determined according to the lower bound of detection, which is , to avoid the potential in-band collisions caused by miss detection. According to approximated equations of detection performance (1) and (2), when the number of samples approaches infinity, the complementary Gaussian function is a monotone decreasing function of . This implies that the decrease in the detection threshold can improve the chance for a PU’s presence to be detected. However, this action does not only increase but also increases because and change in the same direction with . Thus, the throughput also tends to decrease. For instance, from (1), it is indicated that should always exist in order to keep below 0.5; from (2), we can deduce that should be kept beneath a threshold to satisfy the detection requirement. In this regard, it is difficult for to thoroughly optimize the energy efficiency while meeting the detection requirement at the same time.
5. Simulation Results
Our simulations are implemented using MATLAB. The initial parameters of the simulations are presented in
Table 3. For the fusion rule,
k is tested from 1 to
N. The SNR at the transmit end of SUs is considered as 20 dB, based on which C_00 is calculated as 6.65 bps/Hz.
In
Figure 3, we take an example of
N = 4, with different
k values applied for the fusion rule. The individual probabilities of detection and false alarms depend on the values of
k. In this figure,
= 0.9 and
are defined as the threshold of detection/false alarm probabilities; since the fusion rule is more difficult to be satisfied for a larger
k, the threshold of an SU’s individual probability is also increased. For example, the AND rule (
k =
N = 4) requires a detection probability of 0.974 to be reached, while the OR rule (
k = 1) only requires a value of 0.438. This implies that the minimum SNR in (18) which follows the requirement of sensing performance is also a function of
k. More details of the impact of fusion rules are shown in the following figures.
Figure 4 and
Figure 5 indicate the impact of the idle and active ratio on the optimization, respectively.
Figure 4 draws the contour lines of different
thresholds, which reflect the target sensing performance. It is observed that at the same
value, if the target detection probability
increases, then the target false alarm probability
can be relaxed (i.e., increased). In this figure, when
reaches 7.7884 where a low presence of the PU occurs,
performs no better than 0.812, whereas
exceeds 0.454. In return, a higher
also contributes to a larger EE.
Figure 5 shows an example of the three-dimensional curve of EE. We observe that EE increases with
until the threshold
= 5.044 (the red line
Figure 5) is reached at
= 0.9,
= 0.5,
k = 3. For a specified
, a unique peak of EE can be found by implementing the bisection search on the sensing ratio axis.
The complexity of our algorithm is calculated as , based on the bisectional division of the searching interval to the error rate. Given the probability of the PU’s presence, it takes less than 10 iterations to achieve the optimized EE at . For instance, it takes an execution time of 0.3248 s to reach the optimum using an iterative bisection search, which is estimated using a MATLAB tool function for the running time.
Figure 6 and
Figure 7 present the optimized EE under different fusion rules and network environments. For
N = 6 SUs, the best case of EE approaches 4.8 when
k = 3 at the cost of only a 4% sensing ratio in an SU’s frame. The EE of
k around (
N/2) performs better than other values of
k, especially when compared with OR (
k = 1) and AND (
k =
N = 6) rules. Therefore, in our following simulations, the “majority” rule is applied in order to obtain the optimum. As the “majority” rule is considered to be the most common and stable fusion rule, it is applied for our simulations to test the optimum.
Figure 8,
Figure 9 and
Figure 10 present a set of figures of the maximum EE and related optimized sensing ratio by a bisection search. By analyzing
Figure 8, we can infer that SUs need more time for sensing when a larger
is required. On the contrary, as an upper limit of
,
is used to estimate the minimum presence of the PU; however, it has no impacts on the optimized sensing ratio. Although
has an impact on
, and thus it influences the maximum EE, the optimized sensing ratio is only dependent on
and irrelevant to
. However,
influences both the optimized sensing ratio and the optimum EE, as it contributes to both
and
. For example, with
increasing from 0.9 to 0.95, the sensing time increases up to about 20% and the optimum EE value decreases by around 10%. This is because a higher
requires a higher sensing effort from SUs in order to achieve the sensing performance target, but in return, the EE is lower because the opportunistic access of SUs is limited.
Figure 9 and
Figure 10 show that when the sensing performance requirements become stricter (i.e., a higher
or lower
), the minimum presence of the PU increases and EE becomes smaller, as argued in our first theorem. It should be pointed out that
cannot be too greedy, although a larger
contributes to a higher EE. In practice,
should be designed based on the conditions of SNR and the minimal sensing ratio
. For example, at
= 3 ms,
should be no smaller than 0.1752 at an SNR of −16 dB and 0.4290 at an SNR of −18 dB. The decrease in
to approach these values can improve the intensity of sensing performance metrics and increase the throughput of data transmission during the PU’s “OFF” state.
Figure 11 shows the impact of random PU activities compared with the EE-oriented optimal PU activities in a practical view. Given the value of
, the optimal sleeping probability of the PU
equals 0.835, according to the output result of
MATLAB. Other access activities of the PU are tested under the same SNR requirement. When the presence of the PU is sufficient for the performance metrics, the optimal EE increases slightly with the SNR requirement, and the portion of the difference of EE with optimal
almost stays the same for any received SNR. However, the PU’s redundant presence interferes with EE by occupying the access opportunities of SUs; thus, the curve of
= 0.8 lies beneath the optimal
. In addition, it is observed that EE is reduced when the energy provisioning from the PU is not sufficient (e.g.,
= 0.85, 0.9). The more the PU is absent, the less the EE is present due to the increased false alarm risks, and the disadvantage becomes even more evident if a better SNR condition is required. As a result,
Figure 11 indicates that the optimally designed PU activities can result in a higher EE for the whole CRN network, and this better resolves the tradeoff between the sensing performance and access opportunities of SUs.