Real Time Communication In Sensor Networks

Qos Seminar Report

by P.Sarat Chandra (04329009) R.Vamshi Krishna(04305015) Vaibhav Gupta(03305903)

under the guidance of Prof. Anirudha Sahoo

Indian Institute of Technology, Bombay Mumbai

Contents 1 Introduction to Sensor Networks 2 Issues in Communication 2.1 Data Centric Paradigm 2.2 Location Based . . . . 2.3 Real Time . . . . . . . 2.4 Scalability . . . . . . . 2.5 Fault Tolerance . . . . 2.6 Hardware Constraints . 2.7 Resource Constraints .

1

between Sensor Networks . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

3 Protocol Stack and Routing Protocols 3.1 Sensor network Protocol stack . . . . . 3.1.1 Physical layer . . . . . . . . . . 3.1.2 Data link layer . . . . . . . . . 3.1.3 Network Layer . . . . . . . . . 3.1.4 Transport layer . . . . . . . . . 3.1.5 Application Layer . . . . . . . . 3.2 Routing Protocols . . . . . . . . . . . .

. . . . . . .

. . . . . . .

. . . . . . .

. . . . . . .

. . . . . . .

. . . . . . .

. . . . . . .

. . . . . . .

4 SPEED - A Real Time Protocol for Communication 5 Conclusion

. . . . . . .

. . . . . . .

. . . . . . .

. . . . . . .

. . . . . . .

. . . . . . .

. . . . . . .

. . . . . . .

. . . . . . .

. . . . . . .

. . . . . . .

. . . . . . .

. . . . . . .

. . . . . . .

. . . . . . .

. . . . . . .

. . . . . . .

. . . . . . .

. . . . . . .

. . . . . . .

. . . . . . .

. . . . . . .

. . . . . . .

2 2 3 3 3 3 4 4

. . . . . . .

5 5 5 5 6 7 7 8 9 10

i

List of Figures 1.1 Sensor nodes in Sensor Fields . . . . . . . . . . . . . . . . . . . . . . . . .

1

2.1 The basic components of Sensor Node . . . . . . . . . . . . . . . . . . . . .

4

3.1 The Protocol Stack . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

6

ii

Abstract Wireless Sensor networks represent a new generation of Real-time systems with different communication constraints from traditional systems. This report includes the basic Sensor Network Communication Architecture, and Design factors for such an architecture. We also discuss a new protocol called SPEED, which provides real-time communication services, like real-time unicast, real-time area-multicast and real-time area-anycast. This protocol is stateless and use a localized algorithm which results in minimal control overhead.

Chapter 1 Introduction to Sensor Networks Sensor networks are being extensively used in military, medical and industrial applications. Monitoring of safety critical systems, smart systems, chemical, radiological and biological detection, domestic security systems like intruder detection systems all use sensor networks. Sensor networks are composed of many sensor nodes. They are deployed in the environment to be sensed and controlled. Each sensor node is capable of communicating with other sensor nodes. But generally sensor nodes are limited in memory, power and computational ability. Thus they can only transmit data to a limited distance. A sensor field is an area which contains may sensor nodes doing the same work [3]. The sensor field can be densely populated. The typical job of a sensor node is to sense the environment , collect data and route the data to the sink(as shown in Figure 1.1). The data is routed to the main center by a multi-hop infrastructure-less network through the sink.

Internet and Satellite

Sink

E

C D

B

A

Task Manager Node User

Sensor field Sensor nodes

Figure 1.1: Sensor nodes in Sensor Fields 1

Chapter 2 Issues in Communication between Sensor Networks Sensor networks are a special class of ad-hoc mobile networks [1].Hence they require different communication protocols tailor-made for them. The key issues in the design of sensor networks that affect the communication between various sensor nodes are [1]: • Data Centric Paradigm • Location Based • Real Time • Scalability • Fault Tolerance • Resource Constraints

2.1

Data Centric Paradigm

Traditional networks put more emphasis on addressing and use addresses to route data. The data is communicated between two systems through a route which contains two or more addressed nodes. In contrast sensor networks are intrinsically data-centric [3]. Data from various sources, sensing the same event in the same environment, must be aggregated. This does not give specific importance to any individual sensor node. Messages are not sent to individual nodes but rather to locations or areas based on data content. Hence it is important that the routing protocols used to route data take this data centric paradigm into consideration.

2

2.2

Location Based

