主权项 |
1. A charging circuit for charging a battery, comprising:
a power supplier having a communication interface coupled to a cable of the power supplier for receiving command-data, and generating a DC voltage and a DC current in accordance with the command-data; a controller coupled to the battery for detecting a battery-voltage and generating the command-data in accordance with the battery-voltage; and a switch coupled to the cable for receiving the DC voltage and the DC current through a connector, wherein the DC voltage and the DC current generated by the power supply are coupled to the cable, and the DC voltage and the DC current are programmable in accordance with the command-data, and wherein the command-data generated by the controller is coupled the cable through a communication circuit of the controller, and the controller is coupled the connector for detecting a connector-voltage and control an on/off state of the switch in response to the connector-voltage. |