Introduction To ZigBee Technology
Introduction To ZigBee Technology
My aim
! ! ! k r a p s
Outline
Introduction Architecture Device Types ZigBee Characteristics Traffic Types Network Model Technology Comparison ZigBee Application ZigBee Chips ZigBee Orgs
3
safety entertainment
comfort lighting
May 12, 2007
security
Introduction
What is ZigBee?
is a low-power, short-distance wireless standard that has great possibilities in applications from home automation to industrial control. WPAN technology based on the IEEE 802.15.4 standard. created to satisfy the market's need for a cost-effective, standards-based wireless network that supports low data rates, low power consumption, security, and reliability. Key benefits of the 802.15.4 and ZigBee standards include extended battery life over current wireless standards, mesh and star network topologies, cost effectiveness, and no line of sight worries. This kind of network eliminates use of physical data buses like USB and Ethernet cables. To address this need, the ZigBee Alliance, an industry working group (http://www.zigbee.org/), is developing standardized application software on top of the IEEE 802.15.4 wireless standard.
May 12, 2007 6
Range
WMAN
WLAN
ZigBee 802.15.4 Bluetooth 802.15.1
WPAN 0.01
Slide Courtesy of
0.1
Why ZigBee?
Standards based Low cost Can be used globally Reliable and self healing Supports large number of nodes Simplicity
Easy to deploy
Secure
May 12, 2007 10
11
Architecture
Application Object 1
[On Endpoint 1] APSDE-SAP
NLME-SAP
Slide Courtesy of
Manages local address allocation/de-allocation. Participates in multihop routing of messages. Looks after its ZEDs when it comes to broadcast and routing messages. Maintains Neighbor Table to allow Neighbor Routing. Sensors, actuators, monitors, switches, dimmers and other controllers Discovers and associates with ZC or ZR. Can be optimized for very low power consumption. Relies on its parent to let it sleep. Shall not allow association. Shall not participate in routing
14
15
Device Types
Physical device type distinguishes the device hardware complexity and capability
Logical device type distinguishes the physical devices deployed in a specific ZigBee network Coordinator (ZC)
Network establishment and control
Router (ZR)
Support data routing functionality. Can talk to other routers, coordinator, and end-devices
Full Function Device (FDD): Adequate resources and memory capacity to handle all designated tasks. Reduced Function Device (RFD): Modest resources and memory capacity compared to FDD.
Yes
Yes
Yes
No
No
Yes
16
ZigBee Characteristics
2.4GHz and 868/915 MHz dual PHY modes. This represents three license-free bands: 2.4-2.4835 GHz, 868-870 MHz and 902-928 MHz. The number of channels allotted to each frequency band is fixed at sixteen (numbered 11-26), one (numbered 0) and ten (numbered 1-10) respectively. The higher frequency band is applicable worldwide, and the lower band in the areas of North America, Europe, Australia and New Zealand . Maximum data rates allowed for each of these frequency bands are fixed as 250 kbps @2.4 GHz, 40 kbps @ 915 MHz, and 20 kbps @868 MHz. High throughput and low latency for low duty-cycle applications (<0.1%) Channel access using Carrier Sense Multiple Access with Collision Avoidance (CSMA - CA) Addressing space of up to 64 bit IEEE address devices, 65,535 networks
17
18
Topologies
Mesh
Star
Cluster Tree
Slide Courtesy of
19
Traffic Types
ZigBee/IEEE 802.15.4 addresses three typical traffic types. IEEE 802.15.4 MAC can accommodate all the types. 1. Data is periodic. The application dictates the rate, and the sensor activates, checks for data and deactivates.
Application defined rate (e.g., sensors)
2. Data is intermittent. The application, or other stimulus, determines the rate, as in the case of say smoke detectors. The device needs to connect to the network only when communication is necessitated. This type enables optimum saving on energy.
Application/external stimulus defined rate (e.g., light switch)
3. Data is repetitive, and the rate is fixed a priori. Depending on allotted time slots, called GTS (guaranteed time slot), devices operate for fixed durations.
Allocation of time slots (e.g., mouse)
20
Non-Beacon Mode
the coordinator is mains-powered
has its receiver on all the time and can therefore wait to hear from clients
21
Network coordinator Full Function node Reduced Function node Communications flow Virtual links
22
Network Model
The functions of the Coordinator, which usually remains in the receptive mode, encompass network set-up, beacon transmission, node management, storage of node information and message routing between nodes. The network node, however, is meant to save energy (and so sleeps' for long periods) and its functions include searching for network availability, data transfer, checks for pending data and queries for data from the coordinator.
ZigBee Coordinator (FFD) ZigBee Router (FFD) ZigBee End Device (RFD/FFD)
23
Network Structure
Slide Courtesy of
24
Network Structure
Slide Courtesy of
25
Network Structure
Slide Courtesy of
26
Slide Courtesy of
27
Slide Courtesy of
28
Slide Courtesy of
29
Slide Courtesy of
30
Slide Courtesy of
31
Technology Comparison
Standard Bandwidth Power Consumption 400+mA TX, standby 20mA 40mA TX, standby 0.2mA 30mA TX, standby 3#&956;A Protocol Stack Size 100+KB Stronghold Applications Internet browsing, PC networking, file transfers Wi-Fi Up to 54Mbps High data rate
Bluetooth
1Mbps
~100+KB
Interoperability, Wireless USB, cable replacement handset, headset Long battery life, low cost Remote control, battery-operated products, sensors
ZigBee
250kbps
4"32KB
In the last few years, new wireless local area networks (WLANs) such as Wi-Fi and Bluetooth became available. Table above shows the strengths and applications of these different systems. Wireless cameras for remote monitoring are an example of how to employ those technologies in home automation and control areas. But the problem is that those technologies don't satisfy the requirements for a HAN. If we take a look at the type of data that circulates within a network of sensors and actuators, we may find that most of it is small packets that control devices or obtain their status. For many applications, such as wireless smoke and CO2 detectors or wireless home security, the device mostly stays in deep-sleep mode and only sends a short burst of information if a trigger event occurs. The main requirements for devices in such types of networks are:
extremely low power consumption the ability to sleep for a long time simplicity low cost
A home network should also support different configurations, such as a star or mesh network, to effectively cover a household area of 30 to 70 meters.
32
33
ZigBee-enabled Device
A typical ZigBee-enabled device will consist of RF IC and 8-bit microprocessor with peripherals connected to an application sensor or actuators
34
ZigBee Applications
security HVAC AMR lighting control access control TV VCR DVD/CD remote
BUILDING AUTOMATION
CONSUMER ELECTRONICS
ZigBee
PERSONAL HEALTH CARE
PC & PERIPHERALS
Slide Courtesy of
INDUSTRIAL CONTROL
security HVAC lighting control access control lawn & garden irrigation
35
Application Example
Slide Courtesy of
36
Home Awareness
Slide Courtesy of
37
Slide Courtesy of
38
Slide Courtesy of
39
Slide Courtesy of
40
Slide Courtesy of
41
Slide Courtesy of
42
Patient Monitoring
May allow more patient freedom
Monitors vital statistics and sends via internet
Patient can remain in their own home Lowers cost and improves comfort
graphic
graphic
43
44
Participants
CompXs
45
More Information
ZigBee Alliance Web Site http://www.ZigBee.org IEEE 802.15 Web Site http://www.ieee802.org/15
46
Thank You!
48