Mazda replaced the knock sensor in my car. This is the first time I heard about knock sensor. Google results show that the knock sensor controls the ignition time of the air / fuel mixture. It is not meant to sense car collision as the name suggested.