A throughput analysis of an energy-efficient spectrum sensing scheme for the cognitive radio-based Internet of things

Spectrum sensing in a cognitive radio network involves detecting when a primary user vacates their licensed spectrum, to enable secondary users to broadcast on the same band. Accurately sensing the absence of the primary user ensures maximum utilization of the licensed spectrum and is fundamental to building effective cognitive radio networks. In this paper, we address the issues of enhancing sensing gain, average throughput, energy consumption, and network lifetime in a cognitive radio-based Internet of things (CR-IoT) network using the non-sequential approach. As a solution, we propose a Dempster–Shafer theory-based throughput analysis of an energy-efficient spectrum sensing scheme for a heterogeneous CR-IoT network using the sequential approach, which utilizes firstly the signal-to-noise ratio (SNR) to evaluate the degree of reliability and secondly the time slot of reporting to merge as a flexible time slot of sensing to more efficiently assess spectrum sensing. Before a global decision is made on the basis of both the soft decision fusion rule like the Dempster–Shafer theory and hard decision fusion rule like the “n-out-of-k” rule at the fusion center, a flexible time slot of sensing is added to adjust its measuring result. Using the proposed Dempster–Shafer theory, evidence is aggregated during the time slot of reporting and then a global decision is made at the fusion center. In addition, the throughput of the proposed scheme using the sequential approach is analyzed based on both the soft decision fusion rule and hard decision fusion rule. Simulation results indicate that the new approach improves primary user sensing accuracy by 13%\documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$$13\%$$\end{document} over previous approaches, while concurrently increasing detection probability and decreasing false alarm probability. It also improves overall throughput, reduces energy consumption, prolongs expected lifetime, and reduces global error probability compared to the previous approaches under any condition [part of this paper was presented at the EuCAP2018 conference (Md. Sipon Miah et al. 2018)].


Motivation
The Internet of things (IoT) is a new machine-to-machine (M2M) communication paradigm that includes a variety of domains, protocols, and applications, which allow devices to communicate with each other using different communication technologies without human intervention [1]. The Internet of things will have a strong impact on many aspects of our daily life including assisted living, manufacturing, intelligent transportation of people/materials, e-health, and smart cities [2]. There are still many problems for applications on Internet of things including (i) the problem of interference between different IoT devices in heterogeneous networks, (ii) spectrum scarcity, i.e., the efficient allocation of spectrum bands to all Internet of things devices, and (iii) bandwidth requirements and energy constraints, particularly for multimedia applications [3]. To resolve the above-mentioned problems, research [4][5][6] is shifting towards cognitive radio networks (CRNs), presenting them as a potential solution for IoT applications. A paradigm shift of the cognitive radio-based Internet of things network, called CR-IoT network, has already been introduced. As a result, some of the potential applications of IoT that can benefit from CRNs are health care, social activities, environment-related applications, in-home applications, smart grid, smart cities and Internet of vehicles.
Cognitive radio is a vital technology that allows dynamic spectrum access in a CR-IoT network. It can dramatically enhance spectrum utilization as unused sections of the spectrum can be used by CR-IoT users [7]. A prerequisite of the CR-IoT user access is the prevention of unwanted interference that impacts on the primary users. If the primary user does not use it, the CR-IoT user automatically accesses the idle licensed spectrum of the primary network. In addition, when the primary user accesses it, the CR-IoT users instantly relinquish their momentarily allotted licensed spectrum.
Spectrum sensing plays a very important role in a CR-IoT network. In spectrum sensing, CR-IoT users detect the primary user spectrum occupancy status and identify spectrum holes in the licensed channels that can be used to communicate themselves. There are a variety of spectrum sensing methods, like matched filter detection [8], cyclostationary detection [9], energy detection [10], and eigenvalue detection [11,12]. When the transmitting signal is recognized, matched filter detection is known as the best method for the detection of primary users. The main benefit of matched filter detection is that effective spectrum sensing requires a short period of time compared to other methods. However, it needs full knowledge of the primary user signal features, including operating frequency, bandwidth, modulation type as well as order, packet layout, and pulse shaping. Cyclostationary detection offers excellent performance, yet needs knowledge of the cyclic frequencies of the primary user and takes a long time to accomplish sensing. The energy detection technique is an interesting alternative method with a simple implementation and low computational complexity. However, it is highly susceptible to noise power uncertainty and is unable to distinguish between signal and noise. Its main drawback is that the signal intensity obtained at a particular geographic position can be severely reduced due to multipath fading and the shadow effect [13,14]. On the other hand, the eigenvalue detection technique is a widely used method, because it can perform well in a noise uncertain environment.
There are two types of CR-IoT networks [15][16][17][18]: (i) homogeneous CR-IoT networks and (ii) heterogeneous CR-IoT networks. In homogeneous CR-IoT networks, all CR-IoT users have the same node capabilities, including equal antennae numbers, sampling rate, and a similar signal-to-noise ratio (SNR), which may be very minimal for detection purposes. In heterogeneous CR-IoT networks, each CR-IoT user may have different reporting errors and sensing qualities for different primary users. Cooperative spectrum sensing is more difficult because it requires a high SNR for each CR-IoT user. It is also faced by other difficulties including standardization, storage format, methods of processing, synchronization, and resolution of measurement.
With cooperative spectrum sensing, each CR-IoT user conducts local sensing independently and then sends the sensing results to the corresponding fusion center via a (noisefree or non-noise-free) control channel. The fusion center combines all sensing findings and makes a final global decision based on fusion rules [19][20][21][22]. The fusion rule can be categorized either as hard decision fusion rule or as soft decision fusion rule. Each CR-IoT user makes a one-bit decision on the existence of the primary user in a hard decision fusion rule (using the "n-out-of-k" rule, i.e., "OR" rule, "AND" rule, "M" rule [23], and "Optimal" rule [24]) and sends this decision to the fusion center, therefore needing only limited bandwidth. The sensing gain of the hard decision fusion rule is lower than that of the soft decision fusion rule, where each CR-IoT user sends the entire sensing result to the fusion center, making a decision using maximal ratio combining, square law combining, selection combining, and Dempster-Shafer theory. While it delivers better sensing gain than the hard fusion rule, the control channel needs wide bandwidth.
However, a CR-IoT user does not separate the primary signal from the noise signal in poor SNR conditions. In [25], the authors analyze a scheme using the "Dempster-Shafer theory I" to combine all decisions made by CR-IoT users with their self-assessed credibility of each decision. Moreover, authors introduce an approach in distributed CR-IoT networks using the more suitable basic probability assignment function and a reliability source analysis based on "Dempster-Shafer theory II" [26]. Nevertheless, it cannot enhance sensing gain for a homogeneous CR-IoT network. The same sensing gain was achieved here by both Qihang et al. [25] and Nhan et al [26]. Miah et al. [27] proposed an improved cooperative sensing gain for hybrid CRNs, where the detection performance is analyzed using the reporting framework via the soft decision fusion rule (i.e., the Dempster-Shafer theory). Here, the average throughput, energy consumption, network lifetime, and global error probability were not analyzed.

