Font Size: a A A

Module Design Of J1939 Communication And Diagnosis Based On AUTOSAR

Posted on:2020-08-10Degree:MasterType:Thesis
Country:ChinaCandidate:Y L LiangFull Text:PDF
GTID:2392330575469950Subject:Software engineering
Abstract/Summary:PDF Full Text Request
With the development of Internet technology and autonomous driving technology,the concept of "Software Defined Vehicle" has become more and more obvious for automotive electronic control unit software.Software-driven automotive electronics technology revolution,leading the development direction of automotive electronics products,is gradually becoming the basis and core of automotive intelligent and information development.In recent years,the automotive software design concept based on AUTOSAR(AUTomotive Open Software Architecture)has gradually become the mainstream automotive software development method and standard.Therefore,we only need to rely on different MCAL(microcontroller abstraction layer).)to achieve the development of electronic control systems.In the development of automotive electronic software,AUTOSAR's architecture largely solved the reusability of software.This makes the upper application software of the automotive electronic control system independent of hardware development,and the benefit is that the isolation of the system hardware and software will be better.The J1939 communication protocol stack can provide data transmission and reception interfaces to the application layer on the basis of the CAN bus,including necessary flow control,error control and synchronization operations,and can implement broadcast BAM and point-to-point CMDT transmission according to the configuration.The J1939 diagnostic layer is more application-oriented,based on the communication layer to achieve the transmission and acquisition of various diagnostic codes.Based on the AUTOSAR architecture,this project implements the data transmission and diagnostic functions of J1939.It is hoped that the versatility and reusability of the J1939 protocol stack can be enhanced,and a large number of test cases are designed based on CANoe devices for testing and development.CANoe itself has programming and simulation functions that can be used to simulate the signals generated in real-world environments,which brings great convenience to debugging.In addition,the requirements analysis document,detailed design specification and software architecture of the J1939 Tp and J1939 Dcm modules were written.Based on the modularization idea of AUTOSAR,the traditional automotive electronic software can be modified to be less versatile and difficult to maintain,and the module can be scaled horizontally.The main innovations of this paper are as follows:1.The state machine driven idea is used in the process of protocol stack coding implementation,which makes the whole architecture particularly clear.The standard input and output greatly reduce the coupling between modules,and it is convenient for maintenance and later testing.2.Compared with the traditional J1939 protocol stack,it can shield the difference of the underlying hardware,that is,regardless of the underlying chip type,avoiding the trouble caused by the production cycle of a certain chip,which is also the AUTOSAR architecture brought to automotive electronic software.Change and advantage.3.The more modular design concept,each module design follows the hidden implementation details only provide the interface design mode,porting the Internet programming ideas to automotive electronic software development.Moreover,each module retains a large number of configuration parameters,allowing flexible use of each module.
Keywords/Search Tags:CAN bus, AUTOSAR, J1939Tp, J1939Dcm
PDF Full Text Request
Related items