1. Field of Invention
The present invention relates to a multi-output switching regulator and a multi-output power supply method; particularly, it relates to such multi-output switching regulator and multi-output power supply method for providing multiple output currents.
2. Description of Related Art
The above-mentioned prior art requires at least two power stage circuits to provide plural output currents Io1 and Io2, which is inconvenient and costs much higher.
In view of the above, to overcome the drawbacks in the prior art, the present invention proposes a multi-output switching regulator and a multi-output power supply method, which is capable of generating plural outputs and adjusting the distribution of the output current dynamically by sharing one single power stage (i.e., sharing only one single inductor).
A first objective of the present invention is to provide a multi-output switching regulator.
A second objective of the present invention is to provide a multi-output power supply method.
To achieve the above and other objectives, from one perspective, the present invention provides a multi-output switching regulator, comprising: a power stage circuit for operating at least one power switch included therein and only one inductor included therein in response to a pulse width modulation (PWM) signal, to convert an input voltage to a converted voltage; a multi-output circuit for receiving the converted voltage and generating a plurality of output currents which are supplied to a plurality of output nodes; a voltage detecting circuit for generating a feedback signal according to the converted voltage; and a PWM signal generation circuit for generating the PWM signal in response to the feedback signal.
In one embodiment, when the converted voltage is lower than a predetermined level, at least one of the output currents is reduced.
In one embodiment, the multi-output switching regulator further comprises: a current control circuit for detecting each of the output currents and generating a corresponding current control signal, wherein the multi-output circuit generates the plurality of output currents according to the current control signals, respectively.
In the above-mentioned embodiment, preferably, a total amount upper limit is set for a total of the plurality of output currents, and the current control circuit dynamically assigns an individual upper limit to each of the output currents.
In above-mentioned embodiment, preferably, the multi-output circuit includes a plurality of load switches each of which is disposed on a path of a corresponding output current, and the plurality of load switches are operated in response to the current control signals so as to respectively adjust the corresponding output currents.
In one embodiment, an upper limit is set for at least one of the output currents, and the current control circuit adjusts the current control signal, such that: when the output current having the upper limit does not exceed the upper limit, the corresponding load switch is fully conductive, but if a fully conductive state of the load switch will cause the output current having the upper limit to exceed the upper limit, the load switch is partially conductive, to prevent the output current having the upper limit from exceeding the upper limit.
In one embodiment, the plurality of output currents include a main output current corresponding to a main load switch and at least a subordinate output current corresponding to a subordinate load switch, and the current control circuit adjusts the current control signals to keep the main output current at a corresponding required value in a higher priority than to keep the subordinate output current at a corresponding required value.
In above-mentioned embodiment, preferably, a total amount upper limit is set for a total of the plurality of output currents; when the main output current is kept at the corresponding required value, the current control circuit adjusts the current control signals to distribute a remain current obtained by subtracting the required value corresponding to the main output current from the total amount upper limit among the subordinate output currents.
In one embodiment, the multi-output switching regulator is a power bank.
From another perspective, the present invention provides a multi-output power supply method, comprising: operating a power stage circuit in response to a PWM signal to convert an input voltage to a converted voltage, and generating a plurality of output currents according to the converted voltage; and controlling the plurality of output currents individually so as to prevent a total amount of the plurality of output currents from exceeding a total amount upper limit.
In one embodiment, the multi-output power supply method further comprises: reducing at least one of the output currents when the converted voltage is lower than a predetermined level.
In one embodiment, the plurality of output currents include a main output current and at least a subordinate output current, and the multi-output power supply method further comprises: keeping the main output current at a corresponding required value in a higher priority than keeping the subordinate output current at a corresponding required value.
In the above-mentioned embodiment, the multi-output power supply method further comprises: when the main output current is kept at the corresponding desired value, distributing a remain current obtained by subtracting the required value corresponding to the main output current from the total amount upper limit among the subordinate output currents.
In one embodiment, the multi-output power supply method further comprises: dynamically assigning an individual upper limit to each of the output currents.
In the above-mentioned embodiment, the step of dynamically assigning an individual upper limit to each of the output currents includes: when one of the output currents does not reach its upper limit, raising the upper limit of another one of the output currents.
The objectives, technical details, features, and effects of the present invention will be better understood with regard to the detailed description of the embodiments below, with reference to the attached drawings.
In the above-mentioned first embodiment, if both of the output nodes Vout3 and Vout4 require large amounts of currents such that the total amount of the output currents Io3 and Io4 is too large, the level of the converted voltage will drop and possibly to an extent beyond the capacity of the power stage circuit 21. Under such circumstance, the present invention can detect whether the converted voltage is lower than a predetermined level, and if yes, at least one of the two output currents Io3 or Io4 is reduced.
Whether the converted voltage is lower than a predetermined level can be detected by, for example but not limited to, the follow approach: the output of the voltage detecting circuit 24 can be fed forward to the multi-output circuit 22 and compared with the predetermined level, and one of or both of the output currents Io3 and Io4 are controlled by the comparison result, as shown by
There are many ways to arrange the reduction of one or both of the output currents Io3 and Io4. For example, both of them can be reduced concurrently; or, while one of them is regarded as a main output current and kept at a corresponding required value in a higher priority, the other one of them is regarded as a non-main output current (hereinafter called “subordinate output current”) and is reduced. Take the latter case as an example, if the output node Vout4 is the output terminal that requires the power supply in a higher priority, the output current Io4 is the main output current. Thus, if the total amount of the two output currents Io3 and Io4 are too large (no matter due to the high requirement for which one of the output currents Io3 and Io4), the output current Io3 can be reduced in a higher priority while the output current Io4 is kept at the required value, thereby maintaining the main output current (i.e., the output current Io4 in this example) in a higher priority. It should be noted that the reduction of at least one of the two output currents when the level of the converted voltage is too low is preferred but not necessary. For example, if it can be certain that the total amount of the currents required by the two output nodes Vout3 and Vout4 is not beyond the capacity of the power stage circuit 21, the above-mentioned arrangement to reduce at least one of the two output currents is accordingly not required.
In a preferred embodiment, an upper limit is set for at least one of the plural output currents, and it is further preferable that the current control circuit 36 is capable of dynamically assigning or adjusting the upper limit. The current control circuit 36 adjusts the current control signals according to the current detecting signals and the above-mentioned upper limit, thus optimizing the distribution of the plural output currents. For instance, the plural output currents can be controlled to meet various practical needs as follows:
It should be noted that the above-mentioned three control mechanisms are not exclusive to one another and are not limited to be adopted alone; two or more of them can be adopted in combination. For example, in the control mechanisms 1 and 2, a total amount upper limit can be set for the plural output currents, and the requirement for the main output current can be fulfilled in a higher priority.
For example, if an upper limit is set for the output current Io7, the current control signal enables the corresponding load switch Q1 to be fully conductive when the requirement of the output current Io7 does not exceed its upper limit. In this case, the output current Io7 is controlled by the load circuit coupled to the output node Vout7. However, if the current detecting signal indicates that the output current Io7 will exceed its upper limit when the load switch Q1 is fully conductive, the current control signal controls the gate voltage of the load switch Q1 such that the load switch Q1 is only partially conductive. In this case, the output current Io7 is controlled by the load switch Q1, such that the output current Io7 does not exceed the upper limit. The output current Io8 can also be controlled in a similar way.
For another example, let us assume that the output current Io8 is the main output current while the output current Io7 is the subordinate output current. When the requirement of the output current Io7 does not exceed its initial upper limit, not only the load switch Q1 is fully conductive, but the upper limit of the main output current Io8 can also be raised up. In other words, when the main output current Io8 exceeds its initial upper limit but does not exceed the raised upper limit, the load switch Q2 is still enabled to be fully conductive.
For yet another example, let us assume that a total amount upper limit is set for the total of the output currents Io7 and Io8; the output current Io8 is the main output current while the output current Io7 is the subordinate output current. The load switch Q2 is kept fully conductive. The current control circuit 46 detects the output current Io8 and calculates the difference between the total amount upper limit and the output current Io8; this difference is distributed to the output current Io7. When this difference is higher than the requirement of the output node Vout7 for the output current Io7, the load switch Q1 is fully conductive. However, when this difference is lower than the requirement of the output node Vout7 for the output current Io7, this difference becomes the upper limit of the output current Io7. Thus, the current control signal controls the gate voltage of the load switch Q1 such that the load switch Q1 is only partially conductive. In this case, the output current Io7 is controlled by the load switch Q1 such that the output current Io7 does not exceed the upper limit.
The present invention has been described in considerable detail with reference to certain preferred embodiments thereof. It should be understood that the description is for illustrative purpose, not for limiting the scope of the present invention. An embodiment or a claim of the present invention does not need to achieve all the objectives or advantages of the present invention. The title and abstract are provided for assisting searches but not for limiting the scope of the present invention. Those skilled in this art can readily conceive variations and modifications within the spirit of the present invention. For example, a circuit which does not substantially influence the primary function can be inserted between any two circuits in the shown embodiments, such as a switch. For another example, the the output current can be limited not for the reason beyond the capacity of the power stage circuit, but for any reason. For yet another example, although it is explained with reference to the embodiment of