[go: up one dir, main page]

Next Article in Journal
Multispectral Thermometry Method Based on Optimisation Ideas
Next Article in Special Issue
An Analysis of Blockchain-Based IoT Sensor Network Distributed Denial of Service Attacks
Previous Article in Journal
End-to-End Emulation of LoRaWAN Architecture and Infrastructure in Complex Smart City Scenarios Exploiting Containers
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Communication

Distance-Based Queuing for Scalable and Reliable Linear Wireless Sensor Networks in Smart Cities

by
Iclia Villordo-Jimenez 
1,*,
Noé Torres-Cruz
1,
Rolando Menchaca-Mendez
2 and
Mario E. Rivero-Angeles
2
1
Unidad Profesional Interdisciplinaria en Ingeniería y Tecnologías Avanzadas, Instituto Politécnico Nacional, Mexico City 07340, Mexico
2
Centro de Investigación en Computación, Instituto Politécnico Nacional, Mexico City 07700, Mexico
*
Author to whom correspondence should be addressed.
Sensors 2024, 24(7), 2023; https://doi.org/10.3390/s24072023
Submission received: 18 February 2024 / Revised: 16 March 2024 / Accepted: 19 March 2024 / Published: 22 March 2024
(This article belongs to the Special Issue Wireless Sensor Network and IoT Technologies for Smart Cities)
Figure 1
<p>Contribution of the DBQ scheme to Smart City applications.</p> ">
Figure 2
<p>Dense LWSN, a topology with multiple nodes per grade.</p> ">
Figure 3
<p>Homogeneous throughput achieved by the DBQ scheme.</p> ">
Figure 4
<p>Slots structure and contention process in HP-MAC.</p> ">
Figure 5
<p>Analytical and simulation-based results for the packet loss probability <math display="inline"><semantics> <mrow> <msub> <mi>p</mi> <mrow> <mi>l</mi> <mi>p</mi> </mrow> </msub> <mrow> <mo>(</mo> <mi>i</mi> <mo>)</mo> </mrow> </mrow> </semantics></math> at grade <span class="html-italic">i</span> for different values of traffic intensity <span class="html-italic">a</span>.</p> ">
Figure 6
<p>Packet loss probability <math display="inline"><semantics> <mrow> <msub> <mi>p</mi> <mrow> <mi>l</mi> <mi>p</mi> </mrow> </msub> <mrow> <mo>(</mo> <mi>i</mi> <mo>)</mo> </mrow> </mrow> </semantics></math> per grade <span class="html-italic">i</span>.</p> ">
Figure 7
<p>Throughput <math display="inline"><semantics> <msubsup> <mi>S</mi> <mrow> <mi>s</mi> <mi>i</mi> <mi>n</mi> <mi>k</mi> </mrow> <mi>i</mi> </msubsup> </semantics></math> per grade <span class="html-italic">i</span>.</p> ">
Figure 8
<p>Network-wide (<b>a</b>) average PLP and (<b>b</b>) throughput.</p> ">
Figure 9
<p>Packet loss probability per grade (<b>a</b>) as a function of <span class="html-italic">N</span>, for <math display="inline"><semantics> <mrow> <mi>I</mi> <mo>=</mo> <mn>7</mn> </mrow> </semantics></math>, and (<b>b</b>) as a function of <span class="html-italic">I</span>, for <math display="inline"><semantics> <mrow> <mi>N</mi> <mo>=</mo> <mn>10</mn> </mrow> </semantics></math>.</p> ">
Figure 10
<p>Packet loss probability for remote nodes (grade <span class="html-italic">I</span>) in terms of the number of nodes in the network.</p> ">
Versions Notes

Abstract

:
The reliability and scalability of Linear Wireless Sensor Networks (LWSNs) are limited by the high packet loss probabilities (PLP) experienced by the packets generated at nodes far from the sink node. This is an important limitation in Smart City applications, where timely data collection is critical for decision making. Unfortunately, previous works have not addressed this problem and have only focused on improving the network’s overall performance. In this work, we propose a Distance-Based Queuing (DBQ) scheme that can be incorporated into MAC protocols for LWSNs to improve reliability and scalability without requiring extra local processing or additional signaling at the nodes. The DBQ scheme prioritizes the transmission of relay packets based on their hop distance to the sink node, ensuring that all packets experience the same PLP. To evaluate the effectiveness of our proposal, we developed an analytical model and conducted extensive discrete-event simulations. Our numerical results demonstrate that the DBQ scheme significantly improves the reliability and scalability of the network by achieving the same average PLP and throughput for all nodes, regardless of traffic intensities and network sizes.

1. Introduction

