[go: up one dir, main page]
More Web Proxy on the site http://driver.im/ Skip to main content
Log in

Decentralised learning MACs for collision-free access in WLANs

  • Published:
Wireless Networks Aims and scope Submit manuscript

Abstract

By combining the features of CSMA and TDMA, fully decentralised WLAN MAC schemes have recently been proposed that converge to collision-free schedules. In this paper we describe a MAC with optimal long-run throughput that is almost decentralised. We then design two schemes that are practically realisable, decentralised approximations of this optimal scheme and operate with different amounts of sensing information. We achieve this by (1) introducing learning algorithms that can substantially speed up convergence to collision free operation; (2) developing a decentralised schedule length adaptation scheme that provides long-run fair (uniform) access to the medium while maintaining collision-free access for arbitrary numbers of stations.

This is a preview of subscription content, log in via an institution to check access.

Access this article

Subscribe and save

Springer+ Basic
£29.99 /Month
  • Get 10 units per month
  • Download Article/Chapter or eBook
  • 1 Unit = 1 Article or 1 Chapter
  • Cancel anytime
Subscribe now

Buy Now

Price includes VAT (United Kingdom)

Instant access to the full article PDF.

Fig. 1
Fig. 2
Fig. 3
Fig. 4
Fig. 5
Fig. 6
Fig. 7
Fig. 8
Fig. 9
Fig. 10
Fig. 11
Fig. 12
Fig. 13
Fig. 14
Fig. 15

Similar content being viewed by others

Notes

  1. In previous sections we presented convergence in terms of the number of schedules used by the algorithm, rather than real time. These will be related by the mean slot length during the convergence phase.

References

  1. Asmussen, S. (2003). Applied Probability and Queues, second edn., Berlin: Springer.

    MATH  Google Scholar 

  2. Barcelo, J., Bellalta, B., Cano, C. & Oliver, M. (2008). Learning-BEB: Avoiding Collisions in WLAN. Stuttgart: Eunice Summer School.

    Google Scholar 

  3. Berger-Sabbatel, G., Duda, A., Gaudoin, O., Heusse, M. & Rousseau, F. (2004). Fairness and its impact on delay in 802.11 networks. In: IEEE GLOBECOM.

  4. Bianchi, G. (2000). Performance analysis of the IEEE 802.11 distributed coordination function. IEEE Journal on Selected Areas in Communications, 18(3), 535–547.

    Article  Google Scholar 

  5. Busch, C., Magdon-Ismail, M., Sivrikaya, F. & Yener, B. (2004). Contention-free MAC protocols for wireless sensor networks. Lecture Notes in Computer Science, 3274, 245–259.

    Article  Google Scholar 

  6. Chen, C., Liang, G. & Vaidya, N. (2010). OCP: Opportunistic carrier prediction for wireless networks. In: IEEE conference on mobile adhoc and sensor systems (MASS), (pp. 1–10). doi:10.1109/MASS.2010.5663974.

  7. Chen, C., Seo, E., Kim, H. & Luo, H. (2006). Self-learning collision avoidance for wireless networks. In Proceedings of IEEE INFOCOM.

  8. Chen, Y. & Wang, H. (2007). Ordered CSMA: A collision-free MAC protocol for underwater acoustic networks. Oceans, 1–6.

  9. Duffy, K. R., O’Connell, N. & Sapozhnikov, A. (2008). Complexity analysis of a decentralised graph colouring algorithm. Information Processing Letters, 107(2), 60–63.

    Article  MathSciNet  MATH  Google Scholar 

  10. Heusse, M., Rousseau, F., Guillier, R. & Duda, A. (2005). Idle sense: An optimal access method for high throughput and fairness in rate diverse wireless lans. ACM SIGCOMM Computer Communication Review, 35(4), 121–132.

    Article  Google Scholar 

  11. IEEE: Wireless LAN medium access control (MAC) and physical layer (PHY) specifications: Medium access control (MAC) enhancements for quality of service (QoS), IEEE std 802.11e edn.

  12. Jain, R., Chiu, D. & Hawe, W. (1984). A quantitative measure of fairness and discrimination for resource allocation in shared computer systems. DEC Technical Report 301.

  13. Koksal, C., Kassab, H. & Balakrishnan, H. (2000). An analysis of short-term fairness in wireless media access protocols (poster session). In Proceedings of the 2000 ACM SIGMETRICS international conference on measurement and modeling of computer systems, (pp. 118–119). NY, USA: ACM New York.

  14. Lee, J. & J. Walrand (2008). Design and analysis of an asynchronous zero collision MAC protocol. Arxiv preprint 0806.3542v1 [cs.NI].

  15. Leith, D. & Clifford, P. (2006). A self-managed distributed channel selection algorithm for WLANs. In Proceedings of international symposium on modeling and optimization in mobile, ad hoc and wireless networks, (pp. 1–9).

  16. Malone, D., Duffy, K. & Leith, D. (2007). Modeling the 802.11 distributed coordination function in nonsaturated heterogeneous conditions. IEEE/ACM Transactions on Networking, 15(1), 159–172.

    Article  Google Scholar 

  17. Narendra, K. & Thathachar, M. A. L. (1989). Learning automata: An introduction. New Jersey: Prentice Hall.

    Google Scholar 

  18. Ni, Q., Li, T., Turletti, T. & Xiao, Y. (2005). Saturation throughput analysis of error-prone 802.11 wireless networks. Wireless Communications and Mobile Computing, 5(8), 945–956.

    Article  Google Scholar 

  19. Rhee, I., Warrier, A., Aia, M., Min, J. & Sichitiu, M. (2008). Z-MAC: A hybrid MAC for wireless sensor networks. IEEE/ACM Transactions on Networking (TON), 16(3), 511–524.

    Article  Google Scholar 

  20. Starzetz, P., Heusse, M., Rousseau, F. & Duda, A. (2009). Hashing backoff: A collision-free wireless access method. In Proceedings of IFIP Networking, vol. 5550, (pp. 11–15). Springer.

  21. Wang, P. & Zhuang, W. (2008). A collision-free MAC scheme for multimedia wireless mesh backbone. In IEEE International Conference on Communications, 2008. ICC’08, (pp. 4708–4712).

  22. Yi, Y., de Veciana, G. & Shakkottai, S. (2010). Mac scheduling with low overheads by learning neighborhood contention patterns. IEEE/ACM Transactions on Networking, 18(5), 1637–1650.

    Article  Google Scholar 

  23. Yong, H., Ruxi, Y., Jie, S. & Weibo, G. (2009). Semi-random backoff: Towards resource reservation for channel access in wireless LANs. In: IEEE International Conference on Network Protocols (ICNP).

