International Journal of Digital Multimedia Broadcasting

Volume 2010, Article ID 424036, 20 pages

http://dx.doi.org/10.1155/2010/424036

## Collaborative Spectrum Sensing Optimisation Algorithms for Cognitive Radio Networks

Centre for Communication Systems Research, University of Surrey, Guildford GU2 7XH, UK

Received 28 October 2009; Accepted 17 March 2010

Academic Editor: Massimiliano Laddomada

Copyright © 2010 Kamran Arshad et al. This is an open access article distributed under the Creative Commons Attribution License, which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.

#### Abstract

The main challenge for a cognitive radio is to detect the existence of primary users reliably in order to minimise the interference to licensed communications. Hence, spectrum sensing is a most important requirement of a cognitive radio. However, due to the channel uncertainties, local observations are not reliable and collaboration among users is required. Selection of fusion rule at a common receiver has a direct impact on the overall spectrum sensing performance. In this paper, optimisation of collaborative spectrum sensing in terms of optimum decision fusion is studied for hard and soft decision combining. It is concluded that for optimum fusion, the fusion centre must incorporate signal-to-noise ratio values of cognitive users and the channel conditions. A genetic algorithm-based weighted optimisation strategy is presented for the case of soft decision combining. Numerical results show that the proposed optimised collaborative spectrum sensing schemes give better spectrum sensing performance.

#### 1. Introduction

As numbers of wireless devices, innovative services, and number of mobile users continue to grow, more and more spectrum resources will be needed to guarantee desired Quality of Service. Mobile users want high-quality calls, streaming videos, and high-speed downloads, placing more and more stress on the limited radio spectrum available to the network operators. The radio spectrum spans around billion frequencies; however, only a tiny fraction of frequencies can be used for commercial or personal radio communications; fundamental physical limits apply [1]. In the current spectrum regulatory framework, most frequency bands are exclusively allocated to the privileged users, often called Primary User (PU), which have all the rights to use the allocated bands. This approach protects PU's from any intersystem interference, but on the other hand, it yields highly inefficient use of the spectrum.

Measurements conducted by the Office of Communications (Ofcom) in UK and the Spectrum Policy Task Force (SPTF) in USA indicate that many chunks of the licensed spectrum are not used or only partially used, for significant periods of time [2, 3]. Spectrum occupancy measurements undertaken by Ofcom in Central London, at Heathrow airport and in some rural areas of the country, clearly show that there are significant portions of the radio spectrum which are not fully utilised in various geographical areas of the United Kingdom [4]. Similarly, in New York city maximum spectrum occupancy is reported as only and downtown of Washington D.C. indicated spectrum occupancy of less than of the radio spectrum below 3 GHz [5]. These studies clearly suggest that currently spectrum scarcity is mainly due to the inefficient use of spectrum rather than the physical shortage of spectrum. Particularly in UK, Olympic Games put extra pressure on Ofcom to plan the efficient use of radio spectrum to satisfy over million spectators, around 15,000 participants and about media personnel in the UK who will beam live pictures and commentary all around the world. Moreover, emerging as well as some existing operators are faced with the difficult task to gain access to the radio spectrum to operate their services [6]. In addition, access to a block of spectrum is very expensive as seen when the five operators were licensed for the rd generation mobile systems in the UK at a cost of around *£*22.5 billion [7]. More recently (early ), the FCC spectrum auction in USA raised a record billion dollars [8].

Cognitive Radio (CR) is widely regarded as the technology which will increase spectrum utilisation significantly in the next generation wireless communication systems by implementing opportunistic spectrum sharing. Spectrum sensing is one of the most critical functionalities in a cognitive radio network; it allows the unauthorised users, called Secondary Users (SUs), to detect unused portions of the spectrum called “spectrum holes” and opportunistically utilise these spectrum holes without causing harmful interference to the PU. The main goal of spectrum sensing is to obtain awareness about the spectrum usage and the existence of the PU in a certain geographical area at a particular period of time. In order to evaluate the performance of spectrum sensing, two metrics are of great interest: probability of detection and the probability of false alarm. Probability of detection, , determines the level of interference-protection provided to the PU while probability of false alarm, , indicates percentage of spectrum holes falsely declared as occupied [9]. In the context of opportunistic spectrum access, must be higher than some predefined threshold while should be lower than some desired criteria or as minimum as possible.

To enhance the performance of spectrum sensing, many techniques are available in the literature, and a brief survey has been recently published in [10]. In practice, CRs usually have no or limited knowledge about the primary signals; hence the optimal spectrum sensing technique is energy detection [11]. An energy detection approach for spectrum sensing at an individual CR has been assumed in this paper because of its simplicity, ease of implementation, and low computational complexity [9]. Moreover, the aim of this paper is to characterise gains achieved by collaboration of users without going into the details of complex local spectrum sensing schemes. The more sophisticated techniques like match filter detection or cyclostationary feature detection can be used for signal classification if more a priori knowledge about the structure of the primary signal is available [10]. However, performance of the energy detector is susceptible to noise power uncertainty [12]. Nevertheless, it has been shown that Collaborative Spectrum Sensing (CSS) is capable of delivering the desired detection performance under noise uncertainty for a large number of users [9]. However, energy detectors do not work efficiently for detecting spread spectrum signals [10]; spread spectrum signals are out of the scope of this paper.

##### 1.1. Prior Work

The spectrum scarcity and spectrum underutilisation problem has stimulated a number of exciting activities in the technical, economic, and regulatory domains in searching for better spectrum management policies and techniques, for example, FCC opened up some analogue TV bands for unlicensed access [13]. However, spectrum sharing with PU must be done in a controlled way so that the PU operation in the particular frequency band is not disturbed. Furthermore, the IEEE standard for unlicensed access to the TV bands is in its final stages of development [14]. Recently, Ofcom released Digital Dividend Review Statement (DDRS) which shows a radical shift in spectrum sharing policy in the UK and Ofcom is proposing to “allow license exempt use of interleaved spectrum for cognitive devices” [15]. Also, the European Commission (EU) paid much attention on dynamic spectrum management and the CR theme, and sponsored many FP5, FP6, and FP7 projects such as DRIVE [16], OverDRIVE [17], WINNER [18], E2R I/II [19], ORACLE [20], E3 [21], and “Radio Access and Spectrum" (RAS) cluster [22] tackling this issue. Similarly, several other projects outside Europe including the Defense Advanced Research Project Agency (DARPA)'s Next Generation program [23] and National Science Foundation program “NeTS-ProWiN" [24] show a significant momentum to shift spectrum access policy.