Contributions
The following major contributions are presented in this paper: We propose a novel algorithm for heterogeneous CR-IoT networks under the sequential approach, in which each CR-IoT user uses a flexible sensing time slot by utilizing the reporting framework efficiently to sense the primary signal more accurately than the conventional scheme using a non-sequential approach.
We experimentally analyze the sensing gain at the fusion center with a flexible sensing time slot using both the soft decision fusion rule (i.e., the conventional Dempster-Shafer theory) and the hard decision fusion rule (i.e., the "n-out-of-k" rule); we demonstrate that the proposed Dempster-Shafer theory enhances the sensing gain for heterogeneous CR-IoT networks using the sequential approach compared to both the conventional Dempster-Shafer theory and the "n-out-of-k" rule.
The average throughput of all CR-IoT users and the primary user is analyzed considering the proposed Dempster-Shafer theory for heterogeneous CR-IoT networks, hereby distinguishing between both the non-sequential approach and the sequential approach. Moreover, the energy consumption and the expected lifetime are analyzed where the expected lifetime is inversely proportional to the energy consumption in the proposed scheme.
Finally, the theoretical analysis has been confirmed by simulations. Overall, it will be shown that the proposed Dempster-Shafer theory for heterogeneous CR-IoT networks using both a non-sequential and sequential approach obtains a better sensing gain, an enhanced average throughput, a more efficient energy consumption, a prolonged expected lifetime, and a lower global error probability compared to both the conventional Dempster-Shafer theory and "n-out-of-k" rule.

Organization
The rest of this paper is structured as follows: In the "Related works" section, the general motivation and background of this paper are outlined. "System model" explains the proposed scheme (consisting of the primary network and the CR-IoT network). "Energy detection technique" explains how the CR-IoT user measures its particular estimated energy from the primary user signal. "The conventional scheme using the non-sequential approach" outlines how each CR-IoT user underutilizes the reporting framework. In the "The proposed scheme based on the sequential approach" section, it is shown how each CR-IoT user utilizes the reporting framework. In the "Simulation results and discussion" section, the simulation metrics of the proposed scheme and comparisons are presented. Final remarks are addressed in "Conclusion and future work. " The mathematical notations used in this paper are briefly described in Table 1 in order to obtain the paper more readable.

