Designing a ZigBee Network

Similar documents
AT THE END OF THIS SECTION, YOU SHOULD HAVE AN UNDERSTANDING OF THE

Modulation. Propagation. Typical frequency bands

AIM: To create a project for implement a wireless communication protocol on an embedded system- ZigBee.

The ZigBee Architecture An Introduction

Zigbee protocol stack overview

Guide to Wireless Communications, 3 rd Edition. Objectives

AN1138: Zigbee Mesh Network Performance

WIRELESS MESH NETWORKING: ZIGBEE VS. DIGIMESH WIRELESS MESH NETWORKING: ZIGBEE VS. DIGIMESH

WPAN/WBANs: ZigBee. Dmitri A. Moltchanov kurssit/elt-53306/

ZigBee. Jan Dohl Fabian Diehm Patrick Grosa. Dresden,

WIRELESS TECHNOLOGIES

Power Management Techniques for Low- Energy IoT Devices

1. IEEE and ZigBee working model.

DASH7 ALLIANCE PROTOCOL - WHERE RFID MEETS WSN. public

Davide Quaglia Assistant CS depart University of Verona, Italy

Module Introduction. This training module provides an overview of Freescale s scalable solutions for low data rate 2.4 GHz connectivity.

Design and Implementation of a Zigbee-based Communication Substrate for Wireless Sensor Networks. Zigbee

ZigBee/ David Sanchez Sanchez.

Mobile Communications

What is LoRa & LoRaWAN

AN1137: Bluetooth Mesh Network Performance

ENSC 427: COMMUNICATION NETWORKS

Design and Implementation of a Multi-hop Zigbee Network

Sensor-to-cloud connectivity using Sub-1 GHz and

Low Cost Networks, ZigBee TM &

EmberZNet Stack Release Notes

ZIGBEE AND PROTOCOL IEEE : THEORETICAL STUDY

Testing was conducted in order to compare XB3-24 homogenous, XB3-24 / XB24 mixed and XB24 homogenous network performance.

Message acknowledgement and an optional beacon. Channel Access is via Carrier Sense Multiple Access with

Control Data Systems Industrial Wireless Communications

IEEE Testing Signal Compliance of ZigBee Standard

Real-Time and Low-Power Wireless Communication with Sensors and Actuators

ZigBee in Commercial Buildings

Getting Started with ZigBee and IEEE

Wireless Personal Area Networks (WPANs) Wireless PAN

101seminartopics.com. Bluetooth Based Smart Sensor Networks

Towards a Zero-Configuration Wireless Sensor Network Architecture for Smart Buildings

ZigBee Wireless Transceiver Engineering Options

UG103.2: Zigbee Fundamentals

Link Estimation and Tree Routing

Design and implementation of ZigBee/IEEE Nodes for

Outline. MAC (Medium Access Control) General MAC Requirements. Typical MAC protocols. Typical MAC protocols

WM1030 Rev Introduction. Ultra low power DASH7 Modem. Applications. Description. 868 / 915 MHz. Features. WIZZILAB Technical datasheet 1/10

Presented by Viraj Anagal Kaushik Mada. Presented to Dr. Mohamed Mahmoud. ECE 6900 Fall 2014 Date: 09/29/2014 1

EmberZNet Stack Release Notes

ZIGBEE. Erkan Ünal CSE 401 SPECIAL TOPICS IN COMPUTER NETWORKS

LXRS and LXRS+ Wireless Sensor Protocol

SH1030 Rev Introduction. Ultra low power DASH7 Arduino Shield Modem. Applications. Description. 868 MHz. Features

By N.Golmie Presented by: Sushanth Divvela

Best Practice for Smart Classroom Deployments

Configuring RF Profiles

IEEE / ZigBee

By Nick Giannaris. ZigBee

Mesh networking with ZigBee. A dive into the ZigBee ecosystem

Outline. TWR Module. Different Wireless Protocols. Section 7. Wireless Communication. Wireless Communication with

Wireless Connectivity Options for IoT. By: MIST Makers John Varela and Nicholas Landy

Gigabit WiFi: Utilising ac on Campus Considerations and Benefits

Reindeer Technologies Pvt Ltd Excellence through Innovation

CM5000 DATASHEET v0.1

Disruptive Innovation Demonstrating WiFi3 vs ac

RESOURCES. By: Chris Downey, Laird Technologies Product Manager, Telematics & Wireless M2M Date: May 25, 2011

IPv6 Stack. 6LoWPAN makes this possible. IPv6 over Low-Power wireless Area Networks (IEEE )

Wireless Embedded Modules

WP-PD Wirepas Mesh Overview

Junseok Kim Wireless Networking Lab (WINLAB) Konkuk University, South Korea

KW41Z IEEE and BLE Coexistence Performance

TI SimpleLink dual-band CC1350 wireless MCU

Amarjeet Singh. February 7, 2012

Zigbee Routing Opnet Simulation for a Wireless Sensors Network

Radiocrafts Embedded Wireless Solutions

Designing Cisco Wireless Enterprise Networks (WIDESIGN)

