The Improvement and Research of Real-time Embedded Operating System Based on Linux

Author
LiYuQi
Advisor
HeXiaoJun
School
Shenyang Ligong University
Major
Computer Software and Theory
Classification
TP316.2 Real-time operating system
Degree
Master's thesis
Year
2011
Downloads
76
Citations
0

Request the full text

Abstract

With the development of information age, real-time embedded system is not only applied in industrial automation control, but also more extensive applicatied in multimedia communication, incident handling, environmental monitoring, traffic control and aerospace, etc. The traditional real-time embedded operating system that it’s micro kernel structure, only has the function of real-time increasingly unable to satisfy actual application requirements. Therefore, the real-time embedded operating system is developing from the single, weak function to the high specialization multi-purpose, strong function.As a modular monolithic kernel operating system, Linux has powerful, customizable functions, supports nearly all embedded platform, at the same time it has certain real-time performance. In addition, all the development application of Linux must follow the GPL,so its kernel code is open-source, the kernel modifications is completely the free opening. It can be said that, as a general time-sharing system,Linux has great potential to transform into a real-time embedded operating system. This also is a hot spot research of many apex IT companies and Scientific research institution domestic and foreign.First, This topic has researched many classics real-time operating system plans domestic and foreign, detailed analysis on the characteristics of several real-time scheduling algorithm, and has analyzed the structure of Linux kernel and restricts its real-time factors earnestly based on the Linux2.6 kernel code.Then improved the real-time performance of Linux adopted direct modified kernel method:For non-preempted problem of Linux kernel, modify the kernel code, used mutex lock replace the spinlock which hinder preempted, improving the real-time performance of the whole kernel;for the Scheduling algorithm of Linux that it has not enough real-time performance, This topic has combined RM algorithm and EDF algorithm, innovative presented a comprehensive priority-driven scheduling algorithm based on the final time limit while the frequency of the execution as the auxiliary, and programming to replace the scheduling algorithm of Linux kernel, which greatly improved the real-time performance of Linux; In addition, Linux doesn’t provide the scheme to prevent priority inversion,this topic adopted the mind of Priority Inheritence Protocol(PIP), add wait queue list and priority records in resource struct, programming in Linux realized the PIP scheme,improved stability and security of the operating system. Finally, using the Lmbench test context switch time of the improved Linux on ARM9 experimental platform building in laboratory, and compared with Linux2.6 to obtain the final results.

Table of contents

Summary 5-6 Abstract 6-10 Chapter 1 Introduction background and significance of the topic 10-19 1.1 -12 1.2 topics related research status 12-17 1.3 topics, the main research content the chapters 17-18 1.4 papers arrangement nbsp 19-21 2.1.1 the definition of real-time systems; 18-19 Chapter 2 real-time embedded operating system overview 19-29 2.1 Real-Time System Overview 19-20 2.1.2 real-time system performance 20-21 2.1.3 Classification of real-time systems 21 2.2 real-time embedded operating System Overview 21-23 2.3 real-time embedded operating system features 23-28 2.4 Chapter Summary 28-29 Chapter 3. The Linux operating system real-time analysis 29-42 3.1 Linux operating system 3.2 Linux2.6 kernel 29-31 31-36 3.2. 1 Linux2.6 the kernel an overview 32-33 3.2.2 Linux kernel modularization the 33-34 3.2.3 of Linux2.6 kernel system structures 34-36 3.3 Linux2.6 kernel real-time analysis 36-38 3.3.1 to measure real-time standard are found; 37 3.3.2 constraints Linux real-time factors 37-38 3.4 Linux real-time method 38-41 3.4.1 dual-core 39-40 3.4.2 Resource nuclear methods 40 3.4.3 directly modify the kernel method 40-41 the 3.4.4 Linux real-time method selection 41 3.5 Chapter Summary 41-42 Chapter 4 Linux Real-Time Scheduling Algorithm 42-52 4.1 real-time scheduling algorithm Overview 42-45 4.1. priority-based scheduling algorithm 42-44 4.1.2 proportional share-based scheduling algorithms 44 4.1.3 Time-based scheduling algorithm 44 - 45 4.2 Linux2.6 kernel scheduling algorithm analysis 45-47 4.2.1 0 (1) the new features of the scheduler 45 4.2.2 new to ready queue 45-47 4.2.3 scheduling timing 47 4.2.4 scheduling policy 47 4.3 propose an improved integrated scheduling 47-51 4.3.1 the RM Algorithm Analysis 48-49 4.3.2 EDF algorithm analysis 49 4.3.3 integrated scheduling 49-51 4.4 Chapter Summary 51-52 Chapter 5 Linux kernel implementation and testing of real-time improvements 52-62 5.1 Linux preemptible kernel realization 52-54 5.2 Linux scheduling algorithm for real-time improvements to achieve 54-55 5.3 to solve the priority inversion problem 55-59 <br / > 5.4 ARM920T experimental platform 59-60 5.5 Experimental methods and test results 60-61 5.6 Chapter Summary the 61-62 conclusion 62-64 Reference 64-66 study for a master's degree during the thesis and scientific research 66-67 Acknowledgements nbsp the; 67-68