Download references

Acknowledgments

Work supported by SFI Grant 07/SK/I1216a, the European Community’s 7th Framework Programme (FP7-ICT-2009-5) under grant agreement n. 257263 (FLAVIA project) and HEA's Network Maths Grant.

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to David Malone.

Appendix: Analysis

Appendix: Analysis

In this section we give the details of the analysis of L-ZC and L-MAC used earlier in the paper.

1.1 Detailed analysis of L-ZC

We begin with the proof of Theorem 1.

Proof

The number of colliding stations in next schedule only depends on current number of colliding stations and the slots they collide on, hence we build a Markov chain model to study this stochastic process. We have N stations in the same channel without hidden nodes, and \(C \geqslant N\) per schedule to ensure a collision-free schedule exists. We let N (C) be the number of stations experiencing a collision in a given schedule, n C be the number of slots with collisions, and then n I  = C − N + N (C) − n C is the number of idle slots. We can immediately establish our result by noting that the probability that N (C) > 0 decreases is lower bounded by (1 − γ)γN-1/C, the probability that one station jumps to an idle slot, but all others remain fixed.

However, we can give a more refined analysis that enables us to determine the optimal learning parameter. For each N (C) different configurations of collisions are possible, so we label these by a sequence \(S_{(N_{(C)},i)}=(I_{1},I_{2},\ldots,I_{n_C})\) where i indexes the different states and I j is the number of stations transmitting in slot j. By relabelling the slots, we only need to consider the case where \(I_{j-1}\leqslant I_{j}\) and we omit slots which have no collision (i.e. I j  < 2). For example, for two colliding stations, the only possible state is S (2,1) = (2). When N (C) = 5, there are two possible states S (5,1) = (5), S (5,2) = (2, 3). We denote \(\overline{S}_{N_{(C)}} := \{ S_{(N_{(C)},i)} : i\}\) and \(\overline{S} := \bigcup\nolimits_{N_{(C)}=2}^{N}\overline{S}_{N_{(C)}}\). These sets can be identified by combinatorial search.

