Field of the Invention
The invention relates to the field of DC-to-DC converters. In particular, the invention relates to the field of DC-to-DC converters having hysteretic current limiting and that do not utilize a sensing resistor in series with the inductor.
Background of the Invention
FIG. 1 illustrates a schematic diagram of a power stage of a DC-to-DC converter of the prior art. A voltage supply Vin is applied to a first terminal of a switch S. A second terminal of the switch S is coupled to a cathode of a diode D and to a first terminal of an inductor L. An anode of the diode D is coupled to a ground node. A second terminal of the inductor L is coupled to a first terminal of a resistor R. A second terminal of the resistor R is coupled to a first terminal of a capacitor C and forms an output voltage Vout. A second terminal of the capacitor C is coupled to the ground node.
A control circuit (not shown) generates a signal Vcontrol for controlling the switch S. When the switch S is turned on (closed), the input voltage Vin is applied to the first terminal of the inductor L causing current in the inductor L to increase in amplitude. This current flowing through the inductor L simultaneously charges the output capacitor C, and stores energy in the inductor L as an increasing magnetic field strength. When the switch S is turned off (opened), the energy stored in the magnetic field of the inductor L is converted back into current. The energy stored in the magnetic field of the inductor L continues to charge the capacitor C until either the cycle is repeated or the energy stored in the inductor L is depleted. The current through the capacitor C is a difference between the current through the inductor L and a current drawn by a load coupled to the output voltage Vout. Since dV/dt=dI/C, it can be seen that the capacitor C will act to smooth any resulting ripple in the output voltage Vout.
The switch S is controlled with feedback to maintain the output voltage Vout at a constant level. In certain applications, it may be necessary to sense the inductor current I1. This is accomplished by sensing a voltage Vs across the resistor R in series with the inductor L. The value of the sensing resistor R, however, should be tightly controlled for sensing the inductor current I1 accurately and must be capable of dissipating a relatively large amount of power because all the current to the load passes through the resistor R. This power dissipation in the resistor R has a detrimental effect upon the efficiency of the DC-to-DC converter. For example, in applications that utilize a battery for the supply Vin, a substantial amount of the battery power may be dissipated in the resistor R. For these reasons, what is needed is a technique for sensing the inductor current without utilizing a sensing resistor which is continuously carrying the inductor current.
Summary of the Invention
The invention is a DC-to-DC converter including hysteretic inductor current limiting that does not utilize a resistor in series with the inductor for sensing the inductor current. A voltage supply, such as a battery, is coupled to a drain of a first transistor. A source of the first transistor is coupled to a first terminal of the inductor and to a drain of a second transistor. A source of the second transistor is coupled to ground through a resistor. A second terminal of the inductor is coupled to a first terminal of a capacitor. A second terminal of the capacitor is coupled to ground.
When the first transistor is turned on, the second transistor is turned off and the voltage supply is applied to the first terminal of the inductor, causing current in the inductor to increase in amplitude. The current flowing through the inductor simultaneously charges the capacitor, and stores energy in the inductor as an increasing magnetic field strength. When the first transistor is turned off, the second transistor is turned on, and the energy stored in the magnetic field of the inductor is converted back into current. The energy stored in the magnetic field of the inductor continues to charge the capacitor until either the cycle is repeated or the energy stored in the inductor is depleted. The current through the capacitor C is a difference between the current through the inductor L and a current drawn by a load coupled to the output voltage Vout. Since dV/dt=dI/C, it can be seen that the capacitor C will act to smooth any resulting ripple in the output voltage Vout. The voltage across the capacitor is held constant for powering a load by controlling the first and second transistors in a feedback loop.
The inductor current is monitored and limited to prevent excessive current from damaging circuit elements. When the first transistor is off and the second transistor is on, a voltage across the resistor in series with the second transistor forms a signal that is representative of the inductor current. When the inductor current is higher than a first threshold at the start of a discharge cycle, the discharge cycle is extended until the inductor current falls below a second threshold, lower than the first threshold. Thus, the inductor current is hysteretically limited.
Brief Description of the Drawings
FIG. 1 illustrates a schematic diagram of a power stage of a DC-to-DC converter of the prior art.
FIG. 2 illustrates a simplified schematic block diagram of a DC-to-DC converter of the present invention.
FIG. 3 illustrates waveforms for signals of the circuit of FIG. 2.
FIG. 4 illustrates a simplified schematic block diagram of an integrated circuit DC-to-DC converter controller and power stage of the present invention.
FIG. 5 illustrates a detailed schematic diagram of the integrated circuit DC-to-DC controller of the present invention.
Detailed Description of the Preferred Embodiment
FIG. 2 illustrates a simplified schematic block diagram of a DC-to-DC converter of the present invention. A supply voltage Vin, such as a battery, is coupled to a drain of an NMOS transistor M1. A source of the transistor M1 is coupled to a first terminal of an inductor L and to a drain of an NMOS transistor M2. A source of the transistor M2 is coupled to a first terminal of a resistor Rsense and to an inverting input of a Schmitt trigger U1. A second terminal of the resistor Rsense is coupled to a ground node. A voltage across the resistor Rsense forms a signal Isense.
A second terminal of the inductor L is coupled to a first terminal of an output capacitor C and to a negative input to an amplifier U2. A second terminal of the capacitor C is coupled to the ground node. An output voltage Vout is formed across the capacitor C. A positive input to the amplifier U2 is coupled to a reference voltage Vref. An output of the amplifier U2 forms a signal Verror and is coupled to a negative input of a comparator U3.
A ramp output RAMP of an oscillator U4 is coupled to a positive input of the comparator U3. An output of the comparator U3 is coupled to a first input of an OR gate U5. An output of the Schmitt trigger U1 is coupled to a second input of the OR gate U5. An output of the OR gate U5 is coupled to a reset input R of a flip-flop U6. A clock output CLK of the oscillator U4 is coupled to a clock input CLK of the flip-flop U6. A Q output of the flip-flop U6 forms a signal DRVH and is coupled to a gate of the transistor M1. A Q output of the flip-flop U6 forms a signal DRVL and is coupled to a data input D of the flip-flop U6 and to a gate of the transistor M2.
The circuit illustrated in FIG. 2 operates as follows: When the transistor M1 is controlled by the signal DRVH to be on, the transistor M2 is controlled by the signal DRVL to be off, and when the transistor M1 is controlled by the signal DRVH to be off, the transistor M2 is controlled by the signal DRVL to be on. Thus, when the transistor M1 is turned on, the voltage supply is applied to the first terminal of the inductor L causing current in the inductor L to increase in amplitude. The current flowing through the inductor L simultaneously charges the capacitor C, and stores energy in the inductor L as an increasing magnetic field strength. When the transistor M1 is turned off, the transistor M2 is turned on, the energy stored in the magnetic field of the inductor L is converted back into current. The energy stored in the magnetic field of the inductor L continues to charge the capacitor C until either the cycle is repeated or the energy stored in the inductor L is depleted. The current through the capacitor C is a difference between the current through the inductor L and a current drawn by a load coupled to the output voltage Vout. Since dV/dt=dI/C, it can be seen that the capacitor C will act to smooth any resulting ripple in the output voltage Vout. By controlling the transistors M1 and M2, a constant output voltage Vout can be generated across the capacitor C for powering a load.
FIG. 3 illustrates waveforms for signals of the circuit of FIG. 2. The clock output CLK of the oscillator U4 is illustrated in FIG. 3A. The ramp output RAMP of the oscillator U4 is illustrated in FIG. 3B. A voltage representative of the output voltage Vout is compared to the reference voltage Vref, representative of a desired output voltage level, by the amplifier U2 for generating the signal Verror, as illustrated in FIG. 3B. The voltage representative of the output voltage Vout, can be the output voltage Vout, as illustrated in FIG. 2, or can be a voltage formed by a resistive divider coupled to the output node. Thus, the signal Verror is representative of a difference between the output voltage Vout and a desired output voltage.
FIG. 3C illustrates the signal DRVH, generated by the flip-flop U6, which controls the transistor M1. The signal DRVL is not shown because, as stated above, the signal DRVL is understood to be complementary to the signal DRVH. At each trailing edge of the clock signal CLK, the signal DRVH is set to a logical high voltage level which turns on the transistor M1. When the ramp output RAMP of the oscillator U4 exceeds the signal Verror, the output of the comparator U3 changes from a logical low voltage to a logical high voltage. This causes the output of the OR gate U6 to be a logical high voltage, resetting the flip-flop U6 such that the signal DRVH becomes a logical low voltage, turning off the transistor M1. At the next trailing edge of the clock signal CLK, the signal DRVH is set to a logical high voltage again, turning on the transistor M1, and the cycle repeats. Thus, the signal DRVH is pulse-width modulated according to a constant frequency.
FIG. 3D illustrates the current I1 through the inductor L. It is desired to monitor the current I1 to ensure that it does not become too large, as damage may result to components of the circuit, such as the transistor M1, the transistor M2 or the inductor L. When the transistor M1 is off and the transistor M2 is on, the inductor L is being discharged into the capacitor C. A current drawn through the resistor Rsense generates a negative voltage signal Isense that is representative of the current I1 in the inductor L. The voltage Isense is negative because current is drawn from ground through the resistor Rsense during the discharge cycle. For this reason, the signal Isense is coupled to a negative input to the Schmitt trigger U1.
The Schmitt trigger U1 has a hysteretic transfer characteristic such that the output of the Schmitt trigger U1 changes from a logical low voltage to a logical high voltage when the signal Isense becomes more negative than a first threshold. The output of the Schmitt trigger will change back to a logical low voltage when the signal Isense becomes less negative than a second threshold, where the first threshold is more negative than the second threshold.
For clarity, FIG. 3D shows the thresholds as having positive levels and shows the thresholds relative to the current I1. In FIG. 3D, the first threshold is represented relative to the current I1 by Ilimit1 and the second threshold is represented relative to the current I1 by Ilimit2. As can be seen from FIG. 3D, the threshold Ilimit2 is lower than the threshold Ilimit1. As will be apparent, the level of the threshold Ilimit1 and the threshold Ilimit2 are selectively controllable by adjusting parameters of the Schmitt trigger U1.
At the start of a discharge cycle, if the current I1 through the inductor L, as sensed by the signal Isense, has exceeds the first threshold Ilimit1, the output of the Schmitt trigger U1 becomes a logical high voltage causing the output of the OR gate U5 to be a logical high voltage. Thus, at a next trailing edge of the clock signal CLK, the reset R input of the flip-flop U6 is at a logical high voltage, holding the Q output at logical low voltage and holding the transistor M1 off. This occurrence is illustrated in FIG. 3 where it can be seen that after the current I1 exceeds the first threshold Ilimit1, the signal DRVH remains low after the next trailing edge of the clock signal until the current I1 passes below the second threshold Ilimit2. Then, at a next trailing edge of the clock signal, the signal DRVH becomes a logical high voltage, turning the transistor M1 on again.
During a charge cycle, when the transistor M2 is off, the voltage across the resistor Rsense is no longer representative of the current I1. Also, the output of the Schmitt trigger U1 will be a logical low voltage because the input of the Schmitt trigger will be close to zero volts. Thus, according to the invention, the current I1 in the inductor L is monitored only during the discharge cycles, rather than at all times, as in the prior art. During the charge cycles, the transistor M2 is off. Therefore, during the charge cycles, no power is dissipated in the resistor Rsense. Thus, the present invention saves power over the prior art.
FIG. 4 illustrates a simplified schematic block diagram of an integrated circuit DC-to-DC converter controller and power stage of the present invention. The integrated circuit 100 shown enclosed by dotted lines is available under part number ML4900 from Micro Linear Corporation, located at 2092 Concourse Drive in San Jose, Calif. The integrated circuit 100, includes pins 1-16. Referring to portions of the diagram internal to the integrated circuit 100, pins 1-4 are coupled to four inputs of a 4-bit digital-to-analog converter 102. An output of the digital-to-analog converter 102 forms the reference voltage Vref and is coupled to a positive input to an amplifier U2 (corresponding to the amplifier U2 of FIG. 2).
Pins 5, 6 and 16 are coupled to a shutdown control circuit 104. Pin 15 is coupled to the shutdown control circuit and to a buck regulator circuit 106. The shutdown control circuit 104 disables the output of the regulator and isolates the output of the regulator from the input supply Vin. Pin 8 is coupled to a ground of a reference voltage circuit 108. Pin 7 is coupled to reference voltage level of the reference voltage circuit 108. Pin 14 is coupled to a DRVH output of the buck regulator circuit 106. Pin 13 is coupled to a DRVL output of the buck regulator circuit 106. Pin 10 is coupled to an Isense input of the buck regulator circuit 106. Pin 12 is coupled to a ground of the buck regulator circuit 106. Pin 11 is coupled to an output of the amplifier U2 and to a voltage error input to the buck regulator 106.
Referring to portions of FIG. 4 that are external to the integrated circuit 100, Pins 1-4 are coupled to receive a 4 bit digital signal representative of a desired level for the output voltage Vout. Pin 5 is coupled to an anode of each of diodes D1-Dn. A cathode of each of the diodes D1-Dn is coupled to receive a corresponding external OUTPUT ENABLE signal for enabling/disabling the output of the DC-to-DC converter. This allows a number of external circuits equal to the number n to enable/disable to the output of the DC-to-DC converter. Pin 16 is coupled to a first terminal of a resistor 110 and to a first terminal of a capacitor 112. A second terminal of the resistor 110 is coupled to a second terminal of the capacitor 112, to a first terminal of capacitor 114 and to a first terminal of a resistor 116. A second terminal of the capacitor 114 is coupled to ground. A second terminal of the resistor 116 is coupled to a first terminal of a capacitor 118, to a Vin terminal and to a drain of the transistor M1. A second terminal of the capacitor 118 is coupled to ground.
Pin 15 is coupled to a first terminal of a capacitor 120 and to a VDD terminal. A second terminal of the capacitor 120 is coupled to ground. Pin 8 is coupled to a first terminal of a capacitor 122 and to ground. Pin 7 is coupled to a second terminal of the capacitor 122. Pin 14 is coupled to a gate of the transistor M1. Pin 13 is coupled to a gate of the transistor M2. A source of the transistor M1 is coupled to a drain of the transistor M2 and to a first terminal of the inductor L. A second terminal if the inductor L is coupled to Pin 9 and to a first terminal of the capacitor C. A second terminal of the capacitor C is coupled to the ground node. The output voltage Vout is formed across the capacitor C.
Pin 10 is coupled to a source of the transistor M2 and to a first terminal of the resistor Rsense. A second terminal of the resistor Rsense is coupled to the ground node. Pin 12 is coupled to ground. Pin 11 is coupled to a first terminal of a resistor 124. A second terminal of the resistor 124 is coupled to a first terminal of a capacitor 126. A second terminal of the capacitor 126 is coupled to the ground node.
FIG. 5 illustrates a detailed schematic diagram of the integrated circuit DC-to-DC controller of the present invention. Elements of FIG. 5 corresponding to elements of FIG. 2 and FIG. 4 are labelled with corresponding reference characters. In FIG. 5, the signal Vfeedback is coupled to the negative input of the amplifier U2. The reference voltage Vref, generated by the digital-to-analog converter 102, is coupled to the positive input of the amplifier U2. The output of the amplifier U2 forms the signal Verror and is coupled to the negative input terminal of the comparator U3. The oscillator U4 forms the signal RAMP which is coupled to the positive input of the comparator U3. The oscillator U4 also forms the clock signal CLK. In FIG. 5, the signal Isense is coupled to a negative input of the Schmitt trigger U1.
In FIG. 5, logic circuits including the elements U10, U11, U12, U13, U14, U15, U16, U17 and U18 perform the functions of the OR gate U5 and the flop-flop U6 of FIG. 2 for forming the signals DRVH and DRVL. Preferably, the flip-flop U6 of FIG. 2 and its corresponding elements of FIG. 5 have a break-before-make function which prevents the transistors M1 and M2 from both being momentarily turned on during switching. In addition, the transistors M1 and M2 preferably have a high power dissipation abilities for supplying sufficient power to a load coupled across the output capacitor C. In FIG. 5, the comparator U19 and flip-flop U20 can be omitted, with the NOR gate U16 having three, rather than four inputs.
The present invention has been described in terms of specific embodiments incorporating details to facilitate the understanding of the principles of construction and operation of the invention. Such reference herein to specific embodiments and details thereof is not intended to limit the scope of the claims appended hereto. It will be apparent to those skilled in the art that modifications may be made in the embodiments chosen for illustration without departing from the spirit and scope of the invention.
Specifically, it will be apparent to one of ordinary skill in the art that the device of the present invention could be implemented in several different ways and the apparatus disclosed above is only illustrative of the preferred embodiment of the invention and is in no way a limitation. For example, it would be within the scope of the invention to vary the values of the various components and voltage levels disclosed herein. It will be apparent that transistors of one type, such as NMOS, PMOS, bipolar pnp or bipolar npn can be interchanged with a transistor of another type, and in some cases interchanged with diodes, with appropriate modifications of the remaining circuitry, and so forth.