Abstract

In cognitive radio sensor networks (CRSNs), the sensor devices which are enabled to perform dynamic spectrum access have to frequently sense the licensed channel to find idle channels. The behavior of spectrum sensing will consume a lot of battery power of sensor devices and reduce the network lifetime. In this paper, we aim to answer the question of how many spectrum sensing nodes (SSNs) are required. In order to achieve this, SSN ratio effects on the accuracy of spectrum sensing from the perspective of network energy efficiency are analyzed first. Based on these analyses, the optimal SSN ratio is derived for maximizing the network lifetime by optimizing the cooperative detection probability (CDP). Simulation results show that the optimal SSN ratio can guarantee the spectrum sensing performance in terms of detection and false alarm probabilities and effectively extend the network lifetime.

1. Introduction

Traditional wireless sensor networks (WSNs) have been an attractive area of research since last decade and usually operate on the license-free industrial, scientific, and medical (ISM) band. However, as the number of wireless devices and applications has seen explosive growth over the past few decades, there has been increasing pressure on the limited spectrum resources [1, 2]. Moreover, the improvement in throughput of wireless networks largely depends on the utilization of channels [3]. In this situation, the concept of cognitive radio (CR) has emerged to alleviate the scarcity of limited radio spectrum resources by improving the utilization of spectrum resources [4]. The CR is a dynamically programmable and configurable radio that opportunistically uses an idle licensed channel in its vicinity to address the problem of unlicensed spectrum resources shortage and the underutilization of the licensed spectrum resources [5, 6]. Such a radio can be applied in the existing network technologies, like wireless sensor networks, machine to machine networks, wireless body area networks, etc., enabling the PHY (PHYsic) and MAC (Media Access) layers of the devices to automatically and dynamically detect available channels and then accordingly change their transmission or reception parameters to allow more concurrent wireless communications in a given spectrum band. As a specific application of the CR technology, cognitive radio sensor network (CRSN) is recently regarded as one of the most attractive topics in IoT paradigms [7].

Not the same as the traditional WSNs [812], CRSNs operate on licensed bands, periodically sense the spectrums, and determine vacant channels. In order to achieve this, CRSDs (cognitive radio-enabled sensor devices) in CRSNs have to frequently sense the licensed channels to identify an idle one and detect the active state of primary users (PUs) signal with strictly limited interference to PUs [13]. On the other hand, different from CR networks [14, 15], CRSNs inherit the basic limitations of traditional WSNs of which the lifetime is strictly constraint due to energy limitations. In addition, spectrum sensing (SS) [16, 17] is a crucial element in the implementation of a CRSN, and energy consumption is also a major consideration in spectrum sensing. The more SUs that participate in spectrum sensing will result in higher energy consumption of the network and shorter network lifetime. For this reason, our goal is to improve the network energy efficiency by optimizing the number of spectrum sensing nodes (SSNs) that participate in spectrum sensing while still guaranteeing the spectrum sensing accuracy.

Moreover, it has been shown that cooperative spectrum sensing (CSS) can not only deal with multipath fading and shadow effects but also improve the accuracy of spectrum sensing [1821]. The idea of CSS scheme is to use multiple SUs and combine their sensing results at a fusion center (FC). There are two possible CSS strategies: the first one is that all nodes perform CSS, and the second one is that some nodes sense spectrums. But if their performance is similar, the second one is obviously more suitable. To this end, there are some existing node selection methods in various works [3, 2227]. Specifically, an optimal hard fusion strategy was proposed to maximize the energy efficiency in [22]. In [23], an optimal number of multihop-based SUs was derived. To minimize the total energy consumption, a closed-form equation and optimal conditions due to KKT were proposed in [24] to determine the SUs which sense the spectrum. An energy-efficient CSS was also proposed in [25] to solve the problem of sensing node selection. Taking into consideration the scenario when only partial information of SUs and PUs is available in [26], an energy-efficient SUs selection algorithm has been proposed to save energy and improve the detection performance. In [3], a correlation-aware node selection scheme was proposed to adaptively select uncorrelated nodes for CSS, because of the openness, dynamics, and uncertainty of wireless environment. Moreover, in [27], general criteria for decision-approach selection were analyzed and derived when there are actual channel propagation effects.

