The Princeton ZebraNet Project: Sensor Networks for Wildlife - - PowerPoint PPT Presentation

the princeton zebranet project sensor networks for
SMART_READER_LITE
LIVE PREVIEW

The Princeton ZebraNet Project: Sensor Networks for Wildlife - - PowerPoint PPT Presentation

The Princeton ZebraNet Project: Sensor Networks for Wildlife Tracking Margaret Martonosi VET NOV TES TAM EN TVM Dept. of Electrical Engineering Princeton University ZebraNet as Biology Research Goal: Biologists want to track animals


slide-1
SLIDE 1

The Princeton ZebraNet Project: Sensor Networks for Wildlife Tracking

Margaret Martonosi

  • Dept. of Electrical Engineering

Princeton University

VET TES EN NOV TAM TVM

slide-2
SLIDE 2

ZebraNet as Biology Research

Goal: Biologists want to track

animals long-term, over long distances – Interactions within a species? – Interactions between species? – Impact of human development?

Current technology is limited:

– VHF Triangulation is difficult & error- prone – GPS trackers limit data to coarse sampling and require collar retrieval

Overall, energy and info retrieval are key

limiters

Peer-to-peer offers opportunity to improve

slide-3
SLIDE 3

ZebraNet as Computing Research

Research Questions

Protocols and mobility? Energy-efficiency? Software layering design?

Data

Base station (car or plane)

Data Data

Store-and-forward communications

Data

Tracking node with CPU, FLASH, radio and GPS

ZebraNet vs. Other SensorNets

All sensing nodes are mobile Large area: 100’s-1000s sq.

kilometers

“Coarse-Grained” nodes GPS on-board Long-running and autonomous

slide-4
SLIDE 4

Biologist’s Wishlist ➨ ZebraNet Design

Design Issues:

Lightweight ➨ Energy-efficient Detailed 24/7 archival position

logs ➨ GPS-enabled

Mobile ➨ Wireless No fixed base station (no

cellular) ➨ Peer-to-peer routing and data storage

Restricted human access ➨ One

year of autonomous operation Research Questions

What are suitable protocols for

the expected mobility patterns?

How to model mobility well

enough to determine this?

Can systems of sufficient radio

range be designed to operate energy-efficiently enough?

How can one design software

layers that enable long-lived adaptable software and yet are also very energy-efficient?

slide-5
SLIDE 5

Talk Outline

Sensor Networks: Intro & Overview ZebraNet

– Problem statement and system overview – Protocols and mobility models – Impala middleware – Hardware details and energy issues

Broader view…

slide-6
SLIDE 6

Microcontroller

TI MSP430F149 16-bit RISC 2KB RAM, 60KB ROM 8MHz/32KHz dual clock

FLASH

ATMEL AT45DB041B 4Mbit 78 days data capacity

GPS

µ-blox GPS-MS1E 10-20s position fix time

Radio

MaxStream 902-928MHz 19.2Kbps, 0.5-1mile transmit range

Power supplies, solar modules, charging circuits

ZebraNet Hardware Design

312 mW 8MHz + radio rcv 780 mW 8MHz + radio xmit 568 mW 8MHz w/ GPS 19.32 mW 8MHz CPU 9.6 mW 32Khz CPU

Power Mode

slide-7
SLIDE 7

What data to track?

Current: – GPS Position sample every 3 minutes – Sun/Shade indication – Detailed information for 3 minutes every hour:

  • Detailed position sampling: standing still or moving? Speed?

“Step rate”

~256 bytes per hour 1 “collar-day of info” ~ 6KB ~170 collar-days in 8Mbit FLASH chip

Future: – Head up or down: “bite rate”, Ambient temperature, Body temperature, Heart rate, Low res digital images, … – Bit rate & storage needs could increase further…

slide-8
SLIDE 8

Basic System Operation

Tracking Node A A A Tracking Node B B B B B A A

slide-9
SLIDE 9

Daily/weekly; Car or Plane

Basic System Operation

Tracking Node C C C Tracking Node B B B A A B B A A C C Potentially much later and far from node A… C C B B A A

slide-10
SLIDE 10

Talk Outline

Sensor Networks: Intro & Overview ZebraNet

– Problem statement and system overview – Protocols and mobility models – Impala middleware – Hardware details and energy issues

Broader view…

slide-11
SLIDE 11

Zebra Lifestyles…

Harem: Long-term bond between 1 male and several

females + offspring

Herd: Looser coalition of several harems

➨ Track 30-50 samples from several harems + bachelors

M F F F F F F F M F F F F F F F M F F F F F F F M M M M M M

slide-12
SLIDE 12

Zebra Lifestyles II

Mostly: herbivores graze Sometimes: graze-walk

while looking for greener pastures.

