The Scientific World Journal

Volume 2014, Article ID 580854, 8 pages

http://dx.doi.org/10.1155/2014/580854

## Distributed Optimal Power and Rate Control in Wireless Sensor Networks

^{1}School of Mathematics and Statistics, Ludong University, Yantai 264025, China^{2}Department of Automation and Electrical Engineering, Lanzhou Jiaotong University, Lanzhou 730070, China^{3}School of Information Engineering, Nanchang University, Nanchang 330031, China

Received 23 January 2014; Accepted 20 February 2014; Published 8 May 2014

Academic Editors: N. Barsoum, P. Vasant, and G.-W. Weber

Copyright © 2014 Meiqin Tang 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

With the rapid development of wireless sensor networks, reducing energy consumption is becoming one of the important factors to extend node lifetime, and it is necessary to adjust the launching power of each node because of the limited energy available to the sensor nodes in the networks. This paper proposes a power and rate control model based on the network utility maximization (NUM) framework, where a weighting factor is used to reflect the influence degree of the sending power and transmission rate to the utility function. In real networks, nodes interfere with each other in the procedure of transmitting signal, which may lead to signal transmission failure and may negatively have impacts on networks throughput. Using dual decomposition techniques, the NUM problem is decomposed into two distributed subproblems, and then the conjugate gradient method is applied to solve the optimization problem with the calculation of the Hessian matrix and its inverse in order to guarantee fast convergence of the algorithm. The convergence proof is also provided in this paper. Numerical examples show that the proposed solution achieves significant throughput compared with exiting approaches.

#### 1. Introduction

In recent years, with the consistent development of wireless sensor networks, they have been extensively applied in environmental monitoring, volcano monitoring, forest fire prevention, military facilities, and other fields [1]. A wireless sensor network is composed of a large number of microsensors which are capable of sensing, data processing, and transmission. It transmits signals through the self-organization form of networks and the cooperation among nodes. The energy of sensor nodes is very limited, and generally the battery of nodes is not non-renewable or its’ updating is costlywhich results in an energy-constrained problem. Data transmission consumes most energy of sensor nodes. Therefore, how to control transmission power has become a key problem in the research of wireless sensor networks for low-energy consumption in data transmission under the premise of quality of services.

In wireless sensor networks, power control is to continuously adjust the transmission power of network nodes through a reasonable design. It can ensure the network connectivity and reduce the mutual interference among nodes to extend the lifetime of the whole sensor network. We consider the power and rate control problem based on the network utility framework, which has been introduced in wired [2, 3] and wireless networks [4–11] since the publication of the seminal paper [2] by Kelly et al. in 1998. In the past few years, a great deal of research effort has been made on the energy conservation in wireless sensor networks. One important perspective is to maximize the network lifetime [4, 5] while guaranteeing the required traffic rate. However, since sensor nodes are assumed to have fixed source rates, it is likely that the network cannot sustain the rate for the given system resource constraints. To this end, rate allocation in wireless sensor networks has been studied in recent years [6, 7]. In [6], the use of lexicographical max-min rate allocation was advocated for the nodes and a polynomial-time algorithm was developed for exploiting the parametric analysis technique from linear programming. The rate maximization problem in [7] was formulated as a concave utility maximization and a subgradient algorithm was proposed to solve it distributively. Game theory was applied to the power control problem based on the network utility maximization (NUM) framework in wireless sensor networks [8, 9]; the appropriate transmission power was selected to improve the network topology, reduce the collisions, increase good-put, and confirm the network connectivity. In [10], two algorithms were presented to compute the transmission power of each node with the objectives of minimizing the total transmission power and the total interference, respectively. But the time-varying wireless environment was not considered in the paper. The energy-constrained nature of nodes limits the operational lifetime of the network since energy is dissipated in both sensing and communicating data across the network. There is an intrinsic tradeoff between network lifetime maximization and rate allocation in wireless sensor networks. In [11], this tradeoff was characterized by considering a cross-layer design problem in a wireless sensor network with orthogonal link transmissions, and then the dual theory was used to solve the optimization problem. A priced-based distributed power and rate control algorithm was proposed in [12]; it can simulate the cooperation of power control and rate adaptation among the nodes. A joint source-channel maximum likelihood (SCML) decoding framework is proposed in wireless sensor networks (WSNs) [13], and prediction likelihood tree (PLT) approach is applied to exploit the spatiotemporal narrowband properties of the sensor data for sequence detection.

