Digital regulator system and control method thereof
11442481 · 2022-09-13
Assignee
Inventors
Cpc classification
G05F1/563
PHYSICS
International classification
G05F1/56
PHYSICS
G05F1/59
PHYSICS
Abstract
A digital regulator system is provided. The digital regulator system includes a digital regulator circuit and a compensation circuit. The digital regulator circuit outputs an output current and an output voltage. The digital regulator circuit adjust the output current by decreasing or increasing a unit current according to at least a reference voltage and a feedback voltage. The compensation circuit receives the output voltage as well as decreases or increases a unit voltage of the output voltage to generate and output the feedback voltage according to the variation of the output current.
Claims
1. A digital regulator system, comprising: a digital regulator circuit outputting an output current and an output voltage, and comprising a plurality of current units, wherein each of the plurality current units outputs the unit current when being turned on, and the digital regulator circuit is configured to turn on or turn off at least one of the plurality of current units to adjust the output current by decreasing or increasing a unit current according to at least a reference voltage and a feedback voltage; and a compensation circuit receiving the output voltage, and decreasing or increasing the output voltage by a unit voltage to generate and output the feedback voltage according to a variation of the output current; wherein the compensation circuit decreases the unit voltage for the output voltage to generate and output the feedback voltage when the output current decreases the unit current; wherein the compensation circuit increases the unit voltage for the output voltage to generate and output the feedback voltage when the output current increases the unit current.
2. The digital regulator system of claim 1, wherein the digital regulator circuit further comprises: a first comparator; a second comparator; and a control unit configured to turn on or turn off at least one of the plurality of current units according to comparison results generated by the first comparator and the second comparator, so as to output at least one unit current to generate the output current.
3. The digital regulator system of claim 2, wherein the control unit outputs a current adjustment signal to the compensation circuit, and the compensation circuit decreases or increases the output voltage by the unit voltage according to the current adjustment signal, so as to generate and output the feedback voltage, wherein the current adjustment signal indicates that the control unit turns on or turns off at least one of the plurality of current units to increase or decrease the output current by the unit current.
4. The digital regulator system of claim 3, wherein the compensation circuit comprises a first current source, a second current source, a first switch, a second switch, a switch control unit and a resistor; wherein the resistor is electrically connected between an input terminal and an output terminal of the compensation circuit, and the first current source and the first switch are connected in series between a power supply terminal and the output terminal of the compensation circuit, and the second switch and the second current source are connected in series between the output terminal of the compensation circuit and a ground terminal, the switch control unit receives the current adjustment signal, and controls the first switch and the second switch according to the current adjustment signal.
5. The digital regulator system of claim 4, wherein the switch control unit respectively controls the first switch to be turned on and controls the second switch to be turned off when the current adjustment signal indicates that the control unit controls the plurality of current units to increase the output current by the unit current; wherein the switch control unit controls the first switch to be turned off and controls the second switch to be turned on when the current adjustment signal indicates that the control unit respectively controls the plurality of current units to decrease the output current by the unit current.
6. The digital regulator system of claim 2, wherein the positive input terminal of the first comparator receives the feedback voltage, and the negative input terminal of the first comparator receives a first reference voltage, and the positive input terminal of the second comparator receives the feedback voltage, and the negative input terminal of the second comparator receives a second reference voltage, and the first reference voltage is larger than the second reference voltage.
7. The digital regulator system of claim 6, wherein the unit voltage satisfies the following conditions:
ΔV>(V.sub.REF_H−V.sub.REF_R)/2; wherein ΔV is the unit voltage, and the V.sub.REF_H is the first reference voltage, and the V.sub.REF_R is the second reference voltage.
8. The digital regulator system of claim 6, wherein an output terminal of the digital regulator circuit is coupled to a capacitor, and the unit current satisfies the following conditions:
ΔI>(V.sub.REF_H−V.sub.REF_R)×C.sub.p×F.sub.SW; wherein ΔI is the unit current, and the V.sub.REF_H is the first reference voltage, and the V.sub.REF_R is the second reference voltage, and the C.sub.p is a capacitance value of the capacitor, F.sub.sw is a switching frequency of the digital regulator circuit.
9. The digital regulator system of claim 1, wherein the compensation circuit comprises a positive voltage source, a negative voltage source, a third switch, a fourth switch and a switch control unit; wherein the third switch is electrically connected between the positive voltage source as well as the positive input terminal of the first comparator and the positive input terminal of the second comparator, the fourth switch is electrically connected between the negative voltage source as well as the positive input terminal of first comparator and the positive input terminal of the second comparator, and the negative input terminal of the first comparator receives the first reference voltage, and the negative input terminal of the second comparator receives the second reference voltage; wherein the switch control unit controls the third switch to be turned on and controls the fourth switch to be turned off when the current adjustment signal indicates that the control unit respectively controls the plurality of current units to increase the unit current for the output current; wherein the switch control unit controls the third switch to be turned off and controls the fourth switch to be turned on when the current adjustment signal indicates that the control unit controls the plurality current units respectively to decrease the unit current for the output current; wherein the positive voltage source provides a unit voltage being positive, and the negative voltage source provides a unit voltage being negative, and the unit voltage satisfies the following conditions:
ΔV>(V.sub.REF_H−V.sub.REF_R)/2 wherein ΔV is the unit voltage, and the V.sub.REF_H is the first reference voltage, and the V.sub.REF_R is the second reference voltage.
10. A control method of a digital regulator system comprising a digital regulator circuit and a compensation circuit, wherein the digital regulator circuit outputs an output current and an output voltage, and the digital regulator circuit adjusts the output current to decrease or increase by a unit current according to a first reference voltage, a second reference voltage and a feedback voltage, wherein the control method comprises: receiving the output voltage, and decreasing or increasing a unit voltage to generate and output the feedback voltage according to the variation of the output current; wherein the unit voltage satisfies the following conditions:
ΔV>(V.sub.REF_H−V.sub.REF_R)/2; wherein ΔV is the unit voltage, the V.sub.REF_H is the first reference voltage, and the V.sub.REF_R is the second reference voltage, wherein the first reference voltage is larger than the second reference voltage.
11. A control method of a digital regulator system comprising a digital regulator circuit and a compensation circuit, wherein the digital regulator circuit outputs an output current and an output voltage, and the digital regulator circuit adjusts the output current to decrease or increase by a unit current according to a first reference voltage, a second reference voltage and a feedback voltage, wherein the control method comprises: receiving the output voltage, and decreasing or increasing the output voltage by a unit voltage to generate and output the feedback voltage according to the variation of the output current; wherein the compensation circuit decreases the unit voltage for the output voltage to generate and output the feedback voltage when the output current decreases the unit current; wherein the compensation circuit increases the unit voltage for the output voltage to generate and output the feedback voltage when the output current increases the unit current.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
(1)
(2)
(3)
(4)
DETAILED DESCRIPTION
(5) The implementation of the invention will be described in detail below with reference to the drawings and embodiments, so as to fully understand and implement how the invention applies technical means to solve technical problems and achieve technical effects.
(6) Referring to
(7) For example, when the control unit 30 turns on two current units 40 and turns off the other current units 40, the output current I.sub.OUT is twice the unit current; the control unit 30 turns on five current units 40 and turns off the other current units 40, the output current I.sub.OUT is five times the unit current. Hence, the variation in the output current I.sub.OUT is based on the unit current.
(8) The compensation circuit 50 is electrically connected to the output terminal of the digital regulator circuit 10, receives the output voltage V.sub.OUT, and decreases or increases the unit voltage according to the variation of the output current I.sub.OUT to generate and output the feedback voltage V.sub.FB. The comparison unit 20 compares at least one reference voltage V.sub.REF and the feedback voltage V.sub.FB to generate a comparison result. The control unit 30 can adjust the output current I.sub.OUT according to the comparison result 201 to decrease or increase the unit current by the output current I.sub.OUT.
(9) For example, the unit voltage can be 0.5 V. When the output current I.sub.OUT is increased by one unit current, the compensation circuit 50 increases the output voltage V.sub.OUT to 0.5 V to generate the feedback voltage V.sub.FB. When the output current I.sub.OUT is increased by one unit current, the compensation circuit 50 decreases 0.5 V from the output voltage V.sub.OUT to generate the feedback voltage V.sub.FB. The compensation circuit 50 adjusts the feedback voltage V.sub.FB according to the variation of the output current I.sub.OUT, the convergence stability of the digital regulator circuit 10 can be improved.
(10) Referring to
(11) When each current unit 40A is turned on, a unit current ΔI can be output. The negative input terminal of the first comparator 21 receives the first reference voltage V.sub.REF_H, and the positive input terminal receives a feedback voltage V.sub.FB. The first comparator 21 compares the first reference voltage V.sub.REF_H and the feedback voltage V.sub.FB to generate a comparison result 211. The negative input terminal of the second comparator 22 receives the second reference voltage V.sub.REF_R, and the positive input terminal receives the feedback voltage V.sub.FB. The first reference voltage V.sub.REF_H is greater than the second reference voltage V.sub.REF_R. The second comparator 22 compares the second reference voltage V.sub.REF_R and the feedback voltage V.sub.FB to generate a comparison result 221. The first comparator 21 and the second comparator 22 receive a clock signal CLK and periodically perform the comparison according to the clock signal CLK. It should be noted that two comparators are used in this embodiment, but the invention is not limited thereto; in other embodiment, the digital regulator system can use only one comparator to compare the feedback voltage V.sub.FB with a reference voltage, to generate a comparison result for further use in controlling the current units.
(12) The control unit 30 can respectively turn on or turn off the plurality of current units 40 according to the comparison results 211 and 221. The sum of the unit currents outputted by all the turned-on current units 40 generates an output current I.sub.OUT flowing through the output terminal N1 of the digital regulator circuit.
(13) The control unit 30 outputs a current adjustment signal 301, which indicates that the control unit 30 respectively turns on or turns off the plurality of current units 40 to increase or decrease the unit current by the output current I.sub.OUT. In this embodiment, the compensation circuit includes a first current source 511, a second current source 512, a first switch 521, a second switch 522, a switch control unit 53, and a resistor R.sub.B. The resistor R.sub.B is electrically connected between an input terminal of the compensation circuit and an output terminal N2, and the input terminal of the compensation circuit is electrically connected to the output terminal N1 of the digital regulator circuit.
(14) The first current source 511 and the first switch 521 are connected in series between a power supply terminal V.sub.DD and the output terminal N2 of the compensation circuit 50, and the current output terminal of the first current source 511 is electrically connected to the first switch 521. The second switch 522 and the second current source 512 are connected in series between the output terminal of the compensation circuit 50 and a ground terminal GND, and the current output terminal of the second current source 512 is electrically connected to the second switch 522.
(15) The switch control unit 53 receives the current adjustment signal 301 and controls the first switch 521 and the second switch 522 according to the current adjustment signal 301. Through the above structure, the compensation circuit 50 can decrease or increase the output voltage V.sub.OUT by a unit voltage ΔV according to the current adjustment signal 301 to generate and output the feedback voltage V.sub.FB.
(16) In an embodiment, when the unit voltage ΔV satisfies the following conditions: ΔV>(V.sub.REF_H−V.sub.REF_R)/2, the convergence stability of the digital regulator circuit can be effectively improved.
(17) In an embodiment, the unit current ΔI may satisfy the following conditions: ΔI>(V.sub.REF_H−V.sub.REF_R)×C.sub.p×F.sub.SW, wherein Cp is a capacitance value of the capacitor C1, and F.sub.SW is a voltage regulator circuit A switching frequency can effectively improve the convergence stability of the digital regulator circuit.
(18) The detailed operation of the compensation circuit of this embodiment is explained below. When the switch control unit 53 determines that the control unit 30 decides to turn on one more current unit according to the current adjustment signal 301 to increase the output current I.sub.OUT by a unit current ΔI, the switch control unit 53 turns on the first switch 521 and turns off the second switch 522, so that the current of the first current source 511 flows to the output terminal N2 of the compensation circuit. Since the input impedance of the first comparator 21 and the second comparator 22 are much greater than that of the resistor R.sub.B, the current of the first current source 511 flows through the resistor R.sub.B and flows to the output terminal N1 of the digital regulator circuit.
(19) Since the current flows from the output terminal N2 of the compensation circuit to the input terminal of the compensation circuit via the resistor R.sub.B, the voltage of the output terminal N2 of the compensation circuit is higher than the output voltage V.sub.OUT of the digital regulator circuit. In other words, the compensation circuit 50 correspondingly increases a unit voltage ΔV to the output voltage V.sub.OUT to generate and output the feedback voltage V.sub.FB. The unit voltage ΔV is the voltage across the resistor R.sub.B.
(20) When the switch control unit 53 determines that the control unit 30 decides to turn off one more current unit according to the current adjustment signal 301, the output current I.sub.OUT decreases by a unit current ΔI, the switch control unit 53 turns on the second switch 522 and turns off the first switch 521, the current of the second current source 512 flows from the output terminal N2 of the compensation circuit to the ground terminal GND. Because of the input impedance of the first comparator 21 and the second comparator 22 are much greater than that of the resistor R.sub.B, the current of the second current source 512 flows from the output terminal N1 of the digital regulator circuit through the resistor R.sub.B, and flows to the output terminal N2 of the compensation circuit.
(21) Since the current flows from the input terminal N1 of the compensation circuit to the output terminal of the compensation circuit via the resistor R.sub.B, the voltage of the output terminal N1 of the compensation circuit is lower than the output voltage V.sub.OUT of the digital regulator circuit. In other words, the compensation circuit 50 correspondingly decreases the output voltage V.sub.OUT by a unit voltage ΔV to generate and output the feedback voltage V.sub.FB.
(22) Referring to
(23) The positive voltage source 541 provides a positive unit voltage ΔV, and the negative voltage source 542 provides a negative unit voltage ΔV, and the unit voltage ΔV satisfies the following condition: ΔV>(V.sub.REF_H−V.sub.REF_R)/2.
(24) The switch control unit 53 is used to turn on or turn off the third switch 523 and the fourth switch 524. When the switch control unit 53 determines that the control unit 30 decides to turn on one more current unit according to the current adjustment signal 301 to increase the output current I.sub.OUT by a unit current ΔI, the switch control unit 53 turns on the third switch 523 and turns off the fourth switch 524. Therefore, the output voltage V.sub.OUT pluses the unit voltage ΔV is input to the positive input terminal of the first comparator 21 and the second comparator 22.
(25) When the switch control unit 53 determines that the control unit 30 decides to turn off one more current unit according to the current adjustment signal 301 to decrease the output current I.sub.OUT by a unit current ΔI, the switch control unit 53 turns off the third switch 523 and turns on the fourth switch 524. Therefore, output voltage V.sub.OUT minuses unit voltage ΔV and then is input to the positive input terminals of the first comparator 21 and the second comparator 22.
(26) Therefore, when the unit voltage ΔV is larger than half of the sum of the first reference voltage and the second reference voltage, the feedback voltage V.sub.FB increases or decreases a unit voltage ΔV according to the output current, so that the digital regulator circuit can effectively improve convergence stability.
(27) Referring to
(28) Although the invention is disclosed in the foregoing embodiments as above, it is not intended to limit the invention. A person skilled in the art can make some modifications and retouches without departing from the spirit and scope of the invention. The patent protection scope of the invention shall be determined by the scope of the patent application claims attached to the specification.