Next Article in Journal
Correction: Masi et al. Stress and Workload Assessment in Aviation—A Narrative Review. Sensors 2023, 23, 3556
Next Article in Special Issue
Deep Reinforcement Learning-Based Energy Consumption Optimization for Peer-to-Peer (P2P) Communication in Wireless Sensor Networks
Previous Article in Journal
An Efficient Attentional Image Dehazing Deep Network Using Two Color Space (ADMC2-net)
Previous Article in Special Issue
A Review of Cognitive Hybrid Radio Frequency/Visible Light Communication Systems for Wireless Sensor Networks
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Distributed Sequential Detection for Cooperative Spectrum Sensing in Cognitive Internet of Things

1
School of Communication Engineering, Hangzhou Dianzi University, Hangzhou 310018, China
2
National Mobile Communications Research Laboratory, Southeast University, Nanjing 211189, China
3
Key Laboratory of Flight Techniques and Flight Safety, CAAC, Civil Aviation Flight University of China, Guanghan 618307, China
*
Author to whom correspondence should be addressed.
Submission received: 25 December 2023 / Revised: 16 January 2024 / Accepted: 19 January 2024 / Published: 22 January 2024
(This article belongs to the Special Issue Cognitive Radio for Wireless Sensor Networks)

Abstract

:
The rapid development of wireless communication technology has led to an increasing number of internet of thing (IoT) devices, and the demand for spectrum for these devices and their related applications is also increasing. However, spectrum scarcity has become an increasingly serious problem. Therefore, we introduce a collaborative spectrum sensing (CSS) framework in this paper to identify available spectrum resources so that IoT devices can access them and, meanwhile, avoid causing harmful interference to the normal communication of the primary user (PU). However, in the process of sensing the PUs signal in IoT devices, the issue of sensing time and decision cost (the cost of determining whether the signal state of the PU is correct or incorrect) arises. To this end, we propose a distributed cognitive IoT model, which includes two IoT devices independently using sequential decision rules to detect the PU. On this basis, we define the sensing time and cost functions for IoT devices and formulate an average cost optimization problem in CSS. To solve this problem, we further regard the optimal sensing time problem as a finite horizon problem and solve the threshold of the optimal decision rule by person-by-person optimization (PBPO) methodology and dynamic programming. At last, numerical simulation results demonstrate the correctness of our proposal in terms of the global false alarm and miss detection probability, and it always achieves minimal average cost under various costs of each observation taken and thresholds.

1. Introduction

