Professional Documents
Culture Documents
W. Ismail
I. INTRODUCTION
WSN has been making strides in recent years as a
monitoring as well as automation solution. However, there still
exist huge issues and challenges in WSN design framework
that are being addressed by the research community in order to
achieve higher efficiency, feasibility and usability. These
challenges are often categorized into power efficiency, data
collection, networking and deployment strategy issues [1]. The
absence of WSN node standardization, save the radio
frequency (RF) spectrum [2], has become a major contribution
factor in the diverseness of WSN design and thereby activeness
of the research community is this particular field of study.
Data aggregation is a process of gathering data from
different nodes to eliminate redundant transmission and
provides compact information to the main node [3]. The aim of
data aggregation is to extend network lifetime by reducing the
transmission time or the size of the transmitted data through the
use of smart algorithms. In general, data aggregation, also
coined as in-network processing, can be categorized into two
distinct subsystems; network protocol and data fusion. The idea
of network wide data aggregation protocol is the cooperation of
spatially and temporally correlated sensor nodes [4] in
diffusing the collected data. Densely deployed nodes would
benefit hugely from this approach and numerous research have
been proposed such as LEECH, HEED and PEGASIS. Data
fusion on the other hand, aims to reduce the size of data
transmitted which can be executed by the sink (cluster
head/router) or the end node itself. The data size can be cut
down by employing techniques such as mathematical operation
[5] (median, average, moving average, etc.), compression, data
estimation and modeling.
Xbee is a radio module from Digi International and is wellknown for its usage in low-data rate wireless projects.
Generally Xbee can be categorized into two versions, the IEEE
802.15.4 (Series 1) and ZigBee (Series 2 family). The 802.15.4
standard defines the physical (PHY) and medium access
control (MAC) layers and is typically suitable for point-topoint or star connection. However, Series 1 module could also
be upgraded to DigiMesh firmware, a proprietary peer-to-peer
networking that supports dense mesh topology. On the other
hand, the ZigBee specification defines the network and
application layers on top of the 802.15.4 standard and thereby
allows wider network deployment such as mesh, star and tree
topologies.
The beauty of using 802.15.4/ZigBee especially in the
default AT mode is that the PHY and MAC layers frames are
transparent to users. This means that a typical user would not
see the acknowledgement (ACK) frame or the retransmission
of the radio frequency (RF) module including all the actual
bytes sent. Users would instead only witness whether the data
was successfully sent or not, with all the technicalities such as
Carrier Sense Multiple Access - Collision Avoidance (CSMACA) hidden from plain sight and hence offers simpler
interfacing. Extensive information pertaining to understanding
the operation of 802.15.4/ZigBee could be referred to the paper
in [6].
Alternatively, Xbee module can be used in Application
Programming Interface (API) mode which offers higher
functionality such as supporting larger node deployment,
routing and encryption albeit with more complex setup. The
API packet which encapsulates multiple integral protocol
structures such as header and checksum would also result in
larger overhead and hence system design should be duly
implemented to balance the trade-off.
Arduino is an open-source hardware prototyping platform
based on the Atmel Atmega microcontroller known for its
simplified electronics and rapid prototyping. Since several
years ago, Arduino, along with MSP430 and the more powerful
Raspberry Pi and BeagleBone, are becoming the mainstay in
hardware prototyping, which greatly ease device development.
Collect N samples
Sensor
measurement, S
LDD += (S A)
LDD loop
= 5?
No
Yes
Store LDD value
in buffer, B
B size = 4?
No
Yes
Transmit data
from buffer, B to
sink/main node
Data
Size (bytes)
Serial.print ( )
41.0
Serial.print ( )
41
Serial.print ( )
2.6
Serial.print ( )
-2.6
Serial.println ( )
3.3
Serial.write ( )
256
Hello
Serial.write ( ) / Serial.print ( )
ttrans ( n ) =
8 (31 + n)
r
(1)
Accumulated
data (bytes)
Compression
achieved (%)
Total energy
(Ws)
396
0.0105
330
16.67%
0.0102
ACKNOWLEDGMENT
384
3.03%
0.0104
V. CONCLUSION
n-coefficient
modeling
5n x 66
Averaging
396
None (data
size larger
than control
group)
0
Prediction/Forecasting
396
> 0.0105
0.0105
0.0105
REFERENCES
LDD recorded the highest compression percentage while
most other techniques were not able to achieve any
compression. In all fairness, this is due to LDD being deployed
at the end node, where the strategy pays off, whereas other
methods could not provide any benefit without involving
additional setup. The calculations for total energy used can
simply be done using basic formulas of power, energy and
equation 1.
Although the difference seems meager for a single hop
transmission, again, the benefit of LDD would become more
obvious in prolonged operation, retransmission and multi-hop.
B. Buffer
The maximum payload that an Xbee buffer can allocate for
802.15.4 and ZigBee is 100 and 72 bytes respectively. The
benefit of buffer is that multiple sensor readings can be inserted
into the same frame for a single transmission session as long as
buffer overflow is avoided. [15] shows that the current spike
for a ZigBee power up consumes 5 to 10 times in magnitude
than during normal operation. Hence, buffer should be used to
transmit as many data as possible in tolerable interval with
minimum RF module activation.
The current consumption of a buffered LDD as indicated in
Figure 1 would be:
Ibuffer = tlisten Ilisten + ttrans(n) Itrans
(2)