A determination is made as to whether or not knocking is actually
occurring inside a combustion chamber (5), and on the basis of the
knocking detection result, a knocking-correlated parameter (octane
number, alcohol concentration, compression ratio of the engine), which is
a parameter having a correlation with knocking, is estimated. A knocking
occurrence timing in the combustion chamber (5) is then predicted on the
basis of the estimated knocking-correlated parameter. A knocking limit
ignition timing, which is the ignition timing furthest toward the
advanced side at which knocking does not occur, is calculated on the
basis of the predicted knocking occurrence timing, and an ignition device
(11) is controlled to perform spark ignition at the knocking limit
ignition timing.