• 沒有找到結果。

Modeling and Optimization of Network Lifetime in Wireless Video Sensor Networks

N/A
N/A
Protected

Academic year: 2022

Share "Modeling and Optimization of Network Lifetime in Wireless Video Sensor Networks"

Copied!
6
0
0

加載中.... (立即查看全文)

全文

(1)

Abstract—This paper studies the power consumption performance and resource allocation optimization in wireless video sensor networks. Network coding based multipath routing, network flow control and video encoding bit rate are jointly optimized, aiming to maximize the network lifetime at a given power budget and video quality requirement. Importantly, to concretely measure the network coding power utilized on error recovery, a generalized power consumption model for network coding is first developed in this paper. Through the Lagrange dual and subgradient approach, a fully decentralized algorithm is proposed to solve the target convex optimization problem.

Numerical results validate the convergence and performance of the proposed algorithm.

Index Terms—wireless video sensor network, network lifetime, power consumption, network coding, convex optimization.

I. INTRODUCTION

In wireless video sensor networks (WVSNs), each sensor, equipped with battery-powered miniature video camera, is capable of capturing, processing visual information, and delivering them to the sink node over wireless channels [1].

Sensors are often assumed to be battery-irreplaceable due to their deployment in remote and unreachable locations.

Therefore, minimizing power consumption to prolong the network lifetime is of paramount importance in WVSNs.

Over the past years, energy conservation mechanisms, aiming at maximizing the lifetime of wireless sensor networks have been extensively studied [2-4]. They mainly focus on minimizing the power consumption on data communication, while often neglect the power consumed in data processing. In WVSN, a video sensor is required to compress raw video of high rate to adapt to wireless transmission. In this case, energy utilized in video coding is significant and can not be neglected anymore.

Further, the relationship between power consumption of video encoding and its rate-distortion (R-D) performance is complicated and paradoxical [1]. How to balance encoding

The work was partially supported by NSFC grants No. 60632040, No.

60736043, No. 60802019, National High Technology Research and Development Program of China (No. 2006AA01Z322) and funds from Shanghai Science and Technology Commission (No. 08220510900).

power, rate and distortion, meanwhile, make a joint optimization with network lifetime have remained vastly unexplored in WVSN.

To guarantee a reliable communication, automatic repeat request (ARQ) and forward error correction (FEC) are two common techniques for error recovery [5]. ARQ adopts feedback and retransmission scheme that is not well-suited for delay-sensitive video applications. The classical FEC scheme is done on a link-by-link basis. It requires each relay node to perform both decoding and encoding [6]. Such power consumption is tremendous and becomes impossible in large-scale WSVNs.

Network coding is proven to enhance failure resilience for both wireline and wireless networks [5]. Specifically, the combination of network coding with multipath routing may exhibit some unique advantages in coping with the unreliability:

(1) It can be performed in a decentralized way, requiring no coordination among nodes; (2) It can be operated ratelessly, i.e.

it can run indefinitely until successful decoding. (3) Flows of linearly independent, instead of same copies traversing multiple paths may reduce the energy wasting as well as the redundancy.

However, the existing research on network coding has concentrated on its applications and codes design. To our knowledge, its power consumption behavior has never been studied in the literature. In this study, we will establish a generalized power consumption model for network coding.

The motivation of this paper is to address the performance optimization of network lifetime and resource allocation for WVSNs. Our main contributions are as follows. First, we develop a generalized power consumption model for the video sensor node, in which video encoding, data transmission and error recovery behavior are completely considered. Second, we propose a joint optimization of video coding rate, aggregate power consumption and link rate allocation to maximize the network lifetime. In the context of error-prone wireless channels, network coding based error recovery scheme are introduced, providing reliable and high efficient transmissions. Last, using Lagrange dual and subgradient approach, we solve the target optimization problem in a fully decentralized manner.

The rest of the paper is organized as follows. Sec. II presents system model. Sec. III formulates the problem of lifetime and

Modeling and Optimization of Network Lifetime in Wireless Video Sensor Networks

Junni Zou1, Chong Tan1, Ruifeng Zhang1,2, Hongkai Xiong3

1School of Communication and Information Engineering, Shanghai University, P.R. China

2Universit´e de Lyon, INRIA, INSA-Lyon, CITI, FRANCE

