The knock sensor is mounted on the cylinder block. The sensor senses vibrations of the cylinder wall, resulting in detonation. The piezoelectric element is a vibration sensor converts the pressure into a voltage signal. The engine control unit uses this signal to suppress detonation by sliding the ignition timing to the delay side.