Related dissertations

  1. Navigation System CAN Network Design and Implementation Based on Time-triggered
    YuYing ·Harbin Engineering University ·2013 ·Master's thesis
  2. Research on Virtual Machine Scheduling in Real-time Environment
    GongWenJia ·Harbin Institute of Technology ·2013 ·Master's thesis
  3. Parse embedded Linux kernel
    DuChuanYe ·Hebei University of Technology ·2007 ·Master's thesis
  4. Embedded real-time Linux research and reconstruction
    LiXiaoJun ·Shandong University ·2008 ·Master's thesis
  5. Study of Real-time Grid Monitoring System Based-on Complex Event Processing
  6. Research and Implementation of the Web-integrated Real-time Video Surveillance System Based on Flex
    ZhouBin ·Central South University ·2013 ·Master's thesis
  7. Research and Realization of Fieldbus Conversion and Monitoring System Based on ARM
    ZhaoBo ·Dalian Polytechnic University ·2012 ·Master's thesis
  8. Research of Heterogeneous System Integrated Optimization Based on OPC DX Technology
    HaoYongLiang ·Tianjin University of Technology ·2013 ·Master's thesis
  9. Knitting Machine Hardware Control Platform Design and Implementation Based on NCUC-bus Fieldbus
  10. Research on Control System of a6-DOF Motion Platform
    YaoShiLei ·Harbin Engineering University ·2013 ·Master's thesis
  11. Design and Application Research on Multi-Master Node TTCAN Network
  12. The Research of CANopen Protocol Based on Embedded Systems
  13. Research on Real-time Performance of CAN
    TangZongMei ·Hubei University of Technology ·2013 ·Master's thesis
  14. The Realization and Research on Real-time of CANopen Network
  15. Reaearch on Modeling and Optimization Strategy in Industry Multi-service Real-time Networks
    LuLi ·Zhejiang University ·2013 ·Doctoral dissertation
  16. The Research on Ethernet_based Interface of Embeded Motion Control System
  17. Design of Distributed Concurrent State-aware System for the Quadruped Bionic Robot
    LiuMingLiang ·Central South University ·2013 ·Master's thesis
  18. On-board Vision System for Humanoid Ping-Pong Robot
    XieZuo ·Zhejiang University ·2014 ·Master's thesis
  19. Research and Realization of Embedded Wireless Sensor Networks
    ZhangJiPing ·Dalian Polytechnic University ·2013 ·Master's thesis
  20. Research and Application of Multi-Processing Load Balancing Technology Based on Multi-Core in Cloud Computing
    WuHeSheng ·Nanjing University ·2013 ·Doctoral dissertation