The Research and Application of Embedded Real-time System Based on μC/OS-Ⅱ

Author
ZhangJun
Advisor
CaoYueHui
School
Central South University
Major
Applied Computer Technology
Classification
TP316.2 Real-time operating system
Degree
Master's thesis
Year
2009
Downloads
221
Citations
5

Request the full text

Abstract

With the rapid development of computer and communications technology, embedded system has aroused wide concern for its simplicity, high-efficiency and etc. It has been gradually applied to every aspect of people’s life and almost contained in all electronic devices. Not only has it played an important role in the civil field, it has also played an increasing role in national defense construction.The core of embedded system includes embedded microprocessor and embedded real-time operating system. The RTOSμC/OS-Ⅱwith stable performance is selected as the main content. It is ported to the ARM and the related codes are displayed. The main work and contributions in this dissertation are as follows:Firstly, after studying the communication principles of USB its device driver is designed for the data acquisition and control module’s data transmission in the hydro-electric power monitoring system, which guarantee the system’s real-time, reliability and stability.Secondly, priority inversion and its solutions are introduced. One improved priority inheritance protocol is brought up and algorithm related to the protocol is designed inμC/OS-Ⅱafter studying some related protocols and the core ofμC/OS-Ⅱ.Finally, the variety of the classic real-time scheduling algorithms is summed up. The Earliest Deadline First scheduling algorithm is evaluated, designed and implemented inμC/OS-Ⅱ, and combined with the application of hydro-electric power monitoring system, analyzing characteristics of the object from the perspective of real-time, focusing on the structure of real-time mission and real-time task scheduling program, which provides guidance for the design of practical systems.

Table of contents

Abstract 4-5 ABSTRACT 5-6 directory 6-8 first chapter 8-12 <br / > 1.1 embedded systems development and research significance 8-9 1.2 real-time operating system, key technical indicators 9-10 1.3 real-time operating system and priority inversion task scheduling 10-11 1.4 the main research content 11-12 Chapter μC/OS- Ⅱ embedded real-time operating system on ARM transplant 12-27 2.1 μC/OS- Ⅱ Introduction 12-16 2.1.1 μC/OS- Ⅱ Features 12 2.1.2 μC / OS-Ⅱ kernel analysis 12-16 2.2 ARM architecture 16-19 2.3 μC/OS- Ⅱ on ARM transplant research 19-26 2.3.1 μC/OS- Ⅱ transplant conditions 19-20 2.3.2 μC/OS- Ⅱ on ARM transplant 20-26 2.4 Summary 26-27 Chapter III device-side USB driver μC/OS- Ⅱ in the design 27-42 3.1 USB bus advantage 27 3.2 USB system architecture 27-30 3.2.1 USB host 28-29 3.2.2 USB devices 29-30 3.3 USB protocol 30-34 3.3.1 USB speed mode and encoding 30-31 3.3.2 USB bus topology 31 3.3.3 USB transfer types 31-32 3.3.4 USB frame , transaction and packet 32-34 3.4 USB device-side driver features 34-41 3.4.1 USB device-side driver programming ideas 35-36 3.4.2 USB device enumeration process 36-38 3.4.3 USB device data transfer 38-39 3.4.4 USB interrupt handler 39-41 3.5 Summary 41-42 <br / > Chapter improved priority inheritance protocol design and implementation 42-49 4.1 priority Inversion 42-43 4.2 priority inversion methods 43-44 4.3 variety of operating systems priority inversion solution 44-46 4.3.1 μC/OS- Ⅱ in priority inversion processing 44-45 4.3.2 other operating systems priority inversion processing 45-46 4.4 improved priority inheritance protocol and its implementation 46-48 < br /> 4.5 Summary 48-49 Chapter μC/OS- Ⅱ real-time task scheduling based on the realization and application 49-62 5.1 real-time task scheduling algorithm 49-51 5.1.1 real-time task scheduling algorithm classification 49-50 5.1.2 real-time task scheduling algorithm introduced 50-51 5.2 earliest deadline time priority scheduling analysis 51-56 5.2.1 scheduling analysis of relevant terminology 51 5.2.2 schedulability analysis 51-52 5.2.3 earliest deadline first Scheduling algorithm in μC/OS- Ⅱ in the design and implementation of 52-56 5.3 μC/OS- Ⅱ earliest deadline first scheduling application 56-61 5.4 Summary 61-62 Chapter Summary and Outlook 62-63 6.1 Summary 62 6.2 Prospects 62-63 References 63-67 Thanks 67-68 master's main achievements during 68

Related dissertations

  1. Research on Real-time Performance of the Embedded Linux Kernel
    LongFei ·Shenyang University of Technology ·2012 ·Master's thesis
  2. Parse embedded Linux kernel
    DuChuanYe ·Hebei University of Technology ·2007 ·Master's thesis
  3. The Implementation and Performance Analysis for Pseudo Token Bus in the Central Vehicle Navigation System
    CuiTianYing ·Jilin University ·2008 ·Master's thesis
  4. Research on Scheduling Algorithm of Multimedia System
  5. Research and Implementation of Embedded Operating System Based on Linux
    QiZuo ·Wuhan University of Technology ·2004 ·Master's thesis
  6. Embedded operating system real-time Mechanism
  7. Synchronization Mechanism Design for Component-based Embedded Operating System
    YaoGang ·Zhejiang University ·2007 ·Master's thesis
  8. The Research of Automotive Real-time OS Based on μC/OS-Ⅱ
    HuangPeng ·Wuhan University of Technology ·2006 ·Master's thesis
  9. Research on Real Time Performance of Embedded Operating System
    LinGang ·Zhejiang University of Technology ·2005 ·Master's thesis
  10. Study of Real-time Grid Monitoring System Based-on Complex Event Processing
  11. Research and Implementation of the Web-integrated Real-time Video Surveillance System Based on Flex
    ZhouBin ·Central South University ·2013 ·Master's thesis
  12. Based on Can Field-bus Technology and Web Service Home Intelligent Control System Design and Realization
  13. Design of Dynamic Pressure Controller Based on μC/OS-Ⅱ
  14. Research of Heterogeneous System Integrated Optimization Based on OPC DX Technology
    HaoYongLiang ·Tianjin University of Technology ·2013 ·Master's thesis
  15. Knitting Machine Hardware Control Platform Design and Implementation Based on NCUC-bus Fieldbus
  16. Research on Control System of a6-DOF Motion Platform
    YaoShiLei ·Harbin Engineering University ·2013 ·Master's thesis
  17. Design and Application Research on Multi-Master Node TTCAN Network
  18. Task Scheduling and Process Control of Serial Production Line Coupled with Transmission and Station
    ZhaoYue ·Shenyang University ·2013 ·Master's thesis
  19. The Realization and Research on Real-time of CANopen Network
  20. Research on Pulsating Vacuum Pressure Steam Sterilization Control System Based on ARM
    FuAiJun ·Nanchang University of Aeronautics and ·2013 ·Master's thesis