As wireless communication technology rapidly develops, spectrum resources cannot meet the growing number of internet of thing (IoT) devices and their applications. However, the frequency spectrum of primary users (PUs) still lies in an insufficient state in the time or space domain. To address this concern, cognitive radio (CR) is regarded as a prospective technology to identify available spectrum resources and allow IoT devices to opportunistically access them [1,2] without causing harmful interference to PUs [3]. But the spectrum-sensing behaviors of a single IoT device are susceptible to inherent factors of wireless propagation. Consequently, the cooperative spectrum sensing (CSS) paradigm is formulated to exploit spatial diversity and then improve the sensing accuracy of the PU signal through the observations of spatially positioning IoT devices. However, IoT architectures differ from traditional network architectures, which imply a high degree of reconfigurability, adaptability, mobility, and heterogeneity and present some insurmountable challenges to spectrum sensing. Traditional spectrum sensing techniques must be carefully redesigned for use in complex and scalable IoT systems [4].
In the past, some researchers have investigated spectrum sensing for IoT systems. An energy-efficient, reliable decision transmission in Zhu et al. to was proposed to decrease packet error and packet loss in industrial IoT [5]. In a low signal-to-noise ratio (SNR) environment, to minimize energy consumption and sensing time, Ansere et al. proposed a dynamic spectrum sensing algorithm [6]. Wan et al. proposed an energy-efficient CSS scheme to reduce the negative impact of spatial correlation [7]. Since the previous energy detector is usually limited by noise uncertainty, Miah et al. also proposed an energy-efficient CSS-based CR-enabled IoT network under the interference constraint [8]. Considering that battery-limited IoT devices are densely interconnected, Dao et al. optimized the sensing efficiency to leverage a lightweight but effective adaptive medium learning method [9]. Long et al. developed a harvesting-sensing-transmission tradeoff problem-based cognitive IoT to take the diversity of energy harvesting efficiency, spectrum sensing performance, and quality-of-service (QoS) of data transmission into consideration [10]. In order to enhance spectrum utilization in a 5G-based IoT, Abbas et al. proposed a hybrid mode of underlay and interweave-enabled scheme [11]. Gharib et al. proposed a heterogeneous multi-band multi-user CSS scheme to realize secondary users’ scheduling to sense a subset of channels in heterogeneous distributed CR networks [12]. Ejaz et al. presented a multiband CSS and resource allocation framework in a CR-enabled IoT 5G network to minimize energy consumption under the performance requirement [13]. To maximize the effective throughput, Zhang et al. jointly optimized the sensing time and packet error rate in cognitive IoT [14]. Miah et al. presented a CSS technique in a noise-uncertain environment to comprise the use of the Kullback–Leibler divergence in CR-based IoT [15]. To encourage spectrum sharing among unlicensed IoT devices, Lu et al. integrated the incentive mechanism into an orthogonal frequency division multiplexing (OFDM)-based cognitive IoT network with multiple unlicensed IoT devices in the context of incomplete information [16]. In the CSS of high real-time scenes of IoTs, Gao et al. considered an improved CSS scheme to decrease the latency and increase low throughput, where each cognitive node performs a truncated sequential probability ratio test (SPRT) over each observation vector [17]. Wu et al. achieved CSS between micro-sensing slots in cognitive unmanned aerial vehicle networks and approximated the error probability and the sensing time [18]. Moreover, an optimal CSS for CR networks is performed using offset quadrature amplitude modulation and universally filtered multicarrier non-orthogonal multiple access methodologies [19]. Mehmood et al. proposed an efficient QoS-based multi-path routing scheme for wireless body area networks [20]. In addition, Lin et al. investigated a destructive beamforming design in IoT networks from the perspective of a malicious active reconfigurable intelligent surface (RIS) and proposed a general optimization framework to solve the SNR minimization problem [21]. Ma et al. investigated the feasibility and performance of covert communication with a spectrum-sharing relay in the finite block length regime [22]. An et al. investigated the secrecy performance of a cognitive satellite-terrestrial network [23]. However, there is little research on the performance and efficiency of CSS for IoT devices.
A lot of efforts have been paid to CR-enabled IoT, considering issues such as achievable throughput, energy efficiency, frequency efficiency, or joint optimization with the spectrum resource allocation algorithm. These issues are also common on traditional CR networks. However, they did not take into account the cost issues in cognitive IoT, such as the sensing time and the cost of incorrect decisions, especially when considering CSS among multiple IoT devices. Hence, efficient spectrum sensing and resource allocation can be achieved only by realizing low-cost PU detection and ensuring spectrum sensing performance. Therefore, this article considers the optimal decision rule in cognitive IoT from the perspective of cost. To this end, a distributed cognitive IoT model is first established, including a pair of IoT devices for CSS and sequential detection, on the basis of which the sensing time and decision cost are defined, and the joint optimization problem between them is proposed. The optimal sensing time and threshold are analyzed by dynamic programming to obtain the optimal decision rule. The main contributions of this article can be summarized as follows:
  • We formulate a distributed cognitive IoT model without a centralized fusion center (FC) and make use of energy detection to evaluate the local spectrum sensing performance of the IoT device. Furthermore, we also present a sequential detection framework to pave the way for the CSS of a pair of IoT devices.
  • On the basis of the proposed distributed cognitive IoT and CSS models, the sensing time and decision cost are defined, and the joint optimization problem between them is proposed. Then, the person-by-person optimization (PBPO) approach is applied to distributed sequential detection to address this optimization problem.
  • The optimal sensing time and threshold are analyzed by dynamic programming to obtain the optimal decision rule. At last, simulation results show the correctness and effectiveness of our proposed sequential detection rule in terms of sensing time and thresholds.
The remainder of this article is organized as follows: The local spectrum sensing model and sequential detection for CSS in a cognitive IoT are presented in Section 2. The optimal sensing time and decision rule based on distributed sequential detection are proposed and analyzed in Section 3. Comprehensive simulation result analyses and discussions are discussed in Section 4, and Section 5 draws a conclusion about this article.

2. System Model

2.1. Spectrum Sensing Model

In a cognitive IoT without a centralized FC, there is a PU and a pair of IoT devices participating in CSS, as shown in Figure 1. To protect the PUs normal operation from detrimental interference, each of the IoT devices S 1 and S 2 individually exploits spectrum sensing technology to sense the PU at the sensing slot and then derives a final local decision about the PUs presence through a predetermined combination rule through observations of the PU activity information at each multiple micro-sensing slot. According to the global decisions of IoT devices, a distributed CSS algorithm is adopted to derive a global decision after the sensing slot to decide whether to allow IoT devices to access the channel. At last, a pair of IoT devices are allowed to utilize the free spectrum band via a predetermined spectrum resource algorithm during the transmitting slot if the PU is declared as absent.
Energy detection is usually used as a local sensing technology because it is easy to implement and compatible with the PU network. In an energy detector, suppose that the hypotheses H 0 and H 1 represent the absence and presence of the PU, respectively, then the attenuated received PU signal at the k -th micro-sensing slot of an IoT device is expressed as [24]
y k m = n k m , H 0 h k s k m + n k m , H 1 ,
where m is the PU signal sampling, n k m is the circularly symmetric complex Gaussian (CSCG) noise, s k m is the complex-valued phase shift keying (PSK) signal at the PU, n k m and s k m are independent each other, h k is the channel gain. Then, the test static E k of energy detector is expressed by
E k = 1 M m = 1 M y k m 2 ,
where M is the sampling number of the received PU signal.
Following (2), we evaluate the local performance via a pre-determined detection threshold λ k . Under the hypothesis H 0 , the probability density function (PDF) p 0 l of the test static E k follows Chi-square distribution, the local false alarm probability is obtained by
P f , k = P r k = 1 H 0 = P E k > λ k H 0 = λ k p 0 l d l ,
where r k is the sensing sample.
Suppose M is large enough, the PDF of E k is approximated as a Gaussian distribution where the mean μ 0 = σ n 2 , the variance σ 0 2 = E n k m 4 σ n 4 / M . Because n k m is CSCG, E n k m 4 = 2 σ n 4 , thus σ 0 2 = σ n 4 / M . The sampling frequency is f s , the duration time for the k -th micro-sensing slot is τ k , for simplicity of denotation, M = τ k f s . Therefore, the local false alarm probability is given by
P f , k = Q λ k σ n 2 1 τ k f s ,
where
Q l = 1 2 π λ k e x p t 2 2 d l .
Under the hypothesis H 1 , PDF of E k is denoted by p 1 l , the local detection probability can be expressed by
P d , k = P r k = 1 H 1 = P E k > λ k H 1 = λ k p 1 l d l .
Since the PDF of E k is also regarded as a Gaussian distribution where the mean μ 1 = 1 + λ k σ n 2 , the variance σ 1 2 = E h k s k m 4 + E n k m 4 h k 2 s k 2 m σ n 2 2 / M = 1 + γ k σ n 4 / M , where γ k is the received SNR at the k -th micro-sensing slot, the local detection probability can be given by
P d , k = Q λ k σ n 2 γ k 1 τ k f s 1 + 2 γ k .

