On achieving network throughput demand in cognitive radio-based home area networks

The growing number of wireless devices for in-house use is causing a more intense use of the spectrum to satisfy the required quality-of-service such as throughput. This has contributed to spectrum scarcity and interference problems particularly in home area networks (HAN). Cognitive radio (CR) has been recognized as one of the most important technologies which could solve these problems and sustainably meeting the required communication demands by intelligently exploiting temporarily unused spectrum, including licensed spectrum. In this paper, we propose a throughput demand-based cognitive radio solution for home area networks (TD-CRHAN) which aims at effectively and efficiently meet the ever-increasing throughput demand in HAN communication. It is shown numerically and by simulations that a TD-CRHAN can satisfy the requested throughput from the network devices and has high utilization of the available throughput. The analysis further shows that, by setting the achievable throughput to be as close as possible to the total demanded throughput (instead of maximizing it), a TD-CRHAN is able to relax the tight cooperative spectrum sensing requirements which significantly improves cooperative spectrum sensing parameters, such as the local spectrum sensing time and the number of cooperative spectrum sensing devices. Finally, it is shown that these cooperative spectrum sensing parameters can be further improved when additional channels are available.


Introduction
A future home area network (HAN) is envisaged to consist of a large number of devices that support various applications including smart grid, security and safety systems, voice call, and video streaming. Most of these home devices are communicating based on various wireless networking technologies such as WiFi, ZigBee, and Bluetooth which typically operated in the already congested ISM licensed-free frequency band [1]. As these devices are located in a small physical space (i.e., limited by the size of the house) creating a dense HAN, they might interfere one another and causing a severe limitation to the quality of service (QoS) such as throughput. These issues are further aggravated in dense cities where the HAN also receives interference from neighboring HANs. Cognitive radio (CR) is seen as one of the most promising technologies to solve these problems and at the same time fulfill the HAN's communication needs. CR technology enables the HAN devices to intelligently exploit idle spectrum including licensed spectrum for their communications, avoiding from being interfered as well as causing interference to others (in particular, the incumbent user).
A key component of CR-based networks is spectrum sensing, i.e., to reliably identify temporarily unused spectrum which is then exploited. Many existing works on throughput-based spectrum sensing focus on maximizing the achievable throughput. In [2], the maximum achievable throughput is obtained by optimizing the local spectrum sensing time, subject to a certain level of spectrum owner protection. The work in [3] incorporates the parameters from spectrum sensing (i.e., sensing time and number of cooperating devices decided the channel is occupied) and spectrum access (i.e., transmission probability) and optimizes those parameters to yield the maximum throughput for a given spectrum set. Further, in [4], the optimal sensing order for the channels is determined based its occupancy history, i.e., by correlating the channel availability statistics across time and frequency, in order to maximized the total achievable throughput. In addition, in our previous work [5] and in [6], throughput maximization is achieved by determining the optimal local spectrum sensing time, number of cooperating nodes and fusion strategy. However, aiming at maximizing the achievable network throughput leads to tight requirements on cooperative spectrum sensing parameters (e.g., spectrum sensing time and number of cooperating devices). On the other hand, in practice, every communication network has a certain demanded throughput; hence, a maximization of the achievable network throughput without taking into consideration the actual network's needs is inefficient. Throughout this paper, we refer to this throughput maximizationbased solution in spectrum sensing as the conventional case.
In this work, we propose a throughput demand-based cognitive radio communication for home area networks (TD-CRHAN), where, instead of maximizing the achievable throughput, the TD-CRHAN seeks to tightly satisfy the network throughput demand. To the best of our knowledge, this is the first work proposing such an objective for CR-based HAN communication. In the TD-CRHAN, the optimal local spectrum sensing time and number of cooperating devices required for spectrum sensing are determined, and it is shown that these are significantly lower as compared to the values from the conventional scheme. In addition, by taking into consideration the total throughput demand in designing the CR-based HAN communication, the TD-CRHAN scheme is also able to determine the optimal number of channels needed for the HAN.
We mathematically model the proposed TD-CRHAN scheme and formulate a suitable optimization problem with corresponding constraints. In the derivations, we consider general expressions for the cooperative spectrum sensing performance parameters (i.e., cooperative probability of false alarm, and detection). This supports scenarios in which the signal-to-noise ratio (SNR) of the incumbent user is not the same at different sensing devices and supports more general fusion rules, not limited to OR and AND rules only. Note that most of the previous works consider the same incumbent signal strength at all sensing devices and/or only consider OR and AND rules [2,[5][6][7] in order to simplify the analytical models and derivations. Assuming the same SNR is not realistic, in particular for indoor environments, because the sensing devices will be located at various locations where for example, devices that are located near the window may receive a relatively strong incumbent user's signal while devices which are located further inside the house will experience a very low signal strength.
Finally, we thoroughly analyze the performance of the TD-CRHAN, numerically and through simulations, where we compare the performance with the conventional scheme, illustrate the impact of different parameter settings, and demonstrate the significant gains obtained from TD-CRHAN.
The remaining of this paper is organized as follows. Section 2 explains the proposed TD-CRHAN; Section 3 presents the derivation of the considered system model and the cooperative spectrum sensing, as well as the formulation of the problem and the proposed solution; the numerical analysis and the simulation results are presented in Sections 4 and 5, respectively; and the conclusions are in Section 6. A list of key symbols used in this paper is given in Table 1.

TD-CRHAN topology
The proposed TD-CRHAN topology is based on a network of clustered CR devices as shown in Fig. 1. It consists of a HAN gateway (G), a cognitive HAN controller (C), a number of cognitive cluster heads (CHs) and many CRbased HAN devices. In such a network, the cognitive HAN controller is connected to the HAN gateway with a fixed connection while the CHs are linked to the cognitive HAN controller through wireless multi-hop links. The CHs are deployed such that each area of the house is covered. The communication among CHs is in a meshed manner. Each CH will form a network cluster. The CRbased HAN devices will need to connect to one of the clusters in order to communicate with or through the HAN network. The functionalities of each network component are further described as follows.
The HAN gateway is the communication gateway for the HAN network to the outside world (i.e., the internet). Normally, the HAN gateway is connected to the internet service provider (ISP) for internet access through an Ethernet or Optical Fiber cable.
The other possible connection is via a wireless link, e.g., the WiMAX or LTE network.
The cognitive HAN controller is the device that is responsible to manage and coordinate the spectrum usage of the HAN. For this, the cognitive HAN controller needs to construct a spectrum map database for the particular HAN environment. This database consists of a list of channels that the CH can use in their cluster, and the condition of each channel, i.e., the statistics of the channel activities including channel utilization. It is constructed from the information fed by the CHs using for example the concept of MAC-layer sensing [8]. From this database, the cognitive HAN controller will provide the CHs with the channels that they could scan and utilize for their cluster. Therefore, the channels that the CHs are going to exploit are optimal and not random. In addition, in this way, the cognitive HAN controller also knows which channels are being utilized by which CHs and which are still unallocated. In this work, the channels that are allocated to the CHs are called in-band channels while the channels that are not allocated are called candidate channels. This concept is illustrated as in Fig. 2. The cognitive cluster head (CH) is responsible to manage the usage of the cluster's in-band channels including sensing and access. A CH can request for more channels from the cognitive HAN controller if the current in-band channels are not enough to support its network cluster demand. Each CH will utilize different channels from the other CHs creating a distributed multi-channel network in the HAN. In addition, a CH is also responsible for selecting and grouping the CR-based HAN devices that are connected to it to perform the cooperative spectrum sensing (CSS) task. Besides, it also needs to schedule and distribute the selected and grouped CR-based HAN devices on when and where to sense, respectively. For CSS, a CH also acts as the fusion center where the local sensing results from the sensing devices will be reported to and the decision of spectrum availability will be made. Last but not least, from the CSS results, a CH is required to report the channel utilization and occupancy to the cognitive HAN controller periodically in order for the controller to construct and keep the spectrum map database up to date.
CR-based HAN devices are the devices that carry out various HAN applications including smart grid, security and safety, and home automation. These devices will connect to one of the clusters to get access and communicate with or through the HAN network. Besides performing the communication for its application, CR-based HAN devices also need to execute the spectrum sensing task. We consider two types of CR-based HAN devices: home and guest devices. Home devices are devices which belong to the HAN-owner, while guest devices do not belong to the HAN-owner. An example of a guest device is a neighbor's device which needs to off-load its traffic, e.g., due to congestion in its own HAN network. Another example is a device that passes through the house and wants to connect to the internet through the HAN network. For the home CR-based HAN devices, the communication topology within the cluster is in a mesh. However, the guest devices are only allowed to connect to the CH.

TD-CRHAN operation
In TD-CRHAN, CR-based HAN devices need to be connected to one of the clusters in order to get access and communicate with or through the HAN network. For this, any cluster joining mechanism such as listed in [9] can be applied. One of the simple mechanisms is as employed in the IEEE 802.22 standard [10]. In this standard, the CH transmits a beacon at the beginning of each frame in each of the in-band channel. Alternatively, this beacon can be sent in one of the highest quality in-band channels. A CR-based HAN device will search for one of these beacons at its start-up and connect to the corresponding CH's cluster once the beacon is found. If the CR-based HAN device can hear beacons from multiple CHs, it may choose to join either one cluster based on for example the signal strength and/or the signal quality of the received beacons [9]. Figure 3 illustrates the TD-CRHAN operation for one network cluster. In a TD-CRHAN, the bandwidth of the cluster is adaptable, it can be expanded or shrunk depending on the total throughput demand of the network cluster. In the example in the figure, at time t 0 , the cluster only uses one in-band channel i.e., channel B. When the cluster needs more bandwidth, i.e., at time t 1 and t 4 , for example due to a new connected device, the number of in-band channels is increased to two channels with the addition of channel A, and to three channels with the addition of channel C, respectively. The additional in-band channels are obtained from the pool of candidate channels at the cognitive HAN controller. This process is illustrated by the arrows labeled "2" in Fig. 2. The cognitive HAN controller will provide the cluster with the best candidate channels it has. These channels will be passed on to the CH.
In addition, at time t 9 , the cluster shrinks its bandwidth by releasing one of its in-band channels that is channel D due to a decrease in the network demand, e.g., due to a device leaving the cluster. The released channel is selected from the lowest quality channels among the in-band channels. This channel will be returned to the cognitive HAN controller and becomes a candidate channel that can be used by other clusters. This process is illustrated by the arrows labeled "1" in Fig. 2.
During typical CR operation, spectrum sensing will be executed first before any channel can be used for data transmission. In this work, the CSS method is considered. Therefore, the sensing operations will consist of spectrum sensing and reporting segments. For this, the CR-based devices will be grouped together forming multiple spectrum sensing groups in the cluster. For instance, in Fig. 3, three sensing groups are formed: groups 1, 2, and 3. The CH will schedule and distribute the spectrum sensing tasks among these groups. In doing so, the CH has to ensure as much as possible that the group which is scheduled for sensing does not have any group member involved in active communication during this sensing period.
The CH also acts as the CSS's fusion center. Unlike in conventional CSS where the sensing results are transmitted either at the same sensed channels as in [5,6] or by using a dedicated common control channel as in [3,11], in TD-CRHAN, the sensing results are transmitted in one of the active transmission slots of the in-band channels as shown in Fig. 3. For this, the CH will inform the sensing groups on which channel the sensing reports should be transmitted and when. This information can be broadcasted by the CH through the beacons. In this way, the sensing reporting transmission will not interfere with the incumbent user of the channel, and the quality of the reporting channels are also ensured. Note that the sensing report information is very crucial, hence it needs to be highly reliable [12]. In case the dedicated common control channel is used, a dedicated channel will be required and the reporting transmission could cause this channel to be congested, and thus it may become the bottleneck of the network [11].
If the CSS results show that a channel is highly occupied (often busy), the CH will withdraw this channel from its in-band channels' list and return it to the HAN gateway. In the meantime, the CH can request for an additional inband channel from the HAN controller to overcome the throughput degradation due to this highly occupied inband channel. This scenario is illustrated at times t 8 and t 9 in Fig. 3 where the returned channel is channel B and the new channel is channel D, respectively. In this example, the channel is returned to the HAN controller after one time it is sensed to be occupied.
In the next sections, we consider schemes to satisfy the TD-CRHAN network throughput demand with high resource (available throughput) utilization, and we determine the optimal local spectrum sensing time, the number of cooperating sensing devices and the number of active in-band channels needed.

System model
A simple network model (one cluster) of the proposed TD-CRHAN network is shown in Fig. 4. It consists of a HAN gateway (G), a cognitive HAN controller (C), a cluster head (CH), and J CR-based HAN devices n as j, j = 1, 2, . . . , J. Every CR-based HAN device is equipped with a half-duplex radio that can be tuned to any combination of I channels for data transmission and reception. This can be done by using, for example, the noncontiguous OFDM (NC-OFDM) technology [13]. Besides data communication, each CR-based HAN device is also able to perform a narrow-band spectrum sensing in which the sensing bandwidth is equal to the bandwidth of a single channel.

Cooperative spectrum sensing
In CSS, each cooperating CR-based HAN device will periodically sample the spectrum and send its local spectrum sensing result to a fusion center (in our case, this is the CH). The CH will combine these local spectrum sensing results using a certain fusion strategy to make the final decision on whether the sensed spectrum is idle or not. In this work, a hard-fusion strategy is considered in which each cooperating CR-based HAN device makes a local decision and sends only this decision to the CH. The local decision is a binary hypothesis test: decide whether the sensed channel is idle, given by hypothesis H 0 , or occupied, given by hypothesis H 1 . Each of the spectrumsamples observed by a CR-based HAN device can be modeled as : where l = 1, 2, . . . , L. Here, L is the total number of observation samples made by a CR-based HAN device  are assumed to be independent and identically distributed (i.i.d.) random processes with zero mean and variance σ 2 w and σ 2 u , respectively. We consider additive white Gaussian noise (AWGN) for w[l] and a random signal with a Gaussian distribution for u [l].
In this paper, energy detection is considered for spectrum sensing. The received power is estimated aŝ E is the output of the energy detector which is used as input for a binary hypothesis test of the CR-based HAN device. In the test,Ê is compared to a predefined threshold γ to decide on hypothesis H 0 or H 1 . The performance of this test is characterized by two metrics: the probability of detection (P d ) and the probability of false alarm (P f ). The probability that a CR-based HAN device decides that the channel is occupied (i.e.,Ê > γ ) under H 1 is given by while the probability that a CR-based HAN device decides that the channel is occupied under H 0 is From [2,5], for a targeted probability of detectionP d , the corresponding probability of false alarm P f can be expressed as where Q(·) denotes the usual Q-function (the tail probability of the standard normal distribution), and SNR p := σ 2 u/σ 2 w is the signal-to-noise ratio of the incumbent user at the sensing device. Alternatively, if a targetP f needs to be achieved, the achievable P d can be formulated as [2,5] Notice that any pair ofP d andP f can be satisfied if the local spectrum sensing time T s is not restricted. From (5) or (6) it follows that [2,5] In this paper, we consider CSS with a hard-fusion strategy, wherein each cooperating CR-based HAN device sends its local decision to the CH. The CH makes the final decision and decides H 1 if at least K out of N cooperating CR-based HAN devices have decided that the channel is occupied; otherwise H 0 will be decided. This strategy is known as the K-out-of-N fusion rule. The cooperative probability of detection Q d and false alarm Q f under this fusion rule can be derived using the Poisson-Binomial distribution theorem as [3,14,15] where N = {1, · · · , N} is a set consisting of all sensor indices, A k is a set consisting of all possible subsets of k elements of N , representing the k out of N sensing devices that locally decide that the channel is occupied, where a is an index, is one of the sets in A k , g, h ∈ N are sensor indices.
There are three special cases in this fusion rule: 1) if K = 1, the cooperative detection will become the OR combining rule, 2) if K = N, the fusion scheme follows the AND rule, and 3) if K = N 2 , the decision is known as the majority rule. In addition, if P d j (and P f j ) are identical for all devices j (i.e., P d j = P d and P f j = P f , ∀j) which can be achieved for example by adapting the sensing time of each sensing device differently, then (8) and (9) can be simplified and formulated by using the normal Binomial distribution (instead of Poisson-Binomial), and become respectively, where N k is called the Binomial coefficient.
In CR, Q d reflects the quality of protection of the band-owner and is determined by the regulator or the standardization body such as the IEEE (for example, in IEEE 802.22, Q d is required to be greater or equal to 0.9, [10]). On the other hand, Q f is important for the CR devices (in our case, the CR-based HAN devices). A lower Q f will provide a higher opportunity for the CR-based HAN devices to access the spectrum and hence attain a higher network throughput. Note that IEEE 802.22, which is actually meant for rural area and large distance, is used as an example because it defines the spectrum sensing specifications (e.g., the probability of detection constraint) that are needed in this paper. Other newer standards like IEEE 802.11af and IEEE 802.15.4m would be more useful to home scenario, but there are no specifications given for the spectrum sensing because they are using the database method instead. In fact, the spectrum sensing parameters (e.g., Q d ≥ 0.9 constraint) used in the numerical and simulation in this paper are as examples and they can be changed to the desired values. Figure 5 shows the timing diagram of a single channel operation where the sensing-transmit task alternates in time. In this figure, T f is the time duration of a frame which is a constant, and it comprises two sub slots: a sub slot for the cooperative spectrum sensing T css , and sub slot for data transmission T t . The former is further divided into two parts, namely a time for local spectrum sensing T s and the time required to send the sensing result to the CH T sr . For reporting the local spectrum sensing result, a TDMA-based channel access scheme is employed, that is, the first CR-based device sends its decision in the first time slot, the second device in the second time slot, and so on (the same scheme is considered in [6]); thus, the total reporting time required for N cooperating devices is N · T sr . Note that we have T f = T css + T t (12) T css = T s + NT sr .

