Next Article in Journal
Application of Blockchain Technology in Production Scheduling and Management of Human Resources Competencies
Next Article in Special Issue
A New RF Energy Harvesting System Based on Two Architectures to Enhance the DC Output Voltage for WSN Feeding
Previous Article in Journal
Correlation Study of 3D Surface Roughness of Milled Surfaces with Laser Speckle Pattern
Previous Article in Special Issue
A Highly Efficient RF-DC Converter for Energy Harvesting Applications Using a Threshold Voltage Cancellation Scheme
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Downlink Performance Modeling and Evaluation of Batteryless Low Power BLE Node

1
IDLab-Department of Computer Science, University of Antwerp-imec, 2000 Antwerp, Belgium
2
i2CAT Foundation, 08034 Barcelona, Spain
*
Author to whom correspondence should be addressed.
Sensors 2022, 22(8), 2841; https://doi.org/10.3390/s22082841
Submission received: 31 January 2022 / Revised: 4 April 2022 / Accepted: 5 April 2022 / Published: 7 April 2022

Abstract

:
Deploying low maintenance and long-life systems is an important requirement of emerging commercial Internet of Things (IoT) solutions. Such systems can be envisioned in which the connected devices are powered by energy harvested from ambient sources and stored in long-lifetime capacitors rather than short-lived and polluting batteries. However, due to the unpredictable nature of ambient energy harvesting, such batteryless IoT devices might not always have enough energy to initiate communication. The Bluetooth Low Energy (BLE) specification defines support for Low Power Nodes (LPNs) using the friendship feature, where the LPN is associated with a neighbouring friend node (FN). The LPN can receive downlink (DL) data and remain connected to the network via the FN that buffers the LPN’s incoming packets while allowing the LPN to save energy by sleeping or turning itself off. This novel BLE feature makes the LPN highly suitable to support the connection of batteryless ambiently-powered IoT devices. While the LPN can decide when to transmit uplink (UL) packets and does not depend on the FN to receive downlink (DL) data, the LPN needs to poll its FN to receive the buffered packets. However, the DL packet latency increases with this process due to the buffering time at the FN. Therefore, in this work, we present an analytical model to characterize the performance as a function of DL data latency and packet delivery ratio (PDR) of a batteryless LPN powered by different harvesting powers and capacitor sizes. This would help to optimally choose the correct configuration of the batteryless LPN for its network deployment. We also compare the analytical model and simulation results, showing consistency with an average error of 2.23% for DL data latency and 0.09% for the PDR.

1. Introduction

The emerging Internet of Things (IoT) concept aims to wirelessly connect billions of devices to the internet. Usually, these devices are powered by batteries. However, replacing batteries for such a large number of devices increases the cost of system maintenance, as it requires manual intervention. Battery life is also reduced due to over-charging and over-discharging, as well as environmental conditions (e.g., temperature fluctuations) [1]. Moreover, disposing of batteries is also a serious environmental concern. Therefore, considering the downside of battery usage and the requirement of low maintenance ’deploy and forget’ devices for the IoT, batteries can be replaced by easily recyclable and cheap capacitors combined with energy harvesting to obtain and store energy in a more sustainable way [2,3]. Such devices can achieve a long-term multi-decade active lifetime.
Bluetooth Low Energy (BLE) has become one of the most important technologies for the IoT thanks to its features (i.e., extremely low power consumption, low cost, and mesh topology support). It supports many use-cases, such as asset tracking, sensing, monitoring, control, and automation, with thousands of interconnected devices [4]. However, most existing BLE-based IoT solutions consider battery-powered devices. Meanwhile, designing a batteryless solution is important for long-term sustainability (i.e., no adverse impact on the environment), but it is also a challenging task. Batteryless devices usually charge their capacitor by harvesting ambient energy, which is often uncontrollable and unpredictable, allowing them to only work for a short amount of time. These conditions can result in intermittent behaviour where the device can experience multiple power failures. The duration of the power failure cycle depends on the harvesting power, capacitor size, and operating voltage. Moreover, for a specific harvesting power, the time to charge a capacitor increases with its capacitance [5]. Therefore, choosing the optimal capacitor size based on the minimum available harvesting power and required operations to achieve the desired performance is important.
The BLE specification [6] already provides a friendship feature to aid Low Power Nodes (LPNs) to save energy, keeping themselves in SLEEP or OFF mode for most of the time. The LPN awakes only (or turns on) to transmit or receive data packets. For sending uplink (UL) data packets, the LPN can broadcast them at any time. On the other hand, the LPN can start a poll process (request/response) to receive the downlink (DL) packets that are temporarily buffered at the friend node (FN). The polling happens periodically to receive any incoming data packets. This can reduce the overall energy consumption at the cost of increased DL data latency.
In battery-powered nodes (non-harvesting), long-term energy consumption is a key factor as it affects the total lifetime of the device. This factor is less important in batteryless devices powered by ambient energy as they can perpetually recharge themselves. Instead, short-term energy consumption bursts are more important as they may drain the capacitor and result in a power failure. In this article, we focus on analyzing the achievable DL latency and packet delivery ratio (PDR) using a batteryless BLE LPN supported by different harvesting powers and capacitor sizes. We model the system utilizing a discrete-time Markov Chain and compare the results with our developed simulator [7]. The simulator needs to simulate extended periods of time and be repeated many times to average out stochastic variability, whereas a model can immediately provide the results for a specific use case at steady state. This allows the model, compared to a full-fledged simulator, to be integrated into a real-time optimizer in the node that can help to easily reconfigure the BLE configuration parameters based on current conditions. The model can be used to theoretically perform a feasibility analysis of the friendship feature for bidirectional battery-less communication and to deduce its limitations. Moreover, it would aid in designing battery-less BLE devices by calculating its optimal hardware and software configuration for IoT use-cases that require downlink or bidirectional communication. Specifically, our model can be used to optimally derive the hardware configuration in terms of capacitor size. The software configuration parameters, in terms of ReceiveDelay, ReceiveWindow, Tx power level, and Poll interval of the batteryless LPN can be determined based on the use-case requirement in terms of data rate, DL latency, and PDR considering the neighboring FN queue size and minimum harvesting power at the network site.
The paper is organized as follows: Section 2 summarizes related work; Section 3 gives an overview of the BLE friendship feature; Section 4 explains the batteryless LPN system; and Section 5 presents the analytical model. Subsequently, Section 6 presents all the evaluation results and Section 7 shows the usage of model to derive optimal parameters by considering a logistic management IoT use-case. Section 8 draws the main conclusions. Finally, Section 9 briefly discusses limitations of the model and potential avenues for future work.

2. Related Work

There are several batteryless BLE prototypes designed by researchers. Silva et al. [8] presented a prototype where an implantable batteryless glucose monitor node was capable of transmitting data to a mobile phone when supplied power wirelessly using a Radio Frequency (RF) energy source. However, their design did not consider the Bluetooth mesh friendship feature and sent only UL data. Liu et al. recently proposed another RF-power based prototype for indoor BLE beaconing [9]. They tested the device for both UL and DL data. However, they did not analyze the effect of the capacitor size nor the performance in terms of DL latency. Fraternali et al. [10] designed a batteryless BLE sensor node based on ambient light energy harvesting. They presented a predictive algorithm that adapted to the changing ambient conditions to maximize the node lifetime and application quality of service. However, their focus was also only on the UL data. Nilsson et al. also conducted indoor and outdoor experiments to evaluate power consumption, range, throughput, and UL latency of a Bluetooth mesh network [11]. In summary, most of the research on batteryless BLE nodes is performed considering UL data without considering the friendship feature or DL communications.
There are two papers that considered the friendship feature. However, they considered battery-powered LPNs rather than batteryless LPNs. The first paper is by Alvarez et al. [12], who performed an in-depth analysis of security on the friendship concept. They demonstrated that a denial-of-friendship attack could reduce the LPN’s battery life by 70-fold. The second paper is by Darroudi et al. [13]. They presented an analytical model to study the energy performance parameters of a battery-operated BLE LPN. These parameters include current consumption, lifetime, and energy consumed per delivered bit for different PollTimeout and ReceiveWindow values. They calculated the evaluation parameters based on the average value of time and current consumption for all the radio states and for fixed UL data rate interval, in contrast to DL traffic, which does not require the polling feature or friend queue.
In contrast, our work is focused on the DL latency and packet delivery metrics. We focus on a batteryless LPN harvesting energy from ambient sources and not on battery power LPNs. As such, we do not consider current consumption as the evaluation metric, but rather a constraint that should be satisfied. Moreover, we focus on DL packet arrivals, which are first queued at the FN, and so our model studies the queueing performance based on the Markov chain with Poisson distributed data arrivals which provides discrete random distribution of data. In real-world applications, the data arrivals are also random, and so it is used to represent the message arrivals in the BLE network. The model provides the opportunity to analyze the batteryless LPN powered by different capacitor sizes receiving different harvested powers for various Bluetooth mesh network parameters, such as friend queue size, packet size, or receive delay. The model is also compared to our developed simulator as presented in [7].