The cognition capability of a CR can make opportunistic spectrum access possible which can be implemented either by knowledge management mechanisms or by spectrum sensing functionality. A mobile network operator, for example, can equip the terminals with management mechanisms to select the most appropriate radio access technology of its heterogenous infrastructure [25, 26]. Concentrating on spectrum sensing, observations of a single CR are not always trustworthy because a CR may have good line of sight with the primary receiver but may not be able to see the primary transmitter due to shadowing or fading, known as “hidden node" problem. Collaboration has been proposed as a solution to the problems that arise due to such uncertainties in the channel. It has been shown many times in the literature that spectrum sensing performance can be greatly improved by CSS when a number of SUs share their sensing information; fusion of this information leads to a final decision about the existence of the PU. For an overview of recent advances in CSS, the reader can refer to [9, 27–32]. Existence of a large number of cognitive users creating multiple CRN's is highly probable in the future communication systems. However, the CSS mechanisms generate a large amount of traffic overhead since each SU needs to transmit its own decision; therefore collaboration of users needs to be refined and optimised [9].

Various techniques for the optimisation of CSS in terms of fusion rule [29], number of users [33], and thresholds [34] have been proposed. It has been argued in the literature that fusion schemes strongly impact on the spectrum sensing performance including probabilities of detection and false alarm [29]. In CSS, a CR can transmit either its local observations (soft decision) or a 1-bit decision (hard decision) to a common receiver, often called fusion centre. When hard decisions are combined at the fusion centre, the *K*-out-of-*N* fusion rule is normally used [33]. In the literature, there are some studies on the optimisation of the -out-of- rule to minimise total decision error probability [29] and to maximise the SUs throughput [35]; however, those algorithms were designed for a specific scenario of TV bands sharing in an AWGN channel. A fusion rule based on selected information for spectrum sensing is considered in [36], in which only users that have sufficient information send their 1-bit decision to the fusion centre and the fusion centre employs best fusion rule based on the received information. A new fusion rule including “No decision” information from the cooperative nodes was proposed in [28].

The optimum fusion rule for combining soft decisions is Chair-Varshney rule which is based on log-likelihood ratio test [37]. Various other techniques for combining soft decisions are presented in [38]. However, most of the prior research work focuses on the case when SUs are far away from the primary transmitter and hence the same path loss or Signal-to-Noise Ratio (SNR) was assumed for all collaborating SUs [9, 29, 33]. The effects of different SNRs on detection performance are studied under AWGN channel conditions in [39]. Moreover, previous research highlighted CSS techniques which combine data from the CR nodes with equal weights and with perfect reporting channels [9, 40, 41], which is clearly not the case in realistic scenarios and might lead to misleading interpretation of results. The reporting channel for an th user is defined as the channel between th user and the fusion centre. Performance of CSS with noisy reporting channels was considered for the case of hard decision fusion in [31].

Collaborative spectrum sensing schemes with weighted user contributions have been recently proposed in [42, 43]. In [42] average signal power at an SU was exploited to assign weights to different collaborating cognitive nodes. In [43] a linear optimal strategy for CSS was presented and optimal weights for each SU in an AWGN channel were derived analytically. However, the shortcomings of existing literature in weighted CSS are in the fact that perfect reporting channels have been assumed instead of more realistic fading channels.

##### 1.2. Major Contributions

In this paper, the optimisation of CSS is documented and optimum decision fusion is evaluated for hard and soft decision fusion at the fusion centre. Main contributions of this paper are summarised as follows.(i)Hard decision fusion is attractive because of lower communication overhead over the reporting channels. In this paper, the problem of hard decision fusion at the fusion centre is addressed and answers this simple question: for optimal fusion does the fusion centre only need -bit decision? Different scenarios are considered with users close to the primary transmitter have the different SNR values. It is concluded that in order to achieve optimum spectrum sensing performance, the fusion centre must have SNR information for each CR and channel conditions along with their -bit decisions.(ii)Maximum diversity in CSS is achieved when all collaborating users experience identical and independent fading or shadowing effects, which is not possible in reality if users are too close to each other. Multipath fading can be assumed to be independent from one user to another but shadowing is normally correlated over large distances. Thus, secondary users in close vicinity of each other make similar measurements and this limits the collaboration gains. In this paper, correlated log-normal shadowing is considered among collaborative users and it is shown that correlated shadowing has direct impact on the optimal fusion rule at the fusion centre.(iii)Genetic Algorithm- (GA-) based weighted collaborative spectrum sensing strategy is proposed in this paper to combat the effects of channel and enhance spectrum sensing performance. The proposed optimum spectrum sensing framework is based on a model that is realistic and also takes into account both channels, that is, channel between PU and SUs as well as the reporting channels. It is shown in this paper that imperfect reporting channel and different SU SNR values have direct impact on the performance of CSS. Secondary users transmit their soft decisions to the fusion centre and a global decision is made at the fusion centre which is based on a weighted combination of the local test statistics from individual SUs. The weight of each SU is indicative of its contribution to the final decision making. For example, if an SU has a high SNR signal and also has a good reporting channel (higher reporting channel gain), then it is assigned a larger contributing weight. The optimum CSS problem is formulated as a nonlinear optimisation problem in this paper. For a given probability of false alarm and channel conditions, optimal weights are chosen in such a way that it maximises global probability of detection at the fusion centre. With a realistic fading channel it is hard to derive an analytical expression for the optimum weights and hence a GA-based solution is proposed.

##### 1.3. Organisation of the Paper

The remainder of this paper is organised as follows. In Section 2 the system model is briefly introduced and the use cases are defined. Section 3 discusses local spectrum sensing under channel fading conditions and its limitations. Section 4 briefly explains CSS and decision fusion techniques for both HDC and SDC, considered in this paper. Section 5 proposes a framework for optimisation of fusion rules for HDC. In order to achieve optimum spectrum sensing performance, GA is used to calculate the weights for each collaborative user in Section 6. Finally Section 7 concludes the paper.

#### 2. System Model for Cognitive Radio Network

