- About this Journal ·
- Abstracting and Indexing ·
- Aims and Scope ·
- Annual Issues ·
- Article Processing Charges ·
- Articles in Press ·
- Author Guidelines ·
- Bibliographic Information ·
- Citations to this Journal ·
- Contact Information ·
- Editorial Board ·
- Editorial Workflow ·
- Free eTOC Alerts ·
- Publication Ethics ·
- Reviewers Acknowledgment ·
- Submit a Manuscript ·
- Table of Contents

International Journal of Distributed Sensor Networks

Volume 2013 (2013), Article ID 632398, 7 pages

http://dx.doi.org/10.1155/2013/632398

## Congestion Control Based on Consensus in the Wireless Sensor Network

^{1}Department of Mechanical and Electrical Engineering, Soochow University, Suzhou 215006, China^{2}School of Computer Science and Technology, Soochow University, Suzhou 215006, China^{3}College of Electronic and Information Engineering, Suzhou University of Science and Technology, Suzhou 215009, China

Received 7 June 2013; Accepted 15 August 2013

Academic Editor: Yong Sun

Copyright © 2013 Xinhao Yang et al. This is an open access article distributed under the Creative Commons Attribution License, which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.

#### Abstract

The congestion control algorithm based on the weighted directed graph is designed for the network congestion over the wireless sensor network. The congestion problem is modeled as a distributed dynamic system with time-varying delay, and it can be proven that the sent rate for all nodes converges to the available bandwidth of the sink by the proposed congestion control algorithm. Via Lyapunov function, the validity of the proposed algorithm is shown under the varying network topologies. Ns simulation results indicate that the proposed algorithm restrains the congestion over the wireless sensor network, maintains a high throughput and a low delay time, and also improves the quality of service for the whole network.

#### 1. Introduction

Over the last decades, there have been widely researches in the area of the wireless sensor networks (WSNs) [1]. WSNs are being deployed for several mission-critical tasks, such as habitat monitoring [2], structural health monitoring [3, 4], image sensing [5], and physical game [6]. Typically, a sensor network may contain thousands of nodes, which are cheap, and small size sensors; otherwise, in many applications, the sensor nodes will be deployed in the remote area, such as the high mountain area, and the satellite in the outer space, in which case recharging is not feasible. Thus, the main focus for WSNs is on the low energy use within the autonomous, cooperative nodes which may be constrained in terms of a small memory and a low computing capability.

A wireless sensor network consists of the distributed autonomous sensors to monitor physical or environmental conditions, such as temperature, sound, vibration, pressure, motion, or pollutants. The physical parameters and the information of the interactions, in conjunction with the variable wireless network conditions, may result in unpredictable behavior in terms of the traffic load variations and the link capacity fluctuations [7]. The network condition is worsened by link bit errors [8], medium contention [9], or potential handoff operations in wireless networks. These hostile factors are likely to occur in WSN environments, thus increasing the possibility of congestion. In data networking and queuing theory, network congestion occurs when a link or node is carrying so much data that its quality of service deteriorates. In the context of WSNs, data is passed using multihop routes between sensors until they reached the sink, so the convergent (many-to-one) nature of WSN, especially in single-sink WSNs, increases the susceptibility to congestion. When a network is congested, it has settled into a stable state where the traffic demand is high, but little useful throughput is available. The high levels of the time delay and packet loss caused by congestion may deteriorate the quality of service (QoS). Especially, packet loss may activate the time-out retransmission scheme of TCP, and the retransmitted packet may worsen the congestion and even cause more retransmission request. The vicious circle may consume more energy in the retransmitted packet repeatedly and ineffectively. Consequently, congestion in WSN causes radical decrease in the delivery ratio and an increase in per-packet energy consumption.