2.2. Sequential Detection

Building on the above spectrum sensing model in a cognitive IoT, we further present a sequential detection framework for CSS and make the following assumptions and descriptions: The IoT device S i receives a sequence of observations Z k i , and Z k i is i.i.d. and are independent of one another at a hypothesis, i = 1 , 2 . Under hypothesis H j , the observations from the i -th IoT device follow a marginal probability density function q j ( i ) . In addition, the probability of hypotheses H 0 and H 1 are 1 ρ and ρ , respectively, a probability space is assumed to be Ω , F = R × R , B × B equipped with the probability measure P = ρ P 1 + 1 ρ P 0 , where P 1 = P 1 ( 1 ) P 1 ( 2 ) and P 0 = P 0 ( 1 ) P 0 ( 2 ) , P j ( 1 ) and P j ( 2 ) denote the restrictions of P j to the corresponding filtrations F k ( i ) with F k ( i ) = σ Z 1 ( i ) , , Z k ( i ) . Each IoT device S i devises a sequential decision rule [25], T ( i ) is the time of stopping taking another sample, and θ ( i ) takes the value 0 or 1 to declare whether one of two hypotheses is accepted.

3. Distributed Sequential Detection

According to the above model, we delve into the distributed sequential detection for a cognitive IoT in this section, including the optimal sensing time and the optimal sequential detection.

3.1. Problem Formulation

To study the cost problem of distributed sequential detection, we define a cost function Δ θ ( 1 ) , θ ( 2 ) ; H to indicate the cost of error in any one or both of the decisions made by a pair of IoT devices. To be specific, Δ 0 , θ ( 2 ) ; H 1 Δ 1 , θ ( 2 ) ; H 1 , Δ 1 , θ ( 2 ) ; H 0 Δ 1 , θ ( 2 ) ; H 1 , Δ 1 , θ ( 2 ) ; H 0 Δ 0 , θ ( 2 ) ; H 0 , and Δ 0 , θ ( 2 ) ; H 1 Δ 0 , θ ( 2 ) ; H 0 . Similarly, the inequalities apply to θ ( 1 ) . From these inequalities, each additional sample of an IoT device also incurs a cost of c . Combining the time of stopping taking another sample and the cost function, there is a following decision problem, such as:
inf T i , θ ( i ) E c T ( 1 ) + c T ( 2 ) + Δ θ ( 1 ) , θ ( 2 ) ; H .

3.2. Preliminary Analysis