Consider a cognitive radio network, with cognitive users (indexed by ), and a fusion centre to sense a portion of the spectrum of bandwidth “” in order to detect the existence of the PU, as shown in Figure 1. Assume that each CR is equipped with an energy detector and is able to perform local spectrum sensing independently. Each CR makes its own observation based on the received signal, that is, noise only or signal plus noise. Hence, the spectrum sensing problem can be considered as a binary hypothesis testing problem with two possible hypothesis and defined as [38] where is the PU signal and is assumed to be an identical and independent random process (i.i.d.) with zero mean and variance . For the th SU, the receiver noise is modelled as which is also assumed to be an i.i.d. random process with zero mean and variance and is the complex gain of the channel between the PU and the th SU. Further, it is assumed that and are independent of each other. The power transmitted by the PU is received at the SU and the ratio of received power to the power of noise at the SU is defined as the SNR at the SU energy detector. The received SNR at the th SU can be more precisely defined as

System model and use cases for considered scenarios are shown in Figure 1. Two use cases are assumed in this paper. Use Case refers to the case when PU transmitter is far away from the CRN and hence same SNR can be assumed for all SUs. In use Case , the PU is not far away from the SUs and each user has a different value of SNR depending on its distance from the PU and its channel conditions.

#### 3. Local Spectrum Sensing

The performance of a given spectrum sensing scheme is fundamentally limited by the radio propagation channel. Typically, the effects of a radio channel can be divided into three main parts: path loss, small-scale fading, and large-scale fading (shadowing) [44]. Path loss effects are incorporated in the received SNR at a cognitive radio terminal. Small-scale fading causes rapid, random variations in the signal strength at the CR receiver and is modelled by Rayleigh fading in this paper. Shadowing is the slow variation of received signal power as the cognitive radio moves in and out of the shadow of large structures like mountains, buildings, and so forth. Shadowing is often modelled as a log-normal distributed random process that varies around a local mean given by the path loss and with the standard deviation which depends on the environment [45].

##### 3.1. AWGN Channel

In energy detection-based spectrum sensing, the received radio frequency energy in the considered channel or frequency band is measured over a time interval to determine whether the PU signal is present. Assume that the time bandwidth product is always an integer and is denoted by . Test statistic calculated by an th user is given as is compared with a predefined threshold to get the local decision: The binary decision is given by ; when and otherwise. is the sum of squares of Gaussian random variables and it is well known that the sum of squares of Gaussian variables follows a chi-square distribution [46]. Thus follows a central chi-square distribution with degrees of freedom under hypothesis and a noncentral chi-square distribution with degrees of freedom and non-centrality parameter of under hypothesis . Therefore, the probability density function (pdf) of random variable under the two hypotheses can be written as where is the gamma function and is the modified Bessel function of the first kind. For an th user probability of false alarm, , and detection, can be derived from (5) and is given as where is incomplete gamma function and is the generalised Marcum -function. Detailed derivations of and are given in Appendices A and B.

For the purpose of simplifying (5) an approximate model for energy detection-based spectrum sensing observations can be built. It has been shown in [47] that the approximated model converges faster and has lower approximation error when is asymptotically large. So when tends towards infinity (practically when [46]), the chi-square distribution defined in (5) converges to a normal distribution, that is, Similarly, and defined in (6) and (7) can be approximated as where and denote expectation and variance operations, respectively.

##### 3.2. Spectrum Sensing in Fading Channels

When the SU is in a fading channel, the channel gain for an th user is varying due to the fading and becomes conditional probability dependent on instantaneous SNR . As expected, is independent of and remains static. Average probability of detection can be obtained by averaging instantaneous over fading statistics, where the pdf of received SNR is : When the channel is Rayleigh faded, then is exponentially distributed with as its mean value. Similarly when channel is shadow faded, then is log-normally distributed with mean and characterised by dB-spread of shadowing [38]. Hence, where and is the mean of . The conversion from linear mean to the log mean (in dB) can be derived as [45] Substituting (7) and (11) in (10), for Rayleigh fading channel average probability of detection for the th user can be calculated by [38] For shadow fading, close form solution of (10) is not known and a numerical solution is required: where and are chosen as to minimise numerical approximation error.

##### 3.3. Numerical Evidence

The performance of local spectrum sensing is evaluated using theoretical results as well as Monte Carlo simulations by plotting complementary Receiver Operating Characteristics (ROC) curves (plot of versus ). In Monte Carlo simulations, probability of false alarm and miss detection is calculated by comparing sensing observations with a predefined threshold, and results are obtained by simulations over noise realisations. It is assumed that is an integer value and set to be .

Figure 2 shows the ROC curves for local spectrum sensing in AWGN, Rayleigh fading, and Shadowing for different values of . Spectrum sensing results for AWGN channel are provided for comparison and simulation results are validated by comparing with analytical results. It is clear from Figure 2 that both Rayleigh and shadow fading degrades the performance of spectrum sensing. For example, in Rayleigh fading channel, in order to achieve where , we need which results in poor spectrum utilisation and vice versa. Similarly, it can be seen from Figure 2 that local spectrum sensing is more difficult in shadow fading and with increase in shadowing (or ) detector performance further degrades.

Another important metric to characterise spectrum sensing performance is the minimum detected SNR. This metric is defined as the lowest SNR that a sensing algorithm is able to detect with reliability of and for a given PU signal, propagation conditions and observation time. Figure 3 plots the minimum detectable SNR by a CR under different channel conditions for a targeted . It is clear from Figure 3 that shadowing affects detector performance more than Rayleigh fading. In order to achieve in given scenario, the required SNR is around 10 dB while for the lower values of this is not possible as shown in Figure 3.

#### 4. Collaborative Spectrum Sensing

Section 3 shows that local spectrum sensing has some limitations and it is hard to detect signals of low SNR for desired performance. Among many other challenges (e.g., see [48]) one of the most important challenges for the implementation of CRN is the hidden node problem, when a CR is shadowed or in a deep fade [41]. To address these problems multiple CRs can collaborate with each other in order to make a global decision about the existence of the PU. It has been shown by previous research that CSS can improve detection performance in the fading channels; for example, see [9] and references therein. In CSS, every SU performs its own spectrum sensing measurements and can also make a local decision on whether the PU is present or absent. All of the SUs forward their soft (local measurement) or hard (1-bit) decision to a common receiver, often called fusion centre or a band manager. Fusion centre may be centralised or distributed; in centralised CSS all the SUs send their decisions to the fusion centre, which may be an Access Point (AP) in wireless LAN or a CR base station in a cellular system, while, in distributed CSS, all the SUs may behave as a fusion centre and receive sensing information from the neighboring nodes. In both cases, fusion centre fuse collected decisions and make a final decision to declare the presence (or otherwise) of primary users in observed frequency band. The results presented in [40, 49] show that SDC outperforms HDC in terms of probability of miss detection. While HDC outperforms SDC when the number of collaborative users is large [41] and further HDC needs a low-bandwidth control channel. In CSS, sharing information within CRN and combining result from various measurements is a challenging task, which is the main scope of this paper.