Related work
Spectrum sensing can broadly be broken up into two groups, noncooperative spectrum sensing and cooperative spectrum sensing using non-sequential and sequential approaches. Thus, we examine the literature from these two perspectives: In noncooperative spectrum sensing, the analysis of spectrum sensing in a cognitive radio network using a non-sequential approach is presented in [28][29][30]. These papers show different aspects of the problem of spectrum sensing studied from the context of cognitive radio. The authors in [30] propose a "Fast" and "Optimal" sensing approach with power allocation using a non-sequential approach.
An analysis of cooperative spectrum sensing using a non-sequential approach in a cognitive radio network is presented in [31,32]. Cooperative spectrum sensing of a single sensing node can concurrently decrease both the probability of false alarm and the miss detection. It has been shown that fading, shadowing, uncertainty, and the hidden terminal problem affect the spectrum sensing accuracy [13,14,33]. In [34], the authors proposed to identify the portions of the spectrum that are unused by primary user systems and other CR systems, called existing user (EU) systems altogether, with the emphasis on conquering the challenge imposed by multipath fading channel where, in the first step, the maximum likelihood (ML) estimates of the frequency bands of EU systems were calculated; and in the second step, detection was performed at each suspected band to decide whether an EU system is truly in operation.
The relay-based spectrum sensing was studied in [35] to mitigate the fading problem. The benefits of cooperative spectrum sensing can be compromised due to noisy reporting channels, which are discussed in [36][37][38]. To solve these problems, several approaches have been proposed, such as cluster-based cooperative spectrum sensing and sequential cooperative spectrum sensing [39,40]. Lee et al. [39] proposed the opportunistic non-orthogonal multiple access-based cooperative relaying network where if the transmit SNR is high and the average channel power of the sender to receiver link is low. However, the proposed method requires channel state information response or alternative response schemes with lower overhead and complexity. In [40], the authors analyzed a cluster-based sequential cooperative spectrum sensing scheme for cognitive radio networks to drastically reduce the number of direct reports to the fusion center from cognitive radio users, while also maintaining the same sensing gain compared to the conventional cooperative spectrum sensing scheme.
The probability of absence of the primary signal For distributed models, various fusion rules such as the "AND" rule, "OR" rule, and "M" rule [41] were outlined. Nguyen-Thanh et al. [41] showed that the "M" rule only works well when all CR-IoT users have identical thresholds. By combining results with a counting rule [42], an optimal fusion rule has been achieved. However, when the channel environment changes, the approach needs some time to converge.
In [43], a cluster-based cooperative spectrum sensing approach was introduced to attain a suitable assignment strategy with the aim of optimizing the average throughput of the cognitive radio network. Nevertheless, the noise-free reporting channels were considered. In addition, the average throughput was still not evaluated for the utilization reporting framework. Eryight et al. [44] tried to minimize total sensing and reporting energy consumption using the "OR" rule in an error-free cooperation environment. However, the soft decision fusion rule is already pointed out to be the best fusion rule in the context of additional SNR requirement which achieves optimal performance. Zhang et al. [45] used discrete convexity tools to maximize the achievable throughput in both homogeneous and heterogeneous scenarios. Yu [46,47] introduced optimum channel sensing to optimize the sum rate in cognitive radio networks with cooperative secondary users evaluating the cognitive radio capacity. In addition, some interesting characteristics have been observed including asymptotic results. Nevertheless, the average throughput in the heterogeneous CR-IoT network was not evaluated for the utilization reporting framework. In [48], an efficient terminal assignment strategy for coordinated spectrum sensing was to determine the optimum number of cooperative sensing cognitive terminals that is provided to optimize the proposed metric. In [49], the authors proposed a new time-division energy-efficient (TDEE) sensing scheme in which the sensing period is divided into an optimal number of time slots and each secondary user (SU) is assigned to detect a different channel in one time slot. In [50], the authors proposed to investigate the joint impact of sensing probability, access probability, and energy queue capacity on the maximum achievable throughput in a multi-user CR network incorporating energy harvesting. In [51], the authors proposed a scheme which utilizes both the multi-user selection diversity and the inter-user transmission error comparison jointly where to reduce the transmission error of sending messages over fading channels. However, above papers [48][49][50][51] were not evaluated for the utilization reporting framework.
In [52], the authors presented optimizing the sum rate in amplify and forward-cognitive radio networks using the sequential method and "n-out-of-k" rule with the throughput of cognitive radio networks being analyzed. However, the average throughput was not analyzed using the soft decision fusion rule. In the cluster-based cognitive radio relay network [53], the authors introduced an improved sum rate using the sequential method to evaluate the sum rate. Nevertheless, the soft decision fusion rule did not evaluate the average throughput. In addition, due to the limited reporting control channel, the sequential approach was not evaluated because that would be a more desirable approach. In [54], an energy-efficient cooperative spectrum sensing scheme based on spatial correlation for cognitive Internet of things (CIoT) which mitigates the communication overhead and ensures sufficient sensing accuracy, the CR-based devices (CRDs) can be grouped into several clusters. However, the reporting time for the CRDs and the cluster heads are rigid frame structure, i.e., using the non-sequential approach.
To the best of our knowledge considering all the previous studies, no previous work has been published which improves sensing accuracy, enhances throughput, reduces energy consumption, prolongs expected lifetime, and reduces global error probability.

System model
We will model the primary network as well as the CR-IoT network in this section. In addition, the main assumptions are also presented.

Modeling of the primary network
A two-state Markov chain describes the modeling of the primary user's activities in the licensed channel, as shown in Fig. 1. In the "ON" state, the licensed channel is presumed to be used by a primary user, while the licensed channel is free in the "OFF" state. The primary network consists of a transmitter and a receiver, where the transmitter sends data to its receiver in the allocated licensed channel. We consider that the primary user uses time division multiplexing access.

