The OSEK OIL Configurator Research and Application

Author
ChenErTao
Advisor
XuYuBin
School
Taiyuan University of Science and Technology
Major
Applied Computer Technology
Classification
U463.6 Electrical equipment and accessories
Degree
Master's thesis
Year
2009
Downloads
92
Citations
3

Request the full text

Abstract

A significant increase in to solve automotive electronics applications and duplication of development issues, the European automobile industry development for automotive electronics, with a standard interface open systems -OSEK/VDX standard (referred to as OSEK standard). The OSEK standard system including the operating system (OS) standards, the standards, network management (NM) of the communication (COM) standards and the OSEK achieve languages ??(OIL) standard. OIL (OSEK Implementation Language) standard provides a standard method for a description of the application, the automotive electronic control unit (ECU) application portability. If an application described OIL language, then it can be easily ported from one OSEK platform to another OSEK platform, almost do not need to make any changes. However, OIL language only provides a description of the syntax and semantics of the application, if handwritten description file development applications, due to the the OIL syntax complexity and variety, making the program development more difficult and error-prone. In this paper, OSEK OIL configuration. First, the paper describes the various components of the OSEK standard, the focus of one of the the OSEK OIL Standards, as well as how to use the OIL language OSEK OS systems in a variety of object definition language to describe the application to use OIL laid the foundation. Secondly, the analysis of an open source OSEK operating system-Trampoline is. Through its in-depth analysis of the kernel source code, a detailed analysis of its kernel scheduling, task management, interrupt management, alarm management implementation mechanisms, structures OIL configurator platform for research and experimental environment. XML-based technology to design a graphical OIL configuration. This configuration uses an XML file is stored as the intermediate data, avoid directly generate text format OIL configuration file causes the program to achieve the complex, poor scalability problems. Unlike the existing the OIL configuration design method based on XML technology, the paper added XML Schema file on the application of the definition of configuration data validation logic simplifies the program to further improve the scalability of the program. Fourth, the use of VC 6.0 graphical OIL Configurator. The test results show that the stable operation of the Configurator, simple and easy-to-use, convenient application development. Finally, an application example of a window lift control procedures. In this paper, the design of the program based on the Trampoline OS and COM OIL configuration to configure, and generate the desired OIL configuration file. Under the framework of the procedures provided in the configuration file, the window lift control program function module implementation. The test results show that the control program is running normal, indicating that the OIL configuration designed in this paper can easily be user configuration into the OIL description file of the application, and the operation is simple, practical, OSEK application development has a broad application prospects.

Table of contents

