Next Article in Journal
A Novel Virtual Optical Image Encryption Scheme Created by Combining Chaotic S-Box with Double Random Phase Encoding
Previous Article in Journal
Deep Learning Approach for Detection of Underground Natural Gas Micro-Leakage Using Infrared Thermal Images
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

PCO-Based BLE Mesh Accelerator

1
Electrical and Computer Engineering, Cornell University, Ithaca, NY 14853, USA
2
Eridan Communications Inc., Mountain View, CA 94041, USA
*
Author to whom correspondence should be addressed.
Sensors 2022, 22(14), 5324; https://doi.org/10.3390/s22145324
Submission received: 8 June 2022 / Revised: 5 July 2022 / Accepted: 10 July 2022 / Published: 16 July 2022
(This article belongs to the Section Internet of Things)

Abstract

:
Bluetooth Low Energy (BLE) mesh networks enable diverse communication for the Internet of Things (IoT). However, existing BLE mesh implementations cannot simultaneously achieve low-power operation, symmetrical communication, and scalability. A major limitation of mesh networks is the inability of the BLE stack to handle network-scalable time synchronization. Pulse-coupled oscillators (PCOs) have been studied extensively and are able to achieve fast and reliable synchronization across a range of applications and network topologies. This paper presents a lightweight physical (PHY) layer accelerator to the BLE stack that enables scalable synchronization command with a PCO. The accelerator is a fully digital solution that can be synthesized with only the standard cells available in any silicon technology. This paper provides a detailed analysis of PCO-based BLE mesh networks and explores per-node system-level requirements. Finally, the analytical results are validated with measurements of a custom radio node based on the ubiquitous AD9364 transceiver.

1. Introduction

Internet of Things (IoT)-enabled devices have become ubiquitous. IBM estimates that the IoT market will grow to 75 billion devices by 2025 [1]. IoT has various definitions, but often refers to the low-power embedded devices that communicate with one another in an ad hoc fashion. This characteristic makes mesh networking desirable compared to the other network types (e.g., scatternets) because no single node is penalized and range and power requirements are relaxed. Because mesh network nodes connect dynamically and non-hierarchically, there is no fixed path between the source and the destination, so network coordination is required.
Bluetooth Low Energy (BLE) is a relatively new Bluetooth standard [2] designed to enable low-power communication with the ultimate goal of seamless connectivity and is a good candidate for mesh networking. According to the Bluetooth Special Interest Group (SIG), the number of Bluetooth® devices is expected to surpass six billion by 2024. BLE is the fastest growing Bluetooth radio and consequently is becoming the new market standard for IoT [3]. The BLE mesh profile introduced in 2017 enabled a new paradigm for multi-hop networks by overlaying mesh networking on top of the standard scatternets and piconets [4]. There are now numerous applications for BLE mesh networks, such as the control of educational robots [5] and emergent ad hoc infrastructure [6]. However, the BLE mesh profile is based on flooding the three advertising channels and is fundamentally suboptimal for low-power operation since some nodes (e.g., relays) must have their receiver constantly powered [7]. Any other solution for BLE mesh must be implemented on top of the stack in the application layer, which necessarily incurs a communication overhead. Furthermore, in the literature there are few measured power results for Bluetooth multi-hop networks, as most results are based on analytical calculations or simulations [7,8].
The inability of existing solutions to deliver low-power mesh networking is directly related to the coordination problem—in order for the messages to flow from source to sink, the network needs to be synchronized, at least during the message transfer. Scalable synchronization is, at its core, a distributed communication approach. Figure 1 shows an example of distributed synchronization. Here, at some t = 0 , the first node (the leader) sends a low-power radio transmission to the nearby nodes. Upon receiving the message, the nodes in the network act as repeaters and re-broadcast this message to others. Eventually, the entire network receives the message and is synchronized.
There are a few important considerations in the approach shown in Figure 1. First, the sync message transmission and reception must be low-latency so that the maximum network time variation N   ×   Δ t is minimized. Second, the leader node is chosen arbitrarily based on some random frequency variation of the local clock (see Section 3.5). In other words, there are no special requirements on the leader node that would increase its power budget compared to others. Third, the synchronization protocol must be robust and infrequent to minimize power consumption of network maintenance.
Distributed synchronization has been observed in various species in nature. Certain firefly species are capable of achieving simultaneous flashing in the thousands, as shown in Figure 2a. During mating seasons, huge swarms of fireflies can flash to the same biological heartbeat or clock. This emergent behavior can be modeled mathematically with the pulsed-couple oscillators (PCOs). Mirrollo and Strogatz [9] first published the PCO synchronization model that has been since applied to a variety of engineering applications [10,11,12,13,14,15]. The conceptual diagram is shown in Figure 2b for three oscillators. PCO-based synchronization is of great interest to the designer because it creates a common reference frame for the local timing, which can enable aggressive duty-cycling of peer-to-peer (P2P) IoT nodes for low-power and long-range wireless communication.
This paper presents analytical and measured results for a proof-of-concept scalable and power-efficient solution to the BLE mesh networking problem via a slight augmentation of the physical (PHY) layer of the stack. A key design feature that determines the network’s ability to duty-cycle and scale is a symmetric synchronization protocol that does not rely on dedicated beacons or relays. Previous work has demonstrated low-power baseband timing circuitry that enables scalable synchronization for narrowband communication and rudimentary mesh networking with commercial radios [14,16]. This paper expands on the previous work with a system-level analysis of the PCO-based synchronization parameters, which is then validated by measured results. We note that techniques presented in this paper may be applied to a variety of wireless technology standards existing on the market (e.g., ZigBee and ANT+) and that we focus on BLE for evaluation purposes due to its ubiquity. The remainder of this paper is organized as follows. Section 2 addresses in detail the current BLE communication approaches and highlights the corresponding issues. Section 3 provides analytical models for the PCO-based network synchronization. Section 4 shows the measured results. We further note that the presented network synchronization techniques are not limited to the BLE standard.

2. Current BLE Mesh Solutions

BLE is the low-power variant of classic Bluetooth that was introduced in 2010. BLE operates in the same 2.4 GHz ISM band with forty 1 MHz wide channels spaced 2 MHz apart, as shown on the left of Figure 3. Out of the 40 channels, three are dedicated advertising channels. To avoid interference with other wireless communications in the ISM band (e.g., WiFi), BLE relies on an adaptive frequency hopping strategy by shifting communication to less-occupied or free channels. These devices require less power, have lower data rates, and support lower duty-cycle modes compared to their classic counterparts [17]. This section will address the structural problems that prevent BLE mesh networks from being low-power and how this can be solved with scalable synchronization.

2.1. Challenges with Existing BLE Mesh Implementations

