MattMaupin FreescaleSemiconductor
MattMaupin FreescaleSemiconductor
ZigBee™: Wireless
Control Made Simple
Wireless & Mobile WorldExpo
NTC Toronto, Canada
Matt Maupin
Technical Marketer TM
TM Freescale Semiconductor Confidential and Proprietary Information. Freescale™ and the Freescale logo are trademarks of Freescale
Semiconductor, Inc. All other product or service names are the property of their respective owners. © Freescale Semiconductor, Inc. 2005.
Where Does ZigBee Fit?
Wireless
Faster
Video
Applications
UWB
Wireless Data
802.11g Applications
802.11a
Peak Data Rate
IrDA
Wi-Fi®
802.11b
Wireless
Sensors 2.5G/3G
Bluetooth™
Wireless
Slower
ZigBee™
Networking
TM Freescale Semiconductor Confidential and Proprietary Information. Freescale™ and the Freescale logo are trademarks of Freescale
Semiconductor, Inc. All other product or service names are the property of their respective owners. © Freescale Semiconductor, Inc. 2005.
ZigBee Alliance
TM
ZigBee Mission
TM Freescale Semiconductor Confidential and Proprietary Information. Freescale™ and the Freescale logo are trademarks of Freescale
Semiconductor, Inc. All other product or service names are the property of their respective owners. © Freescale Semiconductor, Inc. 2005.
ZigBee Alliance
• ZigBee is designed to be a low power, low cost, low data rate, wireless
solution.
• ZigBee relies upon the robust IEEE 802.15.4 PHY/MAC to provide reliable
data transfer in noisy, interference-rich environments
• ZigBee layers on top of 15.4 with Mesh Networking, Security, and
Applications control
• ZigBee Value Propositions
Addresses the unique needs of most remote monitoring and control
network applications
> Infrequent, low rate and small packet data
Enables the broad-based deployment of wireless networks with low
cost & low power solutions
> Example: Lighting, security, HVAC,
> Supports peer-to-peer, star and mesh networks
Monitor and sensor applications that need to have a battery life of
years on alkaline batteries
> Example – security systems, smoke alarms
TM Freescale Semiconductor Confidential and Proprietary Information. Freescale™ and the Freescale logo are trademarks of Freescale
Semiconductor, Inc. All other product or service names are the property of their respective owners. © Freescale Semiconductor, Inc. 2005.
Protocol Stack Features
• ZigBee
Based upon the robust,
reliable, international IEEE
APPLICATION/PROFILES ZigBee
802.15.4 standard
• IEEE STD 802.15.4®
APPLICATION FRAMEWORK
Designed by Motorola, Philips
and other companies to supply NETWORK/SECURTIY
the radio and protocol, allowing LAYERS ZigBee
the designer to concentrate on Alliance
the application and their MAC LAYER Platform
customers’ needs IEEE
PHY LAYER
Application
ZigBee Platform Stack
Silicon
TM Freescale Semiconductor Confidential and Proprietary Information. Freescale™ and the Freescale logo are trademarks of Freescale
Semiconductor, Inc. All other product or service names are the property of their respective owners. © Freescale Semiconductor, Inc. 2005.
ZigBee is Mesh Networking
TM Freescale Semiconductor Confidential and Proprietary Information. Freescale™ and the Freescale logo are trademarks of Freescale
Semiconductor, Inc. All other product or service names are the property of their respective owners. © Freescale Semiconductor, Inc. 2005.
Network Topology Models
Mesh
Star
TM Freescale Semiconductor Confidential and Proprietary Information. Freescale™ and the Freescale logo are trademarks of Freescale
Semiconductor, Inc. All other product or service names are the property of their respective owners. © Freescale Semiconductor, Inc. 2005.
ZigBee is Mesh Networking
ZigBee Coordinator
ZigBee Router
ZigBee End Device
ZigBee Device Associations
TM Freescale Semiconductor Confidential and Proprietary Information. Freescale™ and the Freescale logo are trademarks of Freescale
Semiconductor, Inc. All other product or service names are the property of their respective owners. © Freescale Semiconductor, Inc. 2005.
ZigBee Markets
and
Applications
TM
ZigBee Wireless Markets and Applications
CONSUMER
BUILDING ELECTRONICS
AUTOMATION
Remote Control PC & PERIPHERALS
Security, HVAC,
AMR, Mouse, Keyboard,
Lighting Control, Joystick
Access Control
RESIDENTIAL/
LIGHT COMMERCIAL
CONTROL
INDUSTRIAL
Security, HVAC, CONTROL
Lighting Control,
PERSONAL
Access Control Asset Mgt,
HEALTH CARE
Process Control,
Energy Mgt
Patient monitoring
TM Freescale Semiconductor Confidential and Proprietary Information. Freescale™ and the Freescale logo are trademarks of Freescale
Semiconductor, Inc. All other product or service names are the property of their respective owners. © Freescale Semiconductor, Inc. 2005.
802.15.4/ZigBee Market Size
TM Freescale Semiconductor Confidential and Proprietary Information. Freescale™ and the Freescale logo are trademarks of Freescale
Semiconductor, Inc. All other product or service names are the property of their respective owners. © Freescale Semiconductor, Inc. 2005.
IEEE 802.15.4
Overview
TM
IEEE 802.15.4 Basics
TM Freescale Semiconductor Confidential and Proprietary Information. Freescale™ and the Freescale logo are trademarks of Freescale
Semiconductor, Inc. All other product or service names are the property of their respective owners. © Freescale Semiconductor, Inc. 2005.
Normal Channel Occupancy
TM Freescale Semiconductor Confidential and Proprietary Information. Freescale™ and the Freescale logo are trademarks of Freescale
Semiconductor, Inc. All other product or service names are the property of their respective owners. © Freescale Semiconductor, Inc. 2005.
IEEE 802.15.4 MAC
TM Freescale Semiconductor Confidential and Proprietary Information. Freescale™ and the Freescale logo are trademarks of Freescale
Semiconductor, Inc. All other product or service names are the property of their respective owners. © Freescale Semiconductor, Inc. 2005.
Freescale 802.15.14 Radio Example
• Key Features
IEEE® 802.15.4 Compliant
MC13191/2/3
MC9S08GT Family
Analog GPIO
Digital Transceiver
> 2.4GHz Receiver HCS08 CPU BDM Sensors
SPI 8-ch
> 16 selectable channels Frequency
Flash
Memory
10-Bit
MMA Series
Accelerometers
Generator ADC
> 250Kbps Data Rate Timers
RAM 2xSCI MPX Series
> 250Kbps 0-QPSK DSSS Analog Control
Logic
Pressure Sensors
SPI IIC
Multiple Power Saving Modes
Transmitter
MC Series
Buffer RAM LVI 4-ch 16-bit Ion and
> Hibernate 2.3uA IRQ COP
Timer Smoke Photo
RAM Arbiter Sensors
> Doze 35uA Arbiter Internal
Clock
Up to
Power Voltage 36 GPIO
> Idle 500uA Management Regulators Generator
RF Data Modem
Up to 7 GPIO 2V to 3.4 operating voltage
SPI Interface to Micro -40˚C to +85˚C operating
Internal Timer comparators temperature
(reduce MCU resources) Low external component count
-16.6dBm to +3.6dBm output > Requires single 16Mhz Xtal (Auto
power Trim)
> Software selectable 5mmx5mm QFN-32
> On-chip regulator > Lead-Free
Up to -92 Rx sensitivity at 1% PER
TM Freescale Semiconductor Confidential and Proprietary Information. Freescale™ and the Freescale logo are trademarks of Freescale
Semiconductor, Inc. All other product or service names are the property of their respective owners. © Freescale Semiconductor, Inc. 2005.
ZigBee
Technology
Overview
TM
ZigBee Architecture Objectives
TM Freescale Semiconductor Confidential and Proprietary Information. Freescale™ and the Freescale logo are trademarks of Freescale
Semiconductor, Inc. All other product or service names are the property of their respective owners. © Freescale Semiconductor, Inc. 2005.
ZigBee Feature Set
• ZigBee V1.0
Ad-hoc self forming networks
> Mesh, Cluster Tree and Star
Logical Device Types
> Coordinator, Router and End Device
Applications
> Device and Service Discovery
> Messaging with optional responses
> Home Controls Lighting Profile
> General mechanism to define private Profiles
Security
> Symmetric Key with AES-128
> Authentication and Encryption at MAC, NWK and Application levels
> Master Keys, Network Keys and Link Keys
Qualification
> Conformance Certification (Platform and Profile)
> Interoperability Events
TM Freescale Semiconductor Confidential and Proprietary Information. Freescale™ and the Freescale logo are trademarks of Freescale
Semiconductor, Inc. All other product or service names are the property of their respective owners. © Freescale Semiconductor, Inc. 2005.
How A ZigBee Network Forms
TM Freescale Semiconductor Confidential and Proprietary Information. Freescale™ and the Freescale logo are trademarks of Freescale
Semiconductor, Inc. All other product or service names are the property of their respective owners. © Freescale Semiconductor, Inc. 2005.
ZigBee Stack Architecture Basics
• Addressing
Every device has a unique 64 bit MAC address
Upon association, every device receives a unique 16 bit network
address
Only the 16 bit network address is used to route packets within
the network
Devices retain their 16 bit address if they disconnect from the
network, however, if the LEAVE the network, the 16 bit address
is re-assigned
NWK broadcast implemented above the MAC:
> NWK address 0xFFFF is the broadcast address
> Special algorithm in NWK to propagate the message
> “Best Effort” or “Guaranteed Delivery” options
> Radius Limited Broadcast feature
TM Freescale Semiconductor Confidential and Proprietary Information. Freescale™ and the Freescale logo are trademarks of Freescale
Semiconductor, Inc. All other product or service names are the property of their respective owners. © Freescale Semiconductor, Inc. 2005.
How a ZigBee
Network Forms?
TM
ZigBee Network Model
• Star networks support a single ZigBee coordinator with one or more ZigBee End
Devices (up to 65,536 in theory)
• Mesh network routing permits path formation from any source device to any
destination device
TM Freescale Semiconductor Confidential and Proprietary Information. Freescale™ and the Freescale logo are trademarks of Freescale
Semiconductor, Inc. All other product or service names are the property of their respective owners. © Freescale Semiconductor, Inc. 2005.
Wireless Networking Basics
• Network Scan
Device scans the 16 channels to determine the best channel to
occupy.
• Creating/Joining a PAN
Device can create a network (coordinator) on a free channel or
join an existing network
• Device Discovery
Device queries the network to discover the identity of devices on
active channels
• Service Discovery
Device scans for supported services on devices within the
network
• Binding
Devices communicate via command/control messaging
TM Freescale Semiconductor Confidential and Proprietary Information. Freescale™ and the Freescale logo are trademarks of Freescale
Semiconductor, Inc. All other product or service names are the property of their respective owners. © Freescale Semiconductor, Inc. 2005.
Network Pieces –PAN Coordinator
• PAN Coordinator
“owns” the network
> Starts it
> Allows other devices to join it
> Provides binding and address-
table services
> Saves messages until they can
be delivered
> And more… could also have i/o
capability
A “full-function device” – FFD
Mains powered
TM Freescale Semiconductor Confidential and Proprietary Information. Freescale™ and the Freescale logo are trademarks of Freescale
Semiconductor, Inc. All other product or service names are the property of their respective owners. © Freescale Semiconductor, Inc. 2005.
Network Pieces - Router
• Routers
Routes messages
Does not own or start network
> Scans to find a network to join
– Given a block of
addresses to assign
A “full-function device” – FFD
Mains powered depending on
topology
Could also have i/o capability
TM Freescale Semiconductor Confidential and Proprietary Information. Freescale™ and the Freescale logo are trademarks of Freescale
Semiconductor, Inc. All other product or service names are the property of their respective owners. © Freescale Semiconductor, Inc. 2005.
Network Pieces – End Device
• End Device
Communicates with a single
device
TM Freescale Semiconductor Confidential and Proprietary Information. Freescale™ and the Freescale logo are trademarks of Freescale
Semiconductor, Inc. All other product or service names are the property of their respective owners. © Freescale Semiconductor, Inc. 2005.
Summary
TM
Summary
TM Freescale Semiconductor Confidential and Proprietary Information. Freescale™ and the Freescale logo are trademarks of Freescale
Semiconductor, Inc. All other product or service names are the property of their respective owners. © Freescale Semiconductor, Inc. 2005.