Modeling of the CR-IoT network
A heterogeneous CR-IoT network consists of M users, i.e., transmitters and receivers, and a fusion center. In this model, all CR-IoT users are distributed in a heterogeneous region called a heterogeneous CR-IoT network in which there is a large distance between CR-IoT users as shown in Fig. 2 and every CR-IoT user has a different SNR sensing channel. All CR-IoT users use energy detectors to identify the primary user activities during the flexible sensing time slot due to utilizing the reporting framework in the sequential approach and then forwarding the local test statistics to its corresponding fusion center (FC) during the fixed reporting time slot. For simplicity, the reporting channel is assumed to be error-free. Finally, the global decision is conducted at the FC, which uses certain criteria to fuse the received decision results from all CR-IoT users. Also, we assume that the reporting links between the CR-IoT users and the FC will be perfect and the data fusion (hard fusion) rules are implemented.
In the primary user and CR-IoT user link, each CR-IoT user performs spectrum sensing during the sensing time slot to identify the primary user status on the licensed channel. The problem of spectrum sensing can be derived using a testing problem of binary hypothesis as follows: (1) H 0 : if the primary user in the licensed channel is not detected H 1 : if the primary user in the licensed channel is detected Fig. 1 The primary network time slot structure [55] where H 0 and H 1 indicate the primary user's absence and presence in the desired licensed channel, respectively.
A binary hypothesis testing question can be used to formulate the received signal of the jth CR-IoT user as follows: where j = 1, 2, 3, . . . , M , t = 1, 2, 3, . . . , N x,j ; here, M is the total number of CR-IoT users, N x,j is the total number of samples of the jth CR-IoT user's received signal that is specified as N x,j = 2τ j s f s , τ j s is the sensing duration of the jth CR-IoT user, and f s is the sampling frequency; x(t) is the signal transmitted from the primary user, h j (t) is the channel gain between the jth CR-IoT user and the primary user which is assumed that the channel is static during each sensing period, n j (t) is the additive white Gaussian noise, and y j (t) is the received signal of the jth CR-IoT user. A common spectrum allocation scheme is shared by all CR-IoT users and the primary user.

The energy detection technique
The most popular sensing method employed to identify the primary user is the energy detection technique. This is due to its ease of implementation, compatibility with any type of signal, and low computational complexity. We assume that each CR-IoT user transmitter ( CR − IoT tx ) senses the primary user signal using the energy detection technique. Fig. 3 demonstrates the structure of the channel sensing process at the CR − IoT tx using the technique of energy detection.
With the proposed scheme, the sensing result, y E j obtained by the jth CR-IoT user transmitter, is the signal power of a specific frequency in the time domain. A band-pass filter is applied to the received signal; then, this filter's output is converted by an analogto-digital converter (ADC), before being averaged and squared using the energy detection technique to estimate its own calculated energy as provided by where y j (t) is the tth sample of an obtained signal of the jth CR-IoT user and y E j is the received energy signal at the jth CR-IoT user .
When N x,j is large, the probability distribution function (PDF) of y E j can be approximated with mean µ 0j , µ 1j and variance σ 2 0j , σ 2 1j as a Gaussian random variable (Gaussian distribution) using central limit theorem (CLT) under both hypotheses H 0 and H 1 , respectively as follows [56,57]: where γ j is the SNR of the primary signal at the jth CR-IoT user.

The conventional scheme using the non-sequential approach
In the non-sequential approach, each CR-IoT user has obtained both a fixed/rigid time slot of sensing and a time slot of reporting. The time slots of sensing and reporting are not mergeable as shown in Fig. 4.

Proposition 1
Using the non-sequential approach, all CR-IoT users obtain a fixed time slot of sensing to detect the primary user because of the underutilized time slot of reporting framework as follows:

Fig. 3 A block diagram of the technique for energy detection 1 Proof
Please see the "Appendix. "

The hard decision fusion rule
The probability of detection, p d,j , is the probability that when the primary user is actually available on the licensed channel, the jth CR-IoT user correctly proclaims that the primary user is active on the licensed channel. The probability of false alarm, p f ,j , is the probability that the jth CR-IoT user incorrectly proclaims that the primary user is active on the licensed channel, when the primary user is really absent. In a hard decision fusion rule, we consider that the overall probability of detection, p ED d,j (τ j s (NSA)) = Pr(H 1 |H 1 ) , and the probability of false alarm, p ED f ,j (τ j s (NSA)) = Pr(H 1 |H 0 ) , of the jth CR-IoT user using the non-sequential approach can be written as follows: At the fusion center, all local decisions collected would be combined to make a global decision on the absence or presence of the primary user signal using the "n-out-of-k" rule test as follows: and where ED is the global decision threshold of the "n-out-of-k" rule.

The soft decision fusion rule
In the soft decision fusion rule, all CR-IoT users perform local sensing independently during the time slot of sensing and then sent their sensing results to the fusion center during the reporting time slot. Based on the conventional Dempster-Shafer theory, the fusion center is made a global decision. In the conventional Dempster-Shafer theory using a non-sequential approach, each CR-IoT user will calculate the credibility of their self-assessed decision which is approximately equal to the conventional elementary assignment of probability for both hypotheses. We calculate an elementary assignment of probability as a cumulative density function based on the non-flexible time slot of sensing, τ s (NSA) as follows: where m j (H 0 ) and m j (H 1 ) denote an elementary assignment of probability of the jth CR-IoT user under H 0 and H 1 , respectively.

Global decision
At the fusion center using the non-sequential approach, all the traditional basic probability calculations of the jth CR-IoT user for both hypotheses will be combined to make a global decision on the absence or presence of the primary user signal based on the conventional Dempster-Shafer theory as follows: and where A denotes the discernment frame (defined as [H 0 , H 1 , ] , any hypothesis, is valid that is defined as m(�) = 1 − m(H 1 ) − m(H 0 ) ) as well as ⊕ refers to the orthogonal sum of ω 1 m 1 , ω 2 m 2 , . . . , ω M m M , which is both commutative and associative. The weight of the jth CR-IoT user ω j is a function of the distance between the two mean values of both hypotheses, D j , which is defined as g(D j ) ω j = g D j = network (see line 8). After that, it computes the jth local decisions p ED d,j (τ s (NSA)) and p ED f ,j (τ s (NSA)) based on the hard decision fusion rule (see lines 10 and 11), whereas it computes the basic probability assignment for both hypotheses (see lines 13 and 14) using the conventional Dempster-Shafer theory II. Finally, it computes the global detection gain gd ED d (τ s (NSA)) and gd ED f (τ s (NSA)) based on the hard decision fusion rule (see lines 19 and 20) and gd f (τ s (NSA))/gd d (τ s (NSA)) based on the conventional Dempster-Shafer theory II (see lines 21 and 22).

