Keywords

1 Introduction

Cognitive radio (CR) is a potential solution to the scarcity of spectrum resource. Current inflexible spectrum allocation policy causes spectrum shortage problem and low utilization ratio [1].

In CR network, the spectrum bands are allocated to primary users (PU). Secondary users (SU) should sense the radio environment and adaptively choose the transmission parameters according to sensing result to avoid the interference to Pus [2]. It is a fundamental issue in CR networks that SUs should be able to efficiently and effectively detect the presence of Pus [3, 4]. The PU is the owner of the channel and SUs rent the spectrum when it is idle. To improve the opportunity of SUs to access the spectrum channel, we can use multiple SUs that work corporately to sense a single channel.

The basic tradeoff in the cooperative spectrum sensing method is as follows: if more SUs are assigned to sense one channel, higher sensing performance can be achieved, however, the total transmission power of the signal measurement and the overhead traffic in the secondary networks grows approximately linearly with the number of cooperating SUs [5]. It is an important issue to balance the two aspects, throughput and energy to achieve the maximum usage of spectrum and energy resource. Considering that SUs are always battery-powered, energy efficiency is important for CR networks.

Deng divided the sensors into a number of non-disjoint feasible subset such to extend the lifetime of sensors [6]. Hu et al. [7] focused on the optimization of the final decision threshold to maximize the energy efficiency for different signal channels. Nardelli et al. [8] provided a throughput analysis based on location information. Monemian and Mahdavi [9] supposed a new energy-based sensor selection algorithm was proposed to provide approximately the same lifetimes for sensors via the appropriate design of cooperative spectrum sensing.

In this paper, we provide an optimization model to discuss the system performance in with respect to energy efficiency and introduce an adaptive factor to make the model more flexible. We analyze the model and give the simulations of different fusion rules.

2 System Model

Since spectrum and energy are both precious resources that should be considered. We propose a model of throughput and energy consumption with adaptive factor to discuss the influences of sensing time and number of secondary users.

2.1 Frame Structure of Cooperative Spectrum Sensing

Figure 1 shows the frame structure of cooperative spectrum sensing [1]. It can be divided into three different parts: sensing, reporting and transmitting slots. SUs periodically sense the spectrum for an ideal channel. In cognitive radio network (CRN), all SUs sense the spectrum. The primary channel sensing result of SUs will then be transmitted to the base station. The base station analyzes the data and determines if the spectrum is ideal.

Fig. 1
figure 1

Frame structure of cooperation spectrum sensing

2.2 Energy Detection

Each sensor performs spectrum sensing independently. The sensor will compare the collected energy E i with a predefined threshold ε to determine if the channel is busy.

The false alarm probability and detection probability of the sensor are defined as:

$$ P_{f} = \Pr \left\{ {D_{i} = 1|H_{0} } \right\} = \Pr \{ E_{i} > \varepsilon_{i} |H_{0} \} = Q\left( {\frac{{\varepsilon - f_{s} \tau }}{{\sqrt {2f_{s} \tau } }}} \right), $$
(1)
$$ P_{d} = \Pr \left\{ {D_{i} = 1|H_{1} } \right\} = \Pr \{ E_{i} > \varepsilon_{i} |H_{1} \} = Q\left( {\frac{{\varepsilon - f_{s} \tau - \gamma }}{{\sqrt {2f_{s} \tau + 4\gamma } }}} \right), $$
(2)

where γ=σ 2 x /σ 2 n is the received signal-to-noise ratio, H 1 indicates when the channel is busy and H 0 indicates when the channel is ideal.

2.3 Cooperative Spectrum Sensing

Multiple sensors can be coordinated to perform cooperative spectrum sensing to solve the hidden terminal problem by fusing the sensing result of all SUs to avoid errors. The sensors forward their decisions to the base station. The base station fuses these decisions to make the final decision. The decision fusion rules at base station are “OR”, “AND” and “K/N”. The “OR” rule can be stated as:

