Research and implementation of automotive electronic communication platform based on Model

Author
RenCong
Advisor
LuoLei
School
University of Electronic Science and Technology
Major
Computer System Architecture
Classification
TP311.52 Software Development
Degree
Master's thesis
Year
2012
Downloads
118
Citations
0

Request the full text

Abstract

With rapid development of the Electronic Technique, Automotive ElectronicTechnique become daily updated. The Car users ask for more application functions,which complicate the car’s software and hardware Architecture and the communicationbetween components. To solve the problem,Automotive network technologies that usedfor automotive communication application arise at the historic moment,and take anincreasing proportion in the technical composition of each Automotive Enterprise. InAuto field, as the continually aspire to the high-safety and high-performanceAutomotive products,the demand for reliable communication become stronger andstronger. The process of standardization speed up and more and more Automotivestandard drew up made the development of the Automotive Software became harder andharder. How to improve the efficiency of the application of the Automotive Electronictechnology and shorten the development cycle has become an important topic.This thesis explores and study the model development of the application incommunication of the Automotive Electronic Software,build an Automotive ElectronicSoftware platform that covers from the upper application to bottom realization. Theplatform use the Open Source tool OSATE to build a model and analysis the model, thiscould finish a lot work of the Automotive Electronic Software, such as the function andnon-function modeling,model analysis and verification. Then use the rule EngineDrools to realize the functions about Automotive Electronic Software codes, such asauto generation, debug and test. That make the development of the application ofAutomotive Electronic simple and highly active. At last, this thesis makes an explicitintroduction to part of the platform communication driver development.The main work of this thesis can be generalized as follows:Firstly,we use the MDA method to design and realize a code auto-generatedtool.The tool build a model by AADL language and analysis the model,then transformit into object through XMLSchema file. we change the object into C code by thefinished rules,the code call the interface and service which provided by com, realize thecommunication application. Secondly, we develop the SPI driver according to the AUTOSAR standard,andrealize SPI expand function. We package the other communication drivers through apair of SPI interface,and test the communication function of SPI interface.Finally,we use the BCM application as an example,which verify the platform’swhole workflow from model build to code generation.

Table of contents

Summary 4-5 ABSTRACT 5-11 first chapter 11-19 1.1 research background and significance 11 -13 1.1.1 research background 11-12 1.1.2 research significance 12-13 1.2 research status and development trend Status 13-18 1.2.1 research 13-16 1.2.2 topics trends research papers 16-18 1.3 and the main structure 18-19 1.3.1 thesis research 18 1.3.2 paper structure 18-19 chapter related technical foundation 19-26 2.1 AADL review 19-25 2.1.1 AADL background 19-20 2.1.2 AADL model elements 20 -25 2.1.2.1 assembly 20-22 2.1.2.2 features and sharing 22-23 2.1.2.3 association 23-24 2.1.2.4 mode 24-25 2.2 AUTOSAR 25 2.3 Summary 25-26 The third chapter analyzes the overall communications platform and design 26-29 3.1 platform overall analysis 26-27 3.2 platform overall design 27-28 3.2.1 tool chain design 27 3.2.2 communication process design 27-28 3.3 Summary 28-29 Chapter automatic code generation tools, design and implementation 29-44 4.1 COM components Profile 29-33 4.2 model element to the communication application code conversion rules 33-36 4.2.1 data 33 4.2.2 port 33 4.2.3 subroutine 33-34 4.2.4 related 34 <br / > 4.2.5 threads 34-35 4.2.6 process 35-36 4.2.7 combination of components 36 4.2.8 execution platform components 36 4.3 automatic code generation tools to achieve 36-43 4.3.1 AADL model to resolve 40-41 4.3.2 Drools rules engine 41-43 4.4 Summary 43-44 Chapter SPI driver development 44-63 5.1 SPI driver Profile 44 5.2 module functional division 44-46 5.3 main data structure 46-51 5.3.1 configuration data structure 46-49 5.3.1.1 Spi configuration type structure 46 5.3.1.2 serial structure 46-47 5.3.1.3 task structure 47-48 5.3.1.4 channel structure 48 5.3.1.5 external device structure 48-49 5.3.2 runtime structure 49-50 5.3.2.1 bus attribute structure 49-50 5.3.2.2 data transceiver structure 50 key data variables within the module 5.3.4 50-51 <br / > 5.4 module detailed design 51-61 5.4.1 module Design principles 51-52 5.4.2 module external interface and works 52-61 5.4.2.1 Spi_Init 52-53 5.4.2.2 Spi_DeInit 53-54 5.4.2.3 Spi_WriteIB 54 5.4.2.4 Spi_ReadIB 54-55 5.4.2.5 Spi_SetupEB 55-57 5.4.2.6 Spi_SetAsynMode 57 5.4.2.7 Spi_AsyncTransmit 57 - 58 5.4.2.8 Spi_SyncTransmit 58-59 5.4.2.9 Spi_GetStatus 59 5.4.2.10 Spi_GetJobResult 59 5.4.2.11 Spi_GetSequenceResult 59 5.4.2.12 Spi_GetVersionInfo 59 5.4.2.13 Spi_GetHWUnitStatus 59-60 5.4.2.14 Spi_Cancel 60-61 5.5 SPI board expansion 61-62 5.6 Summary 62-63 Chapter VI instance test 63-72 6.1 applications examples 63-67 6.1.1 test environment 66-67 6.1.2 test 67 6.2 SPI communications test 67-71 nbsp 6.2.1 test environment ; 67-68 6.2.2 test 68-71 6.3 Summary 71-72 Chapter 7 summarizes 72-73 7.1 summarizes topics 72 7.2 insufficient and Prospects 72-73 Thanks 73-74 References 74-77

