Top Banner
21

rks: a alk onen - tcs.hut.fi · Senso r Net w o rks: MA C Proto cols Jukk a V alk onen Lab o rato ry fo r Theo retical Computer Science Helsinki Universit y of T echnology 28.3.2007

May 05, 2019

Download

Documents

nguyenque
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: rks: a alk onen - tcs.hut.fi · Senso r Net w o rks: MA C Proto cols Jukk a V alk onen Lab o rato ry fo r Theo retical Computer Science Helsinki Universit y of T echnology 28.3.2007

Sensor Networks: MAC ProtocolsJukka ValkonenLaboratory for Theoretical Computer ScienceHelsinki University of Technology28.3.2007Jukka Valkonen Sensor Networks: MAC Protocols

Page 2: rks: a alk onen - tcs.hut.fi · Senso r Net w o rks: MA C Proto cols Jukk a V alk onen Lab o rato ry fo r Theo retical Computer Science Helsinki Universit y of T echnology 28.3.2007

OutlineBackground and IntroductionSensor NetworksBasics of MAC-protocolsThree protocols describedConclusions

Jukka Valkonen Sensor Networks: MAC Protocols

Page 3: rks: a alk onen - tcs.hut.fi · Senso r Net w o rks: MA C Proto cols Jukk a V alk onen Lab o rato ry fo r Theo retical Computer Science Helsinki Universit y of T echnology 28.3.2007

BackgroundPresentation based on:C. Siva Ram Murthy and B. S. Manoj. Ad-Hoc WirelessNetworks - Architectures and ProtocolsAlec Woo and David E. Culler. A Transmission ControlScheme for Media Access in Sensor NetworksKatayoun Sohrabi, Jay Gao, Vishal Ailawadhi andGregory J Pottie. Protocols for Self-Organization of aWireless Sensor NetworkEugene Shih, Seong-Hwan Cho, Nathan Ickes, Rex Min,Amit Sinha, Alice Wang and Anantha Chandrakasan.Physical Layer Driven Protocol and Algorithm Design forEnergy-E�cient Wireless Sensor NetworksJukka Valkonen Sensor Networks: MAC Protocols

Page 4: rks: a alk onen - tcs.hut.fi · Senso r Net w o rks: MA C Proto cols Jukk a V alk onen Lab o rato ry fo r Theo retical Computer Science Helsinki Universit y of T echnology 28.3.2007

Sensor NetworksNetwork of wireless autonomous nodesNodes use some sensors to monitor surroundingconditionsTemperature, wind, pressure. . .Network may consist of thousands of nodesNodes are very constrainedRobust and reliable networkNodes transmit their data to some infrastructureHighly correlated tra�c: All nearby devices transmit�same� informationJukka Valkonen Sensor Networks: MAC Protocols

Page 5: rks: a alk onen - tcs.hut.fi · Senso r Net w o rks: MA C Proto cols Jukk a V alk onen Lab o rato ry fo r Theo retical Computer Science Helsinki Universit y of T echnology 28.3.2007

Sensor Networks (2)Nodes consist of 3 subsystemsSensor subsystemProcessing subsystemCommunication subsystemCommunication subsystem is the major consumer ofenergyRandomly deployed networks: no topologyNo infrastructure: Everything must be distributed

Jukka Valkonen Sensor Networks: MAC Protocols

Page 6: rks: a alk onen - tcs.hut.fi · Senso r Net w o rks: MA C Proto cols Jukk a V alk onen Lab o rato ry fo r Theo retical Computer Science Helsinki Universit y of T echnology 28.3.2007

MAC-protocolsMedium Access ControlUsed to establish communication links among the nodesMust ensure e�cient sharing of resourcesGoal to maximize overall lifetime of the networkSpeci�c protocols for sensor networks neededNo global synchronization (at least di�cult)Topology changes (mobility and link failure)Power e�ciency

Jukka Valkonen Sensor Networks: MAC Protocols

