| Literature DB >> 25153143 |
Alessandro Ludovici1, Piergiuseppe Di Marco2, Anna Calveras3, Karl H Johansson4.
Abstract
We propose a novel analytical model to study fragmentation methods in wireless sensor networks adopting the Constrained Application Protocol (CoAP) and the IEEE 802.15.4 standard for medium access control (MAC). The blockwise transfer technique proposed in CoAP and the 6LoWPAN fragmentation are included in the analysis. The two techniques are compared in terms of reliability and delay, depending on the traffic, the number of nodes and the parameters of the IEEE 802.15.4 MAC. The results are validated trough Monte Carlo simulations. To the best of our knowledge this is the first study that evaluates and compares analytically the performance of CoAP blockwise transfer and 6LoWPAN fragmentation. A major contribution is the possibility to understand the behavior of both techniques with different network conditions. Our results show that 6LoWPAN fragmentation is preferable for delay-constrained applications. For highly congested networks, the blockwise transfer slightly outperforms 6LoWPAN fragmentation in terms of reliability.Entities:
Mesh:
Year: 2014 PMID: 25153143 PMCID: PMC4179025 DOI: 10.3390/s140815610
Source DB: PubMed Journal: Sensors (Basel) ISSN: 1424-8220 Impact factor: 3.576
Figure 1.6LoWPAN Fragment headers. (a) First Fragment; (b) Second Fragment.
Figure 2.Each update is composed by two fragments. The client fails to send the CoAP ACK at the third update while a fragment transmission fails in the second one. Both failures cause the retransmission of the entire fragmented update.
Figure 3.Encoding of the block option.
Figure 4.Blockwise transfer in observe data transaction. Two blocks compose each update. In the second update the CoAP ACK sent by the client fails while in the third one the second block fails. Both failures cause the retransmission of the relative block.
Main symbols used in this paper.
| λ | Traffic generation probability at CoAP layer |
| α | Busy channel probability of node l at the backoff stage j |
|
| Average busy channel probability for all backoff stages |
| Channel access probability of node l | |
|
| Idle probability of node l |
| c | Maximum number of CoAP retransmissions |
| m0 | Initial backoff exponent macMinBE |
| mB | Maximum backoff exponent macMaxBE |
| m | Maximum number of backoff macMaxCSMABackoffs |
| n | Maximum number of MAC retransmissions macMaxFrameRetries |
| Probability of generating the first fragment or block of an update at node l | |
| Backoff unit time aUnitBackoffPeriod | |
| N | Number of nodes in the network |
| F | Number of 6LoWPAN fragments composing an update |
| B | Number of CoAP blocks composing an update |
| L | Fragment or block size |
| LACK | CoAP ACK size |
| LMAC ACK | MAC ACK size |
| Vulnerability window for the CCA | |
| Collision probability of node l | |
| Pframe,l | Probability that the transmission of a block, fragment or CoAP ACK for node l fails |
| Pcf,l | Probability for node l that the frame is discarded due to channel access failure |
| Pcr,l | Probability for node l of a frame to be discarded due to MAC retry limit |
| Pblock,l | Probability that a single block fails at node l |
| Pfrag,l | Probability that a 6LoWPAN fragmented update fails at node l |
| Perrblock,l | Probability that a block is retransmitted at node l |
| Perrfrag,l | Probability that a 6LoWPAN fragmented update is retransmitted at node l |
| Packblock,l | Probability that the transmission of the CoAP ACK relative to a block transmission fails |
| Packfrag,l | Probability that the transmission of the CoAP ACK relative to a 6LoWPAN fragmented update fails |
| Probability that an update sent using blockwise transfer fails | |
| Probability that an update sent using 6LoWPAN fragmentation fails | |
| End-to-end reliability for blockwise transfer | |
| End-to-end reliability for 6LoWPAN fragmentation | |
| Delay of a successful received 6LoWPAN fragmented update | |
| Delay of a successful received update using blockwise transfer | |
| Delay for successfully received frame | |
| Delay for successfully received CoAP ACK | |
| RTO | CoAP retransmission timeout |
Figure 5.Blockwise transfer in observe data transaction. Two blocks compose each update. In the second update the CoAP ACK sent by the client fails while in the third one the second block fails. Both failures cause the retransmission of the relative block.
Figure 6.Markov chains for the server. (a) 6LoWPAN Fragmentation case (b) Blockwise transfer case. (a) The server retransmits all the fragments if the transmission of any of them fails or it does not receive the CoAP ACK; (b) The server retransmits a single block if its transmission fails or it does not receive the relative CoAP ACK. The Markov chain represents the transmission of an observe update composed by two blocks.
Figure 7.Blockwise reliability versus traffic rate for a star topology network composed by 10 nodes.
Figure 8.Blockwise reliability versus traffic rate for a star topology network composed by 15 nodes.
Figure 9.Blockwise reliability versus traffic rate for a star topology network composed by 20 nodes.
Figure 10.6LoWPAN fragmentation reliability versus traffic rate for a star topology network composed by 10 nodes.
Figure 11.6LoWPAN fragmentation reliability versus traffic rate for a star topology network composed by 15 nodes.
Figure 12.6LoWPAN fragmentation reliability versus traffic rate for a star topology network composed by 20 nodes.
Figure 13.Blockwise and 6LoWPAN reliability versus the number of blocks or fragments that compose an update. The network is composed by 15 nodes and the traffic rate is fixed to 1 pkt/s.
Figure 14.Blockwise Latency versus traffic rate for a star topology network composed by 10 nodes.
Figure 15.Blockwise Latency versus traffic rate for a star topology network composed by 15 nodes.
Figure 16.Blockwise Latency versus traffic rate for a star topology network composed by 20 nodes.
Figure 17.6LoWPAN Fragmentation Latency versus traffic rate for a star topology network composed by 10 nodes.
Figure 18.6LoWPAN Fragmentation Latency versus traffic rate for a star topology network composed by 15 nodes.
Figure 19.6LoWPAN Fragmentation Latency versus traffic rate for a star topology network composed by 20 nodes.
Figure 20.Blockwise and 6LoWPAN latency vs. the number of blocks or fragments for a star topology network composed by 20 nodes and a traffic rate of 1 pkt/s.
Figure 21.PDF of the latency for a star topology network with 15 nodes and a traffic rate of 1 pkt/s. 6LoWPAN. Each update is composed by five fragments or blocks. For the sake of clarity, the x-axis is shown in logarithmic scale.