Sensor networks deal with physical environments and hence must work with physical locations rather than logical IDs. Infact sensor networks do not have permanent IDs assigned to them. One of the reasons is the sheer volume of sensor networks existing globally and the constraint on their memory and processing capabilities. Thus any query must refer to location rather than to a particular ID. When such a query is put forth, the local nodes execute the query individually and these individual results are aggregated. Hence the need for data centric and location based protocols [8].

2.3

Real Time

Sensor networks are deployed in environments dealing with real world events. Hence there is a necessity for real time guarantees for communication and data transfer. For instance a sensor network may be deployed in a nuclear plant and its function is to detect radioactive leakage. If we cannot guarantee that within a certain interval of detection of leakage, the safety systems are not alerted then there may be a catastrophe. Many protocols that can deal with real-time nature of sensor network have to be designed.

2.4

Scalability

When the sensor network is designed to be scalable, the communication protocols must maintain minimum global state and incur as little control overhead as possible. It must easily work with highly dense sensor networks.

2.5

Fault Tolerance

Sensor nodes are highly susceptible to failures. These failures may be due to environmental noise or obstacles. Or they may be due to wear and tear, power depletion, physical destruction. The protocols must be such that the sensor network performs properly in the event of failure of many nodes. They must be able to self stabilize.

3

Location finding System

Sensing unit Sensor

ADC

Mobilizer

Processing unit Processor Storage

Transceiver

Power generator

Power Unit

Figure 2.1: The basic components of Sensor Node

2.6

Hardware Constraints

This is the crucial design factor as it defines the efficiency of a node. Each node primarily comprises of the following components (Figure 2.1). • Sensing unit Used to convert analog signals to digital signals which are generated by sensor nodes • Processing unit Used to manage the functions that are responsible for communicating with the other sensor nodes. This unit is usually associated with the small storage capacity. • Transceiver unit Used to connect a node to the sensor network. • Power unit This is the heart of the node which determines the life time of a sensor node. Power can be saved by switching off the node when not necessary and bringing up only when needed. It can also use solar energy for charging itself. • Mobilizer A mobilizer is needed in cases where a sensor node has to move from one location to another.

2.7

Resource Constraints

Sensor networks use small batteries to operate and radio transmissions take up most of this power. Hence power conservation is the key issue in sensor networks, especially at the communication layer. Energy efficient routes can be found based on available power in the nodes or the energy required for transmission in the links along the routes. An energy efficient route can be selected either by selecting a route which has the maximum available power among all nodes or selecting the route that consumes minimum energy to transmit data from the node to the destination in the route or by selecting a minimum hop route or by selecting a route in which the minimum power is larger than the minimum powers of the other routes.

4

Chapter 3 Protocol Stack and Routing Protocols 3.1

Sensor network Protocol stack

The protocol stack for such a network is similar to ordinary network except that it includes 3 planes termed as Task management plane, Mobility management plane and Power management plane as shown in figure 3.1. The following section provides the functionality of each layer.

3.1.1

Physical layer

The physical layer has to determine a good modulation scheme which is critical for reliable communication. It is also responsible for frequency selection, signal detection, carrier generation and data encryption. Ultra Wide Band(UWB) or Impulse Radio(IR) has been used for communication. UWB uses baseband transmissions and thus requires no intermediate carrier frequencies. It also requires low transmission power and simple circuitry.

3.1.2

Data link layer

The data link layer is responsible for multiplexing of data streams, data frame detection, medium access and error control. The goals of a MAC protocol in a self organizing sensor network is to create network infrastructure and to fairly share resources among the nodes in the network. We cannot use the existing MAC designs because of the difference in the area of concentration between ordinary networks and sensor networks. For example in case of Cellular networks the mobile node is always one hop away from the base station and the base station has infinite resources with it whereas in sensor networks there is no central station. Another example will be Mobile Ad-hoc networks which are somewhat closely related to sensor networks. In MANET’s the task of the MAC protocol is to form a network infrastructure and maintain it in the case of mobility. The nodes are basically equipped with portable battery but they can be manually replaced which is not at all the case with the sensor networks.

5

Data Link Layer Physical Layer

Task management plane

Network Layer

Mobility management plane

Transport Layer

Power management plane

Application Layer