Page 7: rks: a alk onen - tcs.hut.fi · Senso r Net w o rks: MA C Proto cols Jukk a V alk onen Lab o rato ry fo r Theo retical Computer Science Helsinki Universit y of T echnology 28.3.2007

Basic kind of MAC-protocolsFixed-allocationPredetermined assignmentAppropriate for networks that generate deterministic datatra�cBounded delay for each nodeMay lead to ine�cient use of communication channelDemand-basedChannel is allocated according to the demand of the nodeAdditional overhead for reservation processContention-basedRandom-access based contention for the channelSuitable for bursty tra�cJukka Valkonen Sensor Networks: MAC Protocols

Page 8: rks: a alk onen - tcs.hut.fi · Senso r Net w o rks: MA C Proto cols Jukk a V alk onen Lab o rato ry fo r Theo retical Computer Science Helsinki Universit y of T echnology 28.3.2007

The ProtocolsSelf-Organizing MAC for Sensor Networks (SMACS)Hybrid TDMA/FDMACSMA-Based MAC Protocols

Jukka Valkonen Sensor Networks: MAC Protocols

Page 9: rks: a alk onen - tcs.hut.fi · Senso r Net w o rks: MA C Proto cols Jukk a V alk onen Lab o rato ry fo r Theo retical Computer Science Helsinki Universit y of T echnology 28.3.2007

SMACSProtocol to build infrastructureUses �xed allocationAssumptionsNodes are able to turn radios on and o�Able to use di�erent bandsA pair of time slots de�nes a channelSynchronization needed only between a pair of devicesEach link operates on di�erent frequencyFrequency chosen from a large pool when the link isformed Jukka Valkonen Sensor Networks: MAC Protocols

Page 10: rks: a alk onen - tcs.hut.fi · Senso r Net w o rks: MA C Proto cols Jukk a V alk onen Lab o rato ry fo r Theo retical Computer Science Helsinki Universit y of T echnology 28.3.2007

SMACS procedureNodes wake up at some random timeThe nodes discover each otherAfter discovery, nodes agree on a pair of �xed time slotsThe transmission pattern is repeated every TframeTframe is a parameter of the system, �xed for each device

Jukka Valkonen Sensor Networks: MAC Protocols

Page 11: rks: a alk onen - tcs.hut.fi · Senso r Net w o rks: MA C Proto cols Jukk a V alk onen Lab o rato ry fo r Theo retical Computer Science Helsinki Universit y of T echnology 28.3.2007

SMACS Communication Schedule

Jukka Valkonen Sensor Networks: MAC Protocols

Page 12: rks: a alk onen - tcs.hut.fi · Senso r Net w o rks: MA C Proto cols Jukk a V alk onen Lab o rato ry fo r Theo retical Computer Science Helsinki Universit y of T echnology 28.3.2007

SMACS Node Discovery

Jukka Valkonen Sensor Networks: MAC Protocols

Page 13: rks: a alk onen - tcs.hut.fi · Senso r Net w o rks: MA C Proto cols Jukk a V alk onen Lab o rato ry fo r Theo retical Computer Science Helsinki Universit y of T echnology 28.3.2007

Hybrid TDMA/FDMATDMA: Time division multiple accessFDMA: Frequency division multiple accessA centrally controlled scheme: All devices communicatedirectly with a base stationTDMA minimizes the time a node needs to be kept on,the nodes can transmit at the highest data rate, buttransmit on-time is minimizedFDMA allots the minimum required bandwidth, andtransmit on-time is maximized

Jukka Valkonen Sensor Networks: MAC Protocols

Page 14: rks: a alk onen - tcs.hut.fi · Senso r Net w o rks: MA C Proto cols Jukk a V alk onen Lab o rato ry fo r Theo retical Computer Science Helsinki Universit y of T echnology 28.3.2007

Hybrid TDMA/FDMA (2)The used scheme is chosen based on energy consumptionIf transmitter consumes more power, TDMA is usedThe transmitter can be switched o� during idle slotsIf receiver consumes more power, FDMA is usedNo need to expend power for time synchronization