Problem formulation
In addition, if the transmission uses rectangular signal pulses, then the maximum data rate for a single channel can be calculated as where W is the null-to-null bandwidth of the channel, and m = log 2 (M) (bit/symbol) is the modulation order of the transmission when M modulation levels are used. In cognitive radio, each channel in the spectrum is periodically sensed and may only be utilized for data transmission if it is sensed idle, i.e.,Ê < γ . This may happen under both H 0 and H 1 . Let the achievable throughput under scenario H 0 be R 0 . This throughput is smaller than C by a factor (1 − Q f ), the probability that the channel is correctly detected as idle. Likewise, under H 1 , the achievable throughput R 1 is smaller than C by a factor (1−Q d ), which is the probability that the occupied channel is wrongly detected as idle. This probability is significant in case the incumbent signal is weak (e.g., due to the distance from the incumbent node to the CR network).
We also need to consider that for both scenarios the throughput is scaled by a factor α = T t /T f , the fraction of time within a frame that data is transmitted. Using (12) and (13), we can write α as a function of the sensing time T s and number of sensing devices N as Overall, this gives The achievable throughput of a single channel can then be formulated as where P(H 0 ) and P(H 1 ) are the a priori probabilities that the channel is idle and occupied, respectively. These probabilities can be estimated before the CR network is deployed based on a long-term measurement or it can be measured online based on for example, the concept of MAC-layer sensing [8]. Substituting (18) in (16) and (17) gives Let R (i) be the achievable throughput for channel i, then the total achievable throughput for a cluster with I simultaneously active channels can be calculated as Suppose that CR-based HAN device j has a throughput demand of d j . Then the total throughput demand in a cluster, coming of J CR-based HAN devices, becomes This information can be acquired by the CH from each connected CR-based HAN device, for example at the time that the device is requesting to join the cluster, or updated by the CR-based HAN device to the CH whenever there is a change in its throughput demand. Let ε = R t − D t be the difference between R t and D t . Using (19)-(21), we can write ε as

