Font Size: a A A

Development Of An Embedded Software Platform Based On μC/OS-Ⅱ And Application For Intelligent Flowmeter

Posted on:2005-10-29Degree:MasterType:Thesis
Country:ChinaCandidate:L HuaFull Text:PDF
GTID:2132360125954961Subject:Mechanical Manufacturing and Automation
Abstract/Summary:PDF Full Text Request
The trend of field-bus at factory field asks the embedded systems of field devices and instruments to become more intelligent and more powerful. This article discusses the building of an embedded software platform based on μC/OS-II core, which is aimed at instruments used at industry control field. μC/OS~II is an open source real-time operating system (RTOS) core. Our extensions for μC/OS~II include kernel extension, TCP/IP protocol stack, file system, shell and function-library. At the application layer, three TCP/IP application modules are designed. They are WEB active page service, FTP client, MODBUS/TCP service. The system is designed at ARM7TDMI core micro-controller S3C4510B, which is very suitable for net application. This platform is light-weighted, high real-time, and easy to port. It provides a fast prototype system for device design.As an application example, the second section mainly discusses the design of intelligent flowmeter. Working theory of flowmeter and electronic hardware are explained. After porting the platform and designing software for flow calculation and display, the basic functions of flowmeter are realized. On this base, WEB application functions are specified, including data display and parameter setting using WEB active pages. To manage flowmeters on net, console program at PC is also designed. It communicates with flowmeters using MODBUS/TCP protocol.Contents of this paper as follow:Chapter One: Firstly, introduces the development of embedded system and its hardware and software; Secondly, according the requirement of embedded system at industrial field, the project, creating an embedded software platform, is raised. Finally, detail discuss about the project is carried out to setup the special object and content.Chapter Two: Firstly, introduces embedded operating system. Secondly, introduces the characters of μC/OS-II. Finally, discusses the following parts of μC/OS-II in detail, task management, task communication and memory management.Chapter Three: Mainly discusses how to set up hardware and software of the system, including hardware system, development environment, porting μC/OS-II and system test. The problems of bootrom, code-remap and code-copy are discussed in detail.Chapter Four: introduces the design of several extension modules for μC/OS-II. They are kernel extension, TCP/IP protocol stack, file system module and shell module. Details of design frames and key points are explained.Chapter Five: On the net application layer, tree modules are designed. They are WEB server, ftp client and MODBUS/TCP server. Key parts of protocols are explained. Frames of realization are discussed.Chapter Six: On the net application layer, tree modules are designed. They are WEB server, ftp client and MODBUS/TCP server. Key parts of protocols are explained and frames of realization are discussed.Chapter Seven: Summarizes the work of this article, discusses the achievements and shortages, and makes a future sight of further research.
Keywords/Search Tags:Embedded System, Real-Time Operating System (RTOS), μC/OS-II, LwIP, MODBUS/TCP, Intelligent Flowmeter
PDF Full Text Request
Related items