Currently, there are many published BLE mesh protocols that fall into one of the two types of communication [7,8,18,19,20,21,22,23,24,25,26,27,28,29]. Table 1 lists some of the current BLE mesh solutions. Figure 4 shows the two common ways to organize communications in a mesh network: connection-oriented and flooding (connectionless). For connection-oriented BLE networks in Figure 4a, local piconets are loosely connected to form larger scatternets. A separate application layer protocol is required to manage scatternet formation/maintenance and multi-hop packet forwarding [7]. Bluetooth SIG has opted to use the flooding approach as the core underlying technique for its mesh standard. The BLE mesh profile [4] was adopted in 2017 and enabled the operation of connectionless multi-hop networks.
The flooding algorithm works roughly as follows. Each node acts as a relay and repeats the new incoming messages to all of the connected nodes. The process is repeated until the target nodes have received the message and the network is up to date. Controlled flooding algorithms limit the number of re-transmissions with techniques for caching and catching duplicate messages, and typically transmit an acknowledge message back to the source. Figure 4b shows the broadcasted message (red arrow) and its acknowledgement (blue arrow) propagating through the network. The BLE Mesh profile works on a publish/subscribe model where individual nodes can listen for and transmit to specific network addresses. In this model, both unicast (point-to-point) and group addresses are supported. However, each node must have its receiver enabled the entire time in order to catch any possible messages, or risk missing communication.
While BLE mesh offers great promise on mobile platforms, there are few published works with measured power analysis [7,8,30,31]. Even though the mesh protocol is based on BLE, the power consumption is relatively high due to the way mesh networking is handled [30,32]. To better understand the trade-offs of connected vs. connectionless BLE mesh network solutions, consider two representative literature implementations: connection-oriented FruityMesh [19] and flooding Trickle [18]. In their 2017 paper (before BLE Mesh profile was released), Murillo et al. evaluate the power consumption and packet delivery ratio of these two approaches [33]. They use a realistic mesh network topology as shown in Figure 5. They use Nordic Semiconductor nRF52 BLE development boards with transmitter (TX) power set to −20 dBm for node separation of 1.5 m. The power consumption for a FruityMesh node is 9.91 mW (the reported number is 9.4 mW, which is inconsistent with the number obtained using their Equation (3)), of which about 80% is used for protocol maintenance to exchange keep-alive messages with the neighbors. For the flooding counterpart Trickle, the reported number is 28.5 mW, of which about 58% is spent on keeping the receiver (RX) powered continuously. This study highlights how the power consumption of the existing BLE mesh network protocols is relatively high compared to the regular BLE connections [33].
Symmetrical communication and low-power operation is a challenging combination to achieve simultaneously. In the example above, Trickle protocol consumes 16.8 mW to keep the RX enabled continuously and FruityMesh consumes the majority of the power on network maintenance [33]. Both Trickle and FruityMesh modify the application layer of the stack, thus forgoing the potential benefits of a PHY layer implementation. It is clear from the above example that both flooding and connection-based implementations need to solve a coordination problem in order to successfully pass down messages from source to sink.

2.2. Time Synchronization and Duty-Cycling in Mesh Networks

One of the challenges for BLE mesh is that due to the lack of a scalable synchronization strategy, the nodes are not low power, as RX must have a high duty-cycle. Low-power operation can be achieved only by duty-cycling the radio during inactive periods. However, for any communication to occur, RX must be enabled precisely when TX is broadcasting. Synchronous and asynchronous duty-cycling strategies are illustrated in Figure 6. For an asynchronous protocol such as the BLE mesh profile, a node that has a message to transmit starts sending a preamble at a regular interval. At some point, the receiver wakes up and sends a response packet, which prompts the transmitter to deliver the message. The advantage of this strategy is its simplicity because no other prearranged schema is required. The obvious disadvantage is that neither RX nor TX are aware of each other’s timing. For example, the BLE mesh profile requires a 100% duty-cycle to scan the advertisement channels for incoming messages. This further turns into a guessing game because the message can be on any of the three advertising channels. Time synchronization is required to communicate efficiently.
For the synchronous duty-cycling approach shown in Figure 6, the two nodes decide on the communication window ahead of time and turn on the radio for the minimum required time. Since any two radio nodes will have different clocks, their local time will constantly drift, as described in Section 3.4. Therefore, synchronous duty-cycling requires a mechanism for synchronizing clocks. While a number of synchronization protocols are available (e.g., RBS, TPSN, or FTSP), they rely on exchanging timestamped packets and are consequently costly to scale [32,34,35]. BLE presents additional challenges because the application layer does not have access to the timestamps of the incoming messages in the PHY layer.
Figure 6. Illustration of synchronous vs. asynchronous duty-cycling. In the asynchronous case, request packets (req) must be sent continuously by the sender until the receiver responds with an acknowledge packet (ack) before communication can take place. In the synchronous case, the active and sleep regions are aligned based on a synchronization scheme.
Figure 6. Illustration of synchronous vs. asynchronous duty-cycling. In the asynchronous case, request packets (req) must be sent continuously by the sender until the receiver responds with an acknowledge packet (ack) before communication can take place. In the synchronous case, the active and sleep regions are aligned based on a synchronization scheme.
Sensors 22 05324 g006
There are several solutions to the BLE synchronization problem in the literature. In [36], the authors achieve a synchronization accuracy of 37.78 ms by using a dedicated synchronization center microcontroller. In [37], the authors report a synchronization accuracy of 14.19 μs by using the establishment of a BLE connection event as the basis. In [38], the authors report a synchronization accuracy of 750 μs by forcing two BLE nodes to establish a connection at a fixed interval and using the time difference between connect events for estimation. In [39], the authors achieve a synchronization accuracy of 9–17 μs with a software interrupt technique and 0.9 μs with the addition of power measurement circuitry. In [5], the authors introduce a protocol to synchronize task execution in a multi-hop scenario and achieve task synchronization on the order of tens of milliseconds. Without hardware modification, the best reported synchronization accuracy is in the order of tens of microseconds. Notably, the authors in [40] introduce BlueSync, a solution that achieves excellent synchronization quality between a couple nodes, but notably it has master-minion synchronization asymmetry and is not intended for multi-hop networks. We will address this scheme as an orthogonal strategy to the approach presented in this paper in Section 4.5.
Despite the apparent simplicity and the lack of duty-cycling of BLE mesh, further scaling is also nontrivial due to the master-minion asymmetry. Each node repeats incoming new messages so that they are relayed further in the network. For a large enough network, a new message may propagate through many routes and cause a broadcast storm, a network condition that represents an increase in collision probability, network congestion, and packet loss rate [32,41]. In connection-oriented BLE mesh, the number of minions connected to a master is limited due to the need for the master node to reset its radio frequency per each minion. Furthermore, each pair of connected nodes must keep unique timing, which becomes a challenge over multiple network hops [17].

2.3. Proposed PCO-Based BLE Mesh Accelerator

Synchronization protocol selection is a major design consideration when determining the network’s ability to duty-cycle in BLE mesh. Several literature sources noted that a combination of flooding and connection-oriented protocols may achieve optimal performance [33,42]. However, most proposed solutions are theoretical, and out of those with measured results, all deal with the higher levels of abstraction of the BLE stack.
We present a circuit-level solution to the mesh networking challenges. We propose a slight PHY-layer augmentation of the BLE stack utilizing PCO-based synchronization, as shown in Figure 7. Notice how the communication scheme is similar to the standard synchronous duty-cycling in Figure 6 with the important difference that global synchronization is carried out via distributed action of every node. The local PCO phase represents consistent time for all the network nodes, such that a predetermined communication time slot can be agreed upon ahead of time. The modification is a digital logic-only application-specific integrated circuit (ASIC) that has a low area profile and interfaces directly to the analog to digital converter (ADC) of the commercial radio front-end. The accelerator enables a global synchronization command, the syncword, with the correlator and the PCO circuitry. The PCO syncword acts as a distributed and periodic synchronization broadcast that allows the nodes on the network to communicate efficiently without the need to back-calculate clock differences or exchange timestamps. Our experimental results validate the analytical calculations and show that PCO-based synchronization facilitates the establishment of low-power (duty-cycled) P2P mesh networks.

3. Synchronization Analysis and Requirements

The previous section discussed challenges with existing BLE mesh networks and addressed the need to solve a coordination problem in order to efficiently pass messages through multiple hops of the network. A scalable PCO-based synchronization accelerator for the BLE PHY layer was proposed. This section presents network synchronization analysis and further refines the requirements for mesh networking as follows. In Section 3.1 we introduce the concept of PCO synchronization in more detail and present simulation results. In Section 3.2 we define our test platform and justify the choice of radio. In Section 3.3 we address radio power usage vs. PCO period and coupling sequence duration. In Section 3.4 we address the effects of the crystal quality on the minimum system power. In Section 3.5 we summarize the results.

3.1. PCO-Based Synchronization

