Font Size: a A A

Design And Implement Of CAN Communication Based On AUTOSAR

Posted on:2018-04-24Degree:MasterType:Thesis
Country:ChinaCandidate:S YangFull Text:PDF
GTID:2322330512471705Subject:Electronics and Communications Engineering
Abstract/Summary:PDF Full Text Request
With the continuously improved demands of security and comfort in the vehicle,On the one hand,the electronic control unit,varieties of chips and circuits become more and more complex,on the other hand,due to the development of vehicle electronic software most used private solution,it makes poor product portability,with the result that the corresponding development and maintenance become more difficult.Vehicle bus CAN technology and AUTOSAR development standard make it possible that improve software reuse and reduce the costs of development and maintenance of vehicle electronic control system.The thesis takes into account the requirements of the actual project,AUTOSAR software architecture and CAN communication development foundation are studied,a car electronic control software architecture is given based on the automotive instrumentation and body control applications.Then,after the definition of the data format for the software architecture application layer,a general CAN driver communication protocol is proposed,communication system between the upper and lower computer,AUTOSAR-CAN communication from inter-node driver development are design and realized.CAN communication is done that upper computer control lower the machine between the different platforms,that is,by building a hardware platform and software programming,and then to achieve the car lock,unlock tips and far and near light,left and right turn lights and other car dashboard and body control.Hardware environment uses two sets of hardware platform of Cypress,its peripheral circuit mainly includes power supply circuit,UART communication circuit,CAN bus data transceiver circuit,LED lamp circuit.The communication between nodes is for portability issues,from the CAN drive function function definition,trigger mechanism,parameter configuration,etc,the design and development method of CAN driving module for general control of automobile electronic control system is given and realized,by calling the CAN driver module interface function to achieve the CAN communication interrupt mode enable or disable,CAN controller mode switch,modify the baud rate and other functional control.Experimental results show that CAN communication drive module can meet the actual needs of the changes.Finally,in the thesis through the construction of hardware test platform and software testing code,the test and analysis of the developed AUTOSAR-CAN communication system are realized.The test platform consists of CANoe software upper computer,VN7600 and hardware development board.The software test includes the data transmission and transmission function of the CAN driver module,the function of error reporting and development error tracking module,the data transmission and reception function under different baud rate,and the wake-up function.Hardware and software joint debugging are used to achieve the CAN communication control system of the upper computer to the lower computer platforms.The test results show that the developed AUTOSAR-CAN communication is valid.
Keywords/Search Tags:AUTOSAR, CAN communication, PC, driver, control system
PDF Full Text Request
Related items