Abstract:
A DC--DC converter having an input node receiving an input voltage V IN  and generating an output voltage V OUT . A reference voltage generator provides a voltage V REF  and a hysteresis voltage generator provides a voltage V HYST . A first comparator generates a signal determined from a difference between V REF  and V OUT . A second comparator generates a signal determined from a difference between V OUT  and V HYST . A latch is coupled to receive the outputs of the first and second comparators, and to generate an output. A driver circuit receives the latch output and generates a PWM signal used to switch the output stage. A double pulse suppression circuit masks off the latch inputs for a preselected time during the switching intervals fo the main power transistors to eliminate noise jitter.

Description:
This application claims priority under 35 USC § 119(e)(1) of provisional application Ser, No. 60/068,546 filed Dec. 23, 1997. 
    
    
     BACKGROUND OF THE INVENTION 
     1. Field of the Invention 
     The present invention relates, in general, to integrated circuits and, more particularly, to integrated circuits having voltage regulator circuits generating a power supply voltage from an external power supply voltage. 
     2. Relevant Background 
     Integrated circuits (ICs) comprise thousands or millions of individual devices interconnected to provide desired functionality. Significant effort is expended to improve processing techniques so as to reduce the size of each individual device in order to provide greater functionality on a given IC chip at reduced cost. In general, smaller geometry devices operate faster while dissipating less power than do larger geometry devices. As device geometries are reduced the breakdown voltages of the devices and the isolation that separates the devices decreases also. 
     Electronic systems usually comprise ICs manufactured with a variety of technologies. This has created a need for multiple power supply voltages to be supplied to a single printed circuit board to support the various types of devices on that board. For example, devices are available that require power supply voltages ranging from 5.0 volts to 3.3 volts, 2.8 volts or lower. A practical solution to this disparity is to provide voltage regulator circuitry that decreases the higher voltage (e.g., 5.0V in the above example) to the lower voltage required by the small geometry device (e.g., 3.3 V or 2.8V). Hence, it is necessary to regulate the available power supply voltage to provide voltages consistent with that required by each of the small geometry ICs. 
     A conventional voltage regulator is designed to generate a lower voltage than the available supply voltage. Typically, a transistor is coupled in series between the external voltage node and the internal voltage supply node. The conductivity of the transistor is modulated to drop the excess voltage across the transistor. Linear regulators have many desirable characteristics such as simplicity, low output ripple, high quality line and load regulation, and fast recovery time. However, linear regulators are inefficient resulting in wasted power and excess heat generation. 
     Switching regulators, including ripple regulators, are becoming more common because of their characteristic high efficiency and high power density (i.e., power-to-volume ratio) resulting from smaller magnetic, capacitive, and heat sink components. Switching regulators indirectly regulate an average DC output voltage by selectively storing energy by switching energy on and off in an inductor. By comparing the output voltage to a reference voltage the inductor current is controlled to provide the desired output voltage. 
     Switching regulators exhibit longer hold-up times than linear regulators which is a characteristic that is important in computer applications. Switching regulators accept a wider range of input voltages with little effect on efficiency making them particularly useful in battery powered applications. However, peak-to-peak output voltage ripple of a switching regulator is typically greater than that of linear regulators. Also, ripple regulators have an initial accuracy (i.e., accuracy immediately after a load current change) error because the average output voltage value is indirectly regulated. Ripple regulators are also susceptible to instabilities due to noise coupling, especially when the power switches within the main power topology are being turned on and/or off. Hence, significant development effort is directed at reducing the voltage ripple of switching regulators. 
     To limit undesirable voltage ripple on the internal voltage supply node, the time constant of the regulator is desirably much longer than the internal cycle of the loading device. This prevents undesired voltage ripple within a cycle that can upset analog voltage levels. One way of controlling ripple is to heavily filter the regulator output by coupling a large capacitor between the internal voltage supply node and ground. In practice, however, filter capacitors consume a great deal of area without adding functionality. Cost and circuit size considerations dictate limiting the filter capacitor to more modest sizes. Hence, it is desirable to minimize voltage ripple in ways that do not require large filter capacitors. 
     Another technique to minimize ripple is to use a hysteretic comparator to compare the output voltage to a reference voltage. The hysteretic comparator output drives a switching transistor that controls current in the inductor. However, it is difficult to generate accurate hysteresis as well as provide the ability to program the hysteresis using off-chip components. One prior solution is to use a Schmidtt trigger with an amplifier/comparator having an output and a non-inverting input brought out to pins of the IC. Although this allows the user to program the hysteresis by connecting the external feedback resistor, in many cases, the internal resistor that defines the hysteresis cannot be connected externally because the reference voltage used is not allocated a pin. Although this limitation can be overcome by bringing the reference voltage out to a pin of the IC, this solution degrades the system&#39;s noise performance as well as raises the cost to manufacture the device. Moreover, the load capacitance created by the pins is significant making the design more complex in addition to degrading overall performance device. 
     One prior solution uses one comparator with regenerative feedback with the amount of feedback set by two resistors. In these circuits, the reference voltage (V REF ) must be adjusted each time the ripple or hysteresis voltage is adjusted in order to keep the average output voltage (V OUT ) constant. Another solution uses a long comparator propagation delay in the order of 500 nanosecond and additional pre-filtering to discriminate noise coupling during the switching intervals of the main power transistors. However, long propagation delays and over filtering result in errors in setting the ripple voltage of component of V OUT  especially when the DC/DC converter is operated at high switching frequencies (i.e., greater than about 100 KHz). 
     SUMMARY OF THE INVENTION 
     The present invention involves a DC--DC converter having an input node receiving an input voltage V IN  and generating an output voltage V OUT . A reference voltage generator provides a voltage V REF  and a hysteresis voltage generator provides a voltage V HYST . A first comparator generates a signal determined from a difference between V REF  and V OUT . A second comparator generates a signal determined from a difference between V OUT  and V HYST . A latch is coupled to receive the outputs of the first and second comparators, and to generate an output. A driver circuit receives the latch output and generates a PWM signal used to switch the output stage. 
    
    
     BRIEF DESCRIPTION OF THE DRAWINGS 
     FIG. 1 schematically illustrates a portion of the present invention in a DC/DC regulator; 
     FIG. 2 shows in schematic form an exemplary apparatus for providing programmable hysteresis voltage levels in accordance with the present invention; 
     FIG. 3 schematically illustrates a first alternative embodiment in accordance with the present invention; 
     FIG. 4 shows switching waveforms useful in understanding operation of the regulator in accordance with the present invention; and 
     FIG. 5 illustrates another alternative embodiment regulator in accordance with the present invention. 
    
    
     DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS 
     An embodiment of the present invention is illustrated schematically in FIG. 1. The present invention allows the user to set the minimum and maximum values of the ripple voltage with two reference voltages. The average output voltage is controlled by comparing a reference voltage (V REF ) to the output voltage (V OUT ) using a first comparator 101. The ripple regulation is controlled by comparing the second reference voltage (V HYST ) to V OUT  using a separate comparator 102. Desirably, the values of V REF  and V HYST  are pin programmable (i.e., can be set using signals applied to I/O pins of the IC) using a circuit shown in FIG. 2. 
     The present invention operates fundamentally as a regulator comprising two distinct comparator elements. A first comparator element 101 is designed to control the average output voltage while a second distinct comparator 102 is designed to control the ripple voltage. The pulse width modulated outputs of these comparators are logically combined using a latch 103 to generate a logic signal input to a driver 104. In the particular implementation, latch 103 comprises a set/reset (SR) latch 103 having its set input coupled to receive the output of comparator 102 and the reset input coupled to receive the output of comparator 101. The non-inverted output Q of latch 103 is coupled to provide the pulse width modulated (PWM) logic signal to driver 104. 
     The example of FIG. 1 shows a buck regulator output stage in which the output of driver 104 (V DRIVE ) drives a switch 106 implemented as an n-channel MOSFET. The buck regulator of FIG. 1 is used to step an input voltage VIN down to a lower DC level in the particular example. Switch 106 chops the input DC voltage VIN into a square wave. This square wave is then converted back into a DC voltage of lower magnitude by the low pass filter comprising inductor 107 and capacitor 108. Diode 109 shunts excess voltage to ground while capacitor 111 serves as a preliminary filter to smooth variations in V IN . The duty cycle of the square wave relates the output voltage to the input voltage by the equation: ##EQU1## where t on  and t off  describe the duty cycle of the V DRIVE  output from driver 104. 
     FIG. 2 illustrates an exemplary circuit used to generate V HYST  from V REF . A bandgap reference 207 is buffered and gained up by amplifier 201 to provide V REF . V HYST  is generated by a resistor divider network 202 having a plurality of taps 203 is formed using any convenient technique. Resistor divider network 202 can be formed on the same IC as the regulator in accordance with the present invention to provide close matching of resistance values over temperature and time. Each tap 203 is coupled through a switch 204 to a summing node 206. V HYST  is generated on summing node 206. A logic circuit such as a multiplexor or selector circuit (not shown) receiving data from one or more external I/O pins is used to control switches 204. This feature allows user programmability of V HYST . Reference voltage V REF  is generated by a high quality reference such as a bandgap reference thus both V REF  and V HYST  will be suitably stable. 
     In a particular example, V REF  and V HYST  are set such that: 
     
         V.sub.OUT (average)=(V.sub.REF +V.sub.HYST)/2; and 
    
     
         V.sub.ripple =V.sub.REF -V.sub.HYST 
    
     where V ripple  is the desired peak-to-peak voltage ripple on V out . In this manner, the regulator in accordance with the present invention is configured as two comparators 101 and 102 each with low propagation delay. By making V REF  and V HYST  pin programmable, the regulator in accordance with the present invention can be user-adjusted to meet the needs of a particular application. 
     Setting the peak-to-peak ripple voltage depends on the value of resistor ratio selected by the circuit in FIG. 2 and the absolute value of a supply voltage such as V DD . V DD  is usually an available logic supply and may have ripple voltage on its output, especially at high frequencies. It is desirable to set V HYST  as accurately as possible and as stable as possible. In the circuit shown in FIG. 1, when transistor 106 switches, noise can be coupled back to comparator 101 and comparator 102 through the V OUT  line. 
     In the embodiment shown in FIG. 3, noise coupling is reduced by adding matched filters 301 and 302 to the front-end of comparators 101 and 102 and adding monostable multivibrator logic to mask off the S and R inputs of latch 103 for a fixed time during the switching interval of transistor 106. The design and implementation of matched filters 301 and 302 is well understood and so not described in greater detail herein. The monostable multivibrator logic comprises, for example, a two-input OR logic gate 305 having one input coupled to receive the output of comparator 101 (labeled RESET --  CMP in FIG. 3) and a second input coupled to receive a masking signal labeled RESET --  CNT. The masking signal RESET --  CNT is generated by feeding back the HC --  OUT signal on the non-inverting output Q of latch 103 through rising-edge delay circuit 303. The output of rising-edge delay circuit 303 is inverted by inverter 304 before it is applied to gate 305. Another two-input OR logic gate 310 has one input coupled to receive the output of comparator 102 (labeled SET --  CMP in FIG. 3) and a second input coupled to receive a second masking signal SET --  CNT. The second masking signal SET --  CNT is generated by feeding back the HC --  OUT signal provided by inverter 307 through rising-edge delay circuit 306. The output of rising-edge delay circuit 306 is inverted by inverter 308 before it is applied to gate 305. 
     In a first case, transistor 106 is on (i.e., conducting current) and V OUT  ripple is increasing. During this time, illustrated at during a time to the left of T1 in FIG. 4, the first masking signal RESET --  CNT from inverter 304 is low, enabling the reset input to latch 103. Also during this time, the second masking signal SET --  CNT from inverter 308 is high, disabling the set input to latch 103. When V OUT  becomes greater than V REF  at time T1 the RESET --  CMP signal goes low. Shortly after RESET --  CMP goes low, the RESET signal goes low to reset latch 103. The HC --  OUT signal turns off after a brief propagation delay following RESET going low, and driver 104 begins to turn off transistor 106. Because of rising edge delay 306, the second masking signal SET --  CNT remains high during the transition of transistor 106 from on to off. The delay (t d ) provided by rising edge delay 306 is selected to be sufficiently long for transients to settle out before enabling the set input. The set input is enabled at time T3 when SET --  CNT goes low. 
     Once the HC --  OUT signal from latch 103 goes low and after the delay time t d  defined by rising edge delay 303, the reset input to latch 103 is disabled by RESET --  CNT going high. In the examples herein, the delay of rising edge delay 303 is substantially equal to the delay of rising edge delay 306, hence, RESET --  CNT goes high at time T3. The reset input will remain disabled by RESET --  CNT until the Q output signal, HC --  OUT, transitions to a high, which occurs after V OUT  falls below V HYST  at time T4. Shortly after SET --  CMP goes low, the SET signal goes low to set latch 103. The HC --  OUT signal turns on after a brief propagation delay following SET going low, and driver 104 begins to turn on transistor 106. Because of rising edge delay 303, the first masking signal RESET --  CNT remains high during the transition of transistor 106 from off to on. The delay (t d ) provided by rising edge delay 303 is selected to be sufficiently long for transients to settle out before enabling the reset input. The reset input is enabled at time T 6  when RESET --  CNT goes low. 
     FIG. 5 shows a portion of an alternative embodiment regulator in accordance with the present invention. FIG. 5 shows a synchronous buck power stage 501 used to efficiently convert the input voltage V IN  down to a lower DC voltage V OUT . In this implementation transistors 502 and 503 receive independent drive signals from dead time control circuit 504 based upon the output of latch 103. Switches 502 and 503 chop the input DC voltage V IN  into a square wave. This square wave is then converted into a DC voltage of lower magnitude by a low pass filter comprising inductor 507 and capacitor 508. The embodiment shown in FIG. 5 improves efficiency by replacing freewheeling diode 109 (shown in FIG. 1) with a low on-resistance MOSFET. 
     Although the invention has been described and illustrated with a certain degree of particularity, it is understood that the present disclosure has been made only by way of example, and that numerous changes in the combination and arrangement of parts can be resorted to by those skilled in the art without departing from the spirit and scope of the invention, as hereinafter claimed.