Font Size: a A A

The Osek Oil Configurator Applications

Posted on:2010-07-26Degree:MasterType:Thesis
Country:ChinaCandidate:E T ChenFull Text:PDF
GTID:2192360278976275Subject:Computer application technology
Abstract/Summary:PDF Full Text Request
To address the problem of the great increase and the duplicate development of the software contented in electronic control units(ECU), the OSEK/VDX(referred as OSEK)standard was developed by the European automotive industry.OSEK is an open system with standard interfaces, dedicated to automobile electronics. The OSEK standard architecture includes the OS standard, the COM standard, the NM standard and the OIL standard. The OIL (OSEK Implementation Language) standard provides a standard method for describing an application. It can improve the portability of ECU applications. If an application is described in OIL language, it can be easily ported from one OSEK platform to another, almost making no change. However, the OIL standard just provides the grammar and semantics of the language. The configure file of an application can be handwritten, or be generated by tools. If the configure file is created handwritten, the application developer have to be familiar with the details of OIL grammar and the semantics of all kinds of objects. So it is usually not very easy and error-prone.The research of this paper focuses on the topic of OIL configurator. Firstly, the four components of the OSEK standard are introduced briefly, and the OSEK Implementation Language standard is analyzed in emphasis. Furthermore, the way how to describe all kinds of OSEK OS objects of applications in OIL language is illustrated. Secondly, Trampoline-a kind of open-source OSEK operation system is analyzed in detail. By understanding the source code of Trampoline OS kernel, the mechanism of kernel scheduling, task management, ISR management and alarm management is made clear. The research platform and experimental environment is put up. Thirdly, a graphical OIL configurator is developed based on XML technology. The configurator uses XML file as intermediate data to save the user's configure data, and the problems of creating handwritten configure files are avoided. The configurator we developed takes advantage of XML Schema file to verify the application definition data. This is what it is different from other configurators developed based on XML technology. It can simplify the logic and improve the extendibility of the program. Fourthly, the configurator is implemented under VC++6.0 IDE. Test results show that the configurator is easy to use and runs stably. It can facilitate the development of OSEK applications. Finally, a car window lift demo program is designed. It is based on Trampoline OS and COM. Its configure file is produced by the configurator we developed. According to the program framework the configure file provides, the control program is implemented. Test results show that the window lift program runs well. It can be seen from the demo program that the configurator we developed can facilitate the creation of OIL configure file of OSEK applications. It is easy to use and practical. The wide application prospect of the configurator we developed in OSEK application development can be foreseen.
Keywords/Search Tags:OSEK, OIL, Configurator, Trampoline, XML
PDF Full Text Request
Related items