3. BLE Friendship Feature

The Bluetooth mesh network is based on a publish-subscribe model for data communication. It supports up to 32,767 devices with a maximum of 128 hops [14]. The devices need to have addresses and security information to become part of the mesh network to send or receive data. This is enabled by a provisioner, and the provisioned device is called anode. Any node can support four additional optional features (namely, relay, proxy, friend, and low power [6]), as shown in Figure 1.
The relay node supports receiving and re-transmitting data packets to all the nodes in its connection range. It helps to extend the range of the entire network. The proxy node helps the non-mesh-supported BLE devices to communicate via the mesh network. To enable both these features, the node needs to listen continuously for advertising packets and, therefore, should be connected to a continuous power source [15]. To support energy-constraint nodes, BLE introduces the LPN, which can offload the task of listening to its incoming channel to a FN that can temporarily buffer any incoming data packets. For example, in Figure 1, LPN ‘A’ is associated with FN ‘X’ for the DL data. However, it does not need help to transmit UL data. The LPN can wake up any time to send UL data, assuming that at least one of its neighbouring nodes actively listens to the incoming channels. With the help of its FN, the LPN can save much of its energy by turning off its components and keeping itself in SLEEP mode for most of the time. However, before switching to the SLEEP or OFF state, the LPN needs to first establish a friendship with one of its single-hop neighbouring nodes. This neighbour needs to support the optional friendship feature.

3.1. Friendship Establishment

Figure 2 illustrates the messages exchanged during the friendship establishment procedure. The same Friend Request is received by one or more neighbouring friend feature enabled nodes. This message is 28 bytes of a network Protocol Data Unit (PDU), which consists of Criteria, ReceiveDelay (RD), PollTimeout (PT), PreviousAddress, NumElements, and NumReqCounter [6].
The Criteria is the minimum requirement in terms of the Received Signal Strength Indicator (RSSI), ReceiveWindow (RW), and supported queue size that an FN should satisfy. The RD is the waiting time of the LPN before it should expect to receive a poll response from the FN. PT is used to ensure that the FN does not keep the friendship context indefinitely and terminates the relationship if it does not receive any poll before the PT timer expires (since the last poll). Lastly, the RW is the maximum time that the LPN should listen to receive a response from the FN after sending a poll request. These timers can be seen in Figure 3. The RD and RW can be configured with a maximum value of 255 ms and a PT with a maximum of 96 hours. PreviousAddress defines the address of its previous FN, NumElements defines its number of addressable elements (as messages in the BLE mesh network are exchanged from the elements), and NumReqCounter defines the number of sent requests required to calculate the Friendship Security Material.
The FNs that satisfy the initial criteria defined by the LPN will offer the friendship by sending a Friend Offer (FO). This response message has a network PDU of 24 bytes, which consists of RW, supported friend queue (FQ) size, size of subscription list, calculated RSSI, and number of FO sent by this FN. Based on all the received FOs, the LPN selects the best among them, considering the Criteria satisfactions. To confirm this selection, the LPN acknowledges the selected FN with a Friend Poll (FP) message of 19 bytes, with the Friend Sequence Number (FSN) equal to zero. Next, the FN finalizes the friendship procedure by sending a Friend Update (FU) message of 24 bytes that contains the flags, More Data (MD), indicating if the queue is empty or not, and another flag that indicates the update of the initialization vector (IV) index (which is a shared network resource) or security key. It also contains the current IV index value known by the FN. Once the friendship is established, the LPN also notifies the FN with all the subscribed group list addresses so that the FN knows which messages it should buffer and forward to the LPN.

3.2. Receiving Downlink Data

As the friendship is established, the LPN can now switch to SLEEP mode, and all the incoming DL packets of the LPN will be buffered in the FQ. The process is shown in Figure 3.
The LPN can retrieve them from the FN by periodically waking up and sending an FP message in all three broadcast channels (37 to 39). On reception of the FP, the FN gets a time window of RW ( T R W ) seconds, starting ( T R D ) seconds after receiving the FP to send a response [16]. We also define an arrival time ( A T or T A T ), which denotes the total listening time until the LPN starts receiving the message. While sending the FP, the LPN needs to toggle the FSN value to indicate the acknowledgement of the previous message. If the FN receives the same FSN field value as the last FP message received from the FN, it responds with the same message that it has previously sent, unless the FQ head is updated. This can be updated by any new incoming packet(s) whenever it arrives at a full FQ. In this case, the oldest packet (FQ head) would be discarded (dequeued) and the newly arrived packet would be added in the queue tail (queued). This strategy is called ‘push-out’. Therefore, if the previously sent message has been discarded (on the arrival of new packets), then the oldest entry in the FQ shall be sent. If the FQ is empty, an FU is sent with MD equal to zero. To avoid receiving frequent, continuous FU messages, a timer poll interval timer ( T P I ) can be considered. On receiving an FU message, an LPN needs to wait until the PI expires to send the next FP message. As we consider a batteryless LPN, it may happen that it is unable to send the FP exactly at the expiration of PI due to energy constraints. The friendship can also be terminated if the LPN does not receive any response from the FN after sending the FP for a certain amount of attempts. Moreover, BLE mesh provides infrastructure-less connectivity without any overheads of time synchronization [17]. As the nodes (except LPNs) are assumed to be always listening, there is no need to synchronize their listening timeslots. Moreover, the LPN always initiates communication with the FN itself (i.e., receiver-initiated communication); therefore, the LPN does not need to synchronize explicitly for receiving data either [16]. Timing of the RW is done relative to the FP message sent by the LPN to its FN.

4. Batteryless BLE LPN

Let the LPN have an already established friendship with a neighbouring FN. To receive DL packets, the radio of an LPN can be in 15 different states, as shown in Figure 3 (radio wake-up to post-processing and cool down). The voltage (energy) of a capacitor as a function of time, supporting various states of the radio as used in the remainder of this section, was first introduced by Delgado et al. [18].

4.1. Capacitor Voltage

Equation (1) provides the voltage on the capacitor after the device operates at a load current of I L ( X ) (amperes) in state X for a time Δ t , harvesting from a constant voltage source, providing a power equal to P h (watts).
V ( t + Δ t ) = V m a x · P h P h + V m a x I L ( X ) 1 e Δ t · ( P h + V m a x I L ( X ) ) V m a x 2 · C + V ( t ) · e Δ t · ( P h + V m a x I L ( X ) ) V m a x 2 · C ,
where, V m a x (volt) is the maximum capacitor voltage for capacitance C (farad).
As the capacitor has a small energy density and due to the unpredictable availability of harvested energy, it can result in intermittent on-off behaviour of the batteryless LPN, as shown in Figure 4. When the capacitor voltage drops below the minimum operating voltage ( V c u t o f f ), the LPN transitions to the OFF state. If the LPN is in the OFF state, it transitions to the SLEEP state only when achieving a predefined turn-on voltage V t u r n o n .
However, in our model, an energy-aware LPN is considered that tries to avoid the OFF state. It can use an ultra-low-power comparator, with power consumption in the order of pico-watts [19], which can determine if a defined voltage level in the capacitor has been reached. This voltage could be set to the minimum voltage level required to execute a task (such as poll, receive data) without going below V c u t o f f . We refer to that approach as an energy-aware device.
As stated before, the friendship can be terminated if no response is received either after sending N ˙ FPs or if the time between two consecutive FPs is larger than T P T . To avoid this, the P h is considered such that it allows the capacitor to recharge itself from V m i n to a threshold voltage level that is sufficient to perform a poll request-response cycle in less than T P T . The time to send the FP when the batteryless LPN needs to have a required threshold voltage of V t h F P to start the FP and the remaining voltage of the capacitor after an FP is calculated in Section 4.2.

4.2. Time to Next Poll

The time at which the next FP can take place depends on whether the FQ is empty or not and the available energy after the previous poll.

4.2.1. FQ Is Not Empty

The voltage of the capacitor after all the polling stages can be calculated according to Equation (1), starting from an initial voltage ( V 0 ) and considering ‘radio wake-up’ as an initial state. Let V f be the final voltage after all the polling radio stages (as shown in Figure 3) of the previous poll are executed. Therefore, there are two scenarios:
  • V f V t h F P : The next FP can be sent immediately, and the time between two FPs ( T F P ) is the sum of all the state timings as defined in Table 1 and is calculated as Equation (2). The capacitor voltage at the start of the next poll instance will be V f .
    T F P = i = A l l S t a t e s T i
  • V f < V t h F P : As V f is less than the required voltage to poll, the device needs to switch to SLEEP mode to charge the capacitor and avoid its voltage from reaching V c u t o f f . Let the node sleep for the time T s l e e p which can be deduced using Equation (1). Therefore, the time between two FPs has an extra wait time of T s l e e p in addition to all the FP state’s timings and is calculated in Equation (3).
    T F P = i = A l l S t a t e s T i + T s l e e p
    The capacitor voltage at the start of the next poll instance will be V t h F P (after the capacitor is charged while the LPN is in SLEEP mode).

