Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
Configured for maximum battery life, has the potential to last as long as the shelf life of most batteries
Supports multiple network topologies including Star, Cluster Tree and Mesh Features of the MAC: Association/dissociation, ACK, frame delivery, channel access mechanism, frame validation, guaranteed time slot management, beacon management, channel scan Low complexity: 26 primitives versus 131 primitives for 802.15.1 (Bluetooth)
ZigBee Application Framework Networking App Layer (NWK) Data Link Controller (DLC)
IEEE 802.15.4 LLC
IEEE 802.2 LLC, Type I
Simple frame structure Reliable delivery of data Association/disassociation AES-128 security CSMA-CA channel access Optional superframe structure with beacons GTS mechanism
All of these devices can be no more complicated than the transceiver, a simple 8-bit MCU and a pair of AAA batteries!
One of two most basic and important structures in 15.4 Provides up to 104 byte data payload capacity Data sequence numbering to ensure that all packets are tracked Robust frame structure improves reception in difficult conditions Frame Check Sequence (FCS) ensures that packets received are without error
The other most important structure for 15.4 Provides active feedback from receiver to sender that packet was received without error Short packet that takes advantage of standardsspecified quiet time immediately after data packet transmission
Copyright 2002 The ZigBee Alliance, Inc.
Mechanism for remote control/configuration of client nodes Allows a centralized network manager to configure individual clients no matter how large the network
Copyright 2002 The ZigBee Alliance, Inc.
Beacons add a new level of functionality to a network Client devices can wake up only when a beacon is to be broadcast, listen for their address, and if not heard, return to sleep Beacons are important for mesh and cluster tree networks to keep all of the nodes synchronized without requiring nodes to consume precious battery energy listening for long periods of time
Copyright 2002 The ZigBee Alliance, Inc.
MAC Options
Two channel access mechanisms
Non-beacon network
Standard ALOHA CSMA-CA communications Positive acknowledgement for successfully received packets
Superframe structure
Beacon-enabled network
For dedicated bandwidth and low latency Set up by network coordinator to transmit beacons at predetermined intervals 15ms to 252sec (15.38ms*2n where 0 n 14) 16 equal-width time slots between beacons Channel access in each time slot is contention free
Beacon Mode
A very powerful mechanism for controlling power consumption in extended networks like cluster tree or mesh Allows all clients in a local piece of the network the ability to know when to communicate with each other Here, the two-way radio network has a central dispatcher who manages the channel and arranges the calls
The ZigBee Coordinator, mains powered, has its receiver on all the time and so can wait to hear from each of these stations
Since ZigBee Coordinator has infinite source of power it can allow clients to sleep for unlimited periods of time to allow them to save power
This timing requirement potentially impacts the cost of the timing circuit in each end device
In a beacon-environment, growing the network means keeping the overall network synchronized According to pre-existing network rules, the joining networks PAN Coordinator is probably demoted to Router, and passes along information about its network (as required) to the PAN coordinator Beacon information passed from ZigBee Coordinator to now-Router, router knows now when to awake to hear network beacon
Joining Network
Demoted to router
The two PHY bands (UHF/Microwave) have different physical, protocol-based and geopolitical characteristics
Worldwide coverage available at 2.4GHz at 250kbps 900MHz for Americas and some of the Pacific 868MHz for European-specific markets
PHY Performance
Mission Statement
ZigBee Alliance members are defining global standards for reliable, costeffective, low power wireless applications. The ZigBee Alliance is a rapidly growing, non-profit industry consortium of leading semiconductor manufacturers, technology providers, OEMs and end users worldwide.
Copyright 2002 The ZigBee Alliance, Inc.
TEXT LONG
GRAPHICS INTERNET
HI-FI AUDIO
STREAMING VIDEO
DIGITAL VIDEO
MULTI-CHANNEL VIDEO
>
LAN
< RANGE
SHORT
ZigBee
Bluetooth1
PAN
LOW
>
HIGH
Applications
security HVAC AMR lighting control access control patient monitoring fitness monitoring
PERSONAL HEALTH CARE
BUILDING AUTOMATION
CONSUMER ELECTRONICS
ZigBee
Wireless Control that Simply Works
PC & PERIPHERALS
INDUSTRIAL CONTROL
security HVAC lighting control access control lawn & garden irrigation
Promoter Companies
ZigBee Alliance
Promoters
Participants
APPLICATION
ZIGBEE STACK
SILICON
Star
Cluster Tree
Copyright 2002 The ZigBee Alliance, Inc.
Competitive or Complementary?
Bluetooth
FHSS 1 M Symbol / second Peak Information Rate ~720 Kbit / second
Dial-up Networking
Application Application Interface Network Layer Data Link Layer MAC Layer MAC Layer PHY Layer
Silicon ZigBee Stack Application
vMessage
Fax
Voice
Link Manager
Zigbee
Bluetooth
ZigBee:
Network join time = 30ms typically Sleeping slave changing to active = 15ms typically Active slave channel access time = 15ms typically
Bluetooth:
Network join time = >3s Sleeping slave changing to active = 3s typically Active slave channel access time = 2ms typically
ZigBee
DSSS 28 kb
FHSS 250 kb
Comparison Overview
Copyright 2002 The ZigBee Alliance, Inc.
An Application Example
Battery Life & Latency in a Light Switch
Wireless Light switch Easy for Builders to Install A Bluetooth Implementation would either : keep a counter running so that it could predict which hop frequency the light would have reached or use the inquiry procedure to find the light each time the switch was operated.
Unacceptable latency
ZigBee offers longer battery life and lower latency than a Bluetooth equivalent.
Conclusion
Bluetooth and 802.15.4 transceiver physical characteristics are very similar Protocols are substantially different and designed for different purposes 802.15.4 designed for low to very low duty cycle static and dynamic environments with many active nodes Bluetooth designed for high QoS, variety of duty cycles, moderate data rates in fairly static simple networks with limited active nodes
Reliability and Robustness throughout the stacks of IEEE 802.15.4 and ZigBee
Reliability
Consistently perform a given task to the desired result despite all changes of environmental behavior Without fail A necessary ingredient of trust When the sensor measures its environment; the controller always knows that same value
Copyright 2002 The ZigBee Alliance, Inc.
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.
Copyright 2002 The ZigBee Alliance, Inc.
Reliability
Each of these degradations and disruptions can be mitigated by various mechanisms within the ISO layers; but not all mechanisms are compatible with all other mechanisms or may negatively impact critical performance attributes The system must be optimized for the best performance in a realistic environment
Copyright 2002 The ZigBee Alliance, Inc.
Reliability
In addition to the previous disruptions there is the case of sending messages to devices that are not receiving, e.g. theyre 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.
Copyright 2002 The ZigBee Alliance, Inc.
Reliability
Interferer
Router
XX
Sleeping Node Network Coordinator
Multipath
Hidden Node
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.
Reliability
ISO Layers: PHY: Direct Sequence with Frequency Agility (DS/FA) MAC: ARQ, Coordinator buffering Network: Mesh Network (redundant routing) Application Support Layer: Security
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.
Chips/ 11 Symbol
As can be seen from above, IEEE802.15.4/ZigBee has more processing gain (chips/symbol) than its predecessors
Copyright 2002 The ZigBee Alliance, Inc.
After DS correlation
Channels 11-26
5 MHz
2.4 GHz
2.4835 GHz
Reliability
MAC: ARQ (acknowledgement request) is where a successful transmission is verified by replying with an acknowledge (ACK). If the ACK is not received the transmission is sent again Coordinator buffering is where the network coordinator buffers messages for sleeping nodes until they wake again
Copyright 2002 The ZigBee Alliance, Inc.
Reliability
Network: Mesh Networking: allows various paths of routing data to the destination device. In this way if a device in the primary route is not able to pass the data, a different valid route is formed, transparent to the user.
Reliability
Application Support Sub-layer(APS): Security: supports reliability by keeping other devices from corrupting communications. The APS configures the security emplaced in the MAC layer and also adds some of its own.
Robustness
Lets 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.
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.
Copyright 2002 The ZigBee Alliance, Inc.
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 arent necessary most of the time, rather theyre appropriate only on an exception basis.
Copyright 2002 The ZigBee Alliance, Inc.
Robustness
The 802.11 Working Group couldnt agree upon which of the following PHYs was the best: FH, IR, or DS. So all three were standardized and left to the market to decide. Of the three PHYs; DS was the clear market winner. DS provided sufficient robustness with higher overall performance.
Copyright 2002 The ZigBee Alliance, Inc.
Robustness
Excess robustness does not achieve higher performance, rather it typically costs performance
Conclusion
IEEE 802.15.4/ZigBee have addressed reliability throughout the ISO stack with proven mechanisms to minimize the uncertainty of the wireless medium