• Aucun résultat trouvé

Available Devices

N/A
N/A
Protected

Academic year: 2022

Partager "Available Devices"

Copied!
74
0
0

Texte intégral

(1)

Architecture

(2)

Sensor Node Architecture

Battery

DC-DC

Sensor

ADC MCU

Memory

Radio

(3)

Available Devices

MicaZ (Crossbow)

2.94 GHz IEEE 802.15.4 Zigbee radio

128 KB program memory

512 KB data memory

8 mA draw

(4)

Available Devices

Tmote Sky/invent (Moteiv)

2.94 GHz IEEE 802.15.4 Zigbee radio

8MHz processor

10 KB RAM

48 KB Flash

(5)

Available Devices

Stargate (Crossbow)

Wired Ethernet

Wifi/Cellular via PCMCIA

INTEL PXA 255

Linux Kernel

Environmental Monitoring Application Note

Data Interval

(minutes) Average MICA2 or MICA2DOT Current

(µA)

1 677

3 315

6 196

The XMesh network has been extensively tested both at indoor and outdoor locations. In a typical indoor test, nodes were placed at every 300 sq ft. to cover a 10,000 sq ft facility. To simulate larger distance between nodes, the radio transmit power was turned down to -6dBm. In outdoor tests nodes were spread across several acres of rugged terrain with an average density of 1 mote per 10,000 sq ft and at full radio power. Statistical analysis across many deployments shows on average greater than 90% of all traffic generated at any node will be collected at the base station without the use of end-end acknowledgements.

Stargate Base Station

Figure 4. Stargate gateway as a base station

The Crossbow Stargate gateway and microserver is an embedded Linux computer designed to be the primary access point for wireless sensor networks. The Stargate’s small form factor, reliability, and optional communication interfaces makes it ideal for remote, environmental monitoring. A base station mote (MICA2) is connected to the 51-pin connector on the Stargate.

A resident program, XListen, takes an input stream of wireless sensor data from the base station mote and stores it in a local Postgres database.

The Crossbow Stagate can be connected to a wide-area or back-haul network in one of the following ways:

! Wired Ethernet connection

! WiFi, using a Compact Flash card (Netgear MA701, AmbicomWL1100C-CF, etc.)

! Long Range WiFi using PCMCIA card (ZComax or SMC Wireless SMC2532W-B).

! Cell phone modem card (Sierra Wireless Aircard 555D) for remote cellular access.

Page 7

(6)

Sensors

Exterioceptors: information about the surroundings

Proprioceptors: information about the internal workings

(7)

Sensors

Measurand Transduction

Physical Pressure

Piezoresistive, capacitive

Temperature

Thermistor, thermomechanical,

thermocouple

Humidity

Resistive, capacitive

Flow

Pressure change, thermistor

(8)

Sensors

Measurand Transduction

Motion Position

E-mag, GPS, contact

Velocity

Doppler, Hall effect, optoelectronic

Angular velocity Optical encoder

Acceleration

Piezoresistive, piezoelectric, optical fiber

(9)

Sensors

Measurand Transduction

Contact Strain

Piezoresistive

Force

Piezoelectric, piezoresistive

Torque

Piezoresistive, optoelectronic

Vibration

Piezoresistive, piezoelectric, optical fiber, sound,

ultrasound

(10)

Sensors

Measurand Transduction

Presence Tactile

Contact switch, capacitive

Proximity

Hall effect, capacitive, magnetic, seismic, acoustic,

RF

Distance

E-mag (sonar, radar, lidar), magnetic, tunelling

Motion

E-mag, IR, acoustic, seismic

(11)

Sensors

Measurand Transduction

Biochemical Agents

biochemical transduction

Identification Personal

features

Vision

Personal ID

Fingerprints, retinal scan, voice, heat plume, vision,

motion analysis

(12)

Sensor Node

Operating System

TinyOS concepts

Scheduler + Graph of components

Component

Constrained storage model

Very Lean multithreading

Efficient Layering

(13)

TinyOS Component

Commands

Events

Task State

Provides

Uses

(14)

TinyOS Application

Route Map Router Sensor Application

Active Messages

Radio Packet

Serial

Packet Temp Photo

Radio Byte

UART ADC Clock

RFM

Application