CHAPTER 3 BLUETOOTH AND IEEE

Eclipse IOT day April 3016 LoRa Overview. Wyres SAS 2016

Wzzard Sensing Platform Network Planning and Installation. Application Note

Introduction to WiFi Networking. Training materials for wireless trainers

Indriya_DP_03A14. Features. Block Diagram. XBEE based Wireless Sensor Network development platform

Multi-hop LoRaWAN: including a forwarding node

Lecture 16: QoS and "

Wireless Body Area Networks. WiserBAN Smart miniature low-power wireless microsystem for Body Area Networks.

1 / 11. Battery-less sensor nodes for /ZigBee wireless networks. Authors: M. Meli, M. da Silva

Wireless Embedded Systems ( x) Ad hoc and Sensor Networks

Realising WACNet Through a Zigbee-based Architecture

INTERNET OF THINGS. Eerst denken, dan doen! ELECTRONIC COMPONENT SOLUTIONS LIGHTING

CS263: Wireless Communications and Sensor Networks

15-441: Computer Networking. Wireless Networking

1. General Description

Cutting the Cord: A Robust Wireless Facilities Network for Data Centers

Cisco Exam Conducting Cisco Unified Wireless Site Survey V2 Version: 10.0 [ Total Questions: 193 ]

Wireless Sensor Networks CS742

Wide Open Spaces or Mostly Wireless, Most of the Time

Chapter 5 Ad Hoc Wireless Network. Jang Ping Sheu

UG103.2: Zigbee Fundamentals

Wireless Sensor Networks

By Ambuj Varshney & Akshat Logar

CHAPTER 2 WIRELESS SENSOR NETWORKS AND NEED OF TOPOLOGY CONTROL

Embedded Smart Home System Based on ZigBee Song Chi

WIRELESS TECHNOLOGIES FOR THE INTERNET OF THINGS

Mobile Communications Chapter 7: Wireless LANs

Project: IEEE P Task Group for Wireless Smart Sensors

Communications Options for Wireless Sensor Networks. Marco Zennaro and Antoine Bagula ICTP and UWC Italy and South Africa

Transcription:

Wireless Control That Simply Works Designing a ZigBee Network ESS 2006, Birmingham David Egan Ember Corporation Copyright 2004 ZigBee TM Alliance. All Rights Reserved.

Contents: Typical Network Design Issues Traffic Patterns in different applications Bandwidth, Latency, Reliability Data Throughput in a ZigBee network Handling Interference with 802.11 Interference Detection and Channel Change Asymmetric Links Choosing Single Chip vs Dual-chip Solutions 2

Traffic Requirements of Applications Bandwidth Estimate message sizes, frequency Identify high bandwidth nodes Be conservative ensure a margin. Actual throughput can vary with number of hops, security, retries, from 46kbps to 15kbps. Latency Estimate minimum latencies Estimate path lengths Conservative approximation: 10-15ms/hop in quiet networks Reliability Depends on latency, traffic High latencies and low traffic mean high reliability is easy 3

Network Patterns: Sensor Most data flows in to central gateway device Occasional data flows from gateway device to outlying devices Data almost never flows between adjacent devices 4

Network Patterns: Control May be no central gateway node Data often flows from a local control node to a nearby actuator node Data almost never flows long distances across the network 5

Network Patterns: Lessons The same physical topology results in very different results for bandwidth usage, latency The networks experience different failure modes Networks may be a combination of the two 6

Bandwidth and Topology Even identical devices may experience different loading! Bandwidth must be estimated as the maximum total passing through a device: NB: leave a margin! 7

Typical Throughput APS Messages Zigbee APS Messages EM250 - No Security, No Retry 50000 45000 40000 35000 30000 25000 20000 15000 10000 5000 Application Throughput Throughput Data is for 91 byte payload Highest throughput at single hop smallest interpacket delay Peaks at 46 kbps for application throughput Performance drops after 2 hops due to packet loss Even at 5 hops, performance is higher than 25 kbps S1 Hops S3 S5 62.5 58.6 53.7 48.8 31.3 34.2 39.1 43.9 millisecond delay 15.6 0 Note: Throughput is based on expected throughput given the interpacket spacing and adjusted based on percent of successful packets from the test 8

Typical Throughput Adding APS Reply Zigbee APS MessageEM250 - No Security, APS retry Throughput Data is for 91 byte payload 50000 Highest throughput at single hop with 45000 smallest interpacket delay 40000 Peak remains at 46 kbps for application throughput 35000 30000 25000 20000 15000 10000 5000 Application thoughput Performance drops quickly as reply consumes additional bandwidth There is a throughput penalty for knowing if message was delivered S1 hops S3 S5 62.5 58.6 53.7 48.8 31.3 34.2 39.1 43.9 millisecond delay 15.6 0 9

Typical Throughput Adding Security S1 hops S3 S5 S7 Zigbee APS Messages EM250 - Security, No retry Throughput Data is for 73 byte payload (reduced 50000 maximum payload due to security) 45000 Highest throughput at single hop smallest interpacket delay 40000 Peaks at 37 kbps for application 35000 throughput 62.5 58.6 15.6 31.3 34.2 39.1 43.9 48.8 53.7 millisecond delay 15000 10000 5000 0 30000 25000 20000 Application throughput Smaller max payload decreases maximum throughput Performance drops after 2 hops due to packet loss Even at 7 hops, performance is higher than 15 kbps 10

