This application claims the benefit of Taiwan Patent Application No. 108108948, filed on Mar. 15, 2019, in the Taiwan Intellectual Property Office, the disclosure of which is incorporated herein in its entirety by reference.
The invention relates to a digital regulator system, more particularly to a digital regulator system with a compensation mechanism to improve convergence stability, and a control method thereof.
In recent years, low-dropout linear regulators (linear dropouts, LDOs) have the advantages of high conversion efficiency, small size, and low noise, so they are widely used in various portable systems powered by batteries and communication related electronic products.
The low-dropout linear regulator includes an analog low-dropout linear regulator (analog LDO) and a digital low-dropout linear regulator (digital LDO). Digital low-dropout linear regulators have the advantages of low noise and adjustable output voltage, but their low convergence stability greatly affects their application fields.
In order to solve the problems of prior art described above, an aspect of the invention is to provide a digital regulator system and a control method thereof. By adjusting the feedback voltage corresponding to the output current of the digital regulator circuit, the convergence stability of the digital regulator circuit can be effectively improved.
In order to achieve the above aspect, the invention provides a digital regulator system, which 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 adjusts the output current according to at least a reference voltage and a feedback voltage to decrease or increase the output current by a unit current. The compensation circuit receives the output voltage as well as decreases or increases the output voltage by a unit voltage according to the variation of the output current to generate and output the feedback voltage.
According to an embodiment of the invention, the digital regulator circuit further includes a first comparator, a second comparator, a control unit, and a plurality of current units. Each current unit outputs a unit current when the current unit is turned on. The control unit respectively turns on or turns off the plurality current units according to the comparison results generated by the first comparator and the second comparator, and the control unit outputs at least a unit current to generate the output current.
According to an embodiment of the invention, the control unit outputs a current adjustment signal to the compensation circuit, and the compensation circuit decreases or increases the unit voltage to the output voltage according to the current adjustment signal to generate and output the feedback voltage, wherein the current adjustment signal indicates that the control unit respectively turns on or turns off the plurality of current units to increase or decrease the unit current by the output current.
According to an embodiment of the invention, the positive input terminal of the first comparator receives the feedback voltage, 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.
According to an embodiment of the invention, the unit voltage satisfies the following conditions: ΔV>(VREF_H−VREF_R)/2; where ΔV is the unit voltage, VREF_H is the first reference voltage, and VREF_R is the second reference voltage.
According to an embodiment of the invention, an output terminal of the digital regulator circuit is coupled to a capacitor, and the unit current satisfies the following conditions: ΔI>(VREF_H−VREF_R)×Cp×Fsw; wherein ΔI is the unit current and VREF_H is the first reference voltage, VREF_R is the second reference voltage, Cp is a capacitance value of the capacitor, and Fsw is a switching frequency of the digital regulator circuit.
According to an embodiment of the invention, when the output current decreases the unit current, the compensation circuit decreases the output voltage by the unit voltage to generate and output the feedback voltage. When the output current increases the unit current, the compensation circuit increases the unit voltage to the output voltage to generate and output the feedback voltage.
According to an embodiment of the invention, the compensation circuit includes a first current source, a second current source, a first switch, a second switch, a switch control unit, and a resistor, and the resistor is electrically connected between an input terminal of the compensation circuit and an output terminal of the compensation circuit, 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. The second switch and the second current source are connected in series between the output terminal of the compensation circuit and a ground terminal, and the switch control unit receives the current adjustment signal and controls the first switch and the second switch according to the current adjustment signal.
According to an embodiment of the invention, when the current adjustment signal indicates that the control unit respectively controls the plurality of current units to increase the unit current of the output current, the switch control unit controls the first switch to be turned on and the second switch to be turned off. 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, the switch control unit controls the first switch to be turned off and the second switch to be turned on.
According to an embodiment of the invention, the compensation circuit includes a positive voltage source, a negative voltage source, a third switch, a fourth switch, and a switch control unit. The third switch is electrically connected between the positive voltage source and the positive input terminals of the first comparator and the second comparator. The fourth switch is electrically connected between the negative voltage source and the positive terminal of the first comparator and the positive input terminal of the second comparator. 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. When the current adjustment signal indicates that the control unit respectively controls the plurality of current units to increase the unit current to the output current, the switch control unit controls the third switch to be turned on and 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 decrease the unit current to the output current, the switch control unit controls the third switch to be turned off and the fourth switch to be turned on. A positive voltage source provides a positive unit voltage, and a negative voltage source provides a negative unit voltage, the unit voltage satisfies the following conditions: ΔV>(VREF_H−VREF_R)/2, wherein ΔV is the unit voltage, VREF_H is a first reference voltage, and VREF_R is a second reference voltage.
In order to achieve the above aspects, a control method of 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 adjusts the output current according to a first reference voltage, a second reference voltage and a feedback voltage to decrease or increase a unit current of the output current. The control method includes the following steps: receiving the output voltage, and decreasing or increasing the output voltage by a unit voltage according to the variation of the output current to generate and output the feedback voltage, wherein the unit voltage satisfies the following conditions: ΔV>(VREF_H−VREF_R)/2, wherein ΔV is the unit voltage, VREF_H is the first reference voltage and VREF_R is the second reference voltage, wherein the first reference voltage is larger than the second reference voltage.
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.
Referring to
For example, when the control unit 30 turns on two current units 40 and turns off the other current units 40, the output current IOUT 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 IOUT is five times the unit current. Hence, the variation in the output current IOUT is based on the unit current.
The compensation circuit 50 is electrically connected to the output terminal of the digital regulator circuit 10, receives the output voltage VOUT, and decreases or increases the unit voltage according to the variation of the output current IOUT to generate and output the feedback voltage VFB. The comparison unit 20 compares at least one reference voltage VREF and the feedback voltage VFB to generate a comparison result. The control unit 30 can adjust the output current IOUT according to the comparison result 201 to decrease or increase the unit current by the output current IOUT.
For example, the unit voltage can be 0.5 V. When the output current IOUT is increased by one unit current, the compensation circuit 50 increases the output voltage VOUT to 0.5 V to generate the feedback voltage VFB. When the output current IOUT is increased by one unit current, the compensation circuit 50 decreases 0.5 V from the output voltage VOUT to generate the feedback voltage VFB. The compensation circuit 50 adjusts the feedback voltage VFB according to the variation of the output current IOUT, the convergence stability of the digital regulator circuit 10 can be improved.
Referring to
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 VREF_H, and the positive input terminal receives a feedback voltage VFB. The first comparator 21 compares the first reference voltage VREF_H and the feedback voltage VFB to generate a comparison result 211. The negative input terminal of the second comparator 22 receives the second reference voltage VREF_R, and the positive input terminal receives the feedback voltage VFB. The first reference voltage VREF_H is greater than the second reference voltage VREF_R. The second comparator 22 compares the second reference voltage VREF_R and the feedback voltage VFB 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 VFB with a reference voltage, to generate a comparison result for further use in controlling the current units.
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 IOUT flowing through the output terminal N1 of the digital regulator circuit.
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 IOUT. 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 RB. The resistor RB 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.
The first current source 511 and the first switch 521 are connected in series between a power supply terminal VDD 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.
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 VOUT by a unit voltage ΔV according to the current adjustment signal 301 to generate and output the feedback voltage VFB.
In an embodiment, when the unit voltage ΔV satisfies the following conditions: ΔV>(VREF_H−VREF_R)/2, the convergence stability of the digital regulator circuit can be effectively improved.
In an embodiment, the unit current ΔI may satisfy the following conditions: ΔI>(VREF_H−VREF_R)×Cp×Fsw, wherein Cp is a capacitance value of the capacitor C1, and Fsw is a voltage regulator circuit A switching frequency can effectively improve the convergence stability of the digital regulator circuit.
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 IOUT 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 RB, the current of the first current source 511 flows through the resistor RB and flows to the output terminal N1 of the digital regulator circuit.
Since the current flows from the output terminal N2 of the compensation circuit to the input terminal of the compensation circuit via the resistor RB, the voltage of the output terminal N2 of the compensation circuit is higher than the output voltage VOUT of the digital regulator circuit. In other words, the compensation circuit 50 correspondingly increases a unit voltage ΔV to the output voltage VOUT to generate and output the feedback voltage VFB. The unit voltage ΔV is the voltage across the resistor RB.
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 IOUT 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 RB, the current of the second current source 512 flows from the output terminal N1 of the digital regulator circuit through the resistor RB, and flows to the output terminal N2 of the compensation circuit.
Since the current flows from the input terminal N1 of the compensation circuit to the output terminal of the compensation circuit via the resistor RB, the voltage of the output terminal N1 of the compensation circuit is lower than the output voltage VOUT of the digital regulator circuit. In other words, the compensation circuit 50 correspondingly decreases the output voltage VOUT by a unit voltage ΔV to generate and output the feedback voltage VFB.
Referring to
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>(VREF_H−VREF_R)/2.
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 IOUT 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 VOUT pluses the unit voltage ΔV is input to the positive input terminal of the first comparator 21 and the second comparator 22.
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 IOUT 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 VOUT minuses unit voltage ΔV and then is input to the positive input terminals of the first comparator 21 and the second comparator 22.
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 VFB increases or decreases a unit voltage ΔV according to the output current, so that the digital regulator circuit can effectively improve convergence stability.
Referring to
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.
Number | Date | Country | Kind |
---|---|---|---|
108108948 | Mar 2019 | TW | national |