mobile | classic
Dataweek Electronics & Communications Technology Magazine





Follow us on:
Follow us on Facebook Share via Twitter Share via LinkedIn


Search...

Electronics Buyers' Guide

Electronics Manufacturing & Production Handbook 2019


 

Choosing an RF transceiver for ZigBee
26 November 2008, Telecoms, Datacoms, Wireless, IoT

Designed for sensing and control applications, the ZigBee wireless standard is based on the IEEE 802.15.4 standard and was developed by the ZigBee Alliance (www.zigbee.org). The specification addresses the network, security and application layers that are situated on top of the IEEE 802.15.4 low-data-rate wireless personal area network (WPAN) standard.

One of the most important decisions for designers of systems based on the ZigBee protocol is the choice of the radio frequency (RF) transceiver. The factors affecting this choice are many and complex, so it is important that designers first understand the fundamental concepts of the ZigBee standard.

Designers choosing a transceiver need to understand the features of devices from different vendors and the ways in which these features affect the performance of their system. They also need to understand the available development tools tied to these transceivers, to ensure that time to market is minimised.

When selecting a transceiver for use with the ZigBee protocol, it is important to consider the impact of the choice on the complete system and also to think about the features of the transceiver that can offer system enhancements.

It is, of course, important to consider factors such as cost, current and maximum output power when choosing a transceiver, but understanding the features supported by the transceiver can have a large impact on the true system cost.

For example, the maximum length of an IEEE 802.15.4 MAC packet is 127 Bytes, including a 16-bit CRC value that helps to verify the frame integrity. Most transceivers provide built-in CRC modules that automatically calculate these values, filter incoming packets based on a successful CRC, and pad outgoing packets with a correct CRC. In addition, IEEE 802.15.4 optionally uses an acknowledged data-transfer mechanism, in which all frames with a special ACK flag are acknowledged by its receiver. If the frame is transmitted with an ACK flag and the acknowledgement is not received within a specified time, the transmitter will retry the transmission a fixed number of times before declaring an error.

Some transceivers provide automatic transmission of ACK packets to reduce the overhead placed on the system controller by reading, processing and responding to the incoming packet in the short amount of time allowed for a successful acknowledgement. Even fewer transceivers support automatic processing of ACK packets, which can further reduce the host controller overhead.

Figure 1. An IEEE 802.15.4 transceiver, such as Microchip’s MRF24J40 can offer a range of features, such as a built-in security module, to simplify ZigBee protocol system design
Figure 1. An IEEE 802.15.4 transceiver, such as Microchip’s MRF24J40 can offer a range of features, such as a built-in security module, to simplify ZigBee protocol system design

Automatic MAC retransmission on transmission failure can help to limit the host controller interaction with the transceiver. This removes the burden of having to check and wait for an acknowledgement. Understanding these key differences between different transceivers can save the host controller several KB of program memory, as well as several milliseconds of CPU time per transmitted packet.

Nodes that act as co-ordinators or routers in a network play a vital role in extending the network to reach all the end devices. The output power of these nodes can clearly affect the number of routers required to cover an area. However, a large output power has side effects. Because all the devices on the network share the same channel, every node within a device’s radio range reduces its transmission potential. Routers that do not need to transmit at high power should have their output reduced to the minimum required. This requires a selectable output gain facility on the transceiver.

The other key parameter that affects the number of nodes needed on a network is receiver sensitivity. As with output power, sensitivity has a potential system cost, because increased sensitivity can mean that the node will determine that the channel is busy more frequently, since it can hear more nodes. An adjustable clear-channel assessment threshold feature, when used in conjunction with a lowered output power, can allow transmission of packets locally without causing collisions in the rest of the network.

The ZigBee specification uses an encryption scheme very similar to the IEEE 802.15.3 security suite. Most IEEE 802.15.4 transceivers support the IEEE 802.15.4 encryption modes. This feature is extremely useful in applications where the packets are encrypted, according to the IEEE 802.15.4 specification.

Beyond this, some transceivers support an additional mode in which the security module can be used in a standalone mode, so that it can be re-used for the ZigBee specification security layer requirements. This hardware option can save up to 10 KB of code and several milliseconds of processing, by freeing the microcontroller from encrypting/decrypting the packet in firmware. This simple feature allows applications to save both cost and power by having a microcontroller with a smaller memory and by being able to place the application in a low-power mode sooner.

IEEE 802.15.4 uses carrier sense, multiple access with collision avoidance (CSMA-CA) to access the airwaves. This helps to avoid collisions by checking the channel before transmitting. The CSMA-CA algorithm has a random exponential back-off, when it senses that a collision could occur. This helps to randomise when nodes transmit, to reduce the likelihood of future collisions.

Figure 2. In addition to supplying transceivers such as the MRF24J40 shown here, vendors such as Microchip offer low-cost ZigBee protocol analysers, graphical stack configuration tools and royalty-free stacks with source code to shorten ZigBee protocol development cycles
Figure 2. In addition to supplying transceivers such as the MRF24J40 shown here, vendors such as Microchip offer low-cost ZigBee protocol analysers, graphical stack configuration tools and royalty-free stacks with source code to shorten ZigBee protocol development cycles

To work effectively, this back-off must be fairly accurate. Without hardware support, this can be a burden on the host controller – both from a code size and a system usage point of view. In systems with a transceiver that does not have built-in support for the CSMA-CA algorithm, the total system current will increase because the host controller is busy servicing and monitoring the RF transceiver, instead of finishing its pending tasks.