The resource limited and unpredictable characteristics of WSNs necessitate decentralized, robust, self-adaptive, and scalable mechanisms [7]. The novel congestion control for WSNs should be simple to implement at an individual node level with minimal energy usage. Queue-based congestion control schemes and rate-based ones are the most popular congestion control schemes to solve the congestion problem. The drawback [10] of the queue-based schemes is that a backlog is inherently necessitated; on the other hand, the rate-based schemes [11] can provide early feedback for congestion. So the rate-based scheme is chosen in this paper to solve the congestion problem for WSNs. As the wireless nodes can self-organize into a wireless sensor network, in this architecture, the wireless sensor network is considered as a distributed dynamic system. Natural designs have inherent powerful characteristics and are often more effective and simpler than man-made designs [12]. And the consensus analysis of the complex network theory, such as fish swarming and bird flocking, is used in our paper. With the help of the graph theory, a congestion control algorithm based on consensus analysis (CC-CA) is proposed in this paper, considering the sink as a leader. Ns simulation results indicate that our CC-CA could restrain the congestion over wireless sensor network and maintain a high throughput and a low delay time. It can also improve the QoS for the whole network. As can be seen from the conclusion, CC-CA designed for WSN is superior from throughput, drop ratio, and average delay time of the conventional congestion control.

The rest of the paper is structured as follows: Section 2 presents the previous works on congestion control for WSNs. Section 3 presents the congestion model based on the graph theory for WSN. In Section 4, the theoretical results for congestion control algorithm based on a leader are provided. Section 5 contains a performance evaluation of the proposed scheme and a comparison with TCP protocol. The conclusion of this paper is presented in Section 6.

#### 2. Related Works

The conventional congestion control algorithms are almost end-to-end schemes [14], which follow the TCP’s end-to-end mechanism. A centralized congestion control (CC) approach cannot be generally applied since it provokes several serious drawbacks [15]. Firstly, such approach leads to excessive communication load in the network which rapidly depletes the batteries [1]. Secondly, the time-varying nature of the radio channel and the asymmetry in communication links make it harder for even regulated traffic to reach the sink [16]. Thirdly, hop-to-hop schemes [17, 18] could result in a better performance and a faster reaction than the end-to-end mechanisms. Finally, WSNs permit simple processing and a decision making by individual nodes [19] rather than a centralized approach.

Early studies in the area of the sensor networks were mostly focused on fundamental networking problems, for example, topology [20], routing [21], and energy efficiency [22], largely ignoring network performance assurances.

As the queue length in buffer suggested the current network condition, fusion [23] is a congestion mitigation technique that uses queue lengths to detect the congestion. Three different techniques have been adopted to alleviate the congestion in fusion, which included hop-by-hop flow control, rate limiting, and a prioritized MAC. IFRC [24] is a distributed rate allocation scheme that uses queue sizes to detect the congestion and further shares the congestion state through overhearing.

Rate-based congestion control may react more rapidly than queue-based scheme, so a large number of congestion control based on data rate emerges in WSNs. The bandwidth for the sensor node in ARC [25] is split proportionally between route-through and locally generated traffic, by estimating the number of upstream nodes. Congestion control and fairness for many-to-one routing in sensor networks [13] is another rate assignment scheme that uses a different congestion detection mechanism from IFRC.

QoS technique is also widely used in congestion control of the wireless sensor networks. In [26] a dual-path QoS routing protocol is designed to increase the network lifetime and reduce packet delay. MQOSR [27] is another QoS-enabled multipath routing protocol, assuming that the base stations are typically many orders of magnitude more powerful than sensor nodes. Global positioning systemss (GPS) [28, 29], which is providing the location information, is used to discover the congestion regions, while GPS receivers are expensive and not suitable in the construction of the small cheap sensor nodes.

#### 3. Congestion Model Description

The self-organization and multihop characteristic of the WSNs indicate that the wireless sensor network is modeled as a distributed dynamic system based on the directed graph theory. The sink is considered as a “leader” node, in which the mass of information is gathered and computed. We consider that is a weighted directed graph with nodes, where denotes the set of vertices , denotes the set of edges of the graph , and for is a weighted adjacency matrix.

This paper considers that the vertex indexed by 0 is assigned as the “leader,” which is the sink in WSN. The other vertices of the graph indexed by are referred to as “follower agents,” which are the autonomous sensor nodes in WSN. When there is data transmission between and , then we consider that there is a path between the two nodes; otherwise . Define the weight matrix for the graph as follows: where is denoted as the data bulk sent to node , then the differential of denotes the data sent rate. If there is no data communication between node and others, . with is referred to an algebraic graph, and then we can say that the algebraic graph denotes the WMN’s topology.