The proposed scheme based on the sequential approach
The proposed Dempster-Shafer theory-based spectrum sensing in a heterogeneous CR-IoT network using the sequential approach is an impressive solution to the issue of spectrum shortages; it merges a time slot of reporting in a reporting framework which is shown in Fig. 5. In the sensing phase, the fusion center transmits a "sensing request message" across all CR-IoT users of the heterogeneous CR-IoT networks. After receiving the "sensing request message" from the fusion center, all CR-IoT users stay quiet as well as to detect the primary user signal during the flexible time slot of sensing using the energy detection technique based on Proposition 2. Once a "local decision" is made, each jth CR-IoT user must send their "local decision" during the time slot of reporting to the corresponding fusion center, who collects all "local decisions" as well as then makes a "global decision" of the hypotheses like H 1 or H 0 . Finally, the fusion center transmits the "global decision" across all CR-IoT users. After receiving the "global decision" from the fusion center, the CR-IoT users either commence or cease transmission, depending on the decision.

The hard decision fusion rule
In the proposed scheme using the sequential approach with the hard decision fusion rule, we consider that the overall probability of detection, p ED d,j τ j s (SA) = Pr(H 1 |H 1 ) , and the probability of false alarm, p ED f ,j τ j s (SA) = Pr(H 1 |H 0 ) , of the jth CR-IoT user can be written as follows: and At the fusion center, all local decisions collected would be combined to make a global decision on the absence or presence of the primary user signal using the hard decision fusion rule test as follows: where ED is the global decision threshold of the "n-out-of-k" rule.

The soft decision fusion rule
In the soft decision fusion rule, all CR-IoT users perform local sensing independently during the time slot of sensing as well as then send their sensing results to the fusion center during the time slot of reporting. Based on the proposed Dempster-Shafer theory, the fusion center is made a global decision. In the proposed Dempster-Shafer theory using the sequential approach, each CR-IoT user will calculate the credibility of their self-assessed decision that is approximately equal to the conventional elementary assignment of probability for both hypotheses. We calculate an elementary assignment of probability as a cumulative density function based on the flexible time slot of sensing, τ j s (SA) , as follows: where m ′ j (H 0 ) and m ′ j (H 1 ) denote an elementary assignment of probability of the jth CR-IoT under H 0 and H 1 , respectively.

Proposition 3
In the proposed Dempster-Shafer theory for a heterogeneous CR-IoT network using the sequential approach, the weight of the jth CR-IoT user ω ′ j is a function of the distance between the two hypothesis mean values, D j , which is defined as g(D j ) and a function of attaining the flexible time slot of sensing, τ j s (SA) , that is defined as f τ j s (SA) as follows: Please see the "Appendix. "

Proposition 4
In the proposed Dempster-Shafer theory for a homogeneous CR-IoT network, the weight of the jth CR-IoT user, ω ′ j , depends on only f τ j s (SA) that is defined as follows:

Proof
Please see the "Appendix. "

The global decision
The proposed Dempster-Shafer theory has gained a great deal of attention in application areas like intelligence analysis, target identification, wireless sensor networks to name but a few. It achieves significant sensing performance improvements because of its ability to model uncertainty with regards to the propositions, that is a great approach for decision-making in a heterogeneous CR-IoT network.
At the fusion center, all the improved self-assessed elementary assignments of probability calculations of the jth CR-IoT user for both hypotheses will be combined to make a global decision on the absence or presence of the primary user signal as follows: and (23) where A denotes the discernment frame (defined as [H 0 , H 1 , ] , any hypothesis, is valid that is defined as m ′′ (�) = 1 − m ′′ (H 1 ) − m ′′ (H 0 ) ) as well as ⊕ refers to the orthogonal sum of ω ′ 1 m ′ 1 , ω ′ 2 m ′ 2 , . . . , and ω ′ M m ′ M , that is both associative and commutative. The fusion center collects the final combination result m ′′ (H 0 ) as well as m ′′ (H 1 ) from each CR-IoT user, and then it is made a global decision ( gd f (τ s (SA))/gd d (τ s (SA)) ) as follows: and

Throughput analysis
In each transmission slot, if a CR − IoT tx user do not identify the primary user signal, they decide that the channel is free and they transmit data to their own receiver; otherwise, they wait till the channel is available for transmission, that is scheduled round-robin. If the primary user is absent and this absence is perfectly detected by the CR-IoT user, the CR-IoT user accesses the licensed channel of the primary user with probability (1 − gd f (τ s (SA))) as well as does not access the licensed channel of the primary user with the probability gd d (τ s (SA)) . The successful (round-robin) transmission of data in a time slot relies on two things: (i) a free licensed channel of the primary user that is sensed accurately by the CR-IoT users, as well as (ii) error-free data are transmitted. In such a case, the average throughput of all CR-IoT users and the primary user is calculated using a sequential approach as follows [58]: and where c 0 refers to the transmitter (CR − IoT tx )-receiver (CR − IoT rx ) channel capacity of the link when the primary user is not present, c 1 denotes the transmitter (CR − IoT tx ) -receiver (CR − IoT rx ) channel capacity of the link when the primary user is not absent, T is the length of a time slot, and p 1 and p 0 are the presence and absence probabilities of the primary user signal, respectively.
When the CR − IoT tx transmits data under H 0 , the CR − IoT tx and CR − IoT rx link has a capacity c 0 as follows: (27) where SNR CR−IoT is the SNR in the CR − IoT tx -CR − IoT rx link.
When the CR − IoT rx receives data under H 1 , the CR − IoT rx receives the primary user signal as noise. In this case, the CR − IoT tx and CR − IoT rx link has a capacity c 1 as follows: where SNR PU is the SNR in the PU tx and CR − IoT rx link.

