摘要 |
PURPOSE:To form a control device using a general-purpose microcomputer and reduce the cost by switching a counter provided in the microprocessor and obtaining the rotation speed data and injection advance angle data. CONSTITUTION:A pulse generator 4 outputting a top dead point pulse train signal P1 for individual cylinders and a pulse generator 5 outputting a needle valve lift pulse signal P2 for a certain cylinder are provided, and signals P1,P2 are inputted to an arithmetic unit 7. In the arithmetic unit 7, individual signals P1, P2 are inputted to a microprocessor 41 as an interrupt signal, the signal P1 is fed to logic gate circuit 42, the signal P2 is fed to the clock terminal C of a J-K flipflop 43, and a pulse signal with a pulse width in response to the injection advance angle theta is outputted from its Q terminal. Then, the logic gate circuit 42 is switched by a switching signal CS outputted in response to the action of a timer 46, and the injection to the action of a timer 46, and the injection advance angle data and engine speed data are obtained by an arithmetic unit 49 via a counter 47 in response to its output. |