The MCGS configuration software and data acquisition card are used to monitor the running status of the vehicle fuel injection system in real time, providing a large amount of valuable data for the research and analysis of the ECU. It has the advantages of easy regulation, good repeatability and unlimited expansion of the test range. The teaching research of automobile fuel injection system provides a good means to use in automobile teaching and receive better teaching results.
This article refers to the address: http://
1 Introduction
The wide application of electronic control technology in automobiles has brought difficulties and difficulty in learning for car maintenance personnel. Especially the automobile fuel injection system, the structure is closed and the composition is complex. It is the core of the whole car and also the difficulty for the students to learn. The hardware system composed of MCGS configuration software and data acquisition card realizes dynamic test of engine ECU in off-line state through MCGS interface parameter setting, real-time fault detection, fault diagnosis and fault simulation, providing a large number of research and analysis ECUs. The value data has the advantages of easy regulation, good repeatability and unlimited expansion of test range, which provides a good means for the teaching research of automobile fuel injection system.
2 system hardware components
The vehicle fuel injection real-time monitoring and simulation teaching system consists of Beijing Kunlun state MCGS configuration software and Taiwan Advantech PCL series data acquisition card, Toyota 4-cylinder EFI engine, Toyota car computer (ECU) and Other vehicle fuel injection system teaching board. The system composition is shown in Figure 2.
MCGS is a platform based on Windows 95/98/ME/NT/2000 operating system. It is used to quickly generate the configuration software of the host computer monitoring system, support various hardware devices such as acquisition boards, and has data acquisition, real-time and history. Data processing, alarm, animation graphic display and report output. High-performance, high-speed multi-function data acquisition card for PC using Taiwan Advantech Co., Ltd.: a 4-channel 8-bit analog input module to achieve fuel injection volume, exhaust oxygen content, and coolant temperature , intake air temperature, intake pressure, air flow sensor analog data acquisition; two 8-channel switch input modules for data collection of ignition valve, idle speed stability valve, throttle position and crank position sensor; The ISA bus can interconnect the acquisition system with the upper monitoring host, realize the operation of the upper monitoring and acquisition board, detect the parameters of the acquisition board and control the operation of the acquisition card.
3 system structure design
The MCGS configuration software is used for system development, realizing user graphic display, data saving, report and curve formation, real-time data exchange between VB environment and MCGS software through MCGS configuration software interface parameter setting, using data acquisition card driver The program directly collects the on-site signal and displays it in the configuration diagram window to realize online real-time detection. The system interface block diagram is shown in Figure 3.
According to the measurement requirements, call the sub-window in the configuration software device window—device management, call the Advantech acquisition board driver to complete the analog input and the signal connection of the input channel. through
Driven by the Drivers program compiled in VB language to realize data acquisition, complete screen editing, data processing, etc. In the MCGS runtime environment, the interface is invoked according to the specified acquisition cycle.
The interface program is compiled as follows:
alngDat aFLag-Long array, whether the data corresponding to the channel of the device should be processed, generally not used.
The array of alngDataVaLue-Single, the value of the numeric channel corresponding to the device. When the channel is a character, it indicates the position of the channel value in the astrDataString array.
astrDatsString-String array, the value of the device corresponding to the character channel;
CollectDevDat=0 - The collected data is valid, but only the returned input data is processed.
CollectDevDat=1 - The collected data is valid, but the returned input data is processed.
CollectDevDat=2-The collected data is invalid and does not need to be processed.
CollectDevDa t = -1- device failure.
CollectDevDat=-100-Device failure, but return the value of channel 0, use 0 channel to indicate the specific information of the fault.
Dim strlommOrder As String
Dim strReturn DAs String
Dim IngReturn As Long
Dim Inglndex As Long
Dim IngDoAs Long
Strcomm Order=“$â€+Right(“00â€+Hex) (g_lngDevice Address), 2)+“6â€
IngReturn=FetchDataFormComm[m_IngCheckFlag,m_objCommParent,strCommOrder,strReturnData]
If lngReturn <>o Then GoTo PROC_EXIT
The main program of the system adopts the sequential query mode and is divided into three parts: (1) System initialization, making necessary settings for the system. (2) System control, according to the position of the switch of the system “monitoring detection/simulation simulation operation modeâ€, select “monitoring detectionâ€, A/D, D/A board to collect, process and display engine parameters and status, and Alarm and processing the abnormal state. At the same time, the collected parameters and status data are stored in the designated data area communicating with the upper monitoring host for calling during communication. (3) In the “simulation simulationâ€, the A/D board collects the engine parameter quantity, simulates the various operating parameter quantities of the engine, and stores the collected parameters in the specified communication with the upper monitoring host. In the data area, so that it can be called during communication. The system program flow is shown in Figure 4.
4 Teaching application
With the intuitive and convenient MCGS man-machine interface and operating environment, detailed data and intuitive process screens can be accessed with the click of a button:
(1) After the system starts, enter the system home page;
(2) Click the icon or button to realize the dynamic simulation display of each sub-process screen, and display the corresponding process and working conditions on each screen;
(3) Real-time curve display of analog input and output signals;
(4) Real-time curve display of digital input and output signals;
(5) Switch between all flowcharts;
(6) Parameter alarm prompt.
For example, when a modern car ABS indicator light is on, analyze the fault, first check the wheel speed sensor, remove the dust and oil on the surface, the indicator light is still bright; then detect the wheel speed sensor signal waveform, and compare the measured waveform with the historical waveform In contrast, it is found that there is an abnormality. The historical signal waveform is shown in Fig. 5(1). This signal belongs to the AC signal. The waveform of this kind of signal is symmetrical on the zero line, that is, the amplitude of the peak is the same, between the two pulses. The time and shape are consistent and the frequency will increase as the vehicle speed increases.
Fig. 5 (2) is the detected wheel speed sensor failure signal. The peak of this signal is uneven, which indicates that the core is in contact with the magnetic wheel, and the peak of the signal indicates that the magnetic group is damaged. After replacing the new wheel speed sensor, the fault disappears.
5 Conclusion
Real-time monitoring of the operating status of the vehicle fuel injection system using MCGS configuration software and data acquisition card, real-time fault detection, fault diagnosis, fault simulation, providing a large amount of valuable data for research and analysis ECU, easy to regulate, repeatability Good, the test range can be extended infinitely, etc., which provides a good means for the teaching research of automobile fuel injection system. It is used in automobile teaching and receives good teaching results.
Iron Powder Core,High Quality Iron Powder Core,Iron Powder Core Details, Huzhou Kade Electronic & Technology Co., Ltd.
Low Frequency Transformer Co., Ltd. , http://www.chinaferritecore.com