Research and Realization of Task Scheduling Optimization on Real-Time Operating System μC/OS-Ⅱ
- Author
- GuanXueYong
- Advisor
- LiFeng
- School
- Shandong University
- Major
- Computer System Architecture
- Classification
- TP316.2 Real-time operating system
- Degree
- Master's thesis
- Year
- 2012
- Downloads
- 98
- Citations
- 0
Abstract
As a new kind of application, embedded real-time operational system is drawing more and more attention for its high proficiency and simplicity. It is gradually replacing PC, becoming the mainstream in everyday life, industry control, military and aerospace fields. And its advantages are highlighted by the development of hardware, software and network technology.Because of its open source code, small kernel, excellent readability and easy to transplant, μC/OS-Ⅱ is applied extensively in the fields which require real-time operation. But its drawbacks are also inevitable:there must be different priority sequences for every task, thus increasing the difficulty of developing programs.In order to solve the problems mentioned above, this thesis proposes its own ideas about improving task scheduling of μC/OS-Ⅱ operational system so that it can create tasks with the same priority and employ the shortest running time priority scheduling for the tasks with the same priority. First, the thesis analyses the structure of μC/OS-Ⅱ operational system, and focuses on its task scheduling mechanism. Then, the thesis proposes the strategy of shortest running time priority scheduling and the solution toward its drawbacks. The improvement of the related performance function is also provided.This thesis optimizes the task scheduling ofμC/OS-Ⅱ operating system using the S3C44B0X microprocessor, and testifies the transplant result before and after the improvement of task scheduling strategy.
Table of contents
Summary 8-9
ABSTRACT 9-10
first chapter 10-13
1.1 Background 10-11
1.2 the purpose and significance of the study 11-12
1.3 the main work 12-13
μC/OS- Ⅱ second chapter introduces 13 - 19
2.1 RTOS 13
2.2 μC/OS- Ⅱ Overview 13-14
2.3 μC/OS- Ⅱ architecture 14-18
2.3.1 task management module 15
2.3.2 time Management module between 15-16
2.3.3 task synchronization and communication module 16-17
2.3.4 memory management module 17-18
2.4 Summary 18-19
Chapter μC/OS- Ⅱ scheduling mechanism analysis 19-32
3.1 task structure 19-22
3.1.1 basic Structure 19-21
3.1.2 states divided 21-22
3.2 task scheduling principles 22-28
3.2.1 control block and block list 23-24
3.2.2 task ready list achieve 24-26
3.2.3 task scheduling 26-28
3.3 correlation function 28-30
3.4 μC/OS- Ⅱ task scheduling Status and Development Direction 30-31
3.5 Summary 31-32
Chapter μC/OS- Ⅱ system task scheduling mechanism optimization 32-54
4.1 μC/OS- Ⅱ primary task scheduling algorithm insufficient 32
4.2 minimum execution time priority algorithm 32-34
4.3 algorithm design 34 - 53
4.3.1 task control block structure modification 34-35
4.3.2 sibling task organizational structure design 35-36
4.3.3 task ID number distribution design 36-39
4.3.4 task management and related modules modify 39-53
4.4 Summary 53-54
Chapter algorithm and test 54-66
5.1 development environment 54-55
5.2 algorithm 55-58
5.3 testing and analysis 58-65
5.3.1 functional Test 58-61
5.3.2 performance test 61-65
5.4 Summary 65-66
Chapter VI summary and Outlook 66-67
6.1 Full Summary 66
6.2 Prospect 66-67
references 67-70
Thanks published during 70-71
pursue a degree academic catalog 71-72
dissertation defense review and table 72
Related dissertations
- Application Research of Data Acquisition Platform Based on ARM and μC/OS-Ⅱ
- The Research and Design of Infrared Sensor Monitoring System Based on STM32
- Design and Realization of Eco-hydrological Data Acquisition System Based on SDI-12Interface
- Wireless environmental monitoring system based on multi sensor data fusion
- The Design and Implementation of SIP Based Managing and Control System for Smart Electricity
- Design and Implementation of Ethernet Transfer Based on ARM
- The Research and Implementation of Embedded TCP/IP Stack Based on F28M35HX
- The Artillery Battlefield Environment Information Management System Research and design
- Design of Wireless Sensor Network System Based on Multi-sensor
- Design and Implementation of Video Transmission System in Underground Coal Mine Based on WiFi Technology
- Study of Automatic Bus Transfer System for Substation Based on ARM
- Research on the Design and Control Method of Electric Vehicle Charging Pile
- Design and implementation of embedded software of high frequency charger
- Research on Battery Management System for Hybrid Electric Bus
- A Large Parking Area Guidance System Based on STM32
- Research and Development of the Register Real-Time Monitoring System Based on F28M35x
- Design and Implementation of Remote Temperature Monitoring System of Qiqihaer Test Vehicle Factory
- Process Monitoring and Fault Diagnosis System and Application Based on ARM
- Research and implementation of intelligent video surveillance system based on BF533
- Study of the Indoor Environmental Quality Monitoring System