Wireless Sensor Networks (WSNs) have changed the way people interact with their environment by providing a cost-effective tool for collecting and delivering the information that supports today’s disruptive Internet of Things (IoT) and Smart City applications [1,2,3]. Specifically, Linear Wireless Sensor Networks (LWSNs), which are WSNs with linear or semi-linear topology, are well suited for monitoring a wide variety of systems, such as transportation networks or utility distribution systems (e.g., water, gas, and electricity), that also have linear or semi-linear structures [4,5,6]. These applications, where timely data collection and decision making are critical, require highly efficient and reliable sensing solutions to monitor the entire area of interest with adequate resolution [7].
For example, LWSNs will play a crucial role in Smart City applications, such as Smart Water Management (SWM) systems [8,9], where pipelines are sensed in a high number of points to measure water-quality parameters, the state of the infrastructure, and consumption. However, as a result of the large amount of traffic generated, the current supporting networks tend to be overloaded, limiting the reliability and scalability of the application [10,11]. Moreover, according to [12], in SWMs, as the number of nodes increases, the packet delivery ratio rapidly decreases, and, as a result, some areas become poorly sensed. This kind of problem has also been observed in other types of Smart City applications supported by LWSNs [1].
Previous works from multiple research groups, including ours, have proposed energy-efficient MAC protocols that take advantage of the fact that in LWSN data packets flow hop by hop from the node where the sensory data are generated towards the sink node located at one end of the network [13,14,15,16,17,18,19,20,21]. Despite the relevance of these works, they only focus on improving the overall network performance at the expense of the high packet loss probability (PLP) experienced by the data packets that have to travel through multiple relay nodes before reaching the sink. As a result, the network’s reliability and scalability are limited because the data collected by nodes located many hops away from the sink barely reach their destination [22,23]. While some previous works have analyzed the reliability of LWSNs in terms of failure, location, or coverage of the nodes [21,24,25], our focus is on improving the network’s reliability and scalability by modifying the MAC protocol, assuming that the nodes are active, and providing proper coverage. In this sense, our proposal is complementary to such works.
We introduce the Distance-Based Queuing (DBQ) scheme for LWSNs, which controls the proportion of local and relay packets transmitted by the nodes to provide the same average PLP and throughput for each node across the whole network. A set of analytical and simulation-based results show that DBQ effectively improves the network’s scalability in terms of its length while also increasing the reliability with which the entire coverage area is monitored. Moreover, the DBQ scheme achieves these goals without degrading the overall network performance or requiring extra signaling. In Figure 1 we illustrate the contribution of the DBQ scheme in the context of several Smart City applications, including SWM systems.
The rest of the paper is organized as follows. In Section 2 we review a representative sample of related work. Then, in Section 3, we describe our proposed queueing scheme. In Section 4, we briefly review the MAC protocol (HP-MAC) that we use as a case study to incorporate the DBQ Scheme. Based on the two previous sections, in Section 5 we develop a mathematical model to evaluate our proposal. In Section 6 we discuss on the robustness and the potential dynamic implementation of the DBQ Scheme. We discuss relevant numerical results and present our conclusions in Section 7 and Section 8, respectively.

2. Related Work

In [19], the authors present a comprehensive analytical method to evaluate Duty-Cycled, Pipelined-Forwarding (DCPF) MAC protocols for LWSNs. They present expressions to compute throughput, end-to-end packet delay, and energy consumption and apply their model to evaluate the performance of their proposed MAC protocol (PRI-MAC). Considering the same network topology, the authors of [15] propose an improvement to PRI-MAC by incorporating three algorithms that eliminate contention among nodes located within the same interference range; as a result, the performance in all the evaluated parameters improves significantly. In [13], the authors propose HP-MAC, which eliminates collisions by implementing distributed elections based on hash functions. The network nodes acquire transmission priorities, and only the node with the highest priority can transmit. As a result, significant gains in throughput and energy consumption are attained.
The authors of [18] also propose a DCPF MAC protocol (SA-MAC), where nodes selectively awaken depending on node density, traffic load conditions, and the state of the buffers of the receiving node. By implementing this strategy, energy consumption is reduced along the whole network; moreover, since the number of nodes contending for the channel decreases, the throughput and the end-to-end packet delay also improve. Similarly, in [14], an adaptive sleep/wake-up scheduling approach is proposed; however, in this case, the nodes’ decisions in each time slot are based on reinforcement learning.
The authors of [16] identified that DCPF networks may suffer from an energy-hole problem, where nodes near the sink node consume an excessive amount of energy. To address this problem, they propose the redundancy-based DCPF (RDCPF) protocol, which involves the deployment of redundant nodes in a LWSN. This approach results in a more uniform distribution of energy consumption throughout the network, thereby increasing the network’s survival time.
In [17], the authors propose a DCPF MAC protocol (JRAM) that, unlike previous works, assumes that a node has multiple chances to schedule data transmissions per cycle and, consequently, can transmit multiple data packets. As expected, the proposed strategy improves the network performance. The authors also developed a more general analytical model, which can be used to analyze previous DCPF MAC protocols as particular cases.
In [20,21], the authors analyze strictly linear WSNs, i.e., networks that consist of a single line of nodes (whereas in [13,14,15,16,17,18,19] the LWSN is assumed to be dense). The authors propose a routing algorithm that uses implicit acknowledgments to provide reliability and connectivity with energy efficiency, low latency, and fault tolerance.
As observed from the above-described works, multiple research groups have defined the features of MAC protocols that allow LWSNs to operate efficiently regarding energy consumption, throughput, and end-to-end packet delay. They have also developed rigorous analytical evaluation tools. However, these studies do not consider that the performance of different regions of the network can vary significantly. This is particularly true in areas far from the sink, where the nodes may experience poor performance, making the area barely sensed. Our main contribution is addressing this unsolved problem by developing a queue scheme that achieves a homogeneous performance of the LWSN in terms of throughput. We provide mathematical analysis and conduct extensive simulations to demonstrate the effectiveness of our proposal under various traffic conditions. Lastly, it is important to note that our scheme can complement any of the referred MAC protocols.

3. Distance-Based Queuing Scheme

The DBQ scheme is specifically suited for LWSNs that operate with synchronized Duty-Cycled, Pipelined-Forwarding (DCPF) MAC protocols [13,14,15,16,17,18,19]. In these networks, each node belongs to a grade i [ 1 , I ] , where i is the node’s hop distance to the sink and I is the total number of grades in the network, i.e., the network length, as illustrated in Figure 2. More specifically, grade 1 is composed of the nodes that can reach the sink with a direct transmission, whereas grade 2 contains the nodes that can reach nodes in grade 1 with a direct transmission but not the sink. Packets generated at grade 2 require two hops to reach the sink. Nodes in grade I are the most remote nodes in the network. In a practical scenario, we can use the Grade Division and Pipelined Scheduling (GDPS) protocol [26] to compute the hop distance to the sink for each node in the network. This protocol can be applied during the network initialization.
Similar to [13,14,15,16,17,18,19], we consider a dense LWSN, in which more than one node can exist in each grade. Such a topology differs from strictly linear WSNs, e.g., [20,21], in which there exists only one line of nodes.
In LWSNs running a DCPF MAC protocol, the nodes follow a cycle that consists of ( ξ + 2 ) slots, which are arranged in the following order: a reception slot, a transmission slot, and  ξ consecutive sleeping slots that are included to reduce energy consumption. The total cycle duration is T c = ( ξ + 2 ) T seconds, where T is the duration of one slot. The cycles for the nodes in the network are organized so that the transmission slots of nodes at grade i + 1 are synchronized with the reception slots of nodes at grade i [13,19]. This synchronization allows data packets to be relayed from grade i + 1 to grade i in a single slot.
To implement the DBQ scheme, each node requires two FIFO queues: one for serving local packets and another for serving relay packets. When a node gains access to the channel and has packets in both queues, it serves the queue for relay packets with the probability p r e l and the queue for local packets with the probability p l o c = 1 p r e l . If only one queue has packets, it will be served with a probability of one. While this way of serving transmission queues has been proposed before (e.g., [13]), the value of p r e l was considered to be constant for each node in the network. However, in this work, we propose selecting p r e l as a function of the nodes’ grade i. We denote as p r e l i the probability of selecting for transmission a packet from the relay buffer in a node at grade i.
To ensure that the PLP experienced by data packets is the same regardless of their originating node, the probabilities p r e l i have to be chosen in such a way that the sink receives roughly the same number of packets from nodes at every grade. We propose setting p r e l i to a specific value p h i , which has the effect of transmitting to the next grade the same number of packets from every grade j [ i , I ] , namely, from every upstream grade and the current node’s grade. If all nodes in all grades follow this strategy, the nodes in grade 1 will deliver the same number of packets to the sink from every grade j [ 1 , I ] in the LWSN. This way, the DBQ scheme will homogenize the PLP performance across the entire network, as illustrated in Figure 2.
To determine the values of p h i , observe that homogenizing the PLP is equivalent to homogenizing the throughput. In order to do this, we define S r i as the relay throughput that is received in the relay buffer of a node at grade i, in packets per cycle, from nodes in grade i + 1 . Similarly, we define S l i as the locally generated throughput that is queued in a node at grade i. Note that these variables depend on p r e l i because increasing this probability has the effect of transmitting more relay packets than local ones, which in turn increases S r i and decreases S l i simultaneously.
To achieve a homogeneous throughput, nodes at grade I 1 (which are the most distant nodes from the sink that relay packets) should receive, on average, the same number of packets from grade I as the number of packets they queue in their local buffers. As a result, the nodes at grade I 1 transmit the same number of packets from grades I and I 1 to grade I 2 . Similarly, the nodes at grade I 2 should receive, on average, two relay packets from grade I 1 for every packet queued in its local buffer so that nodes in grade I 2 can transmit the same number of packets from grades I, I 1 , and  I 2 to grade I 3 . In general, to make sure that the data packets experience homogeneous throughput across the entire network, a node at grade i must receive, on average, I i relay packets for every packet queued in its local buffer. This means that S r i should be I i times larger than S l i . This concept is illustrated in Figure 3.
In summary, the throughput per grade is homogeneous across the network if S r i = ( I i ) S l i , for  i [ 1 , I 1 ] ; i.e., if S r i ( I i ) S l i =0, for  i [ 1 , I 1 ] . Consequently, the problem of calculating the value of p h i can be restated as finding the root of
f ( p r e l i ) = S r i ( I i ) S l i , 1 i I 1 ;
which is a function of p r e l i [ 0 , 1 ] and represents the difference between the desired proportions of local and relay throughput.

4. HP-MAC Overview

Since the DBQ scheme is intended to be used with DCPF MAC protocols for LWSNs, we select, as a case study, the collision-free protocol known as Hash-based with Packet-prioritization MAC (HP-MAC) [13].
In HP-MAC, nodes have two queues of a length K to serve local and relay packets independently. At the beginning of a transmission slot, every node in the same grade, with queued packets, computes the same set of N priority tickets (where N is the number of nodes in a grade). This way, nodes acquire a unique priority transmission number in [ 1 , N ] , which is used to control access to the channel. A node with priority k listens to the channel during k 1 mini-slots of duration σ . If it does not detect any transmission, it initiates an RTS-CTS-DATA-ACK interchange with a node in the immediate inferior grade. Otherwise, it goes to sleep as soon as a transmission is detected because a node with a higher priority j < k has accessed the channel. Figure 4 illustrates the frame structure of the contention process from the point of view of a node that detects a busy channel, the node that wins the contention, and the intended receiver node in the next grade.
In HP-MAC, the probability of transmitting a packet in a cycle, for a node in grade i with queued packets, denoted by p t ( i ) , equals
p t ( i ) = 1 p e , e ( i ) N N 1 p e , e ( i ) ,
where p e , e ( i ) is the probability that none of the queues has packets at the beginning of a transmission slot. The probability of receiving a packet during a cycle, denoted by p r ( i ) , is
p r ( i ) = p t ( i + 1 ) 1 p e , e ( i + 1 ) , i < I ,
and p r ( I ) = 0 , since nodes in grade I do not relay packets.
To obtain p e , e ( i ) , one can solve a Discrete-Time Markov Chain (DTMC) for every grade i, whose steady-state solution is denoted by π m , u i , for  m , n [ 0 , K ] , and represents the steady-state probabilities of having m local and u relay packets in the corresponding queues. This DTMC depends on the probability of generating a local packet during a cycle (a) and the probability of selecting a packet from the relay queue ( p r e l i ). The DTMC definition, its solution, and its relation with (2) and (3) are described in detail in [13], Section IV.B.

5. Analytical Model for the DBQ Scheme