$$ \left\{ \begin{aligned} Q_{d} = 1 - \mathop {\prod }\limits_{i = 1}^{N} (1 - P_{d,i} ) \hfill \\ Q_{f} = 1 - \mathop {\prod }\limits_{i = 1}^{N} (1 - P_{f,i} ) \hfill \\ \end{aligned} \right.. $$
(3)

The “AND” rule can be stated as:

$$ \left\{ \begin{aligned} Q_{d} = \mathop {\prod }\limits_{i = 1}^{N} P_{d,i} \hfill \\ Q_{f} = \mathop {\prod }\limits_{i = 1}^{N} P_{f,i} \hfill \\ \end{aligned} \right.. $$
(4)

The “K/N” rule can be stated as:

$$ \left\{ \begin{aligned} Q_{d} = \Pr \left\{ {D_{i} = 1|H_{1} } \right\} = { \Pr }\left\{ {\mathop {\sum }\limits_{i = 1}^{N} D_{i} \ge k|H_{1} } \right\} \hfill \\ Q_{d} = \Pr \left\{ {D_{i} = 1|H_{1} } \right\} = { \Pr }\left\{ {\mathop {\sum }\limits_{i = 1}^{N} D_{i} \ge k|H_{1} } \right\} \hfill \\ \end{aligned} \right.. $$
(5)

2.4 Model Description

The cooperative radio network has four states. A SU can transmit data when it is p(H 0|H 0) or p(H 0|H 1). Since data transmission fails at p(H 0|H 1), the normalized throughput of SU is:

$$ R_{S} (L,\tau ) = C_{S} \left( {\frac{{T - \tau - LT_{R} }}{T}} \right)\left( {1 - Q_{f} \left( {L,\uptau} \right)} \right)p\left( {H_{0} } \right), $$
(6)

where C S is the channel capacity, L represents the number of cooperative spectrum sensing users, τ is sensing time, T is the length of time frame, T R is the result reporting time of one SU, Q f (L, τ) is false positive probability. We suppose that data can only be transmitted successfully at p(H 1 |H 1 ), the normalized throughput of SU is:

$$ R_{P} (L,\uptau) = C_{P} Q_{d} \left( {L,\uptau} \right)p\left( {H_{1} } \right). $$
(7)

Power consumption can be shown as four different parts:

  1. 1.

    Spectrum channel is ideal and SU transmits data. p(H 0|H 0)

    In this situation, the power cost is C 00(L, τ) = LτP S  + LT R P R  + LTP C  + (T − τ − LT R )P T  + P CP T.

  2. 2.

    PU does not transmit data and fusion center gives an incorrect result. p(H 1|H 0).

    The power cost of this situation is C 10(L, τ) = LτP S  + LT R P R  + LTP C  + P CP T.

  3. 3.

    PU transmits data in the channel and fusion center does not detect it. p(H 0 |H 1)

    The power cost is C 01(L, τ) = LτP S  + LT R P R  + LTP C  + (T – τ − LT R )P T  + P CP T + P TP T.

  4. 4.

    PU transmits data and the fusion data gives the right result. p(H 1|H 1)

    The power cost of this situation is C 11(L, τ) = LτP S  + LT R P R  + LTP C  + P CP T + P TP T.

Hence we get the average power cost:

$$ \begin{aligned} P\left( {L,\uptau} \right) & = p(H_{0} |H_{0} )C_{00} (L,\uptau) + p(H_{1} |H_{0} )C_{10} (L,\uptau) \\ & \quad + p(H_{0} |H_{1} )C_{01} (L,\uptau) + p(H_{1} |H_{1} )C_{11} (L,\uptau). \\ \end{aligned} $$
(8)

P s is the power of sensing the spectrum, P R is the power of reporting result to base station, P T is the SU’s power of transmitting packets, P C is the power lost in circuit. P CP is the circuit loss of PU, P TP is the transmission power of PU.

The power efficiency can be represented as:

$$ EE(L,\tau ,\alpha ) = \frac{{R_{P} (L,\uptau)(1 - \alpha ) + R_{S} (L,\tau )\alpha }}{{P\left( {L,\uptau} \right)}} = \frac{{R(L,\uptau,\alpha )}}{{P\left( {L,\uptau} \right)}}. $$
(9)

Hence we get the optimization problem:

$$ \begin{array}{*{20}l} {\mathop {\hbox{max} }\limits_{L,\tau } EE(L,\tau ,\alpha )} \hfill \\ {s.t. Q_{d} \left( {L,\uptau} \right) \ge \bar{Q}_{d} } \hfill \\ {\alpha \in [0,1]} \hfill \\ {1 \le L \le N} \hfill \\ {L \in N} \hfill \\ {T - \tau - LT_{R} \ge 0} \hfill \\ {\tau \ge 0} \hfill \\ \end{array} , $$
(10)

α∈[0,1] is the adaptive factor.

Theorem

If the number of SUs is fixed, analyze the relationship between energy efficiency and length of sensing time. We find the partial derivate of energy efficiency with respect of sensing time, if there exists a point that makes the partial derivate equal to 0, there exists an optimal point that get the maximum value of energy efficiency.

Proof

Find the partial derivate of energy efficiency:

$$ \frac{{{\partial }EE(L,\tau ,\alpha )}}{{{\partial \tau }}} = \frac{{P\left( {L,\uptau} \right){\partial }R(L,\tau ,\alpha ) - R(L,\tau ,\alpha ){\partial }P\left( {L,\uptau} \right)}}{{{\partial }\tau P\left( {L,\uptau} \right)^{2} }}. $$
(11)

Then we get the partial derivate of throughput and energy:

$$ \frac{\partial R(L,\tau ,\alpha )}{\partial \tau } = C_{1} \alpha (1 - Q_{f} \left( {L,\uptau} \right)) + C_{2} \tau \alpha \frac{{\partial Q_{f} \left( {L,\uptau} \right)}}{\partial \tau } + C_{3} (1 - \alpha )\frac{{\partial Q_{d} \left( {L,\uptau} \right)}}{\partial \tau }, $$
(12)
$$ \frac{\partial P(L,\tau )}{\partial \tau } = C_{4} + C_{5} \frac{{\partial Q_{d} \left( {L,\uptau} \right)}}{\partial \tau } + C_{6} \frac{{\partial Q_{f} \left( {L,\uptau} \right)}}{\partial \tau }, $$
(13)

where C 1, C 2, C 3, C 4, C 5, and C 6 are constants. We use “AND” rule in (4) as an example to find the partial derivate of false alarm probability and detect probability: \( \frac{{\partial Q_{f} }}{\partial \tau } = L(1 - P_{f} )^{L - 1} \frac{{\partial P_{f} }}{\partial \tau },\frac{{\partial Q_{d} }}{\partial \tau } = L(1 - P_{d} )^{L - 1} \frac{{\partial P_{d} }}{\partial \tau } \). Since τ ∈ [0, T], we find the values of terminal points, \( \tau = 0,\frac{{\partial P_{f} }}{\partial \tau } \to - \infty ,\frac{{\partial Q_{f} }}{\partial \tau } \to - \infty \). In this model, we fix the value of detection probability, then we have \( \frac{{\partial Q_{d} }}{\partial \tau } = 0 \). Then we get \( \frac{\partial EE(L,\tau )}{\partial \tau } > 0 \) at the point τ = 0 if C S αP(H 0) > C P (1 − α)P(H 1). By the same method, we can get \( \frac{{\partial Q_{f} }}{\partial \tau } \to 0 \) at the point τ = T. Then we have \( \frac{\partial EE(L,\tau )}{\partial \tau } < 0 \). Since it is a continuous function, there always exists a sensing time that satisfies the optimal energy efficiency. Similarly, we can also prove that when the length of sensing time is fixed, there are a specific number of SUs that satisfies the optimal energy efficiency.

3 Simulations

In the following simulations, we suppose the base station can confirm the location of every SU. Signals received by each SU have the same SNR. We set γ i  = −20 dB, T = 20 ms, T R  = 0.1 ms, Q d  = 0.9. We suppose P TP  = 4P T .

3.1 Simulations Results of “AND” Rule

Horizontal axis indicates the value of sensing time in Fig. 2a and the number of SUs in Fig. 2b. We use different linetypes to distinguish the value of τ and L, use different symbols to distinguish the value of α. As we can see from the Fig. 2a, α effectively affects the value of energy efficiency. Maximum value is higher when α is 0.8. It is because of the high expense the PU paid while transmitting the same amount of data. As we can see from the Fig. 2b, we can see from the figure that if α is higher, which means consider less about the throughput of PU, the value of energy efficiency is lower when sensing time is 1 ms.

Fig. 2
figure 2

Simulations results of “AND” rule, a energy efficiency versus the sensing time, b energy efficiency versus number of SUs

3.2 Simulations Results of “OR” Rule

The “OR” rule in (3) means if all SUs report the same result of spectrum sensing, then the fusion center determines the situation is true. The “OR” rule is always used to protect the access of PU. As such, the SUs have fewer chances to use the channel. As we can see from Fig. 3a, the energy efficiency of the model increase at first and after reaching the optimal point, decrease as the sensing time grows up. Figure 3b shows us as L increases the energy efficiency firstly increase and then decrease. The value of energy efficiency is affected by different parameters. Given three different specific sensing time to observe how the number of SUs influence the energy efficiency.

Fig. 3
figure 3

Simulations results of “OR” rule, a energy efficiency versus the sensing time, b energy efficiency versus number of SUs

3.3 Simulations Results of “K/N” Rule

If more than half of the SUs report the same result, the fusion center decides the result to be true. We can see from the Fig. 4a that the curves of energy efficiency are also convex. There must have a point for every spectrum sensing to get the best energy efficiency. As we can see from Fig. 4b, the curve is not smooth because of the half value rounded up if the number is not integer. Its influence is very obvious when the number of SUs is small.

Fig. 4
figure 4

Simulations results of “K/N” rule, a energy efficiency versus the sensing time, b energy efficiency versus number of SUs

4 Conclusion

Multiple SUs working cooperatively in cognitive radio improved the usage rate of spectrum, but spectrum is not the only resource needed to be considered. Energy consumption is also a very important when designing the CR network. We have proposed an energy efficiency model with an adaptive factor to discuss the influence of sensing time and number of SUs. The adaptive factor can be used to make the model fit different situations. The value of the adaptive factor indicates the degree of PU’s channel protection. From this model we can determine the proper values for the sensing time and the number of SUs to make the network worked effectively. By considering both energy and spectrum resources we can find the proper network to make the best profit. In this paper, we consider only one primary user and channel. The reality is complex, we will introduce more variables in our future works.