Patent ID: 8848329

Claim:
A position detecting device for detecting a position of a movable body, the position detecting device comprising: a detector element that outputs a signal varying with movement of the movable body; a signal processing circuit that processes the signal outputted from the detector element; and an output circuit that outputs a signal from an output terminal based on a signal outputted from the signal processing circuit, wherein the output circuit includes an output transistor that is connected in series in a conductor connecting a power supply terminal and ground and controls a voltage of the conductor to be outputted from the output terminal, a control circuit that controls the output transistor based on the signal outputted from the signal processing circuit, an output conductor that has one end connected to the conductor including the output transistor therein and an other end connected to the output terminal, a voltage detection circuit that detects a voltage applied from the output terminal to the output transistor, and a current shut-off circuit that shuts off electric conduction between the output terminal and the output transistor, when the voltage detection circuit detects that a voltage higher than a withstand voltage of the output transistor is applied to the output transistor.