Since a positive cost c correlates with each additional time step taken by IoT devices in (8), the PBPO approach is applied to distributed sequential detection to address the problem of (8) [26]. Fixing T ( 2 ) , θ ( 2 ) , a stochastic optimization problem is described as
J ρ = inf T 1 , δ ( 1 ) E c T ( 1 ) + c T ( 2 ) + Δ θ ( 1 ) , θ ( 2 ) ; H .
In (9), there is a special case, i.e., Δ θ ( 1 ) , θ ( 2 ) ; H = Δ θ ( 1 ) , H + Δ θ ( 2 ) , H , which is a classical sequential detection problem. Additionally, the cost function may be coupled between the two IoT devices.
Before solving (9), a sufficient statistic is preset as
ρ k ( 1 ) = P H = H 1 F k ( 2 ) ,
and the recursion result from Bayes’ formula can be expressed as
ρ k + 1 ( 1 ) = ρ k ( 1 ) q 1 ( 1 ) x ρ k ( 1 ) q 1 ( 1 ) x + 1 ρ k ( 1 ) q 0 ( 1 ) x P H = H 1 F k ( 2 ) ,
with ρ 0 ( 1 ) = ρ . Obviously, ρ k ( 1 ) forms a Markov process about the filtration F k ( 1 ) .
Considering the finite horizon problem, the IoT device S 1 discontinues taking another sample and derives a decision not later than time τ . Let J k τ denote the minimal expected cost at the k -th micro-sensing slot, a dynamic programming equation.
(1)
When T ( 1 ) = τ , we have
J T 1 τ ρ T 1 1 = i n f E Δ 0 , θ 2 ; H F T 1 1 , E Δ 1 , θ 2 ; H F T 1 1 .
(2)
When T ( 1 ) = k , k = 1 , , τ 1 , we have
J T ( 1 ) τ ρ T ( 1 ) ( 1 ) = i n f E Δ 0 , θ ( 2 ) ; H F T ( 1 ) ( 1 ) , E Δ 1 , θ ( 2 ) ; H F T ( 1 ) ( 1 ) , c + Δ k τ ρ k ( 1 ) ,
where Δ k τ ρ k ( 1 ) = E J k + 1 τ ρ k + 1 ( 1 ) F k ( 1 ) .
Since J 0 τ is the minimal expected cost of the finite horizon problem, (12) and (13) provide the dependence of the minimal expected cost on the sufficient statistic ρ k ( 1 ) . It can be clearly seen from the right-hand side of unfolding (12), according to E Δ 0 , θ ( 2 ) ; H F T ( 1 ) ( 1 ) = d = 0 1 j = 0 1 P j θ ( 2 ) = d Δ 0 , d ; H j × P H = H j F T ( 1 ) ( 1 ) , E Δ 1 , θ ( 2 ) ; H F T ( 1 ) ( 1 ) = d = 0 1 j = 0 1 P j θ ( 2 ) = d Δ 1 , d ; H j × P H = H j F T ( 1 ) ( 1 ) , and using (8). The same holds true for (13), then we have E J k + 1 τ ρ k + 1 ( 1 ) F k ( 1 ) = J k + 1 τ ρ k + 1 ( 1 ) ρ k ( 1 ) q 1 ( 1 ) x + 1 ρ k ( 1 ) q 0 ( 1 ) x d x .
In addition, we define a function with respect to ρ k ( 1 ) as f ρ k ( 1 ) = m i n E Δ 0 , θ ( 2 ) ; H F T ( 1 ) ( 1 ) , E Δ 1 , θ ( 2 ) ; H F T ( 1 ) ( 1 ) , for all k = 0 ,   τ , there are inequalities about f 0 and f 1 which follow their respective definitions, i.e.,
f 0 < c + Δ k τ 0 ,
and
f 1 < c + Δ k τ 0 .
Moreover, the monotonicity results of J k τ ρ can be given by
J k τ ρ J k + 1 τ ρ ,   0 π 1 ,
and
J k τ ρ Δ k + 1 τ ρ ,   0 π 1 ,
since each of the left-hand quantities is a hypo-mundum on a larger set of sensing times than the corresponding right-hand quantity.

3.3. Optimal Sensing Time

To solve problem (9), we consider the limit τ , the pointwise limit of J k τ exists and is independent of k . More specifically, we have
J ρ = lim τ J k τ ρ = lim τ J k τ ρ ,   0 ρ 1
Since CSS begins with two UAVs making decisions about the state of the PU signal within a defined sensing time, the collective sensing information from these UAVs leads to a comprehensive global decision regarding the state of the PU signal, adhering to a precise decision rule. To minimize decision costs, it is essential to determine the most opportune sensing time. To this end, we transform the initial problem (9) into (18), which aligns precisely with the dynamic programming equation (also known as Berman equation). In the dynamic programming equation, the long-term cost in a given sensing frame is equal to the cost from the current sensing time combined with the expected cost from the future actions taken at the following sensing time. Ultimately, we identify the optimal sensing time through this dynamic programming equation by following Theorem 1.
Theorem 1. 
The minimal expected cost on J ρ  satisfies the dynamic programming equation [27]
J ρ = m i n E Δ 0 , θ 2 ; H , E Δ 1 , θ 2 ; H , c + Δ J ρ ,   0 ρ 1 ,
where  Δ J ρ = E J ρ 1 ,   0 ρ 1 .
The optimal sensing time is
T o p t = i n f k ρ k 1 ξ L 1 , ξ U 1 ,
 where a pair of thresholds  ξ L 1 , ξ U 1  are described as
ξ L 1 = s u p 0 ρ 1 2 c + Δ J ρ = E Δ 0 , θ 2 ; H ,
and
ξ U ( 1 ) = i n f 1 / 2 ρ 1 c + Δ J ρ = E Δ 1 , θ ( 2 ) ; H ,
Proof of Theorem 1. 
Taking the limit of (13) and using (18) and (19) follows. The concavity of J derives from the limit of concave functions. Inequalities like (14) and (15) also hold. Utilizing these inequalities, the concavity of Δ J , and J ρ , the optimal sensing time is the threshold type, as shown in (20), where the threshold is determined by
c + Δ J ξ L 1 = E Δ 0 , θ 2 ; H | ρ = ρ L 1 ,
and
c + Δ J ξ U 1 = E Δ 1 , θ 2 ; H | ρ = ρ U 1
This establishes the proposition. □

3.4. Optimal Decision Rule

