摘要 |
PURPOSE:To provide versatility for the system by installing a memory into which a plurality of different constant pairs are memorized and permitting arbitrary contstant pairs to be selected from outside, in a conroller for controlling the ignition timing according to the knocking state. CONSTITUTION:A mask ROM18 in which a plurality of different constant pairs are memorized is installed into a microcomputer 10 for calculating the ignition timing according to the knocking state detected by a knock sensor 26. The constant for determining the gain of the knocking signal supplied from the knock sensor, constant for determining the gain of the knocking judgement level, off- set value, etc. are memorized as constants. The instruction voltage supplied from outside is set to an arbitrary value by a division resistor 24, and converted to selection code in an A/D converter 20, and one of the constants in pairs is selected by the signal supplied from a decoder 22. Therefore, when similar engines are mounted onto plural kinds of cars, the mask pattern can be used in common. |