×

Voltage-detecting method and related circuits

  • US 7,023,352 B2
  • Filed: 05/18/2004
  • Issued: 04/04/2006
  • Est. Priority Date: 05/20/2003
  • Status: Active Grant
First Claim
Patent Images

1. A voltage-detecting method for detecting power status of a battery with a voltage-detecting circuit, the voltage-detecting circuit comprising:

  • a processor comprising a first general purpose input/output (GPIO) port and a second GPIO port;

    a comparator having a first input end connected to the battery, a second input end, and an output end connected to the first GPIO port;

    a first resistor connected between the second input end of the comparator and a first voltage source;

    a first power segment detection circuit connected in parallel with the first resistor, the first power segment detection circuit comprising a third resistor and a first switch serially connected to the third resistor, the first switch connected to the second GPIO port; and

    a second resistor connected between the second input end of the comparator and a second voltage source;

    the voltage-detecting method comprising;

    outputting a first control signal with the processor to control the first switch at the second GPIO port by determining a voltage level at the first GPIO port; and

    outputting a power signal with the processor by determining a voltage level at the first GPIO port.

View all claims
  • 3 Assignments
Timeline View
Assignment View
    ×
    ×