The Key Technology Research on Embedded Real-time Operating System
- Author
- LuoZuo
- Advisor
- ZhuZhenMin
- School
- Xiangtan University
- Major
- Computer Software and Theory
- Classification
- TP316.2 Real-time operating system
- Degree
- Master's thesis
- Year
- 2006
- Downloads
- 330
- Citations
- 4
Abstract
With the coming of the“post-PC era”, embedded systems have been applied in every field. The embedded industry has becoming a new growth of IT industry. And its industrial output is over a trillion dollars. As the increasing complexity and scale of embedded system, it is a tendency to use embedded real-time operating system (ERTOS) in embedded equipment. Nowadays, our country has made a great development in ERTOS, but the technology gap with advanced countries is still large. Especially, almost all the strong real-time operating systems are supplied abroad.For domestic shortcomings in ERTOS development , the paper does comprehensive research on it, especially on its real-time performance. By introducing many effective approaches, an ERTOS kernel with strong real-time performance is built.Firstly, considering preemptive priority-based scheduling method of ERTOS, we bring forward an improved multi-priority ready queue algorithm. With O(1) time complexity, the algorithm ensures the stability and real-time performance of scheduling.Moreover, we propose a configurable multi-resolution timer mechanism. Based on the timer resolution configured by user itself, the kernel adopts a double-resolution timer mechanism, which distinguishes normal timer interrupt and high-resolution timer interrupt in complete. With this mechanism, which can reduce the unnecessary cost with strong real-time performance, we resolve the contradiction between real-time performance and system efficiency.Finally, based on the conception of centralized management, the paper handles external interrupts according to the processor features. In order to reduce interrupt latency, the kernel offeres a fast interrupt interface to applications other than the normal one. When an interrupt occurs, it only has 5 stack operations at least. Besides, double stack mechanism is also applied in the kernel, with which the problem of stack overflow caused by interrupt nesting is resolved efficiently.With battery technology not keeping up with the speed of the system energy consumption, we firstly implement dynamic voltage scaling (DVS)
Table of contents
Summary 5-6
ABSTRACT 6-8
chart list 8-13
Introduction 13-15
first chapter embedded systems 15-18
1.1 embedded system characteristics 15-16
1.2 embedded system classification 16-18 <br / > second chapter of embedded real-time operating system overview 18-26
2.1 Background 18-19
2.2 Research nbsp the; 19-21 <br / > 2.3 research significance 21-22
2.4 goals 22
Interface Specification 2.5 be adopted 22-23
2.6 The study and core technology 23-24
2.7 organizational structure of the paper 24-26
Chapter RTOS KERNEL research and design 26-48
3.1 architecture 26-30
3.1.1 single block structure 26-27
3.1.2 hierarchies of 27
3.1.3 microkernel structure 27-28
3.1.4 RTOS Kernel architecture characteristics 28-30
3.2 Task Manager 30-34
3.2.1 tasks The concept 30-31
3.2.2 Task Status 31-34
synchronization and communication between tasks 3.3 34-41
3.3.1 Semaphore (Semaphore) 35-36
3.3.3 mailbox (the Mailbox) 34-35
3.3.2 event flag (Eventflag), 36-37 < br /> 3.3.4 message queue (Message queue) 37-38
3.3.5 mutex body (Mutex) 38-41
3.4 interrupt management 41-42
3.4.1 interrupt management mechanism introduced 41
3.4.2-oriented application layer mechanisms 41-42
3.5 memory pool management nbsp fixed-size memory pool; 42-46
3.5.1 43-44
3.5.2 variable-size memory pool 44-46
3.6 subsystem management 46-48
Chapter RTOS KERNEL real-time considerations 48-60
4.1 task scheduler 48-52
4.1.1 Scheduling Strategy 48-49
4.1.2 scheduling realize the the 49-52 4.2 clock management
the 52-55
4.2.1 clocks, granularity 52-54
4.2.2 clock interrupt service routine 54-55
4.3 interrupt handling 55-60
4.3.1 interrupt evaluation indicators 55-56
4.3.2 oriented interrupt mechanism underlying the 56-58 4.3.3 interrupt mechanism
characteristics 58-60
Chapter dynamic voltage scaling 60-71
5.1 Basic theory of dynamic voltage scaling (DVS) 61-63
5.2 based fixed priority DVS 63-68
5.3 RTOS KERNEL in DVS design and the 68-71
5.3.1 discrete operating voltage 68
5.3.2 conversion delay 68-70
5.3.3 kernel to achieve 70-71
Chapter experimental the 71-78 6.1 context switching speed
71-73
6.2 Interrupt delay the 73-75 6.3 DVS experiments
75-78
Chapter VII Summary and Outlook 78-80
Reference 80-84
Acknowledgements 84-85
Appendix A (during the study for master has published papers) 85
Related dissertations
- Study of Real-time Grid Monitoring System Based-on Complex Event Processing
- Research and Implementation of the Web-integrated Real-time Video Surveillance System Based on Flex
- Research of Heterogeneous System Integrated Optimization Based on OPC DX Technology
- Knitting Machine Hardware Control Platform Design and Implementation Based on NCUC-bus Fieldbus
- Research on Control System of a6-DOF Motion Platform
- Design and Application Research on Multi-Master Node TTCAN Network
- The Realization and Research on Real-time of CANopen Network
- The Research on Ethernet_based Interface of Embeded Motion Control System
- Design of Distributed Concurrent State-aware System for the Quadruped Bionic Robot
- On-board Vision System for Humanoid Ping-Pong Robot
- Study of CPS Communication Based on MCU and Intelligent Optimization Algorithms
- The Research and Implementation of Embedded TCP/IP Stack Based on F28M35HX
- Optical Capture Based Development of Virtual Interaction System
- Real-time Performance of the Semi-physical Simulation System Based on RTX
- Research on Virtual Surgery Cutting Technique Based on Force Feedback
- Research on Real-time Rendering of Multi-resolution Terrain Features
- A Research on Improving the Dynamic Range of an Area-array CCD Imaging System
- Research on HD-SDI Signal Real-time Prosessing System Based on FPGA
- Real-time Eye-gaze Tracing System Based on CPU+GPU
- Design and Implementation of License Plate Recognition Algorithm for Image Enhancement Based on Fpga