The detonation sensor established on the block of cylinders reacts to high-frequency fluctuations of the block of cylinders and transforms them to the electric signals which size increases at increase in a detonation. On the basis of these signals the ESM block displaces the ignition moment towards delay therefore the detonation is eliminated.