Performance Evaluation of 2-Hop and 3-Hop Relay …829434/FULLTEXT01.pdfMohsin Kamal I would like to...

57
Blekinge Institute of Technology School of Engineering Supervisor: Prof. Abbas Mohammed Performance Evaluation of 2-Hop and 3-Hop Relay Network using DF, AF and DAF Relaying Protocols Mohsin Kamal Theera Yukong This thesis is presented as part of the Degree of Master of Science in Electrical Engineering Blekinge Institute of Technology February 2012

Transcript of Performance Evaluation of 2-Hop and 3-Hop Relay …829434/FULLTEXT01.pdfMohsin Kamal I would like to...

Page 1: Performance Evaluation of 2-Hop and 3-Hop Relay …829434/FULLTEXT01.pdfMohsin Kamal I would like to thank Professor Abbas Mohammed for giving his valuable time and guiding us since

i

Blekinge Institute of Technology

School of Engineering

Supervisor: Prof. Abbas Mohammed

Performance Evaluation of 2-Hop and 3-Hop

Relay Network using DF, AF and DAF

Relaying Protocols

Mohsin Kamal

Theera Yukong

This thesis is presented as part of the Degree of Master of Science in

Electrical Engineering

Blekinge Institute of Technology

February 2012

Page 2: Performance Evaluation of 2-Hop and 3-Hop Relay …829434/FULLTEXT01.pdfMohsin Kamal I would like to thank Professor Abbas Mohammed for giving his valuable time and guiding us since

ii

Page 3: Performance Evaluation of 2-Hop and 3-Hop Relay …829434/FULLTEXT01.pdfMohsin Kamal I would like to thank Professor Abbas Mohammed for giving his valuable time and guiding us since

i

ABSTRACT

Cognitive radio is an evolving wireless technology employed to increase the

frequency spectrum utilization of the limited spectral resources. Cooperative

communications has been established as a potential method of solving the fading

effects in wireless communications, improving the reliability of network

performance, network throughput, and adaptability.

In this thesis, the cooperative diversity is achieved by using 2-hop decode amplify

and forward (DAF) and 3-hop decode and forward (DF) and amplify and forward

(AF) relaying protocols in cognitive radio network. The data is encoded by using

Alamuti space time block codes (STBC) and transmitted over a wireless Rayleigh

fading channel. The distance and the number of relays are variable parameters which

affect the performance of the cooperative cognitive radio network. In order to sense

the presence or absence of Primary User (PU) signal within a spectrum in a cognitive

radio network, energy detectors are used at the cognitive controller. If energy of PU

is less than a threshold then it indicates that PU is absent and vice versa. The

probability of detection and Bit Error Rate (BER) will vary in 2-hop and 3-hop relay

networks.

In this thesis, we present methods of how different relaying protocols affect the

efficiency of the cooperative cognitive radio network and the probability of detection

of the PU.

Keywords: Amplify and Forward, Decode and Forward, Decode Amplify and Forward,

Relay network

Page 4: Performance Evaluation of 2-Hop and 3-Hop Relay …829434/FULLTEXT01.pdfMohsin Kamal I would like to thank Professor Abbas Mohammed for giving his valuable time and guiding us since

ii

Page 5: Performance Evaluation of 2-Hop and 3-Hop Relay …829434/FULLTEXT01.pdfMohsin Kamal I would like to thank Professor Abbas Mohammed for giving his valuable time and guiding us since

iii

ACKNOWLEDGMENTS

I would like to thank Allah. Then I would like to thank my parents Dr. Shamshad

Khan (Late) and Jasmin Khattak for making me believe in myself, my sisters who

always encouraged me in every aspect of life and my brothers in law for their

throughout support.

Then I would thank Professor Abbas Mohammed for his guidance and

supervision.

I would thank my thesis partner Theera Yukong for his support throughout the

thesis. It went all very easily because of his hard work and dedication.

Mohsin Kamal

I would like to thank Professor Abbas Mohammed for giving his valuable

time and guiding us since the first step.

Also I would like to thank my family in supporting me during study and

always staying besides me.

I would thank Mohsin Kamal, my thesis partner, who made me laugh,

supported my ideas, stayed with me when I was struck in problem and remained

there until the thesis completion.

Finally, I have to say thanks to Kanoksak Wannatrong my Thai friend who

taught and answered me when I got questions.

Also, I have to thank my Thai friends, Wittaya Koodtalang and Wipawat

Uppatumwichian for their help and guidance.

Theera Yukong

Page 6: Performance Evaluation of 2-Hop and 3-Hop Relay …829434/FULLTEXT01.pdfMohsin Kamal I would like to thank Professor Abbas Mohammed for giving his valuable time and guiding us since

iv

CONTENTS [Table of contents]

CHAPTER 1 ….......................................................................................................... 1

Introduction................................................................................................................. 1

1.1 Thesis Overview ................................................................................................... 2

CHAPTER 2............................................................................................................... 3

Wireless Communication .............................................................................................3

2.1 Introduction ............................................................................................................3

2.1.1 Bit-Error-Rate (BER) ...................................................................................3

2.1.2 Signal-to-Noise-Ratio (SNR) ...................................................................... 3

2.2 Channel ................................................................................................................. 4

2.2.1 Path Loss...................................................................................................... 4

2.2.2 Free Space Path Loss................................................................................... 4

2.2.3 Noise............................................................................................................ 5

2.2.4 Inter-Symbol Interference............................................................................ 5

2.3 Fading.................................................................................................................... 6

2.3.1 Multipath Fading.......................................................................................... 7

2.3.2 Fast Fading................................................................................................... 7

2.3.3 Slow Fading................................................................................................. 7

2.3.4 Flat Fading................................................................................................... 8

2.3.5 Frequency selective Fading..........................................................................8

2.4 Communication Channel....................................................................................... 8

2.4.1 Additive White Gaussian Noise (AWGN) Channel.................................... 8

2.4.2 Rayleigh Fading Channel ............................................................................ 9

2.4.3 Rician Fading Channel................................................................................. 9

2.5 Diversity............................................................................................................... 10

2.5.1 Space Diversity.......................................................................................... 10

2.5.2 Frequency Diversity................................................................................... 10

2.5.3 Time Diversity........................................................................................... 11

2.5.4 Cooperative Diversity................................................................................ 11

2.6 Modulation........................................................................................................... 11

2.6.1 BPSK Modulation...................................................................................... 12

2.7 Alamouti STBC................................................................................................... 13

Page 7: Performance Evaluation of 2-Hop and 3-Hop Relay …829434/FULLTEXT01.pdfMohsin Kamal I would like to thank Professor Abbas Mohammed for giving his valuable time and guiding us since

v

CHAPTER 3..............................................................................................................16

Cooperative Radio Networks.....................................................................................16

3.1 Multiple Input Multiple Output (MIMO)............................................................ 16

3.2 Relay.................................................................................................................... 17

3.3 Relay protocol...................................................................................................... 17

3.3.1 Amplify and Forward................................................................................. 17

3.3.2 Decode and Forward.................................................................................. 19

3.3.3 Decode, Amplify and Forward.................................................................. 19

3.4 2-Hop Relay Network.......................................................................................... 20

3.5 Multi-Hop Relay Network................................................................................... 21

3.6 Combiners............................................................................................................ 22

3.6.1 Equal Ratio Combiner (ERC).................................................................... 22

3.6.2 Fixed Ratio Combiner (FRC)..................................................................... 23

3.6.3 Maximum Ratio Combiner (MRC)............................................................ 23

CHAPTER 4............................................................................................................. 24

Cognitive Radio..........................................................................................................24

4.1 Spectrum and its distribution................................................................................24

4.1.1 Licensed Spectrum......................................................................................24

4.1.2 Unlicensed Spectrum..................................................................................24

4.2 Main Features of Cognitive Radio Networks.......................................................25

4.2.1 Spectrum Sensing........................................................................................25

4.2.2 Spectrum Decision......................................................................................25

4.2.3 Spectrum Sharing........................................................................................26

4.2.4 Spectrum Mobility......................................................................................26

4.3 Cognitive Spectrum Sensing.................................................................................27

4.3.1 Energy Detection........................................................................................27

4.4 Cognitive Spectrum Sharing Methods..................................................................28

4.4.1 Open Spectrum Sharing..............................................................................28