3 Department of Electronic Engineering, Shanghai Jiao Tong University, P.R. China {zoujn, dudumaotc}@shu.edu.cn, ruifeng.zhang@insa-lyon.fr, xionghongkai@sjtu.edu.cn

978-1-4244-6404-3/10/$26.00 ©2010 IEEE

(2)

rate allocation optimization, and proposes a decentralized algorithm over lossy WVSNs. Numerical results are presented in Sec. IV.

II. SYSTEM MODELING A. Network Model

A static WVSN can be modeled as a directed graph , where is the set of network nodes and is the set of directed links between nodes. The set consists of two disjoint subsets and , representing video sensor nodes and sink nodes respectively. Sensor nodes perform video capture, video encoding and packets routing. Sink nodes are destinations of WVSN. To simplify our discussion, assume that each sensor node only communicates with one designated sink node. All sensor nodes have a maximum transmission range . A directed link exists between node and node if their distance meets . Suppose there exists multiple alternative paths between sensor node and its sink node. Each node is associated with a matrix to reflect the relationship between its path and related links. Let

if path of sensor node uses link , or else .

B. Power-Rate-Distortion Model

According to the analytic power-rate-distortion (P-R-D) model in [1], the relationship of source coding bit rate , coding power consumption , and the corresponding distortion can be described as:

(1) where is the input variance, is a model parameter related to encoding efficiency.

It is observed that a given encoding distortion can be guaranteed by controlling both the source rate and the encoding power. However, if we simply adjust the source rate or the encoding power to a very low or very high level, the encoding distortion will inevitably become large [1]. Meanwhile, the total power consumed at the sensor node will fast increase. Thus, an optimal allocation of and should be established to achieve the required video quality.

C. Flow Conservation and Network Coding Constraint For any video session originating from sensor with source rate , its information flow must flow at rate to the sink node. For each link , let denote the information flow rate of session over path , the information flow conservation constraint at each node can be expressed as:

where

(2)

To ensure the successful decoding, the actual physical flow rate of any session on each link should be no less than its corresponding information rate. Let represent the physical flow rate of session on link , the relationship between information flow and physical flow can be expressed as:

(3)

D. Channel Interference Constraint

Consider a WVSN with a shared medium of capacity . Suppose any link originating from node will interfere with

link if or . Here,

specifies the interference range. Also define for each link as the cluster of links that cannot transmit as long as link is active, then the wireless network channel interference constraint can be defines as [7]:

(4)

E. Power Consumption Model

The total power dissipation at a video sensor node consists of four important portions: video coding power dissipation, transmission power dissipation, reception power dissipation, and network coding power dissipation. The video coding power consumption can be computed by the P-R-D model. Following an extensively used power consumption model in wireless sensor networks [2], the transmission power consumption at a node can accordingly be formulated as:

(5)

where is the transmission energy

consumption cost of link

,

is the energy cost of transmit electronics, is a coefficient term corresponding to the energy cost of transmit amplifier, and is the path loss factor.

The reception power consumption at a node is given by (6) where is the energy consumption cost of the radio receiver.

In the following, we will set up a generalized power consumption model for network coding.

Assume each packet consists of bits. Let represent the Galois Field, then each packet can be viewed as a vector of symbols over . Also assume packets at the source are divided into generations [8], with each generation of packets denoted as . Under random linear coding, each outgoing packet is a linear combination of the original

packets. Namely, , where the encoding

vector is randomly picked from .

The addition over requires XOR gates to act adding of two operands of bits. For multiplication, each multiplier requires XOR gates and AND gates [9]. To

(3)

obtain a coded packet , it is observed that, times of multiplication and times of addition should be performed.

Let and denote the energy consumption per-bit multiplication and addition [9]. Here and are energy consumption cost, determined by specific CMOS technology.

Thus, the energy consumed on packet can be formulated as:

(7) Correspondingly, the power consumption cost for each bit is given by

(8) Clearly, the network coding power consumption cost mainly dependents on the Galois Field size and the generation size . Although some improved coding strategies (e.g., XOR coding in [13]) have been proposed, we just develop a generalized model, upon which special cases can be easily deduced.

Then the network coding power consumption at a node is formulated as:

(9) Based on the above analysis, the total power dissipation at a sensor node is given by

(10)

where represents the video coding power of node

.

III. PROBLEM STATEMENT A. Network Coding Scheme

To achieve a reliable transmission, we present the following network coding based error recovery scheme for WVSN.