These sequences, \(S_{(N_{(C)},i)}\), are the states of our Markov chain. We add an initial state IS (N stations start to transmit) and an absorbing state 0 representing collision-free schedules. Note that in this discrete-time Markov chain \(S_{(N_{(C)},i)}\) has non-zero probability to transition to state S (k,j) if \(k \leqslant N_{(C)}\) and the state IS has positive probability to transfer to all states except itself.

Note that the transition probability from \(S_{(N_{(C)},i)}\) to S (k,i) is zero if k > N (C), because N (C) is non-increasing in the next schedule by design. Assume that \(G_{N_{(C)}}\) is a \(|\overline{S}_{N_{(C)}}|\times |\overline{S}_{N_{(C)}}|\) matrix of transition probabilities among states in \(\overline{S}_{N_{(C)}}\) with the same number of colliding stations. Considering the state IS and the absorbing state, we obtain the \((|\overline{S}|+2)\times (|\overline{S}|+2)\) full transition matrix \(\Uppi\) in upper-triangular block form,

$$ \Uppi= \left[ \begin{array}{lllllll} 0 &P_{12} & \cdot & \cdot & \cdot & \cdot & P_{1(2+|\overline{S}|)} \\ 0 & G_{N} & \cdot & \cdot & \cdot & \cdot & \cdot\\ \cdot & 0 & \cdot & \cdot & \cdot & \cdot & \cdot\\ \cdot & \cdot & \cdot & G_{N_{(C)}} & \cdot & \cdot & \cdot\\ \cdot & \cdot & \cdot & \cdot & \cdot & \cdot & \cdot\\ \cdot & \cdot & \cdot & \cdot & \cdot & G_{2} & \cdot \\ 0 & \cdot & \cdot & \cdot & \cdot & 0 & 1 \\ \end{array} \right]. $$
(3)

The initial probability measure for all states \(\Upphi_{(0)} := [1,0,\ldots,0]\), at the n’th schedule \(\Upphi_{(n)}=\Uppi^{n}\Upphi_{(0)}\), and stationary measure is \([0,\ldots,0,1]\) due to the absorbing state 0. The convergence speed depends on the second largest eigenvalue \(\lambda^{\ast}\) of the transition matrix: the smaller \(\lambda^{\ast}\), the quicker convergence speed. As \(\Uppi\) is a upper triangular matrix, the determinant of \(\lambda I-\Uppi\) is the product of determinants of its diagonal entries, (4).

$$ |\lambda I-\Uppi|=\lambda \prod_{N_{(C)}=2}^{N}|\lambda I-G_{N_{(C)}}| (\lambda-1). $$
(4)

It is evident that λ0 = 0 and \(\lambda_{2+|\overline{S}|}=1\). In order to get the rest eigenvalues λ, we will evaluate the transition matrix \(G_{N_C}\), and obtain the largest eigenvalue of those matrices which is second largest eigenvalue \(\lambda^{\ast}\) of \(\Uppi\).

Let \(\pi_{kl}^{N_{(C)}}\) be the entry of \(G_{N_{(C)}}\) corresponding to the probability of moving from the state \(S_{(N_{(C)},k)}=(K_{1}, \ldots)\) to state \(S_{(N_{(C)},l)}=(L_{1}, \ldots)\). Let n k C and n l C be the number of slots experiencing a collision in these states respectively. Consider colliding stations that choose to remain fixed in the same slot. Since other stations will have seen that slot as busy, no additional stations will be able to move into this slot. This if some of the K j stations remain fixed, they must correspond to a slot \(j^{\prime}\) with \(L_{j^{\prime}} \leq K_{j}\). Let \(\Upomega \subset \{1, \ldots, n_{C}^{k}\}\) represent slots that will have some fixed station and let

$$ \begin{aligned} M(\Upomega) &:= \left\{ \sigma: \Upomega\rightarrow \{1, \ldots, n_{C}^{l}\} : L_{\sigma(j)} \leq K_{j},\right.\\ & \quad\quad\quad \left. \forall j \in \Upomega\hbox{ and } \sigma \, \hbox{is one-to-one.} \right\}\end{aligned} $$
(5)