4.2.2. FQ Is Empty

If the FQ is empty, the LPN needs to wait for the time PI ( T P I ) to poll, as it received an FU after the previous FP message. Therefore, in this case, the voltage V f would be calculated after a sleep time of T P I . Now again, there are two cases.
  • V f V t h F P : The time to poll has an extra delay of T P I in addition to all the FP state’s timings.
    T F P = i = A l l S t a t e s T i + T P I
    The capacitor voltage at the start of the next poll instance will be V f .
  • V f < V t h F P : Similar to above, the node needs to switch to SLEEP mode to provide enough time to charge the capacitor. Therefore, the time between two FPs has an additional time T s l e e p and T P I in addition to all the FP state’s timings.
    T F P = i = A l l S t a t e s T i + T P I + T s l e e p
    The capacitor voltage at the start of the next poll instance is V t h F P .
The threshold voltage of the FP ( V t h F P ) can be calculated by taking the inverse of the function, as mentioned in Equation (1) calculating V(t), knowing the value of V ( t + Δ t ) for all the states of the poll, considering the initial voltage as V c u t o f f , and with starting state ‘post-processing and cool down’.

5. System Model

This section presents the analytical model of the system described in Section 4. The DL latency, FQ occupancy, and PDR are calculated. All the symbols used in this section are summarized in Appendix A.

5.1. The Queueing Model

We call the time interval between two FPs, when the FQ at the start of the interval is not empty, a ‘service’. The time interval between two FPs, during which an FU is transmitted from the FN to the LPN (i.e., the FQ at the start of the interval is empty), is called a ‘vacation’. The system can be modelled as a finite capacity queue, where the server takes repeated vacations. The duration of a service and a vacation depends on the LPN’s capacitor voltage. Let the packets arrive at the FN according to a Poisson distribution with data arrival rate λ , and the FN temporarily buffers them in a buffer (FQ) of capacity N. The vector U represents the discretized voltages that a capacitor can take between 1 and V m a x . Hence, the duration of a service when the voltage equals i U can be denoted by S i with distribution function S i ( t ) and Laplace Transform (LST) S i * ( ν ) . Similarly, for the vacation, W i , W i ( t ) and W i * ( ν ) can represent the duration, the distribution function, and its LST, respectively. The duration of a service consists of all the radio states during polling and possibly followed by a sleep period to reach the threshold index V t h F P . The radio states during the polling can be assumed to have a constant duration for a fixed size of the DL packet. Hence, S i can be computed considering FQ is not empty and W i considering it is empty, as discussed in Section 4.2. If at the start of a service the voltage is equal to i , then the voltage at the next poll instance is denoted by V i S and calculated using Equation (1) for all the polling radio states. Similarly, if the voltage is equal to i at the start of a vacation, its values at the next inspection instant denoted by V i W also include the SLEEP state for T P I .
The probability P k , i S and P k , i W that k packets arrive during the service time and the vacation time respectively, starting from U , equal to i , can be calculated as Equation (6).
P k , i S = 0 ( λ t ) k k ! e λ t d S i ( t ) P k , i W = 0 ( λ t ) k k ! e λ t d W i ( t )
The column vectors of the averages of the service times and the vacation times are given by Equation (7).
E [ S ] ¯ = ( E [ S 1 ] , E [ S 2 ] , , E [ S V m a x ] ) E [ W ] ¯ = ( E [ W 1 ] , E [ W 2 ] , , E [ W V m a x ] ) .

5.2. Embedded Markov Chain

The system is observed at the poll instants ( t n , n = 1, 2, ⋯, ). We refer to these poll instants as i n s p e c t i o n i n s t a n t s . Let Q n be the number of packets in the FQ and V n be the available capacitor voltage at time instant t n . It should be noted that V n will never take values below V s t a r t p o l l , which is the minimum voltage available at a poll instant that allows all functions of the radio to receive a packet. Hence, the stochastic process ( Q n , V n ) at t n is a discrete-time finite Markov Chain with state-space size equal to ( N + 1 ) · ( V m a x V s t a r t p o l l + 1 ) . The limiting probability distribution function of this Markov Chain is denoted by p ¯ = ( p ¯ 0 , p ¯ 1 , , p N ¯ ) . Let ( p ¯ k ) i denote the joint probability distribution of the voltage and the queue length, as shown in Equation (8).
( p ¯ k ) i = lim n P r o b Q n = k , V n = i , where , 0 k N , i = V s t a r t p o l l , V m a x
The transition matrix of this Markov Chain is given by Equation (9).
P = [ B 0 B 1 B 2 B N 2 B N 1 n = N B n A 0 A 1 A 2 A N 2 n = N 1 A n 0 0 A 0 A 1 A N 3 n = N 2 A n 0 0 0 0 A 0 n = 1 A n 0 0 0 0 0 n = 0 A n 0 ]
where, B n represents the transitions starting from an empty system and ending up with n packets in the FQ at the next inspection point. Whereas, A n represents the transitions starting from a non-empty system. The ( V m a x V s t a r t p o l l + 1 ) · ( V m a x V s t a r t p o l l + 1 ) size-matrices A n are defined by Equation (10).
( A n ) i , j = P n , i S , for i =   [ V s t a r t p o l l , V m a x ] , j = V i S 0 , elsewhere
Similarly, B n can also be calculated as Equation (11).
( B n ) i , j = P n , i W , for i =   [ V s t a r t p o l l , V m a x ] , j = V i W 0 , elsewhere
In the numerical examples, for a large value of k, P k has positive real entries. Therefore, the matrix P is regular and has a unique normalized eigenvector p ¯ corresponding to the eigenvalue 1. Hence, the probability distribution satisfies Equation (12).
p ¯ = p ¯ · P p ¯ · e ¯ = 1 , where , e ¯ is the ( N + 1 ) · ( V m a x V s t a r t p o l l + 1 ) unit vector .
The steady-state probability of the system occupancy at arbitrary time instants has been derived in [20]. Let T FP be the average time between two consecutive inspection instants given by Equation (13).
T F P = [ 1 p ¯ 0 · e ¯ ] · E [ S ] + p ¯ 0 · e ¯ · E [ W ] ,
where
E [ S ] = n = 1 N p ¯ n · E [ S ] ¯ 1 p 0 ¯ · e ¯ , i f p 0 ¯ · e ¯ 1 0 , i f p 0 ¯ · e ¯ = 1 ( s y s t e m i s a l w a y s e m p t y )
and
E [ W ] = p 0 ¯ · E [ W ] ¯ p 0 ¯ · e ¯ , i f p 0 ¯ · e ¯ 0 0 , i f p 0 ¯ · e ¯ = 0 ( s y s t e m i s n e v e r e m p t y )
The queue occupancy distribution, i.e., the probability that there are n packets in the FQ, is then given by Equation (16) [20].
O n = 1 λ · T F P · p ¯ n · e ¯ p ¯ 0 · B n · e ¯ , where , n = [ 0 , N 1 ] And O N = 1 1 λ · T F P · 1 p ¯ 0 · e ¯ .
Therefore, the total percentage of packet loss is equal to 100 · O N .

5.3. Performance Metrics

