| In recent years,with the rapid development of Vehicle industry and electronic control technology,the performance of vehicles has been greatly improved.At the same time,the electronic control structure of vehicles has become more complex,and the possibility of vehicle failure has increased.At present,there are many kinds of vehicle faults.Engine failure will bring driving safety hazards,fuel supply system,exhaust gas recirculation system failure will cause air pollution.Therefore,this paper studies and designs a vehicle fault diagnosis system based on cloud platform.This system can not only diagnose vehicle faults,but also show the vehicle work and fault conditions to users,so as to reduce traffic accidents and air pollution caused by vehicle faults.Moreover,the data provided by this system can also serve as a reference for vehicle regulatory departments and maintenance organizations to test vehicle performance.The main work of paper is as follow:(1)Introduction.This paper introduces the research background and significance of the subject,and puts forward the main content of this paper after understanding the development of onboard vehicle diagnosis at home and abroad.(2)The overall scheme and key technologies of the system.Based on the requirements,the overall scheme of the system is put forward,and the keytechnologies needed for the development of the system are introduced.The system is mainly composed of vehicle fault diagnosis terminal,server and client.The terminal is responsible for collecting vehicle electronic control unit information and sending the information to the server after encapsulation.The server parses the information and uploads the data to the cloud database.The client can get vehicle status,fault code and other information by querying the cloud database.Key technologies including OBD-Ⅱ related technologies,NB-IoT wireless communication technology and relevant technology of cloud platform.(3)Design of vehicle fault diagnosis terminal.This part completes the design of the hardware and software of each module of the vehicle fault diagnosis terminal.After designing the power module,ELM327 vehicle data acquisition module,STM32 main control module and NB-IoT wireless communication module,the embedded software is developed to realize the function of collecting vehicle data and uploading the data to the server through NB-IoT wireless communication.(4)Design of server and cloud database.A server is developed based on Aliyun.The server uses Socket communication to receive the data stream sent by the vehicle fault diagnosis terminal,and stores the parsed data stream to the cloud database.(5)Design of client software.By accessing the cloud database,the computer client can query the relevant status data of vehicles and managepersonal information.(6)Experimental test and analysis.The ELM327 vehicle data acquisition module,NB-IoT wireless communication module,server and client are tested.The experimental results show that the ELM327 vehicle data acquisition module can successfully collect the vehicle information such as the fault code,the NB-IoT wireless communication module can communicate with the remote server normally,the server can correctly analyze the data such as the fault code and upload the data to the Ali cloud database,and the client can read and display the vehicle data and complete the function of querying the vehicle fault and driving data.The system designed in this paper has realized the collection of vehicle data such as fault code,remote transmission and query of data and other functions.The system has certain application value,and the operation interface is friendly and convenient,which can realize the requirements of vehicle fault diagnosis. |