Note that \(M(\Upomega)\) may be empty. Let \(\{j_1, j_2, \ldots\} := \{1, \ldots, n_{C}^{l}\} \backslash \sigma(\Upomega)\) be the indices of collision slots not arising from fixed stations. The number of stations moving to previously idle slots to produce these collision slots will be

$$ m(\Upomega, \sigma) := \sum_{j \in \{j_{1}, j_{2}, \ldots\}} L_{j}, $$

and the number of ways we can choose the idle slots will be

$$ P(n_{I}^{k}, n_{C}^{L} - |\Upomega|) := \frac{n_{I}^{k}!}{(n_{I}^{k}-n_{C}^{L}+|\Upomega|)!}. $$

So, we may write the transition probability as

$$ \begin{aligned} &\pi_{kl}^{N_{(C)}} = \sum_{\Upomega \subset \{1, \ldots, n_{C}^{k}\}} \sum_{\sigma \in M(\Upomega)} \left[\prod_{j\in \Upomega} {\left(\begin{array}{l} K_{j}\\ L_{\sigma(j)}\\ \end{array}\right) \gamma^{L_{\sigma(j)}}}\right]\\ & \quad \left[ {\left(\begin{array}{l} m(\Upomega,\sigma)\\ j_{1}\,j_{2}\,\ldots\\ \end{array}\right) \left(\frac{1-\gamma}{n_{I}^{k}}\right)^{m(\Upomega,\sigma)}}\right] \frac{P(n_{I}^{k},n_{C}^{l}-|\Upomega|)}{R}, \end{aligned} $$
(6)

where R is the number of permutations of the sequence \(S_{(N_{(C)},l)}\) that result in the same state. For particular \(N_{(C)}\in[2,N]\) and \(\gamma\in(0,1)\), we can obtain the full set of states \(\overline{S}_{N_{(C)}}\), obtain the transition matrix \(G_{N_{(C)}}\) based on equation (6), and then calculate the largest eigenvalue \(\lambda_{(N_{(C)})}^{\ast}\) of \(G_{N_{(C)}}\). Then the second largest eigenvalue will be

$$ \lambda^{\ast} = \max_{N_C\in[2,N]}[\lambda_{(N_C)}^{\ast}]. $$
(7)

Based on this analysis, Fig. 16 (a) and (b) show the largest eigenvalue of matrix at different N (C) when \(N\leqslant C\). In numerical tests over a range of γ values, we have always observed largest eigenvalue \(\lambda^{\ast}\) is achieved at N (C) = 2. Under this assumption we obtain

$$ \lambda^{\ast} = \gamma^{2} + \frac{(1-\gamma)^{2}}{C-N+1}. $$
(8)

Hence, we expect that the minimum \(\lambda^{\ast}\) is obtained by setting \(\gamma=\frac{1}{C-N+2}\). When N = C,   γ is set at 0.5 for the faster convergence speed for L-ZC.

Fig. 16
figure 16

Largest eigenvalue versus N (C) for L-ZC, various γ values, numerical results

Using this Markov chain, we can also predict the number of schedules until collision-free schedule is obtained, assuming that all stations start to transmit at the same time. Let \(\Uppi_{T}\) be the transition matrix between all transient states. We have already obtained the diagonal, \(G_{N_{(C)}}\) in equation (6) and may obtain most other transitions in a similar way. We do have to calculate the first row of \(\Uppi_T\), representing transition probabilities from IS into other states \(S_{(N_{(C)},i)}\). If N − N (C) stations choose their own successful N (C) slots, and n C slots are chosen from rest C − N + N (C) slots to obtain the same collision case as \(S_{(N_{(C)},i)}\) and the probability of choosing each slot is initially \(\frac{1}{C}\). Thus we get the transition probability from IS to \(S_{(N_{(C)},i)}\) is

$$ \begin{aligned} &\pi_{IS,S_{(N_{(C)},i)}} = {\left(\begin{array}{l} C\\ N-N_{(C)}\\ \end{array}\right) P_{(N,N-N_{(C)})}}\\ & \quad {\left(\begin{array}{l} C-N+N_{(C)}\\ n_{C}\\ \end{array}\right) /{R} \left(\begin{array}{l} N_{(C)}\\ I_{1},\,I_{2},\,\ldots \\ \end{array}\right)} \left(\frac{1}{C}\right)^{N} \end{aligned} $$
(9)