1) At the source node, coded packets are generated from a random linear combination of original packets. These coded packets then are injected on outgoing links along multiple paths.

In this way, flows traversing different paths are linearly independent rather than identical copies.

2) At the relay node, packets from different paths of the same session, can be coded again to provide diverse information.

Here network coding across different sessions is forbidden to increase the reliability.

3) At the sink node, each session will be independently decoded as long as enough coded packets are received.

B. Optimization Problem

In this work, we aim to seek the maximum network lifetime and optimal rate allocation for a WVSN, where the initial power budget of video sensors and the required video quality are given.

Mathematically, it can be formulated as follows:

P1: (11) subject to

1)

2) ;

3) ;

4) ;

5) .

Assuming that each sensor node has an initial energy , the lifetime of sensor node can be formulated as . Also assume all video sensors are of equal importance. Hence, the network lifetime of WVSN is given by:

.

Constraint 2) illustrates the relationship between information flow and physical flow over lossy channels. Unlike the error-free channel defined in Eq. (3), we take the packet loss into account. At any link with packet loss rate of , the actual transmission rate of the coded (physical) flows requires to be no less than the information flow rate. Under such condition, the coded flows may provide sufficient information for the sink node to recover the original information flow.

Furthermore, considering a small probability of linear correlation among coded packets over , we introduce a

slack factor and let

. Then, becomes a dummy variable and can be expressed by functions of .

(12) where we let to simplify the expression.

Constraint 4) is not convex and usually hard to solve. So we introduce a new variable and make a equivalent transformation of . Actually, can be regarded as the normalized power consumption of node with respect to its energy budget . Maximizing the minimum lifetime of all sensor nodes is therefore equivalent to minimize the maximum normalized power consumption over all sensor nodes.

Constraint 5) reflects the relationship of the encoding rate, encoding power and encoding distortion, where is the upper bound of the received video distortion for session .

Therefore, Problem P1 can be re-written as:

P2: (13) subject to

1)

(4)

2)

3)

4) .

Problem P2 is a convex optimization problem, as the objective function and the constraint sets are convex [10].

Traditional centralized solutions require global information and coordination among all nodes, which is sometimes infeasible in practice. In the following section, we will develop a fully distributed solution based on Lagrange dual theory [11].

C. Fully Distributed Algorithm

To decouple Problem P2 into a set of subproblems with distributed solutions, we relax constraint sets and formulate the following Lagrangian:

(14) where , , and are Lagrange multipliers.

The corresponding Lagrange dual function is

(15) The Lagrange dual problem of Problem P2 is then defined as:

(16) subject to

Since the objective function of the primal problem (13) is not strictly convex, the dual function (15) may not be differentiable everywhere. We hence use a subgradient algorithm to update the primal and dual variables.

At the -th iteration, the primal variables are updated as follows,

(17) where are positive step sizes, and denotes the projection onto the set of non-negative real numbers. The partial derivatives of the above primal variables are given by

(18) Similarly, the dual variables are updated by

(19)

where are positive step sizes.

The update of the primal and dual variables can solve three correlated subproblems, i.e., rate control problem, energy conservation problem and P-R-D balance problem. The rate control is mainly performed by the update of , where can be viewed as the congestion price at link . For each link , if the total demand exceeds the supply , namely, the capacity of wireless shared-medium is not sufficient to support current data flows travelling within a cluster, the price will rise to reduce the allocated rate . Or else, will decrease to attract more flows to occupy the free bandwidth.

The energy conservation at each sensor is achieved by adjusting the value of and , with working as the energy consumption cost. If the total energy utilized at node exceeds the current energy budget, will rise. As a response, the communication rate will slow down to save the energy.

Meanwhile, the normalized power consumption

w

ill rise, signifying the reduction of the lifetime. Otherwise, the opposite

(5)

changes will happen.

At each source node , the balance between the encoding rate and the encoding power is maintained by and . For a required video distortion, the excessive increase of or will raise the value of and , which simultaneously impose an inverse impact on and . The decrease of and will likewise pull down and . Such interaction iteratively functions, till an optimal balance is established between and

.

According to Eq. (18), the update of at each sensor node requires the global information of all nodes. Obviously, this algorithm is not fully distributed. Thus, we use a simple approach, to replace the max norm by an -norm [12].

(20)

Also, we make some transformation on the objective function of Problem P2, and formulate the following approximate problem.

P3:

subject to Constraint sets as in Problem P2.

