Font Size: a A A

The Research Of Automotive Real-time OS Based On μC/OS-Ⅱ

Posted on:2007-03-25Degree:MasterType:Thesis
Country:ChinaCandidate:P HuangFull Text:PDF
GTID:2178360182980812Subject:Communication and Information System
Abstract/Summary:PDF Full Text Request
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.
Keywords/Search Tags:automobile electromical controlled unit, Embedded real-time operating system, Task scheduling, priority inversion, Alarm mangagement
PDF Full Text Request
Related items