Current-based feedback control for voltage regulators
10345837 ยท 2019-07-09
Assignee
Inventors
Cpc classification
H03M1/68
ELECTRICITY
H02M1/0025
ELECTRICITY
G05F1/563
PHYSICS
International classification
H02M3/156
ELECTRICITY
G05F1/563
PHYSICS
Abstract
A voltage regulator has a comparator and a reference voltage coupled to a first input of the comparator. An output voltage of the voltage regulator is coupled to a second input of the comparator through a resistor. A current source is coupled to the second input of the comparator. The first current source can be a first digital-to-analog converter (DAC). A second current source can be coupled in parallel with the first DAC. The second current source can be a second DAC. The voltage regulator can include a boost topology.
Claims
1. A method of making a voltage regulator, comprising: providing a comparator including a reference voltage coupled to a first input of the comparator; coupling a first current source to a second input of the comparator, wherein the first current source includes a digital-to-analog converter (DAC); coupling a counter between an output of the comparator and an input of the DAC; and coupling a resistor to the second input of the comparator.
2. The method of claim 1, further including coupling the second input of the comparator to an output voltage node through the resistor.
3. The method of claim 2, further including coupling the second input of the comparator to a ground voltage node through the first current source.
4. The method of claim 1, further including modifying a switching frequency of the voltage regulator based on an output of the comparator.
5. The method of claim 1, further including providing a second current source coupled in parallel with the first current source, wherein the first current source is fine adjustable and the second current source is coarse adjustable.
6. The method of claim 1, wherein the voltage regulator includes a boost topology.
7. A method of making a voltage regulator controller, comprising: providing a comparator including a reference voltage coupled to a first input of the comparator; coupling a first current source to a second input of the comparator; and providing a second current source coupled in parallel with the first current source, wherein the first current source is fine adjustable and the second current source is coarse adjustable.
8. The method of claim 7, wherein the first current source is a digital-to-analog converter (DAC).
9. The method of claim 8, further including providing a counter coupled between an output of the comparator and an input of the DAC.
10. The method of claim 7, further including coupling a voltage output terminal of the voltage regulator controller to the second input of the comparator.
11. A voltage regulator, comprising: a comparator including a reference voltage coupled to a first input of the comparator; a first current source coupled to a second input of the comparator; a second current source coupled in parallel with the first current source, wherein the first current source is fine adjustable and the second current source is coarse adjustable; and a resistor coupled to the second input of the comparator.
12. The voltage regulator of claim 11, wherein the voltage regulator includes a voltage output node coupled to the second input of the comparator through the resistor.
13. The voltage regulator of claim 12, further including a ground node, wherein the ground node is coupled to the second input of the comparator through the first current source.
14. The voltage regulator of claim 11, wherein the first current source is a digital-to-analog converter (DAC).
15. The voltage regulator of claim 14, further including a counter coupled to an output of the comparator to control the DAC.
16. The voltage regulator of claim 11, wherein the voltage regulator is a boost topology.
17. A voltage regulator controller, comprising: a comparator including a reference voltage coupled to a first input of the comparator; a first current source coupled to a second input of the comparator, wherein the first current source is a digital-to-analog converter (DAC); and a counter coupled between an output of the comparator and an input of the DAC.
18. The voltage regulator controller of claim 17, further including a second current source coupled in parallel with the first current source.
19. The voltage regulator controller of claim 18, wherein the first current source is fine adjustable and the second current source is coarse adjustable.
20. The voltage regulator controller of claim 17, wherein a voltage output terminal of the voltage regulator controller is coupled to the second input of the comparator.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
(1)
(2)
(3)
(4)
(5)
(6)
(7)
DETAILED DESCRIPTION OF THE DRAWINGS
(8) The present invention is described in one or more embodiments in the following description with reference to the figures, in which like numerals represent the same or similar elements. While the invention is described in terms of the best mode for achieving the invention's objectives, those skilled in the art will appreciate that the description is intended to cover alternatives, modifications, and equivalents as may be included within the spirit and scope of the invention as defined by the appended claims and the claims' equivalents as supported by the following disclosure and drawings.
(9)
(10) Due to electrical current through resistor 76 being practically a fixed value, the voltage drop across resistor 76 is also fixed. V.sub.OUT node 14 has a voltage potential that is above V.sub.FB node 34 by a fixed magnitude. The voltage potential of V.sub.FB node 34 relative to V.sub.OUT node 14 is given by equation 3, where I.sub.78 indicates the magnitude of current source 78, and R.sub.76 indicates the resistance value of resistor 76.
V.sub.FB=V.sub.OUT(I.sub.78*R.sub.76)Equation 3:
(11) When regulator 70 is turned on, V.sub.FB node 34 settles at the same voltage potential as V.sub.REF node 42 because those are the two values being input to comparator 40. Therefore, output voltage of regulator 70 at V.sub.OUT node 14 is set by configuring the magnitude by which V.sub.FB node 34 is below V.sub.OUT node 14 with the design parameters of resistor 76 and current source 78. In one embodiment, a designer of a power supply buys an integrated circuit (IC) package with comparator 40, V.sub.REF node 42, and current source 78 integrated into the package. The designer knows the values of current source 78 and V.sub.REF 42 built into the IC, and selects a resistance value for resistor 76 to create a desired voltage drop across the resistor such that V.sub.REF 42 plus the voltage drop equals a desired voltage potential of V.sub.OUT node 14. The regulated voltage at V.sub.OUT node 14 will settle to a value proportional to the selected resistance value for resistor 76, as given by equation 4.
V.sub.OUT=V.sub.REF+(I.sub.78*R.sub.76)Equation 4:
(12) As an example, if the manufacturer of a controller IC sets V.sub.REF node 42 at 5 volts and current source 78 at 50 milliamps, the power supply designer could set the value of resistor 76 at 140 ohms to generate V.sub.OUT node 14 as a 12-volt output. Ohm's law dictates that the voltage drop across resistor 76 will be current (50 milliamps, set by IC manufacturer) multiplied by resistance (140 ohms, selected by the power supply designer). Therefore, the voltage across resistor 76 in the example will be 7 Volts. Control logic 50 will be maintaining V.sub.FB node 34 at approximately the same voltage potential as V.sub.REF node 42 (5 volts), so V.sub.OUT node 14 will be held at approximately 5 volts (the voltage of V.sub.REF) plus 7 volts (the voltage across resistor 76), i.e., 12 volts.
(13) In some embodiments, the controller IC manufacturer provides a V.sub.FB node 34 terminal on the package, which is directly coupled to current source 78 and comparator 40 within the package. The designer of power supply 70 selects the desired resistance value and solders resistor 76 onto a printed circuit board (PCB) or other substrate adjacent to the controller IC and electrically connected to the V.sub.FB node 34 terminal of the controller IC.
(14) Current through resistor 76 is relatively constant, which means that the voltage difference between V.sub.OUT node 14 and V.sub.FB node 34 is relatively constant. There is a direct relationship between the two voltages, such that voltage fluctuations of V.sub.OUT node 14 are observed at V.sub.FB node 34 with substantially the same magnitude. Because the magnitude of voltage changes is not reduced between V.sub.OUT node 14 and V.sub.FB node 34, the feedback voltage generated with resistor 76 and current source 78 is more robust to noise compared to a voltage divider. In addition, the offset and gain of comparator 40 are less critical, enabling the use of simpler and cheaper comparators.
(15)
(16) DAC 88 is a current sink that pulls current from V.sub.OUT node 14 through resistor 76, with the magnitude of current being controlled by the value stored in counter 86. The voltage potential at V.sub.FB node 34, in turn, is controlled by the magnitude of current being drawn by DAC 88. Feedback circuit 82 operates similarly to an analog-to-digital converter (ADC). Counter 86 provides a linear representation of the voltage potential of V.sub.OUT node 14. A digital value in counter 86 will settle at a value proportional to an analog voltage potential at V.sub.OUT node 14, and can be used to control output voltage with a purely digital controller. The voltage at V.sub.OUT node 14 is given by equation 5. In equation 5, counter represents the digital value stored in counter 86, and I.sub.LSB represents the change in magnitude of current drawn by DAC 88 by changing the least significant bit of the counter.
V.sub.OUT=V.sub.REF+(counter*I.sub.LSB*R.sub.76)Equation 5:
(17) As voltage at V.sub.OUT node 14 rises, the voltage potential at V.sub.FB node 34 will rise by an approximately equal magnitude. Comparator 84 will indicate that V.sub.FB node 34 is at a higher voltage potential than V.sub.REF node 42, and cause counter 86 to count upward. The rising value in counter 86 increases the magnitude of current drawn by DAC 88 through resistor 76, which increases the voltage drop across the resistor. Counter 86 will count up until the current drawn by DAC 88 is sufficient to reduce the voltage potential at V.sub.FB to be less than V.sub.REF. The amount by which counter 86 must count up is proportional to the voltage change at V.sub.OUT node 14.
(18) As voltage at V.sub.OUT node 14 falls, the voltage potential at V.sub.FB node 34 falls by an approximately equal magnitude. Comparator 84 will indicate that the V.sub.FB node 34 is at a lower voltage potential than V.sub.REF node 42, and cause counter 85 to count downward. The falling value in counter 86 reduces the magnitude of current drawn by DAC 88 through resistor 76, which reduces the voltage drop across the resistor. Counter 86 will count down until the current drawn by DAC 88 is low enough to increase the voltage of V.sub.FB node 34 to a greater value than V.sub.REF node 42. The amount by which the value in counter 86 falls is proportional to the drop in voltage potential at V.sub.OUT node 14.
(19) As the voltage potential of V.sub.OUT node 14 fluctuates, counter 86 moves proportionally. The value in counter 86 is a digital value proportional to a voltage potential at V.sub.OUT node 14. Control logic 90 reads the digital value in counter 86 and uses the knowledge of the output voltage to control MOSFET 20. If the value in counter 86 indicates that V.sub.OUT node 14 is at a lower than desired voltage potential, control logic 90 increases the frequency or duty cycle of switching MOSFET 20 to bring up the voltage of V.sub.OUT node 14. Control logic 90 observes the value in counter 86 to return the switching frequency to a lower value once the voltage potential at V.sub.OUT node 14 returns to the desired level.
(20) One advantage of utilizing a current DAC and single resistor architecture rather than a dual-resistor voltage divider is that negative voltages can be regulated by inverting the polarity of the comparator and mirroring the DAC to a source DAC rather than a sink DAC. On the other hand, the prior art architecture generally needs an additional fixed voltage for the voltage divider. Therefore, an additional pin on the controller IC is usually required to regulate negative voltages.
(21) Power regulator 100 in
(22)
(23) The voltage potential calculations for V.sub.FB node 34 and V.sub.OUT node 14 of negative voltage regulator 100 in
V.sub.FB=V.sub.OUT+(counter*I.sub.LSB*R.sub.76)Equation 6:
V.sub.OUT=V.sub.REF(counter*I.sub.LSB*R.sub.76)Equation 7:
(24) Feedback circuit 102 in
(25)
(26) Current source 114 is coupled to V.sub.FB node 34 in parallel with current DAC 88, and draws a fixed amount of current through resistor 76 regardless of counter 86. Current source 114 creates a voltage potential offset because of the additional current through, and voltage drop across, resistor 76. Without current source 114, when counter 86 contains the value zero, DAC 88 draws no current and the voltage potential at V.sub.FB node 34 equals the voltage potential at V.sub.OUT node 14. V.sub.OUT node 14 is regulated to the voltage potential of V.sub.REF node 42, because that is the voltage potential when V.sub.FB node 34 equals V.sub.REF. The maximum regulated voltage potential without current source 114 is given by equation 7, with counter 86 being at the maximum value, e.g., 0xFF in hexadecimal for an 8-bit DAC.
(27) Line 120 in
(28) The controller IC with feedback circuit 82 in
V.sub.OFS=I.sub.114*R.sub.76+V.sub.REFEquation 8:
(29) Adding current source 114 shifts the voltage potential at V.sub.OUT node 14 up by V.sub.OFS for a given value of counter 86, thus raising both the minimum regulable output voltage and the maximum regulable output voltage. The range provided by line 122 in
(30)
(31)
V.sub.OUT=(I.sub.134+I.sub.88)*R.sub.76+V.sub.REFEquation 9:
(32) One common use of the disclosed power regulators is for providing power to avalanche photodiode (APD) circuits as shown in
(33) Depending on the manufacturer and model of a particular APD 160 that is selected, the APD will require that the voltage potential at V.sub.OUT node 14 fall within a different range that can vary significantly. With the prior art voltage divider approach, the wider the spread of operational voltage of different APDs, the worse the resolution of the control voltage. However, the adjustment provided by coarse DAC 134 means that the fine adjustment of DAC 88 can be moved around if a particular APD 160 selected requires a different voltage range. The voltage of V.sub.FB node 34 always settles to be substantially equal to the voltage of V.sub.REF node 42, so any voltage range can be achieved as long as the current of coarse DAC 134 can be made high enough.
(34) Another benefit of the above implementation that includes digital-to-analog converters is that the DACs can be used for other purposes if not needed for regulator control logic. Many of the ICs that include the control logic may be used in situations where an external charge pump for controlling V.sub.OUT node 14 is not needed. In that case, the user can still use the DAC for other purposes.
(35) While one or more embodiments of the present invention have been illustrated in detail, the skilled artisan will appreciate that modifications and adaptations to those embodiments may be made without departing from the scope of the present invention as set forth in the following claims.