Development of Common Rail Diesel Engine ECU Assistant Debug System
- Author
- RongShiJin
- Advisor
- ZhuCheng
- School
- Jilin University
- Major
- Radio Physics
- Classification
- U464.172 Diesel engine
- Degree
- Master's thesis
- Year
- 2009
- Downloads
- 147
- Citations
- 3
Abstract
This project is one part of common-rail diesel engine development of FAW. The main content is to develop a set of intelligent debugging system according to the needs of FAW. This system can simulate and test the signals of the ECU facilitating the hardware and software debugging.Increasingly rigorous emission legislation and severe energy shortage force diesel to be developed for the objects of lower pollution, lower fuel consume and high power per weigh. However, the key to reduce emissions, improving diesel’s power and fuel efficiency depends on improving diesel’s combustion process. And among all of fuel injection system currently, diesel engine high-pressure common rail electronic control injection system is the most effective in emission reduction and engine performance improvement. The electronic control system is common rail diesel engine’s core technology and hardware basic. The design of the electronic control system will have a direct bearing on the quality of the diesel engine.During the development of common-rail diesel engine ECU, we request the ECU can deal with the sensor signal in variety of environmental, to ensure that the diesel engine electronic control system can work reliably under all conditions. However, during the software and hardware debug of ECU, it is difficult to issue the original car signal and the various electromagnetic valves, relays, etc. for the debug. Based on these disadvantages, some well-known automotive electronics developing companies abroad has developed their related analog signal detection system, such as Motorola and Bosch have developed their products. But due to the confidentiality of foreign automotive electronic technology and high product prices, the domestic automotive manufacturers are very difficult to use it. Therefore, the development of a low-cost , intelligent test systems for analog signal ECU hardware and software testing has a very important significance.This paper search some relevant information of the common-rail diesel engine electronic control unit at home and abroad, and find out the various types of sensors and load of common-rail diesel engine ECU and also develop a set of intelligent assistant debugging system according to the needs of FAW.This system can be controlled by MCU, and be designed in modular concept. It is a multi-CPU assistant debugging system which is made up of a number of micro-controllers .This system can simulate some sensor signals of common rail diesel engine’s ECU, including analog signal, switch signal, speed signal, crankshaft signal camshaft signal and so on. In addition, this system can test the control and display signal of ECU, including electromagnetic valve, relay signal and speed signal of the drive panel. This system can provide the CAN bus interface for ECU, simulate the CAN signal from other module, communicate with the ECU and know about the control information from ECU.This paper can simulate the adjustable frequency crankshaft speed sensor signal of hall style and camshaft speed sensor signal of magnetic-electric style, with MCU and related peripheral circuits, based on a detailed study of the hall sensor and magnetic sensor working principle and the basis of signal types. Crankshaft speed sensor signal is square-wave output with missing tooth structure. Its design is to use single-chip microcomputer in accordance with the frequency of the crankshaft signal calculated to achieve the turnover time. Camshaft speed sensor signal is the sine wave output with zero-point of identification. For camshaft signal output with the type of magnetic-electric, the design is to use MCU output the PWM signal with continuous duty cycle change, and through RC filter and the amplifier. This design has the characters of accurate output signal and simple hardware circuit. This is one innovation of this paper.At the same time, this paper simulate analog sensor signals which is the most common sensor signal of common-rail diesel engine ECU based on the referring to the relevant literature. There is a total of 16 analog sensor signals output. In this paper, the use of host microcontroller control ST7 MCU to output 16 adjustable duty cycle PWM signal through the SPI communication , and through the RC filter, amplifier, transistor emitter output, and taking fully account into the design of the system, such as short-circuit protection factors. Compared with the conventional D / A converters analog signals, the hardware design has a simple structure, low cost, reliability, etc. This is an innovative point of this paper.This paper also describes software design of the assistant debug system and main software modules of the system. This paper also describes the CAN communication design process in detail. The main control program of the Assistant debug system is modular design. That is, the system is divided into several functional modules. The main program only carry out scheduling function, and is responsible for calling the function module procedure. With the main cycle circling around, all the functional modules are called. The benefits of using this structure is all the modules are independent, and have clear procedures and simple logic.This paper also describes the CAN application-layer communication protocol and the CAN communication mechanism for receiving and processing of the assistant debug system in detail. About the CAN communication receive mechanism, this paper is use the interrupt and store the packet into the circle queue. About the CAN data process mechanism, the paper uses the method of inquiry flag in the main cycle. Idea of using the benefits of this design is separate CAN receive and CAN process, ensuring the reliability of the data communications and high-efficiency and avoiding the loss of packets.Common rail diesel engine ECU assistant debug system belongs to an intelligent tool for the automotive electronic development. It is a set of signal simulate and test system based on the common-rail diesel engine electronic control unit. It combines virtual instrument technology and field bus communications technology and so on. The framework is designed in blocking. And it breaks the complicated system into some relatively simple systems, provided with adequate hardware and software support. Through the use of assisted human-computer interaction interface, debugging system can simulate various sensor signals and detection of various common-rail diesel engine loads conveniently and quickly.
Table of contents
Summary 4-7
first chapter 7-12
1.1 topics relevant background 7-9
significance of 1.2 topics 9-10
1.3 subject content and the work done 10-12
the second chapter of the System Requirements Analysis and System Overview 12-17
2.1 system required to achieve the function outlined 12-14
2.2 System Architecture Description 14-17
Chapter III system hardware design 17-35
3.1 controller chip select 17-20
3.1.1 dsPIC30F6014A About 18-19
About
3.1.2 STM32F103VB 19-20
3.2 crankshaft and camshaft sensor signal hardware implementations 20-23
330 two-way frequency signal hardware implementations 23-24
3.4 analog signal hardware implementation 24-26
3.5 switch signal hardware implementations 26-28
360 two-way analog signal detection hardware implementation 28
370 six-way relay load detection hardware implementation 28-29
3.8 three PWM drive load detection hardware implementations 29
3.9 nine-way switch driver load detection hardware implementation 29-30
3.10 communication interface circuit design 30-32
3.10.1 CAN bus interface circuit design 30-31
3.10.2 K-LINE interface circuit design 31-32
3.11 hardware modules designed 32-33
3.11.1 key scan hardware circuit design 32-
3.11.2 rotary encoder hardware circuit design 32-33
3.12 system power supply design 33-34
3.13 system hardware anti-jamming design 34-35
the fourth chapter of the system software design 35-56
4.1 system software, the overall design 35-38
4.2 timer interrupt and relevant basis function 38-39
4.3 knob module programming 39-43
4.4 SPI communication program designed 43-45
4.5 system CAN communication program design 45-54
4.5.1 CAN Bus Overview 46-47
4.5.2 CAN bus communication protocols to develop 47-48
4.5.3 CAN controller initialization settings 48-49
4.5.4 system CAN software processing 49-54
4.5.5 CAN bus error handling mechanism 54
4.6 system software, anti-jamming design 54-56
Chapter V summarizes 56-58
5.1 summary of the papers 56-57
5.2 work Looking 57-58
References 58-63
Summary 63-66
ABSTRACT 66-70
Acknowledgements 70
Related dissertations
- Realization of Data Acquisition and Monitoring Systerm Based on Can Bus in Production Line
- Study on the structure and control system of a stack unit
- Design of Terminal Management System Based on ATmega16MCU for Foot Massage Service
- Development of Vehicle ESP System Based on MCU
- The Design of Small Coal Mine Remote Monitoring System Based on ARM
- The Foam Insulation Greenhouse Monitoring System Design
- The Design and Realization of Extended System in Distributed Firealarm System Based on Microcontroller
- The Design of Monitoring System for the Photovoltaic Plant Based on DSP
- Design and Application of the Distributed Monitoring System Based on Embedded Web
- The Design of Hybrid Electric Bus Data Acquisition and Test System
- Industrial Field Data Acquisition System Design Based on CAN Bus
- Design of the Hazard Source Monitoring System Based on CAN Bus
- The Design of Displacement Detection System Based on CPLD Grating Subdividing Technology
- Research on Data Acquisition System of Can Bus
- The Design and Implementation of Vehicle Data Acquisition and Communication Device Based on CAN Bus
- Design of Remote Monitoring System of Agricultural Field Information Based on GPRS Network
- Research of a System Integrated Rotational Speed and Temperature Measurement Based on MCU
- Design and Implementation of Intelligent Wiring Hardness Detection System
- The Wireless Temperature and Humidity Monitoring System Design
- The Design for Wireless Multiple Measuring System of Small Area Crop Growth Environment