System-level%20Modeling%20for%20Wireless%20Sensor%20Networks - PowerPoint PPT Presentation

About This Presentation
Title:

System-level%20Modeling%20for%20Wireless%20Sensor%20Networks

Description:

Developing a sensor network infrastructure for sow monitoring ... allocator. scheduler. Wireless. Network. t. 5. Jan Madsen. 21. SoC-MOBINET courseware ... – PowerPoint PPT presentation

Number of Views:64
Avg rating:3.0/5.0
Slides: 31
Provided by: janma3
Category:

less

Transcript and Presenter's Notes

Title: System-level%20Modeling%20for%20Wireless%20Sensor%20Networks


1
System-level Modeling for Wireless Sensor
Networks
  • Jan Madsen
  • Informatics and Mathematical Modelling
  • Technical University of Denmark
  • Richard Petersens Plads, Building 321
  • DK2800 Lyngby, Denmark

2
Sensor networks?
  • The Hogthrob project
  • Developing a sensor network infrastructure for
    sow monitoring
  • Functionalities
  • Tracking
  • Detecting heat period
  • Low Cost (1 )
  • Low Energy (2 years lifetime)
  • Consortium
  • DTU, DIKU, KVL
  • National Committee for Pig Production
  • IO Technologies

www.hogthrob.dk
3
Sensor networks
4
Sensor networks
5
Sensor node
6
Sensor node
  • Ultra low energy
  • Low flexibility
  • Ultra low cost (1)
  • Small size (1..10 Mtr)
  • Low clock frequency
  • DSP and RF dominated
  • Limited memory
  • Hardware/software codesign

7
Sensor node design
sensor
sensor
radio
cpu
cpu
asic
radio
sensor
battery
sensing
processing
communicating
8
Sensor network model
9
Sensor node Uni-processor ...
Framework to experiment with different RTOS
strategies
Focus on analysis of timing, energy and resource
sharing
Abstract software model, i.e. no
behavior/functionality
Easy to create tasks and implement RTOS models
Based on SystemC
10
System model
11
System model
12
System model
13
System model
  • Task messages
  • ready
  • finished
  • RTOS commands
  • run
  • preemept
  • Resume

14
System model - SystemC
pa new task("task_a",1,50,3,12,0,ready)
registerTask(pa) pb new
task("task_b",2,40,2,10,0,ready)
registerTask(pb) pc new task("task_c",3,30,1,
10,0,ready) registerTask(pc)
15
Link model
  • Aim Adding tasks without having to create
    seperate communication links
  • Uses the SystemC master-slave library
  • If two tasks send a message at the same time
    they are executed in sequence, but in undefined
    order
  • Global clock is used to keep track of time

16
Task model
1
17
Task model
18
Sensor node model
19
Energy modeling
20
Communication example
Send node
t
1
Receive node
Wireless
s
t
r
t
Network
2
3
t
4
t
5
synch.
synch.
allocator
allocator
scheduler
scheduler
21
Modeling radio communication
Modeling the CSMA protocol
Sender
idle
idle
send
cs
bo
bo
cs
cs
Txp
Txp
Txp
Txd
Txd
Txd
Txd
Txd
Protocol
carrier sense
preamble
data
CPU
Transiver
22
CSMA Protocol for sending
bo_countergt0
cs_countergt0
!send
bo_counter0
send
back off
carrier sense
idle
!channel clear
channel clear cs_counter0
pr_countergt0
Tx pre- amble
data_counter0
pr_counter0
Tx data
data_countergt0
23
Modeling radio communication
Sender
Protocol
cs
bo
bo
cs
cs
Txp
Txp
Txp
Txd
Txd
Txd
Txd
Txd
carrier sense
preamble
data
CPU
Transiver
Receiver
Protocol
poll
idle
poll
idle
poll
syn
syn
Rxd
Rxd
Rxd
Rxd
Rxd
poll channel
synchronize
data
CPU
Transiver
24
Sensor network example
25
Example 1 Simple broadcast
Application task 0 idle 1 ready 2 running 3
preempted 4 self-preempted
Sending task 0 idle 1 back-Off 2 carrier
sensing 3 transmit preamble 4 transmit data
Receiving task 0 idle 1 polling 2
synchronize 3 receive data
26
Example 2 Radio interference
Application task 0 idle 1 ready 2 running 3
preempted 4 self-preempted
Sending task 0 idle 1 back-Off 2 carrier
sensing 3 transmit preamble 4 transmit data
Receiving task 0 idle 1 polling 2
synchronize 3 receive data
27
Example 3 Network routing
28
Example 3 Routing
Application task 0 idle 1 ready 2 running 3
preempted 4 self-preempted
Sending task 0 idle 1 back-Off 2 carrier
sensing 3 transmit preamble 4 transmit data
Receiving task 0 idle 1 polling 2
synchronize 3 receive data
29
Example 3 Battery shortage
Application task 0 idle 1 ready 2 running 3
preempted 4 self-preempted
Sending task 0 idle 1 back-Off 2 carrier
sensing 3 transmit preamble 4 transmit data
Receiving task 0 idle 1 polling 2
synchronize 3 receive data
Node 2 runs out of battery
30
Summary
  • SystemC based framework to study the dynamic
    behavior of a sensor network
  • Exploring global effects of sensor node design
  • Example sensor network based on Mica-nodes and
    TinyOS from UC Berkeley
  • Work in progress
  • Power/energy models for power management
  • Mobile sensor nodes
  • Detailed component models
  • To be used in the Hogthrob project
Write a Comment
User Comments (0)
About PowerShow.com