The calculation of at the -th iteration is then changed to

(21) Clearly, all the updating steps of Problem P3 can be decentralized performed using only the local information.

D. Implementation of Distributed Algorithm

To implement the proposed distributed algorithm, each link and each sensor node is considered as a processor of a distributed computation system. Assume that the processor for link keeps track of variables and , while the processor for node keeps track of variables , , , and

. A decentralized implementation of the proposed algorithm can be summarized in Fig. 1.

IV. NUMERICAL RESULTS

In this section, we present simulation results to demonstrate the performance of the proposed distributed algorithm. Consider a static WVSN in which 9 video sensor nodes and one sink nodes are randomly deployed in a square region of 50m×50m.

The maximum transmission range for each node is 25m. The parameters for the power consumption model are set as [2]:

, ,

, , , . The initial

power of each sensor node is . The capacity of the wireless shared-medium is . Each sensor nodes is allowed to perform random linear network coding over with a generation size of 50. In our simulations, we use a standard test video sequence “Coastguard” with a frame rate of 30 fps, CIF (352x288) resolution, and a GOP-length of 32 frames.

Fig. 2 shows the evolution of the normalized power consumption at each sensor node, where the upper bound of the encoding distortion in PSNR is 28.13. Here all step sizes are diminishing style and equally set to . It is observed that all of the normalized power consumption reaches the optimal values after 221 iterations, which means the proposed algorithm converges with a fast speed. Although a constant step size is more convenient in practice, the algorithm will only converge to some suboptimal solution around the optimum. Using a diminishing step size, the convergence to the optimum can be well guaranteed.

Fig. 3 compares the power consumption on error control

using network coding and link-by-link FEC scheme, respectively. The encoding power consumption cost of network coding is calculated as in terms of Eq. (8),

with ,

[9]. The FEC encoding and decoding power consumption cost

are set to and [6]. We can

find that network coding performs better than FEC based error control scheme. Using FEC scheme, each relay node consumes a large amount of energy on encoding and decoding operation.

0 50 100 150 200 250

0.00 0.01 0.02 0.03 0.04

Normalized power consumption (1/Ms)

Number of iteration

t1 t2 t3 t4 t5 t6 t7 t8 t9

Fig. 2. Performance of normalized power consumption.

Initialization:

z set , and , , , , , ,

to some non-negative value for all ;

At times

At link :

z Receives and from all nodes use link ;

z Fetches stored in the local processor;

z Updates rate and congestion price ;

z Broadcasts the new price to all nodes use link ; At sensor node :

z Receives from the network the price ;

z Fetches and stored in the local processor;

z Updates , , , and price , ;

z Broadcasts the new price and to all links.

Fig. 1. Implementation of the proposed distributed algorithm.

(6)

In contrast, only the intersecting relay nodes on different paths for the same sink requires to perform network coding, and network decoding is never required at any relay node. Moreover, FEC scheme introduces redundant check codes which also require more power than network coding.

Fig. 4 shows the relationship between the video quality requirement measured as PSNR and the achievable maximum network lifetime, where the packet loss rate of each link changes from 0.05 to 0.5. It can be seen that the quality and the lifetime is a paradoxical property pair. High-quality video is achieved at the cost of network lifetime. On the contrary, the network lifetime can be prolonged by moderately degrading the received video quality. Further, the increase of the packet loss rate will lead to more retransmissions and consume more energy on network coding and transmission, which inevitably results in the reduction of the network lifetime.

V. CONCLUSION

This paper investigates a network lifetime optimization for WVSNs, where the network employs link rate allocation, network coding based error control, multipath routing as well as video encoding rate to jointly optimize the network lifetime. To evaluate the energy consumed by network encoder, a generalized network coding power consumption model is established. It specifies the relationship of Galois Field size and generation size with the network coding power consumption cost. We develop a fully decentralized algorithm by Lagrange dual and subgradient approach to solve the objective convex problem. Numerical results validate the proposed algorithm from the convergence and performance optimization.

REFERENCES

[1] Z. He and D. Wu, “Resource allocation and performance analysis of wireless video sensors,” IEEE Transactions on Circuits and Systems for Video Technology, vol. 16, no. 5, pp. 590-599, May 2006.

[2] J. Zhu, S. Chen, B. Bensaou and K. L. Hung, "Tradeoff Between Lifetime and Rate Allocation in Wireless Sensor Networks: A Cross Layer Approach," IEEE INFOCOM 2007, pp. 267-275, May 2007.