In this section, the metrics, average FQ occupancy, and average DL latency, are computed.
  • Average FQ occupancy: The FN uses a push-out strategy to manage its FQ, which means when a packet arrives at a full FQ, the oldest packet in the FQ would be dropped. However, the number of packets in the push-out system is the same even if the arriving packet is dropped (drop-tail). Since the probability that an arriving packet finds a full FQ is equal to O N , the average system occupancy in a ‘drop-tail’ system is given by Equation (17).
    O D T = n = 1 N n · O n .
    Now, the average system occupancy in a ‘push-out’ system ( O P O ) is equal to the O D T .
  • Average DL latency: The actual arrival rate in a drop-tail system is given by ( 1 O N ) · λ and, applying Little’s well-known formula [21], the average response time in a drop-tail system is given by Equation (18).
    T D T = O D T ( 1 O N ) · λ .
    However, the waiting time of a packet in the system using push-out is quite different from the waiting time in a system using drop-tail. In a drop-tail system, the packets behind a tagged packet do not impact the delay of that packet. However, in a push-out system, packets arriving after the tagged packet may, in case they arrive at a full queue, push out the first packet in the queue and hence influence the delay experienced by the tagged packet. The waiting time in the push-out system consists of two parts: firstly, the time interval between the packet arrival instant (at FQ) and the next inspection instant (i.e., until the end of the vacation if it arrives during a vacation or until the end of a service if it arrives during a service); secondly, the time interval between this inspection instant and the start of the transmission of the packet.
    -
    Between arrival instant and the next inspection instant: There are two scenarios, either the packet arrives during the vacation period or during the service period.
    *
    An arbitrary time instant falls in a vacation: Let P n ω ( t ) be the probability that an arbitrary time instant falls in a vacation period, that there are n packets (maximum N ) present in the system at time t, and that the remaining vacation time is T v that satisfies t T v < t + d t . The LST of this probability has already been determined by Blondia [20]. Hence, the inverse LST can provide us the value of P n ω ( t ) and P N ω ( t ) , as defined in Equation (19).
    P n ω ( t ) = 1 λ · T F P · [ p ¯ 0 · e ¯ · μ E [ W ] ( t ) · ( 1 ) n + 1 · e λ · ( t E [ W ] ) · ( t E [ W ] ) n n ! l = 0 n p ¯ 0 · B l · e ¯ · λ n l + 1 · ( 1 ) n l + 1 · e λ · t · t n l ( n l ) ! ] . and P N ω ( t ) = p ¯ 0 · e ¯ T F P · 1 μ E [ W ] ( t ) n = 0 N 1 P n ω ( t ) ,
    where, n = [0, N − 1] and μ E [ W ] (t) is a Heaviside function that outputs (0) if t E [ W ] and (1) if t > E [ W ] .
    P n , k ω ( t ) represents the probability that an arbitrary time instant falls in a vacation period, that there are n packets (maximum N ) present in the system at time t , and there are k packet arrivals (maximum N 1 ) during the remaining vacation time T v . This probability is given by Equation (20).
    P n , k ω ( t ) = e λ · t ( λ · t ) k k ! · P n ω ( t ) .
    The probability that at an arbitrary time instant there are n packets (maximum N 1 ) in the system and that, during the remaining time of the vacation k , packets (maximum N 1 ) have arrived is given in Equation (21).
    P n , k Ω = 0 P n , k ω ( t ) d t = 1 λ T F P l = 0 n p ¯ 0 · B l · e ¯ · ( λ · E [ W ] ) n l + k + 1 · ( 1 ) n l ( n l ) ! · k ! · ( n l + k + 1 ) And P N , k Ω = p ¯ 0 · e ¯ λ T F P · 1 e λ · E [ W ] · i = 0 k ( λ · E [ W ] ) i ( i ) ! n = 0 N 1 P n , k Ω .
    The average waiting time until the next inspection instant of a packet that arrives at an arbitrary time instant in a vacation period is then given by Equation (22).
    T n , k Ω = 0 t · P n , k ω ( t ) d t = 1 λ T F P l = 0 n p ¯ 0 · B l · e ¯ · ( λ · E [ W ] ) n l + k + 1 · ( 1 ) n l · E [ W ] ( n l ) ! · k ! · ( n l + k + 2 ) And T N , k Ω = p ¯ 0 · e ¯ · ( k + 1 ) λ 2 · T F P · 1 e λ · E [ W ] · i = 0 k + 1 ( λ · E [ W ] ) i ( i ) ! n = 0 N 1 T n , k Ω .
    *
    An arbitrary time instant falls in a service: Let P n π ( t ) be the probability that an arbitrary time instant falls in a service period, that there are n packets (maximum N ) present in the system at time t , and that the remaining service time T s satisfies t T s < t + d t . Based on the Laplace transform, [20] P n π ( t ) can be calculated as Equation (23).
    P n π ( t ) = 1 λ · T F P · [ l = 1 n ( p ¯ 1 · e ¯ · λ n l · μ E [ S ] ( t ) · ( 1 ) n l + 1 · e λ · ( t E [ S ] ) · ( t E [ S ] ) n l ( n l ) ! ) l = 1 n p ¯ l 1 p ¯ 0 · B l 1 · e ¯ · λ n l · ( 1 ) n l + 1 · e λ · t · t n l ( n l ) ! ] , and P N π ( t ) = l = 1 N 1 p ¯ 1 · e ¯ T F P · 1 μ E [ S ] ( t ) n = 1 N 1 P n π ( t ) . where , n = [ 0 , , N 1 ] .
    The probability that a packet arrives in a service period and n packets are present in the FQ at time t and k packets arrive in the remaining service time is given by Equation (24).
    P n , k π ( t ) = e λ t ( λ t ) k k ! · P n π ( t ) where , n = [ 0 , N ] and k = [ 0 , N - 1 ] .
    Similar to Equation (21), the probability ( P n , k Π ) that, at an arbitrary time instant, there are n packets in the system and that during the remaining time of the service k packets have arrived can be calculated as Equation (25).
    P n , k Π = 0 P n , k π ( t ) d t = 1 λ T F P l = 1 n p ¯ l 1 p ¯ 0 · B l 1 · e ¯ · ( λ · E [ S ] ) n l + k + 1 · ( 1 ) n l ( n l ) ! · k ! · ( n l + k + 1 ) . and P N , k Π = l = 1 N p ¯ l · e ¯ λ T F P · 1 e λ · E [ S ] · i = 0 k ( λ · E [ S ] ) i ( i ) ! n = 1 N 1 P n , k π .
    The average waiting time of a packet that arrives at an arbitrary time instant in a service period is then given by Equation (26).
    T n , k Π = 0 t · P n , k π ( t ) d t = l = 1 N ( p ¯ l · e ¯ ) λ T F P · ( λ · E [ S ] ) n l + k + 1 · ( 1 ) n l · E [ S ] ( n l ) ! · k ! · ( n l + k + 2 ) . and T N , k π = l = 1 N p ¯ l · e ¯ · ( k + 1 ) λ 2 · T F P · 1 e λ · E [ S ] · i = 0 k + 1 ( λ · E [ S ] ) i ( i ) ! n = 0 N 1 T n , k π .
    -
    Between this inspection instant and the start of the transmission of the packet: Let T n , k s be the mean waiting time of a packet in the FQ at the end of a service that will be served and that has n packets (maximum N 2 ) ahead and k packets (maximum N n 2 ) behind is given by Equation (27).
    T 0 , k s = 0 , for k = [ 0 , N - 2 ] T 1 , k s = j = 0 N k 2 T 0 , k + j s + E [ S ] · ( λ · E [ S ] ) j j ! · e λ · E [ S ] , for k = [ 0 , N 3 ] T n , k s = j = 0 N n k 1 T n 1 , k + j s + E [ S ] · ( λ · E [ S ] ) j j ! · e λ · E [ S ] + j = N n k N k 2 T N k 2 j , k + j s + E [ S ] · ( λ · E [ S ] ) j j ! · e λ · E [ S ] , for k = [ 0 , N n 2 ] and n = [ 2 , N 2 ] .
    Similar to Equation (27), the mean waiting time of a packet in the FQ at the end of a vacation period T n , k v that will be served and has n packets ahead (maximum N 1 ) and k packets (maximum N n 1 ) behind can be calculated.
    The total waiting time of a packet arriving at an arbitrary instant at the FN or average DL latency, served eventually in a system using the push-out strategy, is given by Equation (28).
    T P O = k = 0 N 1 T 0 , k Ω + P 0 , k Ω · T 0 , k v + n = 1 N 1 [ k = 0 N n 1 T n , k Ω + P n , k Ω · T n , k v + k = N n N 1 T N , k Ω + P N , k Ω · T N k 1 , k v ] + k = 0 N 2 T 1 , k Π + P 1 , k Π · T 0 , k s + n = 2 N 1 k = 0 N n 1 T n , k Π + P n , k Π · T n 1 , k s + k = N n N 2 T N , k Π + P N , k Π · T N k 2 , k s

6. Evaluation

This section presents the evaluation of the DL latency and PDR results using the analytical model and the simulator. Firstly, the description of the simulation setup is presented. This is followed by comparing the results of our analytical model and the simulator. The model is implemented in Matlab R2020b, while the simulation program is written in Python 3.9.6. Thereafter, these results are analyzed in detail based on parameters such as harvesting power, capacitor size, data arrival rate, and poll interval timer of a batteryless BLE LPN.
Note that the execution time of the model in Matlab scales with the size of the transition matrix. Therefore, if it is known that, at a specified harvesting rate, the capacitor would be unable to recharge itself up to V m a x and the matrix size can be reduced by assuming a lower value of V m a x . This behaviour can be easily perceivable for low harvesting rates in combination with large capacitor sizes.

6.1. Simulation Setup

We implemented an event-based simulator to imitate the friendship communication mechanism of the batteryless LPNs as proposed in [7]. The simulator follows an event-based packet scheduling and is capable of reproducing the BLE radio activities, such as sending FP messages and FQ buffered data packets. It also uses the same capacitor model to imitate the capacitor behaviour, as mentioned in Section 4. Each experiment of the simulator is run until a total of 25,000 packets have been generated according to a Poisson arrival process. To request and receive a buffered data packet, the LPN follows the sequence of states listed in Table 1, in the order from top to bottom. The table also mentions the execution time and the current consumption of the corresponding states of the LPNs. These time and current consumption values can be used as Δ t and I L ( X ) to calculate the capacitor’s voltage at any time using Equation (1). The time and the current consumption were measured at 1.8 V supply voltage on the Nordic nRF52840 BLE devkit [22] using the Nordic Power Profiler Kit II [23] while running the developed LPN application. All the states of the FP and receiving message mentioned in Table 1 can be seen in Figure 5.
The parameters listed in Table 2 are used to evaluate the model. As such, the values of V c u t o f f and V m a x are taken considering one of the configurations of a representative off-the-shelf power management unit [24]. The following performance metrics are considered in the comparison:
  • Packet delivery ratio (PDR): The ratio of packets successfully received by the LPN compared to the total reaching the FQ.
  • Downlink packet latency: The average latency to receive a packet by the LPN from the time it arrives at the FQ.