Energy consumption analysis
The average energy consumption of the proposed scheme using a sequential approach can be calculated as follows [58]: where e s is the energy consumed for sensing time slot, e t is the energy consumed for the transmission, t t is the transmission time which is defined as t t = T − τ s (SA) − τ r , and T is the overall time slot duration.

Expected lifetime analysis
The expected lifetime of the proposed scheme using a sequential approach for a heterogeneous CR-IoT network based on the proposed Dempster-Shafer theory can be calculated as follows [58]:

Simulation results and discussion
The parameters used in simulations are provided in this chapter as well as a description of the simulation performance.

Simulation parameter setting
In this subsection, we confirm the theoretical findings and analyze the performance of the proposed throughput analysis of an energy-efficient spectrum sensing scheme for the CR-IoT networks. This is achieved by means of computational MATLAB simulations. The implementation of the proposed scheme was performed to computer machines running the Windows 10 operating system. The system includes a 8 GB built volatile memory capacity Intel(R) Core(TM)2 Duo CPU T7250 @ 2.00 GHz.
Simulations of Monte Carlo were performed using the parameter setting mentioned in Table 2.

Performance comparison
Under the conditions shown in Table 2, the receiver operating characteristics (ROC) are shown in Fig. 6. This shows that the proposed Dempster-Shafer theory-based spectrum sensing for homogeneous CR-IoT networks achieves better sensing gain compared to both the conventional Dempster-Shafer theories I and II for homogeneous CR-IoT networks. With the non-sequential approach, the detection probability of the "OR" rule is always higher compared to both the "M" rule and "AND" rule.
Moreover, the sensing gain of both the conventional Dempster-Shafer theories I and II for homogeneous CR-IoT networks is the same, as the SNR of all the CR-IoT users is identical.
In Fig. 7, it has been shown that the proposed Dempster-Shafer theory-based spectrum sensing for heterogeneous CR-IoT networks using the sequential approach achieves better detection gain compared to both the conventional Dempster-Shafer theories I and II for heterogeneous CR-IoT networks. With the hard decision fusion rule, using the "n-out-of-k" rule, the probability of detection of "Optimal" rules using the non-sequential approach is always larger compared to the "AND" rule, "OR" rule, and "M" rule. Moreover, the probability of detection of the "OR" rule using the nonsequential approach is always larger compared to the "AND" rule and "M" rule. With the Table 2 Main parameters with corresponding values

Parameters Value
The primary user signal, x(t) DTV signal The sampling frequency of the primary user signal, f s 6 MHz The channel noise, n(t) AWGN The sensing time slot, τ s 50 µs The reporting time slot, τ r 5 µs The total time slot length, T 10 µs The number of samples, N x 300 The number of CR-IoT users, M 10 The SNR of each primary user, SNR PU 10 dB The SNR of each CR-IoT user, SNR CR−IoT −28 dB The energy consumed during the sensing phase, e s 1 J The energy consumed during the transmission phase, e t 3 J The capacity of the battery, e c 300 J The probability of the absence of the primary user, p 0 0.5 The probability of the presence of the primary user, p 1 0.5 soft decision fusion rule, the probability of detection of the proposed Dempster-Shafer theory is higher compared to both the conventional Dempster-Shafer theories I and II. When comparing the sensing gain at the FC, as shown in Table 3 where the proposed Dempster-Shafer theory-based spectrum sensing when the probability of false alarm (gd f = 0.2) for homogeneous CR-IoT networks can detect the spectrum with 80% accuracy, whereas the conventional Dempster-Shafer theories I and II for Fig. 6 ROC curves of the proposed homogeneous CR-IoT networks using the non-sequential approach and sequential approach Fig. 7 ROC curves of the proposed heterogeneous CR-IoT networks using the non-sequential approach and sequential approach homogeneous CR-IoT networks only detect the primary user signal with a detection accuracy of 70% . Moreover, the proposed Dempster-Shafer theory-based sensing gain when the probability of false alarm (gd f = 0.2) for heterogeneous CR-IoT networks can detect the spectrum with 93% accuracy, whereas the conventional Dempster-Shafer theories I and II for heterogeneous CR-IoT networks detect the primary user signal with a detection accuracy of 80% and 87% , respectively. Therefore, the proposed Dempster-Shafer theory-based spectrum sensing for both homogeneous and heterogeneous CR-IoT networks using the sequential approach is a better solution to address the scarcity problem for future IoT networks. Figure 8 shows that the average throughput of the proposed method for homogeneous CR-IoT networks is higher compared to both the conventional "n-out-of-k" rule and the conventional Dempster-Shafer theories I and II for heterogeneous CR-IoT networks. Figure 9 shows that the average throughput of the proposed Dempster-Shafer theory for heterogeneous CR-IoT networks is higher compared to the conventional "n-out-of-k" rule and both the conventional Dempster-Shafer theories I and II for heterogeneous CR-IoT networks. Table 4 shows that the throughput of the proposed Dempster-Shafer theory for homogeneous CR-IoT networks when the probability of false alarm (gd f = 0.2) Table 3 Sensing gain at the fusion center for CR-IoT networks using the non-sequential approach and sequential approach  achieves an average throughput of 2.64Hz compared to both the conventional Dempster-Shafer theories I and II with 2.42Hz and 2.42Hz, respectively. Similarly, the throughput of the proposed Dempster-Shafer theory for heterogeneous CR-IoT networks when the probability of false alarm (gd f = 0.2) achieves an average throughput of 2.82Hz compared to both the conventional Dempster-Shafer theories I and II with 2.60Hz and 2.71Hz, respectively. This enhanced average throughput would be much more acceptable to emerging IoT networks. Figure 10 shows that the energy consumption of the proposed Dempster-Shafer theory for homogeneous CR-IoT networks is less when compared to the conventional "n-out-of-k" rule and both the conventional Dempster-Shafer theories I and II for homogeneous CR-IoT networks. Here, the average energy consumption E avg τ j s (SA) depends on the probability of false alarm, gd f τ j s (SA) . Figure 11 shows that the proposed Dempster-Shafer theory-based energy consumption for heterogeneous CR-IoT networks is lower when compared to the conventional "n-out-of-k" rule and both the conventional Dempster-Shafer theories I and II for heterogeneous CR-IoT networks. Here, the average energy consumption E avg τ j s (SA) depends on the probability of false alarm, gd f τ j s (SA) .   Table 5 shows that the energy consumption of the proposed Dempster-Shafer theory for homogeneous CR-IoT networks when the probability of false alarm (gd f = 0.2) achieves an average energy consumption of 1.50J compared to both the conventional Dempster-Shafer theories I and II with 1.52J and 1.52J, respectively. Similarly, the average energy consumption of the proposed Dempster-Shafer theory for heterogeneous CR-IoT networks when the probability of false alarm (gd f = 0.2) is 1.25J when Fig. 10 The average energy consumption versus the probability of false alarm for homogeneous CR-IoT networks Fig. 11 The average energy consumption versus the probability of false alarm for heterogeneous CR-IoT networks compared to both the conventional Dempster-Shafer theories I and II with 1.45J and 1.35J, respectively. This lower average energy consumption makes it more applicable for future IoT networks. Figure 12 compares the expected lifetime of the conventional "n-out-of-k" rule and both the conventional Dempster-Shafer theories I and II for homogeneous CR-IoT networks, and the proposed Dempster-Shafer theory for homogeneous CR-IoT networks. Here, the proposed Dempster-Shafer theory using the sequential approach enhances energy efficiency when compared to both the conventional Dempster-Shafer theories I and II. Figure 13 compares the expected lifetime of the conventional "n-out-of-k" rule and both the conventional Dempster-Shafer theories I and II for heterogeneous CR-IoT networks and the proposed Dempster-Shafer theory for heterogeneous CR-IoT networks. Here, the proposed Dempster-Shafer theory using the sequential approach enhances energy efficiency when compared to both conventional Dempster-Shafer theories I and II. Table 6 shows that the average throughput of the proposed Dempster-Shafer theory for homogeneous CR-IoT networks using the sequential approach for round 200 achieves an average throughput of 2.75 Hz compared to both the conventional  Figure 14 shows that p e for the conventional "n-out-of-k" rule and both the conventional Dempster-Shafer theories I and II for homogeneous CR-IoT networks and the proposed Dempster-Shafer theory for homogeneous CR-IoT networks decreases along with an increase in the probability of detection value from 0 to 0.7. In addition, p e for the conventional "n-out-of-k" rule and both the conventional Dempster-Shafer theories I and II for homogeneous CR-IoT networks gets larger along with an increase in the probability of detection value from 0.6 to 0.8. On the other hand, the global error probability p e in the conventional "AND" rule is always high along with an increase in the probability of detection from 0 to 1. Therefore, the global error probability p e of the proposed Dempster-Shafer theory for homogeneous CR-IoT networks is lower than for the conventional "n-out-of-k" rule and both the conventional Dempster-Shafer theories I and II for homogeneous CR-IoT networks.   Figure 15 shows that p e for the conventional "n-out-of-k" rule and both the conventional Dempster-Shafer theories I and II for heterogeneous CR-IoT networks and the proposed Dempster-Shafer theory for heterogeneous CR-IoT networks decreases along with an increase in the probability of detection value from 0 to 0.7. In addition, p e for both the conventional "n-out-of-k" rule and the conventional Dempster-Shafer theories I and II for heterogeneous CR-IoT networks gets larger along with an increase in the probability of detection value from 0.6 to 0.8. On the other hand, the global error probability p e in the proposed Dempster-Shafer theory for heterogeneous CR-IoT networks  is low with an increase in the probability of detection from 0 to 0.9. Therefore, the global error probability p e of the proposed Dempster-Shafer theory for heterogeneous CR-IoT networks is lower than for the conventional "n-out-of-k" rule and both the conventional Dempster-Shafer theories I and II for heterogeneous CR-IoT networks.
When comparing the global error probability at the fusion center in Table 7, we can see that the proposed Dempster-Shafer theory for homogeneous CR-IoT networks can obtain an p e of 23% when the probability of detection, (gd d ) , is 0.9, whereas the conventional Dempster-Shafer theories I and II for homogeneous CR-IoT networks can obtain the same p e with 30% . Similarly, the proposed Dempster-Shafer theory for heterogeneous CR-IoT networks can obtain an p e of 11% when the probability of detection, (gd d ) , is 0.9, whereas the conventional Dempster-Shafer theories I and II for heterogeneous CR-IoT networks can obtain a p e of 22% and 18% , respectively. Therefore, the proposed Dempster-Shafer theory-based spectrum sensing for heterogeneous CR-IoT networks is a better solution to address the global error probability problem for the future IoT networks.