##### 4.1. Hard Decision Combining

In HDC, fusion centre collects binary decisions from the individual SUs, identifies the available spectrum, and then broadcasts this information to the other SUs. The optimal decision fusion is based on Neyman-Pearson criterion by comparing Likelihood Ratio with the threshold vector as where denotes binary decisions from SUs and , is the optimal threshold vector and , and represents the probability density functions of under hypothesis and , respectively. Mathematical analysis using Neyman-Pearson criterion is mathematically untractable especially if the local measurements are correlated and hence sub optimal solutions are always preferable [50].

There are many other ways to combine or fuse hard decisions based on counting rules; most commonly used in the literature are *OR*, *AND* and in general -out-of- fusion rule [36, 42, 51]. In *AND* all CRs should declare in order to make a global decision that PU is present while in *OR* rule, fusion centre declares if any of the received decision is . At the fusion centre, all 's are fused together according to the following fusion rule [9]:
It can be seen from (16) that the *OR* corresponds to the case when while for *AND* rule .

It has been reported that for many cases of practical interest, the *OR* fusion rule delivers better performance [9]. In order to demonstrate improvement in spectrum sensing performance by collaboration of SUs *OR* fusion rule is used at the fusion centre in this section. Figures 4 and 5 show ROC curves for use Case (as shown in Figure 1) with different number of CRs under i.i.d. log-normal shadowing with dB and . In these results, AWGN curves for single users are shown for comparison. As seen in Figures 4 and 5 CSS mitigates the effects of shadow fading effectively. It can also be seen in Figure 4 that by incorporating more and more users performance even better than in the AWGN scenario can be achieved. This stems from the fact that with more number of SUs there are more chances that a single user has its instantaneous SNR above average.

As stated in Section 3 another important parameter to analyse performance of a detection algorithm is minimum detected SNR. A good detection scheme must be able to detect signals of low SNR, and in Section 3 it has been shown that shadowing affects detected SNR by a user. Figure 6 shows that by incorporating a large number of users it is possible to achieve the desired performance even at low SNR levels. By comparing Figures 3 and 6 it can be seen that under shadow fading () and for desired performance, for example, and local sensing requires received signal of at least dB while collaboration of users can detect signal of SNR as low as dB.

##### 4.2. Soft Decision Combining

In order to simplify the analysis with fusion of soft decisions, it has been assumed that the value of is large. With this assumption the summary statistics at local secondary nodes (as defined in (8)) can be considered, which is transmitted to the fusion centre through the reporting channels. In this paper realistic noisy reporting channels with variable channel gains are considered. A system model is shown in Figure 13.

###### 4.2.1. Equal Gain Combining

Statistics of local observations for an th SU after passing through the channel of gain and noise is where is the noise variance of the th reporting channel. For the soft decision fusion scheme, fusion centre decides between and by comparing sum of individual observations with a global threshold :

###### 4.2.2. Weighted Combining

In weighted combining, global test statistics is calculated at the fusion centre by assigning weights to the received observation from an th user by where and the received decision vector at the fusion centre is defined as . Weight vector at the fusion centre satisfies . From (17) and (19) the distribution of is given as Assume , , , , and . Furthermore, defined matrices , , , and that all belong to represent the diagonal matrices formed by placing the vectors , , , and on the diagonal, respectively. The statistics of under and can be written as

To make a decision on the presence of a primary transmitter, the global decision statistic as defined in (21) is compared with a threshold . Global probability of false alarm and detection at the fusion centre, as denoted by and , are given as where is the tail probability of the normalised Gaussian distribution.

#### 5. Optimised User Collaboration Scheme for HDC

Section 4.1 shows that collaboration of SUs improves spectrum sensing performance by utilising space diversity of users. In this section, the problem of hard decision fusion at the fusion centre is considered in the presence of i.i.d. and spatially correlated shadowing. In the past, emphasis was given to collaborative spectrum sensing when all users have same received SNR; however, in this section, a scenario where users have different with AWGN and log-normal shadowing is considered. Three different cases in use Case are considered here which represents three different scenarios depending on the location of PU and SUs. Case refers to a scenario in which all the SUs are relatively close to each other and hence having similar values of SNR. Case depicts the situation when half of the collaborating users have high SNR values while in Case only one use has a high SNR value as compared to other collaborating SUs.

Different decision fusion schemes at the fusion centre including *OR*, *AND*, *Voting,* and *1-user* cases are considered. In *Voting*-based decision fusion scheme all SUs vote and fusion centre declare an opportunity if the majority of the collaborative SUs declare an opportunity. In *1-user* case although fusion centre receives information from all users, it uses only one user information in order to make a global decision.

##### 5.1. Independent and Identically Distributed Shadowing

###### 5.1.1. Mathematical Formulation

The global probability of detection and probability of false alarm at the fusion centre can be expressed as a function of the probability of detection (or false alarm) of each SU, obtaining the joint probability of independent events as represents the set of all secondary users with where is the group of SUs that has decided that PU signal is absent while is the group of SUs that has decided that PU signal is absent and is the decision fusion rule at the fusion centre. Value of depends on what type of fusion rule is used at the fusion centre. So for the given formulation, -out-of- rule can be formulated as For the fusion rules considered in this section, is given as where is the ceil function.

For *1-user* rule,
where the th user is chosen as

###### 5.1.2. Simulation Results