Figure 3.1: The Protocol Stack Self-Organizing MAC(SMACS) and Eaves drop-And-Register(EAR) Algorithm The purpose of SMACS is to startup the network and link layer functionalities. The EAR algorithm will take care of seamless connection of mobile nodes in the sensor network. In SMACS the neighbor discovery and channel assignment phases are combined so that the nodes might have formed a connected network by the time they hear from all their neighbors. Since the available bandwidth is more than the maximum data rate we can use a pair of time slots operating at random but at fixed frequency in the link. The sole advantage is removal of network wide synchronization. EAR algorithm works transparently to SMACS which is functional until the introduction of mobile nodes into the network. The EAR algorithm doesn’t guarantee but attempts to provide a continuous service to the mobile nodes under both stationary and moving conditions. Ways of saving Power Whatever the MAC protocol used, the effective operation of a sensor node depends on the amount of power that is available with the node. One quick solution seems to be turning off the power of transceiver when it is not required. In order to make it energy efficient we should turn off only if the time exceeds a certain threshold otherwise the energy required to start up will be more than the energy that it might have spent if it would have been on.

3.1.3

Network Layer

The following are the important criteria that should taken into consideration while designing a network protocol. • Efficiency in usage of power should be given utmost importance • Sensor networks are mostly data-centric 6

• Data aggregation can be done if it doesn’t affect the collaborative effort of the sensor nodes. • A sensor network is addressed based on attribute and location awareness and not by a globally unique id. As sensor networks are mostly data-centric, the interest dissemination is done either by the sink or by the sensor nodes which broadcasts when it has data and waits for a response from the interested nodes.

Sequential Assignment Routing SMACS is used to enable a sensor node to discover its neighbors and establish transmission/reception schedules without the need of a centrally governing station. Once the mobile nodes come into the network the EAR algorithm will provide seamless interconnection to the nodes. The EAR algorithm is based on invitation messages and registration messages by stationary nodes by mobile nodes. In SAR algorithm, a tree with each neighbor as root which is one-hop neighbor from the sink is generated. The tree will be formed by avoiding the nodes which have less Qos and low energy reserves. Once such trees are generated, some nodes will be a part of many trees which allows the node to pick one tree to send data to the destination. The SAR algorithm selects a tree on the basis of Energy resources which defines the number of packets that a node can send if the node has is exclusively using the path and additive QoS metrics which determine the QoS requirements and also priority level.

3.1.4

Transport layer

Basically the connection between the sink and the central authority may be either TCP/UDP but the communication between the sensor nodes to the sink and among the sensor nodes only UDP can be used. So in Sensor networks the communication is not end-to-end and so they are not based on Global addressing as IP addresses in Internet. Basically they are identified by using attribute-based naming to address the destinations for data packets.

3.1.5

Application Layer

The following are the various application layer protocols that can be used in Sensor nodes • Sensor Management Protocol(SMP) • Task Assignment and Data Advertisement Protocol(TADAP) • Sender Query and Data Dissemination Protocol(SQDDP) Sensor Management Protocol This application protocol is used by the System Administrators to interact with the Sensor Networks. Since sensor networks don’t have Global Identification, they can be accessed using attribute-based naming and location addressing which are used for doing the following tasks like Moving Sensor nodes, Turning Sensor nodes on and off, Authentication and Security in data communications and many more. 7

TADAP Most important activity in Sensor networks is how interest can be sent to the nodes or subset of nodes or to the whole network. One way is to inform the nodes that i have data and wait for response from the interested node. Another way is to send our interests to the user and let the user query at his interest. SQDDP SQDDP basically provides interfaces for users to query the network and to receive the replies from the network. Queries will not be towards a particular node but location based or attribute based. ”location of the nodes that sense pressure > 5 atmospheres” is an example for attribute based query and ”pressure read by the nodes at region A” is an example of location based query.

3.2

Routing Protocols

There are numerous ad hoc routing protocols are broadly categorized into flat routing and hierarchical routing. In flat routing, every route has equal responsibility of maintaining routing information. Routing algorithms in this category can be further classified into : • Proactive Routing These algorithms maintain routes continuously for all reachable nodes. They require periodic dissemination of routing updates. • Reactive Routing These algorithms establish and maintain nodes only if they are needed for communication. New routes are acquired when a new connection is set up and is to be maintained throughout the lifetime of the connection despite of topology changes. • Geographic routing Geographic routing protocols utilize locations for routing decisions[4].

8