Jukka Valkonen Sensor Networks: MAC Protocols

Page 15: rks: a alk onen - tcs.hut.fi · Senso r Net w o rks: MA C Proto cols Jukk a V alk onen Lab o rato ry fo r Theo retical Computer Science Helsinki Universit y of T echnology 28.3.2007

CSMA-basedCarrier sense multiple accessContention-based MAC-protocolThe basic idea: Listen to channel and transmit if it is freeIf the channel is not free, backo�E�ective if all nodes can hear each otherListening comes with cost: The radio must be onShorten the listening periodBacko�Should be applied as a phase shift to the application'speriodicityTo break the synchronization of periodic streamsJukka Valkonen Sensor Networks: MAC Protocols

Page 16: rks: a alk onen - tcs.hut.fi · Senso r Net w o rks: MA C Proto cols Jukk a V alk onen Lab o rato ry fo r Theo retical Computer Science Helsinki Universit y of T echnology 28.3.2007

RTC/CTS control schemeRequest to send/Clear to sendMore suitable for computer networks with bigger packetsizesIn sensor networks, a RTS-CTS-DATA-ACK chainconstitutes up to 40% overheadA node wishing to transmit sends a RTS to its parent andwaits for replyIf no CTS packet received or CTS not destined to it,backo� with a binary exponential increasing backo�windowIf a node hears a CTS before it wishes to transmit, itdelays its transmission to avoid corrupting the tra�cJukka Valkonen Sensor Networks: MAC Protocols

Page 17: rks: a alk onen - tcs.hut.fi · Senso r Net w o rks: MA C Proto cols Jukk a V alk onen Lab o rato ry fo r Theo retical Computer Science Helsinki Universit y of T echnology 28.3.2007

Rate Control MechanismA node attempts to send a packetIf the recipient forwards the packet (or acknowledges),transmission was successfulIf the packet is not acknowledged, backo�If transmission succeeds, the sending node can increaseits transmission speed

Jukka Valkonen Sensor Networks: MAC Protocols

Page 18: rks: a alk onen - tcs.hut.fi · Senso r Net w o rks: MA C Proto cols Jukk a V alk onen Lab o rato ry fo r Theo retical Computer Science Helsinki Universit y of T echnology 28.3.2007

Rate Control Mechanism (2)S is the maximum transmission rate of applicationp ∗ S is the actual transmission rate in the beginning(p ∈ [0, 1])If transmission succeeds, increase p with constant αIf transmission fails, decrease p: p := β ∗ p, 0 < β < 1For intermediate (routing) nodes, the penalty is smaller toachieve fairness

Jukka Valkonen Sensor Networks: MAC Protocols

Page 19: rks: a alk onen - tcs.hut.fi · Senso r Net w o rks: MA C Proto cols Jukk a V alk onen Lab o rato ry fo r Theo retical Computer Science Helsinki Universit y of T echnology 28.3.2007

Simulation vs. Empirical results

Jukka Valkonen Sensor Networks: MAC Protocols

Page 20: rks: a alk onen - tcs.hut.fi · Senso r Net w o rks: MA C Proto cols Jukk a V alk onen Lab o rato ry fo r Theo retical Computer Science Helsinki Universit y of T echnology 28.3.2007

ConclusionsThe properties of sensor networks should be taken intoaccount while designing MAC protocolBattery consumption can be thought as a main goal foreach applicationDi�erent kinds of protocols with di�erent applicationsTDMA-based when tra�c is evenly distributed betweenthe nodesCSMA-based protocols are designed mainly to increaseenergy e�ciency and maintain fairness

Jukka Valkonen Sensor Networks: MAC Protocols

Page 21: rks: a alk onen - tcs.hut.fi · Senso r Net w o rks: MA C Proto cols Jukk a V alk onen Lab o rato ry fo r Theo retical Computer Science Helsinki Universit y of T echnology 28.3.2007

Thank You!Questions?

Jukka Valkonen Sensor Networks: MAC Protocols