Here is a typical schematic diagram of the car Throttle Position Sensor Circuit. The Throttle Position Sensor (TPS) is designed to indicates the position of the throttle valve. Usually the Throttle Position Sensor is mounted on the throttle body and converts the throttle valve angle into an electrical signals. Inside the TPS is a resistor and a wiper arm. The arm is always contacting the resistor.
How the Throttle Position Sensor works?
A wiper arm inside the sensor is mechanically connected to a moving part, such as valve or vane. As the part moves, the wiper arm also moves. The wiper arm is also in contact with a resistor. As the wiper arm moves on the resistor, the signal voltage output changes which indicates position.