Professional Documents
Culture Documents
Dr.Ing.VoQueSon Email:sonvq@hcmut.edu.vn
Telecomm.Dept. FacultyofEEE
WSN2013 HCMUT
Content
Chapter7:Datacollection/Dissemination,ZigBee
ZigBeearchitecture DataCollection Dissemination OverTheAirProgramming
Chapter8:IPv6and6LoWPAN
ChallengesinWSNsandIP IPv6addressing Fragmentation 6LoWPANHeadercompression Bootstraping
Telecomm.Dept. FacultyofEEE WSN2013 HCMUT
CommunicationinWSNs
Localneighborcommunication(1tofew) Dissemination(1tomany) DataCollectionandAggregation(manyto1) PointtopointTransfers(1to1)
Telecomm.Dept. FacultyofEEE
WSN2013 HCMUT
DataCollectioninConcept
2 2 1 2 0
Telecomm.Dept. FacultyofEEE
2 2 1
June2008
WSN2013 HCMUT
DataCollection
Needaroutingprotocol:CTP,DSR, LinkQualitybasedDataForwarding
Wirelesscommunicationlinksareextremely unreliable ETX:tofindhighthroughputpathsonmultiple
SleepLatencyBasedForwarding
DutyCycling:sensornodesturnofftheirradios whennotneeded Idlelisteningwastemuchenergy
Telecomm.Dept. FacultyofEEE WSN2013 HCMUT
SleepLatencyinLowDutyCycleSensorNetworks
Sleep now. Wake up in 35 seconds B 57s latency A Sleep now. Wake up in 57seconds D
35s latency
13s latency
4s latency
UnreliableRadioLinks
D 70% 90%
A 50% E
95%
Telecomm.Dept. FacultyofEEE
WSN2013 HCMUT
StateoftheartSolutions:ETX
ETX = 1/0.5 + 1/0.5 = 4 B ETX only considers link quality 50%, 100s
50%, 100s
Sole link cannot help reduce E2E delay in extremely low-duty cycle A D Expected E2E sensor networks!
delay is 50s 40%, 10s C ETX = 1/0.4 + 1/0.4 = 5
Telecomm.Dept. FacultyofEEE WSN2013 HCMUT
40%, 10s
StateoftheartSolutions:DESS
Delay Efficient Sleep Scheduling DESS = 10 + 10 = 20s DESS only considers sleep latency 10%, 10s
B 10%, 10s
Sole sleep cannot help D A reduce E2E delayExpected in extremely low-duty cycle E2E sensor networks!delay is 40s
100%, 20s 100%, 20s C
DESS = 20 + 20 = 40s
Telecomm.Dept. FacultyofEEE WSN2013 HCMUT
DataDissemination
How?
Usingbroadcast Usingtrickle UsingP2Prouting(RPL) DHV,DIP,Deluge
Purposes
Codeupdate,OTA Control/Managesensornodesbysending commands
Telecomm.Dept. FacultyofEEE WSN2013 HCMUT
10
ZigBee
ZigBeeisatechnologicalstandarddesignedfor controlandsensornetworks BasedontheIEEE802.15.4Standard CreatedbytheZigBeeAlliance OperatesinPersonalAreaNetworks(PANs)and devicetodevicenetworks Connectivitybetweensmallpacketdevices Controloflights,switches,thermostats,appliances, etc.
Telecomm.Dept. FacultyofEEE WSN2013 HCMUT
11
ZigBeeAlliance
Organizationdefiningglobalstandardsforreliable, costeffective,lowpowerwirelessapplications Aconsortiumofendusersandsolutionproviders, primarilyresponsibleforthedevelopmentofthe 802.15.4standard Developingapplicationsandnetworkcapability utilizingthe802.15.4packetdeliverymechanism
Telecomm.Dept. FacultyofEEE
WSN2013 HCMUT
12
Characteristics
Lowcost Lowpowerconsumption Lowdatarate Relativelyshorttransmissionrange Scalability Reliability Flexibleprotocoldesignsuitableformany applications
Telecomm.Dept. FacultyofEEE
WSN2013 HCMUT
13
Applications
monitors sensors automatio n control monitors diagnostic s sensors TVVCR DVD/CD Remote control mouse keyboard joystick
INDUSTRIAL& COMMERCIAL
CONSUMER ELECTRONICS
ZigBee
LOWDATARATE RADIODEVICES
PC& PERIPHERALS
PERSONAL HEALTHCARE
TOYS& GAMES
HOME AUTOMATION
Telecomm.Dept. FacultyofEEE
14
ZigBee/IEEE802.15.4
Application API Security
32 /64 /128bitencryption
Network
Star/Mesh/ClusterTree
ZigBee Alliance
MAC PHY
868MHz/915MHz/2.4GHz
IEEE 802.15.4
Telecomm.Dept. FacultyofEEE
WSN2013 HCMUT
15
ZigBeeArchitecture
Telecomm.Dept. FacultyofEEE
WSN2013 HCMUT
16
ZigBeeNetworkTopologies
Mesh Star
ClusterTree
Telecomm.Dept. FacultyofEEE
WSN2013 HCMUT
17
ZigBeeNetworkLayerOverview
Threekindsofdevicesinthenetworklayer
ZigBeecoordinator:responsibleforinitializing, maintaining,andcontrollingthenetwork ZigBeerouter:formthenetworkbackbone ZigBeeenddevice:mustbeconnectedto router/coordinator
18
AddressAssignment
InZigBee,networkaddressesareassignedtodevicesbya distributedaddressassignmentscheme ZigBeecoordinatordeterminesthreenetworkparameters
themaximumnumberofchildren(Cm)ofaZigBeerouter themaximumnumberofchildrouters(Rm)ofaparentnode thedepthofthenetwork(Lm)
19
AddressAssignment
Ifaparentnodeatdepthd hasanaddressAparent thenth childrouterisassignedtoaddress: Aparent+(n1)Cskip(d)+1 nth childenddeviceisassignedtoaddress: Aparent+RmCskip(d)+n Example:
Rm=4;Cm=4;Lm=3
Telecomm.Dept. FacultyofEEE
WSN2013 HCMUT
20
ZigBeeRoutingProtocols
Inatreenetwork
Utilizetheaddressassignmenttoobtaintheroutingpaths
Inameshnetwork:
RoutingCapability:ZigBeecoordinatorsandroutersare saidtohaveroutingcapacityiftheyhaveroutingtable capacitiesandroutediscoverytablecapacities Thereare2options:
Reactiverouting:ifhavingroutingcapacity Treerouting:ifhavingnoroutingcapacity
Telecomm.Dept. FacultyofEEE
WSN2013 HCMUT
21
ZigBeeTreeRouting
Whenadevicereceivesa packet,itfirstchecksifit isthedestinationorone ofitschildenddevicesis thedestination Ifso,acceptthepacket orforwardittoachild Otherwise,relayitalong thetree Example:
38 45 38 92
Telecomm.Dept. FacultyofEEE
Addr = 30
Addr = 1, Cskip = 7
A
Addr = 31
B C
Addr = 38 Addr = 39
Addr = 45
WSN2013 HCMUT
22
ZigBeeMeshRouting
RoutediscoverybyAODVlikeroutingprotocol
Thecostofalinkisdefinedbasedonthepacket deliveryprobabilityonthatlink
Routediscoveryprocedure
Thesourcebroadcastsarouterequestpacket Intermediatenodeswillrebroadcastrouterequestif
Theyhaveroutingdiscoverytablecapacities Thecostislower
23