ppt-acoustic monitoring usingwireless sensor etworks

Upload: hamadaxx2000

Post on 07-Jul-2018

225 views

Category:

Documents


0 download

TRANSCRIPT

  • 8/18/2019 PPT-Acoustic Monitoring UsingWireless Sensor Etworks

    1/41

     Acoustic Monitoring usingWireless Sensor Networks

    Farhan Imtiaz

    Presented by:

    Seminar in Distributed Computing3/15/2010 1

  • 8/18/2019 PPT-Acoustic Monitoring UsingWireless Sensor Etworks

    2/41

    2

    Wireless Sensor Networks

    Wireless sensor network (WSN) is a wireless network

    consisting of spatially distributed autonomous devices

    using sensors to cooperatively monitor physical or  

    environmental conditions, such as temperature, sound,

    vibration, pressure, motion or pollutants, at different

    locations (Wikipedia).

    3/15/2010Seminar in Distributed Computing

  • 8/18/2019 PPT-Acoustic Monitoring UsingWireless Sensor Etworks

    3/41

    3

    Wireless Sensor Networks

    3/15/2010Seminar in Distributed Computing

  • 8/18/2019 PPT-Acoustic Monitoring UsingWireless Sensor Etworks

    4/41

    4

    What is acoustic source localisation?

    Estimate distance or angle to acoustic

    source at distributed points (array)

    Calculate intersection of distances or

    crossing of angles

    Given a set of acoustic sensors at known

    positions and an acoustic source whose

    position is unknown, estimate its location

    3/15/2010Seminar in Distributed Computing

  • 8/18/2019 PPT-Acoustic Monitoring UsingWireless Sensor Etworks

    5/41

     Applications

    Gunshot Localization

     Acoustic Intrusion Detection

    Biological Acoustic Studies

    Person Tracking

    Speaker Localization

    Smart Conference Rooms

     And many more

    53/15/2010Seminar in Distributed Computing

  • 8/18/2019 PPT-Acoustic Monitoring UsingWireless Sensor Etworks

    6/41

    6

    Challenges

     Acoustic sensing requires high sample rates Cannot simply sense and send Implies on-node, in-network processing Indicative of generic high data rate applications

     A real-life application, with real motivation Real life brings deployment and evaluation problems

    which must be resolved

    3/15/2010Seminar in Distributed Computing

  • 8/18/2019 PPT-Acoustic Monitoring UsingWireless Sensor Etworks

    7/41

     Acoustic Monitoring using VoxNet

    VoxNet is a complete hardware and software platform for

    distributing acoustic monitoring applications.

    3/15/2010 7Seminar in Distributed Computing

  • 8/18/2019 PPT-Acoustic Monitoring UsingWireless Sensor Etworks

    8/41

    8

    VoxNet architecture

    In-field PDA

    Gateway

    Mesh Network of Deployed Nodes

    On-line operation Off-line operation and storage

    Compute Server 

    Storage Server 

    Internet or 

    Sneakernet

    Control Console

    3/15/2010Seminar in Distributed Computing

  • 8/18/2019 PPT-Acoustic Monitoring UsingWireless Sensor Etworks

    9/419

    Programming VoxNet

    Programming language: Wavescript High level, stream-oriented macroprogramming

    language

    Operates on stored OR streaming data

    User decides where processing occurs (node, sink)

    Explicit, not automated processing partitioning

    Source

    Source

    Source

    Endpoint

    3/15/2010Seminar in Distributed Computing

  • 8/18/2019 PPT-Acoustic Monitoring UsingWireless Sensor Etworks

    10/4110

    VoxNet on-line usage model

    Write

    program

    Node-side part

    Sink-side part

    Run program

    Optimizing

    compiler 

    Disseminate

    to nodes

    // acquire data from source, assign to fourstreams(ch1, ch2 ch 3, ch4) = VoxNetAudio (44100)

    // calculate energyfreq = fft(hanning(rewindow(ch1, 32)))

    bpfil tered = bandpass(freq, 2500, 4500)

    energy = calcEnergy(bpfiltered)

    Development cycle

    happens in-field,

    interactively

    3/15/2010Seminar in Distributed Computing

  • 8/18/2019 PPT-Acoustic Monitoring UsingWireless Sensor Etworks

    11/4111

    Hand-coded C vs. Wavescript

    30% less CPU

    Extra resources mean that data can be

    archived to disk as well as processed (‘spill to

    disk’, where local stream is pushed to storage

    co-processor)

    EVENT DETECTOR

    DATA ACQUISITION

    ‘SPILL TO DISK’

    C

    WS = Wavescript3/15/2010

    C

    Seminar in Distributed Computing

  • 8/18/2019 PPT-Acoustic Monitoring UsingWireless Sensor Etworks

    12/41

    In-situ Application test

    One-hop network-> extended size antenna on the gateway

    Multi-hop network -> standard size antenna on the gateway

    123/15/2010Seminar in Distributed Computing

  • 8/18/2019 PPT-Acoustic Monitoring UsingWireless Sensor Etworks

    13/4113

    Detection data transfer latency for one-hop

    network

    3/15/2010Seminar in Distributed Computing

  • 8/18/2019 PPT-Acoustic Monitoring UsingWireless Sensor Etworks

    14/4114

    Detection data transfer latency for multi-hop

    network

    Network latency will become a problem if

    scientist wants results in

  • 8/18/2019 PPT-Acoustic Monitoring UsingWireless Sensor Etworks

    15/41

    General Operating Performance

    To examine regular application performance -> run

    application for 2 hours 683 events by mermot vocalization 5 out of 683 detections dropped(99.3% success rate) Failure due to overflow of 512K network buffer 

    Deployment during rain storm Over 436 seconds -> 2894 false detections

    Successful transmission -> 10% of data generated Ability to deal with overloading in a graceful manner

    153/15/2010Seminar in Distributed Computing

  • 8/18/2019 PPT-Acoustic Monitoring UsingWireless Sensor Etworks

    16/4116

    Local vs. sink processing trade-off 

    Data PROCESSING TIME

    NETWORK LATENCY

    Send raw data, process at sink Process locally, send 800B

    Data processing

     As hops from sink increases, benefit of

    processing Data locally is clearly seen

    3/15/2010Seminar in Distributed Computing

  • 8/18/2019 PPT-Acoustic Monitoring UsingWireless Sensor Etworks

    17/41

    Motivation for Reliable Bulk data Transport

    Protocol

    Sourcesink

    Power Efficiency Interference Bulky Data

    3/15/2010 17Seminar in Distributed Computing

  • 8/18/2019 PPT-Acoustic Monitoring UsingWireless Sensor Etworks

    18/41

    Goals of Flush

    Reliable delivery

    End-to-End NACK

    Minimize transfer time

    Dynamic Rate Control Algo.

    Take care of Rate miss-match

    Snooping mechanism

    3/15/2010 18Seminar in Distributed Computing

  • 8/18/2019 PPT-Acoustic Monitoring UsingWireless Sensor Etworks

    19/41

    Challenges

     A B C

    Intra-path interference

     A

    C

    B

    D

    Interpath interference

    Links – Lossy Interference

    Interpath (more flows) Intra-path (same flow)

    Overflow of queue of intermediate nodes

    3/15/2010 19Seminar in Distributed Computing

  • 8/18/2019 PPT-Acoustic Monitoring UsingWireless Sensor Etworks

    20/41

     Assumptions

    Isolation The sink schedule is implemented

    so inter-path interference is not

    present. Slot mechanism.

    Snooping

     Acknowledgements Link layer ack. are efficient

    Forward routing Routing mechanism is efficient

    Reverse Delivery For End-to-End acknowledgements.

    31 42 86 0975

    3/15/2010 20Seminar in Distributed Computing

  • 8/18/2019 PPT-Acoustic Monitoring UsingWireless Sensor Etworks

    21/41

    How it works

    Red – Sink (receiver)

    Blue – Source (sensor)

    4 Phases1. Topology query2. Data transfer 3.  Acknowledgement

    4. Integrity check

    Request the data

    Sends the data as reply

    Sends the packets not receivedcorrectly.

    Sends selective negative ack. if

    some packet is not received

    correctly

    3/15/2010 21Seminar in Distributed Computing

  • 8/18/2019 PPT-Acoustic Monitoring UsingWireless Sensor Etworks

    22/41

    Reliability

    1 2 4 5 9

    1 2 3 4 5 6 7 8 9

    1 2 3 4 5 6 7 8 9

    1 2 3 4 5 6 7 8 9

    1 2 3 4 5 6 7 8 9

    1 2 3 5 6 7 8

    2 4 5

    4 9

    2, 4, 5

    4, 9

    4, 9

    3 6 7 8

    4 9

    Source Sink

    3/15/2010 22Seminar in Distributed Computing

  • 8/18/2019 PPT-Acoustic Monitoring UsingWireless Sensor Etworks

    23/41

    Rate control: Conceptual Model Assumptions

    Nodes can send exactly one packet per time slot

    Nodes can not send and receive at same time

    Nodes can only send and receive packets from nodes one

    hop away Variable range of Interference I may exist

    3/15/2010 23Seminar in Distributed Computing

  • 8/18/2019 PPT-Acoustic Monitoring UsingWireless Sensor Etworks

    24/41

    Rate control: Conceptual Model

    3/15/2010 24

    Node 1 Base- Station

    For N = 1

    Rate = 1

    Interference

    Packet

    Transmission

    Seminar in Distributed Computing

  • 8/18/2019 PPT-Acoustic Monitoring UsingWireless Sensor Etworks

    25/41

    Rate control: Conceptual Model

    3/15/2010 25

    Node 1 Base- Station

    For N = 2

    Rate = 1/2

    Interference

    Packet

    Transmission

    Node 2

    Seminar in Distributed Computing

  • 8/18/2019 PPT-Acoustic Monitoring UsingWireless Sensor Etworks

    26/41

    Rate control: Conceptual Model

    3/15/2010 26

    Node 1 Base- Station

    For N >= 3 Interference = 1

    Rate = 1/3

    Interference

    Packet

    Transmission

    Node 2Node 3

    Seminar in Distributed Computing

  • 8/18/2019 PPT-Acoustic Monitoring UsingWireless Sensor Etworks

    27/41

    Rate control: Conceptual Model

    )2,min(1),(

     I  N  I  N r 

    +=

    3/15/2010 27Seminar in Distributed Computing

  • 8/18/2019 PPT-Acoustic Monitoring UsingWireless Sensor Etworks

    28/41

    Dynamic Rate Control

    Rule – 1

     A node should only

    transmit when its

    successor is free from

    interference.

    Rule – 2

     A node’s sending rate

    cannot exceed the

    sending rate of its

    successor.

    3/15/2010 28Seminar in Distributed Computing

  • 8/18/2019 PPT-Acoustic Monitoring UsingWireless Sensor Etworks

    29/41

    Dynamic rate Control (cont…)

    5678778788   δ δ δ δ δ δ δ    +++=++=+=   f  H d    Di= max(d

    i, D

    i-1)

    3/15/2010 29Seminar in Distributed Computing

  • 8/18/2019 PPT-Acoustic Monitoring UsingWireless Sensor Etworks

    30/41

    Performance Comparison

    • Fixed-rate Algorithm: In such an algorithm data is sent after

    a fixed interval.

    •  ASAP(As soon as Possible): It’s a naïve transfer algorithm

    that sends a packet as soon as last packet transmission isdone.

    3/15/2010 30Seminar in Distributed Computing

  • 8/18/2019 PPT-Acoustic Monitoring UsingWireless Sensor Etworks

    31/41

    Preliminary experiment

    3/15/2010

    Because of queueoverflow

    Throughputwith different

    data collectionperiods.

    Observation

    There istradeoff

    between the

    throughputachieved to theperiod at whichthe data is sent.

    Montag, 15. März 2010 31Seminar in Distributed Computing

  • 8/18/2019 PPT-Acoustic Monitoring UsingWireless Sensor Etworks

    32/41

    Flush Vs Best Fixed Rate

    Because of protocol

    overhead

    The delivery of the packet is better then fixed rate, but because of the protocol

    overhead some times the byte throughput suffers.

    3/15/2010 32Seminar in Distributed Computing

  • 8/18/2019 PPT-Acoustic Monitoring UsingWireless Sensor Etworks

    33/41

    Reliabili ty check

    Hop – 6th

    62 %77 %

    95 %

    99.5 %

    47 %

    3/15/2010 33Seminar in Distributed Computing

  • 8/18/2019 PPT-Acoustic Monitoring UsingWireless Sensor Etworks

    34/41

    Timing of phases

    3/15/2010 34Seminar in Distributed Computing

  • 8/18/2019 PPT-Acoustic Monitoring UsingWireless Sensor Etworks

    35/41

    Transfer Phase Byte Throughput

    Transfer phase byte

    throughput. Flush

    results

    take into account

    the extra 3-byterate control

    Header. Flush

    achieves a good

    fraction of the

    throughput of

    “ASAP”, with a 65%

    lower loss rate.

    3/15/2010 35Seminar in Distributed Computing

  • 8/18/2019 PPT-Acoustic Monitoring UsingWireless Sensor Etworks

    36/41

    Transfer Phase Packet Throughput

    Transfer phase

    packet

    throughput.

    Flush provides

    comparable

    throughput

    with a lower

    loss rate.

    3/15/2010 36Seminar in Distributed Computing

  • 8/18/2019 PPT-Acoustic Monitoring UsingWireless Sensor Etworks

    37/41

    Real world Experiment

    3/15/2010

    Real world

    experiment

    79 nodes

    48 Hops

    3 Bytes

    Flush

    Header 

    35 Bytes

    payload

    373/15/2010Seminar in Distributed Computing

  • 8/18/2019 PPT-Acoustic Monitoring UsingWireless Sensor Etworks

    38/41

    Evaluation – Memory and code footprint

    3/15/2010

    383/15/2010Seminar in Distributed Computing

  • 8/18/2019 PPT-Acoustic Monitoring UsingWireless Sensor Etworks

    39/41

    Conclusion

    • VoxNet is easy to deploy and flexible to be used in different

    applications.

    • The usage of rate based algorithms are better than the

    window based algorithms.• Flush is one of the good algorithms when the nodes are

    somewhat in chain topology

    3/15/2010 39Seminar in Distributed Computing

  • 8/18/2019 PPT-Acoustic Monitoring UsingWireless Sensor Etworks

    40/41

    Refrences

    • VoxNet: An Interactive Rapidly Deployable Acoustic

    Monitoring Protocol By• Michel Allen Cogent Computing ARC Coventry University

    • Lewis Girod, Ryan Newton, Samuel Madden, MIT/CSAIL

    • Daniel Blumstein, Deborah Estrin, CENS, UCLA

    • Flush: A Reliable Bulk Transport Protocol for Multihop

    Wireless Networks By• Sakun Kim, Rodrigo Fonsecca, Prabal Dutta, Arsalan Tavakoli, David

    Culler, Philip Levis, Computer Science Division, UC Berkeley• Scott Shenker, ICSI 1947 Center Street Berkeley, CA 94704

    • Ion Stoica, Computer Systems Lab, Satnford University

    3/15/2010 40Seminar in Distributed Computing

  • 8/18/2019 PPT-Acoustic Monitoring UsingWireless Sensor Etworks

    41/41

    Questions?