The Research for Embedded Real-Time Operation System
- Author
- ZhangJunZhe
- Advisor
- LiXiuHua
- School
- Liaoning Technical University
- Major
- Applied Computer Technology
- Classification
- TP316.2 Real-time operating system
- Degree
- Master's thesis
- Year
- 2008
- Downloads
- 135
- Citations
- 1
Abstract
The Embedded Real-Time Operating System (RTOS) is the most important basic software platform for the embedded system, so the design and implementation of RTOS become the focus of the research. After analyzing some design problems and the requirements of embedded system application, a scheme of MRTkernel has been posted for the tiny control system. MRTkernel has the following characteristics: based on micro kernel architecture, adopts preemptive priority based scheduling algorithm, supports up to 256 tasks, has complete system service, POSIX compatible, scalable and portable.In the process of developing MRTkernel, the bitmap algorithm has been improved and optimized to meet the requirements of application, so it can support up to 256 tasks without losing of the performance, which enhance the system performance. Aging algorithm was designed and implemented for solving the starvation problem and priority ceiling policy is applied to solve the priority inversion problem, which are not solved by most of RTOSs.
Table of contents
Abstract 5-6
Abstract 6-9
1 Introduction 9-12
1.1 research background 9
1.2 topics Research 9-10
1.3 topics significance 10-11
1.3.1 IT development needs 10
1.3.2 national strategy and the needs of the industry 10-11
1.3.3 study the feasibility of 11
1.4 paper 11-12
embedded real-time operating system, the theoretical basis 12-24
2.1 embedded real-time operating system based 12-15
2.1.1 embedded operating system 12
2.1.2 operating system kernel 12-13
2.1.3 real-time operating system 13-14
2.1.4 embedded real-time operating system standard 14-15
2.2 real-time operating system scheduling policy 15-17
2.2.1 monotonous rate algorithm RMS 15-16
2.2.2 earliest deadline first algorithm EDF 16
2.2.3 shortest idle time The first algorithm LLF 16-17
2.3 task synchronization and communication 17-19
2.3.1 shared variables 17-18
2.3.2 semaphore 18
2.3.3 message mailboxes 18-19
2.3.4 Message Queuing 19
2.4 deadlock 19-20
2.5 Priority Inversion 20-22
2.5.1 priority inheritance 21-22
2.5.2 priority ceiling 22
2.6 hunger 22
2.7 Summary 22-24
3 MRTKERNEL kernel Design and Implementation 24-49
3.1 MRTKERNEL system architecture 24-25
3.1.1 application target system is characterized by 24
3.1.2 design goals 24
3.1.3 System Architecture 24-25
3.2 MRTKERNEL interrupt handling mechanism 25-27
3.3 MRTKERNEL Task Manager 27-32
3.3.1 Task Status 27-28
3.3.2 task control block data structure 28-31
3.3.3 task management system function 31-32
3.4 MRTKERNEL task scheduling 32-39
3.4.1 scheduler model 33
3.4.2 μC / OS-II the highest priority search algorithm analysis 33-35
3.4.3 of the highest priority search algorithm design 35-37
3.4.4 scheduler design 37-39
3.4.5 aging algorithm design 39
3.4 MRTKERNEL time management 39-40
3.5 MRTKERNEL memory management 40-43
3.5.1 memory control block data structure 40-42
3.5.2 memory management-related functions 42-43
3.6 MRTKERNEL event management 43-48
3.6.1 event design 43-44
3.6.2 Event control block data structure 44-45
3.6.4 mailboxes is 45-46
3.6.4 semaphore 46-48
3.7 Summary 48-49
4 MRTKERNEL of is transplanted 49-60
4.1 target platform Introduction 49-50
4.1.1 hardware platform 49-50
4.1.2 build environment 50
4.1.3 AT91RM9200 About 50
the
4.2 MRTKERNEL of is the file structure 50-51
4.3 MRTKERNEL transplantation in the AT91RM9200 51-59
4.5 Summary 59-60
5 MRTKERNEL test 60-68
5.1 task scheduling test 60-61
5.2 aging algorithms testing 61-62
5.3 semaphore test 62-64
5.4 mailbox test 64-65
5.5 memory test 65-67
5.6 Summary 67-68
conclusions 68-69
master's degree during the academic 69-70
thank 70-71
References 71-73
Related dissertations
- Porting and Optimization of G.723.1Algorithm for ARM Platform
- Optimization, Porting of eCos and Its Application Research in Supervision System of UPS
- The Study on the Universal Testing Machine Measurement and Control System Based on μC/OS-Ⅱ
- The Economic Analysis of Scheduling and Its Applications
- Research on Construction and Operation of Company A’s New Customer Call Center Project
- Optimization of Tasks Allocation and Scheduling for Knowledge Workers Based on Bacterial Foraging Algorithm
- The Research of Household Remote Monitoring Based on Embedded Web Server
- Remote Monitor System for Oil Wells Working Condition Based on GPRS
- Engine Room Monitoring System Based on the Embedded Web Server
- Research and Design of Intelligent Video Surveillance System Based on ARM
- The Research and Design of Embedded Graphic Remote Monitor Terminal
- The Design of Embedded Network Video Surveillance System Based on ARM9
- Data Acquisition System of Cavern Based on Embedded Web Server
- Research and Design of Remote Monitoring System Based on ARM
- Research and Realization of Embedded Data Acquisition and Recording System for Industrial Process Based on ARM
- Study on Embedded Data Acquisition System Application
- The Study of Physiological Parameters Monitoring and Remote Wireless Alarming System Based on ARM
- Study on ARM-based Embedded Monitoring and Measuring System of Refrigerated Vehicle for Fresh-keeping of Fruit and Vegetable
- Research and Realization of Dynamic Simulation Circulating Water Device Control and Data Processing System Based on ARM
- Design of Human Physiological Parameters Acquisition System Based on Embedded Linux