However, when the environment of network changes dynamically, fewer nodes cannot guarantee the accuracy of spectrum sensing, and more nodes involving spectrum sensing will increase the energy consumption of the network. Therefore, all of the above existing work cannot ensure the accuracy of spectrum sensing and less energy consumption at the same time. In addition, there is no efficient mathematical model which quantitatively describes the relationship between the number of SSNs and spectrum sensing performance.

In this paper, we analyze the optimal SSN selection strategy from the following three aspects. The first is to explore the relationship between the SSN ratio and the received signal power of PU, i.e., signal-to-noise ratio (SNR), in randomly deployed networks (which means that both of CRSDs and PUs are randomly deployed) for analyzing the number of SSNs impacts on the performance of individual spectrum sensing. Secondly, a mathematical formula which describes the relationship between the ratio of SSN and cooperative detection probability (CDP) is explored to ensure the accuracy of cooperative spectrum sensing. Finally, an optimization function is proposed to derive the optimal SSN ratio which can prolong the network lifetime and guarantee the accuracy of cooperative spectrum sensing.

The remainder of the paper is organized as follows. Section 2 gives the system model and problem definition. Analysis of optimal SSN ratio is formulated in Section 3. Simulation results are discussed in Section 4. Finally, Section 5 concludes the paper and discusses the future work.

2. System Model and Problem Definition

This section first describes the network model for CRSN and then presents the spectrum sensing. Afterwards, this section gives the definition of the problem for the optimal SSN ratio selection.

2.1. Network Model
2.1.1. The Channel Model

The network environment of a CRSN under consideration, where a set of CRSDs, , are distributed to monitor the area of interest, includes a PU and a FC, as shown in Figure 1. The CRSDs can be regarded as the secondary users (SUs) in traditional CR networks that can access idle channels opportunistically. According to the practical requirements, CRSDs periodically sense the environment with different sampling rates and then report their sensed data to the FC [28]. In general, the available licensed spectrum consists of multiple primary channels whose active state follows different traffic patterns. For simplicity, in this paper, a single primary channel is assumed, and the PU traffic pattern follows a stationary exponential ON/OFF random process [29].

The ON state denotes that the PU is occupying the channel and the OFF state indicates that the channel is idle. Let and denote the hypotheses of the absence and present of the PU, respectively. In addition, let V and L denote the exponential random variables, which describe the idle and occupancy state with means v and l, respectively. Therefore, for a channel, the probability of the channel having occupancy and the probability of the channel idle are given by

2.1.2. The Signal Propagation Model

To address the optimal number of SSNs selection problem conveniently, the signal propagation model is modeled firstly. According to [30], the relationship between the received power of the CRSDs and the transmission power of the PU can be denoted as follows: where is the received power of the j-th CRSD, is the signal power of the PU, is a scalar, is the distance between the j-th CRSD and the PU, and is the path loss factor. The signal-to-noise ratio (SNR) of the PU received at each CRSD is computed bywhere is the noise power and is the total number of CRSDs in the network.

2.2. Spectrum Sensing
2.2.1. Spectrum Sensing Hypothesis

In a CRSN, the received signal sample of the CRSDs can be formulated as a binary hypothesis testing; the hypothesis represents that no PU exists in the spectrum, and hypothesis represents that the PU exists in the spectrum; that is [31],where is the received signal at a CRSD, is the signal of the PU and is assumed to be an iid random process with zero mean and variance, . The noise, , is assumed to be Gaussian iid random process with zero mean and variance, , and and are independent.

In the channel sensing, the probability of detection, , and the probability of false alarm, , are significant indicators for measuring the spectrum sensing accuracy. and are defined as the probabilities of detecting the PU under hypotheses and , respectively.

2.2.2. PU Detection

The energy detection [32] method can be utilized by the CRSDs as their channel sensing method. The test statistics for energy detector is given bywhere is the sample of received signal at CRSDs and where TW represents the product of detection time, T, and signal bandwidth, W. When M is relatively large (e.g., M > 200), can be approximated as a Gaussian random variable under both hypotheses and , with means , and variances , respectively, which can be given by [33]where is SNR of the PU signal at the j-th CRSD.

