An Improved TMAC Protocol For Wireless Sensor Networks
An Improved TMAC Protocol For Wireless Sensor Networks
Networks
Abstract- In this paper we introduce a new MAC protocol Lifetime of the network can be increased by many ways as
(Improved TMAC) which inherits the features of TMAC illustrated in fig. I but in this paper we only focus on
protocol (Timeout MAC) and makes it more energy-efficient by Contention-based low duty-cycle MAC protocol
adding a new feature to it called POWER SAVER MODE in
implementation.
which TA is reduced by 10% when remaining energy of the
Improved TMAC[I] protocol inherits the features of
sensor node falls below certain threshold value (i.e 15% of its
node's initial energy) and when no activity is taking place.
TMAC protocol and adds POWER SAVER MODE to make it
more energy-efficient and optimized. The extra listen time or
Key words- TMAC, TMACR, Power saver mode, TA, WSN. active time is cut down when no activity is going on and also
when the remaining energy of the particular node falls below
I. INTRODUCTION certain threshold value then its Activation timeout is reduced
by 10%. This reduces the energy wastage in Idle Listening and
Wireless Sensor Network has become an interesting topic of
increases the network's lifetime. The protocol is implemented
research in current scenario. As the network is deployed in a in Omnet++[S] with Castalia -3.2[7] extension.
hostile environment and also sensor nodes used are not
battery operated so saving the energy of the nodes by making II. RELATED WORK
them awake/sleep at appropriate times is really important.
Broadly there are two types of MAC protocols : Contention
This makes the network energy-efficient and increases its
Based and TDMA based.
lifetime.
In TDMA based time is divided into slots and each node is
Some of the major causes of the energy consumption and
assigned predefined slot in which they could transfer the data.
lifetime reduction of the network is as follows:
Z-MAC, TRAMA, TreeMac are some examples of it.
(1) Collision: two nodes transmission interferes with each
Contention based is further divided into Asynchronous and
other.
Synchronous. In this each node contends for the access of the
(2) Overhearing: node receiving the packets not intended
wireless channel and for this it uses CSMA technique. In
for it.
synchronous type nodes form cluster and share common
(3) Idle Listening : No activity for the node but still the
sleep/awake schedules and in asynchronous no common
node is awake.
schedule is synchronized. B-MAC[5], A-MAC, WiseMAC,
RC-MAC are examples of asynchronous protocols and S
MAC[2], T-MAC[I], R-MAC, DS-MAC[6] are examples of
synchronous protocols.
---L
�_ __""\
:
less. So Dynamic duty-cycle is used which introduces RTS DATA ACK
CTS
a new term TA (Activation Timeout). If no event
SZ\\'\/
occurs of time TA then the active period will end . ro",,"d
\. "
TA> CI+RTS+T --+eqn(J)
Active period
(6) FRTS (Future request to send) : In unidirectional
communication pattern problem of Early sleeping
Improved
TMAC arises. In this due to overheard CTS or RTS the node
TA TA Sleep period TA does not take part in communication and goes to sleep
state and may miss the packets destined for it.
RTS CTS DATA ACK
(Fig 2: Dynamic duty-cycle of Improved TMAC)
+
the lifetime of node. And also when the channel is
busy, Carrier sense is not valid, no event is taking
place TA is reduced to avoid idle listening. Active Sleep
------���
D �4==�==�_�------ RTS?
TA
(3) Virtual Clustering : Frame synchronization is
(Fig 4: Problem of Early sleeping of node D)
achieved by virtual clustering. When a node joins the
network, it waits and listens. And if for a certain
In Fig 4 the communication flow is unidirectional
amount of time it does not hear any SYNC packet
(from node A to node B and so on). According to
from any node which contains the schedule, it creates
node C , node D also sets it active and sleep periods
its own schedule and transmits it to the rest nodes in
by overhearing CTS from node B. Therefore, node D
SYNC packet. A node adopts both schedules if a node
misses the RTS destined for it. To avoid this problem
having its own schedule receives the schedule in
of Early Sleeping of nodes due to overhearing of
SYNC packet from other node. In such a case,
CTS/RTS we use FRTS.
Activation event will occur at start of both the frames
but actual data transmission will take in their
In Fig 5 use of FRTS is shown. Node C receives CTS
respective active periods.
packet from node B and then immediately sends
FRTS packet to node D to inform it that it is the future
(4) RTS/CTS : Data exchange is by using RTS, CTS,
receiver for RTS so it must be awake by that time.
ACK and SYNC packets. Node C does the interfere
While sending FRTS packet to node D, it may collide
between the communication between nodes A and B
with the DATA packets, so at that time DS (Data
because it overhears the CTS and sets its sleep period
send) packet is send which does not contain any
accordingly. This avoids collisions.
relevant information and is of short duration which
only reserves the medium for data transmission and
(5) RTS Retries: In this 2 RTS retries is given to avoid
avoids collision between DATA packets and FRTS
the decrease in throughput. When CTS is not received
packet.
in reply of RTS then may be node is in sleep state, or
due to collision it cannot hear the RTS , or the node
fW"'�\Z�
!
_ '_
� _ Ac
_t �
==V _
:'\ \.
...
_ _ _
... .... ....
i
: \....
i
...
. .... .. .... :/1
:
Broadcast Time of
TMAC and Improved TMAC in Omnet++ with Castali-3.2
next Frame
extension. 100 number of nodes are deployed randomly in
field size of 1OOx100m2•
Rest parameters used for both the protocols are mentioned
in table below:
From Another
Sensor Node Paramet ers TMAC Improved TMAC
1500
nn
100
Sent packets breakdo.vn 500
In
TMAC_
TMACR _ r"'II._
95
90
(Fig 10: Average number of Received packets by each
node)
85
80
65
10
60
9.5
55
50 r::::::J,r-
DATA SYNC
8.5
(Fig 9: Average number of DATA and SYNC packets sent by
nodes during respective protocols)
VII. RFERENCES