4.4.2 Hierarchical Spectrum Sharing...................................................................28

4.4.2.1 Underlay Spectrum Sharing............................................................29

4.4.2.2 Overlay Spectrum Sharing..............................................................30

4.5 Cooperative Spectrum Sensing.............................................................................30

4.5.1 Soft Cooperative.........................................................................................30

4.5.2 Hard Cooperative........................................................................................31

Page 8: Performance Evaluation of 2-Hop and 3-Hop Relay …829434/FULLTEXT01.pdfMohsin Kamal I would like to thank Professor Abbas Mohammed for giving his valuable time and guiding us since

vi

CHAPTER 5 .............................................................................................................33

Simulation Results......................................................................................................33

5.1 2-Hop (DAF) VS. 3-Hop (DF & AF).................................................................. 33

5.2 Relay Positioning................................................................................................. 35

5.2.1 2-Hop Relay Network.................................................................................35

5.2.2 3-Hop (DF & AF) Relay Network..............................................................41

CHAPTER 6..............................................................................................................45

Conclusion and Future Work......................................................................................45

6.1 Conclusion........................................................................................................... 45

6.2 Future Work......................................................................................................... 46

References…..............................................................................................................47

Page 9: Performance Evaluation of 2-Hop and 3-Hop Relay …829434/FULLTEXT01.pdfMohsin Kamal I would like to thank Professor Abbas Mohammed for giving his valuable time and guiding us since

1

CHAPTER 1: INTRODUCTION

In this chapter, we present an introduction to Cooperative Communications,

overview of our thesis work and explain briefly about the next chapters.

While signal is transmitted from the transmitter to the receiver, distortion takes place

e.g. multipath, noise etc. Therefore, there are many methods to implement in order to

improve the quality of the received signal. In present, cooperative communications is

one of the well-known method in this regard. Multiple-input multiple-output

(MIMO) and Alamouti space time block codes (STBC) are widely used in the

cooperative communications [4][28]. Relays are placed between source and

destination so that it becomes easy for the receiver to estimate the original signal.

There are few relaying protocols that helps in improving the signal i.e Amplify and

Forward (AF), Decode and Forward (DF), Decode Amplify and Forward (DAF)

[29][30].

In this thesis, we implement cooperative radio network via MIMO, Alamouti STBC

and using multiple relays in 2-hop and 3-hop cognitive radio network [16][31].

Furthermore, we compare the performance of 2-hop DAF and 3-hop DF and AF.

Also we find the probability detection of PU by varying the relay position.

Figure 1.1 shows the basic concept of cooperative communications. Transmitted

signal reaches from source to destination via two paths i.e direct link and via relay.

At destination, the received signals from direct link and relay are combined using the

combiner to find the optimized signal.

Page 10: Performance Evaluation of 2-Hop and 3-Hop Relay …829434/FULLTEXT01.pdfMohsin Kamal I would like to thank Professor Abbas Mohammed for giving his valuable time and guiding us since

2

Source Destination

Relay

Retransmit on

relay pathTransmit on

relay path

Transmit on direct path

Figure 1.1: The cooperative communications system

1.1 Thesis Overview

This thesis presents the performance analysis in cooperative communications by

using the DF, AF and DAF relaying protocols and the comparison of analytic

probability detection of PU having 2-hop and 3-hop cognitive radio networks.

Chapter 2 briefly explains wireless communications, the basic knowledge and what

are related with wireless systems.

Chapter 3 explains about the cooperative communications, what cooperative

communications is, how it works, and what are the applications and techniques

applied in cooperative communications.

Chapter 4 is about cognitive radio, how it works, what its main functions are and

what are the spectrum sensing and sharing techniques.

Chapter 5 shows the simulation results that compare 2-hop and 3-hop in term of the

performance of BER versus energy per bit to noise power spectral density (Eb/No)

and the probability detection of PU versus energy threshold (λ).

Chapter 6 is the conclusion of our thesis work along with the related future work.

Page 11: Performance Evaluation of 2-Hop and 3-Hop Relay …829434/FULLTEXT01.pdfMohsin Kamal I would like to thank Professor Abbas Mohammed for giving his valuable time and guiding us since

3

CHAPTER 2: WIRELESS COMMUNICATION

2.1 Introduction

Wireless communications, as the name indicates, a type of communication in which

the information is exchanged between two or more than two points but they are not

physically connected.

Wireless communications is the fastest growing segment of the communication

industry. We can witness its applications and uses almost everywhere. Cellular

communication, wireless local area networks (WLAN), wireless sensors, Bluetooth

etc are used most commonly everywhere. The research has shown that there are more

than two billion mobile phone users worldwide [1].

2.1.1 Bit Error Rate (BER)

With enormous development in wireless communication, the demand for reliable

data transferring has also been increased. BER is the term used to measure end to end

performance. It is basically the ratio of bit errors to the total number of bits that are

sent.

Mathematically,

BER = bit errors/total number of bits (2.1)

2.1.2 Signal to Noise Ratio (SNR)

SNR is a term used to compare power of the received signal to noise. It is a ratio of

power of the received signal Pr to the noise power Pn.

Page 12: Performance Evaluation of 2-Hop and 3-Hop Relay …829434/FULLTEXT01.pdfMohsin Kamal I would like to thank Professor Abbas Mohammed for giving his valuable time and guiding us since

4

Mathematically,

SNR = Pr/Pn (2.2)

If SNR is more than 1, than it shows that the Pr is stronger than the noise power Pn.

2.2 Channel

Channel is the medium of communication between source and the destination. It

refers to either physical (wired) or logical (wireless). The channel credibility can be

degraded by the following factors.

2.2.1 Pathloss

When a signal travels in space, the attenuation takes place. This is called pathloss. If

the distance between source and the destination is kept on increasing, then at certain

level the signal will be totally distorted. The repeaters and amplifiers are used to

overcome this problem.

Mathematically, pathloss can be represented as

(2.3)

represents pathloss, represents transmitted power and is the received power.

Pathloss depends on transmission distance, radio wavelength and height of the

transmitting and receiving antennas [2][16].

2.2.2 Free Space Path Loss

When data travels from source to the destination in a wireless medium then the

signal becomes weaker as the distance is increased. This is caused by reflection,

Page 13: Performance Evaluation of 2-Hop and 3-Hop Relay …829434/FULLTEXT01.pdfMohsin Kamal I would like to thank Professor Abbas Mohammed for giving his valuable time and guiding us since

5

refraction, shadowing, absorption, diffraction, atmospheric conditions and the

distance between source and the destination.

For ideal isotropic Antenna, it is represented by

(2.4)

is the carrier wavelength, d is the distance between antennas, f is the carrier

frequency and c is the speed of light. For non-isotropic antennas, it is represented by

(2.5)

and are the gains of transmitter and the receiver, respectively [1][2].

2.2.3 Noise

Noise is the undesired signal in communication system. Due to noise the signal at the

receiver is unclear. As a result low SNR is achieved at the receiver end. There are

several forms of noise in any communication system i.e thermal noise, inter-

modulation, cross-talk, impulse noise and white noise etc. [1][2][16]

2.2.4 Inter Symbol Interference (ISI)

In telecommunication, ISI is a form of distortion of a signal in which one symbol

interferes with the subsequent symbols. This is an unwanted phenomenon as the tail

of a pulse spread into adjacent symbol intervals, thereby interfering with the

detection process and degrading the error performance. ISI is usually caused by

multipath propagation or the inherent non-linear frequency response of a channel

causing successive symbols to "blur" together. The presence of ISI in the system

introduces errors in the decision device at the receiver output [1][2][27].

Page 14: Performance Evaluation of 2-Hop and 3-Hop Relay …829434/FULLTEXT01.pdfMohsin Kamal I would like to thank Professor Abbas Mohammed for giving his valuable time and guiding us since

6

Amplitude

Symbol

Time

1

2

3 4

5

Figure 2.1: Sequence 10110 sent

Amplitude

Time

1

2

3 4

5

Interference into

symbol 3 from

symbols 1 and 2

Interference into symbol 4

from symbols 2 and 3

Figure 2.2: Inter Symbol Interference

2.3 Fading

In wireless communication, fading is the amount of attenuation experienced by a

signal over a certain propagation media. Fading occurs in two different

environments: fixed environment and mobile environment. In fixed environment, it