[3] R. Madan, Z. Luo and S. Lall, “A Distributed Algorithm with Linear Convergence for Maximum Lifetime Routing in Wireless Sensor Networks,” Proceedings of the ACCCC, pp. 896-905, Sep. 2005.

[4] A. E. Gamal, C. Nair, B. Prabhakar,et al, “Energy-efficient scheduling of packet transmissions over wireless networks,” in Proc. IEEE Information Communications (INFOCOM), NewYork, 2002, pp. 1773-1782.

[5] D. S. Lun, M. Médard, R. Koetter, and M. Effros. On coding for reliable communication over packet networks. Physical Communication, 1(1):3-20, March 2008.

[6] Y. He, I. Lee and L. Guan, “Network Lifetime Maximization in Wireless Visual Sensor Networks using a Distributed Algorithm,” IEEE ICME 2007, pp. 2174-2177 .

[7] K.Yuen, B. Liang and B. Li, “A Distributed Framework for Correlated Data Gathering in Sensor Networks,” IEEE Trans. on Vehicular Technology, vol. 57, no. 1, pp. 578-593, Jan. 2008.

[8] P. A. Chou, T.Wu and K. Jain, “Practical network coding”, in 51st Allerton Conf. Communication, Control and Computing, Oct. 2003.

[9] S. Appadwedula, M. Goel, N. R. Shanbhag, et al., “Total system energy minimization for wireless image transmission,” Journal of VLSI Signal Processing Systems, vol. 27, no. 1, pp. 99-117, Feb. 2001.

[10] S. Boyd and L. Vandenberghe, Convex Optimization. Cambridge,U.K., Cambridge Univ. Press, 2004.

[11] F. Kelly, A. Maulloo and D.Tan, “Rate control in communication networks: shadow prices, proportional fairness and stability,” Journal of the Operational Research Society , vol. 49, pp. 237-252, 1998.

[12] R. Madan, Z. Luo and S. Lall, “A Distributed Algorithm with Linear Convergence for Maximum Lifetime Routing in Wireless Sensor Networks,” Proceedings of the ACCCC, pp. 896-905, Sep. 2005.

[13] S. Katti, H. Rahul, D. Katabi, et al., “XORs in the Air: Practical Wireless Network Coding,” In ACM SIGCOMM, 2006.

1 2 3 4 5 6 7 8 9

0.0 0.2 0.4 0.6 0.8 1.0 1.2 1.4 1.6

Power consumption (W)

Sensor node

Network coding FEC scheme

Fig. 3. Comparison of power consumption on network coding and FEC scheme.

28 30 32 34

10 20 30 40 50 60

Achievable maximum lifetime (Ms)

Average PSNR requirement (dB) pij=0.5 pij=0.25 pij=0.05

Fig. 4. Relationship between video quality requirement and achievable maximum network lifetime.

數據

Fig. 2 shows the evolution of the normalized power  consumption  at each sensor node, where the upper bound of  the encoding distortion  in PSNR is 28.13
Fig. 3.  Comparison of power consumption on network coding  and FEC scheme.

參考文獻

相關文件

In the work of Qian and Sejnowski a window of 13 secondary structure predictions is used as input to a fully connected structure-structure network with 40 hidden units.. Thus,

– evolve the algorithm into an end-to-end system for ball detection and tracking of broadcast tennis video g. – analyze the tactics of players and winning-patterns, and hence

ƒ Visit the following page and select video #3 (How warrant works) to show students a video introducing derivative warrant, then discuss with them the difference of a call and a

Trace of display recognition and mental state inference in a video labelled as undecided from the DVD [5]: (top) selected frames from the video sampled every 1 second; (middle) head

The simulation environment we considered is a wireless network such as Fig.4. There are 37 BSSs in our simulation system, and there are 10 STAs in each BSS. In each connection,

Zhang, “A flexible new technique for camera calibration,” IEEE Tran- scations on Pattern Analysis and Machine Intelligence,

Krishnamachari and V.K Prasanna, “Energy-latency tradeoffs for data gathering in wireless sensor networks,” Twenty-third Annual Joint Conference of the IEEE Computer

D.Wilcox, “A hidden Markov model framework for video segmentation using audio and image features,” in Proceedings of the 1998 IEEE Internation Conference on Acoustics, Speech,