Chapter 4 SPEED - A Real Time Protocol for Communication SPEED is a real-time communication protocol for sensor networks[7]. It provides 3 types of real-time communication services, namely, real-time unicast , real-time area-multicast and real-time area-anycast. In real-time unicast data is sent to a specific sensor node (Data sent to Base Station from a sensor node). In real-time area-multicast data is sent to an area in the sensor network (Base station queries an area). In real-time area-anycast the destination is any one node in an area. SPEED supports soft real-time based on feedback control and stateless algorithms. SPEED utilizes geographic location to make localized routing decisions. But SPEED also handles congestion and provides soft real-time which location based protocols do not. Route discovery broadcasts in reactive routing algorithms can lead to significant delays in sensor networks. This makes on-demand algorithms less suitable for real-time applications. SPEED maintains only immediate neighbor information. It does not maintain a routing table nor per-destination states. Hence it’s memory requirements are minimum. SPEED does not use any information related to deadlines. Instead it provides realtime guarantees by providing a uniform packet delivery speed across the sensor network so that the end-to-end delay of the packet is proportional to the distance between the source and destination. SPEED does not require specialized MAC support and can work with existing best effort MAC protocols due the feedback control scheme that it employs. All distributed operations in SPEED are highly localized meaning that any action invoked by a node will not affect the system as a whole.

9

Chapter 5 Conclusion Sensor Networks are different from other ad hoc networks and hence require specialized protocols for communication. To provide real-time guarantees the protocol must be specifically designed with real-time guarantees in mind. We have briefly introduced the communication in a Sensor network and have presented various issues that affects for real time communication in such networks. We have discussed the basic architecture of a Sensor Network and looked at various categories of routing protocols. We have also discussed a protocol called SPEED, which guarantees soft-real time guarantees and hence is very much suitable for real-time communication in sensor networks.

10

References [1] John a. Stankovic, Tarek F. Abdelzaher, Chenyang Lu, Lui Sha, and Jennifer Hou. Real-Time Communication and Coordination in Embedded Sensor Networks. July 2003. [2] Tarek F. Abdelzaher, John A. Stankovic, Sang Son, Brian Blum, Tian He, Anthony Wood, and Chenyang Lu. A Communications Architecture and Programming Abstractions for Real-Time Embedded Sensor Networks. May 2003. [3] Ian F. Akyildiz, Weilian Su, Yogesh Sankarasubramaniam, and Erdal Cayirci. A survey on Sensor Networks. pages 102–114, 2002. [4] B.Karp and H.T. Kung. GPSR : Greedy Perimeter Stateless Routing for Wireless Networks. August 2000. [5] Chee-Yee Chong and Kumar S. P. Sensor Networks : evolution, opportunities and challenges. 91(8):1247–1256, August 2003. [6] Tian He, John A. Stankovic, Chenyang Lu, and Tarek F. Abdelzaher. IEEE Transactions on Parallel and Distributed Systems(To appear),. [7] Tian He, John A. Stankovic, Chenyang Lu, and Tarek F. Abdelzaher. SPEED : A Stateless protocol for Real-Time Communication in sensor Networks. May 2003. [8] Chenyang Lu, Brian M. Blum, Tarek F. Abdelzaher, John A. Stankovic, and Tian He. RAP : A Real-Time Communications Architecture for Large-Scale Sensor Networks. September 2002. [9] Yogesh Sankarasubramaniam, O. B. Akan, and Ian F. Akyildiz. ESRT : Event-To-Sink Reliable Transport in wireless sensor networks. pages 177–188, June 2003.

11

Real Time Communication In Sensor Networks

Wireless Sensor networks represent a new generation of Real-time systems with ... biological detection, domestic security systems like intruder detection ...

82KB Sizes 1 Downloads 241 Views

Recommend Documents

Real Time Communication in Sensor Networks
Sensor field. Task Manager. Node. User. Satellite. Internet and. Sink ... High failure rate of sensor nodes. ▫ Physical ... Uses the concept of 'speed' to achieve.

Distributed Real Time Neural Networks In Interactive ...
real time, distributed computing, artificial neural networks, robotics. 1. INTRODUCTION. The projects Leto and Promethe aim at facilitating the de- velopment of ...

Sensor Data Cryptography in Wireless Sensor Networks - IEEE Xplore
IEEE TRANSACTIONS ON INFORMATION FORENSICS AND SECURITY, VOL. 3, NO. 2, JUNE 2008. 273. Sensor Data Cryptography in. Wireless Sensor ...

The Next Generation of Sensor Node in Wireless Sensor Networks
good choice for a battery-limited device likes sensor node. This paper ... Index Terms—Wireless sensor network, Dynamic Partial Reconfigurable, FPGA.

