Top Banner
Hindawi Publishing Corporation International Journal of Distributed Sensor Networks Volume 2012, Article ID 863634, 10 pages doi:10.1155/2012/863634 Research Article Cooperative Transmission in Cognitive Radio Ad Hoc Networks Juncheng Jia 1 and Shukui Zhang 1, 2 1 School of Computer Science and Technology, Soochow University, Suzhou 215006, China 2 State Key Laboratory for Novel Software Technology, Nanjing University, Nanjin 210093, China Correspondence should be addressed to Juncheng Jia, [email protected] Received 11 January 2012; Accepted 21 March 2012 Academic Editor: Yong Sun Copyright © 2012 J. Jia and S. Zhang. 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. Cognitive radio technology is the key to realize dynamic spectrum access system and promote the spectrum utilization through exploiting the spectrum holes left by primary users. However, the spatial heterogeneity of spectrum availability imposes special challenges for ecient utilization of the spectrum resources for cognitive radio ad hoc networks (CRAHNs). The cross-layer cooperative transmission scheme is a promising approach to improve the eciency of spectrum utilization and improve the performance of cognitive radio networks. Such an approach leverages relay-assisted discontiguous OFDM (DOFDM) for data transmission at physical and MAC layers in a basic three-node configuration. With this scheme, a relay node will be selected that can bridge the source and the destination using its common channels between those two nodes. In this paper, we investigate the application of such a cooperative transmission scheme to address the spectrum heterogeneity issue in CRAHNs. In particular, we describe several types of cooperative transmission and formulate a new resource allocation problem with joint relay selection and channel allocation. We propose a heuristic algorithm to solve the resource allocation problem, which is based on the metric of utility-spectrum ratio of transmission groups. Simulations demonstrate the performance improvement of the cooperative transmission over the direct transmission. 1. Introduction There have been a lot of innovations of wireless devices and wireless services in recent years. However, due to the current fixed spectrum assignment and allocation rules, there is vir- tually no available spectrum band to experiment and deploy these new wireless products. Meanwhile, recent spectrum measurement reports have shown significantly unbalanced usage of spectrum, with some frequency bands largely unoccupied most of the time and some other frequency bands heavily used [1]. Observing such inecient utilization of the scarce and valuable spectrum resource, new spectrum access rules are undergoing rapid development, whose core idea is to allow secondary users (or unlicensed users) to access spectrum holes left by primary users (or licensed users). Cognitive radio [2] has been proposed as the means for secondary users to promote the ecient utilization of the spectrum by exploiting the existence of spectrum holes. Cognitive radio ad hoc network (CRAHN) is one of the major application fields, where there exist special research challenges and opportunities [3]. One important issue is the spectrum heterogeneity faced by CRAHNs, which is due to the location dierence among dierent secondary users, dynamic trac of primary users, and opportunistic spectrum access nature of secondary users. Several spec- trum measurement reports have already demonstrated such spectrum heterogeneity. For example, in the UHF spectrum band, television stations represent the largest incumbent users. Spectrum heterogeneity exists on both large and small scales. For a wide area, spectrum availability depends on the location of TV transmitters and the number of operating stations. For an area with a smaller scale, spectrum availability depends on obstructions, construction material, and the existence of active wireless microphones with typical transmission ranges of a few hundred meters. As reported in [4], for the UHF spectrum in the tested area, the median number of channels available at one point but unavailable at another is close to 7. Such a spectrum heterogeneity imposes a lot of chal- lenges for resource allocation in CRAHNs. In [5, 6], a co- operative transmission scheme is proposed to address the spectrum heterogeneity issue in the infrastructure mode
11

Research Article …downloads.hindawi.com/journals/ijdsn/2012/863634.pdf · 2015-11-01 · based on Universal Software Radio Peripheral (USRP) [7] and GNU Radio [8]. Experimental

Jul 12, 2020

Download

Documents

dariahiddleston
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Research Article …downloads.hindawi.com/journals/ijdsn/2012/863634.pdf · 2015-11-01 · based on Universal Software Radio Peripheral (USRP) [7] and GNU Radio [8]. Experimental

Hindawi Publishing CorporationInternational Journal of Distributed Sensor NetworksVolume 2012, Article ID 863634, 10 pagesdoi:10.1155/2012/863634

Research Article

Cooperative Transmission in Cognitive Radio Ad Hoc Networks

Juncheng Jia1 and Shukui Zhang1, 2

1 School of Computer Science and Technology, Soochow University, Suzhou 215006, China2 State Key Laboratory for Novel Software Technology, Nanjing University, Nanjin 210093, China

Correspondence should be addressed to Juncheng Jia, [email protected]

Received 11 January 2012; Accepted 21 March 2012

Academic Editor: Yong Sun

Copyright © 2012 J. Jia and S. Zhang. 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.

Cognitive radio technology is the key to realize dynamic spectrum access system and promote the spectrum utilization throughexploiting the spectrum holes left by primary users. However, the spatial heterogeneity of spectrum availability imposes specialchallenges for efficient utilization of the spectrum resources for cognitive radio ad hoc networks (CRAHNs). The cross-layercooperative transmission scheme is a promising approach to improve the efficiency of spectrum utilization and improve theperformance of cognitive radio networks. Such an approach leverages relay-assisted discontiguous OFDM (DOFDM) for datatransmission at physical and MAC layers in a basic three-node configuration. With this scheme, a relay node will be selected thatcan bridge the source and the destination using its common channels between those two nodes. In this paper, we investigate theapplication of such a cooperative transmission scheme to address the spectrum heterogeneity issue in CRAHNs. In particular, wedescribe several types of cooperative transmission and formulate a new resource allocation problem with joint relay selection andchannel allocation. We propose a heuristic algorithm to solve the resource allocation problem, which is based on the metricof utility-spectrum ratio of transmission groups. Simulations demonstrate the performance improvement of the cooperativetransmission over the direct transmission.

