Font Size: a A A

Research And Implementation Of Communication Module Based On Autosar

Posted on:2013-05-25Degree:MasterType:Thesis
Country:ChinaCandidate:X Y LiFull Text:PDF
GTID:2248330374485372Subject:Computer system architecture
Abstract/Summary:PDF Full Text Request
With the automotive industry’s evolution, people put forward new demands andnew expect about automotives power, intelligence and comfort constantly. Automotiveelectronics are born precisely to address these needs. But, automobile industry’sdevelopment began late in China, the automotive electronics industry has just startedtoo, there’s a huge space to fill with China’s automotive electronics industry.This thesis is precisely for the idea to develop more efficient, more portableautomotive electronics software, on the basis of the research of foreign automotiveelectronics development, application on AUTOSAR specification and the commonlyused bus protocol in automotive electronics field-Local Interconnect Network (LIN),and with reference to the AUTOSAR specification, realized the LIN bus protocolcommunication system based on AUTOSAR specification.The communication system in this thesis uses a hierarchical, modular design ideas;given the LIN bus protocol driver layer, LIN bus protocol interface layer and the LINbus protocol state management’s implementation method, data composition, as well asthe logic of some the scenarios process. Communications services layer consists offour modules of the Diagnostic Communication Management (DCM), Protocol dataunit routing (PDUR), Communication (COM), and the LIN state management(LINSM). There into, PDUR manage each packet’s routing; COM is responsible forthe interaction of the upper layer application, when data is received, put the I-PDU(Interation Protocol data unit) data to PDUR and rout to under layers, also get datafrom PDUR which come from under layer, i.e., LIN bus protocol module exchangedata with upper layers via COM; DCM manage diagnosis message and the huge datacommunication; LIN bus protocol state management is used to manage the entire LINbus state (sleep and wake up).The main content of this thesis is summarized in the following areas:1、 Analyses of the AUTOSAR specification system architecture, the LIN busprotocol, and with the reference to the AUTOSAR specification design the systemarchitecture of the LIN bus protocol module. This communication system is independent of the underlying hardware and the operating system, has goodportability and scalability.2、 Realized the code of the LIN bus protocol communication system based onAUTOSAR specification, this communication system supports communicationwith slave nodes which fit LIN2.0standard, supports dynamic increase or deleteslave nodes, with configurable features.3、 Analyses of MISRA (The Motor Industry Software Reliability Association)specification, used the tools of MISRA specification to testing the LIN busprotocol driver and LIN bus protocol interface code, and resolved the problemswith the corresponding specification.4、 Tested with KVASER tool, based on FreeScale’s9S12XEP100platform。KVASER tool is considered as slave nodes in testing, and the result presents thatwith dynamically add and delete slave nodes, the entire LIN bus protocol networkis running well, the normal send and receive data, no missing or error of frames.Use the LINSM to manage the entire bus network state, sent sleep command to letthe bus goes to sleep, sent wake-up command to make the bus to wake up fromsleep.5、 Did functional and conformance testing on LIN bus protocol driver, LIN busprotocol interface and LINSM, all cases passed the tests.
Keywords/Search Tags:Automotive electronics, AUTOSAR, LIN, communication protocol
PDF Full Text Request
Related items