To study a leader-following problem, the connection weight between nodes and the leader, denoted by , is shown as follows. The sink, as the last hop in the monitor area of WSN, is assigned with the largest weight:

In WSN, the sensor may begin to transmit packet suddenly or perform the backoff algorithm due to mutual interference. Namely, for the weighted directed graph under consideration, the relationships between neighbors (and the interconnection topology) change over time. Define as a set of the graphs with all possible topologies, which includes all possible interconnection graphs (involving nodes and a leader), and denote by its index set. To describe the variable interconnection topology, we define a switching signal , which is piecewise constant. Therefore, the connection weights and are time varying, and, moreover, Laplacian associated with the switching interconnection graph is also time varying (switched at , ).

*Remark 1. *The topology of WSN is time varying. And this topology is considered unchanged in any interval , which is reasonable for the wireless sensor network in this paper. As the network condition is not very bad, the topology of the event-driven network should remain unchanged during a data packet transmitting from one router to another. In other words, if the interval approximates the propagation delay in the network, the topology will remain unchanged.

#### 4. Congestion Control Based on the Consensus Analysis

It is indicated in [30] that, when the offered load exceeds the available capacity in the link, the packet will accumulate in the router buffer, which will induce the congestion. The congestion can be avoided, if the data bulk exchange of all nodes for one task converges to the same equilibrium point in the network. Then the congestion control problem can be attributed to the consensus problem of the complex network. Furthermore, in our simulation, all the nodes are considered the same as each other, and they split the bandwidth fairly.

Here, the entire considered data rate accelerates in a rule: where is the set of neighbors of node , which is denoted by and the time-varying delay is a stochastic function with upper bound , which can be determined by the retransmission timeout in TCP.

Formula (3) can be written in a matrix form during the interval : where is Laplacian of , is the leader adjacency matrix whose th diagonal element is , and .

Lemma 2. *Let G be a graph on vertices with Laplacian Denote the eigenvalues of by ; then , and is its eigenvector.*

Denote , and . Noting that system (4) can be rewritten as where

Before the discussion of the consensus problem, we introduce Lemma 3 for time-delay system (6). Consider the following system:

Lemma 3 (Lyapunov-Razumikhin theorem). *Let , , and be continuous, nonnegative, and nondecreasing functions with , , and for , and and . For system (8), suppose that the function takes bounded sets of in bounded sets of . If there is a continuous function such that
**
In addition, there exists a continuous nondecreasing function , , such that
**
then the solution is uniformly asymptotically stable.*

Lemma 4. *The matrix is positively stable if and only if node 0 is globally reachable in .*

The proof of Lemma 4 can be looked up in [32].

Theorem 5. *For system (6), take
**
where , is the smallest eigenvalue of , and is a positive definite matrix. Then, when delay upper bound is sufficiently small,
**
if node 0 is globally reachable in .*

*Proof. *Since node 0 is globally reachable in , from Lyapunov theorem, there exists a positive definite matrix satisfying

Take a Lyapunov-Razumikhin function , where
is positive definite.

By Leibniz-Newton formula,
From , the delayed differential equation (6) can be rewritten as
where . As holds for any appropriate positive definite matrix , we have
Take for . In the case of
we have
If satisfies (11), according to Lemma 4 and Schur complements theorem. Let denote the minimum eigenvalue of . If we take
then for some . Therefore, the conclusion follows from Lemma 3.

*Remark 6. *There are two limiting conditions in Theorem 5. Firstly, the delay upper bound is sufficiently small. The timeout time in the retransmission timeout is small enough with initial value 3 s. Secondly, node 0 is globally reachable in . The leader (node 0) is the sink of WSN, through which all the information collected by the sensors is transmitted. So the sink is globally reachable in WSN topology.

