• 沒有找到結果。

Cross-Layer Duty Cycle Scheduling with Data Aggregation Routing in Wireless Sensor Networks

N/A
N/A
Protected

Academic year: 2021

Share "Cross-Layer Duty Cycle Scheduling with Data Aggregation Routing in Wireless Sensor Networks"

Copied!
10
0
0

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

全文

(1)

Aggregation Routing in Wireless Sensor

Networks

Yean-Fu Wen1,2 and Frank Yeong-Sung Lin1

1

National Taiwan University, Taiwan(R.O.C.)

2 China University of Technology, Taiwan(R.O.C.) {d89002, yslin}@im.ntu.edu.tw

Abstract. Well-scheduled communications, in conjunction with the

ag-gregation of data reduce the energy waste on idle listening and redundant transmissions. In addition, the adjustable radii and the number of re-transmissions are considered to reduce the energy consumption. Thus, to see that the total energy consumption is minimized, we propose a math-ematical model that constructs a data aggregation tree and schedules the activities of all sensors under adjustable radii and collision avoidance conditions. As the data aggregation tree has been proven to be a NP-complete problem, we adopt a LR method to determine a near-optimal solution and furthermore verify whether the proposed LR-based algo-rithm, LRA, achieves energy efficiency and ensures the latency within a reasonable range. The experiments show the proposed algorithm out-performs other general routing algorithms, such as SPT, CNS, and GIT algorithms. It improves energy conservation, which it does up to 9.1% over GIT. More specifically, it also improves energy conservation up to 65% over scheduling algorithms, such as S-MAC and T-MAC.

1

Introduction

The network lifetime of a wireless sensor network (WSN), the time before com-munication of the environmental information is interrupted because of depleted batteries is dependent on battery capacity and energy consumption efficiency, and has become an essential issue, as we can read in [2] [4] [7] [11] [12] [13] [14] [16] [22]. Therefore, we seek to prolong network lifetime from the physical layer up to application layer, and do so with a focus on (i) the data aggrega-tion routing; (ii) duty cycle scheduling; (iii) adjustable radii; and (iv) collision avoidance.

The data aggregation capability has been put forward as a particularly useful function for routing in terms of energy consumption in WSNs. Some literature [2] [11] [12] [13] [22] has been shown the in-network processing can save much energy. The construction of this type of data aggregation tree (i.e., a kind of reverse-multicast tree which is also a Steiner tree) has been proven to be NP-complete [10], which signifies that general algorithms cannot provide optimal solution to the problem. Krishnamachari et al. [12] devised three aggregation heuristics, E. Sha et al. (Eds.): EUC 2006, LNCS 4096, pp. 894–903, 2006.

c

(2)

namely, the Shortest Paths Tree (SPT), Center at Nearest Source (CNS), and the Greedy Incremental Tree (GIT) to sub-optimally solve the problem. In our experimental results, we will compare the performance with these heuristics.

In addition to data aggregation, conservation of energy is accomplished by duty cycle, the reduction of idle listening that is also the most energy wasteful process in MAC protocol. Some researchers [8] [15] [16] [21] have proposed al-gorithms, such as S-MAC, T-MAC, and D-MAC, that schedule the activities of all sensors in order to reduce the energy consumption. This paper bridges the gap, addressing in conjunction both data aggregation and an optimal duty cycle schedule, denotes as O-MAC, that centralized determines, for each sensor, when it wakes up and when it sleeps.

The third important energy consumption saving factor is dynamic power range. Carle et al. [6] discuss the tradeoff between power consumption and cov-erage of relay node. The power consumption of transmitting data is measured as eu(ru) = ruα+ c, where α is a signal attenuation constant (between 2 to 4) [13] [20] [22], ru is power range of the node u. Thus, the shorter range is used, the energy consumption is decreased.

The fourth factor is collisions avoidance that plays important roles in packet retransmissions as well as decreasing energy consumption. To reflect energy con-sumption by the number of retransmissions, the pure ALOHA approximation method [19], the extended Bianchi’s model [5], and another previous work [13], based on the analysis in [18], were adopted to derive the expected number of retransmissions of a sender. In this paper, we include the equation in [13] as the node-to-node retransmission constraint.