Real-time Tracking for Sensor Networks via SDP and ...
May 26, 2008 - We will use a new proposed further relax- ation of SDP approach[7] to solve the first stage localization problem, and use gradient method.

Sensor placement in sensor and actuator networks
sor placement in wireless sensor and actuator networks (WSAN). One or more ..... This scheme has obvious advantage over the algorithms in [MXD+07] in mes-.

Real-time Tracking for Sensor Networks via SDP and ...
ally given dynamic data concerning the Euclid- ean distance between the sensors. Usually the distance is known between two sensors if they are close enough. During the tracking process, the set of the pairs of sensors whose distance are known may cha

Robust Location Detection in Emergency Sensor Networks
that generalizes the basic ID-CODE algorithm and produces irreducible r-robust codes. The degree of robustness, r, is a design parameter that can be traded off ...

Navigation Protocols in Sensor Networks
We wish to create more versatile information systems by using adaptive distributed ... VA 23187-8795; email: [email protected]; D. Rus, Computer Science and .... on a small set of nodes initially configured as beacons to estimate node loca-.

Sentry Selection in Sensor Networks
Sensor Nodes have limited power resources. – The peak ... The typical power consumption of a sleeping node is about 3 orders of magnitude smaller than for a ... divided. The problem in a very general form can be stated as follows: For some maximum

Outlier Detection in Sensor Networks
Keywords. Data Mining, Histogram, Outlier Detection, Wireless Sensor. Networks. 1. INTRODUCTION. Sensor networks will be deployed in buildings, cars, and ... republish, to post on servers or to redistribute to lists, requires prior specific permissio

SROS: Sensor-Based Real-Time Observing System for ... - IEEE Xplore
field ecological data transportation and visualization. The system is currently used for observation by ecological research scientists at the Institute of Geographic ...

Toward Reliable Actor Services in Wireless Sensor and Actor Networks
I. INTRODUCTION. Wireless sensor networks (WSNs) are an integral part of the ... data sink and requesting for firefighting service; one or a few actors are then ...

Global Clock Synchronization in Sensor Networks - Computer Science
Dartmouth College. Hanover, NH 03755. Email: [email protected] .... The solution targets an ad hoc network in which two nodes may be out of range and ...

Energy-Aware Path Selection in Mobile Wireless Sensor Networks: A ...
Energy-Aware Path Selection in Mobile Wireless Sensor .... Next, we illustrate the credit-based approach: a node is ... R is considered as a virtual credit of.

cooperative target tracking in vehicular sensor networks - IEEE Xplore
This subject has been studied in fields such as airborne traffic, computer vision, and wireless sensor networks. A VANET brings out new challenges that should ...

Maximum Energy Welfare Routing in Wireless Sensor Networks
In many sensor network applications, the events have ... network. Consequently, the design of the routing algorithm for sensor ..... Review, 67(2), 29-41 (1977).

Privacy-aware routing in sensor networks
Feb 13, 2009 - regarding Elsevier's archiving and manuscript policies are encouraged to visit: .... solutions by manipulating the message contents. The ap-.

Wakeup Scheduling in Wireless Sensor Networks
May 25, 2006 - is 20% longer (8 additional months) than 39.2 months of the two-ladders pattern. This pattern is the most complex one, but also it is the most ...

Sink Mobility in Wireless Sensor Networks
data sink deplete their battery power faster than those far apart due to their heavy overhead of ..... Sensors have limited storage space. They can only .... speed. Rendezvous-based data collection is proposed to achieve trade off of en- ..... Holdin

Energy-Aware Distributed Tracking in Wireless Sensor Networks
In wireless sensor network (WSN) applications, a common .... Said formulation uses ..... in a power constrained sensor network,” in Vehicular Technology Con-.

Connectivity-based Skeleton Extraction in Wireless Sensor Networks
boundary of the sensor network to identify the skeleton points, then generating the skeleton arcs, connecting these arcs, and ..... boundary partition with skeleton graph generation. As .... into skeleton arcs which will be described in next section.

Global Clock Synchronization in Sensor Networks - Computer Science
... in a distributed system. Papers on synchronization in sensor networks include [6], [5], ... of our diffusion-based algorithm is to use local operations to achieve global ..... In a zone scheme, we can use the same method as Alg. 1 to first design

Location service in sensor and mobile actuator networks
networks, as long as designated actuator is available. • Load balancing: It generates balanced load among network nodes with no storage or communication ...