Theorem 5 proves that the CC-CA guarantees the convergence of the system error; in other words, the data sent rates for all nodes converge equally to the sink’s. The proposed algorithm maintains an equilibrium state for the whole WSN, avoiding congestion. Figure 1 shows the program flow chart of the CC-CA.

#### 5. Simulation

This section studies the performance of the proposed CC-CA under a general wireless sensor network configuration. The simulation environment models a sensor network with 200 nodes deployed randomly over an area of 300 × 300 m. The coordinate of the sink is (144, 168). Simulations are conduced using ns-2 network simulator, and the simulation time is 300 sec.

*Test 1.* In order to verify the validity of the proposed algorithm in variable condition, the number of the data source is set to 2, 5, 8, and 10, respectively. The throughput and the drop ratio are shown in Table 1 for the different connection numbers. The suitable rate for the sink is assigned to all the other sensors, reducing the packet cumulate in the sensor buffer. As discussed in Section 1, the energy usage is the key factor in WSN. The lost parameter is used to measure the energy efficiency of the whole network, which is defined in [33]. The lost parameter at distinct rate is shown in Table 2.

*Test 2.* Test 2 studies the performance of CC-CA by the channel error. The Gilbert model [34] is used to structure the packet loss ratio (PLR) in wireless link. The PLRs involved in Test 2 are provided in Table 3, where means the probability from “good” state (0% PLR) to “bad” state (100% PLR); is the probability from “bad” state to “good” one. The throughput and the average delay with different PLRs are shown in Figures 2 and 3, respectively. The performance of CC-CA is tested in varying degrees of congestion by changing the number of the data sources. In our test, most of the packet drop is caused by the link error; by contrast to the traditional wired network, most of the packet losses (sometimes represented as duplicate acknowledgements) are suggested as network congestion notifications, and the end host reduces the transmit rate.

Simulation results indicate that our CC-CA is able to utilize the network resources more efficiently with low drop ratio and low delay time.

#### 6. Conclusion

The congestion problem is unavoidable because of the many-to-one characteristic in the wireless sensor network, which causes the channel quality deterioration and the loss ratio rise. It leads to packets drops at the buffers, increased delays, wasted energy and requires retransmissions. Based on the consensus problem of the complex network, a novel congestion control algorithm (CC-CA) is introduced in this paper, which provides a better performance. At the same time, only the single-sink topology is discussed in the paper, so the multisink sensor network is the further research. On the other hand, all nodes are considered to be sharing the link capacity fairly in the simulation, so an efficient bandwidth allocation protocol is needed which will improve our algorithm.

#### Acknowledgments

The authors are indebted to the National Natural Science Foundation of China (61070169, 61203048, and 61201212), the Natural Science Foundation of Jiangsu Province of China (BK2011376), the Application Foundation Research of Suzhou of China (SYG201118, SYG201239), and Specialized Research Foundation for the Doctoral Program of Higher Education of China (no. 20103201110018) for financial support.

#### References

