主权项 |
1. A bi-directional switching regulator for use under a charging mode to convert an input voltage supplied by an input terminal to an output voltage at an output terminal, or for use under a discharging mode to supply power from the output terminal to the input terminal, the switching regulator comprising:
a power stage coupled between the input terminal and the output terminal; an operation circuit for generating a first operation signal to control an operation of the power stage, the operation circuit determining whether to operate under the charging mode or the discharging mode according to a mode control signal; a power path management circuit having one end electrically connected to the output terminal and another end electrically connected to a battery, for controlling a charging operation from the output terminal to the battery, wherein under the charging mode, when the output voltage is lower than a predetermined level, the power path management circuit reduces a charging current supplied to the battery; and a control signal generation circuit for generating a control signal according to the output voltage and a battery voltage of the battery, to control the operation circuit so that:
(1) the output voltage is determined by a sum of a safety offset plus the battery voltage; or(2) the output voltage is determined by a higher one of a predetermined voltage level and the sum of the safety offset plus the battery voltage. |