Conclusion and future work
We calculate the weight ratio in this paper, that is specified as the ratio of the two mean values of both hypotheses. In the sensing gain, the proposed Dempster-Shafer theory for homogeneous CR-IoT networks demonstrates a 10% improvement over both the conventional Dempster-Shafer theories I and II. Moreover, the proposed Dempster-Shafer theory for heterogeneous CR-IoT networks demonstrates a 13% and 10% improvement over both the conventional Dempster-Shafer theories I and II, respectively.
With respect to the average throughput for homogeneous CR-IoT networks, the proposed Dempster-Shafer theory is 7.14% and 50.35% better than both the conventional Dempster-Shafer theories I and II, respectively. Moreover, the proposed Dempster-Shafer theory for heterogeneous CR-IoT networks is 13% and 10% better than the conventional Dempster-Shafer theories I and II for heterogeneous CR-IoT networks, respectively.
In comparison, the proposed scheme with the Dempster-Shafer theory for heterogeneous CR-IoT networks demonstrates for the probability of false alarm (gd f = 0.1) a 30% and 20% lower energy consumption to both conventional Dempster-Shafer theories I and II, respectively.
With regard to the expected lifetime in terms of average throughput, the proposed Dempster-Shafer theory for heterogeneous CR-IoT networks for round 200 shows a 10% and 25% improvement when compared to both conventional Dempster-Shafer theories I and II, respectively. Finally, a global error probability of 10% is achieved in the proposed Dempster-Shafer theory for heterogeneous CR-IoT networks, while 57% and 21% global error probabilities are achieved in both the conventional Dempster-Shafer theories I and II, respectively. Therefore, we conclude that our proposed Dempster-Shafer theory would be much more acceptable to emerging IoT networks because it alleviates the issue of spectrum shortage, enhances system throughput, improves energy efficiency, and prolongs the expected lifetime.
Our future research would entail a complexity evaluation of the proposed Algorithm 2. In addition, we will analyze the sensing gain, the average throughput, the average energy consumption, and the expected lifetime of the proposed Dempster-Shafer theory for heterogeneous CR-IoT networks that use the underlay approach. Furthermore, we will investigate the scalability of the proposed Dempster-Shafer theory with regard to network size and number of CR-IoT devices.
Finally, the flexible time slot of sensing of the jth CR-IoT user can be calculated as follows:

Proof of proposition 3
In the proposed Dempster-Shafer theory based on the sequential approach for a heterogeneous CR-IoT network, the weight, ω ′ j , can be expressed using Eq. (23) which is defined as follows: In a heterogeneous CR-IoT network, the jth CR-IoT user utilizes only the distance D j of both hypotheses that is defined as follows: The function f (.) will meet the specific constraints in order to assess an acceptable adjustment [27]: Now, we can normalize the flexible time slot of sensing based on the above specific constraints as follows: In the proposed Dempster-Shafer theory based on the sequential approach for a heterogeneous CR-IoT network, the weight ω ′ j of the jth CR-IoT can be calculated by normalizing the distance using Eq. (41) as follows: (38)  Now, based on both Eqs. (42) and (43), we can rewrite Eq. (40) as follows:

Proof of proposition 5
In the proposed Dempster-Shafer theory-based heterogeneous CR-IoT network using the sequential approach [27] where m ′ j (H 0 ) as well as m ′ j (H 1 ) denotes an improved self-assessed elementary probability assignment of the jth CR-IoT under H 0 and H 1 , respectively. Now, we can compare with Eqs. (21,22) and (11) as follows:

Abbreviations
IoT: Internet of things; M2M: Machine-to-machine; CRNs: Cognitive radio networks; CR-IoT: Cognitive radio-based IoT; SNR: Signal-to-noise ratio; HDF: Hard decision fusion; SDF: Soft decision fusion; SA: Sequential approach; NSA: Nonsequential approach; ADC: Analog-to-digital converter; PDF: Probability distribution function; CLT: Central limit theory; CPU: Central processing unit; ROC: Receiver operating characteristic. com) and the Performance Engineering Laboratory @ NUI Galway. His main research interests include security/privacy problems of connected real-time/time-aware embedded systems (i.e., industrial control, IoT, and cyber-physical systems) and their communication/time synchronization protocols. He is actively involved in various security working groups on a European (e.g., COST Action Cryptacus) and International level (e.g., US-NIST CPS Public WG). Originally from Germany, Dr. Schukat studied Computer Science and Medical  research is an investigation about the application of a subset of machine learning techniques known as reinforcement learning to automate resource allocations and scale applications in infrastructure as a service cloud computing environments. Upon completion of his Ph.D., Enda joined Schneider Electric as a research engineer on a globally distributed innovation team. His main research interests include machine learning, distributed computing, cyber security, and networking.