1. Introduction
Scientists are developing different sensors with sensing technologies to enhance the identification efficiency of communication networks. Two-stage detectors (ED and Cyclo-2010) [
1], were implemented in this context. Energy detectors (ED) and cyclo-stationary detectors interact with each other in sequence [
2]. There are some disadvantages because the system is very complicated and takes longer observing time. Additionally, the researchers focused on measurement or sensing time, applying the technique of adaptive spectrum sensing (ASS-2012), [
3,
4]. There are 2 parallel sensors in ASS-2012 and they operate separately. Despite the time for measurement being shortened, the method was still complex [
5]. The researchers predicted failure problems in detection [
6] and subsequently proposed a spectrum detector.
This spectrum detector is composed of two sensor detectors. The first one has a set spectrum sensing threshold-based ED and the second one tracks the user spectrum because it has an adaptive double-threshold ED. Additionally, the researchers looked at the cost feature [
7] and determined the existence of PU signals by suggesting an adaptive spectrum sensing (EDT-ASS-2015), [
8]. On the other hand, the researchers suggested a new two-stage detection system, with only one stage operating at a time [
9,
10].
In this study, detection efficiency was increased by minimizing the sensing failure problem. Therefore, a detection strategy focused on smart sensors was developed. The sensing model proposed has two stages positioned in parallel. The 1st stage has SNR computing and the 2nd stage has energy detectors with a single adaptive threshold “ED-SAT” and with 2 adaptive thresholds “ED-TAT”. The first stage computes SNR from SNR readings (Se) of PU signals, then compares with a pre-determined threshold (λ) and, based on the resulting tests, chooses one of the detectors. ED-SAT is selected when Se ≥ λ, ED-TAT is selected otherwise.
A cooperative spectrum sensing (CSS) is introduced for the proposed sensing model [
11]. Each cognitive radio (CR) user in CSS sends a local decision (0 or 1 bit) to a centralized node, called a fusion center (FC). Hard decision OR-rule (logical OR) is used by FC for declaring the decision. The advantage of the hard decision approach is that it needs a smaller bandwidth of the control channel [
12]. According to the OR-rule, if any outcome of any CR is bit 1 then the final value of FC will be
H1 and will be
H0 for all 0 s.
The originality in this study is the assumption that the detectors use adaptive thresholds to reduce the “sensing failure problem” [
6]. The confused region, [
6], is split into 2 levels (01 and 10) as seen in
Figure 1. There were four levels (00, 01, 10, and 11) previously mentioned in [
6,
12]. Simulation tests suggest that by using two levels of “confused region system”, the deployed detector model will boost detection efficiency and it will take time to decide if the PU frequency band is busy or free.
Therefore, the new two-level confused region system separates the new sensing system from the current systems. However, none of the researchers explored this identification method earlier with hypotheses, to the best of available information. The suggested system is an improved variant of the ESNR-ADT detector-2016 [
9] which offers better performance as stated in the simulation results and analysis sections. Furthermore, this study is divided into several sections.
Section 2 discusses the system description.
Section 3 introduces the proposed system model.
Section 4 discusses CSS with the proposed scheme.
Section 5 shows the Simulation results and analysis and
Section 6 gives the Conclusions.
2. System Description
The hypothesis test helps to determine the signals from PU. In an alternative hypothesis test (
H1), the PU signal is expected to be in a noisy channel, and this channel consists of additive white Gaussian noise (AWGN) which has a 0 mean, referred to
g(
n), and the noise variance represented by
. Hence the received signal,
u(n) in the hypothesis check (
H1) can be identified as [
12],
where * represents the time-domain convolution operation. In the null hypothesis check (
H0), the PU signal is found missing and hence the received signal
u(n) can be called as:
The parameter v(n) describes the PU signal, the parameter h(n) represents the channel boost, and the random variable g(n) gives AWGN with zero mean and the variance of in Equations (1) and (2). n is called the sample number and ranges from 1 to N.
3. Proposed System Model
3.1. Smart Sensor-Based Detection Technique
The flow chart of the proposed scheme “smart sensor-based detection technique” is presented in
Figure 2. There are two parallel placed detectors, ED-TAT and ED-SAT. The detector selection relies on SNR readings (
Se) [
13] and threshold (λ) which has pre-determined relationships with
Se. Hence, there are 2 instances. If
Se ≥
λ, ED-SAT carries out sensing activity, otherwise ED-TAT carries out sensing activity.
In the first case, Se ≥ λ, the ED-SAT function detects the PU signal, determines signal energy (E), and then compares it with a pre-defined threshold (λ1). The detector confirms that the PU signal is present if the signal energy is greater than or equal to the threshold.
In the second case,
Se <
λ, the ED-TAT function follows a similar mechanism to ED-SAT. The distinction between ED-TAT and ED-SAT is that ED-TAT has 3 previously defined thresholds
,
,
. Three thresholds are used to minimize the issue of sensing failure problems [
6].
The detection probability of the proposed detector is
False alarm probability,
, can be expressed the same as the detection probability in Equation (4). The only difference is
d is replaced by
f in the equation. Hence, the error rate of the proposed detector is
In Equations (4) and (6), , are the detection probability, , are the false alarm probability of ED-SAT and ED-TAT, respectively. The probability factor, Pr, is between 0 and 1. The channel is less noisy if Pr ≥ 0.5 or else the channel is very noisy.
SNR Calculation
SNR (
Se) values can be mathematically formulated as
n = 1, 2, 3, …,
N, where
N is the total number of samples received in Equation (7).
Se is compared to a pre-determined threshold (
λ) in Equation (8) to make a decision.
Hence, ED-SAT detects the PU signal, if Se is less than λ in Equation (8), otherwise, ED-TAT detects the PU signal.
3.2. Energy Detectors with a Single Adaptive Threshold (ED-SAT)
ED is deployed in CR networks. ED-SAT supports the bandpass filter, that filters the detected user signal from noise and transmits it to the ADC. The ADC receives the filtered PU signals and converts the analog signal into a digital signal in the form of bit sequences. Such bit sequences are injected into a square-law (SLD) device to determine their energy levels. An integrator integrates the SLD received signals up to the T interval. Ultimately, DMD takes the final decision regarding the PU signal existence by examining the signals taking into account the single adaptive threshold value
λ1. The single adaptive threshold (
λ1) value in ED-SAT detector, can be shown as [
13],
where
N shows the total number of samples,
Q−1( ) is reverse
Q-function, and
Pf defines the probability of false alarm. The threshold (
λ1) in Equation (9) is proportional to the noise variance
.
depends on the random noise that varies with time. Noise variance
also affects the threshold (
λ1) value and that is why the adaptive threshold can change for every instant of time. PU signal energy for ED-SAT can be defined as
u(n) is the detected signal,
N is the total number of samples, and
E is the determined energy of
u(n) in Equation (10). Hence, the local ED-SAT function can be expressed as
3.2.1. ED-SAT Detection Probability
The detection probability of the ED-SAT detector can be mathematically expressed as [
3]
N is the total number of samples,
Q( ) is the Gaussian tail probability
Q-function, and
, where
λ1 is a single adaptive threshold, and
,
are variances of the signal and noise.
is the variance of channel boost in the communication channel between PU and CR.
3.2.2. ED-SAT False Alarm Probability
The false alarm probability of ED-SAT detector can be mathematically expressed as [
3]
where
N is the total number of samples, and
.
3.2.3. ED-SAT Error Rate Probability
The probability of the rate of error depends on two factors. The first one is false alarm probability, (
Pf), and the second one is the missed-detection probability, (
Pm). Therefore, the total error rate is expressed, [
6], as
where (
Pm) is equal to (1 −
Pd), then
Hence, Equation (15) can be expressed as
3.3. Energy Detectors with Two Adaptive Thresholds (ED-TAT)
In ED-TAT, the detector carries out the detection in 3 stages. The first stage is the pre-defined upper bound threshold (
), the second stage is the pre-defined lower bound threshold (
), and the third stage is, (
), between pre-defined thresholds (
) and (
). See
Figure 1.
In the first stage,
E ≥
, the detector indicates the presence of the PU signal. In the second stage,
E <
, the detector signifies the non-existence of a PU signal. In the third stage, signal energy (
E) varies between pre-defined thresholds shown as (
) <
E < (
). This state is recognized as a confused region and identified as the sensing failure problem, [
14]. The confused region is previously assumed to be zero or null by the researchers.
In this study, we focused on the confused region between
and
. It was divided into 2 parts as (
–
) and (
–
). Hence, the entire four sections in
Figure 1 are expressed as (i) below
and (ii) above
. These two sections are identified as the upper part (
UP) of the detector.
Sections (iii)
–
and (iv)
–
are confused regions and they are identified as the lower part (
LP) of the detector.
Hence, ED-TAT’s output is given as
Z is the summation of the upper part and the lower part in Equation (19).
Z is compared with a pre-defined threshold (
), and the ED-TAT output can be expressed shown as
If the determined energy is less than
, the decision is
H0. If the determined energy is higher than or equal to
, the decision is
H1. For the confused region, if the determined energy lies in (
–
), it shows a binary value 01, which is converted to a decimal 1. If the determined energy is in (
–
), it shows a binary value 10, which is converted to a decimal 2. The formulation for the pre-defined threshold (
) will be, [
13]:
The values of the lower threshold (
) and the upper threshold (
) depend on noise variance. The lowest noise variance is under the lower threshold. Hence, the formulation of the lower threshold (
) is given as
The highest noise variance is under the upper threshold. Hence, the formulation of the upper threshold (
) is given as
The state of the noise is generally unpredictable in the wireless communication systems and it can usually be described as , where is constant and > 1. It is deployed to calculate the size of uncertainty. The thresholds (, ) are dependent on noise variance . The noise variance changes according to the occurrence of variations in noise. Thresholds also fluctuate and they are adaptive. Hence, they are identified as adaptive thresholds.
3.3.1. ED-TAT Detection Probability
A received signal of sample
u(
n) is considered, and its normalized form is indicated by
ui. The ED-TAT’s cumulative distribution function is computed as
Pr( ) denotes the probability of ED-TAT detection. An arbitrary constant is given by a, having a value of 2. By applying the conditional probability density function (CPDF)
in Equation (24) and following algebraic simplification, the CPDF of
Zi under hypothesis
H1 is determined as [
15].
is exponentially distributed [
15] as
depicts the average SNR of the detector. Consequently, by using Equations (25) and (26), the CPDF of
Zi under hypothesis
H1 is redetermined as
ED-TAT detection probability is shown as
The CPDF in Equation (27) is deployed in Equation (28) and shown in Equation (29)
ED-TAT detection probability can be seen in Equation (30) after solving Equation (29)
3.3.2. ED-TAT False Alarm Probability
To calculate the false alarm probability
,
is exponentially distributed as
Substituting
from Equation (31) into Equation (25), we have
The probability of false alarm becomes
Substituting CPDF from Equation (32) into Equation (33),
The false alarm probability can be determined after solving Equation (34) and is shown as
3.3.3. ED-TAT False Alarm Probability
The total error rate depends on false alarm (
Pf) and miss-detection probability (
Pm), according to IEEE 802.22 standards and is shown in Equation (36)
where
shows the miss-detection probability
. By putting the value
from Equation (30) and
from Equation (35) into Equation (36), total error probability is shown as:
3.4. Total Detection Time of the Proposed Technique
The time of spectrum sensing is defined as the time that the CR user spends to validate whether the spectrum of PU is available or not. The computational formula for determining the sensing time is
The suggested
TProposed is the overall detector time taken to perceive the PU signal.
TSNR is the sensing time of the SNR calculator.
TED-SAT and
TED-TAT are the sensing times of ED-SAT and ED-TAT, respectively. The overall sensing time for the SNR calculator is taken as [
3]
K is the detected number of channels by secondary users, and
Y0 is the average detection time for each channel shown as [
3]
M0 is the total number of samples during the observation interval, and
Q denotes channel bandwidth. The sensing time for the ED-SAT detector becomes
Y1 is the mean observation time for each channel, whereas
K is the number of sensed channels.
where,
MED-SAT is the number of samples and the
Q is the channel bandwidth. Likewise, ED-TAT sensing time is formulated as:
Y2 is the mean observation time for each channel, (1 −
Pr) is the probability factor of a channel used for ED-TAT.
The number of samples is
MED-TAT. Thus, substitute Equations (39), (41), and (43) into Equation (38) for the calculation of the total observation or sensing time as
Thus, the total observation or sensing time for the proposed detector can be determined as
K is the total number of channels that CR users detect.
Y0,
Y1, and
Y2 are the variables for SNR calculator, ED-SAT, and ED-TAT respectively, whose values depend on the sample value and bandwidth.
3.5. Simulation Model
MATLAB is used for the creation of the simulation environment. Various steps are deployed as follows:
The QPSK modulated signal v(n) is generated.
Input v(n) signal passes through a Rayleigh channel, as per the Equation (1).
The signal u(n), which is received by CRs, is defined as g(n) under H0, whereas it is v(n) * h(n) + g(n) under H1.
SNR reading (Se) was calculated and then compared with a pre-determined threshold (λ) by Equation (8).
Calculation of thresholds λ1, , , and is done according to Equations (9) and (21)–(23) for a fixed Pf = 0.1.
Then using Equation (10), calculate the test statistics (E).
Now to claim hypothesis H0 (0 bit) or H1 (1 bit), according to Equations (11) and (17), respectively, Compare E with thresholds λ1 and of step 5.
Calculation of Z is done as per the Equation (19) and compared with threshold γ, to claim hypothesis H0 (0 bit) or H1 (1 bit) according to Equation (20) to maintain fixed Pf = 0.1.
Steps 1 to 8 are reiterated up to 1000 times to assess the Pd versus SNR under consideration that Pf is fixed at 0.1.
4. CSS with the Proposed Scheme
The CSS method holds its usefulness to improve the detection performance of CR users since it minimizes fading and shadowing effects [
16]. In CSS, a centralized-CSS is considered where CR users work in more than one or all together as shown in
Figure 3. Furthermore, CR local binary decision (0 or 1) is sent to a common FC that takes the final decision. On the other hand, in the de-centralized CSS method, the individual decision is taken by each CR user and then it is passed to each other. This makes de-centralized CSS quite complex and not reliable. Furthermore, in a centralized CSS scheme, it is seen in
Figure 3 that
k is the number of CRs and their local decision is
Ii and these were collected by an FC using the OR-rule decision. FC performs a hard decision method on this collected data to decide the presence of PU signal [
17].
Hard decision-based spectrum sensing has been considered. Therefore,
P is the summation of the local binary decisions
Ii sent by
ith CRs. I
i is the output of the proposed sensing scheme and it can be defined in the form of pre-defined thresholds as shown in Equation (48).
For global conclusion, the final output of FC expressed in functional representation form using the hard decision
OR-rule can be shown as:
The examination of the CSS performance with the proposed scheme can be done via detection probability (
PD). Therefore, the
PD of the FC is expressed as
In Equation (51), the detection probability of individual CR user is represented by Pd which is computed using Equation (4).
Simulation Model
By using MATLAB, the simulation environment is created and the simulation steps are given below:
Repeat the above steps numbered from 1 to 9. This will generate local decisions using CRs according to Equation (48) from where they are sent to FC.
CR’s output is collected by FC according to Equation (47).
Finally, hard decision OR-rule at FC using Equation (49) is considered to claim hypothesis H0 or H1.
Steps 1 to 3 are repeated up to 1000 times to evaluate the Pd versus SNR under consideration that Pf is fixed at 0.1.
5. Simulation Results and Analysis
Figure 4 depicts the network distribution using NetSim software.
Table 1 shows the simulation parameters to be assumed to get the results. Furthermore, the proposed technique is compared with, ED and Cyclo-2010 [
1], ASS-2012 [
3], ED and ED-ADT-2013 [
6], EDT-ASS-2015 [
7], and ESNR-ADT detector-2016 [
9].
IEEE 802.22 states that the minimum detection probability is 0.9 for the false alarm probability (
Pf) of 0.1. It means the implemented technique will detect PU signals below −12.0 dB SNR as seen in
Figure 5. The detection probability of the proposed scheme beats ED and ED-ADT-2013 by 33.5%, ASS-2012 by 41.5%, ED and Cyclo-2010 by 57.0%, ESNR-ADT detector-2016 by 52.8%, and EDT-ASS-2015 by 28.2% at −12 dB SNR, respectively.
In
Table 2, the proposed sensor-based smart detection technique shows a 79.27% detection performance. Consequently, it senses or forecasts accurate information of PU signal presence or noise better than any other sensing strategies.
The performance of the proposed scheme in terms of
Pe is shown in
Figure 6. The suggested method has a smaller error rate than the current sensing approaches and the proposed system achieves
Pe = 0.1 at −8 dB SNR.
Table 3 shows that the proposed scheme has a smaller error rate of below 10%. It shows our detector has more accuracy than others.
Receiver operating characteristic (ROC) graphs in
Figure 7 show the relationship between
Pd and
Pf. The behavior of
Pd and
Pf for various SNR values such as (−6 dB, −8 dB, −10 dB, −12 dB, and −14 dB) is plotted in
Figure 7. The values of
Pd and
Pf are always above 0.9 and 0.1, respectively for all the values of SNR who are greater than −12 dB. The proposed detector can detect those PU signals whose SNR value is above or at least −12 dB.
IEEE 802.22 recommends that the detection time by CRs for the user’s spectrum bands must be as small as possible.
Figure 8 shows that the proposed technique performs well and takes lesser time than existing sensing techniques except for EDT-ASS-2015.
IEEE 802.22 states that sensing time for any detector to detect the PU signal should be as small as possible. In
Figure 8, the proposed scheme requires 45.52 ms sensing time at −20 dB whereas 44.48 ms at 0 dB SNR, which is lesser than ED and Cyclo-2010, ED and ED-ADT-2013, ESNR-ADT detector-2016, and ASS-2012.
In
Table 4, the proposed smart sensor-based detection scheme takes 45.5218 ms to detect the correct signal. It shows that the proposed detector requires less observation time, except for EDT-ASS-2015.
Figure 9 shows the graphs between
Pd and threshold values for various SNR values such as −6 dB, −8 dB, −10 dB, −12 dB, and −14 dB. It can be seen that
Pd provides different results at different threshold values for different SNRs. IEEE 802.22 defines that if
Pf is 0.1, then the minimum
Pd value must be 0.9. This minimum value of
Pd declares whether the PU signal is present or not. Therefore, it can be concluded that the proposed detector produces the best results at −6 dB SNR throughout the range of threshold values.
Table 5 displays the comparisons of cooperative detectors. It can be seen that the proposed scheme produces the best detection performance when all CRs work collaboratively.
Figure 10 shows the
Pd versus SNR graphs between the proposed scheme with CSS, hierarchical with quantization-2012 (HwQ-2012), and cooperative-EDT-ASS-2015 detection techniques. In CSS, three CR users are assumed to be included.
Results indicate that CSS with the proposed scheme outperforms CSS-EDT-ASS-2015 and HwQ-2012 by 16.10% and 22.70% at −12 dB SNR, respectively. CSS with the proposed scheme attains 0.9 detection probability at −12.50 dB while EDT-ASS-2015 and HwQ-2012 methods achieve the same rate at −10.75 dB and −10.25 dB, respectively.
Figure 11 shows that detection probability improves as the amount of CRs rise. In the simulation,
Pf was set at 0.1, and the number of CRs (
k) is taken as 3, 4, 5, 6, 7, 8, 9, and 10. It was seen that the optimal value of
Pd exists at
k = 10 which means that 10 CR users together can detect PU signal till −19.70 dB SNR values.
6. Conclusions
In this study, a new smart sensor-based detection scheme for communication has been introduced. The detection efficiency can be increased by using the new sensing system, and it also overcomes problems of sensing loss. Simulation tests show that the new system is leading the current approaches in the area of detection probability. In addition to the enhancement of detection performance, it is concluded that the introduced scheme also performs well within detection time. Furthermore, the detector detects the PU signal at −19.70 dB SNR with a combination of the proposed model and CSS.
Basically, in the proposed model, it was focused on the data transmission/communication between sensors/nodes, and for this, a sensing technique was proposed that senses the signal and share between the nodes. During the data sense, there is a sensing failure problem that may be occurred which can degrade the system performance. In our proposed model, we tried to reduce the sensing failure problem.
The proposed detection technique is useful for every kind of wireless communication link. The novelty of this scheme is that the confused region is divided into two levels (01 and 10) as shown in
Figure 1, whereas, earlier there were four levels (00, 01, 10, and 11) as discussed in the literature. Simulation results confirm that using a two-parts confused region scheme, our proposed detector model can enhance detection performance and it takes admissible sensing time to decide whether the PU frequency band is busy or free.
That is why the proposed two-part confused region scheme makes our sensing scheme differ and novel from the existing schemes. However, to the best of available sources, none of the researchers have discussed this detection technique with the assumptions earlier. The proposed scheme is an advanced version of ESNR-ADT detector-2016 and gives better results as discussed in the result and analysis section.
As future work, an appropriate sensor will be constructed with the proposed detection scheme. Real-life experiments will be carried out to compare the experimental results with the simulated results. Simulated results can be improved with the development of new algorithms.