Considering the time-varying rate constraint, this paper presents a power and control algorithm based on the NUM framework which is similar to the algorithm proposed in [11, 12]. We adopt the probability to the constraint, which is more suitable for the varying wireless environment. The target function is decomposed into two optimization subproblems using dual decomposition methods to reduce the complexity of the solution for the large-scale network. We solve the optimization problem using the conjugate gradient method without the calculation of the Hessian matrix and its inverse. This can guarantee fast convergence of the algorithm.

The rest of the paper is organized as follows. The system model is described in Section 2. The proposed algorithm is formulated in Section 3. We give the convergence of the proposed algorithm in Section 3, numerical results are provided in Section 4, and Section 5 concludes.

#### 2. Formulation of Power Optimization

##### 2.1. System Description

Considering a wireless sensor network that consists of a set of sensor nodes and a set of wireless communication links, we assume that the link exists only when the nodes communicate directly. The transmission rate of node is defined as , where and is satisfied. Let denote the transmission power of node with , where is the maximum power. In the production and design of wireless sensor nodes, the survival time is generally designed to be not less than a constant value . Assuming that most of the energy is consumed in the process of signal transmission and the other part of the energy loss is ignored, the energy of wireless sensor network nodes is stored as a constant value , and then is given by

Assume there exists a link () which is connected with the other and can be modeled as a an additive white Gaussian noise (AWGN) channel with a noise spectral density . The channel capacity of link can be given by Shannons theory [14]: where is the fixed bandwidth, the transmission distance between the transmitter and receiver on link is , is a constant that depends on the transmission frequency, and is the path-loss exponent, and therefore we have the following restriction condition:

Since the node may produce mutual influence and interference when transmitting the signal, the transmission of signals between adjacent nodes is not always successful. is assumed to be the probability of the successful signal transmission between adjacent nodes. We can give the following improved constraint condition:

Now we describe the calculating procedure of probability . The number of the nodes in link which may compete with the node is . In the case of competition, node is to measure how much probability of denotes the transmit success probability of node . Given that the success transmitting gain is , which is related to the utilization ratio of energy for the node, the failure transmitting gain is and the gain that the node does not transmit is . Obviously, we can get since the utilization ratio of energy for the node is low when the node transmission fails, while the ratio is high when the node transmission succeeds. Consequently, the transmit success probability of node is , the transmission failure probability of node is , and the transmission signal gain of node can be given by

When the node does not transmit the signal, the signal gain is

Each node can choose to transmit the signal or not. There are two cases for transmission: success and failure. If one of the nodes successfully transmits the signal, the other nodes are all in transmission failure state or no transmission state. In order to prolong the lifetime of the whole system, the gain of the nodes needs to be balanced. Suppose , and we get

We can find that the success transmission probability is related not only to the node number but also to the gain of the transmission success, transmission failure, and no transmission. The gains are always defined as where and are constants. Submitting (8) into (7), we can get

The utility function based on the NUM framework denotes the satisfaction degree of the user, which is continuously differentiable while increasing. Taking into account the transmission rate and transmission power, the total utility function based on the network utility function is defined as where is the weight which can reflect the influence degree of the utility function to the transmission power and rate, and it satisfies .

We can observe that a given encoding distortion can be guaranteed by controlling both the source rate and the encoding power. When simply adjusting the source rate or the encoding power to a very low or very high level, the encoding distortion will inevitably become large while the total power consumed at the sensor node will increase fast. In this paper, we consider the power and rate control problem with the power and rate constraints. The optimization problem for resource control is formulated as

##### 2.2. Dual Decomposition of the Proposed Algorithm

Two Lagrange multipliers and are introduced to the Lagrangian dual function of the primal problem (11), and the corresponding Lagrangian dual function can be expressed as

The dual problem is then given by

We can get the dual function as follows:

The dual function can be decomposed into two subproblems, which are evaluated separately for the nodes, and then the dual function can be rewritten as

The subproblem of optimization with as the variable is

The subproblem of optimization with as the variable is

According to the dual theory, we can get the following equation for the rate suboptimization problem from (16):

And the power suboptimization problem as described in (17) can be rewritten as where and are twice continuously differentiable. We used the conjugate gradient method mentioned before to calculate, which has many advantages. It only needs to seek the function of the first order derivative, which not only alleviates the slow convergence characteristic of the steepest descent method, but also avoids the storage and computation of Hessian matrix and its inverse features in Newton’s method. Besides, the program compilation is relatively simple and the computational complexity is relatively small. It is the most effective solution of a large number of linear equations and nonlinear unconstrained optimization problems.