1. Introduction

There have been a lot of innovations of wireless devices andwireless services in recent years. However, due to the currentfixed spectrum assignment and allocation rules, there is vir-tually no available spectrum band to experiment and deploythese new wireless products. Meanwhile, recent spectrummeasurement reports have shown significantly unbalancedusage of spectrum, with some frequency bands largelyunoccupied most of the time and some other frequencybands heavily used [1]. Observing such inefficient utilizationof the scarce and valuable spectrum resource, new spectrumaccess rules are undergoing rapid development, whose coreidea is to allow secondary users (or unlicensed users) to accessspectrum holes left by primary users (or licensed users).Cognitive radio [2] has been proposed as the means forsecondary users to promote the efficient utilization of thespectrum by exploiting the existence of spectrum holes.

Cognitive radio ad hoc network (CRAHN) is one of themajor application fields, where there exist special researchchallenges and opportunities [3]. One important issue is

the spectrum heterogeneity faced by CRAHNs, which isdue to the location difference among different secondaryusers, dynamic traffic of primary users, and opportunisticspectrum access nature of secondary users. Several spec-trum measurement reports have already demonstrated suchspectrum heterogeneity. For example, in the UHF spectrumband, television stations represent the largest incumbentusers. Spectrum heterogeneity exists on both large andsmall scales. For a wide area, spectrum availability dependson the location of TV transmitters and the number ofoperating stations. For an area with a smaller scale, spectrumavailability depends on obstructions, construction material,and the existence of active wireless microphones with typicaltransmission ranges of a few hundred meters. As reportedin [4], for the UHF spectrum in the tested area, the mediannumber of channels available at one point but unavailable atanother is close to 7.

Such a spectrum heterogeneity imposes a lot of chal-lenges for resource allocation in CRAHNs. In [5, 6], a co-operative transmission scheme is proposed to address thespectrum heterogeneity issue in the infrastructure mode

Page 2: Research Article …downloads.hindawi.com/journals/ijdsn/2012/863634.pdf · 2015-11-01 · based on Universal Software Radio Peripheral (USRP) [7] and GNU Radio [8]. Experimental

2 International Journal of Distributed Sensor Networks

network with end user nodes served by a single access pointnode. With such a scheme, some end user nodes will relay thedata traffic of other nodes based on the joint physical layerand MAC layer design. A centralized solution is proposedto address the new resource allocation problem with bothrelay selection and channel allocation. To demonstratethe feasibility and performance of cooperative relay for thecognitive radio infrastructure mode network, a new MACprotocol has been proposed and implemented in a testbedbased on Universal Software Radio Peripheral (USRP) [7]and GNU Radio [8]. Experimental results show that thethroughput of the whole system is greatly increased byexploiting the benefit of cooperative relay.

The exiting work mentioned above targets at relativelysimple network structures, that is, a network with a singlebase station and its served end user nodes. There is littleexisting work on the general CRAHNs leveraging the abovecooperative transmission scheme, which is the focus in thispaper. In this paper, we study a general network modelwith multiple single-hop secondary transmission pairs whereeach node could act as a relay node for its neighbouringtransmission pairs. Such a system model represents a typicalapplication scenario. However, it complicates the problemdue to the coupling of relay selection and channel allocation.To make the problem tractable, we impose some cooperationconstraints and define two types of transmission groupswith either one direct transmission pair or two cooperativetransmission pairs. We propose to use utility-spectrum ratioas the metric to evaluate the transmission group. Based onthis metric, an iterative algorithm is proposed to conductrelay selection and channel allocation.

The rest of the paper is structured as follows. Section 2provides background knowledge of cooperative transmissionscheme used in this paper and related works. Section 3describes the system model and provides the problemstatement. In Section 4 we propose our algorithm to solvethe resource allocation problem. Section 5 presents thesimulation results. Finally, Section 6 concludes the paper.

2. Background and Related Works

In this section, we provide a brief introduction to the co-operative transmission scheme in cognitive radio networksand summarize the related works.

2.1. Improve Spectrum Utilization with Cooperative Relay.The spectrum availability of secondary users is heteroge-neous due to the location difference among different users,the dynamic traffic of primary users, and the opportunisticnature of the spectrum access of secondary users. Meanwhile,the traffic demands of secondary users also demonstratevariation. One important problem in cognitive radio net-works is to handle the unbalanced spectrum usage withinthe secondary network to fulfill the heterogeneous trafficdemand from secondary users. The observation is that somesecondary users can be utilized as helpers to relay theother secondary users traffic, which can significantly improvesystem performance.

We will use an example to illustrate the idea. Supposethere is a data transmission request from node u to nodev as shown in Figure 1. Here the numbers besides the noderepresent the available channels for that node. Without lossof generality, we assume each common available channelbetween any pair of nodes can provide data rate of 1 unit.Note that each node has only one half-duplex radio fordata transmission. In Figure 1(a), we use direct transmissionbetween u and v on channel 1, which will result in data rateof 1 unit. Alternatively, we can use relay node r to conducttwo-hop transmission, with r switching its single data radiobetween channel 2 (with u) and channel 3 (with v). However,the data rate is only 0.5 unit. Improvement is possible ifwe introduce cooperative relay. The scheme is shown inFigure 1(c). In time slot 1, u sends data on channel 1 to v,while u also sends data on channel 2 to r. In time slot 2, usends data on channel 1 to v, while r sends data on channel 3to v. Therefore, the total data rate increases to 1.5 unit.

