Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
Abstract— In a wireless sensor network, given a routing tree least one time slot in each frame, in which, they can transmit
for data gathering from individual nodes to the sink node, this without any collision. Furthermore, a node depending on the
paper presents a simple, distributed algorithm for assigning time schedules of its neighbouring nodes may remain in the sleep
slot to each node for conflict-free communication, such that the mode when it is neither to transmit, nor to receive, i.e. can
maximum latency in data gathering at the sink is minimized. It
switch off their transceiver conserving appreciable amount of
requires just a one-time computation during the initialisation of
the network provided the nodes remain static. Simulation studies energy.
have been done to evaluate the performance in terms of latency, A proper TDMA scheduling is contention-less and
and the average duty cycle. collision-free as well. Since each node gets an equal sized slot,
fairness is ensured. It is useful, when nodes are transmitting
Keywords-TDMA (time-division multiple access) scheduling; stream of data, the network has high contention probability or
data gathering; distributed time slot assignment; minimum latency; requires real-life constraints such as message delay. Specially,
duty cycle; interference for sensor networks where energy is a scarce resource, TDMA
helps to conserve energy by avoiding collision and hence
I. INTRODUCTION
retransmission, and also by allowing nodes to remain in sleep
A typical multi-hop Wireless Sensor Network (WSN) mode whenever possible.
consists of a large number of static, autonomous, unattended But traditional TDMA has the following difficulties:
sensor nodes, densely deployed over a field to gather 1) Time synchronization and negotiation in slot
information about the surroundings. These networks are schedules are required among nodes resulting
employed for critical applications like surveillance and remote increased message overhead, energy consumption
monitoring. The basic operations of such a network are and implementation complexity.
periodic sensing, data gathering and data transmission by 2) Sometimes, the slots remain unused leading to the
individual sensor nodes to the sink, which acts as the final loss of bandwidth.
data aggregation point, via some intermediate nodes. The 3) Clocks can drift and tight synchronization might
sensor nodes have limited battery-power and they mainly incur too much overhead.
deplete energy in the process of data communication. However, a guaranteed packet delivery and bounded
Therefore, it is very important to use energy-efficient latency are highly desirable in critical applications, which can
protocols at each level of operation. be ensured in TDMA.
Moreover, in wireless sensor networks, nodes share the In multihop TDMA scheduling, spatial reuse of time slots
communication medium. It is the responsibility of the MAC is possible, i.e. more than one node can transmit at the same
protocol to control the media access. These protocols can be time slot if their receivers are beyond the interference range of
either contention-based or schedule-based. each other. There are two types of conflicts, namely primary
In contention-based scheme i.e. in CSMA (carrier-sense conflict and secondary conflict. Primary conflict occurs when
multiple access), nodes check the channel before transmission a node transmits and receives at the same time slot or receives
and if the channel is busy, they randomly back off for a short more than one transmission, destined to it at the same time
time and try again. It is better for networks, where the slot. Secondary conflict occurs when a node, an intended
contention is low and burst traffic is expected. receiver of a particular transmission, is also within the
In schedule-based protocol like TDMA (Time Division transmission range of another transmission, intended for other
Multiple Access), time is split into equal time intervals, called nodes.
time frames and each time frame is further divided into time- So far, a lot of research has been done for solving the
slots of equal length such that individual nodes are assigned at routing problem in sensor networks in energy-efficient way
814
Definition 5. Given a routing tree T (V, A), the interference
graph is C (V, I), where I ⊂ V×V is the set of edges such that
(i,j)∈ I, if d (i, j) ≤ max. {Ri, Rj}, assuming that each node-i
adjusts its range Ri such that Ri = max. {d (i, k)| (i, k)∈ A}.
815
Output: time slot (i)
Each node-i Initialises time-slot (i) =-1; Q (i)=φ; wait=-1;
1. If Ns = φ broadcast a ‘READY’ to its 1-hop neighbours;
2. If receives ‘SELECT’ from j ∈ Mi(2) then
Store time-slot (j);
If j is a child of i, delete j from Ns;
If wait=j then wait=-1;
If Q (i)≠ φ, select minimum id k from Q(i) and send
‘PERMIT’ to k; wait=k;
3. If receives a ‘READY’ from j ∈ Mi(1) insert j in Q(i);
If wait=-1then select minimum id k from Q(i) and send
‘PERMIT’ to k; wait=k; Fig. 4. Time Slots Assigned to Each Node of the Scheduling Graph
4. If receives ‘PERMIT’ from all j ∈ Mi(1),
IV. PERFORMANCE EVALUATION
Find out time-slot (i) i.e. conflict-free slot in 2-hop
neighbourhood, which is higher than the slots of children; For simulation studies, a 100unit×100unit deployment
Broadcast ‘SELECT’ with time-slot (i) to all j ∈ Mi(2); region is considered. Number of nodes (n) has been varied
from 100 to 500. Nodes are deployed randomly. The sink
Example 2: The proposed time slot selection procedure node is located at the mean position of the deployment region.
executed on the scheduling graph S(V,AI), shown in Fig. 3, Fig. 5 shows the variation of frame length, varying the total
assigns the time slots as shown in Fig. 4, resulting a frame number of nodes, keeping R = 20 units, generated by four
length of 12. different routing algorithms, namely shortest-power path,
least-hop path, minimum spanning tree (MST) and load-
C. Correctness and Termination
balanced routing [12] algorithms. In shortest–power path and
It is to be noted that the proposed algorithm guarantees that least-hop path routing, at each round, data sensed by each
each node starts the slot selection procedure after all its node is routed to the sink via intermediate nodes through the
children nodes complete it and also no two nodes within shortest paths with respect to power consumption and hop
distance two can start the procedure simultaneously. distance from the sink respectively. In MST routing algorithm,
The procedure terminates when all the nodes-j with hj = 1 MST is computed such that total power consumption of the
completes the time-slot-selection procedure. On receiving all network is minimized. For each value of n, frame lengths of
the ‘SELECT’ messages from its 1-hop neighbours, the sink 20 different scheduling graphs are plotted for each routing
broadcasts a ‘TERMINATE’ message. All sensor nodes then technique. Frame-length is increasing with the increase in n,
start their normal functions, i.e., sensing, receiving messages as the number of 2-hop neighbours in the scheduling graph
from its children (in the routing tree T) in the respective slots, increases with n.
and aggregating the data with its own and forwarding the In general, for a given topology graph G, the frame length
packet in its assigned slot to its parent. During the slots when is upper bounded by the maximum number of 2-hop
it is neither to receive data, nor to transmit, it may go to the neighbours existing in G, since no slot can be reused within
sleep mode and thus may conserve appreciable amount of distance 2 in G. Fig. 6 shows that for a typical scheduling
energy by reducing the duty cycle. graph (500 nodes), generated by load-balanced routing [12],
the frame-length obtained by the proposed TDMA algorithm
Remark: From the algorithm it is evident that here the is much lower than the upper bound, and also than that
maximum latency is same as the frame length of the schedule required for scheduling in the original topology graph.
which is the worst-case latency for data from a leaf node to Duty cycle of a node is the ratio p/m, where m is the frame
reach the sink node. length of the schedule and p is the number of slots during
D. Cross-Layer Issues which a node is either receiving or transmitting, i.e., not in
sleep mode. Fig. 7 shows the variation of average duty cycle
It is to be noted that the construction of routing tree and the by varying the total number of nodes, keeping R=20units,
power control that is applied to construct the routing tree T generated by different routing algorithms. It has been found
and the corresponding scheduling graph S are to be performed that load-balanced routing performs better compared to other
in the routing layer. It also requires a communication platform ones.
offered by MAC layer that may be TDMA, or any other In Fig. 8, the same parameters are shown in load-balanced
efficient MAC protocol. However, once S is constructed, the routing varying the number of nodes for different values of R.
proposed procedure executed on S, assigns timeslots to the It has been found that average duty cycle varies in the range of
nodes for TDMA, and optimises the frame length for 1-7%, showing that nodes may conserve power appreciably in
minimum latency. In this way, here the solution achieved in dense networks.
the routing layer influences the media control of MAC layer,
and results a cross-layer protocol for energy efficiency in V. CONCLUSION
WSN. For multihop wireless sensor networks, this paper presents
a simple distributed algorithm for assigning conflict-free time
816
slots to the individual nodes for transmission, assuming that
the sensor nodes aggregate their data to the sink along a 0.08
nodes is required. Based on the information about its 2-hop 0.06 R=25
evaluation shows that the latency (in terms of frame length) is 0.03
smaller than the upper bound (the maximum number of 2-hop 0.02
tree using a cross-layer protocol. Also, the reduced duty cycle # Nodes
helps to enhance the lifetime of individual nodes.
140
Fig. 8. Variation of Average Duty Cycle with Transmission Range
MST
Load Balanced Interference Aware TDMA Link Scheduling for Static Wireless
80 Networks”, MobiCom’06.
[2] T. Wang, W. Zhiming, J. Mao, “A New Method for Multi Objective
60
TDMA Scheduling in Wireless Sensor Networks using Pareto-Based
40 PSO and Fuzzy Comprehensive Judgment”, HPCC 2007, LNCS 4782,
pp. 144-155.
20 [3] S. Cui, R. Madan, A. J. Goldsmith, S. Lall, “Energy Minimization and
Delay Analysis in TDMA Based Sensor Networks”, IEEE Tran. on
0
100 200 300 400 500
wireless comm., 2004.
[4] S. Gandham, Y. Zhang, Q. Huang, “Distributed Minimal Time
# Nodes Convergecast Scheduling in Wireless Sensor Networks”, Proc.
ICDCS’06.
Fig. 5. Comparison of Frame Length for Different Routing Algorithms [5] S. C. Ergen, P. Varaiya, “TDMA Scheduling Algorithms for Sensor
Networks”, Dept. of Elec. Engg. & Comp. Sc., Univ. of California,
600
Berkeley, Tech. Rep.2005.
Frame Length [6] A. Sridharan, B. Krishnamachari, “Max-Min Fair Collision-free
500
Scheduling for Wireless Sensor Networks”, MWN'04.
Upper Bound of
Scheduling graph
[7] J. Degesys, I. Rose, A. Patel, R. Nagpal, “DESYNC: Self-Organizing
Desynchronisation and TDMA on Wireless Sensor Networks”,
Frame Length
817