Based μC/OS- Ⅱ embedded monitoring system Research and Implementation
- Author
- LiangZhaoKuan
- Advisor
- ChenGuoDing
- School
- Northwestern Polytechnical University
- Major
- Mechanical and Electronic Engineering
- Classification
- TP277 Monitoring, alarm,fault diagnosis system
- Degree
- Master's thesis
- Year
- 2006
- Downloads
- 191
- Citations
- 5
Abstract
The embedded system, which applied most extensively, is one kind of computer system, and the embedded Real-Time Operating System(RTOS) is a top-drawer part of it. Some free RTOS, which provide the code, applied to more and more fields along with RTOS into the open. The thesis took the rapier loom computer control system as the practical application platform, applied the μ C/OS-Ⅱ, realized the rapier loom embedded supervisory system. The research of RTOS and the rapier loom control system, not only is helpful to the application and development of embedded technology, but also has vital signification to raise the national automation level and the national economy.Based on the concepts of embedded system and RTOS, the thesis explained the reasons for using RTOS in the supervisory system. Then, according to the analysis of function of supervisory system, accomplished the overall software and hardware design of the system, the project select MC68331 as the control core and μ C/OS-Ⅱ as the RTOS kernel. On the basis of the design above, founded the cross-platform, include InterTools system and Nohau emulator.On the system development platform, completed transplanting μ C/OS-Ⅱ on the MC68331 firstly. The transplant modified some functions and validated they are correct by debugging. Secondly, the transplanted kernel was expanded to be the practical RTOS of the supervisory system. The expand include drive program design of LCD, keyboard, serial communication and the Application Program Interface(API). finally completed the programming of the main function, the host task, the clock task, the human-computer interaction(HCI) task, the data communication task. Through the real-time emulation of the HCI and the data communication, confirmed the system has been able to realize the main functions.Using RTOS has shielded the hardware influence to the application programming, simplified the programming, enhanced the development efficiency. The upgrade and maintenance of the system become more convenient.
Table of contents
Summary 3-4
Abstract 4-5
directory 5-8
first chapter 8-15 <br / > 1.1 Introduction 8
1.2 embedded system Overview Features 8-10
1.2.1 embedded systems 8-9 < br /> development 1.2.2 embedded technology nbsp 9-10
1.2.3 composition of embedded systems ; 10
1.3 real-time operating system overview development 10-12
1.3.1 real-time operating system 10-11
1.3.2 RTOS 11-12 < br /> 1.4 RTOS for embedded systems using the necessity development prospects 12
1.5 embedded RTOS for 12-13
1.6 research background and significance 13
1.7 The main work 13-15
Chapter II embedded monitoring system design 15-22
2. a monitoring system design requirements analysis 15-16
2.2 overall monitoring system hardware design 16-19
2.2.1 microcontroller modules 16 -17
2.2.2 memory module 17
2.2.3 Human Interface Module 17-18
2.2.4 other modules 18
2.2.5 monitoring system hardware design features 18-19
2.3 monitoring system software design 19-21
2 .3.1 system software design process analysis 19-20
2.3.2 system software design research 20-21
2.4 Summary 21-22
Chapter III monitoring system software development platforms and design research establish nbsp 22-39
3.1 monitoring system software development platform ; 22-26 <br / > Create 3.1.1 monitoring system software development environment 22-23
3.1.2 monitoring system software development tool selection 23-26
3.2 embedded real-time operating system of choice 26-27
3.2.1 use of non- preemptive kernel multitasking real-time systems 26
3.2.2 can be deprived of the use of type of real-time multitasking kernel system 26-27
3.2.3 monitoring System RTOS selection 27
3.3 μC/OS- Ⅱ Overview 27-28
3.3.1 μC/OS- Ⅱ features 28
3.4 monitoring System data management and programming practices 28-38
3 .4.1 monitoring system software data management 29-32
3.4.2 high-level language and assembly language programming of research and practice 32-38
3. 5 Summary 38-39
Chapter μC/OS- Ⅱ transplant MC68331 is 39-59
4.1 MC68331 meet the transplant μC/OS- Ⅱ conditions 39-40
4.2 transplant μC/OS- Ⅱ need to modify the file 40-54
4.2.1 INCLUDES. H file 40-41
4.2.2 OS_CPU. H file 41-43
4.2.3 OS_CPU_A. ASM file 43-48
4.2.4 OS_CPU_C. C file 48-52
4.2.5 OS_CFG. H file 52-54
4.3 technical difficulties 54-56
4.4 kernel porting test 56-58
4.5 Summary 58-59
Chapter monitoring system RTOS extensions and application design mission planning 59-74
5.1 system 59-60 < br /> 5.2 main function 60-62
5.2.1 main function 60-61
5.2.2 the main function of the design 61-62
5.3 main tasks 62-63
5.3.1 Overview of main task function 62
5.3.2 main tasks programming 62-63
5.4 clock task functions and data structures 63-64
5.4.1 clock task 63-64 < br /> 5.5 human-computer interaction task 64-70
5.5.1 LCD driver design 64-66
5.5.2 display interface design achieve 66
5.5.3 keyboard -driven requirements and scanning algorithm 66-67
5.5.4 keyboard driver design 67-69 < br /> 5.5.5 application design human-computer interaction task 69-70
5.6 serial data communication tasks 70-73
5.6.1 data communication -driven design 71-72
5.6.2 data communication applications designed 72-73
5.7 Summary 73-74 <br / > Chapter VI summary and Outlook 74-75
References published during 75-78
Masters thesis 78-79
Thanks 79-80
Related dissertations
- Application of the Embedded Operation System in the Control of Elevator
- Development of Mine Intelligent Detector Based on Embedded GUI
- Design and Implementation of Emergency Command and Control System
- A Research of a Development Framework Based on Cross-platform for Mobile Applications
- Design and Implementation of the Motion Control System Based on USB Interface
- The Research of Video-Audio Technology and Its Application in Intelligent Community
- The Design and Implementation of Cross-platform Video Surveillance Transmission System on Chaos
- The Design and Implementation of Puzzle Game for Children
- Analysis about Some Task of Participating Parties in Important Period of Strategic Opportunities
- An Empirical Research on Incidental Vocabulary Learning in Light of Involvement Load Hypothesis
- Designing Task-based Activities to Improve Students' Writing Ability in Senior Middle School
- Application of Task-based Language Teaching Approach in Senior Middle School English Reading Classroom
- The Research on the Application of the Task-based-teaching Approach on English Writing in High Schools
- A Case Study of the Application of Task-based Approach in English Listening Teaching in Senior High School
- A Study on the Application of Task-based Approach to English Listening Teaching in Middle Schools
- Study on the application of task based teaching approach in interpreting teaching for English Majors in Sichuan Province, a school in Chengdu City as an example
- A Study of the Application of the Task-based Reading Strategy in Middle School English Class
- Project Implementation Study on Steel Structure Plant Construction of Dong-Yuan Project in SSE Company
- The Software Design of Automatic Doffing System
- Design of Remote Control System of Sluice in Irrigation District