Figure 7 shows collaborative spectrum sensing performance when SUs collaborate with each other and make collaborative decision; analytical results validating the simulation results are shown. When all users have similar (Case ) in AWGN channel, then the optimal decision fusion rule is *Voting* rule as evident from Figure 7. When half of the users have high and half of the users have low (Case ), then the optimal decision rule is *OR*. Case refers to the situation when only one user has higher than others; in this case the collaborative spectrum sensing works even worse than a single node. From these results it can be concluded that it is not necessary that collaboration of users always improves spectrum sensing performance and in order to derive an optimum performance individual should be considered. Without knowing the performance is always suboptimal; so in the proposed scenario it is suggested that users estimate local and send this information along with their 1-bit decision. Local SNR can be estimated by using a test statistics defined in (5) as
where is estimated SNR, is the number of test statistics, and is .

In Rayleigh fading and shadowing, collaborative spectrum sensing is an ideal solution because diversity gain achieved by collaboration effectively cancels the deleterious effects of fading. Figures 8 and 9 show detection performance under Rayleigh fading and shadowing with the three cases considered in this section. Value of dB-spread is assumed to be dB for the shadowing while other parameters remain the same. As can be seen from these results, in all three cases spectrum sensing performance is superior if *OR* fusion rule is used at the fusion centre. So it can be concluded from simulation results that under Rayleigh fading and shadowing with i.i.d. measurements most optimal fusion rule is *OR* rule and collaboration of users is required. Further, with the increase of shadowing, sensing performance of two user collaboration with highest is better than collaboration of all users. It can be concluded that even in fading or shadowing it is important for the fusion centre to know the SNR values of the users to make a decision about which fusion rule gives better performance.

##### 5.2. Spatially Correlated Shadowing

Up to this point, it is assumed that all collaborating cognitive users have identical and independent shadowing. However, usually there is a degree of spatial correlation associated with log-normal shadowing [52] and assumption of identically and independent (i.i.d.) shadowing is not always true. In this section, the impact of spatially correlated shadowing on decision fusion when users have different SNR is studied under different channel conditions. It is concluded that correlation has a direct impact on the optimum decision fusion rule at the fusion centre.

It is logical to think that spatially correlated shadowing would degrade the performance of CSS because such users are likely to experience similar observations thereby countering collaborative gains. In this paper correlated shadowing is modelled using the exponential correlation model [52]: where is the correlation matrix, is the distance between two secondary users, and is a constant depending on the environment. Based on measurements reported in [52], for urban environment and for suburban environment.

###### 5.2.1. Mathematical Formulation

Assume that is the received SNR at the th SU on a logarithmic scale. Hence under shadow fading has a Gaussian distribution with variance of and a mean value of (in dB). The value of is determined by the distance dependent path loss. Under two hypotheses and the distribution of for SUs under spatially correlated shadowing can be expressed as where , is an vector of all ones, and is the normalised covariance matrix of . Using the exponential correlation model defined in (29), the covariance matrix is an matrix. Assuming that all SUs are uniformly distributed in a 1-dimensional plane within a total distance of , the elements of covariance matrix are given as Hence, the covariance matrix can be expressed as where denotesanddenotes.

The probability density function of can be expressed for the collaborative SUs having correlated shadow fading as From (32) it is clear that is a diagonal constant matrix or Toeplitz matrix, and its inverse may be expressed as [53] where denotes .

###### 5.2.2. Simulation Results

It is shown in this section that spatial correlation among users directly impacts the decision fusion at the fusion centre. Figures 10, 11, and 12 show ROC curves of collaborating users under spatially correlated shadowing with dB-spread of dB and dB for the three cases defined in Section 5.1. In case of correlated shadowing with lower values of , the *Voting* fusion rule outperforms *OR* fusion rule and performance of *AND* fusion rule is better than *OR*. This is due to the fact that all secondary users are close to each other and have similar values of ; hence user observations are similar to each other. However, sensing performance in heavily shadowed environment (e.g., when ) for all fusion schemes is almost similar in all three cases. Hence, it can be seen from Figures 10, 11, and 12 that for optimal decision fusion at the fusion centre, it is important to consider the effects and degree of correlation among users.

#### 6. Optimised User Collaboration Scheme for SDC

In this section, goal is to optimise CSS when collaborating SUs send their soft decisions to the fusion centre by maximising the global probability of detection (or alternatively minimising global probability of miss detection) for a given value of probability of false alarm and channel conditions. Referring to Section 4.2 for the framework of soft decision combing at the fusion centre, global probability of detection can be written in terms of global probability of false alarm (using (22)): Maximising , as defined in (35), is equivalent to minimise as is a decreasing function of , where is given by Similarly for fading channels, the average probability of detection can be obtained by averaging over fading statistics as described in Section 3.2. Now the optimisation problem can be formulated as

##### 6.1. GA-Based Weighted Collaborative Spectrum Sensing

This section describes the design of a GA-based weighted CSS framework for the case of SDC at the fusion centre. In this work, GA is used as a solution approach to minimise as defined in (36) for a given value of . The GA has been proposed as a computational analogy of adaptive systems by Holland [54]. They are modelled based on the principles of natural evolution and selection and is briefly described in this section. An initial population is first generated and then the fitness of each chromosome in the initial population is evaluated using a predefined fitness function. A loop is initiated to simulate the generations and in each generation, chromosomes are selected probabilistically according to their fitness. The genes of the selected individuals will mutate and crossover to produce offsprings to maintain the population size. The GA continues to iterate until the convergence is achieved or until it exceeds the maximum number of generations.

###### 6.1.1. Seeding

The algorithm starts by randomly generating an initial population of possible solutions. Here, the initial population is the randomly generated values of weights satisfying the constraints as described in (37). Seeding is a process of setting the initial population to some initial configuration. If the initial population is seeded properly, the performance of GA can be greatly enhanced. Since GA works by probabilistically mutating and combining, the convergence of algorithm can be achieved quickly if the population is initially preset to a good solution.

###### 6.1.2. Fitness Function

A fitness function plays a central role in GA. It evaluates fitness of each chromosome and forces the algorithm to search for optimal solutions and is the only link between actual problem and the GA. A fitness function ranks chromosomes in a given population; so individuals having better fitness values have higher chances of survival and reproduction in the next generation. In this paper, is used as a fitness function to evaluate the fitness of individuals. After calculating the fitness of each individual, all fitness values are scaled in a range that is suitable for the selection algorithm. The selection algorithm uses these scaled fitness values to choose the parents of the next generation. The range of scaled values affects the performance of GA, and in this paper the scaling method described by Goldberg [55] is used.

###### 6.1.3. Selection