For (16), we obtain the guiding function through the derivation of , :

For (17), we get the guiding function through the derivation of , :

According to (20) and (21), the step iterative algorithm of is

According to (22), the step iterative algorithm of is where and are the step length.

The principle and the procedure of power and rate optimal algorithm are similar, which are all optimized based on the conjugate gradient method. And we used decomposition theory to decompose the two algorithms into one separately and they are connected by the Lagrange multipliers to be combined to one problem to assure the total utility is to be maximized. The steps of the optimization algorithm based on the conjugate gradient method for are as follows.

*Step 1. *Given an initial value of , , and , where the error , calculate as follows:
and then set

*Step 2. *If
is satisfied, stop the calculation; otherwise, go to Step 3.

*Step 3. *Calculate step length factor through the linear search method, where satisfies the strong Wolfe linear search criteria:
Assume

*Step 4. *Calculate

*Step 5. *Consider
then, go to Step 2.

In the algorithm, we must guarantee the direction is decreased, which requires

So we use the strong Wolfe linear search criteria to calculate the step length factor , and the direction of is definitely the descent direction.

The steps of the optimization algorithm based on the conjugate gradient method for are similar to .

*Step 1. *Given an initial value of , , and , where the error , calculate :
and then set

*Step 2. *If
is satisfied, stop the calculation; otherwise, go to Step 3.

*Step 3. *Calculate the step length factor through the linear search method, where satisfies the strong Wolfe linear search criteria:
Assume

*Step 4. *Calculate

*Step 5. *Consider
and then go to Step 2.

In the algorithm, we must guarantee the direction is decreased, which requires

#### 3. Convergence Analyses

For the general function, the conjugate gradient method under certain conditions is convergent, and the convergence speed is generally superior to that of the steepest descent method. The ’s convergence will be proved as follows. It is similar to .

Proposition 1. *Assume that is in the bounded set
**
which is continuously differentiable and has a lower bound; then, the sequence obtained by the conjugate gradient method converges to , which is the stagnation point of .*

*Proof. *Given that is a finite sequence of number, according to the algorithms termination conditions, the last must meet
so is the stagnation point of .

If is an infinite series, then for all ,
Since
we get
where is the decline direction. Since is the lower bound of the sequence and is monotonically decreasing,

The convergence analysis of is similar to .

#### 4. Numerical Example

We simulate a network which consists of nine sensor nodes and one sink node. The sensor nodes will transmit their sensing data to the sink node, and all the nodes are randomly deployed in an area of 100 m × 100 m. The utility function is set to be in the form; for example, is set to be and . The fixed bandwidth is set to 5 MHz and the maximum of is set to be 1 mW for all links. The path-loss exponent is set to 2. We will show the network performance with different values.

First, we show the convergence figures for the optimal rates and power. The maximum iteration of the algorithm is set to be 200. Figures 1 and 2 show the optimal video rates for sensor nodes when is set to 0.05 and 0.95, respectively, from which we can find that the proposed algorithm can converge within 20 iteration steps. We also find the located rates of some nodes are large, while the others are small. This is because these nodes transmit the data to the sink node directly, which will not relay the data and will transmit the data more efficiently. In wireless sensor networks, the available energy is limited, and Figures 3 and 4 show the consumed video power of the nodes, from which we can also indicate the proposed algorithm can get to the optimum efficiently and quickly. From these four figures, we can find that the proposed algorithm can get higher throughput and uses less energy.

In Figure 5, we find that when we set to 0.95, the utility is large, but the value of lifetime is small; when the is set to 0.05, the value of lifetime is large, while the network utility is small. For this reason, we can find that there is apparently a tradeoff between network utility and network lifetime in energy-limited wireless networks. Different values can be set according to actual need.

In order to verify the performance of the proposed algorithm, we compared it with previous works in [11, 12], and the network setup is the same. Tables 1 and 2 give the data rate comparison with different values. From these two tables we can find that the proposed algorithm can get higher utility than the algorithm in [12] and minUtility [11] and less power consumption than the algorithm in [12] and MaxUtility [11], because minUtility only seeks minimum energy consumption and while MaxUtility only seeks the maximum utility. Through adding the probability for the rate constraint, our algorithm can get higher data rate.

Tables 3 and 4 show the power of the different algorithms, for which we can see that the proposed algorithm get less power consumption than the algorithm proposed in [12] and MaxUtility [11], which shows the proposed algorithm is very efficiently.

