What is the direct sequence spread spectrum technique used in Zigbee and what is its processing gain?
Zigbee DSSS Processing Gain
DSSS is the physical layer technique that enables Zigbee's reliable low-data-rate communication in the congested 2.4 GHz ISM band. Understanding the processing gain is essential for designing Zigbee-based wireless sensor networks and predicting their range and interference tolerance.
Zigbee PHY Layer Details
- 2.4 GHz band: 16 channels (11-26), 5 MHz spacing, 2 MHz occupied bandwidth per channel. DSSS with O-QPSK modulation. Data rate: 250 kbps. This is the most commonly used Zigbee band due to worldwide availability
- 868 MHz band (Europe): 1 channel, BPSK modulation, 20 kbps data rate. Higher processing gain but lower data rate. Better indoor penetration than 2.4 GHz due to lower frequency
- 915 MHz band (Americas): 10 channels, BPSK modulation, 40 kbps data rate. Similar characteristics to 868 MHz with wider band availability
For Zigbee 2.4 GHz: PG = 10log₁₀(2e6/250e3) = 9.0 dB
Chip sequence length: 32 chips per 4-bit symbol
Receiver sensitivity: S = -174 + 10log₁₀(BW) + NF + SNR_req - PG
For BW=2MHz, NF=7dB, SNR=5dB: S = -174+63+7+5-9 = -108 dBm (theoretical)
Frequently Asked Questions
How does Zigbee coexist with WiFi at 2.4 GHz?
Zigbee channels 15, 20, 25, and 26 fall in the gaps between WiFi channels 1, 6, and 11 (the three non-overlapping WiFi channels). The DSSS processing gain provides an additional 9 dB of interference rejection. In practice: Zigbee can operate reliably in moderate WiFi environments but may experience packet loss when a strong WiFi transmitter is on an overlapping channel. Best practice: use Zigbee channels that do not overlap with the locally active WiFi channels. The Zigbee coordinator can scan for interference and select the clearest channel at startup.
What is the range of Zigbee compared to WiFi?
Zigbee transmit power: 0 dBm (typical) to +20 dBm (maximum). Receiver sensitivity: -100 to -104 dBm. Link budget: 100 to 124 dB. WiFi (802.11n): transmit power +15 to +20 dBm, sensitivity -70 to -80 dBm (at 54 Mbps), link budget approximately 90-100 dB. Zigbee has a comparable or slightly higher link budget than WiFi despite much lower transmit power because its very low data rate (250 kbps vs. 54+ Mbps) allows much better receiver sensitivity. Practical Zigbee range: indoor 10-30m, outdoor with line-of-sight 100-300m.
How does DSSS compare to LoRa's CSS?
DSSS (Zigbee): moderate processing gain (9 dB), moderate data rate (250 kbps), moderate range (10-300m). The processing gain is limited by the spreading factor. CSS (Chirp Spread Spectrum, LoRa): very high processing gain (up to 20 dB at SF12), very low data rate (0.3-50 kbps), very long range (1-20 km). The variable spreading factor allows trading data rate for range. LoRa achieves approximately 10-15 dB more link budget than Zigbee, but at dramatically lower data rates. Zigbee is better for: mesh networks with moderate data rates (home automation, building controls). LoRa is better for: long-range single-hop connections with low data rates (agricultural sensors, utility metering).