6.2. Model Validation

The model is validated using the simulation and the emulator. We ran a total of 5640 test cases to compare the results of the analytical model and the simulation. The test cases encompass all possible parameter combinations listed in Table 2. Whereas, using an emulator, a hardware with a lack of automation, we manually ran 25 tests.

6.2.1. Using Simulation

The harvesting power is considered for harvesting techniques, which are low indoor light or human body temperature, that generate up to 1 mW. To avoid longer latency delay, the poll interval is considered only up to 10 times the data rate. These test cases only analyze DL data. The cumulative distribution shown in Figure 6 presents the relative deviation in PDR and DL latency between the simulation and the model results. We also simulate the device for the large power (more than 1 mW), generating harvesting techniques such as industrial temperature, direct sunlight, or mechanical movement. However, the result obtained with such harvesting techniques would result in 100% PDR with the lowest possible DL latency. Therefore, we exclude these test cases from the result analysis.
There is a mean difference of 2.23% and 0.099% in DL latency and PDR, respectively, found in a run of all the test cases. A high relative difference in PDR value (≥2%) is observed when the PI is set to a relatively larger value than the data arrival rate. For these cases, the relative difference in latency is around 13%. Moreover, the large relative deviation in latency value (≥15%) is also observed for the low P h when the PDR is less than 100%. However, the deviation in latency is higher for the lowest FQ sizes (8 or less). For such cases, the deviation in PDR is only 0.58%.
There are a total of 92.73% and 100% test cases for DL latency and PDR, respectively, with a percentage difference less than 10%. By analyzing the results for the PDR and DL latency of the model and simulation, it is evident that the model’s accuracy is high. However, solving the model is computationally complex for large FQ sizes (32 or more), and the relative mean difference in the DL latency test cases for the lowest FQ size (2 packets) is higher compared to larger queue sizes.

6.2.2. Using Emulator

We use an energy-harvesting emulator called Environment Emulator (EnvEmu) [25], which is a stripped-down version of the TMote Sky. It is connected to the Nordic nRF52840 development board that runs the BLE LPN application, as shown in Figure 7. The EnvEmu is powered by USB and provides a variable input voltage between 1.5 and 3.3 V to Nordic BLE LPN via its VDD-GND pin. The output voltage is based on the emulation of a virtual capacitor and energy harvesting source, which can both be dynamically configured in the EnvEmu via simple commands. An instruction manual for the EnvEmu using Linux can be found in [26]. Two more Nordic nRF52832 development boards powered by USB are also part of the BLE mesh network, of which one acts as an FN and another generates DL packets. The FN temporarily accumulates the incoming DL data from the mesh node, which the batteryless LPN polls.
Figure 8 shows the comparison of the model and emulator for different FQs. It can be observed that the results are similar. The mean difference in the result of the emulator and model is 1.22% and 0.3% in PDR and DL latency, respectively.

6.3. Result Analysis Based on Analytical Model and Simulation

Figure 9, Figure 10 and Figure 11 plot the results of the analytical model and the simulation, showing the effect of all the dependent parameters. It is clear that the analytical model and simulation follow the same behaviour, and the results match closely in all the plotted graphs. It can be observed from Figure 9 that, as the harvesting power increases, the average PDR and DL latency improve until they reach their corresponding maximum achievable values.
The improvement in the PDR and DL latency accelerate faster for low harvesting power until the PDR crosses 80% (0.25 mW in Figure 9a,b). Further, an increase in the harvesting power improves the DL latency at a higher rate than the PDR because, at such harvesting power, the capacitor can recharge faster again to V t h F P to receive packets. As soon as the PDR and DL latency reach their corresponding best achievable values, an increase in the harvesting power does not affect the results because the capacitor voltage never drops below V t h F P , and therefore, the node does not need to go into SLEEP mode to recharge its capacitor. For an arrival rate of 1 s, this harvesting power point is 0.6 mW, as shown in Figure 9. With the decrease in arrival rate, the capacitor gets more time to recharge itself. Therefore, for an arrival rate of 10 s, the mentioned harvesting power point value reduces to 0.3 mW (not shown in Figures). The size of the capacitor also plays a vital role in achieving the desired performance. As a larger capacitor can store more energy, the PDR for the 0.5 mF capacitor is higher than for 0.1 mF. However, the increase of the capacitor size also affects its charging time. Therefore, the performance does not improve much with the increase in the capacitor size after a certain optimal capacitor size for each specific harvesting power. There is an optimal capacitor size for each set of parameters. It can be observed from Figure 10b that, at a harvesting power of 0.1 mW, the optimal capacitor size, where the DL latency is lowest, is 0.35 mF, and for 0.2 mW of harvested power, it is 0.45 mF. An increase in the capacitor size higher than 0.5 mF shows reduced growth in the PDR (harvesting power 0.1 and 0.2 mW). Additionally, when the PDR is 100%, the increase in the capacitor size would improve the DL latency (yellow line at P h 0.4 mW), but not substantially.
Figure 11 shows that, for a fixed harvesting power (0.1 mW), with the decrease in Poisson arrival rate for downlink packets, the PDR can be improved to 100%. This is because the capacitor gets ample time to charge itself before the subsequent transmission. However, the achieved latency can increase with the increase in the poll interval timer as the node has to wait for this PI once it receives the FU. Therefore, the higher the PI, the longer the arriving packets wait in the FQ to be polled. As such, when the data arrival rate is 10 s, some packets are also being dropped for large PI (150 s). Although frequent polling consumes additional energy, the considered harvesting power (0.1 mW) is sufficient to support a PI as low as 1 s without negatively affecting PDR. Moreover, the DL latency at the arrival rate of 1 s is not affected by the increase in PI, because there are always packets waiting in the FQ to be polled, and the LPN never receives an FU message.
If the size of the FQ decreases, then the number of dropped packets increases for higher PI. This can be observed in Figure 12. The smaller the FQ, the lower the PDR. Another interesting parameter of the LPN is the AT, which also affects the power consumption and DL latency, as the LPN needs to actively listen during the configured time. With the increase in AT, the LPN wastes energy in idle listening on the incoming channels.
Figure 13 shows its effect on DL latency and PDR. It can be observed that a slight increase in AT can drastically affect the PDR and, therefore, the DL latency. However, when the data arrival rate is low, the LPN has sufficient time to recharge its capacitor to maintain a PDR of 100%, but the increase in AT affects the DL latency exponentially. As seen for the Poisson arrival rate of 30 s, the latency increases 60-fold from 0.65 s at 0 s AT to 38.43 s at AT of 255 ms. At a high Poisson arrival rate (i.e., 1 s), the impact of the AT is higher because the LPN has less time to charge its capacitor and needs to receive more packets compared to lower Poisson data arrival rates. Increasing the AT further affects the performance marginally. Therefore, AT should be configured as small as possible to achieve high LPN performance. However, a small AT value provides less time to the FN to send a response to the LPN, which in turn affects the scalability (i.e., it causes missed response opportunities when multiple LPNs expect a response simultaneously).
Furthermore, from Figure 14, it can be observed that an LPN having a capacitor of 0.1 mF and a harvesting power of 0.1 mW can receive almost all the data packets when the arrival rate is 10 s for poll interval timers lower than 60 s. Further, decreasing the data arrival rate (from 7 s to 30 s) would improve the latency because fewer packets are entering into the FQ and the capacitor gets more time to recharge itself. Similarly, it improves the PDR when the data arrival rate decreases from 1 s to 7 s. However, the DL latency increases in this interval because with the decrease in data interval fewer packets are entered into the FQ and thus wait longer to be polled.

7. Use-Case: Logistic Management

This section presents the use of the proposed model to derive optimal parameters for a batteryless BLE node, considering the IoT use-case of the logistics process. Logistics is one of the major industries adopted by IoT at scale. IoT applications can facilitate asset monitoring in warehouses or shops. Instead of checking the assets manually, they can be connected via batteryless BLE devices that allow effortless tracking of each item. This batteryless device can listen to incoming queries to respond about its availability or transmit sensor data. Consider a use-case where a server queries for the asset availability every 30 s and the batteryless node can harvest 100 μW. The model can be used to find the optimal BLE batteryless LPN configuration, including the capacitor size and poll interval. Assuming a friend queue size of eight packets and an arrival time of 5 min, the model provides the result as shown in Figure 15. It can be observed that the PDR is 100% for lower PI values and the capacitor which are greater than equal to 0.5 mF. However, DL latency is lower for a capacitor of 5 mF or more and does not vary much. Therefore, considering the charging and discharging time of a capacitor, we should select the lowest possible capacitor, which, for this use-case, can be considered as 5 mF. Additionally, the DL latency is lowest (18.27 s) at a PI equal to 20 s.
Moreover, if the packet arrival rate from the server changes, the model can be used to determine the new expected performance of this batteryless LPN that harvests 100 μ W and can be configured with a capacitor of 5 mF and polling at 20 s. The result is shown in Figure 16. It can be observed that, at a high arrival rate (1 and 10 s), many packets drop, whereas, lowering the packet arrival rate (60 and 600 s) improves the DL latency up to 55% without affecting the PDR.

