The knock sensor (KS) system detects engine knocking or pinging. The ECM will retard the spark timing based on the signals from the KS system. The KS produce an AC voltage that is sent to the engine Control Module (ECM). The amount of the AC voltage produced is proportional to the amount of knock.
The ECM monitors the voltage of the sensors after each cylinder has fired.
If knock occurs in any of the cylinders, the ignition will be retarded for that particular cylinder. If the knocking then stops, the ignition will be restored to what it was before in steps.
Should knocking continue in the same cylinder in spite of the ignition being retarded, the ECM will retard the ignition an additional steps, and so on, up to a maximum of 12 degrees of retard. The ignition will also be retarded at high ambient temperatures in order to counteract knocking tendencies provoked by high intake air temperatures.
Should either bank 1 or bank 2 sensor fail to work, or should an internal circuit problem occur, the ignition timing will then use a default strategy. The default strategy will retard the ignition the maximum allowed amount to protect the engine from possible damage.