Similar to an argument used in the proof of Proposition 7.4 [25], the uniqueness of the limit value function for (9) follows. Moreover, since the optimal thresholds ξ L ( 1 ) and ξ U ( 1 ) are coupled from (14) and (15), two simultaneous dynamic programming equations should be solved.
Given a value of Δ T ( 2 ) , θ ( 2 ) , the optimal local decision rule of the IoT device S 1 is derived, and vice versa. That is to say, when two IoT devices achieve their respective optimal decisions for each other’s optimal decision rule, as a result, the global optimal decision rules can be iteratively implemented by continuously fixing the threshold of one IoT device and optimizing the threshold of the other by Theorem 1.
Finally, there are following processes at the optimal decision rule of the IoT devices S i , i = 1 ,   2 , such as, (1) if ρ k ( i ) ξ L ( i ) , the decision rule accepts H 0 ; (2) if ρ k ( i ) ξ U ( i ) , the decision rule accepts accept H 1 ; (3) if ξ L ( i ) ρ k ( i ) ξ U ( i ) , the decision rule continues taking another sample, where a pair of thresholds ξ L ( i ) , ξ U ( i ) at the per-IoT device are obtained by
ξ L i = P ¯ m i 1 P ¯ f i ,
and
ξ U i = 1 P ¯ m i P ¯ f i ,
where P ¯ m ( i ) and P ¯ f ( i ) are the tolerable miss detection probability and the tolerable false alarm probability, respectively.
A similar method can be utilized for the quickest detection problem. In such a problem, each of the IoT devices S j sequentially receives observations Z k ( j ) , then there exists a change point t following a geometric distribution with a mass at 0, and correspondingly there is a known marginal density q 0 ( j ) for k = 1 ,   ,   t 1 and q 1 ( j ) for k = t ,   . Given the change point, IoT device observations are assumed to be conditionally independent, and they are valid within IoT devices and across IoT devices. Now, in order to quickly detect the change point and control the false alarm probability, each IoT device needs to optimally select sensing times T ( i ) (each measurable with respect to their own filtrations F ( i ) ) with the aim of minimizing E Δ T ( 1 ) , T ( 2 ) ;   t , where Δ T ( 1 ) , T ( 2 ) ;   t = 1 T ( 1 ) < t 1 T ( 2 ) < t + c 1 T ( 1 ) t 1 T ( 1 ) t + + c 2 T ( 2 ) t 1 T ( 2 ) t . Therefore, the optimal solution can be given by
T ( 1 ) = i n f k P t k F k ( 1 ) ξ 1 * ,
and
T ( 2 ) = i n f k P t k F k ( 2 ) ξ 2 * ,
where a pair of optimal thresholds ξ 1 * and ξ 2 * are coupled via a system of two dynamic programming equations. The term 1 T ( 1 ) < t 1 T ( 2 ) < t appears in the cost function that couples the solution.

4. Simulation Results

In this section, simulation results are introduced to corroborate the correctness and effectiveness of our proposal with respect to the global performance and the average cost of an IoT device. To this end, in 106 spectrum sensing frames, unless otherwise specified, some parameter settings are considered as follows: The number of micro-sensing slots is 20, the probability ρ of the hypothesis H 1 is 0.5, and the local detection probability and the local false alarm probability are set to be 0.6 and 0.4, respectively. Both the tolerable false alarm probability and the tolerable false alarm probability vary from 0.01 to 0.3 within an interval of 0.01.

4.1. Performance Analysis

