Escolar Documentos
Profissional Documentos
Cultura Documentos
Introduction
WSNs : Applications
2)
3) 4)
WSNs : Architectures
5) 6) 7)
1) INTRODUCTION
Computational devices
Laptops or palmtops
Ambient Intelligence
Computation used to control physical processes Embedded systems (washing machine, a video player, or a cell phone...)
WSNS : APPLICATIONS
1) INTRODUCTION
Wireless Sensor Networks
Individual nodes Sensing or controlling physical parameters
WSNS : APPLICATIONS
1) INTRODUCTION
Wireless Sensor Networks
Facilitate many existing application areas and bring into existence entirely new ones For many physical parameters, appropriate sensor technology exists that can be integrated in a node of a WSN ( temperature, humidity, visual and infrared light, acoustic, vibration, pressure, chemical sensors, mechanical stress, magnetic sensors ) Actuators controlled by a node ( servo drive, electrical relay) Different kinds of applications can be constructed, with very different types of nodes, even of different kinds within one application.
WSNS : APPLICATIONS
2) APPLICATIONS
Disaster relief applications
Wildfire detection (thermometers and can determine their own location) Deployed over a wildfire from an airplane
WSNS : APPLICATIONS
2) APPLICATIONS
Environment control and biodiversity mapping
Respect to chemical pollutants ( garbage dump sites) Understanding of the number of animal species that live in a given
habitat
The main advantages of WSNs here are the long-term, unattended, wirefree operation of sensors close to the objects that have to be observed;
WSNS : APPLICATIONS
2) APPLICATIONS
Intelligent buildings
A better, real-time, high-resolution monitoring of temperature, airflow, humidity, and other physical parameters in a building by means of a WSN
can considerably increase the comfort level of inhabitants and reduce the
energy consumption In addition, such sensor nodes can be used to monitor mechanical stress
levels of buildings
The main advantage here is the collaborative mapping of physical parameters, lifetime requirements can be very high, the number of nodes,
WSNS : APPLICATIONS
2) APPLICATIONS
Machine surveillance and preventive maintenance
One idea is to fix sensor nodes to difficult to reach areas of machinery where they can detect vibration patterns that indicate the need for
WSNS : APPLICATIONS
2) APPLICATIONS
Precision agriculture
Applying WSN to agriculture allows precise irrigation and fertilizing by placing humidity/soil composition sensors into the fields. A relatively small
WSNS : APPLICATIONS
2) APPLICATIONS
Medicine and health care
the use of WSN in health care applications is a potentially very beneficial, sensors are directly attached to patients the advantage of doing away
WSNS : APPLICATIONS
2) APPLICATIONS
Logistics
it is conceivable to equip goods (individual parcels, for example) with simple sensors that allow a simple tracking of these objects during
warehouse; it can also not easily store information about the history of its
attached object questions like where has this parcel been? are interesting in many applications but require some active participation of the
sensor node
WSNS : APPLICATIONS
2) APPLICATIONS
Telematics
sensors embedded in the streets or roadsides can gather information about traffic conditions at a much finer grained resolution than what is
WSNS : APPLICATIONS
3) TYPES OF APPLICATIONS
Many of these applications share some basic characteristics.
In most of them, there is a clear difference between sources of data the actual nodes that sense data and sinks nodes where the data should be
delivered to.
Event detection
Sensor nodes should report to the sink(s) once they have detected the
WSNS : APPLICATIONS
3) TYPES OF APPLICATIONS
Periodic measurements
Sensors can be tasked with periodically reporting measured values; the reporting period is application dependent.
WSNS : APPLICATIONS
3) TYPES OF APPLICATIONS
Tracking
The source of an event can be mobile (e.g. an intruder in surveillance scenarios). The WSN can be used to report updates on the event sources
position to the sink(s), potentially with estimates about speed and direction
as well. To do so, typically sensor nodes have to cooperate before updates can be reported to the sink.
WSNS : APPLICATIONS
3) TYPES OF APPLICATIONS
Deployment options
They range from well-planned, fixed deployment of sensor nodes (e.g. in machinery maintenance applications) to random deployment by dropping a
phase, to positions such that their sensing tasks can be better fulfilled
WSNS : APPLICATIONS
3) TYPES OF APPLICATIONS
Maintenance options
Is it feasible and practical to perform maintenance on such sensors perhaps even required in the course of maintenance on associated
sensors have to function unattended, for a long time, with no possibility for
maintenance?
WSNS : APPLICATIONS
3) TYPES OF APPLICATIONS
Options for energy supply
In some applications, wired power supply is possible and the question is mute. For self-sustained sensor nodes, depending on the required mission
time, energy supply can be trivial (applications with a few days of usage
only) or a challenging research problem, especially when no maintenance is possible but nodes have to work for years. Obviously, acceptable price
and size per node play a crucial role in designing energy supply.
WSNS : APPLICATIONS
WSNS : APPLICATIONS
correctly.
WSNS : APPLICATIONS
energy) as the network lifetime. Other options include the time until the
network is disconnected in two or more partitions, the time until 50% (or some other fixed ratio) of nodes have failed, or the time when for the first
WSNS : APPLICATIONS
Even within a given application, density can vary over time and space
because nodes fail or move; the density also does not have to homogeneous in the entire network and the network should adapt to such
variations.
WSNS : APPLICATIONS
WSNS : APPLICATIONS
WSNS : APPLICATIONS
WSNS : APPLICATIONS
WSNS : APPLICATIONS
WSNS : APPLICATIONS
event and only the joint data of many sensors provides enough information.
Information is processed in the network itself in various forms to achieve this collaboration, as opposed to having every node transmit all data to an
WSNS : APPLICATIONS
actual sensing equipment, the identity of the particular node supplying data
becomes irrelevant. What is important are the answers and values themselves, not which node has provided them.
WSNS : ARCHITECTURES
5) HARDWARE COMPONENTS
Overview
When choosing the hardware components for a wireless sensor node, evidently the applications requirements play a decisive factor with regard
crucial.
WSNS : ARCHITECTURES
5) HARDWARE COMPONENTS
Overview
A basic sensor node comprises five main components
WSNS : ARCHITECTURES
5) HARDWARE COMPONENTS
Controller A controller to process all the relevant data, capable of
executing arbitrary code. Memory Some memory to store programs and intermediate data;
usually, different types of memory are used for programs and data.
Sensors and actuators The actual interface to the physical world: devices that can observe or control physical parameters of the environment.
WSNS : ARCHITECTURES
5) HARDWARE COMPONENTS
Communication Turning nodes into a network requires a device for
sending and receiving information over a wireless channel. Power supply As usually no tethered power supply is available, some
WSNS : ARCHITECTURES
5) HARDWARE COMPONENTS
Controller
The controller is the core of a wireless sensor node. It collects data from the sensors, processes this data, decides when and where to send it,
receives data from other sensor nodes, and decides on the actuators
behavior. It has to execute various programs, ranging from time-critical signal processing and communication protocols to application programs; it
WSNS : ARCHITECTURES
5) HARDWARE COMPONENTS
ATmega128L
Program Flash Memory Serial Communications Analog to Digital Converter Speed Grades
(8 mA / < 15 A)
53 In-System Programming
WSNS : ARCHITECTURES
5) HARDWARE COMPONENTS
Memory
There is a need for Random Access Memory (RAM) to store intermediate sensor readings, packets from other nodes, and so on. While RAM is fast,
WSNS : ARCHITECTURES
5) HARDWARE COMPONENTS
Atmel AT45DB041
WSNS : ARCHITECTURES
5) HARDWARE COMPONENTS
Communication device
The communication device is used to exchange data between individual nodes. Radio Frequency (RF)-based communication is by far the most
WSNS : ARCHITECTURES
5) HARDWARE COMPONENTS
RFM TR1000
Outdoor Range
Current Draw (MAX Power)
1000 ft
25 mA
WSNS : ARCHITECTURES
5) HARDWARE COMPONENTS
Sensors (three categories)
Passive, omni-directional sensors These sensors can measure a physical quantity at the point of the sensor node without actually
WSNS : ARCHITECTURES
5) HARDWARE COMPONENTS
Actuators
Actuators are just about as diverse as sensors, yet for the purposes of designing a WSN, they are a bit simpler to take account of: In principle, all
WSNS : ARCHITECTURES
5) HARDWARE COMPONENTS
Power supply
For un-tethered wireless sensor nodes, the power supply is a crucial system component. There are essentially two aspects: First, storing energy
WSNS : ARCHITECTURES
5) HARDWARE COMPONENTS
Energy consumption
The energy consumption of a sensor node must be tightly controlled. The main consumers of energy are the controller, the radio front ends, to
some degree the memory, and, depending on the type, the sensors.
To give an example, consider the energy consumed by a microcontroller per instruction.
WSNS : ARCHITECTURES
5) HARDWARE COMPONENTS
Energy consumption
The crucial observation for proper operation is that most of the time a wireless sensor node has nothing to do. Hence, it is best to turn it off.
models usually support different numbers of such sleep states with different
characteristics. For a controller, typical states are active, idle, and sleep; a radio could turn transmitter, receiver, or both on or off; sensors
WSNS : ARCHITECTURES
5) HARDWARE COMPONENTS
Energy consumption
ATmega 128L has six different modes of power consumption,
idle active power-down
6 mW
15 mW
75 W
Atmel AT45DB041
Reading Writing
1.111 nAh
83.333 nAh
0.5 J
0.5 J
WSNS : ARCHITECTURES
6) NETWORK ARCHITECTURE
Types of sources and sinks
There are essentially three options for a sink: it could belong to the sensor network as such and be just another sensor/actuator node
WSNS : ARCHITECTURES
6) NETWORK ARCHITECTURE
WSNS : ARCHITECTURES
6) NETWORK ARCHITECTURE
Single-hop versus multi-hop networks
From the basics of radio communication and the inherent power limitation of radio communication follows a limitation on the feasible
WSNS : ARCHITECTURES
6) NETWORK ARCHITECTURE
Multi-hop networks: As direct communication is impossible because of distance and/or obstacles, Multi-hop communication can circumvent the problem
WSNS : ARCHITECTURES
6) NETWORK ARCHITECTURE
Multiple sinks and sources
So far, only networks with a single source and a single sink have been illustrated. In many cases, there are multiple sources and/or multiple sinks
WSNS : ARCHITECTURES
6) NETWORK ARCHITECTURE
Multiple sources and/or multiple sinks. Note how in the scenario in the lower half, both sinks and active sources are used to forward data to the sinks at the left and right end of the network
WSNS : ARCHITECTURES
6) NETWORK ARCHITECTURE
Three types of mobility
Node mobility
The wireless sensor nodes themselves can be mobile. The meaning of
and speed of node movement on the one hand and the energy required to
maintain a desired level of functionality in the network on the other hand.
WSNS : ARCHITECTURES
6) NETWORK ARCHITECTURE
Three types of mobility
Sink mobility
The information sinks can be mobile. While this can be a special case of
node mobility, the important aspect is the mobility of an information sink that
is not part of the sensor network, for example, a human user requested information via a PDA while walking in an intelligent building.
WSNS : ARCHITECTURES
6) NETWORK ARCHITECTURE
A mobile sink moves through a sensor network as information is being retrieved on its behalf
WSNS : ARCHITECTURES
6) NETWORK ARCHITECTURE
Three types of mobility
Event mobility
In applications like event detection and in particular in tracking
WSNS : ARCHITECTURES
6) NETWORK ARCHITECTURE
Area of sensor nodes detecting an event an elephant that moves through the network along with the event source
WSNS : ARCHITECTURES
7) NETWORK DEPLOYMENT
Regular Topology
In this topology, each node has four nearest neighbors at fixed distance, denoted by rgrid. The distance rgrid depends on the node spatial density, and
follows that A = N r2grid, and therefore, the distance to the nearest neighbor
in a square grid topology can be written as, s is the spatial density of nodes.
WSNS : ARCHITECTURES
7) NETWORK DEPLOYMENT
Random Topology
For networks with random topology, we consider a scenario where nodes are randomly and uniformly distributed in a given area. In addition, it is
WSNS : ARCHITECTURES
7) NETWORK DEPLOYMENT
Disk Model Coverage
Probability of Sensing 0
rs Distance, x
The sensing range is assumed to be a uniform disk of radius rs. This model supposes that an event is deterministically detected only if it
phenomenon behaviors are not discrete as the disk model assumes. The
disk model coverage assumptions may lead to deploy a higher number of sensors than really needed, interferences between redundant nodes have
WSNS : ARCHITECTURES
7) NETWORK DEPLOYMENT
S1 S1
S1
ds ds
S2
ds
S2
The hole
ds
rs
Sensor model and coverage, (a) disk type sensor model, (b) 2 sensors (S1, S2), and (c) 3 sensors (S1, S2, S3), with coverage hole
S1
ds ds
S3
S2
S1
ds ds ds ds
S3
S2
ds
ds
S4
(a)
(b)
(c)
Optimal placement using disk packing problem, (a) 3 sensors (S1, S2, S3), without hole, (b) circle packing, and (c) 4 sensors (S1, S2, S3), ds is the distance between sensors
Probability of Sensing
WSNS : ARCHITECTURES
e-(x-rs)
7) NETWORK DEPLOYMENT
Probabilistic Model Coverage
rs
Distance, x
The probabilistic sensing model approach is more realistic than the deterministic model. An exponential sensing model could be assumed
where the sensing ability degrades after a certain threshold. Since the
environmental conditions have a stochastic distribution (e.g., temperature) it is more realistic to consider a probabilistic coverage model. This model
supposes that the sensing range is not a disk and the overlaps between
sensors are not clearly defined. Therefore, the minimization overlap approach is not suitable for this probabilistic model coverage.
WSNS : ARCHITECTURES
7) NETWORK DEPLOYMENT
Probabilistic Model Coverage
Example of sensing capacity of 3 sensors S1, S2, S3 using the exponential sensing model. S1, S2, S3 deployed at vertices of equilateral triangle. LCP least covered point at triangle center, rs = 15, = 0.1
WSNS : ARCHITECTURES
7) NETWORK DEPLOYMENT
Connectivity
A two dimensional WSN could be modeled as a random geometric graph G(n, f, rc). n corresponds to the number of vertices (nodes) distributed
WSNS : ARCHITECTURES
7) NETWORK DEPLOYMENT
Connectivity
WSNS : TINYOS
WSNS : TINYOS
CONCEPTS DE NESC
Unit de code de base = Composant
Composant
Excute des Commands Lance des Events
WSNS : TINYOS
COMPOSANTS
Deux types de composants
Module
Composant implment avec du code Configuration
WSNS : TINYOS
WSNS : TINYOS
RSUM
Application un ou plusieurs composants relis ensemble pour former
un excutable
Composant un lment de base pour former une application nesC. Deux types: modules et configurations
WSNS : TINYOS
INTERFACES
Une interface dfinie les interactions entre deux composants.
WSNS : TINYOS
WSNS : TINYOS
WSNS : TINYOS
WSNS : TINYOS
MODULES
module C1{ uses interface triangle; } implementation { ... } module C2{ provides interface triangle in; uses { interface triangle out; interface rectangle side; } } implementation { ... } module C3{ provides interface triangle; provides interface rectangle; } implementation { ... }
WSNS : TINYOS
CONFIGURATIONS
Dans nesC, deux composants sont relis ensemble en les connectant
(wiring)
Les interfaces du composant utilisateur sont relies (wired) aux mmes interfaces du composant fournisseur endpoint1 -> endpoint2 endpoint1 <-endpoint2 (equivalent: endpoint2 -> endpoint1)
WSNS : TINYOS
NESC
WIRING SYNTAX
WSNS : TINYOS
CONFIGURATIONS (ILLUSTRATION)
Connecter des configurations:
configuration app { }
implementation { uses c1, c2, c3; c1 -> c2; // implicit interface sel. c2.out -> c3.triangle; c3 <-c2.side;
WSNS : TINYOS
BLINK.NC CONFIGURATION
WSNS : TINYOS
BLINKM.NC MODULE
WSNS : TINYOS
BLINK
Nous allons muler l'excution de l'application Blink avec TOSSIM.
PROTOCOLS
Proactive routing protocols
Each node maintains global topology information in its table Reactive routing protocols
DSDV routing table consists of the destination, next hop, distance, and
sequence number information.
Destination
SN1 SN2 SN3 SN5 SN6 SN7 SN8
Next Hop
SN2 SN2 SN2 SN6 SN6 SN6 SN6
Distance
2 1 2 2 1 2 3
Seq. No
S128_SN1 S564_SN2 S710_SN3 S392_SN5 S076_SN6 S128_SN7 S050_SN8
called a gateway.
packet could take the same path as the RouteRequest packet toward the
source node and then the path could be established. DSR protocol do not use a periodic update messages, because path is established only when it is requested.
SN1
Source
SN6 SN7
RREP (5,1,{1,2,4,5})
Destination
SN5
RREP (5,1,{1,2,4,5})
SN2 SN8
SN1
Source
SN6 SN7
component object and can include also the setting of the output form
results. Graphical software called Network Animation (NAM) could be used in order to show the simulation result.
Analysis
NS Simulator Library Event Scheduler Objects Network Component Object Network Setup Helping Modules (Plumbing Modules)