| With the advancing of science and technology, more and more electronic products appear on the vehicle, becoming more powerful. It leads to the car becoming more and more high control precision, driving performance is getting better and better. But at the same time a series of problems also is coming during the design. Such as the increase of the complexity of the control algorithm, repeat development cost, different vendors microcontrollers incompatibilities and so on. OSEK standard proposed can well solve these problems. OSEK standard is dedicated to provide the operating system of the automobile industry standard, it can increase the portability of automotive application software and repeated development, reduce development cycle and cost. OSEK operating system is an object management system, is a good way to manage application tasks and hardware resources.At present, the high pressure common rail electronic control system is one of the diesel engine development milestone. It can accurately control the fuel injection quantity, injection pressure. It can flexibly inject many times and it can reduce emissions caused by the pollution. Due to complex of control algorithm and high real-time performance of the high pressure common rail diesel engine electronic control system, it needs to use a reasonable operating system to manage. In this paper, high pressure common rail fuel injection control system is established with OSEK operate system. The running mechanism of OSEK operating system is analyzed, task management, interrupt processing, ect. And then the engine’s fuel injection law and injection process are analyzed with data. According to the high pressure common rail fuel injection control algorithm, using the object-oriented method, multiple tasks and interrupt are established. And the relationship of them should be connected. According to fuel injection law and multiple factors, the scheduling process of the tasks and interrupt are established.Under the condition of high speed diesel engine, execution time of control algorithm and injection time must meet certain requirements. Using analysis time function of RTA OSEK software of ETAS, the execution time of tasks and interrupts is estimates setting. Through the software analysis, the result show that the execution process of the high pressure common rail fuel injection control system meet time requirement. Also the CPU usage of minimum frequency is calculated, ect. |