where again, R is number of permutations of \(S_{(N_{(C)},i)}\) that result in the same collision state.

Let \(\kappa_{(S_{(N_{(C)}),i})}\) denote the number of schedules elapsed before the network reaching collision-free schedule given the initial state \(S_{(N_{(C)},i)}\), and κ(IS) denote the number of schedules elapsed from state IS. Using standard Markov chain results, the mean number of convergence schedules from initial state IS is obtained as

$$ E(\kappa_{(IS)})=[1,0,\ldots, 0] (I-\Uppi_{T})^{-1} [ 1,1,\ldots, 1]^{T}. $$
(10)

Predictions are shown in Fig. 3. \(\square\)

1.2 Detailed analysis of L-MAC

Now we present the proof of Theorem 2.

Proof

Adapting ideas from a previous proof [9], we will show that from any state in any two steps of the algorithm, there is a probability of convergence that is bounded away from zero. The probability of selecting a slot can become arbitrarily small if the station has been colliding on the same slot for many schedules, so we must construct a sequence of events that avoids this possibility.

Suppose the WLAN consists of N stations. Define \({\bf p}^{(i)}(n)\in[0,1]^{C}\) to be station i’s probability distribution in the n’th schedule and \(s^{(i)}(n)\in\{1,2,\ldots,C\}\) to be its slot chosen for transmission.

If we have \(s^{(i)}(n)\neq s^{(j)}(n),\, \forall i\neq j\in\{1,\ldots,N\}\), then the network has already found a collision-free schedule and there is nothing to prove. If, at schedule n, there was at least one collision, then as C ≥ N, there must be some slot \(i^{\ast}\), which has been selected by none of the stations. At schedule n + 1, for any station k colliding at slot \(i \neq i^{\ast}\) in schedule n, the probabilities of moving to \(i^{\ast}\) is

$$ p^{(k)}_{i^{\ast}}(n+1)=\beta p^{(k)}_{i^{\ast}}(n)+\frac{1-\beta}{C-1}\geqslant \frac{1-\beta}{C-1}. $$

Thus the probability that all the stations that collided in schedule n then, in schedule n + 1, choose \(i^{\ast}\) is at least ((1 − β)/(C − 1))N.

In schedule n + 2, the probability a station k that collides in schedule n + 1 now picks any slot j is bounded by below by

$$ p^{(k)}_{j}(n+2)=\beta p^{(k)}_{j}(n+1)+\frac{1-\beta}{C-1}\geqslant \frac{\beta(1-\beta)}{C-1}. $$

Since there is at least one non-colliding configuration, the probability of jumping to this is at least

$$ \left(\frac{\beta(1-\beta)}{C-1}\right)^{N}. $$

In summary, no matter what the slot-selection conditions for stations are in schedule n, the probability of schedule n + 2 being collision-free, \(P({\bf p}(n+2)\in A)\), is bounded below by:

$$ K := \left(\frac{1-\beta}{C-1}\right)^{N} \left(\frac{\beta(1-\beta)}{C-1}\right)^{N} > 0 $$

Let τ be the first time a collision-free schedule is found, we want to show \(P(\tau<\infty)=1\). At time 2n, the probability of arriving at collision-free schedule for the first time is:

$$ P(\tau\geqslant 2n) \leqslant(1-K)^{n}. $$
(11)

Thus, as \(n \rightarrow \infty\) for any \((1-K)\in(0,1)\), this equation implies:

$$ \lim_{n \rightarrow \infty} P(\tau\geqslant n) = \lim_{n\rightarrow \infty} (1-K)^n=0. $$

and so \(P(\tau<\infty)=1\). Note that equation (11) upper bounds the stopping time τ by a geometric distribution and, therefore, all of this stopping time’s moments (mean, variance, etc.) are finite. \(\square\)

Rights and permissions

Reprints and permissions

About this article

Cite this article

Fang, M., Malone, D., Duffy, K.R. et al. Decentralised learning MACs for collision-free access in WLANs. Wireless Netw 19, 83–98 (2013). https://doi.org/10.1007/s11276-012-0452-1

Download citation

  • Published:

  • Issue Date:

  • DOI: https://doi.org/10.1007/s11276-012-0452-1

Keywords

Navigation