Bluetooth Wireless Communication
While a detailed presentation of key RF transmission modulation techniques is outside the scope of this article, we present the basic skeleton of pertinent RF information required to gain a good understanding of Bluetooth communications.
If a digital signal composed of ones and zeros must be sent, the easiest way to do it would be to flick a switch "on" and "off"—any voltage-sensitive device connected to the circuit can then receive this data. Called the "baseband signal," this raw data needs to be bundled into a wireless RF carrier wave for it to be transmitted by a radio instead of over wires. There are many ways to handle this: the classic "AM" (Amplitude Modulated) and "FM"(Frequency Modulated) signals of analog radio, and Phase-Shift modulation.
Putting information onto a carrier RF wave is called modulation, and extracting the data (on the receiver’s end) is called demodulation. Incidentally, this is exactly what a modem is: a modulator and demodulator of signals. The act of modulating a signal is called "keying," and the individual schemes go by the acronyms that reflect this: FSK (Frequency-Shift Keying), PSK (Phase-Shift Keying) and so on. Each scheme has its own advantages and disadvantages, namely hardware requirements and the inherent error rate (BER, or Bit Error Rate) at a given power level. Either way, the schemes use a single bit (one or zero) to make a change in the symbol being sent in the carrier wave, so the symbol rate is also the bitrate of the signal.
Decoding the specific modulation requirements of the Bluetooth specification are also beyond the scope of this article, but for completeness, they are:
- GFSK with a Bandwidth-Time product of 0.5
- Symbol rate of 1Ms/s (bitrate of 1 Mb/s)
- Modulation index 0.28 < k < 0.35
- Convention: 1 is positive, 0 is negative in terms of frequency delay
- Symbol timing greater than 20ppm
- A "zero crossing error" (i.e. the error in the times the frequency fluctuates between positive and negative ) no greater than 20 percent of the total time it takes to transmit one symbol.
- A minimum frequency delay of 115kHz
- Frequency delay of a 1010 sequence must be, at minimum, 80% of a delay of a 00001111 sequence.
It is disingenuous to claim that error rates drove the modulation scheme for Bluetooth—any modulation scheme is capable of low error rates and high data density, but the trade-off is a matter of SNR (signal-to-noise ratio). In order to meet the low-cost goals of the project, the Bluetooth specification settled on FSK. Amplitude modulation consumes the same amount of power as frequency modulation, however it must be designed to handle double the peak powers, which means expensive components. And though PSK has a far better SNR, the hardware components required for phase detection rule it out as a Bluetooth-enabling method of modulation. So, the Bluetooth specification takes FSK, adds Gaussian Baseband Filtering (a filter that cuts out certain frequencies in order to smooth out the jagged power transitions in the FM signal) and implements Gaussian Frequency Shift Keying (GFSK) as a modulation technique. But with enhanced data rate operation implemented in later versions of the Bluetooth specifications, two separate modulation schemes are used—GFSK for basic data rate tasks (or the basic data rate portion of the packet) and DPSK (Differential Phase-Shift Keying) for the enhanced data rate additions to the transmission.
The next core RF technique that is integral to Bluetooth operation is Frequency Hopping. While the 2.4GHz band extends from 2.4GHz to 2.483GHz, Bluetooth transmits on a channel with a bandwidth of 1MHz. So Bluetooth can utilize up to 79 channels in the band, starting at 2.402GHz and going up in increments of 1MHz. Frequency Hopping means continually changing channels while transmitting a stream of data. This is one of the techniques (in fact, the core of almost all techniques) used to mitigate interference effects in the crowded 2.4GHz band. It also assists in forming the Bluetooth security strategy. Channel hopping rates, timing synchronization between devices and channel set protocols are all defined in the Bluetooth specification.
The final area pertinent to Bluetooth operations is transmission power. The transmission power of the transmitter, the sensitivity of the receiver, the RF bandwidth available and the actual RF frequency of the transmission determine the data transmission rate and the distance an RF link is operated over. Given that the channel bandwidths and the actual frequency are pre-determined by the Bluetooth specification, this leaves transmission power and receiver sensitivity, as variables that determine the effective range of Bluetooth devices.
The SIG defines three classes of Bluetooth devices based on transmit power. These mirror the classes of radios allowed on the ISM band by the FCC (maximum power limits in Europe are lower than those of North America, and the SIG uses the maximum worldwide allowable power to determine power thresholds). Class 1 devices are usually Bluetooth add-on modules for desktop computers, powered hubs, industrial equipment and other devices that need to maximize range. Capable of reaching up to 100 meters, Class 1 devices are restricted to a maximum power of 100mW (20dBm).
Class 2 devices have a typical range of 10 meters. They're the most common Bluetooth modules in headsets and peripherals. Battery life is important here, and the maximum permitted power for Class 2 devices is 2.5mW. Class 3 devices are designed for very short-range communications (typically within 1m). Wearables are a common application well-suited to Class 3 modules with a maximum permitted power of 1mW.
The range of a Bluetooth device is also determined by receiver sensitivity—Class 1 and Class 2 devices generally share about the same level of sensitivity (-75 to -60 dB), but ranges greater than 100m can be accomplished when two Class 1 devices, or Class 1 and Class 2 devices with very high-sensitivity receivers are linked together.
Even the guideline 10m range is not a constant—physical obstacles, walls and multiple reflections all affect the distance a signal will travel. Sometimes the impact is positive, but it's usually negative.
Interference
There are many, many different classes and sources of interference for Bluetooth on the 2.4GHz band. RF signals bounce off walls, internal device components and furniture, creating a "multipath" problem at the receiver. In some cases, the signal strength of a reflected RF wave may be stronger than the direct line-of-sight signal! So, a real-world multipath scenario may be used to enhance the signal strength and range of a Bluetooth transmission (as in the case of a long, narrow corridor). More often than not, though, it'll act as a source of interference and signal loss due to the time delay between the primary and reflected signals, leading to confusion at the receiver. Yes, a Bluetooth device can interfere with itself.
Then there is Bluetooth interference from other piconets, or even other devices within the same piconet. Since each master-slave connection synchronizes its channel-hops and timings, there is low probability that a packet will be mistakenly accepted from a foreign piconet or device, but it will be received nonetheless.
The final class of interference comes from other protocols on the 2.4GHz band—microwave ovens and, a more likely culprit, Wi-Fi. A number of studies were done to determine the effect of Wi-Fi interference on Bluetooth and vice versa, and most conclude that two meters between a Bluetooth transmitter and Wi-Fi node reduces interference to operable levels. However, a Class 1 Bluetooth transmitter in close proximity to a Wi-Fi receiver can, and does, pose significant problems in maintaining a low BER, choking the data rates for both standards.
The core of most passive interference mitigation strategies is channel hopping. If a Bluetooth device determines that there is narrowband interference on a channel, the next hop will solve the problem. And since the channel hops of Wi-Fi and Bluetooth are not synchronized, the likelihood of a receiver listening at the exact time and frequency channel that a foreign device is sending drops significantly.
Active interference mitigation can be handed either collaboratively or non-collaboratively. A non-collaborative approach used in cases where the source of interference is completely unknown is rejecting signals below a certain threshold determined by the very first packet that established the signal and link. Other non-collaborative strategies can be considered filtering-based as well. Forward error-correction is also used to mitigate some of the problems arising out of interference.
Collaborative interference mitigation is used most often in devices like smartphones, where Wi-Fi, cellular and other sources of RF radiation sit on the same chip as the Bluetooth module. This is an intensive and expensive approach, requiring close coordination and high-level control. Essentially, the host device’s controller manages several important parameters in order to make sure each radio operates without interference from another in close proximity. This allows strong Bluetooth transceivers and antennas to coexist within a few square centimeters of powerful Wi-Fi transceivers.