Throughput demand-based CR communication
It is important to ensure that the difference between R t and D t is as small as possible. A positive value of ε means that the available throughput of the active channels in the cluster is underutilized while a negative value means that the QoS of the throughput demand is not fulfilled. Notice that in a TD-CRHAN, in case that a cluster's demand is higher than the capacity of a single channel i.e., D t > R t , the CH in the particular cluster should ask for additional channels from the cognitive HAN controller until the demand is met. Theoretically, if the number of channels I is unlimited, then the TD-CRHAN scheme can support any amount of throughput demand. With a higher number of channels, we can reduce T s and N (c.f., (20)). However, activating more channels will consume more bandwidth. Hence, optimal values of I, T s and N, that can give the minimum ε should be determined. This optimization problem can be written as where T (i) s and N (i) are respectively the spectrum sensing duration and the number of cooperating nodes involved in CSS for channel i; I max is the maximum number of channels available to be exploited; Q (i) d is the cooperative probability of detection for channel i and β (i) is a lower bound on this. The constraint ε ≥ 0 is included to ensure that the throughput demand is met.
It is shown in [16] that the optimal solution for (23) can be achieved when constraint Q (i) d ≥ β (i) , ∀i is satisfied with equality. When this constraint is at equality and for a chosen fusion threshold K (in this paper, we consider K = N 2 ), the corresponding device's probability of detection P d can be found from Q (i) d using Eq. (10). Notice that to use this equation, it is required that the probability of detection P d is the same for all sensing devices, while the effect of different SNR p is absorbed by the device's probability of false alarm P f (c.f. Eq. (5)). Although the simplified Eq. (10) is used to find the probability of detection P d , the general Eq. (9) is used to calculate the cooperative false alarm Q f . In addition, notice that finding the optimal T s and N is equivalent to finding the optimal α (i.e., maximizing α will minimize T s and N); hence, we also can write (23) as For this optimization problem, we propose to find the solution by using a two-dimensional search method.

