9933107 動機 14 林昱彤 100062119 資工 15 王敬嘉 Introduction Goal Fair Comparison Hardware OS selection Measurement Application description M easurement approach Result ID: 320416
Download Presentation The PPT/PDF document "Analysis of Sensor Network Operation Sys..." is the property of its rightful owner. Permission is granted to download and print the materials on this web site for personal, non-commercial use only, and to display it on your personal computer provided you do not modify the materials and that you retain all copyright notices contained in the materials. By downloading content from our website, you accept the terms of this agreement.
Slide1
Analysis of Sensor Network Operation System Performance Throughout The Software Life Cycle
9933107 動機14 林昱彤100062119 資工15 王敬嘉Slide2
Introduction
GoalFair ComparisonHardware, OS selectionMeasurementApplication description, Measurement approachResultDiscussion
ConclusionOutline
動機
14
林昱彤
2
/24Slide3
A system consisting of a collective of networked sensor nodes designed to intercommunicate via wireless radio
.sensor, processor, communicationIntroduction : What is WSN?
無線感測網路
Wireless Data Collector
WSN region
server
網路
衛星
其他傳輸媒介
1.
省電
2.
價格低廉
3.
體積小
動機
14
林昱彤
3
/24Slide4
Introduction : Background
動機
14
林昱彤
Application
domains:
軍事Challenge:resource-constrained nature of WSN hardware platforms dynamic operational environment
、商業、醫藥、安全和生態學等
4
/24Slide5
Goal
動機
14
林昱彤
the performance of the WSN operating systems
to make an informed choice when selecting an operating system for WSN developers
software life cycle:
5
/24Slide6
Fair Comparison : Hardware Platform
動機
14
林昱彤
Tmote
Sky
is a TI MSP430-based hardware platform that provides a 16-bit microcontroller
clocked at 8MHz running on a 3V power supply.
TelosB
has the hardware sensors for temperature, humidity and light. In addition, it
has a CC2420 802.15.4 radio chip for communication with
neighbouring
nodes.6/24Slide7
Fair Comparison : OS Selection
動機
14
林昱彤
Three criteria of selecting:
actively maintained and supported
support test platform:
the Tmote SkyProvide support for remote reprogramming
7
/24Slide8
動機
14
林昱彤
Fair Comparison : OS Selection
Tiny OS
Contiki OS
Lorien OS
8/24Slide9
OS Selection _ TinyOS
動機
14
林昱彤
designed for networked embedded devices.
Advantages:
NesC : reduces the memory requirementconsumes less resourcesDisadvantages:does not preserve component structure after compilationlack of available implementations version-2.1.2used the built-in interfaces of TinyOS
for sensing and radio communication
9
/24Slide10
OS Selection _ Contiki OS
動機
14
林昱彤
designed for use in WSN
applications which require support for IP-based communication.
Advantages:supports a wide range of hardware platformsworks with modular upgrading methodologyversion-2.6use the pre-defined methods of Contiki for sensing and radio communication10/24Slide11
OS Selection _ Lorien OS
動機
14
林昱彤
Architectural
model similar to
TinyOSpreserves its component-structure throughout the software life cycleAdvantageswell suited for dynamic operating environmentsversion-2.8.4Use the built-in interfaces for sensing and radio communication
11
/24Slide12
Use 6 example Applications
From simple to complexUse Sensor or not ?Use Radio or not ?The functions are complicated or not ?
Application Description
資工
15
王敬嘉
12
/24Slide13
Applications
SensorRadioFunctionBlinkXX
Toggle LED once/ per secSenseO
XSample SHT11 sensor once/per sec Blink LED
Blink-Remote
(
BlinkRx
)XOToggle LED when receive message via CC2420 radioSense-Remote(BlinkTx)OOSample sensor once/per secTransmit sensor reading using radioAggregate
O
O
Receive messages from radio
Buffer message
Transmit
to gateway when buffer full
Encryption(XTEA)OOReceive messages from radioEncrypts message by XTEA algorithmApplication Description
資工15 王敬嘉
13/24Slide14
Development -> counting LOC
Use OS-specific software toolCalculate each application 10 timesMeasurement Approach
資工
15
王敬嘉
<- Power
Consumption
14/24Slide15
By counting the LOC
(Lines of Code)Tiny OS & Lorien : 70 lines avg/each appContiki : 39 lines avg/each appResult _ Development
資工
15
王敬嘉
Contiki
is best in rapid prototyping !
15
/24Slide16
In flash ROM
Result _ Execution : Memory
資工
15
王敬嘉
Converge!
Tiny OS win!
16/24Slide17
In RAM
Result _ Execution : Memory
資工
15
王敬嘉
Tiny OS the best !
Lorien : overhead of
compomentizationContiki : need Build-time optimisation
17
/24Slide18
資工
15
王敬嘉
Result _ Execution : Energy
Contiki OS : consumes more energy !
Aggregate : sample sensor 5 times then transmit; use more radio
18
/24Slide19
Result _ Reconfiguration : Artefact Size
資工
15
王敬嘉
Tiny OS : need entire app to be transmitted
poor in dynamic scenariosSize of the binary artefact to be transmitted19/24Slide20
Software reconfiguration : 2 stepsApp artefact be injected into hardware platform
Hardware platform restart or new app artefact integrated with OS runtimeTiny OS : 2 commandsContiki : 2 commandsLorien : 7 commands average Lorien is much complex Result _ Reconfiguration : commands
20/24
資工
15
王敬嘉Slide21
Tiny OS
Contiki OSLorien OSDevelopment _ LOC-
-Execution _ Memory : RAM
--
Execution _
Memory : ROM
Tiny
OS >> ConvergeExecution _ Energy--Reconfiguration _ artefact size-
Discussion
資工
15
王敬嘉
21
/24Slide22
Discussion
資工
15
王敬嘉
Bad
(*)
Average
(**) Good(***)
Tiny OS : for simple and static apps
22
/24Slide23
WSN apps remain as a challenge
Resource-constrained hardware platformDynamically changing application environmentHelp WSN developers to select OS for WSN appsFuture WorkExplore dynamic optimisation
of WSN OSDesign their own OS that combines all the benefits
Conclusion
資工
15
王敬嘉
23
/24Slide24
Thank YOU !
24/24