The crankshaft position sensor generates signals about the position and speed of rotation of the crankshaft. An electronic control unit, shared with the fuel injection system, processes these signals and instructs the ignition coils mounted on each spark plug to deliver a spark according to the principle of two-spark ignition, i.e. in one engine cycle, the spark appears twice - in the same compression and exhaust stroke. The ECU, processing signals from various sensors, controls the duration of the ignition pulse and the ignition timing, acting as necessary on the primary windings of the ignition coils.
The knock sensor installed on the cylinder block sends a corresponding signal to the ECU based on vibrations and knocks in the cylinders, which delays the control pulse of the ignition unit, reducing the lead until detonation stops. In this way, an optimal moment of fuel combustion is created, as close as possible to the detonation threshold and ensuring the best engine performance.
In the ignition system used, the ignition timing is determined by the ECU based on a combination of engine operation parameters. It is impossible to change the ignition timing on your own, with the help of diagnostic equipment you can only determine the correctness of its installation.