Support for the designer is important, to ensure that an effective and robust design can be developed in the minimum amount of time. An easy-to-use stack configuration tool is extremely important, to minimise the size and run-time of the software stack by including only the features that are required by the application. Also, access to the software stack source code can help in understanding how the stack works and what impact it may have on the application. Finally, a full-featured protocol analyser that can decode packets to the highest layers of the stack is important during the development cycle, to debug the system.

Summary

Highly integrated RF transceivers, which require very few external components, can greatly simplify the task of designers developing complete ZigBee protocol platforms. To keep system costs to a minimum, designers should select a transceiver that can work with the wide range of 8- and 16-bit microcontrollers on the market today. The entire system design and the key features of the transceiver that enhance the system should be considered when selecting a transceiver. Finally, having the right tools to develop and debug the system can greatly reduce time to market.


Credit(s)
Supplied By: Tempe Technologies
Tel: +27 11 455 5587
Fax:
Email: willem.hijbeek@tempetech.co.za
www:
  Share on Facebook Share via Twitter Share via LinkedIn    

Further reading:

  • Free software for viewing S-parameters
    28 August 2019, RFiber Solutions, Telecoms, Datacoms, Wireless, IoT
    At this year’s International Microwave Symposium in Boston, Massachusetts,pSemi (formerly Peregrine Semiconductor), announced it is offering the industry free beta software for viewing S-parameters. ...
  • What are metamaterials and how do they relate to antennas?
    28 August 2019, RF Design, Telecoms, Datacoms, Wireless, IoT
    Metamaterials are an increasingly researched topic, especially where it pertains to modern antenna structures. However, there is a lot of confusion about exactly what metamaterials are and how they are ...
  • Li-Fi illuminates the way to higher data rates
    28 August 2019, TRX Electronics, Telecoms, Datacoms, Wireless, IoT
    Radio spectrum is a precious resource and it quickly gets filled up. It did not take long for users of Wi-Fi in urban areas to understand how interference from nearby routers would affect the communications ...
  • Managing the IoT on an energy budget
    28 August 2019, Altron Arrow, Telecoms, Datacoms, Wireless, IoT, DSP, Micros & Memory
    Historically, users wanted MCUs because they could process data and solve problems faster than a human could. MCUs also help make products more convenient and consistent in behaviour. The microcontroller ...
  • Accounting for PIM with distributed antenna installations
    28 August 2019, RF Design, Telecoms, Datacoms, Wireless, IoT
    Passive intermodulation (PIM) distortion is the result of discontinuities, metal-to-metal contact, and material properties that lead to nonlinear characteristics of typically linear passive transmission ...
  • FiRa Consortium seeks to revive UWB
    28 August 2019, Telecoms, Datacoms, Wireless, IoT
    A new consortium has been launched in an effort to resurrect UWB (Ultra-Wideband) technology, which gradually faded into obscurity following its initial release due mainly to its inability to compete ...
  • Project kickstarts SA’s use of TV white spaces
    28 August 2019, Telecoms, Datacoms, Wireless, IoT
    The US Trade and Development Agency (USTDA) has awarded a grant to support a project to help improve Internet access to rural areas of South Africa. The grant, which focuses on facilitating export opportunities ...
  • iCorp Technologies launches its new IoT slogan
    28 August 2019, iCorp Technologies, Telecoms, Datacoms, Wireless, IoT
    create |connect |communicate, iCorp Technologies’ new slogan, was launched on 1 August 2019. This comes as a very deliberate progression from the company’s previous slogan, ‘inspire| innovate | implement,’ ...
  • Connectorised RF amplifier and filter modules
    28 August 2019, RFiber Solutions, Telecoms, Datacoms, Wireless, IoT
    Atlanta Micro has launched a new line of connectorised modules for some of its most popular parts. These modules are made of aluminium and offer RF shielding along with field-replaceable SMA connectors ...
  • High-frequency RF couplers
    28 August 2019, RF Design, Telecoms, Datacoms, Wireless, IoT
    Pasternack has launched a new series of high-frequency couplers that are ideal for 5G telecommunication, automotive radars, satellite communication, point-to-point radios and aerospace applications. The ...
  • GNSS boards for dead-reckoning
    28 August 2019, Electrocomp, Telecoms, Datacoms, Wireless, IoT
    The Locosys RTK-4671-SHDR/MHDR is a high-precision GNSS RTK (global navigation satellite system real-time kinematics) solution targeting the smart driving and lane-level navigation markets. The newly ...
  • Standalone multi-radio modules
    28 August 2019, RF Design, Telecoms, Datacoms, Wireless, IoT
    The NINA-W10 series from u-blox comprises standalone multi-radio 2,4 GHz MCU (microcontroller) modules that support Wi-Fi 802.11b/g/n and Bluetooth v4.2 (Bluetooth BR/EDR and Bluetooth low energy) communications. ...

 
 
         
Contact:
Technews Publishing (Pty) Ltd
1st Floor, Stabilitas House
265 Kent Ave, Randburg, 2194
South Africa
Publications by Technews
Dataweek Electronics & Communications Technology
Electronics Buyers’ Guide (EBG)

Hi-Tech Security Solutions
Hi-Tech Security Business Directory

Motion Control in Southern Africa
Motion Control Buyers’ Guide (MCBG)

South African Instrumentation & Control
South African Instrumentation & Control Buyers’ Guide (IBG)
Other
Terms & conditions of use, including privacy policy
PAIA Manual





 

         
    Classic | Mobile

Copyright © Technews Publishing (Pty) Ltd. All rights reserved.