Once the chromosomes in a given population have been evaluated according to their fitness values, the one with the better fitness will be selected, and the others will be eliminated. There are many different strategies available in the literature to implement selection algorithm [56]. The simplest and the most widely used selection scheme, the roulette wheel selection, is used in simulations [55].

###### 6.1.4. Elitism

The number of chromosomes in a population with the best-scaled fitness value guaranteed to survive in the next generation and represented by Elitism is called Elite children. Proper value of Elite children is important in the fast convergence of GA.

###### 6.1.5. Crossover and Mutation

Crossover process in GA combines two individuals (parents) and produces entirely new chromosomes (children). The main idea behind crossover operation is that the children may be better than both of the parents if they take the best attributes from each parent. Generally, crossover occurs during evolution according to a specified probability and is typically in the range of to . Although a number of crossover techniques are available in the literature, the simplest crossover technique, called single-point crossover [56], is used in this study.

Mutation is another genetic operation which alters one or more genes in a chromosome from its original state. This introduces new genetic material in the population. With the new gene, GA may be able to arrive at a better solution than previously possible. Mutation also occurs during the evolution process by some prespecified probability and this value is normally small as compared to the crossover probability. In the classical mutation process, one or more pairs of genes are selected randomly and swapped to produce new offsprings. Figure 14 illustrates the process of crossover and mutation for the case of 5 collaborating users.

###### 6.1.6. Termination

Termination is the criteria by which GA decides whether to continue or stop searching for better solutions. There are many possibilities to terminate GA including generation number, evolution time, and population convergence, and so forth and in this work generation number criterion is used for terminating the GA. Based on a number of test experiments, the best suited GA parameter configuration was set up for the optimisation problem and parameters are listed in Table 1.

##### 6.2. Numerical Result and Discussions

In this section, proposed GA-based weighted CSS scheme for SDC is simulated and compared with existing weighting schemes proposed in [42], that is, Equal Gain Combining (EGC) and Proportional Combining (PC). EGC is the weighting scheme in which all the collaborating SUs have equal weights and in PC the fusion centre assigns proportional weight to SUs according to their SNR values. Numerical results are obtained from simulations for use Case over noise realisations for the given set of noise variances. Noise variance of all collaborating users for the primary channel (i.e., channel between primary transmitter and secondary users) is assumed to be and noise variance of the reporting channels is assumed to be dB. Value of is assumed to be in all simulations.

Figure 15 shows the probability of miss detection against probability of false alarm with different number of collaborating users and their corresponding SNR values. A perfect reporting channel is assumed here and the channel between SUs and PU is considered to be AWGN channel. Figure 15 shows clearly that with an increase in the number of collaborating users sensing performance improves if all SUs have same SNR. However, when the cognitive users have different mean SNR values, then the sensing performance degrades with equal gain combining. Proportional weights assigned to different users according to their SNR values improve sensing performance as compared to equal gain combining approach. From the results it is concluded that users SNRs have a direct impact on the spectrum sensing performance.

Figure 16 plots the versus for the case when cognitive users have different SNRs and the reporting channel is not perfect; that is, practical AWGN channels exist between SUs and the fusion centre with different channel gains defined as . The value of channel gain is dependent on the location of the fusion centre and the SU and is varying over time. It can be seen from Figure 16 that reporting channel gains degrade the performance of spectrum sensing. Without channel gains, PC performs better than EGC, but, in the presence of reporting channel, PC does not perform much better than EGC. This is mainly because of the fact that in the presence of imperfect reporting channel, optimum weights of cognitive users are not only dependant on SNR values but also depend on reporting channel conditions. Under such conditions an analytical expression for the probability of detection is derived and optimum weights are calculated using GA. The result shows that the proposed GA-based optimal weights, denoted as “OPT,’’ yield superior spectrum sensing performance in both cases, that is, with and without reporting channel gain.

In order to evaluate the performance of proposed optimised collaborative spectrum sensing framework, performance of GA-based optimisation algorithm is tested in fading channel. Three different cases were considered: Case refers to the case in which all the SUs have good reporting channel, Case is the case in which all the collaborating cognitive users have bad reporting channel, while in Case two of the collaborating users have strong channel, while others have bad reporting channel. As seen from Figure 17 spectrum sensing performance is the worst for Case and the best for Case ; however, in all of the three cases, the performance of the proposed optimised thresholds outperforms the other solutions.

#### 7. Conclusions

Spectrum is a scarce resource and it has been a major focus of research over the last several decades. Cognitive radio technology, which is a one of the promising approaches to utilise radio spectrum efficiently, has become an attractive option. Deployment of cognitive radio networks mainly depends on the ability of cognitive devices to detect licensed or primary users accurately and hence minimise interference to the licensed users. Spectrum sensing has been identified as a key functionality of a cognitive radio. However, as observations of a single cognitive radio are not always trustworthy, so collaboration of cognitive users is normally required to improve licensed users detection performance. In this paper, optimisation algorithms for both hard decision and soft decision combining are presented for collaborative spectrum sensing. It is well known that fusion strategy at the fusion centre has direct impact on the overall performance of collaborative spectrum sensing. We consider optimisation of both hard and soft decision fusion and develop algorithms to optimise spectrum sensing performance. It is concluded that in order to derive an optimum fusion rule, the fusion centre must know the collaborating users estimated SNR values, channel conditions, as well as their -bit decision for the case of hard decision fusion. We also proposed a genetic algorithm-based optimisation of weighted collaborative spectrum sensing in which weights are assigned to the information provided by the users to improve CSS in terms of ROC. The optimum weight vector is obtained by maximising the global probability of detection at the fusion centre. Simulation results show that the proposed strategies improve spectrum sensing performance in terms of global probability of miss detection. However, proposed schemes require knowledge about SNR of all users, channel conditions, reporting channel gains, and so forth which need larger bandwidths. Our future research will consider efficient protocols and techniques to optimise bandwidth utilisation for the cases presented in this paper.

#### Appendices

#### A. Derivation of Probability of False Alarm for Energy Detector

The probability distribution function of a chi-square random variable with degrees of freedom is given by where is gamma function and is defined as Now for a given threshold the probability of false alarm under hypothesis (as defined in (1)) can be computed as

Let ; so, From the definition of incomplete gamma function ,

#### B. Derivation of Probability of Detection for Energy Detector