Packet Byte Bit

(15)

Programming TinyOS

TinyOS is written in NesC

Applications are written as system components

Syntax for concurrency and storage model

Compositional support

Separation of definition and linkage

(16)

Simulating TinyOS

Target platform: TOSSIM

Native instruction set

Event driven execution mapped to event drivent simulator

Storage model mapped to virtual nodes

Radio and environmental models

(17)

Overview

(18)

Issues and Solutions

Localization

Routing

Medium Access Control

Applications

(19)

Localization

(20)

Localization

Fine-grained

Timing

Signal strength

Signal pattern matching

Directionality

Coarse-grained

(21)

Triangulation

A B

C

distance

a b

distance

(22)

Trilateration

r1 r2

r3

d j

i

r12 = x2 + y2 + z2

r32 = (x i)2 + (y j)2 + z2 r22 = (x d)2 + y2 + z2 x = r12 r22 + d2

2d y = r12 r32 + (x i)2

2j + j

2 + x2 2j z =

r12 x2 y2

(23)

Centroid

(Xest, Yest) = (X1 + X2 + X3

3 , Y1 + Y2 + Y3

3 )

(24)

Without common

coordinate system

(25)

Without common coordinate system

NP-difficult problem for graphs [Saxe 79]

Also true in our context!

(26)

Proof

Let X={x1,x2,x3,...,xn}

Does there exist a unique partition {A,B}

such that Sum(a in A) = Sum(b in B)

(27)

An ambiguous exemple

{3,4,5} {1,2,9}

{1,2,4,5} {3,9} r 1

r2

r3 r

4 r

6

r5

r3 r2

1 r r4 r 0

r5

r6

r0

(28)

Routing

(29)

Routing

Classical flooding

Implosion

Resource management

Negociation based protocols

SPIN

Directed Diffusion

(30)

Negociation Based Protocols

SPIN: Sensor Protocols for Information via Negociation

Information descriptors for negociation prior to data transmission

Negociation relates to available energy

(31)

SPIN

ADV: advertize that new data is available and described

REQ: request to receive data

DATA: actual data

(32)

SPIN-PP

S R

ADV

REQ

DATA

(33)

SPIN-EC

S R

ADV

REQ

DATA

(34)

SPIN-EC

S R

ADV

R

(35)

SPIN-BC

S

R

R R

ADV

ADV

ADV

REQ REQ

DATA

DATA DATA

(36)

Directed Diffusion

Destination-initiated (sink) reactive routing technique

Tasks are described by attribute-value pairs (interests)

All nodes maintain interest cache for each requested interest

(37)

Interests

item name value

type four-legged animal

interval 20 ms

duration 10 s

rect [-100, 100, 200, 400]

(38)

Returned Data

item name value

type four-legged animal instance [125, 220]

intensity 0.6

confidence 0.85

timestamp 01:20:40

(39)

Directed Diffusion

S N

N

N

N N

N

(40)

Interest Cache

Periodically purged

No information about sink

Gradient table

rate per neighbor

timestamp

expiration

(41)

Interest Forwarding

When new received, add to cache

Simplest policy: rebroadcast interest

No way of distinguishing new interests from repeated ones

Set up (very low rate) gradients between all neighbors

Must distinguish between neighbors

(42)

Message propagation

A node matching an interest generates replies at desired rate

When receiving a reply, lookup interest cache

Forward along given route(s) if found, drop otherwise

Loop prevention

(43)

Directed Diffusion

S E

N

N

N N

N

Reinforcement request

(44)

Reinforcement

Sink can reissue the same request with a higher rate

“Draw down” higher quality data from a particular neighbor

Other nodes react when receiving

“Outflow” increased, must reinforce another node to increase “inflow”

(45)

Directed Diffusion

S E

N

N

N S

N

(46)

Directed Diffusion

S E

N

E

N N

N

(47)

Directed Diffusion

S E

N

N

N N

N

(48)

Directed Diffusion

Local algorithm policies

Propagating interests

flood, cache information, GPS

Setting up gradients

first heard neighbor, highest energy neighbor

(49)

Directed Diffusion

Local algorithm policies

Data transmission

single path, striped multi-path, multiple sources, etc.

Reinforcement

observer losses, resources levels, etc.

(50)