8. Conclusions

In this paper, we presented an analytical model to calculate the DL latency and PDR for a batteryless BLE LPN operating on power harvested from natural or artificial indoor light. The model’s accuracy was compared with Python-based simulation results for various parameters (i.e., capacitor size, harvesting power, data arrival rate, poll interval timer, arrival time, and friend queue size). The results derived from these two methods showed an average deviation of 2.23% in the results of DL latency and 0.09% in PDR. The graphs of different parameters showed diverse behaviour for DL latency and PDR, whereas the model and simulation show the same pattern.
The results showed that a harvesting power of 0.6 mW can maintains a DL packet inter-arrival rate as low as 1s, and at 0.3 mW, the LPN can receive all the packets arriving at a rate of 10 s to an FQ of size 16. The smallest optimal capacitor size should be chosen depending on the available minimum harvesting power so that it can be recharged rapidly. The poll interval timer affects the DL latency linearly if the PDR is 100%. Therefore, it is important to choose the lowest possible poll interval timer that can be supported by the minimum harvesting power. If the harvesting power varies over time, the poll interval timer should be dynamically adapted. The external factors, such as Friend Queue size, also affect the performance of the batteryless LPN. A small queue size increases the packet loss. In our experiments, a queue size of 16 packets was enough to maintain 100% PDR, for polling intervals as high as 300 seconds at a downlink packet arrival rate of 30 seconds. Moreover, the AT parameter should be configured to be as small as possible so that the LPN does not lose energy in idle listening on the incoming channels. However, a very low AT may negatively affect scalability. For a harvesting power of 1mW, an AT up to 100 ms could be supported without a decrease in PDR.

9. Discussion and Future Work

There are several future research directions. In our model, we have considered a power management system that supplies variable voltage directly from the capacitor. However, more advanced power management solutions exist that equalize the supply voltage and only provide the device with power if the capacitor voltage is within certain minimum and maximum bounds [27]. Such solutions offer more consistent and stable performance, as then the power consumption for each radio state would be stable with a stable voltage supply. Most of the existing works in the batteryless domain do not consider this [28,29,30,31]. Therefore, in the future, we will explore adapting the batteryless circuit model for such power management solutions. However, in this case, an additional circuit would be required to read the capacitor voltage. CusTARD uses an Analog-to-digital (ADC) pin to read the capacitor voltage [32]. The ADC pin can read values in a range that is usually lower than the capacitor voltage. Therefore, a voltage divider would be required, which increases the power consumption of the device (several tens of μ W) and therefore also affects the performance in terms of PDR and DL data latency for different harvesting powers. This could be incorporated into our model by changing Equation (1) and adding the current consumption of the additional circuit to the load current. Other modules used for voltage reading are Torpor Logic and Power switch [33], which can consume up to 2 μ W rather than the assumed ultra-low-power comparator that consumes power in the order of pico-watts. As such, we need to perform measurements using real hardware to incorporate this power consumption into the model, as the hardware circuitry to enable measuring the capacitor voltage can impact the results.
The harvesting architecture considered is harvest-store-use. However, there is another architecture ‘harvest-use’ that eliminates the use of capacitors for energy storage [34]. This architecture can reduce the device cost and efficiency. A prototype of such an architecture is presented by Lee et al. [35]. Our model can be extended to a storage-less architecture. In this case, the performance is mainly governed by the harvesting power without a capacitor. Therefore, the stochastic process would consider the number of packets in the FQ and the harvesting source power. A certain minimum harvesting power is then required before and during execution of each task. Therefore, we need another additional circuitry, such as a sense resistor to measure the power of the harvesting source, which further increases the power demand of the batteryless device. Therefore, the requirements and performance of this architecture would be different.
Additionally, we aim to extend the analytical model to consider a variable harvesting power, in contrast to the currently considered constant harvesting power. This would provide a realistic harvesting model to evaluate harvesting sources. such as solar or wind. The model would consider only the current amount of harvested energy. Such solutions are realized by Zhou et al. [36], Patil et al. [37], and Kumar et al. [38] for investigating wireless sensor networks with energy harvesting. An approach to achieve this is by considering multiple energy chunks that are harvested during different Poisson distributed time slots, where the harvesting power during a slot remains constant [37]. As such, our existing model can be relatively easily extended to such a scenario by applying it to different harvesting power inputs for each variable-length time slot.
Finally, the increased CPU utilization due to servicing multiple LPNs may slow down the LPN’s response and thus affect the DL latency. Therefore, another aspect is to study the interactions and effects of multiple LPNs associated with one FN. To date, there are no works that study this aspect. However, research has been done to study the effect on discovery latency due to the number of scanners [39] or due to interference in the presence of many BLE nodes [40]. With an increasing number of BLE devices, delays of device discovery show exponential growth. Due to interference, the latency can increase up to 400% in a network of 30 devices. This implies that severe contention can occur among multiple BLE devices while considering bi-directional communication using a batteryless device.

Author Contributions

Conceptualization, A.K.S., C.D, C.B. and J.F.; methodology, A.K.S. and C.B.; software, A.K.S. and C.B.; validation, A.K.S. and C.D.; formal analysis, A.K.S., C.B. and J.F.; investigation, A.K.S. and C.B.; resources, A.K.S., C.D. and C.B.; data curation, A.K.S. and C.B.; writing—original draft preparation, A.K.S. and C.B.; writing—review and editing, C.D. and J.F.; visualization, C.B. and J.F.; supervision, C.B. and J.F.; project administration, J.F.; funding acquisition, J.F. All authors have read and agreed to the published version of the manuscript.

Funding

This research was funded in part by the ICON project BLUESS, the University of Antwerp IOF funded project COMBAT (Time-Sensitive Computing on batteryless IoT Devices), the Flemish FWO SBO S001521N IoBaLeT(Sustainable Internet of batteryless Things) project, and the CERCA Programme from the Generalitat de Catalunya.

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.

Appendix A. Parameters Used in the Model

Table A1 summarizes all the important parameters’ symbol with their definition.
Table A1. Parameters Used in the Markov Chain Model.
Table A1. Parameters Used in the Markov Chain Model.
SymbolMeaning
λ Poisson data arrival rate
NFQ size
U Voltage Vector
S i Duration of service when U = i
W i Duration of vacation when U = i
V i S Voltage at next poll instance when U = i at the start of a service
V i W Voltage at next poll instance when U = i at the start of a vacation
E [ S i ] Average duration of S i
E [ W i ] Average duration of W i
p ¯ Probability distribution vector of Markov Chain
p ¯ i Probability distribution of the voltage equals i
( p ¯ k ) i Probability distribution of the voltage equals i if the queue length is k
B i Transitions starting from an empty system and ending up with i packets in FQ at the next FP
A i Transitions starting from a non-empty system and ending up with i packets in FQ at the next FP
O n System occupancy when n number of packets are present in FQ
O D T Average system occupancy in drop-tail system
O P O Average system occupancy in push-out system
P k , i S Probability that k packets arrive at service time starting from U = i
P k , i W Probability that k packets arrive at vacation time starting from U = i
P n ω ( t ) Probability that the packet arrives in a vacation period and n packets are present in the FQ at time t
P n , k ω ( t ) Probability that there are packet arrives in a vacation period and n packets are present in the FQ at time t and k packets arrive in the remaining vacation time
P n , k Ω Probability that the packet arrives in a vacation period and n packets are present in the FQ and k packets arrive in the remaining vacation time
P n π ( t ) Probability that the packet arrives in a service period and n packets are present in the FQ at time t
P n , k π ( t ) Probability that the packet arrives in a service period and n packets are present in the FQ at time t and k packets arrive in the remaining service time
P n , k Π Probability that the packet arrives in a service period and n packets are present in the FQ and k packets arrive in the remaining service time
μ E [ W ] ( t ) Heaviside function for E [ W ]
μ E [ S ] ( t ) Heaviside function for E [ S ]
T F P Average Time between two consecutive FPs
T D T DL latency in drop-tail system
T P O DL latency in push-out system
T n , k Ω Average waiting time of a packet that arrives in a vacation period
T n , k Π Average waiting time of a packet that arrives in a service period
T n , k s Mean waiting time of a future served packet in the FQ at the end of a service period that has n packets ahead and k packets behind it
T n , k v Mean waiting time of a future served packet in the FQ at the end of a vacation period that has n packets ahead and k packets behind it