In order to optimally solve the problem as we have stated it, we have formu-lated a mathematical model by which a data aggregation tree is constructed and the activities of all sensors are scheduled with adjustable radii and collision avoid-ance so as to minimize the total energy consumption. The solution to our math-ematical formulation, where the objective function minimizes the total energy consumption of all sensors, subject to data aggregation, duty cycle scheduling, adjustable radii and the number of retransmissions constraints, is based on La-grangian Relaxation (LR) in conjunction with optimization-based heuristics [9]. The remainder of this paper is organized as follows. In Section 2, a mixed integer nonlinear programming problem formulation of data aggregation rout-ing problem with schedule assignment is proposed. In Section 3, LR-based ap-proaches are presented. In Section 4, the heuristics for calculating good primal feasible solutions to these problems are developed. In Section 5, the computa-tional results are reported. Finally, in Section 6 we present our conclusions.

2

Problem Formulation

A WSN is modeled as a graph of connected nodes, G(V, L), where V represents the nodes distributed on a two-dimensional plane (X AXIS,Y AXIS) and (u, v)∈

L denotes links such that node v can receive transmissions signal from node u.

(3)

The objective function (1) is an expression of total energy consumption, in-cluding all facets of consumption within the network that take place when data is received or sent, or when nodes are idle. Note that rates Er of energy con-sumption are similar, whether receiving data or idle [17].

ZIP = min  u∈V [(mu− nu)Er+ (tdata+ RT S  v∈V cuv)eu(ru)] (1)

where Er denotes as energy consumption rate of a receiving or idle node; Es denotes as energy consumption rate of a transmission node; and tdata denotes as transmission time for transmitting a data packet, subject to:

– Path constraints: Constraint (2) shows the decision variable xp= 1 denoting that path p∈ Ps, where s belong to the set of source nodes S and Ps is the set of candidate paths from source s to the sink node κ; otherwise, if xp= 0, no path p is used. In order to realize constraints that determine the tree, original/destination (OD) pairs must on only one path. Thus, the equation is shown as (3).

xp= 0 or 1, ∀p ∈ Ps s∈ S (2)

 p∈Ps

xp≤ 1, ∀s ∈ S (3)

Once the path, p, is selected and the link (u, v) is on the path, then the decision variable yuv must be set to 1. This constraint is described by (4).

 p∈Ps

xpδp(uv)≤ yuv, ∀s ∈ S u, v ∈ V (4)

where δp(uv) is the indicator function: equal to 1 if link (u, v) is on path p; equal to 0 otherwise. Thus, when the path p is selected and link (u, v) is on the path, the value of xpδp(uv) is 1 and yuv must be set to 1.

– Link constraints: Since this problem is to find a reversed multicast tree, five link constraints, Constraints (5)-(9), to requisite to describing structure of the tree.

1. Decision variable yuv= 1 denotes link (u, v) is selected, whereas yuv= 0, link (u, v) is not selected, shown as (5). The source node s must select one node to send its message to, meaning that the number of out-degree links must be 1, shown as (6).

yuv= 0 or 1, ∀u, v ∈ V (5)

 v∈V

ysv= 1, ∀s ∈ S (6)

2. The number of out-degree links of each node can be no greater than 1,

shown as (7). 

v∈V

(4)

3. At least one relay node must be able to provide coverage to the sink node κ for the message to be delivered, so the summation of in-degree links is at least 1, shown as (8).

 u∈V

yuκ≥ 1 (8)

4. The total number of links on the multicast tree must be at least the number of hops H or the number of nodes in set|S|, whichever is greater [22], shown as (9).  u∈V  v∈V yuv≥ max{H, |S|} (9)

– Node-to-node communication time constraints: Equation (10), which refers to [18], denotes the time luv needed to transmit a packet from node u to node v by CSMA/CA protocol [3].

luv= (e

−λj∈Vzju(DIF S)(RT S+SIF S+CT S+B)+DIF S+N )

e−λ 

j∈Vzju(DIF S)e−(RT S+SIF S+2θ)j∈V zjv − N,

∀u, v ∈ V (10)

where the bound of the delay of each link is described as (11).

