The Research of Automotive Real-time OS Based on μC/OS-Ⅱ

Author
HuangPeng
Advisor
LiuQuan
School
Wuhan University of Technology
Major
Communication and Information System
Classification
TP316.2 Real-time operating system
Degree
Master's thesis
Year
2006
Downloads
363
Citations
0

Request the full text

Abstract

With the development of auto industry, automobile electronical controlled unit (ECU) more adopt 32 microprocessors and embedded operating systems. To solve some questions, such as the increasing of the software contents in the automobile, the repeating development of software in operating system and communication network, European automobile trade has developed one open systematic OSEK/VDX norm with interface for automobile electron.This paper has introduced each component in OSEK/VDX norm at first, analyse the definition, a series of services and treatment mechanism of OSEK/VDX operating system especially. Then this paper analyse the operation principle of a embedded real-time operating system μC/OS-II, and the task scheduling algorithm of μC/OS-II kernel, the task switch mechanism, the question of priority inversion and time managed function emphatically, etc.To provide a free, open and practical software development platform for automotive electronics, according to the definition of OSEK OS, improve and expand some functions of uC/OS-II kernel. I improve the task scheduling algorithm at first, more than one tasks are allowed to be definitioned in the same priority condition, different priority tasks adopted the task scheduling in the way which priority is only one fact for the tasks, the same priority tasks adopts the task scheduling of a first-in first-out to deal with, in order to be suitable for some advanced application in the car. Then this paper introduce a kind of new resource mutual exclusion agreement - the priority ceiling protocal for μC/OS-II kernel, to solve the problem of priority inversion that existed in the real-time operating system, make the kernel suitable for working in the time urgent automobile environment. Finally adds the peripheral functions of alarm management for μC/OS-II, in order to satisfy the need of the embedded control system which take action according to a series of incidents appeared ..At last, this paper transplanted the extended μC/OS-II to the emulation platform based on Intel X86 microprocessor, examine the research results by writing the test programme, all test and examine are passed, and the operation conditions are good.

Table of contents

Chapter 1 Introduction 8-13 1.1 research background 8-10 1.1.1 automotive electronics development in the world 8-9 <br / > 1.1.2 embedded real-time operating system features 9-10 1.2 research purpose and meaning 10-11 1.3 thesis work and arrangements 11 -13 Chapter 2 automotive Electronics OSEK / VDX standard research 13-28 2.1 OSEK standard architecture 13-14 2.2 OSEK operating system module 14-28 2.2.1 OSEK OS requirements 14-15 2.2.2 OSEK OS architecture 15-16 2.2.3 OSEK OS running System 16-28 Chapter 3 real-time kernel μC/OS- Ⅱ study 28-38 3.1 μC/OS- Ⅱ task management and scheduling 28-33 3.2 time management 33-35 3.3 communication and synchronization between tasks 35-37 3.4 μC/OS- Ⅱ kernel porting and test 37-38 Chapter 4 of μC/OS- Ⅱ based on OSEK OS kernel research 38-55 4.1 high-end applications for vehicle scheduling improvements 38-43 4.1.1 of the problem 38-39 4.1.2 solution Analysis 39-43 4.2 control software for car priority inversion problem 43-50 4.2.1 of the problem 43 4.2.2 solution Analysis 43-50 4.3 for the automotive environment management function timer increases 50-55 4.3.1 of the problem 50-51 4.3.2 solution Analysis 51 -55 Chapter 5 functional testing and analysis 55-62 5.1 testing platform 55-58 5.1.1 Inte180X86 microprocessor 55 5.1.2 development Tools 55-56 5.1.3 μC/OS- Ⅱ kernel porting 56-58 5.2 test Analysis 58-62 5.2.1 task scheduling algorithm testing 58-59 5.2.2 priority Ceiling protocol Test 59-60 5.2.3 timer management function test 60-62 Chapter 6 Summary and Outlook 62-64 6.1 Full Summary 62 6.2 research Prospects 62-64 References 64-67 published during the master's degree thesis 67 master's research project during the reference 67-68 <br / > Thanks 68

Related dissertations

  1. Design and implementation of embedded development platform based μC/OS- Ⅱ
  2. Research and Development of Embedded Calibration Instrument of Power Measurement
  3. Implementation and Porting of an Object-Oriented Embedded Real-Time Operation System
    LiWenHao ·East China Normal University ·2006 ·Master's thesis
  4. Task Scheduling and Process Control of Serial Production Line Coupled with Transmission and Station
    ZhaoYue ·Shenyang University ·2013 ·Master's thesis
  5. Parallel Genetic Algorithm and Application Research of Task Scheduling in Grid
    LiuWenJuan ·Hebei University of Engineering ·2013 ·Master's thesis
  6. Research on Task Scheduling and Communication Mechanisms Based on RTEMS
    LiuJianDong ·Harbin Engineering University ·2013 ·Master's thesis
  7. Random Task-oriented User Utility Optimization Model in the Cloud Environment
    ZhuMin ·Hunan University ·2013 ·Master's thesis
  8. Design and Implementation of Crawler Subsystem of Alipay Merchant Risk Monitoring System
    QianXuanTong ·Harbin Institute of Technology ·2012 ·Master's thesis
  9. Acceleration Strategy of Regular Patch-based Texture Synthesis
    TaoJing ·Liaoning Normal University ·2012 ·Master's thesis
  10. Researches on Optimization of Resource Allocation for MapReduce Scheduling
    HanHaiZuo ·South China University of Technology ·2013 ·Doctoral dissertation
  11. Design and Implementation of3D Animation Making and Management System
    LiBaiDong ·Shandong University ·2013 ·Master's thesis
  12. Research on the Scheduling Algorithms in Real-Time Multimedia Systems
  13. The Optimization Model of Grid Resource and Task Scheduling Strategy Based on Market Mechanisms
    ChenNa ·Northeastern University ·2012 ·Master's thesis
  14. Task Scheduling and Synchronization Controlling in a BSP-based Large Scale Graph Processing System
    YuanFang ·Northeastern University ·2012 ·Master's thesis
  15. Research on Energy-efficient Real-time Task Scheduling Algorithm Based on Multi-core Processors
    WangBin ·Harbin Engineering University ·2013 ·Master's thesis
  16. The Improvement of Recovery Mechanisms and Task Scheduling Based on Mapreduce
    ZhangZuo ·Tianjin University of Technology ·2013 ·Master's thesis
  17. Research on Clustering-based Task Scheduling of Ad Hoc Network
    LiuZhongHou ·Harbin Engineering University ·2013 ·Master's thesis
  18. A Task Scheduling System Model Based on Parallel Resource Attribute Selection
  19. Research and Implementation of Task Scheduling Algorithm for Cloud Computing
    WangDengKe ·Northwest Normal University ·2013 ·Master's thesis
  20. The Research for Resoure Scheduling Strategy and Simulation Analysis in Cloud Computing
    WangMei ·Zhejiang Normal University ·2013 ·Master's thesis