Figure 2 illustrates the relationship between the global false alarm probability Q f and the tolerable false alarm probability P ¯ f under various tolerable miss detection probabilities. First of all, it can be seen that as the tolerable false alarm probability becomes more relaxed, the global false alarm probability shows a stepwise increase, and the larger the tolerable false alarm probability, the larger the gradient of the step. This is because for a fixed probability, an increase in the tolerable false alarm probability leads to a decrease in the upper threshold ξ U , and the sequential detection rule is easier to accept H 1 , which in turn results in an increase in the global false alarm probability. Meanwhile, it is worth noting that on the steps before the global false alarm probability jumps, although the tolerable false alarm probability continues to increase, the global false alarm probability remains unchanged. At this point, an increase in the initial sensing time does not bring about a change in the global false alarm probability; that is, an increase in observation does not bring about a change in the global false alarm probability, and the initial sensing time is the optimal sensing time.
Moreover, the impact of the tolerable miss detection probability on the global false alarm probability can be neglected at the beginning. That is to say, the thresholds ξ L , ξ U of the sequential detection rule are still not satisfied. But as the tolerable false alarm probability increases, the impact of the tolerable missed detection probability becomes more and more obvious. To be specific, the larger the tolerable miss detection probability, the faster the global false alarm probability jumps. Apparently, the larger the tolerable miss detection probability, the larger the upper threshold ξ U , resulting in a more acceptable H 1 .
Under various tolerable miss detection probabilities, the relationship between the global miss detection probability Q m and the tolerable false alarm probability P ¯ f is shown in Figure 3. In contrast to Figure 2, the tolerable false alarm probability has a greater effect on the global miss detection probability than the global false alarm probability, and the effect is positive. In details, when the tolerable false alarm probability increases from 0.01 to 0.3, correspondingly, the global miss detection probability basically goes down from 0.95 to 0.22. Since the lower threshold ξ L increases as the tolerable false alarm probability increases according to (25), the sequential detection rule is prone to accept H 0 , resulting in a decrease in the global miss detection probability. Furthermore, in such an environment, the global miss detection probability of a large tolerable miss detection probability decreases first because it increases the lower threshold ξ L , i.e., P ¯ m = 0.2 .
In addition, similar to Figure 2, the steps before the global miss detection probability jumps indicate that although the tolerable false alarm probability continues to increase, the global false alarm probability remains unchanged. At this point, an increase in the initial sensing time does not bring about a change in the global miss detection probability; that is, an increase in observation does not bring about a change in the global miss detection probability, and the initial sensing time is the optimal sensing time.
Next, we further take the impact of the tolerable miss detection probability on global performance given a fixed tolerable false alarm probability into consideration. As displayed in Figure 4, regardless of the tolerable miss detection probability, it is obvious that a large tolerable false alarm probability leads to a low upper threshold ξ U , therefore being prone to accept H 1 . However, it also should be noted that as the tolerable miss detection probability increases, the global false alarm probability under different tolerable false alarms has jitter at different positions, such as jitter up at P ¯ f = 0.05 ,   0.1 ,   02 and jitter down when P ¯ f = 0.2 . This is not a surprise and is a direct result of the fact that a pair of tolerable probabilities simultaneously change and the decision condition is reached within a certain sensing time.
Similar to the global miss detection probability in Figure 4, given the tolerable false alarm probability, the positive impact of the tolerable miss detection probability is illustrated in Figure 5. In particular, the trend of the global miss detection probability is exactly opposite to that of the global false alarm probability, and the change interval is larger. There is no doubt that the tolerable miss detection probability makes the lower threshold ξ L smaller so that H 1 is easier to accept.
Following the joint impact of the tolerable performance metrics on the global performance, we further simulate the optimal cost of the tolerable performance under various costs of each observation taken, where the cost of each observation taken c is set to be 0.1 and 1. As shown in Figure 6, for a pair of fixed-tolerable performances, the larger the cost of each observation taken, c , the larger the average cost. Moreover, as the tolerable false alarm probability increases, the average cost decreases. This is to say, an increasing tolerable false alarm probability makes the lower/upper threshold larger/smaller, resulting in the global decision being difficult to make. Consequently, the sensing time increases. However, the increasing tolerable false alarm probability also makes the global miss detection probability decrease, as shown in Figure 3. As a result, the global miss detection probability dominates the average cost because the cost of miss detection decreases.
Similar to Figure 6, the higher cost of each observation in Figure 7 leads to a higher average cost. In line with the global miss detection probability depicted in Figure 5, the average cost follows. The simulation result also confirms once again that global missed detection dominates the average cost. In summary, following the PBPO methodology, the optimal sequential detection rule can be reached as the sensing environments to minimize the cost at an IoT device.

4.2. Performance Comparision

Following the proposed sequential detection and the tolerable miss detection probability P ¯ m = 0.3 , the performance comparison with classical sequential detection and Neyman-Pearson (N-P) is further promoted in the following Figure 8. Firstly, we can see that both the false alarm and miss detection probabilities of N-P are basically not affected by the increase in tolerable false alarm probability, and they are basically fixed at 0.42 and 0.18, respectively. This is because N-P is a fixed-sample-size rule (with the tolerable false alarm probability as a single threshold), and the required sensing time is also fixed. When taking the optimal sensing time of the proposed sequential detection rule as the stopping time of N-P, its performance will not be affected by a single threshold because the tolerable false alarm probability as a threshold may be too large or too small. Secondly, compared with N-P, two sequential detection rules are affected by both tolerable false alarm and miss detection probabilities. Figure 8 shows that the tolerable false alarm probability gradually increases, the global false alarm probability gradually increases, and the missed detection probability gradually decreases in a stepwise manner. However, after optimization, the sequential detection rule, whether in terms of false alarm probability or missed detection probability, has less performance than the classic one. That is to say, under the same sensing time (the optimal sensing time), the sequential detection performance proposed in this paper is the best. Finally, it should be noted that as the tolerable false alarm probability increases, that is, the probability of deciding that the PU is present also increases, so the global false alarm probability also increases. At the same time, the false alarm probability decreases. It can also be seen that there is a trade-off between false alarm and miss detection probabilities.
In addition to the above results, other rules of the same type (such as Bayesian detection) cannot meet the performance comparison under the influence of the miss detection probability with a fixed false alarm probability. In addition, the comparison of average cost can also be seen from the performance of N-P, because the only difference between Bayesian detection and N-P is the threshold. Therefore, under the same local decision cost, the average cost of N-P is still higher than that of the proposed sequential detection rule.

5. Conclusions

In this article, we delved into the distributed sequential detection rule for CSS in the context of cognitive IoTs. To begin, we established a spectrum sensing model within the periodic spectrum sensing frame structure and presented a sequential detection framework. Based on this framework, we defined the sensing time and cost functions for IoT devices and formulated an optimization problem regarding average cost. Furthermore, we employed the PBPO method to solve this finite horizon problem, enabling us to analyze the optimal sensing time for optimal sequential detection. Finally, through a series of numerical simulations, we demonstrated the accuracy and effectiveness of our proposed sequential detection rule in terms of sensing time and thresholds.

Author Contributions

Conceptualization, J.W.; methodology, J.W.; software, J.W.; validation, J.W.; formal analysis, J.W.; investigation, J.W.; resources, J.W.; data curation, J.W.; writing—original draft preparation, J.W.; writing—review and editing, J.W. and M.D.; visualization, J.W.; supervision, J.W., Z.Q., M.D., J.B., X.X. and W.C.; project administration, J.W. and J.B.; funding acquisition, J.W. and J.B. All authors have read and agreed to the published version of the manuscript.