Related dissertations

  1. A Design of SPI Dirver Referenced by AUTOSAR Structure
    GeChuanYang ·Jilin University ·2012 ·Master's thesis
  2. Application of model to measure credit risk of enterprises
    TaoYe ·Yangzhou University ·2013 ·Master's thesis
  3. Research on Distributed Industrial Signal Modularized Data Acquisition System Based on ARM
    CuiXiaoNan ·Hebei University of Technology ·2013 ·Master's thesis
  4. Design of I~2C/SPI Bus for Digital Output Sensor
    ZhangZuoYao ·Harbin Institute of Technology ·2012 ·Master's thesis
  5. Design and Implementation of the SPI-based Technology Windows Firewall
  6. Study on conversion and UML testing and model based on AADL
    LiuBo ·Shaanxi Normal University ·2013 ·Master's thesis
  7. Model-based Testing and Web Application Rapid Development Methodology
  8. Research and Implementation of the Development Platform Based on Model-driven
  9. Design and Implementation of a Multi-channel Stereo Audio Encoding System
    ZhangRuiSheng ·Tianjin University ·2012 ·Master's thesis
  10. Design of digital audio information monitoring system based on Embedded System
  11. Dynamic Changes of SOD Activity and MDA Content in Serum and Muscle in Rats during Fatigue Recovery Phase
  12. Effects of Different Training Intensity on Functions of Respiratory Chain and Free Radical Metabolism in Myocardial Mitochondria of Rats
    HuangCaiYun ·Northwest Normal University ·2013 ·Master's thesis
  13. Multimodal Discourse Analysis of the Interactive Meanings of English Printed Food Advertisements
    ChuYunYun ·Central China Normal University ·2014 ·Master's thesis
  14. A MB-based Study of Humor-generating Mechanism in Sketches
  15. Poetic and Pictorial Language:Interpreting Wang Wei's Poetry and Its English Versions from the Perspectives of Multimodality and Cognitive Poetics
    YangDi ·Yanshan University ·2013 ·Master's thesis
  16. The Protective Effect of17-β Estradiol in the Procesof Oxidative Stress of Tao Fibroblasts
    MingJian ·Second Military Medical University ·2013 ·Master's thesis
  17. The Effect of Lipoic Acid on the Level of SOD、MDA、P-CREB of the Rats with Alzheimer's Disease
    ZhangXueRu ·Hebei Medical University ·2014 ·Master's thesis
  18. The Effect of Dexmedetomidine on the Content of SOD、MDA and the Expression of iNOS in the Hippocampus of the Electrical Kindled Epilepsy Rat
    FuLan ·Hebei Medical University ·2014 ·Master's thesis
  19. Effects of Pretreatment with Etomidate on the Contents of ALT、AST、MDA and SOD of Dogs with Hepatic Ischemia Reperfusion Injury
    WenZhe ·Shanxi Medical ·2013 ·Master's thesis
  20. The Protective Effect of Lipoic Acid on Paraquat-induced Renal Injury in Rats by Activating Nrf-2/HO-1Signal Pathway