The Industrial Wi-Fi Shop Podcast – Ep. 6 Bluetooth!

The Basics

  • The IEEE standardized Bluetooth as 802.15.1 but no longer maintains the standard
  • Bluetooth is managed by the Bluetooth Special Interest Group of which there are over 35,000 member companies
  • As of 2021 over 4 BILLION Bluetooth integrated chipsets are shipped annually

Geek Stuff

  • Frequencies used:
    • 2.400 GHz through 2.4835 GHz
    • However, there are “guard” or buffer bands at the top and bottom of this range with the bottom being 2 MHz wide and the top being 3.5 MHz wide
    • Actual used frequency range is 2.402 GHz through 2.480 GHz
  • Channels:
    • Versions prior to 4.0, what is referred to as “Bluetooth Classic”
      • 79 channels at 1 MHz wide
    • Versions 4.0 and up, better known as Bluetooth Low Energy (BLE)
      • 40 channels at 2 MHz wide
        • 3 channels are referred to as primary advertisement channels which are channels 37, 38 & 39
        • 37 = 2.402 GHz, 38 = 2.426 GHz, 39 = 2.480 GHz
        • That leaves 37 channels to use for data
  • Data rates:
    • Bluetooth Classic
      • Original Bluetooth using GSFK (Gaussian frequency-shift keying) modulation, said to be operating in basic rate (BR) up to 1Mbit per second
      • Later versions (2.0+) using DPSK (Differential phase-shift keying) modulation, described as Enhanced Data Rate or EDR
        • EDR2 – 2Mbit per second
        • EDR3 – 3Mbit per second
      • 2019 Apple published an extension referred to as HDR using DQPSK (Differential quadrature phase-shift keying)
        • HDR4 – 4Mbit per second
        • HDR8 – 8Mbit per second
    • Bluetooth Low Energy (BLE)
      • Bluetooth 4 – up to 1Mbit per second
      • Bluetooth 5 – up to 2Mbit per second
  • Range for the most part is based upon class, and class is based upon power levels. However, there is lots of conflicting data on this due to sales and media hype of various device manufacturers
    • Class 1 devices
      • Power ranges from 10 to 100 mW
      • Range considered up to approximately 100 meters
      • BD/EDR devices loosely called class 1.5 are technically considered class 1 with power ranging from 2.5 to 10 mW. Max theoretical range being approximately 50 meters
    • Class 2 devices
      • Power ranges from 1 to 2.5 mW
      • Range considered up to approximately 10 meters (or 33 feet)
    • BLE
      • BLE 4 – approximate max theoretical range – 100 meters
      • BLE 5 – approximate max theoretical range – 400 meters
    • ***It is important to note that in all cases, no matter the class of the device, the environment plays an important role in real world range and data throughput***
  • Reliability
    • Adaptive Frequency Hopping
      • Adaptive frequency hopping helps ensure data successfully makes its way through the noise. Individual messages are broken into small data packets, which are sent over different channels in a pre-defined sequence, known only to the transmitting and receiving devices. As many as 1600 channel-switches can take place every second. Any data packets that don’t reach their destination correctly are re-sent, and if the problem was caused by the channel, this gets flagged up so it can be avoided in the future.
      • In noisy environments, or where data is transmitted over longer distances (more on this below), there’s a chance of bit errors slipping into messages. Bluetooth can detect these, and take action to avoid unreliable channels, if they’re the cause.
      • It can also use what’s called ‘forward error correction’ (FEC) to rectify errors once data arrives at the receiver.
        • What is FEC? – FEC is a digital signal processing method that reduces the bit error rate of communication by adding parity bits to the data at the transmitter side so that the receiver side then uses those parity bits to detect and correct errors that may have been introduced over the course of the transmission
  • Security
    • adaptive frequency hopping that we talked about earlier sees the transmitter send out data on a pseudo-random sequence of channels. Only the transmitter and the receiver know which channels these will be
    • Bluetooth 4.2 and up use pairing mechanisms. These mechanisms prevent data in transit from being vulnerable to man-in-the-middle attacks
    • Once connected/paired to target devices, BLE can then be put into a hidden/invisible mode that turns off local scanning for other BLE devices and makes the configured BLE device non-discoverable
    • Security levels (source – https://www.allaboutcircuits.com/technical-articles/bluetooth-le-security-modes-and-procedures-explained/)
      • Sec Lvl 1 – No security
        • No authentication, no encryption. Easy to use/set up, vulnerable to everything
      • Sec Lvl 2 – Unauthenticated pairing with encryption
        • No authentication but adds encryption – easy to use, data in transit is secured with 128-bit AES but pairing is vulnerable to everything
        • WiFi comparison – WPA2 with no management frame protection
      • Sec Lvl 3 – Authenticated pairing with encryption
        • Pairing is protected by using either out of band associations OR a passkey method then followed up with 128-bit AES encryption
        • Eliminated man in the middle type attacks
      • Sec Lvl 4 – “Authenticated LE Secure Connections Pairing with Encryption Using a 128-Bit Strength Encryption Key”
        • “Devices at this level implement pairing via the LE Secure Connections pairing method, superseding the legacy method. This pairing process incorporates the Numeric Comparison association model and requires a robust 128-bit strength encryption key.”

Functionality & use cases for industry and manufacturing

  • Serial ports are widely used in industrial applications.
    • Serial Port Profile (SPP) emulates a full serial interface, complete with hardware handshaking via Bluetooth.
    • serial cables can be replaced with a wireless Bluetooth link, with either multi-point or point-to-point operation
  • can be used in remote I/O applications in industry and manufacturing in a similar fashion as WirelessHART or ISA100 Wireless
  • its reliability makes it ideal for a variety of wireless sensor types from tank farm levels to preventive maintenance applications like vibration, temperature and moisture sensors
  • Smart building sensors (that’s right, more sensors…)
    • HVAC connections with central controller capturing all types of information
      • Temperature
      • Humidity
      • Air quality
      • Even occupancy sensing data
    • Wireless thermostats
    • Automated lighting controls
  • RTLS and other location tracking
    • Personnel tracking in hazardous locations
    • Industrial truck / fork truck tracking and association with “hit-not” devices for foot traffic
  • Robotics and industrial mobility
    • Automated Guided Vehicles (AVG’s)
    • Autonomous Mobile Robots (AMR’s)
    • Collaborative Robots (cobots)
    • These machines require local connectivity for safe navigation within dynamic environments. Robot tasks or routes can be updated at any time with a direct Bluetooth connection between the machine and the user’s mobile device or industrial Human-Machine Interface (HMI)

Sources and other related material:

https://semfionetworks.com/blog/ble-advertisment-channels/  (Francois from Clear to Send)

https://www.phoenixcontact.com/en-us/technologies/communication-technologies/industrial-bluetooth

https://www.allaboutcircuits.com/technical-articles/bluetooth-le-security-modes-and-procedures-explained/

https://response.nordicsemi.com/the-complete-guide-to-bluetooth-low-energy

https://blog.nordicsemi.com/getconnected/things-you-should-know-about-bluetooth-range

https://www.u-blox.com/en/blogs/insights/seven-reasons-why-bluetooth-perfect-industrial-iot

If you would like to know more about our guests, check them out on LinkedIn:

Jeremy Baker – https://www.linkedin.com/in/jeremyabaker/

If you would like to connect with me or learn more about my employer, Global Process Automation (GPA), then check the following:

Scott McNeil – https://www.linkedin.com/in/americanmcneil/

GPA – https://www.global-business.net/

Leave a comment