Patent ID: 8525481

Claim:
A device for measuring an output voltage of a battery, the device comprising: a detecting unit for detecting the output voltage and generating a first signal, a second signal, and a third signal accordingly; an encoding unit for generating a first code and a second code according to the first signal and the second signal; a control unit for modifying the second code when the third signal indicates that the output voltage is lower than a predetermined value; and a processing unit for generating and outputting display control signals according to the first code and the modified second code, the display control signals being used to control a display panel to display information of the output voltage of the battery; wherein the detecting unit comprises a first resistor, a second resistor, a third resistor, a fourth resistor, a first output terminal for outputting the first signal, and a second output terminal for outputting the second signal, the first and second resistors are connected in series between the positive pole of the battery and ground, the third and fourth resistors are connected in series between the positive pole of the battery and ground, the first output terminal is connected to a first node between the first and second resistors, the second output terminal is connected to a second node between the third and fourth resistors; the detecting unit further comprises a fifth resistor and a sixth resistor connected in series between the positive pole of the battery and ground, and a third output terminal for outputting the third signal, the third output terminal is connected to a third node between the fifth and sixth resistors.