In this section, we develop expressions to calculate the PLP and throughput for nodes in grade i [ 1 , I ] , in terms of p r ( i ) , p t ( i ) , and π m , u i , considering an HP-MAC network where nodes implement the DBQ scheme. Then, we propose a method to obtain p h i , for  i [ 1 : I ] ; i.e., the values of p r e l i that homogenize the PLP and throughput across the whole network.
Our analytical model is based on the assumption that there are I grades, each consisting of N nodes. We also assume that local packets arrive at every node with a probability equal to a during a cycle. It is important to note that a is a measure of traffic intensity, and we consider it to be a constant for the steady-state analysis.
The expected number of successfully transmitted packets per cycle from grade i + 1 to grade i is N p t ( i + 1 ) 1 p e , e ( i + 1 ) ; hence, the throughput from grade i + 1 to grade i is, in general,
S r i = 1 T c N p t ( i + 1 ) 1 p e , e ( i + 1 ) 1 b r i , 1 i I 1 ,
where b r i is the blocking probability (the probability of dropping an incoming packet) in the relay queue of a node in grade i, which can be expressed as
b r i = u = 0 K π K , u i .
In particular, the throughput from grade 1 to grade 0, S r 0 , represents the network-wide throughput that is delivered to the sink node; therefore, we also denote it as S s i n k . Since we assume that the receiving queue in the sink node is infinite, we obtain
S s i n k = S r 0 = 1 T c N p t ( 1 ) 1 p e , e ( 1 ) .
In addition, the throughput generated in a node’s local queue is defined as
S l i = 1 T c N × a 1 b l i ,
where b l i is the blocking probability in the local queue for a node in grade i and is given by
b l i = m = 0 K π m , K i .
Given that a packet generated in grade i has relayed through grades i 1 , i 2 , . . . , 1 until reaching the sink, the throughput from grade i, which reaches the sink node, denoted by S s i n k i , can be written as
S s i n k i = N a T c 1 b l i j = 1 i 1 1 b r j .
We can derive an alternative expression for calculating S s i n k from (9).
S s i n k = i = 1 I S s i n k i .
Since new packets are generated in grade i at rate N   ×   a T c ; we can compute the probability of losing a packet generated in grade i, denoted by p l p ( i ) , as
p l p ( i ) = 1 T c S s i n k i N × a .
Now, we are ready to derive an expression for f ( p r e l i ) (see (1), (4), and (7)) as follows.
f ( p r e l i ) = 1 T c N p t ( i + 1 ) 1 p e , e ( i + 1 ) 1 b r i ( I i ) 1 T c N × a 1 b l i , i [ 1 , I 1 ] ;
where (12) can be simplified to obtain (13).
f ( p r e l i ) = p t ( i + 1 ) 1 p e , e ( i + 1 ) 1 b r i ( I i ) a 1 b l i , i [ 1 , I 1 ] .
Even though, the dependence on p r e l i is not explicit on the right side of (13); it does exist because b r i and b l i are obtained in terms of the DTMC solution, which directly depends on p r e l i . The remaining parameters in (13) are constants or depend on p h i + 1 , which must be previously calculated. Lastly, p h I must be set to 0 since nodes in grade I do not relay packets.
As we have mentioned, the roots of f ( p r e l i ) are the values of p h i that homogenize the PLP across the network. To find these roots, we note that as p r e l i increases, b r i decreases, and  b l i increases because the priority of the relay packets over the local packets increases; therefore, f ( p r e l i ) is a monotonically increasing function with at most one root.
To determine whether f ( p r e l i ) has one root or none, first, we analyze the scenario where the packet arrival rate, considering both local and relay traffic, is large enough to produce a blocking probability larger than zero in at least one of the buffers. In this scenario, which we refer to as high-traffic conditions, if  p r e l i 0 , then b r i 1 because relay packets are not allowed to be transmitted, and  b l i is less than 1. Consequently, f ( p r e l i ) is negative, as we can observe from (13). Analogously, we can conclude that f ( p r e l i ) is positive if p r e l i 1 . Based on these arguments, we can conclude that f ( p r e l i ) has one root under high-traffic conditions, which can be found using standard numerical methods. To evaluate every instance of f ( p r e l i ) , as required to implement the numerical method, we need to solve the system of equations comprised (2), (3), and the above-mentioned DTMC, for  i [ 1 , I ] .
On the other hand, when the packet arrival rate is very low, b r i and b l i tend to zero, as well as the corresponding blocking probabilities for nodes in grades larger than i. Under these low-traffic conditions, the number of received relay packets in grade i is I i times larger than the number of admitted local packets, which means that homogeneous PLP conditions hold for a wide range of values of p r e l i and there is no need to find the root of f ( p r e l i ) . Moreover, since under low-traffic conditions f ( p r e l i ) tends to zero, finding its root can be limited by the resolution of the implementation of the numerical method. Therefore, we can simply select p h i as the ratio of the relay throughput to the total throughput, i.e.,
p h i = I i I i + 1 .
Lastly, to determine whether a grade i is under high- or low-traffic conditions, we define a parameter δ , which represents the largest difference between the desired proportions of relay and local throughput that is considered acceptable in terms of homogeneous PLP conditions. If the range of f ( p r e l i ) , given by R i = f ( 1 ) f ( 0 ) , is smaller than δ , we consider that the LWSN is under low-traffic conditions. Algorithm 1 summarizes the above-described method.
According to Algorithm 1, the computation time of the proposed method is proportional to the network length I and to the complexity of the method to find p h i . For the case of the bisection method, the complexity is O ( l o g 1 ϵ ) , where ϵ is the maximum error allowed in the solution.
Algorithm 1 Selection of the relay probabilities, p h i .
  • p h I 0
  • for i = I 1 1 do
  •     Calculate R i = f ( 1 ) f ( 0 )
  •     if  R i < δ  then
  •          p h i I i I i + 1
  •     else
  •         Find the root of f ( p r e l i ) , p h i
  •     end if
  • end for

