Font Size: a A A

The Design And Development Of Monitoring Software Based On UC/OS-Ⅱ For Ocean Data Buoys

Posted on:2012-01-17Degree:MasterType:Thesis
Country:ChinaCandidate:D G MengFull Text:PDF
GTID:2218330338464564Subject:Control theory and control engineering
Abstract/Summary:PDF Full Text Request
China has a vast maritime territory, the development and monitoring of Marine has far-reaching significance for national interest and people′s livelihood. Ocean data buoy is one of the main means for marine environment monitoring and marine disasters forecast, and it's also an important part for three-dimensional monitoring of the marine environment. It has the characteristics of all-weather, long-term continuous and fix-point. Ocean data buoy is called as"geosynchronous satellite in the ocean"by oceanographer.There is a certain lack in the ocean data buoys that's already exist, such as the system architecture is not reasonable, and low level of intelligent, modular and networking. It's difficult to upgrade and extend this kind of system. The project design and develop a new kind of ocean data buoy. Its design concepts are the bus turn, modular, easy extension, low power consumption, high reliability, and high maintainability. On the aspect of hardware structure, we designed the system based on CAN bus. The hardware are divided into host module and sampler module. These modules communicate with each other through CAN bus. Inside these modules, the interfaces for sensor are consistent which means high interchangeability. To enhance system scalability, the design of software system refers to the idea of configuration. The function of the module was organized and allocated by configuration library, so just changing the configuration can completely reorganize the system functions.This thesis mainly concentrates on the design and development of configurable software system for the host. The software system is based on uC/OS-II real time operating system. The structure of host software is divided into three levels, namely BSP layer, scheduling and service layer, and application process layer. The BSP layer not only contains the driver library but also contains base part of the OS which is closely related with the hardware, which consists of two interrupt services used to implement process context switch and system timer. In all, the BSP layer supplies interfaces to manipulate hardware for the other part of the system. As the core of scheduling and service layer, on the one hand uC/OS-II layer supplies a multi-process environment on the other hand it's time delay structure, scheduling structure and inter-process communication structure make the software system a organic whole. The application process layer uses the interfaces which come from the BSP layer and OS layer to realize the data collecting, sorting, storage, display and send.For implementing a configurable system, we design a real time database which is organized by index table for storing data. Design a sensor configuration library and a data-index table for data collection. Design a data property table for restoring data. Design a picture description table for displaying data. Design a frame description table for transmitting data to the receiver on the coast. All of these make the system highly configurable.The design and implement of the entire software system implement modular thought. All the process with special function (except for CAN process) schedule themselves to complete their mission, which means good functional cohesion. All the processes communicate and synchronize with each other via all kinds of messages, and share data through global index table. Achieve the aim of high cohesion and low coupling.Finally, the paper made a summary of the study, pointed out existing problems and made recommendations for further improvement.Currently, the first phase of the project has completed. The new ocean data buoy designed by this project has been run continuously for several months in the East Sea. The system runs normally.
Keywords/Search Tags:big ocean data buoy, configurable system, uC/OS-II real time operating system, CAN bus
PDF Full Text Request
Related items