This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Maximum number of connections over BLE for close working devices

Hello. I'm doing research for new project, regarding with BLE and WIFI capabilities to connect big amount of device to one host. I should choose between WIFI and BLE. I need to have a stable connection with 30 moving pairs of peripheral devices in range around 150 meters in the line of sight outdoor conditions. Devices inside each pair will be close to each other. WIFI not discussed here, so my question about BLE. 

If I select BLE, I see this solution.
So, each pair will have peripheral and multirole devices. Host device will be main central. Peripheral devices will be connected to multirole (here multirole device is client). Multirole devices will be connected to main central as peripheral (here multirole device is server).
NRF52840 with Softdevice S140 is the best solution from hardware point of view for multirole and for main central. Softdevice S140 support 20 concurent connections, so I should place 2 NRF52840 to get 30 connections on host. So, how do you think is it possible to build described here system and have stable data transmition from peripheral pairs to host? 

In this system will be 60 connections. BLE have 40 channel (and 3 for advertising). Is it possible to have a more than one connections on one channel for close working devices?

To ease of understanding I drew this on attached figure. Hope this help to understand what I mean.



Also if you have any other ideas and suggestions to development of described system I will gladly get to know them Slight smile

Thanks in advance.

Parents
  • Have you looked at BLE (or other) Mesh ?

    The nRF52 chips can support up to 20 connections at a time - see the SoftDevice specificatrion.

    BLE have 40 channel (and 3 for advertising).

    The number of channels does not (directly) set the number of connections.

    A connection does not permanently occupy a channel.

  • Thanks for fast answer.

    Have you looked at BLE (or other) Mesh ?

    Yes, I've considered also BLE Mesh, but I need higher throughput, and higher speed of data delivery.

    Actually, you don't respond on my question. Is it really possible to get stable connection in this system on BLE? Maybe I'm not consider some problems and challenges which I will meet, during development? I'm understand that my question is kind of abstract, but maybe you can give some directions to discover information or maybe you already see that this is impossible?

  • Hi

    Do you have any particular latency or throughput requirements?

    Combining a lot of links is not an issue unless you need to push a lot of data. You will get occasional packet collisions, but BLE is designed to handle a fair bit of packet loss without the link breaking down. 

    If you use Nordic devices with Bluetooth 5 support on all sides you can leverage the new CSA#2 feature, which makes each device use a more random channel selection scheme. The advantage of this is that if you have a packet collision between two device pairs they are very unlikely to collide again on the next packet attempt, and they should be able to coexist nicely. 

    One potential issue here is if the two nRF52840 devices on the central side are placed very close together. Then they might interfere with each other even if they are using different channels, as a strong TX signal can block out a receiver if it is strong enough. The two nRF52840's would not be synchronized, and will at some point try to send packets at the same time. 

    Best regards
    Torbjørn

  • One potential issue here is if the two nRF52840 devices on the central side are placed very close together. Then they might interfere with each other

    Presumably, that actually applies to any two (unsynchronised) Centrals in close proximity - it's not specific to just the nRF52840 ... ?

  • awneil said:
    Presumably, that actually applies to any two (unsynchronised) Centrals in close proximity - it's not specific to just the nRF52840 ... ?

    Correct, but if the two nRF52840's are put close together on a PCB the antennas might be just centimeters apart, leading to strong interference between the two. 

    Other devices would typically not be this close, and would hopefully have a lower duty cycle on the radio than a central running 10-15 connections. 

    Potentially any 2.4GHz source could interfere, and if you put the board on top of a WiFi router streaming 4k video it will definitely affect performance ;)

Reply
  • awneil said:
    Presumably, that actually applies to any two (unsynchronised) Centrals in close proximity - it's not specific to just the nRF52840 ... ?

    Correct, but if the two nRF52840's are put close together on a PCB the antennas might be just centimeters apart, leading to strong interference between the two. 

    Other devices would typically not be this close, and would hopefully have a lower duty cycle on the radio than a central running 10-15 connections. 

    Potentially any 2.4GHz source could interfere, and if you put the board on top of a WiFi router streaming 4k video it will definitely affect performance ;)

Children
Related