6. Robustness and Dynamic Implementation of the DBQ Scheme

The solution presented in the previous section to find p h i has been developed for the steady state, which means that it is valid for a constant value of traffic-intensity, a. Under this assumption, the implementation of the DBQ scheme does not require extra signaling, as we have mentioned above, since nodes can be set with p h i during the network-initialization stage. However, our method can also be used considering time-varying traffic. Under such dynamic conditions, it is necessary to continuously measure a and to recalculate p h i if significant variations of a are detected. Since battery and processing capacity are very limited resources in the sensing nodes, the described dynamic recalculation of p h i must be carried on remote servers, hence, requiring a bidirectional interchange of signaling between the servers and the sensing nodes.
Though such a solution may demand more resources from the LWSN (to the detriment of its lifetime), we consider that implementing it is feasible because the features of a particular application are known in advance, and, therefore, a proper network design may avoid extreme traffic variations. Moreover, the dynamic estimation of p h i increases the robustness of the DBQ scheme.
The previous arguments are valid not only in terms of a but also in terms of any other phenomenon that directly or indirectly affects the traffic intensity. As another example, notice that nodes failure decrease the number of nodes per grade, N, which, in turn, increases the average number of relay packets that a node must process. Therefore, in the case of node failure, p h i must be recalculated (the dependence on N is explicit in our model), and the solution is feasible, if failures are maintained under control.
In general, we can affirm that the dynamic implementation of the DBQ scheme increases its robustness, given a proper network design.

7. Numerical Results and Discussion

To evaluate the performance gains achieved by the DBQ scheme, we consider an LWSN with I = 7 , N = 10 , K = 7 , ξ = 18 , and T = 111 ms, unless otherwise specified. These values were selected to evaluate the network performance under different traffic conditions and considering realistic settings. For example, in [9,27,28], experimental tests were conducted with tens of sensing nodes and at most three hops along the network. Additionally, in [29], the authors report a real-world WSN implemented with tens of sensing nodes per sink node. We propose setting the value of δ to 0.001 , meaning that we consider that the network is operating under homogeneous-PLP conditions if the maximum difference between relay and local throughputs is less than or equal to 0.1% (given that the maximum throughput is 1 packet/cycle). As shown in Algorithm 1, we set p h I = 0 . Then, we estimate p h i for i [ 1 , I 1 ] . When high-traffic conditions are detected, we obtain the root of f ( p r e l i ) through the bisection method with an error of ϵ = 1 × 10 4 .
Table 1 shows a set of numerical results for p h i under different values of a. The yellow cells indicate the grades that operate under high-traffic conditions. As expected, these cases occur in the grades closest to the sink, and the number of grades in these conditions increases as the value of a increases. We observe that, for a given value of a, the value of p h i increases as the number of hops required to reach the sink decreases because the aggregated relay traffic is significantly larger than the local traffic. As a result, the priorities of the relay queues in the nodes close to the sink have to be higher than the priorities of the local ones. It is interesting to note that, for a given grade i, the range of values of p h i , as a function of a, is small, which means that the estimation of p h i must be very precise.
After finding the values of the probabilities p h i , we set the priorities of the queues with such values. We refer to this version of HP-MAC as HP-MAC/DBQ. Figure 5 shows the resulting values of p l p ( i ) for different traffic intensities, a. We observe that the DBQ mechanism effectively homogenizes the LWSN’s PLP under a wide range of traffic intensities, validating the effectiveness of our method. The homogeneous performance will allow the LWSN to monitor the whole area of interest with the same quality and resolution, thus preventing the emergence of poorly covered areas. Figure 5 also shows the results of extensive discrete event simulations (we executed 1 × 10 5 cycles for every set of input parameter values), which confirm the predictions of the analytical model.
Figure 6 shows the PLP per grade i attained by our proposal, HP-MAC/DBQ, and two other state-of-the-art protocols, HP-MAC [13] and PRIMAC [19]. Since the performance of PRIMAC depends on the size W of the contention window, we consider two representative values, 16 and 64. As expected, the PLP for HP-MAC and PRIMAC degrades rapidly as the hop distance to the sink increases because data packets can be lost at each hop while competing for network resources with the locally generated data packets. On the other hand, HP-MAC/DBQ outperforms the other protocols for all grades except those closest to the sink, which is the result of assigning more resources to the packets generated upstream.
Similarly, Figure 7 presents the throughput attained by the three protocols. Again, we observe that only HP-MAC/DBQ exhibits a homogeneous throughput across the network and, in general, outperforms the remaining protocols.
In Figure 8a,b, we present the network-wide average PLP and throughput attained by the protocols as a increases, respectively. The figures show that the overall performance exhibited by HP-MAC/DBQ is equivalent to that of HP-MAC, indicating that the proposed DBQ scheme does not have a negative impact on the network-wide performance of HP-MAC. This is mainly due to two reasons. Firstly, the DBQ scheme does not interfere with the underlying contention avoidance scheme and does not require additional signaling. Secondly, by solving (13), the DBQ scheme assigns the appropriate amount of network resources to data packets, ensuring that all packets have roughly the same probability of reaching the sink, regardless of their originating grade. The figure also shows that both HP-MAC and HP-MAC/DBQ outperform PRIMAC.
In Figure 9a,b, we present the PLP performance of the LWSN in terms of I and N, respectively. In these evaluations, we have assumed a value of a = 0.012 . We notice that as an inherent effect of increasing the network size, the PLP increases as N or I increases. It is important to note that despite the high-intensity traffic, the uniform performance remains unaffected, which means that p l p ( i ) remains constant throughout the network for any given input parameters.
As a result of having a homogeneous PLP, the throughput per grade that reaches the sink, S s i n k i , is also homogeneous; i.e., it is the same for any grade i. To illustrate this behavior, we present in Table 2 and Table 3 the value of S s i n k i as well as the value of the network-wide throughput, S s i n k , as a function of N and I. We observe that as N increases, both S s i n k i and S s i n k decrease because in HP-MAC, the frame duration increases with N, hence, reducing the throughput that the network can deliver. On the other hand, when I increases, the frame duration remains constant, resulting in an increase in S s i n k because more packets are generated in the network. Nevertheless, since the network capacity must be shared among a larger number of grades, S s i n k i decreases. From this analysis, we can conclude that the network-wide throughput is affected by the MAC protocol features (HP-MAC in this case) but not by the incorporation of the DBQ scheme.
Lastly, to illustrate how our proposal improves the reliability of the network, we show the PLP for the most remote nodes of the network, p l p ( I ) , in Figure 10. For these results, we consider a = 0.012 and I = 8 . We observe that, for 120 nodes, all the protocols exhibit similar performances. However, as the total number of nodes increases in the order of hundreds (we increase N from 15 to 35), p l p ( I ) for PRIMAC and HP-MAC tends toward 1, which means that the sensing of the most remote regions of the network becomes very unreliable. By contrast, the implementation of the DBQ scheme maintains a more reliable sensing of the whole network under a wider range of possible scenarios. Evidently, these reliability improvements are limited by the network capacity.

