An unique diesel engine electronic control system has been developed, which contains two distinctive features.Firstly, the delivery type fuel injection pump has an electro-magnetic valve to control the quantity of fuel injected. This valve is then acutuated to ensure that the timing of the high pressure fuel flow out stops the fuel injection. In the previous diesel electronic control system, the fuel quantity control was effected via the position control of a mechanical spill ring. Since timing control is more suitable than position control for handling by a microcomputer, the electro-magnetic valve is able to control the quantity of fuel injected more precisely, whilst consisting of a simpler structure.Secondly, an optical combustion timing sensor is able to detect initial combustion timing by sensing the light of the combustion flame in the combustion chamber. Using the signal from the sensor, the microcomputer then exerts a compensating control over the fuel injection timing. Injection timing control using this optical combustion timing sensor, prevents changes in fuel property and/or atmospheric conditions from influencing engine performance.The structure and functions of this system are described in the following paper.