Font Size: a A A

Wireless Sensor Network Operating System TinyOS Research And Porting Based On MC13224

Posted on:2014-04-30Degree:MasterType:Thesis
Country:ChinaCandidate:Y WangFull Text:PDF
GTID:2268330401964351Subject:Computer application technology
Abstract/Summary:PDF Full Text Request
Wireless sensor networks (WSN) integrated the embedded technology, wirelesscommunication technology and sensor technology and so on. It has high applicationprospects in domains of industry, agriculture, military, medical, household,transportation and environmental monitoring. By using a large number of low-costmicro sensor nodes which deployed in monitoring area, WSN can achieve real-timemonitoring, and get sensing various environmental information, which sent back tousers through wireless ways of own multi-hop networks. TinyOS-a wireless sensornetwork operating system-is the basic core software on sensor nodes. It is responsiblefor managing distribution and callback of all hardware and software resources,coordinating and controlling concurrent operations, providing application interface tousers. In this way, TinyOS makes the development efficiency, and enhance the softwarereusability.At the same time, the ARM microprocessor is widely used in the field of industrialcontrol, consumer electronic products, communication system, network system,wireless system, and other product markets, and the ARM microprocessor in32-bitRISC microprocessors occupy more than75%market share. At present, however,TinyOS support nearly none of the ARM processor. It is significant to port TinyOS onan ARM7chip, MC13224.Firstly, the design requirements of WSN operating system and some WSN OS areintroduced in this thesis. Secondly, TinyOS kernel mechanism is analyzed, includinglight task and event driven dual scheduling strategy, models of component,modularization programming, active-message communication mechanism, resourcearbitration and power consumption management. Then the thesis is focus on the TinyOSporting based on MC13224. The thesis dose work as follows: builds a crossing compilerenvironment based on ARM7, writes porting project management files and linkerdescription file, writes bootloader, completes the board support package(BSP) andAD7799&SIM300C drivers according to TinyOS hardware abstraction structure,combined with the chips’ datasheets of MC13224which includes GPIO, Interrupt Controller,UART,SPI,AD7799,SIM300C and Timer modules. A test case is written inthe thesis to test whether the TinyOS drives are correct. Finally, because TinyOS’ FIFOscheduling mode is too simply, a fixed priority scheduling mode is designed. Comparedthe two scheduling modes, the experiment show the new task schedule strategy is moreflexible and the system has a better performance.The thesis provides the reference solution for other relevant theoretical research andthe commercial products development.
Keywords/Search Tags:Wireless sensor networks, TinyOS porting, ARM7, Task scheduling, MC13224
PDF Full Text Request
Related items