Energy Aware Routing

Similar to Directed Diffusion

destination initiated

initial flooding to discover routes

several sub-optimal paths can be used (with a probabilistic distribution)

(51)

Energy Aware Routing

S E

N

N

N N

N

0.3 0.3 0.4

1 1

1

1

1

(52)

Medium Access

Control

(53)

Classical Approaches

FDMA: Frequency division multiple access

TDMA: Time division multiple access

CDMA: Code division multiple access

CSMA: Carrier sense multiple access

CD: Collision detection

CA: Collision avoidance

One frequency available

One code available

Can’t listen while transmitting

(54)

Hidden Terminal problem

S1 R S2

(55)

Exposed Terminal Problem

R1 S1 S2 R2

(56)

IEEE 802.11 RTS/CTS

S R

ADV

REQ

DATA

RTS

CTS

(57)

IEEE 802.11 RTS/CTS

S1 R S2

(58)

IEEE 802.11 RTS/CTS

R1 S1 S2 R2

(59)

Duty Cycling

Reduces idle listening time

Sensors switch between sleep and active mode

Suits low traffic networks

If data rate is very low, it is not necessary to keep sensors listening all the time

Energy can be saved by turning off sensors

(60)

Duty Cycling

Sleeping Listening 1 second

Data sampling

Extra Latency

(61)

Duty Cycling

Sleeping Listening

Sleeping Listening

A

B

Message Sending Extra Latency

(62)

Duty Cycling

Sleeping Listening

Sleeping Listening

A

B

Sleeping Listening

Listening Sleeping

(63)

Duty Cycling

Sleeping Listening

A

Sleeping Listening

Sleeping Listening

B

Sleeping Listening

long period

(duty period * #of hops)

(64)

Time Synchronization

(65)

Time synchronization

Definition: providing a common time scale for local clocks of nodes in the

network

Stamp event, duration between events, order events

No global clock of shared memory

(66)

Time Synchronization

C p (t) = a p t + d p a p : clock frequency

d p : offset

(67)

Remote Clock Reading

B

A T0 T1

TB

T

B

(T

1

) = T

B

+ T

1

− T

0

2

(68)

Time Transmission

B

A

T1

T1 T2

T2

Tn

Tn R1 R2 Rn

TB(Rn) = Rn

1 n

n

i=1

Ri 1 n

n

i=1

Ti

+ d

(69)

Offset Delay Estimation

B

A T0

T0

T1 T2

T3

T0, T1, T2

= (T1 T0) (T3 T2)

2 d = (T1 T0) + (T3 T2) 2

Drift Offset

(70)

Set Valued Estimation

B

A T0

TB

Tr

C

A

(t) = a

AB

C

B

(t) + d

AB

T0 < aABTB + dAB Tr > aABTB + dAB

(71)

Set Valued Estimation

T01 Tr1 dAB

dAB dAB

CA(t)

CB(t)

(72)

Time Synchronization

(73)

Conclusion

(74)

Sensor Networks

Driven by applications

Connexion between Computer Science and Biology, Environment, Rescue, etc.

Hard problems yet to be solved

Références

Documents relatifs

The first wireless repeater is connected to the central server using standard interfaces (for example, a virtual com-port over the USB interface). An exemplary network

The developed software tool also allows to build graphs that show the ratio of different types of communication by the number of objects using them in percentage terms (Figure

In this paper, building from (i) our proposed Enhanced Steepest Descent algorithm to solve positioning of nodes in a fully distributed fashion, (ii) the mechanism to evaluate

There is not a common vision of power and trust among the members of the net- work under study, what can show the different interests members have to be in this

Using quantitative methodology based on a survey sample made in 29 food companies that belong to a Brazilian food association, it was possible to statistically correlate

Our proposed algorithm, called D-LPCN (Distributed Least Polar-angle Connected Node) works without any restriction and transformation on the network, relies exclusively on the nodes

shock (400 km s 1 ). Moreover, it corresponds to a fluc- tuation in the stream interface between the slow solar wind and the fast one from a coronal hole. Interplanetary data and

Abstract book of SETAC Europe 21st annual meeting &#34;Ecosystem protection in a sustainable world : a challenge for science and regulation&#34;, 15-19 may 2011, Milan, Italy,