- I. F. Akyildiz, W. Su, Y. Sankarasubramaniam, and E. Cayirci, “Wireless sensor networks: a survey,”
*Computer Networks*, vol. 38, no. 4, pp. 393–422, 2002. View at Publisher · View at Google Scholar · View at Scopus - R. Szewczyk, A. Mainwaring, J. Polastre, J. Anderson, and D. Culler, “An analysis of a large scale habitat monitoring application,” in
*Proceedings of the 2nd International Conference on Embedded Networked Sensor Systems (SenSys '04)*, pp. 214–226, November 2004. View at Scopus - K. Mechitov, W. Y. Kim, G. Agha, and T. Nagayama, “High-frequency distributed sensing for structure monitoring,” in
*Proceedings of the 1st International Workshop on Networked Sensing Systems (INSS '04)*, 2004. - J. Paek, K. Chintalapudi, R. Govindan, J. Caffrey, and S. Masri, “A wireless sensor network for structural health monitoring: performance and experience,” in
*Proceedings of the 2nd IEEE Workshop on Embedded Networked Sensors (EmNetS '05)*, pp. 1–10, May 2005. View at Publisher · View at Google Scholar · View at Scopus - M. Rahimi, D. Estrin, R. Baer, H. Uyeno, and J. Warrior, “Cyclops, image sensing and interpretation in wireless networks,” in
*Proceedings of the 2nd International Conference on Embedded Networked Sensor Systems (SenSys '04)*, p. 311, November 2004. View at Publisher · View at Google Scholar · View at Scopus - W. H. Tan, W. J. Li, Y. Z. Zheng, and X. C. Zhou, “ePet: a physical game based on wireless sensor nerworks,”
*International Journal of Distributed Sensor Networks*, vol. 5, no. 1, p. 68, 2009. View at Google Scholar - P. Antoniou, A. Pitsillides, T. Blackwell, A. Engelbrecht, and L. Michael, “Congestion control in wireless sensor networks based on bird flockong behavior,”
*Computer Networks*, vol. 57, pp. 1167–1191, 2013. View at Google Scholar - C.-H. Lim and J.-W. Jang, “Robust end-to-end loss differentiation scheme for transport control protocol over wired/wireless networks,”
*IET Communications*, vol. 2, no. 2, pp. 284–291, 2008. View at Publisher · View at Google Scholar · View at Scopus - Z. Fu, P. Zerfos, H. Luo, S. Lu, L. Zhang, and M. Gerla, “The impact of multihop wireless channel on TCP throughput and loss,” in
*Proceedings of the 22nd Annual Joint Conference on the IEEE Computer and Communications Societies (INFOCOM '03)*, pp. 1744–1753, San Francisco, Calif, USA, April 2003. View at Scopus - T. Nakashima, “Properties of the correlation between queue length and congestion window size under self-similar traffics,”
*International Journal of Innovative Computing, Information and Control*, vol. 5, no. 11, pp. 4373–4381, 2009. View at Google Scholar · View at Scopus - S. S. Kunniyur and R. Srikant, “An Adaptive Virtual Queue (AVQ) algorithm for Active Queue Management,”
*IEEE/ACM Transactions on Networking*, vol. 12, no. 2, pp. 286–299, 2004. View at Publisher · View at Google Scholar · View at Scopus - E. Bonabeau, M. Dorigo, and G. Theraulaz,
*Swarm Intelligence*, From Natural to Artificial Systems, Oxford, UK, 1999. - C. T. Ee and R. Bajcsy, “Congestion control and fairness for many-to-one routing in sensor networks,” in
*Proceedings of the 2nd International Conference on Embedded Networked Sensor Systems (SenSys '04)*, pp. 148–161, November 2004. View at Scopus - A. Moarefianpour and V. J. Majd, “Input-to-state stability in congestion control problem of computer networks with nonlinear links,”
*International Journal of Innovative Computing, Information and Control*, vol. 5, no. 8, pp. 2091–2105, 2009. View at Google Scholar · View at Scopus - H. Karl and A. Willig,
*Protocols and Architectures for Wireless Sensor Networks*, John Wiley & Sons, 2005. - S. Brahma, M. Chatterjee, K. Kwiat, and P. K. Varshney, “Traffic management in wireless sensor networks: decoupling congestion control and fairness,”
*Computer Communications*, vol. 35, no. 6, pp. 670–681, 2012. View at Publisher · View at Google Scholar · View at Scopus - S. Sarkar and L. Tassiulas, “Back pressure based multicast scheduling for fair bandwidth allocation,”
*IEEE Transactions on Neural Networks*, vol. 16, no. 5, pp. 1279–1290, 2005. View at Publisher · View at Google Scholar · View at Scopus - Y. Yi and S. Shakkottai, “Hop-by-hop congestion control over a wireless multi-hop network,”
*IEEE/ACM Transactions on Networking*, vol. 15, no. 1, pp. 133–144, 2007. View at Publisher · View at Google Scholar · View at Scopus - T. E. Daniel, R. M. Newman, E. I. Gaura, and S. N. Mount, “Complex query processing in wireless sensor networks,” in
*Proceedings of the 2nd ACM Workshop on Performance Monitoring and Measurement of Heterogeneous Wireless and Wired Networks (PMHWN ’07)*, pp. 53–60, Chania, Greece, 2007. - S. Jardosh and P. Ranjan, “A survey: topology control for wireless sensor networks,” in
*Proceedings of the International Conference on Signal Processing Communications and Networking (ICSCN '08)*, pp. 422–427, January 2008. View at Publisher · View at Google Scholar · View at Scopus - J. N. Al-Karaki and A. E. Kamal, “Routing techniques in wireless sensor networks: a survey,”
*IEEE Wireless Communications*, vol. 11, no. 6, pp. 6–27, 2004. View at Publisher · View at Google Scholar · View at Scopus - G. Anastasi, M. Conti, M. Di Francesco, and A. Passarella, “Energy conservation in wireless sensor networks: a survey,”
*Ad Hoc Networks*, vol. 7, no. 3, pp. 537–568, 2009. View at Publisher · View at Google Scholar · View at Scopus - B. Hull, K. Jamieson, and H. Balakrishnan, “Mitigating congestion in wireless sensor networks,” in
*Proceedings of the 2nd International Conference on Embedded Networked Sensor Systems (SenSys '04)*, pp. 134–147, November 2004. View at Scopus - S. Rangwala, R. Gummadi, R. Govindan, and K. Psounis, “Interference-aware fair rate control in wireless sensor networks,” in
*Proceedings of the ACM SIGCOMM Symposium on Network Architecture and Protocols*, 2006. - A. Woo and D. E. Culler, “A transmission control scheme for media access in sensor networks,” in
*Proceedings of the 7th Annual International Conference on Mobile Computing and Networking*, pp. 221–235, July 2001. View at Scopus - A. Mahapatra, K. Anand, and D. P. Agrawal, “QoS and energy aware routing for real-time traffic in wireless sensor networks,”
*Computer Communications*, vol. 29, no. 4, pp. 437–445, 2006. View at Publisher · View at Google Scholar · View at Scopus - Y. Chen, N. Nasser, T. El Salti, and H. Zhang, “A multipath QoS routing protocol in wireless sensor networks,”
*International Journal of Sensor Networks*, vol. 7, no. 4, pp. 207–216, 2010. View at Publisher · View at Google Scholar · View at Scopus - L. Popa, C. Raiciu, I. Stoica, and D. S. Rosenblum, “Reducing congestion effects in wireless networks by multipath routing,” in
*Proceedings of the 14th IEEE International Conference on Network Protocols (ICNP '06)*, pp. 96–105, November 2006. View at Publisher · View at Google Scholar · View at Scopus - R. Kumar, H. Rowaihy, G. Cao, F. Anjum, A. Yener, and T. L. Porta, “Congestion aware routing in sensor networks,” Tech. Rep. 0036, Department of Computer Science and Engineering, Pennsylvania State University, 2006. View at Google Scholar
- S. Li, X. Liao, P. Zhu, and N. Xiao, “Congestion avoidance, detection and mitigation in wireless sensor networks,”
*Journal of Computer Research and Development*, vol. 44, no. 8, pp. 1347–1356, 2007. View at Google Scholar · View at Scopus - Z. Lin, B. Francis, and M. Maggiore, “Necessary and sufficient graphical conditions for formation control of unicycles,”
*IEEE Transactions on Automatic Control*, vol. 50, no. 1, pp. 121–127, 2005. View at Publisher · View at Google Scholar · View at Scopus - J. Hu and Y. Hong, “Leader-following coordination of multi-agent systems with coupling time delays,”
*Physica A*, vol. 374, no. 2, pp. 853–863, 2007. View at Publisher · View at Google Scholar · View at Scopus - O. Ying, L. Chuang, R. Fengyuan, Y. Hongkun, H. Xiaomeng, and L. Ting, “Design and analysis of a backpressure congestion control algorithm in wireless sensor network,” in
*Proceedings of the 18th International Conference on Parallel and Distributed Computing, Applications and Technologies (PDCAT '07)*, pp. 413–420, December 2007. View at Publisher · View at Google Scholar · View at Scopus - C. Prawit, “An example of wireless error simulation,” http://blog.chinaunix.net/u2/76263/showart_1768145.html.