#### 5. Conclusion

This paper proposes a new power control method based on network utility maximization framework for wireless sensor networks, and a trade-off parameter for the utility and lifetime is introduced to the system. Considering the time varying environment, the probability is added to the rate constraint, which is natural in the context of various applications. Moreover, we put forward a new priced-based distributed algorithm using a gradient method. The algorithm is designed to keep acceptable throughput. Simulation studies show that the proposed algorithms are effective to solve the optimization problem and outperform the existing approaches in terms of throughput and energy efficiency since desired variables converge to the optimal point very quickly.

#### Conflict of Interests

The authors declare that there is no conflict of interests regarding the publication of this paper.

#### Acknowledgment

This work was supported by the National Science Foundation of China Grants 61174097.

#### 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 - F. P. Kelly, A. K. Maulloo, and D. K. H. Tan, “Rate control for communication networks: shadow prices, proportional fairness and stability,”
*Journal of the Operational Research Society*, vol. 49, no. 3, pp. 237–252, 1998. View at Google Scholar · View at Scopus - S. H. Low and D. E. Lapsley, “Optimization flow control—I: basic algorithm and convergence,”
*IEEE/ACM Transactions on Networking*, vol. 7, no. 6, pp. 861–874, 1999. View at Publisher · View at Google Scholar · View at Scopus - V. Srinivasan, C.-F. Chiasserini, P. S. Nuggehalli, and R. R. Rao, “Optimal rate allocation for energy-efficient multipath routing in wireless ad hoc networks,”
*IEEE Transactions on Wireless Communications*, vol. 3, no. 3, pp. 891–899, 2004. View at Publisher · View at Google Scholar · View at Scopus - R. Madan and S. Lall, “Distributed algorithms for maximum lifetime routing in wireless sensor networks,”
*IEEE Transactions on Wireless Communications*, vol. 5, no. 8, pp. 2185–2193, 2006. View at Publisher · View at Google Scholar · View at Scopus - Y. T. Hou, Y. Shi, and H. D. Sherali, “Rate allocation in wireless sensor networks with network lifetime requirement,” in
*Proceedings of the 5th ACM International Symposium on Mobile Ad Hoc Networking and Computing (MoBiHoc '04)*, pp. 67–77, May 2004. View at Scopus - K.-L. Hung, B. Bensaou, J. Zhu, and F. Naït-Abdesselam, “Energy-aware fair routing in wireless sensor networks with maximum data collection,” in
*Proceedings of the IEEE International Conference on Communications (ICC '06)*, pp. 3438–3443, July 2006. View at Publisher · View at Google Scholar · View at Scopus - S. Sengupta, M. Chatterjee, and K. A. Kwiat, “A game theoretic framework for power control in wireless sensor networks,”
*IEEE Transactions on Computers*, vol. 59, no. 2, pp. 231–242, 2010. View at Publisher · View at Google Scholar · View at Scopus - G. Yang and G. Zhang, “A power control algorithm based on non-cooperative game for wireless sensor networks,” in
*Proceedings of the International Conference on Electronic and Mechanical Engineering and Information Technology (EMEIT '11)*, pp. 687–690, August 2011. View at Publisher · View at Google Scholar · View at Scopus - M. X. Cheng, X. Gong, L. Cai, and X. Jia, “Cross-layer throughput optimization with power control in sensor networks,”
*IEEE Transactions on Vehicular Technology*, vol. 60, no. 7, pp. 3300–3308, 2011. View at Publisher · View at Google Scholar · View at Scopus - H. Nama, M. Chiang, and N. Mandayam, “Optimal utility-lifetime trade-off in self-regulating wireless sensor networks: a distributed approach,” in
*Proceedings of the 40th Annual Conference on Information Sciences and Systems (CISS '06)*, pp. 789–794, March 2006. View at Publisher · View at Google Scholar · View at Scopus - Z. Yang, S. Liao, and W. Cheng, “Joint power control and rate adaptation in wireless sensor networks,”
*Ad Hoc Networks*, vol. 7, no. 2, pp. 401–410, 2009. View at Publisher · View at Google Scholar · View at Scopus - C. Manoj and A. K. Jagannatham, “Optimal prediction likelihood tree based source- channel ML decoder for wireless sensor networks,”
*IEEE Signal Processing Letters*, vol. 21, no. 2, pp. 135–139, 2014. View at Google Scholar - T. M. Cover and J. A. Thomas,
*Elements of Information Theory*, John Wiley & Sons, New York, NY, USA, 1991.