The topic discussed in this paper is from the cooperation project betweenJILIN UNIVERSITY and FAW R&D Center. Achieving the requirements ofFAW R&D Center and the demand for auto engine ECU's debugging andtesting, this signal source can help the engineers debug and test bothhardware and software of engine ECU.ECU which brought from electronic control skills is the core of automotiveelectronic control system, it's including micro controller, input, output systemand control circuit etc. After the input signal processing, according to thememory of the programs and related data, calculating and making algorithmprocess. Finally, controlling fuel injectors, ignition controller and many otheractors. The above is the simple ECU's workflow.Generally, automobile working conditions are bad and changing, so theproduct's development of the engine ECU is difficult. ECU must work well ina variety of temperature , humidity and violent vibration under suchcircumstances environments. Development of engine ECU in the process, toensure that the ECU can work in all of its reliable operation, it should dosoftware and hardware debugging and testing in the correspondingenvironment. This topic is for the exploitation of auxiliary automobile ECU,and it's capable of detecting engine ECU hardware or software flaw. Also, itshould be convenient for developers who repair it.In the process of debugging ECU, we can not do testing in the real carengine environment or the real vehicles of all kinds of sensor signal sent toECU commissioning. Due to the laboratory condition and trial of costinvestment restrictions, developers are also difficult for creating the vehiclereal working environment. In addition, for testing the ECU's stability, weshould do aging testing- let its imitate true condition test its running long timework performance. In view of the above situation, we developed auxiliary debugging system. Its including signal source and load cases and the manmachineinterface which is the linkage with equipment.Source and load cases of equipment can simulate the real engine ofsensor signals. The man-machine interface can make the debuggingprocess more intuitive and persuasive. Based on the demand of the systemrequirements, I refer to a large amount of relevant material, making fullpreparations. This topic's hardware use STM32F107 microcontroller whichhas both CAN interface and USB interface, using its CAN interfaceconnecting the source and load case's CAN bus of the auxiliary debuggingsystem, using its USB interface connecting computer's USB interface. I dodata transmission through the custom CAN - USB communication protocol,then use VC+ + for PC man-machine interface development which can dodata displaying and other treatment. In addition, I set controls for specificcontrol system to transmit commands for the auxiliary debugging machine inthe Windows. USB interface has advantage in communications rate and it isconvenient using. Using the Measurement Studio controls from NI companygreatly shortened development cycle. This topic mainly aims at the linkagecommunications part and man-machine interface.Since the system's development, we can get bad environment conditionsof the relevant information through its simulation. It also improve the safetyof the ECU development process and save the engine ECU developmentcycle. The topic constructs the PC platform, greatly improving the car engineECU's software and hardware debugging and testing, it's also good for thescene debugging and rapid diagnostic work. |