Patent ID: 7865284

Claim:
An angular velocity sensor, comprising: an angular-velocity detecting element which outputs a detection signal; a drive circuit which drives the angular-velocity detecting element; a detection circuit which processes the detection signal outputted from the angular-velocity detecting element according to an applied angular velocity and creates an angular-velocity signal; a plurality of internal signal output points; an output terminal; a switch circuit which is connected between the output terminal and the plurality of internal signal output points; and a control circuit which controls a connection operation of the switch circuit, wherein: the detection circuit comprises: a first signal processing section which processes the detection signal outputted from the angular-velocity detecting element, and a second signal processing section which processes an output signal of the first signal processing section and outputs the angular-velocity signal; the plurality of internal signal output point comprises an output point of the angular velocity detecting element, an output point of the first signal processing section, and an output point of the second signal processing section; and the switch circuit connects, to the output terminal, a signal output point selected out of the signal output point of the angular-velocity detecting element, the signal output point of the first signal processing section, and the signal output point of the second signal processing section according to a control signal of the control circuit; the switch circuit comprises: a first switch which connects the signal output point of the angular-velocity detecting element and the output terminal, a second switch which connects the signal output point of the first signal processing section and the output terminal, and a third switch which connects the signal output point of the second signal processing section and the output terminal; and the control circuit comprises: a voltage generator which generates a predetermined command voltage; a first comparator which receives a command voltage generated from the voltage generator at a first input terminal and receives a first reference voltage at a second input terminal, and compares the command voltage and the first reference voltage; a second comparator which receives a command voltage generated from the voltage generator at the first input terminal and receives a second reference voltage higher than the first reference voltage at the second input terminal, and compares the command voltage and the second reference voltage; an AND gate which receives an output of the first and second comparators; a first NOR gate which receives an output of the first and second comparators; an inverter which inverts the output of the first comparator; and a second NOR gate which receives an output of the inverter and an output of the second comparator.