References

  1. Buchmann, I. Batteries in a Portable World: A Handbook on Rechargeable Batteries for Non-Engineers; Cadex Electronics Inc.: Richmond, BC, Canada, 2001. [Google Scholar]
  2. Batteries vs. Ultracapacitors? The Answer Is Both. Available online: https://batteryindustry.tech/batteries-vs-ultracapacitors-the-answer-is-both/ (accessed on 22 January 2022).
  3. Wang, Z.L.; Lin, L.; Chen, J.; Niu, S.; Zi, Y. Triboelectric Nanogenerators Green Energy and Technology; Springer: Berlin/Heidelberg, Germany, 2016. [Google Scholar]
  4. Enterprise Bluetooth Applications, Rigado. Available online: https://www.rigado.com/enterprise-bluetooth-applications/ (accessed on 22 January 2022).
  5. RC Charging Circuit, Electronics Tutorials. Available online: https://www.electronics-tutorials.ws/rc/rc_1.html (accessed on 22 January 2022).
  6. Mesh Profile Bluetooth Specifications. Available online: https://www.bluetooth.com/specifications/mesh-specifications/ (accessed on 22 January 2022).
  7. Sultania, A.K.; Delgado, C.; Famaey, J. Enabling Low-Latency Bluetooth Low Energy on Energy Harvesting Batteryless Devices Using Wake-Up Radios. Sensors 2020, 20, 5196. [Google Scholar] [CrossRef] [PubMed]
  8. Silva, S.; Martins, H.; Valente, A.; Soares, S. A Bluetooth Approach to Diabetes Sensing on Ambient Assisted Living systems. Procedia Comput. Sci. 2012, 14, 181–188. [Google Scholar] [CrossRef] [Green Version]
  9. Liu, Q.; IJntema, W.; Drif, A.; Pawełczak, P.; Zuniga, M.; Yıldırım, K.S. Perpetual Bluetooth Communications for the IoT. IEEE Sens. J. 2021, 21, 829–837. [Google Scholar] [CrossRef]
  10. Fraternali, F.; Balaji, B.; Agarwal, Y.; Benini, L.; Gupta, R. Pible: Battery-free mote for perpetual indoor ble applications: Demo abstract. In Proceedings of the 5th Conference on Systems for Built Environments (BuildSys ’18), Shenzen, China, 7–8 November 2018; pp. 168–171. [Google Scholar]
  11. Nilsson, M.; Deknache, H. Investigation of Bluetooth Mesh and Long Range for IoT Wearables. Ph.D. Thesis, Malmo Universitet/Teknik och Samhälle, Malmö, Sweden, 2018. [Google Scholar]
  12. Álvarez, F.; Almon, L.; Hahn, A.; Hollick, M. Toxic Friends in Your Network: Breaking the Bluetooth Mesh Friendship Concept. In Proceedings of the 5th ACM Workshop on Security Standardisation Research Workshop (SSR’19), London, UK, 11 November 2019; pp. 1–12. [Google Scholar]
  13. Darroudi, S.; Caldera-Sànchez, R.; Gomez, C. Bluetooth Mesh Energy Consumption: A Model. Sensors 2019, 19, 1238. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  14. Álvarez, F.; Almon, L.; Radtki, H.; Hollick, M. Bluemergency: Mediating Post-disaster Communication Systems using the Internet of Things and Bluetooth Mesh. In Proceedings of the 9th IEEE Global Humanitarian Technology Conference, Seattle, WA, USA, 17–20 October 2019. [Google Scholar]
  15. Designing with Bluetooth Mesh: Nodes and Feature Types. Available online: https://www.embedded.com/designing-with-bluetooth-mesh-nodes-and-feature-types/ (accessed on 22 January 2022).
  16. Hortelano, D.; Olivares, T.; Carmen Ruiz, M. Reducing the energy consumption of the friendship mechanism in Bluetooth mesh. Comput. Netw. 2021, 195, 108172. [Google Scholar] [CrossRef]
  17. Aijaz, A. Infrastructure-less Wireless Connectivity for Mobile Robotic Systems in Logistics: Why Bluetooth Mesh Networking is Important? arXiv 2021, arXiv:2107.05563. [Google Scholar]
  18. Delgado, C.; Sanz, J.M.; Famaey, J. On the Feasibility of Batteryless LoRaWAN Communications using Energy Harvesting. In Proceedings of the IEEE Global Communications Conference (GLOBECOM), Waikoloa, HI, USA, 9–13 December 2019; pp. 1–6. [Google Scholar]
  19. Gawhare, S.B.; Gaikwad, A. Area and Power efficient High Speed Voltage Comparator. In Proceedings of the International Conference on Automatic Control and Dynamic Optimization Techniques, Pune, India, 9–10 September 2016; pp. 198–201. [Google Scholar]
  20. Blondia, C. A queueing model for a wireless sensor node using energy harvesting. Telecommun. Syst. 2021, 77, 335–349. [Google Scholar] [CrossRef]
  21. Stochastic, Karl Sigman. Available online: http://www.columbia.edu/~ks20/stochastic-I/stochastic-I-LL.pdf (accessed on 4 January 2022).
  22. nRF52840 DK, Nordic Semiconductor. Available online: https://www.nordicsemi.com/Software-and-tools/Development-Kits/nRF52840-DK (accessed on 22 January 2022).
  23. Power Profiler Kit II, Nordic Semiconductor. Available online: https://www.nordicsemi.com/Software-and-tools/Development-Tools/Power-Profiler-Kit-2 (accessed on 22 January 2022).
  24. User Guide Evaluation Board for AEM10941, Epeas. Available online: https://e-peas.com/wp-content/uploads/2020/06/epeas_Solar_Energy_Harvesting_User_Guide_AEM10941.pdf (accessed on 22 January 2022).
  25. w-iLab.1 Hardware. Available online: https://doc.ilabt.imec.be/ilabt/wilab/hardware.html (accessed on 4 March 2022).
  26. Using the Sensor Nodes. Available online: https://doc.ilabt.imec.be/ilabt/wilab/tutorials/sensor.html (accessed on 21 March 2022).
  27. Dekimpe, R.; Xu, P.; Schramme, M.; Gerard, P.; Flandre, D.; Bol, D. A batteryless ble smart sensor for room occupancy tracking supplied by 2.45 ghz wireless power transfer. Integration 2019, 67, 8–18. [Google Scholar] [CrossRef]
  28. Gleonec, P.; Ardouin, J.; Gautier, M.; Berder, O. Poster: Multi-source Energy Harvesting for IoT nodes. In Proceedings of the Conference on Design and Architectures for Signal and Image Processing (DASIP), Rennes, France, 12–14 October 2016. [Google Scholar]
  29. Ahn, J.I.; Kim, D.; Ha, R.; Cha, H. State-of-Charge Estimation of Supercapacitors in Transiently-powered Sensor Nodes. IEEE Trans. Comput. -Aided Des. Integr. Circuits Syst. 2021, 41, 225–237. [Google Scholar] [CrossRef]
  30. Gleonec, P.; Ardouin, J.; Gautier, M.; Berder, O. Architecture exploration of multi-source energy harvester for IoT nodes. In Proceedings of the IEEE Online Conference on Green Communications (OnlineGreenComm), Piscataway, NJ, USA, 14 November–17 December 2016; pp. 27–32. [Google Scholar]
  31. Naresh, B.; Singh, V.K.; Sharma, V.K. Flexible Hybrid Energy Harvesting System to Power Wearable Electronics. In Proceedings of the Fourth International Conference on Advances in Electrical, Electronics, Information, Communication and Bio-Informatics (AEEICB), Chennai, India, 27–28 February 2018; pp. 1–5. [Google Scholar]
  32. Hester, J.; Tobias, N.; Rahmati, A.; Sitanayah, L.; Holcomb, D.; Fu, K.; Burleson, W.P.; Sorber, J. Persistent Clocks for Batteryless Sensing Devices. ACM Trans. Embed. Comput. Syst. 2016, 15, 4. [Google Scholar] [CrossRef]
  33. Anagnostou, P.; Gomez, A.; Hager, P.A.; Fatemi, H.; Gyvez, J.P.; Thiele, L.; Benini, L. Torpor: A Power-Aware HW Scheduler for Energy Harvesting IoT SoCs. In Proceedings of the 28th International Symposium on Power and Timing Modeling, Optimization and Simulation (PATMOS), Platja d’Aro, Spain, 2–4 July 2018; pp. 54–61. [Google Scholar]
  34. Elahi, H.; Munir, K.; Eugeni, M.; Atek, S.; Gaudenzi, P. Energy Harvesting towards Self-Powered IoT Devices. Energies 2020, 13, 5528. [Google Scholar] [CrossRef]
  35. Lee, H.G.; Chang, N. Powering the IoT: Storage-less and converter-less energy harvesting. In Proceedings of the 20th Asia and South Pacific Design Automation Conference, Chiba, Japan, 19–22 January 2015; pp. 124–129. [Google Scholar]
  36. Zhou, H.; Jiang, T.; Gong, C.; Zhou, Y. Optimal Estimation in Wireless Sensor Networks With Energy Harvesting. IEEE Trans. Veh. Technol. 2016, 65, 9386–9396. [Google Scholar] [CrossRef]
  37. Patil, K.; Fiems, D. The value of information in energy harvesting sensor networks. Oper. Res. Lett. 2018, 46, 362–366. [Google Scholar] [CrossRef] [Green Version]
  38. Kumar, A.; Saad, W. On the tradeoff between energy harvesting and caching in wireless networks. In Proceedings of the IEEE International Conference on Communication Workshop (ICCW), London, UK, 8–12 June 2015; pp. 1976–1981. [Google Scholar]
  39. Cho, K.; Park, W.; Hong, M.; Park, G.; Cho, W.; Seo, J.; Han, K. Analysis of Latency Performance of Bluetooth Low Energy (BLE) Networks. Sensors 2014, 15, 59–78. [Google Scholar] [CrossRef] [PubMed]
  40. Treurniet, J.J.; Sarkar, C.; Prasad, R.V.; De Boer, W. Energy Consumption and Latency in BLE Devices under Mutual Interference: An Experimental Study. In Proceedings of the 3rd International Conference on Future Internet of Things and Cloud, Rome, Italy, 24–26 August 2015; pp. 333–340. [Google Scholar]