For a given threshold, , the probability of false alarm and detection probability of the j-th CRSD are given bywhere Q() denotes the Gaussian Q-function. Without loss of generality, we set the detection threshold of all the CRSDs to be the same; hence, the false alarm probability of all the CRSDs becomes fixed and is denoted by . Therefore, (7) and (8) can be represented by (9) and the probability was denoted by [34]

2.2.3. Cooperative Spectrum Sensing

In a densely deployed network, we consider that the sensing results of neighboring CRSDs are similar. And the network can be divided into multiple clusters based on the method proposed in Section 3. Therefore, the sensing results in a cluster can be represented by one node which is called SSN in this paper. To reduce the communication overhead, each SSN sends the final 1-bit decision to the FC which is an energy-unconstrained center for data aggregation and decision making and can decode and combine all the decoded information from all SSNs using the logic-OR-rule to make a final decision [35]; that is to say, the PU is considered to be occupying the channel if at least one sensor node claims the presence of the PU. Then, all the SSNs in different clusters are selected to cooperatively sense the channel; the cooperative detection probability and the cooperative false alarm probability for the channel are as follows:where is the number of selected SSNs cooperating. The cooperative misdetection probability is defined as the probability of not detecting the presence of the PU; i.e., .

2.3. Problem Definition

This paper focuses on providing the optimal number of SSNs for CSS in the random deployed CRSNs. The selection of optimal SSNs, under the premise that the probability of interfering with the PU should be below a predefined threshold F, must guarantee that all SSNs can accurately detect the available licensed channel information and send their sensed information to the FC for further processing. In other words, there is a constraint on such that

The ratio of SSN is p, and 0 < p < = 1. When p = 1, it means that all CRSDs are involved in spectrum sensing, and 0< p < 1 denotes that some nodes are selected from CRSDs for spectrum sensing. The objective is to select optimal SSN ratio p under the consideration of cooperation detection probability and the constraint of (12) among the whole nodes. Hence, our optimization function iswhere the objective function is result of a comprehensive consideration of the effect of the SSNs ratio p on the cooperation detection probability , and the relationship between cooperation detection probability and SSNs ratio p will be discussed in Section 3.2.

3. Analysis of the Optimal SSN Ratio

In this section, we first study the impact of the SSN ratio on the PU detection, and the relationship between the SSN ratio and the received signal power of PU is derived. Then a mathematical formula which describes the relationship between the SSN ratio and cooperative detection probability (CDP) is explored to ensure the accuracy of cooperative spectrum sensing. Finally, a cluster method based on spectrum sensing nodes is proposed.

3.1. The Impact of the SSN Ratio on the PU Detection

In this paper, a densely deployed network is assumed where the connectivity of CRSDs can be guaranteed and each CRSD receives signals from the primary user with different SNRs. Figure 2 shows a specific example where =2 SSNs randomly deployed in the network, i.e., SSN1 and SSN2. For CRSD1, CRSD2, and CRSD3, because they are close to SSN1, they will join SSN1 by utilizing a clustering method. The other CRSD4, CRSD5, and CRSD6 form another cluster 2 with SSN2 (if = N, it means all of nodes will perform the spectrum sensing; N- CRSDs will join the nearest SSN as its cluster members). In this way, the SSNs can form a number of clusters and can periodically transmit their sensed data to the FC for further process via data channels. The data channel may not be perfect, but this is beyond the scope of our discussion in this paper.

After the clustering, for example, when primary user appears in cluster 1, SSN is responsible for sensing the spectrum instead of all to perform spectrum sensing and decide the active state of the PU; finally, it shares its spectrum sensing results with the rest of the CRSDs. Therefore, the rest of the CRSDs belonging to cluster 1 do not need to sense the licensed channel to make a decision before transmitting their sensing data. Consequently, the overall spectrum sensing energy in the CRSN can be saved and the lifetime of the network can be prolonged.

Specifically, we assume that all nodes are deployed in a network area A using Poisson point process (PPP) [36] with intensity . And then SSNs are deployed in the network randomly. After clustering process, the network is divided by Voronoi cells [37, 38]. In order to analyze the signal propagation characteristic in a Voronoi cell, i.e., a cluster, the following parameters are defined in Table 1.

Firstly, the average radius of a cluster is derived. Foss and Zuyew [38] analyzed the geometrical properties of Voronoi cells in a polar coordinate and assumed that a SSN is in 0 point. One of the significant conclusions they got was the expected number of nodes in a Voronoi cell, which can be given as follows (the complete proof of (14) can be seen at [38]).where , l and represent the radius of a cluster and the total number of nodes in a cluster, respectively.

Secondly, the one-hop link lengths between SSN and its cluster member are derived. Since the shape and radius of a cluster are all random, the expected average radius value of a cluster is also random which can be defined as , and the resulting from [38] can be utilized, which showed that the total direct link length of a cluster is . Finally, can be calculated as follows:where p represents the ratio of the SSNs to the nodes.

During signal propagation, signal power decreases with distance increase. This phenomenon is statistically modeled using the signal propagation model defined in Section 2.1.2. Let denote the average path loss in a cluster, i.e., . Based on the result and (14), the average SNR in a cluster can be derived as follows:where , is the noise power, and and are determined by the type of approximation and modulation, respectively.

Therefore, can be determined based on the SSNs ratio p and the stationary network parameters, i.e., network area A and the signal power of PU, .

3.2. Optimal SSN Ratio for Maximizing the CDP

The goal of the paper is to improve energy efficiency of the network by selecting the optimal ratio of SSNs, i.e., p, involved in spectrum sensing while still guaranteeing the spectrum sensing accuracy without interfering with the active state of the PU. Based on the above analysis, analyzing (9) the detection probability is determined by the SNR which is also determined by the SSNs ratio p. Hence, the formula of the average detection probability and the SSNs ratio p can derived as follows:where . Without loss of generality, let and , which are valid to compare the impact of p on ; it can yield the following equation:

Since the logic-OR-rule is adopted at the FC, according to (11), (18) can be described as the relationship between the cooperative detection probability and the SSNs ratio p, and this is formulated by the following optimization function :

The objective function in (19) is the final result of the relationship between p and . Therefore, p is obtained which maximizes the cooperation detection probability with the constraint in (12), and the optimization function in (13) can be rewritten as follows:

Figure 5 shows the results of (20), which indicates that the optimal SSNs ratio p values are 0.3, 0.15, and 0.1 for nodes densities of 300, 400, and 500, respectively, and the performance of the cooperative detection probability (CDP) is guaranteed.

3.3. The Process of Clustering Based on Spectrum Sensing Node

After the process of the optimal SSN ratio analysis, the optimal p values are obtained at different node densities. In order to guarantee the balance of the network load, we randomly select nodes in the network as SSN nodes to participate in spectrum sensing based on p values. When the SSNs are randomly deployed in the network, a SSN will send a message which contains a counter (initially set to 0) and its ID to neighbor nodes. If the counter is less than a constant C, the ID and counter will be recorded in the neighbor node’s memory. Then the neighbor will forward it after increasing the counter by 1 and set a timer. If the timer is out, the node (e.g., CRSD) will join the SSN that has the lowest counter. If there are similar messages, it will select SSN that sent the first message. We illustrate the main idea of addressing the SSNs selection and cluster formation process in Figure 3 and summarize the detailed procedures of our solution in Algorithm 1.

Input: Optimal SSNs ratio p based on the Eq. (20);
All number of nodes in the network N;
The rest number of nodes in the network .
initialization: counter c = 0; constant C;
←Np, N - Np
for do
randomly selected SSN i sends a message containing a counter c and its ID to neighbor node
end of for
repeat until timer stops
for do
Timer i is on;
cc + 1;
if c <= C
then The neighbor node of SSN i forward its ID and count c;
end of for
end of repeat
for do
for do
if node j has the lowest count c among every SSN in
then node j join the SSN i
end of for
end of for
for do
if node j has similar messages among every node in
then node j select the SSN i who sent the first message
end of for
Output: clusters

4. Simulation Results

The performance of the proposed schemes is evaluated by extensive simulations on MATLAB. The radius of the simulation area is 100m 100m, the FC is located in the center, the PU station is assumed to be the DTV station which can cover the area, and the number of randomly deployed CRSDs is 300, 400, and 500. The SSNs are also randomly selected, each node selects the closest SSN to join based on cluster formation algorithm, and then the SSN in a cluster senses the spectrum and transmits its sensing result to the FC for decision making.

The specific parameters are shown in Table 2.

In Figure 4, we consider that the number of nodes is 300, they are evenly distributed in the network, and the area of interest is covered by the PU signal, and the position of the FC is in the center of the area. The circle represents the nodes and the red five-pointed star represents the FC.

For the CRSN, the most important issue in spectrum sensing is to ensure a high detection probability. In addition, we know that cooperative detection probability is more accurate than single detection probability. Thus the cooperative detection probability and SSN ratio are investigated with our proposed scheme. The relationship between the SSN ratio and the CDP is shown in Figure 5. From the figure, it can be seen that the optimal SSN ratio for the three densities is 0.3, 0.15, and 0.1, respectively. As the number of the nodes increases, the nodes in the network have better connectivity. Therefore, the proportion of the SSNs needed for CSS is reduced. In addition, it also can be found from the figure that the more the number of SSNs that are selected to participate in cooperative spectrum sensing, the closer the cooperative detection probability to 1.

After the calculation and analysis of optimal number of SSN nodes, Figure 6 shows the distribution of spectrum sensing nodes, on all the subfigures, at different nodes densities.

According to the proposed cluster formation Algorithm 1, Figure 7 shows the relationship between the number of iterations and the number of SSN nodes when the number of network nodes is 300, 400, and 500, respectively.

Figure 7 reveals that, on all the subfigures, the greater the node density, the lower the number of nodes that need to be used as SSNs which also represent the number of clusters and the longer the network lifetime, which confirms that cluster formation algorithm can effectively and reasonably partition the network to prolong the lifetime of the network.

In Figure 8, we show the receiver operating characteristic (ROC) curves of two different methods for CSS. The first indicates the simulated and theoretical values when all nodes perform spectrum sensing, while the second represents the simulated and theoretical values only when the selected SSNs participate in spectrum sensing. It can be seen that the simulated values and the theoretical values of these two methods are close to each other, which indicates that the derivation of (10) and (11) is correct. At the same time, it is proved that only a part of nodes is selected to perform spectrum sensing; the detection probability of the network does not decrease, which also indicates that our scheme is effective.

To evaluate the impact of the optimal SSN ratio selection strategy on the energy efficiency of the network, the simulation is performed for 5000 rounds, and Figure 9 shows that the proposed optimization strategy can greatly improve the energy efficiency of the network and thus prolong the lifetime of the network.

Finally, it can be clearly seen that the proposed optimal SSN ratio selection strategy not only can optimize the number of nodes that participate in spectrum sensing while still guaranteeing the spectrum sensing accuracy without interfering in the active state of the primary user, but also can prolong the lifetime of the network due to the reduced number of nodes for SS.

5. Conclusions

In this paper, an optimal SSN ratio selection scheme is proposed to improve the network energy efficiency by optimizing the number of nodes that participate in spectrum sensing while still guaranteeing the spectrum sensing accuracy without interfering in the active state of the primary user. Firstly, the mathematical analysis of the relationship between SNR and the SSN ratio is carried out, and then an optimization problem is given to choose the optimal SSN ratio for cooperative spectrum sensing to maximize the cooperative detection probability. Finally, the simulation results demonstrate that this scheme not only can choose optimal SSN ratio to maximize the cooperative detection probability but also can effectively reduce the energy consumption to prolong the network lifetime. To the best of our knowledge, this is the first time to associate the SSN ratio with cooperative detection probability for CSS. Our future work is to explore the relationship between the selection of optimal SSNs and more decision-making schemes.

Data Availability

The data shown in the manuscript is available for the readers.

Conflicts of Interest

The authors declare that there are no conflicts of interest regarding the publication of this paper.

Acknowledgments

This work was supported by the National Natural Science Foundation of China [Grant nos. 61602252, 61601235, and 61702278], the Natural Science Foundation of Jiangsu Province of China [Grant nos. BK20160967, BK20160972, and BK20160964], the Natural Science Foundation of the Jiangsu Higher Education Institutions of China [Grant nos. 16KJB510024 and 16KJB520031], and the China-USA Computer Science Research Center.