2.2. Relay-Assisted Discontiguous OFDM. There exist chal-lenges for the realization of the three-node cooperation tech-nique. First, the sender must be able to transmit multiplepackets on multiple channels at the same time using single-radio equipment. For this, we can adopt D-OFDM asthe physical-layer technique, where signals on multiplechannels can be transmitted simultaneously on single-radioequipment. Second, both relay and receiver should be ableto alleviate the interference from other simultaneous trans-mitting channels to achieve a higher signal-to-noise ratio(SNR) on the specific channel. Third, relay and receivershould be able to decode the packet correctly using only someof all subcarriers that correspond to their working channel.We address these challenges with the following two methodsin [5, 6].

We design a new transmission scheme based on discon-tiguous OFDM to realize the above three-node transmission,which is called relay-assisted D-OFDM. Such scheme canallow a node with a single radio to transmit or receive frommultiple nodes on different channels. It addresses severalissues such as both relay and receiver should be able to alle-viate the interference from other simultaneous transmittingchannels to achieve a higher SNR on the specific channeland should be able to decode the packet correctly usingonly part of the whole subcarriers that are correspondingto their working channel. To demonstrate its feasibilityand performance, we implement it in a testbed consistingof USRP and GNU Radio. Experimental results confirmsignificant gain compared with traditional transmission.

2.3. Existing Works on Cooperative Communication and Cog-nitive Radio. In recent years, relay nodes have been widelyused in various types of wireless networks. In multihop adhoc networks, relay nodes are used to connect distant nodesthat are otherwise disconnected. Meanwhile, relay nodes canincrease the transmission rate of each link and maximize thespatial reusability. In cellular networks, relay nodes are usedto increase reliability as well as enlarge the coverage range [9].

Page 3: Research Article …downloads.hindawi.com/journals/ijdsn/2012/863634.pdf · 2015-11-01 · based on Universal Software Radio Peripheral (USRP) [7] and GNU Radio [8]. Experimental

International Journal of Distributed Sensor Networks 3

u v

r

[2, 3]

[1, 3][1, 2]

[1]

(a) Direct transmission

u v

[2, 3]

[1, 3][1, 2]

[3][2]

r

(b) Two-hop transmission

[2, 3]

[1, 3][1, 2]

u v

r

u v

r

[1]

[2]

[1]

[3]

[2, 3]

[1, 3][1, 2]

(c) Cooperative relay transmission (left in time slot 1, right in time slot 2)

Figure 1: An example of using cooperative relay for cognitive radio networks.

Recently, cooperative communication [10, 11] has alsobeen extensively studied, where relay nodes are introducedto enable single antenna nodes share their antennas to form avirtual multiple-antenna transmitter, thus, transmit diversityis achieved and network capacity is increased. However, therelay nodes in this paper play a different role compared withthat in all the above scenarios. Instead of maximizingtransmission rate in multihop ad hoc networks, we focus onthe maximized spectrum utilization and use relay to bridgethe channel availability from the source to the destinationnode. Besides, by allowing simultaneous transmission ofdifferent channels, the throughput of the whole network isincreased.

Several existing works investigate the spectrum hetero-geneity issue in cognitive radio networks. Based on thedesign of cooperation relay in infrastructure-mode cognitiveradio networks in [5, 6], the work in [12] proposes therouting protocols to improve end-to-end performance witha new link cost, which considers several aspects includingchannel availability, channel condition, channel utilization,and potential relays. A different system model is consideredin [13], where there is a cognitive wireless relay networkconsisting of a source node that intends to communicate witha destination node aided by a number of secondary relaynodes. To exploit the maximum spectrum opportunities,a cognitive space-time-frequency coding technique is pro-posed that can opportunistically adjust its coding structureby adapting itself to the dynamic spectrum environment.

There are existing works on cooperative communicationin cognitive radio networks. While cooperative communica-tion can be applied within secondary users networks, some

works propose schemes for the cooperation between primaryusers and secondary users. In [14], the authors proposea cooperation protocol in which multiple secondary userscan use the spectrum from a primary user in exchangefor cooperative transmission with the primary link. Thecooperation has three phases: in the first phase, the primarytransmitter transmits first, while secondary users receive;in the second phase, the secondary users use the space-time coded cooperative transmission to reply the receiveddata to the primary receiver. At last, the secondary usersconduct their own transmission. Following such a frame-work, the payment is also considered in [15] so that thecooperation opportunity is further enlarged. In [16], atwo-phase cooperative relaying protocol is proposed for aprimary transmission pair and a secondary transmissionpair. In the first phase, the primary transmitter transmitsits signal to the primary receiver, which is also received bythe secondary transmitter and the secondary receiver anddecoded. At the secondary receiver, the primary signal isregenerated and linearly combined with the secondary signalwith appropriate power allocation. This combined signalis then broadcasted by the secondary transmitter in thesecond transmission phase. Different from these works, ourcooperation scheme is within the secondary user ad hocnetwork and leverages the spectrum diversity.

3. System Model and Problem Statement

We consider a CRAHN. Primary users are located within thesame region and have low spectrum utilization of theirown spectrum. Based on spectrum usage policy such as

Page 4: Research Article …downloads.hindawi.com/journals/ijdsn/2012/863634.pdf · 2015-11-01 · based on Universal Software Radio Peripheral (USRP) [7] and GNU Radio [8]. Experimental

4 International Journal of Distributed Sensor Networks

spectrum leasing, the unused primary spectrum channelscan be temporarily used by the secondary network. In thispaper, we assume each secondary node has one radio for datatransmission and one radio for control messages, both ofwhich are half-duplex. We assume there is a common controlchannel available for all secondary nodes. Some existingworks of cognitive radio networks have the similar systemmodel as ours [17–19].

There are M adjacent channels from primary users M ={1, . . . ,M} with equal bandwidth W . There are N secondarytransmission pairs N = {1, . . . ,N}, which correspond to theset of senders S and targeted receiver set T. We define thenode set V = S∪ T, with |V| = 2N .

For a particular location in the area, some channels maybe occupied by primary users and thus cannot be used by sec-ondary users. We use A = {amv | amv ∈ {0, 1}}2N×M to denotethe channel availability: amv = 1 indicates that channel m atnode v ∈ V is available, and 0 otherwise. It is assumed thatthe data radio of each node in V is capable of dynamicallyaccessing any combination of available channels. However,the data radio cannot transmit and receive simultaneously.

Two nodes can form a communication link if and onlyif both nodes have common available channels and they arewithin each other communication range. The communica-tion ranges of all nodes in all channels are the same, denotedby RC . Similarly, the interference range is denoted by RI , withRI ≥ RC . Let E = {evu | evu ∈ {0, 1}}2N×2N denote the set ofpotential communication links, that is, ev,u = 1 if and onlyif δ(v,u) < RC , where δ(v,u) is the distance between the twonodes. Similarly, let I = { fvu | fvu ∈ {0, 1}}2N×2N denote theset of interference/conflict relations between any two nodesin the network: fvu = 1 if and only if δ(v,u) < RI . Theinterference set of node v is denoted by Nv = {u | fvu =1,u ∈ V}.

If a link uses a channel for transmission, it can achieve acertain data rate determined by the transmission power andchannel condition. Since interference-free channel allocationis considered, there is no interference from the other activelinks. We use cmvu to denote the achievable data rate from nodev to u using channel k, which is a constant.

3.1. Relay Selection. We use Rs = {rsi j | rsi j ∈ {0, 1}}N×N toexpress the relay selection for the source nodes, where rsi j = 1means that source node s j of pair j performs as a relay nodefor pair i. Similarly, we use Rt = {rti j | rti j ∈ {0, 1}}N×Nto express the relay selection for the destination nodes. Inthis paper, during one cooperative operation we impose thefollowing constraints.

(i) Each transmission pair can use at most one relay nodefor help:

j∈N, j /= i

(rsi j + rti j

)≤ 1, ∀i ∈ N. (1)

(ii) One relay pair can help at most one transmissionpair:

i∈N,i /= j

(rsi j + rti j

)≤ 1, ∀ j ∈ N. (2)

(iii) When one pair is served by another pair, this nodecannot be the relay node of another node:

rsi j +∑

k /= i

(rski + rtki

)≤ 1, ∀i ∈ N, j ∈ N,

rti j +∑

k /= i

(rski + rtki

)≤ 1, ∀i ∈ N, j ∈ N.

(3)

(iv) When one node is serving another pair, the pair ofthis node cannot be helped by other nodes:

rsi j +∑

k /= j

(rsjk + rtjk

)≤ 1, ∀i ∈ N, j ∈ N,

rti j +∑

k /= j

(rsjk + rtjk

)≤ 1, ∀i ∈ N, j ∈ N.

(4)

According to the above relay constraints (1)–(4), wedefine a transmission group to be a basic component with asingle direction transmission pair or two cooperating pairs.We have the following categories of transmission groups asshown in Figure 2:

(i) Category 1 has a single transmission pair,

(ii) Category 2 has two transmission pairs with one pairrelaying for another pair.

3.2. Channel Allocation. Besides the relay selection, we needto decide the channel allocation for each transmission link.We use variable X = {xmvu | xmvu ∈ {0, 1}}2N×2N×M to denotethe channel allocation: xmvu = 1 if and only if channel m isallocated to the link between node v and node u. Note thatwe have xmvu = xmuv. According to the above link definition, wehave

xmvu ≤ euv, ∀v ∈ V, ∀u ∈ V. (5)

The channel allocation should satisfy the channel availabilityconstraint, that is,

xmvu ≤ amv · amu , ∀v ∈ V, ∀u ∈ V, ∀m ∈M. (6)

We use conflict-free channel allocation, which requiresthat all the interference constraints are satisfied, that is,

xmvu +∑

w /= v,w /=u,w∈Nv

xmvw +∑

w /= v,w /=u,w∈Nu

xmuw

≤ 1, ∀v ∈ V, ∀u ∈ V, ∀m ∈M.(7)

3.3. Data Rate for Each Transmission Pair. We calculate thethroughput of pair i under a certain strategy of relay selectionR and channel allocation X. According to whether i helpsother pairs or is helped by others, the calculation is dividedinto the following cases.

Case 1. If pair i communicates without the other nodes helpand is not acting as relay itself, which satisfies

rsi j = 0, rti j = 0, rsji = 0, rtji = 0, ∀ j ∈ N, (8)

Page 5: Research Article …downloads.hindawi.com/journals/ijdsn/2012/863634.pdf · 2015-11-01 · based on Universal Software Radio Peripheral (USRP) [7] and GNU Radio [8]. Experimental

International Journal of Distributed Sensor Networks 5

si ti

(a) Category 1

si ti

s j t j

(b) Category 2 with a sourcenode as relay

si ti

s j t j

(c) Category 2 with a desti-nation node as relay

Figure 2: Categories of transmission groups.

its data rate can be expressed as

θ1i =

m∈M

cmsiti xmsiti . (9)

Case 2. If pair i is helped by the source node of pair j, that is,

rsi j = 1, (10)

then the data rate of pair i is

θ2i =

m∈M

cmsiti xmsiti

+ min

⎛⎝1

2

m∈M

cmsis j xmsis j ,

12

m∈M

cmsj ti xmsj ti

⎞⎠.

(11)

Case 3. If pair i is helped with the help of the destinationnode of pair j, that is,

rti j = 1, (12)

and then the data rate of pair i is

θ3i =

m∈M

cmsiti xmsiti

+ min

⎛⎝1

2

m∈M

cmsit j xmsit j ,

12

m∈M

cmtj ti xmtj ti

⎞⎠.

(13)

Case 4. If the source node si of pair i acts as a relay for pair j,but the destination node ci does not help, that is

rsji = 1, rtji = 0, (14)

the data rate of pair i is then

θ4i =

12

m∈M

cmsiti xmsiti . (15)

Case 5. Similar to Case 4, here the destination node ti acts asrelay, but the source node si does not, that is,

rsji = 0, rtji = 1, (16)

the data rate of pair i is then

θ5i =

12

m∈M

cmsiti xmsiti . (17)

We can use a single equation to denote each pair’s datarate based on (9)–(17):

Θi =⎛⎝1−

j∈N

rsi j

⎞⎠⎛⎝1−

j∈N

rsi j

⎞⎠⎛⎝1−

j∈N

rsi j

⎞⎠⎛⎝1−

j∈N

rsi j

⎞⎠θ1

i

+∑

j∈N

rsi jθ2i +

j∈N

rti jθ3i

+∑

j∈N

rsji(

1− rtji)θ4i +

j∈N

(1− rsji

)rtjiθ

5i .

(18)

3.4. Optimization Problem. We consider that the channelavailability is fixed for a relatively long term. The networkutility is defined as U(Θ), where Θ = {Θi}N . Under such aquasistatic model, we want to maximize the network utilityby optimizing over relay selection, channel allocation, andtime partition, subject to the above constraints:

maxR, X

U(Θ). (19)

In this paper, we consider two typical formats of utility func-tions:

(i) Max-Sum: it maximizes the total utility of thenetwork with

Usum(Θ) =∑

i∈N

Θi. (20)

(ii) Max-Fair: it maximizes the proportional fairness ofthe network with

Ufair(Θ) =∑

i∈N

log(Θi). (21)

Theorem 1. The optimization problem in (19) is NP-hard.

Proof. To prove this, we can check special cases where there isone single channel and there exist, only interference amongpairs, but no communication links among pairs. Then, theproblem is a weighted independent set problem, which is anNP-hard problem.

4. Resource Allocation Algorithms

In this section, we propose a heuristic algorithm to solve theproblem suboptimally. The algorithm iterates with multipletimes. During each iteration, a transmission group is chosenfor resource allocation. We first describe the overall algo-rithm. Then, we present the proposed metric for transmis-sion group selection.

Page 6: Research Article …downloads.hindawi.com/journals/ijdsn/2012/863634.pdf · 2015-11-01 · based on Universal Software Radio Peripheral (USRP) [7] and GNU Radio [8]. Experimental

6 International Journal of Distributed Sensor Networks

4.1. The Overall Algorithm. For the overall algorithm, wemaintain a list of all possible transmission groups belongingto different categories, denoted as G. During a single itera-tion, we select the transmission group g with certain metricand allocate the channels accordingly. Such a selection metricwill be presented in detail in the following part. After that, thegroup list G is updated: transmission groups whose nodesoverlap with the selected group g will be deleted from thelist. The channel availability matrix and group matrix are alsoupdated.

4.2. Selection Metric of Transmission Group. To effectivelyutilize the spectrum resource, when we choose which trans-mission group to allocate in one iteration, we should con-sider both the achievable utility of a transmission group andthe consumed spectrum resource.

We denote the selection metric of transmission groupas μg , which is the utility-spectrum ratio of a transmissiongroup for a particular channel allocation for this transmis-sion group Xg . Xg is a maximal channel allocation withoutviolating the constraints, which will be described later.Specifically, given Xg , we denote the utility of a transmissiongroup by Ug(Xg), which can be calculated with (20) or (21).We denote the spectrum consumption of a transmissiongroup by hg(Xg), which is the number of occupied/interferedchannels of the transmission group. Then, we have

μg =Ug

(Xg

)

hg(

Xg

) . (22)

This is similar to the labelling rules suggested in [20, 21]. Thedifference is that we assess and allocate multiple channels fora node at once.

Depending on the category of a transmission group g,we determine the value of Xg and calculate μg as follows(Algorithm 1).

4.2.1. Category 1. Suppose the single pair is i for the trans-mission group g. For each channel, we check whether it isavailable at both source node si and destination node ti ingroup g and allocate it if it is the case, that is,

xmsiti = amsi · amti , ∀m ∈M. (23)

The contributed utility of this group can be easily cal-culated with (20) or (21):

Ug = θ1i , (24)

or

Ug = log θ1i . (25)

The spectrum consumption is

hg =∑

m∈M

⎛⎝xmsiti

v∈Nsi∪Nti

1

⎞⎠. (26)

Input: Transmission group gOutput: Utility-spectrum ratio of g, μgIf gis Category 1 then

i← the single pairAllocate channels Xg : xmsiti = amsi · amti ,∀m ∈MCalculate Ug(Xg) = Usum(Xg)Calculate hg =

∑m∈M(xmsiti

∑v∈Nsi∪Nti

1)else

i← the helped pairj ← the relay pairP ← {(m,n) | m ∈M,n ∈M,m /=n,∃ams = 1,∃amv =1,∃anv = 1,∃ant = 1}while P /=∅ do

(m∗,n∗)← arg max(m,n)∈PΔr(m,n)

if Δr(m∗ ,n∗) > Δd

(m∗ ,n∗) thenAllocate channels: xm

∗sv = 1, xn

∗vt = 1

Update Pelse

Breakend

endMr ← remaining channelsfor each m ∈Mr do

if cmst > 1/2cmvu thenAllocate channel: xmst = 1

elseAllocate channel: xmvu = 1

endendCalculate Ug(Xg) = Ufair(Xg)Calculate hg =

∑m∈M(xmvmum

∑v∈Nsi∪Nti

1).endμg ← Ug/hg

Algorithm 1: Transmission group selection metric calculationalgorithm.

4.2.2. Category 2. It depends on whether the source node ordestination node of pair j is used for cooperation. In eachcase, one channel can be used for at most one active linkamong nodes si, ti, s j , and t j due to the constraint. Althoughthere are only four links for the transmission group, thenumber of all possible channel allocations is with the orderof 4M .

To reduce the computational complexity, we propose aheuristic approach to calculate the utility of the transmissiongroup. The idea is that there is positive contribution via relaylinks for the transmission group if and only if both of therelay links (e.g., si-vj and vj-ti) are allocated with channels.Therefore, we assign pairs of channels to relay links first whencalculating the utility. Totally, there are at most M × (M − 1)pairs of channels.

Specifically, we define the contributed data rate of achannel pair (m,n) with m /=n as Δr

(m,n), which is the data

Page 7: Research Article …downloads.hindawi.com/journals/ijdsn/2012/863634.pdf · 2015-11-01 · based on Universal Software Radio Peripheral (USRP) [7] and GNU Radio [8]. Experimental

International Journal of Distributed Sensor Networks 7

rate increase with channel m and n allocated for the two relaylinks, that is,

Δr(m,n) = min

(r1 +

12cmsivj r2 +

12cnvj ti

)−min(r1, r2), (27)

where r1 and r2 are the data rate of link si-vj and vj-ti,respectively. For each time, we find the channel pair with themaximum Δr

(m,n) for the transmission group.We also examine the contributed data rate when channel

m and n are allocated to the two direct links. We have 4combinations: channel m and n both assigned to one directlink; channel m and n assigned to different links. We denotethe maximum contributed data rate of these four possibleallocations as Δd

(m,n).

If Δr(m,n) is larger than Δd

(m,n), we allocate two channels tothe two relay links. Otherwise, channel-pair-based allocationterminates. If there are any remaining channels unallocated,we continue to allocate them just as Category 1.

For each channel allocation, if the source node is the relaynode, we have

Ug = θ2i + θ4

j , (28)

or

Ug = log θ2i + log θ4

j . (29)

If the destination node is the relay node, we have

Ug = θ3i + θ5

j , (30)

or

Ug = log θ3i + log θ5

j . (31)

Denote the nodes for the active link for channel m as vmand um. The spectrum consumption is

hg =∑

m∈M

⎛⎝xmvmum

v∈Nsi∪Nti

1

⎞⎠. (32)

For the complexity of the metric calculation algorithm(Algorithm 1), obviously the calculation of Category 1 isdominated by the calculation of Category 2. For Category 2,the complexity is with the order of O(M2(M2 +N)), which isthe complexity for the whole metric calculation algorithm.

5. Simulation

In this section, we use simulations to evaluate the perfor-mance of the proposed algorithm. We conduct the simula-tion in a static CRAHN. The simulation area is 1 × 1 withuniformly separated primary users in fixed locations. Eachprimary user occupies a single channel randomly pickedfrom the channel set. Secondary users pairs are randomlyplaced in the same area. We compare our proposed cooper-ative transmission and resource allocation scheme with twoother schemes. One scheme uses the same cooperative trans-mission with relaying, while the metric for transmission

group selection during resource allocation depends solelyon the achieved utilities of transmission groups. The otherscheme uses the direct transmission without relaying andapplies similar resource allocation as our scheme. We inves-tigate the performance of the CRAHN in terms of thenumber of primary users, the number of secondary users,the number of channels, and the communication range ofsecondary users.

5.1. The Number of Primary Users. We first show the per-formance with different numbers of primary users. Whenwe increase the number of primary users, the protected areaexpands, which reduces the number of available channelsexperienced by secondary users. In Figure 3, the utilitiesfor both Max-Sum and Max-Fair decrease with increasingthe number of primary users. The cooperative scheme withthe metric of utility-spectrum ratio outperforms the othertwo schemes since our scheme allows secondary pairs toutilize more transmission links via potential relay nodes fromneighbouring nodes on more channels while our resourceallocation algorithm selects transmission groups and theirchannel allocation more efficiently. Besides, the gaps betweenthe two cooperative schemes and the direct scheme increaseas the number of primary users increases. This is becausewith more active primary users the degree of spectrumheterogeneity seen from secondary users increases.

5.2. The Number of Secondary Users. We check the per-formance with different numbers of secondary users next.Increasing the number of secondary users leads to theincreased total system utility, as shown in Figure 4. Besides,the performance gaps between the two cooperative schemesand the direct scheme increase as the number of secondaryusers increases, which demonstrates the advantage of ourscheme. Note that the curves are sublinear since more sec-ondary users means more interference created among them.

5.3. The Number of Channels. Here we examine the effectof the number of channels used in the system. Figure 5shows that both types of utilities increase while increasing thenumber of channels. The cooperative scheme with the metricof utility-spectrum ratio outperforms the other two schemes,while the direct scheme performs the worst.

5.4. The Communication Range of Secondary Users. We alsostudy the impact of the communication range of secondaryusers. On one hand, given a fixed topology, enlarging thecommunication range of secondary users increases the num-ber of potential communication links among them, whichcreates more cooperation opportunities. On the other hand,the increased range also creates more interference among thesecondary users, which will decrease the spatial reuse of thespectrum resource. According to the result in Figure 6, thesystem utilities degrade with the increased communicationrange. Therefore, the latter effect dominates the first one.

Page 8: Research Article …downloads.hindawi.com/journals/ijdsn/2012/863634.pdf · 2015-11-01 · based on Universal Software Radio Peripheral (USRP) [7] and GNU Radio [8]. Experimental

8 International Journal of Distributed Sensor Networks

0 20 40 60 80 10015

20

25

30

35

40

45

50

Number of primary users

Uti

lity

Coop (utility/spectrum)Coop (utility)Direct

(a) Sum

0

5

10

15

Uti

lity

0 20 40 60 80 100

Number of primary users

Coop (utility/spectrum)Coop (utility)Direct

(b) Fairness

Figure 3: Performance with respect to the number of primary users.

10 15 20 25 30 35 40 45 5015

20

25

30

35

40

45

50

55

60

65

Number of secondary users

Uti

lity

Coop (utility/spectrum)Coop (utility)Direct

(a) Sum

10 15 20 25 30 35 40 45 505

10

15

20

Uti

lity

Number of secondary users

Coop (utility/spectrum)Coop (utility)Direct

(b) Fairness

Figure 4: Performance with respect to the number of secondary users.

6. Conclusions

In CRAHNs, spectrum heterogeneity is quite a special issuethat makes the resource allocation more challenging com-pared with the traditional wireless ad hoc networks. It is pos-sible to use cooperative relay node utilizing spectrum holesto assist individual secondary transmission and improve linkthroughput. Based on this idea, we study a new resource allo-cation problem with relay selection and channel allocation in

CRAHNs when applying the cooperative relay scheme. Wepropose algorithms to effectively solve the problem basedon a metric of utility-spectrum ratio. We conduct simula-tions to evaluate the performance and conduct comparisonwith direct transmission scheme. The simulation resultsdemonstrate the reasonable performance improvements ofour scheme. In the future, we will further investigate thedistributed algorithms for the relay selection and channelallocation in CRAHNs with cooperative relaying.

Page 9: Research Article …downloads.hindawi.com/journals/ijdsn/2012/863634.pdf · 2015-11-01 · based on Universal Software Radio Peripheral (USRP) [7] and GNU Radio [8]. Experimental

International Journal of Distributed Sensor Networks 9

10 15 20 25 3020

40

60

80

100

120

140

160

Number of channels

Uti

lity

Coop (utility/spectrum)Coop (utility)Direct

(a) Sum

6

8

10

12

14

16

18

20

22

24

26

Uti

lity

10 15 20 25 30

Number of channels

Coop (utility/spectrum)Coop (utility)Direct

(b) Fairness

Figure 5: Performance with respect to the number of channels.

0.05 0.1 0.15 0.2 0.25 0.320

25

30

35

40

45

50

55

Communication range of secondary users

Uti

lity

Coop (utility/spectrum)Coop (utility)Direct

(a) Sum

2

4

6

8

10

12

14

16

18

Uti

lity

0.05 0.1 0.15 0.2 0.25 0.3

Communication range of secondary users

Coop (utility/spectrum)Coop (utility)Direct

(b) Fairness

Figure 6: Performance with respect to secondary users communication range.

Acknowledgments

This work is supported in part by Starting Research Fundfrom Soochow University under Grant no. 14317436, Na-tional Natural Science Foundation of China under Grant no.61070169, Natural Science Foundation of Jiangsu Provinceunder Grant no. BK2011376, Specialized Research Foun-dation for the Doctoral Program of Higher Education ofChina under Grant no. 20103201110018, and ApplicationFoundation Research of Suzhou of China under Grant no.SYG201118.

References

[1] Federal Communications Commission et al., “Spectrum pol-icy task force,” Report ET Docket (02-135):1, 2002.

[2] J. Mitola III and G. Q. Maguire Jr., “Cognitive radio: makingsoftware radios more personal,” IEEE Personal Communica-tions, vol. 6, no. 4, pp. 13–18, 1999.

[3] I. F. Akyildiz, W. Y. Lee, and K. R. Chowdhury, “CRAHNs:cognitive radio ad hoc networks,” Ad Hoc Networks, vol. 7, no.5, pp. 810–836, 2009.

[4] S. Deb, V. Srinivasan, and R. Maheshwari, “Dynamic spectrumaccess in DTV whitespaces: design rules, architecture and

Page 10: Research Article …downloads.hindawi.com/journals/ijdsn/2012/863634.pdf · 2015-11-01 · based on Universal Software Radio Peripheral (USRP) [7] and GNU Radio [8]. Experimental

10 International Journal of Distributed Sensor Networks

algorithms,” in Proceedings of the15th Annual ACM Interna-tional Conference on Mobile Computing and Networking (Mobi-Com ’09), pp. 1–12, September 2009.

[5] Q. Zhang, J. Jia, and J. Zhang, “Cooperative relay to improvediversity in cognitive radio networks,” IEEE CommunicationsMagazine, vol. 47, no. 2, pp. 111–117, 2009.

[6] J. Jia, J. Zhang, and Q. Zhang, “Cooperative relay for cognitiveradio networks,” in Proceedings of th 28th Conference on Com-puter Communications (IEEE INFOCOM ’09), pp. 2304–2312,April 2009.

[7] M. Ettus, “Universal software radio peripheral (USRP),” EttusResearch LLC; http://www.ettus.com/.

[8] GNU Radio, “The gnu software radio,” World Wide Web;http://gnuradio.org.

[9] Y. D. Lin and Y. C. Hsu, “Multihop cellular: a new architecturefor wireless communications,” in Proceedings of the 19thAnnual Joint Conference of the IEEE Computer and Commu-nications Societies IEEE INFOCOM, vol. 3, pp. 1273–1282,March 2000.

[10] J. N. Laneman, D. N. C. Tse, and G. W. Wornell, “Cooperativediversity in wireless networks: efficient protocols and outagebehavior,” IEEE Transactions on Information Theory, vol. 50,no. 12, pp. 3062–3080, 2004.

[11] A. Nosratinia, T. E. Hunter, and A. Hedayat, “Cooperativecommunication in wireless networks,” IEEE CommunicationsMagazine, vol. 42, no. 10, pp. 74–80, 2004.

[12] J. Jia, J. Zhang, and Q. Zhang, “Relay-assisted routing in cog-nitive radio networks,” in Proceedings of the IEEE InternationalConference on Communications (ICC ’09), pp. 1–5, June 2009.

[13] K. B. Letaief and W. Zhang, “Cooperative communications forcognitive radio networks,” Proceedings of the IEEE, vol. 97, no.5, pp. 878–893, 2009.

[14] O. Simeone, I. Stanojev, S. Savazzi, Y. Bar-Ness, U. Spagnolini,and R. Pickholtz, “Spectrum leasing to cooperating secondaryad hoc networks,” IEEE Journal on Selected Areas in Communi-cations, vol. 26, no. 1, pp. 203–213, 2008.

[15] J. Zhang and Q. Zhang, “Stackelberg game for utility-based cooperative cognitiveradio networks,” in Proceedings ofthe 10th ACM international symposium on Mobile ad hocnetworking and computing, pp. 23–32, ACM, 2009.

[16] Y. Han, A. Pandharipande, and S. H. Ting, “Cooperativedecode-and-forward relaying for secondary spectrum access,”IEEE Transactions on Wireless Communications, vol. 8, no. 10,pp. 4945–4950, 2009.

[17] K. Karakayali, J. H. Kang, M. Kodialam, and K. Balachandran,“Cross-layer optimization for OFDMA-based wireless meshbackhaul networks,” in Proceedings of the IEEE Wireless Com-munications and Networking Conference (WCNC ’07), pp. 276–281, March 2007.

[18] T. Chen, H. Zhang, G. M. Maggio, and I. Chlamtac, “Cog-Mesh: a cluster-based cognitive radio network,” in Proceedingsof the 2nd IEEE International Symposium on New Frontiers inDynamic Spectrum Access Networks, pp. 168–178, April 2007.

[19] K. R. Chowdhury and I. F. Akyildiz, “Cognitive wireless meshnetworks with dynamic spectrum access,” IEEE Journal onSelected Areas in Communications, vol. 26, no. 1, pp. 168–181,2008.

[20] S. Ramanathan, “Unified framework and algorithm for chan-nel assignment in wireless networks,” Wireless Networks, vol. 5,no. 2, pp. 81–94, 1999.

[21] C. Peng, H. Zheng, and B. Y. Zhao, “Utilization and fairnessin spectrum assignment for opportunistic spectrum access,”Mobile Networks and Applications, vol. 11, no. 4, pp. 555–576,2006.

Page 11: Research Article …downloads.hindawi.com/journals/ijdsn/2012/863634.pdf · 2015-11-01 · based on Universal Software Radio Peripheral (USRP) [7] and GNU Radio [8]. Experimental

International Journal of

AerospaceEngineeringHindawi Publishing Corporationhttp://www.hindawi.com Volume 2010

RoboticsJournal of

Hindawi Publishing Corporationhttp://www.hindawi.com Volume 2014

Hindawi Publishing Corporationhttp://www.hindawi.com Volume 2014

Active and Passive Electronic Components

Control Scienceand Engineering

Journal of

Hindawi Publishing Corporationhttp://www.hindawi.com Volume 2014

International Journal of

RotatingMachinery

Hindawi Publishing Corporationhttp://www.hindawi.com Volume 2014

Hindawi Publishing Corporation http://www.hindawi.com

Journal ofEngineeringVolume 2014

Submit your manuscripts athttp://www.hindawi.com

VLSI Design

Hindawi Publishing Corporationhttp://www.hindawi.com Volume 2014

Hindawi Publishing Corporationhttp://www.hindawi.com Volume 2014

Shock and Vibration

Hindawi Publishing Corporationhttp://www.hindawi.com Volume 2014

Civil EngineeringAdvances in

Acoustics and VibrationAdvances in

Hindawi Publishing Corporationhttp://www.hindawi.com Volume 2014

Hindawi Publishing Corporationhttp://www.hindawi.com Volume 2014

Electrical and Computer Engineering

Journal of

Advances inOptoElectronics

Hindawi Publishing Corporation http://www.hindawi.com

Volume 2014

The Scientific World JournalHindawi Publishing Corporation http://www.hindawi.com Volume 2014

SensorsJournal of

Hindawi Publishing Corporationhttp://www.hindawi.com Volume 2014

Modelling & Simulation in EngineeringHindawi Publishing Corporation http://www.hindawi.com Volume 2014

Hindawi Publishing Corporationhttp://www.hindawi.com Volume 2014

Chemical EngineeringInternational Journal of Antennas and

Propagation

International Journal of

Hindawi Publishing Corporationhttp://www.hindawi.com Volume 2014

Hindawi Publishing Corporationhttp://www.hindawi.com Volume 2014

Navigation and Observation

International Journal of

Hindawi Publishing Corporationhttp://www.hindawi.com Volume 2014

DistributedSensor Networks

International Journal of