Figure 1. BLE mesh network.
Figure 1. BLE mesh network.
Sensors 22 02841 g001
Figure 2. Friendship establishment procedure of BLE.
Figure 2. Friendship establishment procedure of BLE.
Sensors 22 02841 g002
Figure 3. Sequence diagram of the messages exchanged between the LPN and FN to receive DL packets.
Figure 3. Sequence diagram of the messages exchanged between the LPN and FN to receive DL packets.
Sensors 22 02841 g003
Figure 4. Intermittent behaviour of a batteryless LPN harvesting continuously.
Figure 4. Intermittent behaviour of a batteryless LPN harvesting continuously.
Sensors 22 02841 g004
Figure 5. Current consumption of nRF52840 with the state number as defined in Table 1. (a) Current consumption during FP; (b) Current consumption during Scan.
Figure 5. Current consumption of nRF52840 with the state number as defined in Table 1. (a) Current consumption during FP; (b) Current consumption during Scan.
Sensors 22 02841 g005
Figure 6. Cumulative distribution of difference in model and simulation results for both the DL latency and PDR metrics.
Figure 6. Cumulative distribution of difference in model and simulation results for both the DL latency and PDR metrics.
Sensors 22 02841 g006
Figure 7. EnvEmu setup.
Figure 7. EnvEmu setup.
Sensors 22 02841 g007
Figure 8. Comparing emulator, simulator, and model for different FQ at μ p = 1 s, T P I = 30 s, C = 1 mF, P h = 0.1 mW, T A T = 5 ms. (a) Average packet delivery ratio; (b) DL latency.
Figure 8. Comparing emulator, simulator, and model for different FQ at μ p = 1 s, T P I = 30 s, C = 1 mF, P h = 0.1 mW, T A T = 5 ms. (a) Average packet delivery ratio; (b) DL latency.
Sensors 22 02841 g008
Figure 9. Comparing simulator and model for different harvesting powers at μ p = 1 s, T P I = 1 s, N = 16, T A T = 0 ms. (a) Average packet delivery ratio; (b) DL latency.
Figure 9. Comparing simulator and model for different harvesting powers at μ p = 1 s, T P I = 1 s, N = 16, T A T = 0 ms. (a) Average packet delivery ratio; (b) DL latency.
Sensors 22 02841 g009
Figure 10. Comparing simulator and model for different capacitor sizes and harvesting power at μ p = 1 s, T P I = 1 s, N = 16, T A T = 0 ms. (a) Average packet delivery ratio; (b) DL latency.
Figure 10. Comparing simulator and model for different capacitor sizes and harvesting power at μ p = 1 s, T P I = 1 s, N = 16, T A T = 0 ms. (a) Average packet delivery ratio; (b) DL latency.
Sensors 22 02841 g010
Figure 11. Comparing simulator and model for different Poll Intervals at C = 0.1 mF, P h = 0.1 mW, N = 16, T A T = 0 ms. (a) Average packet delivery ratio; (b) DL latency.
Figure 11. Comparing simulator and model for different Poll Intervals at C = 0.1 mF, P h = 0.1 mW, N = 16, T A T = 0 ms. (a) Average packet delivery ratio; (b) DL latency.
Sensors 22 02841 g011
Figure 12. Comparing simulator and model for different poll intervals and FQ at C = 0.1 mF, P h = 0.1 mW, μ p = 30 s, T A T = 0 ms.
Figure 12. Comparing simulator and model for different poll intervals and FQ at C = 0.1 mF, P h = 0.1 mW, μ p = 30 s, T A T = 0 ms.
Sensors 22 02841 g012
Figure 13. Comparing simulator and model for different arrival times (AT) at C = 4 mF, P h = 1 mW, N = 16, T P I = 1 s. (a) Average packet delivery ratio; (b) DL latency.
Figure 13. Comparing simulator and model for different arrival times (AT) at C = 4 mF, P h = 1 mW, N = 16, T P I = 1 s. (a) Average packet delivery ratio; (b) DL latency.
Sensors 22 02841 g013
Figure 14. Comparing simulator and model for different packet arrival rate at C = 0.1 mF, P h = 0.1 mW, N = 16. (a) Average packet delivery ratio; (b) DL latency.
Figure 14. Comparing simulator and model for different packet arrival rate at C = 0.1 mF, P h = 0.1 mW, N = 16. (a) Average packet delivery ratio; (b) DL latency.
Sensors 22 02841 g014
Figure 15. Asset monitoring at DR = 30 s, P h = 0.1 mW, N = 8, T A T = 5 ms. (a) Average packet delivery ratio; (b) DL latency.
Figure 15. Asset monitoring at DR = 30 s, P h = 0.1 mW, N = 8, T A T = 5 ms. (a) Average packet delivery ratio; (b) DL latency.
Sensors 22 02841 g015
Figure 16. Asset monitoring at C = 5 mF, P h = 0.1 mW, N = 8, T A T = 5 ms for different packet arrival rate. (a) Average packet delivery ratio; (b) DL latency.
Figure 16. Asset monitoring at C = 5 mF, P h = 0.1 mW, N = 8, T A T = 5 ms for different packet arrival rate. (a) Average packet delivery ratio; (b) DL latency.
Sensors 22 02841 g016
Table 1. State sequence for a poll request and response of a LPN.
Table 1. State sequence for a poll request and response of a LPN.
IdentifierRadio StateTime [μs] of the LPN
[mA]
Current Cons.Comments
1Radio wake-up29400.587Prepare for poll transmission
2TX (at 4 dBm)4719.09Tx advertisement packet on channel 37  
3Change channel297.78Change radio frequency
4TX (at 4 dBm)3809.15Tx advertisement packet on channel 38       
5Change channel297.57Change again the radio frequency
6TX (at 4 dBm)3849.16Tx advertisement packet on channel 39
7Radio off346.60Main radio in OFF state
8Post processing4202.17
9Cool down20,8200.00653Prepare to switch to the SLEEP state
10SleepRD0.00896Node in SLEEP mode
11Wake-up prescan19101.13Wake-up for Rx
12ListenAT8.68Actively Listen for incoming DL packet
13Scan message1160 (or 900)9.64Rx 24 B FQ data (or 22 B FU)
14Radio off3894.69Main radio in OFF state
15Post-processing
and Cool down
23,4100.00619Set up the sleep timer for the next state
and switch to SLEEP state
Table 2. Simulation parameters.
Table 2. Simulation parameters.
ParametersSymbolValues/Range
Poisson packet arrival rate μ p [1, 10, 30, 60, 120] s
Harvesting power P h [0.1, 0.15, 0.25, 0.3, 0.35,
0.2, 0.4, 0.6, 0.8, 1] mW
Capacitor sizeC[0.1, 0.2, 0.3, 0.4, 0.5, 1] mF
Poll interval T P I [1, 10, 20, 40, 60, 80, 100,
150, 200, 250, 300, 400,
500, 600, 800, 1000] s
Turn-off voltage V c u t o f f 2.8 V
Max operating voltage V m a x 4.5 V
Friend Queue sizeN[8, 16] packets
Receive Delay T R D 255 ms
Arrival time (max up to T R W )          T A T 0 ms
Tx power level 0 dBm
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Share and Cite

MDPI and ACS Style

Sultania, A.K.; Delgado, C.; Blondia, C.; Famaey, J. Downlink Performance Modeling and Evaluation of Batteryless Low Power BLE Node. Sensors 2022, 22, 2841. https://doi.org/10.3390/s22082841

AMA Style

Sultania AK, Delgado C, Blondia C, Famaey J. Downlink Performance Modeling and Evaluation of Batteryless Low Power BLE Node. Sensors. 2022; 22(8):2841. https://doi.org/10.3390/s22082841

Chicago/Turabian Style

Sultania, Ashish Kumar, Carmen Delgado, Chris Blondia, and Jeroen Famaey. 2022. "Downlink Performance Modeling and Evaluation of Batteryless Low Power BLE Node" Sensors 22, no. 8: 2841. https://doi.org/10.3390/s22082841

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