8. Conclusions

In previous DCPF MAC protocols for LWSN, the performance experienced by the data packets strongly depends on the hop distance between the source nodes and the sink, which severely limits the network scalability in terms of its length because packets generated many hops away from the sink barely reach their destination. This is unacceptable from the applications’ point of view because the entire area of interest covered by the LWSN is equally important and should be monitored with the same quality. The proposed DBQ scheme solves this problem by improving the reliability and scalability of an LWSN running a DCPF MAC protocol without requiring additional signaling or local processing at the nodes. Our analytical and simulation-based results show that DBQ is effective under a wide range of traffic conditions and network sizes, making it a viable solution for LWSNs.
Our results also validate the accuracy of the proposed analytical model and demonstrate that it is an effective tool for determining the probabilities of serving the relay queues that achieve homogeneous performance across the whole LWSN. This is true even when the network performance is highly sensitive to these probabilities.
Future work includes evaluating the effectiveness of the proposed scheme under dynamic traffic conditions and developing solutions that jointly homogenize packet loss probability and end-to-end delay.

Author Contributions

Conceptualization, I.V.-J., N.T.-C., R.M.-M. and M.E.R.-A.; methodology, I.V.-J. and N.T.-C.; software, I.V.-J.; validation, I.V.-J. and N.T.-C.; formal analysis, I.V.-J., N.T.-C., R.M.-M. and M.E.R.-A.; investigation, I.V.-J. and N.T.-C.; writing—original draft preparation, N.T.-C.; writing—review and editing, I.V.-J., N.T.-C., R.M.-M. and M.E.R.-A.; visualization, N.T.-C.; supervision, I.V.-J. and N.T.-C.; project administration, I.V.-J. All authors have read and agreed to the published version of the manuscript.

Funding

This research was funded by SIP-IPN Project 20242156.

Informed Consent Statement

Not applicable.

Data Availability Statement

The original contributions presented in this study are included in the article; further inquiries can be directed to the corresponding author.

Conflicts of Interest

The authors declare no conflicts of interest.

Abbreviations

aProbability of generating a local packet during a cycle;
f ( p r e l i ) Difference between the desired proportions of local and relay throughput at grade i;
INumber of grades in the network (network length);
KBuffers’ length (in number of packets);
NNumber of nodes per grade;
p h i Value of p r e l i that homogenizes the sent throughput toward grade i + 1 ;
p l p ( i ) Probability of losing a packet generated in grade i;
p r e l i Probability of selecting for transmission a packet from the relay buffer at grade i;
S l i Locally generated throughput that is queued in a node at grade i;
S r i Relay throughput from grade i + 1 that is received in a node at grade i;
S s i n k Network-wide throughput that is delivered to the sink node;
S s i n k i Throughput from grade i that reaches the sink node;
TSlot duration;
ξ Number of sleeping slots during a cycle.

