1. Introduction
The explosive increase in the wireless service demand has made radio spectrum scarcity a serious problem. Cognitive radio has been proposed to improve the spectrum utilization by allowing secondary users (SUs) to opportunistically access the vacant frequency bands [1]. Since a cognitive radio network is designed to be aware of its surroundings, it is necessary for SUs to sense whether primary users (PUs) are active or not. Spectrum sensing is a critical task for cognitive radio system mainly due to noise, channel fading and shadowing [2][3][4].
Recently, sequential spectrum sensing strategy has received growing attention [5][6], in which the SUs sequentially sense the channels according to a pre-defined order and stop to sense when specific criterions are met. Sequential sensing strategy only senses one channel at a time. However, when the bandwidth is wide and the channel occupancy rate is high, the sequential sensing strategy needs a large amount of sensing resources causing the sensing efficiency to be greatly reduced. An adaptive multiband sensing approach has been proposed for rapidly identifying multiple spectrum holes in wideband cognitive radio network. The sensing method consists of two phases, a exploration phase and a detection phase [7]. In the exploration phase, the size of candidate idle channel set is reduced by excluding channels that are likely to be occupied by the PUs. In the detection phase, the final detection is performed to determine the idle channels. The sensing samples are distributed to focus the limited sensing resources on the more promising channels. This adaptive sensing strategy provides a significant performance gain under the scenario that holes are sparsely scattered across the wideband spectrum. However, the exploration phase in the adaptive sensing approach lengthens the sensing time, which accordingly decreases the transmission time. Consequently, there exists a sensing-throughput tradeoff in sensing time setting and transmission time setting. In [8], the optimal tradeoff is investigated so as to optimally utilize the transmission opportunities in a single channel for a single SU. In [9]-[12], the optimal tradeoff of cooperative sensing with multiple SUs are studied in a single channel.
In this paper, we optimize both the overall sensing time and the sensing time for every stage in the exploration and detection phases for multiband spectrum sensing. An optimization problem is formulated to maximize the average achievable throughput by jointly designing the overall sensing time, and the sensing time for every stage in the exploration and detection phases, while keeping the miss detection probability for each channel under a pre-defined threshold. The initial non-convex optimization problem is further transformed into a convex bilevel optimization problem to make it mathematically tractable. Simulations show that compared with the existing studies, the proposed sensing time setting can provide a significant throughput performance gain.
The rest of this paper is organized as follows. In Section II, the system model is given. In Section III, we formulate the optimization problem and prove that the problem is a convex bilevel problem. In Section V, we provide simulation results to demonstrate the performance. Finally, conclusions are drawn in Section VI.
2. System Model
A cognitive radio system with N channels is considered. Each channel has a bandwidth of W. Time is divided into slots, each with a fixed length T. In each slot, the primary user in the channel is assumed to be either active or idle for the whole slot. The channels among primary and secondary users are assumed to remain unchanged within each slot.
For channel n, we have the following hypotheses:
where mean that the primary user in channel n is idle and busy respectively, m is the sample index, y(.) is the received signal of channel n at the secondary user. wn (.) is the additive white Gaussian noise with variance corresponding to the channel n. sn (.) is PU’s signal sample at the channel n and is assumed to be independent and identically distributed with variance as the received signal-to-noise (SNR) in channel n.
In the adaptive multiband spectrum sensing method, each slot includes two phases: a multi-stage exploration phase and a detection phase [7]. The exploration phase is essentially a coarse sensing process, and it consists of K iteration stages. In each stage, the size of candidate idle channel set is reduced by excluding channels that are likely to be occupied by the PU. We denote Ik as the set of surviving channels at the end of k-th stage, then after the k-th stage, the number of remaining channels is Nk = | Ik | = Nαk, where 0 < α < 1 is called the distillation ratio, which is the percentage of channels that survive at each stage. Fig. 1 shows the adaptive multiband spectrum sensing structure.
Fig. 1.Adaptive multiband spectrum sensing structure
The statistic of the received energy in channel n at the k-th stage is
where μ is the sampling rate of the received signal, τk is the sampling time for per channel at the k-th stage. (2) is equivalent to Sort the Nk-1 = | Ik-1 | energy values in ascending order, to obtain Nk channels with the smallest energy values as the new set of surviving channels Ik. Although the new set is obtained by comparing the energy values between the Nk-1 - channels, the decision process at the k-th stage can be seen as comparing the statistic in (2) with a virtual threshold The probability distribution function (pdf) of in channel n at the k-th stage is
where N denotes Gaussian distribution. So, the false alarm probability (i.e., the probability that, under hypothesis the SU falsely declares that the primary signal is active) of channel n at the k-th stage is given as
and miss detection probability (i.e., the probability that, under hypothesis the SU falsely declares that the primary signal is inactive) of channel n at the k-th stage is given as
where Q(.) is the Q function, defined as
At the end of the exploration phase, a small subset of the original N channel is obtained, for which the final detection to determine the identified idle channels is performed. In the detection phase, we update the energy of each channel in Ik as
where τD is the sampling time for each channel in Ik during the detection phase. (6) is equivalent to The candidate set of idle channels is is the decision threshold. Similar to the k-th stage, we can get the false alarm probability and miss detection probability of the detection phase as
and
The overall false alarm probability of channel n is seen as the probability that the SU falsely declares that the primary signal is active in every stage of the exploration phase and the detection phase under hypothesis The overall miss detection probability of channel n is seen as the probability that the SU falsely declares that the primary signal is inactive in every stage of the exploration phase and the detection phase under hypothesis The overall false alarm probability and the overall miss detection probability are calculated as
and
which are similar to the OR-Rule in the cooperative sensing scheme.
When channel n is indeed free and is detected to be free, the achievable transmission rate of channel n is where Ps the received power of the secondary user and N0 is the noise power [8]. When channel n is busy and is detected to be free, the achievable transmission rate of channel n is where Pp the interference power of primary user measured at the secondary receiver [8]. Then, the average throughput of secondary user is given as
where τ is the overall sensing time and Here we consider the scenario that all the candidate channels for the secondary user are licensed to a single primary user (e.g. a base station of cell networks), which means that the SNR of every candidate channel is approximately the same. For simplicity, we assume that the active probability is equal in all the channels, which means that Therefore, the throughput in (11) is equivalent to
3. Optimal Sensing Time Setting for Multi-stage Exploration Phase and Detection Phase
In this section, an optimal sensing time allocation problem for multi-stage exploration phase, the detection phase and overall sensing procedure is formulated and addressed resulting in maximizing the average throughput. The miss detection probability in each channel should be smaller than a threshold that is denoted Pth so as to protect the activities of primary users. Then, the problem can be formulated as
The problem above is not a convex problem. To solve it, we use the bilevel optimization [13][14], in which the lower level problem is to optimize { τ1,τ2,…,τk,τD } with a fix τ, whereas the upper level problem is to optimize the overall sensing time τ. Specifically, the lower level problem is
which is subject to the constraints (13b)-(13e).
Lemma 1: The objective function Up in problem PL1 achieves the maximal value when Pmd = Pth.
Proof: In the multi-stage exploration phase, at the k-th stage, we select Nk = αNk-1 channels as the surviving channels from Nk-1 candidate channels. Because the idle channels are sparsely distributed among a large number of channels, the miss detection probability at the k-th stage is approximately calculated as Using (4) and (5), the false alarm probability at the k-th stage can be written as a function of the detection probability
It can be seen that the false alarm probability and the miss detection probability at the k-th stage are irrelevant to the threshold λk. There are K stages in the exploration phase. From (9) and (10), we can obtain the overall miss detection probability and the overall false alarm probability as
and
From Equation (7) and (8), it can be seen that grow with the increase of λD. When the overall miss detection probability Pmd reaches the limit Pth, the overall false alarm probability Pfa also reaches the maximum value. Therefore, The objective function Up achieves the maximum value when Pmd = Pth.
This completes the proof.
Based on Lemma 1, the lower level problem PL1 is equivalent to the problem
which is subject to the constraints (13c)-(13e). The objective function in problem PL1 can be rewritten as UP = Pr(H0)C0SP + Pr(H1)C1Pth.
Lemma 2: Problem PL2 is a convex problem under condition C1 which includes that when Pth ≥ αK+1 at α ≤ 0.5 and Pth > αK(1-α) at α > 0.5 , and when Pth < αK+1 at α ≤ 0.5 and Pth ≥ αK(1-α) at α > 0.5.
Proof: In the proof of Lemma 1, we have the miss detection probability Thus, the false alarm probability in the multi-stage exploration phase and detection phase are given as
and
Taking logarithm to the objective function Sp, we have
Based on (19), we have
Further, we have
Since spectrum opportunity is sparsely distributed in the sensing band, we expect that the false alarm probability is no greater than 0.5 in every stage of the exploration phase. It is equivalent to the following two inequalities
which mean that
and
Since τk ≥ 0 for any k, (25) is equivalent to In the detection phase, we expect the miss detection probability is no larger than 0.5, and we can achieve this by properly setting parameter a and K to obtain And when Pth < αK+1 at α ≤ 0.5 and Pth ≥ αK (1-α) at α > 0.5, we have which means TD > Tk. So it should be satisfied that
Under the above conditions, we have Then it can be obtained that Therefore, Slp is a concave function for {T1,T2,…,TK,TD}. Because the objective function Sp is the exponent function of Slp and exponent function is concave and nondecreasing, Sp is also a concave function for {T1,T2,…,TK,TD} [14, page 84].
Denote T = [T1,T2,…,TK,TD]T, τ = [τ1,τ2,…,τK,τD]T From the constraint (13c), we have T = Aτ, where A is a (K +1)? (K 1) lower triangular matrix with the nonzero elements equal to 1. Since Sp is a concave function for {T1,T2,…,TK,TD}, after the operation of composition with an affine mapping [14, page 79], Sp is also a concave function for {τ1,τ2,…,τK,τD}.
This completes the proof.
Since the problem PL2 is convex, the lower level problem PL1 is also convex, and it can be solved by convex optimization methods. So, the optimal solution of {τ1,τ2,…,τK,τD} for a given τ can be obtained. By denoting U*p(τ) as the optimal objective value of the lower level problem PL1 with a specific τ, the upper level problem is given as:
Lemma 3: Problem PU1 is a convex problem under condition C1.
Proof: Define two variables τ(1) and τ(2), assume that τ(1) < τ(2). For τ = τ(1) , the optimal solution to problem PL1 is and the optimal objective value is the optimal solution to problem PL1 is and the optimal objective value is U*p(τ(2)).
Denote a new set which satisfies
It can be seen that the new set is a feasible solution to problem PL1 with τ = τ(2). Because U*p(τ(2)) is the optimal objective value to problem PL1 with τ = τ(2), we have
where Since τ(1) < τ(2), we have and further we have Therefore, it can be obtained that is an increasing function with respect to τ. Then, we have
We rewrite the optimal objective value of the lower level problem PL1 as where A is the feasible domain defined in problem PL1. It has been proved that Up (τ, τ) is the concave function with respect to τ. Since τ is the linear combination of the elements in τ, with the operation of composition with an affine mapping, Up (τ, τ) is also the concave function for τ. Then, according to the pointwise supremum property [14, page 79], it can be obtained that is the concave function with respect to τ. So, we have
The second order derivative of Cp(τ) is given as
Since from Equation (30) we have Therefore, problem PU1 is a convex problem under condition C1.
This completes the proof.
By Lemma 2 and Lemma 3, we prove that the problem is a convex bilevel problem, which can be solved by existing methods.
4. Simulation Results
In this section, simulations are provided to illustrate the performance of the proposed algorithm. Similar to [7], we consider a system consisting of N=100 channels. The sampling frequency is set to be μ 600 kHz. The overall miss detection probability constraint is set as Pth = 0.0625. The distillation ratio of the adaptive method is set to be α=0.5 and the number of stages in the exploration phase is set as K = 3.
Fig. 2 shows the maximum achievable normalized throughput of the proposed algorithm and compares the proposed algorithm with the exhaustive search algorithm, the no optimization scheme [7] with the equal sampling budget allocation and fixed overall sensing time, the adaptive partial optimization scheme [8] with the total sensing time as the optimization variable. The SNR is -10dB. It is obvious that the concave-shaped curve of proposed algorithm is consistent with the conclusion in Lemma 3. Compared with the exhaustive search curve, the proposed algorithm is close to the optimal. Compared with the no optimization scheme [7] and partial optimization scheme [8], the proposed algorithm provides a significant performance gain.
Fig. 2.Normalized throughput versus t.
Fig. 3 compares the throughput performance between the proposed algorithm, the exhaustive search algorithm, the no optimization scheme [7] and the adaptive partial optimization scheme [8] in different SNR. For every SNR, there exists an optimal overall sensing time for a fix frame duration T [8]. When SNR is low, it needs more sensing time to maintain the given target probability of detection, thus, the optimal overall sensing time is relatively long. For example, when SNR=-10dB the optimal sensing time is 19ms, which is shown in figure 2. So the performance of no optimization τ=10ms and 15ms are better than that of no optimization τ=5ms. When SNR is 0dB, the case is opposite. The curve of partial optimization in figure 3 shows the performance with the optimal overall sensing time. The optimal overall sensing time at SNR=0dB is close to 5ms. So the curves of no optimization τ=10ms and τ=15ms are worse than that of no optimization τ=5ms when SNR is 0dB. curve of proposed algorithm is almost coincide to the exhaustive search algorithm. Comparing with the scheme without optimization [7] under different fixed overall sensing time, the throughput of the proposed algorithm shows significant performance improvement. The performance of the proposed algorithm is also better than that of the partial optimization algorithm [8]. The gain is obtained from the optimization of the sensing time for each stage of The the exploration phase.
Fig. 3.Normalized maximal throughput versus SNR.
The computational complexity of the proposed algorithm is summarized as follows. When optimizing the overall sensing time, we divide the overall sensing time into M parts for searching. For each sensing time in the exploration and detection phases, it needs K operations. There is K+1 sensing time in the proposed algorithm, so the computational complexity is O(MK2). The comparison of computational complexity in our computer between the proposed algorithm, the no optimization scheme [7] and the adaptive partial optimization scheme [8] is given in Table 1. It is observed that the proposed algorithm obtains throughput improvement at the price of higher complexity. Considering the fact that in practice, the number of stages K in the exploration stage is very small (e.g., K<10), the complexity of the proposed algorithm is allowable for general systems.
Table 1.Computational complexity
5. Conclusions
In this paper, we have studied the problem of throughput tradeoff in adaptive multiband spectrum sensing procedures. This has been achieved by optimizing not only the overall sensing time but also the sensing time for the exploration and detection phases. We have transformed the initial non-convex optimization problem to a convex bilevel optimization problem. Comparing the adaptive method with equal sampling budget allocation and fixed overall sensing time, the proposed scheme provides a significant improvement on the throughput of the secondary user.
In this research, the problem is formulated when the distillation ratio of the adaptive method a and the number of stages in exploration phase K are fixed. How to implement the joint optimization of the distillation ratio a, the number of stages in the exploration phase K, overall sensing time t and the sensing time for the exploration and detection phases are interesting research topics for further investigation.
References
- S. Haykin, "Cognitive radio: brain-empowered wireless communications," IEEE Journal on Selected Areas in Communications, vol. 23, no. 2, pp. 201-220, Feb.2005. https://doi.org/10.1109/JSAC.2004.839380
- S. Haykin, D. J. Thomson, and J. H. Reed, "Spectrum sensing for cognitive radio," Proc. IEEE, vol. 97, no. 5, pp. 849-877, May 2009. https://doi.org/10.1109/JPROC.2009.2015711
- T. Yucek and H. Arslan, "A survey of spectrum sensing algorithms for cognitive radio applications," IEEE Commun. Surveys and Tutorials, vol.11, no. 1, pp. 116-130, 1st Quarter 2009. https://doi.org/10.1109/SURV.2009.090109
- Q. Wu, G. Ding, J. Wang, and Y. Yao, "Spatial-temporal opportunity detection for spectrum-heterogeneous cognitive radio networks: Two-dimensional sensing," IEEE Transactions on Wireless Communications, vol. 12, no.2, pp. 516-526, Feb. 2013. https://doi.org/10.1109/TWC.2012.122212.111638
- Y. Xu, A. Anpalagan, Q. Wu, L. Shen, Z. Gao and J. Wang, "Decision-theoretic distributed channel selection for opportunistic spectrum access: strategies, challenges and solutions", IEEE Communications Surveys and Tutorials, vol.15 , no.4, pp.1689-1713, 4th Quarter 2013. https://doi.org/10.1109/SURV.2013.030713.00189
- H. T. Cheng and W. Zhuang, "Simple channel sensing order in cognitive radio networks," IEEE Journal on Selected Areas in Communications, vol. 29, no. 4,pp. 676-688, 2011. https://doi.org/10.1109/JSAC.2011.110402
- Y. Feng, and X. Wang, "Adaptive multiband spectrum sensing," IEEE Wireless Communications Letters, vol.2, no.2, pp.121-124, Apr. 2012.
- Y.-C. Liang, Y. Zeng, E. C. Y. Peh, and A. T. Hoang, "Sensing-throughput tradeoff for cognitive radio networks," IEEE Transactions on Wireless Communications, vol. 7, no. 4, pp. 1326-1337, Apr. 2008. https://doi.org/10.1109/TWC.2008.060869
- R. Fan and H. Jiang, "Optimal multi-channel cooperative sensing in cognitive radio networks," IEEE Transactions on Wireless Communications, vol. 9, no.3, pp. 1128-1138, Mar. 2010. https://doi.org/10.1109/TWC.2010.03.090467
- R. Fan, H. Jiang, Q. Guo and Z. Zhang, "Joint optimal cooperative sensing and resource allocation in multichannel cognitive radio networks," IEEE Transactions on Vehicular Technology, vol. 60, no. 2, pp.722-729, Feb. 2011. https://doi.org/10.1109/TVT.2010.2096545
- H. Hu, Y. Xu, Z. Liu, N. Li and H. Zhang, "Optimal Strategies for Cooperative Spectrum Sensing in Multiple Cross-over Cognitive Radio Networks", KSII Transactions on Internet and Information Systems, vol. 6, no. 12, pp.3061-3080, Dec. 2012.
- X. Zhang, Q. Wu, X. Li and Z. Yun, "Optimal Cooperation and Transmission in Cooperative Spectrum Sensing for Cognitive Radio", KSII Transactions on Internet and Information Systems, vol. 7, no. 2, pp.184-201, Feb. 2013. https://doi.org/10.3837/tiis.2013.02.001
- C. Floudas and P. M. Pardalos, Encyclopedia of Optimization, Springer Press, 2nd edition, 2009.
- S. P. Boyd and L. Vandenberghe, Convex Optimization, Cambridge University Press, 2004.