Optimized Latency Secured (LS) MAC Protocols For Delay Sensitive Large Sensor Networks
Optimized Latency Secured (LS) MAC Protocols For Delay Sensitive Large Sensor Networks
Optimized Latency Secured (LS) MAC Protocols For Delay Sensitive Large Sensor Networks
18
Khulna University of Engineering and Technology, Dept. of Electronics and Communication Engineering, Khulna-9203, Bangladesh
2
Kookmin University, Department of Electronics Engineering, Seoul 136-702, Korea
[email protected]
1. Introduction
WSNs are becoming increasingly popular for the modern uCity based applications, where a large number of sensor
nodes are deployed. These large numbers of nodes are
connected to the infrastructure via a single sink node called
coordinator. The dominant data flow is from sensor nodes to
the coordinator although a small number of transmissions are
originated in the reverse direction involving control messages
like clear to send (CTS) and request to send (RTS) signals
[1]. With the increase of hop numbers in ad-hoc based WSNs
the data collision probability and transmission time are
increased. Increased time delay is highly undesirable for
delay sensitive applications such as fire alarm, security
surveillances and critical situation monitoring systems. One
of the most fundamental ways to reduce the time delay is to
avoid collisions by preventing data transmission among two
neighboring nodes at a time [2]. Different MAC protocols are
provided to make collision free data transmission from
source nodes to the coordinator. Time delay problem is still a
great challenge in WSNs even though many researchers have
developed different MAC protocols to solve this problem.
In basic S-MAC [2,3], it is observed that, reverse data from
source node suffers 4 sec time delay which is 4 hops apart
from the coordinator for low data traffic in linear type WSN.
Increasing the hop distance would proportionally increase the
time delay, which is not tolerable in delay sensitive
applications. In T-MAC [4], variable length active time is
used at each node which adaptively changes the duty cycle
and data flow. After completing transmission, nodes wait for
International Journal of Wireless Communication and Information Systems (IJWCIS) Vol 1 No 1 April, 2011
from sleep state. Although the proposed protocol consumes
slightly more energy in comparison with Zigbee, it offers
outstanding performance to reduce latency in large sensor
networks, as demonstrated by the simulation results.
The remaining part of the paper is organized as follows.
Section 2 describes related WSN protocols in the literature.
Section 3 presents a detailed description of the proposed LS1 and LS-2 protocols. Simulation results and performance
comparison with other protocols are presented In Section 4.
Finally, some concluding remarks and future works are
clarified.
Listen
Listen
Sleep
Sleep
19
Listen
Source
1
Data
RTS
Data
RTS
2
CTS
ACK
RTS
Data
CTS
ACK
Sleep Delay
3
CTS
ACK
Data
RTS
4
CTS
ACK
RTS
Data
Sleep Delay
5
Sink SYNC
CTS
SYNC
Time Frame 1
ACK
SYNC
Time Frame 2
2. Related Works
There are significant number of MAC protocols that focuses
on reducing the latency as well as energy consumption of
WSNs. In this section a short review of rather closely related
protocols are presented to emphasize the significance of the
proposed protocol.
Basic S-MAC[2] is a popular WSN protocol that maintains
periodic listen and sleep in each time frame to reduce idle
listening period, avoid data overhearing, and shrink the
control packet overhearing which reduces the overall energy
consumption of WSN. No doubt S-MAC tries to reduce the
waste of energy from all the above sources, but at the cost of
high latency which is undesirable in delay sensitive networks.
It also needs SYNC (Synchronization) packet transmission
from the coordinator to multiple hops, requiring much energy
to cover a large sensor network. The basic operation of
typical S-MAC is shown in Figure 1. As shown in this
Figure, the time frame is divided into two parts: listen and
sleep periods. A SYNC packet is transmitted in the beginning
of each time frame, then source node 1 and the nearest parent
node 2 exchange RTS/CTS signals and immediately transmit
data packets while node 3 is in sleep state to save energy
from idle listening. Since node 3 is not active, node 2 have to
queue the data packet for further data transmission to its
nearest parent node 3; it should wait until the next time
frame, which requires a large time delay.
Listen
Sleep
Listen
Sleep
Listen
Sleep
Source
1
Data
RTS
RTS
Sleep Delay
2
CTS
ACK
RTS
Data
CTS
Sleep Delay
3
CTS
ACK
RTS
Data
Sleep Delay
4
Sink
SYNC
SYNC
SYNC
Time Frame 1
Time Frame 2
ACK
SYNC
Listen
Sleep
Source
1
RTS
Data
RTS
Data
2
CTS
ACK
RTS
Data
CTS
ACK
3
4
Carrier
sensing
CTS
Carrier
sensing
5
Sink SYNC Carrier
sensing
ACK
RTS
Data
CTS
ACK
RTS
Data
Sleep Delay
T-wakeup
CTS
ACK
Time Frame 1
Time Frame 3
: Beacon
: CAP
Source
Time Frame 1
Node
Sleep Delay
1
Time Frame 2
Sleep Delay
Time Frame 3
Time Frame 1
Sleep Delay
2
3
4
Coordinator
Data Transfer
From 1 to 2
Data Transfer
From 2 to 3
Data Transfer
From 3 to 4
Data Transfer
From 1 to 2
International Journal of Wireless Communication and Information Systems (IJWCIS) Vol 1 No 1 April, 2011
The main goal of the proposed MAC protocol is to modify
the existing beacon-enabled Zigbee to reduce the latency of
large sensor networks, while maintaining the energy
efficiency and collision avoidance, and minimizing the idle
listening. To achieve the design goal, we have developed the
latency secured MAC protocols. A beacon is used to initiate
the time frame which is composed of listen time and sleep
time. Listen time is composed of transmitting time, receiving
time and sensing time. A sensor network is composed of
many small nodes in an ad hoc fashion to gather specific data
from the surrounding area through inter-node message
exchange[12]. The basic scheme of the LS protocol is shown
in Figure 5, where only one coordinator node, one
intermediate node and two source nodes are considered for
simplicity. The coordinator node transmits a beacon signal
and forward data to the intermediate node, which passes the
received beacon and data to two source nodes. After
completing the the forward transmission two source nodes
initiate reverse transmission by sending RTS signal to the
intermediate node.
Let us assume that source node 1 transmits the RTS signal
first to the intermediate node, which then responses by
asserting CTS. After receiving CTS signal the source node 1
starts to transmit reverse data and the source node 2 should
wait. After finishing the data transmission, source node 1
immediately enters into sleep mode and the source node 2
starts transmission. The intermediate node doesnt start its
reverse transmission until receiving data from all its children
nodes. This is the basic procedure of the reverse transmission
in the LS protocol, which leads to minimization of data
collision. Two types of LS protocol is defined in this paper,
LS-1 and LS-2, according to the number of time frames
required for the transmission in both directions.
Source
node 1
Intermediate
node
Coordinator
Beacon+
F. data
Beacon+
F. data
Beacon+
F. data
Source
node 2
20
Beacon
+ F data
Data
RTS
CTS
Sleep period
RTS
Data
N4
CTS
RTS
Data
N3
CTS
RTS
Data
N2
CTS
Sleep delay
N1
Coordinator
Time Frame 1
Source
node 1
RTS
Intermediate
node
Coordinator
Beacon
+ Forward
data?
CTS
Yes
Source
node 2
Sensing mode
Coordinator
No
No
RTS from
child node
?
Yes
RTS
CTS
Source
node 2
Active mode
CTS
Source
node 1
Coordinator
RTS
More child
node ?
Intermediate
node
CTS
Yes
No
Source
node 2
Reverse data
transmission to
parent node
International Journal of Wireless Communication and Information Systems (IJWCIS) Vol 1 No 1 April, 2011
In the LS-2 scheme the time frame is divided into two types
called forward time frame and reverse time frame. Forward
time frame is used for beacon and forward data transmission
from the coordinator to all nodes in the network. Reverse
time frame is initiated by another beacon signal from the
coordinator node and used for reverse data transmission of
all hops in the networks. In the forward case the coordinator
transmits beacon and forward data, through multiple
intermediate nodes successively to the end of the network as
shown in Figure 8. In the reverse time frame the coordinator
sends only the beacon signal all the way down to the end
nodes to initiate the frame. Upon receiving the beacon signal
each node wakes up from the sleep state and then stay in the
sensing mode to receive the reverse data from their children
nodes. Finally, reverse data transmission starts as in the LS-1
algorithm. Figure 9 shows the sequence of the data
transmission in LS-2 protocol.
Source
Node
N5
RTS
CTS
Sleep
Source
Listen
Listen
Sleep
Sleep
1
Data
RTS
tq
tsl
2
CTS
Beacon
+ F data Beacon
ACK
RTS
Data
tsl
Data
21
CTS
ACK
RTS
Data
Sleep period
RTS
Data
N4
CTS
Sink
RTS
Data
SYNC
SYNC
SYNC
Time Frame 1
N3
Time Frame 2
ACK
Time Frame 3
RTS
CTS
Data
N2
CTS
N1
Coordinator Forward
Time
Frame
Sleep delay
Time Frame 1
Beacon
+ Forward
data?
No
Yes
Sleep mode and
waits for beacon
Beacon for
reverse frame
(1)
where, TZB = tbackoff + ttx+ tb+ tsl , tbackoff the average delay due
to contention, ttx the transmission time of data packet across
one hop which includes RTS and CTS time, tb the beacon
time. The total delay in N-hop basic S-MAC is:
D( N ) tq ( N )TSM tsl
(2)
No
Yes
Sensing mode
No
D( N ) tq ( N )TZB tsl
D( N ) tq ( N / 2)TAS tsl
RTS from
child node
?
(3)
Yes
Active mode
CTS
Yes
More child
node ?
No
Reverse data
transmission to
parent node
D( N ) tq ( N / K )TLE tsl
(4)
International Journal of Wireless Communication and Information Systems (IJWCIS) Vol 1 No 1 April, 2011
D( N ) tq ( N )TLS1
22
(5)
where, TLS1 = tbackoff + tFd + tRd. Here, tFd includes the time for
beacon and forward data transmission, and tRd the time for
reverse data transmission per hop. The total delay of N-hop
LS-2 scheme is:
D( N ) tq ( N )tFd ( N )TLS 2
(6)
(7)
m1
where, tFa is the active time for forward data transmission, tRa
the active time for reverse data transmission, Pact the active
mode power, and Psen the sensing mode power. From Figure
6 it is observed that after the transmission of beacon and
forward data the coordinator and every parent node enter into
sensing mode and remain until receiving the reverse data.
This sensing time is directly proportional to the number of
hops and data packet in the networks.
The total energy consumption for N-hop LS-2 MAC can be
described as:
N 1
(8)
m 1
(1,1)
(2,1)
(2,2)
(1,2)
(2,3)
(2,4)
(3,1)
(3,2)
(3,3)
(3,4)
(4,1)
(4,2)
(4,3)
(4,4)
(5,1)
(5,2)
(5,3)
(5,4)
(6,1)
(6,2)
(6,3)
(6,4)
(7,1)
(7,2)
(7,3)
(7,4)
(8,1)
(8,2)
(8,3)
(9,1)
(9,2)
(10,1)
International Journal of Wireless Communication and Information Systems (IJWCIS) Vol 1 No 1 April, 2011
10
LS-1
LS-2
LE-MAC
adaptive S-MAC
Zigbee
9
8
Delay [Sec]
6
5
4
3
0.630
LS-1
LS-2
0.625
0.620
0
2
5
6
Hop distance
10
Latency [Sec]
0.615
0.610
0.605
0.600
0.595
0.70
0.68
0.590
LS-1
LS-2
0.66
0.64
3
4
5
6
7
8
Total data in the network [KB]
10
0.62
0.60
0.58
0.56
0.54
0.52
1
4
5
6
Hop distance
10
4.0
3.5
Delay [Sec]
23
3.0
2.5
2.0
1.5
1.0
0.5
1.2
0.0
1
1.1
5
6
Hop distance
10
Delay [Sec]
1.0
Average delay of LS-1
Average delay of LS-2
Maximum delay of LS-1
Maximum delay of LS-2
0.9
0.8
0.7
0.6
0.5
1
5
6
Hop distance
10
International Journal of Wireless Communication and Information Systems (IJWCIS) Vol 1 No 1 April, 2011
it is found to reduce the difference of energy consumption
among Zigbee and the proposed protocols.
6
5
4
3
24
[8]
[9]
[10]
[11]
[12]
[13]
2
1
0
1
5
6
Hop distance
10
5. Conclusions
This paper presents a new MAC protocol for delay
sensitive tree-based wireless sensor networks. The proposed
LS protocols show good latency saving when compared with
other existing schemes. A main factor that increases latency
in other protocols is the required time frames with the hop
distance. No matter how many hops the WSN has, data
transmission can be completed within a time frame with the
proposed protocols. And the energy consumption increments
of the proposed scheme compared to existing protocols is not
considerable by introducing a sensing period. LS-1 protocol
shows better performance than LS-2 in terms of latency and
energy. However, LS-2 protocol provides separation of
forward and reverse transmission, which can allow additional
sleep time between them if data traffic is low.
References
[1]
[2]
[3]
[4]
T. V. Dam and K. Langendoen. An adaptive energyefficient MAC protocol for wireless sensor networks.
In ACM Sensys03, November, 2003.
[5]
[6]