Power conversion circuitry may be used to provide regulated voltages to electronic circuits. One type of power conversion circuitry is a direct current-to-direct current (DC-to-DC) regulator. A DC-to-DC regulator may convert a DC input voltage received from an energy source, such as a battery, to a DC output voltage, which may be provided to an output load. The DC-to-DC regulator may be a switching regulator that uses switching circuitry to generate a regulated DC output voltage. Switching regulators may use pulse width modulation (PWM), in which an amount of energy proportional to a pulse width of a PWM signal is transferred through switching circuitry to maintain the DC output voltage.
Under certain situations, a current mode switching regulator may exhibit instability. For example, when a duty-cycle of the PWM signals exceeds fifty percent, current being transferred through an inductor to a load may experience a cycle-by-cycle increase in deviation from a nominal value of minimum peak current through the inductor, which may cause unstable operation of the regulator.
Embodiments of the present invention are defined by the claims, and nothing in this section should be taken as a limitation on those claims. By way of example, the embodiments described in this document and illustrated in the attached drawings generally relate to a slope compensation circuit, and to a method of generating a slope compensation output for performance of slope compensation by a regulator.
In one example, a slope compensation circuit is configured to perform slope compensation for a current mode switching regulator. The current mode switching regulator may include switching circuitry to control flow of ramp up and ramp down portions of electrical current through an inductor to generate an output voltage. The switching circuitry may be responsive to a switching signal having a period with a first time duration that corresponds to the ramp up portion and a second time duration that corresponds to the ramp down portion. The first time duration is proportional to a duty cycle of the switching signal. The slope compensation circuit includes: a storage device configured to generate a voltage; pull down circuitry configured to pull down the voltage to a level corresponding to a logic low based on the duty cycle of the switching signal; and a voltage-to-current converter configured to generate a first current based on the voltage. The slope compensation circuit also includes current mirror circuitry configured to: mirror the first current to generate a second current and supply the second current to the storage device for generation of the voltage; and mirror the first current to generate a third current and supply the third current to an output of the slope compensation circuit for generation of a slope compensation output.
In sum, the compensation slope circuit may output a slope output that is duty-cycle dependent such that there is minimal slope compensation for an entire range of duty cycles. In this way, slope compensation may be performed without overcompensation at lower duty cycles.
These and other embodiments, features, aspects and advantages of the present invention will become better understood from the description herein, appended claims, and accompanying drawings as hereafter described.
The accompanying drawings, which are incorporated in and constitute a part of this specification illustrate various aspects of the invention and together with the description, serve to explain its principles. Wherever convenient, the same reference numbers will be used throughout the drawings to refer to the same or like elements.
Various modifications to and equivalents of the embodiments described and shown are possible and various generic principles defined herein may be applied to these and other embodiments. Thus, the claimed invention is to be accorded the widest scope consistent with the principles, features, and teachings disclosed herein.
The present description describes electronic circuits and circuit systems that output slope compensation signals for performance of slope compensation to prevent or minimize unstable operation of a current mode switching regulator. The current mode switching regulator may use switching circuitry to generate a regulated DC output voltage. The switching circuitry may be controlled by switching signals with associated duty cycles, which may be adjusted to control and/or adjust the DC output voltage. The slope compensation output may be duty-cycle dependent on the duty cycles of the switching signals such that there is minimal slope compensation for an entire range of duty cycles, from 0% to 100%. In this way, slope compensation may be performed without overcompensation at lower duty cycles.
The current IL through the inductor 105 may include a ramp up portion and a ramp down portion. The switching circuitry 107 may be configured to switch between states to determine or control the flow of the inductor current IL through the inductor 105, including the ramp up and the ramp down portions. For some configurations, the switches of the switching circuitry 107 may be configured to switch between “on” and “off” states, which may determine the states of the switching circuitry 107. As described in more detail below, switching signals may be used to switch the switches in the switching circuitry between the states to control the ramp up and ramp down portions of the inductor current IL. Various configurations are possible.
Referring back to
The switching signals may have characteristics that determine the state of a switch, such as whether the switch is “on” or “off,” and/or for how long the switch is “on” or “off.” Example characteristics may include waveform, frequency, period, pulse width, and/or duty cycle. In accordance with these characteristics, the switching signals may generally oscillate between high and low levels, such as voltage levels corresponding to logic “high” and logic “low” levels to turn the switches “on” and “off.” In one example, the switching signals may be pulse-width modulated (PWM) signals, although other types of switching signals may be used.
A period of the switching signal may correspond to and/or be determined by a clock signal CLK used to control timing and clocking in the switching regulator 100. A duty cycle of the switching signals may determine a duration of the switching signal's pulse width over the period, or the amount of time that the switching signal is “high” and “low” over the period. The duty cycle, which may be identified in terms of a percentage or ratio, may identify a relationship between a pulse duration and a period of the switching signal or the clock signal CLK. For example, a fifty percent (50%) duty cycle may refer to the switching signal having a pulse width that is about half or 50% of its period or the period of the clock signal CLK corresponding to the switching signal.
The duty cycle of the switching signal may determine how long a switch in the switching circuitry 107 is “on” or “off,” which may determine the flow of current through the inductor 105, and which in turn may determine the DC output voltage VOUT. For some configurations, a greater duty cycle may yield a larger DC output voltage VOUT, and a smaller duty cycle may yield a smaller DC output voltage VOUT. As such, energy in the switching signals, which may be proportional to the pulse width of the switching signals, may determine a corresponding DC output voltage VOUT. Further, regulation of the output voltage VOUT may be achieved by adjusting or modulating the pulse widths or duty cycles of the switching signals.
The current mode switching regulator 100 may include PWM control circuitry 116 in communication with the driver circuitry 110 to control the driver circuitry 110 and to determine the duty cycles of the switching signals. The PWM control circuitry 116 may output control signals to the driver circuitry 110 to generate switching signals having desired characteristics. For example, the control signals output by the PWM control circuitry 116 may determine the pulse widths or duty cycles and periods of the switching signals. Other characteristics of the switching signals, such as amplitude, frequency and/or timing of the output of the switching signals, may also be determined and/or controlled by the PWM control circuitry 116. In some configurations, the PWM control circuitry 116 may include one or more latches or flip-flops to generate and/or output the control signals.
To determine the duty cycles and periods of the switching signals, the PWM control circuitry 116 may receive SET and RESET signals. The SET signal may be generated by a pulse signal generator 123, which may be controlled by the clock signal CLK. In particular, the pulse signal generator 123 may be configured to generate a pulse signal on a rising edge of the clock signal CLK. The RESET signal may be output by a PWM comparator 118, which is described in more detail below. A period T of the clock signal may determine a period of the switching signals. A time difference Δt may determine the duty cycle of the switching signals. In particular, a duty cycle D may be determined by the following mathematical equation:
The current mode switching regulator 100 may include a feedback system for PWM control to regulate the DC output voltage VOUT and to stabilize operation of the regulator 100. The feedback system may include a voltage feedback system and a current feedback system. By having a current feedback system or a combination of voltage and current feedback systems, the switching regulator 100 may be considered a current mode switching regulator.
The voltage feedback system may include an output voltage feedback loop feedback loop 119 that connects the output 103 of the regulator 100 with a first input of an error amplifier 120, and feeds back the DC output voltage VOUT to the first input. The error amplifier 120 may be an operational amplifier (op-amp), as an example. As shown in
The current feedback system may include current sensing circuitry 124, which may sense or monitor the current flowing through or into the switch transistors circuitry 104. For some configurations, the current sensing circuitry 124 may sense a voltage drop across a switch transistor in the switching circuitry, which may be indicative of the current flow through the inductor 104.
Output signals generated by the voltage and current feedback systems may be sent to inputs (e.g., positive and negative input terminals) of the PWM comparator 118. The PWM comparator 118 may be configured to compare the output of the voltage feedback system with the output from the current feedback voltage system. If the output from the current feedback system is equal to or exceeds the output from the voltage feedback system, the PWM comparator 118 may be configured to output the RESET signal to the PWM control circuitry 116, which may set or determine a corresponding duty cycle for the switching signals. Alternatively, if the output of the current feedback system is less than the output from the voltage feedback system, the PWM comparator 118 may be configured to not output a reset signal.
As previously described, the RESET signal received by the PWM control circuitry 116 may set or yield a duty cycle or pulse width of the switching signal. That is the duty cycle and/or the pulse width may correspond to the time difference Δt between the SET pulse and the RESET pulse. Through use of the voltage and current feedback systems, the pulse width or duty cycle of the PWM signals may be managed and/or adjusted so that a regulated DC output voltage VOUT may be achieved.
Current mode switching regulators, such as the regulator 100 shown in
The current mode switching regulator 100 may include slope compensation circuitry 102, which may generate an output signal that modifies the current sensing signal to reduce the instability. To modify the current sensing signal, the output signal of the slope compensation circuitry 102, referred to as a compensation ramp signal, may be sent to an adder or summation circuitry 126, which may also receive the current sensing signal from the current sensing circuitry 124. The summation circuitry 126 may add the current sensing signal with the compensation ramp signal to generate a modified current sensing signal, referred to as a PWM ramp signal. The PWM ramp signal may be sent to an input terminal of the PWM comparator 118, where it is compared with the PWM control signal received from the error amplifier 118. By comparing the PWM control signal (or the modified current sensing signal) with the PWM ramp signal from the adder 126, rather than with the current sensing signal directly from the current sensing circuitry 124, unstable operation of the current mode switching regulator 100 may be reduced.
For some configurations, multiple switching signals may be output to multiple switches in the switching circuitry. Some of the switches may turn “on” to control or determine the ramp up portion of the inductor current IL, while other switches may turn “off.” Similarly, some of the switches may turn “on” to control or determine the ramp down portion of the inductor current IL, while other switches may turn “off.” For these configurations, the duty cycle D may refer to the duty cycles of the switching signals that correspond to the ramp up portion of the inductor current IL, or duty cycles of switching signal that turn the switches “on” for the ramp up portion of the inductor current IL.
As previously described, instability may occur for duty cycles that exceed 50%. That is, when the duty cycles of the PWM signals are less than or equal to 50%, modification of the current sensing signal using slope compensation may be unnecessary. Moreover, performing slope compensation on current sensing signals having duty cycles less than or equal to 50% may result in over compensation, which may still cause instability. As such, it may be desirable to avoid or minimize slope compensation for duty cycles less than or equal to 50%. Some slope compensation techniques, such as linear slope compensation or non-linear second-order slope compensation, may not adequately minimize slope compensation for duty cycles less than or equal to 50%, which may result in over compensation and instability.
For stable operation, the slope compensation circuitry 102 ideally performs slope compensation and outputs the compensation ramp signal in accordance with the following mathematical function, referred to as the Deisch function:
where Vramp(t) is the compensation ramp signal as a function of time t, VOUT is the DC output voltage, T is the period, Rs is a reference resistance related to the current sensing circuitry 124, L is an inductance value of the inductor 105, and T/2 is representative of a 50% duty cycle. To the slope compensation circuitry 102 to output a compensation ramp signal that resembles and/or approaches the Deisch function as close as possible.
The slope compensation circuitry 102 of the regulator 100 may generate a compensation ramp signal that is duty-cycle dependent of the duty cycles of the switching signals driving the switching circuitry 107 and that closely resembles the Deisch function. In particular, an output voltage of the compensation ramp signal may be duty-cycle dependent in that a voltage level or amplitude VRMP to which the output voltage ramps up over the time period Δt may depend on the duty cycle, a slope of the curve of the amplitude VRMP as a function of duty cycle may depend on the duty cycle, and the waveform of the output voltage of the PWM ramp signal may depend on the duty cycle.
To generate an output voltage that is dependent on a switching signal having a duty cycle that corresponds to the ramp up portion of the inductor current IL (e.g., a switching signal that turns switches “on” to control the ramp up portion of the inductor current IL), a signal proportional to the switching signal, such as a signal with the same duty cycle as the switching signal, may be applied to the slope compensation circuitry 102 as an input. The signal used may depend on the topology of the switching regulator used for the current mode switching regulator 100, such as those topologies corresponding to the ones shown in
An inductor L may deliver current IL to the output 103 to generate and maintain the output voltage VOUT. An average current IL delivered through the inductor L to the output 103 may be equal or substantially equal to an output current at the output 103. The inductor L may have an end connected to the output 103 of the regulator 700 and an opposing end connected to a node SW in the switching circuitry 107.
The switching circuitry 107 for the example current mode buck regulator 700 may include a first switch 704 and a second switch 706. The first and second switches 704, 706 may be transistors of various types, such as bipolar junction transistors (BJTs) or field-effect transistors (FETs) (e.g., metal-oxide-semiconductor field-effect transistors (MOSFETs)), as examples. In the example current mode buck regulator 700, the first switch 704 is a p-channel metal-oxide-semiconductor (PMOS) transistor, and the second switch 706 is a n-channel MOS (NMOS) transistor, although other types of switches may be used. The PMOS transistor 704 may have a source terminal connected to an input node 108 that supplies the DC input voltage VIN to the regulator 700, and a drain terminal connected to the node SW. The NMOS transistor 706 may have a drain terminal connected to the node SW and the drain terminal of the PMOS transistor 704, and a source terminal connected to ground GND, which may have a voltage potential of zero or substantially zero volts.
The PMOS and NMOS transistors 704, 706 may each switch between “on” and “off” states. In the “on” state, the transistors 704, 706 may exhibit relatively low resistance and a proportionately large amount of current may flow between the drain and source terminals. Alternatively, when the transistors 704, 706 are in the “off” state, they may exhibit a relatively infinite amount of resistance, and no current may flow between the drain and source terminals.
The PMOS and NMOS transistors 704, 706 may switch “on” and “off” cooperatively to generate a voltage signal VSW at the node SW. By cooperatively switching, the voltage VSW may oscillate or switch between a voltage level corresponding to a logic “high” value (referred to as logic “high”) and a voltage level corresponding to a logic “low” value (referred to as logic “low”). Voltage levels corresponding to logic “high” and logic “low” are used to refer to a logical association or relationship between the high and low levels, which are not meant to be limited to any particular set of voltage levels or values, or generated from logic operations. When the PMOS transistor 704 is “on” and the NMOS transistor 606 is “off,” the voltage VSW generated at node SW may have a logic “high” voltage level. Alternatively, when the PMOS transistor 104 is “off” and the NMOS transistor 106 is “on,” the voltage VSW generated at node SW may have a logic “low” voltage level. The logic “high” voltage level at node SW may be determined by the amount of voltage of the DC input voltage VIN, less any voltage drop across the PMOS transistor 104, and the logic “low” voltage level may be at or near ground GND, higher by any voltage drop across the NMOS transistor 106.
The driver circuitry 110 of the example current mode buck regulator 700 may output switching signals to the PMOS and NMOS transistors 704, 706 to generate the logic “high” and logic “low” voltage levels of the voltage signal VSW. In particular, the driver circuitry 110 may include PMOS driver circuitry 712 that may output a switching signal that is applied to a gate terminal of the PMOS transistor 704 to turn “on” and “off” the PMOS transistor 704. In addition, the driver circuitry 110 may include a NMOS driver circuitry 714 that may output a switching signal that is applied to a gate terminal of the NMOS transistor to turn “on” and “off” the NMOS transistor 706. In some example configurations, the switching signals may be pulse width modulated (PWM) signals having associated duty cycles, although other types of switching signals may be used.
The PMOS driver circuitry 712 and the NMOS driver circuitry 714 may output the switching signals to cooperatively turn “on” and “off” the PMOS and NMOS transistors 712, 174 to generate the logic “high” and logic “low” voltage levels for the voltage VSW. In particular, the PMOS and NMOS driver circuitries 712, 714 may output switching signals so that the NMOS transistor 706 is “off” when the PMOS transistor 704 is “on” to generate a logic “high” voltage level for the voltage VSW, and so that the PMOS transistor 704 is “off” when the NMOS transistor 706 is “on” to generate a logic “low” voltage level for the voltage VSW.
The switching signals output by the PMOS and NMOS driver circuitries 712, 714 may have a period T that corresponds to the period of the clock signal CLK. In addition, the switching signals may have duty cycles that correspond to the time difference Δt between the SET and RESET signals, as previously explained. The duty cycle of the switching signal output by the PMOS driver circuitry 712 may be different than the duty cycle of the switching signal output by the NMOS driver circuitry 714, or they may correspond to different portions of the period T, because the PMOS and NMOS transistors 712, 714 may alternate being “on” and “off” to generate the different voltage levels of the voltage VSW. As an illustration, if the duty cycle of the switching signal output by the PMOS driver circuitry is 40%, then the PMOS transistor 704 may be “on” for 40% of the clock period and “off” for 60% of the clock period. In turn, the duty cycle of the switching signal output by the NMOS driver circuitry 714 may be 60% so that the NMOS transistor 706 is “on” for the 60% of the clock period that the PMOS transistor 704 is “off,” and “on” for the 40% of the clock period that the PMOS transistor is “on.” Various configurations are possible.
A duty cycle of the voltage signal VSW at node SW may correspond to the duty cycle of the switching signal applied to the PMOS transistor 704. When the PMOS transistor 704 is “on,” the voltage VSW has a voltage level that is logic “high,” and when the PMOS transistor 704 is “off,” the voltage VSW has a voltage level that is logic “low.” Using equation (1) above, where the switching cycle has a duty cycle D, the PMOS transistor 704 may be “on” for a time duration Δt over the period T, which in turn causes the voltage signal VSW to have a logic “high” voltage level over the time duration Δt.
In addition, the voltage levels of the voltage VSW may determine the ramp up and ramp down portions of the current flow. When the voltage VSW has a logic “high” voltage level, the current IL through the inductor L may linearly increase or “ramp up.” Alternatively, when the voltage VSW is logic “low,” the current IL may linearly decrease or “ramp down.” Based on the logic “high” and logic “low” voltage levels, the current IL may ramp up and ramp down between maximum IL(max) and minimum IL(min) current values
The inductor current IL may ramp up and then ramp down over consecutive periods T of the clock signal CLK. A portion of the period T over which the inductor current IL ramps up may correspond to and/or be proportional to the duty cycle of the switching signal being applied to the PMOS transistor 704. That is, the duty cycle of the switching signal applied to the PMOS transistor 704 determines how long the PMOS transistor is “on,” which determines how long the voltage VSW is logic “high,” which in turn determines the ramp up portion, including slope and duration, of the inductor current IL over the period T.
The example current mode buck regulator 700 shown in
The slope compensation circuitry 102 may include at least one first transistor Q1 that generates and supplies the first current I1 to the output resistor RRMP. In one example, the first transistor Q1 may be a PMOS transistor. A drain terminal of the first PMOS transistor Q1 may be connected to the resistor RRMP, and a source terminal of the first PMOS transistor Q1 may be connected to a voltage source Vcc. In some examples, the voltage source Vcc may be the same as or common with the DC input voltage VIN, although voltages other than VIN may be used for the voltage source Vcc. The current flowing from the source to drain terminals of the first PMOS transistor Q1 may be the same or substantially the same as the first current I1 flowing through the first PMOS transistor Q.
To generate the first current I1 based on the voltage VR, the voltage VR is converted to a second current I2, which is then mirrored using current mirror circuitry to perform current mirroring. In particular, the slope compensation circuitry 102 may include a voltage-to-current converter 802 to convert the voltage VR to the second current I2. The voltage-to-current converter 802 may have a first input connected to the node 801 and that receives the voltage VR. In some example configurations, the voltage-to-current converter 802 may include a second input, which may be connected to ground GND. The voltage-to-current converter 802 may have an associated transconductance gm, which may determine a ratio of a change in output current to a change in input voltage of the voltage-to-current converter 802. The output of the voltage-to-current converter 802 may be the second current I2, which may be equal and/or proportional to product of voltage VR and the associated transconductance gm.
The second current I2 may have a negative polarity so that the second current I2 flows toward the output of the voltage-to-current converter 802. Consequently, the first current I1 may flow from the first PMOS transistor Q1 to the output resistor RRMP.
The slope compensation circuitry 102 may include at least one second transistor Q2 that is connected to the output of the voltage-to-current converter 802 to supply the second current I2. The second current I2 may flow from the second transistor Q2 to the output of the voltage-to-current converter 702. In one example embodiment, the second transistor Q2 may be a PMOS transistor having a drain terminal connected to the output of the voltage-to-current converter 702. A source terminal of the second PMOS transistor Q2 may be connected to the voltage source Vcc, and the current flowing from the source terminal to the drain terminal may be the same or substantially the same as the second current I2
To mirror the first current I1 to the second current I2, the first and second transistors Q1, Q2 may be configured as current mirror circuitry in which both the gate terminal of the second PMOS transistor Q2 and the gate terminal of the first PMOS transistor Q1 may be connected to the drain terminal of the second transistor Q2. As a result, the gate-to-drain voltage of the second PMOS transistor Q2 may be zero volts, and the gate-to-source voltages of the first and second PMOS transistors Q1, Q2 may be the same, which may mirror the first current I1 supplied by the first PMOS transistor Q1 to the second current I2 being supplied by the second PMOS transistor Q2. By being mirrored, the first current I1 may have the same or substantially the same magnitude as the second current I2. In addition or alternatively, by being mirrored, the first current I1 may be proportional to the second current I2. The proportion may be based on one or more ratios of one or more properties of the first transistor Q1 and the second transistor Q2. One property may be size, such as the gate width, of the first transistor Q1 and the second transistor Q2. Another property may be a number of transistors. For example, the first transistor Q1 and/or the second transistor Q2 may include a single transistor or plurality of transistors connected in parallel. The amount of current of the first current I1 may be proportional to the ratio of the size of the first transistor Q1 to the size of the second transistor Q2, a ratio of the number of the first transistors Q1 to the number of the second transistors Q2, or some combination thereof.
The voltage VR across the capacitor CR at node 801 may be generated from a pair of currents supplied to the capacitor CR. The pair of currents may include a constant current I0 supplied from a current source 704 and a third current I3 that is mirrored to or a proportion of the second current I2. As shown in
The third current I3 may be mirrored to the second current I2 using current mirroring techniques similar to those used to mirror the first current I1 to the second current I2. In particular, at least one third transistor Q3 may be included as part of the current mirror circuitry in the slope compensation circuitry 802 to generate the third current I3. The third transistor Q3 may have a drain terminal connected to the capacitor CR at node 801 and a source terminal connected to the voltage source Vcc. The third current I3 may be the same or substantially the same as the current that flows through the source and drain terminals of the third PMOS transistor Q3. In addition, a gate terminal of the third transistor Q3 may be connected to the drain terminal of the second transistor Q2 so that the gate-to-source voltage of the third PMOS transistor Q3 is the same as the gate-to-source voltage of the second PMOS transistor Q2, and the third current I3 is mirrored the second current I2. Similar to the amount of current generated for the first current I1, the amount of the third current may be the same as and/or proportional to the second current I2 based on the sizes and/or the numbers of the second and third transistors Q2, Q3. That is, the amount of third current I3 may be proportional to the ratio of the size of the third transistor Q3 to the size of the second transistor Q2, a ratio of the number of the third transistors Q3 to the number of the second transistors Q2, or some combination thereof.
By charging the capacitor CR with I0 and a mirrored version of the second current I2 (i.e., with the third current I3), the voltage VR generated across the capacitor CR may be based or depend at least in part on the second current I2. In this way, the slope compensation circuitry 102 includes a feedback system in which the voltage VR generated across the capacitor CR is fed back to the voltage-to-current converter 802, which generates the second current I2, which in turn generates the third current I3, which is supplied to the capacitor CR to generate the voltage VR. As such, the voltage VR may be based or depend on the transconductance gm of the voltage-to-current converter 802 as well as the ratio between the numbers and/or sizes of the second and third transistors Q2, Q3 generating and supplying the second and third currents I2, I3.
The slope compensation circuitry 102 may include pull-down circuitry that is configured to pull down the voltage VR to a low level corresponding to a “low” logic level based on the voltage signal VSW. The logic “low” level pulled down by the pull-down circuitry may correspond and/or be proportional to the logic “low” level of the voltage VSW. In one example configuration, the pull-down circuitry may include a pull-down transistor QPD connected in parallel with the capacitor CR, although other pull-down configurations may be used. The pull-down transistor QPD may switch between an “on” state and an “off” state. In the “on” state, the pull-down transistor QPD may have a relatively low resistance and/or appear as a short circuit. As a result, in the “on” state, the pull-down transistor QPD may “pull down” the voltage VR to a low voltage level, such as to ground or about zero volts, and/or to a logic “low” level. Alternatively, in the “off” state, the pull-down transistor QPD may have a relatively high or infinite resistance and/or appear as an open circuit. As a result, when the pull-down transistor QPD is “off,” the voltage VR may depend on the currents I0 and I3 being supplied to the capacitor CR at node 701.
The pull-down transistor QPD may receive an inverse voltage of the voltage signal VSW, denoted as
In this way, when the voltage signal VSW is logic “high” and an increasing amount of the current IL (i.e., the ramp up portion of the current IL) is being supplied to the output 103, the voltage VR generated across the capacitor CR may depend on the currents I0 and I3. As previously described, the voltage signal VSW may have a logic “high” value over a time duration Δt. Because the time duration Δt depends on the period T of the clock signal CLK and the duty cycle D of the switching signal driving the PMOS transistor 702 (
The voltage level to which the voltage VR across the capacitor CR increases over the time period Δt may be mathematically represented by the following formula:
where C represents a capacitance of the capacitor CR, I0 represents the current from the constant current source 804, m3 represents the size and/or number of third transistors Q3, m2 represents the size and/or number of second transistors Q2, T represents the period of the clock signal CLK, and D represents the duty cycle of switching signal driving the PMOS transistor 704. In addition, because the voltage VRMP of the compensation ramp signal (i.e., the output of the compensation slope circuitry 102) depends on the voltage VR, then the voltage VRMP of the compensation ramp signal may also be duty-cycle dependent. The voltage VRMP may be the voltage generated by the flow of the current IR through the output resistor RRMP, which may be represented by:
V
RMP
=I
R
*R
RMP. (4)
Because the first current I1 is a mirrored version of the second current I2, which is generated from the voltage VR, then the voltage VRMP may depend on the factors that the voltage VR depends on, including the capacitance of the capacitor CR, the current I0 of the constant current source 704, the transconductance gm of the voltage-to-current converter 702, one or more ratios between the numbers and/or sizes of the second and third transistors Q2, Q3, the period of the clock signal CLK, and the duty cycle of the switching signal driving the PMOS transistor 704. The voltage VRMP may further depend on the resistance of the output resistor RRMP as well as one or more ratios between the numbers and/or sizes of the first and second transistors Q1 and Q2. The voltage level to which the voltage VRMP ramps up to over the time duration Δt may be mathematically represented by the following formula:
where RRMP represents a resistance of the output resistor RRMP and m1 represents the size and/or number of first transistors Q1.
Additionally, the voltage level of VRMP may be differentiated between levels when the voltage VSW is at a logic “high” level and a logic “low” level, which may be mathematically represented by the following formula:
During the duration period Δt, the voltage VSW may be high, and the inverse voltage
As graphically shown in
At block 1104, a switching signal with an associated period, such as a pulse wave or a rectangular wave signal, may be received by pull down circuitry that pulls down the voltage generated across the storage device to a low level, such as ground. The switching signal may oscillate or switch between voltage levels corresponding to logic “high” and the logic “low” levels in accordance with a duty cycle that corresponds to a ramp up portion of inductor current flowing through an inductor of the switching mode regulator. The switching signal may turn “off” the pull down circuitry over a first time duration of the period corresponding to the duty cycle so that the pair of currents charges the storage device over the first time duration. The switching signal may turn “on” the pull down circuitry over a second time duration of the period so that that the voltage level across the storage device is held to a voltage level corresponding to a logic low.
At block 1106, the voltage across the storage device may be generated based on the pair of currents supplied to the storage device and the voltage being pulled down by the pull down circuitry. Because the pull down circuitry switches “on” and “off” in accordance with a duty cycle corresponding to the ramp up portion, the voltage may depend on the duty cycle.
At block 1108, the voltage across the storage device may be supplied to a voltage-to-current converter, where the voltage is converted to the third current in accordance with an associated transconductance of the converter. At block 910, the third current may be mirrored with the current mirror circuitry to generate the second current. In addition, at block 910, the mirrored second current may be supplied to the storage device to generate the voltage across the capacitor.
At block 1112, the third current may be mirrored at a second instance with the current minor circuitry to generate a fourth current. The mirrored fourth current may be based on the constant current source, capacitance of the storage device, the transconductance of the voltage-to-current converter, ratios between transistors in the current mirror circuitry, and the duty cycle of the switching signal received by the pull down circuitry.
At block 1114, the mirrored fourth current may be supplied to an output load to generate an output voltage of the slope compensation circuitry. At block 1116, the output of the slope compensation circuitry may be sent to an adder or summation circuitry, where the output may be added with a current sensing signal indicative of the current being supplied to the inductor to perform the slope compensation.
It is intended that the foregoing detailed description be understood as an illustration of selected forms that the embodiments can take and does not intend to limit the claims that follow. Also, some of the following claims may state that a component is operative to perform a certain function or configured for a certain task. It should be noted that these are not restrictive limitations. It should also be noted that the acts recited in the claims can be performed in any order not necessarily in the order in which they are recited. Additionally, any aspect of any of the preferred embodiments described herein can be used alone or in combination with one another. In sum, although the present invention has been described in considerable detail with reference to certain embodiments thereof, other versions are possible. Therefore, the spirit and scope of the appended claims should not be limited to the description of the embodiments contained herein.