Funding

This research was funded by the National Natural Science Foundation of China under Grant No. 62201186, Open Fund of Key Laboratory of Flight Techniques and Flight Safety, CAAC (No. FZ2022KF12), Open Research Fund of National Mobile Communications Research Labora-tory, Southeast University (No. 2022D16), Zhejiang Provincial Natural Science Foundation of China under Grant No. LZ24F010005.

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

Data are contained within the article.

Conflicts of Interest

The authors declare no conflicts of interest.

References

  1. Nasser, A.; Al Haj Hassan, H.; Abou Chaaya, J.; Mansour, A.; Yao, K.C. Spectrum sensing for cognitive radio: Recent advances and future challenge. Sensors 2021, 21, 2408. [Google Scholar] [CrossRef]
  2. Arjoune, Y.; Kaabouch, N. A comprehensive survey on spectrum sensing in cognitive radio networks: Recent advances, new challenges, and future research directions. Sensors 2019, 19, 126. [Google Scholar] [CrossRef]
  3. Liu, X.; Jia, M.; Zhou, M.; Wang, B.; Durrani, T.S. Integrated cooperative spectrum sensing and access control for cognitive industrial Internet of Things. IEEE Internet Things J. 2023, 10, 1887–1896. [Google Scholar] [CrossRef]
  4. Gharib, A.; Ejaz, W.; Ibnkahla, M. Distributed spectrum sensing for iot networks: Architecture, challenges, and learning. IEEE Internet Things Mag. 2021, 4, 66–73. [Google Scholar] [CrossRef]
  5. Zhu, R.; Zhang, X.; Liu, X.; Shu, W.; Mao, T.; Jalaian, B. ERDT: Energy-efficient reliable decision transmission for intelligent cooperative spectrum sensing in industrial IoT. IEEE Access 2015, 3, 2366–2378. [Google Scholar] [CrossRef]
  6. Ansere, J.A.; Han, G.; Wang, H.; Choi, C.; Wu, C. A reliable energy efficient dynamic spectrum sensing for cognitive radio IoT networks. IEEE Internet Things J. 2019, 6, 6748–6759. [Google Scholar] [CrossRef]
  7. Wan, R.; Wu, M.; Hu, L.; Wang, H. Energy-efficient cooperative spectrum sensing scheme based on spatial correlation for cognitive internet of things. IEEE Access 2020, 8, 139501–139511. [Google Scholar] [CrossRef]
  8. Miah, M.S.; Hossain, M.A.; Ahmed, K.M.; Rahman, M.M.; Calhan, A. An energy efficient cooperative spectrum sensing for cognitive radio-internet of things with interference constraints. Res. Sq. 2021. [Google Scholar] [CrossRef]
  9. Dao, N.N.; Na, W.; Tran, A.T.; Nguyen, D.N.; Cho, S. Energy-efficient spectrum sensing for IoT devices. IEEE Syst. J. 2020, 15, 1077–1085. [Google Scholar] [CrossRef]
  10. Long, Y.; Li, Y.; Ju, H.; He, R.; Fang, X. Throughput optimization in energy harvesting based cognitive iot with cooperative sensing. In Proceedings of the 2021 IEEE 93rd Vehicular Technology Conference (VTC2021-Spring), Helsinki, Finland, 25–28 April 2021; pp. 1–5. [Google Scholar]
  11. Abbas, G.; Abbas, Z.H.; Waqas, M.; Hassan, A.K. Spectrum utilization efficiency in the cognitive radio enabled 5G-based IoT. J. Netw. Comput. Appl. 2020, 164, 102686. [Google Scholar]
  12. Gharib, A.; Ejaz, W.; Ibnkahla, M. Scalable learning-based heterogeneous multi-band multi-user cooperative spectrum sensing for distributed IoT systems. IEEE Open J. Commun. Soc. 2020, 1, 1066–1083. [Google Scholar] [CrossRef]
  13. Ejaz, W.; Ibnkahla, M. Multiband spectrum sensing and resource allocation for IoT in cognitive 5G networks. IEEE Internet Things J. 2017, 5, 150–163. [Google Scholar] [CrossRef]
  14. Zhang, L.; Liang, Y.C. Joint spectrum sensing and packet error rate optimization in cognitive IoT. IEEE Internet Things J. 2019, 6, 7816–7827. [Google Scholar] [CrossRef]
  15. Miah, M.S.; Ahmed, K.M.; Islam, M.K.; Mahmud, M.A.R.; Rahman, M.M.; Yu, H. Enhanced sensing and sum-rate analysis in a cognitive radio-based internet of things. Sensors 2020, 20, 2525. [Google Scholar] [CrossRef]
  16. Lu, W.; Hu, S.; Liu, X.; He, C.; Gong, Y. Incentive mechanism based cooperative spectrum sharing for OFDM cognitive IoT network. IEEE Trans. Netw. Sci. Eng. 2019, 7, 662–672. [Google Scholar] [CrossRef]
  17. Gao, S.; Zhang, N.; Kang, G. Improved cooperative spectrum sensing scheme using truncated SPRT in internet of things. In Proceedings of the 2019 IEEE 2nd International Conference on Electronic Information and Communication Technology (ICEICT), Harbin, China, 20–22 January 2019; pp. 89–93. [Google Scholar]
  18. Wu, J.; Li, P.; Zhang, J.; Chen, Z.; Bao, J. SPRT-based cooperative spectrum sensing with performance requirements in cognitive unmanned aerial vehicle networks (CUAVNs). Seq. Anal. 2022, 41, 53–67. [Google Scholar] [CrossRef]
  19. Balachander, T.; Ramana, K.; Mohana, R.M.; Srivastava, G.; Gadekallu, T.R. Cooperative Spectrum Sensing Deployment for Cognitive Radio Networks for Internet of Things 5G Wireless Communication. Tsinghua Sci. Technol. 2023, 29, 698–720. [Google Scholar] [CrossRef]
  20. Mehmood, G.; Khan, M.Z.; Bashir, A.K.; Al-Otaibi, Y.D.; Khan, S. An Efficient QoS-Based Multi-Path Routing Scheme for Smart Healthcare Monitoring in Wireless Body Area Networks. Comput. Electr. Eng. 2023, 109, 108517. [Google Scholar] [CrossRef]
  21. Lin, Z.; Niu, H.; An, K.; Hu, Y.; Li, D.; Wang, J.; Al-Dhahir, N. Pain without gain: Destructive beamforming from a malicious RIS perspective in IoT networks. IEEE Internet Things J. 2023; early access. [Google Scholar] [CrossRef]
  22. Ma, R.; Yang, W.; Shi, H.; Lu, X.; Liu, J. Covert communication with a spectrum sharing relay in the finite blocklength regime. China Commun. 2023, 20, 195–211. [Google Scholar] [CrossRef]
  23. An, K.; Lin, M.; Ouyang, J.; Zhu, W.P. Secure transmission in cognitive satellite terrestrial networks. IEEE J. Sel. Areas Commun. 2016, 34, 3025–3037. [Google Scholar] [CrossRef]
  24. Liang, Y.C.; Zeng, Y.; Peh, E.C.; Hoang, A.T. Sensing-throughput tradeoff for cognitive radio networks. IEEE Trans. Wirel. Commun. 2008, 7, 1326–1337. [Google Scholar] [CrossRef]
  25. Poor, H.V.; Hadjiliadis, O. Quickest Detection; Cambridge University Press: London, UK, 2008. [Google Scholar]
  26. Varshney, P.K. Distributed Detection and Data Fusion; Springer Science & Business Media: New York, NY, USA, 1996. [Google Scholar]
  27. Barron, E.N.; Ishii, H. The Bellman equation for minimizing the maximum cost. Nonlinear Anal. Theory Methods Appl. 1989, 13, 1067–1090. [Google Scholar] [CrossRef]