RT S + SIF S + CT S + B + DIF S≤ luv≤ M5, ∀u, v ∈ V (11) Note that M5denotes as the maximum node-to-node successful transmission time; λ denotes as the arrival rate of an event occurrence; θ denotes as the propagation time to send a packet;B denotes as average random backoff time; N denotes as average Network Allocation Vector (NAV) time; DIF S denotes as Distributed Frame Space; SIF S denotes as Short Inter-Frame Space; RT S denotes as RTS transmission time; and CT S denotes as CTS transmission time.

The decision variable, zuv, is a 0-1 variable, shown as (12). It is equal to 1 when node v is within the transmission range of node u and link (u, v) is selected, shown as (13). However, zuv must be equal to 0 as node u does not need to transmission any data, shown as (14); otherwise the equation is violated. zuv= 0 or 1, ∀u, v ∈ V (12) ru− duv M1 + (1− yuv)≤ zuv, ∀u, v ∈ V (13) zuvduv≤ ru, ∀u, v ∈ V (14)

where duv denotes as Euclidean distance between the node u and the node v.

(5)

– The number of retransmissions: As described in Section 1, the number of retransmissions is calculated by (15) and (16), which the right hand side of (15) is referred to [18] to calculate the expected retransmissions, cuv, and then set the value to be an integer.

cuv≥

e−(1−yuv)M

e−λ(RT S+SIF S+2θ)j∈V zjv, ∀u, v ∈ V (15) cuv ∈ {0, 1, 2, ..., T }, ∀u, v ∈ V (16) – Scheduling constraints: Constraint (17) puts limits on the time at which all incoming flow from nodes to a node u must be aggregated, denotes as mu. Note that M3, which is the longest end-to-end delay of the network, denotes the upper bound of mu, which described as (18).

(mv+ luv+ ε)− M3(1− yvu)≤ mu, ∀u, v ∈ V (17) where ε is estimation error value, which is used for time synchronized error.

0≤ mu≤ M3, ∀u ∈ V (18)

A node u involved in an aggregation tree is subject to (19). The wake up time of node u must be earlier than the aggregation time of nodes that receive from it, denotes as nu. Note that M4, which is the longest end-to-end delay of the network, denotes the upper bound of nu, which described as (20).

nu≤ mu+ M4(1− yvu), ∀u, v ∈ V (19)

0≤ nu≤ M4, ∀u ∈ V (20)

3

Solution Approach

The LR-based approach [9] is a flexible solution strategy that permits us to exploit the fundamental structure of possible optimization problems by relaxing complicated constraints into the objective function with Lagrangian multipliers [1] [9]. Before executing the LR procedures, Constraint (10) is transformed to be approximated function with the error is estimated less than 5%. The natural logarithm of either side renders this function solvable as:

ln(luv) = ln(RT S + SIF S + CT S + 330) + 0.115+ 0.017j∈V zjv+ λ(RT S + SIF S + 2θ)

 j∈V zjv

(21)

For Constraint (15), we also take natural logarithm on both sides and get:

ln(cuv)≥ λ(RT S + SIF S + 2θ)  j∈V

(6)

Accordingly, the primal optimization problem is transformed into a Lagrangian dual problem. The relaxation of (4), (13), (14), (17), (19), (21), and (22) trans-forms the objective function (1) into a Lagrangian dual problem with a vector of non-negative Lagrangian multipliers (i.e.,μ1suv, μ2uv, μ3uv, μuv4 , μ5uv, μ6vu and μ7uv).

ZLR(μ1suv, μ2uv, μ3uv, μ4uv, μ5uv, μ6vu, μ7uv) = minu∈V[(mu− nu)Er+ (tdata+ RT S  v∈V cuv)eu(ru)]+  s∈S  u∈V  v∈V μ1suv   p∈Ps xpδp(uv)− yuv  +  u∈V  v∈V μ2uv(ruM−d1uv+ (1− yuv)− zuv)+  u∈V  v∈V μ3 uv(zuvduv− ru)+  u∈V  v∈V μ4uv  λ(RT S + SIF S + 2θ)  j∈V zjv− M5(1− yuv)− ln(cuv)  +  u∈V  v∈V μ5uv ⎛ ⎝ ln (RT S + SIF S + CT S + 330) + 0.115 + 0.017  j∈V zju +λ(RT S + SIF S + 2θ)  j∈V zjv− ln(luv) ⎞ ⎠+  v∈V  u∈V μ6vu(mv+ lvu+ ε− M3(1− yvu)− mu)+  u∈V  v∈V μ7 uv(nu− mv− M4(1− yuv)) (23) subject to: (2), (3), (5), (6), (7), (8), (9), (11), (12), (16), (18) and (20).

Accordingly, the (LR) is decomposed into seven independent and solvable sub-problems, (SUB1), (SUB2), (SUB3), (SUB4), (SUB5), (SUB6), and (SUB7). Based on the weak Lagrangian duality theorem, which holds that for any given set of nonnegative multipliers, the LR approach finds the lower bound of the value of the primal objective value [1], in this case, ZDis a lower bound on ZIP.1

4

Primal Feasible Solution

To construct a reversed multicast tree, the decision variable xp is our choice for finding primal feasible solutions, in view of the fact that once xp is deter-mined, the other decision variables are also determined. We have developed a heuristic for routing policy adjustment based on xp. First, to ensure that each OD pair perceives the same link weight for the same link, we make adjust-ments to cuv= (

 s∈S

μ1suv+ μ2uv+ μ3uv+ μuv4 + μ6vu+ μ7uv)d2uv. The transmission

graph will be a reversed multicast tree, meeting the requirements of (2)-(9). Next, the solution set of xp is generated by the proposed LR-based heuris-tic. The procedures are shown as follows for obtaining a primal feasible solu-tion (P rimal Heuristic Algorithm()) that solves the problem. Accordingly, the LR-based algorithm for solving primal problem is used according to the proce-dures in [1] or [9].

1

(7)

Step 1. Initially, cuv = (  s∈S

μ1suv+ μ2uv+ μ3uv+ μuv4 + μ6vu+ μ7uv)d2uv; pseudo links connect the source nodes to the pseudo source; and a pseudo link between the sink node and pseudo destination are also set. The weights of these pseudo links are 0.

Step 2. The Dijkstra’s algorithm is used to find the shortest path from the pseudo source O to the pseudo destination D.

Step 3. Once the path has been determined, the nodes on the path are marked and pseudo links with weight 0 are added between these marked nodes and the pseudo destination. The weight of pseudo link, which is on the path between pseudo source and its next hop, is set to a infinite.

Step 4. Steps 2-3 are repeated until all source nodes are marked. Step 5. Now we have a reversed multicast tree after cyclic path has

been checked. Once the{xp} is determined, {yuv} is also determined. According to the selected link set {yuv}, the power range ru, the number of nodes within the node u’s transmission area zuv, and link transmission time luv to successful transmission are calculated. Step 6. The earliest wake up time and latest aggregated time are

cal-culated along the DFS (Depth First Search) traced nodes. Once mu and nuare determined, the duty cycle schedule of each sensor node u is determined. The total energy consumption per cycle is calculated.

Figure 1 shows an example of the proposed routing algorithm. The pseudo source O, pseudo destination D, and pseudo links O1, D5, D6, D7, and D8 with weight 0 are initialized. In first iteration, we find the path O− 7 − 4 − 2 − 1 − D from O to D. The nodes on the paper are marked in the tree set T . Then the pseudo links D2, D4, and D7 with weight 0 are added. But the weight of pseudo

Fig. 1. The pseudo source O and pseudo destination D are added. The pseudo links

are added to connect source nodes and sink node, respectively. The value on the link signifies the delay to successfully send data to next node; the [nu, mu+ luv] of each

node denotes the earliest wake up time and the complete aggregated time for successful transmission.

(8)

link O7 is set to be infinite. Iteration by iteration, additions to the reversed multicast tree are made until all source nodes in the network have been marked in the tree.

5

Evaluation and Experimental Results

The experimental networks were comprised of N sensor nodes, with 150 nodes in the example given in Figs. 4 and network with various numbers of nodes, up to 250, in Figs. 2 and 3 randomly placed in a 10∗ 10 square unit area. The relative experimental parameter settings are referred to [3] and [13]. To evaluate the solution quality of our proposed algorithm, we compared it with three existing data aggregation routing algorithms: the GIT, SPT, and CNS algorithms are proposed in [12]. We also compared it with exist schedule strategies, such as S-MAC and T-MAC. The experimental results are shown in Fig. 4.

Fig. 2. Network sizes experimental results

Fig. 3. Maximum end-to-end delay

ex-perimental results

(a) the number of sources node is 90 (b) the number of sources node is 50

Fig. 4. The total energy consumption by combining data aggregation routing heuristics

(9)

Figure 2 depicts the experimental results by which we assess the quality of each heuristics as used in networks of differing sizes, each with a fixed number of sources but a adjustable radii. The consumption decreases with the shorter radius when energy consumption evaluated by exponential distance. Thus, when there is increased network sizes, the density of sensor nodes in the fixed deployment area is higher, and overall energy consumption decreases. The effect of this on our proposed algorithm is minimal, so the solution quality of the LRA algorithm is superior to the other heuristics by up to 28.8%.

However, a longer delay does arise with the proposed algorithm than that from other algorithms, shown as Fig. 3. This additional delay, the cost of reducing duplicate transmissions, arises due to the time necessary to aggregate data before forwarding it. Other algorithms, such as SPT, do receive the most up-to-date information from the sensor nodes by adopting a single pair and a shortest path heuristic, but it must be said that the energy consumption of a network that implements one of these other algorithms is significantly higher than that achieved by the proposed algorithm.

Figure 4 shows the scheduling algorithms combine with the above data ag-gregation routing algorithms. As our exceptive, the proposed O-MAC adopt the variable awake up duty cycle according the data aggregation tree outperforms than other S-MAC (with fixed duty cycle) and T-MAC (variable duty cycle by timeout) up to 27.6% and 65%. The reason is S-MAC take much time on idle listening. Even T-MAC enhances from the S-MAC by timeout mechanism, it takes addition timeout on idle listening than the proposed algorithm.

6

Conclusions

The energy efficiency of WSNs can be improved by data aggregation routing, the reduction of idle listening, adjustable radii, and collision avoidance. To ad-dress these considerations, we propose a mixed integer nonlinear mathematical formulation of duty cycle scheduling with data-aggregation routing. This paper presents a LRA algorithm that is derived from the LR approach, making possi-ble the construction of an energy-efficient data aggregation tree that takes into consideration scheduling of transmission activities and tradeoffs between data aggregation, adjustable radii, and collision avoidance. According to the exper-imental results, the proposed LRA algorithm outperforms other heuristics in tests, especially in large networks [3]. More specifically, our proposed schedul-ing heuristic improves the energy conservation, which it does up to 65% over S-MAC.

References

1. Ahuja, R.K., Magnanti, T.L., and Orlin, J.B.: Network Flows: Theory, Algorithms, and Applications. Ch. 16 Prentice-Hall (1993)

2. Akyildiz, I.F., Su, W., Sankarasubramaniam, Y., Cayirci E.: A Survey on Sensor Networks. IEEE Communications Magazine 40(8) (2002) 102-114

(10)

3. ANSI/IEEE: 802.11: Wireless LAN Medium Access Control (MAC) and Physical Layer (PHY) Specifications. IEEE Standard 802.11 (2000)

4. Bhardwaj, M., Chandrakasan, A.P.: Bounding the Lifetime of Sensor Networks via Optimal Role Assignments. Proc. IEEE INFOCOM, New York NY (2002) 1587-1596

5. Bianchi, G.: Performance Analysis of the IEEE 802.11 Distributed Coordination Function. IEEE Journal on Selected Areas in Communications 18(2) (2000) 535-547

6. Carle, J., Simplot, D.: Energy Efficient Area Monitoring by Sensor Networks. IEEE Computer 37(2) (2004) 40-46

7. Chang, J.H., Tassiulas, L.: Maximum Lifetime Routing in Wireless Sensor Net-works. IEEE/ACM Transactions on Networking (TON) 12(4) (2004) 609-619 8. Dam, T.V., Langendoen K.: An Adaptive Energy-Efficient MAC Protocol for

Wire-less Sensor Networks. Proc. ACM SenSys Los Angeles (2003) 171-180

9. Fisher M.L.: The Lagrangian Relaxation Method for Solving Integer Programming Problems. Management Science 27(1) (1981) 1-18

10. Garey, M.R., Johnson, D.S.: Computers and Intractability: A Guide to the Theory of NP-completeness Freeman San Francisco (1979)

11. Kalpakis, K., Dasgupta, K. Namjoshi, P.: Efficient Algorithms for Maximum Life-time Data Gathering and Aggregation in Wireless Sensor Networks. Computer Networks Journal 42(6) (2003) 697-716

12. Krishnamachari, B., Estrin, D., Wicker, S.: Modeling Data-Centric Routing in Wireless Sensor Networks. USC Computer Engineering Technical Report CENG (2002)

13. Lin, F.Y.S., Yen, H.H. Lin, S.P.: MAC Aware Energy-Efficient Data-Centric Rout-ing in Wireless Sensor Networks. Proc. IEEE ICC Istanbul Turkey (2006) 14. Liu, H., Wan, P.J., Yi, C.W., Jia, X., Makki, S., Pissinou, N.: Maximal Lifetime

Scheduling in Sensor Surveillance Networks. Proc. INFOCOM Miami (2005) 2482-2491

15. Lu, G., Krishnamachari, B., Raghavendra, C.: An Adaptive Energy-Efficient and Low-Latency MAC for Data Gathering in Sensor Networks. Proc. WMAN (2004) 16. Lu, G., Sadagopan, N., Krishnamachari, B., and Goel, A.: Delay Efficient Sleep

Scheduling In Wireless Sensor Network. Proc. INFOCOM Miami Florida USA (2005) 2470-2481

17. Stemm, M., Katz, R.H., Measuring and Reducing Energy Consumption of Network Interfaces in Hand-held Devices. IEICE Transactions on Communications

E80-B(8) (1997) 1125-1131

18. Sheu, S.T., Tsai, T.H. Chen, J.H.: MR2RP: The Multi-Rate and Multi-Range Routing Protocol for IEEE 802.11 Wireless Ad Hoc Networks. ACM/Kluwer Wire-less Networks 9(8) (2003) 165-177

19. Shiou, C.W., Lin, F.Y.S., Cheng, H.C., Wen, Y.F.: Optimal Energy-Efficient Rout-ing for Wireless Sensor Networks. Proc. IEEE AINA Taipei Taiwan (2005) 325-330 20. Wieselthier, J.E., Nguyen, G.D., Ephremides, and A.: Energy-Efficient Broadcast and. Multicast Trees in Wireless Networks. Mobile Networks and Applications (MONET) 7(2) (2002) 481-492

21. Ye, W., Heidemann, J., Estrin, D.: An Energy-efficient MAC Protocol for Wireless Sensor Networks. Proc. IEEE INFOCOM New York, NY (2002) 1567-1576 22. Yen, H.H., Lin, F.Y.S. and Lin, S.P.: Energy-Efficient Data-Centric Routing in

Wireless Sensor Networks. IEICE Trans. on Communications E88-B(16) (2005) 4470-4480

數據

Figure 1 shows an example of the proposed routing algorithm. The pseudo source O, pseudo destination D, and pseudo links O1, D5, D6, D7, and D8 with weight 0 are initialized
Fig. 3. Maximum end-to-end delay ex- ex-perimental results

參考文獻

相關文件

We showed that the BCDM is a unifying model in that conceptual instances could be mapped into instances of five existing bitemporal representational data models: a first normal

The remaining positions contain //the rest of the original array elements //the rest of the original array elements.

“Ad-Hoc On Demand Distance Vector Routing”, Proceedings of the IEEE Workshop on Mobile Computing Systems and Applications (WMCSA), pages 90-100, 1999.. “Ad-Hoc On Demand

• As RREP travels backwards, each node sets pointer to sending node and updates destination sequence number and timeout entry for source and destination routes.. “Ad-Hoc On

• If we want analysis with amortized costs to show that in the worst cast the average cost per operation is small, the total amortized cost of a sequence of operations must be

Since all nodes in a cluster need to send data to the cluster head, we use the idea of minimum spanning tree (MST for short) to shorten the total transmission distance to reduce

Since the sink is aware of the location of the interested area, simple greedy geographic routing scheme is used to send a data request (in the form of

Marar (2000), “On the Value of Optimal Myopic Solutions for Dynamic Routing and Scheduling Problems in The Presence of User Noncompliance,” Transportation Science, Vol..