Z-Wave Technology: Tutorial on Features, Frequency, and Network

zwave
iot
wireless network
home automation
protocol

This tutorial provides an overview of Z-Wave technology, covering its basic features, frequency bands, network architecture, frame structure, protocol stack, physical layer, security aspects, and MAC layer functionalities.

Z-Wave is a prominent wireless technology in the realm of the Internet of Things (IoT). Devices utilizing Z-Wave operate within the ISM band, making it well-suited for low-bandwidth data communication applications such as security sensors, home automation systems, and alarms. In Europe, it uses 868.42 MHz, while in the USA, it operates at 908.42 MHz.

The following table outlines the key features of Z-Wave technology, which is widely adopted in IoT due to its low power consumption and low data rate capabilities. The Z-Wave protocol, including encryption, was developed by Sigma Designs, Inc. While an open-source implementation of the Z-Wave protocol stack, known as Open-ZWave, is available, it lacks support for the security layer. The PHY and MAC layer specifications for Z-Wave are defined in the ITU-T G.9959 standard.

SpecificationZ-Wave Support
StandardITU-T G.9959 (PHY and MAC)
RF Frequency Range868.42 MHz in Europe, 908.42 MHz in US
Data rate9.6, 40, 100 Kbps
Maximum Nodes232
ArchitectureMaster and slave in mesh mode
MAC layerCSMA/CA
RF PHY modulationFSK (for 9.6kbps and 40 kbps), GFSK with BT=0.6 (for 100 kbps)
CodingManchester(for 9.6kbps), NRZ(for 40 and 100 kbps)
Distance30 meter in indoors, 100 meters in outdoors

Table-1: Z-Wave Features

Z-Wave Frequency Bands

The following table details the frequency bands, data rates, and channel bandwidths supported by Z-Wave technology across various regions of the world.

RegionRF Center Frequency (G.9959/MHz)Data RateChannel Width
Australiaf ANZ1 /919.80,f ANZ2 /921.40,100/ 40/9.6Kbps400/ 300/300KHz
BrazilSame as Australia
CanadaSame as USA
ChileSame as USA
Chinaf CN1 /868.40,100/ 40/9.6Kbps400/ 300/300KHz
European Unionf EU1 /869.85, f EU2 /868.40100/ 40/9.6Kbps400/ 300/300KHz
Hong Kongf HK1 /919.80100/ 40/9.6Kbps400/ 300/300KHz
Indiaf IN1 /865.20100/ 40/9.6Kbps400/ 300/300KHz
Israelf IL1 /916.00100/ 40/9.6Kbps400/ 300/300KHz
Japanf JP1 /922.50, f JP2 /923.90,f JP3 /926.30100/100/ 100 kbps400/400/ 400 KHz
Koreaf KR1 /920.90,f KR2 /921.70,f KR3 /923.10100/100/ 100 kbps400/400/ 400 KHz
Malaysiaf MY1 /868.10100/40/ 9.6Kbps400/300/ 300KHz
MexicoSame as USA
New ZealandSame as Australia
Russiaf RU1 /869.00100/40/ 9.6Kbps400/300/ 300KHz
SingaporeSame as EU
South AfricaSame as EU
TaiwanSame as Japan
UAESame as EU
USAf US1 /916.00, f US2 /908.40100/40/ 9.6Kbps400/300/ 300KHz

Table-2: Z-Wave Frequency Bands

Z-Wave Network

The Z-Wave network comprises controllers (one primary and potentially multiple secondary controllers) and slave devices.

z-wave network

Controllers are the nodes that initiate control commands and transmit them to other nodes within the network. Slave devices, on the other hand, respond to received commands and execute them. They can also forward commands to other nodes, facilitating communication with nodes outside the controller’s direct radio frequency range.

Controllers

A controller device maintains a full routing table for the mesh network, enabling it to communicate with all nodes. There are two types of controllers:

  • Primary Controller: The first controller to create a new Z-Wave network becomes the primary controller. It serves as the master controller and is unique to each Z-Wave network. The primary controller can include and exclude nodes and manages the allocation of node IDs, thus maintaining the network’s topology.
  • Secondary Controllers: These are added to the network via the primary controller. They lack the ability to include or exclude nodes but receive copies of the routing tables from the primary controller.

Slaves

Slave devices/nodes receive and execute commands. They cannot directly transmit information to other slave nodes or controllers unless instructed to do so within the received commands. Slave nodes do not compute routing tables but can store them and act as repeaters.

Home ID

The Z-Wave protocol utilizes a 32-bit Home ID to differentiate networks. This unique identifier is pre-programmed in all controller devices. Initially, all slave nodes have a Home ID value of zero, which they need to communicate within the network. The controller communicates this ID to the slaves. Controllers can exchange Home IDs, enabling multiple controllers to manage slave nodes.

Node ID

The Node ID is an 8-bit value assigned to slave nodes by the controller. These IDs are used to address individual nodes within a Z-Wave network and are unique within a network defined by a specific Home ID.

Z-Wave Frame Structure

z-wave frame types

As depicted in Figure 1, the Z-Wave frame consists of a preamble, SOF (Start of Frame), frame data, and EOF (End of Frame) symbol. The data portion is either Manchester coded or NRZ coded, depending on the data rate.

The MAC layer manages the RF spectrum. The data part originates from the upper layers, and the Z-Wave frame is formed at the MAC/PHY layers. Following this, the frame is transmitted via the RF antenna after appropriate radio frequency conversion using an RF transceiver.

Z-Wave Protocol Stack

The Z-Wave protocol stack includes the PHY layer, MAC layer, Transport layer, Network layer, and Application layer. Each layer performs specific tasks in addition to servicing its peers.

Z-Wave Physical Layer (ZWave PHY)

The Z-Wave Physical layer handles preamble insertion into the Z-Wave frame, manages modulation and demodulation, selects RF channels, and oversees data frame transmission and reception. Additional details can be found by reading more on the topic.

Z-Wave Security

The open protocol architecture of Z-Wave does not inherently specify security layer specifications, making it implementation-specific. The Z-Wave security layer ensures secure communication between nodes and between controllers and nodes.

X10 Protocol: Advantages and Disadvantages

X10 Protocol: Advantages and Disadvantages

Explore the pros and cons of the X10 protocol for home automation. Learn about its benefits and drawbacks as a powerline communication technology.

x10
home automation
protocol