A Comprehensive Study of ZigBee Presented by Dr. K F Tsang Citycom Technology Ltd. Tel: 2788-7806 Email: ee330015@cityu.edu.hk 1 1
Outline Introduction of ZigBee Market analysis Characteristics of ZigBee Reliability and Robustness of ZigBee Potential Application of ZigBee Product certification Conclusion 2 2
Part I: Basics of ZigBee 3 3
Introduction of ZigBee 4 4
What is ZigBee? Introduction Standard for short distance wireless communication Developing on IEEE 802.15.4 standard ZigBee Alliance response to promote ZigBee 5 5
Membership Classes Promoters founding members of ZigBee, who form the Board of Directors. There are currently 5 promoters + 1 chairperson Participants members who generally wish to make technical contributions and/or serve on the Technical Group committees. These members have early access to specifications, and they may also chair working group subcommittees. They are in a position to help shape the ZigBee technology for industrial applications and the connected home. 6 6
Promoters ZigBee Alliance Participants And more each month 7 7
History Proposals Initial MRD RSI/TRD v0.2 Proposal to IEEE ZigBee Alliance formed ZigBee PAR Proposals IEEE 802.15.4 Reviews 1998 1999 2000 2001 2002 Stand. Complete 8 8
The 802 Wireless Space WWAN IEEE 802.22 Range WMAN WLAN WPAN ZigBee 802.15.4 Bluetooth 802.15.1 IEEE 802.20 WiMax IEEE 802.16 WiFi 802.11 802.15.3 802.15.3a 802.15.3c 0.01 0.1 1 10 100 1000 Data Rate (Mbps) 9 9
Stack Reference Model End developer applications, designed using application profiles ZA1 ZA2 ZAn IA1 IAn Application interface designed using general profile API UDP Topology management, MAC management, routing, discovery protocol, security management Channel access, PAN maintenance, reliable data transport Transmission & reception on the physical radio channel ZigBee NWK IEEE 802.15.4 MAC (CPS) IEEE 802.15.4 PHY IP 802.2 LLC MAC (SSCS) 10 10
Protocol Stack Features Microcontroller utilized Full protocol stack <32 k Simple node-only stack ~4k Coordinators require extra RAM Node device database Transaction table Pairing table APPLICATIONS APPLICATION INTERFACE SECURITY NETWORK LAYER Star/Cluster/Mesh MAC LAYER MAC LAYER PHY LAYER 2.4 GHz 915MHz 868 MHz Application ZigBee Stack Customer IEEE 802.15.4 ZigBee Alliance Silicon 11 11
Market analysis 12 12
Characteristic of ZigBee IEEE 802.15.4 and ZigBee 13 13
The ZigBee Platform Public Application Profile Certified Product ZigBee Stack IEEE 802.15.4 Compliant Platform 14 14
The ZigBee Platform Private Application Profile ZigBee Stack IEEE 802.15.4 Compliant Platform 15 15
Basic Radio Characteristics ZigBee technology relies upon IEEE 802.15.4, which has excellent performance in low SNR environments 16 16
Basic Network Characteristics 65,536 network (client) nodes Optimized for timing-critical applications and power management Time to Join Network: <30ms Sleeping to active: <15ms Channel access time: <15ms Full Mesh Networking Support Network coordinator Full Function node Reduced Function node Communications flow Virtual links 17 17
ZigBee Network Topologies Mesh Star Cluster Tree PAN coordinator Full Function Device Reduced Function Device 18 18
Cluster Tree Networks Cluster tree networks enable a peerpeer network to be formed with a minimum of routing overhead. 12 11 4 20 14 5 CH1 CH2 CH4 8 DD/CH0 0 6 7 13 CH5 2 1 3 9 CH3 22 10 Parent Child CH6 Links indicate familial relationship, not communications capability 19 19
Cluster Tree Networks Employ multi-hop routing Can be very large: 255 clusters of 254 nodes each = 64,770 nodes May span physically large areas Suitable for latency-tolerant applications 20 20
ZigBee Device Types ZigBee Coordinator (ZC) One and only one required for each ZB network. Initiates network formation. Acts as 802.15.4 2003 PAN coordinator (FFD). May act as router once network is formed. ZigBee Router (ZR) Optional network component. May associate with ZC or with previously associated ZR. Acts as 802.15.4 2003 coordinator (FFD). Participates in multihop routing of messages. ZigBee End Device (ZED) Optional network component. Shall not allow association. Shall not participate in routing. 21 21
Network Structure 22 22
Network Structure 23 23
Network Structure 24 24
Reliability and Robustness of ZigBee 25 25
Reliability Consistently performing a given task to the desired result despite all changes of environmental behavior Without failure A necessary ingredient of trust When the sensor measures its environment; the controller always measures the same value 26 26
Reliability The wireless medium is not a protected environment like the wired medium, but rather, it is fraught with degradations, disruptions, and pitfalls such as dispersion, multipath, interference, frequency dependent fading, sleeping nodes, hidden nodes, and security issues. 27 27
Reliability In addition to the previous disruptions there is the case of sending messages to devices that are not receiving, e.g. they re in the sleep mode. When this happens the message needs to be buffered by another device that is able to send the message when the sleeping device wakes up. 28 28
Reliability IEEE 802.15.4 has built upon the successes of previous IEEE 802 standards by selecting those mechanisms proven to ensure good reliability without seriously degrading system and device performance. 29 29
ISO Layers: Reliability PHY: Direct Sequence with Frequency Agility (DS/FA) MAC: ARQ, Coordinator buffering Network: Mesh Network (redundant routing) Application Support Layer: Security 30 30
Reliability PHY Layers: Direct sequence: allows the radio to reject multipath and interference by use of a special chip sequence. The more chips per symbol, the higher its ability to reject multipath and interference. Frequency Agility: ability to change frequencies to avoid interference from a known interferer or other signal source. 31 31
IEEE 802 Direct Sequence IEEE 802. 11 11b 15.4 (900) 15.4 (2.4) Chips/S ymbol 11 11 15 32 As can be seen from above, IEEE802.15.4/ZigBee has more processing gain (chips/symbol) than its predecessors 32 32
Direct Sequence and Frequency Agility Interferer Desired Signal Over the Air After DS correlation 2.4 GHz PHY Channels 11-26 5 MHz 2.4 GHz 2.4835 GHz 33 33
Robustness Let s define robustness as the ability to tolerate significant degrading phenomena in the physical medium Multipath and interference are probably the most significant degradations to the channel model. 34 34
Robustness Frequency hopping is a method that allows the radio to periodically change channels to over time minimize the effect of a bad channel. While this technique is very effective in some circumstances it creates other problems such as latency, network uncertainty for sleeping nodes, loss of the product bandwidth x time, etc. 35 35
Robustness Direct Sequence with Frequency Agility (DS/FA) combines the best features of DS and FH without most of the problems caused by frequency hopping because frequency changes aren t necessary most of the time, rather they re appropriate only on an exception basis. 36 36
Robustness Excess robustness does not achieve higher performance, rather it typically costs performance 37 37
Potential Applications 38 38
Applications 39 39
Home Network of Future Marketing 40 40
Part II Certification 41 41
ZigBee Alliance Goals Achieving interoperability of end products, where appropriate, is a key goal of the ZigBee Alliance. The Alliance is developing a Certification program as a means of ensuring such interoperability. 42 42
ZigBee Certified Products An end product may be certified for either Interoperability with other ZigBee end products; or Operating within a closed system but able to coexist with other ZigBee products. 43 43
Application Profiles Application Profiles define compatible sets of devices for specific market areas. The ZigBee Alliance s Application Framework Working Group (AFG) is defining and standardizing Application Profiles for many application segments. Profile Task Groups within AFG are charged with the profile definition and standardization task for specific application segments. 44 44
Who Certifies? The ZigBee Alliance has appointed two independent test service providers to conduct certification testing. These companies are National Technical Systems (NTS) and TUV Rheinland. The ZigBee Alliance provides administrative support, and issues Certifications upon successful test program completion at either NTS or TUV. 45 45
Finding Out More The Alliance is member driven. This is also true for the testing and certification aspects. Join the ZigBee Alliance. Get the existing test plans. Help expand and improve upon them by participating in the ZigBee Qualification Working Group. 46 46
Contact Dr. K F Tsang Citycom Technology Ltd. Tel: 2788-7806 Email: ee330015@cityu.edu.hk 47 47
The END 48 48