Download presentation
Presentation is loading. Please wait.
1
TinyOS 소개와 이해 2007.11.10 한양대학교 무선이동통신 연구실 정성민(smjung@hanyang.ac.kr)
제 7회 KELP 공개세미나 TinyOS 소개와 이해 한양대학교 무선이동통신 연구실 ©2007 TinyOS 소개와 이해
2
Contents Wireless sensor network overview Applications in WSN
Understanding TinyOS TinyOS Scheduler TinyOS MAC Protocol TinyOS Ad-hoc Network TOSSIM ©2007 TinyOS 소개와 이해
3
1. Wireless sensor network overview
정 성 민 ©2007 TinyOS 소개와 이해
4
What’s wireless sensor network?
+ Wireless Network Sensor Photo, Temp, Mic, Gas, Acceleration, … Network Ad-hoc routing, MAC Protocol ©2007 TinyOS 소개와 이해
5
Limitation of Wireless Sensor Network
Low power uses AA battery for 2-3 years. Unknown Low computing use 8bit mcu Will get better Short range within10 ~30 m Low bandwidth Standard ©2007 TinyOS 소개와 이해
6
Three Importances of Sensor Netowk
Wireless Networking Low Power Systems Sensing Sensing Wireless network Low Power System ©2007 TinyOS 소개와 이해
7
2. Applications in WSN 정 성민 ©2007 TinyOS 소개와 이해
8
Redwood Microclimates(1/2)
70% of H2O cycle is through trees, not ground Can only observe top surface of the forest Need to understand what happens within the trees Berkeley/SF ©2007 TinyOS 소개와 이해
9
Redwood Microclimates(2/2)
©2007 TinyOS 소개와 이해
10
Golden Gate Bridge (1/2) Data Acquisition Data Collection
Processing & Feedback ©2007 TinyOS 소개와 이해
11
Golden Gate Sensor Board
Golden Gate Bridge (2/2) Golden Gate Sensor Board ©2007 TinyOS 소개와 이해
12
Wireless Body Sensor Network(WBAN)
Increased quality of life Mobility Multimodal physiological monitoring ECG, SpO2, Motions,… Technical Problems Low power Portability ©2007 TinyOS 소개와 이해
13
Applications in Korea u-city 분야 u-기상 분야 u-환경 분야 u-문화재 분야 u-class
노면센서, 압력센서, 수질 센서, 온습도 센서 인천 경제자유구역 송도 지구 u-기상 분야 기존 값비싼 유선 기상 센서를 저비용에 무선 센서로 대체 u-환경 분야 소양강 상류 USN을 활용하여 식수원에 대한 실시간 수질정보 수집, 실시간 감시 u-문화재 분야 불국사 재난과 화재 방지를 위한 온도/습도/화재감시용 센서노드 구축 u-class ©2007 TinyOS 소개와 이해
14
3. Understanding TinyOS 정 성 민 ©2007 TinyOS 소개와 이해
15
TinyOS Introduction Is the most used OS in wireless sensor network
Developed at University of California in Berkeley ( Professors David Culler & Kris Pister Supported by Intel Open-source software development : BSD License Simple operation system, Many sample applications Interrupt-Driven concurrency model Consists of Components ©2007 TinyOS 소개와 이해
16
Features of TinyOS Light Weight & Efficient “Hurry up and sleep”
Execute Processes Quickly Interrupt Driven (no polling) In-line code instead of function calls(1.6~17.6kb) Macros Sleep Sleep (micro-Watt power) while waiting for something to happen ©2007 TinyOS 소개와 이해
17
Main (includes Scheduler) Application (User Components)
TinyOS Components Main (includes Scheduler) Application (User Components) UART Component Timer Sensing RF Component Communication Hardware Abstractions ©2007 TinyOS 소개와 이해
18
4. TinyOS Scheduler 정 성 민 ©2007 TinyOS 소개와 이해
19
TinyOS 2-Level Structure
Events Time Critical Interrupts cause Events (Timer, ADC, Sensors) Small / short duration Suspend Tasks Tasks Time Flexible Run sequentially by TOS Scheduler Run to completion wrt other Tasks Interruptible ©2007 TinyOS 소개와 이해
20
TinyOS task statement wait Sleep Execution of Tasks ©2007
21
Execution of Tasks To save the power, the scheduler minimizes calculations ©2007 TinyOS 소개와 이해
22
5. TinyOS MAC Protocol 정 성 민 ©2007 TinyOS 소개와 이해
23
TinyOS Network Laying ©2007 TinyOS 소개와 이해
24
Basic MAC included in TinyOS
Receiver S2 S1 S3 S1 S2 S3 R Backoff Time Base on CSMA - CA Good stability The Inequality The low performance ©2007 TinyOS 소개와 이해
25
B-MAC ©2007 TinyOS 소개와 이해
26
The most is the form of tree 정 성 민
6. TinyOS Ad-hoc Network The most is the form of tree 정 성 민 ©2007 TinyOS 소개와 이해
27
Ad-hoc Network(1) 3 4 2 1 2 3 2 3 ©2007 TinyOS 소개와 이해
28
Ad-hoc Network(2) 2 4 1 3 Send routing MSG each 1sec ©2007
TinyOS 소개와 이해
29
7. TOSSIM 정 성 민 ©2007 TinyOS 소개와 이해
30
TOSSIM(1) TinyOS Simulator How to use TOSSIM
cd /opt/tinyos-1.x/apps/Surge make pc ./build/pc/main.exe –gui 5 Executes cygwin again cd /opt/tinyos-1.x/tools/java java net/tinyos/sim/TinyViz ©2007 TinyOS 소개와 이해
31
TOSSIM(2) ©2007 TinyOS 소개와 이해
Similar presentations