Speaker : Junn-Keh Yeh Date : 2010/7/2 1.  IEEE 802.15.4  Forming, Joining, and Rejoining ZigBee Networks ◦ Forming Networks ◦ Joining Networks ◦ Rejoining.

Slides:



Advertisements
Similar presentations
ZigBEE. Fundamentals of ZigBee Low Cost Low Power Security-enabled Reliable Initial Target Markets were AMR, Building Automation, and Industrial Automation.
Advertisements

An introduction Jan Flora Department of Computer Science University of Copenhagen.
Maximum Battery Life Routing to Support Ubiquitous Mobile Computing in Wireless Ad Hoc Networks By C. K. Toh.
UNIT-IV Computer Network Network Layer. Network Layer Prepared by - ROHIT KOSHTA In the seven-layer OSI model of computer networking, the network layer.
Ranveer Chandra , Kenneth P. Birman Department of Computer Science
Design and Simulation of MANET Architecture over ZigBee Protocol Suite with Layer ColaborativeEnergy aware design for Performance Optimization Rupam Das.
Topic 3: Sensor Networks and RFIDs Part 4 Instructor: Randall Berry Northwestern University MITP 491: Selected Topics.
Zigbee By: Adel Al-Ghamdi Adel Al-Ghamdi Yousef Al-Rasheedi Yousef Al-Rasheedi For: Dr. Adnan Al-Andalusi.
Mobile and Wireless Computing Institute for Computer Science, University of Freiburg Western Australian Interactive Virtual Environments Centre (IVEC)
ITIS 6010/8010 Wireless Network Security Dr. Weichao Wang.
Adaptive Topology Discovery in Hybrid Wireless Networks
Performance Evaluation of IEEE
Ad-hoc On-Demand Distance Vector Routing (AODV) Sirisha R. Medidi.
MULTICASTING Network Security.
8/7/2015 Mobile Ad hoc Networks COE 549 Routing Protocols II Tarek Sheltami KFUPM CCSE COE 1.
Fault Tolerance in ZigBee Wireless Sensor Networks
ZIGBEE Compared to BLUETOOTH
doc.: IEEE <doc#> ZigBee Technical Overview
Ad Hoc Wireless Routing COS 461: Computer Networks
ZigBee. Introduction Architecture Node Types Network Topologies Traffic Modes Frame Format Applications Conclusion Topics.
Speaker : Chang Kai-Jia Date : 2010/5/12
Zigbee Mesh Networking 16 August 2015 Raoul van Bergen Field Application Engineer Embedded – EMEA Digi International.
1 Hello ZigBee Speaker : 施創宏 Advisor : 吳坤熹. 2 Outline  1.3 ZigBee in the Marketplace  1.4 Hello ZigBee (A First ZigBee Network)  1.5 ZigBee Home Automation.
© Janice Regan, CMPT 128, CMPT 371 Data Communications and Networking Multicast routing.
Member of Radiocrafts What is ZigBee? -Open global standard with an alliance of members (175+) promoted by Chipcon, Mitsubishi, Philips, Honeywell ++.
ZigBee Module 구성도. IEEE LR-WPAN  Low power consumption  Frequent battery change is not desired and/or not feasible  Low cost  Otherwise,
Section 4 : The OSI Network Layer CSIS 479R Fall 1999 “Network +” George D. Hickman, CNI, CNE.
AD HOC WIRELESS MUTICAST ROUTING. Multicasting in wired networks In wired networks changes in network topology is rare In wired networks changes in network.
Speaker:Yi-Jie Pan Advisor:Dr. Kai-Wei Ke 2014/04/28
1 ZigBee/IEEE Overview. 2 New trend of wireless technology Most Wireless industry focus on increasing high data throughput A set of applications.
IEEE High Rate WPAN - MAC functionalities & Power Save Mode Mobile Network Lab. 정상수, 한정애.
1 Spring Semester 2009, Dept. of Computer Science, Technion Internet Networking recitation #3 Mobile Ad-Hoc Networks AODV Routing.
Mobile Adhoc Network: Routing Protocol:AODV
CWNA Guide to Wireless LANs, Second Edition
Ad-hoc On-Demand Distance Vector Routing (AODV) and simulation in network simulator.
IEEE Wireless LAN Standard. Medium Access Control-CSMA/CA IEEE defines two MAC sublayers Distributed coordination function (DCF) Point coordination.
Routing Protocols of On- Demand Dynamic Source Routing (DSR) Ad-Hoc On-Demand Distance Vector (AODV)
The Implementation of Indoor Location System to Control ZigBee Home Network Date:2011/11/02 Speaker : Da-Wei Yang 1 Woo-Chool Park, Myung-Hyun Yoon SICE-ICASE.
Fault-Tolerant Papers Broadband Network & Mobile Communication Lab Course: Computer Fault-Tolerant Speaker: 邱朝螢 Date: 2004/4/20.
1 Ad Hoc On-Demand Distance Vector Routing (AODV) Dr. R. B. Patel.
AODV: Introduction Reference: C. E. Perkins, E. M. Royer, and S. R. Das, “Ad hoc On-Demand Distance Vector (AODV) Routing,” Internet Draft, draft-ietf-manet-aodv-08.txt,
A Review of 6LoWPAN Routing Protocols Advisor: Quincy Wu Speaker: Kuan-Ta Lu Date: Dec. 14, 2010.
Energy and Latency Control in Low Duty Cycle MAC Protocols Yuan Li, Wei Ye, John Heidemann Information Sciences Institute, University of Southern California.
SRL: A Bidirectional Abstraction for Unidirectional Ad Hoc Networks. Venugopalan Ramasubramanian Ranveer Chandra Daniel Mosse.
Speaker: Li-Wen Chen Date: FAULT-TOLERANCE MECHANISMS FOR ZIGBEE WIRELESS SENSOR NETWORKS Skender Ben Attia, André Cunha, Anis Koubâa, M ário.
SMAC: An Energy-efficient MAC Protocol for Wireless Networks
Ad Hoc Multicast Routing
MAC Sublayer MAC layer tasks: – Control medium access – Roaming, authentication, power conservation Traffic services – DCF (Distributed Coordination.
6LoWPAN Ad Hoc On-Demand Distance Vector Routing Introduction Speaker: Wang Song-Ferng Advisor: Dr. Ho-Ting Wu Date: 2014/03/31.
Ad Hoc On-Demand Distance Vector Routing (AODV) ietf
Doc. Submission, Slide 1 Guaranteed Services for Mesh Tae Rim Park 1, Yang G. Kim 1, Myung J. Lee 1 and Jong-suk Chae 2 1 City University of New York,
Doc.: IEEE e Submission Jan, 2009 Ning Gu, Liang Zhang, Haito Lui Slide 1 Project: IEEE P Working Group for Wireless Personal.
Fundamentals of Computer Networks ECE 478/578
Doc.: IEEE /0174r1 Submission Hang Liu, et al. March 2005 Slide 1 A Routing Protocol for WLAN Mesh Hang Liu, Jun Li, Saurabh Mathur {hang.liu,
Wireless LAN Requirements (1) Same as any LAN – High capacity, short distances, full connectivity, broadcast capability Throughput: – efficient use wireless.
IEEE MAC protocol Jaehoon Woo KNU Real-Time Systems Lab. KNU Real-Time Systems Lab.
Lecture 41 IEEE /ZigBee Dr. Ghalib A. Shah
Networked Embedded Systems: ZigBee
Department of Computer Science Southern Illinois University Carbondale CS441-Mobile & Wireless Computing Zigbee Standard Dr.
Wireless LANs Wireless proliferating rapidly.
Internet Networking recitation #4
A comparison of Ad-Hoc Routing Protocols
CS526 Wireless Sensor Networks
What is ZigBee Alliance?
ISM Band Radio Radio Protocols and Topology
ZigBee/IEEE Overview.
Mobile and Wireless Networking
Chapter 3: Open Systems Interconnection (OSI) Model
Department of Computer Science Southern Illinois University Carbondale CS441-Mobile & Wireless Computing IEEE Standard.
A Routing Protocol for WLAN Mesh
Presentation transcript:

Speaker : Junn-Keh Yeh Date : 2010/7/2 1

 IEEE  Forming, Joining, and Rejoining ZigBee Networks ◦ Forming Networks ◦ Joining Networks ◦ Rejoining Networks  ZigBee Packet Routing ◦ Broadcasting ◦ Mesh Routing 2

 IEEE defines: ◦ Mechanisms for discovering networks ◦ Mechanisms for forming and joining networks ◦ Mechanisms for changing channels ◦ Mechanisms for detecting interference and “ noise ” on a particular channel ◦ An acknowledged, single-hop, data-packet delivery method, using CSMA-CA to avoid collisions  Carrier Sense Multiple Access with Collision Avoidance(CSMA/CA) 3

 Starts out with a unique 64-bit IEEE address  Joining the network, each node is assigned a unique (within that network) 16-bit short address. 4 ZC ZED ZR ZED ZR

 ZigBee Coordinator has the following duties: ◦ It forms a network. ◦ It establishes the channel on which the network will operate. ◦ It establishes the extended and short PAN ID for the network. ◦ It decides on the stack profile to use (compile or run-time option). ◦ It acts as the Trust Center for secure applications and networks. ◦ It acts as the arbiter for End-Device-Bind (a commissioning option). ◦ It acts as a router for mesh routing. ◦ It acts as the top of the tree, if tree routing enabled. 5 ZC ZED ZR ZED ZR

6

 ZigBee Routers are responsible for: ◦ Finding and joining the “ correct ” network ◦ Perpetuating broadcasts across the network ◦ Participating in routing, including discovering and maintaining routes ◦ Allowing other devices to join the network (if permit-join enabled) ◦ Storing packets on behalf of sleeping children 7 ZC ZED ZR ZED ZR

 ZigBee End-Devices are responsible for: ◦ Finding and joining the “ correct ” network ◦ Polling their parents to see if any messages were sent to them while they were asleep ◦ Finding a new parent if the link to the old parent is lost (NWK rejoin) ◦ Sleeping most of the time to conserve batteries when not in use by the application. 8 ZC ZED ZR ZED ZR

9

10 ZC ZE D ZR ZED ZRZED

 There are several reasons why a node might need to rejoin the network: ◦ A ZED has lost contact with its parent ◦ Power has been cycled, and many or all nodes in the network rejoin “ silently ” ◦ Joining a secure network if permit-joining is off 11

 ZigBee employs a variety of methods for routing packets from one node to another: ◦ Broadcasting (from one to many nodes) ◦ Mesh routing (unicast from one node to another) ◦ Tree routing (unicast from one node to another, stack profile 0x01 only) ◦ Source routing (unicast from one node to another, stack profile 0x02 only) 12

 ZigBee does allow a radius of 0x00, which is a special flag that means to repeat the broadcast for the entire network.  This radius set from 0x01 to 0xff, to indicate an actual maximum distance.  There are three special ZigBee broadcast modes: ◦ 0xffff—broadcast to all nodes (even sleeping ZEDs) ◦ 0xfffd—broadcast to all awake devices (including RxOnIdle =TRUE ZEDs) ◦ 0xfffc—broadcast to all routers (excludes all ZEDs) 13

 The Broadcast Transaction Table(BTT) is a critical component of broadcasting.  Broadcasting transmits from one node to many nodes, up to the entire network.  Use broadcasts sparingly, as they consume a lot of bandwidth and resources.  Broadcasts are slow compared to unicasts. 14

 The record that was created actually goes into a table called the Broadcast Transaction Table or BTT. ◦ when a broadcast is transmitted, all devices that receive it will broadcast a copy. ◦ Each time a copy of the broadcast arrives, the address of the sender will be added to the BTT to mark that it has relayed the broadcast. ◦ After a broadcast timeout, if all neighbors haven’t relayed the broadcast, meaning they aren’t present in the BTT, then the original sender will need to do a broadcast retry. 15

 In ZigBee mesh: ◦ The algorithm is based on the publicly available Advanced Ad- hoc On-Demand Distance Vectoring (AODV). ◦ All routers are peers. ◦ The route is distributed: Each node in the route keeps track of the next hop for the route in a routing table. ◦ Routes are unidirectional (a route must be discovered each way for bidirectional communication). ◦ Routes are like goat trails: they continue to be used until they fail. ◦ Failed routes are communicated back to the originating node, allowing it to discover a new route.  Ad hoc On-Demand Distance Vector (AODV):RFC

17

18 Note: the least path cost is not the same as the fewest number of hops.

 Routes are discovered automatically by ZigBee.  ZigBee Mesh route discovery is initiated when a node sends a packet to another node.  Routes are discovered along the least cost path. 19

 The Handoff Procedure for Real Time Voice Communication in ZigBee Environment  Efficient Mechanism for GTS Allocation (EMGA) inIEEE LR-WPAN 20

 (1) 能量檢測通道搜尋 (energy detection channel scan) :完全功能裝置 (FFD) 要形成 ZigBee 個人區域網路 時所執行的,讓 FFD 得知每一個所搜尋頻道上的最高峰 之能量。  (2) 主動頻道搜尋 (active channel scan) :在無信標環 境下讓裝置能尋找出所有相鄰之協調器或路由器之狀態。  (3) 被動頻道搜尋 (passive channel scan) :與主動頻 道搜尋目的相同,主要在信標環境下只做接收信標訊號 之搜尋方式。  (4) 孤兒頻道搜尋 (orphan channel scan) :裝置發生 同步遺失 (synchronization loss) 狀態時,搜尋所有頻 道來尋找已建立連線之父節點 ( 協調器或路由器 ) 。 21

 若一個裝置 ( 協調器或路由器 ) 擁有路由表 (routing table) 與 路由找尋表 (routing discovery table) 則稱為具有路由能力 (routing capacity) ,  如下頁圖所示 ,當有路由能力的 node 0 要傳送資料到 node 4 時,發現其路由表中並沒有到達目的端 node 4 的 路由時,將會發送廣播訊息 RREQ(Route request) 來啟動路 由尋找機制 (routing discovery) 。  當裝置 2 接收到 RREQ 訊息時會先計算與來源端之間的 link cost ,並且記錄到 RREQ 訊息內,若該裝置 2 接收到相同目 的端訊息 RREQ ,將會保留最低 link cost 的路由。  由於裝置 2 並沒有路由能力,因此將使用樹狀網路機制發送 詢問訊息 RREQ 給 node 4 ,此時目的端 node 4 則按照下一 跳躍 (next hop) 節點的原有路由方式,回傳 RREP(Route reply) 訊息給來源端 node 0 ,完成路由尋找的程序。 22

 MLME ( Media Access Control (MAC) sublayer Management Entity) Media Access Control ◦ 若裝置為協調者則產生訊標 (beacon) ; ◦ 普通裝置根據訊標訊框來與協調者達到同步 (synchronizing) ; ◦ 提供 PAN 網路聯結 (association) 和取消聯結 (disassociation) 功能; ◦ 提供裝置資料加密安全性 (security) ; ◦ 使用載波檢測多重存取 / 碰撞避免 (CSMA/CA) 機制來競爭 通道; ◦ 支援保證時槽 (guaranteed time slots ; GTSs) 之機制; ◦ 在不同的媒介存取控制副層間提供可靠傳輸 (reliable link) ; 23

 網路層資料訊息通道( Network Layer Data Entity, NLDE ) ◦ a. 將 APL 所傳來的資料( APDU )轉成 Network level PDU ( NPDU ) ◦ b. 根據網路的拓樸架構決定資料訊框路由的路徑。  網路層管理訊息通道( Network Layer Management Entity, NLME ) ◦ 設定網路參數包含以及設備參數 ◦ 負責初始化及建立一新的 ZigBee 網路 ◦ 加入或是離開一網路 ◦ ZigBee 網路協調者以及路由器負責配發網路位址給新加入網路 的終端點,尋找並且記錄鄰近網路設備的所有資訊 ◦ 尋找並且記錄網路封包路由路徑 24

 Stack profile 0x01 tends to be used in applications where cost is one of the major concerns. Its main characteristics are: ◦ Predictable address assignment ◦ Tree routing ◦ Smaller code size ◦ Up to 10 hops in the network 25

 Stack profile 0x02 tends be used where cost is less of an issue, and larger networks are more important. Its main characteristics are: ◦ Random (stochastic) address assignment ◦ Source routing ◦ Multicast ◦ Larger code size ◦ Up to 30 hops in the network 26

 There are two ZigBee stack profiles: 0x01 (ZigBee) and 0x02 (ZigBee Pro).  Stack Profiles define alternate routing methods and maximum number of hops.  ZigBee nodes may join either stack profile. 27

28

29

 ZigBee uses one of two address schemes to assign the short address: ◦ Cskip  Cskip address assignment, available in stack profile 0x01 (the stack profile simply called ZigBee)  stack profile 0x01 uses a calculated number for each “ depth ” (the number of hops from the ZigBee Coordinator), called Cskip (child skip).  allows tree routing in addition to mesh. ◦ Stochastic (random)  Stochastic addressing is available in stack profile 0x02 (the stack profile called ZigBee Pro). 30