Presentation is loading. Please wait.

Presentation is loading. Please wait.

Vinay Kumar Singh Dongseo University

Similar presentations


Presentation on theme: "Vinay Kumar Singh Dongseo University"— Presentation transcript:

1 Vinay Kumar Singh Dongseo University
Tiny OS Vinay Kumar Singh Dongseo University 4/19/2019

2 Outline Introduction. TinyOS nesC My Aim. Problems.
Timing consideration. My next plan. References 4/19/2019

3 Introduction TinyOS Very small “operating system” for sensor networks. (core OS 396 bytes). Follows Component-oriented architecture. It follows Concurrency based model on tasks and events. nesC is an extension to C. nesC follows the concurrency model so all the data races are avoided. The cricket software constrains various issues like timing, accuracy etc. 4/19/2019

4 Tiny OS An “Operating system” for wireless embedded sensor networks.
Actually a set of software components that can be “wired” together into a single binary which is run on the motes. Minimal OS functions 2 threads of execution: tasks and hardware event handlers No memory management Main Ideology HURRY UP AND SLEEP!! Sleep as often as possible to save power High concurrency, interrupt driven (no polling) 4/19/2019

5 Component Hierarchy in TinyOS
4/19/2019

6 4/19/2019

7 nesC 4/19/2019

8 nesC Interfaces 4/19/2019

9 nesC components 4/19/2019

10 Visualizing configurations
Connect configurations: configuration app { } implementation { uses c1, c2, c3; c1 -> c2; // implicit interface set. c2.out -> c3.triangle; c3 <- c2.side; } Partial configurations: component c2c3 { provides interface triangle t1; uses c2, c3; t1 -> c2.in; C1 C2 C3 C2 C3 4/19/2019

11 My Aim As in the cricket system all the processing done in the PDA attached to the cricket mote, I wanted to do processing at the base station. For using the cricket RF for dual system I have to make the changes in the cricket program. The base station contains the cricket mote attached with base station. Check the different application running on the cricket mote. 4/19/2019

12 Indoor Tracking System (Previous)
Target Expansion Board RF Base Station 4/19/2019

13 Indoor Tracking System
Target Base Station 4/19/2019

14 Cricket software Work done Work remaining. Add storage in flash.
Temp adjustment. Add units to all outputs but report. Add setting of units. Disable RS-232 depending of the test switch position on beacons . Error codes. Add coord.. to msg beacon. Temp to msg beacon. Work remaining. Time consideration. Data transmission using cricket RF. 4/19/2019

15 Times consideration In cricket Time factors to be added.
TIMER_OFFSET us MAX_ALLOWED_TIMER_VAL us AVG_BEACON_INTERVAL_TIME us DESYNC_DELAY us MAX_US_TRAVEL_TIME us MIN_BEACON_INTERVAL_TIME us Total time taken in Total calculation = 47ms. Time factors to be added. PROPGATION TIME DESYNC_DELAY UPDATE TIME. 4/19/2019

16 Cricket program Problems
The program that I download from the MIT project is not working well. (Actually there is no simulator tools like TinyViz for running this cricket program on PC) Some components in the program are missing. It is not generating the documents. Because we have to use only the cricket unit for transmission of message we have to make arrange the time that is taken in different operation. We have to also test the application provided by the cricket. 4/19/2019

17 4/19/2019

18 4/19/2019

19 Application development
Fig 1: Software Archicture 4/19/2019

20 References Nissanka B. Priyantha, Anit Chakraborty, Hari Balakrishnan, The Cricket Location-Support system, Proc. 6th ACM MOBICOM, Boston, MA, August 2000. Hari Balakrishnan, Roshan Baliga, Dorothy Curtis, Michel Goraczko, Allen Miu, Nissanka B. Priyantha, Adam Smith, Ken Steele, Seth Teller, Kevin Wang, Lessons from Developing and Deploying the Cricket Indoor Location System, November (Preprint. Cricket V2 user manual. Cricket software by MIT Cricket project. 4/19/2019

21 Thank You 4/19/2019


Download ppt "Vinay Kumar Singh Dongseo University"

Similar presentations


Ads by Google