Massive-scale mutual synchronization occurs naturally among fireflies, with some species capable of achieving synchronous flashing in the thousands. This has been studied extensively in the literature and can be modeled by treating each insect as a pulse-coupled oscillator (PCO) [9]. The oscillator’s phase state function ϕ ( t ) is reset to zero upon reaching a threshold ( ϕ ( t ) = 1 ), at which point the firefly sends out a coupling pulse (a flash of light) that advances nearby fireflies’ phase by some fixed amount. For synchronization, ϕ ( t ) must be monotonically increasing ( ϕ ( t ) > 0 ) and concave down ( ϕ " ( t ) < 0 ), such that depending on the exact timing of the incoming pulse, the remaining phase is reduced by a varying amount. It was shown in [9] that for a smooth and continuous state function, the oscillators will necessarily synchronize. In [43] it was numerically demonstrated that the synchronization will happen even if the state function is digital and discrete.
PCOs have been used in various applications, e.g., as a mechanism for packet routing for chip-satellites [15]. In this work, we utilize PCOs as the driving force for mesh network synchronization. We modified an event-driven simulator based on the one originally developed in [10] to be compatible with narrowband communications to study PCO-based synchronization of BLE devices. For example, consider a network of 50 radio nodes randomly scattered on a 100 by 100 meter grid with a 1 s PCO period. Figure 8a shows the randomly generated network topology. Figure 8b shows phase offsets of all 50 nodes relative to the node with the fastest natural period, i.e., the leader node. Figure 8 shows that within 15 leader cycles (≈15 s), the network reaches a stable configuration with four distinct phase bands. These bands correspond to the number of hops away from the leader node, similar to what is depicted in Figure 1. As the leader fires, it resets nodes in its vicinity, which then reset the following nodes, until in three hops the entire network is reset. Figure 8b also represents the latency of the coupling signal, i.e., the syncword, propagation through the network when it is locked to a leader. Notice that 38 μs (see Section 3.4) is the maximum timing difference between any two nodes that are in range of one another. Therefore, the network synchronization latency is 38 μs, which is several orders of magnitude faster than what is achieved in prior art [38,39].

3.2. System Configuration

To evaluate synchronization and duty-cycling performance of a BLE system with our ASIC accelerator, we found that the optimal solution is to utilize a single-chip software-defined transceiver that has dedicated control of its key components. For this work, we chose to use the AD9364 commercial radio front-end due to its extreme flexibility. A popular choice for BLE evaluation is the Nordic Semiconductor nRF series SoCs, but the onboard radio does not have dedicated connections for integration with the PCO circuitry. The AD9364 can interface directly with the ASIC accelerator via the digital I/Q baseband and its precise timing control allows for quick wake-up and sleep cycles, and consequently, accurate duty-cycle measurements.
Figure 9 shows the functional top-level block diagram of the implemented P2P radio node that is based on prior work in [16]. Each node comprises a custom RF (radio frequency) board with an AD9364 transceiver (the radio), a crystal oscillator and miscellaneous support circuitry, the ASIC accelerator chip, and a ZedBoard. The radio is used for data and syncword transmission. The digital data interface connects the chip with the radio via ZedBoard level shifters. The ZedBoard’s integrated logic analyzer enables precise radio state transition measurements. The ASIC accelerator chip processes digitized radio data and decodes and detects a synchronization packet, the syncword. Whenever the node’s PCO reaches its threshold, the accelerator generates an encoded syncword and initiates the transmission process.
For narrowband communications, the communication of the syncword sequence is not instantaneous. In [44] it was shown that a 63-bit Kasami sequence (transmitted as a 64-bit encoded) is a good trade-off between the bit error rate (BER), implementation complexity, and length. Fast detection of the syncword is essential for low-power operation (more details in Section 3.4), and given that the network starts up in a random state, the detection must be asynchronous. The key block of the ASIC accelerator is the signal processing core that performs an asynchronous detection of the digitized radio signal against the expected sequence. The core is designed to detect binary phase-shift keying (BPSK)-encoded signals with low latency by utilizing a differential detector. The signal processing core is able to detect the syncword regardless of the phase and frequency mismatch between the TX and the RX local oscillators (LOs). Prior works describe in detail the operations performed by the signal processing core [14,16]. If the syncword is detected, the state of the PCO is advanced. Whenever the PCO reaches its threshold, either from external coupling or a self-reset, the sequence generator wakes up the radio and initiates the syncword transmission.

3.3. Radio Power Analysis

For long-range mesh networks, a high-power, narrowband transceiver is required. Therefore, the length of the syncword and its repetition frequency will predominantly dictate the average system power. Furthermore, for successful syncword detection, the receiver must be enabled sometime before the PCO self-reset to account for the frequency variation (detailed discussion in Section 3.4). We analyze the power overhead vs. syncword length (or TX data packet in the generic case), RX on-window, and repetition frequency based on the AD9364 transceiver datasheet. Figure 10a shows that for sufficiently large T P C O (repetition frequency), the radio power approaches the leakage values. Figure 10b shows power consumption vs. radio on-time for a 1 s repetition frequency. For both plots, the RX window is set to be twice as long as the TX window.
There are two critical observations. First, for fixed TX and RX windows, the radio power asymptotically approaches the leakage value of 450 μW (Figure 10a) with less frequent communication. On the other extreme, power grows linearly towards fully-on value for more frequent communication. Therefore, there is an optimal trade-off between power consumption and the syncword broadcast rate. Figure 10a shows that T P C O > 0.5 s gives linearly diminishing returns in power reduction. Second, for a fixed T P C O , there is some range of packet lengths that consume negligible power compared to the leakage. This means that in addition to a syncword transmission of 64 bits, up to 1000 bits of data incur virtually no power increase from the leakage value of the radio. Both plots shows the effectiveness of duty-cycling for reducing the average power.
To incorporate duty-cycling, the radio circuitry should interface with a duty-cycle controller that can keep track of the synchronization state and safely turn off-and-on various components according to a schedule. The operation of the controller is described in more detail in prior work [16]. Figure 11 shows the state transition timing for the AD9364 radio when receiving and transmitting the syncword. In a nutshell, the RX wakes up sometime before the PCO natural reset and listens for a potential syncword from the other nodes. Then, whenever the PCO counter reaches its threshold, the TX broadcasts a syncword and the radio is brought back to the sleep state. There are several optimizations that can be performed. For example, the RX can be disabled as soon as an incoming syncword is detected and while the TX is still broadcasting. The next section will address system latency and the minimum achievable duty cycle and will further elaborate on the timing diagram in Figure 11.

3.4. System Parameter Analysis for Mesh

For narrowband communication, the transmission and reception of the syncword take time proportional to the sequence length. For the PCO-based network to function properly, every node must receive and transmit the syncword. The total time overhead of syncword communication consists of RX syncword reception, the speed of light propagation delay, signal processing latency, and TX syncword generation. The cumulative delay t d e l a y sets the fundamental duty cycle limit and is given by
D m i n = ( t s y n c w o r d + t c o r e + t l a t e n c y , R X + t l a t e n c y , T X ) + t f l i g h t T P C O = t l a t e n c y + t f l i g h t T P C O = t d e l a y T P C O .
Figure 12 illustrates where in the signal path each delay contribution occurs. Specifically, t s y n c w o r d is the duration of the coupling sequence, t c o r e is the ASIC accelerator processing latency, t l a t e n c y , R X and t l a t e n c y , T X are the receiver and transmitter path latencies that are usually dominated by the finite impulse response (FIR) filters, and t f l i g h t is the propagation delay. For a BLE system, t f l i g h t is negligible because it adds only 0.33 μs of delay for a 100 m node separation, which is shorter than the time duration of a single BLE symbol at the maximum data rate. Therefore, for the purposes of this analysis we can treat t l a t e n c y t d e l a y .
However, in a real system there will be further duty-cycling degradation due to the non-idealities of the reference crystal. The two important parameters are frequency stability and jitter, and both have direct implications on the minimum RX window size and synchronization quality. Figure 13 visualizes the two non-idealities. Frequency stability results in a uniform distribution of the center frequency for every individual oscillator and is usually expressed in parts per million (ppm) of the nominal frequency. Then, due to various noise sources, the oscillation spectrum is spread around the center frequency as a phase noise skirt. Phase noise in the frequency domain is equivalent to RMS period jitter in the time domain.
Using an event-driven simulator based on the one originally developed in [10], we can quantify D m i n vs. the oscillator ppm. We use the simulator described in Section 3.1 with maximum coupling. The network consists of 50 nodes randomly distributed on a 100 m by 100 m grid with a coupling range of 30 m. Each node uses a 19.2 MHz crystal oscillator with jitter set to zero. The 64-bit syncword is transmitted at 2 MSPS and t d e l a y is set to 38 μs, which includes all of the latencies and processing delays with margin. The results are shown in Figure 14a. For the perfect crystal, the D m i n approaches the theoretical value of 0.0038 % that is set by t d e l a y , and increases linearly with an increasing oscillator frequency mismatch.
The effect of jitter on D m i n is not immediately apparent because it predominately affects the synchronization quality. For example, for a 19.2 MHz crystal with the RMS period jitter of 25 ps and T P C O of 1 s, the accumulated RMS T P C O jitter is only 110 ns ( σ T P C O = N × σ T r e f ), much shorter then the t d e l a y . In [44] it is explained that a high jitter value may cause the second-fastest node to temporarily become the leader. In this case, the real leader is reset by a slower node, which causes the network to temporarily lose lock. The collective effect of both clock non-idealities can be written as
t c r y s t a l = 2 p p m T P C O + 3 σ T P C O ,
where a factor of three accounts for 99.7% variation of PCO jitter and a factor of two takes care of both minimum and maximum variation away from the nominal. The collective degradation of D m i n based on both clock non-idealities can be then written as
D m i n = t d e l a y + t c r y s t a l T P C O .
Effectively, Equation (3) is the same as Equation (1), but with the effects of crystal non-idealities included. Figure 14b shows the effect of 50 ppm crystal with RMS period jitter of 25 ps on the RX window overhead from Figure 11. The log–log scale shows that accumulated error due to the crystal is 10.2 μs during the first 100 ms since timing errors are reset by the PCO, which is negligible compared to t d e l a y of 38 μs. However, at 1 s the accumulated error is 100.7 μs and above that, Figure 14b shows that crystal non-idealities dominate all of the RX overhead and set the limit on the minimum duty-cycle.
Armed with Equation (3), we can assess the cumulative effect of all non-idealities on D m i n . For any node, the radio operation procedure is as follows. First, the radio wakes up and enters the receive state, indicated by RX On in Figure 11. This time is dependent on the particular radio implementation, and in the case of our system with AD9364, it also includes the warm-up time of the receive ADC and FIR filter latency. After t s y n c w o r d , the TX is powered and ready to transmit the syncword in case the node is reset by the incoming coupling, as indicated by TX On. Whenever the node resets at t = T P C O , the RX is disabled and TX starts transmitting the syncword. Note that the RX window is stretched by the accumulated error captured by t c r y s t a l .

3.5. Analysis Summary

The goal of Section 3 was to demonstrate the feasibility of the PCO-based BLE mesh networking. This section demonstrated several key takeaways for a PCO-based BLE mesh network. First, we showed in simulation that a four-hop PCO network of 50 nodes with a BLE-compatible data rate and range will synchronize and then maintain synchronization with the low latency of 38 μs. Second, we showed that a PCO syncword exchange rate of T P C O > 0.5 s will result in a minimal average system power increase (Figure 10a). Furthermore, we showed that a node can transmit an additional 1000 bits of data over the 64-bit syncword without deviating significantly from the leakage power (Figure 10b). Third, we quantified the effects of crystal non-idealities on the minimum achievable duty-cycle (Figure 14a). We showed that for T P C O < 100 ms , D m i n is dominated by t d e l a y (Figure 14b). Furthermore, for a BLE system, the effects of σ T r e f are negligible compared to the ppm of the crystal. Collectively, the findings highlight the feasibility of PCO-based BLE mesh networking to remain below a 0.02 % duty-cycle (Figure 14a).
There are additional considerations related to the synchronization quality and robustness that are studied in great detail in other works [10,13,43] but not explicitly analyzed here. We will provide a qualitative summary of their findings. Network synchronization relies on natural frequency variation between different radio nodes such that the fastest node, the leader, will be the first to reset and initiate the reset for the rest of the network (see Figure 1 and Figure 8). The node’s radio is first used in RX mode to listen for possible transmission from faster nodes, and then in transmit mode when the node reaches reset. Sections III D and E in [16] provide more detail.
However, for the network to maintain synchronization, the leader node must be faster than the second-fastest node to prevent temporary leader switching. The period difference should be large enough to compensate for the jitter of the second-fastest node. Effectively, there is a natural trade-off between synchronization quality and power savings based on the reference crystal—a lower ppm crystal results in a lower D m i n , but reduces the likelihood of a single fastest node that can lead the network, thereby degrading stability. Table 2 summarizes the system-level trade-offs discussed in this section.

4. Measured Results

To validate the analytical results with our PCO-based ASIC accelerator, we implemented a custom radio node based on the AD-FMCOMMS4-EBZ evaluation board with the ubiquitous AD9364 transceiver. First, we characterized each node individually to verify its performance and build the complete power profile. Second, we performed synchronization measurements to verify a subset of the theoretical results. Finally, we verified a representative mesh configuration to demonstrate a synchronized multi-hop data transmission.

4.1. Implemented System

The implemented system is shown in Figure 15 and comprises a ZedBoard, a custom RF board, and a breakout board for the ASIC accelerator. The ASIC accelerator is fabricated in a 180 nm six-layer CMOS process with only five digital routing layers. The active area of the chip is 1.14 mm by 1.34 mm with 26.8% density. In this design, the chip area was pad-limited and could be scaled down to a significantly smaller footprint (below 0.4 mm2), especially in a more advanced digital process.
We used a 19.2 MHz crystal that is common in 3G applications with an accuracy of 50 ppm to run the PCO portion of the ASIC accelerator. The AD9364 TX and RX ports are connected via a 2450BL15B050 balun to an ADG918 RF switch that collectively incur approximately 2 dB insertion loss. AD9364 supports vastly higher data rates than is needed for BLE, so we configured it to transmit and receive at 2 MSPS, corresponding to the standard’s maximum data rate.
The chip processes digitized radio data and decodes and detects the syncword with approximately two baseband clock period latency ( t c o r e ). The chip operates in two different clock domains. The PCO and duty-cycle controller are running constantly at the crystal clock, while the signal processing core and sequence generator can be clock-gated and run at the baseband data clock.
Figure 15. The implemented radio node consists of a ZedBoard, a custom RF PCB with AD9364, and an ASIC accelerator board, and is connected as shown in Figure 9. The ASIC chip is pad limited with 26.8% standard cell density in a 180 nm six-layer CMOS process.
Figure 15. The implemented radio node consists of a ZedBoard, a custom RF PCB with AD9364, and an ASIC accelerator board, and is connected as shown in Figure 9. The ASIC chip is pad limited with 26.8% standard cell density in a 180 nm six-layer CMOS process.
Sensors 22 05324 g015

4.2. Single Node Performance and Power Measurements

First, we have verified the functionality of a single node by measuring the syncword detection error rate as detected by the ASIC chip. The measurement setup is shown in Figure 16a and consists of a free-running node with duty-cycling disabled, which is locked to an RF signal generator running with a faster PCO period. Figure 16b shows the syncword transmission error rate vs. radio power for the implemented node. In order to achieve the lowest D m i n , it is prudent to reduce radio on-duration as much as possible. Figure 11 shows the state transition timing for the AD9364 radio and the transition sequence that we have implemented for this study. Even though BLE is operating in TDD mode, AD9364’s FDD mode allows for a more flexible timing for the transmission and reception of the syncword.
The AD9364 radio is highly agile, but is significantly over-provisioned for BLE applications. As such, the system power can swing three orders of magnitude in a few microseconds, making it difficult to measure. We developed a steady-state power profile for every AD9364 state shown in Figure 11. By measuring transition times between the different states, we reconstructed a realistic power profile for data detection and transmission of the system. Table 3 shows the power breakdown of both fully-on and duty-cycled operation. The duty-cycled system power stays below 1 mW.

4.3. Synchronization Measurements

The time it takes the network to reach a synchronized state takes on the order of tens of PCO cycles (see Figure 8b) and depends on the exact node distribution and the configured PCO parameters [43]. After the network synchronizes, all circuitry except for the PCO, duty-cycle controller, and the clock source can be duty-cycled to conserve power (see Table 3). The measurement in Figure 17 shows a scope capture of the syncword detection and transmission procedure for a node in the network. The data rate for the syncword is configured for 2 MSPS, which results in a 32 μs-long sequence ( t s y n c w o r d ). Shortly before the PCO counter resets, the duty-cycle controller initiates the radio wake-up sequence (orange line in Figure 17). From the initial wake-up, the entire process takes 204 μs to transition back to the SLEEP state. When clocks are disabled, the radio power consumption is dominated by the leakage. The node in Figure 17 transmits the syncword when its PCO counter reaches the threshold. However, the RX is enabled and functional for an additional 132.7 μs ( t c r y s t a l + t s y n c w o r d ) before the TX to detect the incoming syncword from other nodes within the oscillator ppm tolerance window (note that t l a t e n c y , R X is folded into the total active radio time).
Figure 17. Duty-cycled syncword detection demonstration for T P C O = 1 s . The duty-cycle controller first brings the radio to the FDD state based on the PCO counter value. After the syncword is transmitted, the radio returns to the SLEEP state. The RX window is opened for 132.7 μs according to Equation (3), the TX window is 36 μs ( t s y n c w o r d + t l a t e n c y , T X , with some margin), and the active radio time is 204 μs. Signals from top to bottom: TX RF output at the antenna (blue), RF switch direction where logic high selects RX (purple), TX baseband data (MSB) output of the chip (yellow), AD9364 clock (teal).
Figure 17. Duty-cycled syncword detection demonstration for T P C O = 1 s . The duty-cycle controller first brings the radio to the FDD state based on the PCO counter value. After the syncword is transmitted, the radio returns to the SLEEP state. The RX window is opened for 132.7 μs according to Equation (3), the TX window is 36 μs ( t s y n c w o r d + t l a t e n c y , T X , with some margin), and the active radio time is 204 μs. Signals from top to bottom: TX RF output at the antenna (blue), RF switch direction where logic high selects RX (purple), TX baseband data (MSB) output of the chip (yellow), AD9364 clock (teal).
Sensors 22 05324 g017
In addition to the syncword, each node in the network needs to transmit and receive actual data. Each syncword detection event resets all timing errors such that a reliable communication window can be established at the agreed-upon time. This process is illustrated in Figure 18 for a 1 s PCO period. In this demonstration, a node is configured to open an RX communication window for 33 μs ( t c r y s t a l + t s y n c w o r d , rounded up), 200 μs after syncword transmission, before returning to the sleep state. The amount of RX overhead depends on how much time has elapsed since the last PCO reset and increases as shown in Figure 14b.
To quantify the limits of duty-cycling, let us consider what would happen if the FDD RX duration is reduced from what it is in Figure 17. For this measurement, we set up two nodes with a 200 μs PCO period, connected by a −70 dBm link, free of any interference or obstructions, as shown in Figure 19. The period is deliberately shortened for the syncword error rate measurement. Theoretical calculations in Section 3.4 predict that the maximum RX window size (rounded up) for a 200 μs PCO period is 33 μs (Figure 14b), though the exact number depends on the particular frequency deviation between the two nodes (Figure 13).
The results are shown in Figure 20a. The error rate is better than 10 6 for an RX window larger than 16 μs, after which point it rapidly increases since the few initial bits of the syncword are cut off and the detection fails. The observed D m i n of 0.0055% (based on the total active radio time) for this measurement is overlaid against the theoretical data and is shown in Figure 20b.
Figure 20. Error rate measurement for a two-node system at a fixed separation. (a) Syncword detection error rate vs. progressively reducing RX window for T P C O = 1 s. This is equivalent to moving RX On to the right until failure in Figure 11. The plot shows that for an insufficient RX window, the error rate rapidly increases. (b) The corresponding measured data overlay for Figure 14a.
Figure 20. Error rate measurement for a two-node system at a fixed separation. (a) Syncword detection error rate vs. progressively reducing RX window for T P C O = 1 s. This is equivalent to moving RX On to the right until failure in Figure 11. The plot shows that for an insufficient RX window, the error rate rapidly increases. (b) The corresponding measured data overlay for Figure 14a.
Sensors 22 05324 g020

4.4. Multi-Hop Measurements

For any network-level communication, a complete communication protocol (e.g., those listed in Table 1) is required. While it is possible to implement any of the published protocols on the ZedBoard, we opted to reuse the existing syncword detection and generation hardware to demonstrate basic multi-hop data transfer. In our protocol, messages are encoded as special sequences that are detectable only by nodes that choose to look for them. In this fashion, after syncword detection/transmission, a node reprograms its correlator for a different sequence to transmit and/or receive as data. This basic communication approach is suitable to demonstrate duty-cycled multi-hop data transfer with minimal additional hardware and software by using our PCO-based accelerator.
A measurement setup for the duty-cycled three-node multi-hop data transmission with our rudimentary protocol is shown in Figure 21. We set up node A (source) and node C (sink) to be out of radio range of each other while both are in range of node B. Therefore, the source at node A needs to hop through node B in order to reach the sink at node C. Each node is configured to wake up twice per a 1 s PCO cycle, identical to the measurement in Figure 18. During the second wake-up event, node A is configured to transmit a code designated for node B (TXA). Similarly, node B is configured to listen for a transmission from node A (RXB). If, and only if, node B successfully detects node A’s data packet, it will broadcast a message for node C (TXB) on the following PCO cycle. Finally, node C is configured to listen for node B’s message (RXC). For visual clarity during testing, node C is configured to toggle an LED (TXC) on its ZedBoard if, and only if, it successfully detects a data packet from node B, thereby demonstrating multi-hop connectivity.
For the measurement in Figure 21, we are interested in the minimum duty-cycle and power consumption of each of the three nodes. The baseline power consumption is given by Table 3 and is 982 μW for all three nodes. The second communication window is chosen to be 200 μs after the PCO is reset in order to minimize t c r y s t a l . Effectively, communicating shortly after the PCO reset allows for the shortest RX and TX windows (Figure 14b). The additional 32 μs communication window consists of receiving or transmitting an 8-byte data payload (an encoded sequence) at a 2 MSPS data rate, which adds 70.66 μs or 85.73 μs to the active radio time, respectively. In total, this adds an additional 20.5 μW for node A (TX only), 16.8 μW for node B (alternating RX and TX), and 13.1 μW for node C (RX only).

4.5. Discussion and Conclusion

It is difficult to directly compare our PCO-based mesh accelerator with other literature solutions. We demonstrate a means to achieve scalable synchronization that can be layered with many different communication protocols. However, due to the distributed nature of PCO synchronization, our technique automatically forms an emergent network topology with automatic hop formation (see Figure 8). Compared to other synchronization schemes [5,36,37,38,39], we achieve significantly higher synchronization accuracy at the cost of additional hardware. The presented accelerator is lightweight, but needs to be integrated into the PHY layer (radio ADC), which likely implies a new hardware design. As described in Section 3.2, many standard Bluetooth solutions are highly optimized and do not allow for easy integration with the radio front end. In the near future, our solution can be integrated with custom evaluation platforms based on any software-defined radios, such as the AD936x series.
To the best of our knowledge, our approach provides the highest network synchronization accuracy and the lowest achievable duty-cycle compared to any existing BLE mesh solution. BlueSync [40] reports synchronization errors as low as 320 n s between synchronization master and minion. BlueSync is based on three underlying approaches: timestamping, frequency–drift estimation, and ticks adjustment. Effectively, their approach is to use timestamps to accurately calculate clock offset and drift between the two synchronizing nodes with the intention to update timing infrequently. In our scheme, timing errors accumulate over time, as shown in Figure 14, which is a direct comparison to the offset-only lines of Figure 6 in [40]. The approach in [40] can be overlaid on our PCO-based mesh network to further increase synchronization accuracy.
We proposed a lightweight PCO-based accelerator to augment the BLE physical layer with a scalable synchronization command to enable multi-hop mesh networking. We presented the analysis to show how synchronized BLE nodes can be aggressively duty-cycled to save power even with an overprovisioned AD9364 transceiver. We provided simulation results that corroborate analytical estimations. Finally, we verified individual node power consumption against estimates and provided a rudimentary mesh networking data transfer.

Author Contributions

Conceptualization, I.B. and A.A.; software, I.B. and K.H.; formal analysis, I.B.; investigation, I.B. and K.H.; writing—original draft preparation, I.B.; writing—review and editing, I.B., H.Y. and A.A. All authors have read and agreed to the published version of the manuscript.

Funding

This research was funded by Qualcomm under the “Distributed Synchronization for Peer-to-Peer Networks” project and under the NSF grant number ECCS-1824379.

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

Not applicable.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Meneghello, F.; Calore, M.; Zucchetto, D.; Polese, M.; Zanella, A. IoT: Internet of Threats? A survey of practical security vulnerabilities in real IoT devices. IEEE Internet Things J. 2019, 6, 8182–8201. [Google Scholar] [CrossRef]
  2. Bluetooth Core Specification v5.1. Available online: https://www.bluetooth.com/specifications/specs/core-specification-5-1/ (accessed on 4 December 2020).
  3. Bluetooth Market Update 2020. Available online: https://www.bluetooth.com/wp-content/uploads/2020/03/2020_Market_Update-EN.pdf (accessed on 29 November 2020).
  4. Bluetooth SIG. Mesh Profile Specification: 1.0. Available online: https://www.bluetooth.com/specifications/specs/mesh-profile-1-0/ (accessed on 4 December 2020).
  5. Jirakiat, J.; Kwankeo, N.; Kaemarungsi, K.; Tsuyoshi, I. Design and Implementation of Task Synchronization Method in BLE mesh Network for Educational Robot. In Proceedings of the 2022 19th International Conference on Electrical Engineering/Electronics, Computer, Telecommunications and Information Technology (ECTI-CON), Prachuap Khiri Khan, Thailand, 24–27 May 2022; pp. 1–4. [Google Scholar]
  6. Takahashi, K.; Ito, A. A Study on Construction of Ad-Hoc Network with BLE Advertisement. In Proceedings of the 2019 Seventh International Symposium on Computing and Networking Workshops (CANDARW), Nagasaki, Japan, 26–29 November 2019; pp. 63–66. [Google Scholar]
  7. Todtenberg, N.; Kraemer, R. A survey on Bluetooth multi-hop networks. Ad Hoc Netw. 2019, 93, 101922. [Google Scholar] [CrossRef]
  8. Ghori, M.R.; Wan, T.C.; Sodhy, G.C. Bluetooth low energy mesh networks: Survey of communication and security protocols. Sensors 2020, 20, 3590. [Google Scholar] [CrossRef] [PubMed]
  9. Mirollo, R.E.; Strogatz, S.H. Synchronization of Pulse-Coupled Biological Oscillators. SIAM J. Appl. Math. 1990, 50, 1645–1662. [Google Scholar] [CrossRef]
  10. Wang, X.Y.; Dokania, R.K.; Apsel, A. PCO-Based Synchronization for Cognitive Duty-Cycled Impulse Radio Sensor Networks. IEEE Sens. J. 2011, 11, 555–564. [Google Scholar] [CrossRef]
  11. Dokania, R.K.; Wang, X.Y.; Tallur, S.G.; Apsel, A.B. A low power impulse radio design for body-area-networks. IEEE Trans. Circuits Syst. I Regul. Pap. 2011, 58, 1458–1469. [Google Scholar] [CrossRef]
  12. Wang, X.Y.; Dokania, R.K.; Zhuang, Y.; Godycki, W.; Dorta-Quinones, C.I.; Lyons, M.; Apsel, A.B. A self-synchronized, crystal-less, 86μW, dual-band impulse radio for ad-hoc wireless networks. In Proceedings of the 2011 IEEE Radio Frequency Integrated Circuits Symposium, Baltimore, MD, USA, 5–7 June 2011; pp. 1–4. [Google Scholar]
  13. Wang, X.Y.; Dokania, R.K.; Apsel, A.B. A Crystal-Less Self-Synchronized Bit-Level Duty-Cycled IR-UWB Transceiver System. IEEE Trans. Circuits Syst. I Regul. Pap. 2013, 60, 2488–2501. [Google Scholar] [CrossRef]
  14. Gantsog, E.; Bukreyev, I.; Lane, F.; Apsel, A. A 12.46µW Baseband Timing Circuitry for Synchronization and Duty-Cycling of Scalable Wireless Mesh Networks in IoT. In Proceedings of the 2018 IEEE Radio Frequency Integrated Circuits Symposium (RFIC), Philadelphia, PA, USA, 10–12 June 2018; pp. 328–331. [Google Scholar]
  15. Peck, M.; Adams, V.H. A Scalable Packet Routing Mechanism for Chip-Satellites in Coplanar Orbits. IEEE Trans. Aerosp. Electron. Syst. 2020, 56, 3516–3528. [Google Scholar]
  16. Bukreyev, I.; Ho, K.; Apsel, A. Scalable Digital Synchronizer for Enabling Hardware-Level BLE mesh Networks under 1 mW. In Proceedings of the ESSCIRC 2021-IEEE 47th European Solid State Circuits Conference (ESSCIRC), Grenoble, France, 13–22 September 2021; pp. 251–254. [Google Scholar]
  17. Tosi, J.; Taffoni, F.; Santacatterina, M.; Sannino, R.; Formica, D. Performance evaluation of bluetooth low energy: A systematic review. Sensors 2017, 17, 2898. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  18. Levis, P.; Clausen, T.; Hui, J.; Gnawali, O.; Ko, J. Trickle: A self-regulating algorithm for code propagation and maintenance in wireless sensor networks. Available online: http://dl.acm.org/citation.cfm?id=1251175.1251177/ (accessed on 4 December 2020).
  19. FruityMesh. Available online: https://www.bluerange.io/opensource/ (accessed on 4 December 2020).
  20. Kim, H.S.; Lee, J.; Jang, J.W. Blemesh: A wireless mesh network protocol for bluetooth low energy devices. In Proceedings of the 2015 3rd International Conference on Future Internet of Things and Cloud, Rome, Italy, 24–26 August 2015; pp. 558–563. [Google Scholar]
  21. Leonardi, L.; Patti, G.; Bello, L.L. Multi-hop real-time communications over bluetooth low energy industrial wireless mesh networks. IEEE Access 2018, 6, 26505–26519. [Google Scholar] [CrossRef]
  22. Ng, P.C.; She, J. A novel overlay mesh with bluetooth low energy network. In Proceedings of the 2019 IEEE Wireless Communications and Networking Conference (WCNC), Marrakesh, Morocco, 15–18 April 2019; pp. 1–6. [Google Scholar]
  23. Giacomini, E.; D’Alterio, F.; Lacava, A.; Cuomo, F. BLUES: A self-organizing BLE mesh-network paradigm for IoT environments. In Proceedings of the 2020 IEEE 21st International Symposium on “A World of Wireless, Mobile and Multimedia Networks” (WoWMoM), Cork, Ireland, 31 August–3 September 2020; pp. 409–414. [Google Scholar]
  24. Perez-Diaz-de Cerio, D.; Valenzuela, J.L.; Garcia-Lozano, M.; Hernández-Solana, Á.; Valdovinos, A. BMADS: BLE mesh asynchronous dynamic scanning. IEEE Internet Things J. 2020, 8, 2558–2573. [Google Scholar] [CrossRef]
  25. Cao, W.; Zhang, Y.; Xia, W.; Sun, D.; Yan, F.; Shen, L.; Gao, Y. An Energy Effective Opportunistic Routing Mechanism for BLE mesh. In Proceedings of the 2021 13th International Conference on Wireless Communications and Signal Processing (WCSP), Changsha, China, 20–22 October 2021; pp. 1–6. [Google Scholar]
  26. Yu, C.M.; Lin, J.P.; Wang, L.C. NUPFA: A Novel Nonuniform Power Formation Algorithm for BLE mesh Networks. IEEE Internet Things J. 2021, 8, 7103–7104. [Google Scholar] [CrossRef]
  27. Bardoutsos, A.; Filios, G.; Katsidimas, I.; Nikoletseas, S. Energy efficient algorithm for multihop BLE networks on resource-constrained devices. In Proceedings of the 2019 15th International Conference on Distributed Computing in Sensor Systems (DCOSS), Santorini, Greece, 29–31 May 2019; pp. 400–407. [Google Scholar]
  28. Hussein, A.; Tarek, R.; Osama, H.; Fawzy, R.; Elsayed, K.; Taha, M. An aodv-based routing scheme for large-scale bluetooth low-energy mesh networks. In Proceedings of the 2020 8th International Japan-Africa Conference on Electronics, Communications, and Computations (JAC-ECC), Alexandria, Egypt, 14–15 December 2020; pp. 7–10. [Google Scholar]
  29. Darroudi, S.M.; Gomez, C. Bluetooth low energy mesh networks: A survey. Sensors 2017, 17, 1467. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  30. Baert, M.; Rossey, J.; Shahid, A.; Hoebeke, J. The Bluetooth mesh standard: An overview and experimental evaluation. Sensors 2018, 18, 2409. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  31. Murillo, Y.; Reynders, B.; Chiumento, A.; Pollin, S. A multiprotocol low-cost automated testbed for BLE mesh. IEEE Commun. Mag. 2019, 57, 76–83. [Google Scholar] [CrossRef]
  32. Rondón, R.; Mahmood, A.; Grimaldi, S.; Gidlund, M. Understanding the Performance of Bluetooth Mesh: Reliability, Delay and Scalability Analysis. IEEE Internet Things J. 2019, 7, 2089–2101. [Google Scholar] [CrossRef] [Green Version]
  33. Murillo, Y.; Reynders, B.; Chiumento, A.; Malik, S.; Crombez, P.; Pollin, S. Bluetooth now or low energy: Should BLE mesh become a flooding or connection oriented network? In Proceedings of the 2017 IEEE 28th Annual International Symposium on Personal, Indoor, and Mobile Radio Communications (PIMRC), Montreal, QC, Canada, 8–13 October 2017; pp. 1–6. [Google Scholar] [CrossRef]
  34. Kawabata, S.; Matsuzaki, R.; Ebara, H. Mixed synchronous and asynchronous duty-cycling protocol in sensor networks. In Proceedings of the 48th International Conference on Parallel Processing: Workshops, Kyoto, Japan, 5–8 August 2019; pp. 1–7. [Google Scholar]
  35. Hong, Y.W.; Scaglione, A. A scalable synchronization protocol for large scale sensor networks and its applications. IEEE J. Sel. Areas Commun. 2005, 23, 1085–1099. [Google Scholar] [CrossRef]
  36. Ghoshdastider, U.; Viga, R.; Kraft, M. Wireless time synchronization of a collaborative brain-computer-interface using bluetooth low energy. In Proceedings of the SENSORS, 2014 IEEE, Valencia, Spain, 2–5 November 2014; pp. 2250–2254. [Google Scholar]
  37. Bideaux, A.; Zimmermann, B.; Hey, S.; Stork, W. Synchronization in wireless biomedical-sensor networks with Bluetooth Low Energy. Curr. Dir. Biomed. Eng. 2015, 1, 73–76. [Google Scholar] [CrossRef]
  38. Dian, F.J.; Yousefi, A.; Somaratne, K. A study in accuracy of time synchronization of BLE devices using connection-based event. In Proceedings of the 2017 8th IEEE Annual Information Technology, Electronics and Mobile Communication Conference (IEMCON), Vancouver, BC, Canada, 3–5 October 2017; pp. 595–601. [Google Scholar]
  39. Rheinländer, C.C.; Wehn, N. Precise synchronization time stamp generation for Bluetooth low energy. In Proceedings of the 2016 IEEE SENSORS, Orlando, FL, USA, 30 October–3 November 2016; pp. 1–3. [Google Scholar]
  40. Asgarian, F.; Najafi, K. BlueSync: Time Synchronization in Bluetooth Low Energy with Energy Efficient Calculations. IEEE Internet Things J. 2021, 9, 8633–8645. [Google Scholar] [CrossRef]
  41. Hansen, E.A.; Nielsen, M.H.; Serup, D.E.; Williams, R.J.; Madsen, T.K.; Abildgren, R. On relay selection approaches in Bluetooth mesh networks. In Proceedings of the 2018 10th International Congress on Ultra Modern Telecommunications and Control Systems and Workshops (ICUMT), Moscow, Russia, 5–9 November 2018; pp. 1–5. [Google Scholar]
  42. Brandão, A.S.; Lima, M.C.; Abbas, C.J.B.; Villalba, L.J.G. An Energy Balanced Flooding Algorithm for a BLE mesh Network. IEEE Access 2020, 8, 97946–97958. [Google Scholar] [CrossRef]
  43. Gantsog, E.; Apsel, A.B.; Lane, F. A quantized pulse coupled oscillator for slow clocking of peer-to-peer networks. In Proceedings of the 2015 IEEE International Symposium on Circuits and Systems (ISCAS), Lisbon, Portugal, 24–27 May 2015; pp. 1314–1317. [Google Scholar] [CrossRef]
  44. Gantsog, E. Measuring, Monitoring, and Maintaining Timing at Large and Small Scales. Ph.D. Thesis, Cornell University, Ithaca, NY, USA, 2017. Available online: https://ecommons.cornell.edu/handle/1813/58991 (accessed on 4 December 2020).
Figure 1. Synchronization packet (sync) propagating through the network starting from the leader node. Colors highlight hops away from the leader. In this work, a 64-bit binary phase-shift keying (BPSK)-encoded Kasami sequence is used.
Figure 1. Synchronization packet (sync) propagating through the network starting from the leader node. Colors highlight hops away from the leader. In this work, a 64-bit binary phase-shift keying (BPSK)-encoded Kasami sequence is used.
Sensors 22 05324 g001
Figure 2. (a) A still shot that shows how fireflies can synchronously flash. (b) PCO synchronization demonstration. Diagram shows how three PCOs with random initial phase eventually synchronize.
Figure 2. (a) A still shot that shows how fireflies can synchronously flash. (b) PCO synchronization demonstration. Diagram shows how three PCOs with random initial phase eventually synchronize.
Sensors 22 05324 g002
Figure 3. (a) BLE channel spacing. (b) BLE stack.
Figure 3. (a) BLE channel spacing. (b) BLE stack.
Sensors 22 05324 g003
Figure 4. Conceptual representation of the two types of BLE mesh topologies. (a) Connection-oriented mesh network. (b) Connectionless or flooding mesh network.
Figure 4. Conceptual representation of the two types of BLE mesh topologies. (a) Connection-oriented mesh network. (b) Connectionless or flooding mesh network.
Sensors 22 05324 g004
Figure 5. Power consumption benchmark of connection-oriented FruityMesh vs. flooding-based Trickle BLE nodes in a network routing scenario from [33].
Figure 5. Power consumption benchmark of connection-oriented FruityMesh vs. flooding-based Trickle BLE nodes in a network routing scenario from [33].
Sensors 22 05324 g005
Figure 7. Proposed stack modification for scalable BLE mesh.
Figure 7. Proposed stack modification for scalable BLE mesh.
Sensors 22 05324 g007
Figure 8. (a) Network of 50 nodes generated by a uniform distribution with a 30 m effective range on a 100 by 100 m grid. (b) PCO reset offset of the 50 nodes relative to the fastest (leader) node across 40 leader cycles. Synchronization is achieved within the first 15 cycles, after which maximum synchronization latency is 38 μs between successive hops.
Figure 8. (a) Network of 50 nodes generated by a uniform distribution with a 30 m effective range on a 100 by 100 m grid. (b) PCO reset offset of the 50 nodes relative to the fastest (leader) node across 40 leader cycles. Synchronization is achieved within the first 15 cycles, after which maximum synchronization latency is 38 μs between successive hops.
Sensors 22 05324 g008
Figure 9. A functional block diagram of the peer-to-peer (P2P) radio node. AD9364 transceiver’s digital IO is routed to the ASIC chip for syncword detection and generation via PCB level-shifters. A shared crystal provides clock for the entire system. A ZedBoard is used to initialize the system and perform miscellaneous functions.
Figure 9. A functional block diagram of the peer-to-peer (P2P) radio node. AD9364 transceiver’s digital IO is routed to the ASIC chip for syncword detection and generation via PCB level-shifters. A shared crystal provides clock for the entire system. A ZedBoard is used to initialize the system and perform miscellaneous functions.
Sensors 22 05324 g009
Figure 10. Estimated AD9364 radio power using datasheet values for a 2 MSPS data rate, 10 MHz bandwidth at 2.4 GHz, 7 dBm output power. (a) Power vs. PCO period for a 64-bit syncword sequence. (b) Power vs. syncword length for a fixed PCO period.
Figure 10. Estimated AD9364 radio power using datasheet values for a 2 MSPS data rate, 10 MHz bandwidth at 2.4 GHz, 7 dBm output power. (a) Power vs. PCO period for a 64-bit syncword sequence. (b) Power vs. syncword length for a fixed PCO period.
Sensors 22 05324 g010
Figure 11. Optimized state transition diagram of the radio. TX can lag RX by t s y n c w o r d . RX must be enabled before the natural PCO reset to account for the reference crystal uncertainty. Reference crystal quality and syncword duration set the limit on how the system components can be duty-cycled. RX and TX latencies are omitted from the diagram for visual clarity.
Figure 11. Optimized state transition diagram of the radio. TX can lag RX by t s y n c w o r d . RX must be enabled before the natural PCO reset to account for the reference crystal uncertainty. Reference crystal quality and syncword duration set the limit on how the system components can be duty-cycled. RX and TX latencies are omitted from the diagram for visual clarity.
Sensors 22 05324 g011
Figure 12. Visual illustration of Equation (1). The latencies are due to the following: receive and transmit digital filter delays, speed of light propagation delay, and the syncword duration.
Figure 12. Visual illustration of Equation (1). The latencies are due to the following: receive and transmit digital filter delays, speed of light propagation delay, and the syncword duration.
Sensors 22 05324 g012
Figure 13. Visual representation of the reference crystal non-idealities. Phase noise in frequency domain is equivalent to jitter in the time domain.
Figure 13. Visual representation of the reference crystal non-idealities. Phase noise in frequency domain is equivalent to jitter in the time domain.
Sensors 22 05324 g013
Figure 14. Simulated duty-cycle limits in a 50-node network randomly distributed on a 100 m square grid. (a) D m i n vs. oscillator stability; values approach theoretical minimum for a near-perfect crystal. (b) RX window size overhead to receive the syncword assuming 50 ppm crystal with RMS jitter of 25 ps. Notably after 1 s, t d e l a y becomes negligible and crystal non-ideality limits the minimum duty-cycle.
Figure 14. Simulated duty-cycle limits in a 50-node network randomly distributed on a 100 m square grid. (a) D m i n vs. oscillator stability; values approach theoretical minimum for a near-perfect crystal. (b) RX window size overhead to receive the syncword assuming 50 ppm crystal with RMS jitter of 25 ps. Notably after 1 s, t d e l a y becomes negligible and crystal non-ideality limits the minimum duty-cycle.
Sensors 22 05324 g014
Figure 16. (a) Syncword error rate measurement setup. (b) Syncword detection error rate vs. signal strength at the antenna port.
Figure 16. (a) Syncword error rate measurement setup. (b) Syncword detection error rate vs. signal strength at the antenna port.
Sensors 22 05324 g016
Figure 18. Synchronized syncword detection and duty-cycled communication demonstration. A total of 200 μs after the PCO is reset, the radio wakes up again to open the RX window for 33 μs. This is sufficient time to detect a 32 μs sequence because timing errors have just been reset and uncertainty due to t c r y s t a l has not yet accumulated. Signals from top to bottom: TX RF output at the antenna (blue), RF switch direction where logic high selects RX (purple), TX baseband data (MSB) output of the chip (yellow), AD9364 clock (teal).
Figure 18. Synchronized syncword detection and duty-cycled communication demonstration. A total of 200 μs after the PCO is reset, the radio wakes up again to open the RX window for 33 μs. This is sufficient time to detect a 32 μs sequence because timing errors have just been reset and uncertainty due to t c r y s t a l has not yet accumulated. Signals from top to bottom: TX RF output at the antenna (blue), RF switch direction where logic high selects RX (purple), TX baseband data (MSB) output of the chip (yellow), AD9364 clock (teal).
Sensors 22 05324 g018
Figure 19. Measurement setup to quantify the limits of duty-cycling (Figure 20).
Figure 19. Measurement setup to quantify the limits of duty-cycling (Figure 20).
Sensors 22 05324 g019
Figure 21. A three-node multi-hop measurement setup. Upon reaching synchronization, node A starts constantly broadcasting a TXA data packet. If node B receives the TXA, it will transmit its own TXB packet on the following PCO cycle. If node C receives the TXB, it will generate a TXC packet. Generation of the TXC packet indicates a successful multi-hop data transfer.
Figure 21. A three-node multi-hop measurement setup. Upon reaching synchronization, node A starts constantly broadcasting a TXA data packet. If node B receives the TXA, it will transmit its own TXB packet on the following PCO cycle. If node C receives the TXB, it will generate a TXC packet. Generation of the TXC packet indicates a successful multi-hop data transfer.
Sensors 22 05324 g021
Table 1. Selected list of the current BLE mesh solutions.
Table 1. Selected list of the current BLE mesh solutions.
ProtocolTrickle [18]FruityMesh [19]BLEMesh [20]MRT-BLE [21]BOM [22]
TypeFloodingConnectionOpportunistic floodingConnectionFlooding
ProtocolBLUES [23]BMADS [24]BLE-EEOR [25]NUPFA [26]BLE Mesh [4]
TypeConnectionManaged floodingOpportunistic floodingConnectionManaged flooding
Table 2. Design trade-off space. Low crystal stability implies wide frequency variation of individual nodes, which enhances synchronization speed and stability (leader node is faster than second-fastest node) at the cost of increased duty-cycle. High syncword duration implies higher SNR and longer synchronization range at the cost of higher power. Arrows ( ) show relationships; colors indicate ↑ neutral, wanted, unwanted.
Table 2. Design trade-off space. Low crystal stability implies wide frequency variation of individual nodes, which enhances synchronization speed and stability (leader node is faster than second-fastest node) at the cost of increased duty-cycle. High syncword duration implies higher SNR and longer synchronization range at the cost of higher power. Arrows ( ) show relationships; colors indicate ↑ neutral, wanted, unwanted.
Crystal Stability:↑ ppm Sync Speed Sync Stability  D m i n
Syncword:↑ length Sync Speed Network Range  D m i n
Table 3. Per-component power breakdown for continuous vs. duty-cycled operation at T P C O = 1 s corresponding to the measurement in Figure 17. ∗ PCO power decreases slightly with higher count due to decreased switching. † TX and RX fully-on in FDD mode. ‡ Power is dominated by leakage.
Table 3. Per-component power breakdown for continuous vs. duty-cycled operation at T P C O = 1 s corresponding to the measurement in Figure 17. ∗ PCO power decreases slightly with higher count due to decreased switching. † TX and RX fully-on in FDD mode. ‡ Power is dominated by leakage.
Component2 MSPS Fully On (μW)2 MSPS 1 s Duty-Cycled (μW)
19.2 MHz Oscillator450450
PCO + Duty Controller14.712.9 ∗
Sequence Generator1.28≈0
Signal Processing Core5040.347 ‡
AD9364 TX@-10 dBm427,450 †517
RF Switch1.81.8
Total Power428,422 †982
D m i n (%)1000.0204
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Share and Cite

MDPI and ACS Style

Bukreyev, I.; Yüksel, H.; Ho, K.; Apsel, A. PCO-Based BLE Mesh Accelerator. Sensors 2022, 22, 5324. https://doi.org/10.3390/s22145324

AMA Style

Bukreyev I, Yüksel H, Ho K, Apsel A. PCO-Based BLE Mesh Accelerator. Sensors. 2022; 22(14):5324. https://doi.org/10.3390/s22145324

Chicago/Turabian Style

Bukreyev, Ivan, Hazal Yüksel, Ken Ho, and Alyssa Apsel. 2022. "PCO-Based BLE Mesh Accelerator" Sensors 22, no. 14: 5324. https://doi.org/10.3390/s22145324

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop