Lecture Notes in Computer Science Commenced Publication in 1973 Founding and Former Series Editors: Gerhard Goos, Juris Hartmanis, and Jan van Leeuwen
Editorial Board David Hutchison Lancaster University, UK Takeo Kanade Carnegie Mellon University, Pittsburgh, PA, USA Josef Kittler University of Surrey, Guildford, UK Jon M. Kleinberg Cornell University, Ithaca, NY, USA Alfred Kobsa University of California, Irvine, CA, USA Friedemann Mattern ETH Zurich, Switzerland John C. Mitchell Stanford University, CA, USA Moni Naor Weizmann Institute of Science, Rehovot, Israel Oscar Nierstrasz University of Bern, Switzerland C. Pandu Rangan Indian Institute of Technology, Madras, India Bernhard Steffen TU Dortmund University, Germany Madhu Sudan Microsoft Research, Cambridge, MA, USA Demetri Terzopoulos University of California, Los Angeles, CA, USA Doug Tygar University of California, Berkeley, CA, USA Gerhard Weikum Max-Planck Institute of Computer Science, Saarbruecken, Germany
6221
Gopal Pandurangan V. S. Anil Kumar Gu Ming Yunhao Liu Yingshu Li (Eds.)
Wireless Algorithms, Systems, and Applications 5th International Conference, WASA 2010 Beijing, China, August 15-17, 2010 Proceedings
13
Volume Editors Gopal Pandurangan Nanyang Technological University Singapore E-mail:
[email protected] V. S. Anil Kumar Virginia Tech Blacksburg, VA, USA E-mail:
[email protected] Gu Ming Tsinghua University Beijing, China E-mail:
[email protected] Yunhao Liu Hong Kong University of Science and Technology Kowloon, Hong Kong E-mail:
[email protected] Yingshu Li Georgia State University Atlanta, GA 30303, USA E-mail:
[email protected]
Library of Congress Control Number: 2010931794 CR Subject Classification (1998): F.1, F.2, D.1, D.2, D.4, C.2, C.4, H.4 LNCS Sublibrary: SL 1 – Theoretical Computer Science and General Issues ISSN ISBN-10 ISBN-13
0302-9743 3-642-14653-8 Springer Berlin Heidelberg New York 978-3-642-14653-4 Springer Berlin Heidelberg New York
This work is subject to copyright. All rights are reserved, whether the whole or part of the material is concerned, specifically the rights of translation, reprinting, re-use of illustrations, recitation, broadcasting, reproduction on microfilms or in any other way, and storage in data banks. Duplication of this publication or parts thereof is permitted only under the provisions of the German Copyright Law of September 9, 1965, in its current version, and permission for use must always be obtained from Springer. Violations are liable to prosecution under the German Copyright Law. springer.com © Springer-Verlag Berlin Heidelberg 2010 Printed in Germany Typesetting: Camera-ready by author, data conversion by Scientific Publishing Services, Chennai, India Printed on acid-free paper 06/3180
Preface
Over the past decade, signficant advances in wireless communication and computing technologies have led to the proliferation of reliable and ubiquitous infrastructure and infrastructureless wireless networks all over the world, as well as a diverse range of new applications, such as mobile social networking, and the surveillance and protection of critical infrastructures and environments. At the same time, these applications have raised new challenges ranging from the theoretical foundations of these systems, algorithms and protocol design, security and privacy to rigorous and systematic design and evaluation methodologies and new architectures for next-generation systems. The annual International Conference on Wireless Algorithms, Systems, and Applications (WASA) provides a forum for researchers and practitioners worldwide to exchange ideas, share new findings, and discuss challenging issues for the current and next-generation wireless networks. Past WASA conferences were held in Xian (2006), Chicago (2007), Dallas (2008), and Boston (2009). WASA 2010, the 5th WASA conference, took place at the Beijing Wenjin International Hotel in Beijing during August 15–17, 2010. Each submission was reviewed by at least three Program Committee members, who in some cases were assisted by external referees. Following a rigorous review process, 29 (19 regular and 10 short) papers were selected for presentation at the conference. The best paper award was given to the paper titled “Approximate Optimization for Proportional Fair AP Association in Multi-rate WLANs” by Wei Li, Yong Cui, Shengling Wang, and Xiuzhen Cheng. Four workshops were also organized along with WASA 2010: the Workshop on the Security of Wireless and Ad-hoc Networks (SWAN) 2010, the Workshop on Data Management and Network Control in Wireless Networks (DMNC), the First Workshop on Radar and Sonar Sensor Networks (RSSN), and the First Workshop on Compressive Sensing for Communications and Networking (CSCN). Eighteen papers from these workshops also appear in these proceedings. We thank the respective workshop organizers for their efforts in organizing these workshops and contributing to the success of the WASA 2010 conference. We thank all the authors for submitting their papers to the conference. We also thank all the members of the Program Committee and external referees for their help in completing the reviewing process, especially under the tight time constraints. We are grateful to the members of the Steering Committee for their involvement, encouragement, and help throughout this process.
VI
Preface
Finally, many other people contributed to the success of WASA 2010 directly and indirectly. Even though their names cannot be listed here because of space limitation, we owe them our gratitude. August 2010
Gopal Pandurangan V.S. Anil Kumar Gu Ming Yunhao Liu Yingshu Li
Organization
Honorary General Chair Sun JiaGuang
Tsinghua University, China
General Co-chairs Gu Ming Yunhao Liu
Tsinghua University, China Hong Kong University of Science and Technology, China
Program Committee Co-chairs Gopal Pandurangan Anil Vullikanti
Nanyang Technological University, Singapore and Brown University, USA Virginia Tech, USA
Registration Co-chair Min Song
Old Dominion University, USA
Local Arrangements Co-chairs Zhiguo Wan Jizhong Zhao
Tsinghua University, USA Xi’An Jiaotong University, China
Publicity Co-chairs Jen-Yeu Chen Qilian Liang
National Dong-Hwa University, Taiwan University of Texas at Arlington, USA
Workshop Co-chairs Costas Busch Xiuzhen Cheng
Louisiana State University, USA George Washington University, USA
Publication Co-chair Yingshu Li
Georgia State University, USA
VIII
Organization
Steering Committee Peng-Jun Wan Xiuzhen Cheng Wei Zhao Ty Znati
Illinois Institute of Technology, USA (Chair) The George Washington University, USA University of Macau, China National Science Foundation, USA
Program Committee Members John Augustine Nanyang Technological University, Singapore Costas Busch Louisiana State University, USA Jiannong Cao Hong Kong Polytechnic University, China Jen-Yeu Chen National Dong-Hwa University, Taiwan Susan Cheng George Washington University, USA Yong Cui Tsinghua University, China Sajal Das NSF and University of Texas - Arlington, USA Amitabha Ghosh University of Southern California, USA Sukumar Ghosh University of Iowa, USA Seth Gilbert EPFL, Switzerland Chuanhe Huang Wuhan University, China Anura Jayasumuna Colorado State University, USA Krishna Kant Intel and NSF, USA Maleq Khan Virginia Tech, USA Bhaskar Krishnamachari University of Southern California, USA Wonjun Lee Korea University, Korea Deying Li Renmin University of China, China Minming Li City University of Hong Kong, China Benyuan Liu University of Massachusetts - Lowell, USA Wei Lou Polytechnic University of Hong Kong, China Madhav Marathe Virginia Tech, USA Frederique Oggier Nanyang Technological University, Singapore Marimuthu Palaniswami University of Melbourne, Australia Christos Papadopoulos Colorado State University, USA Srinivasan Parthasarathy IBM Research, USA Sriram Pemmaraju University of Iowa, USA S.S. Ravi SUNY at Albany, USA Michael Segal Ben Gurion University, Israel Yi Shi Virginia Tech, USA Violet Syrotiuk Arizona State University, USA Jian Tan Ohio State University, USA Bharadwaj Veeravali National University of Singapore, Singapore Peng-Jun Wan Illinois Institute of Technology, USA Amy Wang Tsinghua University, China Qing Wang IBM Research, China Kui Wu University of Victoria, Canada Xinbing Wang Shanghai Jiaotong University, China
Organization
IX
Workshop Committee on the Security of Wireless and Ad-hoc Networks Costas Busch Bo Sheng Haodong Wang Hui Chen Xiuzhen Cheng Guevara Noubir Chiu C. Tan Lei Xie Kai Xing Shuhui Yang
Louisiana State University, USA (General Chair) Northeastern University, USA (Workshop Program Co-chair) Virginia State University, USA (Workshop Program Co-chair) Virginia State University, USA George Washington University, USA Northeastern University, USA College of William and Mary, USA Nanjing University, China University of Science and Technology of China, China Purdue University at Calumet, USA)
Workshop Committee on Data Management and Network Control in Wireless Networks Jinshu Su Wei Cheng Nan Zhang Hongyang Chen Tingjian Ge Mikyung Kang Murat Kantarcioglu Yujun Liu Wei Peng Guangming Song Chiu C. Tan Lingyu Wang Kai Xing Mira Yun
National University of Defense Technology, China (General Chair) The George Washington University, USA (Workshop Program Co-chair) The George Washington University, USA (Workshop Program Co-chair) University of Tokyo, Japan University of Kentucky, USA ISI, University of Southern California, USA University of Texas at Dallas, USA Academy of Armored Forces Engineering, China National University of Defense Technology, China Southeast University, China College of William and Mary, USA Concordia University, Canada University of Science and Technology of China, China The George Washington University, USA
X
Organization
Workshop Committee on Radar and Sonar Sensor Networks Jing Liang Qingchun Ren Scott C.-H. Huang Ting Jiang Qilian Liang Sherwood W. Samn Lingming Wang Xinsheng Xia Liang Zhao Zheng Zhou
University of Texas at Arlington, USA (Workshop Program Co-chair) Microsoft, Seattle, USA (Workshop Program Co-chair) City University of Hong Kong, Hong Kong Beijing University of Posts and Telecommunications, China University of Texas at Arlington, USA Air Force Research Laboratory/RHX, San Antonio, USA iBiquity Digital Corporation, Basking Ridge, New Jersey, USA Tellabs Inc, New Jersey, USA Airvana Inc., Chelmsford, Massachusetts, USA Beijing University of Posts and Telecommunications, China
Workshop Committee on Compressive Sensing for Communications and Networking Jing Liang Dechang Chen
Qilian Liang Xiuzhen Cheng Ting Jiang Qingchun Ren Sherwood W. Samn LingmingWang Xinsheng Xia Liang Zhao Zheng Zhou
University of Texas at Arlington, USA (General Chair) Uniformed Services University of the Health Sciences, USA (Workshop Program Co-chair) University of Texas at Arlington, USA (Workshop Program Co-chair) George Washington University, USA Beijing Univerisity of Posts and Telecommunications, China Microsoft, Seattle, USA Air Force Research Laboratory/RHX, Texas, USA iBiquity Digital Corporation, Basking Ridge, New Jersey, USA Tellabs Inc., New Jersey, USA Airvana Inc., Chelmsford, Massachusetts, USA Beijing University of Posts and Telecommunications, China
Organization
External Referees Dilum Bandara Andrew D. Berns Wei Cheng Dulanjalie Dhanapala Fei Huang
Yuan Le Jia Liu Guanhong Pei Mohan Raj Sasanka Roy
Sponsoring Institution Tsinghua University
Vaishali Sadaphal Sushant Sharma Amin Teymorian Yan Wu Zhao Zhao
XI
Table of Contents
Topology Control and Coverage Arbitrary Obstacles Constrained Full Coverage in Wireless Sensor Networks . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Haisheng Tan, Yuexuan Wang, Xiaohong Hao, Qiang-Sheng Hua, and Francis C.M. Lau
1
Heuristic Algorithms for Constructing Connected Dominating Sets with Minimum Size and Bounded Diameter in Wireless Networks . . . . . . Jiguo Yu, Nannan Wang, and Guanghui Wang
11
Energy-Efficient Algorithm for the Target Q-coverage Problem in Wireless Sensor Networks . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Hui Liu, Wenping Chen, Huan Ma, and Deying Li
21
Approaching the Optimal Schedule for Data Aggregation in Wireless Sensor Networks . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Pei Wang, Yuan He, and Liusheng Huang
26
Theoretical Foundations Approximate Optimization for Proportional Fair AP Association in Multi-rate WLANs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Wei Li, Yong Cui, Shengling Wang, and Xiuzhen Cheng
36
Minimum CDS in Multihop Wireless Networks with Disparate Communication Ranges . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Lixin Wang, Peng-Jun Wan, and Frances Yao
47
Minimum Edge Interference in Wireless Sensor Networks . . . . . . . . . . . . . . Trac N. Nguyen, Nhat X. Lam, D.T. Huynh, and Jason Bolla Maximum Weighted Independent Set of Links under Physical Interference Model . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Xiaohua Xu, Shaojie Tang, and Peng-Jun Wan
57
68
Energy-Aware Algorithms and Protocol Design A QoS-Guaranteed Energy-Efficient Packet Scheduling Algorithm for WiMax Mobile Devices . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Hung-Cheng Shih and Kuochen Wang
75
XIV
Table of Contents
Minimum Energy Cost k -barrier Coverage in Wireless Sensor Networks . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Huiqiang Yang, Deying Li, Qinghua Zhu, Wenping Chen, and Yi Hong On the Performance of Distributed N -Cooperation Power Allocation via Differential Game in Cognitive Radio System . . . . . . . . . . . . . . . . . . . . . Shunxi Gao, Long Zhang, Suqin Fan, Wei Huang, Qiwu Wu, and Yu Deng Energy-Efficient Restricted Greedy Routing for Three Dimensional Random Wireless Networks . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Minsu Huang, Fan Li, and Yu Wang
80
90
95
Wireless Sensor Networks and Applications Adaptive Energy and Location Aware Routing in Wireless Sensor Network . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Hong Fu, Xiaoming Wang, and Yingshu Li
105
Utilizing Temporal Highway for Data Collection in Asynchronous Duty-Cycling Sensor Networks . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Tao Chen, Deke Guo, Honghui Chen, and Xueshan Luo
110
The Impact of Reader to Tag Collision on RFID Tag Identification . . . . . Yiyang Zhao, Weijun Hong, S.C. Cheung, and Shufang Li
115
A Desynchronization Tolerant RFID Private Authentication Protocol . . . Qingsong Yao, Yong Qi, Ying Chen, and Xiao Zhong
120
Study of Joint Routing and Wireless Charging Strategies in Sensor Networks . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Zi Li, Yang Peng, Wensheng Zhang, and Daji Qiao
125
Page Size Optimization for Code Dissemination in Wireless Sensor Networks . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Wei Dong, Xi-bin Zhao, and Min Xi
136
Dynamic Routing Algorithm for Priority Guarantee in Low Duty-Cycled Wireless Sensor Networks . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Guodong Sun and Bin Xu
146
Applications and Experimentation Heterogeneity of Device Contact Process in Pocket Switched Networks . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Ye Tian and Jiang Li
157
Table of Contents
XV
Delay Minimization of Tree-Based Neighbor Discovery in Mobile Robot Networks . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Heejun Roh, Kyunghwi Kim, and Wonjun Lee
167
Two-Stage Target Locating Algorithm in Three Dimensional WSNs under Typical Deployment Schemes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Lei Mao, Junzhao Du, Hui Liu, Deke Guo, Xing Tang, and Ning Wei
172
Scheduling and Channel assignment Interference Analysis for FH-Based Multi-radio Wireless Mesh Networks . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Davis Kirachaiwanich and Qilian Liang Interference-Aware Gossiping Scheduling in Uncoordinated Duty-Cycled Multi-hop Wireless Networks . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Xianlong Jiao, Wei Lou, Xiaodong Wang, Junchao Ma, Jiannong Cao, and Xingming Zhou
182
192
A Game Theoretic Approach to Multi-radio Multi-channel Assignment in Wireless Networks . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Devu Manikantan Shila, Yu Cheng, and Tricha Anjali
203
PAPR Analysis for SOFDM and NC-SOFDM Systems in Cognitive Radio . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Xue Li, Chi Zhou, Xiangqian Zhou, Zhiqiang Wu, and Bing Xie
209
Coding, Information Theory and Security Application of Compressed Sensing for Secure Image Coding . . . . . . . . . . Gesen Zhang, Shuhong Jiao, and Xiaoli Xu
220
Efficient Wireless Broadcasting Using Onion Decoding . . . . . . . . . . . . . . . . Pei Wang, Qunfeng Dong, Mingjun Xiao, and Liusheng Huang
225
A Spectrally Efficient Anti-Jamming Technique Based on Message Driven Frequency Hopping . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Lei Zhang, Jian Ren, and Tongtong Li
235
Security of Wireless and Ad-Hoc Networks Secure RFID Application Data Management Using All-Or-Nothing Transform Encryption . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Namje Park and Youjin Song
245
Prevention of Wormhole Attacks in Mobile Ad Hoc Networks by Intrusion Detection Nodes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Ming-Yang Su and Kun-Lin Chiang
253
XVI
Table of Contents
Data Management and Network Control in Wireless Networks A Publicly Verifiable Encryption Scheme with Short Public/Private Keys . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Yujun Liu, Yonggang Cui, and Limin Liu
261
Algorithm on Self-organization of Wireless or Connectionless Clustering . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Zhen Shen, Sheng Qiang, and Dong-yun Yi
266
A Strongly Partitioned Operating System Model for Data Link Networks . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Xiaoming Tang, Yuting Zhao, Yinjuan Li, and Yujun Liu
274
Twin Hybrid ElGamal Encryption over Signed Quadratic Residue Groups . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Yonggang Cui and Yujun Liu
282
Extra Slot Allocation for Fair Data Collection in the Slot-Based Grid Network . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Junghoon Lee and Gyung-Leen Park
287
An Efficient Multipath Existence Checking Scheme for Wireless Sensor Networks . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Feng Wei, Yingchang Xiang, and Bowu Zhang
291
Data Collection Scheme for Two-Tier Vehicular Sensor Networks . . . . . . . Junghoon Lee and Mikyung Kang
295
Radar and Sonar Sensor Networks Energy Efficient Water Filling Ultra Wideband Waveform Shaping Based on Radius Basis Function Neural Networks . . . . . . . . . . . . . . . . . . . . Weixia Zou, Bin Li, Zheng Zhou, and Shubin Wang An Introduction to Bayesian Techniques for Sensor Networks . . . . . . . . . . Bin Liu Fuzzy C-Means Clustering Based Robust and Blind Noncoherent Receivers for Underwater Sensor Networks . . . . . . . . . . . . . . . . . . . . . . . . . . Bin Li, Zheng Zhou, Weixia Zou, and Shubin Wang Research on Enhanced Spectrum Efficiency for BWA Networks . . . . . . . . Xu-hui Wang and Cheng-lin Zhao
299 307
314 322
Table of Contents
XVII
Compressive Sensing for Communications and Networking Improved Channel Estimation Based on Compressed Sensing for Pulse Ultrawideband Communication System . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Dejian Li, Zheng Zhou, Feng Zhao, Weixia Zou, and Bin Li Compressive Sensing Using Singular Value Decomposition . . . . . . . . . . . . . Lei Xu and Qilian Liang The Wideband Spectrum Sensing Based On Compressed Sensing and Interference Temperature Estimation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Ting Jiang and Shijun Zhai
330 338
343
The Applications of Compressive Sensing to Radio Astronomy . . . . . . . . . Feng Li, Tim J. Cornwell, and Frank De hoog
352
Compressive Sensing for Autoregressive Hidden Markov Model Signal . . . Ji Wu, Qilian Liang, and Zheng Zhou
360
Author Index . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
365
Arbitrary Obstacles Constrained Full Coverage in Wireless Sensor Networks Haisheng Tan1 , Yuexuan Wang2 , Xiaohong Hao2 , Qiang-Sheng Hua1 , and Francis C.M. Lau1 1 2
Department of Computer Science, The University of Hong Kong, Pokfulam, Hong Kong, China Institute for Theoretical Computer Science, Tsinghua University, Beijing, 100084, China
Abstract. Coverage is critical for wireless sensor networks to monitor a region of interest and to provide a good quality of service. In many application scenarios, full coverage is required, which means every point inside the region (excluding the obstacles) must be covered by at least one sensor. The problem of using the minimum number of sensors to achieve full coverage for an arbitrary region with obstacles is NP-hard. Most existing coverage methods, such as contour-based ones, simply place sensors along the boundaries to cover the holes that are near the obstacles and the region boundary. These methods are inefficient especially when the obstacles or the region are irregular. In this paper, based on computational geometry, we design a full coverage method, which accurately finds the uncovered holes and places sensors efficiently for both the regular and irregular obstacles and regions. Specifically, we show that the more irregular the obstacles and the region are, the more sensors our method can save. Keywords: Wireless sensor networks, Coverage, Obstacles, Computational Geometry.
1
Introduction
Wireless sensor networks (WSNs) have been applied extensively in military and civilian applications, and health care, for such purposes as environmental monitoring, intrusion detection, cancer monitoring, and smart agriculture [1]. Coverage is one of the fundamental issues in WSNs. It is measured by how well the region can be monitored and certain services can be provided. Paper [3] studies how to place disks to fully cover a plane. The authors prove that it is asymptotically optimal, in terms of the number of disks used, to place disks
The work presented in this paper was supported in part by Hong Kong RGC-GRF grants (7136/07E and 714009E), the National Basic Research Program of China Grant Nos. 2007CB807900, 2007CB807901, the National Natural Science Foundation of China Grant Nos. 60604033,60553001, and the Hi-Tech research and Development Program of China Grant No. 2006AA10Z216.
G. Pandurangan et al. (Eds.): WASA 2010, LNCS 6221, pp. 1–10, 2010. c Springer-Verlag Berlin Heidelberg 2010
2
H. Tan et al.
Fig. 1. The optimal placement pattern on a plane
Fig. 2. Coverage of a sensor in a finite rectangle with an obstacle (the gray area is covered)
on the vertices of equilateral triangles (Figure 1). Several other optimal deployment patterns have also been proposed to achieve full coverage and k-connectivity (k ≤ 6) on a plane in [4]. The Art Gallery problem [14] studies how to guard a gallery with the minimum number of cameras, where a location is guarded as long as there is line-of-sight from a camera. In this paper, in addition to the constraint of the limited sensing radius (rs ), the coverage of a sensor (s) is also affected by obstacles and the region boundary (Figure 2). The problem of using the minimum number of sensors to achieve full coverage for a region with obstacles has been proved to be NP-hard [5]. Paper [2] categorizes the approaches for coverage into three groups: force based [6,7], grid based [4,8,13], and computational geometry based [10,11,12]. The authors of [7] propose a virtual force algorithm (VFA) to enhance an initial random placement over a region with obstacles. Their method extremely depends on the sensors’ mobility and energy. In [9], an efficient algorithm is designed for a √robot to place sensors amid obstacles. Paper [12] deploys sensors with distance 2rs along the boundaries of obstacles and the region. Then Delaunay triangulation is applied to determine the positions for additional sensors for full coverage. The whole region is divided into single-row and multi-row regions in [13]; besides full coverage, the authors also guarantee network connectivity. In order to cover the holes, they deploy sensors along the boundaries of obstacles and the region with a constant distance based on a relationship between rs and the sensor’s communication radius rc . To handle areas near obstacles and the region boundary, existing methods for stationary sensors [9,12,13] would simply place sensors along the boundaries with constant distances. We call these methods contour-based. To achieve full coverage, contour-based methods are effective for simple regular regions and obstacles, such as where the boundaries are long straight lines. However, for obstacles and regions that are arbitrarily irregular, such as when there are comb-shaped boundaries, these methods become inefficient. Without considering the specific shapes of boundaries, they may not produce full coverage unless additional sensors are placed at each turning point on the boundaries. In fact, even the best results by contour-based methods that place sensors with dynamic distances can be inefficient (Figure 3). In this paper, in view of the inefficiency of existing deployment methods when handling irregular boundaries, we consider the shapes of boundaries explicitly. Using computational geometry techniques, our algorithms can find the holes accurately and cover them efficiently. Our method performs excellently for both regular and irregular obstacles and regions, including some extremely irregular
Arbitrary Obstacles Constrained Full Coverage in Wireless Sensor Networks
(a)
(b)
3
(c)
Fig. 3. Coverage near a part of the boundary: (a) the contour-based placement with a constant distance: 5 sensors, (b) the best for the contour-based methods: 2 sensors, (c) the optimal placement: 1 sensor
ones. The rest of the paper is organized as follows: in Section 2, we define the models and the problem; Section 3 describes our placement method; Section 4 gives the analysis and experimental results; Section 5 discusses some variations of our method; Section 6 concludes the paper and points out some future work.
2
Problem Definition
The region of interest, denoted as A, is a 2D finite area with an arbitrary boundary and contains arbitrary obstacles. There are no isolated subregions, and the obstacles have no holes inside themselves. The area that needs to be covered is the region minus the obstacles. Both the region and obstacles are modeled as simple polygons of finite sizes on the 2D plane. The sensors are stationary and homogenous with a fixed sensing radius rs . Here we assume the binary sensor model: the sensing range of s is a disk centered at s with a radius of rs ; a point is covered by a sensor if it is within a distance of rs and there is a line of sight from the sensor. The coverage of a sensor with obstacles, Cov(s), may be a partial disk (Figure 2). If there are n obstacles inside A, and the obstacle i occupies an area Obsi , the total area occupied can be denoted as O = ∪i∈[1,n] Obsi . And Cov(s) is defined as: Cov(s) = {u ∈ A − O| u − s ≤ rs , ku + (1 − k)s ∈ A − O, ∀k ∈ [0, 1]} Full coverage for a sensing region A means every point in the area A−O must be within Cov(s) of at least one sensor s. Our sensor placement problem is defined as placing the minimum number of sensors in a finite region with arbitrary boundary and obstacles to achieve full coverage.
3
Sensor Placement Algorithms
To achieve full coverage for a region A, our method works in four procedures: 1) to deploy a regular pattern over the region; 2) to find the uncovered holes; 3) to partition the holes into triangulations; and 4) to place sensors to cover the holes. In the following, we explain these procedures in details. 3.1
Optimal Regular Pattern Deployment (ORPD)
We firstly deploy the regular pattern in Figure 1, which is optimal for covering a plane, for the region A disregarding obstacles and the region boundary. The
4
H. Tan et al.
starting position can be randomly chosen at (x, y) ∈√A. The sensors are placed at (x, y) as well as its six neighbors with distance 3rs in the pattern. Note that we assume a sensor can be ‘placed’ inside an obstacle or outside A in this procedure. For each sensor, as long as it is in A, sensors are added at its neighbor locations. We continue doing this until every neighbor of the sensors inside A is occupied by one sensor. We use three lists Lobs , Lin and Lout to keep track of the sensors placed inside obstacles O, inside A − O, and outside A respectively. Figure 4 gives an example.
Fig. 4. The region after Fig. 5. Finding a hole the ORPD: the white area (gray areas are hole(s)) is A − O
3.2
Fig. 6. Holes are found and merged (gray areas are holes)
Finding Holes
After the ORPD procedure, there may be some subareas near an obstacle or the region boundary, called holes, that are not covered, which is due to: 1) the lack of sensors: some sensors are placed into obstacles or outside the region, such as s1 and s2 in Figure 4; 2) blocking: some sensors’ coverage is blocked by obstacles or the region boundary, such as s3 and s4 . The arbitrary shapes of the obstacles and the region make it difficult to cover these holes efficiently. Our method overcomes this by firstly accurately finding the holes. The ORPD procedure can be regarded as a tessellation of regular hexagons with edge rs inscribed in the circles (Figure 1). Therefore, we model the sensing range of a sensor s by the regular hexagon, and denote it as H(s). Then, it is easy to find the holes caused by the lack of sensors. For each sensor deployed inside obstacles or outside A, the hole of s, hole(s) is the overlap, Hin (s), between H(s) and A − O. It is not as easy to calculate the holes caused by blocking (Figure 5). For a sensor deployed inside A − O, we also first calculate Hin (s). If Hin (s) is nonempty, holes may exist inside it. We denote the perimeter of an area as P (area). P (Hin (s)) consists of PH (s), the blue lines in Figure 5, and PA (s), the red lines excluding the intersection points with PH (s). Note that PH (s) is a part of P (H(s)), and PA (s) is a part of P (A − O). Next, we draw directed lines from s to each vertex v of Hin (s) and extend them until reaching P (H(s)). The line → − sv crosses P (Hin (s)) at points p1 , p2 , ..., pn (n > 0) listed in increasing distances → from s. The segment of − sv inside H(s) is denoted as (s, p1 , p2 , ..., pn ). We set p0 = s and obtain Theorem 1 for finding the vertices of hole(s). Theorem 1. Given (s, p1 , p2 , ..., pn ), for ∀k ∈ [1, n), pk is a vertex of hole(s) if and only if one of the following conditions is satisfied:
Arbitrary Obstacles Constrained Full Coverage in Wireless Sensor Networks
5
1) pk+1 ∈ PH (s) 2) pk+1 ∈ PA (s) AND pk +p2 k+1 ∈ Hin (s) p +p 3) pk−1 ∈ PA (s) AND k 2 k−1 ∈ Hin (s) 4) pk−1 ∈ PA (s) AND pk+1 ∈ PA (s) For k = n, pn is a vertex of hole(s) if and only if pn ∈ PH (s) and pn−1 = s. → Proof. As each − sv stops at P (H(s)), we can get k = n ⇐⇒ pk ∈ P (H(s)), and k ∈ [1, n) ⇐⇒ pk ∈ PA (s). P (H(s)) − PH (s) is inside obstacles or outside A. Therefore, pn is a vertex of hole(s) if and only if pn ∈ PH (s) and pn−1 is not s. As for k ∈ [1, n), the theorem is proved by enumerating all the cases of the positions of pk , pk−1 and pk+1 as follows: pk PA (s) PA (s) PA (s) PA (s) PA (s) PA (s)
pk−1 s s s PA (s) PA (s) PA (s)
pk+1 pk is a vertex of hole(s) PH (s) True P (H(s))−PH (s) False PA (s) True iff pk +p2 k+1 ∈ Hin (s) PH (s) True P (H(s))−PH (s) True iff pk +p2 k−1 ∈ Hin (s) PA (s) True
As the perimeter of hole(s) can only consist of parts of P (Hin (s)) and segments → on each directed line − sv, we have Theorem 2: →i , i = Theorem 2. Connecting the vertices of hole(s) along P (Hin (s)) and − sv 1, 2, ..., m, where m is the number of vertices in Hin (s), we get hole(s). For a single sensor, hole(s) may comprise a set of subholes. We merge the subholes that share at least a point. For all the sensors placed, we continue merging their holes, and denote the final set of holes as HOLE. According to our finding process, we can see that the holes have good properties: 1) narrow in width: the width of the hole for a single s is no larger than √ rs . After merging, each part of a hole in HOLE has a width no larger than 3rs ; otherwise there must be some sensors inside the hole, which is a contradiction; √ 2) accurate in size: if the sensing range of s is simulated as H(s) of area 3 2 3 rs2 as we do now, HOLE is exactly the uncovered area. Actually the range is a disk √ of area πrs2 . Then hole(s) is at most (π − 3 2 3 )rs2 larger than the real uncovered area in the sensing range of s. Algorithm 1 implements the whole procedure, and Figure 6 gives an example. 3.3
DT-Based Partition of Holes
To cover a hole in HOLE, we partition it into triangles whose edges are no longer than rs , so that a sensor can be placed at any of the three vertices of a triangle. We achieve this by the following three steps: Step 1: Partitioning the long edges. If an edge of the hole is longer than rs , rls − 1 points are added to partition it evenly, such as AB in Figure 7. We treat the newly added points as vertices of the hole.
6
H. Tan et al.
Algorithm 1. Finding Holes Input:the region A, obstacles O, Lin , Lout and Lobs Output: the holes HOLE 1: For each item s ∈ Lout ∪ Lobs do 2: hole(s) = H(s) ∩ (A − O) 3: if hole(s) = ∅, HOLE = HOLE ∪ hole(s) 4: End For 5: For each item s ∈ Lin do 6: Hin (s) = H(s) ∩ (A − O) 7: If Hin (s) = ∅, Then 8: Finding the vertices of hole(s) /* Theorem 1 */ Compute and merge subholes to get hole(s); update HOLE /* Theorem 2 */ 9: End If 10: End For 11: For each pair of items hole1 and hole2 in HOLE 12: if hole1 ∩ hole2 = ∅, hole = hole1 ∪ hole2 and update HOLE 13: End For
Step 2: Applying Delaunay triangulation. We apply DT over the vertices of the hole, and get a triangulation of the hole. Here DT is chosen because 1) it is efficient (O(nlogn) time, where n is the number of vertices), and 2) the minimum angle of all the triangles is maximized thus avoiding skinny triangles [14]. Based on the advantage of DT and the property that our holes are narrow, the triangulation will add no or just a few long edges that need to be handled in next step. Step 3: Partitioning triangles with an edge longer than rs , such as CD in Figure 7. Also, to avoid skinny triangles, we always partition the longest edge among all the triangles. This step stops until all the edges are bounded by rs and we finally get a partition, Thole , over the hole. The partition for a hole from Figure 6 is illustrated in Figure 7. After handling all the holes in HOLE, we get a set of partitions, Tholes , as described in Algorithm 2. 3.4
Placing Sensors to Cover Holes
Based on the partition, full coverage is equivalent to satisfying the requirement that at least one vertex of each triangle in Tholes is placed a sensor. For each Thole in Tholes , we first compute its dual graph, D(Thole ), which has a node v for every triangle t(v) in Thole . Two nodes u and v form an edge if t(v) and t(u) share at least a point. If D(Thole ) is a tree, it is 3-colorable. When performing DFS (Depth-First Search) on the tree, for each v being visited except the root, there must be one or two (when t(v) shares only a vertex with the triangle visited in the last step) free nodes uncolored in t(v). However, in our case, D(Thole ) may be a graph with cycles and not 3-colorable. In order to ensure that every triangle has three different colored vertices, we allow a vertex to be ‘doubly colored’. When performing DFS on the graph, for the last node v in a cycle, the free vertex in t(v) has been colored. We check whether the three vertices of t(v) have had three different colors. If yes, we go on to visit the next node directly; if no, we append the absent color to a colored free vertex and make it doubly colored,
Arbitrary Obstacles Constrained Full Coverage in Wireless Sensor Networks
7
Algorithm 2. DT-based partition of Holes Input: the set of holes HOLE Output: a partition Tholes over HOLE 1: For each hole in HOLE do 2: Initialize an array Lp , a partition Thole and a sorted array Le empty 3: Lp = Lp ∪ vertices of hole 4: For each edge e of hole do /* Step 1 */ add length(e) − 1 points evenly on e and append the points to Lp rs End For /* Step 2 */ 5: Do DT over Lp and store the triangulation of hole to Thole 6: Insert edges in Thole longer than rs to Le in decreasing order of lengths /* Step 3 */ 7: While(Le is nonempty) do 8: add length(e) − 1 points evenly on the first item e and remove it rs 9: For each triangle containing e do connect the points added to the vertex that is not on e; update Thole 10: if there are edges added longer than rs , insert them to Le 11: End For 12: End While 13: Tholes = Thole ∪ Tholes 14: End For
such as the vertex D in Figure 7. After coloring, we choose the smallest group of the vertices with the same color to place our sensors. Because for each cycle in D(Thole ), there is at most one vertex in Thole doubly colored, we have Theorem 3: Theorem 3. For a hole h, if it has n vertices in Th and c cycles in D(Th ), n+c 3 sensors can always fully cover it. After placing sensors to cover all the holes, together with the sensors in Lin , we can get full coverage of the region A (Figure 8).
Fig. 7. Partition a hole into triangles and color the vertices.
4
Fig. 8. Full coverage: red Fig. 9. Cover a rectangle of and green points are sen- long edges: red and green sors points are sensors
Analysis and Experiments
Because of the arbitrary obstacles and the region, to analyze the bounds on the number of sensors for full coverage, we need to use parameters from both the input
8
H. Tan et al.
region and our placement algorithms. For the region A, nv is the number of vertices on P (A − O), and the length of each edge i on P (A − O) is leni . For the holes in HOLE, the number of vertices located on {PH (s)|hole(s) = ∅} is nvph , and = ∅} is nvpa . The number of sensors to the number of vertices on {PA (s)|hole(s) cover HOLE is nch . k is the number of vertices to divide long edges after applying DT over HOLE. Recall that there are no or at most a few edges longer than rs after DT, so k is small. m is the total number of cycles in the dual graphs of Tholes . m is also small and closely related to the shapes and positions of obstacles and the region boundary. The size of Lin is nin , and the number of vertices in Tholes is nvt . Then the number of sensors to achieve full coverage of A is: N = nin + nch ≤ nin + (nvt + m)/3 / ∗ T heorem 3 ∗ / i nvph + nvpa + i ( len rs − 1) + k + m = nin + 3 leni nvph + nv + i ( rs − 1) + k + m ≤ nin + / ∗ nvpa ≤ nv ∗ / 3 area(A − O) area(A − O) √ N≥ = area(H(s)) 3 3rs2 /2
(1) (2) (3) (4)
nin is the asymptotically optimal number of sensors to cover the region excluding i HOLE by the ORPD procedure. nvph approximates to nvpa + i ( len rs − 1) in most cases, and for irregular obstacles and regions, nvph can be much i smaller. So, the upper bound of the sensors for holes is nearly 23 (nv + i ( len rs − 1)). However, for contour-based methods, the sensors placed along boundaries can i − 1), where r is the constant placement distance not larger reach nv + i ( len r √ than 2rs . We carried out experiments to validate the above analysis and to show the effectiveness of our approach for both regular and irregular cases. The example in Figure 8 illustrates the effectiveness of our approach in handling comb-shaped boundaries. Figure 9 is to cover a rectangle, which illustrates the handling of long straight lines. Moreover, we conducted simulations for four types of regions (Figure 10) using three types of sensors with different rs . Figure 11 compares our results with the contour-based ones’. ‘Contour-based-1’ is to first place sensors along the boundaries, and then add extra sensors for full coverage via a nearoptimal placement. ‘Contour-based-2’ applies the ORPD procedure and then places sensors along the boundaries to cover the holes. When executing ORPD in ’Contour-based-2’ and in our method, we try different locations for the first sensor, and choose the one leading to the fewest sensors for full coverage. Greedily, we place the first sensor r2s away from the longest boundary and rotate the regular pattern to fully cover the longest boundary. We can see that the more irregular the obstacles and region are, the more sensors our method can save.
5
Discussion
We have considered only opaque obstacles which neither allow sensors to be deployed inside nor allow the sensing signal to pass through. There exist other
Arbitrary Obstacles Constrained Full Coverage in Wireless Sensor Networks
(a)
(b)
(c)
9
(d)
Fig. 10. Four types of regions: (a) a regular region and obstacles (b) an indoor-like region (c) an outdoor-like region (d) an extremely irregular region and obstacles
Fig. 11. Comparison of the contour-based methods with ours in above 4 regions
kinds of obstacles such as transparent obstacles (ponds are examples) which do not allow sensors placed inside but allow signals to pass through. When the obstacles and region boundary are all transparent, the holes appearing after the ORPD procedure are only those due to the lack of sensors. We can compute Hin (s) for each s ∈ Lout ∪ Lob . For each nonempty Hin (s), we need to add at most 5 sensors to cover it [5]. Setting n = |{s ∈ Lout ∪ Lob |Hin (s) = ∅}|, we have the upper bound of the sensors needed as nin + 5n. Note that the upper bound in [5] is incorrect because it sums up each Hin (s) without considering their positions which are as crucial as their sizes. An example to refute their upper bound is a w × l rectangle with w → 0. In practice, due to the inherent uncertainty of a sensor’s sensing ability, the probabilistic sensor model is more reasonable than the binary model [7]. As full coverage is achieved in our placement, for any point in A − O, there must be at least one sensor s within a distance rs . Therefore, our coverage probability for any β point is not smaller than e−λre , where λ, re and β are parameters in the model. If a higher probability is required, we need to use a virtual sensing radius r instead β of rs , where rs − re ≤ r < rs , so that the probability e−λ(r+re −rs ) is guaranteed. For arbitrary obstacles, the effective coverage of a sensor can be infinitesimal. The number, shapes, sizes as well as relative positions of obstacles make it hard to design and analyze algorithms for full coverage. In practice, obstacles are rarely extremely irregular. Therefore, we may choose to study coverage for a limited number of special sizes and shapes of obstacles. Moreover, instead of full coverage, we may also choose to ignore holes smaller than a certain predefined threshold.
10
6
H. Tan et al.
Conclusion and Future work
In this paper, we propose an efficient full coverage method for a sensing region with arbitrary boundary and obstacles. We achieve this by carefully studying how the obstacles and the region boundary block coverage. The holes arising from an optimal regular pattern deployment are efficiently and accurately calculated. Algorithms based on Delaunay triangulation and 3-coloring are designed to cover these holes. Compared with other methods, the proposed method can achieve full coverage while dramatically saving sensors especially when the region and obstacles are irregular. Besides the extension mentioned in the previous section, future work can be carried out in many directions, such as multiple connectivity and coverage with obstacles, 3D coverage and the surface coverage [15] with obstacles, coverage by mobile and heterogeneous sensors, etc.
References 1. Wu, J.: Handbook on Theoretical & Algorithmic Aspects of Sensor. In: Ad Hoc Wireless, and Peer-to-Peer Networks. Auerbach Publication, US (2006) 2. Aziz, N.A.A., Aziz, K.A., Ismail, W.Z.W.: Coverage Strategies for Wireless Sensor Networks. World Academy of Science, Engineering and Technology 50 (2009) 3. Kershner, R.: The Number of Circles Covering a Set. American Journal of Mathematics 61, 665–671 (1939) 4. Bai, X., Xuan, D., Yun, Z., Lai, T.H., Jia, W.: Complete Optimal Deployment Patterns for Full-Coverage and k-Connectivity (k ≤ 6) Wireless Sensor Networks. In: Proc. of ACM MobiHoc 2008 (2008) 5. Shyam, M., Kumar, A.: Obstacle Constrained Total Area Coverage in Wireless Sensor Networks. CoRR abs/1001.4753 (2010) 6. Howard, A., Poduri, S.: Potential Field Methods for Mobile-Sensor- Network Deployment. In: Bulusu, N., Jha, S. (eds.) Wireless Sensor Networks A System Perspective. Artech House, London (2005) 7. Zou, Y., Chakrabarty, K.: Sensor deployment and target localization based on virtual forces. In: IEEE INFOCOM 2003 (2003) 8. Shen, X., Chen, J., Wang, Z., Sun, Y.: Grid Scan: A Simple and Effective Approach for Coverage Issue in Wireless Sensor Networks. IEEE International Communications Conference, volume: 8, pp. 3480-3484. (2006) 9. Chang, C.Y., Chang, C.T., Chen, Y.C.: Obstacle-Resistant Deployment Algorithms for Wireless Sensor Networks. IEEE Trans. on Veh. Tech. (2009) 10. Wang, G., Cao, G., Porta, T.L.: Movement-Assisted Sensor Deployment. In: IEEE INFOCOM 2004, vol. 4, pp. 2469–2479 (2004) 11. Megerian, S., Koushanfar, F., Potkonjak, M., Srivastava, M.: Worst and Best-Case Coverage in Sensor Networks. IEEE Trans. on Mob. Comput. 4(1), 84–92 (2005) 12. Wu, C.H., Lee, K.C., Chung, Y.C.: A Delaunay Triangulation based method for wireless sensor network deployment. Computer Communications 30 (2007) 13. Wang, Y.C., Hu, C.C., Tseng, Y.C.: Efficient Placement and Dispatch of Sensors in a Wireless Sensor Network. IEEE Trans. on Mob. Comput. 7(2) (2008) 14. Berg, M., Cheong, O., Kreveld, M.V., Overmars, M.: Computational geometry: algorithms and applications, 3rd edn. Springer Press, Heidelberg (2008) 15. Zhao, M.C., Lei, J., Wu, M.Y., Liu, Y., Shu, W.: Surface Coverage in Wireless Sensor Networks. In: IEEE INFOCOM 2009, pp. 109–117 (2009)
Heuristic Algorithms for Constructing Connected Dominating Sets with Minimum Size and Bounded Diameter in Wireless Networks Jiguo Yu1, , Nannan Wang1 , and Guanghui Wang2 1
School of Computer Science, Qufu Normal University, Ri-zhao, Shandong, 276826, P. R. China
[email protected],
[email protected] 2 School of Mathematics, Shandong University, Ji-nan, Shandong, 250100, P.R. China
[email protected]
Abstract. Connected dominating set (CDS) is widely used in wireless networks as a virtual backbone for communication and routing between nodes. In order to measure the quality of a CDS, most researches in this area focus on reducing the size of a CDS, neglecting other important metrics, such as diameter between two communication parties. This paper considers the diameter as a quality factor for CDS construction, and develops two new heuristic algorithms. In particular, the CDS computed by the first algorithm has constant ratios 9 and 3 for its size and diameter, respectively. And that of the second algorithm has constant ratios 5 + ln 10 and 2. Both theoretical analysis and simulation show out the performance of the algorithms.
1
Introduction
Wireless ad-hoc networks are multi-hop, self-organizing autonomous networks, do not rely on any existing or predefined network infrastructure. And terminal nodes randomly dispose. Wireless sensor networks are decentralized distributed systems. Numerous sensors are densely disposed in the monitor region with a random manner. The sensors are used for collecting physical parameters such as light intensity, sound, or temperature. Wireless networks including wireless adhoc networks and wireless sensor networks have been attracting more and more attentions in the recent years and they are being used in a variety of military and civil applications such as battle fields, disaster recoveries, conferences, concerts, environmental detections, health applications and so on.
The work is supported by NNSF (60373012, 10871119) of China, NSF (ZR2009GM009, ZR2009AM013), Promotional Foundation (BS2009DX024) for Middle-aged or Young Scientists, EDRP (J07WH05) of Shandong Province, DRF and UF (XJ0609) of QFNU. The corresponding author.
G. Pandurangan et al. (Eds.): WASA 2010, LNCS 6221, pp. 11–20, 2010. c Springer-Verlag Berlin Heidelberg 2010
12
J. Yu, N. Wang, and G. Wang
An undirected graph G = (V, E) is usually used to represent a wireless network. V is the set of mobile hosts in the network and E represents all the links in the network. It is assumed that all the hosts are deployed in a 2-D plane and their maximum transmission range R are the same. Thus the resultant topology graph of the network is modeled as an undirected Unit Disk Graph (UDG) [3]. Otherwise, it is a general graph [13]. In the context of graph theory, we call a host as a node. A link between nodes u and v exists if and only if their distance is at most R. Although a wireless network has no physical backbone, many researchers have proposed the concept of virtual backbone infrastructure [5], which organizes a hierarchical structure of ordinary nodes to achieve scalability and efficiency. Finding a connected dominating set (CDS) of a given graph is an effective way for constructing a virtual backbone. In general, a dominating set (DS) of a graph G = (V, E) is a subset V ⊂ V such that each node in V − V is adjacent to at least one node in V . A connected dominating set (CDS) is a dominating set whose induced subgraph is connected. The nodes in the CDS are called the dominators. Other nodes in V are called dominatees. With the help of the CDS, the routing is easier and can adapt quickly to the topology changes, and only the nodes in the CDS need to maintain the routing information. Then the search space for the route is reduced only within the CDS. The construction of a minimum-sized CDS in an UDG is proved to be NP-hard [7]. In order to measure the quality of a CDS, the size of the CDS is the primary concern. However, there exist other important metrics that are also needed to be taken into account. In addition to size, this paper also considers diameter as a metric to evaluate the constructed CDS. The diameter of a given connected graph is the length of the longest shortest paths between a pair of nodes in the graph. Mohammed et al. [12] pointed out that in wireless networks, the probability of message transmission failure often increases when a message is sent through a longer path. The rest of the paper is organized as follows. Section 2 reviews some related works. Section 3 presents our two heuristic algorithms for constructing a CDS, and theoretical analysis shows out the performance of the algorithms. Section 4 gives the results of simulation. Section 5 concludes this paper.
2
Related Works
The idea of using a CDS as a virtual backbone for routing was proposed in [6]. Since then many efforts [1, 2, 4, 8, 11, 12] have been made to design approximations or heuristics for MCDS in wireless networks which focus on devising algorithms to produce a small approximation ratio. However, all of the above works only consider the size of a CDS. The diameter of a CDS which is also an important parameter should be another primary concern when constructing a CDS. In [12], the diameter of a CDS is taken into account. However, the performance ratio of the algorithm is not given. Kim et al. proposed a heuristic algorithm (CDS-BD) for constructing a CDS with bounded diameters in wireless networks [10]. This paper improves the CDS-BD algorithm and develops two heuristics for constructing connected dominating set with minimum size and bounded
Heuristic Algorithms for Constructing Connected Dominating Sets
13
diameter. It also proves that our algorithms have constant performance ratios for the size and diameter of the constructed CDS.
3
Heuristic Algorithms
In order to develop algorithms for wireless networks and give mathematical proofs of their correctness and performance, appropriate models are needed [13]. Let V ⊂ 2 be a set of nodes in the 2-dimensional plane. The Euclidean graph G = (V, E) is called unit disk graph (UDG) if any two nodes are adjacent if only if their Euclidean distance is at most 1. That is, for arbitrary u, v ∈ V , it holds that {u, v} ∈ E ⇔ |u, v| ≤ 1. In other words, two nodes are adjacent if and only if they are within each other’s transmission range. For simplicity, in the following selection of dominators, we use node rank as the deterministic criterion. Define the rank of node u to be an ordered pair of (du , idu ), where du is the node degree and idu is the node ID of u. We say that a node u with rank (du , idu ) has a higher order than a node v with rank (dv , idv ) if du > dv , or du = dv and idu < idv . The new CDS construction algorithms have two phases. First to construct an MIS for the graph G. Then to connect the MIS. The detailed process of the phase 1 is as follows. ——————————————————————————————————– Phase 1: M IS(G) (G = (V, E)) ——————————————————————————————————– /* find an MIS in the following way: */ 1. Choose a root r ∈ V (i.e. using a leader selection algorithm); 2. Compute the hop distance from r to each node (i.e. using breadth first search); 3. Let Vk = {y ∈ V |Hopdist(r, y) = k}, kmax is the maximum k, and Gk is the subgraph of G induced by Vk ; /* Hopdist(x,y) is the hop distance from node x to node y over the shortest path between them. */ 4. Find a maximal independent set(MIS) Ik of Gk for all odd k. Let I be the Ik ; union of Ik for all odd k, thus I = k∈odd
5. Color all nodes of I in black and color every node adjacent to a black in gray; 6. Return I. —————————————————————————————————— Lemma 1. For any unit disk graph G, the size of a maximal independent set is at most 3 ∗ opt + 3, where opt is the size of a minimum connected dominating set. This lemma has been proved in [14], and the bound is tight. Theorem 1. I returned from phase 1 is an MIS of the whole graph G.
14
J. Yu, N. Wang, and G. Wang
Proof. From phase 1, we can see that I =
Ik , that is, I is the union of
k∈odd
Ik for all odd k. Thus I dominates all the nodes of Vk . Furthermore, phase 1 colors every node adjacent to a black in gray, thus all the nodes of Vk−1 are gray. When the phase 1 finishes, each node in V is either black or gray, dominated by I. Therefore, I is an MIS of G. When the phase 1 ends, an MIS I of G is obtained. The next phase is to find the least connectors to connect the nodes in the MIS to form a CDS of G. The main difficulty in lowering the approximation ratio between CDS and MCDS lies in the reduction of connectors used to connect the nodes in the MIS [9]. There are two methods to connect the nodes in I obtained from the phase 1. —————————————————————————————————— Phase 2: CDS(G) (M IS(G), G = (V, E)) —————————————————————————————————— Method 1: /* connect I into a CDS in the following way: */ 1. Suppose k is odd; 2. for k = 1 to kmax do 3. if Ik has i (i ≥ 2) black nodes 4. for m = 2 to i do 5. if there are m black nodes in Ik which have common parent nodes in Vk−1 6. then color the parent node y with highest rank in black; 7. else Each of the m black nodes selects a parent node u with the highest rank in Vk−1 , and colors u in black. Suppose v is u’s parent node with the highest rank in Vk−2 , color v in black; 8. end for 9. else if Ik has only one black node x 10. then color y ∈ Vk−1 in black, which is the neighbor of x with the highest rank; Suppose z is y’s parent node with the highest rank in Vk−2 , color z in black; 11. end if 11. end for 12. Add all black nodes into C; 13. Return C. Method 2: /* connect I into a CDS in the following way: */ 1. Initialize the set of blue nodes S as ∅; 2. while there are more than one connected black-blue components exist do /*A black-blue component is a connected component of the sub-graph induced only by black and blue nodes without considering connections between blue nodes.*/ 3. Choose the vertex v that connects the maximum number of black-blue components, change it’s color from gray to blue;
Heuristic Algorithms for Constructing Connected Dominating Sets
15
4. And set S = S ∪ {v}; 5. end while 6. Return the blue node set S; 7. Denote C as the set of black and blue nodes in V , thus C = I ∪ S; 8. Return C. —————————————————————————————————— Theorem 2. C returned from method1 in phase 2 is a CDS of G. Proof. After phase 1, all the nodes should be black or gray, and all the black nodes (set I) form a dominating set. Now we need to prove that C formed by adding more black nodes to I is connected. As we all know, if a graph is connected, then every node (except the root r) has a path to the root node. Therefore, in order to show C is connected, we now prove by induction that there exists a path from every black node x ∈ V /r to the root r. Let x be a black node in V2i−1 . When i = 1, x is connected to r, since r is the only parent node of x. Assume for i ≤ k, all the black nodes are connected to r. For a black node x ∈ V2(k+1)−1 , we color y ∈ V2k black where y is the highest rank parent node of x’s parent nodes in V2k . Furthermore, y is gray before becoming black, dominated by I2k−1 , that is, y is dominated by a black node z in V2k−1 , thus x is connected with z. Owing to for i ≤ k, all the black nodes are connected to r, thus z is connected to r. Therefore, the black node set C is a CDS of G. Theorem 3. C returned from method2 in phase 2 is a CDS of G. Proof. After phase 1, an MIS I of G is obtained, then I is also a dominating set of G. In the method2, a CDS is constructed by selecting blue nodes to connect the nodes in the MIS I. In this method, we select the node that could connect the maximum number of connected black-blue components together each time, and color the node in blue. A black-blue component is a connected component of the sub-graph induced only by black and blue nodes, without considering connections between blue nodes. Using this heuristic algorithm, we can select the least blue nodes to connect the nodes in I. Finally, the set C of black and blue nodes is a CDS of G. Thus, phase 1 and method1 of the phase 2 constitute the first algorithm for CDS, and phase 1 and method2 of the phase 2 constitute the second algorithm. The following analyzes the performance ratios for the size and diameter of CDS constructed by the two algorithms. Theorem 4. Let set C is the CDS constructed by the first heuristic algorithm, opt is the size of a minimum connected dominating set of G. Then |C| ≤ 9 ∗ opt + 7. Proof. The main idea of the algorithms is first to construct an MIS I of G, then to select connectors for connecting the nodes in I to form a CDS. Therefore, set
16
J. Yu, N. Wang, and G. Wang
C includes the nodes of I and connectors, thus |C| = |I| + |connectors|. From lemma 1, we know that |I| ≤ 3 ∗ opt + 3. Now we consider the size of connectors. If there are α black node groups in I having common parent nodes, and m is the average size of these groups. Then we have |connectors| ≤ 2(α + |I| − mα − 1) = 2(|I| − (m − 1)α − 1),
(1)
|C| = |I| + |connectors| = 3|I| − 2(m − 1)α − 2.
(2)
Suppose the worst happens, that is, none of the black nodes in I has common parent nodes. Then, α = 0. Therefore, |C| = 3|I| − 2.
(3)
Furthermore, |I| ≤ 3 ∗ opt + 3, therefore, |C| ≤ 9 ∗ opt + 7.
(4)
Lemma 2. Let S is the set of blue nodes obtained from method2 in phase 2, opt is the size of a minimum connected dominating set for an Unit Disk Graph G. Then |S| ≤ (2 + ln 10) ∗ opt. This lemma has been proved in [15]. Theorem 5. Let set C is the CDS constructed by the second heuristic algorithm, opt is the size of a minimum connected dominating set of G. Then |C| ≤ (5 + ln 10) ∗ opt + 3. Proof. From the method 2 in the phase 2, we know |C| = |I| + |S|. From the lemma 1, we have |I| ≤ 3 ∗ opt + 3, and from the lemma 2, we have |S| ≤ (2 + ln 10) ∗ opt. Therefore, |C| = |I| + |S| ≤ (5 + ln 10) ∗ opt + 3.
(5)
Theorem 6. In the first algorithm, every black node in Vk is away from root r within a distance of at most Tk , where Ti =
1 3 3 i − , i ∈ (1, 3, 5, · · ·), Ti = i − 1, i ∈ (2, 4, 6, · · ·). 2 2 2
(6)
Proof. Let Di be the distance within which a black node in Vi is away from r. According to the method1, if k is an odd number, then the maximum number of introduced black nodes is 2. Therefore, the distance between a node at level k to a node at level k − 2 is at most 3, i.e. Dk ≤ Dk−2 + 3. Therefore, D1 = 1, D3 ≤ D1 + 3, . . . , Dk ≤ Dk−2 + 3
(7)
Heuristic Algorithms for Constructing Connected Dominating Sets
17
By solving these inequalities, we have: Dk ≤ 3( k2 − 12 ) + D1 = 32 k − 12 .
(8)
If k is an even number, one black node at level k is adjacent to a black node at level k − 1. Thus, Dk ≤ Dk−1 + 1 = 32 (k − 1) −
1 2
+ 1 = 32 k − 1.
Since Ti is the maximum Di , the theorem is true.
(9)
Theorem 7. In the second algorithm, every black node in Vk is away from root r within a distance of at most Tk , where Ti = i, i ∈ (1, 3, 5, · · ·).
(10)
And every blue node in Vk is away from root r within a distance of at most Tk , where Ti = i, i ∈ (2, 4, 6, · · ·). (11) Proof. Let Di be the distance within which a black node in Vi is away from r. According to the method2, if k is an odd number, then the maximum number of introduced connectors is 1. Therefore, the distance between a node at level k to a node at level k − 2 is at most 2, i.e. Dk ≤ Dk−2 + 2. Therefore, D1 = 1, D3 ≤ D1 + 2, . . . , Dk ≤ Dk−2 + 2
(12)
By solving these inequalities, we derive: Dk ≤ k − 1 + D1 = k.
(13)
k is an even number if one blue node is at level k. And one blue node at level k is adjacent to a black node at level k − 1. Thus, Dk ≤ Dk−1 + 1 = k − 1 + 1 = k. Since Ti is the maximum Di , the theorem is true.
(14)
Theorem 8. Let D∗ be the diameter of any optimal CDS of a graph G, then the diameter of CDS C constructed by our first algorithm satisfies: Diam(C) ≤ 3D∗ + 5, while the diameter of CDS C constructed by our second algorithm satisfies: Diam(C) ≤ 2D∗ + 4. Proof. Let p denote the longest shortest-path from a node u to a node v in graph G. According to the definition of diameter, we have |p| = Diam(G). From our algorithms, we can see that a tree based on breadth first search is built first. Thus, it is obvious that Diam(G) ≥ kmax . The diameter of a CDS is at least Diam(G)-2, i.e. D∗ ≥ Diam(G) − 2. Since there exists a path p between u and v, which only includes nodes in C except u and v. If u and v are dominatees, we have D∗ ≥ |p | − 2.
18
J. Yu, N. Wang, and G. Wang
Meanwhile, |p | ≥ Diam(G). Therefore, D∗ ≥ |p | − 2 ≥ Diam(G) − 2 ≥ kmax − 2
(15)
According to the theorem 6, the maximum distance from any black node to r is 3 1 2 kmax − 2 . Thus, Diam(C) ≤ 2( 23 kmax − 12 ) = 3kmax − 1 (16) = 3(kmax − 2) + 5 ≤ 3D∗ + 5 According to the theorem 7, the maximum distance from any node in C to r is kmax . Thus, Diam(C) ≤ 2kmax = 2(kmax − 2) + 4 = 2D∗ + 4.
(17)
4
Simulation
This section shows the results of simulations and evaluates the performance of the algorithms through comparing with the size and diameter of CDS constructed by our two algorithms, CDS-1 and CDS-2, and two centralized algorithms in [10], CDS-BD-C1 and CDS-BD-C2. Simulations are carried out under an ideal network environment. There is no consideration of node’s movement and channel
(a) r= 1 5
(b) r= 2 0
(c) r= 2 5
(d) r= 3 0
Fig. 1. CDS size comparison when the transmission range of nodes is (a)15, (b)20, (c)25, (d)30.
Heuristic Algorithms for Constructing Connected Dominating Sets
( a) r = 1 5
( b) r = 2 0
(c ) r= 2 5
( d) r = 3 0
19
Fig. 2. CDS diameter comparison when the transmission range of nodes is (a)15, (b)20, (c)25, (d)30.
collision. All simulations are implemented in C++. In order to generate a random network, n nodes are randomly distributed in a 100 × 100 2D space. We need to set two parameters. One is the number of nodes in the network, n (ranging from 0 to 100 by 5). The other one is the transmission range of each node, r (varying among 15, 20, 25 and 30). For each fixed number of nodes, we perform the simulation for 200 times and compute the average value. Figure 1 shows the comparison of the four algorithms in terms of CDS size when the maximum transmission range of nodes is 15, 20, 25 and 30. No matter how many the transmission range of nodes, the CDS constructed by CDS-2 has the smallest size, while CDS-BD-C1 obtains the largest CDS size. And the results of CDS-1 and CDS-BD-C2 are close, but that of the CDS-BD-C2 is slightly better than CDS-1. Moreover, as the number of nodes in the network and the transmission range are increasing, CDS-2 is more better than other three algorithms. Figure 2 shows the comparison of the four algorithms in terms of CDS diameter when the maximum transmission range of nodes is 15, 20, 25 and 30. CDS-2 always generates CDS with the shortest diameter, regardless of the number of nodes or transmission range. As the transmission range of nodes is increasing, the diameter of CDSs constructed by the four algorithms is reducing.
5
Conclusion
This paper studies on constructing a minimum CDS with bounded diameter in wireless networks, and proposes two heuristic algorithms. First to construct a maximal independent set MIS for the graph G, then to select connectors to connect the nodes in MIS using two heuristic rules for obtaining a CDS. Theoretical
20
J. Yu, N. Wang, and G. Wang
analysis and simulation results prove that the two algorithms have good performances on CDS size and diameter. In particular, the second one has better performance ratios than other related algorithms in the literature.
References 1. Alzoubi, K.M., Wan, P.J., Frieder, O.: Message-optimal connected dominating sets in mobile ad hoc networks. In: Proceedings of the 3rd ACM International Symposium on Mobile Ad Hoc Networking and Computing (June 2002) 2. Cardei, M., Cheng, M.X., Cheng, X., Du, D.-Z.: Connected domination in ad hoc wireless networks. In: International Conference on Computer Science and Informatics (2002) 3. Clark, B.N., Colbourn, C.J., Johnson, D.S.: Unit Disk Graphs. Discrete Mathematics 86, 165–177 (1990) 4. Cheng, X., Ding, M., Du, H., Jia, X.: Virtual backbone construction in multi hop ad hoc wireless networks. Wireless Communications and Mobile Computing 6(2), 183–190 (2006) 5. Das, B., Bharghavan, V.: Routing in ad hoc networks using minimum connected dominating sets. In: ICC 1997, Montreal, Canada (June 1997) 6. Ephremides, A., Wieselthier, I., Baker, D.: A design concept for reliable mobile radio networks with frequency hopping signaling. Proc. IEEE 75(1), 56–70 (1987) 7. Garey, M.L., Johnson, D.S.: Computers and Intractability: A Guide to the Theory of NP-Completeness. W.H. Freeman, San Francisco (1979) 8. Guha, S., Khuller, S.: Approximation algorithms for connected dominating sets. Algorithmica 20, 374–387 (1998) 9. Islam, K., Akl, S.G., Meijer, H.: A Constant Factor Localized Algorithm for Computing Connected Dominating Sets in Wireless Sensor Networks. In: 2008 14th IEEE International Conference on Parallel and Distributed Systems, pp. 559–566 (2008) 10. Kim, D., Li, Y., Zou, F., Du, D.-Z.: Constructing Minimum Connected Dominating Sets with Bounded Diameters in Wireless Networks. IEEE Transactions on Parallel and Distributed System 20(2), 147–157 (2009) 11. Marathe, M.V., et al.: Simple heuristics for unit disk graphs. Networks 25, 59–68 (1995) 12. Mohammed, K., Gewali, L., Muthukumar, V.: Generating quality dominating sets for sensor networks. In: Proceedings of the Sixth International Conference on Computational Intelligence and Multimedia Applications, pp. 204–211 (August 2005) 13. Schmid, S., Wattenhofer, R.: Algorithmic models for sensor networks. In: Proc. of the 14th International Workshop on Parallel and Distributed Real-Time Systems (2006) 14. Vahdatpour, A., Dabiri, F., Moazeni, M., Sarrafzadeh, M.: Theoretical Bound and Practical Analysis of Connected Dominating Set in Ad Hoc and Sensor Networks. In: Proceedings of the 22nd International Symposium on Distributed Computing, pp. 481–495 (2008) 15. Zou, F., Li, X., Kim, D., Wu, W.: Construction of Minimum Connected Dominating Set in 3-Dimensional Wireless Network. In: Li, Y., Huynh, D.T., Das, S.K., Du, D.-Z. (eds.) WASA 2008. LNCS, vol. 5258, pp. 134–140. Springer, Heidelberg (2008)
Energy-Efficient Algorithm for the Target Q-coverage Problem in Wireless Sensor Networks Hui Liu, Wenping Chen, Huan Ma, and Deying Li Key Laboratory of Data Engineering and Knowledge Engineering, MOE School of Information, Renmin University of China, China
[email protected]
Abstract. In this paper we study the target Q-coverage (TQC) problem where each target needs to be covered by different numbers of sensors. We try to find a collection of Q-covsets which satisfy the coverage quality requirement to maximize the network lifetime. We first prove that the problem is NP-Hard. Then we design a greedy algorithm to efficiently compute the Q-covsets. Finally, simulation results are presented to verify our approach. Keywords: target Q-coverage, network lifetime, greedy algorithm, wireless sensor network.
1
Introduction
Target coverage is a fundamental problem in wireless sensor networks for environment monitoring and surveillance purposes. In general, sensor nodes are powered by limited battery resources. To maximize the network lifetime, many algorithms were proposed to organize sensors into a number of subsets, such that each set completely covers all the targets, and scheduling the time to make these subsets activated successively, such that only one set is active at any time instant [1]-[3]. In [4], the authors studied the maximizing lifetime for multi-attributes of target coverage problem in wireless sensor networks. [6] [7] studied k-coverage problem with the assumption that a sensor can monitor only one target at a time. In practical applications, individual targets are usually associated with different importance. According to the importance of every target, different quality of coverage is required, that is to say, each target needs different numbers of sensors to cover to satisfy its QoS requirement. This problem is called target Q-coverage problem which is first defined in [8]. The authors [8] proposed the column general based approach to solve the problem, but time complexity of the approach may not be a polynomial time. In [9], a simpler heuristic algorithm for the target Q-coverage problem is proposed. [5] studied target coverage in directional sensor network where each target has differentiated coverage quality requirement.
Corresponding author.
G. Pandurangan et al. (Eds.): WASA 2010, LNCS 6221, pp. 21–25, 2010. c Springer-Verlag Berlin Heidelberg 2010
22
H. Liu et al.
In this paper, we also study target Q-coverage problem. The rest of this paper is organized as follows. Section 2 describes the target Q-coverage problem. We prove it is NP-hard and give a greedy algorithm to solve this problem in Section 3. Section 4 presents the simulation results for comparing our algorithm with the HESL algorithm in [9].
2
Network Model and Problem Description
Suppose there are a number of targets {a1 , a2 , · · · , am } with known locations deployed in a plane, while a great number of sensors {s1 , s2 , · · · , sn } are randomly scattered around the targets and continuously observe (cover) them. Each sensor si has its sensing radius ri . A target aj can be sensed by a sensor si if and only if the distance between aj and si is at most si ’s sensing radius. Suppose sensor si has a initial lifetime Ei . We use an integer vector Q = {q1 , q2 , · · · , qm } to express coverage requirement of targets, where qj is the minimum number of sensors which simultaneously cover target aj . To extend the network lifetime and meet coverage demand, we use the sensing scheduling that alternates the sensors between active state and sleep state and guarantees that each target can be covered by at least the requirement number of sensors. Definition 1. Target Q-coverage (TQC) problem: Given m targets and n sensors in an energy constrained wireless sensor network, how to schedule at least qj (qj ≥ 1) sensors at any time cover aj target (j = 1, · · · , m) such that the network lifetime is maximized. Definition 2. A subset D of sensors is called Q-covset if it can satisfy the coverage requirement, i.e., for each target aj , there are at least qj sensors in D which can cover aj . Our goal is to try to find a collection of Q-covsets and assign the lifetimes of Q-covsets to maximize the network lifetime.
3
The Greedy Algorithm
In this section, we first prove that the TQC problem is NP-hard. Theorem 1. The TQC problem is NP-hard. Proof: The maximum set covers (MSC)[1] is a special case of the TQC problem. This is because when qj = 1 for each target aj , the TQC problem becomes the MSC problem. Since the MSC problem is NP-hard [1], thus the TQC problem is NP-hard. In the following, we propose a greedy algorithm for the TQC problem: Greedy with the More Uncovered Targets (the GMUT algorithm). The main idea of the GMUT algorithm is follows:
Energy-Efficient Algorithm for the Target Q-coverage Problem
23
Firstly, we form a Q-covset Dk (k = 1, · · · , K). Here we sort sensors by the decreasing number of covering uncovered targets(If there are some sensors with the same numbers of covering uncovered targets, we list these sensors in order of the decreasing available lifetime). Next we put the first sensor su from the sort set to Dk and modify the values of correlated variables, such as the requirement of targets covered by it. Then repeat these steps till we form a Q-covset. Secondly, we allocate a time slot to every Q-covset Dk . tk is used to represent the time that each Q-covset is active. We set tk as the smaller value between the minimum available lifetime E[i] from Dk and a given small constant w. Next we update the correlated variables’ values, for example the sensors’ available lifetimes in Dk . At last, we continue to find the next Q-covset till there are not enough sensors with available lifetimes to cover the targets. The greedy algorithms returns Knumber of Q-covsets: D1 , D2 , · · · , DK with lifetime t1 , t2 , · · · , tK . The GMUT algorithm is formally represented as follows:
Algorithm 1. GMUT-TQC(S, A, Ei , Q) 1: SET E[i] = Ei , i = 1, 2, · · · , n, K = 1 2: WHILE each target aj is covered by at least qj available sensors in S do 3: Stemp = S, Atemp = A, DK = ∅, Q[j] = qj , j = 1, · · · , m = ∅ do 4: WHILE Atemp 5: sort sensors by the decrement of the numbers of uncovered targets that sensors cover. If some sensors have the same numbers, give the priority to the sensor with maximum available lifetime. 6: Choose the first sensor su ∈ Stemp from the sort set 7: let DK = DK ∪ {su }, Stemp = Stemp − {su } 8: FORALL target aj ∈ Atemp do 9: IF aj is covered by su then 10: Q[j] = Q[j] − 1 11: IF Q[j] == 0 then 12: Atemp = Atemp − {aj } 13: tK = min(minsi ∈DK E[i], w), T = T + tK 14: FORALL sensors si ∈ DK do 15: E[i] = E[i] − tK 16: IF E[i] == 0 then 17: Stemp = Stemp − {si } 18: K++ 19: Return K Q-covsets: D1 , D2 , · · · , DK with lifetime t1 , t2 , · · · , tK .
The input parameters of this algorithm are below: S as the set of sensors, A as the set of targets, Ei as the initial lifetime of the ith sensor and Q = {q1 , · · · , qm } as the targets’ coverage requirements. The set Stemp maintains the list of sensors that have the residual lifetimes greater than zero, thus these sensors can participate in additional Q-covsets. The set Atemp contains the targets that still have not be covered by the current Q-covsets Dk .
24
H. Liu et al.
The Performance Evaluation below shows our algorithm is more better than the HESL algorithm in [9]. This is because each time we select the sensor which covers the maximal number of uncovered targets and has higher residual lifetime to form Dk , thus the formed Q-covset Dk is with both less number and higher residual lifetime. However the HESL algorithm just chooses the sensor with the highest residual lifetime, therefore, its Q-covset may not be better in energyefficient and its network lifetime may lesser than ours.
4
Performance Evaluation
In this section, we will compare our algorithm with the algorithm (HESL) in [9]. In our simulation, we deploy the sensor nodes and targets randomly in a region of 300m × 300m area. To evaluate the performance of our algorithm, we consider the following tunable parameters: the number of sensors N , the number of targets M and the sensing range of sensors R. We suppose each sensor has initial energy Ei randomly from 1 to 10, each target’s coverage requirement qj is selected randomly from 1 to 3, and the time slot w is 0.1. In each experiment, we run 100 times and compute its average value. In first case, we set the sensing range of each sensor is 60m and the target number is fixed 10. From Fig.1, we find that the network lifetime increases as the number of sensors increasing. In second case, we set the sensing range of sensors is 60m and there are 200 sensors deployed randomly in the area. We can see that
180 Network Lifetime
120
HESL GMUT
90 60 30
150
HESL GMUT
120 90 60 30 0
0 60
70
80
90
5
100 110 120 130 140 150
Number of Sensors
Fig. 1. Network lifetime vs. N
10
15
20 25 30 35 Number of Targets
250 HESL GMUT
200 150 100 50 0 50
60
70
40
45
Fig. 2. Network lifetime vs. M
300 Network Lifetime
Network Lifetime
150
80
90 100 110 120 130 140 150 Sensing range
Fig. 3. Network lifetime vs. sensing range
50
Energy-Efficient Algorithm for the Target Q-coverage Problem
25
the network lifetime decreases with the increasing of the number of targets from Fig.2. In third case, we have the parameters setting as that: 100 sensors and 15 targets, and from Fig.3 we find that the network lifetime increases with the increasing of the sensing range. Obviously, our algorithm is much better than the HESL algorithm.
5
Conclusion
In this paper, we study the target Q-coverage problem. First prove the problem is NP-hard. Then a greedy algorithm is proposed to solve this problem. At last, we compare our greedy algorithm with the HESL algorithm and simulation results show that our algorithm is more better than the HESL algorithm.
Acknowledgment This paper was supported in part by Renmim University of China under Grants 10XNJ032 and 10XNG037.
References 1. Cardei, M., Thai, M.T., Li, Y., Wu, W.: Energy-efficient target coverage in wireless sensor networks. In: INFOCOM (2005) 2. Cardei, M., Du, D.-Z.: Improving wireless sensor network lifetime through power aware organization. ACM Wireless Networks 11(3), 333–340 (2005) 3. Liu, H., Wan, P., Yi, C., Jia, X., Makki, S., Niki, P.: Maximal lifetime scheduling in sensor surveillance networks. In: INFOCOM (2005) 4. Wang, L., Li, D.-Y., Li, Z.: Maximizing lifetime for multi-attributes of target coverage problem in wireless sensor networks. In: CWSN (2009) 5. Yang, H., Li, D.-Y., Chen, H.: Coverage quality based target-oriented scheduling in directional sensor networks. In: ICC (2010) 6. Liu, H., Wan, P., Jia, X.: Maximal lifetime scheduling for sensor surveillance systems with K sensors to 1 target. IEEE Transactions on Parallel and Distributed Systems 17(12), 1526–1536 (2006) 7. Liu, H., Jia, X., Wan, P., Yi, C., Makki, S.K., Pissinou, N.: Maximizing lifetime of sensor surveillance systems. IEEE Transactions on Networking 15(4), 334–345 (2007) 8. Gu, Y., Ji, Y., Li, J., Zhao, B.: QoS-aware target coverage in wireless sensor network. Wireless Communications and Mobile Computing 9(12), 1645–1659 (2009) 9. Chaudhary, M., Pujari, A.-K.: Q-coverage problem in wireless sensor networks. In: Garg, V., Wattenhofer, R., Kothapalli, K. (eds.) ICDCN 2009. LNCS, vol. 5408, pp. 325–330. Springer, Heidelberg (2009)
Approaching the Optimal Schedule for Data Aggregation in Wireless Sensor Networks Pei Wang1 , Yuan He2 , and Liusheng Huang1 1
Department of Computer Science University of Science and Technology of China, China 2 Department of Computer Science Hong Kong University of Science and Technology, China
Abstract. Due to the large-scale ad hoc deployments and wireless interference, data aggregation is a fundamental but time consuming task in wireless sensor networks. This paper focuses on the latency of data aggregation. Previously, it has been proved that the problem of minimizing the latency of data aggregation is NP-hard [1]. Using maximum independent set and first fit algorithms, in this study we design a scheduling algorithm, Peony-tree-based Data Aggregation (PDA), which has a latency bound of 15R + Δ − 15, where R is the network radius (measured in hops) and Δ is the maximum node degree. We theoretically analyze the performance of PDA based on different network models, and further evaluate it through extensive simulations. Both the analytical and simulation results demonstrate the advantages of PDA over the state-of-art algorithm in [2], which has a latency bound of 23R + Δ − 18. Keywords: wireless sensor networks, data aggregation, latency.
1
Introduction
A wireless sensor network (WSN) consists of a large number of sensor nodes which communicate with each other via their RF transceivers. Owing to the ad hoc deployments and self-organizing characteristics of sensors, WSNs are suitable for a wide variety of applications such as scientific observation, environmental monitoring, health care, and military surveillance [3,4,5,6,7,8,9]. In those applications, the operation of data aggregation is often used for querying information like event numbers. Shortening the latency of data aggregation is a fundamental requirement in WSNs, especially in real-time applications. In this paper, we focus on reducing the latency of data aggregation by designing a good schedule. This is a challenging issue mainly because of the intrinsic interference in WSNs. When two interfering signals are sent simultaneously, neither of them can be received correctly. Certainly, we can schedule the transmissions of data aggregation to avoid interference. The latency of data aggregation, however, will thus be increased inevitably. Without a good scheduling scheme, data aggregation will result in an impractically high latency. G. Pandurangan et al. (Eds.): WASA 2010, LNCS 6221, pp. 26–35, 2010. c Springer-Verlag Berlin Heidelberg 2010
Approaching the Optimal Schedule for Data Aggregation
27
Previously, it has been proved that the problem of minimizing the latency of data aggregation is NP-hard [1]. Many scheduling algorithms have been proposed to reduce the latency of data aggregation [1,2,10].Theoretically, Chen et al. in [1] prove that the problem of minimizing the latency of data aggregation is NP-hard. They also design an algorithm for data aggregation which has a latency bound of (Δ − 1)R, where Δ is the maximum node degree and R is the network radius measured in hops. Kesselman and Kowalski [10] design an algorithm which has a latency bound of O(log(N )). However, they assume that each node can learn the distance to the closest neighbor and has a special collision detection capability, although such conditions cannot always be guaranteed in WSNs. Among all the existing works, the proposal of Wan et al. in [2] is the closest to our work. They propose a scheduling algorithm based on maximum independent set, which has a latency bound of 23R+Δ−18. They mainly focus on a special scenario, however, in which the communication range equals the interference range. Wan’s results are the state-of-arts on scheduling algorithms of data aggregation. The objective of our study in this paper targets approaching the optimal schedule of data aggregation. We design a scheduling algorithm for data aggregation which has a latency bound of 15R + Δ − 15. Our proposed algorithm, Peonytree-based Data Aggregation, or PDA in short, works as follows. Initially, a data aggregation tree called peony tree is constructed by using maximum independent set and first fit algorithms. The data aggregation process mainly consists of two phases: local aggregation and global aggregation. In local aggregation, raw data at the leaf nodes are transmitted to their corresponding parent nodes for aggregation. In global aggregation, data gathered in local aggregation are further aggregated layer by layer in a bottom-up manner. The latency bounds of the two phases are Δ − 1 and 15R − 14, respectively. We also theoretically analyze the performance of PDA and deduce the latency bound based on a more generic network model, which does not assume equal communication and interference ranges. The rest of this paper is organized as follows. Section 2 introduces the terminology, models, and assumptions in this paper as well as the problem formulation. In Section 3 we elaborate the scheduling algorithm of data aggregation. Section 4 presents the proofs of correctness and theoretical performance analysis, followed by the simulations results in Section 5. We conclude the work in Section 6.
2 2.1
Preliminaries Network Model
We consider a WSN consisting of one sink node s and N sensor nodes. Every sensor node is equipped with only one radio. All nodes share a common wireless channel to communicate. We also assume omni-directional antennas and unit-disk model. A node is only able to communicate with nodes within the communicate range rc and be interfered by nodes within the interference range ri . A node u can receive data correctly if and only if there is exactly one node sending data in the interference range ri of u. Otherwise, collision happens and node u cannot receive data correctly. Our algorithm has no assumptions on rc
28
P. Wang, Y. He, and L. Huang
and ri . For ease of presentation, we first assume rc = ri when elaborating the algorithm in Section 3. We will remove this assumption in Section 4. As for the process of data aggregation, we partition time into slots. A node can either send or receive a data packet in a time slot. The latency of data aggregation in this paper refers to the number of time slots passed during the entire course of data aggregation. Consider a sending node set A and its corresponding receiving node set B. We say data can be aggregated from A to B in a time slot if and only if all nodes in B can receive data correctly when all nodes in A transmit data simultaneously. Now we formulate the problem of data aggregation. We use an undirected graph G = (V, E) to represent a WSN of N nodes, where V denotes the set of nodes and E denotes the set of edges. There is an edge between node u and node v if and only if the Euclidean distance between them is not greater than rc . A feasible data aggregation schedule is a sequence of node-disjoint sending i=K sets {S1 , S2 , ..., SK }, where Si = V − {s}. All nodes in Si can transmit data i=1
simultaneously without interference in the ith time slot. After all nodes in SK finish transmitting data in the Kth time slot, all data are aggregated to the sink node. That is, the latency of data aggregation with the above schedule is K. Denote the corresponding receiving set of Si by Ri . It can be seen that l=K Ri ⊆ ( Sl ) {s}. l=i+1
2.2
Independent Set and Concurrent Set
Node u and node v are independent if and only if they are not within the interference range of each other. If all nodes in X are independent from each other, we call node set X is an independent set. When node u and node v are not independent from each other, we call u and v cover each other. We will use independent set to select dominative nodes in the aggregation tree. Consider two links l1 : p → q and l2 : u → v where p, q, u and v are four nodes. Link l1 and link l2 are independent if and only if p is independent from v and q is independent from u. When link l1 and link l2 are independent, node p and node u can transmit simultaneously without interference. Let L = (VS , VR , f ) be a link set, where VS is the sending set, VR is the receiving set, and f is a mapping function from VS to VR . If all links in L are independent from each other, link set L is an independent link set. Thus, transmissions through the links in an independent link set can be executed simultaneously without interference. Here we call the sending set VS as a concurrent set. Later in this paper, we will use concurrent set to divide the nodes into multiple sets and correspondingly schedule data transmissions into different time slots.
3
Peony-Tree-Based Data Aggregation (PDA)
PDA mainly consists of three components, the construction of peony tree, local aggregation, and global aggregation.
Approaching the Optimal Schedule for Data Aggregation
3.1
29
Construction of Peony Tree
We construct a tree called peony tree for data aggregation, which includes all the nodes in the network. First, an approximately maximum independent set is formed to cover all the nodes. We call nodes in the maximum independent set as dominative nodes. Some additional nodes are then selected to connect dominative nodes so that all dominative nodes are reachable from the sink node. The selected nodes are called connective nodes. Each of the other nodes in the network selects a neighboring dominative node as its parent, and the peony tree is constructed. A node which is neither a dominative node nor a connective node is called a white node. Therefore we have three types of nodes in total. Different from the algorithm proposed in [2] which selects connective nodes arbitrarily, we try to select the minimum number of connective nodes to avoid collision and reduce the aggregation latency. 1. Dominative nodes selection. Initially, we construct a common breadth first search tree TBF S rooted at the sink node s. Denote the depth of TBF S by R. All nodes in the network are thus divided into layers L0 , L1 , ..., LR , according to their depths in TBF S . Specially, L0 = {s}. We denote the maximum independent set by D. At the beginning, D = φ. To minimize the aggregation latency, dominative nodes in D are selected layer by layer in a top-down manner. For a node u in Li , if u is independent from all the other nodes in D, add u into D and remove u and its neighbors from all layers. Otherwise, remove u from Li . Repeat this procedure until Li is empty. When there is no node in Li , continue the procedure in Li+1 . After the procedure finishes at LR , the resulting set D is a maximum independent set, i.e. the dominative nodes are selected. 2. Determination of connective nodes and white nodes. The connective nodes and dominative nodes together constitute the backbone of the network. According to the selection of dominative nodes, a connective node may cover one or more dominative nodes. When connective nodes are selected arbitrarily [2], the number of connective nodes are often more than necessary, reducing the rate of data aggregation. Based on such observation, we select minimum number of connective nodes by using first fit algorithm. Denote the peony tree by T = (V, E }, where V is the node set and E is the edge set. We may divide the dominate nodes into layers D0 , D1 , ..., DR according to their hops to the sink node. For a dominative node u in Di , select a node v in Li−1 , which is a neighbor node of u. Node v is set as the parent of all the dominative nodes in Di which cover v. Remove all the children of node v from Di . Then a dominative node p in Di−1 which covers v is set as the parent of v. Repeat this procedure until Di is empty. When there is no node in Di , repeat the procedure in Di−1 . The procedure continues until no dominative node remains in D2 . At last, set s as the parent of all connective nodes in L1 . Thus all the connective nodes are selected.
30
P. Wang, Y. He, and L. Huang
Those nodes which are neither dominative nodes nor connective nodes are set as white nodes. Denote the set of white nodes by W . For each white node w in W , a dominative node is selected as its parent, which has the lowest depth among all the dominative nodes covering w. Given the depth of TBF S as R, according to the construction of peony tree, there are both connective nodes and dominative nodes in each layer of TBF S , except in layer 0, layer 1, and Layer R. Specifically, sink node s is the unique dominative node in layer 0. There are no dominative nodes in layer 1. There are no connective nodes in layer R of TBF S , either. Consequently, the depth of the peony tree is 2(R − 2) + 1 + 1 + 1 = 2R − 1. 3.2
Local Aggregation
During the local aggregation phase, white nodes transmit the sensory data to their parents (the corresponding dominative nodes) for aggregation. Meanwhile, a dominative node takes aggregation operations when all its child nodes have transmitted data. Because transmissions on dependent links should transmit data in different time slots, to avoid interference and minimize the latency in local aggregation, the set of white nodes W is divided into k node-disjoint maximum concurrent sets. Denote these node-disjoint maximum concurrent sets by U Wi (i = 1, 2, ..., k), where k is the number of the node-disjoint maximum concurrent subsets of W . Therefore, nodes in U Wi can transmit data without interference in the ith time slot. Then the latency of data aggregation in the phase of local aggregation is k. U Wi (i = 1, 2, ..., k) are iteratively determined by using first fit algorithm. The first fit algorithm for constructing node-disjoint maximum concurrent sets works as follows. Consider a link set L = (VS , VR , f ), where VS is sending node set, VR is its corresponding receiving node set, and f is a mapping function from VS to VR . Denote all maximum concurrent sets by U1 , U2 , ..., Uh , where h is the number of maximum concurrent sets. For each node u in VS , if link l : u → f (u) is independent from all links in {l : v → f (v) | v ∈ Ui }, add u into Ui and remove u from VS . When there is no more node to add into Ui , repeat the above procedure to form the next maximum concurrent set Ui+1 until no node remains in VS . 3.3
Global Aggregation
Global aggregation involves two types of transmissions. One is from a dominative node to its parent connective node, and the other is from a connective node to its parent dominative node. Global aggregation starts with the transmission from the dominative nodes in LR to their parent connective nodes in LR−1 . The above two types of transmissions run alternately until the data are aggregated from the connective nodes in layer 1 to the sink node. To avoid interference and minimize the latency of global aggregation, we divide dominative nodes and connective nodes in each layer of TBF S into nodedisjoint maximum concurrent sets. Denote them by U Di,1 , U Di,2 , ..., U Di,mi and
Approaching the Optimal Schedule for Data Aggregation
31
U Ci,1 , U Ci,2 , ..., U Ci,ni respectively, where mi is the number of maximum concurrent subsets of Di and ni is the number of maximum concurrent subsets of Ci . Specially, s is sink node and the unique one in layer 0, m0 = 0. Because there is no dominative nodes in layer 1, m1 = 0. Similarly, we have nR = 0. Similarly with local aggregation, we allocate different time slots for different maximum concurrent sets. Data are aggregated layer by layer in a bottom-up manner. A node transmits data after all its children transmit data. Due to the fact that the latency at local aggregation phase is k, we schedule all dominative nodes and connective nodes as follows. Connective nodes in U Ci,j transmit data l=i+1 in the ( (ml + nl ) + j + k)th time slot. Dominative nodes in U Di,j transmit l=R
l=i+1
data in the (
l=R
(ml + nl ) + ni + j + k)th time slot. We can imply that the
latency of global aggregation is
l=1 l=R
4
(ml + nl ) slots.
Discussion
In this section, we first prove the latency bound of our algorithm based on the assumption rc = ri , and then we remove the constraint and deduce the latency bound based on a generic network model. 4.1
Correctness
Theorem 1. The latency bound of data aggregation in local aggregation is Δ−1. Proof. Due to the page limit, we skip the proof here. Theorem 2. The maximum number of dominative neighbors for a connective node is 5. Proof. Due to the page limit, we skip the proof here. Theorem 3. The maximum number of connective neighbors of a dominative node is 12. Proof. Due to the page limit, we skip the proof here. Theorem 4. The latency bound of data aggregation on a peony tree is 15R + Δ − 15. Proof. Recall that our schedule consists of local aggregation phase and global aggregation phase. As the latency bound of local aggregation phase is Δ − 1 according to Theorem 1, we analyze the latency bound of global aggregation phase before we get the latency bound of data aggregation on a peony tree. Recall that in a peony tree, dominative nodes are in the even layers while connective nodes are in the odd layers, so there are two transmission patterns
32
P. Wang, Y. He, and L. Huang
in global aggregation. One is data transmission from a dominative node to a connective node, and the other is data transmission from a connective node to a dominative node. First, according to Theorem 2, a connective node has at most 5 dominative neighbors and one of them is its parent. So the number of dominative children of a connective node is at most 4. Consequently, the latency bound of data aggregation from dominative nodes in an even layer to connective nodes in the upper layer is 4. Second, according to Theorem 3, a dominative node has at most 12 connective neighbors and one of them is its parent node. So the number of connective children of a dominative node is at most 11. Consequently, the latency bound of data aggregation from connective nodes in an odd layer to dominative nodes in the upper layer is 11. Specially, the sink node is a dominative node without parent. The latency bound of aggregation from connective nodes in layer 1 to the sink node is 12. In the peony tree, the number of layers which contain connective nodes is R−1. The number of layers which contain dominative nodes except sink node s is also R − 1. Basing on the above analysis, the latency bound of global aggregation is 11(R − 2) + 12 + 4(R − 1) = 15R − 14. Therefore, the latency bound of data aggregation on a peony tree is (Δ − 1) + (15R − 14) = 15R + Δ − 15. 4.2
On Generic Model
Most existing works base their schemes on the assumption rc = ri , so far we also discuss based on this assumption. Indeed, our scheme is not constrained by the assumption, and in this section we remove it. As data aggregation is conducted layer by layer, nodes suffer interference only from nodes in the same layer when they transmit data simultaneously. As mentioned above, there are three types of transmissions during the course of data aggregation, below we will discuss separately. For simplicity, we normalize the communication range rc = 1 and the interference range ri = ρ. Denote the upper bound of the number of independent nodes in a radius of ρ by Γ (ρ). Before deducing the latency of data aggregation, we first present two theorems related to Γ (ρ). Theorem 5. (Wegner Theorem [11]) The area of the convex hull of n (n ≥ 2) non-overlapping unit-radius circular disks is at least √ √ √ (1) 2 3(n − 1) + (2 − 3) 12n − 3 − 3 + π Theorem 6. Γ (ρ), the upper bound of the number of independent nodes in a radius of ρ, satisfies the condition that √ √ 2 3(Γ (ρ) − 1) + (2 − 3) 12Γ (ρ) − 3 − 3 + π ≤ (2ρ + 1)2 π (2)
Approaching the Optimal Schedule for Data Aggregation
33
Fig. 1. The maximum number of independent node in a radius of ρ
Proof. Consider independent nodes in a disk of radius ρ centered at point o as shown in Fig. 1. Place a small disk with radius 0.5 centered at each independent node. Because the distance between any two independent nodes is greater than 1 (rc = 1), all the small disks are non-overlapping. According to Theorem 5, the area covers all the small disks of radius 0.5 is at least √ of the convex hull√which (2 3(Γ (ρ) − 1) + (2 − 3) 12Γ (h) − 3 − 3 + π)/4. Because all the small disks are in a big disk of radius h + 0.5 centered at point o, the convex hull which covers all the small disks is also in the big disk. The area of the convex hull is not greater than that of the big disk, so Γ (ρ) satisfies the inequation 2. Now we deduce the latency of data aggregation on generic model. 1. Transmissions from white nodes to dominative nodes. When ρ ≤ 1, a dominative node receives data from at most Δ − 1 white neighbors. Hence, the latency bound of transmissions from white nodes to dominative nodes is still Δ−1. When ρ > 1, a dominative node can be interfered by all the white nodes in the interference range, no matter whether or not they are neighbors. Thus the latency bound is affected by the maximum number of white nodes in a radius of ρ. As there are at most Γ (ρ) dominative nodes in a radius of ρ and a dominative node has at most Δ − 1 white neighbors, the latency bound of transmissions from white nodes to dominative nodes is Γ (ρ)(Δ − 1). 2. Transmissions from dominative nodes to connective nodes. For a connective node u, there are at most Γ (ρ) dominative nodes in a radius of ρ and one of them is its parent. Consequently, the latency bound of transmissions from dominative nodes to connective nodes is Γ (ρ) − 1. 3. Transmissions from connective nodes to dominative nodes. Because a connective node connects dominative nodes in the adjacent layer, the number of connective nodes in a radius of ρ is not more than the number of dominative nodes in a radius of 1 + ρ. Hence, a dominative node has at most Γ (1 + ρ) connective neighbors. Meanwhile, one of those connective nodes is the parent of the dominative node. The latency bound of transmissions from connective nodes to dominative nodes is Γ (1 + ρ) − 1. Specially, the latency from connective nodes in layer 1 to the sink node is at most Γ (1 + ρ).
34
P. Wang, Y. He, and L. Huang
Theorem 7. The latency bound of data aggregation in a peony tree is (Γ (ρ) + Γ (1 + ρ) − 2)(R − 2) + Γ (ρ)Δ + Γ (1 + ρ) − 1
(3)
Proof. Recall that there are no connective node in layer R and no dominative node in layer 1 of the tree. The latency from connective nodes in layer 1 to sink node is Γ (1 + ρ). So the latency bound of data aggregation on peony tree is Γ (ρ)(Δ − 1) + (Γ (ρ) − 1) + ((Γ (ρ) − 1) + (Γ (1 + ρ) − 1))(R − 2) + Γ (1 + ρ) = (Γ (ρ) + Γ (1 + ρ) − 2)(R − 2) + Γ (ρ)Δ + Γ (1 + ρ) − 1.
5
Performance Evaluation
In the simulations, we let all sensor nodes have the identical communication range rc and identical interference range ri , where rc = ri = 10m. Sensor nodes are randomly deployed into a 100m × 100m area for multiple times to generate different network topologies. 20 different topologies are generated with network sizes (measured by the number of nodes) varying from 400 to 2000. We compare PDA with the algorithm proposed by Wan et al. in [2] (denoted as WALG in short in the figures) by measuring the number of time slots to aggregate all the sensory data in a WSN. Figure 2(a) plots the number of connective nodes selected by PDA and WALG (note that the numbers of dominative nodes selected by the two algorithms are same, so we do not show them in the figures). We can see the number of connective nodes selected by PDA is much less than that of WALG. Also, WALG is slightly affected by the network size, while PDA performs consistently with different network sizes. The total aggregation latency by using PDA is about 20% shorter than that of using WALG, as shown in Fig. 2(b).
(a) Number of connective Nodes
(b) Total aggregation latency
Fig. 2. Comparison with different network sizes
6
Conclusion
We study the issue of minimizing the latency of data aggregation in WSNs and propose a scheduling algorithm named PDA. PDA has a latency bound of
Approaching the Optimal Schedule for Data Aggregation
35
15R + Δ − 15, where R is the network radius (measured in hops) and Δ is the maximum node degree. To the best our knowledge, this latency bound is by far the lowest one. Moreover, we remove the constraint of equal communication and interference ranges used in most existing works and discuss the latency bound of PDA based on a generic network model. We compare PDA with the state-of-arts algorithm proposed in [2] through simulations and the results show that PDA significantly outperforms existing designs.
References 1. Xujin, C., Xiaodong, H., Jianming, Z.: Minimum data aggregation time problem in wireless sensor networks. In: 1st International Conference on Mobile Ad-hoc and Sensor Networks, pp. 133–142. IEEE Press, Wuhan (December 2005) 2. Scott, C.-H.H., Peng-Jun, W., Chinh, T.V., et al.: Nearly constant approximation for data aggregation scheduling in wireless sensor networks. In: Proceedings of INFOCOM, pp. 366–372. IEEE Press, Anchorage (May 2007) 3. Ian, F.A., Weilian, S., Yogesh, S., Erdal, C.: Wireless sensor networks: a survey. Computer Networks 38(4), 393–422 (2002) 4. Mo, L., Yunhao, L.: Underground structure monitoring with wireless sensor networks. In: Proceedings of ACM/IEEE IPSN, pp. 69–78. ACM Press, Cambridge (April 2007) 5. Robert, S., Alan, M.M., Joseph, P., et al.: An analysis of a large scale habitat monitoring application. In: Proceedings of ACM SenSys, pp. 214–226. ACM Press, Baltimore (November 2004) 6. Mo, L., Yunhao, L.: Iso-map: Energy-efficient contour mapping in wireless sensor networks. IEEE Transactions on Knowledge and Data Engineering (TKDE) 22(5), 699–710 (2010) 7. Mo, L., Yunhao, L., Lei, C.: Non-threshold based event detection for 3d environment monitoring in sensor networks. IEEE Transactions on Knowledge and Data Engineering (TKDE) 20(12), 1699–1711 (2008) 8. Kebin, L., Mo, L., Yunhao, L., et al.: Passive diagnosis for wireless sensor networks. In: Proceedings of ACM SenSys, pp. 113–126. ACM Press, Raleigh (November 2008) 9. Lufeng, M., Yuan, H., Yunhao, L., et al.: Canopy closure estimates with greenorbs: Sustainable sensing in the forest. In: Proceedings of ACM Sensys, pp. 99–112. ACM Press, Berkeley (November 2008) 10. Alexander, K., Dariusz, R.K.: Fast distributed algorithm for convergecast in ad hoc geometric radio networks. J. Parallel Distrib. Comput. 66(4), 578–585 (2006) ¨ 11. Wegner, G.: Uber endliche kreispackungen in der ebene. Studia Scientiarium Mathematicarium Hungarica 21, 1–28 (1986)
Approximate Optimization for Proportional Fair AP Association in Multi-rate WLANs* Wei Li1, Yong Cui2, Shengling Wang2, and Xiuzhen Cheng3 1
Beijing University of Posts and Telecommunications, Beijing, P.R.China
[email protected] 2 Tsinghua University, Beijing, P.R.China {cy,slwang}@csnet1.cs.tsinghua.edu.cn 3 The George Washington University, Washington DC, USA
[email protected]
Abstract. In this study, we investigate the problem of achieving proportional fairness via Access Point (AP) association in multi-rate WLANs. This problem is formulated as a non-linear program with an objective function of maximizing the total user bandwidth utilities in the whole network. It is NP-hard, and therefore effort in this paper is made to seek approximate solutions. We propose a centralized algorithm to derive the user-AP association via relaxation. Such a relaxation may cause a large integrality gap. Therefore a compensation function is introduced to guarantee that our algorithm can achieve at least half of the optimal solution in the worst-case scenario theoretically. Extensive simulation study has been reported to validate and compare the performances of our algorithms with those of the state-of-the-art. Keywords: AP association, bandwidth allocation, multi-rate WLANs, proportional fairness.
1 Introduction By default, each user in IEEE 802.11 WLANs associates with the AP that has the largest received signal strength indicator (RSSI). As typically users are not uniformly distributed among all APs, RSSI based approach may overload some APs while leave others carrying very light load or even being idle. This load unbalancing could result in unfair bandwidth allocation. Although the network is supposed to serve fairly at high performance, fairness and efficiency are often in conflict with each other. With the development of multi-rate WLANs, this problem has become even more challenging, as users with different bit rates intend to share the same WLAN. 802.11 MAC protocol provides equal long-term transmission opportunities to users. Therefore, users with the same frame size can achieve equal throughput (i.e. throughput-based fairness). However, in multi-rate WLANs, throughput-based fairness requires that users with lower bit rates occupy the channel for a longer time *
Supported by National Natural Science Foundation of China (no.60873252), National Major Basic Research Program of China (no.2009CB320503), and the US National Science Foundation (CNS-0831852).
G. Pandurangan et al. (Eds.): WASA 2010, LNCS 6221, pp. 36–46, 2010. © Springer-Verlag Berlin Heidelberg 2010
Approximate Optimization for Proportional Fair AP Association in Multi-rate WLANs
37
than those with higher bit rates, drastically reducing the network throughput [1]. To overcome this problem, time-based fairness is proposed such that each user can obtain an equal share of channel occupancy time. Recent research [1] has shown that timebased fairness outperforms throughput-based fairness in multi-rate WLANs. There are two fairness criteria that are widely used in network resource assignment. Max-min fairness [2] distributes resources as equally as possible among users. While proportional fairness [3], on the other hand, allocates bandwidth to users in proportion to their bit rates to maximize the sum of the bandwidth utility of all users. Proportional fairness has been utilized to effectively exploit the tradeoff between fairness and network performance [3], [4]. Fairness, load balancing, and AP selection are three interrelated dimensions of the resource management problem. Nevertheless, very few recent researches jointly consider these three dimensions in multi-rate WLANs. Though different algorithms have been proposed to achieve fairness [1], [5], they only consider the problem at a single AP instead of the whole network. Other approaches optimize the AP association for efficient resource assignment [6], but they do not consider fairness. Load balancing has been proposed to optimize the resource assignment in [7], but fairness again is not considered. It has been observed that jointly considering AP association and fairness can effectively improve the aggregated network throughput [4], [8] in WLANs, since users may reside in the overlapping coverage areas of multiple APs while each user is only associated with one AP at a time. Li et al. [4] propose two approximate AP selection schemes, cvapPF and nlapPF, for periodic offline optimization. Both cvapPF and nlapPF rely on relaxation and rounding to obtain an integral user-AP association. Bejerano et al. [8] demonstrate the strong correlation between fairness and load balancing, and propose a load balancing technique to obtain an optimal max-min fair bandwidth allocation. In this paper, we propose an algorithm for AP selection to achieve proportional fairness. In our system model, the resources at all APs are considered as a whole when allocating bandwidth fairly to users. With this network-wide fairness objective, load balancing is automatically considered. Our Non-linear Approximate Optimization for Proportional Fairness (NLAO-PF) is centralized and can be adopted periodically in real multi-rate WLANs applications. Since the non-linear optimization problem is NP-hard [4], NLAO-PF is decomposed into four steps to simplify the issue and improve the degree of approximation. Our problem formulation is motivated by the non-linear program in [4] but we adopt a completely different approach to relax the variables in our approximation algorithm design. By introducing a compensation function to the objective function to narrow down the gap caused by relaxation, the total utility of the bandwidth allocation via NLAO-PF is proved to be at least 1/2 of the optimal in the worst case. Our comparison-based simulation study indicates that NLAO-PF performs well when the users are distributed randomly and uniformly in the network. Moreover, the performance is even better when users are distributed in a hot spot area. The rest of the paper is organized as follows. Our system model is introduced in Section 2. The algorithm is detailed in Sections 3. After presenting the evaluation results in Section 4, we conclude this paper in Section 5.
38
W. Li et al.
2 System Model Our network topology models an IEEE 802.11 based multi-rate WLAN network that consists of multiple APs. Each AP has the same limited coverage area and serves users in its area. Overlapping coverage areas of adjacent APs may exist. The union of the coverage areas of all APs forms the network coverage area. We assume that each AP transmits messages with the same power as defined by IEEE 802.11. We further assume that each user is covered by at least one AP, and each AP has at least one associated user. The notations and definitions to be utilized are summarized in Table 1. Table 1. Notations Symbol A Ai n U m
Jij gij pj N0 wi bi rij xij X tij T
Semantics The set of all access points (AP). The set of APs that can be associated with (cover) user i. n=|A|, the number of APs. The set of all users m=|U|, the number of users. The SINR of user i when associated with AP j. The channel gain from AP j to user i. The transmission power of AP j. The receiver noise power. The weight of user i. The effective bandwidth allocated to user i. The effective bit rate between user i and AP j. The association coefficient between user i and AP j. The 0-1 user-AP association matrix. The transmission time between user i and AP j. The transmission time allocation matrix.
Table 2. The Relationship between SINRs and Rates
Jij (dB) rij (Mbps)
6-7.8 6
7.8-9 9
9-10.8 12
10.8-17 18
17-18.8 24
18.8-24 36
24-24.6 48
24.654
As we have known, a user in an overlapping coverage area will be interfered by other APs. The effective bit rate of a user in an 802.11 network is determined by the experienced SINR of the user. More precisely, let γij denote the SINR of user i when associated with AP j. We have, g ij p j (1) γ ij = . ∑ g ik p k + N 0 k∈ Ai ∩ k ≠ j
Further, the relationship between the effective bit rates and the SINR ranges in the 802.11 network is shown in Table 2 [9]. It is assumed that the network is saturated such that all APs are busy all the time and all users always have data ready to send. We will consider a unit of time in which the network is stable, with no new user joins and no current user leaves. This means that under our consideration the total transmission time of an AP is equal to 1. Each AP assigns transmission times to users in accordance with proportional fairness. A user is allowed to choose only one AP within the unit time.
Approximate Optimization for Proportional Fair AP Association in Multi-rate WLANs
39
We formulate the AP association problem based on proportional fairness to a nonlinear program. In our system model, the resources at all APs are considered as a whole when allocating bandwidth to users. With this network-wide fairness objective, load balancing is automatically taken into account. We intend to maximize the total utility of the user bandwidth, which is defined to be the sum of logarithms of the bandwidths allocated to all users [3]. Since the effective bandwidth of user i is bi = ∑nj=1xijtij rij , we obtain the following optimization formulation:
max ∑im=1 wi log(∑nj =1 xij t ij rij ) s.t. 1≤ i ≤ m,∑nj =1xij =1 ,
(a)
1≤ j ≤ n,∑im=1xijtij =1 ,
(b)
1≤i ≤ m,1≤ j ≤n, xij ∈{0,1} ,
(c)
1≤ i ≤ m,1≤ j ≤ n,t ij ∈[0,1] .
(d)
(2)
Eq. (2) is referred as a Non-linear Program (NLP). Note that our objective function considers the weights of users, which reflects their priorities in a real network. The constraint (a) indicates that each user can associate with one and only one AP; the constraint (b) requires that the total transmission time of each AP j is equal to 1; the constraint (c) assures that xij is a binary variable that is equal to 1 if and only if user i associates to AP j; and the constraint (d) specifies the range of the variable tij. We can prove that NLP is NP-hard by slightly adapting the reduction procedure proposed in [4]. Note that this problem formulation is motivated by [4] but our approach to solving the problem via relaxation, as elaborated in Section 3, is fundamentally different and totally novel.
3 The NLAO-PF Algorithm Since NLP is NP-hard, we propose an approximation algorithm Non-Linear Approximate Optimization for Proportional Fairness (NLAO-PF) outlined in Alg.1, to simplify the issue and improve the degree of approximation. Algorithm 1. NLAO-PF 1. {t’ij}= solve r-NLP {{wi}, {rij}}. 2. Get fractional solution {x’ij}= solve c-NLP {{wi}, {rij}, {t’ij}}. 3. Get integral solution {xij} by a rounding process {{t’ij}, {x’ij}}. 4. Redistribute transmission time to obtain {tij} and calculate {bi}.
The basic idea of NLAO-PF is to relax the binary variable xij such that each user is allowed to associate with multiple APs within a unit time. This relaxation may result in a large integrality gap [10]. To overcome this problem, we modify the objective function of NLP by adding a compensation function g(X,T) in NLAO-PF, which is defined as follows. Definition 1. The compensation of user i on AP j is defined by wi xijtij log(rij ) , if rij>0;
0, otherwise. Thus the compensation of user i to all APs can be expressed
40
W. Li et al.
by wi (∑nj =1xij t ij log(rij )) . Therefore the compensation function g(X,T) can be defined correspondingly as follows: g ( X ,T ) = ∑im=1wi (∑ nj=1xij t ij log(rij )) .
(3)
This compensation function is introduced to improve the lower bound of our algorithm to effectively narrow down the integrality gap caused by relaxation. The steps of NLAO-PF are detailed in the following subsections. 3.1 Relaxed Optimization Program
The first step of NLAO-PF is to solve the following relaxed optimization problem to obtain an optimal {t’ij}. max
∑i =1wi log(∑ j =1t ij′ rij )+∑i =1wi (∑ j =1t ij′ log(rij )) m
n
m
n
s.t. 1≤ i ≤ m,∑nj =1tij′ ≤1 ,
(a)
1≤ j ≤ n,∑im=1tij′ =1 ,
(b)
1≤ i ≤ m,1≤ j ≤ n,t ij′ ∈[0,1] .
(c)
(4)
Eq. (4) is referred as the relaxed Non-linear Program (r-NLP). Compared with Eq. (2), r-NLP replaces tij by t’ij, sets xij =1, and includes the compensation function in its objective function. The constraint (a) indicates that the total transmission time of user i with all APs cannot surpass 1; the constraint (b) requires that the total transmission time of each AP is equal to 1, which means that all APs are saturated in the unit time; and the constraint (c) defines the range of the variable t’ij. Obviously, the optimal solution for {t’ij} from Eq. (4) can be found in polynomial time [4]. 3.2 Fractional Association
After solving r-NLP, we obtain the transmission time {t’ij}. Now we take {t’ij} as the input, and get the fractional user-AP association {x’ij}. Because of the requirements for solving convex programs, we change the linear equality constraint of NLP to a linear inequality constraint in the following problem formulation, which does not change the solution value. max ∑im=1wi log(∑nj =1xij′ tij′ rij ) + ∑im=1wi (∑nj =1xij′ tij′ log(rij )) s.t. 1≤ i ≤ m,∑ nj =1xij′ > 0 ,
(a)
1≤ j ≤ n,∑im=1xij′ t ij′ =1 ,
(b)
1≤ i ≤ m,1≤ j ≤ n, xij′ ≥ 0 .
(c)
(5)
Eq. (5) is referred as the complemented Non-linear Program (c-NLP). Its objective function is designed to approximate the optimal solution to NLP. The constraint (a) indicates that a user should connect with at least one AP; the constraint (b) forces the total transmission time of each AP be equal to 1; and the constraint (c) defines the
Approximate Optimization for Proportional Fair AP Association in Multi-rate WLANs
41
range of x’ij for the case of fractional association. Note that here we take {t’ij} obtained from Eq. (4) as the input to c-NLP and obtain the optimal association {x’ij} for c-NLP given {t’ij}. We can prove that the gap introduced by our relaxation procedure is bounded. Let f ( X ,T ) = ∑im=1wi log(∑nj=1xijtij rij ) , h( X ,T ) = f ( X ,T )+ g ( X ,T ) .Then the objective functions of r-NLP and c-NLP become h(X=1, T) and h(X,T), respectively. Correspondingly, h(X=1, T’) and h(X’,T’) are the solutions obtained from r-NLP and c-NLP, respectively. Theorem 1. Let f(X*,T*) be the optimal solution to NLP. Then f(X*,T*)≤h(X’,T’)≤2 f(X*,T*). Proof. With
m ∑i=1xij′ tij′ =1 (constraint (b) in Eq. (5)) and rij ≥ 1, f(X’,T’)≥g(X’,T’)≥0.
Thus h(X’,T’) ≤2f(X’,T’) ≤2f(X*,T*). Note that f(X*,T*) is also feasible to c-NLP from the relationship between NLP and c-NLP. Thus we have, f(X*,T*) ≤f(X=1,T’)+g(X=1,T’)=h(X=1,T’)≤h(X’,T’), where the last inequality holds true from the fact that h(X=1, T’) is feasible to c-NLP. ■ 3.3 Optimization Program Rounding
In this step, we use the rounding algorithm proposed in [11] to obtain an integral association matrix X. That is, we fix the time allocation {t’ij} and replace the fractional association {x’ij} by a 0-1 variable {xij} that encodes the desired association of users to APs. The description of the rounding scheme is as follows. First, we construct a bipartite graph G(x)=(U,V,E), where the set U represents the users in the network, and the set V consists of AP nodes denoted by V={vjk: j=1,…,n,
⎡
⎤
k=1,…,Qj }, with Qj = ∑i=1xij . This means that each AP may have multiple nodes in m
V. The edges in G(x) are constructed in the following way. If Qj≤1, there is only one node vj1 corresponding to AP j. For each x’ij>0, add an edge e(ui, vj1) to E, and set x’(ui, vj1)=x’ij, where x’(e) is the fractional association weight of the corresponding user and AP. Otherwise, find the minimum index ik such that ∑iik=1xij′ ≥ k . For i=ik-1 +1,…, ik
-1 and x’ >0, add edges e(u , v ) and set x’(u , v )=x’ . ij
i
jk
ik −1 ′ i =ik −1 +1x (ui ,v jk ) .
edge e(ui, vjk) and set x′(ui ,v jk ) =1−∑
i
If ∑
jk
ik ′ i =1 xij
ij
For i=ik, add the
> k , add the edge e(ui,
vj(k+1)) and set x′(ui ,v j(k +1) ) = ∑iik=1x′(ui ,v jk )−k . The profit of each edge e(ui, vjk) in E is defined to be wi log(t ij′ rij ) .
Second, we find a maximum-profit matching M(x) that matches each user node to an AP node in G(x). For each edge e(ui, vjk) in M(x), schedule user i on AP j and set xij=1. Set other xij’s to be 0. Since the fractional association {x’ij} specifies a fractional matching, such a maximal matching does exist and it determines the integral association {xij}. More details can be found in [11]. Note that {t’ij} and {x’ij} are computed from r-NLP and c-NLP, respectively. The rounding scheme constructs an integral assignment {xij}. We denote this integral solution as f (Xa,T’), which is also feasible to NLP. We have
42
W. Li et al.
Theorem 2. f (Xa,T’) ≥ f (X*,T*)/2. Proof. Note that {xij} is obtained by employing the rounding scheme proposed by Shmoys and Tardos in [11], which proves the following property: f(Xa,T’)≥f(X’,T’). Thus, f(Xa,T’)≥f(X’,T’)≥[f(X’,T’)+g(X’,T’)]/2=h(X’,T’)/2≥f(X*,T*)/2, where the last ■ inequality holds from Theorem 1. 3.4 Transmission Time Redistribution
Since the user-AP association changes after rounding, we need to redistribute the transmission time. This is the last step of NLAO-PF, in which we assign transmission times to users according to proportional fairness. Theorem 3. Let {xij} be the integral user-AP association coefficients obtained from the rounding procedure outlined in Section 3.3. Given {xij}, the unique optimal transmission time assigned to user i by AP j according to proportional fairness
is tij = xij wi (∑m k =1xkj wk ) . Proof. (a) First, we consider the case of a single AP. Assume that the number of users covered by the AP is m. Since the objective function of Eq. (2) is the sum of logarithms, maximizing the total utility of the user bandwidth (Eq. (2)) is equivalent to maximizing Eq. (6): m m m m ∏i =1(tij rij )wi = ∏i =1(ti1ri1)wi = ∏i =1(ti1) wi ∏i =1(ri1)wi .
(6)
Note that {ri1} is the set of optimization constant. Therefore maximizing Eq. (6) is equivalent to maximizing Eq. (7):
t11 t11)(t t21 t21)"(t t
" " ∏i=1(ti1)wi = (t 11 21 1tm 1" m m1) .
m
w1
Since ∑im=1ti1 =1 ,
Eq.
(7)
w2
is
maximized
(7)
wm
if
and
only
if if t11 w1
t 21
1 (¦ (∑m k =1wk ) . (b) Now we consider the case of multiple APs. Let xkj be a 0-1 variable denoting
w2
t m1 wm
m i 1 wi ) . Thus we have ti1 = wi
the association coefficient between user k and AP j. Then ∑m k =1xkj wk is the sum of the weights of all users associated to AP j. With a similar analysis as that of case (a), the optimal transmission time given {xij} can be calculated by Eq. (8). tij = xij wi (∑m k =1xkj wk ) .
(8)
We conclude that given {xij}, our transmission time assignment based on proportional fairness is unique and optimal. ■ The solution obtained from our algorithm NLAO-PF can be denoted as f (Xa,Ta). Based on Theorems 2 and 3, we have f (Xa,Ta) ≥ f (Xa,T’) ≥ f (X*,T*)/2. That is, the approximate solution obtained from NLAO-PF is no less than half of the optimal solution of NLP.
Approximate Optimization for Proportional Fair AP Association in Multi-rate WLANs
43
4 Evaluation For ease of comparison, we employ the same simulation settings as those in [4], which are detailed as follows. We place a total of 20 APs on a 5 by 4 grid, with each AP on a grid point. The coverage area of each AP is set to 150 meters and the distance between two adjacent APs is set to 100 meters. We arrange 50~300 users to simulate different levels of network loads. Assume that the transmission power of each AP is 20dBm [12]. The coverage area of the network is the union of the coverage areas of all APs. Assume that all users have the same weight. There are two types of user distributions under our consideration: (1) users are randomly and uniformly distributed within the coverage area of the network; (2) users are randomly positioned in a circle-shaped hotspot with a radius of 100 meters near the center of the 20-AP network. We employ a simple wireless channel model in which the effective bit rate only depends on the experienced SINR. For simplicity, we adopt the values commonly advertised by 802.11a which is shown in Table 2. The channel gain is modeled by the following equation,
gij = sij dij−4 ,
(10)
Table 3. Data Analysis on Different Algorithms Case
Uniform
Hotspot
Algorithm FraOp NLAO-PF cvapPF SSF LLF FraOp NLAO-PF cvapPF SSF LLF
Ave.(Mbps) 4.82 4.79 4.19 4.82 3.87 4.06 4.05 3.55 2.04 3.17
(a) uniform case
Var.(Mbps) 3.42 3.78 3.75 9.12 3.36 1.07 1.23 1.53 14.29 1.93
Fairness 0.87 0.86 0.87 0.71 0.85 0.94 0.93 0.93 0.39 0.85
Total utility 129.18 128.01 117.32 120.18 109.53 119.51 118.73 108.01 38.12 92.64
(b) hotspot case
Fig. 1. The user bandwidth of different AP association algorithms
44
W. Li et al.
where sij is a log-normally distributed shadowing factor, and dij is the distance between user i and AP j. Shadowing factors are generated according to the Viterbi model [13], with E(sij)=0dB and σ(sij)=10dB. The receiver noise power N0 is set to -80dBm. Fairness is quantified by the Jain’s fairness index [14], which is defined as follows,
∈
J = (∑im=1bi2 ) (∑im=1bi )2 ,
(11)
where larger values of J [0,1] indicate a better fairness. In proportional fairness, larger values of the total utility, which reflects the tradeoff between the aggregated throughput and fairness, indicate a better performance. During our simulation, the network topology structure and the effective bit rates are assumed to be steady. There is no backhaul capacity limitation. We compare the performances of the following algorithms: (1) NLAO-PF; (2) cvapPF [4]; (3) Strongest Signal First (SSF); (4) Least Load First (LLF) [8]; (5) Since the problem of AP association based on proportional fairness is NP-hard, NLAO-PF and cvapPF only obtain approximate solutions. For comparison purpose, we use the result obtained from r-NLP without the compensation function g(X,T) as a benchmark and call it FraOp. We have performed extensive simulations by varying the number of users and obtained qualitatively similar results. Thus in this subsection we only report the results for the 200-user case. The statistics of achieved bandwidth, Jain’s fairness index, and total bandwidth utility of different algorithms are presented in Table 3. First Fig.1 plots the achieved per-user bandwidth in Mbps vs. user index, with the users sorted by their bandwidths in increasing order. In the uniform case, SSF achieves a little bit higher average bandwidth, demonstrating a much larger variance in the bandwidth allocation and a poorer fairness. However, in the hotspot case where users reside in the vicinity of certain APs, leading to a more intensive competition for resources and a more imbalanced network load. Obviously, SSF aggravates the extent of load imbalance and enlarges the bandwidth allocation variances without considering fairness. It is also difficult for LLF to enhance the user bandwidth effectively because it only takes into account load balancing but ignores the user rate. On the other hand, in these two cases, NLAO-PF and cvapPF can both achieve proportional fairness, but NLAO-PF outperforms cvapPF in terms of bandwidth allocation with a value closer to FraOp. The fairness index of these two algorithms is almost the same. Moreover, the total utility of NLAO-PF is 99% of that of FraOp, while that of cvapPF is about 90%. Therefore, we conclude that NLAO-PF outperforms cvapPF, SSF and LLF. Second, the number of users vs. AP index is shown in Fig.2, with the APs sorted by their users in increasing order. The number of users associated with an AP is considered as the load metric. In these two cases, both NLAO-PF and LLF perform better than the other two algorithms in terms of load balancing. However, from Table 3, we observe that LLF has a lower average bandwidth and a poorer fairness than NLAO-PF, since it ignores the user rate. It can be concluded that NLAO-PF offers a more effective tradeoff between the bandwidth allocation and load balancing. Besides per-user bandwidth, we also compare the aggregated throughput of all algorithms. Fig.3 plots the aggregated throughput in Mbps vs. the number of users. In the uniform case, although SSF achieves a higher aggregated throughput, it reduces the level of fairness in bandwidth allocation. Among the remaining three algorithms
Approximate Optimization for Proportional Fair AP Association in Multi-rate WLANs
(a) uniform case
45
(b) hotspot case
Fig. 2. The load of different AP association algorithms with 200 users
(a) uniform case
(b) hotspot case
Fig. 3. The aggregated throughput of different AP association algorithms
(except FraOp), NLAO-PF obtains much higher aggregated throughputs than the other two algorithms, especially in the hotspot case. On the other hand, compared with cvapPF, NLAO-PF has a higher approximate degree, and its optimization results are more prominent. What is more, in the hotspot case, advantages of our algorithm are even more significant.
5 Conclusion The widespread of multi-rate WLAN applications makes the network management more complex and critical. Fairness and AP association are two hot issues. In multirate WLANs, some users may get starved if fairness is not carefully considered. In this paper, we investigate how to optimize user-AP association to achieve proportional fairness, and propose a new AP association algorithm termed NLAO-PF for this purpose. Although the problem of AP association for proportional fairness is NP-hard, NLAO-PF obtains a result that is guaranteed to be at least half of the optimal solution via a compensation function. Simulations confirm that our scheme can achieve proportional fairness in bandwidth allocation and enhance the aggregated throughput effectively. Moreover, in the hotspot case, the advantage of our algorithm is even more significant.
46
W. Li et al.
References 1. Tan, G., Guttag, J.: Time-based Fairness Improves Performance in Multi-rate WLANs. In: The USENIX Annual Technical Conf., Boston (2004) 2. Bertsekas, D., Gallager, R.: Data Networks, pp. 524–529. Prentice-Hall, Englewood Cliffs (1987) 3. Kelly, F.P.: Charging and rate control for elastic traffic. European Transactions on Telecommunications 8(1), 33–37 (1997) 4. Li, L., Pal, M., Yang, Y.R.: Proportional Fairness in Multi-rate Wireless LANs. In: IEEE INFOCOM, Phoenix, pp. 1004–1012 (2008) 5. Bredel, M., Fidler, M.: Understanding Fairness and its Impact on Quality of Service in IEEE 802.11. In: IEEE INFOCOM, Rio de Janeiro, pp. 1098–1106 (2009) 6. Abusubaih, M., Wolisz, A.: An Optimal Station Association Policy for Multi-Rate IEEE 802.11 Wireless LANs. In: 10th ACM Symposium MSWiM, pp. 117–123 (2007) 7. Rahul, H., Edalat, F., Katabi, D., Sodini, C.: Frequency-Aware Rate Adaptation and MAC Protocols. In: 15th ACM International Conf. MobiCom, Beijing, pp. 193–204 (2009) 8. Bejerano, Y., Han, S.-J., Li, L.E.: Fairness and load balancing in wireless LANs using association control. IEEE/ACM Trans. Networking 15(3), 560–573 (2007) 9. High-speed Physical Layer in the 5 GHz Band, IEEE Standard 802.11a (1999) 10. Azar, Y., Epstein, A.: Convex Programming for Scheduling Unrelated Parallel Machines. In: 30th ACM symposium Theory of computing, Baltimore, pp. 331–337 (2005) 11. Shmoys, D.B., Tardos, E.: An approx algorithm for the generalized assignment problem. Math. Program 62(3), 461–474 (1993) 12. Radio Resource Measurement of Wireless LANs, IEEE Standard 802.11k (2008) 13. Viterbi, A.J.: CDMA: Principles of Spread Spectrum Communication, pp. 185–186. Addison-Wesley, New York (1995) 14. Jain, R., Chiu, D.-M., Hawe, W.R.: A quantitative measure of fairness and discrimination for resource allocation in shared computer system. Digital Equipment, Technical report, DEC-TR-301 (1984)
Minimum CDS in Multihop Wireless Networks with Disparate Communication Ranges Lixin Wang1 , Peng-Jun Wan1 , and Frances Yao2 1 2
Illinois Institute of Technology, Chicago IL 60616, USA City Univesrsity of Hong Kong, Kowloon, Hong Kong
Abstract. Connected dominating set (CDS) has a wide range of applications in mutihop wireless networks. The Minimum CDS problem has been studied extensively in mutihop wireless networks with uniform communication ranges. However, in practice the nodes may have different communication ranges either because of the heterogeneity of the nodes, or due to interference mitigation, or due to a chosen range assignment for energy conservation. In this paper, we present a greedy approximation algorithm for computing a Minimum CDS in multihop wireless networks with disparate communications ranges and prove that its approximation ratio is better than the best one known in the literature. Our analysis utilizes a tighter relation between the independence number and the connected domination number.
1
Introduction
Connected dominating set (CDS) has a wide range of applications in multihop wireless networks (cf. a recent survey [2] and references therein). It plays a very important role in routing, broadcasting, and connectivity management in wireless ad hoc networks. Consider a multihop wireless network with undirected communication topology G = (V, E). A CDS of G is a subset U ⊂ V satisfying that each node in V \ U is adjacent to at least one node in U and the subgraph of G induced by U is connected. A minimum CDS (MCDS) of G is a CDS of G with the smallest size. The problem of computing a MCDS in a multihop wireless networks with uniform communications ranges has been intensively studied in the literature. This problem is NP-hard [3], and a number of distributed algorithms for constructing a small CDS in wireless ad hoc networks have been proposed in [1,5,7,8] among others. However, in practice the nodes may have different communication ranges either because of the heterogeneity of the nodes, or due to interference mitigation, or due to a chosen range assignment for energy conservation. In this paper, we assume all the nodes V lie in an Euclidean plane, and each node v has a communication radius rv . The communication topology of such a network is defined
This work was supported in part by NSF of USA under grants CNS-0831831 and CNS-0916666, by the RGC of Hong Kong under Project No. 122807, and by the National Basic Research Program of China Grant 2007CB807900, 2007CB807901.
G. Pandurangan et al. (Eds.): WASA 2010, LNCS 6221, pp. 47–56, 2010. c Springer-Verlag Berlin Heidelberg 2010
48
L. Wang, P.-J. Wan, and F. Yao
by a graph G = (V, E) in which there is an edge between two nodes u and v if and only if they are within each other’s communication range. By proper scaling, we assume that the smallest communication radius is one and the largest communication radius is R. Under the assumption that G is connected, any pair of nodes are apart by a distance of at most n − 1 and consequently we always assume that R ≤ n − 1. MCDS in multihop wireless networks with disparate communication ranges have been studied in [6] and [9]. Thai et al. [6] applied the approximation algorithm given in [7] for MCDS in multihop wireless networks with uniform communication ranges to compute a CDS in a multihop wireless network with disparate communication ranges. The approximation bound of this algorithm involves the relation between the independence number α (the size of a maximum independent set) and connected domination number γc (the size of a minimum connected dominating set) of the communication topology. It was shown in [6] that α ≤ 10 logg R γc √
where g = 1+25 is the such a bound on α, an approxima golden ratio. With tion bound 10 logg R + 2 + log 10 logg R was derived in [6]. Xing et al. [9] targeted at obtaining a tighter approximation bound of the same approximation algorithm. claimed (in Theorem 3.1 in [9]) a tighter upper bound bound 5 They 4 6 + 8 32 logg R γc on α. However, their proof of Theorem 3.1 in [9] contains a critical error, which has no apparent fix. An explanation of this error is included in the appendix of this paper. Thus, the improved approximation bound based on the above bound of α in [9] becomes baseless. In this paper, we first derive an improved upper bound on the number of independent nodes in the neighborhood of any node. For any R ≥ 1, let R∗ = 5 + 8 logg R . We show that the number of independent nodes in the neighborhood of any node is at most R∗ . Based on this upper bound, we then prove a tighter upper bound (R∗ − 1) γc + 1 on α. Thus, the approximation bounds of the approximation algorithms presented in [6] and [9] can be improved accordingly. We will adapt the two-phased greedy approximation algorithm presented in [8] to multihop wireless networks with disparate communication ranges, and show that its approximation ratio is at most R∗ + ln (R∗ − 2) + 1. The remaining of this paper is organized as follows. In Section 2, we present an improved upper bound on the independence number α in terms of the connected domination number γc . In Section 3, we analyze the approximation bound of a two-phased greedy approximation algorithm for MCDS adapted from an algorithm originally proposed in [8] for computing MCDS with uniform communication radii. In Section 4, we summarize the paper and discuss future studies for potential improvements. Throughout this paper, D(u, r) denotes the closed disk of radius r centered at u. The Euclidean distance between two nodes u and v is denoted by uv. The cardinality of a finite set S is denoted by |S|.
Minimum CDS in Multihop Wireless Networks
2
49
Independence Number vs. Connected Domination Number
In this section, we present an improved upper bound on the independence number α in terms of the connected domination number γc . Theorem 1. α ≤ (R∗ − 1) γc + 1. Theorem 1 follows from the lemma below by using the same argument as in [7]. Lemma 1. Suppose that I is an independent set of nodes adjacent to a node u. Then |I| ≤ R∗ . The rest of this section is devoted to the proof of Lemma 1. Consider an arbitrary node u ∈ V and an independent set I of nodes adjacent to a node u. Let I1 be the set of nodes in I lying in the closed disk of radius g centered at u, and for each j ≥ 2 let Ij = v ∈ I : g j−1 < uv ≤ g j . From [4] we have |I1 | ≤ 12. The following lemma on |Ij | for j ≥ 2 was proved in [9]. Lemma 2. For any j ≥ 2, |Ij | ≤ 9. We shall further prove the following lemma on |Ij ∪ Ij+1 | for j ≥ 2. Lemma 3. For any j ≥ 2, |Ij ∪ Ij+1 | ≤ 16.
These two lemmas together imply Lemma 1 immediately. If logg R is odd, then R −1)/2
(logg
logg R
|I| = j=1 Ij ≤ |I1 | + |I2i ∪ I2i+1 | i=1 ≤ 12 + 16 · logg R − 1 /2 = 8 logg R + 4 < R∗ .
If logg R is even, then
R /2−1
logg
logg R
|I| = j=1 Ij ≤ |I1 | + |I2 | + |I2i−1 ∪ I2i | i=2 ≤ 12 + 9 + 16 logg R /2 − 1 = 8 logg R + 5 = R∗ .
So, Lemma 1 holds in either case. Next, we prove Lemma 3 by using a subtle angular arguement. Fix a j ≥ 2. We begin with the following two simple geometric lemmas, whose proofs are omitted due to the space limitation. Lemma 4. Suppose that v and w are two distinct nodes in Ij satisfying that uv ≥ uw. Then, ∠wuv > 36 ◦ . In addition, for any acute angle α, 1. if uv ≤ 2g j−1 cos α, then ∠wuv > α; g 2. if uw ≥ 2g j−1 cos α, then ∠wuv > arccos 4 cos α.
50
L. Wang, P.-J. Wan, and F. Yao
Lemma 5. Suppose that w ∈ Ij and v ∈ Ij+1 . For any acute angle α, 2
g 1. if uw ≥ 2g j−1 cos α, then ∠wuv > arccos 4 cos α; j 2. if uv ≤ 2g cos α, then ∠wuv > arccos (g cos α).
By Lemma 2, |Ij | ≤ 9. We present some necessary conditions for |Ij | = 9 in the lemma below. Lemma 6. Suppose that Ij consists of nine nodes v1 , v2 , · · · , v9 sorted in the increasing order of the distances from u. Then 1. uv9 ≥ 2g j−1 cos 39 ◦ and uv1 ≤ 2g j−1 cos 58.6 ◦ ; 2. uv8 ≥ 2g j−1 cos 39.8 ◦ and uv2 ≤ 2g j−1 cos 58.2 ◦; 3. uv7 ≥ 2g j−1 cos 43.2 ◦ and uv3 ≤ 2g j−1 cos 56.29 ◦. Proof. We will use the following fact multiple times in this proof: Suppose that I is a subset of five nodes in Ij . Then, among five consective sectors centered at u formed by the five nodes in I , at least one of them does not contain any other node in Ij . This is because |Ij \ I | = 4 < 5 and hence at least one of those five sectors does not contain any node in Ij \ I . (1) We prove the first part of lemma by contradiction. Assume to the contrary that either uv9 < 2g j−1 cos 39 ◦ or uv1 > 2g j−1 cos 58.6 ◦. Then either uvi < 2g j−1 cos 39 ◦ for all 1 ≤ i ≤ 9 or uvi > 2g j−1 cos 58.6 ◦ for all 1 ≤ i ≤ 9. In either case, the angle separation of any two nodes in Ij at u is greater than 39 ◦ by Lemma 4. If uv5 < 2g j−1 cos 50 ◦ , let vi and vk be the two nodes in {v1 , v2 , · · · , v5 } such that the sector vi uvk centered at u does not contain any other node in Ij . Then by Lemma 4, ∠vi uvk > 50 ◦ . So, the total of the nine consecutive angles at u formed by the nodes in Ij is greater than 8 · 39 ◦ +50 ◦ = 362 ◦ > 360 ◦, which is a contradiction. Next we assume uv5 ≥ 2g j−1 cos 50 ◦ . Let vi and vk be the two nodes in {v5 , v6 , · · · , v9 } such that the sector vi uvk centered at u does not contain any other node in Ij . Then by Lemma 4, ∠vi uvk > 51 ◦ . So, the total of the nine consecutive angles at u formed by the nodes in Ij is greater than 8 · 39 ◦ +51 ◦ = 363 ◦ > 360 ◦, which is also a contradiction. Therefore, the first part of the lemma holds. (2) We prove the second part of the lemma by contradiction. Assume to the contrary that either uv8 < 2g j−1 cos 39.8 ◦ or uv2 > 2g j−1 cos 58.2 ◦. We first claim that there exists a node va ∈ Ij such that the angle separation of any two nodes in Ij \ {va } at u is greater than 39.8 ◦. Indeed, if uv8 < 2g j−1 cos 39.8 ◦ , then uvi < 2g j−1 cos 39.8 ◦ for all 1 ≤ i ≤ 8 and hence the claim holds for a = 9 by Lemma 4. If uv2 > 2g j−1 cos 58.2 ◦, then uvi > 2g j−1 cos 58.2 ◦ for all 2 ≤ i ≤ 9 and hence the claim holds for a = 1 by Lemma 4. So, our claim is true. Note that the angle separation between any two nodes in Ij is greater than 36 ◦ . If uv5 < 2g j−1 cos 50 ◦ , let vi and vk be the two nodes in {v1 , v2 , · · · , v5 } such that the sector vi uvk centered at u does not contain any other node in Ij . Then by Lemma 4, ∠vi uvk > 50 ◦ . So, the total of the nine consecutive angles at u formed by the nodes in Ij is greater than
Minimum CDS in Multihop Wireless Networks
51
2 · 36 ◦ +6 · 39.8 ◦ +50 ◦ = 360. 8 ◦ > 360 ◦, which is a contradiction. Next we assume uv5 ≥ 2g j−1 cos 50 ◦ . Let vi and vk be the two nodes in {v5 , v6 , · · · , v9 } such that the sector vi uvk centered at u does not contain any other node in Ij . Then by Lemma 4, ∠vi uvk > 51 ◦ , which similarly leads to a contradiction. So, the second part of the lemma holds. (3) We prove the third part of the lemma by contradiction. Assume to the contrary that either uv7 < 2g j−1 cos 43.2 ◦ or uv3 > 2g j−1 cos 56.29 ◦ . We claim that there exist two nodes va , vb ∈ Ij such that ∠va uvb > 58.2 ◦ and the angle separation at u of any two nodes in I = Ij \ {va , vb } is greater than 43.2 ◦ . Indeed, if uv7 < 2g j−1 cos 43.2 ◦ , then uvi < 2g j−1 cos 43.2 ◦ for all 1 ≤ i ≤ 7 and hence the angle separation at u of any two nodes in Ij \ {v8 , v9 } is greater than 43.2 ◦ by Lemma 4. By part (2), we have uv8 ≥ 2g j−1 cos 39.8 ◦, which implies that ∠v8 uv9 > 58.2 ◦ by Lemma 4. Thus the claim holds with a = 8 and b = 9. Similarly, if uv3 > 2g j−1 cos 56.29 ◦, then uvi > 2g j−1 cos 56.29 ◦ for all 3 ≤ i ≤ 9 and hence the angle separation at u of any two nodes in Ij \ {v1 , v2 } is greater than 43.2 ◦ by Lemma 4. By part (2), we have uv2 ≤ 2g j−1 cos 58.2 ◦ , which implies ∠v1 uv2 > 58.2 ◦ by Lemma 4. Thus the claim holds with a = 1 and b = 2. Therefore, the claim holds in either case. Note that the angle separation between any two nodes in Ij is greater than 36 ◦ . If the sector va uvb centered at u does not contain any node in I , then the total of the nine consecutive angles at u formed by the nodes in Ij is greater than 2 · 36 ◦ +6 · 43.2 ◦ +58.2 ◦ = 389. 4 ◦ > 360 ◦ , which is a contradiction. So, we assume that the sector va uvb centered at u contains at least one node in I . Then, the total of the nine consecutive angles at u formed by the nodes in Ij is greater than 4 · 36 ◦ +5 · 43.2 ◦ = 360.0 ◦, which is also a contradiction. So, the third part of the lemma follows.
Now are ready to prove Lemma 3. Assume to the contrary that |Ij ∪ Ij+1 | = l ≥ 17. Let Ij ∪ Ij+1 = {vi : 1 ≤ i ≤ l} where v1 , v2 , · · · , vl are sorted in the increasing order of the distances from the node u. By Lemma 2, we have max {|Ij | , |Ij+1 |} ≤ 9. Thus, max {|Ij | , |Ij+1 |} = 9 and min {|Ij | , |Ij+1 |} ≥ 8 as l ≥ 17. We consider two cases: Case 1: |Ij | = 9. Then |Ij+1 | ≥ 8. By Lemma 6, we have uv7 ≥ 2g j−1 cos 43.2 ◦ . Let J = {v7 , v8 , v9 }. Then the angle separation between any two nodes in J at u is greater than 56.29 ◦. We further consider two subcases: Subcase 1.1: There exist two nodes va , vb ∈ J such that the sector va uvb centered at u does not contain any node in Ij (see Fig. 1(a)). Let vi and vk be the two nodes in Ij+1 such that the sector vi uvk contains va and vb but does not contain any other node in Ij+1 , and vi , va , vb and vk are in the clockwise direction with respect to u. Then min{∠vk uvb , ∠va uvi } > 26 ◦ by Lemma 5(1). Thus, ∠vk uvb + ∠vb uva + ∠va uvi > 2 · 26 ◦ +56.29 ◦ = 108.29 ◦ .
52
L. Wang, P.-J. Wan, and F. Yao
vi
v’7 v’8 v7
va
v8
u
v’’ 7
u
vb v’’ 8 v9 v’9
vk v’’ 9 (a)
(b)
Fig. 1. Figure for Case 1: (a) a sector va uvb for a, b ∈ {7, 8, 9} does not contain any node in Ij+1 ; (b) every sector for va uvb for each a = 7, 8 and 9 contains a node in Ij+1 .
Hence, the total of the |Ij+1 | consecutive angles at u formed by the nodes in Ij+1 is greater than 7 · 36 ◦ +108.29 ◦ = 360. 29 ◦ > 360.0 ◦ , which is a contradiction. Subcase 1.2: For any two nodes va , vb ∈ J, the sector va uvb centered at u contains at least one node in Ij+1 (see Fig. 1(b)). For each a = 7, 8 and 9, let va , va ∈ Ij+1 satisfying that va is the only node contained in the sector va uva centered at u among all the nodes in Ij+1 ∪ J. Then by Lemma 5(1) and Lemma 6, we have ∠v7 uv7 + ∠v8 uv8 + ∠v9 uv9 > 2 · (26 ◦ +31.5 ◦ +32.5 ◦) = 180 ◦ . Hence, the total of the |Ij+1 | consecutive angles at u formed by the nodes in Ij+1 is greater than 5 · 36 ◦ +180 ◦ = 360.0 ◦, which is a contradiction. Case 2: |Ij | = 8. Then |Ij+1 | = 9. By Lemma 6, we have uv11 ≤ 2g j cos 56.29 ◦. Let J = {v9 , v10 , v11 }. By Lemma 4, the angle separation between any two nodes in J at u is greater than 56.29 ◦ . We further consider two subcases: Subcase 2.1: There exist two nodes va , vb ∈ J such that the sector va uvb centered at u does not contain any node in Ij (see Fig.2(a)). Let vi and vk be the two nodes in Ij such that the sector vi uvk contains va and vb but does not contain any other node in Ij , and vi , va , vb and vk are in the clockwise direction with respect to u. Then min{∠vk uvb , ∠va uvi } > 26 ◦ by Lemma 5(2). Thus, ∠vk uvb + ∠vb uva + ∠va uvi > 2 · 26 ◦ +56.29 ◦ = 108.29 ◦ .
Minimum CDS in Multihop Wireless Networks
vi
v11
u
v’10
v’11
va
53
v10
u
v’’ 10
v’’ 11 vk
vb
v’9 v’’ 9 v9
(a)
(b)
Fig. 2. Figure for Case 2: (a) a sector va uvb for a, b ∈ {9, 10, 11} does not contain any node in Ij ; (b) every sector for va uvb for each a = 9, 10 and 11 contains a node in Ij .
Hence, the total of the 8 consecutive angles at u formed by the nodes in Ij is greater than 7 · 36 ◦ +108.29 ◦ = 360. 29 ◦ > 360.0 ◦ , which is a contradiction. Subcase 2.2: For any two nodes va , vb ∈ J, the sector va uvb centered at u contains at least one node in Ij (see Fig.2(b)). For each a = 9, 10 and 11, let va , va ∈ Ij satisfying that va is the only node contained in the sector va uva centered at u among all the nodes in Ij ∪ J. Then by Lemma 5(2) and Lemma 6, we have ∠v9 uv9 + ∠v10 uv10 + ∠v11 uv11 > 2 · (26 ◦ +31.5 ◦ +32.5 ◦) = 180 ◦ .
Hence, the total of the 8 consecutive angles at u formed by the nodes in Ij is greater than 5 · 36 ◦ +180 ◦ = 360.0 ◦, which is a contradiction. Thus, in every case we have reached a contradiction. So, we must have |Ij ∪ Ij+1 | ≤ 16. This completes the proof of Lemma 3.
3
Greedy Approximation Algorithm for MCDS
In this section, we present a greedy algorithm adapted from the two-phased greedy approximation algorithm originally proposed in [8] for computing a CDS in a multihop wireless network with uniform communication ranges to multihop wireless networks with disparate communication ranges. The greedy algorithm consists of two phases. The first phase selects a maximal independent set (MIS) I of G. Specifically, we construct an arbitrary rooted spanning tree T of G, and select an MIS I of G in the first-fit manner in the breadth-first-search ordering in T . The second phase selects a set C of connectors to interconnect I . For
54
L. Wang, P.-J. Wan, and F. Yao
any subset U ⊆ V \ I, f (U ) denotes the number of connected components in G [I ∪ U ]. For any U ⊆ V \ I and any w ∈ V \ I, the gain of w with respect to U is defined to be f (U ) − f (U ∪ {w}). The second phase greedily selects C iteratively as follows. Initially C is empty. While f (C) > 1, choose a node w ∈ V \ (I ∪ C) with maximum gain with respect to C and add w to C. When f (C) = 1, then I ∪ C is a CDS. Let C be the output of the second phase. We have the following bound on |C|. Lemma 7. |C| ≤ (ln (R∗ − 2) + 2) γc . The proof of the above lemma is similar to that in [8] and is omitted due to the space limitation. From Theorem 1 and Lemma 7, we obtain the following bound on the size of the CDS output by the greedy algorithm. Theorem 2. |I ∪ C| ≤ (R∗ + ln (R∗ − 2) + 1) γc + 1.
4
Discussion
The relation between the independence number α and the connected domination number γc plays a key role in deriving the approximation bounds of various twophased greedy approximation algorithms adapted for MCDS of multihop wireless networks with disparate communication ranges [6] [8] [9]. In this paper, we first proved that α ≤ (R∗ − 1) γc + 1, where R∗ = 5 + 8 logg R for any R ≥ 1. From this relation, we then derived an approximation bound R∗ + ln (R∗ − 2) + 1 of the two-phased greedy approximation algorithm adapted from [8]. This approximation bound is better than the known ones obtained in [6] and [9]. Tighter relation between α and γc may be derived with more sophisticated analyses. A possible approach of obtaining tighter relation between α and γc is to develop a tighter bound on the number of independent nodes that can be packed in the neighborhood of a pair of adjacent nodes. An attempt along this approach has been made in [9], but the argument in [9] contains a critical error. However, we do believe that this approach is very promising to achieve tighter relation between α and γc .
References 1. Alzoubi, K.M., Wan, P.-J., Frieder, O.: Message-Optimal Connected Dominating Sets in Mobile Ad Hoc Networks. In: ACM Mobihoc (2002) 2. Blum, J., Ding, M., Cheng, X.: Applications of Connected Dominating Sets in Wireless Networks. In: Du, D.-Z., Pardalos, P. (eds.) Handbook of Combinatorial Optimization, pp. 329–369. Kluwer Academic Publisher, Dordrecht (2004) 3. Clark, B.N., Colbourn, C.J., Johnson, D.S.: Unit Disk Graphs. Discrete Mathematics 86, 165–177 (1990) 4. Fodor, F.: The densest packing of 13 congruent circles in a circle. Beitrage Algebra Geom. 44(2), 431–440 (2003)
Minimum CDS in Multihop Wireless Networks
55
5. Li, Y.S., Thai, M.T., Wang, F., Yi, C.-W., Wan, P.-J., Du, D.-Z.: On Greedy Construction of Connected Dominating Sets in Wireless Networks. Wiley Journal on Wireless Communications and Mobile Computing 5(8), 927–932 (2005) 6. Thai, M.T., Wang, F., Liu, D., Zhu, S., Du, D.-Z.: Connected dominating sets in wireless networks with different communication ranges. IEEE Transactions on Mobile Computing 6(7), 721–730 (2007) 7. Wan, P.-J., Alzoubi, K.M., Frieder, O.: Distributed Construction of Connected Dominating Set in Wireless Ad Hoc Networks. ACM/Springer Mobile Networks and Applications 9(2), 141–149 (2004); A preliminary version of this paper appeared in IEEE INFOCOM 2002 (2002) 8. Wan, P.-J., Wang, L., Yao, F.: Two-Phased Approximation Algorithms for Minimum CDS in Wireless Ad Hoc Networks. In: IEEE ICDCS 2008, pp. 337–344 (2008) 9. Xing, K., Cheng, W., Park, E.K., Rotenstreich, S.: Distributed Connected Dominating Set Construction in Geometric k-Disk Graphs. In: IEEE ICDCS 2008, pp. 673–680 (2008)
Appendix In this appendix, we explainthe error in the proof of Theorem 3.1 in [9] which claimed that α ≤ 4 65 + 8 32 logg R γc , where α is the independence number and γc is the connected domination number. Let S be any maximum independent set of G and OP T be any MCDS of G. Then |I| = α and |OP T | = γc . In the proof of this theorem in [9], the γc nodes u1 , u2 , · · · , uγc in OP T are sorted in radius-decreasing order. Let 1 denote the number of nodes that are adjacent to u1 . For any 2 ≤ j ≤ γc , let j denote the number of nodes that are adjacent to uj but none of nodes u1 , u2 , · · · , uj−1 . Consider a spanning tree T of G[OP T ], the subgraph of G induced by OP T . The nodes in OP T are classified into two types. A node ui ∈ OP T is of the first type if and only if ui has the smallest index among itself and all of its neighbors in T . Then, Lemma 3.2 in [9] claimed that if a node ui ∈ OP T is of the second type, then i ≤ 4 + 7 logg R . The proof of Lemma 3.2 in [9] contains a critical error in bounding the number of independent nodes that can be packed in the neighborhood of two adjacent nodes. For each node v and each j ≥ 2, Aj (v) denotes the annulus centered at v of inner radius g j−1 and outer radius g j . Suppose that u and v are a pair of adjacent nodes with ru ≥ rv = uv. Let j ≥ 2 and Ij (v) ⊂ Aj (v) be an independent set of nodes adjacent to v but not adjacent to u. Then Lemma 3.2 in [9] claimed that |Ij (v)| ≤ 7. This claim is incorrect. An instance illustrated in Fig. 3 shows a packing of nine independent nodes adjacent to the node v but not adjacent to the node u in an annulus Aj (v) with j ≥ 2. In this instance, the five nodes v1 , v2 , v3 , v4 and v5 lie on the circle ∂D(v, g j−1 +ε) in the counterclockwise direction satisfying that u, v and v3 are on the same line and ∠vi vvi+1 = 74 ◦ for each 1 ≤ i ≤ 4 and ∠v5 vv1 = 64 ◦ , where ε > 0 is sufficiently small and will be chosed later. These five nodes lie inside Aj (v) but very close to its inner circle. For each i = 6, 7, 8 and 9, the node vi lies on the circle ∂D(v, g j − ε) satisfying that vvi is the angle bisectors of ∠vi−5 vvi−4 . These four nodes lie inside Aj (v) but very close to its outer circle. The communication radius of vi
56
L. Wang, P.-J. Wan, and F. Yao
is vvi for each 1 ≤ i ≤ 9. We further assume that j ≥ 2 is small enough such that uv ≥ 2g j−1 . The first five nodes are independent as their mutual angle separations at v are all greater than 60 ◦ . Similarly, the last four nodes are also independent as their angle separations at v are also all greater than 60 ◦ . In addition, choose ε sufficiently small such that each of the first five nodes and each of the last four nodes are independent as their angle separation at v is strictly greater than 36 ◦ . Therefore, all the nine nodes are independent with each other for sufficiently small ε. Since uv ≥ 2g j−1 and the five nodes v1 , v2 , v3 , v4 and v5 lie close to the inner circle of Aj (v), we choose ε sufficiently small such that uvi > vvi = rvi for all 1 ≤ i ≤ 5. Note that uv is the angle bisector of ∠v5 vv1 . Then ∠uvv1 = 32 ◦ and ∠uvv6 = 69 ◦ . Thus, v6 is on the left-hand side of the vertical line v1 v5 since vv6 cos ∠uvv6 < g j cos 69 ◦ < g j−1 cos 32 ◦ < vv1 cos ∠uvv1 . Similarly, v9 is on the left-hand side of the vertical line v1 v5 . Therefore, uvi > vvi = rvi for all 6 ≤ i ≤ 9. Thus none of these nine neighbors of v is adjacent to the node u. Hence, we have |Ij (v)| = 9 in this example. Therefore, the claim |Ij (v)| ≤ 7 in Lemma 3.2 in [9] is incorrect. This error further propagates to the proof of Theorem 3.1 in [9].
v6
v2
v7
v1 v3
u
v v5
v8
v4
v9
Fig. 3. A packing of nine independent nodes adjacent to the node v but not adjacent to the node u in an annulus Aj (v) with j ≥ 2
Minimum Edge Interference in Wireless Sensor Networks Trac N. Nguyen, Nhat X. Lam, D.T. Huynh, and Jason Bolla University of Texas at Dallas, Richardson TX 75080, USA {nguyentn,nxl081000,huynh,jab018600}@utdallas.edu http://www.utdallas.edu
Abstract. The approach of using topology control to reduce interference in wireless sensor networks has attracted attention of many researchers. There are several definitions of interference in the literature. In a wireless sensor network, the interference at a node may be caused by an edge that is transmitting data, or it occurs because the node itself is within the transmission range of another. The interference load of an edge is the number of nodes that are in the disks defined by the end nodes of this edge with a radius which is either the Euclidean distance or the power level of the end nodes. In this paper we show that the problem of assigning power level to a set of nodes in the plane to yield a connected geometric graph whose edges have bounded interference is NP-complete under both edge interference definitions. We also study the performance of a number of heuristics through simulation. Keywords: wireless sensor networks, interference, NP-completeness, geometric graphs, heuristic.
1
Introduction
One well known approach to minimize interference in Wireless sensor networks is to use topology control. This approach was first discussed by a number of researchers including Burkhart et al. [4] and Rickenbach, et al. [11]. The authors in [4] defined the notion of interference load of an edge in a network, and showed an interesting result that certain sparse networks may not have low interference. Following the work in [4], the authors in [11] introduced a notion of node interference that is caused by surrounding nodes whose transmission range includes the given node. They analysed the special case of the exponential 1-dimensional node chain which √is also called the highway model. They showed that this sparse network has Ω( n) node interference, where n is the number of nodes in the √ network. The authors described an algorithm that provides an O( 4 δ) approximation of the optimal connectivity preserving topology in the highway model where δ is the maximum node degree. Similarly, Moaveni-Nejad and Li [9], and Johansson and Carr-Motyckovaa [7] focused on the notion of interference that is based on edges of the network. [7] gave a distributed algorithm called Average Path Interference that tries to preserve the spanner property of the original graph while reducing the interference in the network at the same time. [9] showed G. Pandurangan et al. (Eds.): WASA 2010, LNCS 6221, pp. 57–67, 2010. c Springer-Verlag Berlin Heidelberg 2010
58
T.N. Nguyen et al.
that the relative neighborhood graph and local spanning tree algorithms have a constant bounded average interferences ratio. The NP completeness of both types of node interference were discussed by Wu and Liao [14], Bilo and Proietti [2] and Buchin [3]. [14] extended the work of [4] with an NP-completeness proof for minimizing edge-based interference for general graphs along with a couple of heuristics, and [3] provided an NP-completeness proof for finding a spanning tree with minimum node interference for grid graphs. For the receiver-based interference model, in [2] the authors showed among other results that the problem of minimizing the maximum node interference is hard to approximate. On the √ other hand, [6] showed that for a set of n points in the plane a network with O( Δ) interference can be constructed using computational geometric tools (Δ is the maximum interference in the uniform-radius network). They left open the question whether this problem is NP-hard including the 1-dimensional case. [10] was able to provide an answer to some of the questions raised in [6] by showing that minimizing receiver-based node interference is NP-complete for the 2-dimensional case. However, for the sender-based model minimizing node interference is solvable in polynomial time as shown in [2]. In this paper, we are concerned with edge interference. We study the problem of assigning power to nodes in the plane to form a connected graph with bounded edge interference. Specifically, we prove that the problem of assigning power to a set of nodes in the plane to yield a connected geometric graph whose edges have bounded interference is NP-complete. Our result is significant as it provides an NP completeness result for geometric graphs for some of the issues discussed in [4] and [7]. In fact, for this interference model there are no NP completeness results to date. Moreover, this result is surprising since edge interference is quite similar to sender-based node interference which was shown to be solvable in polynomial time by [2]. Note that in our work as well as most of the works in wireless sensor networks, two nodes are connected by an edge if they are within the transmission range of one another. This definition is not strictly followed in a number of papers including Benkert et al. [1] and Sharma et al. [12]. We also study the performance of a number of heuristics through simulation. The rest of this paper is organized as follows. Section II provides the definitions and explanations used in this paper. Section III is devoted to the NP completeness result, and Section IV discusses the performance of some heuristics. Section IV contains some concluding remarks.
2
Preliminaries
Consider a set V of transceivers (nodes) in the plane. Each node u is assigned a power level denoted by p(u). The signal transmitted by node u can only received by a node v if the distance between u and v, denoted by d(u, v), is ≤ p(u). We only consider the bidirectional case in which a communication edge exists between two nodes u and v, (u, v) if and only if both power levels p(u) ≥ d(u, v) and p(v) ≥ d(u, v). Thus, the set V of nodes in the plane together with the power levels assigned to the nodes define a geometric (also known as intersection) graph G = (V, E). A geometric graph is said to be planar if no edge crosses another.
Minimum Edge Interference in Wireless Sensor Networks
59
In this paper we are concerned with two definitions of edge interference described in [4] and [7]. Assuming that there is no obstacle blocking the broadcasting range of a node, the two definitions of the edge interference load are as follows. Let D(u, r) be the broadcasting disk of node u with radius r. The (Euclidean) distance-based edge interference (DEI) is defined in [7] as follow: DEI(u, v) := |{w ∈ V |w ∈ / {u, v} and w ∈ D(u, d(u, v)) or w ∈ D(v, d(v, u))}| and for a geometric graph G = (V, E) DEI(G(V, E)) := max(u,v)∈E {DEI(u, v)
(1)
Similarly, the power level-based edge interference (PEI) is in [4] as follows: P EI(u, v) := |{w ∈ V )|w ∈ / {u, v} and w ∈ D(u, p(u)) or w ∈ D(v, p(v))}| and for a geometric graph G = (V, E) P EI(G = (V, E)) := max(u,v)∈E {P EI(u, v)}
(2)
Intuitively, the interference load of an edge is the total number of nodes that are in the area covered by the disks created by the two end nodes of that edge. The radius of a disk is equal the Euclidian length of the edge (DEI case) or the power level usage (PEI case).
3
The NP-Completeness of Minimum Edge Interference in Geometric Graphs
In this section, we first prove the NP-completeness of the problem of assigning power levels to nodes in the plane to produce a connected geometric graph G with bounded edge interference load DEI(G) (MDEICG). As a corollary, the problem of assigning power to nodes to produce a geometric graph G with bounded P EI(G) (MPEICG) is also NP-complete. Problem MDEICG: Given a set of N nodes V = {v1 , v2 , ..., vN } in the plane, a set of M power levels P = {p1 , p2 , .., pM } at which a node can transmit, and a positive number R. Is there a power assignment to all nodes so that it induces a connected geometric graph G(V,E) such that DEI(G) is ≤ R? The problem MPEICG is defined similarly. In the following we show that MDEICG is NP-complete. Theorem 1. MDEICG is NP-complete. Proof. It is straightforward to show that MDEICG is in NP. To prove its NPhardness, we construct a polynomial time reduction from the planar 3-SAT problem (P3SAT) which was proven NP-complete in D. Lichtenstein [8]. Consider an instance φ of P3SAT, and the planar instance graph G of φ, where G = (X ∪ C, E ∪ E ) with edge sets E = {{x, c}|x ∈ C ∨ ¬x ∈ C} and E = {{xi , xi+1 }|1 ≤ i ≤ n − 1}.
60
T.N. Nguyen et al.
(a) Gadgets used in representing a variable x in a P3SAT instance.
(b) A series of gadgets representing a variable x of a P3SAT instance. Fig. 1. Gadgets
To construct an instance < V , P, R > of MDEICG, we first create two gadgets for each variable of φ. As shown in Figure 1(a), each gadget for variable x contains 4 nodes, which are 2 pairs of x and ¬x. These nodes are connected through straight and curved edges. The left gadget has 2 curved edges and 4 straight edges that form a square, whereas the right gadget has 3 straight edges and two curved edges. To have sufficient nodes for x so that we can connect x to some clause nodes, we replace a variable node x in G by a chain of these two gadgets in such a way that two gadgets at the ends of the chain have four straight edges, whereas every in-between gadget has three straight edges. This way, every node in the chain of gadgets has a degree of at least 3. Moreover, every second gadget has its nodes and edges rearranged as depicted in Figure 1(b). Note that consecutive gadgets are connected by two parallel straight edges. If the degree of node x is d, then the number of x s gadgets in this chain is 3 ∗ d. From each chain of gadgets representing a variable node in G, we only use the nodes with degree 3, to connect to a clause node. Furthermore, the variable link that connects all variables should enter each chain of gadgets via a degree 3 node at one end and exit via another degree 3 node at the other end. Thus, the new graph (also denoted G for convenience) obtained from the original graph has a maximum degree of 4 while the planarity of the graph is preserved. Next, we use Valiant’s result [13] to embed the graph G with maximum degree 4 into the Euclidean plane: A planar graph with maximum degree 4 can be embedded in the plane using O(|V |) area in such a way that its vertices are at integer coordinates and its edges are drawn so that they are made up of line segments of form x = i or y = j, for integers i and j. Moreover, this embedding process can easily be designed to satisfy the additional requirement that each line segment drawn to connect two original vertices of the graph G must be of length at least 6, and any two parallel line segments in the embedded graph are at least 6 units apart. Let us call the units of the embedded graph G original units. Each original unit is divided further into 12 smaller “pieces” of equal length. Let the original unit be δ. We define the radii ri , 1 ≤ i ≤ 8 as follows: ri := (i/12) ∗ δ. For the sake of convenience let us call the variable and clause nodes of G embedded in
Minimum Edge Interference in Wireless Sensor Networks
(a) Nodes added on the line segments replacing a straight edge (x,¬x) of G(V, E) at variable node x with degree 3.
61
(b) Nodes added on the line segments replacing a straight edge (x,¬x) of G(V, E) on a variable link connecting y and x.
Fig. 2. Nodes added on the line segments in cases
the plane the variable and clause nodes, respectively. First, we have to make a change in the line segments representing a straight edge connecting x to ¬x in the embedded graph G as follows. 1. If these segments are strictly either horizontal or vertical segments, we create a U shape from these original segments. Starting from either node x or ¬x, we move 2 segments, say the third and the fourth segments, 2 units apart from their current location. We then connect both ends of these segments using additional 2-unit segments that form a U shape. 2. For the corners created by perpendicular unit segments, pick one corner and let this corner be the marked corner. Note that from the previous step, every line segments representing a straight edge in G connecting x to ¬x must have one marked corner. At the marked corner, replace the two perpendicular unit segments by a segment connecting two grid nodes (see Figure 4.) This segment is called a slanted segment. We now further modify each line segment by placing additional nodes to create the instance < V , P, R > of MDEICG as follows: 1. On every line segments, add one node at every grid point. Lets call these nodes grid nodes (e.g. nodes g s in Figure 2, 3 and 4.) 2. On the line segments representing the variable link connecting different variable gadgets chains, add 2 nodes to each unit to divide it into 3 equal pieces of length r4 each (see Figure 2(b)). 3. On the line segments representing the connection from a variable node to a clause node, add the first node (node o in Figure 3(b)) at distance r8 from the variable node, and successively add nodes at distance r4 from the previous one until the clause node is reached.
62
T.N. Nguyen et al.
(a) Nodes added on the line segments replacing a straight edge (x,¬x) of G(V, E) at variable node x with degree 4.
(b) Nodes added on the line segments replacing a straight edge (x,¬x) of G(V, E) on a connection to a clause node C.
Fig. 3. Node added on the line segments in cases
4. For a variable node with degree 3, add two nodes at distance r4 to the unit that does not correspond to any segment. (See nodes d and t in Figure 2(a).) 5. On the line segments representing a curved edge in G, add two nodes at distance r8 from the variable nodes. Then successively add nodes at distance r4 between these two new nodes (e.g. node i in Figures 2(a), 2(b), 3(a), 3(b) is at distance r8 from the variable node x, and the subsequent nodes are at distance r4 from the preceding ones.) 6. On the line segments representing a straight edge connecting a variable node x and its negated node ¬x of G, add new nodes on every unit line segment by the following steps: – On every unit segment add a node at distance r4 from the grid node. Let us call these nodes support nodes. (See nodes s’s in Fig. 2, 3 and 4) – Between the support node and the grid node on each unit segment, add one node (away from the segment), called auxiliary node, so that its distance to the support node or the grid node is exactly r8 . Moreover, these auxiliary nodes are added in such a way that they are not close to the other auxiliary nodes added on other unit segments (see nodes a s in Figures 2, 3 and 4.) – Between the support node and the variable node on every unit segment incident with a variable, add a node at distance r4 from the variable node and the support node. – In the middle of each slanted segment, add two nodes called middle nodes at distance r8 from the end (grid) nodes of the segment. Note that the distance between the two middle nodes is about 0.97. (See nodes k and w in Figure 4.) On both sides of the middle nodes, two more nodes are added such that one node is at distance r2 from the grid node and the other is at distance r2 from the closest middle node. (See Figure 4.) The
Minimum Edge Interference in Wireless Sensor Networks
63
Fig. 4. Nodes added on the line segments replacing a straight edge (x,¬x) of G(V, E). These line segments contain a slanted segment and segments that form a U shape.
distance between these two nodes is r4 . Between the two middle nodes and away from the line segment add an auxiliary node that is at distance r8 from each of the middle nodes. – Consider two perpendicular adjacent unit segments. On one of the unit segment add two nodes between the support node and the grid node so that the distance between these two nodes is r4 . These two nodes are at distance r2 to the grid node and the support node. On the remaining unit segments, add 2 pairs of nodes between the support node and the grid node. The distance of nodes in each pair is r1 . The distance between two adjacent pairs of nodes is r4 , and each of them is at distance r2 to the grid node or to the support node. These two pairs of nodes form a group of 4 nodes. (See Figures 2, 3 and 4.) Let P := {0, r1 , r2 , ..., r8 } and R := 8. The correctness of the above polynomialtime reduction follows from the following claim: Claim. The instance φ of P3SAT is satisfiable if and only if the MDEICG instance < V , P, R > has a power assignment that yields a connected geometric graph G (V , E ) such that DEI(u, v) of each edge (u, v) ∈ E is ≤ R. Intuitively, some node on a straight edge connecting a variable node and its negated node must be assigned a high power level for the resulting graph to be connected. Moreover, if a variable node is assigned a high power level, then its negated node must be assigned a low power level due to the interference bound; or vice versa. The proof of the Claim is omitted due to space limitation. From the Claim, Theorem 1 follows.
64
T.N. Nguyen et al.
Then the NP completeness of MPEICG follows as a corollary. Theorem 2: MPEICG is NP-complete. Proof. The proof of Theorem 2 is similar to the proof of Theorem 1, and is omitted.
4 4.1
Heuristics and Their Performance Heuristics
Node interference approach. Our first approach is built on the sender-based node interference problem, where the interference load of a node v is the number of nodes within the broadcasting disk of v and the problem is to minimize the maximum node interference. This problem has been shown to be solved in polynomial time in [2] through a simple greedy heuristic called OPT-MINMAXSIP. Based on this result, we propose the Node Power Level Search heuristic (NPLS) which first computes the minimum sender-based node interference, and then reduce the power level for each node while preserving connectivity. Although this step does not necessarily decrease the maximum node interference of the graph, it may improve the interference load of other nodes, and hence the interference load of the edges. The pseudo code of this algorithm is reported in Figure 5. Input: a set V of nodes in the plane Output: A power assignment P that yields a connected geometric graph whose edge interference is minimized 1 Using the greedy technique, find a power assignment P that yields a minimum node interference graph // Reduce power levels of nodes while maintaining connectivity 2 for each node v ∈ V 3 Using binary search find the smallest power level for P [v] while P yields a connected graph 4 return the power assignment P Fig. 5. Node-Power-Level-Search
Minimum spanning tree approach. The basic idea of this approach is to find a minimum spanning tree for a given complete graph. We use this approach in two different algorithms, the distance-based minimum spanning tree (DMST) algorithm and the interference-based minimum spanning tree (IMST) algorithm. The main difference between these two algorithms is the definition of the edge weight. The former uses the Euclidean distance as edge weight while the latter uses the DEI edge interference load. In implementing these two algorithms, we use Kruskals algorithm [5] to find the minimum spanning tree. This algorithm uses two well-known subroutines find-set and union. find-set(u) is to find the root of tree-based connected component containing node u whereas union(u, v) is to connect two connected components of u and v. The details of these two subroutines can be found in [5].
Minimum Edge Interference in Wireless Sensor Networks
65
Figure 6 contains the pseudo code of the DMST algorithm. Observe that adding an edge may increase the power levels assigned to the two end nodes, thereby creating new edges (adjacent to the newly added edge). This is taken into account in lines 8-9 in Figure 6. Input: a set V of nodes in the plane Output: A power assignment P that yields a connected geometric graph whose edge interference is minimized 1 E = set of edges between all nodes in V 2 A=∅ 3 w(e) = length of e for all e ∈ E 4 Sort E in non-decreasing order according to weights w 5 for each edge (u, v) ∈ E 6 if find-set(u) = find-set(v) 7 add edge (u, v) to A and union(u, v) 8 B = edges created by adding (u, v) 9 A = A B and E = E \ B 10 Compute the power assignment P from A 11 return P Fig. 6. Distance-based-Minimum-Spanning-Tree
Regarding IMST algorithm, a possible improvement is to modify the definition of edge weight. As pointed out above, adding an edge may create some higher interference edges. So the weight of an unprocessed edge e is not its interference load, but the maximum interference load of those edges, which would be created if e were chosen to be added to A, including e itself. At every step, after A is updated, we recalculate the weights of unprocessed edges and sort them in non-decreasing order. 4.2
Experimental Results
In our experiments, we only consider geometric graphs. We randomly generate 100 nodes on an area of size of 10000x10000. For each graph, we run all three algorithms. We use the percentage difference as a metric to evaluate their performance. We compare IMST against the other two, namely DMST and NPLS. The results for the DEI as well as the PEI models in the table below demonstrate that the IMST algorithm performs significantly better. With regard to the DEI model, DMST and NPLS are always worse than IMST. However, for the PEI model, the DMST algorithm in some cases performs better as the negative value in Table I shows. By analysing the data concerning these cases, we are able to generate a simple example where DMST works better than IMST. In this case, IMST gives a graph whose maximum edge interference is 5 with the maximum interference edge (5, 6) (Figure 7(a)), while the maximum interference found by DMST is 4 (Figure 7(b)). Remark. Note that we have not provided a formal analysis of the running time of the above heuristics as the techniques used are well known. For efficient implementation of the algorithms using computational-geometric techniques, the
66
T.N. Nguyen et al. Table 1. Experimental Results
Min Max Average Better Worse Equal
Distance based DMST NPLS 0.00% 0.00% 200.00% 83.33% 23.57% 28.41% 0 0 136 163 64 37
Power Level based DMST NPLS -36.36% 14.29% 200.00% 114.29% 19.85% 61.32% 9 0 125 200 66 0
y 15
y 15
2
2 10
10
5
5 6
5 4
0
1
3
0
6
5 0 10
(a) IMST algorithm
4
0 20 x
0
1
3
0 10
20 x
(b) DMST algorithm
Fig. 7. An Example Showing The Better Result of DMST
reader is referred to [1]. We also note that the improvement described in Lines 9-12 in the IMST algorithm does not show any concrete result in our simulation as the connected geometric graphs appear to have minimum edge interference even without this improvement. It would be interesting to formally investigate how well IMST performs.
5
Conclusions
In this paper we have shown that the problems of minimizing DEI or PEI interference are both NP-complete for (planar) connected geometric graphs. This is the first NP completeness result concerning the edge interference model for geometric graphs. We also compare the performance of some heuristics through simulation. These results provide new insight on some of the issues discussed in [4] and [7].
References 1. Benkert, M., Gudmundsson, J., Haverkort, H., Wolff, A.: Introduction to Algoˇ rithms. In: Wiedermann, J., Tel, G., Pokorn´ y, J., Bielikov´ a, M., Stuller, J. (eds.) SOFSEM 2006. LNCS, vol. 3831, pp. 166–176. Springer, Heidelberg (2006) 2. Bil` o, D., Proietti, G.: On the Complexity of Minimizing Interference in Ad-Hoc and Sensor Networks. Theorectical Computer Science 402, 43–55 (2008)
Minimum Edge Interference in Wireless Sensor Networks
67
3. Buchin, K.: Minimizing the Maximum Interference is Hard (2008), http://arxiv.org/abs/0802.2134 4. Burkhart, M., von Rickenbach, P., Wattenhofer, R., Zollinger, A.: Does Topology Control Reduce Interference? In: MOBIHOC 2004, pp. 9–19 (2004) 5. Cormen, T.H., Leiserson, C.E., Rivest, R.L., Stein, C.: Constructing InterferenceMinimal Networks. Section 23.2: The Algorithms of Kruskal and Prim, pp. 567–574. McGraw-Hill, New York (2001) ISBN 0-262-03293-7 6. Halld´ orsson, M.M., Tokuyama, T.: Minimizing Interference of a Wireless Ad-Hoc Network in a Plane. In: Nikoletseas, S.E., Rolim, J.D.P. (eds.) ALGOSENSORS 2006. LNCS, vol. 4240, pp. 71–82. Springer, Heidelberg (2006) 7. Johansson, T., Carr-Motyckova´ a, L.: Reducing Interference in Ad Hoc Networks Through Topology Control. In: DIALM-POMC 2005, pp. 17–23 (2005) 8. Lichtenstein, D.: Planar Formulae And Their Uses. SIAM J. of Compt. 11(23) (1982) 9. Moaveni-Nejad, K., Li, X.-Y.: Low-Interference Topology Control for Wireless Ad Hoc Networks. Ad Hoc and Wireless Sensor Networks 1, 41–64 (2005) 10. Nguyen, T.N., Huynh, D.T.: Minimum Interference Planar Geometric Topology in Wireless Sensor Networks. In: Liu, B., Bestavros, A., Du, D.-Z., Wang, J. (eds.) WASA 2009. LNCS, vol. 5682, pp. 149–158. Springer, Heidelberg (2009) 11. Rickenbach, P.V., Schmid, S., Wattenhofer, R., Zollinger, A.: A Roburst Interference Model for Wireless Ad-Hoc Networks. In: Proc. 19th IEEE Int. Par. and Dist. (2005) 12. Sharma, A., Thakral, N., Udgata, S., Pujari, A.: Heuristics for Minimizing Interference in Sensor Networks. In: Garg, V., Wattenhofer, R., Kothapalli, K. (eds.) ICDCN 2009. LNCS, vol. 5408, pp. 49–54. Springer, Heidelberg (2009) 13. Valiant, L.: Universality Considerations in VLSI Circuits. IEEE Trans. on Compupters C-30, 135–140 (1981) 14. Wu, K.-D., Liao, W.: On Constructing Low Interference Topology in Multihop Wireless Networks. Int. J. of Sensor Networks 2, 321–330 (2007)
Maximum Weighted Independent Set of Links under Physical Interference Model Xiaohua Xu, Shaojie Tang, and Peng-Jun Wan Illinois Institute of Technology, Chicago IL 60616, USA
Abstract. Interference-aware scheduling for wireless communications is crucial to improve the network throughput. In this paper, we study the problem of Maximum Weighted Independent Set of Links (MWISL) under the physical interference model in wireless networks. Given a set of communication links distributed in a two-dimensional Euclidean plane, assume each link is associated with a positive weight which represents the benefit of transmitting along the link, the objective is to seek an independent set of links subject to the physical interference constraints with maximum weighted sum. To the best of our knowledge, no algorithm for MWISL under physical interference model has been proposed. We focus on MWISL in the oblivious power assignment setting.
1 Introduction Link scheduling in wireless networks plays a critical role for wireless networking performances, especially when the network has stringent quality of service restrictions. One challenge for link scheduling lies in interferences among concurrent transmissions. Unlike the wired networks, the signal interference casts significant effect on the fundamental limit on the data throughput that any scheduling protocols (centralized or distributed) can achieve. It is well-known that a number of scheduling problems (e.g., maximum throughput scheduling) become NP-hard to solve when considering wireless interference, while their counter-parts are solvable in polynomial time for wired networks. Thus, the scheduling protocols for wireless networks (even the benchmark performances obtained by centralized scheduling approaches) often rely on heuristics that approximately optimize the throughput. We address a fundamental problem for scheduling in wireless communications: Maximum Weighted Independent Set of Links (MWISL): given an input set of links, a subset of links is an independent set of links iff they can transmit concurrently. Assume each link is associated with a positive weight (representing the benefit of transmitting along the link), the objective is to seek an independent set of links with maximum weighted sum under given interference model. We focus on MWISL under physical interference model, where a signal is received successfully if the Signal to Interferenceplus-Noise Ratio is above a threshold depending on hardware and coding method. In this practical model, the definition of a successful transmission accounts also interference generated by transmitters located far away. Thus, traditional methods in graphbased interference models (e.g., protocol interference model, RTS/CTS model et al.)
This work was supported in part by NSF of USA under grant CNS-0831831.
G. Pandurangan et al. (Eds.): WASA 2010, LNCS 6221, pp. 68–74, 2010. c Springer-Verlag Berlin Heidelberg 2010
Maximum Weighted Independent Set of Links under Physical Interference Model
69
cannot be directly applied here. The MWISL problem has several variations: such as different power assignments and different weight distributions. Even for the special case where every link has unit weight, MWISL is proved to be NP-hard [6, 7]. Our main contribution is the algorithm design for MWISL problem under the oblivious power assignment setting where each link l (or its corresponding sender) is assigned a transmission power c · lβ , here c is a constant and 0 < β ≤ κ is a constant. We can prove that our solution satisfies the interference constraints and achieves constant approximation ratio of the optimum when β = κ. Our main idea is like this: by using partition and shifting strategies, we find multiple sets of well-separated links and then select the one with the largest weight. The rest of the paper is organized as follows. Section 2 formulates our problems. Section 3 presents our algorithm design for the MWISL problem. Section 4 outlines the related work. Finally, Section 5 concludes the paper.
2 Network Model All the networking nodes V lie in plane and have a maximum transmission power P . The Euclidean distance between any pair of nodes is denoted by uv. Let r be the distance between a closest pair of nodes in V . The path-loss over a distance l is ηl−κ , where κ is path-loss exponent (a constant greater than 2 and 5 depending on the wireless environment), and η is the reference loss factor. Since the path-loss factor over the distance r is less than one, we have η < rκ . In an oblivious power assignment, a β node u transmits to another node v always at the power c uv for some constants c > 0 and 0 < β ≤ κ. This assumption implicitly imposes an upper bound on the distance between a pair of nodes which directly communicate with each other: For u to be able to directly communicate with v, we must have c uvβ ≤ P and hence 1/β uv ≤ (P/c) . Let ξ be the noise power, and σ be the signal to interference and noise ratio (SINR) threshold for successful reception. Then, in the absence of interference, the transmission by a node u can be successfully received by another node v if β −κ cη ≥ σ which is equivalent to uvκ−β ≤ σξ . Note that when and only if cuv ·ηuv ξ κ−β
cη uv = σξ , link uv can only transmit alone since any other link will conflict with uv. Thus we can disregard these links in A and assume that κ−β
uv
<
cη σξ
Therefore, the set A of communication links consists of all pairs (u, v) of distinct nodes cη satisfying that uvβ ≤ P/c and uvκ−β < σξ . Let R be the maximum length of the links in A. Then, Rκ = Rβ · Rκ−β < Hence, R < r
Pη P κ P cη · = < r . c σξ σξ σξ
P σξ
1/κ .
70
X. Xu, S. Tang, and P.-J. Wan
A set I of links in A is said to be independent if and only if all links in I can transmit successfully at the same time under the oblivious power assignment, i.e., the SINR of each link in I is above σ. We denote by I the collection of independent sets of links in A. Given a link weight function d ∈ RA + , the problem Maximum Weighted Independent Set of Links (MWISL) seeks a set I ∈ I with maximum total weight d (I) = a∈I d (a).
3 Algorithm Design In this section, we present our algorithm design for MWISL in the oblivious power assignment setting under physical interference model.
K
Fig. 1. Grid partition of the plane
√ We employ a grid partition of the plane (Fig. 1). Let = R/ 2. The vertical lines x = i · for i ∈ Z and horizontal lines y = j · for j ∈ Z partition the planes into half-open and half-closed grides of side (here Z represents the integer set): {[i, (i + 1) ) × [j, (j + 1) ) : i, j ∈ Z} . For all i, j ∈ Z, we denote Aij to be the set of links in A whose senders lie in the grid [i, (i + 1) ) × [j, (j + 1) ). We first give a sufficient condition for a set I of links to be independent. Let −1/κ √ √ −1 −1 K = 2 (4τ ) σ −1 − ξ(cη) Rκ−β + 2 Generally, K’s value depends on R, we can see that when β = κ, −1/κ √ √ K = 2 (4τ )−1 σ −1 − ξ(cη)−1 + 2 which is a constant independent of R. Lemma 1. Consider any two nonnegative integers k1 and k2 which are at most K. Suppose I is a set of links satisfying that for each i, j ∈ Z, |I ∩ Aij | ≤ 1 if i mod (K + 1) = k1 and j mod (K + 1) = k2 and |I ∩ Aij | = 0 otherwise. Then, I is independent.
Maximum Weighted Independent Set of Links under Physical Interference Model
71
Proof. Consider any link a = (u, v). The wanted signal strength is β
−κ
c a · η a
β−κ
= cη a
≥ cηRβ−κ .
Consider any link a = (u , v ) in I other than a. We have u u ≥ K. Therefore, √ u v ≥ u u − uv ≥ K − R = K/ 2 − 1 R. The total interference to a from all other links in I is at most √ −κ cRβ · η x2 + y 2 · K/ 2 − 1 R (x,y)∈Z2 \{(0,0)}
−κ √ = cηRβ−κ K/ 2 − 1
−κ x2 + y 2
(x,y)∈Z2 \{(0,0)}
≤ 4cηR ≤ 4cηR
β−κ
β−κ
−κ √ K/ 2 − 1 −κ √ K/ 2 − 1
√ −κ = 4τ cηRβ−κ K/ 2 − 1 , where
∞
i
−κ
+
∞ ∞
x2 + y 2
x=1 y=1
i=1 κ
κ(1 + 2− 2 ) π2−κ/2 + κ−1 2(κ − 2)
−κ
κ
τ=
π2−κ/2 κ(1 + 2− 2 ) + . κ−1 2(κ − 2)
Thus the SINR at the receiver of the link is at least cηRβ−κ √ −κ ≥ σ ξ + 4τ cηRβ−κ K/ 2 − 1 since
−1/κ √ K/ 2 − 1 ≥ (4τ )−1 σ −1 − ξ(cη)−1 Rκ−β
Next, we give a necessary condition for a set I of links to be independent. Let
κ 2 P + 1 . ω= σ2 ξ Lemma 2. For any I ∈ I and any i, j ∈ Z, |I ∩ Aij | ≤ ω. Proof. Let Iij = I ∩ Aij . Assume a = (u, v) be the shortest link in Iij , consider any link a = (u , v ) in Iij other than a, the distance between the sender u and v satisfies √ u v ≤ u u + uv ≤ 2 + uv ≤ 2R,
72
X. Xu, S. Tang, and P.-J. Wan
The SINR at a from all other links in Iij is at most β
c a · η a
a ∈Iij \{a}
Since
β
−κ
c a · η u v
r −κ (|Iij |−1)(2R)−κ
−κ
≤
−κ
a
a ∈Iij \{a}
≥ σ, we have |Iij | ≤
2κ Rκ σ rκ
u v−κ
+1<
≤
2κ P σ σξ
r−κ (|Iij | − 1) (2R)−κ
+1=
2κ P σ2 ξ
+ 1.
Input: A set of links L = {l1 , l2 , · · · , ln } dmax ← 0 ; for k1 = 0, · · · , K and k2 = 0, · · · , K do for i, j ∈ Z and the grid gi,j contains links from L do if i ≡ k1 mod (K + 1) and j ≡ k2 mod (K + 1) then select one link with the maximal weight whose sender lies within gi,j All the selected links form a set Ik1 k2 ; if d(Ik1 k2 ) > dmax then S ← Ik1 k2 ; dmax ← d(Ik1 k2 ); return A schedule S containing a subset of links in L.
Algorithm 1. Scheduling for MWISL Our partition-based scheduling method for input L is shown in Algorithm 1. The correctness of the algorithm follows from Lemma 1. Next, we derive its approximation bound. Theorem 1. The approximation ratio of our algorithm for MWISL is at most (K + 1)2 ω. Proof. Let I ∗ be a maximum-weighted independent set of links. For any pair of nonnegative integers k1 and k2 , let Ik∗1 k2 denote the set of links in I ∗ which lie in the grids [i, (i + 1) ) × [j, (j + 1) ) for all i, j ∈ Z satisfying that i mod (K + 1) = k1 and j mod (K + 1) = k2 . By Lemma 2, the set Ik∗1 k2 contains at most ω links from each grid [i, (i + 1) ) × [j, (j + 1) ) with i mod (K + 1) = k1 and j mod (K + 1) = k2 . Hence, d Ik∗1 k2 ≤ ωd (Ik1 k2 ) ≤ ω max d (Ik1 k2 ) . 0≤k1 ,k2 ≤K
Therefore, d (I ∗ ) =
0≤k1 ,k2 ≤K d
So, the theorem holds.
∗ Ik1 k2 ≤ (K + 1)2 ω
max
0≤k1 ,k2 ≤K
d (Ik1 k2 ) .
Maximum Weighted Independent Set of Links under Physical Interference Model
73
4 Literature Review For general graph-based interference model, the maximum throughput link scheduling problem is NP-complete [5]. Both probabilistic scheduling protocols [5, 10, 11] and distributed link scheduling protocols [13, 14] are proposed to maximize the throughput. For physical interference model, the problem of joint scheduling and power control has been well studied in [3, 4]. In [12], a power-assignment algorithm which schedules a strongly connected set of links in poly-logarithmic time is presented. [6] shows that the scheduling problem without power control under physical interference model, where nodes are arbitrarily distributed is NP-complete. A greedy scheduling algorithm with approximation ratio of O(n1−2/(Ψ (α)+ ) (log n)2 ), where Ψ (α) is a constant that depends on the path-loss exponent α, is proposed in [1]. Notice that this result can only hold when the nodes are distributed uniformly at random in a square of unit area. In [6], an algorithm with a factor O(g(L)) approximation guarantee in arbitrary topologies, where g(L) = log ϑ(L) is the diversity of the network, is proposed. In [2], an algorithm with approximation guarantee of O(log Δ) was proposed, where Δ is the ratio between the maximum and the minimum distances between nodes. Obviously, it can be arbitrarily larger than ϑ(L). Recently, Goussevskaia et al. [7] proposed a method for MWISL in the unweighted case which was claimed to have constant approximation bound. Unfortunately, as observed in Xu and Tang [16], their method [7] works correctly in absence of the background noise. Wan et al. [15] resolved this issue by developing the first correct constantapproximation algorithm. Most Recently, Halldorsson et al. [9] presented a robustness result, showing that constant parameter and model changes will modify the min-length link scheduling result only by a constant. They [8] also studied the scheduling problem under power control.
5 Conclusions We studied MWISL problem under the physical interference model with oblivious power assignment. Some interesting questions are left for future research. The first is to extend our algorithm to deal with a more general path loss model. The second is to develop constant approximation algorithms for MWISL under uniform power and adjustable power assignment settings.
References 1. Brar, G., Blough, D., Santi, P.: Computationally efficient scheduling with the physical interference model for throughput improvement in wireless mesh networks. In: ACM MobiCom (2006) 2. Chafekar, D., Kumar, V., Marathe, M., Parthasarathy, S., Srinivasan, A.: Approximation Algorithms for Computing Capacity of Wireless Networks with SINR Constraints. In: IEEE INFOCOM, pp. 1166–1174 (2008) 3. Cruz, R., Santhanam, A.: Optimal routing, link scheduling and power control in multihop wireless networks. In: IEEE INFOCOM, vol. 1 (2003)
74
X. Xu, S. Tang, and P.-J. Wan
4. ElBatt, T., Ephremides, A.: Joint scheduling and power control for wireless ad hoc networks. IEEE Transactions on Wireless Communications 1, 74–85 (2004) 5. Sharma, G., Joo, C., Shroff, N.: Distributed scheduling schemes for throughput guarantees in wireless networks. In: Allerton 2006 (2006) 6. Goussevskaia, O., Oswald, Y., Wattenhofer, R.: Complexity in geometric SINR. In: Proceedings of ACM MobiHoc, pp. 100–109 (2007) 7. Goussevskaia, O., Wattenhofer, R., Halld´orsson, M.M., Welzl, E.: Capacity of Arbitrary Wireless Networks. In: IEEE INFOCOM 2009 (2009) 8. Halld´orsson, M.: Wireless scheduling with power control. In: Fiat, A., Sanders, P. (eds.) ESA 2009. LNCS, vol. 5757, pp. 361–372. Springer, Heidelberg (2009) 9. Halldorsson, M., Wattenhofer, R.: Wireless Communication is in APX. In: Automata, Languages and Programming, pp. 525–536 10. Joo, C., Shroff, N.: Performance of random access scheduling schemes in multi-hop wireless networks. In: IEEE INFOCOM (2007) 11. Lin, X., Rasool, S.: Constant-time distributed scheduling policies for ad hoc wireless networks. In: IEEE CDC (2006) 12. Moscibroda, T., Wattenhofer, R.: The Complexity of Connectivity in Wireless Networks. In: IEEE INFOCOM (2006) 13. Penttinen, A., Koutsopoulos, I., Tassiulas, L.: Low-complexity distributed fair scheduling for wireless multi-hop networks. In: WiOPT 2005: First Workshop on Resource Allocation in Wireless Networks, RAWNET (2005) 14. Sanghavi, S., Bui, L., Srikant, R.: Distributed link scheduling with constant overhead. In: ACM SIGMETRICS, pp. 313–324. ACM Press, New York (2007) 15. Wan, P., Jia, X., Yao, F.: Maximum Independent Set of Links under Physical Interference Model. In: Liu, B., Bestavros, A., Du, D.-Z., Wang, J. (eds.) WASA 2009. LNCS, vol. 5682, pp. 169–178. Springer, Heidelberg (2009) 16. Xu, X., Tang, S.: A constant approximation algorithm for link scheduling in arbitrary networks under physical interference model. In: Proceedings of the 2nd ACM International Workshop on Foundations of Wireless Ad Hoc and Sensor Networking and Computing, pp. 13–20. ACM, New York (2009)
A QoS-Guaranteed Energy-Efficient Packet Scheduling Algorithm for WiMax Mobile Devices Hung-Cheng Shih and Kuochen Wang Department of Computer Science, National Chiao Tung University {hcshih,kwang}@cs.nctu.edu.tw
Abstract. A mobile device may run energy consuming multimedia applications, such as video streaming. Thus, power management is an important issue in mobile devices. In this paper, we propose a QoS-guaranteed energy-efficient packet scheduling algorithm for IEEE 802.16-2009 (WiMax) network interfaces. The integration of packet scheduling and sleep mode operation can make IEEE 802.16-2009-enabled mobile devices more energy efficient. Simulation results show that the proposed packet scheduling algorithm has 14.37% less energy consumption than the naïve algorithm, and it does not sacrifice average packet delay. The contributions of our proposed algorithm are that our algorithm is suitable for wireless environments where connections come and go rapidly and the time complexity of our algorithm is low. Keywords: Energy-efficient, IEEE 802.16-2009, packet scheduling, sleep window, WiMax.
1 Introduction Power management is an important issue in mobile devices (called subscriber stations (SSs) in the IEEE 802.16-2009), which are powered by batteries. Because the capacity of a battery is limited, we have to reduce the energy consumption in every way, such as decreasing the working time of a mobile device. In a mobile device with the capability of wireless communications, the energy consumed by active transmissions is high because the transmitter and the receiver have to be turned on during the transmission. If the network interface is not active, the mobile device can turn off the transmitter and/or the receiver to save energy. In order to use the energy efficiently, the transmission time has to be shortened as much as possible, so that the transmitter and the receiver can be shutdown most of the time. The IEEE 802.16-2009 [3] is to provide a high speed, wireless last mile to benefit the rural area lack of wire-line infrastructure [1][2]. It can serve as a backbone of IEEE 802.11 networks so that the cost of deploying the wireless networks can be decreased [1][2]. Users can connect their notebooks or PDAs directly to the IEEE 802.16 network without using the IEEE 802.11 network to get higher transmission rates and better QoS [2]. The communication range of the IEEE 802.16-2009 standard is up to 31 miles and the transmission rate is up to 100 Mbps [2]. G. Pandurangan et al. (Eds.): WASA 2010, LNCS 6221, pp. 75–79, 2010. © Springer-Verlag Berlin Heidelberg 2010
76
H.-C. Shih and K. Wang
To reduce the energy consumption of SSs, the sleep mode was introduced in the IEEE 802.16-2009 to achieve energy saving. The sleep mode is a state for an SS to be temporarily absent from the serving base station (BS) air interface [3]. Note that in the IEEE 802.16-2009, normal transmission periods, which are called normal mode, and sleeping periods, which are called sleep mode, are interleaved with each other.
2 Existing Approaches The characteristics of wireless networks are high error rate, high channel variation, and high transmission delay, and we must consider these characteristics when we design a packet scheduling algorithm [4]. In [5], the authors proposed a Deficit Fair Priority Queue (DFPQ) algorithm, which uses two-tier architecture. The first tier ensures that low priority data streams will have the opportunity to transmit packets. The second tier uses a multiple queue mechanism and applies a different packet scheduling algorithm according to each queue’s characteristic. The drawback of this algorithm is that the transmission of low priority data streams may interrupt the transmission of high priority data streams. In [6], the authors proposed an algorithm called Preemptive DFPQ to fix the problem mentioned above. However, these two algorithms did not consider the wireless network channel condition. In [7], the authors proposed an algorithm that considers network traffic patterns and SS mobility to maximize energy efficiency. The authors suggested several calculation methods of the length of a sleep window to avoid the problem of serious transmission delay caused by a long sleep window. The disadvantage of this algorithm is that the total sleep time will be shortened. In [8], the authors proposed another way to adjust the parameters of sleep mode for the traffic patterns of constant bit rate (CBR) and FTP. However, they set the round trip time (RTT) to a constant in their experiment, which is not realistic in real network environments. In [9], the authors proposed an algorithm to determine the lengths of sleep window and listening window based on the QoS constraints of real-time communications. Packets are scheduled by the EDF algorithm. The disadvantages of this algorithm are that it uses linear integer programming to find an optimum solution, which results in high time and space complexities. In [10], the authors proposed a packet scheduling algorithm not only considering the delay constraint, but also the delay jitter constraint. Packets are also scheduled by the EDF algorithm. The disadvantage of this algorithm is that it is applied to PSC type 3, which will be deactivated when the sleep period is expired. As a result, the calculation of PSC parameters and the negotiation of PSC creation must be performed repeatedly, which are not energy-efficient.
3 Design Approach In the IEEE 802.16-2009, we must combine packet scheduling and power saving modes altogether to achieve low power consumption, while maintaining the QoS requirement. Therefore, we propose a QoS-guaranteed and energy-aware packet scheduling algorithm. The proposed algorithm is divided into two steps: power saving class generation and packet scheduling, which involve simple computations so as to have low time complexity.
A QoS-Guaranteed Energy-Efficient Packet Scheduling Algorithm
77
3.1 Power Saving Class Generation Because the connections in PSC type 2 have strict QoS constraints, we describe the proposed power saving class generation of PSC type 2 first. In PSC type 2, we define the length of listen windows tl as follows: C
tl = ∑ i =1
pi R j × TF
(1)
where pi is the average packet length of connection i, Rj is the raw data rate under burst profile j, TF is the frame duration and C is the number of connections. The length of sleep window ts is the minimum delay constraint in all connections. In PSC type 1, the suitable data delivery services are NRT-VR and BE services. In our design, the connections which belong to PSC type 1 can use the remaining bandwidth of the PSC type 2 listen window after PSC type 2 connections have been served. PSC type 3 was designed for connections that carry management operations as well as multicast connections. According to the specification of PSC type 3, when the periodic ranging is active, the maximum sleep window length tmax must be set to the value indicated by the Next Periodic Ranging TLV, which is carried in the RNG-RSP or MOB_SLP-RSP messages [3]. The start frame number of sleep window nsf must be set to the frame number next to the transmission of RNG-RSP or MOB_SLP-RSP messages. 3.2 Packet Scheduling Because the connections using UGS scheduling services have strict QoS requirements, the UGS connections have the highest priority. The connections of the ertPS and rtPS scheduling services have the second and third priority, respectively. We use the EDF algorithm in UGS, ertPS, and rtPS scheduling services. Packets that miss their transmission deadline will be discarded. The nrtPS and BE scheduling services are not delay sensitive. Therefore, the packet scheduling algorithm for nrtPS connections is WFQ, and the packet scheduling algorithm for BE connections is RR.
4 Experimental Results We evaluate the proposed algorithm using the ns-2 simulator and NIST WiMAX modules for ns-2. Table 1 shows the experiment parameters we used, which are defined in the IEEE 802.16-2009 [3]. We compared average packet delay under various numbers of connections. In UGS and ertPS connections, we used G.711, G.723.1, G.726, and G.729a as the network flow model. In rtPS, we used H.264/MPEG-4 AVC as the network flow model. As to the nrtPS and BE connections, we used the Poison process as the network flow model. Fig. 1 shows that the average packet delay of our algorithm is almost identical (0.000677% higher) to that of the naïve algorithm. Fig. 2 illustrates the relationship between energy consumption and number of connections. When the number of connections increases, the total number of packets transmitted increases; thus it causes the increase of energy consumption. Simulation results show that the energy consumption of our algorithm is 14.37% less than that of the naïve algorithm.
78
H.-C. Shih and K. Wang Table 1. Experiment parameters Symbol
Description
BW
Nominal channel bandwidth
Value 10MHz
NFFT
Number of subcarriers
256
Nd
Data subcarriers
192
G
Guard fraction
1/4
TF
Frame duration
5 ms
Average packet delay (msec)
5.69650 5.69640
5.69633494 5.696296025
5.69630 5.69620 5.69610 5.69600 Naïve
Proposed Algorithm
Fig. 1. Average packet delay under different numbers of connections Naïve
Proposed Algorithm
Energy Consumption (joule)
5 4.5 4 3.5 3 2.5 2 1
2
3
4
5
6
7
8
9
10
Number of Connections
Fig. 2. Energy consumption under various numbers of connections
5 Conclusion As mobile computing is getting more popular, the demand of efficient power source usage will become even greater. In this paper, we have presented a QoS-guaranteed, energy-efficient packet scheduling algorithm. Simulation results show that our proposed algorithm has 14.37% less energy consumption than the naïve algorithm. In addition, our algorithm does not sacrifice the average packet delay. Currently, we are working on comparing with some representative related work. The contributions of our proposed algorithm are that our algorithm is suitable for wireless environments where connections come and go rapidly and the time complexity of our algorithm is low.
A QoS-Guaranteed Energy-Efficient Packet Scheduling Algorithm
79
Acknowledgments This work was supported in part by the National Science Council, Taiwan, under Grants NSC96-2628-E-009-140-MY3 and NSC98-22218-E-009-008.
References 1. Vaughan-Nichols, S.J.: Achieving wireless broadband with WiMax. IEEE Computer 37(6), 10–13 (2004) 2. Abichar, Z., Peng, Y., Chang, J.M.: WiMax: the emergence of wireless broadband. IEEE IT Prof. 8(4), 44–48 (2006) 3. IEEE Standard for Local and Metropolitan Area Networks Part 16: Air Interface for Fixed Broadband Wireless Access Systems, IEEE Std 802.16-2009 (2009) 4. Tsai, T.Y., Tsai, Z.: Design of a Packet Scheduling Scheme for Downlink Channel in IEEE 802.16 BWA Systems. In: IEEE Wireless Communications and Networking Conference, pp. 1453–1458 (2008) 5. Chen, J., Jiao, W., Wang, H.: A service flow management strategy for IEEE 802.16 broadband wireless access systems in TDD mode. In: IEEE International Conference on Communications, vol. 5, pp. 3422–3426 (2005) 6. Safa, H., Artail, H., Karam, M., Soudah, R., Khayat, S.: New scheduling architecture for IEEE 802.16 wireless metropolitan area networks. In: IEEE/ACS International Conference on Computer Systems and Applications, pp. 201–210 (2007) 7. Lee, N.H., Bahk, S.: MAC sleep mode control considering downlink traffic pattern and mobility. In: IEEE 61st Vehicular Technology Conference, vol. 3, pp. 2076–2080 (2005) 8. Jang, J., Han, K., Choi, S.: Adaptive power saving strategies for IEEE 802.16e mobile broadband wireless access. In: Asia-Pacific Conference on Communications, pp. 1–5 (2006) 9. Tsao, S.L., Chen, Y.L.: Energy-efficient packet scheduling algorithms for real-time communications in a mobile WiMAX system. Computer Communications 31(10), 2350–2359 (2008) 10. Liao, W.H., Yen, W.M.: Power-saving scheduling with a QoS guarantee in a mobile WiMAX system. Journal of Network and Computer Applications 32(6), 1144–1152 (2009)
Minimum Energy Cost k -barrier Coverage in Wireless Sensor Networks Huiqiang Yang, Deying Li , Qinghua Zhu, Wenping Chen, and Yi Hong Key Laboratory of Data Engineering and Knowledge Engineering, MOE School of Information, Renmin University of China, P.R. China
[email protected]
Abstract. Barrier coverage problem is one of important issues in wireless sensor networks. In this paper we study the minimum energy cost k-barrier coverage problem in wireless sensor network in which each sensor has l + 1 sensing power levels. First, we transform the minimum energy cost k-barrier coverage problem into a minimum cost flow problem with side constraints. Then we use Lagrangian relaxation technique to solve this minimum cost flow problem. Moreover, we propose two efficient heuristics for the minimum energy cost k-barrier coverage problem. Simulations evaluate that our algorithms are efficient. Keywords: k-barrier coverage, sensing power level, minimum energy cost, sensor networks.
1
Introduction
Wireless sensor networks [1] provide an efficient way to guard the boundaries of critical infrastructures or assets. By deploying a number of wireless sensors along the boundaries, intruders could be detected once they enter into the areas covered by the sensors, where the union of the covered areas of sensors forms a barrier. Fig.1 shows a typical example of barrier coverage. Every path crossing the belt barrier region will be detected by at least one sensor. Compared with full coverage which requires every point in the deployment region to be covered, barrier coverage requires much fewer sensors. If the width of the deployment region is three times the sensing range, full coverage requires more than twice the density of barrier coverage. Saving in sensors grows linearly with width [2]. In recent years, with the requirement of protecting sensitive military facilities and national borders increasing, barrier coverage attracted more and more interest of researchers. In some literatures about barrier coverage, barriers are constructed as rectangular regions, which have been pre-selected as moats around the protected area. The barrier can also be annulus [2]. In practice, a certain degree of redundancy is required in barrier coverage because some sensors may fail due to draining of energy, malfunction or malicious damage and so on. k barrier coverage which every path crossing barrier region can be detected by at
Corresponding author.
G. Pandurangan et al. (Eds.): WASA 2010, LNCS 6221, pp. 80–89, 2010. c Springer-Verlag Berlin Heidelberg 2010
Minimum Energy Cost k-barrier Coverage in Wireless Sensor Networks
81
Fig. 1. An example of barrier coverage
least k sensors is proposed to address this situation. The authors [2] proposed efficient algorithms to quickly determine whether a region is k -barrier covered. In [8], the authors proposed LBCP algorithm to achieve local barrier coverage by limiting the cross path. A distributed algorithm in [9] is proposed to construct strong sensor barriers without any constraint on crossing paths. In all the above works, the sensing ranges of sensors are not adjustable. Since sensors are battery powered and it is difficult to replace the batteries, sensors may be designed to adjust sensing range adaptively to save energy consumption. In this paper, we study the problem of minimizing the energy consumption in k -barrier coverage. Each sensor has several sensing power levels and each sensing power level corresponds to a sensing range. We need to assign a sensing power level to each sensor and the result sensor network can form a k -barrier coverage. Our goal is finding such an assignment that the total sensing power is minimized. To solve the problem, we first transform our problem into minimum cost network flow problem with side constraints. Second, we use the Lagrangian relaxation technique [3] to get a lower bound of the problem. Then, we design two heuristic algorithms with different ways of constructing auxiliary graph to solve our problem. The rest of this paper is organized as follows. We discuss the related work in Section 2. Then, we give the network models and the problem statements in Section 3. In section 4, we first transform the problem to the minimum cost flow problem with side constraints, then use the Lagrangian Relaxation method to get a lower bound for our problem. In Section 5, we propose two efficient heuristic algorithms to solve our problem. Section 6 presents the performance evaluation results. Finally, Section 7 concludes the paper.
2
Related Work
The traditional coverage problems, including point coverage [4] which requires every target point to be covered by at least one or k sensors, and area coverage [5] which requires every point in the area to be covered by at least one or k sensors, have been studied intensively. The concept of barrier coverage was first introduced in the context of control schemes for multi-robot systems [6]. Kumar et al. [2] proposed efficient algorithms to quickly determine whether a region is k -barrier covered. Morever, they established an optimal deployment pattern to achieve k -barrier coverage when sensors were deployed deterministically. Different
82
H. Yang et al.
from omni-sensing model in [2], Kuo-Feng Ssu et al. [7] studied the k -barrier coverage problem in directional sensing model and developed a distributed algorithm to construct k -barrier coverage in randomly deployed directional sensor fields. Due to the observation that movements were likely to follow a shorter path when crossing a belt region, [8] introduced the concept of local barrier coverage which guaranteed to detect all movements whose trajectory were confined to a slice of the belt region of deployment and proposed LBCP algorithm to achieve local barrier coverage. Although local barrier coverage does not always guarantee global barrier coverage, the authors showed that for thin belt regions, local barrier coverage almost always provides global barrier coverage. In [9], a distributed algorithm were proposed to construct strong sensor barriers on long boundary areas of irregular shape without any constraint on crossing paths. The above works were based on the assumption that sensors were uniformly deployed in a large area at random. Saipulla, et al. [10] studied the barrier coverage when sensors were deployed along a line and established a tight lower-bound for the existence of barrier coverage in line-based deployments. All these works assumed that the sensing power of sensor were fixed. In this paper, based on multiple sensing power levels model, we study the problem of minimizing the total energy cost of k -barrier coverage in a sensor network.
3
Network Model and Problem Description
We assume that a set S of sensors are deployed randomly in a two-dimensional rectangular area where sensors do not move after they are deployed. We assume that each sensor knows the coordinates (x, y) of its own location. This may be detected through GPS or be obtained through a localization mechanism. Suppose each sensor node has l + 1 sensing power levels, 0 ≤ p1 ≤ p2 · · · ≤ pl , i.e., each sensor has l + 1 different corresponding sensing ranges {0, r1 , r2 , · · · , rl }. Every active sensor is assigned with one sensing power level in {p1 , p2 , · · · , pl }. For a given power assignment of the sensors, i.e., each sensor si is assigned with a sensing power level P L(si ),PL(si ) ∈ {0, p1 , p2 , · · · , pl }, we define the total P L(si ). energy cost of the network as si ∈S
We give some definitions as follows: Definition 1. Crossing path (or Incursive path): A path is said to be a crossing (or incursive) path in a belt region if it crosses the complete width of the region from one side to the other side. An example is illustrated in Fig.1. The red sketch path is an incursive path while the two blue paths are not crossing paths. Definition 2. A crossing path P is said to be k-covered if P intersects with at least k active sensor’s sensing disks. Definition 3. k-barrier coverage: A belt region is said to be k-barrier covered by a sensor network deployed over it if and only if all the crossing paths through the belt region are k-covered by this sensor network.
Minimum Energy Cost k-barrier Coverage in Wireless Sensor Networks
83
Definition 4. Minimum energy k-barrier coverage problem: Given a sensor network over the objective belt region and each sensor has l + 1 sensing power levels, find a sensing power level assignment such that the given belt region is k-barrier covered and the total energy cost is minimized. The goal of the paper is to find a sensing power level assignment for each sensor, i.e., the set of sensing power {P L(s1 ), P L(s2 ), · · · , P L(sn )} such that the sensor network can form a k-barrier coverage and the total energy cost is minimum among all the assignments.
4
Lagrangian Method for Minimum Energy Cost k-barrier Coverage Problem
Given a set of sensors S = {s1 , s2 , · · · , sn }, each sensor node si has l + 1 sensing power levels, 0 ≤ p1 ≤ p2 ≤ · · · ≤ pl . We consider the minimum energy cost k-barrier coverage problem in a long narrow region referred to as a belt, where sensors are deployed randomly over it. Before solving the minimum energy cost k-barrier coverage problem, we first restate the method for determine whether a belt region is k-barrier covered [2]. Corresponding to a sensor network deployed in a belt region, we derive a coverage graph CG = (V, E), where V is the set of all sensor nodes plus two virtual vertexes s and t (see Figure 2). The set of edges E is derived as follows: each pair of sensors whose sensing disks overlap is connected by an edge. Additionally, the sensors whose sensing disks intersect with the left boundary are connected to node s and the sensors whose sensing disks intersect with the right boundary are connected to node t. An example of constructed coverage graph is shown in Figure 2.
Fig. 2. A simple example of coverage graph
Lemma 1. [2] An open belt region is k-barrier covered if and only if s and t are k-connected in the corresponding coverage graph, CG. In order to solve the minimum energy cost k-barrier coverage problem, we construct an auxiliary weighted directed graph Ga = (Va , Ea , Ca , Ua ) as follows. In Ga , Va denotes the set of nodes, Ea denotes the set of edges, Ca denotes the set of edges’ cost and Ua denotes the set of edges’ capacity.
84
H. Yang et al.
t h t h t h First, we construct l node pairs {qi,1 , qi,1 }, {qi,2 , qi,2 }, · · · , {qi,l , qi,l } for each t h t sensor si in S. For each node pair {qi,k , qi,k }, we add a directional edge from qi,k h h t h to qi,k with cost pk . We add a directed edge (qi,k , qj,m ) with cost 0 from qi,k to t qj,m if and only if si ’s sensing range intersects with sj ’s sensing range while sensor si working at sensing power level pk and sensor sj working at sensing power level pm . In addition, we add a new virtual node s at the left side of the belt region and a new virtual node t at right side of the belt region. Then, there is a directed edge t with cost 0 if and only if si ’s sensing range intersects with the left from s to qi,k border of the belt region when si working at sensing power level pk . Last, there is h to t with cost 0 if and only if si ’s sensing range intersects a directed edge from qi,k with the right border of the belt region when si working at sensing power level pk . Each edge in Ea is associated with capacity 1. To formulate our problem rigorously, we use a binary variable xi,j to represent if there is an edge from i to j in Ga = (Va , Ea , Ca , Ua ). For the simplicity of the mathematical representation of the problem, we use e(si ) to denote the set of t h t h t h , qi,1 ), (qi,2 , qi,2 ), · · · , (qi,l , qi,l )} for each sensor si in S. Let X denote edges {(qi,1 the row vector of variables corresponding to each edge (i.e., X = {xi,j |(i, j) ∈ Ea }). Let C denote the row vector of the cost of edges in the same order with X (i.e., C = {ci,j |(i, j) ∈ Ea }). Let X be the transpose of vector X. Our problem can be formulated by an integer programming problem as follows:
min C · X subject to
(i,v)∈Ea
xi,v −
(1)
xu,i = 0, for each node i ∈ Va − {s, t}
(2)
xs,v = k
(3)
xu,t = k
(4)
xu,v = 1, for each edge set e(si )
(5)
xi,j = 0, 1
(6)
(u,i)∈Ea
(s,v)∈Ea
(u,t)∈Ea
(u,v)∈e(si )
From the formulation, it is easy to know that if there are not constraints (5), the problem is a classical minimum cost flow problem. Adding constraints (5), the problem becomes the minimum cost network flow problem with side constraints (5). From Lemma 1 and the structure of the auxiliary graph, we have the following result. Lemma 2. The minimum energy cost k-barrier coverage problem is equivalently transformed to the minimum cost k-flow problem with side constraints. We can use the Lagrangian relaxation algorithm in [3] to obtain a lower bound of our problem. Lagrangian relaxation has been used in various approaches to the solution of constrained capacitated network flow problems [11,12].
Minimum Energy Cost k-barrier Coverage in Wireless Sensor Networks
5
85
Two Heuristic Algorithms for Minimum Energy Cost k-barrier Coverage Problem
In this section, we propose two efficient heuristic algorithms (referred as Heuristic-1 and Heuristic-2) for the minimum energy cost k-barrier coverage problem. Every sensor si has its coordinates si (x, y) relative to the bottom-left corner of the belt region which is the original point. We use si .x to represent x-coordinate x of si . The main idea of two heuristic algorithms is that:(1) we construct an auxiliary graph according to CG; (2) use the minimum cost flow algorithm on the auxiliary graph to find k node-disjoint paths from s to t; (3) according to the construction of graph, we can adjust the sensing power levels of sensors in each path to make 1-barrier coverage. Thus we get k barrier coverage in our original sensor network. In order to make sure that a sensor node si is used only once in all paths , we split each sensor node in CG into two nodes qit and qih . This transformation replaces each original undirected edge (si , sj ) in CG by a directed edge (qih , qjt ). The main difference between Heuristic-1 and Heuristic-2 is the way of assigning cost for each edge. In Heuristic-1, we use the distance between si and sj as the cost of edges while in Heuristic-2 we use the maximum sensing power levels as the cost of edges. 5.1
Heuristic-1
In Heuristic-1, an auxiliary weighted directed graph Gb = (Vb , Eb , Cb , Ub ) where Vb denotes the set of nodes, Eb denotes the set of edges, Cb denotes the set of edges’ cost and Ub denotes the set of edges’ capacity, is constructed as follows: we construct one node pair {qit , qih } for each sensor si originally in S. For each node pair {qit , qih }, we add a directed edge from qit to qih with cost 0. We add a directed edge (qih , qjt ) with cost of dist(si , sj ) from qih to qjt if and only if the Euclidian distance between si and sj (i.e., dist(si , sj )) is less than 2 ∗ rl , where rl is the largest sensing range. In addition, we also add a new virtual node s at the left side of the belt region and a new virtual vertex t at right side of the belt region. Then, there is a directed edge from s to qit if and only if si ’s sensing range intersects with the left border of the belt region when works at its maximum sensing power level pl . The cost of this edge is si .x. There is a directed edge from qih to t if and only if si ’s sensing range intersects with the right border of the belt region when works at its maximum sensing power level pl . The cost of this edge is LEN − si .x, where LEN is the length of the belt region. Each edge in Eb is associated with capacity 1. Then we use the minimum cost flow algorithm on Gb to find k node-disjoint paths from s to t. And adjust the sensing power level of each sensor node in each path to make this path form 1-barrier coverage. According to Lemma 1, we know that the found paths form a k-barrier coverage in the sensor network. Note that we use R(pi ) to denote the sensing range corresponding to the sensing power level pi .
86
H. Yang et al.
Algorithm Heuristic-1 is formally represented as following: Algorithm 1. Heuristic-1 1: Construct an auxiliary graph Gb = (Vb , Eb , Cb , Ub ) as we have just illustrated above. 2: Using minimum cost flow algorithm in [3] to find k-minimum cost flow from s to t. 3: For each path found Pi = {s, qit1 , qih1 , · · · , qitm , qihm , t}, assign a power level for each sensor node as follows: P L(si1 ) = min{pk |rk ≥ max(si1 .x, dist(si1 , si2 ) − rl )} P L(sij ) = min{pk |rk ≥ max(dist(sij−1 , sij ) − R(P Lsij−1 ), dist(sij , sij+1 ) − rl )}, for 2 ≤ j ≤ m − 1 P L(sim ) = min{pk |rk ≥ max(dist(sim−1 , sim ) − R(P Lsim−1 ), LEN − sim .x)}
5.2
Heuristic-2
Now we will introduce another Heuristic algorithm for our problem. As in Heuristic-1, we first construct an auxiliary graph Gc = (Vc , Ec , Cc , Uc ), where Vc denotes the set of nodes, Ec denotes the set of edges, Cc denotes the set of edges’ cost and Uc denotes the set of edges’ capacity. We construct one node pair {qit , qih } for each sensor si originally in S. For each node pair {qit , qih }, we add a directed edge (qit , qih ) from qit to qih with cost pl . We add a directed edge ( qih , qjt ) with cost 0 from qih to qjt if and only if the Euclidian distance between si and sj (i.e., dist(si , sj )) is less than 2 ∗ rl , where rl is the largest sensing range. We also add a new node s at the left side of the belt region and a new node t at right side of the belt region. There is a directed edge from s to node qit with cost 0 if and only if the sensor si ’s sensing range intersects with the left border of the belt region when si working at the maximum sensing power level pl . And there is a directed edge from qih to t with cost 0 if and only if si ’s sensing range intersects with the right border of the belt region when si working at the maximum sensing power level pl . Each edge in Ec is associated with capacity 1. Then we use the minimum cost flow algorithm on Gc to find k node-disjoint paths from s to t. And adjust the sensing power level of each sensor node in each path to make this path feasible. Heuristic-2 is formally represented as follows: Algorithm 2. Heuristic-2 1: Construct an auxiliary graph Gc = (Vc , Ec , Cc , Uc ) as we have just illustrated. 2: Using minimum cost flow algorithm in [3] to find k-minimum cost flow from s to t. 3: For each found path Pi = {s, qit1 , qih1 , · · · , qitm , qihm , t}, assign a power level for each sensor node as follows: P L(si1 ) = min{pk |rk ≥ max(si1 .x, dist(si1 , si2 ) − rl )} P L(sij ) = min{pk |rk ≥ max(dist(sij−1 , sij ) − R(P Lsij−1 ), dist(sij , sij+1 ) − rl )}, for 2 ≤ j ≤ m − 1 P L(sim ) = min{pk |rk ≥ max(dist(sim−1 , sim ) − R(P Lsim−1 ), LEN − sim .x)}
Minimum Energy Cost k-barrier Coverage in Wireless Sensor Networks
87
Both in Heuristic-1 and Heuristic-2, the step 1 takes time complexity O(n). In step 2, using the minimum cost flow algorithm takes time O(n3.5 ). Step 3 takes time O(n · k). Because k is always less than n, step 3 takes time at most O(n2 ). Thus, the whole algorithm takes time O(n3.5 ).
6
Performance Evaluation
We develop a custom simulator and use it to evaluate the performance of our proposed algorithms. In the simulation, we randomly deploy sensors in a rectangular barrier with 100 units long and 5 units wide. Each sensor has 4 different sensing power levels {0, 16.0, 36.0, 64.0}. Without loss of generality, the sensing ranges are the square root of the power levels in the simulation, i.e., each sensor has 4 different sensing ranges {0, 4.0, 6.0, 8.0}. In Lagrangian Relaxation algorithm, we set the = 0.0001. Due to time cost for converging to a feasible solution is very high, we terminate the algorithm after 100 iterations and get a lower bound of an instance. In experiment, we will consider the effect of factors such as belt length, sensor density and number of required barrier coverage. The performance of the barrier construction schemes was evaluated by the total energy cost of the formed k-barrier coverage. 6.1
Total Energy Cost vs. Number of Sensors
5000 4500 4000 3500 3000 2500 2000 1500 1000 500 0
Heuristic-1 Heuristic-2 Lagrangian
100
120
Total Energy Cost
Total Energy Cost
To study the effect of number of sensors on total energy cost, we set up the networks with the number of sensors increasing from 100 to 220 with an increment of 20. The length of belt region is set to 100. Fig.3 presents the performance of the algorithms with respect to the number of sensors. We can see that Heuristic2 has better performance than Heuristic-1. The total energy cost consumed by Heuristic-1 has at most two times of the lower bound of the optimal solution. This showed our heuristic algorithms are efficient.
140
160
180
Number of sensors
(a) k = 5
200
220
8000 7000 6000 5000 4000 3000 2000 1000 0
Heuristic-1 Heuristic-2 Lagrangian
100
120
140
160
180
Number of sensors
(b) k = 8
Fig. 3. Total energy cost vs. Number of sensors
200
220
H. Yang et al.
5000 4500 4000 3500 3000 2500 2000 1500 1000 500 0
Heuristic-1 Heuristic-2 Lagrangian
100
120
Total Energy Cost
Total Energy Cost
88
140
160
180
200
8000 7000 6000 5000 4000 3000 2000 1000 0
Heuristic-1 Heuristic-2 Lagrangian
100
120
140
160
Length of Belt Region
Length of Belt Region
(a) k = 5
(b) k = 8
180
200
Fig. 4. Total energy cost vs. Length of Belt region
6.2
Total Energy Cost vs. Lenght of Belt Region
To study the effect of the length of belt region, we vary the length of belt region from 100 to 200 with an increment of 20. The number of sensors is set to 250. As shown in the Fig.4, the total energy cost increases when the length increases. This is because every path has to cover longer length. As shown in Fig.4, Heuristic-2 has better performance than Heuristic-1. The total energy cost consumed by Heuristic-1 has at most two times of the lower bound of the optimal solution. Above simulation results show that our proposed heuristic are efficient.
7
Conlusions
In this paper, we study the minimum energy cost of k-barrier coverage problem and formulate the problem into a minimum cost flow problem with side constraints. We use the classical Lagrangian algorithm to find a lower bound of the total energy cost. Then we propose two heuristic algorithms for this problem. At last, we implement all three algorithms and compare their performances. The two heuristic algorithms consume the total energy cost at most two times of the lower bound of the optimal solution. These experiments show the proposed algorithms’ efficient.
Acknowledgment This paper was supported in part by Renmin University of China under Grants 10XNJ032 and 10XNG037 and 863 high-tech project under Grant 2008AA01Z120.
References 1. Akyildiz, I., Su, W., Sankarasubramaniam, Y., Cayirci, E.: A survey on sensor networks. IEEE Communications Magazine, 102–114 (2002) 2. Kumar, S., Lai, T.H., Arora, A.: Barrier Coverage with Wireless Sensors. In: Proc. ACM MobiCom (2005)
Minimum Energy Cost k-barrier Coverage in Wireless Sensor Networks
89
3. Ahuja, R.K., Magnanti, T.L., Orlin, J.B.: Network Flows: Theory, Algorithms, and Applications. Prentice-Hall, Englewood Cliffs (1993) 4. Cardei, M., Thai, M.T., Li, Y., Wu, W.: Energy-efficient target coverage in wireless sensor networks. In: IEEE INFOCOM, pp. 1976–1984 (2005) 5. Zhou, Z., Das, S., Gupta, H.: Connected K-coverage problem in sensor networks. In: ICCCN (2004) 6. Gage, D.: Command control for many-robot systems. In: The Nineteenth Annual AUVS Technical Symposium (1992) 7. Ssu, K.-F., Wang, W.-T., Wu, F.-K., Wu, T.-T.: K-barrier coverage with a directional sensing model. International Journal on Smart Sensing and Intelligent Systems, 75–83 (2009) 8. Chen, A., Kumar, S., Lai, T.-H.: Designing localized algorithms for barrier coverage. IEEE Transactions on Mobile Computing, 491–504 (2010) 9. Liu, B., Dousse, O., Wang, J., Saipulla, A.: Strong Barrier Coverage of Wireless Sensor Networks. In: Proceeding of ACM Mobicom (2008) 10. Saipulla, A., Westphal, C., Liu, B., Wang, J.: Barrier Coverage of Line-Based Deployed Wireless Sensor Networks. In: IEEE INFOCOM, pp. 127–135 (2009) 11. Fisher, M.L.: The Lagrangian relaxation method for solving integer programming problems. Management Science, 1–18 (1981) 12. Held, M., Wolfe, P., Crowder, H.D.: Validation of subgradient optimization. Mathematical Programming, 62–88 (1974)
On the Performance of Distributed N-Cooperation Power Allocation via Differential Game in Cognitive Radio System Shunxi Gao1, Long Zhang2, Suqin Fan1, Wei Huang2, Qiwu Wu2, and Yu Deng3 1
Mechanical and Electrical Services Department, Handan Polytechnic College, Handan 056001, China 2 School of Information Engineering, University of Science and Technology Beijing, Beijing 100083, China 3 Communications Research Group, Department of Electronics, University of York, Heslington YO10 5DD, UK
[email protected]
Abstract. In this paper, we study the distributed cooperative power allocation problem in a single-cell cognitive radio system. We build up a dynamic power allocation model via differential game using two formulated cost functions. Moreover, we propose a distributed cooperative power allocation algorithm based on differential game (DCPADG) under the condition that the average power limits and QoS constraints of secondary users (SUs) are guaranteed. Numerical results demonstrate that the proposed DCPADG algorithm can effectively reduce the transmit power and improve the throughput of SUs. Keywords: Cognitive radio; cooperative power allocation; differential game.
1 Introduction Recently, with the increasing interest in cognitive radio (CR) [1], there has been significant attention in power allocation research for CR system. As a framework for modeling, game theory has gained more attention as an effective tool to analyze the distributed power allocation in CR system. In [2], L. Zhang, et al. proposed a distributed noncooperative power control algorithm based on differential game (DNPCDG), which achieves the distributed dynamic power control under the condition that the average power threshold and quality of service (QoS) of secondary users (SUs) are guaranteed. However, the DNPCDG algorithm applied the idea of noncooperative game to solve the problem of distributed power allocation. In this paper, we take into account the problem of cooperative power allocation in CR system. We build up a dynamic power allocation model via differential game using two formulated cost functions. Moreover, we present a distributed cooperative power allocation algorithm based on differential game (DCPADG) under the same condition with the DNPCDG algorithm. Numerical results demonstrate that the proposed DCPADG algorithm can effectively reduce the transmit power and improve the throughput of SUs by comparison with the DNPCDG algorithm. G. Pandurangan et al. (Eds.): WASA 2010, LNCS 6221, pp. 90–94, 2010. © Springer-Verlag Berlin Heidelberg 2010
On the Performance of Distributed N-Cooperation Power Allocation via Differential Game
91
2 System Model Consider a cellular primary user (PU) radio system consisting of a finite number of cells and base stations. Assume that n SUs are randomly distributed in a single cell over the time interval [t0,T] and SUs are either fixed or slowly moving in that cell. The SUs constitute a spread spectrum CR system centered around the fixed CR base station over the total available authorized spectrum in an ad hoc mode to share the corresponding spectrum holes (SH). Let N = {1,2,", n} denote the set of SUs. At time instant s ∈ [t0 , T ] , the signal-to-interference ratio (SIR) of SU i, for i ∈ N , is equal to ⎛ γi ( s ) = (W R ) ⋅ ⎜⎜ hi pi ( s) ⎝
⎞ h j p j ( s ) + v 2 ⎟⎟ , where pi(s) is the transmit power of SU i, hi j ∈N \ i ⎠
∑
is the channel gain from SU i to the base station of CR system, v2 is the constant background noise power of the base station of CR system, W is the system bandwidth, and R is the transmission rate of SUs. Let pi and d r denote the maximum transmit power of SU i and the cell radius of CR system, respectively. Therefore, the transmit power of SU i should satisfy pi ( s) ∈ [0, pi ] . Assume that pi is a monotone increasing function of Euclidean distance di ( 0 ≤ d i ≤ d r ) from SU i to the base station of CR system, i.e., pi = μ d i5 , where μ > 0 is the power regulation factor. Moreover, assume that di can be acquired through sensing the surrounding environment by SU i. The channel gain hi is given by hi = A diθ , where A > 0 is the constant factor and θ ∈ [3,6] is the path loss factor. To guarantee a QoS requirement, the SIR of SU i should exceed the desired target SIR γitar to recover the transmitted data correctly, i.e., γi ( s ) ≥ γitar . Furthermore, to protect PUs from the harmful interference, it is clearly required that the total transmit power of SUs should not exceed the constraint of the average power limit pth , i.e., ∑ pi ( s ) ≤ pth . Assume that the transmission paths in CR system are valid i∈N
in AWGN channels. According to [3], the throughput of SU i at time instant s ∈ [t0 , T ] , for i ∈ N , can be written as ti ( s ) = log 2 (1 + k ⋅ γ i ( s )) , where k > 0 is the constant factor.
3 Distributed N-Cooperative Power Allocation Definition 1. The N-cooperation is defined as a scenario that all of SUs in a single cell within CR system agree to cooperate, i.e., full cooperation. For N-cooperation power allocation, assume that SUs agree to constitute grand coalition N through full cooperation for their common interests. We introduce two cost functions of SU i to formulate the payoff function, i.e., the power reduction (PR) cost function Ci ( pi ( s )) and the power radiation damage (PRD) cost function Di ( x( s )) . The PR cost function of SU i at time instant s ∈ [t0 , T ] is defined as
92
S. Gao et al.
Ci ( pi ( s )) =
λ 2
⋅ ( pi ( s ) − pi )
2
(1)
where λ > 0 is the power regulation factor. To describe the negative effect caused by interference from SUs, we define the PRD cost function of SU i as Di ( x( s )) = π ⋅ x( s)
(2)
where π > 0 is power radiation damage factor and x( s ) is the stock of the accumulated power radiation at time instant s ∈ [t0 , T ] . Combining with differential game theory [4], x( s ) in (2) can be regarded as state variable in differential game. At time instant s ∈ [t0 , T ] , the instant payoff function of SU i can be written as the sum of two cost functions, i.e., gi =
λ 2
⋅ ( pi ( s ) − pi ) + π ⋅ x( s ) 2
(3)
where pi(s) can be regarded as the control variable of SU i in differential game. Therefore, the payoff function of SU i can be given by T 2 ⎡λ ⎤ min ∫ exp(− rs ) ⎢ ⋅ ( pi − pi ) + π ⋅ x ⎥ ds t0 pi ⎣2 ⎦
(4)
where r ∈ [0,1] is the discount rate. According to [4], x( s ) is assumed to satisfy the following differential equation, i.e., x ( s ) = ∑ pi ( s) − δ ⋅ x( s ), i∈ N
x (t0 ) = x0
(5)
where δ > 0 is the power radiation absorption factor. For the convenience of derivation, we relax the time interval of the game and discuss the infinite-horizon differential game [4], i.e., T → ∞ and t0=0 in (4). Let { p1Ν , p2Ν ,", pnΝ } be the transmit power of n SUs under the condition of grand coalition N and assume that there exists continuously differentiable function W ( N , x) , which satisfies Bellman equation in [4], i.e., ⎧ ⎡λ ⎞⎫ 2 ⎤ ∂W ( N , x ) ⎛ rW ( N , x) = min ⎨ ∑ ⎢ ⋅ ( pi − pi ) + π ⋅ x ⎥ + ⎜ ∑ pi − δ ⋅ x ⎟ ⎬ pi ∂x ⎦ ⎝ i∈N ⎠⎭ ⎩i∈N ⎣ 2
(6)
Performing the indicated minimization in (6) yields piN = pi −
1 ∂W ( N , x) ⋅ ∂x
λ
(7)
Substituting piN in (7) into (6), we obtain ∂W ( N , x) ⎡ ⎛ 1 ∂W ( N , x) ⎞ ⎤ ⎪⎫ 2 ⎪⎧ λ rW ( N , x) = min ⎨ ⋅ ( pi − pi ) + π ⋅ x + ⎟ − δ ⋅ x⎥ ⎬ ⎢ ∑ ⎜ pi − λ ⋅ pi ⎪ 2 ∂ x ∂ x ⎠ ⎣ i∈ N ⎝ ⎦ ⎭⎪ ⎩
(8)
On the Performance of Distributed N-Cooperation Power Allocation via Differential Game
93
Solving the differential equations in equation (8), we obtain W ( N , x) =
⎫⎪ nπ ⎧⎪ ⎡ n 2π ⎤ ⎨ ⎢ ∑ pi − ⎥ + rx ⎬ , r (r + δ ) ⎪⎩ ⎣i∈N 2λ (r + δ ) ⎦ ⎪⎭
piN = pi −
nπ
λ (r + δ )
(9)
Compared with the transmit power of SU i in DNPCDG algorithm [2], the transmit power of SU i of the N-cooperation power allocation is theoretically reduced. The DCPADG algorithm is given as follows. Step 1. SUs obtain SH by sensing spectrum. Step 2. Initialization at time instant t0=0: parameters of CR system and dynamic power allocation model, pth , pi (t0 ) ( pi (0) ∈ [0, pi ] , ∑ pi (0) ≤ pth ), and γitar . i∈N
Step 3. Update pi over time within time interval [t0 , T ] . Step 4. Regulate pi ( s) at time instant s ∈ [t0 , T ] through (10). If
∑ pi (s) > pth , go to
i∈N
Step 2. If γi ( s ) < γitar , go to Step 2. If PUs use the SH, go to Step 1. Or go to Step 3. Table 1. Parameters used in simulations Symbol Average power limit Pth Background noise power v2 System bandwidth W Transmission rate R Initialized transmit power Desired target SIR Path gain factor A Path loss factor θ Power regulation factor μ Constant factor for throughput of single SU k Power reduction factor λ Power radiation damage factor π Discount rate r Power radiation absorption factor δ
Default Value 2.5W 2×10-15mW 106Hz 104bits/s 2.22×10-16mW 8 0.097 4 2×10-14 0.2 1.25×10-6 5×10-3 0.05 0.03
4 Numerical Results and Conclusions In the simulations, we evaluate the performance of DCPADG algorithm by comparing it with the DNPCDG algorithm [2] and the conventional SIR-balancing algorithm [5]. The iterative function of power regulation of SU i in SIR-balancing algorithm [5] is given by pi(l +1) = ( γitar γi(l ) ) ⋅ pi(l ) , l = 0,1, 2," The feedback Nash equilibrium of the transmit power of SU i in DNPCDG algorithm [2] is given by pi∗ = pi − π λ (r + δ ) . We consider a single-cell CR system with n = 10 randomly distributed SUs and dr=500m. The distance from SUs to the base station of CR system is set to the same values as that in [2]. The other parameters used in simulations are given in Table 1. Fig. 2 compares the transmit power of the DCPADG algorithm, the DNPCDG algorithm and the SIR-balancing algorithm. We observe from Fig. 2 that the transmit power of the proposed DCPADG algorithm is lower than those of the DNPCDG
94
S. Gao et al.
Fig. 1. Comparison of transmit power of the proposed DCPADG algorithm, the DNPCDG algorithm and the SIR-balancing algorithm.
Fig. 2. Comparison of throughput of the proposed DCPADG algorithm, the DNPCDG algorithm and the SIR-balancing algorithm.
algorithm and the SIR-balancing algorithm in the range of distance from SU to base station between 200m and 500m, which indicates that the DCPADG algorithm is more suitable for the SUs with the farther distance to the base station of CR system. Fig. 3 shows that the comparison of throughput of the DCPADG algorithm, the DNPCDG algorithm and the SIR-balancing algorithm. It can be easily seen that the throughput of the DCPADG algorithm, the DNPCDG algorithm and the SIRbalancing algorithm is shown as a gradual increasing trend with the growth of the distance from SU to base station. It is obvious that the throughput of the DCPADG algorithm is higher than those of the DNPCDG algorithm and the SIR-balancing algorithm in the range of distance from SU to base station between 45m and 430m. In this paper, we study the distributed cooperative power allocation problem in a single-cell CR system and further propose the DCPADG algorithm. Numerical results demonstrate that the proposed algorithm can effectively reduce the transmit power and improve the throughput of SUs. Acknowledgments. This work is funded in part by the NSFC under Grant No. 60903004.
References 1. Mitola III, J., Maguire, G.: Cognitive radio: making software radios more personal. IEEE Personal Communications 6(4), 13–18 (1999) 2. Zhang, L., Zhou, X., Wang, J., Huang, W., Ma, Z.: Power Control Algorithm Based on Differential Game for CR System. Journal of Electronics & Information Technology 32(1), 141–145 (2010) 3. Qiu, X., Chawla, K.: On the performance of adaptive modulation in cellular systems. IEEE Transactions on Communications 47(6), 884–895 (1999) 4. Yeung, D.W.K., Petrosyan, L.A.: Cooperative Stochastic Differential Games. Springer, Heidelberg (2005) 5. Koskie, S., Gajic, Z.: A Nash game algorithm for SIR-based power control in 3G wireless CDMA networks. IEEE/ACM Transactions on Networking 13(5), 1017–1026 (2005)
Energy-Efficient Restricted Greedy Routing for Three Dimensional Random Wireless Networks Minsu Huang1, Fan Li2, , and Yu Wang1, 1
University of North Carolina at Charlotte, USA {mhuang4,yu.wang}@uncc.edu 2 Beijing Institute of Technology, China
[email protected]
Abstract. In this paper, we investigate how to design energy-efficient localized routing in a large-scale three-dimensional (3D) wireless network. Several 3D localized routing protocols were proposed to seek either energy efficiency or delivery guarantee in 3D wireless networks. However, recent results [1, 2] showed that there is no deterministic localized routing algorithm that guarantees either delivery of packets or energy efficiency of its routes in 3D networks. In this paper, we focus on design of a simple localized routing method which can provide energy efficiency with high probability in a randomly deployed 3D network. In particular, we extend our previous routing method designed for 2D networks [3] to 3D networks. The proposed 3D routing method is a simple variation of 3D greedy routing and can guarantee energy efficiency of its paths with high probability in random 3D networks. We also study its asymptotic critical transmission radius to ensure the packet delivery with high probability in random 3D networks. Simulation results confirm our theoretical results.
1 Introduction Recently, three-dimensional (3D) wireless network has received significant attention [4, 5, 6, 7, 8], due to its wide range of potential applications (such as underwater sensor networks [9]). However, the design of networking protocols for 3D wireless networks is surprisingly more difficult than that for 2D networks. In this paper, we focus on one particular problem in 3D networks: energy efficient localized geographic routing. In localized geographic routing, the forwarding decision is made by the intermediate node based solely on its local information. Without the route discovery phase and maintenance of routing tables, it enjoys the advantages of lower overhead and higher scalability than other traditional routing protocols. This makes it very suitable for 3D networks. Greedy routing is one of the most popular localized routing methods, in which a packet is greedily forwarded to the closest node to the destination in order to minimize the average hop count. Greedy routing can be easily extended to 3D case. Actually, several under-water routing protocols [6, 10] are just variations of 3D greedy routing.
The work of F. Li is supported in part by the National Natural Science Foundation of China under Grant No. 60903151, the Beijing Key Discipline Program, and funds provided by Beijing Institute of Technology. The work of M. Huang and Y. Wang is supported in part by the US National Science Foundation (NSF) under Grant No. CNS-0721666 and No. CNS-0915331. G. Pandurangan et al. (Eds.): WASA 2010, LNCS 6221, pp. 95–104, 2010. c Springer-Verlag Berlin Heidelberg 2010
96
M. Huang, F. Li, and Y. Wang
However, to guarantee packet delivery or energy efficiency of 3D routing is not straightforward and very challenging. Simple greedy routing may fail to reach the destination when falls into a local minimum (a node without any “better” neighbors). Face routing [11] can be used on planar topology to recovery from local minimum and guarantee the delivery in 2D networks, but there is no planar topology concept any more in 3D networks. In fact, Durocher et al. [1] recently proved that there is no deterministic localized routing algorithm for 3D networks that guarantees the delivery of packets. On the other hand, even a localized routing method can find the route to deliver the packet, it may not guarantee the energy efficiency of the path, i.e., the total power consumed compared with the optimal could be very large in the worst case. Several energy-aware localized 2D routing protocols [12, 13, 14] already took the energy concern into consideration, but none of them can theoretically guarantee the energy-efficiency of their routes. This is true for all existing 3D localized routing methods too. Recently, Flury and Wattenhofer [2] showed an example of a 3D network (Figure 1 of [2]) where the path found by any localized routing protocol to connect two nodes s and t has energy consumption asymptotically at least Θ(d3 ) in the worst case. Here d is the optimal energy consumption to connect s and t. Therefore, in this paper, we focus on the design of a simple localized routing method which can provide energy efficiency with high probability in a randomly deployed 3D network. In particular, we extend our previous routing method designed for 2D networks [3] to 3D networks. The proposed 3D routing method is a simple variation of 3D greedy routing and can guarantee energy efficiency of its path with high probability if it finds one in random 3D networks. To ensure that our routing method can find paths with high probability, we also study its asymptotic critical transmission radius (CTR) in random 3D networks. We prove that for a 3D network formed by nodes, that are generated by a Poisson point process of density n over a convex compact region of unit volume, the CTR for our proposed 3D routing is asymptotic almost sure (a.a.s.) at most ln n 2 for any β > β0 and at least 3 3β4πn for any β < β0 . Here, β0 = 1−cosα where α is an parameter used by our routing method. The rest of the paper is organized as follows. Section 2 presents our network model and a formal definition of CTR. Section 3 gives our proposed 3D localized routing protocol and derived bounds on its CTR. Section 4 shows our simulation results and Section 5 summarizes the paper. 3
3β ln n 4πn
2 Preliminaries Network Model and Assumptions: We consider a set V of n wireless devices (called nodes hereafter) uniformly distributed in a compact and convex 3D region D with unitvolume in R3 . By proper scaling, we assume the nodes are represented by a Poisson point process Pn of density n over a unit-volume cube D. Each node knows its position information and has a uniform transmission radius r (or rn ). Then the communication network is modeled by a unit disk graph G(V, r), where two nodes u and v are connected if and only if their Euclidean distance is at most r. Hereafter, we use u − v to denote the Euclidean distance between u and v. For a link uv ∈ G(V, r), we use uv
Energy-Efficient Restricted Greedy Routing
97
to denote its length. We further assume that the energy needed to support the transmission of a unit amount of data over a link uv is e(uv), where e(x) is a non-decreasing function on x. |A| is shorthand for the volume of a measurable set A ⊂ R3 . An event is said to be asymptotic almost sure if it occurs with a probability converges to one as n → ∞. To avoid trivialities, we assume n to be sufficiently large if necessary. Critical Transmission Radius for Greedy-based Routing: In any greedy-based routing, the packet may be dropped by an intermediate node when it could not find any of its neighbors that is “better” than itself. One way to ensure that the routing is successful for every source-destination pair is during the topology control phase each node is set with a sufficiently large transmission radius such that every intermediate node will always find a better neighbor. Critical transmission radius for routing algorithm is first studied by [15]. A routing method A is successful over a network G if the routing method A can find a path for any pair of source and destination nodes. Then we can define the critical transmission radius (CTR) of A as follows: Definition 1. Given a routing method A and a set of wireless nodes V , the critical transmission radius, denoted as ρA (V ), for successful routing of A over V is the minimum transmission radius r such that method A over the network G(V, r) is successful. The subscript A will be omitted from ρA (V ) if it is clear from the context. In [15], Wan et al. derived the CTR of 2D greedy routing in random networks. Recently, Wang et al. [8] also derived the CTR of 3D greedy routing in random 3D networks. In this paper, we will use similar techniques from [15, 8] to study the CTR of our 3D routing.
3 Energy-Efficient Restricted 3D Greedy Routing In this section, we present details of our energy-efficient localized 3D routing method and theoretical analysis on its critical transmission radius in 3D random networks. 3.1 Routing Method Our energy-efficient localized 3D routing method is a variation of classical 3D greedy routing and an extension of a localized routing method [3] we designed for 2D networks. In 3D greedy routing, current node u selects its next hop neighbor based purely on its distance to the destination, i.e., it sends the packet to its neighbor who is closest to the destination. However, such choice might not be the most energy-efficient link locally, and the overall route might not be globally energy-efficient too. Therefore, our routing method use two concepts energy mileage and restricted region to refine the choices of forwarding nodes in 3D greedy routing. Energy Mileage: Given a energy model e(x), energy mileage is the ratio between x . the transmission distance and the energy consumption of such transmission, i.e., e(x) r0 x Let r0 be the value such that e(r0 ) = maxx e(x) . We call r0 as the maximum energy x mileage distance1 under energy model e(x). We assume that the energy mileage e(x) is an increasing function when x < r0 and a decreasing function when x > r0 . 1
Here, we assume that d( e(x) )/dx is monotone increasing, thus, r0 is unique. x
98
M. Huang, F. Li, and Y. Wang
This assumption is true for most of commonly used energy models. For example, if 2 e(uv) = uv + c is the energy √ used by sending message from u to v, the maximum energy mileage distance r0 = c. Our 3D localized routing greedily selects the neighbor who can maximize the energy mileage as the forwarding node. Restricted Region: Instead of selecting the forwarding node from all neighbors of current node u (a unit ball in 3D as shown in Figure 1(a)), our 3D routing method prefers the forwarding node v inside a smaller restricted region. The region is defined inside a 3D cone with an angle parameter α < π/3, such that angle ∠vut ≤ α, as shown in Figure 1(b). The use of α (restricting the forwarding direction) is to bound the total distance of the routing path. Then the restricted region is a region inside this 3D cone and near the maximum energy mileage distance r0 , such that every node v inside this area satisfies η1 r0 ≤ uv ≤ η2 r0 , as shown in Figure 1(b). Here, η1 and η2 are two constant parameters. This can help us to prove the energy-efficiency of the route. Notice that both these ideas are not completely new. Restricted region with an angle has been used in some localized routing methods, such as nearest/farthest neighbor routing [16], while concepts similar to energy mileage have been used in some energyaware localized routing methods [12,14]. However, combining both of these techniques to guarantee energy efficiency is first done in our previous work [3] for 2D networks. In this paper, we further adapt them into 3D routing. Our energy-efficient localized 3D routing protocol is given in Algorithm 1. There are four parameters used by our method. Three adjustable parameters 0 < α < π3 and η1 < 1 < η2 define the restricted region, while r0 is the best energy mileage distance based on the energy model. For example, the following setting √ of these parameters can be used for energy model e(x) = x2 + c: α = π4 , r0 = c, η1 = 1/2 and η2 = 2. Hereafter, we denote the routing algorithm, energy-efficient restricted greedy, as ERGrd if no greedy routing (Grd) is used when no node v satisfies that ∠vut ≤ α. If Grd is applied afterward, then the routing protocol is denoted ERGrd+Grd. Notice that if Grd fails to find a forwarding node, randomized scheme [2] could also be applied.
r
t
u
r0 u
t
α
v
(a) all possible forwarding neighbors (b) best energy mileage forwarding v u
α
t
u
α
t
v
(c) greedy forwarding inside 3D cone
(d) classical greedy forwarding
Fig. 1. Illustrations of our 3D routing: (a) energy-efficient forwarding in the restricted region, (b) greedy forwarding in the 3D cone, (c) greedy forwarding when the 3D cone is empty
Energy-Efficient Restricted Greedy Routing
99
Algorithm 1. Energy-Efficient Restricted 3D Greedy Routing 1: while node u receives a packet with destination t do 2: if t is a neighbor of u then 3: Node u forwards the packet to t directly. 4: else if there are neighbors inside the restricted region and r0 < r then uv is 5: Node u forwards the packet to the neighbor v such that its energy mileage e(uv) maximum among all neighbors w inside the restricted region, as shown in Figure 1(b). 6: else if there are neighbors inside the 3D cone then 7: Node u finds the node v inside the 3D cone (Figure 1(c)) with the minimum t − v. 8: else 9: Greedy routing (Figure 1(d)) is applied, or the packet is simply dropped. 10: end if 11: end while
The path efficiency of ERGrd is given by the following two theorems. The detail proofs of these two theorems are exactly the same with the proofs of Theorems 1-3 in [3] for 2D network, thus are ignored here. Theorem 1. When ERGrd routing indeed finds a path PERGrd (s, t) from the source s to the target t, the total Euclidean length of the found path is at most δt − s where δ = 1−2 1sin α , thus, a constant factor of the optimum. 2
Theorem 2. When ERGrd routing indeed finds a path PERGrd (s, t) from the source s to the target t, the total energy consumption of the found path is within a constant factor σ of the optimum. When r0 ≥ r, σ depends on α; otherwise, depends on η1 , η2 and α. 3.2 Critical Transmission Radius of 3D ERGrd Routing Notice that ERGrd routing may fail, as all other greedy-based methods do, when an intermediate node cannot find a better neighbor to forward the packet. We now study the critical transmission radius for ERGrd routing in random wireless networks. Given a set of nodes V distributed in a region D, the critical transmission radius ρ(V ) for successful routing by 3D ERGrd is max
min
u,v w: ∠wuv≤α
w − u.
(1)
By setting the r = ρ(V ), ERGrd can always find a forwarding node inside the 3D cone region, thus can guarantee its packet delivery. In this section, we prove a similar result as in [15, 3, 8] for our restricted 3D greedy routing method, 3D ERGrd. 2 Theorem 3. Let β0 = 1−cosα and n 43 πrn3 = β ln n for some β > 0. Then, 1. If β > β0 , then ρ (Pn ) ≤ rn is a.a.s.. 2. If β < β0 , then ρ (Pn ) > rn is a.a.s.. 4π/3 2 = 1−cosα is the ratio between the volume of a unit ball Here, β0 = 2π(1−cosα)/3 and the volume of a 3D cone (the forwarding region) inside the ball. Next, we present the detailed proofs for two parts of this theorem. To simplify the argument, we ignore boundary effects by assuming that there are nodes outside D with the same distribution. So, if necessary, packets can be routed through those nodes outside D.
100
M. Huang, F. Li, and Y. Wang
Upper Bound of Theorem 3: To prove the upper bound, it is sufficient to show that when each node has a transmission radius rn satisfying the above condition and β > β0 , for every pair of nodes u and v there is always a node w ∈ Pn such that ∠wuv ≤ α and w − u ≤ rn , i.e., any intermediate node u can find a “better” neighbor w towards the destination node v. Given a point distribution Pn , let S(Pn , rn ) be the minimum number of such neighboring nodes w that can be chosen by any intermediate node u for any possible destination v. As proved in [15], it suffices to prove that the cardinality |S(Pn , r)| > 0. Instead, we now prove a stronger result shown in the following lemma. Lemma 1. Suppose that n 43 πrn3 = β ln n for β > β0 . Then for any constant some β1 β1 ∈ (β0 , β), it is a.a.s. that S (Pn , rn ) > L β0 ln n. Here L(x) = xφ−1 (1/x) for x > 0 and φ(x) = 1 + x ln x − x for x > 0.
Proof. Given a node u, the region that node u can choose its neighbor to forward data is a 3D cone with angle 2α, as shown in Figure 1(c). Let Y denote this 3D cone and d denote its diameter (i.e., the largest distance between any two points inside √ it). Clearly d = rn when α ≤ π6 , and d = 2 sin α · rn when π6 ≤ α < π3 . Thus, d < 3rn . Assume that the space is partitioned into 3D grids (equal-size cubes) of side length η, which we call it η-tessellation of space. Here, we consider an εd-tessellation, where 4 ε = 27β (1 − ββ2 ). A polycube is defined as the set of cubes that intersect with a 0 convex and compact region, e.g., Y. Notice that when the grid-partition shifts, we will have different polycubes for the fixed region Y. A polycube in a η-tessellation is said to have a span s if it can be contained in a cube of side-length s · η. We are only interested in polycube that has span at most 1ε and volume at least a certain fraction of 4π 3 3 rn . Assume that, given Y, there are In different such polycubes that are completely β2 ln n 3 contained inside, with span at most 1ε and volume at least ββ02β 4π 3 rn = ( β0 ) n . For ith such polycubes, let Xi denote the number of nodes of V contained inside. Then Xi is a Poisson RV with rate at least ββ20 ln n. Since the number of cubes in D is 1 3 O εd = O lnnn , by Lemma 3 of [8], In = O lnnn . By Lemma 6 of [15], it is In mini=1 Xi β2 β1 a.a.s. that ≥ L > L . ln n β0 β0 n To prove the lemma, it is sufficient to show that S(Pn , r) ≥ minIi=1 Xi . In other words, we only need to show that for any Y, it contains a polycube P has span at r3 . For a 3D cone Y, let P denote the polycube inmost 1ε and volume at least ββ02β 4π 3 n duced by Y−√3εd . Here Y−x denotes the region of Y whose points are of distance at x from the boundary of Y. Then, P ⊆ Y, and the span of P is at most least √ d−2 3εd 4 + 1 < 1ε . By Lemma 2 in [8] and the fact that |Y| = 43 πrn3 β10 > 9√ πd3 β10 , εd 3 √ √ 0 we have |P | ≥ Y−√3εd ≥ |Y| − πd2 3εd = |Y| − 3επd3 > |Y| − 27β 4 ε |Y| = β2 β2 4 3 1 0 |Y| 1 − 27β 4 ε = β |Y| = β0 3 πrn β . This completes the proof of the lemma. ln n Lower Bound of Theorem 3: We now show that, if rn = 3 3β4πn for any β < β0 , a.a.s., there are two nodes u and v such that we cannot find a node w for forwarding by node u, i.e., there does not exist node w inside the 3D cone. Again we partition the space using equal-size cubes (called cells) with side-length ηrn for a constant 0 < η to
Energy-Efficient Restricted Greedy Routing
101
(1+δ)rn
δrn+ rn
u u
w rn
v
η rn
(a) selection of u
(b) no forwarding node
Fig. 2. Illustrations of the proof of lower bound: (a) a cubic cell and the region where we select a node u; (b) the event that node u cannot find a forwarding node w to reach a node v
be specified later. Thus the number of cells, denoted by In here, that are fully contained inside the compact and convex region D with unit volume, is Θ( η31r3 ) = Θ( lnnn ). Let n Eu,v denote the event that no forwarding node w (in the 3D cone) exists for node u to reach node v. Then to prove our claim, it is equivalent to prove that the probability of at least one of the event Eu,v happens a.a.s., i.e., 1 − Pr(none of event Eu,v happens). Since the events Eu,v are not independent for all pairs u and v, we will only consider a special subset of events that are independent. Consider any cell produced by the 3D grid partition that are contained inside D. For each cell, we draw a shaded cube with side-length (η − 2(1 + δ))rn and it is of distance (1 + δ)r to the boundary of the cell, as shown in Figure 2 (a). We only consider the case when node u is located in this shaded cube. We also restrict the node v to satisfy that rn < u − v ≤ (1 + δ)rn , i.e., in the torus region in Figure 2 (b). Clearly, node v will also be inside this cell, and the shaded 3D cone where the possible forwarding node could locate is also inside this cell. Thus, events Eu1 ,v1 and Eu2 ,v2 are independent if u1 and u2 are selected as above from different cells. For each cell i, we compute the probability that event Eui ,vi happens, where ui is selected from the shaded cube of cell i and vi is selected such that rn < vi − ui ≤ (1 + δ)rn . Recall that for any region A, the probability that it is empty of any nodes is e−n|A| . 3 3 Clearly, the probability that node ui exists is 1 − e−n(η−2−2δ) rn since the shared cube 3 3 4 has volume (η −2−2δ)3 rn3 ; the probability that node vi exists is 1−e−n 3 π((1+δ) −1)rn 4 since the torus has volume 3 π((1+δ)3 −1)rn3 . Given node ui and vi , the probability that 3 2 event Eui ,vi happens is e−n 3 π(1−cosα)rn = e−β/β0 ln n = n−β/β0 . Consequently, event 3 3 Eu,v happens for some node pairs ui and vi is Pr(Eui ,vi ) ≥ (1 − e−n(η−2−2δ) rn )(1 − 3 3 3 3 4 e−n 3 π((1+δ) −1)rn )n−β/β0 = (1 − n−β(η−2−2δ) 3/4π )(1 − n−β((1+δ) −1) )n−β/β0 . Thus, the probability that ERGrd routing fails to find a path for some source/destination pairs is Pr(at least one of events Eu,v happens) ≥ Pr(at least one of Eui ,vi happens)= 1 − Pr(none of Eui ,vi happens) = 1 − (1 − Pr(Eui ,vi ))In = 1 − eIn ·ln (1−Pr(Eui ,vi )) ≥ 3 1 − e−In ·Pr(Eui ,vi ) . Notice that In · Pr(Eui ,vi ) = Θ( lnnn )(1 − n−β(η−2−2δ) 3/4π )(1 − 3
1−β/β0
n−β((1+δ) −1) )n−β/β0 n ln n , which goes to ∞ as n → ∞ when β < β0 , η − 2 − 2δ > 0, and δ > 0. This can be easily satisfied, e.g., δ = 1, η = 5. Thus, limn→∞ 1 − e−In ·Pr(Eui ,vi ) = 1. This completes the proof.
102
M. Huang, F. Li, and Y. Wang
4 Simulation In this section, we study performance of our ERGrd routing in random 3D networks via extensive simulation. Critical Transmission Radius of ERGrd Routing: To confirm our theoretical analysis, we conduct simulations to study the real values of CTR of ERGrd routing method in random 3D networks. We randomly generate 1000 networks with n nodes in a 100 × 100 × 100 cubic region, where n is from 50 to 500. For each network V , we compute the CTR ρ(V ) of ERGrd by using Equation (1). Figure 3 show the probability distribution function of ρ(V ) when α = π/6 and α = π/4. It is clear that the CTR satisfies a transition phenomena, i.e., there is a radius r0 such that ERGrd can successfully deliver all packets when r > r0 and can not deliver some packets when r < r0 . Notice that the transition becomes faster when the number of nodes increases. This confirms our theoretical analysis on the existence of CTR. In addition, from the figures, we can find that larger node density always leads to smaller value of CTR. The practical value of ρ(V ) is larger than the theoretical bound in our analysis, since the theoretical bound is standing for n → ∞. Compared the two cases with α = π/6 and π/4, larger CTR is required if smaller restricted region (i.e. smaller α) is applied. Probability of r>ρ(V)
1
1
0.8
0.8
Probability
Probability
Probability of r>ρ(V)
0.6
0.4
n=50 n=100 n=200 n=300 n=400 n=500
0.2
0 30
40
50
60
70
80
Transmission Radius, r
(a) PDF of ERGrd-30
90
0.6
0.4
n=50 n=100 n=200 n=300 n=400 n=500
0.2
100
0 20
30
40
50
60
70
80
Transmission Radius, r
(b) PDF of ERGrd-45
Fig. 3. PDF curves of 3D ERGrd routing when α = π/6 (30◦ ) and α = π/4 (45◦ )
Network Performance of ERGrd Routing: We implement the classic 3D greedy routing (Grd) and variations of our proposed restricted greedy routing (specifically, RGrd-30, ERGrd-45, ERGrd+Grd-30, and ERGrd+Grd-45, where 30 or 45 is the degree value of α.) in our simulator. We assume that the energy consumption of a link uv is 2 e(uv) = uv + c, where c = r2 /4. The values of η1 and η2 are 1/2 and 2. By setting various transmission radii, we generate 100 connected random networks with 100 wireless nodes again in a 100 × 100 × 100 cubic region. We randomly select 100 source-destination pairs for each network and test five greedy-based 3D routing. All results presented hereafter are average values over all routes and networks. Figure 4 illustrates the average delivery ratios of the five routing methods. Clearly, the delivery ratio increases when r increases. After r is larger than a certain value, it
Energy-Efficient Restricted Greedy Routing
103
1
Average Delivery Ratio
0.9 0.8 0.7
Grd ERGrd−30 ERGrd−45 ERGrd+Grd−30 ERGrd+Grd−45
0.6 0.5 0.4 0.3 0.2 0.1
25
30
35
40
45
50
55
Transmission Radius
Fig. 4. Average delivery ratios of 3D ERGrd routing methods in random networks
always guarantees the delivery. Notice that ERGrd methods without Grd backup have lower delivery ratio under the same circumstance, since they have smaller region to select the next hop node. With Grd backup, the delivery ratios of ERGrd+Grd methods are almost the same with those of Grd (simple 3D greedy). Figure 5(a) and (b) illustrate the average length stretch factors and energy stretch factors of all routing methods, respectively. Here, the length/energy stretch factor of a path from node s to node t is the ratio between the total length/energy of this path and the total length/energy of the optimal path connecting s and t. Smaller stretch factor of a routing method shows better path efficiency. For the length stretch factor, the ERGrd with α = π/6 has the best length efficiency. It is surprising that with α = π/4 the length of ERGrd path could be longer than simple greedy. However, when considering the energy efficiency, all ERGrd methods can achieve better path efficiency than simple greedy method. Notice that smaller restricted region leads to better path efficiency, however it also has lower delivery ratio. Therefore, it is a trade-off between path efficiency and packet delivery. It is also clear that when the network is dense (with large transmission radius), ERGrd and ERGrd+Grd are almost the same, since ERGrd can always find nodes inside the 3D cone. 1.2 Grd ERGrd−30 ERGrd−45 ERGrd+Grd−30 ERGrd+Grd−45
1.08 1.07 1.06 1.05 1.04 1.03 1.02 1.01 1
25
30
35
40
45
Transmission Radius
(a) Length Stretch Factor
50
55
Average Energy Stretch Factor
Average Length Stretch Factor
1.1 1.09
1.18 1.16 1.14
Grd ERGrd−30 ERGrd−45 ERGrd+Grd−30 ERGrd+Grd−45
1.12 1.1 1.08 1.06 1.04 1.02 1
25
30
35
40
45
50
55
Transmission Radius
(b) Energy Stretch Factor
Fig. 5. Path efficiency (length stretch factor and energy stretch factor) of 3D ERGrd routing methods in random networks
104
M. Huang, F. Li, and Y. Wang
5 Conclusion In this paper, we propose a simple localized routing protocol ERGrd for 3D networks. The proposed method achieves the energy efficiency by limiting its choice inside a restricted region and picking the node with best energy mileage. We then theoretically derive the critical transmission radius of our proposed 3D routing for random 3D networks. This provides the insight about how large the transmission radius should be set for our method to guarantee the delivery of packets between any two nodes. We also conduct extensive simulations to confirm our theoretical results.
References 1. Durocher, S., Kirkpatrick, D., Narayanan, L.: On routing with guaranteed delivery in three-dimensional ad hoc wireless networks. In: Rao, S., Chatterjee, M., Jayanti, P., Murthy, C.S.R., Saha, S.K. (eds.) ICDCN 2008. LNCS, vol. 4904, pp. 546–557. Springer, Heidelberg (2008) 2. Flury, R., Wattenhofer, R.: Randomized 3D geographic routing. In: IEEE Infocom (2008) 3. Wang, Y., Song, W.-Z., Wang, W., Li, X.-Y., Dahlberg, T.: LEARN: localized energy aware restricted neighborhood routing for ad hoc networks. In: Proc. of IEEE SECON (2006) 4. Alam, S.M.N., Haas, Z.J.: Coverage and connectivity in three-dimensional networks. In: Proc. of ACM Mobicom (2006) 5. Kao, G., Fevens, T., Opatrny, J.: Position-based routing on 3D geometric graphs in mobile ad hoc networks. In: Proc. of CCCG 2005 (2005) 6. Pompili, D., Melodia, T.: Three-dimensional routing in underwater acoustic sensor networks. In: Proceedings of ACM PE-WASUN 2005, Montreal, Canada (October 2005) 7. Ravelomanana, V.: Extremal properties of three-dimensional sensor networks with applications. IEEE Transactions on Mobile Computing 3(3), 246–257 (2004) 8. Wang, Y., Yi, C.-W., Li, F.: Delivery guarantee of greedy routing in three dimensional wireless networks. In: Li, Y., Huynh, D.T., Das, S.K., Du, D.-Z. (eds.) WASA 2008. LNCS, vol. 5258, pp. 4–16. Springer, Heidelberg (2008) 9. Akyildiz, I.F., Pompili, D., Melodia, T.: Underwater acoustic sensor networks: research challenges. Ad Hoc Networks 3(3), 257–279 (2005) 10. Xie, P., Cui, J.-H., Lao, L.: VBF: Vector-based forwarding protocol for underwater sensor networks. In: Boavida, F., Plagemann, T., Stiller, B., Westphal, C., Monteiro, E. (eds.) NETWORKING 2006. LNCS, vol. 3976, pp. 1216–1221. Springer, Heidelberg (2006) 11. Bose, P., Morin, P., Stojmenovic, I., Urrutia, J.: Routing with guaranteed delivery in ad hoc wireless networks. ACM/Kluwer Wireless Networks 7(6) (2001) 12. Li, C.-P., Hsu, W.-J., Krishnamachari, B., Helmy, A.: A local metric for geographic routing with power control in wireless networks. In: Proc. of IEEE SECON (2005) 13. Melodia, T., Pompili, D., Akyildiz, I.F.: Optimal local topology knowledge for energy efficient geographical routing in sensor networks. In: Proc. of IEEE INFOCOM (2004) 14. Seada, K., Zuniga, M., Helmy, A., Krishnamachari, B.: Energy-efficient forwarding strategies for geographic routing in lossy wireless sensor networks. In: Proc. ACM Sensys (2004) 15. Wan, P.-J., Yi, C.-W., Yao, F., Jia, X.: Asymptotic critical transmission radius for greedy forward routing in wireless ad hoc networks. In: Proc. of ACM Mobihoc (2006) 16. Li, X.-Y., Calinescu, G., Wan, P.-J., Wang, Y.: Localized Delaunay triangulation with applications in wireless ad hoc networks. IEEE Trans. on Parallel and Distributed Systems 14(10), 1035–1047 (2003)
Adaptive Energy and Location Aware Routing in Wireless Sensor Network Hong Fu1,*, Xiaoming Wang1, and Yingshu Li2 1
Department of Computer Science, Shaanxi Normal University, Xi’an, China, 710062
[email protected],
[email protected] 2 Department of Computer Science, Georgia State University, Atlanta, USA, 30303
[email protected]
Abstract. This paper proposes a novel routing algorithm called AELAR for wireless sensor networks to meet QoS requirements: energy conservation and data delay reduction. Firstly, we propose a novel method of dividing routing request zone and construct a select equation which can enlarge the energy awareness as network time goes on. We make the routing request zone and factors in select equation changed automatically. Simulation results show that AELAR outperforms traditional algorithms in the performance of network lifetime, utilization and consumption balancing of energy and data delay. Keywords: Wireless sensor networks, Energy efficient routing, Distance level.
1 Introduction Sensor nodes in Wireless sensor networks (WSNs) have resource constraints which include limited energy, processing capacity, storage, communication range and bandwidth [1]. These unique features have raised special problems that must be solved while designing routing protocols. For instance, in some applications, routing algorithms must meet QoS requirements such as energy conservation and data delay reduction. Some routing algorithms (e.g., [2], [3], [4]) limit the routing search to request zones to reduce the cost of flooding. Geographical routings (e.g., [5], [6]) use greedy forwarding mechanisms to forward packets. GPSR [7] is such an efficient, classic algorithm. But GPSR is based on a single metric. GEAR [8] uses energy aware metric, together with geographical information, to make routing decisions. However, the energy balancing strategy in GEAR increases the average path length. With the progress on the semiconductor technology, wireless sensors’ capabilities of computation, storage may not be limitations in future. However, how to consume energy efficiently is still one of the most challenging problems in WSNs’ researches [9]. The main goals of the research presented in this paper are to: *
This work was supported by NSFC (60773224, 60970054), the Key project of Chinese Ministry of Education under Grant (107106) and the Scientific Research Foundation of State Education Ministry for the Returned Overseas Chinese Scholars.
G. Pandurangan et al. (Eds.): WASA 2010, LNCS 6221, pp. 105–109, 2010. © Springer-Verlag Berlin Heidelberg 2010
106
H. Fu, X. Wang, and Y. Li z z z
Prolong the network lifetime of WSN to deliver more packets; Balance the energy consumption of nodes and achieve energy conservation; Find the routing path as short as possible to reduce data delay.
The rest of the paper is organized as follows: Section 2 describes the network system. Section 3 presents our proposed algorithm. Section 4 demonstrates the effectiveness of AELAR via simulations. Finally, section 5 gives concluding remarks.
2 The Network System Model To simple the question, we assume that all sensors are homogeneous. They have the same ability of communication and the radius of communication is r. They know their neighbors’ and their own location information by location services, e.g., Ad hoc Positioning System with Angle of Arrival [10]. We also assume that there is only one sink in the WSN. Besides, we give the follow definition for our research: Distance level. For a given sensor node ni, let did is the distance from node ni to the sink, the distance level of node ni, dl, is defined as
d l = ⎣d id / m ⎦ .
(1)
Where, m is the distance level dividing standard. It can be determined by special applications. The distance level can indirectly indicate the distance from the sink.
3 Adaptive Energy and Location Aware Routing In this section, we present a novel method of dividing routing request zone and construct a select equation which can be adjusted according to nodes’ distance levels. 3.1 Ellipse-Shape Routing Request Zone and Density Self-adaptation We employ the virtual coordinates [11] to identify the routing request zone. In Fig. 1(a), given the node I, letting O be the origin, the virtual coordinates of a neighboring node (e.g. J), (xj’, yj’), can be calculated by the following equations: ⎧⎪ x j ' = cos(θ ) × ( x j − xi ) + sin(θ ) × ( y j − yi ) ; y − yi . θ = arctan( j ) ⎨ x j − xi ⎪⎩ y j ' = cos(θ ) × ( y j − y i ) − sin(θ ) × ( x j − xi )
(2)
In AELAR, we define the routing request zone as the overlap area of an elliptic region and a disk. In fig.1 (b), the shallow area shows the proposed routing request zones. Letting dij be the distance form node I to node J, the node I can use (3) to learn whether a neighboring node locates in its routing request zone. ( x' − a)2 ( y')2 + ≤1 2 a b2
and
d ij ≤ r .
(3)
From Fig.1 (b), we can find that ellipse parameter a and b (especially, b) have great impact on the size of routing request zone. To simplify the discussion, we assign the
Adaptive Energy and Location Aware Routing in Wireless Sensor Network
(a) Virtual coordinate of node J
107
(b) Different value of b for different nodes
Fig. 1. Virtual coordinate and ellipse-shape routing request zone of a node
value of a as transmission radius r. However, we must take seriously the value of b because it has the most important effect on the size of routing request zone. According to geometric knowledge, the value of y’ of the neighboring nodes which are closer from the sink than the node I is limited by the inequality: y'≤
(4)
2 rd id − r 2 .
Where, did is the distance from the node I to the sink. We hope that the nodes which have long distance from the sink can forward data packets as soon as possible and the nodes near the sink have more options to choose the next hop, so that the nodes near the sink can better balance the energy consumption. To make the node I can adjust the value of b according to its location, we make node I determine the value of b as: (5)
b = δ 2 r d id − r 2 .
Where, δ is determined by the distance level and the transmission radius of each node. Only the neighboring nodes that locate in the routing request zone are considered to be next-hop candidates in AELAR. 3.2 The Select Equation
To select an appropriate node as the next hop for forwarding data packets, AELAR strikes a balance between residual energy and distance metrics. We use the natural logarithm function for residual energy level to enlarge the residual energy difference among neighboring nodes. Letting er be the residual energy of a neighboring node J and ei be the initial energy of node I. Then, the node J’s select factor fj is defined as
{
f j = ln (er / ei ) (did / d jd ) α
β
}.
(6)
In above select equation, α and β are the weight factors of energy consumption ratio and distance ratio. In AELAR, we make the nodes adjust their weight factors automatically according to their distance levels. In WSNs, the nodes closer to the sink usually carry out more forward tasks. We hope these nodes consider more distance
108
H. Fu, X. Wang, and Y. Li
factor so that the total energy consumption is lower. AELAR selects the neighboring node that not only locates in the routing request zone but also has the greatest value of fj as the next hop. The energy effect on the above equation will drastically increase if the residual energy of the node is too low. So, nodes with too low residual energy will be difficult to be chosen as the next hop in the route discovery, which is helpful to balance the energy expenditure.
4 Simulation and Analysis We investigated the AELAR’s performance by comparing it with traditional GPSR and energy-aware GEAR. We also optimized our algorithm (AELAR-O) with the method in [12] to confirm that the paths discovered by AELAR are almost as short as possible. Fig.2(a) shows that number of packets delivered by AELAR is more than GPSR and GEAR during the network lifetime. From Fig.2(b) and Fig.2(c), we can learn that AELAR successfully achieves energy efficiency and has lower energy deviation because the nodes’ energy differences is exaggerated by logarithmic function. Fruthermore, owing to the use of the adaptive mechanism, we learn that AELAR almost has the same average path hop as GPSR from Fig.2(d), which is beneficial to the data delay reduction while considering energy conservation.
(a) Number of packets delivered to the sink
(c) The energy standard deviation
(b) Energy utilization radio of WSN
(d) Average hops of searched paths
Fig. 2. Simulation results for evaluating the performance of AELAR
Adaptive Energy and Location Aware Routing in Wireless Sensor Network
109
5 Conclusions This paper has proposed a new routing algorithm, AELAR, which is location-based, energy-aware, and scalable to discover the paths between the source node and the sink. We first present a novel method of dividing routing request zone and then construct a select equation for a node to choose its next hop. Both the routing request zone and the select equation can be adjusted by the node according to its own location. This adaptive mechanism makes sure that the paths found by AELAR are as short as possible while considering the energy conservation. The simulation results show that AELAR performs better in terms of network lifetime, energy utilization, energy consumption balancing and data delay reduction than traditional routing algorithms.
References 1. Yicka, J., Mukherjeea, B., Ghosal, D.: Wireless sensor network survey. Computer Networks 52(12), 2292–2330 (2008) 2. Woo, K., Yu, C., Lee, D., Youn, H.Y., Ben, L.: Non-blocking, localized routing algorithm for balanced energy consumption in mobile ad hoc networks. In: Proceedings of Ninth International Symposium on Modeling, Analysis and Simulation of Computer and Telecommunication Systems, Cincinnati, OH, USA, pp. 117–124 (2001) 3. Ko, Y.B., Vaidya, N.H.: Location-aided routing in mobile ad hoc networks. Wireless Networks 6(4), 307–321 (2000) 4. Shih, T.F., Yen, H.C.: Location-aware routing protocol with dynamic adaptation of request zone for mobile ad hoc networks. Wireless Networks 14(3), 321–333 (2008) 5. Chen, M., Leung, V.C.M., Mao, S., Xiao, Y., Chlamtac, I.: Hybrid geographic routing for flexible energy-delay tradeoff. IEEE Transactions on Vehicular Technology 58(9), 4976–4988 (2009) 6. Kranakis, E., Singh, H., Urrutia, J.: Compass routing on geometric networks. In: Proceedings 11th CCCG Vancouver, BC, Canada, August 1999, pp. 51–54 (1999) 7. Karp, B., Kung, H.T.: GPSR: greedy perimeter stateless routing for wireless networks. In: Proceedings of ACM Annual Conference on Mobile Computing and Networking, Boston, MA, USA, pp. 243–254 (August 2000) 8. Yu, Y., Govindan, R., Estrin, D.: Geographical and energy aware routing: a recursive data dissemination protocol for wireless sensor networks. In: UCLA Computer Science Department Technical Report, pp. 1–23 (2001) 9. Li, Y., Ai, C., Cai, Z., Raheem, B.: Sensor Scheduling for p-Percent Coverage in Wireless Sensor Networks. Journal of Cluster Computing (May 2009) 10. Kieb, W., Fubler, H., Widmer, J.: Hierarchical location service for mobile ad hoc networks. Mobile Computing and Communications Review 8(4), 47–58 (2003) 11. Chen, M.L., Victor, C.M., Mao, S., Yuan, Y.: Directional geographical routing for real-time video communications in wireless sensor networks. Computer Communications Concurrent Multipath Transport 30(17), 3368–3383 (2007) 12. Shu, L., Zhang, Y., Yang, L.T., Wang, Y., Hauswirth, M.: Geographic routing in wireless multimedia sensor networks. In: Proceedings of the 2nd International Conference on Future Generation Communication and Networking (FGCN 2008), Hainan, China (December 2008)
Utilizing Temporal Highway for Data Collection in Asynchronous Duty-Cycling Sensor Networks Tao Chen, Deke Guo, Honghui Chen, and Xueshan Luo Key Lab of C4 ISR, National University of Defense Technology, 410073 Changsha, China
Abstract. Duty cycling technique is widely used in sensor networks to save energy. Due to coverage and other requirements, sensor nodes may have asynchronous duty schedules, which bring additional challenges for data collection. Existing approaches suffer from different limitations such as requirement of time synchronization. This paper proposed a crosslayer design, which utilizes multihop information to find shortcuts and reduces the delay in data collection. Keywords: sensor networks, data collection, duty cycle.
1
Introduction
Wireless sensor network (WSN) is a key enabling issue for many applications, such as environment monitoring, battlefield surveillance and so on. While sensor nodes are expected to operate for a long periods of time in these applications, they are usually deployed in unattended area and equipped with limited battery. Idle listening is considered to be one of the most significant sources of energy consumption in sensor networks, which reduces the lifetime of network. Duty cycling mechanisms are proposed to reduce such energy consumption. Each node turns its radio off (sleep state) for most of the time, and turns the radio on (active state) periodically for a short period of time. When node is active, it is able to transmit or receive packets. But almost all the proposed duty-cycling protocols suffer from the shortcomings of synchronization protocols. To address such challenge, we propose a cross-layer design for data collection in asynchronous duty-cycling sensor networks called ”T-Highway”. Our design uses a hybrid method of two strategies in routing. The basic strategy is hop based shortest path tree (SPT) routing. The other strategy tries to utilize a sequence of active nodes which constitute a pipeline. We call the pipeline ”highway” because packet could be forwarded through it immediately without waiting for next hop to wake up. The highway is temporal, because it disappears when some node in the sequence go to sleep. Node first tries to use the second strategy to route data packet. If no highway is available, node switches to the first strategy and store the packet in local buffer, waits for the next hop to wake up. We use Fig. 1 to illustrate the benefit of highway. Grey nodes are active, while the white ones are asleep. Solid lines denote links in shortest path tree. When source node generates a packet, it G. Pandurangan et al. (Eds.): WASA 2010, LNCS 6221, pp. 110–114, 2010. c Springer-Verlag Berlin Heidelberg 2010
Utilizing Temporal Highway for Data Collection
111
Fig. 1. An example of highway
chooses node B as receiver instead of node A, because the packet could soon be passed through the highway marked with solid arrows to node D which is much nearer to sink. The rest of this paper is organized as follows. We briefly survey related works in Section 2. The design of T-Highway is presented in Section 3. Section 4 evaluates the performance of T-Highway through simulations. Section 5 concludes this work.
2
Related Works
Duty cycling is a widely used technique to reduce energy wastage in wireless sensor networks. The existing literatures about duty cycling could be grouped into two categories: well-designed-schedule based and independent schedule based. The well-designed schedule based approaches assign a duty schedule to each node according to the given duty ratio and global or regional topology information. Duty schedules of the whole network form a certain pattern. For example, in GreenOrbs [1], all nodes wake up and go to sleep simultaneously. Some more general MAC protocols with similar approach are also proposed, such as S-MAC [2] and RMAC [6]. Those protocols synchronize neighboring nodes to align their active or sleeping period, which separate the network into several components where all nodes in the same component share the same schedule. Cao et al. proposed a protocol for data collection [3], which synchronizes duty cycles of nodes into a streamlined sequence to pipe the data efficiently. Multi-parent scheme [7] is a similar approach, which assign multiple parents with different wakeup schedules to each node. All aforementioned approaches need global time synchronization, which introduces extra overhead. Moreover, those approaches suffer from clock drift, which are common problems in working system deployment. The independent schedule based approaches allow each node operate on its own duty schedule, and try to improve the efficiency by other techniques. Dynamic programming is used in DSF [4] to achieve high performance with the consideration of both low-duty-cycle and unreliable links. But they still suffer from the overhead and clock drift problem of local time synchronization. A typical example of time-synchronization-free approaches is B-MAC [5] which employing low power listening. However, preamble transmission may occupy the medium for a
112
T. Chen et al.
relative long time, which could prevent all neighboring nodes from transmitting and add to the delay of data delivery. RI-MAC [8] is proposed to minimize the medium occupation while still decoupling duty schedules of nodes as B-MAC does. It applies the idea of receiver-initiated transmission to duty cycle MAC protocols. But no data collection protocol based on RI-MAC has been proposed.
3 3.1
T-Highway Design Overview
The workflow of T-Highway consists of four components as illustrated in Fig. 2. In node initialization, each node generates a fixed duty schedule, which makes the node periodically change the mode between sleep and active. The schedule can also be assigned after deployment by using dissemination protocols [9]. In network initialization, all nodes keep awake and try to find all the neighbors. Then the sink node initializes a flooding for building shortest path tree. Node could change to use the assigned duty schedule after it overhears the broadcast of all its neighbors. Highway maintenance is the key component which is used to find and maintain highways. We will explain the detail in Subsection 3.2. Routing component is used to choose the appropriate next hop. Node may switch between the SPT and highway based routing.
Node initialization
Network initialization
Highway maintenance
Routing
Fig. 2. Workflow of T-Highway
3.2
Highway Maintenance
Beacon message is used for highway maintenance. It can be denoted as a threetuple Beacon =< Src, d, l >. Src is the address of the source node which broadcasts the beacon. d is the hop distance between the endpoint of highway and the sink. It is used for nodes who overhear the beacon to make routing decisions or maintain highways. l is the estimated lifetime of the aforementioned highway. As the lifetime passes, the highway expired and is no longer used for and routing. Since no synchronization and global knowledge is available, node cannot predict the wakeup of neighbors. So it is impossible to select an optimal next hop with least delay to sink. In T-Highway, a receiver initialized MAC such as RIMAC is used to help gathering information, which in turns to select a next hop with greedy heuristic intuition. Whenever a node is wake up, it broadcast a beacon message if the medium is not busy; otherwise a backoff mechanism is employed to avoid collisions. Each node maintains a highway list in memory. When node wakes up, it initializes a new highway list, and adds itself as the first highway into the list. The lifetime of the first highway is the length of duty
Utilizing Temporal Highway for Data Collection
200
20
0.8
150 100 50
0.6 0.4
SPT T−Highway
0.2
0 0
20
40
60
80
100
End−to−end Delay (s)
(a)
0 0
20
40
60
80
100
Avg. Reduced Delay
1 SPT T−Highway
CDF
Number of Packets
250
113
15
10
5
0 0
20
End−to−end Delay (s)
(b)
40
60
80
100
Duty Ratio (%)
(c)
Fig. 3. Simulation results of SPT and T-Highway
period of the node. Then it builds a beacon message for the first highway and broadcast it to its neighbors which are awake. When node receives a beacon, it also extracts the highway information, and scans the local highway list to check whether the new highway could provide further progress or longer lifetime than all the highways with further progress in the list. If the new highway has advantage in either aspect, it is added to the list. Only the first node in the new highway sequence need to be stored rather than the whole sequence for space efficiency. Highways which are worse in both aspects than any other one are removed from the list, because they will never be used. After the scan process, if new highway is added, node sends a beacon. Node clears the highway list only when it goes to sleep. Considering the temporal character of highway, the lifetime update should be in time to avoid selecting the wrong next hop according to an expired highway. Each time when a new highway is added to the list, a local timer is initialized with the length of the associated lifetime. Those timers are used to update lifetime of highways in the list when receives a beacon, because it could record how long has since the highway was established. When a timer fires, the associated highway expires and is removed from the list. As described above, the lifetime of highway is always less than the working period time(no more than a few seconds in most cases) of a sensor node. Even if clock drift happens, it cannot be accumulated before it can significant influence the performance. So we can say our design is free of the shortcomings of synchronization protocols.
4
Simulation Results
The performance of T-Highway is compared to SPT based fixed routing. A receiver initialized MAC protocol similar to RI-MAC is used in simulations. We use a random topology with 1000 nodes distributed in a 600m × 600m square. In the baseline scenario, the communication range is set to 40m. In each duty cycle, node keeps active for 1 second, then sleeps for 9 seconds(the duty ratio is 10%). Fig. 3(a) shows the end-to-end delay distribution of both approaches in baseline scenario simulation. T-Highway result has more packets whose delay is between 30s and 60s, but fewer packets whose delay is between 60 s and 100s. It means T-Highway could reduce the delay caused by waiting. Fig 3(b)
114
T. Chen et al.
shows the CDF curves of delay distribution in a baseline simulation result. Solid line is always above the dashed line, which means T-Highway can achieve less end-to-end delay in data collection than SPT. To further investigate how much T-Highway can gain over SPT with different duty ratios, we keep the length of a duty cycle unchanged and change the length of active time so as to change the duty ratio from 1% to 100%, and run the simulations under different settings. The results of average reduced delay per packet are plotted in Fig 3(c). It shows that T-Highway overwhelms SPT in a wide range of duty ratio.
5
Conclusion
In this paper, we have presented an approach for data collection in asynchronous duty-cycling wireless sensor networks. It releases the requirement for time synchronization, and reduces the delay for data collection. Simulation results show that the proposed design could reduce the end-to-end delay.
Acknowledgement This work is supported in part by the NSF China under grant No. 60903206, the Military Pre-research Foundation under grant No. 9140A06050610KG0117, 9140A06020709KG01, and Military Pre-research Project 51306040101.
References 1. Mo, L., He, Y., Liu, Y., et al.: Canopy Closure Estimates with GreenOrbs: Sustainable Sensing in the Forest. In: 7th ACM Conference on Embedded Networked Sensor Systems (2009) 2. Ye, W., Heidemann, J.S., Estrin, D.: An Energy-Efficient MAC Protocol for Wireless Sensor Network. In: 21st INFOCOM (2002) 3. Cao, Q., Abdelzaher, T., He, T., Stankovic, J.: Towards optimal sleep scheduling in sensor networks for rare-event detection. In: 4th International Symposium on Information Processing in Sensor Networks (2005) 4. Gu, Y., He, T.: Data Forwarding in Extremely Low Duty-cycle Sensor Networks with Unreliable Communication Links. In: 5th International Conference on Embedded Networked Sensor Systems (2007) 5. Polastre, J., Hill, J., Culler, D.: Versatile Low Power Media Access for Wireless Sensor Networks. In: 2nd International Conference on Embedded Networked Sensor Systems (2004) 6. Du, S., Saha, A.K., Johnson, D.B.: RMAC: A Routing-enhanced Duty-cycle MAC Protocol for Wireless Sensor Networks. In: 26th INFOCOM (2007) 7. Keshavarzian, A., Lee, H., Venkatraman, L.: Wakeup Scheduling in Wireless Sensor Networks. In: 7th ACM International Symposium on Mobile Ad hoc Networking and Computing (2006) 8. Sun, Y., Gurewitz, O., Johnson, D.B.: RI-MAC: A Receiver-Initiated Asynchronous Duty Cycle MAC Protocol for Dynamic Traffic Loads in Wireless Sensor Networks. In: 6th ACM Conference on Embedded Networked Sensor Systems (2008) 9. Chen, T., Guo, D., Liu, X., Chen, H., Luo, X., Liu, J.: BDP: A Bloom Filters Based Dissemination Protocol in Wireless Sensor Networks. In: 6th IEEE International Conference on Mobile Ad Hoc and Sensor Systems (2009)
The Impact of Reader to Tag Collision on RFID Tag Identification Yiyang Zhao1, Weijun Hong2, S.C. Cheung1, and Shufang Li2 1
Department of Computer Science and Engineering, Hong Kong University of Science and Technology, Hong Kong, China SAR {zhaoyy,scc}@ust.hk 2 Department of Information and Communiction Engineering, Beijing University of Posts and Telecommunications, Beijing, China {hongwj,lisf}@bupt.edu.cn
Abstract. RFID has been applied in many areas. Since the dense deployment of readers and tags, the collision problem of RFID system becomes a critical issue. In this paper, we introduce a novel probabilistic model to estimate the impact of reader to tag collision based on the information from physical layer. According to the theoretical analysis, our model ensures that more than one tag can be identified by both readers when they communicate with tags. To obtain the bit information, we employ the NI RFID emulator and LabView software. The simulation results show that the probability of miss-identification is lower than 17%. Keywords: RFID, Collision, Probabilistic model, Physical Layer.
1 Introduction With the contactless capabilities, Radio Frequency Identification (RFID) systems were widely used in many areas, from traditional logistics management to internet of things. Tracking and real time localization [1,2] are also important applications of RFID systems and other wireless systems [3], where the dense deployment of readers and tags is required to guarantee the quality of services. Since RFID systems employ the radio frequency as the communication media [4], the collision phenomenon is an inherent feature of those systems. To deal with the collision problem, people proposed a lot of MAC layer protocols. For those RFID systems working on Low Frequency band (LF, 125kHz~134kHz) and High Frequency band (HF, typically 13.56MHz), such as Access Control System (ACS), only one tag in the interrogation area can be identified by reader typically, due to the relative short interrogation range. However, the really attractive properties of RFID technology are long operating ranges, high data rate and high level of identify capability for large number of objects. The RFID systems working on UHF and microwave frequency band provide more powerful capability of identification than previous systems. Therefore the collision problem becomes one of the very important issues of RFID research. G. Pandurangan et al. (Eds.): WASA 2010, LNCS 6221, pp. 115–119, 2010. © Springer-Verlag Berlin Heidelberg 2010
116
Y. Zhao et al.
Illustrated as Figure 1, the effective ranges for different operations are discriminative. Normally, the write operation requires more energy. By contrary, the identification range is farther. Since the signal is attenuate within a distance, the interference range is farthest. In this paper, we only consider the identification range and the interference range. The collision problems in RFID systems can be classified as three situations: tag collision problem, reader collision problem and reader to tag collision problem. When a reader tries to identify all tags in its identification range and tags may communicate with the reader in same time slot, the tag collision occurs. Aloha-based approaches and tree-based approaches are proposed to avoid tag collision. As Fig. 1 shown, the interference range is largest. Hence, the reader collision happens when interference ranges of two readers are intersected. To deal with reader to reader collision, the frequency assignment methods are applied. Differing with previous collision, the reader to tag collision means that tags may not reply the readers if they locate in identification zones of two and more readers. Similar with ‘hidden terminal’ in traditional wireless networks, readers involved in the reader to tag collision will not able to recognize tags. Our probability model will help to increase the identification rate. Our major contributions are described as followings. Based on the information of the physical layer, we proposed the probabilistic identification model for multiple tags in reader to tag collision situation, which is more close to the practical scenario. Not only we deliver the theoretical analysis about the probability model, but also our simulation results show that our new model more effective than the traditional deterministic model. We verify our model by the NI emulator. Applying existing protocols, we evaluate the performance of RFID systems. In terms of successful reading rate and system throughput, the performance of the RFID system gets remarkable improvement. The remainder of the paper is organized as follows. In Section 2 we explore the capability of RFID tags to communicate with two readers based on the standard. In Section 3 we introduce the critical multiple tag inventory process and propose our mathematical model. In Section 4, we provide the analysis. Related work will be introduced in Section 5. Finally, we conclude our work in Section 6.
Interference Range Identification Range Read Range Write Range
Reader
Fig. 1. Ranges of an RFID reader
Fig. 2. Modified communication scheme
The Impact of Reader to Tag Collision on RFID Tag Identification
117
2 Communication Capability of an RFID Tag Similar with EPCglobal C1G2 standard, if a tag provides the independent memory called ‘session’ which can store corresponding state during communicating with different readers, more than one reader can identify common tags in a time-interleave way. According to our novel design, tags will provide 4 sessions (denoted S0, S1, S2, and S3) and maintain an independent inventoried flag for each session to indicate the state that it has been identified or not. Each of the four inventoried flags has two values, which are denoted A and B separately. Different from the standard, four independent parts called ‘Reply Slot No.’ are inserted in tag memories. Those parts will record slot numbers of tag replies in corresponding sessions. Shown in Figure 2, at the beginning of each inventory round, a reader chooses to inventory either A or B flag in one of the four sessions. After interpreting the length of inventory round, each tag produces a pseudo number which is the slot it intends to reply, and record it in ‘Replying Slot No.’. Tags participating in an inventory round in one session shall neither use nor modify the inventoried flag and ‘Replying Slot No.’ for a different session. Based on above scheme, we can assume that each tag can store some commands from readers.
3 Probabilistic Model Considering the RFID communication protocols, we will find that there is a chance to use a probabilistic model to describe the reader to tag collision. Based on the different length of commands, the probability for recognizing tags can be obtained. Since there are various scenarios, we will discuss them according to different conditions. Generally, in dense reader scenarios, there would be more than one tag in the intersection area of interference ranges of two readers, as shown in Fig. 3. Two readers, A and B, will communicate to tags in their identification ranges. However, they do not interfere each other due to the limited interference range. Two or more tags, called common tag population, may locate in the intersection area of two readers, like the gray area in Fig. 3. Since reader A and B do not sense each other, they will communicate with two tags in the gray area simultaneously. In traditional way, two tags are refused to identify. By contrary, according to our scheme two tags have chance to be recognized stochastically. In some previous work [5], the single tag within the collision area was considered. However, only the single tag situation was discussed. In the genuine scenario, the model does not work. Hence, our model has the common adaptability. To understand bit level behavior of RFID system, we use NI RFID simulator and LabView software. Fig. 4 illustrates the signal of captured by NI simulator. When the collision happens, the bit information still can help us to do the recovery. Suppose the total number of tags inside the intersection is m, there are four possible outcomes. P1 denotes that the all information from two readers can be recovered. P2 and P3 denote the probability that one of readers established communication with tags. P4 indicates the probability that no useful information was resumed from readers. The equation (1) represents the probabilities. P݅ = ሼpA ሺmሻ = 1 or 0, pB ሺmሻ = 1 or 0ȁm > 1ሽ, ݅ = 1 to 4
(1)
118
Y. Zhao et al.
Fig. 3. Reader to Tag collision with tags
Fig. 4. Captured signal by NI emulator
We assume that the total number of bits captured by NI emulator is N, which is the number of tag response slots for each reader. Suppose the length of reader commands is L, the probabilities can be obtained by following equations. P1 =
ܰെ1 ܮ
1
ܰെ2 ݉െ݆ ݅ ݆ ) ( ) ܰ N
݆ m ݆ σܰെ1 ݅=1 σ݆ =1 ( ) ( ݉ܥ ܰ
P2 = P3 ൎ
(2)
ܰെ1 1 ݉െ1 ( ) ܮ ܰ
(3)
P4 = 1 െ (P1 + P2 + P3 )
(4)
According to the model, we can predict the readability of readers in reader to tag collision situation.
4 Analysis As discussion in previous sections, our novel model can ensure that tags in intersection area have particular probability to be identified. In this section, we analysis the effect of our model based on the simulation results. Fig. 5 shows that the possibility that two readers can both identify all the tags inside the intersection area of their interrogation range increases with the increasing of the length of inventory round of readers. However, as the scale of common tag population increase, the probability decreases fast. The probability that both readers miss all tags in common tag population is showed in Fig. 6. It is always lower than 17% even there is only one tag in the intersection area. It decreases quickly to approximate
Fig. 5. The PDF of all identified tags by both readers.
Fig. 6. The PDF of identified tags by one of two readers
Fig. 7. The PDF of unidentified tags
The Impact of Reader to Tag Collision on RFID Tag Identification
119
to zero as the number of tags or the length of inventory round increases. As shown in Fig. 7, the probability that both readers can only identify a part of tags in the common tag population decreases quickly as the length of inventory round of reader increases, on the contrary it increases slowly as the number of tags increases.
5 Related Work A lot of protocols are introduced to solve the tag to tag collision problems, such as tree-based and aloha-based protocols. However, previous protocols only deal with the multiple tags and one reader model. For reader to tag collision with multiple tags, those algorithms do not work well. Colorwave [6] employes a distributed TDMA based method to address the reader collision issues. If there is a collision occurs, the relative readers will choose other time slots to retransmit. Unfortunately, Colorwave only solve the problem in an ideal situation. Researchers also proposed several scheduling-based algorithms, such as Channel Monitoring Algorithm and Enhanced Pulse Protocol Algorithm. Since those algorithms mentioned above focus on the multiple readers and employ the deterministic model, they do not adapt the reader to tag collision scenarios.
6 Conclusion and Future Work We have presented a novel model to deal with the reader to tag collision problem in RFID systems. Based on the information obtained by NI RFID emulator and LabView software, we can employ our probabilistic model to help readers to identify more tags, when the reader to tag collision occurs. The simulation results indicate that our model increases the identification rate. In the future, we plan to setup a test bed to implement our model.
Acknowledgement This research was supported in part by the Hong Kong ITC grant ITP/022/08LP, China NSFC Grants 60933011, Technology Major Project of China under Grant No. 2009ZX03006-001 and National Basic Research Program of China (973 program) under Grant No. 2006CB303000.
References 1. Ni, L.M., Liu, Y., Lau, Y.C., Patil, A.: LANDMARC: Indoor Location Sensing Using Active RFID. In: Proceeding of PerCom (2003)
2. Liu, Y., Chen, L., Pei, J., Chen, Q., Zhao, Y.: Mining Frequent Trajectory Patterns for Activity Monitoring Using Radio Frequency Tag Arrays. In: Proceeding of PerCom (2007)
3. Li, M., Liu, Y.: Rendered path: range-free localization in anisotropic sensor networks with holes. In: Proceeding of MobiCom 2007, Canada (2007)
4. Lu, L., Liu, Y., Hu, L., Han, J., Ni, L.M.: A Dynamic Key-Updating Private Authentication Protocol for RFID Systems. In: Proceeding of PerCom (2007)
5. Hong, W., Liu, Y., Li, S., Wang, J.: Tag Identifiable Probability Study While Reader Collision Occurs. In: Proceeding of the fifth ICWCNMC, Beijing, pp. 3688–3691 (2009)
6. Waldrop, J., Engels, D.W., Sarma, S.E.: Colorwave: An Anticollision Algorithm for the Reader Collision Problem. In: IEEE WCNC, pp. 1206–1210 (March 2003)
A Desynchronization Tolerant RFID Private Authentication Protocol Qingsong Yao1 , Yong Qi1 , Ying Chen2 , and Xiao Zhong2 1
School of EIE, Xi’an Jiaotong University, Xi’an, China 2 IBM China Research Lab, Beijing 100094, China
[email protected],
[email protected], {yingch,zhongx}@cn.ibm.com
Abstract. Previous designed synchronization approaches advocate an O(1) search complexity. Although it is efficient, such an approach is vulnerable to Desynchronization Attacks, in which the secret information will become incrementally different between the tag and reader. Either adversary can utilize this to distinguish tags or the legitimate tag and reader cannot authenticate with each other. Even worse, synchronization approaches suffer from replay attacks. To address these problems, we propose a DESynchronization Tolerant RFID private authentication protocol, DEST, which forces a tag to keep its behaviors undistinguishable. DEST provides desynchronization tolerance, replay attack resistance, and forward secrecy. The analysis results show that DEST effectively enhances the privacy protection for RFID private authentication, and provides the same efficiency, O(1), as traditional synchronization approaches. Keywords: RFID, authentication, privacy, desynchronization, tolerant.
1
Introduction and Related Work
The identifying message in RFID systems may leak private information of their owners, for example, the owner’s ID. To address this problem, a number of privacy preserving authentication (PPA) protocols [1, 2] are proposed to prevent information leaking. In a PPA scheme, each tag shares a distinct symmetric key (or keys) with backend database. The RFID reader can securely access the backend database that stores all the keys of tags. During the authentication, the RFID reader sends an authentication request. The tag replies a message that is encrypted using the shared secret key. Upon the message relayed by the RFID reader, the backend database searches among all tags’ records to find a key that can correctly generate the identical cipher. If there is a match, the RFID reader thereby authenticates the tag. For the ease of discussion, we term ’reader’ as the combination of RFID reader and backend database in the following. We also denote T as the tag and R as the reader. Early designed protocols, such as [3], usually store keys linearly in the backend database. The searching efficiency of these approaches is usually O (N ) due to the linear structure, where N is the number of tags in the system. O (N ) complexity is inefficient enough in huge RFID systems. For fast authentication, a special G. Pandurangan et al. (Eds.): WASA 2010, LNCS 6221, pp. 120–124, 2010. c Springer-Verlag Berlin Heidelberg 2010
A Desynchronization Tolerant RFID Private Authentication Protocol
121
kind of protocols based on synchronization messages and limited pre-computed records were proposed. In [4] Ohkubo et al. limit the possible output number from each tag to a predefined value. When the tag is overrunning, it sends random responses or no response. In [5], Henrici et al. use a counter for each tag to record the successful authentication times. The reader authenticates the tag by checking if the counters are equal. But the counters sent in plain text can help tracking by just sending queries to a tag and observe the regular counters. In [6], Juels propose a method to loop through a window to authenticate tags. These protocols have a O (1) search complexity, but suffer from desynchronization attack [3]. The adversary can launch such attacks by just sending a large volume of authentication queries to a tag. The tag will become incrementally desynchronized with its information stored in the reader. However, the counter in the tag can only increase a limited amount due to some predefined threshold. When the difference exceeds the threshold, the tag sends constant messages, or alternatively sends random messages or no message which cannot be accepted by a legitimate reader. All the cases will help the adversary to recognize the tag and thus track it. Even worse, responses are a kind of pre-computed value, thus a replay of historical response from a tag may fool a legitimate reader. An adversary may replay response from a cheap commodity to pay little for an expensive one. Unfortunately, how to defend against the these attacks while remaining the high authentication efficiency of synchronization approaches remains open. Although in [7], an approach is proposed for O (1) search complexity and good security properties, it may incur extra storage cost on reader side. In this paper, we propose a DESynchronization Tolerant PPA protocol, DEST. DEST enables the tolerance of desynchronization attacks and can defend against replay attack and provide forward secrecy. Utilizing DEST, the storage and computing complexity of a tag is O (1). DEST provides O (1) authentication efficiency for tags that are not badly attacked. Different from the previous synchronization approaches, DEST can cope with the authentication requests from those desynchronized tags. The rest of this paper is organized as follows. We present the DEST design in Section 2. In Section 3 we analyze the security and efficiency of DEST. At last, we conclude the paper.
2
DEST Protocol
The basic idea of DEST is to provide function for overrunning tags, so that the attacker cannot find out if a tag is overrunning. DEST comprises of three components, System initialization, Authentication, and Key-updating. In DEST, each tag Tj is embedded with a one-way cryptographic hash function h(·), a pseudo random number generator (PRNG), and a counter counterj . The length of PRNG output is equal to the length of the output of h(·). The counter keeps the information that how many times the tag has been queried. Each
122
Q. Yao et al.
Tj and R shares a secret key Kj . On the other side, R has the similar oneway cryptographic hash function h(·) and pseudo random number generator (PRNG). R also keeps a distinct counter counterj for each tag Tj . R maintains a threshold to limit the number of possible outputs pre-stored for each tag. The counters in both sides are used to synchronize a tag and the reader. The values of the counters are initialized to 0. In the initialization component, R pre-computes a hash table Table. In the Table, each tag Tj has correlated records (IDj , h(Kj , counterj,i ), Kj ), 1≤j ≤N and 0≤i≤threshold, where the IDj is ID correlated to the tag Tj and counterj,i are the counters kept for Tj . As i is a cursor, we denote it by counterj briefly for reader in the following. R holds a temporal key K and counter counter for the latest successful authentication. The Authentication process comprises four phases. 1) R sends a query to Tj , comprising a request and a random number r1 from PRNG. 2) Upon the query, Tj generates a random number r2 by PRNG. Then a message component I is generated as h(Kj , counterj ). A message component M is also generated as h(0, Kj , r1 , r2 ), corresponding to this authentication session. Then r2 , I and M are sent to R as a response, and counterj of Tj is increased by 1. 3) When R receives the response from Tj , it determines whether it is legitimate. R launches a search in Table, to find a h(Kj , counteri ) which equals to I. If exists such a Kj , R can determine I is generated by Tj related to Kj . Then R checks whether the response is a replayed one by checking M. If M equals to h(0, Kj , r1 , r2 ), Tj is accepted as a legitimate tag. Otherwise Tj is rejected as an illegal one. If no matching Kj is found in Table, Tj should be either overrunning or illegal. Then R computes h(0, Kj , r1 , r2 ) for each Kj in the system and compares the hash values to I. If there is a Kj that matches, Tj related to Kj should be the tag under authentication. R then accepts Tj as a legitimate one. Otherwise, Tj is rejected as an illegal one. For a legitimate tag, R computes a message component O as h(1, Kj , r1 , r2 ) if matched by a pre-computed record, else O is generated as h(2, Kj , r1 , r2 ) and counterj is set to 0, meaning matched by exhaustive search. For an illegal tag, O is generated from PRNG. Then, R sends O to Tj as an authentication message for R. If R determines that Tj is legitimate, it records current key K and counter counter. Then it launches Key-updating. The key-updating of DEST has two goals, updating secret key on both sides to provide forward secrecy, and updating the pre-computed Table in the reader. The new key is generated as h(3, Kj , r1 , r2 ). The second goal is done by computing a serial of threshold values starting from h(Kj , counter + 1) to h(Kj , counter + threshold ). When the key of a tag is updated, the pre-stored hash values are updated correspondingly. 4) The tag Tj receives O and checks if O is the value of h(1, Kj , r1 , r2 ) or h(2, Kj , r1 , r2 ). If it is, R is authenticated as a legitimate reader. Then Key-updating process at tag side is launched.
A Desynchronization Tolerant RFID Private Authentication Protocol
3
123
Analysis
First, we give the security analysis. We show that DEST fulfills the general security requirements, Confidentiality, Untraceability, Cloning resistance, Forward secrecy, and Compromising resistance, proposed in [7]. We also consider the desynchronization tolerance. For the limited space, we don’t give the definitions. Confidentiality: Messages on the air only include hash values and random numbers. No private information is leaked in the DEST’s messages. Cloning attack: In DEST, the response from a tag has a component M. The value of M is computed by enrolling two conversation relative nonces from both the tag and reader as session tokens, thus an adversary cannot predict their values. Therefore, replaying or cloning cannot pass the verification of R. Forward secrecy: DEST poses a Key-updating process after each successful mutual authentication, in which the key is renewed by computing the hash value of old key and session tokens. The attackers cannot deduce previous keys from current one according to the preimage resistance property of cryptographic hash function. Therefore, DEST can provide forward secrecy. Tracking: In DEST, a tag’s response includes r2 , I, and M. In all four phases of the authentication, messages are sent in the same format. Thus, attackers cannot distinguish a tag through those messages no matter whether the tag is overrunning or not. Among them, r2 is a random number. M is a hash value using two random nonces r1 , r2 , and a secret key Kj as the input. Without knowing Kj , counterj , and r2 in advance, the adversary cannot link a tag to its responses. Therefore, the adversary cannot distinguish a tag from others by comparing the hash values. Compromising resistance. In DEST, tags share no keys. Thus compromising of some tags will help nothing for an adversary to attack other tags. Desynchronization Tolerance: We carefully design the Key-updating process of DEST to avoid desynchronization. In DEST, the Key-updating process takes place only after successful mutual authentications. Between successful mutual authentications of tag and reader, only the counterj embedded in tag is updated upon the authentication query. And the value of counter is never sent out in plain text. In this way, an adversary cannot track a tag by observing its responses. An adversary may interrupt the updating on the tag side after a legitimate reader authenticates the tag. In this case, the state of tag and the record in the reader are temporally desynchronized. In DEST, we keep a copy of old key K and old counter for each tag in the reader to record the information of last successful authentication. Then a desynchronized tag can still pass the authentication of the reader, which is impossible in existing synchronization approaches. Second, we give the performance analysis. Both the storage and computing complexity of DEST are O (1) for the tags. The storage cost of DEST protocol for the reader is O (threshold * N ). Considering the threshold is a predefined parameter, it is O (N ). Pre-computing can be done offline, which does not affect authentication efficiency. We care more about the authentication efficiency at reader side. For a non-overrunning tag, the reader can find its hash value in
124
Q. Yao et al.
Table via an O (1) lookup. For an overrunning tag, the reader needs to compute M with each known key. This leads to O (N ) searching complexity. In large-scale RFID systems, the ratio of overrunning tags should be very small. We explain this in the following. We define rc as the ratio of the number of overrunning tags to the number of all tags in the system. Then the cost of the adversary is rc * threshold * N. Considering rc as a parameter of the adversary’s goal, the cost means threshold times of continuous queries on separate rc * N tags. That needs the adversary to continuously send O (N ) queries to rc * N tags, and force the tags to update their counters. Considering N is a huge number, this can be prohibitively hard. DEST protocol provides functionality for overrunning tags, and turns them to normal ones by updating. This increases the difficulty of the adversary.
4
Conclusions
In this paper, we present a desynchronization tolerant RFID private authentication protocol, DEST. DEST can effectively tolerate desynchronization attack while maintaining the high authentication efficiency O (1) at most of time. It can also satisfy general security requirements. Acknowledgments. This work was supported in part by China 863 Program under grants No. 2009AA01Z116 and 2009AA011903, NSFC under grant No. 60933003 and 60873262, Shaanxi ISTC under grant No. 2008KW-02, and IBM Joint Project.
References 1. Bibliography on Security and Privacy in RFID Systems, http://www.avoine.net/rfid 2. Juels, A.: RFID Security and Privacy: a Research Survey. IEEE Journal on Selected Areas in Communication 24(2), 381–394 (2006) 3. Ohkubo, M., Suzuki, K., Kinoshita, S.: Cryptographic Approach to Privacy-friendly Tags. In: Proceedings of RFID Privacy Workshop. MIT, Cambridge (2003) 4. Ohkubo, M., Suzuki, K., Kinoshita, S.: Efficient Hash-Chain based RFID Privacy Protection Scheme. In: Proceedings of UbiComp, Workshop Privacy (2004) 5. Henrici, D., Mller, P.: Hash-based Enhancement of Location Privacy for RadioFrequency Identification Devices Using Varying Identifiers. In: Proceedings of IEEE PerCom Workshops (2004) 6. Juels, A.: Minimalist Cryptography for Low-Cost RFID Tags. In: Blundo, C., Cimato, S. (eds.) SCN 2004. LNCS, vol. 3352, pp. 149–164. Springer, Heidelberg (2005) 7. Yao, Q., Qi, Y., Han, J., Zhao, J., Li, X., Liu, Y.: Randomizing RFID Private Authentication. In: Proceedings of IEEE PerCom (2009)
Study of Joint Routing and Wireless Charging Strategies in Sensor Networks Zi Li, Yang Peng, Wensheng Zhang, and Daji Qiao Iowa State University, Ames, IA 50011 {zili,yangpeng,wzhang,daji}@iastate.edu
Abstract. In recent years, wireless charging (a.k.a. wireless energy transferring) [3] has been recognized as a promising alternative to address the energy constraint challenge in wireless sensor networks. Comparing to the conventional energy conservation or harvesting approaches, wireless charging can replenish energy in a more controllable manner and does not require accurate location of or physical alignment to sensor nodes. In spite of these advantages, there has been little research on how much potential performance improvement may be achieved by applying the wireless charging approach to sensor networks and how to fully leverage its potential. In this paper, as one of the first efforts to study these issues, we (1) formulate the problem of maximizing the sensor network lifetime via codetermining routing and charging (ML-JRC), (2) prove the NP-hardness nature of the problem and derive an upper bound of the maximum sensor network lifetime that is achievable with ML-JRC, and (3) present a set of heuristics to determine the wireless charging strategies under various routing schemes, and demonstrate their effectiveness via in-depth simulation.
1 Introduction The limited energy supply has constrained the lifetime of a sensor network, and this has been a long-lasting and fundamental challenge in sensor networks that are designed for long-term operation. Over the years, various schemes have been proposed to address this challenge, such as energy conservation [4], environmental energy harvesting [2, 7], incremental sensor deployment, and battery replacement [10, 11]. Unfortunately, all these schemes have their limitations. Energy conservation schemes can only slow down energy consumption but cannot compensate energy depletion. Harvesting the environmental energy is subject to their availability which often is uncontrollable by people. Incremental sensor deployment may not be environmentally friendly because deserted sensor nodes can pollute the environment. As the wireless charging technology is being commercialized [9], it has become a promising alternative to address the energy constraint challenge in wireless sensor networks. Different from energy harvesting technologies, the wireless charging technology, together with more and more mature and inexpensive mobile robots, will make the controllable energy replenishment possible, with which energy can be replenished proactively to meet application requirements rather than passively from the energy resources available in the environment. Comparing with sensor node or battery replacement approaches, the wireless charging technology allows a mobile charger (MC) to
This work is supported partly by the NSF under Grant CNS-0831874.
G. Pandurangan et al. (Eds.): WASA 2010, LNCS 6221, pp. 125–135, 2010. c Springer-Verlag Berlin Heidelberg 2010
126
Z. Li et al.
transfer energy to sensor nodes wirelessly when they are apart by up to a few feet, and therefore does not require accurate localization of sensor nodes or strict physical alignment between the MC and sensor nodes. In spite of the potential advantages of the wireless charging technology, little research has been conducted on how much sensor network lifetime may be prolonged with the technology and how to fully leverage its potential. Since communication is a major source of energy consumption in sensor networks and routing strategy has a significant impact on the communication efficiency, we are particularly interested in the problem of co-determining wireless charging and routing strategies to maximize the network lifetime. In general, this is a complicated problem due mainly to the mutual dependency between wireless charging and routing strategies. For example, depending on the routing schemes, such as the routing metric to be used and whether data is aggregated along the route, the MC may vary the sequence of the sensor nodes to be charged and the amount of energy allocated to each sensor. On the other hand, the location and moving speed of the MC may affect sensor nodes’ routing decisions as it could be more beneficial in terms of energy efficiency by routing data through longer paths but closer to the MC. In this paper, as the starting point to study this complicated problem, we investigate a basic version of the problem by making a few simplifying assumptions. Particularly, we assume no aggregation during data forwarding and zero delay or energy cost for MC movement. We refer to this version of the problem as the ML-JRC (Maximizing Lifetime via Joint Routing and Charging) problem. The rest of the paper is organized as follows. In Section 2, we formulate the MLJRC problem, prove its NP-hardness nature and derive an upper bound of the maximum sensor network lifetime achievable with ML-JRC. In Section 3, we present a set of heuristics to determine the wireless charging strategy under various routing schemes. Section 4 evaluates the proposed heuristics against the theoretical upper bound via simulation and Section 5 concludes the paper.
2 Problem Formulation and Analysis 2.1 System Models Network Model. We consider a wireless sensor network deployed for long-term, continuous monitoring of a certain field [6, 12]. A subset of sensors (denoted as src) in the network monitor the environment continuously and generate sensory data at the same constant rate (r). All sensors collaborate in forwarding sensory data to the base station hop by hop. There is only one base station in the network. We assume that data is not aggregated along the forwarding path. Each sensor is initially provisioned with a battery with full energy (Es ) and equipped with two antennas, one for wireless communication and the other for wireless charging. Previous studies have shown that among all components of a sensor node, radio consumes the most significant amount of energy. Therefore, we only consider the communication energy cost and neglect others (i.e., sensing cost and computational cost). Based on [1], we model the energy consumption of transmitting one data packet between nodes i, j as eij = L ∗ γ ∗ dnij , where L is the packet length (in bits), γ and n are the constants for a specific wireless system (usually 2 ≤ n ≤ 4), and dij is the distance between nodes i, j. In this paper, we set γ = 0.001 and n = 3.
Study of Joint Routing and Wireless Charging Strategies in Sensor Networks
127
power received(mW)
200
150
100
50
0 0 5 101520
40
60
80
100
transmit-receive antenna distance(cm)
Fig. 1. Power charged to the receiver vs. transmit-receive antenna distance
Wireless Charging Model. The wireless charging-related assumptions are made based on the wireless charging devices provided by Powercast [9]. A mobile charger (MC) equipped with an energy transmitting antenna can move around in the field. Charging is conducted wirelessly without requiring that the MC and sensors touch each other or are aligned in position. The wireless band used for charging is different from that for communication; for example, the Powercast chargers transfer energy in the 903 − 927MHz band while most sensor nodes use the 2.4GHz band for communication. When the MC operates, its power consumption is 3W (Λc ). The effective amount of power that can be captured by a sensor (denoted as λc ) varies with its distance to the MC. The relation is illustrated in Figure 1, which is obtained through our field test with the Powercast wireless energy transmitter and receiver. The antenna gain is 1.15 for both the transmitter and receiver. As shown in the figure, at the distance of 10cm, the receiver λc can receive about 30mW power, meaning that the charging efficiency η = Λ is about c 1%. As the distance increases, the charging efficiency decreases drastically. Initially, the MC is equipped with a battery with energy Ec for charging. We assume that the MC has the full knowledge about the network, including the geographic locations of all sensor nodes and their current energy levels. Moreover, we assume zero delay or energy cost for the MC movement. 2.2 Problem Definition and NP-Hardness Nature The problem to be studied in this paper is that, given the above system models, how to schedule the routing of sensory data packets from the source nodes to the base station and the charging activities of the MC so that the network lifetime may be maximized. Here, the network lifetime is defined as the time elapsed before the network fails to route a data packet from any source node to the base station (due to that either the source node has depleted its energy or all the routes from the source node to the base station have been broken). We refer to this problem as the ML-JRC (Maximizing Lifetime via Joint Routing and Charging) problem, which is NP-hard as to be proved below. The decision version of the ML-JRC problem can be formally expressed as follows: Given an ML-JRC instance G = (V ∪ {bs}, E), src, eij , r, Es , Ec , Λc , η, can the network survive for N time slots (where the length of a slot is given)? Our proof is motivated by [8] and based on the Disjoint Connection Path (DCP) problem which is well-known to be NP-complete. The DCP problem tries to determine that, given a graph G = (V , E ) (either directed or undirected) and a set of k disjoint source
128
Z. Li et al.
and destination vertex pairs (si , ti ), i = 1, 2, . . . , k, whether there are k vertex-disjoint paths each of which connects an (si , ti ) pair. Theorem 1. The decision version of the ML-JRC problem is NP-hard. Proof. (sketch) Given a DCP instance G , (si , ti ) where i = 1, 2, . . . , k, we can construct an ML-JRC instance with the following procedure: – Add one bs node, one source node src0 , and links (src0 , si ) and (ti , bs) (where i = 1, 2, . . . , k) to G to construct G; – Set esrc0 ,si = 0, and eij = 1 for all other links in G; – r is set to one packet per time slot, Es is set to 1, Ec , Λc and η are set to 0; – N is set to k. The above construction procedure can be completed in polynomial time. Next, we need to prove that a given DCP instance and its corresponding ML-JRC instance are equivalent. Suppose there exist k vertex-disjoint paths Pi where each Pi connects the pair (si , ti ), i = 1, 2, . . . , k in the DCP problem. Then, in the ML-JRC problem, we have k disjoint paths from src0 to bs. As a result, the system can survive N = k time slots since in each time slot, the src0 could use one of the k disjoint paths to deliver a data packet to bs. Conversely, if in the ML-JRC problem, the system has a lifetime of N time slots, there must exist N disjoint paths (denoted as Pi ) from src0 to bs. This is because each node in the network only has the energy to transmit one data packet. Therefore, no node can be part of multiple paths to deliver multiple packets. Let Pi be the path obtained from Pi by removing the nodes src0 , bs and the links (src0 , si ), (ti , bs) i = 1, 2, . . . , N . Then, all Pi paths are vertex disjoint, meaning that there exist k vertex-disjoint paths in the corresponding DCP instance. Since DCP is known to be NP-complete, we have proved that ML-JRC is NP-hard. 2.3 Upper Bound of Lifetime Achievable with ML-JRC In this section, we utilize the linear programming (LP) technique to derive an upper bound of the maximum network lifetime that can be achieved in the ML-JRC problem. Formally, it is formulated as follows: max p/r subject to: p+ j∈Ni
j∈Ni
fji =
fji =
fij ,
j∈Ni
|src| ∗ p = j∈Ni
fij ,
∀i ∈ src
(1)
j∈Ni
∀i ∈ (V − src)
(2) (3)
fj,bs
j∈Nbs
fij ∗ eij ≤ Es + ΔEi ∗ η, n
∀i ∈ V
(4)
ΔEi ≤ Ec
(5)
fij , ΔEi ≥ 0
(6)
i=1
Study of Joint Routing and Wireless Charging Strategies in Sensor Networks
129
Here, p stands for the total number of data packets generated by each source node during the network lifetime. Since the data generation rate r is the same over all source nodes, they should produce the same number of packets during the network lifetime. Therefore, p/r defines the lifetime. ΔEi is the total amount of energy used by the MC to charge node i. fij is the total number of packets transmitted from node i to node j. Constraints (1), (2) and (3) reflect the flow conservation requirements. Constraint (4) reflects that the energy used for transmission should be smaller than Es – the initial battery energy at a sensor node – plus the energy charged from the MC. Constraint (5) states that the total energy used for charging cannot exceed Ec – the initial battery capacity of the MC. The output fij , ΔEi is the joint routing and charging decision. More specifically, it specifies the number of data packets transmitted over link (i, j) and the amount of energy distributed to node i by the MC so that the network lifetime can be maximized.
3 Heuristic Solutions As the ML-JRC problem is NP-hard, finding an optimal solution may have high computational complexity as the network scale increases. Hence, we propose low-complexity heuristic solutions. Instead of solving the complicated joint problem directly, the proposed heuristic solutions adopt the following philosophy: each node in the network runs a routing algorithm which requires only little, locally available information, and the MC runs a charging scheduling algorithm based on the global network knowledge. The general framework of the proposed heuristic solutions is as follows. Time is divided into slots and the length of each time slot is δt . At the beginning of each time slot, each sensor node exchanges the latest routing cost to the base station with its neighbor nodes and, based on the received information, selects the least-cost route to deliver its data towards the base station. Meanwhile, based on its knowledge about the routes selected by all source nodes, the MC plans its activity to spend δt Λc amount of energy to charge sensor nodes during the slot. As Λc is the power consumed by the MC for charging operation, δt Λc gives the maximum energy available for charging in a slot. In the following, we describe the routing metrics used by sensor nodes to define least-cost routes and the heuristic algorithms for the MC to decide its charging activity. 3.1 Routing Metric As there have been lots of research on designing routing algorithms to prolong the network lifetime, we adopt a representative one and focus on designing charging algorithms with this particular routing algorithm. Specifically, the routing metric we adopt is wi,t Cij,t = eij ∗ u1− Es [5], where u is a system parameter and wi,t is the residual energy of node i at the beginning of time slot t. This metric is a combination of the minimum wi,t energy (eij ) and max-min residual energy (u1− Es ) metrics. When u = 1, it is reduced to the minimum energy metric; when u > 1, the route is selected by trading off the communication cost and nodal residual energy. The larger is u, the more balanced is the energy distribution among sensor nodes after the route is used. 3.2 Heuristic Charging Algorithms An effective charging algorithm should charge first the nodes whose lifetime constrains the network lifetime the most, and should utilize the network routing information to
130
Z. Li et al.
adjust the charging decisions adaptively. With these considerations, we propose three heuristics to prolong the network lifetime. Least Residual Energy First (LRE). Balancing energy consumption among all nodes is a well-known technique to prolong the network lifetime. We propose a simple LRE heuristic that applies this technique. Specifically, at the beginning of time slot t, the MC sorts all nodes into a list denoted as l = (l0 , . . . , ln ) in the ascending order of nodal residual energy, and performs the following max-min calculation: lm
Δei,t ≤ δt Λc , m ≤ n
(7)
i=l0
wl0 ,t + Δel0 ,t ∗ η = wl1 ,t + Δel1 ,t ∗ η = · · · = wlm ,t + Δelm ,t ∗ η, m ≤ n wlk ,t + Δelk ,t ∗ η ≤ Es , k ∈ [0, m]
(8) (9)
In the above, Δei,t is the energy to be charged to node i in time slot t. (7) restricts the total energy allocated in a time slot, (8) specifies the m nodes selected to be charged to the same energy level, and (9) constrains the maximum energy level of each node to be below the battery capacity. All of the δt Λc amount of energy shall be used up in the slot unless all nodes already have their batteries fully charged to the capacity. Least Estimated Lifetime First assuming Fixed Routes (LEL). Similar to LRE, the intuition behind LEL is also to charge first the nodes whose lifetime has been the bottleneck of the network lifetime. However, different from LRE, LEL considers not only nodes’ current residual energy but also their future energy consumption rates. To estimate nodes’ future energy consumption rates, routes adopted by nodes should be predicted. In LEL, it is simply assumed that the routes used currently are the same as those to be used in the future. Therefore, the lifetime of each node is estimated as follows: lifetimei,t = wi,t /workloadi,t , workloadi,t = α ∗ workloadi,t−1 + (1 − α) ∗ (wi,t − wi,t−1 ). The list l used in LRE is sorted by the estimated lifetime and (8) is modified to wl0 ,t +Δel0 ,t ∗η workloadl0 ,t
=
wl1 ,t +Δel1 ,t ∗η workloadl1 ,t
= ··· =
wlm ,t +Δelm ,t ∗η . workloadlm ,t
In the above, workloadi,t estimates the energy consumption of node i in time slot t, and lifetimei,t estimates the number of time slots node i could survive if it operates continuously at the estimated workload by assuming that routing paths do not change in the future. α is a system parameter used to tune the impact of the historical workload. The larger is α, the more important is the historical average workload. Adaptive Energy Allocation with Dynamic Routes (AEA). LEL assumes that routes remain unchanged in the future, which may not be realistic. Thus, we further propose an AEA heuristic to take dynamic routes into account.
Study of Joint Routing and Wireless Charging Strategies in Sensor Networks
131
In Section 2.3, the solution to the LP formulation, fi,j , ΔEi , contains both flow information and energy allocated to each node during the network lifetime. Yet, the exact amount of energy replenished to each node at each time slot was not given. This formulation, however, inspires us to design the AEA heuristic which tells the MC the exact amount of energy replenished to each node in each time slot. Specifically, at the beginning of time slot t, the MC solves a modified LP formulation (i.e., replacing Ec with δt Λc to limit the maximal charging energy in a slot, and replacing Es with wi,t to use the latest energy information), and charges the nodes according to the solution to this modified LP formulation. The AEA heuristic aims to maximize the network lifetime through dynamically updating the charging decisions with the assumption that future routes would change accordingly. Essentially, if the actual network flows yielded by the routing algorithm are similar to the flow solution to the LP formulation, charging according to the energy solution to the LP formulation would approximate the upper bound of the maximum network lifetime well. However, if the actual flows differ much from the flow solution to the LP formulation, the performance of AEA would degrade inevitably.
4 Performance Evaluation 4.1 Simulation Settings In the simulation, the node battery capacity Es is set to 15000J, the MC battery Ec is set to 2000000J, the charging efficiency η is 0.01, Λc is 3W , and all nodes are randomly placed in a 400m∗400m area. We study the performance of different charging schemes as the workload, the time slot length and the density of source nodes vary. The performance metric is the network lifetime. The evaluated charging schemes include LRE, LEL-0 (i.e., LEL with α = 0), LEL-0.8 (i.e., LEL with α = 0.8) and AEA. The performance of these schemes is also compared with that of NoC (i.e., no charging), and the lifetime upper bound computed with the LP formulation presented in Section 2.3. 4.2 Simulation Results Lifetime with Varying Workload. As the workload changes, the network-wide energy distribution may be different, which may impact the performance of the charging heuristics. To evaluate the impact, we fix the number of nodes in the network (i.e., 100) but vary the number of source nodes from 25 to 75. Results are plotted in Figure 2. As shown in the figure, all the proposed charging heuristics yield longer network lifetime than NoC. In addition, though the lifetime achieved with the charging heuristics declines as the workload increases, the ratio of the achieved lifetime to the theoretic upper bound keeps almost the same. For example, LRE, LEL-0 and LEL-0.8 achieve around 80% and AEA achieves 90% of the upper bound, when u = 100. Moreover, as the routing parameter u increases from 1 to 100, the achieved lifetime also increases because, as discussed in Section 3.1, the route selection tends to balance energy consumption among all nodes as u increases. Figure 2(a) shows the results when u = 1. It can be seen that the LEL schemes (i.e., LEL-0 and LEL-0.8) outperform other charging heuristics, while the AEA scheme yields the worst performance among all heuristics. This is due to the following reasons.
132
Z. Li et al.
When u = 1, the routing algorithm is reduced to that with the minimum energy metric. In this case, the routes are stable and not adjusted frequently to changes in the energy distribution among nodes. As this situation resembles the assumption of the LEL schemes well but is much different from that of the AEA scheme, the LEL schemes outperform the AEA scheme. On the other hand, due to the stability in route selection, factoring the historical workload more (as in LEL-0.8) or less (as in LEL-0) into estimating the future workload of sensor nodes do not make significant difference, which contributes to the performance similarity between LEL-0 and LEL-0.8. 1800
1400 1200
Upper Bound AEA LRE LEL-0 LEL-0.8 NoC
1600 1400
Lifetime (h)
Lifetime (h)
1800
Upper Bound AEA LRE LEL-0 LEL-0.8 NoC
1600
1000 800 600
1200 1000 800 600
400
400
200
200
0
0 25
50
75
Source Node Number
(a) u = 1
100
25
50
75
100
Source Node Number
(b) u = 100
Fig. 2. Lifetime with varying workload. X-axis represents the number of source nodes and Yaxis represents the network lifetime in units of hours. The time slot length is 6h, packet rate is 30pkt/h per source node, and the total number of nodes is 100.
Figure 2(b) shows the results when u = 100. In this case, AEA yields the best performance among all, followed by LEL-0.8, LEL-0 and LRE in order. In contrary to the case of u = 1, with u = 100, the routing algorithm tends to actively adjust routes to balance the energy consumption among all nodes. This situation resembles the assumption of the AEA scheme well but is much different from that of the LEL schemes; therefore, the AEA scheme outperforms the LEL schemes. For the LEL schemes, LEL-0.8 uses more historical information in estimating future workload, which results in more accurate estimation and hence better performance than LEL-0. Regardless of the parameter u, the LEL schemes always outperform the LRE scheme because route selection is considered in LEL but not in LRE. Lifetime with Varying Time Slot Length. In the proposed heuristics, updating routes and charging planning happen only at the beginning of a time slot. Therefore, the frequency of route updating and charging planning decreases as the slot length increases. To investigate how this frequency impacts the network lifetime, we have conducted simulations with the slot length varying from 1h to 120h. Figure 3(a) shows the results when u = 1. We can see that all charging heuristics are insensitive to changes in slot length. This is because, in this case, minimum energy routes are always selected and remain unchanged regardless of the slot length. In comparison, when u = 100, as shown in Figure 3(b), the performance of all heuristics drop as the slot length increases, since the impact of lifetime extension resulted from balanced route selection has been reduced. Among all the heuristics, the performance of
Study of Joint Routing and Wireless Charging Strategies in Sensor Networks
1000
1000
900
900 Upper Bound AEA LRE LEL-0 LEL-0.8 NoC
700 600
800 700
Lifetime
800
Lifetime
133
500 400
600 500 400
300
300
200
200
100
100
0
Upper Bound AEA LRE LEL-0 LEL-0.8 NoC
0 1 6 12
24
48
72
Slot Length (h)
(a) u = 1
96
120
1 6 12
24
48
72
96
120
Slot Length (h)
(b) u = 100
Fig. 3. Lifetime with varying time slot length. X-axis represents the time slot length and Y-axis represents the network lifetime in units of hours. The total number of nodes is 100, the number of source nodes is 50, and the packet rate is 30pkt/h per source node.
AEA drops the most rapidly. This is because AEA assumes frequent route updates in the future. However, as the slot length increases, such update happens less frequently. As a result, the performance of AEA degrades significantly. On the contrary, other heuristics either assume fixed routes or do not consider route selection, hence are less sensitive to changes in the slot length. Figure 3(b) also reveals that, when the slot length is in the range of [1, 24], the performance of all charging heuristics remains at a high level. Therefore, it is not necessary to choose too short a time slot, which may incur more computational and movement overhead for the MC. Lifetime with Varying Network Density. Given fixed number of source nodes, increasing the network density (i.e., increasing the number of nodes in the network) provides more options for selecting routes and distributing workload. It is interesting to evaluate whether the proposed heuristics may exploit the more options presented in a larger scale network and how well they may do so. For this purpose, we have conducted simulations with fixed number of source nodes but varying total number of nodes. As shown in Figure 4, as the total number of nodes increases, the network lifetime increases with all heuristics and the performance gain of heuristics over NoC becomes more significant. This demonstrates that the heuristics have the capability of exploiting the more options brought in by the higher network density. Furthermore, comparing Figures 4(a) and 4(b), we can see that, when the parameter u gets larger, the lifetime achieved by the heuristics increases with the network density more rapidly. This is because a larger u implies that the balance of residual energy among all nodes is favored more in path selection. Hence, workload is distributed more proactively among nodes; this way, the advantages brought in by the increased network density can be better exploited. Among all the heuristics, AEA performs the best, followed by LEL-0.8, LEL-0 and LRE when u = 100. The difference is due mainly to the following reasons. As the network density increases, routes are updated more frequently as there are more available routes with dynamically changing costs. This situation resembles the assumption of AEA better than that of the LEL schemes; hence, AEA outperforms the LEL. LEL-0.8 estimates the future workload more accurately than LEL-0 when the routes are updated more frequently; hence, LEL-0.8 outperforms LEL-0. LRE does not consider the effect
Z. Li et al.
4000 3500
Lifetime (h)
3000
4000
Upper Bound AEA LRE LEL-0 LEL-0.8 NoC
3500 3000
Lifetime (h)
134
2500 2000 1500
2500 2000 1500
1000
1000
500
500
0
Upper Bound AEA LRE LEL-0 LEL-0.8 NoC
0 50
100
150
Node Number
(a) u = 1
200
50
100
150
200
Node Number
(b) u = 100
Fig. 4. Lifetime with varying network density. X-axis represents the total number of nodes in the network and Y-axis represents the network lifetime in units of hours. The number of source nodes is 50, the packet rate is 30pkt/h per source node, and the time slot length is 6h.
of path selection and therefore performs worse than other heuristics. Figure 4 also shows that, the lifetime upper bound ascends faster than all heuristics as the network density increases. This is because the routing and charging strategies are scheduled jointly in the LP formulation, while the routing in all heuristics is planned without considering the charging activity of the MC. Summary: We obtain the following insights and preliminary conclusions from the simulation results: (1) With the proposed charging heuristics, the achieved network lifetime can reach a decent fraction of the upper bound, which indicates that the application of wireless charging may prolong the network lifetime even with simple charging strategies. Nevertheless, the performance gap between the proposed charging heuristics and the upper bound is still noticeable in some scenarios, which motivates us to design more delicate joint routing and wireless charging algorithms to further approach the upper bound. This is part of our future work. (2) As the routing algorithm favors more balanced energy distribution among nodes, the AEA heuristic is the preferred choice. On the other hand, the LEL heuristic is more desired when the route selection is mainly affected by the link cost rather than the balance among nodal residual energy. (3) Simulation results also indicate that effective joint routing and charging schemes should be adaptive to the changes in network density.
5 Conclusions In the paper, we study a new type of sensor networks which consists of sensor nodes with replenishable energy supplies and a mobile charger that is able to charge the batteries of sensor nodes wirelessly. We formulate the problem of maximizing the sensor network lifetime via joint routing and charging (ML-JRC), prove its NP-hardness nature, and derive the upper bound of the maximum network lifetime that is achievable with ML-JRC. We also present a set of heuristics to determine the energy charging strategies for the mobile charger under different routing schemes. Simulation results demonstrate the effectiveness of applying the wireless charging technology to prolong the sensor network lifetime, even with simple charging heuristics.
Study of Joint Routing and Wireless Charging Strategies in Sensor Networks
135
References 1. Chang, J.H., Tassiulas, L.: Energy conserving routing in wireless ad-hoc networks. In: INFOCOM 2000 (2000) 2. Fan, K.W., Zheng, Z., Sinha, P.: Steady and fair rate allocation for rechargeable sensors in perpetual sensor networks. In: SenSys 2008 (2008) 3. Karalis, A., Joannopoulos, J.D., Soljacic, M.: Efficient wireless non-radiative mid-range energy transfer. Annals of Physics 323, 34 (2006) 4. Li, Q., Aslam, J., Rus, D.: Online power-aware routing in wireless ad-hoc networks. In: MobiCom 2001 (2001) 5. Lin, L., Shroff, N.B., Srikant, R.: Asymptotically optimal energy-aware routing for multihop wireless networks with renewable energy sources. IEEE/ACM Transactions on Networking 15(5), 1021–1034 (2007) 6. Mainwaring, A., Culler, D., Polastre, J., Szewczyk, R., Anderson, J.: Wireless sensor networks for habitat monitoring. In: WSNA 2002 (2002) 7. Park, C., Chou, P.: Ambimax: Autonomous energy harvesting platform for multi-supply wireless sensor nodes. In: SECON 2006 (September 2006) 8. Park, J., Sahni, S.: An online heuristic for maximum lifetime routing in wireless sensor networks. IEEE Transactions on Computers 55(8), 1048–1056 (2006) 9. Powercast: Online link, http://www.powercastco.com 10. Tong, B., Li, Z., Wang, G., Zhang, W.: On-demand node reclamation and replacement for guaranteed area coverage in long-lived sensor networks. In: QShine 2009 (November 2009) 11. Tong, B., Wang, G., Zhang, W., Wang, C.: Node reclamation and replacement for long-lived sensor networks. In: SECON 2009 (June 2009) 12. Xu, N., Rangwala, S., Chintalapudi, K.K., Ganesan, D., Broad, A., Govindan, R., Estrin, D.: A wireless sensor network for structural monitoring. In: SenSys 2004 (2004)
Page Size Optimization for Code Dissemination in Wireless Sensor Networks Wei Dong1 , Xi-bin Zhao2, and Min Xi3 1
2
Zhejiang University & HKUST Key Laboratory for Information System Security of Ministry of Education, School of Software, Tsinghua University 3 Department of Computer Science, Xi’an Jiaotong University
[email protected]
Abstract. Wireless sensor networks (WSNs) have recently gained a great deal of research attention, with a wide range of applications being explored. In most applications, WSNs are deployed in inaccessible areas for a long lifetime. Software maintenance and update in WSNs are challenging. Network reprogramming is an important way to address this challenge. Code dissemination is a critical service to enable network reprogramming. Most code dissemination protocols employ segmentation and pipelining to improve the reprogramming efficiency. As we show in this paper, the choice of the page size in these segmented and pipelined dissemination protocols is of vital importance to the overall dissemination time. Hence, we explore the tradeoff in determining the optimal page size in terms of the overall dissemination time. We investigate the impact of page size for two typical code dissemination protocols in WSNs. Results show that the optimal page size decreases when the maximum hop count from the source node increases; and the optimal page size increases when the program size increases. The absolute value of the optimal page size is determined by the network scale, program image size, and protocol details.
1 Introduction Wireless sensor networks (WSNs) have recently gained a great deal of research attention [1,2,3,4,5,6], with a wide range of applications being explored, such as military surveillance, habitat monitoring, and infrastructure protection, etc. WSN applications need to be updated after deployment for a variety of reasons, such as reconfiguring parameters, modifying tasks of individual nodes, and patching security holes. Many sensor networks, however, are deployed in environments where physically collecting previously deployed nodes is either very difficult or infeasible. Network reprogramming is an important way to address such challenges [7]. The critical service required to enable network reprogramming is a code dissemination protocol. Example protocols include Deluge [8] and MNP [9], which distribute new program binaries into a network, enabling complete system reprogramming. Segmentation is a common technique that is employed in most existing code dissemination protocols [7]. There are two major benefits of segmentation. First, without segmentation, a large program breaks into thousands of packets. As a consequence, G. Pandurangan et al. (Eds.): WASA 2010, LNCS 6221, pp. 136–145, 2010. c Springer-Verlag Berlin Heidelberg 2010
Page Size Optimization for Code Dissemination in Wireless Sensor Networks
137
each node needs a large number of states to record the packet information (received or not) [7]. Second, taking advantage of spatial multiplexing, segmentation and pipelining could increase the overall throughput significantly for a large program [7]. With segmentation and pipelining, a program is divided into several pages, each of which contains a fixed number of packets. Instead of receiving a complete program image before forwarding it, a node becomes a source node after it receives one complete page and uses per page negotiation for serving other nodes. Previous works on dissemination protocol design [8,9,10] use fixed page sizes. For example, the default page size in Deluge is fixed as 48 packets (48 pkts×23 bytes/pkt = 1104 bytes). In this work, we explore the tradeoff in determining the optimal page size in terms of the overall dissemination time (and also the dissemination throughput). A large page size (which translates to small number of pages for a given program image) will limit pipelining for spatial multiplexing while a small page size (which translates to large number of pages for a given program image) adds per page negotiation overheads. To investigate the impact of the page size on the overall dissemination time, we use the analytical model presented in [8]. This model fits well with TOSSIM [11] simulation results. Results show that the optimal page size decreases when the hop count from the source node increases; and the optimal page size increases when the program size increases. The results also indicate that, for disseminating a large program image in large-scale sensor networks, page size optimization is of vital importance because the choice of page size has a great impact on the overall dissemination time. The rest of this paper is structured as follows. Section 2 gives the background and describes the related work. Section 3 presents the solution for page size optimization for two typical dissemination protocols—Deluge [8] and MNP [9]. Section 4 shows the optimization results. Finally, we conclude this paper in Section 5.
2 Backgrounds and Related Work This section gives a brief overview of code dissemination in WSNs. We divide prior work into two categories—dissemination protocol design and dissemination performance analysis, which will be described in the following two subsections, respectively. 2.1 Dissemination Protocol Design Deluge [8] is perhaps the most popular code dissemination protocol used for reliable code updates in WSNs. It uses per page negotiation (i.e., ADV-REQ-DATA three way handshake) for reliability, and employs segmentation (into pages) and pipelining for spatial multiplexing. It is highly optimized and can achieve one ninth the maximum transmission rate of the radio supported under TinyOS [12]. MNP [9] shares many common points with Deluge, e.g., segmentation/pipelining, and per page negotiation. Besides, in order to avoid message collisions and to reduce energy consumption, it provides a detailed sender selection algorithm to choose a local source of the code which can satisfy the maximum number of nodes. There are many other code dissemination protocols proposed recently, e.g., Stream [13], Rateless Deluge [10]. Segmentation/pipelining and per page negotiation are two
138
W. Dong, X.-b. Zhao, and M. Xi Hop 1
Source
1
Hop 2
2
Hop 3
3
page 2
Hop 4
4
5 page 1
Fig. 1. Pipelining. Example four-hop network. A three-hop spacing is required for effective spatial multiplexing. In this example, a simultaneous broadcast from node 1 and node 3 would collide at node 2.
common techniques employed in these code dissemination protocols for improved efficiency and reliability. – Segmentation/pipelining. Segmentation and pipelining allow parallel transfers of data in networks, thus improving the dissemination efficiency. Consider disseminating n pages in a network of d hops. Without pipelining, the total time for transmission is O(d · n). With pipelining, the total time for transmission is reduced to O(d + 3(n − 1)) (note that the parallel transfers should take place with at least three-hop spacing as illustrated in Figure 1). – Per page negotiation. Per page negotiation uses message exchanges in the controlplane for data reliability. It is also used to avoid the broadcast storm problem [7]. A simple negotiation-based protocol contains three types of messages [7]: (1) ADV: the source node uses the ADV message to advertise its received object; (2) REQ: the receiver node sends back REQ messages after receiving the ADV message, notifying the source node about which objects are needed; (3) DATA: the source node then sends out the DATA messages of the requested objects. An important problem in these dissemination protocols is the determinization of the page size. When considering pipelining alone, small page size is favored. On the other hand, small page size adds per page negotiation overhead which decreases the dissemination efficiency. Clearly, there is a tradeoff in determining the optimal page size in terms of the overall dissemination time (also the dissemination throughput). 2.2 Dissemination Performance Analysis Experimental analysis helps protocol design and evaluation with high fidelity. Various tools have been proposed in the literature to aid system design and evaluations [14,15,11]. However, testbed experiments require at least a prototype system to be deployed. High-fidelity simulators (e.g., TOSSIM [11]) provides a fairly good resemblance of the real environment. However, simulation with a high fidelity can be really time-consuming. Mathematical analysis, on the hand, is inexpensive in terms of time and resource consumption. Hence, it can investigate various parameters in a larger space. In [8], the authors provide an analytical model for analyzing the performance of Deluge by considering protocol details. The authors demonstrate that the analytical model fits well with TOSSIM simulation results. There are some other analytical models, e.g., [13,16]. In [13], the authors do not consider protocol details. In [16], the authors do not consider concurrent transmission of pipelined pages. Compared to the analysis in [8], they are less accurate.
Page Size Optimization for Code Dissemination in Wireless Sensor Networks
139
More recently, we have proposed an accurate analytical model [17] which considers topological information, impact of contention, and impact of pipelining. For simplicity of analysis, the analytical model used in this paper is based on [8]. However, it should be noted that our contribution is not to produce a more accurate analysis. Rather, we aim to illustrate the impact of page size on the overall dissemination time, which, to the best of our knowledge, has not been performed before.
3 Page Size Optimization In this section, we present our optimization method based on the metric of dissemination time for two typical code dissemination protocols—Deluge [8] and MNP [9]. The optimization results will be shown in the next section. 3.1 Optimization Metric We present our optimization method based on the metric of dissemination time. The optimal page size should minimize the total dissemination time. This also translates to maximize the dissemination throughput. It should also be noted that, for the Deluge protocol [8], minimizing the dissemination time also means minimizing the dissemination energy consumption because all nodes remain in the radio receiving mode during dissemination, which consumes approximately the same energy. For example, for the Telos motes [18], the current draw in the transmitting mode is approximately 19.5mA while in the receiving mode is approximately 21.8mA [18]. 3.2 Optimization Problem For a given program image of S bytes, the number of pages (for Deluge [8] and MNP [9]) is, S n= (1) N ·P where N is the page size in terms of packets number, and P is packet payload size. According to [8], the expected time to transmit an object of n pages across a d hop network is (2) E[Tob j ] = min(d · n, d + 3(n − 1)) · (E[TtPage] + DnewReq) where DnewReq is the expected delay between completing a page and requesting a new page, and E[TtPage ] is the expected time required to transmit a page across a single hop. The page size optimization problem is thus formulated as follows, Given: S, P, . . . Find: N Minimize:
(3)
E[Tob j ]
The program image size, S, varies with different program images to be disseminated. The packet payload size, P, equals to 23 bytes in the current implementation of Deluge [8].
140
W. Dong, X.-b. Zhao, and M. Xi
We can see from Eq. (1) and Eq. (2) that, – with a large page size (i.e., small n), the pipelining factor (i.e., min(d · n, d + 3(n − 1))) will be small, and it is lower bounded by the hop count. On the other hand, with a large page size, the expected time for transmitting a page will be large and cannot be upper bounded because the current implementation of Deluge simply uses padding to transmit a complete page [8], which can be avoided with a better protocol design [19]. – with a small page size (i.e., large n), the pipelining factor will be large. On the other hand, with a small page size, the expected time for transmitting a page will be small, and it is lower bounded by the page negotiation overhead. The optimal page size depends on the image size (i.e., S), the network hop count (i.e., d), and the single-hop transmission time of a page (i.e., E[TtPage ], which again depends on the page size). The single-hop transmission time of a page (i.e., E[TtPage ]) varies for different protocols. In the following two subsections, we will describe the analytical methods to capture this factor for Deluge [8] and MNP [9], respectively. 3.3 Optimization for Deluge The single-hop transmission time of a page, i.e., E[TtPage ], for Deluge is computed as follows [8], (4) E[TtPage ] = E[TrAdv ] + E[Treq] + E[TtGiveup ] + E[Ttx ] where E[TrAdv ] is the expected time for receiving advertisements, which is given by E[TrAdv ] = E[NtPkt ] ·
τl · (1 + E[Nsupp]) 2
(5)
1 where E[NtPkt ] = PRR is the expected number of transmissions for a given packet. As reported in [8], τl = 2 and E[Nsupp ] = 1. After receiving the advertisements, a node makes request to the source node for the given page. The time for request, i.e., E[Treq ] is given by
E[Treq ] = E[NtPkt ] · E[Nreqs ] · E[τr ]
(6)
where E[Nreqs ] = 5.4 and E[τr ] = τ2r = 0.5 2 = 0.25 as reported in [8]. Additionally, when a node exceeds its limit of λ = 2 requests, it must transit to the MAINTAIN state and wait for another advertisement before making additional requests. The expected time spent waiting for additional advertisements, i.e., E[TtGiveup ], is given by E[Nreqs ] E[TtGiveup ] = E[NtPkt ] · − 1 · E[TrAdv ] (7) λ Finally, the expected time required to transmit just the data packets, i.e., E[Ttx ], is given by E[Ttx ] = E[NtPkt ] · TtPkt · N (8) where TtPkt = 0.032 is the time to transmit a single packet [8] (for Mica2 motes), and N is the page size (in terms of number of packets).
Page Size Optimization for Code Dissemination in Wireless Sensor Networks
141
3.4 Optimization for MNP The single-hop transmission time of a page, i.e., E[TtPage ], for MNP is computed as follows, E[TtPage ] = E[TrAdv ] + E[Ttx ] (9) The time for requests is not included in. The reason is that in MNP the advertising node sends a maximum number of κ advertisement messages to allow sender selection, thus by the end of the waiting interval E[TrAdv ], the advertising node has received at least one request message and is ready to serve a receiving node. The expected time for κ advertisement messages is given by, E[TrAdv ] = E[NtPkt ] · κ · Δ τ
(10)
1 is the expected number of transmissions for a given packet, κ = 4 where E[NtPkt ] = PRR is the advertisement threshold, and Δ τ = 2 is the average duration between two advertisements. After E[TrAdv ], the source node sends the data in a page. It sends Start Download and End Download messages signifying the start and the end of each page. Thus, the expected time for data transmission of a page is given by,
E[Ttx ] = E[NtPkt ] · (N + 2) · E[TtPkt ]
(11)
where TtPkt is the time to transmit a single packet, and N is the page size (in terms of number of packets).
4 Results In this section, we show the optimization results for Deluge [8] and MNP [9]. Our results reveal the following findings, – For both Deluge and MNP, the results show that the optimal page size decreases when the maximum hop count from the source node increases. – For both Deluge and MNP, the results show that the optimal page size increases when the program size increases. – The dissemination time of MNP is larger than that of Deluge because MNP requires a more complicated negotiation mechanism to allow sender selection. However, the optimal page sizes for both protocols are very similar. – The results also indicate that, for disseminating a large program image in largescale sensor networks, page size optimization is of vital importance because the choice of page size has a great impact on the overall dissemination time. 4.1 Parameter Settings We show the optimization results with the parameter settings as summerized in Table 1. Note that in order to investigate the impact of the hop count and the program image size, we vary the corresponding parameters, i.e., d, S. The hop count varies from 12
142
W. Dong, X.-b. Zhao, and M. Xi
Table 1. Parameter settings Parameter Meanings P packet payload size DnewReq expected delay between completing a page and requesting a new page PRR expected packet reception rate NtPkt expected number of transmissions for a given packet τl lower bound of the advertisement interval in Deluge E[Nsupp ] expected number of advertisement suppressions E[Nreq ] expected number of request messages for a page E[τr ] expected backoff delay for transmitting requests TtPkt expected time for transmitting a packet λ advertisement threshold in Deluge κ advertisement threshold in MNP d hop count from the source node S program image size
Value 23 bytes 1 second 0.9 ≈ 1.11 2 seconds 1 5.4 0.25 second 0.032 second 2 4 12, 24, 48, 64 2KB, 6KB, 12KB, 24KB 1 PRR
hops to 64 hops. Note that it is practical for long-distance and large-scale sensor networks [3,20]. The image size varies from 2KB to 24KB. Program of 2KB represents simple applications or configurable parameters while program of 24KB represents more complex applications, e.g., the implementation of lwIP (i.e., lightweight TCP/IP) on the AVR platform is approximately 22KB [21]. 4.2 Impact of Hop Count In order to investigate the impact of the maximum hop count on the optimal page size, we vary the hop count from 12 to 64 hops. Figure 2(a–d) show the relationship of the dissemination time and the page size with 12, 24, 48, and 64 hops respectively. We fix the program image size as 2KB. We can see from Figure 2 that the optimal page size decreases when the hop count increases. For example, Nopt ≈ 90 pkts when d = 12, Nopt ≈ 30 pkts when d = 64. We also observe that the page size has a greater impact when the maximum hop count increases because the propagation delay accumulates over multiple hops. This indicates that the selection of page sizes is very important for large-scale sensor networks. In addition, the dissemination time of MNP is larger than Deluge because MNP requires a more complicated negotiation mechanism to allow sender selection. However, the optimal page sizes for both protocols are very similar. 4.3 Impact of Program Image Size In order to investigate the impact of program image size on the optimal page size, we vary the program image size from 2KB to 24KB. Figure 3(a–d) show the relationship of the dissemination time and the page size with program image sizes 2KB, 6KB, 12KB, and 24KB respectively. We fix the network hop count from the source node as 24. We can see from Figure 3 that the optimal page size increases when the program image size
Page Size Optimization for Code Dissemination in Wireless Sensor Networks
500
Deluge MNP
350
Completion time (seconds)
Completion time (seconds)
400
300 250 200 150 100
Deluge MNP
450 400 350 300 250
20
40
60
80
100 120 140 160 180 200
20
40
60
Page size (# of pkts)
(a) hop count = 12 1100
Deluge MNP
800
100 120 140 160 180 200
(b) hop count = 24
Completion time (seconds)
Completion time (seconds)
850
80
Page size (# of pkts)
750 700 650 600 550 500
Deluge MNP
1050 1000 950 900 850 800 750 700
20
40
60
80
100 120 140 160 180 200
20
40
60
Page size (# of pkts)
80 100 120 140 160 180 200 Page size (# of pkts)
(c) hop count = 48
(d) hop count = 64
Fig. 2. Impact of hop count (program image size = 2KB) 700
Deluge MNP
550
Completion time (seconds)
Completion time (seconds)
600
500 450 400 350 300 250
Deluge MNP
650 600 550 500 450 400 350
50
100
150
200
250
300
350
400
50
100
Page size (# of pkts)
(a) size = 2KB
250
2000
Deluge MNP
1000
200
300
350
400
350
400
(b) size = 6KB
Completion time (seconds)
Completion time (seconds)
1100
150
Page size (# of pkts)
900 800 700 600 500 400
Deluge MNP
1800 1600 1400 1200 1000 800 600 400
50
100
150
200
250
Page size (# of pkts)
(c) size = 12KB
300
350
400
50
100
150
200
250
300
Page size (# of pkts)
(d) size = 24KB
Fig. 3. Impact of the program image size (network hop count = 24)
143
144
W. Dong, X.-b. Zhao, and M. Xi
increases. For example, Nopt ≈ 48 pkts when S = 2KB; Nopt ≈ 90 pkts when S = 6KB; Nopt ≈ 135 pkts when S = 12KB; Nopt ≈ 220 pkts when S = 24KB. This is because a large page size is more efficient for a large program as it decreases per page negotiation overhead. We also observe that the page size has a greater impact when the program image size increases because there will be more negotiation overheads when the number of pages increases. As described above, the dissemination time of MNP is larger than Deluge, and the optimal page sizes for both protocols are similar.
5 Conclusions In this work, we explore the tradeoff in determining the optimal page size in terms of the overall dissemination time. We investigate the impact of the page size for two typical code dissemination protocols in WSNs—Deluge and MNP. Results show that the optimal page size decreases when the hop count from the source node increases; and the optimal page size increases when the program size increases. The absolute value of the optimal page size is determined by the network scale, program image size, and protocol details. As a future work, we will implement page size optimization in typical dissemination protocols to improve the dissemination efficiency.
Acknowledgement This work is supported by the National Basic Research Program of China (973 Program) under Grant No. 2006CB303000, HKUST Fok Ying Tung Graduate School, China NSFC Grants 60933011, and Technology Major Project of China under Grant No. 2009ZX03006-001.
References 1. Akyildiz, I.F., Su, W., Sankarasubramaniam, Y., Cayirci, E.: Wireless Sensor Networks: A Survey. Computer Networks 38, 393–422 (2002) 2. Li, M., Liu, Y.: Underground Coal Mine Monitoring with Wireless Sensor Networks. ACM Transactions on Sensor Networks (TOSN) 5(2) (2009) 3. Mo, L., He, Y., Liu, Y., Zhao, J., Tang, S., Li, X., Dai, G.: Canopy Closure Estimates with GreenOrbs: Sustainable Sensing in the Forest. In: Proceedings of ACM SenSys (2009) 4. Liu, K., Li, M., Liu, Y., Li, M., Guo, Z., Hong, F.: Passive Diagnosis for Wireless Sensor Networks. In: Proceedings of ACM SenSys (2008) 5. Liu, Y., Li, M.: Iso-Map: Energy-Efficient Contour Mapping in Wireless Sensor Networks. In: Proceedings of IEEE ICDCS (2007) 6. Yang, Z., Liu, Y.: Quality of Trilateration: Confidence based Iterative Localization. IEEE Transactions on Parallel and Distributed Systems (TPDS) 21(5) (2010) 7. Wang, Q., Zhu, Y., Cheng, L.: Reprogramming wireless sensor networks: Challenges and approaches. IEEE Network Magazine 20(3), 48–55 (2006) 8. Hui, J.W., Culler, D.: The dynamic behavior of a data dissemination protocol for network programming at scale. In: Proceedings of ACM SenSys (2004) 9. Kulkarni, S.S., Wang, L.: MNP: Multihop Network Reprogramming Service for Sensor Networks. In: Proceedings of IEEE ICDCS (2005)
Page Size Optimization for Code Dissemination in Wireless Sensor Networks
145
10. Hagedorn, A., Starobinski, D., Trachtenberg, A.: Rateless Deluge: Over-the-Air Programming of Wireless Sensor Networks using Random Linear Codes. In: Proceedings of ACM/IEEE IPSN (2008) 11. Levis, P., Lee, N., Welsh, M., Culler, D.: TOSSIM: Accurate and Scalable Simulation of Entire TinyOS Applications. In: Proceedings of ACM SenSys (2003) 12. TinyOS: http://www.tinyos.net 13. Panta, R.K., Khalil, I., Bagchi, S.: Stream: Low Overhead Wireless Reprogramming for Sensor Networks. In: Proceedings of IEEE INFOCOM (2007) 14. Werner-Allen, G., Swieskowski, P., Welsh, M.: MoteLab: A Wireless Sensor Network Testbed. In: Proceedings of ACM/IEEE IPSN/SPOTS (2005) 15. Titzer, B.L., Lee, D.K., Palsberg, J.: Avrora: Scalable Sensor Network Simulation with Precise Timing. In: Proceedings of ACM/IEEE IPSN (2005) 16. De, P., Liu, Y., Das, S.K.: An Epidemic Theoretic Framework for Evaluating Broadcast Protocols in Wireless Sensor Networks. In: Proceedings of IEEE MASS (2007) 17. Dong, W., Chen, C., Liu, X., Bu, J., Liu, Y.: Performance of Bulk Data Dissemination in Wireless Sensor Networks. In: Proceedings of IEEE/ACM DCOSS (2009) 18. Polastre, J., Szewczyk, R., Culler, D.: Telos: Enabling Ultra-Low Power Wireless Research. In: Proceedings of ACM/IEEE IPSN/SPOTS (2005) 19. Panta, R.K., Bagchi, S., Midkiff, S.P.: Zephyr: Efficient Incremental Reprogramming of Sensor Nodes using Function Call Indirections and Difference Computation. In: Proceedings of USENIX Annual Technical Conference (2009) 20. Kim, S., Fonseca, R., Dutta, P., Tavakoli, A., Culler, D., Levis, P., Shenker, S., Stoica, I.: Flush: A Reliable Bulk Transport Protocol for Multihop Wireless Networks. In: Proceedings of ACM SenSys (2007) 21. Dunkels, A.: Full TCP/IP for 8-Bit Architectures. In: Proceedings of ACM MobiSys (2003)
Dynamic Routing Algorithm for Priority Guarantee in Low Duty-Cycled Wireless Sensor Networks Guodong Sun and Bin Xu Department of computer science, Tsinghua University, Beijing, China {sgdcs,xubin}@tsinghua.edu.cn
Abstract. It is a new challenge to provide priority-based delivery in low duty-cycled sensor networks where there are not always-awake communication paths and the wireless links are very time-varying and unreliable. In this paper, we propose a Dynamic Routing Algorithm for priority Guarantee(called DRAG) in low duty-cycled sensor networks. Both schemes of dynamic forwarding decision making and priority-based schedule are used in DRAG to achieve priority guarantee in low dutycycled sensor networks. We evaluate DRAG via extensive simulations and the results show that DRAG can achieve good performance in delivery ratio and network delay.
1
Introduction
The nodes of wireless sensor networks [5,19] are battery driven and the replacement or recharge of battery is not an easy task for the sensor networks with thousands of nodes embedded physically in a large sensing area. The most important objective of wireless sensor networks is to extend the system lifetime as long as possible. To bridge the gap between the system lifetime requirement of applications and the constrained energy of nodes, one popular method of increasing longevity of wireless sensor networks is to duty cycle the nodes and let them sleep most of their operation time[17]. The duty cycle of nodes are often set to be 5%, 1%, or less. Even though low-duty-cycling the nodes can improve the system lifetime, the increased longevity comes at the cost of decreased application fidelity: smaller delivery ratio and longer network delay that severely damage the performance of priority-critical applications such as movement tracking and alarm sensor networks. Two features make priority-based routing in low duty-cycled sensor networks more challenging. First, to transmit a packet, the node has to wait a long time until some forwarder wakes up. Second, the wireless link varies with time and is unreliable, leading to frequent retransmissions and impacting the system performance.
This work is supported in part by the NSF China grant 60803124 and the National Basic Research Program of China(973 Program) grant 2006CB303000.
G. Pandurangan et al. (Eds.): WASA 2010, LNCS 6221, pp. 146–156, 2010. c Springer-Verlag Berlin Heidelberg 2010
Dynamic Routing Algorithm for Priority Guarantee
147
In this paper, we propose a Dynamic Routing Algorithm for priority Guarantee (called DRAG) in low duty-cycled sensor networks. DRAG aims at more quickly delivering as many high-priority packets as possible. Totally, the main contributions of this study are as follows. First, to the best of our knowledge, this is the first work on the priority guarantee issue in low duty-cycled sensor networks with varying and unreliable links. Second, the proposed algorithm DRAG dynamically selects forwarders in a forwarding candidate set and maintains the link qualities at a low cost, based on which an optimal delay can be achieved. Finally, DRAG improves priority-based delivery in both levels of packet schedule and MAC back-off. Simulation results show that DRAG achieves good prioritybased delivery with high delivery ratio and small network delay. The rest of the paper is organized as follows. Section 2 describes the study background and motivation. Section 3 presents the system model and some related denotations and assumptions. The detailed design is described in section 4 followed by simulations in section 5. Section 6 briefly summarizes some significant work related to this study. We conclude this work in section 7.
2
Background and Motivation
In wireless sensor networks, the nodes are of energy- and bandwidth-constrained. Thus a large amount of work have been proposed to optimize the energy usage in communication, but most of them assume always-available paths, i.e., there are always nodes ready to receive whenever there is data to be transmitted. But to maintain always-awake paths needs frequent idle listening, which consumes significantly the energy of nodes. Raghunathan et al [14] found that for most nodes in WINS project, the energy consumption in idle listening mode is almost equal to that in the receiving mode. Additionally, the CC2420 RF chip requires a 19.7mA energy level to perform idle listening, but a 17.4mA energy level to transmit data [2]. Therefore, in order to effectively reduce the energy consumed by idle listening, it is necessary for nodes to turn off their radios most of their time, i.e., operate under a low duty cycle. However, it is is more challenging to achieve good priority guarantee in low duty-cycled sensor networks. In many priority-critical sensor network scenarios, different data sources may present information with different importance. For example, in a movement-tracking application, the data generated nearby a moving object is more valuable in target localization; in a coal-mine monitoring application, the data describing collapse events obviously ought to be delivered in priori [3]. Even for a general sensor network application, the data incurred by some system functions such as network diagnosis [4] need possibly to be delivered in priority. In those applications, whether the data can be delivered timely and whether the high-priority data can take preference in delivery are very critical to the application fidelity. We use simulation to investigate the channel contention and priority-based delivery in the low duty-cycled sensor network under two routing algorithms DSF [7] and DSPR(a dynamic shortest-path based routing algorithm which always select the earliest-awake forwarder without considering link qualities). In
148
G. Sun and B. Xu
60
1 DSPR DSF
40 20 0 0
0.6
1
Fig. 1. Number of contention per 100 time units. In simulation, 10 nodes are randomly selected as sources.
sD B
C
0.4 0.2
0.2 0.4 0.6 0.8 packet generation rate
0
sC
D
low middle high
0.8 delivery ratio
number of contentions
80
A
sB sA
slot sequence 1
2 3 4 duty cycle(%)
5
Fig. 2. Delivery ratio of DSPR. In simulation, 3 nodes are randomly selected to generate high-, middle- and low-priority packets, respectively.
0 1 2 3 4 5 6 7 8 9
Fig. 3. A low duty-cycled wake-up schedule model. The gray and white blocks are awake and sleep states, respectively.
simulations, 200 nodes are uniform-randomly deployed within a 150×150 square with a single sink centered. The duty cycles of all nodes are 5% and the MAC layer works under a CSMA/CA-like scheme. The simulation results in Fig.1 show that channel contention can not be neglected even though only 6.6% nodes generate packets in a sensor network of 5% duty cycle because sensor networks are essentially of many-to-one communication. Note that the channel contention under DSPR is more frequent than that under DSF, because DSPR does not consider the link qualities of next-hop, resulting in more retransmissions and then more contention. Fig.2 plots three delivery ratios with high-, middle- and low-priority traffic, respectively, under DSPR(the simulation under DSF obtains similar results). For each duty cycle, those three delivery ratios seem like without obvious differentiation in terms of priorities. Analyzing the simulation results, we find that (1) channel contention is easy to happen to sensor networks even with a very low duty cycle; (2) the varying, unreliable links make it hard to optimize the delivery ratio; and (3) a high-priority packet without a proper control may wait a long time until some forwarder wakes up, impacting the performance of the priority-critical applications. These observations motivate us to design a new routing algorithm for improving the priority guarantee in low duty-cycled sensor networks.
3
System Models
In this study, the duty cycles of nodes are decided directly by the upper layer such as power management or event coverage control [1], rather than by the MAC layer. The priority can be measured in terms of different requirements, such like sensing data type, node location, remaining energy level, and so on. In this study, we generalize the priorities into positive integers. We consider a sensor network consisting of N nodes that are randomly deployed within a square in a uniform distribution. All duty-cycled nodes can be only in one of two states at a give time: awake or sleeping. In awake states, the node can sense, or receive, or send, or process data. A duty-cycled node can wake up for transmission when it has data ready to be
Dynamic Routing Algorithm for Priority Guarantee
149
sent, but it can sense or receive data only in awake states. Specially we assume the sink node is always awake. In this paper, the operation time of nodes are divided into equal-size slots each with a time span of τ (a time unit), and the awake states of each node are periodic due to the periodicity of sensing task requirement. So the node’s time can be divided into continuous working schedules. If the length of a single working schedule of a node is 100 slots and contains 10 awake slots, the node’s duty cycle is 10%. We assume that for each node, at most one data unit can be transmitted over one hop in a single slot. Fig.3 illustrates a 4-node network where every node is of duty cycle 20% with the working schedule length of 10 slots; the whole awake slots of A is {A1 , A8 , A11 , A18 , . . .} where Ai means A wakes up at slot i. Due to the periodicity, we abbreviate the awake slots of A as sA = {A1 , A8 }∗ . We can see that at time 0, node C generates or receives a packet which can be transmitted until time 2 when node D wakes up. The onehop delay from C to D equals to 2-0=2τ . Similarly, the two-hop delay from A to D is 8-1=7τ . In order to know neighbors’ working schedules exactly, local time synchronization is assumed. In this study, we use a CSMA/CA [6] like scheme to control the wireless medium access.
4
Design of DRAG
The basic idea of DRAG is to quickly deliver as many packets as possible meanwhile taking preference to higher-priority packets. DRAG consists of two components: (1) the dynamic selection of forwarders that makes the network deliver packets as soon as possible; and (2) the priority-based packet schedule in both levels of queue management and channel access that offers more chances for higher-priority packets to be transmitted. In DRAG, each node dynamically maintains a set of forwarding candidates, from which the node selects a forwarder in terms of a delay-aware metric, and then schedules a packet with the highest priority. When there are multiple nodes contending a common channel, a priority-based back-off scheme in MAC layer is used. 4.1
Delay-Aware Routing Policy
Determination of Optimal Forwarding candidates. We firstly define by construction the concept of forwarding candidate set of a node and then describe the distributed method of calculating forwarding candidate sets of the node. Definition 1. Forwarding Candidate Set. First, calculate a union set v sv where v is any neighbor of u; and then sort ascendantly this union set by the wake-up time of neighbors, and then remove some elements from this union set such that all the remaining wake-up time is not earlier than t. Now the remaining set is called u’s forwarding candidate set at time t, denoted as Fu (t). For instance, at time t0 node X has three potential forwarders A, B and C that can relay packets for X; all their duty cycles are 2% where sA = {A2 , A40 }∗ , sB = {B1 , B60 }∗ and sC = {C50 , C80 }∗ . After ascendantly sorting sA ∪ sB ∪ sC
150
G. Sun and B. Xu
by the wake-up time, we have FX (t1 ) = {B1 , A2 , A40 , C50 , B60 , C80 }∗ . Different from the forwarding sequence defined in [7], our forwarding candidate set allows the repeated selection of a forwarder, e.g., node A is selected two times in FX (t0 ). Suppose node X wants to transmit a packet to B at time t1 . If this packet is successfully received by B, X completes one transmission; otherwise, X can retry a transmission to some node waking up later than t1 , e.g., to A at time t2 or C at time t50 . Note that a maximum allowed transmission χ is often set by applications in order to save node’s energy and bandwidth. Thus we can reduce the infinite set Fu (t) in Definition 1 into a finite set Fu (t) = {x1 , x2 , . . . , xχ }. Denote the expected delivery delay of node u as Eud . If no considering the unreliable links, for optimizing delay, u selects just a single forwarder v in Fu (t) which has the minimum (dv + Evd ) among all potential forwarders(dv is the time for u to wait v’s wake-up). But the earliest-awake link is not necessarily the 100% reliable one; the delivery ratios of forwarders impact Eud . We use a dynamic programming based method(introduced in [7]) to optimize the expected sourceto-sink delay of u; the following equations show the expression of Eud Eud = Eut =
m psucc (vi ) (dvi + Evdi ) t E u i=1 m
psucc (vi )Evt i
(1) (2)
i=1
where psucc (vi ) is the probability that u (re)transmits to vi successfully after i − 1 times failures and Eut is the delivery ratio of u. Since the forwarder with a less delay is not necessarily having high link quality, DRAG uses a dynamic programming based method to select an optimal subset Fuopt from Fu such that a minimum Eud can be achieved. In order to optimize Eud , we have to try every potential forwarder in Fu as the last node in the optimal subset, i.e., we have to calculate the expected delay for u with respect to any subset {x1 , x2 , . . . , xk }(1 ≤ k ≤ χ) and then find the minimum expected delay value as Eud . For a given subset {x1 , x2 , . . . , xk }, we first initialize a set Fu (k) with a empty set; we secondly insert xk into Fu (k); and next we examine every forwarder from xk−1 to x1 . If xi (1 ≤ i ≤ k−1) decreases Eud , then we insert xi into the front of Fu (k); otherwise we examine xi−1 . Finally, we select the Fu (k) resulting in the minimum Eud as the optimal forwarding candidate set Fuopt . We will not give the correctness proof due to the space constraint. Note that the expected delay per hop is timedependent. We calculate a Eud for each awake state of a node, because a node can receive data only when it wakes up. Therefore, once a node receives or generates a packet upon an awake slot t, it can calculate Fuopt according to the E d values of its forwarders that will wake up later than t. Since the packet needs not to be relayed again when they arrive at the sink, d t Esink is obviously equal to 0, and Esink = 1, both of which are the initial conditions of optimizing all nodes’ expected delay; and then in DRAG implementation, we use a flooding algorithm based on Bellman-Ford scheme to
Dynamic Routing Algorithm for Priority Guarantee
151
distributively calculate Eut and then Eud for all awake slots of node u. The related implementation details are omitted due to the limited space. Link-quality Update. Note that the delay optimization in section 4.1 is based on such a fact that every node knows the link qualities of all its forwarding candidates. Consequently we need some link quality updating method to keep the optimal solution. However, updating link quality information needs extra communication overhead. In this section we present a piggyback-based link quality updating method. Technically, when a node receives a packet, it can extract the link quality information in terms of RSSI or LQI or PRR; and then the node can piggyback the link quality information, say LQI in message ACK. In this way, almost no extra costs of computation and communication are in need. The link quality update model for node u is shown in Eq.(3) lu,v (ti+1 ) = (1 − α)lu,v (ti ) + α lu,v (tack i )
(3)
where lu,v (ti ) represents the link quality between u and v maintained by u, lu,v (tack i ) the new link quality piggybacked in the ACK replied by v, lu,v (ti+1 ) the link quality to be used when a next packet will be sent, and α is used to describe the dynamic characteristic of radio links. Parameter α should be function of time. As indicated in [12], the wireless link quality changes continuously over time; larger α means quicker variation of links. 4.2
Priority-Based Schedule
The priority-based schedule which works on both levels of queue management and MAC layer is the other critical technique in DRAG to provide priority guarantee. Priority-based Queue Management. When a packet is received or generated by a node, it enters the node’s buffer queue to wait the chance to be sent. In a FIFO queue, a new-arriving packet is inserted at the end of queue, while the queue’s front packet is scheduled to be sent once the channel is seized. The FIFO queue management does not consider and differentiate the priorities of buffered packets. In DRAG, we use a simple, priority-based queue management policy to improve the priority guarantee. When a packet arrives at a node’s queue, the node checks the packet’s priority to determine an appropriate place relative to the previously sorted packets, i.e., the node always maintains a queue sorted in terms of packets’ priorities. Furthermore, a node always selects the highestpriority packet to send as long as the node obtains the channel. If a new-arriving packet makes a node overflow, the node will drop the lowest-priority packet in its queue. Priority-based Back-off. Besides using the priority-based queue schedule, another way to improve the priority guarantee is adopted in DRAG: the prioritybased back-off scheme. Differently than the above queue management, the
152
G. Sun and B. Xu
priority-based back-off scheme employs the back-off operations in MAC layer to achieve the differentiated transmissions in terms of data priority. Before starting a transmission, a DRAG node needs firstly to check whether the channel is clear or not. If the channel is busy, i.e., there is data in propagation through this channel, the node can switch immediately to sleep without waiting until the current slot ends, because we have assumed that at most one transmission can be carried out in a slot. If a node, say u determines the channel is clear, it will back off a duration Tbk (u) calculated by Tbk (u) =
max Tbk + trand max{pu (i)}
1 ≤ i ≤ lQ (u)
(4)
where lQ (u) is the length of u’s queue, pu (i) is the priority value of the i-th packet in u’s queue, trand is a short duration randomly chosen within [0, Tr ], and max Tbk the maximum back-off time set by applications. By Eq.(4), the node with the highest-priority packet will seize the channel. The parameter trand is used to avoid multiple simultaneous transmissions of packets with the same priority. Note that the back-off scheme in DRAG delivers high-priority packets in priori but can not avoid entirely the dead lock of low-priority packets in any scenario. One potential solution is to dynamically update the packet priority in delivery according to the travel time or waiting time of packets. But the priority setting upon generation and updating in delivery will be our future work.
5
Simulation
In this section we simulate to evaluate the performance of our work. In our simulation, we focus mainly on two performance metrics as follows: (1) Network Delay. It is measured as the average per-hop delay of a packet traveling for its source to the sink. (2) Priority-differentiated Delivery Ratio. It is measured as the delivery ratio of packets with different priorities. We compare the performance of DRAG with DSF under different duty cycles and packet generation rates. 5.1
Simulation Setup
In simulation, 200 nodes are randomly deployed with a uniform fashion in a 150 × 150m2 square, and a single sink centers the square. The slot length τ , max Tbk and Tr are set to be 20ms, 5ms and 5ms, respectively. and each working schedule is of length 100τ . Each simulation runs 105 τ ; and the maximum allowed retransmissions is set to be 4. To simulate faithfully dynamic radio links, we use the CC1000-based radio model described in [20]. It is shown in each simulation that the average number of neighbors per node is about 12 and the minimum-hop count from any node to the sink is 3.5 in average. The simulation under each configuration repeats 20 times with different random topologies and the data is reported with the 95% confidence.
Dynamic Routing Algorithm for Priority Guarantee
50
0.5 0.4 0.3 0.2 1
2
3 4 duty cycle(%)
5
DSF DRAG
40 30 20
0.8 0.6 0.4
2
3 4 duty cycle(%)
5
0
0.8
middle
0.6 low
0.4 0.2
0.2 10 1
high
1
1 delivery ratio
0.6
delivery ratio
DSF DRAG
0.7
per−hop delay(time unit)
no. of retransmissions
0.8
153
1
2 3 4 5 duty cycle(%)
(a) under DSF
0
dropped 1
2
3 4 5 duty cycle(%)
(b) under DRAG
Fig. 4. Retrans- Fig. 5. Per-hop de- Fig. 6. Average delivery ratio under different missions under diff- lay under different duty cycles erent duty cycles duty cycles
5.2
Performance Comparison
For DRAG and DSF, we evaluate the priority-differentiated delivery ratio, perhop delay and retransmissions under different duty cycles and packet generation rates. The energy efficiency of DRAG will be examined in the future work. Different Duty Cycles. The packet generation rates are all 0.01 in the following simulations. And each source node assigns any packet with one of three priorities(high, middle and low) with the probability of 0.5, 0.3 and 0.2, respectively. Fig.4 plots the average number of retransmissions of two algorithms under different duty cycles. With the duty cycle increasing, the traffic load increase and then brings more contention. The numbers of retransmissions of duty cycles 4 and 5 under DRAG are both less than those under DSF, because DSF does not immediately update link qualities to maintain a optimal solution. Fig.5 shows that the per-hop delay under each algorithm decreases as the duty cycle of nodes increases from 1% to 5%. And it is seen that DRAG achieves the per-hop delay of 4 time unit smaller than DSF when the duty cycle is 5%. Considering the average delivery hop of 3.5, the network delay under DRAG is 13 time units smaller than that under DSF. These results illustrate the DRAG’s advantage of delay over DSF because of the dynamic forwarding candidate selection and link update scheme in use. The simulation in Fig.6 evaluates the performance of priority guarantee under two algorithms. DSF, not using any priority guarantee policy delivers all packets with equal likely, while the stacked histograms in Fig.6(b) show that almost all the high-priority packets generated with probability of 0.5 under DRAG can be sent to the sink. As the duty cycle of nodes increases, the delivery ratio under each algorithm decreases a little. Due to the usage of a low traffic load(0.01 packet generation rate), the total delivery ratio under both algorithms seems similar. Different Packet Generation Rates. In the simulations with different packet generation rates, let the duty cycles of all nodes be 5%. In each simulation, 20 nodes are randomly chosen as the sources, and each source generates a packet with a probability when it wakes up. The priority assignment is identical to that in section 5.2.
154
G. Sun and B. Xu
200
0.4 DSF DRAG 0.2
0.2
0.4 0.6 0.8 data generation rate
1
175 125 100 75 50 25 0 0
DSF DRAG 0.2 0.4 0.6 0.8 packet generation rate
0.8 0.6 0.4 0.2
1
0 0 0.2 0.4 0.6 0.8 1 packet generation rate
(a) under DSF Fig. 7. Retransmissions under different packet generation rates
1
1
150
delivery ratio
0.6
delivery ratio
per−hop delay(time unit)
no. of retransmissions
0.8
0.8
high middle
0.6 0.4 0.2
low dropped
0 0 0.2 0.4 0.6 0.8 1 packet generation rate
(b) under DRAG
Fig. 8. Per hop de- Fig. 9. Average delivery ratio under different lay under differ- packet generation rates ent packet generation rates
Fig.7 shows that the average number of retransmissions under DRAG is slightly less than that under DSF. Fig.8 shows that the per-hop delay under DSF and DRAG both increase as the packet generation rate increases. And when the packet generation rate is beyond 0.6, the per-hop delay under DRAG is clearly smaller than DSF. At the packet generation rate of 0.7, the per-hop delay of DRAG is 32 time units smaller than DSF. Fig.9 compares the prioritybased delivery as well as the total delivery ratio. Similar to Fig.6, DRAG also achieves a good priority guarantee in packet delivery. Specially, it can be seen from Fig.9 that DSF drops more packets than DRAG. It is further to be illustrated that the schemes of link update and priority-based packet schedule used in DRAG contribute to the higher total and the priority-based delivery ratio.
6
Related Work
As so far, there are two major kinds of designs for low duty-cycled sensor networks: MAC and routing algorithms. SCP[18] is a MAC scheme designed for ultra-low duty cycle(0.1%) sensor networks. SCP employs LPL(low-power listening) technique and extends the system lifetime of a sensor network by a factor of 3 to 6 times. Kim et al [11] investigated the priority-based service differentiation scheme for 802.15.4 sensor networks by adjusting the contention window size and the back-off exponent according to different priority requirement. We will next briefly summarize some major work related to our algorithm. SPEED [10] includes three types of services: realtime unicast, realtime areamulticast and realtime area-anycast; and it uses end-to-end feedback control and non-deterministic QoS-aware geographic forwarding to achieve realtime communication. Lu et al [13] design to reduce the delivery delay by using energy-efficient periodic sleep schedule for sensors. Seada et al [15] investigate the geographic routing in sensor networks and show that the product of PRR and the hop distance can be used to select energy efficient paths. Three performance metrics has been proposed in DSF[7]: EDR(expected delivery ratio), EED(expected end-to-end delay) and EEC(expected energy consumption). DSF uses dynamic programming based methods to respectively optimize the above three metrics. We get the heuristic from DSF in performance optimization. But we extend
Dynamic Routing Algorithm for Priority Guarantee
155
DSF by employing repeated nodes in forwarding candidate set and introducing a link update scheme, both of which further reduce the per-hop delay. Moreover, DSF examines the cases only with a few sources; the consequent results can not reveal some common communication problems such as channel contention or queue build-up, each of which affects the performances of system and application. Guo et al [9] propose an opportunistic flooding scheme for low dutycycled sensor networks which reduces the transmission redundancy and achieves fast dissemination. Similarly, ADB, another flooding algorithm for asynchronous duty-cycled sensor networks was designed in [16].
7
Conclusions
In this study, we propose a dynamic routing algorithm, called DRAG for improving the priority-guarantee in low duty-cycled sensor networks. This work considers both the low duty cycle of nodes and the varying, unreliable wireless links. In DRAG design, each node forwards packets based on a dynamic forwarding candidate selection and two priority-based schedule schemes. Extensive simulations with a CC1000-based radio model are carried out to evaluate our algorithm. The simulation results show that DRAG achieves good performance over DSF in priority-based delivery ratio and per-hop delay.
References 1. Cardei, M., Thai, M.T., Li, Y., Wu, W.: Energy-efficient target coverage in wireless sensor networks. In: INFOCOM, Miami, USA (2005) 2. CC2420: http://www.ti.com 3. Li, M., Liu, Y.: Underground coal mine monitoring with wireless sensor networks. ACM Trans. on Sensor Networks 5, 2 (2009) 4. Liu, K., Li, M., Liu, Y., et al.: Passive diagnosis for wireless sensor networks. In: SenSys, Raleigh, USA, pp. 113–126 (2008) 5. Culler, D., Estrin, D., Srivastava, M.: Overivew of sensor networks. IEEE Computer Magazine (2004) 6. Gast, M.S.: 802.11 wireless networks: the definitive guide, 2nd edn. OReilly, Southeast University Press, Nanjing (2006) 7. Gu, Y., He, T.: Data forwarding in extremely low-duty-cycle sensor networks with unreliable communication links. In: SenSys, Sydney, Australia, pp. 321–334 (2007) 8. Gu, Y., He, T., Lin, M., Xu, J.: Spatiotemporal delay control for low-duty-cycle sensor networks. In: RTSS (2009) 9. Guo, S., Gu, Y., Jiang, B., He, T.: Opportunistic flooding in low-duty-cycle wireless sensor networks with unreliable links. In: SenSys, pp. 133–144 (2009) 10. He, T., Stankovic, J., Lu, C., Abdelzaher, T.: Speed: a real-time routing protocol for sensor networks. In: ICDCS, USA, pp. 46–55 (2003) 11. Kim, E.J., Kim, M., Youm, S.K., Choi, S., Kang, C.H.: Priority-based service differentiation scheme for ieee 802.15.4 sensor networks. International Journal of Electronics and Communications 61, 69–81 (2007) 12. Lin, S., Zhang, J., Zhou, G., Gu, L., He, T., Stankovic, J.A.: Atpc: adaptive transmission power control for wireless sensor networks. In: SenSys, pp. 223–235 (2006)
156
G. Sun and B. Xu
13. Lu, G., Sadagopan, N., Krishnamachari, B., Goel, A.: Delay efficient sleep scheduling in wireless sensor networks. In: INFOCOM, Miami, USA (2005) 14. Raghunathan, V., Schurgers, C., Park, S., Srivastava, M.: Energy-aware wireless microsensor networks. IEEE Signal Processing Magazine 19, 40–51 (2002) 15. Seada, K., Zuniga, M., Helmy, A., Krishnamachari, B.: Energy-efficient forwarding strategies for geographic routing in lossy wireless sensor networks. In: SenSys, Baltimore, USA, pp. 108–119 (2004) 16. Sun, Y., Gurewitz, O., Du, S., Tang, L., Johnson, D.B.: Adb: an efficient multihop broadcast protocol based on asynchronous duty-cycling in wireless sensor networks. In: SenSys, pp. 43–56 (2009) 17. Ye, W., Heidemann, J., Estrin, D.: Medium access control with coordination adaptive sleeping for wireless sensor networks. IEEE/ACM Trans. on Networking 12, 493–506 (2004) 18. Ye, W., Silva, F., Heidemann, J.: Ultra-low dudty cycle mac with scheduled channel polling. In: SenSys (2006) 19. Yick, J., Mukherjee, B., Ghosal, D.: Wireless sensor network survey. Computer Networks 52, 2292–2330 (2008) 20. Zuniga, M., Krishnamachari, B.: Analyzing the transmissional region in low power wireless links. In: IEEE SECON, pp. 517–526 (2004)
Heterogeneity of Device Contact Process in Pocket Switched Networks Ye Tian1,2 and Jiang Li3 1
Anhui Province Key Laboratory on High Performance Computing, 2 School of Computer Science and Technology, University of Science and Technology of China, Hefei, Anhui 230026, China
[email protected] 3 Department of Systems and Computer Science, Howard University, Washington DC 20059, USA
[email protected]
Abstract. Understanding device pair’s contacts is essential in pocket switched networks (PSN). However, most of the studies on this issue are focused on the empirical distribution aggregating inter-contact times from all the device pairs, and seeking to find common characteristics of their contact processes. In this paper, we present an insightful analysis on both the aggregated and the pair-wise inter-contact times obtained from three real-world datasets. We find that device pairs are heterogeneous in many aspects, including not only their contact frequencies, but also their contact patterns. More surprisingly, even for those frequently contacting pairs, their behaviors are diverse, and could not be described with a universal model. Finally, implication of the observed heterogeneity on PSN’s message forwarding algorithm is discussed, and we show that with the awareness of the device pair’s heterogeneous contact pattern, the network’s message relaying service could be improved considerably. Keywords: Delay tolerant networks, pocket switched networks, intercontact times, message forwarding algorithm.
1
Introduction
With the advance of wireless technologies and prevalent use of portable wireless devices, in recent years, the idea of pocket switched network (PSN), which is a special case of the delay tolerant network (DTN), has been proposed (e.g. the Haggle project [1]). In PSN, portable wireless devices such as cell phones and PDAs carried by human beings form an ad-hoc network. In such a network, contacting among devices is the only opportunity for communication, therefore, it is highly important for people to understand the device pair’s contact pattern, especially the intervals between their consecutive contacts (referred to as
This work is funded by the Specialized Research Fund for the Doctoral Program of Higher Education of China 20093402120020, and was funded in part by US NSF grant CNS-0832000 and the Mordecai Wyatt Johnson Program at Howard University.
G. Pandurangan et al. (Eds.): WASA 2010, LNCS 6221, pp. 157–166, 2010. c Springer-Verlag Berlin Heidelberg 2010
158
Y. Tian and J. Li
inter-contact times). Previous studies [2][3] on this topic are mainly based on the empirical distribution aggregating inter-contact times of all the device pairs, with an assumption that the aggregated distribution could represent individual pair’s contact process. However, [4] suggests that device pairs are in fact heterogeneous regarding their contacting behavior. In this work, we study both the aggregated inter-contact time distribution in percentiles and the individual pair’s distribution.Three real-world datasets with mobility and contact information of large numbers of portable wireless devices are exploited to identify and understand the heterogeneity of device pairs’ contact processes. Finally, we discuss the implication of the observed heterogeneity on the design of the PSN’s message forwarding algorithms. The remainder part of this paper is organized as follows: in Section 2, related works are surveyed and their relationships with our work are discussed; in Section 3, real-world datasets are analyzed, in particular, the aggregated distributions of the device pairs’ inter-contact times are studied in percentiles; we investigate and classify frequently contacting pairs, and give some interpretations for the heterogeneity observed in Section 4; in Section 5, the implication of our observation is discussed; finally in Section 6, we conclude this paper and discuss the future work.
2
Related Work
Our work focuses on studying the contact pattern of device pairs in PSN networks, and we are especially interested in pair’s inter-contact time between consecutive contacts. Previous studies on this topic are mostly based on the empirical distribution aggregating the inter-contact times from all the device pairs. In [2], the authors study aggregated distributions from a number of real-world datasets, and find that the inter-contact time follows power law and could be modeled with a truncated Pareto distribution. This finding contradicts the assumption in many works (e.g. [5]) that a pair’s contact process is Poisson with exponential inter-contact times. In [3], it is reported that a dichotomy exists in the aggregated inter-contact time distribution: the distribution is power law in certain range, but it has an exponential tail. A random walk model with infinite sites is used to explain the observed power-law inter-contact time. While in [6], a random walk model in an unbound domain is applied for the same purpose. This work differs with these works in that we only study the inter-contact time distribution of an individual pair or the aggregated distribution of pairs in a small group, and we interpret our findings with well-founded theories and widely recognized observations. Only a few works address pair-wise inter-contact times. In [7], the authors use the Dartmouth dataset for analyzing device pair’s contact process, and draw a conclusion that for majority of the device pairs, their inter-contact times are exponentially distributed. In [4], it is shown that the mean inter-contact time is heterogeneous, and the inter-contact times for most of the pairs could be described with a lognormal distribution. Our work differs from these previous
Heterogeneity of Device Contact Process in Pocket Switched Networks
159
works in that we classify the pairs based on their contact patterns and only consider the distributions backed up with theoretical or experimental supports for describing their inter-contact times, and we also discuss the implication of our observations on the design of PSN’s message forwarding algorithm.
3
A First Look at the Contact Process
For our study, we select three datasets containing long-time mobility and contact information of a large number of wireless devices, which are the dataset from the MIT Reality Mining project [8], the Dartmouth dataset [9], and the dataset from UCSD Wireless Topology Discover project [10]. For the remainder part of this paper, we simply refer to them as Reality, Dartmouth, and UCSD respectively. Among the three datasets, devices contacts were recorded in Reality, while for Dartmouth and UCSD, we considered a contact between two devices happened if they were associated with a same AP simultaneously, as assumed in the previous works[2][3]. Table 1. Pairs and contacts in different percentiles Percentile Reality Dartmouth UCSD
0-10 26.77% 0.79% 3.83%
10-20 23.88% 15.30% 23.90%
20-30 15.98% 32.86% 22.40%
30-40 11.01% 21.70% 15.25%
40-50 7.36% 12.78% 9.31%
50-60 5.18% 6.71% 7.64%
60-70 3.57% 4.72% 4.55%
70-80 2.93% 2.67% 4.62%
80-90 2.06% 1.61% 4.87%
90-100 1.26% 0.84% 3.63%
By investigating the three datasets, we are trying to answer the question that whether or not the contact processes for all the device pairs could be viewed homogenous, and if not, in what aspects the heterogeneity exists. For this purpose we study the aggregated distribution of the pairs’ inter-contact times. However, unlike previous works (e.g., [2] and [3]), we do not take all the device pairs into consideration, but group them according to their contact frequencies and study inter-contact times within each group. Concretely, we sort all the pairs in an ascending order regarding their mean inter-contact times, and group the pairs in each ten percentiles. For example, by denoting the percentile group of “10-20”, we mean the pairs with their mean inter-contact times between the first 10 and the first 20 percents among all the pairs in this order. We list in Table 1 the percentage of the contacts made by each group for the three datasets. One can see that in these datasets, some percentile groups make much more contacts than other groups. Moreover, it is observed that the contact number is decreasing very sharply in groups with lower percentiles for each dataset, but the decreasing becomes smooth in higher percentiles. This observation indicates that we could roughly categorize these device pairs into frequently contacting pairs and infrequently contacting ones, and majority of the contacts are made by the former. For example, pairs in the three most contacting percentile groups contribute 66.63%, 69.86%, and 61.55% of the total contacts in Reality, Dartmouth, and UCSD respectively.
160
Y. Tian and J. Li Reality
0
Dartmouth
0
10
UCSD
0
10
10
−2
10
−5
0−10% 10−20% 20−30% 30−40% 40−50% All data
10 −2 10
−1
10
−4
10
All data 0−10% 10−20% 20−30% 30−40% 40−50%
−6
0
1
10 10 Inter−contact time (days)
2
10
3
10
−5
10 −2 10
−1
10
(a)
1
2
10
−2
10
0
1
2
10 10 Inter−contact time (days)
10
UCSD
0
10 50−60% 60−70% 70−80% 80−90% 90−100% All data
10
−1
10
(c)
Dartmouth
0
10
−1
10 −2 10
(b)
Reality
0
0
10 10 Inter−contact time (days)
0−10% 10−20% 20−30% 30−40% 40−50% All data
10 All data 50−60% 60−70% 70−80% 80−90% 90−100%
−2
10
50−60% 60−70% 70−80% 80−90% 90−100% All data
−1
10
−2
10
−3
−3
10
10
−4
10 −4
−4
10
10
−5
10
0
−6
50
100 150 200 250 Inter−contact time (days)
(d)
300
350
10
0
−5
10
20 30 40 Inter−contact time (days)
(e)
50
60
10
0
5
10
15 20 25 30 Inter−contact time (days)
35
40
(f)
Fig. 1. Aggregated distributions of inter-contact times for pairs in 0-10, 10-20, 20-30, 30-40, and 40-50 percentiles in (a) Reality, (b) Dartmouth, and (c) UCSD; aggregated distributions of inter-contact times for pairs in 50-60, 60-70, 70-80, 80-90, and 90-100 percentiles in (d) Reality, (e) Dartmouth, and (f) UCSD.
In Figure 1, we plot the aggregated inter-contact time distribution in complementary cumulative distribution function (CCDF) for pairs in each percentile group of the three datasets. Please note that for percentiles between 0-50, we use the log-log scale, as in Figure 1(a-c), while for percentiles between 50-100, we use the linear-log scale, as in Figure 1(d-f). We also plot the aggregated distribution of all the pairs for comparison. From these figures, we find that for pairs in different percentiles, they differ not only in their contact frequencies, but also in the shape of the empirical distributions of their inter-contact times: From Figure 1(d-f) one could see that the distribution curves are approximated straight lines in the linear-log scale, suggesting that the inter-contact times are exponential. On the other hand, Figure 1(a-c) show that the aggregated distributions of the inter-contact times have near straight-line curves within the delays shorter than one day under the log-log scale, indicating that the distributions are more power-law like. The observation of the distribution shapes suggests that pairs in different percentile groups may have heterogeneous contact patterns in addition to their contact frequencies. Summarizing our findings from Table 1 and Figure 1, we can conclude that the device pairs in all the three datasets are highly heterogeneous in at least two aspects: first, we find that contact frequencies of the device pairs are heterogeneous, for example, Table 1 shows that more than 60% of the contacts are made by only 30% of the most contacting device pairs; more importantly, we find that pairs have different contact patterns, where the inter-contact times for pairs in lower percentiles are more power-law like, while the inter-contact times for pairs in higher percentiles are more exponential. The observed heterogeneity suggests that it may be inappropriate to use a universal contact process model based on the aggregated inter-contact time distribution for interpreting all the pairs’
Heterogeneity of Device Contact Process in Pocket Switched Networks
161
behaviors. On the other hand, as we have seen that a small part of frequently contacting pairs contribute majority of the contacts, it is highly important for people to understand these pairs. With focus narrowed on these frequently contacting pairs, a natural question arises as whether or not these pairs’ behaviors are same. We will answer this question in the next section.
4 4.1
Contact Process of Frequently Contacting Pair Statistical Analysis
In this section, we focus on the frequently contacting device pairs and try to understand their behaviors. For the first step of our study, we filter out those infrequently contacting pairs with a threshold. That is, we only consider the pairs with their contacts more than the threshold. We then use the CramerSmirnov-Von-Mises test[11] to study the frequently contacting pairs filtered out. The Cramer-Smirnov-Von-Mises test is a statistical method to testify whether or not the sampled data is compatible with a given distribution function. In our test, the sampled data is the inter-contact times of the pair under study, and we consider the following candidate distribution functions. – Exponential distribution: For this candidate, we use a CDF function as F (x) = 1 − e−λij x , x ≥ 0 where λij is a constant contact rate between the two devices of the pair. – Pareto distribution: For this candidate, we use a CDF function as F (x) = 1 −
x βij
−αij
, x ≥ βij
where βij is the minimum inter-contact time observed for this pair and αij is the slope rate of the empirical CDF curve in the log-log scale. For obtaining the parameter λij of the empirical exponential distribution, we simply let λij be the inversion of the mean inter-contact time. While for the parameters of the empirical Pareto distribution, we use the maximum likelihood estimator of αij [12] as n α ˆ = n xi i=1 ln β where n is the number of the samples and xi is the ith data sample. The reason that we choose the exponential and Pareto distributions is that they are either supported by well-known theory or widely observed in similar activities. For the exponential distribution, it is well known that if a node’s location process is independent, stationary and ergodic, the long-term contact process between any two nodes is Poisson[5]. Moreover, it is proved that the exponential inter-contact time could be generated with popular mobility models such as the
162
Y. Tian and J. Li Reality
Dartmouth
30 20 10
20
25 Threshold
(a)
30
50 Type 4 Type 3 Type 2 Type 1
50 40 30 20 10 0
25
35 Threshold
(b)
45
Pair num. percentage (%)
40
0
UCSD
60 Type 4 Type 3 Type 2 Type 1
Pair num. percentage (%)
Pair num. percentage (%)
50
Type 4 Type 3 Type 2 Type 1
40 30 20 10 0
15
25 Threshold
35
(c)
Fig. 2. Histograms of slope rates for Type 1 pairs in (a) Reality, (b) Dartmouth, and (c) UCSD
Random Way Point model and the Random Direction model [13]. On the other hand, recent studies show that for many human activities, the inter-event time is heavy-tailed and follows a Pareto distribution. These activities include composing emails[14], visiting websites[15], responding surface mails[16], and performing financial transactions[17]. Although human contacting is different from these activities, however, it is highly possible that there are some similarities, therefore we also consider the Pareto distribution as our candidate distribution function. The Cramer-Smirnov-Von-Mises test is a statistical method which compares the sampled data with the hypothetic candidate distribution, and based on a rejection level α, it returns a result of positive or negative on whether or not the sampled data is compatible with the candidate distribution. Here the rejection level α is the probability of the test to make false positive errors. As we have two candidate distributions, there are two tests for each pair, which are referred to as the exponential test and the Pareto test respectively, and for each test we will have two results. We categorize the pairs into four types based on their testing results: Type 1 pairs are whose pairs that have passed only the Pareto test; 2) Type 2 pairs are those passing only the exponential test; Type 3 pairs which have passed both tests; and 4) Type 4 pairs that have passed neither of the tests. As we are trying to categorize pairs’ behavior patterns, the rejection level α must be selected carefully: if α is set too large, the tests are very loose, and many pairs will pass both tests, suggesting that we are actually failed to differentiate them; if α is too small, the tests are very selective, and we may find many pairs failing to pass any test just because of the raw nature of the data samples. In our study we choose α = 0.01 for Reality and Dartmouth, and α = 0.05 for UCSD. We also change the threshold of the contact number for each dataset for filtering out infrequently contacting pairs, and show the test results in percentages of the pairs falling in each type for the three datasets in Figure 2. From the figure, one can see that for each dataset, when the threshold is small, there are considerable numbers of pairs falling in all the four types; however, when the threshold gets increased, Type 3 pairs are filtered out rapidly. Recall that Type 3 pairs are the pairs passing both tests, it is reasonable to consider these pairs as infrequently contacting pairs, as they pass both tests simply because there is no sufficient sampled data for the tests.
Heterogeneity of Device Contact Process in Pocket Switched Networks
163
We then focus on the other three types, i.e., Type 1, 2, and 4. From the figure one can see that each type has a persistent portion under test, and the pairs in the three types are not easily filtered out by increasing the threshold. Based on this observation, we could consider the Type 1, 2, and 4 pairs as representative frequently contacting pairs. In other words, we could categorize the frequently contacting device pairs into the three types, i.e. pairs with exponential intercontact time, pairs with Pareto inter-contact time, and pairs not belonging to the above two. Reality, Threshold = 30
Dartmouth, Threshold = 45
1
1 Type 1 Type 2 Type 4
0.8
CDF
0.6
0.8
0.6
CDF
0.8
CDF
UCSD, Threshold = 35
1 Type 1 Type 2 Type 4
0.6
0.4
0.4
0.4
0.2
0.2
0.2
0 0
1
2 3 4 Contact rate (times per day)
(a)
5
6
0 0
5
10 15 Contact rate (times per day)
(b)
20
25
0 0
Type 1 Type 2 Type 4 2
4 6 8 Contact rate (times per day)
10
12
(c)
Fig. 3. CDFs of the contact rates for Type 1, 2, and 4 pairs in (a) Reality, (b) Dartmouth, and (c) UCSD
To have a further understanding of the Type 1, 2, and 4 pairs, we also estimate a pair’s contact rate by averaging its inter-contact times and taking the inversion. The distribution of the contact rates for each type of all the three datasets are plotted in Figure 3. From the figure one can see that although pairs of all the three types are considered as frequently contacting, there are still some differences: Type 1 and Type 4 pairs contact obviously more frequently than Type 2 pairs. We also study the empirical Pareto distribution’s slope rate for Type 1 pairs in the three datasets, and find that all the slope rates are smaller than 1 and are concentrating around 0.3 ∼ 0.5. 4.2
Discussion and Interpretation
From the above statistic test results, it is implied that there are at least two contact patterns for the frequently contacting pairs, i.e. the contact pattern producing Pareto inter-contact time and the one producing exponential time. As shown in [13], exponential inter-contact time could be caused by device’s independent, stationary, and ergodic location process, therefore we mark these contacts as “unintended”, as this kind of contact is a byproduct of a node’s independent visiting to some locations. For example, neighbors at home or working place may often make “unintended” contacts, but people do not make these contacts on purpose. For this reason, we refer to the relationship between the two parties of a pair producing exponential inter-contact time as “familiar strangers”. While for the Pareto inter-contact time, we believe they are caused by similar reasons as the Pareto inter-event time observed in many human activities, such as the task priority[14] and the human interest[18]. In other words, we believe that
164
Y. Tian and J. Li
the Pareto inter-contact times could also be explained with objective reasons of human beings, as human has the interest or urgency to perform the contact on purpose. Therefore we could mark the contacts with Pareto inter-contact time as “intended” contacts and could refer to the relationship between the two parties of such pair as “friends”. Finally, for Type 4 pairs, we explain that these pairs are both “familiar strangers” and “friends”, and their contacts are a combination of the two types of the contacts, but none of them dominates. Finally, we observe that Type 1 pairs contact more frequently than Type 2 pairs, which conforms to the intuition that close friends meet more often than familiar strangers.
5
Implication on PSN Message Forwarding
From the statistical studies in the above section, we find that frequently contacting device pairs may have their inter-contact times following exponential or Pareto distribution. It is well known that for exponential inter-contact times, a pair’s contacting frequency indicates its expected next contacting time, due to the memoryless property of the exponential distribution. However, for the Pareto inter-contact times, as the distribution has memory, a device pair that has just contacted is likely to make a contact in near future, while a pair that contacted long ago is not likely to make a contact very soon. Therefore, to predict how soon a pair of devices may contact, we should consider the last recent contact age for the Pareto inter-contacting device pairs as well as the contact frequency for the exponential inter-contacting one. To testify our point, we simulate a PSN network using the UCSD dataset, and examine the success ratios and delivery delays of the network’s message delivery jobs when nodes apply different forwarding strategies. Figure 4 shows that when both the node pair’s contact frequency and the last contact age are considered (corresponding to 0 < ρ < 0 in the figure), performance of PSN’s message delivery job is better than the cases when only the contact frequency (corresponding to ρ = 0 in the figure) or the last contact age (corresponding to ρ = 1 in the figure) is concerned. Please note that when ρ = 0, it is exactly
Success ratio Delay
15
0.8 10 0.7 5
Delay (days)
Success ratio
0.9
0.6 0.5
0
0.2
0.4
ρ
0.6
0.8
1
0
Fig. 4. Success ratio and delay for PSN message forwarding
Heterogeneity of Device Contact Process in Pocket Switched Networks
165
the “FRESH” algorithm proposed in [19], and for ρ = 0, it is the “Greedy” algorithm studied in [20]. Moreover, as we have categorize the node pairs into “familiar strangers” and “friends”, and classify the contact processes into “intended” and “unintended”, if the relationship of the node pair, or even more, the type of the contact process is available, PSN’s message forwarding algorithms should make much more accurate predictions in selecting the next hop for message forwarding. Unfortunately, although we have statistically identified the types for some node pairs and contact processes of the datasets studied in this work, precisely knowing the exact type of each node pair and contact process is still infeasible using any existing datasets, therefore we are unable to examine the exact benefits brought by the awareness of the node pair relationship and contact process type experimentally.
6
Conclusion and Future Work
In this paper, we study three datasets containing contact and mobility information of wireless devices, for understanding the device contact process under the context of PSN networks. We first group pairs into different percentiles based on their contact frequencies and study their aggregated inter-contact time distributions. We find that pairs are heterogeneous in many aspects, including their contact frequencies as well as their contact patterns. We then study the pair-wise inter-contact times, and find that even for the frequently contacting pairs, they are behaving diversely. We categorize the frequently contacting pairs into three types by using the Cramer-Smirnov-Von-Mises test, and apply different theories for interpreting their different contact patterns. Furthermore, we discuss the implication of our observation on the contact processes for the PSN message forwarding algorithm, and show that with the awareness of the heterogeneity, better performance on PSN’s message delivery should be expected. Our future work is in two directions. First, more insightful studies are required to meet the gaps between the empirical observation and the theoretical model, such as explaining the Type 4 pairs. More importantly, we need to work on further exploiting the inferred contact pattern for solving critical problems, such as routing, security, resource management, and quality of service, on PSN networks. For example, “friends” type node pairs should be considered more reliable in some mission critical applications.
References 1. Haggle Project, http://www.haggleproject.org 2. Chaintreau, A., Hui, P., Diot, C., Gass, R., Scott, J.: Impact of human mobility on the design of opportunistic forwarding algorithms. In: Proc. of IEEE INFOCOM 2006, Barcelona, Spain (April 2006) 3. Karagiannis, T., Boudec, J.Y.L., Vojnovic, M.: Power law and exponential decay of inter contact times between mobile devices. In: Proc. of ACM MobiCom 2007, Montreal, Canada (September 2007)
166
Y. Tian and J. Li
4. Conan, V., Leguay, J., Friedman, T.: Characterizing pairwise inter-contact patterns in delay tolerant networks. In: Proc. of ACM Conference on Autonomic Computing and Communication Systems, Rome, Italy (October 2007) 5. Grossglauser, M., Tse, D.N.C.: Mobility increases the capacity of ad hoc wireless networks. IEEE/ACM Trans. Networking 10(4), 477–486 (2002) 6. Cai, H., Eun, D.Y.: Crossing over the bounded domain: from exponential to powerlaw inter-meeting time in manet. In: Proc. of ACM MobiCom 2007, Montreal, Canada (September 2007) 7. Conan, V., Leguay, J., Friedman, T.: The heterogeneity of inter-contact time distributions: its importance for routing in delay tolerant networks (arXiv:cs/0609068v2 [cs.NI]) (January2007) 8. MIT Reality Mining Project, http://reality.media.mit.edu 9. CRAWDAD, http://crawdad.cs.dartmouth.edu 10. UCSD WTD Project, http://sysnet.ucsd.edu/wtd 11. Eadie, W.T.: Statistical Methods in Experimental Physics. Elsevier Science, Amsterdam (1983) 12. Asrabadi, B.R.: Estimation in the pareto distribution. Physica 37(1), 199–205 (1990) 13. Groenevelt, R., Nain, P., Koole, G.: The message delay in mobile ad hoc networks. Perform. Eval. 62(1-4), 210–228 (2005) 14. Barabasi, A.L.: The origin of bursts and heavy tails in human dynamics. Nature 435, 207–211 (2005) 15. Dezso, Z., Almaas, E., Lukacs, A., Racz, B., Szakadat, I., Barabasi, A.L.: Dynamics of information access on the web. Phys. Rev. E 73, 066132 (2006) 16. Oliveira, J.G., Barabasi, A.L.: Human dynamics: the correspondence patterns of Darwin and Einstein. Nature 437, 1251 (2005) 17. Plerou, V., Gopikrishnan, P., Amaral, L.A.N., Gabaix, X., Stanley, H.E.: Economic fluctuations and anomalous diffusion. Phys. Rev. E 62, 3023–3026 (2000) 18. Han, X.P., Zhou, T., Wang, B.H.: Modeling human dynamics with adaptive interest. New J. Phys. 10, 073010 (2008) 19. Dubois-Ferriere, H., Grossglauser, M., Vetterli, M.: Age matters: efficient route discovery in mobile ad hoc networks using encounter ages. In: Proc. of ACM MobiHoc 2003, Annapolis, MD, USA (June 2003) 20. Erramilli, V., Chaintreau, A., Crovella, M., Diot, C.: Diversity of forwarding paths in pocket switched networks. In: Proc. of ACM IMC 2007, San Diego, CA, USA (October 2007)
Delay Minimization of Tree-Based Neighbor Discovery in Mobile Robot Networks Heejun Roh, Kyunghwi Kim, and Wonjun Lee Dept. of Computer Science and Engineering, Korea University, Seoul, Korea
[email protected]
Abstract. In this paper, delay minimization schemes for tree-based neighbor discovery in mobile robot networks are proposed and analyzed. Depending on the tree construction scheme, the expected value of neighbor discovery delay is changed. In our study, we focus on M -ary and M -Binary tree-based neighbor discovery. Regarding the number of neighboring robots, M -ary tree-based neighbor discovery has low but steady performance whilst M -Binary tree-based neighbor discovery shows better performance for optimal M . The simulation results provide performance comparisons of these schemes.
1
Introduction
In a mobile robot network, as a promising application of mobile ad hoc network, the reason that each mobile robot needs the information of neighboring robots is twofold. First, for the robots to perform complex and various tasks cooperatively and efficiently, information of one-hop neighbor robots is required. Second, because generally the network has no infrastructure, it is essential to collect the information for configuring the network environment. However, explicit neighbor discovery may not be performed in typical ad hoc networks currently [1]. That is, it is assumed that all transmissions are listened to by neighboring robots in the link layer level. This assumption is not suitable for practical network implementation, because it is energy-inefficient and robots in the network may be assumed to operate with batteries. To reduce energy consumption, energy-efficient explicit neighbor discovery should be considered. Moreover, because the number of follower robots may be changed frequently, an efficient neighbor discovery scheme is required, which implies that average delay minimization of neighbor discovery schemes in mobile robot networks is an important problem. Recently, numerous studies on neighbor discovery for mobile robot networks have been proposed in the literature [2], [3], [4]. In F. Santos’ work [2], an adaptive TDMA protocol for mobile autonomous robots is proposed. However, it does not support a dynamic number of robots. The improved protocol proposed in [3] has dynamic reconfiguration of the TDMA round, which supports changes of
The corresponding author.
G. Pandurangan et al. (Eds.): WASA 2010, LNCS 6221, pp. 167–171, 2010. c Springer-Verlag Berlin Heidelberg 2010
168
H. Roh, K. Kim, and W. Lee
the number of robots. But it is not suitable to our leader-follower model assumption, because each robot in a group maintains a state machine and the whole member information of the group. J. Arai [4] proposed an Adaptive ReservationTDMA (AR-TRMA) MAC protocol for real-time robot network which supports dynamic time slot allocation schemes during robot intercommunication and the packet collision avoidance method in the joining procedure. However, when a packet collision occurs, the protocol uses fixed-size mini-slots to resolve the collision. This scheme suffers from lack of scalability, because it may not support dynamic situations of networked mobile robot systems, which include a situation that a large number of robots and groups move around frequently. With this motivation, we have studied tree-based neighbor discovery schemes in mobile robot networks, which guarantee the discovery of whole neighbors in each leader robot. In this study, our objective is to reduce the average delay of tree-based neighbor discovery. According to our study, the delay depends on the tree construction scheme. We focus on M -ary and M -Binary tree-based neighbor discovery, because these algorithms have simplicity and optimality, respectively. In summary, our contributions are two-fold. First, we apply tree algorithm variations to neighbor discovery. To the best of our knowledge, our study is the first work applying tree algorithms to neighbor discovery in mobile robot networks. Second, we show that the M -Binary tree-based scheme with optimal M is suitable for the neighbor discovery process.
2
System Model
We assume that mobile robots are uniformly distributed in a field and the carrier sensing range is twice the transmission range. This model consists of the leader robot (LB) which manages and controls a group of robots, follower robots (FBs) which are in the group of robots, neighboring robots (NBs) which is not a FB and can communicate with a LB in 1-hop, and non-neighboring robots. Note that a LB has the number of required robots for performing a cooperative task. A group following a LB uses TDMA with a channel distinct from the default channel. Because the frame structure of TDMA guarantees a delay bound and transmission opportunities, each robot of the group has a chance to transmit its packet fairly. Fig. 1 shows an example of a TDMA frame. In this example, LB broadcasts a beacon message in a beacon period. In a joining period, LB requests its NBs to join the group under the number of required robots via the proposed schemes. LB broadcasts a control message containing the FBs’ data period schedules during a control period, and each of the follower robots can send its own data according to the schedule. Neighbor discovery is performed in the joining period. Depending on the neighbor discovery scheme, the time interval of the joining period may be variable, which causes a significant delay. Therefore, a joining scheme to minimize the total expected delay in the period is required. In this paper, it is called the Joining Delay Minimization Scheme (JDMS), and in the next section, two tree-based JDMSs are discussed.
Delay Minimization of Tree-Based Neighbor Discovery
169
Fig. 1. An example of TDMA frame structure
3
Tree-Based JDMSs
In this section, M -ary tree-based JDMS (M T-JDMS) and M -Binary tree-based JDMS (M -BT-JDMS) are proposed, where M is the maximum number of children nodes (branches) in a tree diagram. Before the specific description of each scheme, we explain the common description. First, assume all neighbor nodes have anonymous ID (i.e., empty string) at the beginning of the joining period and the joining period consists of one or more request-response slots. Specifically, in each request-response slot, a LB requests that NBs with the same ID that LB wants respond first. Then, there are three cases (states) for the response: idle (no response), success (1 response), and collision (2 or more responses). In the success slot, LB can discover one NB and include it into the group which LB leads. Note that it is impossible for LB to decode two or more response at a slot due to the characteristic of wireless medium. Therefore, to avoid the collision, each responded NB concatenates its ID and an integer which is randomly chosen in the interval R. If LB discovers the required number of NBs for performing a cooperative task, the joining period ends. For convenience, the concatenation of A and B is denoted by A ⊕ B and the current wanted ID is denoted by CID. In M T-JDMS, the decision algorithm of the wanted ID of LB in each slot is as follows. At the beginning, the wanted ID of LB is anonymous ID. In each
Fig. 2. (a) The M -ary tree-based JDMS (when M = 3); (b) The M -Binary tree-based JDMS (when M = 5); C=collision slot, I=idle slot, S=success slot
170
H. Roh, K. Kim, and W. Lee
collision, LB schedules to search CID ⊕ 0, CID ⊕ 1, ..., CID ⊕ M − 1. The searching order is the depth-first-search and increasing order, where the depth equals the length of the wanted ID. Finally, let R be the interval [0, M − 1]. The above description can be visualized by the M -ary tree. A visualized example for M T-JDMS is shown in Fig. 2 (a). In M -BT-JDMS, the decision algorithm of the wanted ID of LB in each slot is as follows. At the beginning, the wanted ID of LB is anonymous ID. When CID is anonymous ID and collision is occurred, LB schedules to search CID⊕0, CID⊕1, ..., and CID ⊕ M − 1. However, if CID is not anonymous ID and collision is occurred, LB schedules to search CID ⊕ 0 and CID ⊕ 1. The searching order is the depth-first-search and increasing order, where the depth equals the length of the wanted ID. In addition, each NB has different R, depending on its ID. When its ID is anonymous ID, R is the interval [0, M − 1]. Otherwise, R is the interval [0, 1]. The above description can be visualized by the M -Binary tree, which is a tree that the root node has at most M children but other nodes have at most 2 children. A visualized example for M -BT-JDMS is shown in Fig. 2 (b).
4
Simulation Results
Some simulation experiments were performed to compare the two JDMSs. To validate each simulation result, we used the values of the 802.11 system parameters listed in [6]. In addition, since a success/collision slot needs one request (with 2-bit payloads for 3 slot types), 2 SIFSs and 1 response (with 32-bit ID field), it takes about 543 μs while the idle slot that includes one request and one aSlotT ime takes 388 s. Therefore, the ratio of the collision slot time to idle slot time α is set to 1.371. The number of required NBs for a task is denoted by k. First, Fig. 3 (a) shows (N is fixed to 60) the average total delay for k, where M = 4 and M = 8. In this figure, when M is 8, M -BT-JDMS has a smaller delay then M T-JDMS, but when M is 4, M T-JDMS has a smaller delay then M BT-JDMS. This shows that choosing a suitable value of M has a considerable effect on the performance of each scheme. Fig. 3 (b) shows the average total
Fig. 3. (a) Performance Comparison of M T-JDMS and M -BT-JDMS with M = 4, 8; (b) Performance Comparison of JDMSs with k = 25
Delay Minimization of Tree-Based Neighbor Discovery
171
delay for N with fixed k (k = 25) when M T-JDMS, M -BT-JDMS, and M ∗ -BTJDMS is performed with the optimal value of M , respectively, where M ∗ -BTJDMS is an adaptive scheme that the optimal value of M is selected depending on N . As shown in the figure, the delay of 3T-JDMS is generally longer than that of M -BT-JDMS, which implies the performance of M -BT-JDMS is better. However, depending on the N , the average total delay is dynamic in M -BTJDMS. Therefore, in the context of stability, we can conclude that M T-JDMS may have better performance.
5
Conclusion
We have discussed the joining scheme of the TDMA MAC protocol for robot cooperation. This paper proposed two joining schemes for minimizing the total delay of the joining period: M T-JDMS and M -BT-JDMS. Based on the simulation result, we found that when it is hard to estimate the number of neighbors and stability is important, M T-JDMS is suitable, while for a small estimation error when quick joining is required, M -BT-JDMS with dynamic M calculation is suitable. As a future work, we will study and analyze a scheme to solve the problem that arises from the estimation error.
Acknowledgment This research was jointly supported by MEST, Korea, under WCU (R33-2008000-10044-0), a KOSEF Grant funded by the Korean Government (MEST) (No. R01-2007-000-11203-0), a KRF Grant (KRF-2008-314-D00354), and MKE, Korea under ITRC NIPA-2010-(C1090-1021-0008).
References 1. McGlynn, M.J., Borbash, S.A.: Birthday Protocols for Low Energy Deployment and Flexible Neighbor Discovery in Ad Hoc Wireless Networks. In: Proc. of ACM MOBIHOC (2001) 2. Santos, F., Almeida, L., Pedreiras, P., Facchinetti, T.: An adaptive TDMA Protocol for Soft Real-time Wireless Communication among Mobile Autonomous Agents. In: Proc. of WACERTS 2004 in Conjunction with RTSS (2004) 3. Santos, F., Almeida, L., Lopes, L.S.: Self-configuration of an Adaptive TDMA wireless communication protocol for teams of mobile robots. In: Proc. of IEEE ETFA (2008) 4. Arai, J., Koyama, A., Barolli, L.: Performance Analysis of an Adaptive Medium Access Control Protocol for Robot Communication. In: Proc. of ICPADS (2005) 5. Bianchi, G., Tinnirello, I.: Kalman Filter Estimation of the Number of Competing Terminals in an IEEE 802.11 Network. In: Proc. of INFOCOM (2003) 6. Bianchi, G.: Performance Analysis of the IEEE 802.11 Distributed Coordination Function. IEEE JSAC 18(3), 535–547 (2000)
Two-Stage Target Locating Algorithm in Three Dimensional WSNs under Typical Deployment Schemes Lei Mao1, Junzhao Du1,2, Hui Liu1, Deke Guo3, Xing Tang1, and Ning Wei1 1
Software Engineering Institute and 2 State Key Lab of ISN, Xidian University, Xi’an 710071, Shannxi, P.R. China 3 Key lab of C4ISR Technology, College of Information Systems and Management, National University of Defense Technology, Changsha 410073, Hunan, P.R. China
Abstract. Target locating is a kernel and challenging function of many applications based on wireless sensor networks. Many existing approaches of target locating employ the binary detection model. In this paper, we first propose a probabilistic-based detection model for wireless sensor networks in a threedimensional region, which is more realistic in reality. We further design a probability-based target locating algorithm and evaluate this algorithm under four typical deployment schemes of wireless sensor networks. Simulation results show that our simple and effective algorithm can locate the target and save much energy during the tracking process of a moving target. Keywords: WSNs, target localization, probability-based target locating.
1 Introduction Target localization has emerged as a fundamental problem representing a very important class of sensor network applications. For example, in the emergency rescue and disaster relief scenarios, a sensor network deployed in disaster areas can detect the locations of medical staffs. In military conflicts, a sensor network can monitor and track one even multiple targets of the enemy. Current sensor nodes still suffer limited processing capability and low power. Thus, it is very essential to study novel algorithms, which can rapidly locate a target in an energy efficient way once the target enters the coverage area of a sensor network. In this paper, we propose a probability-based target locating algorithm to accurately locate a target in a cluster-based sensor network. In a cluster, each cluster sensor is responsible to detect emerged targets and report the detecting results to the cluster head. It will consume much energy if each cluster sensor transmits detailed locations of targets to the cluster head. In addition, the transmission from those cluster sensors to the cluster head might be delayed if large numbers of cluster sensors compete for limited wireless bandwidth concurrently. To address this issue, we propose a two-step transmission scheme between the cluster head and cluster nodes. First, each cluster sensor only reports the appearance of a target to the cluster head. Once the cluster head receives a report from at least one sensor, it will instruct a group of sensors to report the detailed locating information according to some specific rules. Second, all selected sensors transmit detailed target location information to the cluster head, and hence the cluster head can further locate the target. G. Pandurangan et al. (Eds.): WASA 2010, LNCS 6221, pp. 172–181, 2010. © Springer-Verlag Berlin Heidelberg 2010
Two-Stage Target Locating Algorithm in Three Dimensional WSNs
173
In this paper, we assume all sensors are deployed in a three dimensional area, which is characterized as a three-dimensional grid. The granularity of the grid can be adjusted to make the better trade-off between the computation complexity and the effectiveness of the coverage measure. The target detecting model for each sensor node is modeled as a sphere. The centre and radius of the sphere denote the location of a sensor node and its detection range, respectively. We study two different target detecting models. Firstly, we consider a binary detection model. A target is detected (or not) with certainty by a sensor node if the target is inside (or outside) the sphere of the sensor node. Secondly, we investigate a realistic probabilistic model in which the probability that the sensor detects a target depends on the relative position of the target within the sphere. We then propose the probability-based target locating algorithm and evaluate its performance. The remainder of the paper is organized as follows. In section 1, we introduce the background and problem this paper addresses. In section 2, we summarize the related work. We propose the probability-based target locating algorithm in section 3. Section 4 evaluates the algorithm through stimulations. Section 5 concludes this paper and discusses our future work.
2 Related Work Recently, many efforts have been done to cover, locate and track targets using wireless sensor networks. Wan et. al. address the k-covers problem in the deployment field [1]. They assume the sensors are deployed as ether a Poisson point process or a uniform point process in a square or disk region. They study how the probability of k-coverage changes with respect to the sensing radius or the number of sensors. Cheng et. al. propose the sweep coverage with mobile sensors problem in wireless sensor networks [2]. Kumar et. al. propose the k-barrier coverage problem of a belt region using wireless sensor networks [3]. They establish the optimal deployment scheme to ensure the k-barrier coverage when deploying sensors deterministically. Liu et. al. research on Passive Diagnosis for Wireless Sensor Networks [4]. Bai et. al. study the problem of constructing full-coverage in three dimensional networks with multiple connectivity [5]. They prove their optimality among regular lattice deployment patterns, irrespective of the ratio of the communication range over the sensing range. Yang et. al. improve the quality of trilateration using confidence based iterative localization [6]. Brooks et. al. design a distributed tracking system based on the extended Kalman filter [7]. Aslam et. al. propose a particle filtering style tracking algorithm using binary sensors which can detect whether a target is approaching or not [8]. Liu et. al. use radio frequency to minimize frequent trajectory patterns for activity monitoring [9]. Zhang et. al. design a tree-based algorithm to facilitate the collaborative tracking of moving targets [10]. The difference of our work from the aforementioned approaches is that we propose an energy efficient distributed algorithm to track a target.
3 Probability-Based Target Locating In this section, we describe the probability-based target locating algorithm in a threedimension wireless sensor network.
174
L. Mao et al.
3.1 Assumptions In this paper, we assume that the exact positions of all sensors are known by some self-positioning approaches. All nodes consume the same amount of energy in detecting, sending and receiving signals. And the consumed energy will cover detecting, sending signals and receiving signals, others are omitted. All sensor nodes within the same cluster are able to communicate with the cluster head. Due to the short-distance transmission, the possibility of a transmission error is very low. The detection area of sensor networks locates in a given three-dimensional area. A two-step communication scheme is used between the cluster head and other nodes within a cluster. At the first step, a sensor node detecting a target uses a bit to report whether there is a target. If a target appears, it reports 1. Otherwise, it reports 0. After the cluster head receives the report information, it will pick up a group of sensor nodes to transmit the detailed information of the target according to specific rules. At the second step, the sensor nodes chosen by the cluster head transmit the detailed location information to the cluster head and the cluster head will locate the target. 3.2 The Detection Model This section describes the sensor detection model. We first define the distance between a pair of sensor and target in a three-dimension space. Given a sensor si ( xi , yi , zi ) and a target p( x, y, z ) , we denote the distance between si and p as: d ( si , p ) = ( x − xi ) 2 + ( y − yi ) 2 + ( z − zi ) 2 .
Let r denotes the detection range of any sensor, re denotes the measurement of the uncertainty of r. When the distance between a target and a sensor is less than r − re , the target can be detected with possibility 1. When a target is r + re away from a sensor, it can’t be detected by the sensor. A target will be detected with a certain probability when it is at the distance greater than r − re but less than r + re . We improve the target detecting model in literature [11][12], and redefine the target detecting probability as ⎧ 0 β ⎪ c p ( si ) = ⎨e − λa ⎪ 1 ⎩
d ( si , p) ≥ r + re r − re < d ( si , p ) < r + re d ( si , p ) ≤ r − re
(3-1)
where a = d ( si , p ) − (r − re ) while λ and β are two parameters of a sensor network. 3.3 Target Localization Detection Probability Table. Localization algorithm can be used to determine the location for each sensor node. Each cluster head generates a table of detection probability for every grid point in the three dimensional space. The detection probability table contains entries for all possible detection reports from those sensors that can detect a target at this grid point. We assume there are k sensors, and a grid point p(x, y, z)
Two-Stage Target Locating Algorithm in Three Dimensional WSNs
175
can be detected by a set of kxyz sensors, denoted as Sxyz, i.e., | s xyz |= k xyz , 0≤kxyz≤k. k xyz
There exists 2 cases when the kxyz sensors monitor the area of the same grid point, including the case that none of the sensors detect anything and the case that all sensors detect the same target. Thus the detection probability table for a grid point p(x,y,z) contains 2
k xyz
entries, defined as:
pxyz (i ) = ∏s
j ∈s xyz
pxyz ( s j , i )
(3-2)
For the ith detection case, if a sensor sj detects a target at the grid point p(x,y,z), then pxyz ( s j , i ) = c p ( s j ) . Otherwise, pxyz ( s j , i ) = 1 − c p ( s j ) . Assume a grid point (3, 3, 3), which is detected by sensors s1, s2 and s3 with probabilities 0.78, 0.78, 0.61, respectively. For a binary string 110, the conditional probability is given by p333 ( s1 , 6) p333 ( s2 .6) p333 ( s3 , 6) =0.78*0.78*(1-0.61) = 0.242. Score-based Ranking. After the probability tables have been generated for all grid points, the cluster head can calculate the location of a target using an inference method once the target is detected by one or more sensors. Assume the cluster head receives reports from k(t) sensors at time instant t. Detail information about the target involves large amount of data, which consumes more energy and bandwidth. Therefore, the cluster head cannot afford to query every sensor. In addition, there exists inherent redundancy among the detected information of sensors, so it is unnecessary for the cluster head to query all the sensors. Using the score-based ranking approach, the cluster head checks the detection probability table for a grid point around the target, and pick up the most suitable sensors to query more detailed information about the target. As shown in Fig.1, there are 3 sensors deployed in a 5×5×5 grid, where k=3, r=3, and re=1. The zigzag shape line A→B is a moving path of a target. The target starts from point A at time slot tA and reaches point B at time slot tB. Fig.2 illustrates a score report at the time slot tA when a target appears at point A.
Fig. 1. A moving target in a region covered by a wireless sensor network.
Fig. 2. The scoring result for a target in the sensor field at time slot tA. (s2 reports the target in this case).
176
L. Mao et al.
Assume that R(t) is the set of sensors that have reported the detection of the target, S R , xyz (t ) is the set of sensors that can detect the point P(x, y, z) and have also reported the detection of the target. Obviously, S R , xyz (t ) ⊆ R and S R , xyz (t ) ⊆ S xyz (t ) . The weight of the grid point P(x,y,z) at time slot t is defined as: Wxyz (t ) = k R , xyz (t ) / k R (t )
(3-3)
Where k R (t ) = R (t ) and k R , xyz (t ) = S R , xyz (t ) .The score of the grid point P(x,y,z) at time slot t is calculated by:
SCORExyz (t ) = pxyz (i(t )) × wxyz (t ) Where i(t) is the index of the
(3-4)
pxyz (i (t )) at the time slot t. The parameters i(t) can be
calculated from S xyz (t ) and S R , xyz (t ) , while pxyz(i(t)) corresponds to the conditional probability that the cluster head receives a report representing that there was a target at a grid point P(x,y,z). For example, given a grid point (1, 2, 1) at the time tA as shown in Fig 2, S xyz (t ) = S R , xyz (t ) ={s2,s3},we have i (t A ) =11 p121 (i(t A )) =0.7152 and w121 (t A ) =1, then SCORE121 (t A ) = 1×0.7152 = 0.7152. Selection of Sensors to Query. Assume the maximum number of sensor nodes used to report an event is kmax, and the cluster head select a set of sensors to query at time slot t, i.e. Q(t). There is Q(t ) ⊆ R(t ) ⊆ {s1 , s2 ,..., sk } . If kmax ≥ k R (t ) at time slot t, all sensor nodes reporting the event will be queried by the cluster head. Otherwise, we select the sensors based on the score-based ranking approach. The distance between selected sensors and the grid point with the highest score should be shortest. The rule is defined as:
where si
∈R(t) and p
Q(t ) : d (Q (t ), pMS ) = min{d ( si , pMS )}. MS
(3-5)
denotes the grid points with the highest score.
Estimating the Position of the Target. Note that all sensors need to be queried have been determined in the last step. Here, a multilateral algorithm is needed to estimate the location of the target. If only one sensor needed to be queried, the reported location of the queried sensor is used to indicate the location of the current target. If two sensors are queried, the midpoint of line of the reported location of the two sensors indicates the location of the current target. If three or more sensors are involved, we use the multilateral algorithm to estimate the location of the current target. Suppose n senor nodes have reported the target information at time t in the monitoring area, their coordinates are ( x1 , y1 , z1 ), ( x2 , y 2 , z 2 ),..., ( xn , y n , z n ) , and the
distances measured to the moving target are d1 , d 2 ,..., d n , respectively. Here,
d i = d i '+ Δd , i = 1,2,..., n , where d i ' is the actual distance, Δd is a zero-mean Gaussian variable indicating measurement error, Δd ∈ N (0, s 2 ) . The position to be
Two-Stage Target Locating Algorithm in Three Dimensional WSNs
177
determined of the target is ( x, y, z ) .The model of multilateral algorithm is expressed by the following formula: ⎧( x1 − x) 2 + ( y1 − y ) 2 + ( z1 − z ) 2 = d1 2 ⎪ ⎨# ⎪ 2 2 2 2 ⎩( x n − x ) + ( y n − y ) + ( z n − z ) = d n
(3-6)
Using the method that every equation minus the final equation starting from the first equation, we can get a new equation which is expressed by the matrix AX = b , where 2( y1 − yn ) 2( z1 − z n ) ⎤ ⎡ 2( x1 − xn ) ⎡ x⎤ ⎢ ⎥ ⎢ ⎥ A=⎢ # # # ⎥, X = ⎢ y ⎥, ⎢⎣ z ⎦⎥ ⎣⎢2( xn −1 − xn ) 2( yn −1 − y n ) 2( z n −1 − z n )⎦⎥ ⎡ x12 − xn 2 + y12 − yn 2 + z12 − z n 2 + d n 2 − d12 ⎤ ⎢ ⎥ b=⎢ # ⎥ ⎢ xn −12 − xn 2 + yn =12 − yn 2 + z n −12 − z n 2 + d n 2 − d n −12 ⎥ ⎣ ⎦
(3-7)
We use the least square method to obtain X = ( AT A) −1 AT b , hence the position of the target can be estimated. The Pseudocode of the Algorithm Algorithm 1 Generate Probability Table(P(x,y,z),{s1,s2,…,sk}) 1 /*Find Sxyz the set of sensors that can detect the grid point P(x,y,z) */ 2 For si ∈ {s1,s2,…,sk} 3 If d(si,P(x,y,z))≤r+re 4
∪{s };
Sxyz = Sxyz
i
5 End 6 End 7 /* Build up the detection probability table*/ 8 For i,0≤i≤kxyz, kxyz = |Sxyz|; 9 If sj detects P(x,y,z) 10 Set pxyz(sj,i) = cxyz(sj); 11 Else 12 Set pxyz(sj,i) = 1 – cxyz(sj); 13 End 14 Set pxyz(i) = ∏sj ∈ Sxyz pxyz(sj,i); 15 End Fig. 3. The pseudo-code generates the probability table for each grid point
178
L. Mao et al.
Algorithm 2 Localization (Grid,{s1,s2,…,sk},TargetTrace) /* kmax is the maximum number of sensors that are allowed for querying; pr is the threshold for each sensor to determine whether report an event to the cluster head. The moving of a target starts from time slot tA and ends at time slot tB*/ 1 Set t = tA; 2 While (t ≤ tB) 3 /* current target location*/ 4 Set Target = TargetTrace(t); 5 /* calculate the score */ 6 Calculate R(t) from {s1,s2,···,sk},Target(t),pR; 7 Set kR(t) = |R(t)|; 8 For P(x,y,z) in Grid; 9 Calculate Rxyz(t) from R(t) and P(x,y,z); 10 Calculate index i(t) of pxyz from R(t) and Rxyz(t); 11 Set kR,xyz(t)=|Rxyz(t)|; 12 Set wxyz(t)=kR,xyz(t)/kxyz(t); 13 Set SCORExyz(t) = pxyz(i(t))×wxyz(t); 14 End 15 /* select sensors for querying */ 16 Calculate Q(t) from SCORExyz(t) and kmax; 17 /*Predict the position of the target ProTarget(t)*/ 18 Set qtlen=|Q(t)| /* how many sensors*/ 19 If qtlen==1 20 21 22 23
∈Q(t);
Sa
Set ProTarget(t)=ReportLocation(Sa); Else if qlen==2 Sa,Sb
∈Q(t)
24 /*Sab is the midpoint of line of ReportLocation of Sa Sb*/ 25 Calculate Sab from ReportLocation(Sa,Sb); 26 Set ProTarget(t)=Sab; 27 Else 28 / *use multilateral algorithm to estimate the position of the target */ 29 Calculate Sc from ReportLocation(Q(t)); 30 Set ProTarget(t)=Sc; 31 End 32 /* next time instant */ 33 Set t = t+1; 34 End Fig. 4. The Pseudo-code to locate a moving target
Two-Stage Target Locating Algorithm in Three Dimensional WSNs
179
Assume a region covered by k sensors is divided as a m × n × l grid. The computa-
tional complexity of generating the detection probability table is O ( mnl2k ) . The
computational complexity of locating algorithm is O(mnlkmax ) where k max ≤ k . Therefore, the complexity of the probability-based locating algorithm k k is max{O ( mnlkmax ), O ( mnl2 )} = O ( mnl2 )} .
(a) Random deployment in 3D region
(b) Random deployment in two vertical walls
(c) Grid deployment in two vertical walls
(d) Grid deployment in two vertical walls with some nodes between walls
Fig. 5. Four typical deployment schemes of sensors
4 Performance Evaluation Results We implement the probability-based target locating algorithm in Matlab and conduct simulations in typical deployment schemes. Assume 100 sensors are deployed in a 10 × 10 × 10 grid field, where r=3, re=1, λ=0.5, and β=0.5. We consider four typical deployment schemes, as shown in fig 5, where a red ball denotes a sensor. In Fig 5(a), all sensors are randomly distributed in the whole space. In Fig 5(b), all sensors are randomly distributed in two vertical walls. In Fig.5(c), all sensors are uniformly distributed on grid points in two vertical walls. In Fig. 5 (d), we add several sensors between the two walls in Fig. 5 (c). Suppose that an object moves only one grid unit in one time slot, the distances measured to the target follow Gaussian distributions. We assume measurement error Δd ∈ N (0,0.5) and then use the probability-based target locating algorithm to estimate
180
L. Mao et al.
the position of the moving target. Fig 5 shows the results, black fold line indicates the real moving trace of an object, while the blue line shows a predicated moving trace using the probability-based locating algorithm. For the four deployment schemes, Fig 6 shows the distance between a pair of predicated point and real point. The x coordinate represents the time slots when the object moves, while the y coordinate represents distance.
(a) Error in Fig 5 (a)
(b) Error in Fig 5 (b)
(c) Error in Fig 5 (c)
(d) Error in Fig 5 (d)
Fig. 6. The predication error between a pair of the predicated point and the real point
By analyzing the simulation results, we can know that the algorithm can locate the target with less energy consumption for the four typical deployment schemes. The precision of predicated position of a target is not well in current stage. We will improve our locating algorithm to make it more accuracy in future work.
5 Conclusions In this paper, we focus on the target locating problem in wireless sensor networks deployed in a three dimensional space. Based on the traditional binary detecting model of a moving target, we propose a probability-based detecting model and a related target locating algorithm. Furthermore, we conduct expensive simulations to evaluate our model and algorithm under four typical deployment schemes of wireless sensor networks. The results show that our simple and effective algorithm can save much energy during the tracking process of a moving target. Acknowledgements. The authors are grateful for a variety of valuable comments from the anonymous reviewers. This work is supported in part by the NSFC under
Two-Stage Target Locating Algorithm in Three Dimensional WSNs
181
grants No. 60803152 and No. 60903206, the Key Research Project of Ministry of Education under grant No. 2009-144, the Open Funds of ISN National Lab under grant No. ISN-9-09, the Fundamental Research Fund for the Central Universities, the Pre-research Fund under grant No. 9140A06050610KG0117, and Research on Key Technologies of Electromagnetic Spectrum Monitoring Based on Wireless Sensor Network under grant No. 2010ZX03006-002-04.
References [1] Wan, P., Yi, C.: Coverage by randomly deployed wireless sensor networks. IEEE Transactions on Information Theory (2006) [2] Cheng, W., Li, M., Liu, K., Liu, Y., Li, X.Y., Liao, X.: Sweep Coverage with Mobile Sensors. In: IEEE IPDPS, USA (April 2008) [3] Kumar, S., Lai, T.H., Arona, A.: Barrier Coverage With Wireless Sensors. In: Prof. of Mobicom 2005, Cologne Germany, August 28-September 2 (2005) [4] Liu, K., Li, M., Liu, Y., Li, M., Guo, Z., Hong, F.: Passive Diagnosis for Wireless Sensor Networks. In: ACM SenSys 2008, Raleigh, NC, USA (November 2008) [5] Bai, X., Zhang, C., Xuan, D., Jia, W.: Full-Coverage and k-Connectivity Three Dimensional Networks. In: The Proceedings of IEEE INFOCOM 2009 (2009) [6] Yang, Z., Liu, Y.: Quality of Trilateration: Confidence based Iterative Localization. IEEE Transactions on Parallel and Distributed Systems 21(5), 631–640 (2010) [7] Brooks, R.R., Ramanathan, P., Sayeed, A.: Distributed target tracking and classsification in sensor networks. In: Proceedings of the IEEE (2002) [8] Aslam, J., et al.: Tracking a Moving Object with a Binary Sensor Network. In: First ACM Conference on Embedded Networked Sensor Systems (2003) [9] Liu, Y., Chen, L., Pei, J., Chen, Q., Zhao, Y.: Mining Frequent Trajectory Patterns for Activity Monitoring Using Radio Frequency Tag Arrays. In: IEEE PerCom 2007, White Plains, NY, USA (March 2007) [10] Zhang, W., Cao, G.: Optimizing tree reconfiguration for mobile target tracking in sensor networks. In: IEEE INFOCOM 2004 (2004) [11] Elfes, A.: Occupancy Grids: A Stochastic Spatial Representation for Active Robot Perception. In: Proc. 6th Conference on Uncertainty in Al, pp. 60–10 (July 1990) [12] Zou, Y., Chakrabarty, K.: Sensor deployment and target localization based on virtual forces. In: IEEE INFOCOM, pp. 1293–1303 (2003)
Interference Analysis for FH-Based Multi-radio Wireless Mesh Networks Davis Kirachaiwanich and Qilian Liang Department of Electrical Engineering University of Texas at Arlington Arlington, TX 76019-0016, USA
[email protected],
[email protected]
Abstract. In this paper, we study the interference analysis in a Nocoherent Frequency-Hopping (NC-FH) MFSK rural infrastructure Wireless Mesh Networks (WMNs) with each router node being equipped with multiple radio interfaces. Our choice of the FH/MFSK modulation technique here is not just to satisfy the security requirement in military communications but also to provide easy implementation for each router nodes; since FH/MFSK modulation technique has been specified in IEEE 802.11 standard, these router nodes can be implemented also using IEEE 802.11(FH) equipments. The performances of noncoherent slow frequency-hopping system with M -ary frequency-shift-keyed modulation (NC-FH/MFSK) with AWGN channel and Rician fading under independent multitone jamming (independent MTJ) are investigated in this paper. The expressions for calculating the exact BER performances of the system under the effect of the jamming strategies are derived. We apply the analyses to channel assignment (CA) in multiradio rural WMNs. We obtain a new interference model combining interfence tone and partial band noise, which would be incorporated into the CA algorithm to assign the most appropriate channel (or hopping pattern, in our case) to links in the mesh. Because it takes into account both the intranetwork and the coexisting-network interferences, the new interference model thus reflects a very realistic interference situation in WMNs.
1
Introduction
Wireless mesh networks (WMNs) consist of mesh routers and mesh clients, where mesh routers have minimal mobility and form the backbone of WMNs. They provide network access for both mesh and conventional clients. The integration of WMNs with other networks such as the Internet, cellular, IEEE 802.11, IEEE 802.15, IEEE 802.16, sensor networks, etc., can be accomplished through the gateway and bridging functions in the mesh routers. Mesh clients can be either stationary or mobile, and can form a client mesh network among themselves and with mesh routers [1]. The IEEE 802.11b/g and IEEE 802.11a standards define 3 and 12 non-overlapping frequency channels, respectively. Using multiple channels in multi-radio WMNs greatly improves the network throughput [5]. One G. Pandurangan et al. (Eds.): WASA 2010, LNCS 6221, pp. 182–191, 2010. c Springer-Verlag Berlin Heidelberg 2010
Interference Analysis for FH-Based Multi-radio Wireless Mesh Networks
183
of the most important design questions for a multi-radio WMN is the channel assignment problem, i.e., how to bind each radio interface to a radio channel [2]. In this paper, we will study the channel assignment in an Nocoherent FrequencyHopping (NC-FH) MFSK rural infrastructure WMN with each router node being equipped with multiple radio interfaces. Our choice of the FH modulation technique here is not just to satisfy the security requirement in military communications but also to provide easy implementation for each router nodes; since FH/MFSK modulation technique has been specified in IEEE 802.11 standard, these router nodes can be implemented also using IEEE 802.11(FH) equipments. Generally, these IEEE standard FH equipments uses 83.5MHz of ISM frequency bandwidth (2.4GHz-2.4835GHz) as the operational bandwidth and divide it into 79 FH bands, each with 1 MHz, to support the FH modulation technique. Subsequently, to enable multiple transmissions, three non-colliding hopping patterns are established, each with 26 FH bands [3]. The rest of this paper is organized as follows. In Section 2, the BER expressions for NC-FH/MFSK system with AWGN channel and Rician fading under independent multi-tone jamming (MTJ) will be derived. Section 3 will be devoted for the study of the channel assignment in rural NC-FH/MFSK WMN. Section 4 will conclude the paper.
2
NC-FH/MFSK under Independent Multitone Jamming
In this paper the FH system is assumed to be slow hopping over N nonoverlapping FH bands, i.e. a hop period is a multiple of symbol period (Th =kTs , where k=1,2,3,..). Each FH band is comprised of M = 2K signal frequencies of the M -ary FSK modulation. Hence, there are N M possible frequency bins for a signal tone to be transmitted. If all FH bands are contiguous, the total communication bandwidth thus equals to BT = N M/Ts . Also, we will assume that the transmission bit rate of the system is Rb = KRs = K/Ts , where Rs = 1/Ts denotes the symbol rate. And, the average received power for every symbol transmitted, regardless of the channels effect, is assumed to be Ps or an average symbol energy of Es = Ps Ts . Therefore, the received bit energy can be calculated by Eb = Es /log2 M . The jamming source of interest is assumed to possess the complete description of the signal transmitted from the NC-FH/MFSK system and able to transmit multiple signal-like interference tones simultaneously within one symbol time, Ts . Also it is assumed that the power source in the jammer is an ideal source and can supply the power constantly at all time. While q, 1 ≤ q ≤ N M , is the number of simultaneously transmitted interference tones, which are distinct and uniformly distributed over the entire bandwidth BT , if we assume that the total interference tone power at the receiver is PjT and that each interference tone equally shares this power, the received power for each interference tone is therefore equal to Pj = PjT /q or the received energy of Ej = Pj Ts = PjT Ts /q. The transmitted signal and interference tones are assumed to undergo an independent fading channel before arriving at the receiver with noncoherent
184
D. Kirachaiwanich and Q. Liang
detection scheme and all fading channels in this study are modeled as slow fading, frequency non-selective Rician processes, whose PDF are of the form 2 αk xk xk x + α2 fXk (xk ) = 2 exp − k 2 k I0 (1) u(xk ) σk 2σk σk2 where I0 (·) denotes the zeroth order modified Bessel function and u(·) is the unit step function. α2 and 2σ 2 are the average power of the LOS (Line-Of-Sight) and the scattering rays of the fading channel. We can also define another parameter to determine the Rician fading channel by using the ratio of α2 and 2σ 2 . This ratio is called the Rician K factor, Kk = α2k /2σk2 where k=1,2 is used for signal tone and interference tone respectively. It is used to determine how severe the multipath effect is. At the receiver, the received signal will be noncoherently detected and it is assumed that each symbol of the M -ary FSK is equally likely. The receive signal can be represented as ri (u, t) = xk 2Pi cos(ωm t + φi ) + n(u, t) (2) where xk is a Rician random variable representing the envelope of the fading channel and its PDF can be represented as (1). Pi is the average received power of the tone if the effect of fading channel is not accounted. The subscript i=s,j denotes signal tone and interference tone respectively. ωm , m=1,2,..,M , is angular frequency for an MFSK symbol and φ is unknown phase. n(u, t) is AWGN, Gaussian-process thermal noise, with total power σn2 = N0 /Ts . Since the interferers are distinct and uniformly distributed, in any hop there can be as few as none and as many as min(q, M ) interference tones. Hence, the probability of symbol error (or symbol error rate, SER) of the system can be calculated by min(q,M−1)
Ps (e) = P0 · Ps0 (e|no int. tone) +
Pn · Psn (e|n int. tones)
n=1
+PM · PsM (e|M int. tones) · u(q − M )
(3)
where Ps (e) is the probability of symbol error. P0 , PM , and Pn are the probablities that a hop is jammed by zero, M , and n interference tones, where 1 ≤ n ≤ min(q, M − 1). Ps0 (e), PsM (e) and Psn (e) are the probablities of symbol error corresponding to the specified number of interference tones in the hop. It should be noted that u(·) in the last term on RHS is the unit step function included to account for the fact that the probability of having M interference tones in a hop is equal to zero if the total number of interference tones in the entire spectrum bandwidth is less than M , i.e. q < M . Finally, for MFSK system, the probability of bit error can be calculated from the probability of symbol error by Pb (e) =
M/2 Ps (e) M −1
(4)
Interference Analysis for FH-Based Multi-radio Wireless Mesh Networks
185
For probability of symbol error with no interference tone, readers can refer to [6] [4]. 2.1
Probability of Symbol Error with n Interference Tones Given the Signal Branch Is Jammed
With total q interference tones simultaneously transmitted from the jammer, if a hop is actually jammed, the possible number of interference tones in the hop can range from 1 up to min(q, M ). For an NC-FH/MFSK system with N M possible frequency bins, the probability that a hop will be jammed by n interference tones, where 1 ≤ n ≤ min(q, M − 1) is given as Pn =
n−1
(
k=0
M−1 q−k q−n ) ) (1 − N M − k j=n NM − j
(5)
Given that a hop is interfered by n interference tones, the probability of symbol error can further be divided into two subcases. First is the case when the signal tone is jammed by one of n interference tones in the hop and the probability that one out of n interference tones will jam the signal tone is n/M . Second is when none of n interference tones is located in the same frequency bin as the signal, i.e. the signal tone is not jammed. The probability of the second case is 1 − n/M = (M − n)/M . Hence, the probability of symbol error given a hop is interfered by n interference tones can be expressed as Psn (e|n int. tones) n = ( )Psn (e|signal is jammed) M M −n +( )Psn (e|signal is not jammed) M
(6)
To evaluate the probability of symbol error when the signal branch is jammed, [8] has provided a computational-efficient method based on the use of phasor representations and noncentral chi-squared PDF’s. It can be shown for any two 2 2 > R02 ). Rician random variables, say R01 and R02 , that P (R01 > R02 ) = P (R01 In (3) of [8], the probability is given as
√ 4K01 K02 b ·I0 b+1
2 > R2 ) P (R01 > R02 ) = P (R01 02 b K01 + K02 b 2K01 2K02 b =Q , − exp − b+1 b+1 b+1 b+1
(7)
where Kl = α2l /2σl2 , l = 01, 02, are Rician factor for R01 and R02 respectively, 2 2 b=σ02 /σ01 , and Q(x,y) is the Marcum’s Q function. Without loss of generality we can assume that the signal is present in the first output branch of the detector,
186
D. Kirachaiwanich and Q. Liang
as well as one of the n interference tones that jam the signal tone. And we will assume also that the rest n-1 interference tones are in the next consecutive branches. Therefore, 1st to nth output branches of the envelope detector will have their PDF follow Rician distributions and the output of the rest M − n branches will follow just a Rayleigh distribution. Furthermore, when the signal tone in the first output branch is jammed by an interference tone, the averaged LOS power in the output branch can be expressed as α2sj = α2s + α2j + 2αs αj cos ϕ
(8)
ϕ is the random phase difference between received signal tone and interference tone and assummed to uniformly distributed between 0 to 2π. So, the probability of symbol error given the signal tone is jammed can be calculated by Psn (e|signal is jammed) = 1 − P (R01 > R02 ∩ R01 > R03 ∩ R01 > R04 ...) =1−
n
P (R01 > R0k )
M
P (R01 > R0j )
j=n+1
k=2
= 1 − P (R01 >