Chinese Abstract 3-4 ABSTRACT 4-9 first chapter 9-15 1.1 research background and significance 9 -11 1.1.1 OSEK standard describes 9-10 1.1.2 Significance of the Research 10-11 1.2 research status 11 -12 1.3 research 12-13 1.4 thesis is organized 13-15 Chapter OSEK OIL standard analytical 15-25 < br /> 2.1 OIL language 15-16 2.2 OIL file basic definition 16-19 2.2.1 Basic Concepts 16-17 2.2 .2 OIL file structure 17 2.2.3 OIL syntax 17 2.2.4 implementation-defined 17 2.2.5 application definition 17-18 2.2.6 dependencies between attributes 18 2.2.7 automatic attribute assignment 18 2.2.8 Property Default 18-19 2.2.9 contains mechanisms 19 2.2.10 Notes 19 2.2.11 Description 19 2.3 OIL objects Definition 19-23 2.3.1 General rules 19-20 2.3.2 CPU object 20 2.3.3 OS objects 20-21 2.3.4 APPMODE object 21 2.3.5 TASK object 21 2.3.6 COUNTER object 21-22 < br /> 2.3.7 ALARM object 22 2.3.8 RESOURCE object 22 2.3.9 EVENT object 22-23 2.3.10 ISR object 23 2.4 implementation-specific definitions 23-24 2.4.1 Attribute Type 23 2.4.2 Data Types 23-24 2.5 using OIL language describes the application 24 2.6 Chapter Summary 24-25 Chapter Trampoline OSEK operating system research 25-33 3.1 OSEK operating system related work 25-26 3.2 OSEK OS and Trampoline design and implementation analysis 26-32 3.2.1 Scheduling Mechanism 27-28 3.2.2 Task Manager 28-29 3.2.3 Interrupt Management 29-31 3.2.4 Alarm Management 31-32 3.3 on Linux/x86 platform development Trampoline applications 32 3.4 Summary 32-33 Chapter OIL Configurator Design and implementation 33-57 4.1 OIL configurator needs analysis 33 4.2 technology program 33-35 4.2.1 generated directly OIL file exists problems 33 4.2.2 uses an XML file as an intermediate data format 33-35 4.3 OIL Configurator outline design 35-36 4.4 OIL Configurator for the detailed design and implementation 36-50 4.4.1 graphical input module design and implementation 36-41 4.4.2 implementation-defined modules are designed to save and implementation 41-42 4.4.3 save the application definition module design and implementation 42-44 4.4.4 application-defined authentication module design and implementation 44-47 4.4.5 OIL file generation module design and implementation 47-50 4.5 Test 50-56 4.6 Chapter Summary 56 -57 chapter Application Examples - Window Regulators control procedures 57-76 5.1 LIFTER control program needs analysis 57 5.2 Window Regulators Control program design 57-66 5.2.1 System tasks into 57-58 5.2.2 Control Task ControlTask ??design 58-60 5.2 .3 window lift control program uses other OSEK object design 60-61 5.2.4 Using OIL configurator window lift control application configuration 61-66 <br / > 5.3 to achieve the main program window lift control 66-72 5.3.1 InitTask task to achieve 67 5.3.2 InputTask task to achieve 67 < br /> 5.3.3 ControlTask ??task to achieve 67-71 5.3.4 MotorDriveTask task to achieve 71-72 5.3.5 LockTask task to achieve 72 5.3.6 StallInt interrupt service implementation 72 5.4 LIFTER control testing procedures 72-75 5.4.1 test environment 72-74 5.4.2 Test Results and Analysis 74-75 5.5 Chapter Summary 75-76 Chapter Summary and Outlook 76-78 6.1 Summary 76-77 6.2 Prospects 77-78 References 78-81 participation during the reading of research and papers published by 81-82 Thanks 82-83

Related dissertations

  1. Risk Assessment and Countermeasures of the Safety about Our Country’s Oil Trade on Sea under Supply Chain Perspective
    LiShuangHong ·Ocean University of China ·2013 ·Master's thesis
  2. Oil,Sugarcane Ethanol and China’s Sugar Market
    HuangChunQuan ·China Agricultural University ·2014 ·Doctoral dissertation
  3. Design and Implementation of the XProc Processor Based on.NET
  4. Design and Implementation of the XML Document Processing System Based on Xproc
  5. Research of Web Information Extraction Based on XML
    ZhengBangXi ·Dalian Jiaotong University ·2013 ·Master's thesis
  6. Research of Information Extraction from Web Documents Based on Tree Automaton
    YangFan ·East China Jiaotong University ·2013 ·Master's thesis
  7. Research and Application of Information Retrieval Based on XML Document
    HuZuoZuo ·Shandong University ·2013 ·Master's thesis
  8. Research of Keyword Query Processing on XML Data
    ZhaoXingMin ·Yanshan University ·2013 ·Master's thesis
  9. Research on Subtree Results Generation of XML Keyword Search
    WangBo ·Yanshan University ·2013 ·Master's thesis
  10. Results Diversification for XML Keyword Search Based on Semantics
    SongYuLing ·Beijing Jiaotong University ·2014 ·Master's thesis
  11. Agent-based Research and Implementation on Simulation Modeling and Scenario in Battlefield Environment
  12. Analog Electronic Technology Experiment Based on Virtual and Practicality Combined Lab
    HeZhenLei ·Zhejiang University ·2013 ·Master's thesis
  13. Power Electronic Remote Experiment Under Virtual and Reality Combination Framework
    ShenZhangBiao ·Zhejiang University ·2014 ·Master's thesis
  14. Research and Implementation of Keyword Query Technique in a Seamless Intergrated Relation-XML Database System
    ZhaoLi ·Northeastern University ·2011 ·Master's thesis
  15. The Design and Implementation of WebDAV Service in XML Database
  16. Research of Heterogeneous Database Integration Based on Web Service and XML
    XiaMinNa ·Hunan University ·2012 ·Master's thesis
  17. Research on Encoding and Query Process Technology for Continuous Uncertain
  18. Research on XML Data Cube Based on Tree Structure
  19. XQuery Query Processor Design and Implementation
  20. Research and implementation of group production information integration management