occurs due to the atmosphere conditions, such as rain. In mobile environment, it

occurs when the transmitters and receivers are not fixed and change their positions

while have the obstruction or blocked line of sight (LOS) [32].

Page 15: Performance Evaluation of 2-Hop and 3-Hop Relay …829434/FULLTEXT01.pdfMohsin Kamal I would like to thank Professor Abbas Mohammed for giving his valuable time and guiding us since

7

2.3.1 Multipath Fading

A signal that propagates from source to the destination through more than two paths

is called multipath propagation. Because of multipath propagation, the transmitted

signal experiences reflection, diffraction, refraction, and scattering with different

objects and different environments e.g. mountain, wall, building, tree etc. Due to

these, constructive and destructive interference, and phase shifting of the signal is

observed. Fading is caused by destructive interference.

Figure 2.3: Multipath Fading

2.3.2 Fast Fading

In fast fading, the impulse response changes rapidly within the symbol duration,

faster than baseband signal variation and the coherence time of the channel is less

than the symbol period time of the transmitted signal [2][16].

2.3.3 Slow Fading

In slow fading the impulse response changes within the symbol duration slower than

baseband signal variation and the coherence time of the channel is greater than the

symbol period time of the transmitted signal [2][16].

Page 16: Performance Evaluation of 2-Hop and 3-Hop Relay …829434/FULLTEXT01.pdfMohsin Kamal I would like to thank Professor Abbas Mohammed for giving his valuable time and guiding us since

8

2.3.4 Flat Fading

In flat fading, the bandwidth of signal is less than the coherence bandwidth of

channel. The channel impulse response has a multipath time delay spread which is

smaller than the reciprocal bandwidth of the transmitted signal [2].

2.3.5 Frequency Selective Fading

In frequency selective fading, the bandwidth of signal is greater than the coherence

bandwidth of channel. The channel impulse response has a multipath time delay

spread which is greater than the reciprocal bandwidth of the transmitted signal [2].

2.4 Communication Channels

In communication system, in order to design a signal propagation system then all

factors that can distort the signal while propagation are considered [32]. Some typical

communication channels are as follows.

2.4.1 Additive White Gaussian Noise (AWGN) Channel

In AWGN channel, the signal is corrupted by white noise which has constant spectral

density and a Gaussian distribution of amplitude. Thermal noise is the only factor

that encounters in this kind of channel. AWGN can be experienced due to thermal

vibrations of atoms in conductors, short noise, physical channel and circuitry of the

electronic devices used for communication between transmitter and receiver.

Page 17: Performance Evaluation of 2-Hop and 3-Hop Relay …829434/FULLTEXT01.pdfMohsin Kamal I would like to thank Professor Abbas Mohammed for giving his valuable time and guiding us since

9

+Transmitted signal

s(t)

Noise

n(t)

Receiver signal

r(t) = s(t) + n(t)

Channel

Figure 2.4: AWGN Channel

2.4.2 Rayleigh Fading Channel

Rayleigh fading is usually used in case of multipath propagation between transmitter

and receiver but no line of sight (LOS). It is the most useful model in case when

there are many objects between the transmitter and the receiver and signal scatters

before reaching the receiver. This is usually experienced in urban areas.

2.4.3 Rician Fading Channel

Rician fading usually occurs in case of direct path and small multipath such as indoor

environment. This channel can define the parameter “K” as follows:

K =

(2.6)

When K = 0, the channel is experiencing Rayleigh fading and when K = , the

channel is AWGN [32].

Page 18: Performance Evaluation of 2-Hop and 3-Hop Relay …829434/FULLTEXT01.pdfMohsin Kamal I would like to thank Professor Abbas Mohammed for giving his valuable time and guiding us since

10

2.5 Diversity

This is a powerful communication technique that helps in improving the reliability of

message signal by using two or more communication channels with different

characteristics. This technique does not remove errors but it reduces the error rate.

There are many diversity techniques but in our thesis, we focus on different

techniques that are the basic of the cooperative communication.

2.5.1 Space Diversity

This technique involves the physical transmission path. Signal is transmitted or

received in several propagation paths. The receiver will receive different copies of

the signal and will choose the best possible result. The space of the antenna at

transmitters or receivers must be at least half of wavelength.

SourceRecovered

signal

IF

combining

switch

Receiver 2

Receiver 1

Transmitter

Figure 2.5: Space Diversity

2.5.2 Frequency Diversity

In this technique, the transmission is done using different frequency channel. As

different frequencies have different wavelengths which results in uncorrelated fading

characteristics. As shown in figure 2.6, the data is sent from the transmitter using

different frequencies. The receiver receives various copies of the results and selects

the best possible result.

Page 19: Performance Evaluation of 2-Hop and 3-Hop Relay …829434/FULLTEXT01.pdfMohsin Kamal I would like to thank Professor Abbas Mohammed for giving his valuable time and guiding us since

11

SourceReceived

signal

IF

combining

switchReceiver 2

Receiver 1Transmitter 1

Transmitter 2

Figure 2.6: Frequency Diversity

2.5.3 Time Diversity

In this technique, the transmission is done by sending the same signal at different

time. A redundant error correcting code is added to the data that has to be sent. Time

diversity is used when transmission channel suffers from error bursts due to time

varying channel conditions.

2.5.4 Cooperative Diversity

In this technique, multiple antennas and relays are used for the improvement of the

transmission. The transmitter transmits the signal to the relay (relay path) and

destination (direct path) at the same time. Then the signal at relay is retransmitted to

the destination. At destination, the receiver combines the signals from relay path and

direct path together.

2.6 Modulation

Modulation is the process of varying one or more properties of a high-frequency

periodic waveform called the carrier signal, with a modulating signal which typically

contains information to be transmitted.

There are many modulation scehemes e.g. Binary Phase Shift Keying (BPSK),

Quadrature Phase Shift Keying (QPSK), Quadrature Amplitude Modulation (QAM)

etc. In this thesis we use BPSK.

Page 20: Performance Evaluation of 2-Hop and 3-Hop Relay …829434/FULLTEXT01.pdfMohsin Kamal I would like to thank Professor Abbas Mohammed for giving his valuable time and guiding us since

12

2.6.1 BPSK Modulation

This is the simple modulation in PSKs scheme using two phases, each separated by

phase of 180o. It is the most effective in all PSKs scheme because it requires the

highest noise or distortion in demodulation to give the incorrect results. Data rate in

BPSK is very low because it transmits only 1bit/symbol [14].

Figure 2.7: Signal constellation diagram for BPSK

The general BPSK equations are:

Sb(t) =

cos (2πfct + π(1 - n)) for n = 0,1

(2.7)

It has two phases: 0 and . Binary data is often transmitted with the following signal:

S0(t) =

cos (2πfct + π) = -

cos (2πfct) for binary “0” (2.8)

where, fc is the carrier frequency

S1(t) =

cos (2πfct) for binary “1”

(2.9)

Page 21: Performance Evaluation of 2-Hop and 3-Hop Relay …829434/FULLTEXT01.pdfMohsin Kamal I would like to thank Professor Abbas Mohammed for giving his valuable time and guiding us since

13

The signal-space is represented by the single basic function:

Θ(t) =

cos (2πfct)

(2.10)

BER of BPSK in AWGN can be written as:

Pb = Q(

) or Pb =

erfc(

)

(2.11)

In the above equations,

Eb = Energy per bit

Tb = Bit duration

Sb = Symbol of bit b

Θ(t) = Basic function

Pb = Probability of bit error

No = Noise power of spectral density (W/Hz)

2.7 Alamouti STBC

In 1998 Vahid Tarokh and his group proposed the Space Time Codes (STCs) to

improve the performance in term of error rate over single antenna system

[5][34][35]. STCs are divided into two categories: Space Time Trellis Codes (STTC)

and Space Time Block Codes (STBC) [19][33]. STCs work by the principle of

sending and receiving multiple copies of the original signal using multiple antennas

by the transmitter and receiver respectively [3][36]. We have implemented the

simulation by using STBC applied to Alamouti technique. STBC works on matrices

schemes in which the rows represent number of time slots (time) and column is

transmitting antennas (space) and it uses the multiple-input multiple-output (MIMO)

antennas as transceiver. The elements in coding matrix of STBC are in vector form

and are orthogonal to each other. That is the reason why STBC is known as OSTBC

[1][19].

Page 22: Performance Evaluation of 2-Hop and 3-Hop Relay …829434/FULLTEXT01.pdfMohsin Kamal I would like to thank Professor Abbas Mohammed for giving his valuable time and guiding us since

14

Direct path

Relay path

Relay path

Direct path

Tx1

Tx2 Rx2

Rx1

Figure 2.8: Alamouti 2x2 STBC Transmission scheme

Figure 2.8 has two transmitting antennas and two receiving antennas in Alamouti

STBC scheme. It has two paths: direct path and relay path. The direct path directly

transmits the signal from source to destination. While the relay transmits the signal to

relay and then the relay retransmits the signal to the destination.

Figure 2.9: Alamouti 2x2 STBC encoded transmission matrices

As depicted in figure 2.9, the data stream {a1, a2, a3...an}, will be transmitted in the

first time slot i.e. a1 through Tx1 antenna and a2 through the Tx2 antenna. In the

second time slot, - a2* through the Tx1 antenna and a1* through the Tx2 antenna,

where “ * ” is the conjugate operator [10] [15][28].

Page 23: Performance Evaluation of 2-Hop and 3-Hop Relay …829434/FULLTEXT01.pdfMohsin Kamal I would like to thank Professor Abbas Mohammed for giving his valuable time and guiding us since

15

In 2x2 Alamouti STBC scheme, we propose the multiple-input mulitiple-output

(MIMO) technique to transmit and receive the signal. This technique increases the

performance of data transmission because in one time slot two data symbols can be

transmitted [15] [28].

Source

Channel

BPSK

demodulation

Decoding

Alamouti

STBC

Destination

BPSK

modulation

Encoding

Alamouti

STBC

Figure 2.10: System Model (Using Alamouti STBC and BPSK)

Page 24: Performance Evaluation of 2-Hop and 3-Hop Relay …829434/FULLTEXT01.pdfMohsin Kamal I would like to thank Professor Abbas Mohammed for giving his valuable time and guiding us since

16

CHAPTER 3: COOPERATIVE RADIO NETWORKS

Cooperative communications has been established as a potential method for solving

fading effects in wireless communications, improving the reliability of network

performance, network throughput, and adaptability. In order to get the transmit

diversity, more than one antenna are required. Mobile devices have single antenna in

order to transmit or receive the signal. In fact, a lot of wireless devices have limited

size. That is why most of them can only support single antenna. A new class called

“Cooperative Communication” has been introduced in order to get the transmit

diversity [3].

The single antenna mobile is used in multiple antenna environments i.e each mobile

node shares its antenna. In other words, each mobile node in wireless transmission

cooperate with each other and form multiple virtual antennas to achieve the transmit

diversity. [3][4]

3.1 Multiple Input Multiple Output (MIMO)

MIMO is the term used to have multiple antennas at the sender and receiver in order

to get the Antenna diversity. When there is no line of sight between the transmitter

and the receiver then there is more probability of error in the receiving signal and

fading takes place [15][16]. In order to deal with this, multiple antennas are used at

both the transmitter and the receiver end. Transmitter emits same signal from each

antennas. The receiver on the other hand receives same signal generated from

multiple antennas and estimates the original signal. Sensitivity to fading is reduced

by the spatial diversity provided by multiple spatial paths [6].

Page 25: Performance Evaluation of 2-Hop and 3-Hop Relay …829434/FULLTEXT01.pdfMohsin Kamal I would like to thank Professor Abbas Mohammed for giving his valuable time and guiding us since

17

Tx Rx

Figure 3.1: 2×2 MIMO

3.2 Relay

Relay is the access point between the source and the destination. It acts as a repeater

for wireless transmission. When the distance between the source and the destination

is large then relay is used between them. Relays apply several protocols on the

received signal and forward it to the destination.

Single or multiple relays can be placed between the source and the destination.

Conventionally, if the distance is not very large then 2-hop relay network is used

otherwise multi-hop. In this paper we are considering both 2-hop and 3-hop relay

networks.

3.3 Relying Protocols

There are several relaying protocols e.g. amplify and forward (AF) [9][12][13][16],

decode and forward (DF) [8][9][11][15][16], decode amplify and forward (DAF)

[9][16], decouple and forward (DCF) [10] and compress and forward (CF) [14]. All

of them have their own way of dealing with the incoming data. In this thesis we are

considering the first three.

3.3.1 Amplify and Forward

It is a simple technique. In this technique, relay station amplifies the received signal

and forwards it to the destination station. No regeneration of the signal takes place.

The noisy signal is amplified and forwarded to the destination without decoding or

Page 26: Performance Evaluation of 2-Hop and 3-Hop Relay …829434/FULLTEXT01.pdfMohsin Kamal I would like to thank Professor Abbas Mohammed for giving his valuable time and guiding us since

18

applying any other technique [3][15][16]. This is why it is sometimes called non-

regenerative (transparent) relying protocol.

Considering a single relay between the source and the destination, signal

received from the transmitter at relay is multiplied with the amplification factor

and then forwarded the amplified signal to the destination. As shown in

equation 3.1.

Mathematically,

(3.1)

where,

(3.2)

while, and are the average transmitted signal power from transmitter and relay

respectively, 2 is the noise variance and h is the fading coefficient between the

transmitter and relay [15].

Source

AF relay

Destination

Figure 3.2: Amplify and Forward

Page 27: Performance Evaluation of 2-Hop and 3-Hop Relay …829434/FULLTEXT01.pdfMohsin Kamal I would like to thank Professor Abbas Mohammed for giving his valuable time and guiding us since

19

3.3.2 Decode and Forward

In this technique, the relay on receiving the data decodes, re-encodes and then

forwards the regenerated signal to the destination. The decoded signal is the estimate

of the original signal. It is also known as regenerative relaying protocol [11][15][16].

Mathematically,

xr,s(n) =

(3.3)

While, xr,s(n) is the signal which is forwarded from the relay to the destination,

and are the average transmitted signal power from transmitter and relay,

respectively, and is the decoded (estimated) signal. Figure 3.3 shows a

network having relay applying DF protocol.

Source

DF relay

Destination

Figure 3.3: Decode and Forward

3.3.3 Decode, Amplify and Forward

This is the combination of DF and AF relaying protocols. As shown in figure 3.4, the

signal arriving at the relay is first decoded, then re-encoded and after that it is

Page 28: Performance Evaluation of 2-Hop and 3-Hop Relay …829434/FULLTEXT01.pdfMohsin Kamal I would like to thank Professor Abbas Mohammed for giving his valuable time and guiding us since

20

amplified and sent to the destination. In other words, the signal is estimated,

normalized and then is sent to the destination.

Mathematically,

xr,d(n) = xr,s(n)* β (3.4)

xr,d(n) is the signal transmitted from relay to the destination, xr,s(n) is defined in

equation 3.3 and β is the scaling factor.

Source

DAF relay

Destination

Figure 3.4: Decode, Amplify and Forward

3.4 2-Hop Relay Network

In 2-hop relay network, a single relay or multiple relays are placed in parallel

between source and the destination. The data travelling from source will pass via

relay. The relay will apply the proposed protocol and will forward it to the

destination. The destination will receive different copies of the data (from relay and

through direct path) and will process them by applying different combining methods.

Figure 3.5 shows the 2-hop network

In this thesis we are considering 2-hop networks using DF, AF and DAF relying

protocols.

Page 29: Performance Evaluation of 2-Hop and 3-Hop Relay …829434/FULLTEXT01.pdfMohsin Kamal I would like to thank Professor Abbas Mohammed for giving his valuable time and guiding us since

21

Source Destination

Relay

Retransmit on

relay pathTransmit on

relay path

Transmit on direct path

Figure 3.5: 2-Hop Relay Network

3.5 Multi-hop Relay Network

When more than one relays are placed in series between source and the destination

then it is called Multi-hop relay network. The source will transmit data to the first

nearby relay r1. The relay on receiving the data will apply the proposed protocol and

will forward it to the next relay r2. It will also apply the proposed protocol and will

forward it to the next relay and so on. After processed by relays, the data will be

transmitted to the destination. The destination will receive several copies of the data

(through relays and direct path). These will be processed at the destination by using

the proposed combining method.

In this thesis we are considering 3-hop network using DF and AF relaying protocols.

The data will transmit from source to DF relay. After processed by DF relay it will

be forwarded to AF relay and then will reach the destination. Fig 3.6 shows 3-hop

DF and AF relay network.

Page 30: Performance Evaluation of 2-Hop and 3-Hop Relay …829434/FULLTEXT01.pdfMohsin Kamal I would like to thank Professor Abbas Mohammed for giving his valuable time and guiding us since

22

Source Destination

DF Relay

Retransmit on

relay pathTransmit on

relay path

Transmit on direct path

AF Relay

Retransmit on

relay path

Figure 3.6: 3-hop Relay network using DF and AF Relaying protocols

3.6 Combiners

Combiners are used to combine the signals received from various sources. They

apply different combining techniques to get the estimated signal. Various combining

techniques are discussed below.

3.6.1 Equal Ratio Combiner (ERC)

It is the easiest way to combine the received signals. In this technique, all the

received signals are added up. It is used when the processing time matters more

compared to the channel quality estimation. That is why the performance of this

combiner is not good.

Mathematically,

= (3.5)

shows the sum of all the receiving signals while represents the signals

received from various positions (source, relays, etc.) [18].

Page 31: Performance Evaluation of 2-Hop and 3-Hop Relay …829434/FULLTEXT01.pdfMohsin Kamal I would like to thank Professor Abbas Mohammed for giving his valuable time and guiding us since

23

3.6.2 Fixed Ratio Combiner (FRC)

In this type of combiner, all the receiving signals are weighted with a constant ratio

which will not change too much during the whole communication. FRC is

represented as

= (3.6)

represents the incoming signals while di,d denotes weighting of the incoming

signal.

3.6.3 Maximum Ratio Combiner (MRC)

In this method, the receiver on receiving the input signals multiplies them with the

conjugate of itself. This method gives better result compared to the other combining

techniques. The receiver should have the knowledge of the channel‘s phase shift and

attenuation.

It can be represented as,

=

(3.7)

is the received signal and represents the combined signal [18].

Page 32: Performance Evaluation of 2-Hop and 3-Hop Relay …829434/FULLTEXT01.pdfMohsin Kamal I would like to thank Professor Abbas Mohammed for giving his valuable time and guiding us since

24

CHAPTER 4: COGNITIVE RADIO

Spectrum allocation is always been done traditionally in a licensed fashion. It has

been observed that most of the licensed spectrum is not completely utilized.

Cognitive radios are proposed as a viable solution to the frequency reuse problem

[19]. The cognitive devices are capable of sensing the environment and adjusting the

configuration parameters automatically [20]. Cognitive radio is supposed to sense the

availability of holes in the spectrum and communicate in the sensed holes without

interfering with the PU [21].

4.1 Spectrum and its distribution

Due to the limitations of the radio spectrum, the spectrum allocation is done in a

licensed manner so that every user should have the specific range of frequency band

to perform their own communication under the assigned radio spectrum. Radio

spectrum is divided into two parts.

4.1.1 Licensed Spectrum

Licensed spectrum includes frequencies that can be reserved for a specific use.

These are licensed by the government to the companies e.g AM Radio, FM Radio,

Digital Broadcast Satellite, Broadband Wireless and Cellular spectrum etc. [22].

4.1.2 Unlicensed Spectrum

Unlicensed spectrum, also known as license-free spectrum, is publicly owned, and

people do not have to apply and pay for a license to use them [22]. These spectrums

can be the unutilized licensed spectrum. The device has to satisfy some rules in order

to use them. Examples are Industrial, scientific and medical (ISM) radio bands and

wiles local area networks (WLANS) etc.

Page 33: Performance Evaluation of 2-Hop and 3-Hop Relay …829434/FULLTEXT01.pdfMohsin Kamal I would like to thank Professor Abbas Mohammed for giving his valuable time and guiding us since

25

4.2 Main Features of Cognitive Radio Networks

There are four main features of cognitive radio networks

4.2.1 Spectrum Sensing

The process of detecting unused spectrum is known as spectrum sensing [16].

Spectrum sensing is the basic feature of cognitive radio network. In order for

secondary user to communicate, free holes in primary user’s spectrum need be

detected. Therefore the secondary user should monitor the available primary user’s

spectrums and detect the available holes [21].

Power Frequency

Time

Occupied spectrum Free spectrum

Figure 4.1: Spectrum Sensing (free holes/white spaces detected)

4.2.2 Spectrum Decision

After the spectrums have been sensed the next step for secondary user (SU) should

be to select the most appropriate spectrum according to their quality of service (QoS)

Page 34: Performance Evaluation of 2-Hop and 3-Hop Relay …829434/FULLTEXT01.pdfMohsin Kamal I would like to thank Professor Abbas Mohammed for giving his valuable time and guiding us since

26

requirements. The spectrum decision should be taken according to the radio

environment and the statistical behavior of the PUs [21].

4.2.3 Spectrum Sharing

The process to share the spectrum between PUs and SUs is known as spectrum

sharing. Spectrum sharing is an important step for reliable communication of

licensed and unlicensed users to share their spectrum with each other [16][19]. Since

there may be more SU to access the spectrum, spectrum sharing is very important in

order to share the spectrum by preventing collision in overlapping portion of the

spectrum. Spectrum sharing provides capabilities to share the spectrum resources

opportunistically with multiple SUs which includes resource allocation to avoid

interference caused to the primary network [21].

4.2.4 Spectrum Mobility

The process of maintaining communication during spectrum transition is known as

spectrum mobility [16]. SU should vacate the channel when a licensed user is

detected. SU should continue its transmission in another available portion of the

spectrum. The transmission should be switched to a new route or to a new band with

minimum quality degradation [21].

Spectrum

sensing

Radio

EnvironmentSpectrum

decision

Spectrum

mobility

Spectrum

sharing

Spectrum characterization

RF stimuli

PU decision Decision request

Spectrum hole Channel capacity

Transmitted signal

Figure 4.2: The Cognitive Radio cycle

Page 35: Performance Evaluation of 2-Hop and 3-Hop Relay …829434/FULLTEXT01.pdfMohsin Kamal I would like to thank Professor Abbas Mohammed for giving his valuable time and guiding us since

27

4.3 Cognitive Spectrum Sensing

There are many methods to sense the availability or non availability of the primary

user in frequency spectrum. These methods are energy detection, matched filter (MF)

detection, cyclosationary detection and feature detection. In later three methods, the

system should know the prior knowledge about the primary signal while in energy

detection method it is not required [23]. In this thesis we are considering energy

detection method.

4.3.1 Energy Detection

The energy detector measures the presence or absence of primary signal energy in a

specific duration. The detector simply determines whether or not the measured signal

energy is over the predetermined threshold level [23]. If the energy level is above

threshold it means that PU is present otherwise not [15][16] as shown in figure 4.3

[23]. When considering the general purpose of spectrum sensing with low

complexity, the energy detection technique is decidedly the most feasible spectrum

sensing scheme for detecting the white space in wireless communication systems

[16][23].

Figure 4.3: Energy detection method

Figure 4.4 depicts that before transmission, the SU should sense the existence of PU

signal within the licensed spectrum. The transmission frame for secondary users is

divided into two segments: sensing period and a data transmission period. Sensing

period is represented as N shows the length of the sensing period in which the

secondary user stops transmission and then senses the primary spectrum. If any

primary user signal is detected during the sensing period, the secondary user stops

Sampling

Page 36: Performance Evaluation of 2-Hop and 3-Hop Relay …829434/FULLTEXT01.pdfMohsin Kamal I would like to thank Professor Abbas Mohammed for giving his valuable time and guiding us since

28

the transmission until the primary user signal is again undetectable. Otherwise, if no

primary user signal is detected, the secondary user continues transmission during the

data transmission period. Longer and frequent sensing periods improve sensing

performance but shorten the data transmission period. Conversely, shorter and more

irregular sensing periods degrade sensing performance but lengthen the data

transmission period [23].

Sensing

periodData transmission period

Sensing

duration

Secondary frame duration

0 Nn

Np

Figure 4.4: Sensing and transmission structure for energy detector

4.4 Cognitive Spectrum Sharing Methods

Spectrum sharing is divided into two groups: open spectrum sharing and hierarchical

spectrum sharing.

4.4.1 Open Spectrum Sharing

If every system has the same priority for accessing the spectrum resource, it is

referred to open spectrum sharing (OSS) [23][24].

4.4.2 Hierarchical Spectrum Sharing

In Hierarchical Spectrum Sharing, there is a priority to access the spectrum between

primary and secondary users. Primary user has the priority over secondary user

because of having the licensed spectrum. The secondary user should access the

Page 37: Performance Evaluation of 2-Hop and 3-Hop Relay …829434/FULLTEXT01.pdfMohsin Kamal I would like to thank Professor Abbas Mohammed for giving his valuable time and guiding us since

29

primary spectrum in such a way that it should not provide interference to the primary

user. Secondary systems are allowed to use the spectrum because of the considerable

amount of unused licensed spectra within time and space [23][25].

It is further divided into two parts.

4.4.2.1 Underlay Spectrum Sharing

In underlay spectrum sharing, a threshold of interference between the primary and

the secondary users are defined. If the interference caused by the secondary user is

below the threshold then it is harmless. The secondary user can keep on transmitting

the data even if primary user is active [16][23].

In order to satisfy the interference constraint condition, the secondary transmitter

should have the information about the interference channel gain between the

secondary transmitter and the primary receiver [23][26].

Power

Frequency

Threshold

Unlicensed signals

Licensed signals

Figure 4.5: Underlay spectrum sharing

Page 38: Performance Evaluation of 2-Hop and 3-Hop Relay …829434/FULLTEXT01.pdfMohsin Kamal I would like to thank Professor Abbas Mohammed for giving his valuable time and guiding us since

30

4.4.2.2 Overlay Spectrum Sharing

In order for a secondary user to transmit, the secondary transmitter may send a signal

to the secondary receiver only in the time period when the primary user is inactive.

This time period is called idol period. The white holes or empty slots are found by

spectrum sensing method [23].

Power Time

Frequency

= Increased Tx power

where opportunity

exists for SU

= Spectrum opportunity

at low power

Free spectrum

Figure 4.6: Overlay spectrum sensing

4.5 Cooperative Spectrum Sensing

When a signal travels from transmitter to the receiver, the signal gets distorted in

most of the cases. It could be due to shadowing, interference, noise, reflection and

refraction etc. The mechanism of relays cooperative sensing helps in overcoming

this sort of problems to some extent.

There are two ways to implement cooperative spectrum sensing.

4.5.1 Soft Cooperation

In soft cooperation, the relays do not make any decision locally. Rather, each relay

sends the received bits to the fusion centre. Then fusion center has the authority to

Page 39: Performance Evaluation of 2-Hop and 3-Hop Relay …829434/FULLTEXT01.pdfMohsin Kamal I would like to thank Professor Abbas Mohammed for giving his valuable time and guiding us since

31

take the final decision on the basis of the bits received from fusion centre and assigns

the spectrum to the secondary user.

Fusion center is basically a Central Processing Unit (CPU) where bits are received

from the relays and processed [15][16]. Figure 4.7 shows the soft cooperation.

CR1

CR2

CR N

PUCPU

Figure 4.7: Soft cooperation (information is sent to CPU by each relay)

4.5.2 Hard Cooperation

Conversely to the soft cooperation, in hard cooperation the decisions are taken

locally by the relays. The decisions from each individual relay are forwarded to the

fusion centre where it is processed and a final decision is made. The relay terminal is

then notified by the final decision made by fusion centre [15][16]. Hard cooperation

is shown in figure 4.8.

Page 40: Performance Evaluation of 2-Hop and 3-Hop Relay …829434/FULLTEXT01.pdfMohsin Kamal I would like to thank Professor Abbas Mohammed for giving his valuable time and guiding us since

32

CR1

CR2

CR N

PUCPU

Local

decision

Local

decision

Local

decision

Figure 4.8: Hard cooperation (decisions are made locally by the relays)

Page 41: Performance Evaluation of 2-Hop and 3-Hop Relay …829434/FULLTEXT01.pdfMohsin Kamal I would like to thank Professor Abbas Mohammed for giving his valuable time and guiding us since

33

CHAPTER 5: SIMULATION RESULTS

In this chapter, we present the simulation results of 2-hop and 3-hop relay networks. For

convenience, the chapter in divided into two main parts,

1. Comparison of the simulation results of 2-hop (DAF) and 3-hop (DF and AF)

2. Comparison of the simulation results of 2-hop (DF), 2-hop (AF), 2-hop (DAF), and

3-hop (DF and AF) considering different cases.

In both of these parts relay positioning is also considered and MATLAB is used for

simulation.

The parameters that have been considered in this thesis are:

1. The channel mean power for direct link d.

2. The path loss exponent used in wireless communication α.

3. The wireless channel assumed is Rayleigh fading channel and AWGN with mean

0 and variance No/2.

4. Pd is the probability detection of PU signal.

5. The energy threshold value of the PU signal is denoted by λ and is used by

cognitive controller within cognitive relays.

5.1 2-Hop (DAF) VS 3-Hop (DF & AF)

Figure 5.1 and figure 5.2 show the plots of the performance of BPSK transmission

link having 2-hop network with relay using DAF relaying protocol and 3-Hop

network using DF and AF relaying protocols.

As shown in figure 5.1, the 3-hop network having DF and AF relays has better

performance than the 2-hop using DAF protocol in the case when both transmitter

and receiver have two antennas. In figure 5.2, we increase the number of receiving

antennas (Rx) to 4 for both 3-hop and 2-hop relay networks. Again, the performance

of 3-hop (DF&AF) is better than 2-hop (DAF) and the BER value of 3-hop

Page 42: Performance Evaluation of 2-Hop and 3-Hop Relay …829434/FULLTEXT01.pdfMohsin Kamal I would like to thank Professor Abbas Mohammed for giving his valuable time and guiding us since

34

(DF&AF) and 2-Hop (DAF) decrease around 5 times when compared with figure 5.1

that uses Rx = 2.

Figure 5.1: BER VS. Eb/No in Alamouti STBC using Tx = Rx = 2 antennas.

Page 43: Performance Evaluation of 2-Hop and 3-Hop Relay …829434/FULLTEXT01.pdfMohsin Kamal I would like to thank Professor Abbas Mohammed for giving his valuable time and guiding us since

35

Figure 5.2: BER VS. Eb/No in Alamouti STBC using Tx = 2 antennas and Rx = 4

antennas.

5.2 Relay Positioning

In this part, the relays are placed at different positions between the source and the

destination. The distance between the source and the destination is kept fixed.

5.2.1 2-Hop Relay Network

Case 1: When Relays are placed close to the PU.

Amplify and Forward (AF)

From figure 5.3, the plot explains the performance of probability detection of PU by

using AF relay protocol. When the energy threshold (λ) is increased, the probability

detection for detecting weak power PU signals decreases. When the number of relays

is increased, the probability detection of PU increases. By comparing between the

direct link and the link for single relay, the result of the link for single relay has

Page 44: Performance Evaluation of 2-Hop and 3-Hop Relay …829434/FULLTEXT01.pdfMohsin Kamal I would like to thank Professor Abbas Mohammed for giving his valuable time and guiding us since

36

around 2 times improved performance in term of probability detection. When the

number of relays is 4 compared with the direct link, around 8 times performance

improvement in PU detection is seen.

Figure 5.3: AF protocol relays are placed close to PU at 0.3:0.7.

Decode and Forward (DF)

From figure 5.4, the plot illustrates the performance of probability detection of PU

via DF relay protocol. It gives an overall better result than AF. By comparing figure

5.3 and 5.4, it is obvious that DF protocol has better performance than AF protocol

as observed clearly when number of relays (n) is 4. The graph of AF in figure 5.3 is

clearly more curved than that of DF. Thus showing that at each pint of energy

threshold, the probability of detection of PU will be more for DF.

Page 45: Performance Evaluation of 2-Hop and 3-Hop Relay …829434/FULLTEXT01.pdfMohsin Kamal I would like to thank Professor Abbas Mohammed for giving his valuable time and guiding us since

37

Figure 5.4: DF protocol relays are placed close to PU at 0.3:0.7.

Decode, Amplify and Forward (DAF)

From figure 5.5, the plot demonstrates the performance of probability detection of

PU by using DAF relay protocol. It shows that when the energy threshold (λ) is

increased, the probability detection for PU decreases. In addition, when the number

of relays are increased the probability detection of PU increases. By comparing

between the direct link and the link for single relay, the performance of link for

single relay is almost 3 times better in the detection of PU. Besides, when the number

of relays is 4 compared with the direct link, around 9 times improvement in the

performance in PU detection is seen. So it is evident that the relay having DAF

protocol has better performance than AF protocol (figure 5.3) and DF protocol

(figure 5.4) that is clearly observed in the plots when numbers of relays are 4.

Page 46: Performance Evaluation of 2-Hop and 3-Hop Relay …829434/FULLTEXT01.pdfMohsin Kamal I would like to thank Professor Abbas Mohammed for giving his valuable time and guiding us since

38

Figure 5.5: DAF protocol relays are placed close to PU at 0.3:0.7.

Case 2: When Relays are placed in the middle between PU and SU.

Amplify and Forward (AF)

Figure 5.6 shows that by increasing the energy threshold (λ), probability detection is

increased and vice versa. The direct link has the probability detection around 2 times

lower than the link of single relay and 4 times of the link having 4 relays. In this

case, he strength of the signal detection is lower than case when relays are placed

closed to PU because of the position of relays are far away from the PU. By

comparing figure 5.6 and figure 5.3, it is clear that performance of probability

detection of PU is better when relays having AF protocol are placed close to PU.

Page 47: Performance Evaluation of 2-Hop and 3-Hop Relay …829434/FULLTEXT01.pdfMohsin Kamal I would like to thank Professor Abbas Mohammed for giving his valuable time and guiding us since

39

Figure 5.6: AF protocol relays are placed in the middle between PU and SU at

0.5:0.5.

Decode and Forward (DF)

Figure 5.7 demonstrates that when the probability detection is increased, the energy

threshold (λ) decreases and when the probability detection is decreased, the energy

threshold (λ) increases. The overall performance of DF will be better that AF also in

this case. The strength of the signal detection is lower than the case when relays were

places close to PU because of the position of relays having DF protocol are far away

from PU. By comparing the figure 5.7 and figure 5.4, the plot of figure 5.7 clearly

shows the performance of probability detection of PU being better when the relays

are placed close to PU.

Page 48: Performance Evaluation of 2-Hop and 3-Hop Relay …829434/FULLTEXT01.pdfMohsin Kamal I would like to thank Professor Abbas Mohammed for giving his valuable time and guiding us since

40

Figure 5.7: DF protocol relays are placed in the middle between PU and SU at

0.5:0.5.

Decode, Amplify and Forward (DAF)

Figure 5.8 illustrates that probability detection is inversely proportional to energy

threshold (λ). The direct link has the probability detection lower than the link n = 1

and 4, around 2 times and 6 times respectively. In this case, the strength of the signal

detection is lower than the case in which the relays are placed close to PU. By

comparing the figure 5.8 and figure 5.5, the plot of figure 5.8 clearly shows the

performance of probability detection of PU better if DAF relay is placed close to PU.

Page 49: Performance Evaluation of 2-Hop and 3-Hop Relay …829434/FULLTEXT01.pdfMohsin Kamal I would like to thank Professor Abbas Mohammed for giving his valuable time and guiding us since

41

Figure 5.8: DAF protocol relays are placed in the middle between PU and SU at

0.5:0.5.

5.2.2 3-Hop (DF and AF) Relays Network

Case 1: When Relays are placed closed to PU.

In figure 5.9, the plot illustrates the performance of probability detection of PU by

using DF relaying protocol and AF relaying protocol when the energy threshold (λ)

is increased, the probability of detection for the detection of weak power PU signals

decreases. When the number of relays is increased the probability of detection of PU

increases accordingly. By comparing between the direct link and the link having 2

relays, the result of the link having 2 relays is improved around 8 times in term of

probability detection. When the number of relays = 8 is compared with the direct

link, around 10 times improvement in PU detection is observed.

Page 50: Performance Evaluation of 2-Hop and 3-Hop Relay …829434/FULLTEXT01.pdfMohsin Kamal I would like to thank Professor Abbas Mohammed for giving his valuable time and guiding us since

42

Figure 5.9: DF and AF protocol relays are place close to PU at 0.2:0.4:0.4.

Case 2: When Relays are placed in the symmetric between PU and SU.

From figure 5.10, the direct link gives the same result because the distance between

source and the destination is the same. When the number of relays is increased the

probability detection of PU also increases. By comparing between the direct link and

the link when number of relays are 2, the result of the link at number of relay = 2 is

improved around 8 times in PU detection probability performance. When the

network of 8 relays is compared with the direct link, around 10 times improvement

performance in PU detection is observed. In this case, the performance of probability

detection of PU is lower than that in figure 5.9 when relays are placed to PU which is

observed clearly at the number of relays = 8 of the both plots.

Page 51: Performance Evaluation of 2-Hop and 3-Hop Relay …829434/FULLTEXT01.pdfMohsin Kamal I would like to thank Professor Abbas Mohammed for giving his valuable time and guiding us since

43

Figure 5.10: DF and AF protocol relays are place in the symmetric between PU and

SU at 0.33:0.33:0.33.

Case 3: When Relays are placed close to SU.

From figure 5.11, the plot shows the performance of probability detection of PU by

using DF and AF relay protocols. When the energy threshold (λ) is increased, the

probability detection decreases for detecting weak PU power signals and when the

number of relays are increased the probability detection of PU increases. In this case,

the performance of probability detection of PU is lowest when compared with figure

5.9 of the case when relays were placed close to PU and figure 5.10 when relays

were placed in symmetric between PU and SU that are observed clearly at the

number of relays = 8. The plot is more tilted showing that probability of detection for

PU is less in this case compared to all other cases discussed in 3-hop.

Page 52: Performance Evaluation of 2-Hop and 3-Hop Relay …829434/FULLTEXT01.pdfMohsin Kamal I would like to thank Professor Abbas Mohammed for giving his valuable time and guiding us since

44

Figure 5.11: DF and AF protocol relays are place close to SU at 0.4:0.4:0.2.

Page 53: Performance Evaluation of 2-Hop and 3-Hop Relay …829434/FULLTEXT01.pdfMohsin Kamal I would like to thank Professor Abbas Mohammed for giving his valuable time and guiding us since

45

CHAPTER 6: CONCLUSIONS AND FUTURE WORK

6.1 Conclusions

In this thesis, we investigated the benefits of cooperative diversity in wireless

communication. The main intention was to implement DF, AF and DAF Relaying

protocols at cognitive relays by using Alamouti STBC with MIMO antennas in 2-hop

and 3-hop cooperative cognitive radio networks. These techniques are implemented

in MATLAB to observe the performance of the system.

Figures 5.1 and 5.2 in chapter 5 show the performance of 2-Hop (DAF) and 3-Hop

(DF and AF) that is based on the BER versus Eb/No at Tx = 2 and 4 and Rx = 2 and

4. The plots show that the performance of 3-hop network is better than 2-hop and

also show the performance gets better when the number of receiver antennas is

increased.

The relay position is the main factor influencing the PU probability detection. When

the relays are close to PU the increase in probability detection is noticable. By

looking at all the simulation plots in chapter 5, it is clear that in both the cases (2-hop

and 3-hop), the results are better when the relays are placed closed to the PU. If we

compare the relays placed in the middle with the relays closed to SU, then the middle

positioned relay network gives better result. In 2-hop Network, the probability of

detection of PU is better by using DAF Relaying protocol. After DAF, DF relays will

give better performance compared to AF.

By comparing 2-hop and 3-hop relaying networks, the plots clearly show the

performance of 3-hop being better than 2-hop.

Page 54: Performance Evaluation of 2-Hop and 3-Hop Relay …829434/FULLTEXT01.pdfMohsin Kamal I would like to thank Professor Abbas Mohammed for giving his valuable time and guiding us since

46

6.2 Future Work

In future work we would like to extend our work in this area by applying DAF and

DF relaying protocols in 3-hop cognitive radio network. Furthermore, analysis of the

system performance by using STTC instead of STBC will be very interesting.

Alternatively, spectrum sensing using different transmitter detection techniques e.g.,

matched filter detection and wavelet detection.

Page 55: Performance Evaluation of 2-Hop and 3-Hop Relay …829434/FULLTEXT01.pdfMohsin Kamal I would like to thank Professor Abbas Mohammed for giving his valuable time and guiding us since

47

References

[1] A. Goldsmith, "Wireless Communications ", NJ: Cambridge University Press,

2005.

[2] D. N. Mitiku and O. C. Lawrence, "Cooperative Communication Techniques in

Wireless Networks (Analysis with variable Relay Positioning)", Master Thesis BTH

University, Sweden, 2010.

[3] A. Nosratinia, T. E. Hunter and A. Hedayat, "Cooperative Communication in

Wireless Networks", IEEE Communications Magazine, vol. 42, no. 10, pp. 74–80,

2004.

[4] S. M. Alamouti, "A simple transmit diversity technique for wireless

communications", IEEE J. Select. Areas Commun., vol. 16, no. 8, Oct. 1998, pp.

1451-1458.

[5] V. Tarokh, N. Seshadri, and A.R. Calderbank. "Space-time codes for high data

rate wireless communication: Performance criterion and code construction", IEEE

journal on Inform.Theory, vol. 44, pp.744-765, Mar.1998.

[6] D. W. Bliss, K. W. Forsythe and A. M. Chan, “MIMO Wireless

Communication”, Lincoln Lab. J., vol. 15, no. 1, pp. 97-126, 2005.

[7] Y. Wang, F. Liu, S. Xu, X. Wang, Y. Qian, P. Wang, "Performance Analysis of

Multi-hop MIMO Relay Network", IEEE Communications Society, 2008.

[8] N. T. B. Tam; T. Tran-Thien; T. Do-Hong; V. N. Q. Bao "Performance

Analysis of Decode-and-Forward Relaying for Multi-hop Alamouti Transmission

Over Rayleigh Fading Channel, " in IEEE International Conference on Advanced

Technologies for Communications (ATC), Ho Chi Minh City, 2010.

[9] X. Bao and J. Li" Decode-amplify-forward (DAF) a new class of forwarding

strategy for wireless relay channels, " in IEEE International Workshop on Signal

Processing Advances in Wireless Communications, Bethlehem, 2005.

[10] I. H. Lee and D. Kim, "Decouple-and-forward relaying for dual-hop Alamouti

transmissions," IEEE Communication. Letter., vol. 12, no. 2, pp. 97- 99, Feb. 2008.

[11] P. K. Upadhyay and S. Prakriya, "Outage Performance of Two-Way DF

Relaying with Alamouti Transmissions and Network Coding" International

Workshop on Cognitive Wireless Systems (UKIWCWS), New Delhi, 2009.

Page 56: Performance Evaluation of 2-Hop and 3-Hop Relay …829434/FULLTEXT01.pdfMohsin Kamal I would like to thank Professor Abbas Mohammed for giving his valuable time and guiding us since

48

[12] Y. Han, S. H. Ting, C. K. Ho and W. H. Chin, “Performance Bounds for Two-

way Amplify-and-Forwad” IEEE Transactions on Wireless Ccommunication, VOL.

8, NO. 1, 2009.

[13] F. Verde and A. Scaglione, “ Randomized Space-Time Block Coding for

Distributed Amplify-And-Forward Cooperative Relays”, IEEE International

Conference on Acoustics Speech and Signal Processing, Naples, 2010.

[14] J. Feldman, M. J. Wainwright and D. R. Karger, “Using Linear Programming to

Decode Binary Linear Codes”, IEEE Transactions on Information Theory, VOL. 51,

NO. 3, 2005.

[15] H. Shahzad and B. Jaishankar, "Applying OSTBC Cooperative Radio

Networks", Master Thesis BTH University, Sweden, 2010.

[16] M. M. Tahseen, M. Khan and F. Ullah, "Analysis of OSTBC in Cooperative

Cognitive Radio Networks using 2-hop DF Relaying Protocol ", Master Thesis BTH

University, Sweden, 2011.

[17] M. Afaq and S. M. Faheem, "Performance Analysis of Selected Cooperative

Relaying Techniques ", Master Thesis BTH University, Sweden, 2010.

[18] A. Meier, “Cooperative Diversity in Wireless Networks”, Erasmus Project at the

University of Edinburgh, U.K, 2004.

[19] I. F. Akyildiz, W. Y. Lee and M.C. Vuran,”Next generation/dynamic spectrum

access/cognitive radio wireless networks: A survey,” IEEE Transactions on

Computer Networks, vol. 50, no. 13, pp. 2127-2159, May, 2006.

[20] Y. Songi, J. Wangt , C. Zhang and Y. Fang, “Optimal Traffic Splitting in Multi-

hop Cognitive Radio Networks”, Proceedings of the 28th IEEE conference on

Military communications, Florida, 2009.

[21] E. Arun, V. R. Catherine and Harisree, “Relay Based Cooperation for Cognitive

Radio Communication”, IEEE International Journal of System Signal Control and

Engineering Application, 2011.

[22] “Why Unlicensed Radio Spectrum Is The Answer To Our Wireless Needs”

http://articles.businessinsider.com/2011-05-13/tech/30079508_1_licensed-spectrum-

frequencies-communications-systems#ixzz1n7JjMACs

[23] H. Wang, G. Noh, D. Kim, S. Kim, and D. Hong, “Advanced Sensing

Techniques of Energy Detection in Cognitive Radios” Journal of Communications

and Networks, VOL. 12, NO. 1, 2010

Page 57: Performance Evaluation of 2-Hop and 3-Hop Relay …829434/FULLTEXT01.pdfMohsin Kamal I would like to thank Professor Abbas Mohammed for giving his valuable time and guiding us since

49

[24] Y. Xing, R. Chandramouli, S. Mangold, and S. Shankar, “Dynamic spectrum

access in open spectrum wireless networks,” IEEE J. Sel. Areas Commun., vol. 24,

no. 3, Mar. 2006.[25] Federal Communications Commission, “Spectrum policy task

force report, (ET Docket No. 02-135),” Nov. 2002. [Online]. Available: hraunfoss.

fcc.gov/edocs public/attachmatch/DOC-228542A1.pdf

[26] A. Ghasemi and E. S. Sousa, “Fundamental limits of spectrum-sharing in fading

environments,” IEEE Trans. Wireless Commun., vol. 6, no. 2, pp. 649–658, Feb.

2007.

[27] “Inter Symbol Interference (ISI) and raised cosine filters”

http://www.complextoreal.com/

[28] C.Nassif, "Three Step Cooperative MIMO Relaying", Master degree project,

KTH Signals Sensors and Systems, Sweden, 2005.

[29] X. Bao and J. Li, “Capacity Analysis for Decode-amplify-forward (DAF)

strategy on relay channels, “ submitted in MILCOM, 2005.

[30] M. Zou, C. Zhao, B. Shen and K. kwak, "Comparison of DF and AF Based

Cooperative Spectrum Sensing in Cognitive Radio" 14th Asia-Pacific Conference,

pp.1-4, October 2008.

[31] Z. Xing et al., "Performance Analysis of Multiuser Diversity in Multiuser Two-

Hop Cooperative Relay Wireless Networks," Int. Conf. Commun., Beijing, May

2008, pp. 337-341.

[32] W. Stallings, "Wireless Communications and Networks", 2nd ed., Upper Saddle

River, NJ: Prentice-Hall, 2005.

[33] L. Ding, T. Melodia, S. Batalama, J. Matyjas, M. Medley, "Cross-layer Routing

and Dynamic Spectrum Allocation in Cognitive Radio Ad Hoc Networks," IEEE

Transactions on Vehicular Technology, vol. 59, No. 4, pp. 1969-1979, May 2010.

[34] A. Sendonaris, E. Erkip and B. Aazhang, "User cooperation diversity Part 1:

Systme description", IEEE Trans. Commun., vol.51, pp.1927-1938, Nov. 2003.

[35] W. Ning, Z. Zhongpei, and L. Shaoqian, "Signal space diversity in decode-and-

forward cooperative communication," WRI International Conference on

Communications and Mobile Computing, vol. 1, pp. 127–130, 2009.

[36] S. Hung, Y. Cheng, E.H. Wu and G. Chen, "An Opportunistic Cognitive MAC

Protocol for Coexistence with WLAN," in IEEE International Conference on

Communications, Beijing, 2008, pp. 4059-4063.