Numerical analysis
In this section, we numerically analyze the performance of the TD-CRHAN and compare it with the conventional solution. For this section, let us assume that the SNR (i) p j = SNR p and P H (i) 0 = P(H 0 ), i.e., are the same, for all i and j, and we note that these parameters will be randomized based on a uniform distribution during the simulation analysis (Section 5). The following values are considered and fixed throughout this section in which most of them are also used in [6]: T f = 105 μs, T sr = 4 μs, β (i) = 0.9 and W (i) = 5 MHz, for all i. Moreover, in this work, the majority fusion rule is considered for the CSS as this has been found to be optimal or nearly optimal [5,6,17]. For the solution of the optimization problem, we consider T (i) s = T s and N (i) = N for all i. Graphs of ε versus the total number of in-band channels I and a) the data transmission time coefficient α, and b) the duration required for local spectrum sensing T s , are shown in Fig. 6a, b, respectively, where SNR p = −7 dB, P(H 0 ) = 0.7, N = 6, and D t = 3.5 Mb/s. Note Fig. 6 The difference between the total achievable and demanded throughput (i.e. ε) versus a I and α, and b I and T s , with Q d = β, D t = 3.5 Mb/s, N = 6 ). This is a comparison between TD-CRHAN and the conventional scheme. For this, D t is fixed at 3.5 Mb/s and N = 6 ). This is a comparison between TD-CRHAN and the conventional schemes. For this, we take SNR p = −7 dB and N = 6 that all points on the graphs satisfy every constraint given in (24). It is seen that for each value of I, ε(T s ) and ε(α) are both concave functions in which the peak points of these functions are the maximum achievable throughput of the cluster. In the conventional CR, these points are considered as optimal. However, it is seen from these graphs that there is an excess throughput (i.e., ε > 0), which is then not going to be used by the network. This throughput underutilization becomes larger with increasing the number of in-band channels I. In contrast, TD-CRHAN tries to find the lowest point of this graph which is the minimum possible ε and at the same time satisfies all the constraints listed in (24). By doing this, TD-CRHAN can relax the required local spectrum sensing time T s and the number of cooperating nodes N of the CR system. From Fig. 6, the optimal points of the conventional and the proposed TD-CRHAN are taken out and the normalized ε is plotted in Fig. 7a, and the corresponding normalized sensing time T s (i.e., fraction of time used for spectrum sensing in a frame) is plotted in Fig. 7b. It is seen that ε is linearly proportional to the number of inband channels I for the conventional case. This is because the total achievable throughput R t for this case is equal to the maximum achievable throughput of each channel multiplied by the total number of in-band channels, i.e., R t = R · I (due to the above assumptions, we have R (i) = R, ∀i); hence, the larger I, the higher ε irrespective of the D t . On the other hand, in a TD-CRHAN, R t is adjusted as near as possible to D t , which is actually the minimization of ε with constraints. As a result, it can be seen that with a TD-CRHAN scheme, ε is maintained as low as possible, and the spectrum sensing time T s is significantly relaxed as compared to the conventional scheme (as shown in Fig. 7b). These gains become larger as I becomes higher. It is also denoted in Fig. 7a that the minimum I required to satisfy D t is 4. Projecting this point to Fig. 7b (as depicted by the red arrows) shows that, even at this point, TD-CRHAN obtains around 51 % gain on the required T s in comparison with the conventional case.
Further, the impact of the number of cooperative sensing devices N on the proposed TD-CRHAN is analyzed as depicted in Fig. 8. In general, it can be seen that, the higher N, the lesser the T s required, which means a higher N will reduce the burden of sensing on the individual CR-based HAN device. However, it can be noticed that T s is saturated and then becomes constant after a certain I (in this case I > 6); thus, at this point, an increase of N or I would not reduce T s anymore, hence it will increase the value of ε as witnessed in Fig. 7a.
Next, with the same setting, we analyze the performance of the proposed TD-CRHAN in comparison with the conventional one for different D t . Three scenarios of the conventional settings are considered: 1) maximization of R t with I = 7, 2) maximization of R t with I = 10, and 3) maximization of R t with I is set based on the network throughput demand D t such that R t ≥ D t . Figure 9a shows that the TD-CRHAN scheme satisfies the throughput demand at all times and has least throughput underutilization compared to other schemes, in particular for the cases that R is maximized without D t consideration. Worse, the conventional plot without D t consideration (i.e., scenarios 1 and 2) are unable to satisfy the demanded throughput after a certain point (for instance, in this case: Fig. 10 Performance of TD-CRHAN in comparison with the conventional schemes for different SNR p conditions. The performance is measured in term of a normalized ε = ε Dt , b number of in-band channels I used, and c fraction of time used for spectrum sensing (i.e., normalized sensing time = Ts T f ), with P(H 0 ) fixed at 0.7 scenario 1 could not satisfy the demand for D t > 9.3 Mb/s as the number of in-band channels is fixed to 7). In contrast, in principle the proposed TD-CRHAN can support an unlimited D t if I is unlimited.
We then numerically analyze the impact of the channel conditions, i.e., SNR p and P(H 0 ), on the performance of TD-CRHAN as well as the three conventional schemes of which the results are shown in Figs. 10 and 11, respectively. It is witnessed that, for the proposed TD-CRHAN scheme, D t will always be satisfied at minimum ε for almost any SNR p or P(H 0 ) values (as shown in Figs. 10a  and 11a). This is because, a TD-CRHAN allows for an adaptive number of active in-band channels I (refer to Figs. 10b and 11b) and local spectrum sensing duration T s (refer to Figs. 10c and 11c) where these values are optimized such that the resultant achievable throughput R t is very close to the corresponding demand D t . Specifically, for I, at a very low SNR p or P(H 0 ), its value will be increased while it will be reduced to the minimal at a high SNR p or P(H 0 ). Notice that D t is still satisfied even for P(H 0 ) = 0 in which the network throughput at this point is acquired from the P(H 1 ) part (i.e., at the expense of a high I). For T s , it is seen in Fig. 10c that it is adjusted to a lower value at a very low SNR p . This is because at this point, ε (and R t ) is influenced more by T s but less by P f (and Q f ) as at a very low SNR p , a high T s does not provide a significant reduction to P f (i.e., this can be seen from (5), as plotted in Fig. 12). On such a case, a lower T s is more favorable in order to satisfy the demanded throughput D t and meet the ε ≥ 0 constraint. However, P f (and Q f ) become more dominant with the increase of SNR p up to a certain point, but yet it is dominated by T s when P f becomes saturated; this can be observed in Fig. 10c. Similarly with Fig. 11c, that is at a very low P(H 0 ), T s will be set to a lower value as a high T s is not beneficial because at this instance most of the R t  19)). Note that in (19) a higher T s leads to a lower Q f and therefore a higher R t ; at a very low P(H 0 ), a lower Q f does not help because this part of R t is suppressed by the value of P(H 0 ) itself, and vice versa.

