Nathan Block
Developers have more flexibility and configuration options than ever with the Bluetooth Special Interest Group's (SIG) release of version 5.3 of the Bluetooth Core Specification in July 2021. With this release come three updates to Bluetooth® Low Energy that can improve performance, reduce power and cut down on latency for devices. These improvements are relevant for all sorts of Bluetooth Low Energy applications and devices.
Join us as we dive into the details and potential applications of these three changes.
Bluetooth devices can set different durations for a connection interval, which is how much time the devices wait between successive connection events. Longer connection intervals save power by communicating less frequently in a given time, whereas shorter connection intervals are more responsive and can send more data in a given amount of time.
Changing the connection interval introduces latency. In practice, when devices want to change the connection interval, it takes at least six connection events to negotiate that change as shown in Figure 1.
The time taken up by these six events can be a problem when the connection interval is changing from long to short in response to an external measurement. If it takes six connection events to change the connection interval from 1 second 10 milliseconds, for example, then the user will have to wait six seconds for the change to occur.
If this happens in a time-sensitive application, say a brief sensor reading, that latency may be intolerable. But, with a connection subrating, the user can reduce the amount of time it takes to change from a long connection interval to a short connection interval. This happens by telling the central and peripheral to skip connection events depending on whether data was sent in the most recent connection event.
To use a subrated connection, the user must specify two parameters: subrate factor and continuation number. The subrate factor equals the number of unused connection events between used connection events. As shown in Figure 2, a connection event must be used every subrate factor regardless of whether there is data to transmit.
The continuation number equals the number of subsequent connections devices must respond to after a non-empty connection event (a connection event that transmits data between devices). Remember that not all connection events transmit data. Some are used just to keep the connection between the devices alive.
In Figure 3, the continuation number is 1. Notice how after a non-empty connection event (5), connections continue to be processed until an empty connection event (8), after which point they are unused until the next subrated connection event (10).
This reduces the delay associated with changing the connection interval because it no longer requires a negotiation between devices. It can now happen dynamically for each connection event.
The Bluetooth® protocol breaks up the 2.4 GHz frequency band into smaller 2 MHz channels that devices hop across when communicating. Using this spread-spectrum strategy reduces packet collisions and industrial, scientific and medical radio (ISM) band interference because devices change channels frequently using either a semi-random or an ordered sequence. This sequence of channels used is called the channel map.
Previously, the central device decided the channel map by itself. It would scan the different channels in the 2.4 GHz band to inform which channels would be viable for traffic, as depicted in Figure 4. Channels with more traffic would be excluded from the map to reduce the probability of packet collisions.
Since the central device decided the priority, the peripheral device had no say in which channels were being used. As Bluetooth devices can communicate over increasingly longer distances, the channel conditions for the peripheral and the central may diverge. This divergence becomes problematic if the channel map includes channels that do not appear to have significant interference with respect to the central's location, but do have significant interference with respect to the peripheral's location, as shown in Figure 5.
With the introduction of the coded PHY to Bluetooth LE, the amount of distance Bluetooth LE connections can cover has grown drastically. Take for example electronic shelf-labels. Having just the central device control the channel map makes less sense as tags are placed all over a retail space. Channel conditions may vary greatly from one peripheral's location to another, but none of that will be reflected in the channel map, which is set by the central alone.
With the new channel classification enhancement, the peripheral can report its channel classifications to the central device to influence the channel map used in the connection between the peripheral and central. This reduces the risk of losing packets when either device is operating in congested environments by ensuring the environmental conditions of both devices are taken into account when setting the channel map.
Bluetooth® LE devices that use periodic advertising typically send information multiple times to increase the transmission's diversity and enhance the probability that a scanning device decodes it correctly. Accordingly, listener devices may receive multiple copies of the same packet and wastes power decoding the same information multiple times.
Now, in periodic advertising, transmitting devices can include an AdvDataInfo field in the packets they send to allow receiving devices to check whether they've already received this packet before. If so, the device stops receiving, which saves power on the radio layer. This practice also lets the device avoid passing the redundant packet it up to the host, too. By filtering what gets passed to the host, low-power devices can conserve more energy by ignoring redundant packets.
This is especially useful for battery powered Bluetooth LE devices that listen to Bluetooth LE beacons, like asset tracking tags. They want to reduce power consumption to as low as possible to preserve battery life, so they cannot afford to waste power processing redundant information. With this update, they will be able to achieve even better energy efficiency than before.
As an associate member of the Bluetooth SIG, TI is able to advocate for the interests of our customers and have a distinct vantage point that helps us stay ahead of innovations. With our products and expertise, we can help you maximize the benefits of Bluetooth Low Energy including:
For more information about Bluetooth Low Energy and TI's suite of Low-Power Bluetooth Low Energy Microcontrollers, visit TI's Bluetooth products page.
TI PROVIDES TECHNICAL AND RELIABILITY DATA (INCLUDING DATASHEETS), DESIGN RESOURCES (INCLUDING REFERENCE DESIGNS), APPLICATION OR OTHER DESIGN ADVICE, WEB TOOLS, SAFETY INFORMATION, AND OTHER RESOURCES “AS IS” AND WITH ALL FAULTS, AND DISCLAIMS ALL WARRANTIES, EXPRESS AND IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE OR NON-INFRINGEMENT OF THIRD PARTY INTELLECTUAL PROPERTY RIGHTS.
These resources are intended for skilled developers designing with TI products. You are solely responsible for (1) selecting the appropriate TI products for your application, (2) designing, validating and testing your application, and (3) ensuring your application meets applicable standards, and any other safety, security, or other requirements. These resources are subject to change without notice. TI grants you permission to use these resources only for development of an application that uses the TI products described in the resource. Other reproduction and display of these resources is prohibited. No license is granted to any other TI intellectual property right or to any third party intellectual property right. TI disclaims responsibility for, and you will fully indemnify TI and its representatives against, any claims, damages, costs, losses, and liabilities arising out of your use of these resources.
TI’s products are provided subject to TI’s Terms of Sale (www.ti.com/legal/termsofsale.html) or other applicable terms available either on ti.com or provided in conjunction with such TI products. TI’s provision of these resources does not expand or otherwise alter TI’s applicable warranties or warranty disclaimers for TI products.
Mailing Address: Texas Instruments, Post Office Box 655303, Dallas, Texas 75265
Copyright © 2023, Texas Instruments Incorporated