Font Size: a A A

Study Of Standardized Vehicles Operating System Based On UC/OS-II

Posted on:2007-10-24Degree:MasterType:Thesis
Country:ChinaCandidate:L L XiaFull Text:PDF
GTID:2178360182996021Subject:Software engineering
Abstract/Summary:PDF Full Text Request
With the automobile industry rapid development, the automobile in thecontrol,the correspondence and the network aspect request is more andmore complex.The embedded real-time operating system as well as 32 microcontrollers (Electronic Control Unit) become the automobile electronapplication for basic technical characteristic new generation ofelectrically controlled unit ECU the mainstream.Recently theautomobile industry uses spontaneously on the decisive operating systemconforms to OSEK the standard RTOS code, most early OSEK/VDX projectsupport software in during many projects probability and thereusability which initiates by Germany's Karlsruhe university, savedthe massive developments and develops ECU (electronic control unit,electronic control unit) the software cost.The paper take Jilin Province education department science fundproject (200477) "Automobile Special-purpose Embedded Operating systemResearch" as a starting point, take uc/OS-II as the essence foundation,according to OSEK/VDX standard, uc/OS will revise conforms to OSEK/VDXstandard embedded operating system essence, thus achieved will designuses in common in the automobile special-purpose operating system goal,and has conducted the improvement research to the performance, willcause it to be more perfect.Current is popular in the automobile profession the automobileelectron distributional control open platform OSEK/VDX internationalstandard (ISO17356) which becomes by above two standard merge, usesconforms to OSEK/VDX standard embedded real-time operating system tobe possible to enhance the product code multiplying rate, reduces thedevelopment cost, reduces the product development cycle.This articleto OSEK/VDX standard OSEK/VDX operating system standard (OSEKOperating System,OSEK OS), OSEK/VDX communication standard (OSEKCommunication,OSEK COM), OSEK/VDX network management standard (OSEKNetwork Management,OSEK NM) as well as OSEK/VDX realization language(OSEK Implementation Language,OSEK OIL) has carried on the introduction,and has analyzed OSEK/VDX operating system standard emphatically (OSEKOperating System,OSEK OS), in order to choose the more ideal embeddedoperating system to take the research foundation, after simultaneouslyenables the improvement the system essence to conform to OSEK/VDXstandard.Through OSEK/VDX standard analysis and at present embedded operatingsystem investigation, uC/OS-II took the free public source code,delicate structure, schedule preemptable way multi-task real-timeoperating system essence based on the fixed priority.Its essenceprovides the task scheduling and the management, the time management,the task functions and so on synchronization and correspondence, memorymanages and interrupts service. The free public source code providedthe convenience for the essence OSEK/VDX operating systemstandardization, schedule peremptable multi-task essence real-timeoperating system is each management which the prerequisite, the essenceprovided has also facilitated myself to the essence standardizationrevision.uC/OS-II supports from 8 to 32 Bits CPU;uC/OS-II alreadytransplanted on nearly all well-known CPU. Simultaneously uC/OS-II alsoalready applied very many domains. Therefore I selected uC/OS-II to takestudied the automobile general operating system as foundation.OSEK/VDX operating system standard described in detail: Taskmanagement, Interrupt management, Event mechanism, Resource management,Alarm apparatus management, Message management, Errormanagement.According to OSEK/VDX standard above module description,this article includes to the task management module revision: After taskpriority arrangement, task quantity expansion as well as expansion incorresponding task scheduling construction of data and realizationmodification.Interrupt management: To uC/OS-II essence interruptelaboration, and has carried on OSEK/VDX standard interrupt managementconfirmation to it.Event management: Through analyzes uC/OS-II essencethe event mechanism, becomes its two kind of event processing methodconformity to OSEK/VDX standard event management.Resource management:Increased to uC/OS-II essence has used the PCP agreement to avoid themethod which the priority reverse and the dead-lock produced. Reportsto the alarm service: Through defines the recent construction of data,unifies uC/OS-II essence the time ticks and the time management function,had supplemented OSEK/VDX standard reports to the alarm service.Message handling: Carried on OSEK/VDX standard standardizedconfirmation to uC/OS-II essence message management news mailbox andthe news formation, the news mailbox realization mechanism have not beenpossible to line up happen to the news rule, but the news formation'srealization mechanism just right correspondence might arrange the newsrule, might use uC/OS-II essence original news mailbox or the newsformation to the different news rule processes the function.Errorprocessing: uC/OS-II has provided 9 system special-purpose Hook,through these 9 Hook, this article has indirectly realized 5 errorprocessing Hook which OSEK/VDX standard gives.In order to simplify the transplant process, I have selected the keilC51 compiler, it causes the uC/OS-II normal operation satisfiedlycertain requests. The embedded application software development needsto use the overlapping development environment. The overlappingdevelopment environment is refers to the realization, the translation,the link and the debugging application procedure code environment.Takethe development kit and the technical advisory work as the foundationwhole solution is the urgent need. In the performance history, I haveselected the WAVE E6000/L simulator. This simulator uses the main engine+POD combination, through replacement different POD, may carry on thesimulation to each kind of different type monolithic integrated circuit.The WAVE development environment is one including the edition, thesearch, the execution, the simulator establishment and so on many kindsof function integrated development environment, the use is extremelyconvenient.Under the WAVE development environment, I have carried onthe debugging to uC/OS-II essence revision and the improvement. Thisarticle to revised has carried on the specify with the improvementmethod. In order to achieve the software may transplant the goal, OSEKthe OIL standard provides one kind to dispose the OSEK application inspecific CPU the mechanism. This article has carried on to the newessence based on MPC555 OIL standardized disposition description,finally has carried on 80C51 transplant to the new essence, and fordescribed the detailed transplant process.
Keywords/Search Tags:OSEK/VDX, Simulator, RTOS, uC/OS-II
PDF Full Text Request
Related items