Patent ID: 7441543

Claim:
A device for controlling ignition timing of an internal combustion engine, comprising: a crank position sensor detecting a crank angle of said internal combustion engine; and an operation unit, wherein said operation unit detects a waveform of vibration of said internal combustion engine in a predetermined range of the crank angle, said operation unit calculates a first value representing a degree of agreement between said detected waveform and a waveform model set as a reference of the waveform of the vibration of said internal combustion engine, said operation unit calculates a second value representing magnitude of the vibration generated in said internal combustion engine, said operation unit determines whether or not knocking has occurred in said internal combustion engine based on a combination of said first value and said second value, in such a manner as to determine that knocking has not occurred in at least one of a case where said first value satisfies a first condition and a case where said second value satisfies a second condition, and if said operation unit determines that knocking has occurred in said internal combustion engine, said operation unit controls said internal combustion engine such that the ignition timing is retarded by an amount corresponding to the combination of said first value and said second value.