Professional Documents
Culture Documents
Sanoop Mallissery
Assistant Professor (Sr. Scale)
Dept. of Information & Communication Technology
Sanoop Mallissery
1 / 36
Must employ a MAC protocol to arbitrate access to the shared medium in order
to avoid data collision
Sanoop Mallissery
2 / 36
MAC Contd.
Time division multiple access (TDMA), frequency division multiple access (FDMA),
code division multiple access (CDMA), and carrier sense multiple access (CSMA)
are typical MAC protocols
These protocols do not take into account the unique characteristics of sensor
networks
E.g., denser levels of node deployment, higher unreliability of sensor nodes, and
severe power, computation, and memory constraints
Sanoop Mallissery
3 / 36
All nodes share a common medium and contend for the medium for transmission
So collision may occur during the contention process
To avoid collision, a MAC protocol can be used to arbitrate access to the shared
channel through some probabilistic coordination
slotted ALOHA, time is divided into discrete timeslots and each node is allocated
a timeslot
Sanoop Mallissery
4 / 36
CSMA differs from ALOHA in that it uses carrier sense; that is, it allows a node
to listen to the shared medium before transmission
Non- persistent CSMA - if a node detects a busy medium, it will wait a random
period of time and start to listen again
1-persistent CSMA - the node will continue to listen until the medium becomes
idle
Sanoop Mallissery
5 / 36
sub-channels are allocated to individual nodes with each node occupying one
sub-channel
This allows different nodes to access the shared medium without interfering with
each other and thus effectively avoids collision from different nodes
The major advantage of TDMA is its energy efficiency because those nodes that
do not transmit can be turned off
FDMA divides the shared channel into a number of non-overlapping fre- quency
subbands and allocates these subbands to individual nodes
6 / 36
The major advantage of CDMA is that it does not require strict time syn- chronization and avoids the channel allocation problem in FDMA
Sanoop Mallissery
7 / 36
Cellular system
Mobile Ad-hoc Networks (MANETs)
Bluetooth
WSNs have the following unique characteristics:
Larger number of sensor nodes. The number of sensor nodes can be several
orders of magnitude.
Sanoop Mallissery
8 / 36
9 / 36
Collision: Two sensor nodes transmit their packets at the same time. Packets are
corrupted and thus have to be discarded. Retransmissions of the packets increase
both energy consumption and delivery latency.
Overhearing: A sensor node receives packets that are destined for other nodes.
Unnecessary waste of energy and such waste can be very large when traffic load
is heavy and node density is high.
Idle Listening: A sensor node is listening to the radio channel to receive possible
data packets. The node will stay in an idle state for a long time, which results in
a large amount of energy waste.
Sanoop Mallissery
10 / 36
S-MAC tries to reduce energy consumption from all the major sources that
cause inefficient use of energy
11 / 36
Sensor-MAC (S-MAC) I
SYNC packet is very short and contains the address of the sender and the next
sleep time of the sender
S-MAC segments a long message - small fragments - burst - One RTS and one
CTS - reserve the medium for transmitting all fragments
12 / 36
Sensor-MAC (S-MAC) II
due to the fixed sleep time/awake time ratio, some portion of the bandwidth is
always unusable and the delay is higher
Overhearing is avoided for unicast traffic, but for broad- cast or carrier sense
traffic, overhearing is still an unsolved problem
high message delivery latency as S-MAC is designed to sacrifice latency for energy
saving
Sanoop Mallissery
13 / 36
DS-MAC
Functionalities same as S-MAC, but each receiver node keeps track of its own
energy consumption level and average latency
Dynamically adjust its sleep wakeup cycle time based on the current energy
consumption level and the average latency
latency becomes intolerable - double the original duty cycle - reduce the sleep No change in the listening period
Sanoop Mallissery
14 / 36
Sanoop Mallissery
15 / 36
16 / 36
an interval is divided into three periods (or states): receiving, sending, and
sleeping
receiving period: node is expected to receive a packet and send an ACK packet
back to the sender
sending period: node tries to send a packet to its next hop and receive an ACK
packet
Sanoop Mallissery
17 / 36
Sanoop Mallissery
18 / 36
multiple sensors - messages - same time - cause contention - for radio medium called spatially correlated contention
Key difference b/n sift and traditional MAC is probability distribution for
selecting transmission slot in the contention window.
Sanoop Mallissery
19 / 36
With non uniform probability distribution, a node competes for contention slot
with in the contention window with other nodes based on a shared belief of the
current population size N.
Sanoop Mallissery
20 / 36
Each node periodically wakes up to communicate with its neighbors and goes to
sleep until next frame
Transmit all messages in bursts of variable length and sleep between burst
RTS / CTS / ACK Scheme
Synchronization similar to S-MAC
Sanoop Mallissery
21 / 36
If no activation event occurs for a threshold time period, an active period will
end and the node will go to sleep.
Sanoop Mallissery
22 / 36
TRAMA uses a transmitter-election algorithm - to maintain throughput and fairness - promotes channel reuse as a function
23 / 36
TRAMA Protocol I
TRAMA protocol consists of three components: the Neighbor Protocol (NP), the
Schedule Exchange Protocol (SEP), and the Adaptive Election Algorithm (AEA)
NP and the SEP allow nodes to exchange 2-hop neighborhood information and
their schedules
AEA uses the neighbor and schedule information to select transmitters and receivers for the current timeslot
A node times out a neighbor if it does not hear from that neighbor for a certain
period of time
Transmission slots are used for transmitting data traffic and also for exchanging
traffic-based schedule information between neighboring nodes - transmitter (i.e.,
slot reuse) and receiver (i.e., sleep-state switching) selection
Sanoop Mallissery
24 / 36
TRAMA Protocol II
node has to announce its schedule via a schedule packet using the SEP before
actual data transmissions
The SEP updates the schedule information periodically during the scheduledaccess periods and thus maintains consistent schedule information among neighbors.
AEA is used to select transmitters and receivers to achieve collision-free transmissions using the information obtained by the NP and the SEP
Sanoop Mallissery
25 / 36
each node is able to turn its radio on and off, and tune the carrier frequency to
different bands
Sanoop Mallissery
26 / 36
employs a periodical listening and sleeping mechanism to avoid idle listening and
overhearing
DE-MAC treats those critical nodes (i.e., with lower energy) differently by using
them less frequently to achieve load balancing among all nodes
The criticality of a sensor node can be based on local state information - relative
energy levels within a group of neighbor nodes
Once an election is initiated, each node sends its energy level to all of its neighbors
At the end of the election process, the node with the minimum energy level is
elected as a winner
all the losers reduce the number of their timeslots by a constant factor (e.g., two)
and the winners have timeslots twice the number of the losers
Sanoop Mallissery
27 / 36
The inter-cell messages are first sent to the router node within the same cell and
then forwarded by the router node through the network hop by hop
Sanoop Mallissery
28 / 36
Sanoop Mallissery
29 / 36
30 / 36
each node gets a list of neighbors within its radio range with their locations, called
Redundant Neighbor List (RNL)
TORN (Turning Off Redundant Node) phase: node that is redundant for a sensing
application is turned off to conserve energy and reduce network interference
node that gets the medium to transmit - inform its redundant neighbor(s) - to
turn off by including their ID numbers in a request
The resulting neighbor list in each active node is called Non-redundant Neighbor
List (NNL)
Select Minimum Neighbor (SMN) phase: select its neighbors from the NNL called Minimum Neighbor List (MNL) (multihop)
Once a node wins the channel, it will hold the channel until it finishes the channel
allocation with all its neighbors in the MNL
Sanoop Mallissery
31 / 36
All sensor nodes have two communications channels: data channel and control
channel
idle listening consumes much energy, classic CSMA is not preferred for a sensor
network
Sanoop Mallissery
32 / 36
Sanoop Mallissery
33 / 36
A node assigned to a timeslot is called an owner of that slot and the others the
non-owners of that slot
an owner of that slot always has a higher priority over its non-owners in
accessing the channel
Sanoop Mallissery
34 / 36
35 / 36
Whether contention based MAC protocols is better than contention free MAC
protocols? If yes/no, justify the reasons for your answer.
Propose a MAC protocol for WSN which can use less number of hops to
transmit the data to the sink node and ensure that the proposed protocol is
congestion free and consumes less energy.
Sanoop Mallissery
36 / 36