Simulation results and analysis
In this section, we run Monte Carlo simulations on the proposed TD-CRHAN scheme and the three conventional cases and compare the results with the numerical results. The settings for this simulation are the same as in Section 4 except the SNR of the incumbent user (i.e., SNR p j ) is randomly set for each CR-based device j based on the Uniform distribution within the range of −11 and 3 dB (i.e., SNR p j ∼ U (−11, 3) dB, for all j). We consider this range for this simulation in order to capture the dynamic behavior of the sensing qualities (i.e., P d and P f ) and observe the impact of different sensing ). This is a comparison between TD-CRHAN and the conventional schemes. For this, SNR pj is chosen randomly between −11 and 3 dB for all j time T s values. For SNR p higher than 3 dB, only a few samples with single device sensing (without cooperation) are required to obtain an already very high probability of detection P d and very low probability of false alarm P f . For low SNR p used, i.e., −11 dB and less, an increase of the sensing time does not really give significant improvement of the sensing qualities. We repeat the simulation 1000 times and the results are averaged. It can be seen from Fig. 13 that, in general, the patterns of the simulation results are similar with the graphs from the numerical analysis (refer to Fig. 7). However, notice that the optimal sensing time in the simulation is less than in the numerical analysis which is caused by the possible high value of the incumbent user signal strength in the simulation (i.e., between −11 and 3 dB as compared to a fix −7 dB, respectively). In addition, Fig. 14 shows that the corresponding cooperative and the individual false alarm probabilities, i.e., Q f and P f j , ∀j, respectively, of the proposed TD-CRHAN varies according to the number of in-band channels I available. In TD-CRHAN, for the same total throughput demand D t , an increase of the number of in-band channels I will decrease the required achievable throughput R (i) of each channel i, hence this reduces the required Q f and the corresponding P f j , ∀j. This then further reduces the required sensing time T s , as can be seen in Fig. 13. Besides, it can be observed from Fig. 14a that the probability of false alarm P f j of sensing device j depends on its SNR p j : a lower SNR p j device has a higher P f j .
Finally, a Monte Carlo simulation is executed in which all network parameters are uniformly randomized (i.e., D t ∼ U (3.5, 10) Mb/s, SNR (i) p j ∼ U (−11, 3) dB and P H (i) 0 ∼ U (0, 1), ∀i, j) to evaluate the performance of the TD-CRHAN in a more practical scenario. The graphs of the normalized ε and sensing time T s , versus the number of in-band channel I for N = 1, 2, . . . , 6 are plotted as shown in Fig. 15. Similarly, it is observed that with the proposed TD-CRHAN scheme, the network throughput demand D t is satisfied at all times for all N. However, it is seen that a lower number of cooperating sensing devices N will require a higher sensing time T s , and moreover at a certain point, a higher number of channels I is even required (i.e., in this case, I ≥ 4 for N = 1 and 2 compared to I ≥ 3 for N = 3, 4, 5, and 6).

Conclusions
To support the ever-rising throughput demand of home area networks (HAN), we proposed in this paper a cognitive radio (CR)-based communication scheme called TD-CRHAN. The TD-CRHAN aims at satisfying the demanded network throughput with equality by determining the optimal local spectrum sensing time, the number of cooperating sensing devices, and the number of active in-band channels needed. This leads to an efficient scheme which provides a higher utilization of the occupied channels. It was shown by extensive numerical analysis and through simulations that TD-CRHAN is able to relax the tight cooperative spectrum sensing requirements and provides significant gains on the cooperative spectrum sensing parameters (i.e., spectrum sensing time and number of cooperating devices), compared to the conventional solution. More specifically, TD-CRHAN reduces the required local spectrum sensing time by more than 51 %. Furthermore, it was shown that these cooperative spectrum sensing parameters can be further improved with the availability of additional cooperating devices or channels (bandwidth).