References

  1. Du, R.; Santi, P.; Xiao, M.; Vasilakos, A.V.; Fischione, C. The Sensable City: A Survey on the Deployment and Management for Smart City Monitoring. IEEE Commun. Surv. Tutor. 2019, 21, 1533–1560. [Google Scholar] [CrossRef]
  2. Nurlan, Z.; Zhukabayeva, T.; Othman, M.; Adamova, A.; Zhakiyev, N. Wireless Sensor Network as a Mesh: Vision and Challenges. IEEE Access 2022, 10, 46–67. [Google Scholar] [CrossRef]
  3. Ketu, S.; Mishra, P.K. A Contemporary Survey on IoT Based Smart Cities: Architecture, Applications, and Open Issues. Wirel. Pers. Commun. 2022, 125, 2319–2367. [Google Scholar] [CrossRef]
  4. Mo, Y.; Xing, L.; Jiang, J. Modeling and Analyzing Linear Wireless Sensor Networks with Backbone Support. IEEE Trans. Syst. Man Cybern. Syst. 2020, 50, 3912–3924. [Google Scholar] [CrossRef]
  5. Almalki, K.J.; Jabbari, A.; Ayinala, K.; Sung, S.; Choi, B.Y.; Song, S. ELSA: Energy-Efficient Linear Sensor Architecture for Smart City Applications. IEEE Sens. J. 2022, 22, 7074–7083. [Google Scholar] [CrossRef]
  6. Varshney, S.; Kumar, C.; Swaroop, A.; Khanna, A.; Gupta, D.; Rodrigues, J.J.; Pinheiro, P.R.; De Albuquerque, V.H.C. Energy Efficient Management of Pipelines in Buildings Using Linear Wireless Sensor Networks. Sensors 2018, 18, 2618. [Google Scholar] [CrossRef] [PubMed]
  7. Alvi, A.N.; Bouk, S.H.; Ahmed, S.H.; Yaqub, M.A.; Sarkar, M.; Song, H. BEST-MAC: Bitmap-Assisted Efficient and Scalable TDMA-Based WSN MAC Protocol for Smart Cities. IEEE Access 2016, 4, 312–322. [Google Scholar] [CrossRef]
  8. Shahra, E.Q.; Wu, W.; Romano, M. Considerations on the Deployment of Heterogeneous IoT Devices For Smart Water Networks. In Proceedings of the 2019 IEEE Smart World Ubiquitous Intelligence & Computing, Advanced & Trusted Computing, Scalable Computing & Communications, Cloud & Big Data Computing, Internet of People and Smart City Innovation, Leicester, UK, 19–23 August 2019. [Google Scholar]
  9. Mohanasundaram, S.V.; Joyce, A.; Naresh, K.S.; Gokulkrishnan, G.; Kale, A.; Dwarakanath, T.; Haribabu, P. Smart water distribution network solution for smart cities: Indian scenario. In Proceedings of the 2018 Global Internet of Things Summit (GIoTS), Bilbao, Spain, 4–7 June 2018. [Google Scholar]
  10. Dutt, A.; Singh, V.P.; Pasupuleti, H.B.; Sd, S. Adaptation of SDN Framework for a Smart Water Distribution Network in Smart Cities. In Proceedings of the 2023 3rd International Conference on Mobile Networks and Wireless Communications (ICMNWC), Tumkur, India, 4–5 December 2023. [Google Scholar]
  11. Kowsigan, M. IoT Enabled Water Distribution Systems for Energy Efficiency in WSN. In Proceedings of the 2022 International Conference on Innovative Computing, Intelligent Communication and Smart Electrical Systems (ICSES), Chennai, India, 15–16 July 2022. [Google Scholar]
  12. Lalle, Y.; Fourati, L.C.; Fourati, M.; Barraca, J.P. LoRaWAN Network Capacity Analysis for Smart Water Grid. In Proceedings of the 2020 12th International Symposium on Communication Systems, Networks and Digital Signal Processing (CSNDSP), Porto, Portugal, 20–22 July 2020. [Google Scholar]
  13. Villordo-Jimenez, I.; Torres-Cruz, N.; Menchaca-Mendez, R.; Rivero-Angeles, M.E. A Scalable and Energy-Efficient MAC Protocol for Linear Sensor Networks. IEEE Access 2022, 10, 36697–36710. [Google Scholar] [CrossRef]
  14. Ma, J.; Tong, F. SA-SWS: A Self-Adaptive Sleep/Wake-Up Scheduling Approach for Linear Sensor Networks. In Proceedings of the 2023 IEEE/CIC International Conference on Communications in China (ICCC), Dalian, China, 10–12 August 2023; pp. 1–6. [Google Scholar]
  15. Tong, F.; Zhang, Y.; Tao, J.; Wang, G.; Shi, X.; Cheng, G. EPDC: An Enhanced Pipelined Data Collection MAC for Duty-Cycled Linear Sensor Networks. In Proceedings of the IEEE 92nd Vehicular Technology Conference, VTC2020-Fall, Victoria, BC, Canada, 18 November–16 December 2020; pp. 1–5. [Google Scholar]
  16. Zhang, Q.; Li, D.; Fei, Y.; Zhang, J.; Chen, Y.; Tong, F. RDCPF: A Redundancy-Based Duty-Cycling Pipelined-Forwarding MAC for Linear Sensor Networks. Sensors 2020, 20, 5608. [Google Scholar] [CrossRef] [PubMed]
  17. Singh, R.; Rai, B.K.; Bose, S.K. Modeling and Performance Analysis for Pipelined-Forwarding MAC Protocols for Linear Wireless Sensor Networks. IEEE Sens. J. 2019, 19, 6539–6552. [Google Scholar] [CrossRef]
  18. Villordo-Jimenez, I.; Torres-Cruz, N.; Carvalho, M.M.; Menchaca-Mendez, R.; Rivero-Angeles, M.E.; Menchaca-Mendez, R. A Selective-Awakening MAC Protocol for Energy-Efficient Data Forwarding in Linear Sensor Networks. Wirel. Commun. Mob. Comput. 2018, 2018, 6351623. [Google Scholar] [CrossRef]
  19. Tong, F.; Zheng, L.; Ahmadi, M.; Ni, M.; Pan, J. Modeling and Analyzing Duty-Cycling Pipelined-Scheduling MAC for Linear Sensor Networks. IEEE Trans. Veh. Technol. 2016, 65, 2608–2620. [Google Scholar] [CrossRef]
  20. Acosta, C.E.; Gil-Castiñeira, F.; Costa-Montenegro, E.; Silva, J.S. Reliable Link Level Routing Algorithm in Pipeline Monitoring Using Implicit Acknowledgements. Sensors 2021, 21, 968. [Google Scholar] [CrossRef] [PubMed]
  21. Acosta, C.E.; Gil-Castiñeira, F.; Gualotuña, C.E. Optimization of delays and power consumption in large-scale linear networks using iACK. In Proceedings of the 2020 IEEE ANDESCON, Quito, Ecuador, 13–16 October 2020; pp. 1–5. [Google Scholar] [CrossRef]
  22. Asif, M.; Khan, S.; Ahmad, R.; Sohail, M.; Singh, D. Quality of Service of Routing Protocols in Wireless Sensor Networks: A Review. IEEE Access 2017, 5, 1846–1871. [Google Scholar] [CrossRef]
  23. Godoi, F.N.; Denardin, G.W.; Barriquello, C.H. Reliability Enhancement of Packet Delivery in Multi-Hop Wireless Sensor Network. Comput. Netw. 2019, 153, 86–91. [Google Scholar] [CrossRef]
  24. Carsancakli, M.F.; Al Imran, M.A.; Yildiz, H.U.; Kara, A.; Tavli, B. Reliability of linear WSNs: A complementary overview and analysis of impact of cascaded failures on network lifetime. Ad Hoc Netw. 2022, 131, 102839. [Google Scholar] [CrossRef]
  25. Yang, H. A practical method for connectivity and coverage reliability analysis for linear wireless sensor networks. Ad Hoc Netw. 2023, 146, 103138. [Google Scholar] [CrossRef]
  26. Tong, F.; Zhang, R.; Pan, J. One Handshake Can Achieve More: An Energy-Efficient, Practical Pipelined Data Collection for Duty-Cycled Sensor Networks. IEEE Sens. J. 2016, 16, 3308–3322. [Google Scholar] [CrossRef]
  27. Jiang, X.; Zhang, H.; Yi, E.A.B.; Raghunathan, N.; Mousoulis, C.; Chaterji, S.; Peroulis, D.; Shakouri, A.; Bagchi, S. Hybrid Low-Power Wide-Area Mesh Network for IoT Applications. IEEE Internet Things J. 2021, 8, 901–915. [Google Scholar] [CrossRef]
  28. Kadir, E.A.; Siswanto, A.; Rosa, S.L.; Syukur, A.; Irie, H.; Othman, M. Smart Sensor Node of WSNs for River Water Pollution Monitoring System. In Proceedings of the 2019 International Conference on Advanced Communication Technologies and Networking (CommNet), Rabat, Morocco, 12–14 April 2019. [Google Scholar]
  29. Alablani, I.; Alenazi, M. EDTD-SC: An IoT Sensor Deployment Strategy for Smart Cities. Sensors 2020, 20, 7191. [Google Scholar] [CrossRef] [PubMed]