15.4/.11 Channel Allocation - US US 802.11 802.15.4 Some 15.4 channels are better than others even in a fully populated.11 network 11, 15, 20, 25 and 26 best in US. Doesn t help in unmanaged.11 networks 11

15.4/.11 Channel Allocation - Europe European 802.11 802.15.4 Some 15.4 channels are better than others even in a fully populated.11 network: 15, 16, 21, 22 in Europe Doesn t help in unmanaged.11 networks 12

Avoiding 802.11 Interference 4 Main Objectives Start with the best link budget possible for your application Maximize output power Get the best performing receiver you can Maximise distance from 802.11 interference to ZigBee devices Maximise frequency separation between 802.11 and ZigBee networks Ensure you have enough time-separated retries - if no NWK retries present, make sure your application retries (APS or self-created) 13

Getting the Best Link Margin -55-60 -65-70 -75-80 -85-90 -95-100 802.11g (OFDM/54Mbps) Interferer on Channel 1 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 802.15.4 Channel em2420 em250 em250 (boost) There are two main factors in getting the best link margin TX Power Receiver sensitivity/immunity to interference TX Power - battery life, cost, and design complexity - on-chip vs offchip PA Receiver - performance tradeoffs are built in by vendor - can be tough to extract from datasheets Antenna - a factor if you also control the 802.11 radio 14

Maximising Frequency Separation The best technique by far for protecting against 802.11 interference appears to be maximizing the frequency separation of the ZigBee and 802.11 channels Two main techniques Active deployment/installation control of both ZigBee and 802.11 channels Offers the best flexibility for maximizing ZigBee and 802.11 density May be possible in some buildings Automatic channel selection At network start, automatically detect and avoid 802.11 During operation, move the network if needed 15

Dealing with Interference: Detection Detect interference by tracking the reporting behavior of devices Low LQI / High RSSI on inbound messages may assist decision In a large network, multiple devices need to be involved in the detection may be interferers on different channels in different areas of a building. Intelligent selection of initial network channel can help avoid problems. Channels 11, 26 are at the extremes of the 2.4GHz range. Channels 15, 16, 21, 22 sit between the non-overlapping European 802.11 channels (not guaranteed!). 16

Dealing with Interference: Channel Change Sensor-type networks can use the gateway device to broadcast a channel change; other devices must automatically rejoin in this case. Devices that don t hear the broadcast must search for the new network channel. Control-type networks with an application-required central node can allow that node to control the change. Other networks must devise a method for deciding to change the channel : must avoid multiple-network problems. Pre-selection of a subset of 802.15.4 channels makes finding the network on a new channel easier. 17

Asymmetric Links 95% B 99% 15% D A 80% C 99% Asymmetric links are common in real deployments Important that only symmetric links are used when performing route discovery, ensuring the best bidirectional link is established Typically this is handled by the network stack. 18

Single Chip ZigBee vs Dual Chip ZigBee Single Chip Lowest BOM cost Lowest Power Consumption for battery operated devices such as light switches, temperature sensors etc. Smallest pcb footprint Ideal for new battery-operated products, especially sensors, remote controls, switches. Dual Chip Existing Product may already contain a microcontroller. Retrofit easier than redesign. Gateway device may require more resources than single chip can provide. Engineering team may not want to take on another micro, tools etc. 19

Single Chip ZigBee APP APP ZDO USER APPLICATION EmberZNet STACK MAC+PHY SSP APS NWK MEDIUM ACCESS (MAC) PHYSICAL RADIO (PHY) IEEE 802.15.4 compliant radio AND a microcontroller in a single chip. => No external micro required. Low passive component count for lower BOM cost. Small pcb footprint 20

Dual Chip ZigBee / uc + RF Transceiver USER APPLICATION EmberZNet Stack MAC Host Micro SPI APP SSP APP ZDO APS NWK MAC+PHY MEDIUM ACCESS (MAC) PHYSICAL RADIO (PHY) IEEE 802.15.4 compliant Physical (PHY) and Medium Access (MAC) layers in RF Transceiver. ZigBee Stack and Application runs on the host micro, communicating with the RF Transceiver via high speed (SPI) serial line. Processor support may be limited due to the work required to port a full ZIgBee stack. 21

ZigBee Network Processor USER APPLICATION ANY PROCESSOR APP APP ZDO EmberZNet STACK MAC+PHY SPI, UART SSP APS NWK MEDIUM ACCESS (MAC) PHYSICAL RADIO (PHY) ZigBee Networking Stack runs on ZigBee Network Processor Applications run on a host processor communicating with the Network Processor via high-speed serial port. Ideal for Gateway Applications and Retrofit of ZigBee to existing products. 22

Wireless Control That Simply Works Any Questions? Copyright 2004 ZigBee TM Alliance. All Rights Reserved.