Probability density function of noncentral chi-square random variable with degrees of freedom and noncentrality parameter of is given by So for the threshold , probability of detection, that is, probability that under , is given as Assume ; then, Using definition of generalised Marcum -function, can be expressed in terms of generalised Marcum -function, with , , , and , as

#### Acknowledgments

This work was performed in the project E3 which has received research funding from the EU FP7 framework. This paper reflects only the authors views and the community is not liable for any use that may be made of the information contained therein. The contributions of colleagues from the E3 consortium are hereby acknowledged.

#### References

- “International Telecommunication Union: Radio Regulations Revised,” 1994.
- “Technology Research Programme: Research and Development at Ofcom 2004/05,” October, p.37, 2005, http://www.ofcom.org.uk/research/technology/overview/techrandd200405/.
- “Federal Communications Commission: Spectrum policy task force report,” November 2002, http://fjallfoss.fcc.gov/.
- A. Shukla, “Cognitive radio technology—a study for Ofcom,” Tech. Rep. 830000143, QinetiQ Ltd, Hampshire, UK, 2006. View at Google Scholar
- M. McHenry, E. Livsics, T. Nguyen, and N. Majumdar, “XG dynamic spectrum sharing field test results,” in
*Proceedings of the 2nd IEEE International Symposium on New Frontiers in Dynamic Spectrum Access Networks*, pp. 676–684, May 2007. View at Publisher · View at Google Scholar · View at Scopus - Spectrum Management Advisory Group (SMAG), “Position Paper on UMTS,” March 2009, http://www.ofcom.org.uk/static/archive/ra/smag/papers/umts.htm.
- P. Leaves,
*Dynamic spectrum allocation between cellular and broadcast systems*, Ph.D. dissertation, University of Surrey, 2004. - “FCC Auctions March 2008,” July 2009, http://wireless.fcc.gov/.
- A. Ghasemi and E. S. Sousa, “Opportunistic spectrum access in fading channels through collaborative sensing,”
*IEEE Journal of Communications*, vol. 2, no. 2, pp. 71–81, 2007. View at Google Scholar - T. Yücek and H. Arslan, “A survey of spectrum sensing algorithms for cognitive radio applications,”
*IEEE Communications Surveys and Tutorials*, vol. 11, no. 1, pp. 116–130, 2009. View at Publisher · View at Google Scholar · View at Scopus - H. Urkowitz, “Energy detection of unknown deterministic signals,”
*IEEE Proceedings*, vol. 55, no. 4, pp. 523–531, 1967. View at Google Scholar - A. Sonnenschein and P. M. Fishman, “Radiometric detection of spread-spectrum signals in noise of uncertain power,”
*IEEE Transactions on Aerospace and Electronic Systems*, vol. 28, no. 3, pp. 654–660, 1992. View at Publisher · View at Google Scholar · View at Scopus - Federal Communications Commission, “Notice of Proposed Rule Making, in the matter of unlicensed operaion in TV broadcast bands,” May 2004, http://www.fcc.gov/.
- IEEE802.22, “Working Group on Wireless Regional Area Networks (WRAN),” Tech. Rep., IEEE, New York, NY, USA, 2009. View at Google Scholar
- Ofcom, “Digital Divident Review, A statement and our approach to awarding the digital divident,” December 2007, http://www.ofcom.org.uk/consult/condocs/ddr/.
- DRIVE Project Web Site, March 2009, http://www.ist-drive.org/index2.html.
- Over-DRiVE Project Web Site, March 2009, http://www.ist-overdrive.org/.
- WINNER Project Web Site, March 2009, https://www.ist-winner.org.
- E2R II Project Web Site, March 2009, E2R II Project.
- ORACLE Project Web Site, March 2009, http://www.ist-oracle.org/.
- E3 Project Web Site, March 2009, https://ict-e3.eu/.
- Radio Access & Spectrum Cluster Web Site, March 2009, http://www.newcom-project.eu:8080/Plone/ras.
- DARPA neXt Generation (XG) Communications Working Group, March 2009, http://www.ir.bbn.com/projects/xmac/working-group/index.html.
- National Science Foundation, “Networking Technology and Systems (NeTS) Program Solicitation,” March 2009, http://www.nsf.gov/pubs/2005/nsf05505/nsf05505.htm.
- P. Demestichas, A. Katidiotis, K. A. Tsagkaris, E. F. Adamopoulou, and K. P. Demestichas, “Enhancing channel estimation in cognitive radio systems by means of Bayesian networks,”
*Wireless Personal Communications*, vol. 49, no. 1, pp. 87–105, 2008. View at Publisher · View at Google Scholar · View at Scopus - P. Demestichas, “Enhanced network selections in a cognitive wireless B3G world,”
*Annals of Telecommunications*, vol. 64, no. 7-8, pp. 483–501, 2009. View at Publisher · View at Google Scholar · View at Scopus - Z. Xueqiang, C. U. I. Li, C. Juan, W. U. Qihui, and W. Jinlong, “Cooperative spectrum sensing in cognitive radio systems,” in
*Proceedings of the 1st International Congress on Image and Signal Processing (CISP '08)*, pp. 262–266, June 2008. View at Publisher · View at Google Scholar · View at Scopus - W. Wang, W. Zou, Z. Zhou, H. Zhang, and Y. Ye, “Decision fusion of cooperative spectrum sensing for cognitive radio under bandwidth constraints,” in
*Proceedings of the 3rd International Conference on Convergence and Hybrid Information Technology (ICCIT '08)*, pp. 733–736, December 2008. View at Publisher · View at Google Scholar · View at Scopus - W. Zhang, R. K. Mallik, and K. Ben Letaief, “Cooperative spectrum sensing optimization in cognitive radio networks,” in
*Proceedings of IEEE International Conference on Communications (ICC '08)*, pp. 3411–3415, cn, June 2008. View at Publisher · View at Google Scholar · View at Scopus - X. Chen, Z. s. Bie, and W. l. Wu, “Detection efficiency of cooperative spectrum sensing in cognitive radio network,”
*Journal of China Universities of Posts and Telecommunications*, vol. 15, no. 3, pp. 1–7, 2008. View at Publisher · View at Google Scholar · View at Scopus - T. Aysal, S. Kandeepan, and R. Piesiewicz, “Cooperative spectrum sensing over imperfect channels,” in
*Proceedings of IEEE Globecom Workshops (GLOBECOM '08)*, pp. 1–5, December 2008. View at Publisher · View at Google Scholar · View at Scopus - K. Arshad and K. Moessner, “Collaborative spectrum sensing for cognitive radio,” in
*Proceedings of IEEE International Conference on Communications Workshops (ICC '09)*, pp. 1–5, June 2009. View at Publisher · View at Google Scholar · View at Scopus - E. Peh, Y. C. Liang, E. Peh, and Y. C. Liang, “Optimization for cooperative sensing in cognitive radio networks,” in
*Proceedings of IEEE Wireless Communications and Networking Conference (WCNC '07)*, pp. 27–32, April 2007. View at Publisher · View at Google Scholar · View at Scopus - D. J. Kadhim, S. Gong, W. Liu, and W. Cheng, “Optimization of Cooperation sensing spectrum performance,” in
*Proceedings of WRI International Conference on Communications and Mobile Computing (CMC '09)*, pp. 78–82, cn, February 2009. View at Publisher · View at Google Scholar · View at Scopus - E. Peh, Y.-C. Liang, and Y. L. Guan, “Optimization of cooperative sensing in cognitive radio networks: a sensing-throughput tradeoff view,” in
*Proceedings of IEEE International Conference on Communications*, June 2009. View at Publisher · View at Google Scholar · View at Scopus - C. Sun, W. Zhang, and K. Letaief, “Cluster-based cooperative spectrum sensing in cognitive radio systems,” in
*Proceedings of IEEE International Conference on Communications (ICC '07)*, pp. 2511–2515, June 2007. View at Publisher · View at Google Scholar · View at Scopus - Z. Chair and P. K. Varshney, “Optimal data fusion in multiple sensor detection systems,”
*IEEE Transactions on Aerospace and Electronic Systems*, vol. 22, no. 1, pp. 98–101, 1986. View at Google Scholar · View at Scopus - F. F. Digham, M. S. Alouini, and M. K. Simon, “On the energy detection of unknown signals over fading channels,”
*IEEE Transactions on Communications*, vol. 55, no. 1, pp. 21–24, 2007. View at Publisher · View at Google Scholar · View at Scopus - W. Wang, L. Zhang, W. Zou, and Z. Zhou, “On the distributed cooperative spectrum sensing for cognitive radio,” in
*Proceedings of International Symposium on Communications and Information Technologies (ISCIT '07)*, pp. 1496–1501, November 2007. View at Publisher · View at Google Scholar · View at Scopus - E. Visotsky, S. Kuffher, and R. Peterson, “On collaborative detection of TV transmissions in support of dynamic spectrum sharing,” in
*Proceedings of the 1st IEEE International Symposium on New Frontiers in Dynamic Spectrum Access Networks (DySPAN '05)*, pp. 338–345, December 2005. View at Publisher · View at Google Scholar · View at Scopus - S. M. Mishra, A. Sahai, and R. W. Brodersen, “Cooperative sensing among cognitive radios,” in
*Proceedings of IEEE International Conference on Communications (ICC '06)*, pp. 1658–1663, August 2006. View at Publisher · View at Google Scholar · View at Scopus - F. E. Visser, G. J. M. Janssen, and P. Pawełczak, “Multinode spectrum sensing based on energy detection for dynamic spectrum access,” in
*Proceedings of the 67th IEEE Vehicular Technology Conference (VTC '08)*, pp. 1394–1398, June 2008. View at Publisher · View at Google Scholar · View at Scopus - Z. Quan, S. Cui, and A. Sayed, “Optimal linear cooperation for spectrum sensing in cognitive radio networks,”
*IEEE Journal on Selected Topics in Signal Processing*, vol. 2, no. 1, pp. 28–40, 2008. View at Publisher · View at Google Scholar · View at Scopus - S. Haykin, “Cognitive radio: brain-empowered wireless communications,”
*IEEE Journal on Selected Areas in Communications*, vol. 23, no. 2, pp. 201–220, 2005. View at Publisher · View at Google Scholar · View at Scopus - A. Goldsmith,
*Wireless Communications*, Cambridge University Press, New York, NY, USA, 2005. - P. K. Varshney,
*Distributed Detection and Data Fusion*, Springer, Secaucus, NJ, USA, 1996. - R. F. Mills and G. E. Prescott, “A comparison of various radiometer detection models,”
*IEEE Transactions on Aerospace and Electronic Systems*, vol. 32, no. 1, pp. 467–473, 1996. View at Google Scholar · View at Scopus - I. Akyildiz, W.-Y. Lee, M. C. Vuran, and S. Mohanty, “A survey on spectrum management in cognitive radio networks,”
*IEEE Communications Magazine*, vol. 46, no. 4, pp. 40–48, 2008. View at Publisher · View at Google Scholar · View at Scopus - T. Weiss, J. Hillenbrand, and F. Jondral, “A diversity approach for the detection of idle resources in spectrum pooling systems,” in
*Proceedings of the 48th International Scientific Colloquium*, pp. 37–38, September 2003. - C. Da Silva, B. Choi, and K. Kim, “Distributed spectrum sensing for cognitive radio systems,” in
*Proceedings of the Information Theory and Applications Workshop (ITA '07)*, pp. 120–123, March 2007. View at Publisher · View at Google Scholar · View at Scopus - A. K. Kattepur, A. T. Hoang, Y.-C. Liang, and M. J. Er, “Data and decision fusion for distributed spectrum sensing in cognitive radio networks,” in
*Proceedings of the 6th International Conference on Information, Communications and Signal Processing (ICICS '07)*, pp. 1–5, December 2007. View at Publisher · View at Google Scholar · View at Scopus - M. Gudmundson, “Correlation model for shadow fading in mobile radio systems,”
*Electronics Letters*, vol. 27, no. 23, pp. 2145–2146, 1991. View at Google Scholar - R. A. Horn and C. R. Johnson,
*Matrix Analysis*, Cambridge University Press, Cambridge, UK, 1985. - J. H. Holland,
*Adaptation in Natural and Artificial Systems: An Introductory Analysis with Applications to Biology, Control, and Artificial Intelligence*, MIT Press, Cambridge, Mass, USA, 1992. - D. E. Goldberg,
*Genetic Algorithms in Search, Optimization and Machine Learning*, Addison-Wesley Longman, Boston, Mass, USA, 1989. - M. Gen and R. Cheng,
*Genetic Algorithms and Engineering Design*, Wiley, New York, NY, USA, 1997.