Figure 1. The periodic spectrum sensing frame structure of a cognitive IoT.
Figure 1. The periodic spectrum sensing frame structure of a cognitive IoT.
Sensors 24 00688 g001
Figure 2. The global false alarm probability vs. the tolerable false alarm probability.
Figure 2. The global false alarm probability vs. the tolerable false alarm probability.
Sensors 24 00688 g002
Figure 3. The global miss detection probability vs. the tolerable false alarm probability.
Figure 3. The global miss detection probability vs. the tolerable false alarm probability.
Sensors 24 00688 g003
Figure 4. The global false alarm probability vs. the tolerable miss detection probability.
Figure 4. The global false alarm probability vs. the tolerable miss detection probability.
Sensors 24 00688 g004
Figure 5. The global miss detection probability vs. the tolerable miss detection probability.
Figure 5. The global miss detection probability vs. the tolerable miss detection probability.
Sensors 24 00688 g005
Figure 6. The average cost vs. the tolerable false alarm probability under various costs of each observation taken.
Figure 6. The average cost vs. the tolerable false alarm probability under various costs of each observation taken.
Sensors 24 00688 g006
Figure 7. The average cost vs. the tolerable miss detection probability under various costs of each observation taken.
Figure 7. The average cost vs. the tolerable miss detection probability under various costs of each observation taken.
Sensors 24 00688 g007
Figure 8. The global false alarm and miss detection probabilities of three rules vs. the tolerable false alarm probability.
Figure 8. The global false alarm and miss detection probabilities of three rules vs. the tolerable false alarm probability.
Sensors 24 00688 g008
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Wu, J.; Qiu, Z.; Dai, M.; Bao, J.; Xu, X.; Cao, W. Distributed Sequential Detection for Cooperative Spectrum Sensing in Cognitive Internet of Things. Sensors 2024, 24, 688. https://doi.org/10.3390/s24020688

AMA Style

Wu J, Qiu Z, Dai M, Bao J, Xu X, Cao W. Distributed Sequential Detection for Cooperative Spectrum Sensing in Cognitive Internet of Things. Sensors. 2024; 24(2):688. https://doi.org/10.3390/s24020688

Chicago/Turabian Style

Wu, Jun, Zhaoyang Qiu, Mingyuan Dai, Jianrong Bao, Xiaorong Xu, and Weiwei Cao. 2024. "Distributed Sequential Detection for Cooperative Spectrum Sensing in Cognitive Internet of Things" Sensors 24, no. 2: 688. https://doi.org/10.3390/s24020688

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop