Professional Documents
Culture Documents
TECHNIQUES IN WSN
A Project Report
Submitted By
Under Supervision of
Certificate of approval
Date: ___, 2015
The report is hereby approved as a bonafide and creditable project work EFFICIENT
DATA AGGREGATION TECHNIQUES IN WSN carried out and presented by Abhinav
Akash (12000311004), Abhishek Kumar (12000311005), Deepak Kumar(12000311025),
Kamal Kr. Sah (12000311039) in a manner to warrant its acceptance as a prerequisite for
award of the degree of Bachelor of Technology in Electronics and Communication
Engineering. However, the undersigned do not necessarily endorse or take responsibility for
any statement or opinion expressed or conclusion drawn there in, but only approve the report
for the purpose for which it is submitted.
Countersigned
Head
Department of Electronics and Communication Engineering
Acknowledgement
This project consumed huge amount of work, research and dedication. Still,
implementation would not have been possible if we did not have a support of
many individuals and organizations. Therefore we would like to extend our
sincere gratitude to all of them.
First of all we are thankful to Dr. B.C. Roy Engineering College, Durgapur for
their financial and logistical support and for providing necessary guidance
concerning projects implementation.
We are also grateful to Prof.Rajib Banerjee Sir and Mr.Mrinmoy Chakraborty
Sir for provision of expertise, and technical support in the implementation.
Without their superior knowledge and experience, the Project would like in
quality of outcomes, and thus their support has been essential. We would also
like to thanks Dr. Narendra Pathak Sir for all his support.
We would like to express our sincere thanks towards volunteer researchers who
devoted their time and knowledge in the implementation of this project.
Nevertheless, we express our gratitude toward our families and colleagues for
their kind co-operation and encouragement which help us in completion of this
project.
Abstract
A wireless sensor network (WSN) are spatially distributed Autonomous
Sensors to monitor physical
or
environmental
conditions,
such
as Temperature ,Sound ,Humidity, Pressure etc. and to cooperatively pass their
data through the network to a main location. The more modern networks are bidirectional, also enabling control of sensor activity. The development of
wireless sensor networks was motivated by military applications such as
battlefield surveillance; today such networks are used in many industrial and
consumer applications, such as industrial process monitoring and control,
machine health monitoring, and so on.
These sensors are small, with limited processing and computing resources,
and they are inexpensive compared to traditional sensors. These sensor nodes
can sense, measure, and gather information from the environment and, based on
some local decision process, they can transmit the sensed data to the user.
Smart sensor nodes are low power devices equipped with one or more sensors, a
processor, memory, a power supply, a radio, and an actuator. A variety of
mechanical, thermal, biological, chemical, optical, and magnetic sensors A
Wireless Sensor Network (WSN) is a set of sensors that are integrated with a
physical environment. These sensors are small in size, and capable of sensing
physical phenomena and processing them. They communicate in a multihop
manner, due to a short radio range, to form an Ad Hoc network capable of
reporting network activities to a data collection sink. Recent advances in WSNs
have led to several new promising applications, including habitat monitoring,
military target tracking, natural disaster relief, and health monitoring. Studies
show that data transmission consumes much more energy than computation.
Data aggregation can greatly help to reduce this consumption by eliminating
redundant data.
Preface
The basic idea is that single-antenna mobiles in a multi-user scenario can
share their antennas in a manner that creates a virtual MIMO system.
In the course of the development of cooperative communication, several
complicating issues must be addressed, including the loss of rate to the
cooperating mobile, overall interference in the network, cooperation assignment
and handoff, fairness of the system, and transmit and receive requirement on the
mobiles.
Hop means the packets of energy that is transmitted from source to destination.
Dual hop transmission is a technique by which the channel from source to
destination is split into two shorter links using a relay. In this case the key idea
is that the source relays a signal to destination via a third terminal that acts as a
relay. It is an attractive technique when the direct link between the base station
and the original mobile terminal is in deep fade or heavy shadowing or there is
no direct link between source and destination. In this project our aim is to
analyze the system with multiple relay nodes where source has two transmit
antennas and each relay and destination have one antenna. Among the several
relays used for the transmission of message from source to destination through
relays we have to find the best relay suited for the best transmission in terms of
power, BER and outage probability.
Index
Serial No.
Content
Page No.
1.
2.
Introduction
10-15
16-17
Types of WSN
Characteristics of a WSN
18-20
Architecture of a WSN
20
Motivation
6
Contiki-Brief Review
21-22
Proposed model
23
Working Model
24-26
Results
27-28
10
Limitations
29-32
11
33-34
12
35
13
Conclusions
36-38
REFERENCES
39-40
14
List of Figures
1. Figure describing cooperative communication (page no: 11)
2. Figure describing Detect and Forward method (page no: 12)
3. Figure describing Amplify and Forward method (page no: 13)
4. Figure describing coded cooperation (page no: 14)
5. Figure describing Relaying Architectures (page no: 15)
6. Figure describing relaying network (page no: 28)
7. Figure describing modulation BPSK (BER vs SNR) (page no: 37)
8. Figure describing modulation QPSK (BER vs SNR) (page no: 38)
9. Figure describing outage probability vs SNR (page no: 38)
10.
Bit error rate, amplify and forward, multiple input multiple output, decode-andforward, probability density function (pdf), coded cooperation, amplify and
forward and detect and forward.
Introduction
Wireless sensor networks (WSN) have drawn the attention of the research
community in the last few years, driven by a wealth of theoretical and practical
challenges. This growing interest can be largely attributed to new applications
enabled by large-scale networks of small devices capable of harvesting
information from the physical environment, performing simple processing on
the extracted data and transmitting it to remote locations. Significant results in
this area over the last few years have ushered in a surge of civil and military
applications.
As of today, most deployed wireless sensor networks measure scalar
physical phenomena like temperature, pressure, humidity, or location of objects.
In general, most of the applications have low bandwidth demands, and are
usually delay tolerant. More recently, the availability of in expensive hardware
such as CMOS cameras and microphones that are able to ubiquitously capture
multimedia content from the environment has fostered the development of
Wireless Multimedia Sensor Networks (WMSNs) i.e., networks of wirelessly
interconnected devices that allow retrieving video and audio streams, still
images, and scalar sensor data. With rapid improvements and miniaturization in
hardware, a single sensor device can be equipped with audio and visual
information collection modules.
10
Types of WSN
11
Fig 2
Amplify and Forward: Each user in this method receives a noisy version of
the signal transmitted by its partner. As the name implies, the user then
12
amplifies and retransmits this noisy version. The base station combines the
information sent by the user and partner, and makes a final decision on the
transmitted bit. Although noise is amplified by cooperation, the base station
receives two independently faded versions of the signal and can make better
decisions on the detection of information . In this method each cooperating node
receives the signals transmitted by the source node but do not decode them.
These signals in their noisy form are amplified to compensate for the
attenuation suffered between the source-to-relay links and retransmitted. The
destination requires knowledge of the channel state between source-to-relay
links to correctly decode the symbols sent from the source. This requires
transmission of pilots over the relays resulting in overhead in terms of
additional bandwidth. Additionally sampling, amplifying, and retransmitting
analog values is a nontrivial task for real-time implementation.
Fig 3
Coded Cooperation: The users divide their source data into blocks that are
augmented with cyclic redundancy check (CRC) code. In coded cooperation,
each of the users data is encoded into a codeword that is partitioned into two
segments, containing N1 bits and N2 bits, respectively. It is easier to envision
13
the process by a specific example: consider that the original codeword has N1 +
N2 bits; puncturing this codeword down to N1 bits, we obtain the first partition,
which itself is a valid (weaker) codeword. The remaining N2 bits in this
example are the puncture bits. Of course, partitioning is also possible via other
means, but this example serves to give an idea of the intuition behind coded
cooperation. In the first frame the users transmit their own N1 bits and if they
decode each other N1 bits then they will transmit each other N2 bits and The
users act independently in the second frame, with no knowledge of whether
their own first frame was correctly decoded. Four cases arise and they are as
follows:1.
2.
3.
4.
Fig 4
14
15
Relaying Architectures
Fig 5
Fig.5 shows various relaying architectures that reduce to commonly used
channel models in the absence of cooperation. At the heart of cooperative
communication is the classical relay architecture as shown in Fig. 5 (a), which
is also called the three body problem. In the figure S is the source, R is the
relay and D is the destination terminal. The source broadcasts the signal to both
the relay and destination. The relay then retransmits the information to the
16
destination. When the destination is unable to hear the source, the architecture
reduces to the case of cascade multi hop communication. When the source and
the relay cooperate to transmit information simultaneously to the destination
this reduces to a multiple access channel as shown in Fig. 5 (b). When the relay
and the destination cooperate this reduces to a broadcast problem as shown in
Fig. 5 (c). Fig 5 (d) shows a simple case of multi branch relaying using two
parallel branches of relays. When the relays near the source and the relays near
the destination cooperate the case reduces to a simple cluster-to-cluster
communication with interference as shown in Fig. 5 (e). This can be viewed as
the nodes at the source cluster broadcasting and the nodes at the receiver in
multiple-access mode. In this paper our aim is to analyze the system with
multiple relay nodes where source has two transmit antennas and each relay and
destination have one antenna. In the second hop, before transmitting signal to
destination the best relay is selected based on the instantaneous channel
conditions of two hops. This technique can save the transmission power of the
network. It also reduces the decoding complexity at receiver side and at the
same time achieves diversity gain. However this intermediate relay shall
increase the maximum distance between source and destination also increase the
spectral efficiency.
Rules for cooperation:
Partner selected such that both partners get higher mutual information.
Cooperation time is allocated similarly for both partners.
For a given pair of partners, time allocation is chosen to maximize the minimum
rate.
17
Fig 6
20
Literature Survey
The performance of cooperative communication has been compared using the
three classes of signalling described in the introduction part. The hybrid version
of detect-and forward is superior to the simple version of detect and forward. In
comparing the three cooperative transmission schemes, both amplify-and
forward and hybrid decode-and-forward are not very effective at low SNR. This
is due to the fact that their signalling is equivalent to repetition coding, which is
relatively inefficient at low SNR. Coded cooperation, however, has graceful
degradation and performs better than or as well as a comparative non
cooperative system at all SNRs. In addition, coded cooperation generally
performs better than other cooperative methods for moderate to high SNR. An
important question is how partners are assigned and managed in multi-user
networks. In other words, how is it determined which users cooperate with each
other, and how often are partners reassigned? Systems such as cellular, in which
the users communicate with a central base station, offer the possibility of a
centralized mechanism. Assuming that the base station has some knowledge of
the all the channels between users, partners could be assigned to optimize a
given performance criterion, such as the average block error rate and outage
probability for all users in the network. In contrast, systems such as ad hoc
networks and sensor networks typically do not have any centralized control.
Such systems therefore require a distributed cooperative protocol, in which
users are able to independently decide with whom to cooperate at any given
time. There are various protocols proposed to choose the best relay among a
collection of available relays in literature. It was proposed to choose the best
relay depending on its geographic position, based on the geographic random
forwarding protocol. In different paper the author proposed opportunistic relay
based on the instantaneous channel conditions.
21
[9] [11]
[12]
22
Characteristics
Describes the channel capacity lower bounds of
physically degraded relay channels for different
random coding schemes.
Extension of work in [1] to include
channel quality, multiple relays and
asymptotic (w.r.t. # of relays) performance.
Analyze performance of a cooperative space-time
relay based communication system along with error
detection coding. Both diversity and coding gains are
analyzed. Performance with adaptive modulation is
presented. Signalling schemes and performance with
heterogeneous nodes each with different number of
antennas is also considered.
Derive analytical expressions for outage probability
and average symbol error rate for multi hop relay
system. Also discuss optimal power allocation
strategies over multiple hops.
Analyze outage probability of a cooperative network
with a certain node distribution. This is compared to
the case when there is no cooperation.
Motivation
23
Objectives
A list of potential topics, which are very important issues in cooperative system
design, are given below.
1. Resource Allocation: Once the multiple access schemes are determined in
a system, each source and relay node can be allocated with different
resources in terms of time, frequency, number of codes, etc. To design a
contention-based cooperative transmission protocol, effective resource
allocation can be achieved by employing a smart back off mechanism.
2. Power Adjustment: Different levels of transmission power can be
allocated to source and relay nodes to optimize different performance
criteria according to channel conditions. The achieved optimal
performance will be strongly affected by the availability of feedback from
a receiver back to its transmitter. There is a trade-off between
performances and overhead that needs to be balanced with regard to
resource allocation in cooperative systems.
3. Relay Selection: In cooperative communication networks with multiple
potential relays, we need to determine which relay(s) to cooperate with.
The decision can be made based on average or instantaneous relay
channel conditions. In a distributed wireless network without a central
controller, relay selection is a fairly challenging task in the cooperative
scheme design.
4. Mobility of Relays: In a planned cooperative system, it is possible to
allocate optimal relay positions while planning. Whereas in mobile
networks, the mobility of the relays is also an important factor to
consider. The relay mobility will strongly impact the complexity and the
performance of a cooperative system.
24
Compatibility:
Most
cooperative
systems
are
proposed
26
Proposed Model
We are considering a wireless dual hop network where a number of relay nodes
are placed randomly and independently according to some distribution. The
direct link between source and destination may be blocked by some obstacles.
The relays can communicate with both end points. In our model the sources
equipped with two transmit antennas and each relay node has a single antenna
which can be used for both transmission and reception. All transmissions are
assumed to be half duplex and therefore a relay station cannot transmit and
receive at the same period. During the first hop source broadcasts symbols, the
relays listen and during the second hop relay forward the decoded version of the
received signal to destination. Figure 1 shows the channel model. We are
assuming the channel remains constant during the two hops with Rayleigh
fading. We are applying OSTBC at the source. No channel information is
available at source. So no power or bit loading is performed at source. Each
transmission antenna of source is assumed to use the same transmission power
s2 = P/t , where P is the total transmission power of the base station and t is the
number of antennae at base station. In this paper we are considering t =2. For
two transmit antenna, there exists a rate one OSTBC defined by the
transmission matrix X ,
X=
X 1 X 2 X 2
X 1
(1)
27
Hsr =
h 11 h12
.
.
hr 1 hr 2
(2)
where the element hij denotes the channel gain between the i th relay and the jth
transmission antenna of source, i=1,2,... r = and j = 1,2. We assume that each
element of Hsr is independent and identically distributed complex Gaussian
random variable with zero mean and 1 variance. We observe each row of H sr
represents the channel coefficient between source and relay. So the channel
matrix for each relay can be represented
i = hi1 hi2
for i = 1,2.....r
(3)
And for the second hop gi is the individual relay to destination fading amplitude.
Fig 7
The above given figure is the proposed model of our project. We have a source
having two antennas, r relays having single antenna and the destination having
single antenna.
28
Performance Analysis
Let si and id denote the total channel power from source to ith relay and ith relay
to destination respectively. Here, si and id describe the quality of the wireless
path between source to relay and destination to relay. si is calculated by relay i
by the following equation.
si = |hi1|2+ |hi2|2
...
(4)
And id = |gi|2 is the fading amplitude from relay to destination. Since the two
hops are both important for end to end performance, each relay calculates
corresponding hi based on the two decision rules.
Rule1:
Rule 2:
hi = 2/(1/ si + 1/ id) ........
(6)
The relay i that maximizes function hi is one with the best end to end path
between initial source to destination. After being selected as the best relay it
relays signal to destination. In this project it is assumed the destination have
perfect channel information available for decoding the received signal.
where si and id are the instantaneous SNR of the S-R and R-D link,
respectively.
The selection of the best relay is done by order statistics. The first step is to
obtain the weaker link between the first hop and the second hop of each relay
node. The weak link is ordered and the one with the largest SNR is selected as
the candidate relay to perform detection and forward to destination. We assume
the S-R and R-D link have the same average channel gain. The probability
density function of can be obtained as..
f() = 2rf(*)(1-F(*))(2F(*)-F(*)2)r-1 ........(8)
where f(*) = 1/ * exp(-*/ * ) and
F(*) = 1 exp(-*/ * )
Are the pdf and cdf of Rayleigh distributed random variable respectively.
Finally the pdf of can be obtained as
f() = r[exp(-*/ (* /2) )/ * /2{1- exp(-*/ (* /2)}r-1] ........(9)
and through the binomial expansion, we further can write
i1
(1)
f()
(ri )2 i/
* exp(-i(2 */ * )) ..........(10)
i=1
The pdf obtained in equation (10) can be employed for evaluating the error
performance of this relaying scheme with any modulation techniques.
30
Outage Probability
The mutual information between the source and relay nodes i= 1,2,r in the
first hop can be given by
Ii1 = 1/2 log(1+ i1SNR)
........(11)
........(12)
f(i2, 2) = 2e i2
...........(13)
...........(14)
.............(15)
..........
(17)
So the network capacity
C() = I
Pout
(18)
(19)
Pout =
i=1
piout
(20)
(21)
(23)
(22)
Application
Communications
Systems
of
in
Cooperative
LTE-Advanced
33
34
35
Conclusions
It describes wireless cooperative communication, a technique that allows single
antenna mobiles to share their antennas and thus enjoy some of the benefits of
multiple antenna systems. Several signalling schemes for cooperative
communication are presented. In this project we presented end to end BER
performance and outage performance of dual hop wireless transmission by
selecting the best relay based on the instantaneous channel condition. Both BER
performance and outage performance can be improved by adopting more relays.
However the outage performance of the best relay is equivalent to the outage
behaviour when all relay nodes participate into the second hop. The single relay
selection can reduce receiver complexity and at the same time will increase the
network coverage. In future we will continue our work in multi-hop
transmission for covering long distance environment. Results to date are
indicative of a promising future for cooperative communication.
In this section we are presenting our BER performance and outage behaviour.
We consider BPSK and QPSK constellation for 2 transmit antennas equipped at
source. We are assuming that the channels are slow Rayleigh fading channel.
Two sorts of simulation are performed, one for decision rule 1 and another for
decision rule 2. We can see that the performances are nearly the same for both
cases. From Figures 2 and 3 we see the BER performance of the best relay
among a set of relays is always better than the BER performance of single relay.
It is also shown that the better BER performance can be achieved by adopting
more relay nodes. Modulation order also affects the difference between the BER
performances. However, for higher modulation order, the difference becomes
negligible. Comparing Figures 2 and 3 it is easily noticeable.
36
Fig 8
37
(modulation BPSK)
Fig 9
(modulation QPSK)
Fig 10
The above figure depicts the outage performance of best relay for outage
capacity Cout = 0.5bps/Hz. Outage performance wholly depends upon the
number of relays used. More the relay the better the outage performance.
38
REFERENCES
[1] E. C. van der Meulen, Three-terminal communication channels, Adv.
Appl. Probab., vol. 3, pp. 120154, 1971.
[2] T. M. Cover and A. A. El Gamal, Capacity Theorems for the Relay
Channel, IEEE Trans. Inform. Theory, vol. 25, pp. 572584, Sept. 1979.
[3] M. Gastpar, G. Kramer, and P. Gupta, The Multiple-Relay Channel: Coding
and AntennaClustering Capacity, Proc. IEEE Int. Symp. Information Theory
(ISIT), p. 136, July 2002.
[4] P. Gupta and P. R. Kumar, Towards an Information Theory of Large
Networks: An Achievable Rate Region, IEEE Trans. Inform. Theory, vol. 49,
pp. 18771894, Aug. 2003.
[5] M. Khojastepour, A. Sabharwal, and B. Aazhang, On capacity of Gaussian
cheap relay channel, IEEE GLOBECOMM, pp. 17761780, Dec. 2003
[6] A. Stefanov and E. Erkip, On the Performance Analysis of Cooperative
Space-Time Systems, IEEE WCNC, pp. 72934, March 2003.
[7] A. Stefanov, E. Erkip, Cooperative coding for wireless networks, IEEE
Trans. Commun., vol. 52, pp. 1470 1476, Sept. 2004.
[8] Zinan Lin, E. Erkip, M. Ghosh, Adaptive modulation for coded cooperative
systems, IEEE SPAWC, pp. 615 619, June 2005.
[9] M.O. Hasna, M.-S. Alouini, Outage probability of multihop transmission
over Nakagami fading channels, IEEE Commun. Letters, vol. 7, pp. 216 218,
May 2003.
39
[13] Balakrishnan N. and Cohen A., Order Statistics and Inference: Estimation
Methods, Academic Press, 1991
[14] Hasna M. and Alouini M., Application of the Harmonic Mean Statistics to
the End-to-End Performance of Transmission Systems with Relays, in
Proceeding of IEEE Global Communications, Taiwan, pp. 1310-1314, 2002.
[15] http://in.mathworks.com/help/comm/ref/ostbcencoder.html
[16] Aria Nosratinia, University of Texas, Dallas, Todd E. Hunter, Nortel
Networks Ahmadreza Hedayat, University of Texas, Dallas
[17]http://en.wikipedia.org/wiki/Multiuser_MIMO#Cooperative_MIMO_.28CO-MIMO.29
40