Font Size: a A A

Design And Verification Of A Commercial Vehicle CAN Bus Gateway Based On OSEK NM

Posted on:2022-10-02Degree:MasterType:Thesis
Country:ChinaCandidate:K LvFull Text:PDF
GTID:2492306551481074Subject:Vehicle Engineering
Abstract/Summary:PDF Full Text Request
With the continuous development of the Internet of Vehicles and autonomous driving,in order to solve the problem of increasingly complex wiring methods due to the increasing number of electronic products on the car,the car field bus has become the choice of car manufacturers.The gateway can realize the communication function between different bus networks and has become an indispensable product in the car.OSEK NM(Open systems and the corresponding Interfaces for automotive electronics Network Management)is currently one of the most common network management strategies used by automobile manufacturers.It has the functions of real-time monitoring of the state of the automobile network,coordinating the sleep and wake-up of each node in the network,and fault diagnosis and recovery,which is beneficial to improve the safety,reliability and economy of the automobile.Therefore,it is necessary to conduct research on OSEK NM-based automotive gateways in engineering applications.The main content of this article includes:(1)The related principles of CAN bus and OSEK NM are introduced by consulting related references of automobile bus and OSEK NM,combined with CAN bus ISO11898 and OSEK 2.5.3 specifications.(2)Analyze the requirements of a commercial vehicle gateway system proposed by the manufacturer,including the network topology diagram of the gateway,DBC files,demand routing table and communication matrix,etc.On this basis,design the routing function of a commercial vehicle gateway and OSEK NM The overall plan.(3)The hardware system of the gateway controller adopts Freescale’s MPC5604 C chip as the main control chip,and carries out the design of related modules of the gateway controller,including MCU module,power module,CAN transceiver system,etc.(4)According to the overall plan of the gateway controller,the corresponding software design is carried out,including the gateway controller main program,message sending/receiving program,OSEK NM network opening/closing program,NMmain()program,related interrupt program and NMNormal/Limphome state transfer program,etc.(5)The routing table and DBC provided by the manufacturer build an automated routing test environment,and use CANOE software to write a routing function test script.(6)Manual testing and automated testing are used to verify the gateway controller routing function,and the test results meet the manufacturer’s design requirements;at the same time,automated testing has the advantages of wider testing points,higher efficiency,and easy observation and analysis compared with manual testing.Improve the reliability of the test.(7)Perform OSEK NM verification,including the verification of logical ring establishment,node skipping,message type,time parameters,and sleep flow.The results show that the design of OSEK NM meets the requirements of OSEK NM2.5.3.
Keywords/Search Tags:a commercial vehicle gateway, OSEK NM, MPC5604C, automated testing
PDF Full Text Request
Related items