Rare: run to/away from

something Water

“thirsty” ~once a day Model at random time Walk to nearest water After drink, resume ambient

motion GRAZING GRAZE-WALKING FAST MOVING

speedg speedgw speedfm Pout_fm Pout_gw Pin_gw Pin_fm

slide-13
SLIDE 13

Zebra Movement Speeds

From field data:

Grazing: 0.017m/s Graze-walking:

0.072 m/s

Fast: 0.155 m/s Turns ~ < 60°

2 4 6 8 10 12 14 16 18 1 3 5 7 9 1 1 1 3 1 5 1 7 1 9 2 1 2 3 2 5 2 7

net meters traveled in 3 minutes

slide-14
SLIDE 14

ZebraNet Protocol Evaluations: ZNetSim

Evaluated communications issues using ZNetSim

– coarse-grained mobile communication simulator using field observations for mobility model

For results here:

– 50 collars – Tracked across a 20km by 20km area – For one month – Discovery/Transfer for 30 minutes every 2 hours – Base station: daily drive-bys

Vary radio range to understand trends

slide-15
SLIDE 15

ZebraNet Protocols

Two peer-to-peer protocols evaluated here

– Flooding: Send to everyone found in peer discovery. – History-Based: After peer discovery, choose at most one peer to send to per discovery period: the one with best past history of delivering data to base.

Compared to “direct”: no peer-to-peer, just to base Success rate metric: Of all data produced in a

month, what fraction was delivered to the base station?

slide-16
SLIDE 16

Protocol Success Rate: Ideal

Radio range for

100% delivery: – No peer-to- peer: ~12km – With Peer-to- peer: ~6km

10 20 30 40 50 60 70 80 90 100 2 4 6 8 1 1 2 1 4

radio range (meters) %data to base

direct hist flood

slide-17
SLIDE 17

Protocol Success Rate: Constrained Bandwidth

10 20 30 40 50 60 70 80 90 100

2 4 6 8 1 1 2 1 4

radio range (meters) % data to base

direct hist flood

Short-range: Flooding best Long-range: History best. (Flooded data swamps limited bandwidth)

slide-18
SLIDE 18

Protocol Energy Dissipation

1 2 3 4 5 6 7 8 9

2 4 6 8 1 1 2 1 4

radio range (meters) normalized energy

flood history Energy normalized to “direct” protocol of same radio range. History tracks “direct” Flooding energy explodes

slide-19
SLIDE 19

Mobility & Protocol Summary

Radio range key to data

homing success: ~3-4km for 50 collars in 20kmx20km area

Success rate:

– Ideal: flooding best – Constrained bandwidth: history best

Energy trends make selective

protocols best

Mobility model key to

protocol evaluations – Fast random moves hurt history – Chicken and Egg: mobility model is the biology research goal

slide-20
SLIDE 20

Talk Outline

Sensor Networks: Intro & Overview ZebraNet

– Problem statement and system overview – Protocols and mobility models – Impala middleware – Hardware details and energy issues

Broader view…

slide-21
SLIDE 21

Impala: Middleware Support for Application/Protocol Modularity

Goals:

  • Adaptive application software
  • Remote software updates
  • Middleware adapts, updates

apps, protocols dynamically

  • New protocols can be plugged

in at any time Device Hardware Impala Applications

Adapt Update Updates via radio

C B B C A D

Impala Layer Monolithic Approach Layered Approach

A B D A B D

Individual Protocols Aggregate Protocol

slide-22
SLIDE 22

Terminate

Impala Architecture & Programming Model

Application A Application B Application C Application Updater Application Adapter Application D Send Done Event Filter Device Event Send Done Event Packet Event Timer Event Data Event Timer Data Packet Initialize Query

slide-23
SLIDE 23

Impala Middleware Layer

Radio GPS FLASH Timer CPU WDT

Access and Control to All Devices

Application 1 Application 2 Application 3 Application 4

GPS Data Event Radio Packet Event Timer Event Asynchronous Network Transmission Protected FLASH Access Application Timer Control GPS Data Event Handler Application Timer Event Handler Network Packet Event Handler Network Send Done Event Handler System Clock Time Read

Adapter Updater Network Support Operation Scheduler Event Filter

slide-24
SLIDE 24

D B

Impala Code Updates

  • High Node Mobility
  • Constrained Bandwidth
  • Wide Range of Updates
  • Incomplete Updates
  • Updates vs. Execution
  • Out of order Updates

ZebraNet Characteristics Design Implications Updater

Update

A C

Node

On a single sensor node Full network

slide-25
SLIDE 25

On-demand Software Transmission for Remote Software Update

Node A Node A Complete Version: 3.0 Incomplete Version: Node B Node B Complete Version: 1.0 Incomplete Version: 2.0, 3.0 I have Version 3.0 I have Version 1.0

Stage 1 Stage 1

Node A Complete Version: 3.0 Incomplete Version: Node B Complete Version: 1.0 Incomplete Version: 2.0 and 3.0

Stage 2

I want Module 5 from Version 3.0 Node A Complete Version: 3.0 Incomplete Version: Node B Complete Version: 3.0 Incomplete Version:

Stage 3

Module 5 from Version 3.0

Repeat as needed … Repeat interval backs off if frequent updates not needed

slide-26
SLIDE 26

Impala Implementations

  • Initially prototyped on HP/Compaq iPAQ Pocket

PC Handhelds – 206MHz CPU, 32MB flash RAM, 16MB flash ROM, running Linux

  • Now (as of 2 weeks ago!) also implemented on

ZebraNet hardware

slide-27
SLIDE 27

2000 4000 6000 8000 10000 12000 14000 Event Processing Time (us)

Event Processing Time Measurements

  • Impala events require less time than app events

except for receiving a code packet

Send peer msg Send data pkt App query&switch Send software info Send software req Send code pkt Receive code pkt Install update

Application Events Adaptation Event Update Events

slide-28
SLIDE 28

Wait for GPS Lock

Impala Screen Dumps

Look for peers in range Send data to discovered peer

slide-29
SLIDE 29

Impala Summary

  • To be energy-efficient & long-running, sensor

networks need to be modular, adaptable, repairable

  • Impala middleware

– Lightweight “OS” for sensor systems – Event handler & low-level services

  • Prototype implementations and simulations

demonstrate: – Low overhead – Efficient network reprogramming – Code updates

slide-30
SLIDE 30

Talk Outline

Sensor Networks: Intro & Overview ZebraNet

– Problem statement and system overview – Protocols and mobility models – Impala middleware – Hardware details and energy issues

Broader view…

slide-31
SLIDE 31

ZebraNet Hardware: Time-Lapse View…

Aug ‘02 Jan ‘03 Aug ‘03 Oct ‘03

slide-32
SLIDE 32

Low-Power Hardware Strategies

Lower-power parts

– <5mW processor – <500mW GPS

Shut-off or sleep mode for idle units

– Individual high-efficiency switching power supplies for radio, GPS – Low-Drop-Out regulator for micro-controller

Multiple clocks

– 8MHz for performance-critical tasks; 32kHz for rest

Software mode control to further reduce energy

slide-33
SLIDE 33

Talk Outline

Sensor Networks: Intro & Overview ZebraNet

– Problem statement and system overview – Protocols and mobility models – Software Layers and Abstractions: Impala – Hardware details and energy issues

Broader view…

slide-34
SLIDE 34

Other ongoing work…

CPU design for sensor processing

– Exploit unique application characteristics (highly- parallel, event-based, stream-oriented computation) to create high-perf, low-power computation model

Analytical approach to mobility models, protocol

design – Zebras vs. autos in NYC vs. military scenarios: Analysis techniques to automate sensible, protocol choices across range of mobilities

Timekeeping techniques to optimize routefinding &

route prefetch

slide-35
SLIDE 35

ZebraNet Accomplishments To Date

4 hardware prototyping versions Full middleware design (Impala):

networking, energy mgmt, remote software update

7-collar test deployment in January

2004 in central Kenya

Early fine-grained data on animal

movements \

For more info, see papers…

ASPLOS02, PPOPP03, Mobisys04

… and our webpage:

www.ee.princeton.edu/~mrm/zebranet.htm

slide-36
SLIDE 36

Summary

ZebraNet as Biology Research:

– Enabling technology for long-range migration research – Good view of key inter-species interactions

ZebraNet as Engineering Research:

– Early detailed look at mobile sensor net with mobile base stations – Demonstrates promise of large-extent, long-life sensor networks with GPS – Detailed look at power/energy concerns – Novel protocol, middleware, and hardware designs to support research goals

Sensor Networks Overall

– Unique characteristics and challenges: Energy- constraints, Mobility, Long-lived hardware/software

slide-37
SLIDE 37

The Princeton ZebraNet Project: Mobile Sensor Networks for Wildlife Tracking

Grads: Pei Zhang, Chris

Sadler, Ting Liu, Ilya Fischoff, Yong Wang, Philo Juang.

Profs: me, Dan

Rubenstein, Steve Lyon, Li-Shiuan Peh, Vince Poor.

Undergrads: Julie

Buechner, Chido Enyinna, Brad Hill, Kinari Patel, Karen Tang, Jeremy Wall

Departments of EE, CS,

and Biology at Princeton

Funded by NSR ITR since

9/2002

ZebraNet Folks at Mpala Research Centre, near Nanyuki, Kenya. January 2004.