Circuit Description
WARNING: This page is about a different car, the 2003 Toyota Prius. However, it is still accessible from the selected car via links, so may be relevant.
The knock sensor is fitted to the cylinder block to detect engine knocking. This sensor contains a piezoelectric element which generates a voltage when it becomes deformed, which occurs when the cylinder block vibrates due to knocking.