Figure 1. Contribution of the DBQ scheme to Smart City applications.
Figure 1. Contribution of the DBQ scheme to Smart City applications.
Sensors 24 02023 g001
Figure 2. Dense LWSN, a topology with multiple nodes per grade.
Figure 2. Dense LWSN, a topology with multiple nodes per grade.
Sensors 24 02023 g002
Figure 3. Homogeneous throughput achieved by the DBQ scheme.
Figure 3. Homogeneous throughput achieved by the DBQ scheme.
Sensors 24 02023 g003
Figure 4. Slots structure and contention process in HP-MAC.
Figure 4. Slots structure and contention process in HP-MAC.
Sensors 24 02023 g004
Figure 5. Analytical and simulation-based results for the packet loss probability p l p ( i ) at grade i for different values of traffic intensity a.
Figure 5. Analytical and simulation-based results for the packet loss probability p l p ( i ) at grade i for different values of traffic intensity a.
Sensors 24 02023 g005
Figure 6. Packet loss probability p l p ( i ) per grade i.
Figure 6. Packet loss probability p l p ( i ) per grade i.
Sensors 24 02023 g006
Figure 7. Throughput S s i n k i per grade i.
Figure 7. Throughput S s i n k i per grade i.
Sensors 24 02023 g007
Figure 8. Network-wide (a) average PLP and (b) throughput.
Figure 8. Network-wide (a) average PLP and (b) throughput.
Sensors 24 02023 g008
Figure 9. Packet loss probability per grade (a) as a function of N, for I = 7 , and (b) as a function of I, for N = 10 .
Figure 9. Packet loss probability per grade (a) as a function of N, for I = 7 , and (b) as a function of I, for N = 10 .
Sensors 24 02023 g009
Figure 10. Packet loss probability for remote nodes (grade I) in terms of the number of nodes in the network.
Figure 10. Packet loss probability for remote nodes (grade I) in terms of the number of nodes in the network.
Sensors 24 02023 g010
Table 1. Probability of selecting the relay buffer that homogenizes the network performance, p h i , for different grades i and traffic intensities a.
Table 1. Probability of selecting the relay buffer that homogenizes the network performance, p h i , for different grades i and traffic intensities a.
aGrade i
1234567
0.0120.8570.8330.8000.7500.6670.5000
0.0180.9100.8990.8000.7500.6670.5000
0.0240.9280.8830.8290.7500.6670.5000
0.0360.9380.8950.8420.7680.6990.5000
0.0480.9410.8990.8460.7770.6720.5000
Table 2. Per grade and network-wide throughput as a function of N, for I = 7 .
Table 2. Per grade and network-wide throughput as a function of N, for I = 7 .
N S sink i S sink
150.06160.4312
200.05900.4130
250.05670.3969
Table 3. Per grade and network-wide throughput as a function of I, for N = 10 .
Table 3. Per grade and network-wide throughput as a function of I, for N = 10 .
I S sink i S sink
80.05410.4328
90.05010.4509
100.04500.4500
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Villordo-Jimenez , I.; Torres-Cruz, N.; Menchaca-Mendez, R.; Rivero-Angeles, M.E. Distance-Based Queuing for Scalable and Reliable Linear Wireless Sensor Networks in Smart Cities. Sensors 2024, 24, 2023. https://doi.org/10.3390/s24072023

AMA Style

Villordo-Jimenez  I, Torres-Cruz N, Menchaca-Mendez R, Rivero-Angeles ME. Distance-Based Queuing for Scalable and Reliable Linear Wireless Sensor Networks in Smart Cities. Sensors. 2024; 24(7):2023. https://doi.org/10.3390/s24072023

Chicago/Turabian Style

Villordo-Jimenez , Iclia, Noé Torres-Cruz, Rolando Menchaca-Mendez, and Mario E. Rivero-Angeles. 2024. "Distance-Based Queuing for Scalable and Reliable Linear Wireless Sensor Networks in Smart Cities" Sensors 24, no. 7: 2023. https://doi.org/10.3390/s24072023

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