METHOD AND APPARATUS FOR PWM CONTROL OF MULTI-MODE SWITCHING POWER SUPPLY USING ITERATIVE AVERAGE CURRENT MODE CONTROL

20220345043 · 2022-10-27

Assignee

Inventors

Cpc classification

International classification

Abstract

A multi-mode converter using iterative average current mode pulse width modulation (PWM) control is provided. The converter may include a current sense amplifier configured to output a current sense signal over a present switching cycle based on an inductor current through an inductor, a voltage error amplifier configured to output an error voltage based on a difference between a reference voltage and an output voltage, and a PWM controller. The PWM controller may include an error voltage modifier circuit configured to selectively output the error voltage or a modified error voltage based on a mode signal, and an iterative average current control circuit configured to generate a PWM signal based on the output from the error voltage modifier circuit, the current sense signal over the present switching cycle and a current sense signal over a previous switching cycle that precedes the present switching cycle.

Claims

1. A converter configured to receive a DC input voltage and provide a DC output voltage, the converter comprising: an inductor having a first terminal and a second terminal; a first controlled switch, a second controlled switch, and a third controlled switch, each having a respective control terminal, a first terminal and a second terminal; wherein the second terminal of the first controlled switch and the first terminal of the second controlled switch are coupled to the first terminal of the inductor, the first terminal of the third controlled switch is coupled to the second terminal of the inductor, the first terminal of the first controlled switch is coupled to the DC voltage input, and the second terminals of the second and third control switches are coupled to a common terminal; a rectifier device having a second terminal coupled to the second terminal of the inductor and a first terminal configured to provide the DC output voltage; a current sense amplifier configured to output a current sense signal over a present switching cycle based on an inductor current through the inductor; a voltage error amplifier configured to output an error voltage based on a difference between a reference voltage and a representation of the DC output voltage; a pulse width modulation (PWM) controller comprising: an error voltage modifier circuit configured to receive the error voltage and a mode signal, and selectively output the error voltage, or a modified error voltage corresponding to a product of the error voltage and a modifying coefficient, based on the mode signal; and an iterative average current control circuit configured to receive the current sense signal and the output from the error voltage modifier circuit, and to generate a pulse width modulation (PWM) signal based on the current sense signal over the present switching cycle and the current sense signal over a previous switching cycle that precedes the present switching cycle, and a logic drivers control block configured to receive the PWM signal, output the mode signal based on the DC input voltage and the DC output voltage, and output control signals configured to drive the first, second, and third controlled switches, via their respective control terminals, based on the PWM signal.

2. The converter of claim 1, wherein the PWM controller is configured for a constant switching frequency mode and comprises: a current sense signal ripple slope calculator circuit configured to output signals corresponding to an upslope and downslope, respectively, of the current sense signal over the previous switching cycle; an average current sense signal ripple calculator circuit configured to receive the output signals of the current sense signal ripple slope calculator circuit and output a signal representing an average change in the current sense signal over the previous switching cycle; a control signal calculator circuit configured to output a signal representing a peak current sense signal over the present switching cycle based on the output of the error voltage modifier circuit and the output signal of the average current sense signal ripple calculator circuit; a comparator having a non-inverting input configured to receive the current sense signal and an inverting input configured to receive the output of the control signal calculator circuit; and a flip-flop circuit having a non-inverting output configured to generate the PWM signal, a first input configured to receive a clock signal and set the PWM signal to a first state, and a second input configured to receive the output of the comparator and set the PWM signal to a second state.

3. The converter of claim 1, comprising a current sense signal ripple upslope calculator circuit configured to output a signal corresponding to an upslope of the current sense signal; wherein the PWM controller is configured for a constant on-time mode and comprises: a control signal calculator circuit configured to subtract half the output of the current sense signal ripple upslope calculator circuit from the output of the error voltage modifier circuit, and output the resulting difference; a comparator having an inverting input configured to receive the current sense signal and a non-inverting input configured to receive the output of the control signal calculator circuit, and an output configured to output a signal based on a comparison of the non-inverting and inverting inputs; and a flip-flop circuit having a non-inverting output configured to generate the PWM signal, a first input configured to receive the output of the comparator and set the non-inverting output to a first state, and a second input configured to receive the output of a one-shot circuit configured generate an output pulse and set the non-inverting output to a second state; wherein the one-shot circuit includes a triggering input configured to receive the non-inverting output of the flip-flop circuit.

4. The converter of claim 1, comprising a current sense signal ripple down-slope calculator circuit configured to output a signal corresponding to a downslope of the current sense signal; wherein the PWM controller is configured for a constant off time mode and comprises: a control signal calculator circuit configured to add half the output of the ripple down-slope calculator circuit and the output of the error voltage modifier circuit, and output the resulting sum; a comparator having a non-inverting input configured to receive the current sense signal, an inverting input configured to receive the output of the control signal calculator circuit, and an output configured to output a signal based on a comparison of the non-inverting and inverting inputs; a one-shot circuit configured to generate an output pulse; a flip-flop circuit having a non-inverting output configured to generate the PWM signal, an inverting output configured to generate an inverted signal of the non-inverting output, a first input configured to receive an output voltage of the one-shot circuit and set the non-inverting output to a first signal state, and a second input configured to receive the output of the comparator and set the non-inverting output to a second signal state; wherein the one-shot circuit includes a triggering input configured to receive the output of the inverting output of the flip-flop circuit.

5. The converter of claim 1, wherein the PWM controller is configured for a constant ripple mode and comprises: a subtractor circuit having a non-inverting input configured to receive the current sense signal and an inverting input configured to receive the output of the error voltage modifier circuit during a first time interval, whereas during a second time interval the non-inverting input is configured to receive the output of the error voltage modifier circuit and the inverting input is configured to receive the current sense signal; a comparator having a non-inverting input configured to receive a reference voltage, an inverting input configured to receive an output of the subtractor circuit, and an output configured to output a signal based on a comparison of the non-inverting and inverting inputs of the comparator; and a toggle flip-flop circuit having a non-inverting output configured to generate the PWM signal, and a dynamic input configured to receive the output of the comparator.

6. The converter of claim 1, wherein the PWM signal includes a first signal state during a first time interval and a second signal state, different from the first signal state, during a second time interval, said converter further comprising: a modifying coefficient calculator circuit configured to receive a voltage across the inductor during the first time interval and a voltage across the inductor during the second time interval, and output the modifying coefficient, which modifying coefficient corresponds to a ratio of the sum of the voltages across the inductor during the first time interval plus the second time interval, and the voltage across the inductor during the first time interval.

7. The converter of claim 1, wherein the error voltage modifier circuit is configured to output the error voltage in response to the mode signal indicating a buck mode, and output the modified error voltage in response to the mode signal indicating a boost mode or a buck-boost mode.

8. A buck converter configured to receive a DC input voltage and provide a DC output voltage, the buck converter comprising: an inductor having a first terminal and a second terminal; a first controlled switch and a second controlled switch, each having a respective control terminal, a first terminal and a second terminal, wherein the second terminal of the first controlled switch and the first terminal of the second controlled switch are coupled to the first terminal of the inductor, the first terminal of the first controlled switch is coupled to the DC voltage input, and the second terminal of the second control switch is coupled to a common terminal; a rectifier device having a second terminal coupled to the second terminal of the inductor, and a first terminal configured to provide the DC output voltage; a current sense amplifier configured to output a current sense signal over a present switching cycle based on an inductor current through the inductor; a voltage error amplifier configured to output an error voltage based on a difference between a reference voltage and a representation of the DC output voltage; and a pulse width modulation (PWM) controller comprising: an iterative average current control circuit configured to receive the current sense signal over the present switching cycle and the error voltage, and to generate a pulse width modulation (PWM) signal based on the current sense signal for the present switching cycle and a current sense signal over a previous switching cycle that precedes the present switching cycle; wherein the buck converter further comprises a logic drivers control block configured to receive the PWM signal, and output control signals configured to drive the first and second controlled switches, via their respective control terminals, based on the PWM signal.

9. The buck converter of claim 8, wherein the PWM controller is configured for a constant switching frequency mode and further comprises: a current sense signal ripple slope calculator circuit configured to output signals corresponding to an upslope and downslope, respectively, of the current sense signal over the previous switching cycle; an average current sense signal ripple calculator circuit configured to receive the output signals of the current sense signal ripple slope calculator circuit and output a signal representing an average change in the current sense signal over the previous switching cycle; a control signal calculator circuit configured to output a signal representing a peak current sense signal over the present switching cycle based on the error voltage and the output signal of the average current sense signal ripple calculator circuit; a comparator having a non-inverting input configured to receive the current sense signal and an inverting input configured to receive the output of the control signal calculator circuit; and a flip-flop circuit having a non-inverting output configured to generate the PWM signal, a first input configured to receive a clock signal and set the PWM signal to a first state, and a second input configured to receive the output of the comparator and set the PWM signal to a second state.

10. The buck converter of claim 8, comprising a current sense signal ripple upslope calculator circuit configured to output a signal corresponding to an upslope of the current sense signal; wherein the PWM controller is configured for a constant on-time mode and comprises: a control signal calculator circuit configured to subtract half the output of the current sense signal ripple upslope calculator circuit from the error voltage, and output the resulting difference; a comparator having an inverting input configured to receive the current sense signal and a non-inverting input configured to receive the output of the control signal calculator circuit; and a flip-flop circuit having a non-inverting output configured to generate the PWM signal, a first input configured to receive the output of the comparator and set the non-inverting output to a first state, and a second input configured to receive the output of a one-shot circuit configured generate an output pulse and set the non-inverting output to a second state; wherein the one-shot circuit includes a triggering input configured to receive the output of the non-inverting output of the flip-flop circuit.

11. The buck converter of claim 8, comprising a current sense signal ripple down-slope calculator circuit configured to output a signal corresponding to a downslope of the current sense signal; wherein the PWM controller is configured for a constant off time mode and comprises: a control signal calculator circuit configured to add half the output of the ripple down-slope calculator circuit and the error voltage, and output the resulting sum; a comparator having a non-inverting input configured to receive the current sense signal, an inverting input configured to receive the output of the control signal calculator circuit, and an output configured to output a signal based on a comparison of the non-inverting and inverting inputs; a one-shot circuit configured to generate an output pulse; a flip-flop circuit having a non-inverting output configured to generate the PWM signal, an inverting output configured to generate an inverted signal of the non-inverting output, a first input configured to receive an output voltage of the one-shot circuit and set the non-inverting output to a first signal state, and a second input configured to receive the output of the comparator and set the non-inverting output to a second signal state; wherein the one-shot circuit includes a triggering input configured to receive the output of the inverting output of the flip-flop circuit.

12. The buck converter of claim 8, wherein the PWM controller is configured for a constant ripple mode and further comprises: a subtractor circuit having a non-inverting input configured to receive the current sense signal and an inverting input configured to receive the error voltage during a first time interval, whereas during a second time interval the non-inverting input is configured to receive the error voltage and the inverting input is configured to receive the current sense signal; a comparator having a non-inverting input configured to receive a reference voltage, an inverting input configured to receive an output of the subtractor circuit, and an output configured to output a signal based on a comparison of the non-inverting and inverting inputs of the comparator; and a toggle flip-flop circuit having a non-inverting output configured to generate the PWM signal, and a dynamic input configured to receive the output of the comparator.

13. A boost converter configured to receive a DC input voltage and provide a DC output voltage, the boost converter comprising: an inductor having a first terminal and a second terminal, said first terminal coupled to the DC input voltage; a controlled switch having a control terminal, a first terminal and a second terminal; wherein the second terminal of the controlled switch is coupled to a common terminal, and the first terminal of the controlled switch is coupled to the second terminal of the inductor; a rectifier device having a second terminal coupled to the second terminal of the inductor, and a first terminal configured to provide the DC output voltage; a current sense amplifier configured to output a current sense signal over a present switching cycle based on an inductor current through the inductor; a voltage error amplifier configured to output an error voltage based on a difference between a reference voltage and a representation of the DC output voltage; a pulse width modulation (PWM) controller comprising: an error voltage modifier circuit configured to receive the error voltage, and output a modified error voltage corresponding to a product of the error voltage and a modifying coefficient; and an iterative average current control circuit configured to receive the current sense signal and the modified error voltage, and to generate a pulse width modulation (PWM) signal based on the current sense signal over the present switching cycle and a current sense signal over a previous switching cycle that precedes the present switching cycle; a logic drivers control block configured to receive the PWM signal, output the mode signal based on the DC input voltage and the DC output voltage, and output one or more control signals configured to drive the controlled switch, via its control terminal, based on the PWM signal.

14. The boost converter of claim 13, wherein the PWM controller is configured for a constant switching frequency mode and comprises: a current sense signal ripple slope calculator circuit configured to output signals corresponding to an upslope and downslope, respectively, of the current sense signal over the previous switching cycle; an average current sense signal ripple calculator circuit configured to receive the output signals of the current sense signal ripple slope calculator circuit and output a signal representing an average change in the current sense signal over the previous switching cycle; a control signal calculator circuit configured to output a signal representing a peak current sense signal over the present switching cycle based on the modified error voltage and the output signal of the average current sense signal ripple calculator circuit; a comparator having a non-inverting input configured to receive the current sense signal and an inverting input configured to receive the output of the control signal calculator circuit; and a flip-flop circuit having a non-inverting output configured to generate the PWM signal, a first input configured to receive a clock signal and set the PWM signal to a first state, and a second input configured to receive the output of the comparator and set the PWM signal to a second state.

15. The boost converter of claim 13, further comprising a current sense signal ripple upslope calculator circuit configured to output a signal corresponding to an upslope of the current sense signal; wherein the PWM controller is configured for a constant on-time mode and further comprises: a control signal calculator circuit configured to subtract half the output of the current sense signal ripple upslope calculator circuit from the modified error voltage, and output the resulting difference a comparator having an inverting input configured to receive the current sense signal and a non-inverting input configured to receive the output of the control signal calculator circuit, and an output configured to output a signal based on a comparison of the non-inverting and inverting inputs; a one-shot circuit configured generate an output pulse; and a flip-flop circuit having a non-inverting output configured to generate the PWM signal, an inverting output configured to generate an inverted signal of the non-inverting output, a first input configured to receive the output of the comparator and set the non-inverting output to a second signal state, and a second input configured to receive an output voltage of the one-shot circuit and set the non-inverting output to a first signal state; wherein the one-shot circuit includes a triggering input configured to receive the output of the non-inverting output of the flip-flop circuit.

16. The boost converter of claim 13, further comprising a current sense signal ripple down-slope calculator circuit configured to output a signal corresponding to a downslope of the current sense signal; wherein the PWM controller is configured for a constant off time mode and further comprises: a control signal calculator circuit configured to add half the output of the ripple down-slope calculator circuit and the modified error voltage, and output the resulting sum; a comparator having a non-inverting input configured to receive the current sense signal, an inverting input configured to receive the output of the control signal calculator circuit, and an output configured to output a signal based on a comparison of the non-inverting and inverting inputs; a one-shot circuit configured generate an output pulse; and a flip-flop circuit having a non-inverting output configured to generate the PWM signal, an inverting output configured to generate an inverted signal of the non-inverting output, a first input configured to receive an output voltage of the one-shot circuit and set the non-inverting output to a first signal state, and a second input configured to receive the output of the comparator and set the non-inverting output to a second signal state; wherein the one-shot circuit includes a triggering input configured to receive the output of the inverting output of the flip-flop circuit.

17. The boost converter of claim 13, wherein the PWM controller is configured for a constant ripple mode and further comprises: a subtractor circuit having a non-inverting input configured to receive the current sense signal and an inverting input configured to receive the modified error voltage during a first time interval, whereas during a second time interval the non-inverting input is configured to receive the modified error voltage and the inverting input is configured to receive the current sense signal; a comparator having a non-inverting input configured to receive a reference voltage, an inverting input configured to receive an output of the subtractor circuit, and an output configured to output a signal based on a comparison of the non-inverting and inverting inputs of the comparator; and a toggle flip-flop circuit having a non-inverting output configured to generate the PWM signal, and a dynamic input configured to receive the output of the comparator.

18. The boost converter of claim 13, wherein the PWM signal includes a first signal state during a first time interval and a second signal state, different from the first signal state, during a second time interval, said boost converter further comprising: a modifying coefficient calculator circuit configured to receive a voltage across the inductor during the first time interval and a voltage across the inductor during the second time interval, and output the modifying coefficient, which modifying coefficient corresponds to a ratio of the sum of the voltages across the inductor during the first time interval plus the second time interval, and the voltage across the inductor during the first time interval.

19. A method of generating a pulse width modulation (PWM) signal for a converter configured to receive a DC input and provide a regulated DC output voltage, the method comprising: obtaining a current sense signal over a present switching cycle of the converter and a preceding switching cycle of the converter, both based on an inductor current through an inductor of the converter; determining a voltage representing an average inductor current over the present switching cycle; obtaining an error voltage based on a difference between a reference voltage and a representation of the regulated DC output voltage; selectively outputting the error voltage or a modified error voltage, the modified error voltage corresponding to a product of the error voltage and a modifying coefficient, based on an operating mode of the converter, and representing a target average inductor current; and generating the PWM signal based on a difference between said voltage representing the target average inductor current and said voltage representing the average inductor current over the present switching cycle.

20. The method of claim 19, wherein the PWM signal includes a first state during a first time interval and a second state, different from the first state, during a second time interval, the method further comprising: generating the modifying coefficient based on a ratio of the sum of a voltage across the inductor during the first time interval plus a voltage across the inductor during the second time interval, and the voltage across the inductor during the first time interval.

Description

BRIEF DESCRIPTION OF DRAWINGS

[0016] FIG. 1 shows a DC-DC converter according to the prior art.

[0017] FIG. 2 shows another DC-DC converter according to the prior art.

[0018] FIG. 3A shows a multi-mode DC-DC converter according to various examples of the present disclosure.

[0019] FIG. 3B shows the power stage of a buck converter according to various examples of the present disclosure.

[0020] FIG. 3C shows the power stage of a boost converter according to various examples of the present disclosure.

[0021] FIG. 4 shows a steady state waveform diagram corresponding to the multi-mode DC-DC converter of FIG. 3A.

[0022] FIG. 5 shows a transient waveform diagram illustrating a constant switching frequency control algorithm corresponding to the multi-mode DC-DC converter of FIG. 3A.

[0023] FIG. 6 shows a pulse width modulator (PWM) controller according to various examples of the present disclosure.

[0024] FIG. 7 shows a circuit diagram illustrating how voltages V.sub.U_diff and V.sub.D_diff are provided according to various examples of the present disclosure.

[0025] FIG. 8 shows circuits for providing the slope K(n) of the current sense signal V.sub.CS during period ‘n’ according to various examples of the present disclosure.

[0026] FIG. 9 shows circuits for providing modified error voltage for period ‘n’ V.sub.ERR_mod(n) according to various examples of the present disclosure.

[0027] FIG. 10 shows circuits for providing an average change in current sense signal over a period ‘n’ ΔV.sub.CS_av(n) according to various examples of the present disclosure.

[0028] FIG. 11 shows circuits for providing a change in current sense signal ΔV.sub.CS according to various examples of the present disclosure.

[0029] FIG. 12A shows a block diagram of an iterative average current mode (IACM) pulse width modulation (PWM) controller with constant switching frequency modulation according to various examples of the present disclosure.

[0030] FIG. 12B shows a block diagram implementing a calculation block of FIG. 12A according to various examples of the present disclosure.

[0031] FIG. 13 shows a waveform diagram corresponding to an iterative average current mode (IACM) pulse width modulation (PWM) controller with constant on-time modulation according to various examples of the present disclosure.

[0032] FIG. 14 shows a block diagram of an iterative average current mode (IACM) pulse width modulation (PWM) controller with constant on-time modulation according to various examples of the present disclosure.

[0033] FIG. 15 shows a waveform diagram corresponding to an iterative average current mode (IACM) pulse width modulation (PWM) controller with constant off-time modulation according to various examples of the present disclosure.

[0034] FIG. 16 shows a block diagram of an iterative average current mode (IACM) pulse width modulation (PWM) controller with constant off-time modulation according to various examples of the present disclosure.

[0035] FIG. 17 shows a waveform diagram corresponding to an iterative average current mode (IACM) pulse width modulation (PWM) controller with constant ripple modulation according to various examples of the present disclosure.

[0036] FIG. 18 shows a block diagram of an iterative average current mode (IACM) pulse width modulation (PWM) controller with constant ripple modulation according to various examples of the present disclosure.

DETAILED DESCRIPTION OF VARIOUS EXAMPLES

[0037] Reference will now be made in detail to the following various examples, which are illustrated in the accompanying drawings, wherein like reference numerals refer to like elements throughout. The following examples may be embodied in various forms without being limited to the examples set forth herein. Descriptions of well-known parts are omitted for clarity.

[0038] Various examples of the present disclosure may address one or more of the problems described above by using an iterative average current mode control, where the output voltage of the error amplifier is proportional to the output current of the power supply. Limiting the current with this control method may be achieved by programming a maximum voltage of the error amplifier. Compensation of the error amplifier for this control method may be the same for any mode of operation, so output voltage ringing caused by switching modes may be reduced. An iterative average current control loop may not suffer from subharmonic oscillations in the same manner as a peak current mode control loop, and may not limit the bandwidth of the error amplifier, facilitating operation at a higher switching frequency.

[0039] FIG. 3A shows a multi-mode DC-DC converter according to various examples of the present disclosure. Referring to FIG. 3A, the example multi-mode DC-DC converter receives input voltage V.sub.I and delivers a regulated DC output voltage V.sub.O to an output load R.sub.O 106. The multi-mode DC-DC converter of FIG. 3A includes: an inductor 100 having first and second terminals; first, second, and third controlled switches 101,102,103; a fourth controlled switch 104, which is used as a rectifier device, and an output smoothing capacitor 105. Fourth controlled switch 104 may be replaced with a diode throughout, and fourth controlled switch 104 may be referred to generally as a rectifier device, i.e. rectifier device 104. In an embodiment where a diode is used in place of fourth controlled switch 104, driving signals for fourth controlled switch 104 may not be required. Each of the first, second, third, and fourth controlled switches 101, 102, 103, 104 include a control terminal, a first terminal, and a second terminal. The second terminal of the first controlled switch 101 and the first terminal of the second controlled switch 102 are coupled to the first terminal of the inductor 100. The first terminal of the third controlled switch 103 is coupled to the second terminal of the inductor 100 via a current sense resistor 107. The first terminal of the first controlled switch 101 is coupled to the DC voltage input V.sub.I, and the second terminals of the second and third control switches 102, 103 are coupled to a common (e.g., ground) terminal.

[0040] The multi-mode DC-DC converter of FIG. 3A also includes voltage and current control circuits as well as a logic drivers control block 109a, as explained above in connection with FIG. 1 and FIG. 2, however the logic drivers control block 109a of FIG. 3A also produces a ‘mode’ signal defining the converter's mode of operation. In particular, the logic drivers control block 109a receives on its respective inputs the PWM signal, input voltage V.sub.I, and output voltage V.sub.O, and outputs MOSFET driving signals A, B, C, D to the control terminals of the first, fourth, second, and third controlled switches, respectively. These A, B, C, D MOSFET driving signals are formed based on the PWM signal and mode of operation determined by logic drivers control block 109a, selected between: buck, boost, or buck-boost. The mode of operation is decided by logic drivers control block 109a based on a comparison of input voltage V.sub.I and output voltage V.sub.O as: buck if V.sub.I>V.sub.O, boost if V.sub.I<V.sub.O, buck-boost if V.sub.I˜V.sub.O. The logic drivers control block 109a outputs a ‘mode’ signal based on the result of the comparison between input voltage V.sub.I and output voltage V.sub.O.

[0041] The voltage control circuit includes voltage error amplifier 112, which may be a transconductance amplifier (as shown) or an operational amplifier, for example, with inverting and non-inverting inputs to generate a current proportional to the difference between a representation of output voltage V.sub.O, in the present example output voltage V.sub.O stepped down with output divider 108, and reference voltage V.sub.REF, and an output for outputting the generated current to compensation circuit 113 to create a voltage drop (error voltage V.sub.ERR) across compensation circuit 113, which integrates the difference between the voltages received by the inputs of the voltage error amplifier 112.

[0042] Although the converter of FIG. 3A is shown as a multi-mode converter capable of switching between buck, boost, and buck-boost modes, various examples of the present disclosure also include single-mode buck, boost, and buck-boost converters. For example, FIG. 3B shows the power stage of a buck converter according to various examples of the present disclosure. In contrast to the multi-mode converter of FIG. 3A, the power stage of the example buck converter of FIG. 3B does not include third controlled switch 103. On the other hand, FIG. 3C shows the power stage of a boost converter according to various examples of the present disclosure. In contrast to the multi-mode converter of FIG. 3A, the power stage of the example boost converter of FIG. 3C does not include first and second controlled switches 101 and 102. For a pure buck-boost converter, the power stage of the multi-mode converter of FIG. 3A does not change, except that the logic drivers control block 109a would not need to output a ‘mode’ signal.

[0043] Referring again to FIG. 3A, the current control circuit includes current sense resistor 107 with a resistance Res, current sense amplifier 110 and a PWM controller 111a, which PWM controller 111a includes an error voltage modifier (EVM) circuit 118 configured to receive the output error voltage V.sub.ERR of the voltage error amplifier 112, the ‘mode’ signal defining the mode of operation of the DC-DC converter, and signals V.sub.L, V.sub.R from respective terminals of the inductor 100 on yet two other inputs. The EVM circuit 118 produces a modified error voltage signal V.sub.ERR_mod. The PWM controller 111a also includes an iterative average current control (IACC) circuit 119 configured to receive on one of its inputs the modified error voltage V.sub.ERR_mod output by the EVM circuit 118 and receive current sense signal V.sub.CS from the output of the current sense amplifier 110 on another input. The IACC circuit 119 generates the PWM signal on its output based on the current sense signal V.sub.CS over the present switching cycle and the current sense signal V.sub.CS over a previous switching cycle that precedes the present switching cycle, as explained in more detail below.

[0044] The graph in FIG. 4 shows a steady state waveform diagram corresponding to the multi-mode DC-DC converter of FIG. 3A, and FIG. 5 shows a transient waveform diagram illustrating a constant switching frequency control algorithm corresponding to the multi-mode DC-DC converter of FIG. 3A, where

[0045] V.sub.CS—current sense signal output by current sense amplifier 110; V.sub.CS_P(n−1), V.sub.CS_P(n), V.sub.CS_P(n+1)—current sense signal for peak inductor 100 current in ‘previous,’ ‘present,’ and ‘next’ switching cycles, respectively;

[0046] V.sub.CS_V(n−1), V.sub.CS_V(n), V.sub.CS_V(n+1)—current sense signal for valley inductor 100 current in ‘previous,’ ‘present,’ and ‘next’ switching cycles, respectively;

[0047] ΔV.sub.CS_U(n)=V.sub.CS_P(n)−V.sub.CS_V(n)—change of the current sense signal V.sub.CS in switching cycle n during ON time;

[0048] V.sub.CS_av_ind—target average inductor current; V.sub.CS_av_BB—average current into output smoothing capacitor 105 from inductor 100 in Boost or Buck-Bust mode.

[0049] t.sub.ON(n−1), t.sub.OFF(n−1)—ON and OFF time of the DC-DC converter, respectively, in switching cycle n−1 (i.e. previous switching cycle);

[0050] K.sub.U, K.sub.D−dV/dt—of the UP slope and DOWN slope of the current sense signal V.sub.CS, respectively;

[0051] ΔV.sub.CS_D(n)=V.sub.CS_P(n)−V.sub.CS_V(n+1)—change of the current sense signal V.sub.CS in switching cycle n during OFF time; and

[0052] T.sub.SW=the period of the switching cycle.

[0053] The current sense signal V.sub.CS ripple ΔV.sub.CS, which is equivalent to ΔV.sub.CS_D(n) and ΔV.sub.CS_U(n) under steady state conditions, can be expressed through K.sub.U, K.sub.D according to Equation (1) as follows:

[00001] Δ V C S = K D .Math. K U .Math. T S W K D + K U ( 1 )

[0054] The UP and DOWN slope of the current sense signal V.sub.CS can be respectively represented by Equations (2) and (3) below:

[00002] K U ( n ) = V CS_p ( n ) - V CS_v ( n ) t O N ( n ) ( 2 ) K D ( n ) = V CS_p ( n ) - V C S - v ( n + 1 ) t O F F .Math. n ) ( 3 )

[0055] The error voltage V.sub.ERR(n) for the present switching period ‘n’ can be defined according to Equation (4) below:


V.sub.ERR(n)=V.sub.CS_av(n)  (4)

[0056] V.sub.CS_av(n) is defined as the average value of the current sense signal V.sub.CS over the present switching period ‘n’ and may be determined according to Equations (5) and (6) below:

[00003] V CS_av ( n ) = V CS_P ( n ) - V C S - V ( n + 1 ) 2 .Math. t OFF ( n ) T SW ( 5 ) [0057] —for Buck-Boost or Boost

[00004] V CS_av ( n ) = V CS_P ( n ) + V CS_V ( n + 1 ) 2 ( 6 ) [0058] —for Buck topology

[0059] From Equations (4) and (5), the error voltage V.sub.ERR(n) for the present switching period ‘n’ can be defined according to Equations (7) and (8) below:

[00005] V ERR ( n ) = V CS_P ( n ) + V CS_V ( n + 1 ) 2 .Math. t OFF ( n ) T SW ( 7 ) [0060] —for Buck-Boost or Boost

[00006] V ERR ( n ) = V CS_P ( n ) + V CS_V ( n + 1 ) 2 ( 8 ) [0061] —for Buck topology

[0062] Modifying Equation (7) yields Equation (9) below:

[00007] V E R R ( n ) .Math. T S W t O F F ( n ) = V C S - P ( n ) + V C S - V ( n + 1 ) 2 ( 9 )

[0063] A modified error voltage V.sub.ERR_mod(n) for the present switching period ‘n’ is provided by Equation (10) below:

[00008] V ERR_mod ( n ) = .Math. "\[LeftBracketingBar]" ( V ERR ( n ) ) if Buck_mode ( V ERR ( n ) .Math. T SW t OFF ) if Buck_Boost _or _Boost _mode ( 10 )

[0064] Utilizing Equation (9), Equation (10) can be rewritten as Equation (11) below for Buck Boost or Boost modes, wherein the modified error voltage V.sub.ERR_mod(n) is calculated to equal a target average inductor current V.sub.CS_av_ind(n):

[00009] V ERR_mod ( n ) = V C S - P ( n ) + V C S - V ( n + 1 ) 2 = V C S - av - ind ( n ) ( 11 )

[0065] The further disclosure will be based (until otherwise noted) on a constant switching frequency PWM control mode.

[0066] Using peak current mode control, the error voltage V.sub.ERR for a present switching cycle ‘n’ may be determined according to Equation (12) below:


V.sub.ERR(n)=V.sub.CS_p(n)  (12)

[0067] As indicated by Equation (12), the error voltage V.sub.ERR could be implemented on each individual switching cycle based on the value of V.sub.ERR(n). However, when using an iterative average current mode control according to various examples of the present disclosure, an algorithm where the controlling action (turning the control terminal OFF) during the present switching cycle (n) may be based not only on the value V.sub.ERR(n) but also on information from the previous switching cycle (n−1) e.g. V.sub.CS_V(n−1), hence the word ‘iterative’ in the name of this control mode.

[0068] FIG. 5 depicts a waveform of V.sub.CS(t), the current sense signal V.sub.CS as a function of time, which is steady state until switching cycle (n) and in regulation with average value V.sub.CS_av_ind=V.sub.ERR_mod(n−1), where V.sub.ERR_mod(n−1) is the modified error voltage for the previous switching cycle ‘n−1.’ In the beginning of the present switching cycle (n), the modified error voltage for the previous switch cycle (n−1), V.sub.ERR_mod(n−1), changes to a new level, V.sub.ERR_mod(n), and stays at this level throughout the present switching cycle. To achieve regulation at this new level for V.sub.ERR_mod, a new level of V.sub.CS_p(n) may be determined from the following Equation (13), in which the value of V.sub.CS_v increases from cycle (n) to cycle (n+1) by the same amount that the modified error voltage V.sub.ERR_mod increased from cycle (n−1) to cycle (n):


V.sub.CS_V(n+1)−V.sub.CS_V(n)=V.sub.ERR_mod(n)−V.sub.ERR_mod(n−1)  (13)

[0069] Equation (13) is based on the notion that V.sub.CS ripple ΔV.sub.CS remains the same over time, which yields Equation (14) below:


V.sub.CS_av_ind(n+1)=V.sub.ERR_mod(n+1)  (14)

[0070] Equation (13) (as could be shown by calculation) is achieved if Equation (15) is satisfied:

[00010] V CS_p ( n ) - V CS_p ( n - 1 ) = K U K U + K D .Math. ( V ERR_mod ( n ) - V ERR_mod ( n - 1 ) ) ( 15 )

[0071] Equations (16) and (17) below are strictly correct under steady-state conditions, but substituting Equations (16) and (17) into Equation (15) for any condition yields an overall algorithm for iterative average current mode control with constant switching frequency, as shown in Equation (18) below:

[00011] V ERR mod ( n - 1 ) = V CS v ( n ) + Δ V CS 2 ( 16 ) V CS_p ( n - 1 ) = V CS v ( n ) + Δ V CS 2 ( 17 ) V CS_p ( n ) = V CS_v ( n ) + Δ V CS + K U K U + K D .Math. ( V ERR_mod ( n ) - V CS_v ( n ) - Δ V CS 2 ) ( 18 )

[0072] In Equation (18) K.sub.U, K.sub.D, and ΔV.sub.CS are defined by Equations (1), (2) and (3), and can be measured and calculated within each switching cycle. Other implementations of algorithm (18) are disclosed below.

[0073] A block diagram representing algorithm (18) according to various examples of the present disclosure is presented in FIG. 6. The PWM controller of FIG. 6 is one possible implementation of an iterative average current mode control method operating in a constant switching frequency mode according to various examples of the present disclosure, and is an example of PWM controller 111a of FIG. 3A, although the implementation shown in FIG. 6 does not receive signals from respective terminals V.sub.L and V.sub.R of the inductor 100. Signal V.sub.CS_P(n) on the output of a control signal calculator circuit 200 is compared to signal V.sub.CS(t) by comparator 207. On the condition V.sub.CS(t)>V.sub.CS_P(n), the output signal of the comparator 207 resets a flip-flop circuit 208, which is in the present example provided with hysteresis, terminating the ON time of the switching cycle (n), and setting the PWM signal to a second state. Flip-flop circuit 208 sets by the clock (signal Clk, FIG. 6), starting the ON time of the next switching cycle and setting the PWM signal to a first state, opposite the second state.

[0074] Control signal calculator circuit 200 generates its output signal V.sub.CS_P(n) as a linear combination of signals: [V.sub.CS_V(n)+ΔV.sub.CS] and [V.sub.ERR_mod(n)−V.sub.CS_V(n)−ΔV.sub.CS/2] multiplied by adaptive (calculated for each switching cycle) coefficient K(n−1). Control signal calculator circuit 200, and the other calculating blocks described herein, may be implemented using analog adders, subtractors, and multipliers, as would be understood by those skilled in the art.

[0075] Coefficient K(n−1) is generated by a modifying coefficient calculator circuit (shown as calculating block (CB) 201), which receives its two inputs K.sub.U(n−1)—up-slope and K.sub.D(n−1)—down-slope of the current sense signal V.sub.CS during the previous switching cycle (n−1). The modifying coefficient calculator circuit 201 is a divider, in which the numerator is the first input K.sub.U(n−1) and the denominator is the sum of two inputs [K.sub.U(n−1)+K.sub.D(n−1)].

[0076] Signal ΔV.sub.CS (V.sub.CS ripple) is generated by CB 203, which receives its three inputs K.sub.U(n−1)—up-slope, K.sub.D(n−1)—down-slope of the current sense signal V.sub.CS during the previous switching cycle (n−1), and T.sub.SW—switching period, and generates its output based on Equation (1) above. CB 203 is a combination of a multiplier-divider and an adder with three inputs: the numerator receiving signals K.sub.U(n−1), K.sub.D(n−1), T.sub.SW and an adder forming signal ([K.sub.U(n)+K.sub.D(n)] as denominator. The result of calculation ΔV.sub.CS is not iterative, e.g., it is correct for every switching cycle, including transients.

[0077] The V.sub.ERR_mod(n) signal (modified V.sub.ERR signal, see Equation (10)) is generated by an error voltage modifier circuit (shown as CB 204), which receives its four input signals (V.sub.ERR(n), T.sub.SW, t.sub.OFF(n−1), Mode) and is based on Equation (10). CB 204 is an example of EVM circuit 118 in FIG. 3A, and is a multiplier-divider with two inputs in the numerator (V.sub.ERR(n), T.sub.SW)) and a signal t.sub.OFF(n−1) in the denominator. In buck mode, V.sub.ERR is not modified (see Equation (10)). In boost or buck-boost mode, CB 204 outputs a modified error voltage V.sub.ERR_mod(n) that equals the product of V.sub.ERR(n) and T.sub.SW divided by t.sub.OFF(n−1), whereas in buck mode CB 204 outputs modified error voltage V.sub.ERR_mod(n) that equals V.sub.ERR(n).

[0078] Coefficient signals K.sub.U(n−1)—upslope, K.sub.D(n−1)—downslope of the current sense signal V.sub.CS during the previous switching cycle (n−1), used as inputs for CBs 203, 201 are generated by CBs 209, 210, both of which are divider circuits with a subtractor circuit forming the numerator signal as the difference between the V.sub.CS_p and V.sub.CS_v inputs and using t.sub.ON(n−1) and t.sub.OFF(n−1) input signals, respectively as the denominator. CB 209 receives as inputs signals V.sub.CS_P(n−1), V.sub.CS_V(n−1) to form the difference [V.sub.CS_P(n−1)−V.sub.CS_V(n−1)] as the numerator signal and t.sub.ON(n−1) as the denominator signal and passes K.sub.U(n−1) on its output to each of CB 201 and 203. CB 210 receives on its inputs signals V.sub.CS_P(n−1), V.sub.CS_V(n) to form the difference [V.sub.CS_P(n−1)−V.sub.CS_V(n)] as the numerator signal and t.sub.OFF(n−1) as the denominator signal and passes K.sub.U(n−1) to its output to each of CB 201 and 203.

[0079] The signals V.sub.CS_V(n−1), V.sub.CS_V(n) are generated by ‘sample and hold’ (S&H) circuit 205 receiving on its inputs signal V.sub.CS and signal t.sub.OFF(n) i.e. the PWM off signal of the present cycle. S&H circuit 205 may sample the current sense signal V.sub.CS at the end of the t.sub.OFF(n) signal.

[0080] The signal V.sub.CS_P(n−1) is generated by ‘sample and hold’ (S&H) circuit 206 receiving on its inputs signal V.sub.CS and signal t.sub.ON(n−1), i.e. the PWM on signal of the previous cycle. S&H circuit 206 may sample the current sense signal V.sub.CS at the end of the t.sub.ON(n−1) signal.

[0081] In the implementation of the iterative average current mode controller (IACMC) according to various examples of the present disclosure, which PWM controller 111a is an example IACMC, S&H circuits, multipliers-dividers (MD) and summers/subtractors are used for processing input information and generating desired outputs. In the description of the implementation, the specific options for implementation are not specified, e.g. analog versus digital S&H circuits, MDs or summers/subtractors, any of which may be used. Similarly, signals are not specified as being analog or digital, as analog signals could be easily transferred into digital format with an appropriate ADC. As is obvious to anyone skilled in the art, the described specifics of the implementation are merely examples, and are not intended to be limiting.

[0082] The iterative nature of the above-described control principle allows use of steady-state relationships between some variables (e.g., t.sub.ON, t.sub.OFF, T.sub.SW and voltages across inductor) under any conditions and still achieves the correct steady-state result. Thus, the following example may present additional benefits in simplicity of the implementation.

[0083] The definition of the coefficients K.sub.U, K.sub.D was previously described above in Equations (2) and (3), and in terms of this definition the main equations for inductor L could be written down according to Equation (19) below:


LK.sub.U=R.sub.CSV.sub.U LK.sub.D=R.sub.CSV.sub.D  (19)

[0084] Where V.sub.U, V.sub.D are voltages across inductor 100, having an inductance L, during t.sub.ON(n−1) and t.sub.OFF(n−1), and R.sub.CS is the resistance of sense resistor 107. The voltages V.sub.U, V.sub.D may be different for different modes of operation of the DC-DC converter and are presented in the Table below:

TABLE-US-00001 Buck B-B Boost K.sub.U V.sub.I-V.sub.O V.sub.I V.sub.I V.sub.U V.sub.U_diff(n) K.sub.D V.sub.O V.sub.O V.sub.O-V.sub.I V.sub.D V.sub.D_diff(n)

[0085] FIG. 7 also shows voltages V.sub.U_diff(n) and V.sub.D_diff(n) as voltages across the inductor 100 that were sampled and held at the end of t.sub.ON or at the end of t.sub.OFF, respectively. Use of these voltages instead of voltages V.sub.U and V.sub.D may reduce errors related to voltage drops on MOSFETs A, B, C, D, as explained further below.

[0086] As it follows from Equation (19), K.sub.U and K.sub.D are proportional to V.sub.U_diff and to V.sub.D_diff, respectively and since they are used as ratios, they could be replaced with the variables V.sub.U_diff, V.sub.D_diff as shown in FIG. 8. FIG. 8 illustrates application of this principle to the calculation of K(n), showing side by side two examples of calculating coefficient K(n). The detailed justification of this approach is as follows.

[0087] Equation (19) can be rewritten to yield Equations (20):

[00012] L R CS .Math. Δ V CS_U t ON = V U L R CS .Math. Δ V CS_D t OFF = V D ( 20 )

[0088] Knowing that at steady state condition ΔV.sub.CS_U=ΔV.sub.CS_D, the second equation of (20) is divided by the first one, and after cancellation of the equal values, yields the first equation of (21) and formally adding 1 to its left and right parts yields the second equation of (21)

[00013] t O N t O F F = V D V U t O N t O F F + 1 = V U V D + 1 ( 21 )

Taking into consideration that T.sub.SW=t.sub.ON+t.sub.OFF, yields Equation (22) below:

[00014] T S W t O F F = V D + V U V U ( 22 )

Substituting Equation (22) into Equation (10), yields Equation (23) below:

[00015] V ERR_mod ( n ) = V ERR ( n ) .Math. V D_diff ( n ) + V U_diff ( n ) V U_diff ( n ) ( 23 )

[0089] FIG. 9 demonstrates two example applications of Equation (23) to the calculation of the modified error voltage V.sub.ERR_mod(n), with the approach on the right side using V.sub.U_diff(n), V.sub.D_diff(n) and V.sub.ERR(n). The approach on the left side has been described above in relation to CB 204 in FIG. 6.

[0090] Calculation of ΔV.sub.CS, which was described above according to Equation (1), could also be achieved without the use of a multi-input multiplier divider as described above in relation to CB 203. ΔV.sub.CS may be calculated as a steady-state V.sub.CS ripple and could be measured directly in the previous cycle and then sampled and held for the calculations in the present cycle. Also, some averaging over up-slope and down-slope may achieve some quality improvement. An example of this process is illustrated by FIG. 10. In FIG. 10, ΔV.sub.CS_pl(n) and ΔV.sub.CS_min(n) are sampled and held values of up-slope and down-slope of the current sense signal V.sub.CS, respectively, to be used in the calculations for the next cycle. P and q are averaging coefficients meeting the condition: p/(p+q)+q/(p+q)=1. FIG. 11 shows a side by side comparison of ΔV.sub.CS calculation using formula (1) and using direct measurement with averaging.

[0091] FIG. 12A shows an example of an iterative average current mode (IACM) PWM Controller with constant switching frequency modulation. Referring to FIG. 12A, which is an example of the PWM controller 111a of FIG. 3A, signal V.sub.CS_P(n) on the output of the control signal calculator circuit 200 is compared to signal V.sub.CS(t) by comparator 207, which is illustrated as being supplied with hysteresis. On the condition V.sub.CS(t)>V.sub.CS_P(n) the output signal of the comparator 207 resets the flip-flop circuit 208, terminating the ON time of the switching cycle (n), and setting the PWM signal to a second state. Flip-flop circuit 208 is set by the clock (signal Clk, FIG. 6), starting the ON time of the next switching cycle, and setting the PWM signal to a first state, opposite the second state.

[0092] Control signal calculator circuit 200 of FIG. 12A generates its output signal V.sub.CS_P(n) as a linear combination of signals: [V.sub.CS_V(n)+ΔV.sub.CS] and [V.sub.ERR_mod(n)−V.sub.CS_V(n)−ΔV.sub.CS/2] with adaptive (calculated for each switching cycle) coefficient K(n)=1/K.sub.mod. FIG. 12B shows an example of control signal calculator circuit 200 implemented using analog adders, subtractors, and multipliers, though other implementations are possible. Referring again to FIG. 12A, coefficient K.sub.mod is generated by a modifying coefficient calculator circuit (shown as CB 201) receiving its two inputs V.sub.U_diff(n−1) and V.sub.D_diff(n−1). The modifying coefficient calculator circuit 201 is a divider having a denominator that is the first input V.sub.U_diff(n−1) of the modifying coefficient calculator circuit 201 and numerator is the sum of the two inputs [V.sub.U_diff(n−1)+V.sub.D_diff(n−1)] of modifying coefficient calculator circuit 201.

[0093] The ΔV.sub.CS (V.sub.CS ripple) signal is generated by an average current sense signal ripple calculator circuit 203 receiving its two inputs ΔV.sub.CS_min(n−1), ΔV.sub.CS_pl(n−1) and generating its output based on Equation (24) below:

[00016] Δ V C S - a v ( n - 1 ) = p Δ V CS_pl ( n - 1 ) + q Δ V CS_min ( n - 1 ) ( p + q ) ( 24 )

[0094] Average current sense signal ripple calculator circuit 203 is an adder with two inputs receiving signals ΔV.sub.CS_pl(n−1), ΔV.sub.CS_min(n−1) and summing them up with weights p/(p+q) and q/(p+q). The result of the calculation is used as ΔV.sub.CS and it is iterative, e.g., it is correct for steady-state condition.

[0095] The modified error voltage V.sub.ERR_mod(n) signal (see Equation (10)) is generated by error voltage modifier circuit 204, which receives its three input signals (V.sub.ERR(n), K.sub.mod, ‘Mode’) and generates the modified error voltage V.sub.ERR_mod(n) signal based on Equation (23) and the modifying coefficient calculator circuit 201 described above. Error voltage modifier circuit 204 is a multiplier with two inputs V.sub.ERR(n) and K.sub.mod(n) and a switch controlled by the mode signal. The output of the multiplier is passed to the output of the error voltage modifier circuit 204 in Boost or Buck-Boost mode. In buck mode, V.sub.ERR is not modified (see Equation (10)) and passed to the output of the error voltage modifier circuit 204 directly. The mode of operation is defined by the signal ‘Mode’.

[0096] The signals V.sub.U_diff(n−1), V.sub.D_diff(n−1), are respectively generated by S&H circuits 213, 214, which receive on their inputs signals [V.sub.L(t)−V.sub.R(t)], t.sub.ON(n−1) and [V.sub.L(t)−V.sub.R(t], t.sub.OFF(n−1), respectively, wherein V.sub.L(t) and V.sub.R(t) represent the respective voltages at terminals V.sub.L and V.sub.R of inductor 100 as a function time ‘t’. S&H circuit 213 is configured to sample signal [V.sub.L(t)−V.sub.R(t)] at the end of time interval t.sub.ON(n−1). S&H circuit 214 is configured to sample signal [V.sub.L(t)−V.sub.R(t)] at the end of time interval t.sub.OFF(n−1).

[0097] The signals [V.sub.L(t)−V.sub.R(t)], [V.sub.R(t)−V.sub.L(t)] are generated by subtractors 215, 216, respectively, which receive signals V.sub.L(t), V.sub.R(t) as inputs.

[0098] The ΔV.sub.CS_pl(n−1), ΔV.sub.CS_min(n−1) signals are generated by a current sense signal ripple slope calculator circuit, which includes S&H circuits 211, 212, which receive on their inputs signals [ΔV.sub.CS_U(n−1), t.sub.ON(n−1)] and [ΔV.sub.CS_D(n−1), t.sub.OFF(n−1)], respectively. S&H circuit 211 is configured to sample the ΔV.sub.CS_U(n−1) signal at the end of the t.sub.ON(n−1) time interval. S&H circuit 212 is configured to sample the ΔV.sub.CS_D(n−1) signal at the end of the t.sub.OFF(n−1) time interval.

[0099] The ΔV.sub.CS_U(n−1), ΔV.sub.CS_D(n−1) signals are generated by the subtractor circuits 209, 210, which receive on their non-inverting and inverting inputs signals [V.sub.CS_P(n−1), V.sub.CS_V(n−1)] and [V.sub.CS_P(n−1), V.sub.CS_V(n)], respectively.

[0100] The signals V.sub.CS_V(n−1), V.sub.CS_V(n) are generated by ‘sample and hold’ (S&H) circuit 205, which receives on its inputs current sense signal V.sub.CS(t) and signals t.sub.OFF(n−1), t.sub.OFF(n−2), where V.sub.cs(t) represent the current sense signal V.sub.cs as a function time S&H circuit 205 is configured to sample the current sense signal V.sub.CS(t) at the end of the time intervals t.sub.OFF(n−1), t.sub.OFF(n−2).

[0101] The signal V.sub.CS_P(n−1) is generated by ‘sample and hold’ (S&H) circuit 206, which receives on its inputs current sense signal V.sub.CS(t) and t.sub.ON(n−1). S&H circuit 206 is configured to sample the current sense signal V.sub.CS(t) at the end of t.sub.ON(n−1) period.

[0102] Although the IACM control method according to various examples of the present disclosure is implemented using a constant switching frequency in the example of FIG. 12A, the IACM control method could also be implemented with PWMs other than ‘constant switching frequency.’ For example, a ‘constant ON time’ (COT) PWM may be used to implement the IACM control method according to various examples of the present disclosure.

[0103] In various examples of a COT PWM controller, a control signal defines the duration of the OFF time, so it is ‘valley control’, rather than ‘peak control’ as in the previous example.

[0104] FIG. 13 depicts the current sense signal V.sub.CS(t) waveform according to various examples, which is steady state up until switching cycle (n) and is in regulation with average value V.sub.CS_av=V.sub.ERR_mod(n−1). The following are modeling assumptions, allowing the derivation of an algorithm for a general case. In the beginning of the present switching cycle (n), the modified error voltage V.sub.ERR_mod changes to a new level: V.sub.ERR_mod(n) and stays at this level until the end of the present switching cycle. To achieve regulation at this new level, a new level of V.sub.CS_V(n+1) can be determined from Equation (25) below:


V.sub.CS_V(n+1)=V.sub.CS_V(n)+(V.sub.ERR_mod(n)−V.sub.ERR_mod(n−1))  (25)

[0105] Assuming that the V.sub.CS ripple ΔV.sub.CS remains the same yields Equation (26) below:


V.sub.CS_av_ind(n+1)=V.sub.ERR_mod(n+1)  (26)

[0106] To achieve Equation (25), and taking into consideration Equation (27) below, Equation (28) is provided below:

[00017] V ERR_mod ( n - 1 ) = V CS _ v ( n ) + Δ V CS 2 ( 27 ) V CS _ v ( n + 1 ) = V ERR_mod ( n ) - Δ V CS_U 2 ( 28 )

[0107] In Equation (28), the designation ΔV.sub.CS_U is used instead of ΔV.sub.CS to reflect the fact that with t.sub.ON=constant, steady-state V.sub.CS ripple is equal to its upslope.

[0108] The PWM controller of FIG. 14 is an example of an iterative average current mode control method operating in a constant on-time (torr) mode. Referring to FIG. 14, which is an example of the PWM controller 111a of FIG. 3A, the signal V.sub.CS_V(n+1) on the output of control signal calculator circuit 200 is compared to the current sense signal V.sub.CS(t) by comparator 207, illustrated as provided with hysteresis. On the condition V.sub.CS(t)<V.sub.CS_V(n+1) the output signal of the comparator 207 sets the flip-flop circuit 208, terminating the OFF time of the switching cycle (n), and setting the PWM signal to the first state. Flip-flop circuit 208 is reset by the output of one-shot circuit 220, which starts the OFF time of the next switching cycle (n+1), and sets the PWM signal to the second state. One-shot circuit 220 receives on its input signal t.sub.ON(n) and programming signal Δt defining the duration of torr.

[0109] Control signal calculator circuit 200 generates its output signal V.sub.CS_v(n+1) as a difference of signals: V.sub.ERR_mod(n) and (ΔV.sub.CS_U)/2]. The modified error voltage signal V.sub.ERR_mod(n) (see Equation (10)) is generated by error voltage modifier circuit 204 which is based on Equation (23) and receives its three input signals (V.sub.ERR(n), K.sub.mod, ‘Mode’), of which input signal K.sub.mod is provided by the modifying coefficient calculator circuit 201 described above. Error voltage modifier circuit 204 is a multiplier with two inputs V.sub.ERR(n) and K.sub.mod(n). The output of the multiplier is passed to the output of the error voltage modifier circuit 204 in Boost or Buck-Boost mode. In buck mode, the voltage error signal V.sub.ERR is not modified (see Equation (10)) and is passed to the output of the error voltage modifier circuit 204 directly. The mode of operation is defined by signal ‘Mode’. Although the error voltage modifier circuit 204 in the example shown in FIG. 14 provides a different output based on the mode signal it receives, various examples of the error voltage modifier circuit 204 include single mode operation.

[0110] The signals V.sub.U_diff(n−1), V.sub.D_diff(n−1), are generated by S&H circuits 213, 214, which receive on their inputs signals [V.sub.L(t)−V.sub.R(t)], t.sub.ON(n−1) and [V.sub.L(t)−V.sub.R(t)], t.sub.OFF(n−1), respectively. S&H circuit 213 is configured to sample signal [V.sub.L(t)−V.sub.R(t)] at the end of time interval t.sub.ON(n−1). S&H circuit 214 is configured to sample signal [V.sub.L(t)−V.sub.R(t)] at the end of time interval t.sub.OFF(n−1).

[0111] The signals [V.sub.L(t)−V.sub.R(t)], [V.sub.L(t)−V.sub.R(t)] are respectively generated by subtractor circuits 215, 216, which receive signals V.sub.L(t), V.sub.R(t) as inputs.

[0112] The signal ΔV.sub.CS_U (V.sub.CS upslope) is generated by a current sense signal ripple upslope calculator circuit 211a, which includes a S&H circuit which outputs signal ΔV.sub.CS_pl(n) and receives on its inputs signals [ΔV.sub.CS_U(n), t.sub.ON(n)]. Current sense signal ripple upslope calculator circuit 211a is configured to sample the ΔV.sub.CS_U(n) signal at the end of the t.sub.ON(n) time interval so as to output signal ΔV.sub.CS_pl(n). Therefore, although the input to control signal calculator circuit 200 is shown in FIG. 14 as ΔV.sub.CS_U and the output of the current sense signal ripple upslope calculator circuit 211a is shown as ΔV.sub.CS_pl(n), ΔV.sub.CS_pl(n) represents a sampling of ΔV.sub.CS_U that remains unchanged for the next cycle.

[0113] The ΔV.sub.CS_U(n) signal is generated by the subtractor circuit 209, which receives on its non-inverting and inverting inputs signals [V.sub.CS_P(n), V.sub.CS_V(n)], respectively.

[0114] The signal V.sub.CS_V(n) is generated by ‘sample and hold’ (S&H) circuit 205, which receives on its inputs current sense signal V.sub.CS(t) and signal t.sub.OFF(n−1). S&H circuit 205 is configured to sample the current sense signal V.sub.CS(t) at the end of the time interval t.sub.OFF(n−1).

[0115] The signal V.sub.CS_P(n) is generated by ‘sample and hold’ (S&H) circuit 206, which receives on its inputs signal current sense signal V.sub.CS(t) and t.sub.ON(n). S&H circuit 206 is configured to sample the current sense signal V.sub.CS(t) at the end of the current time interval t.sub.ON(n).

[0116] Various examples of the present disclosure may also include a ‘constant OFF time’ PWM controller, in which case a control signal defines the duration of the ON time, so it is ‘peak control’, rather than ‘valley control’ as in the case with a constant switching frequency example.

[0117] FIG. 15 depicts a current sense signal V.sub.CS(t) waveform according to various examples of the present disclosure, which is steady state up until switching cycle (n) and is in regulation with average value V.sub.CS_av=V.sub.ERR_mod(n−1). The following are modeling assumptions, allowing the derivation of an algorithm for a general case. In the beginning of the present switching cycle (n) the modified error voltage V.sub.ERR_mod changes to a new level: V.sub.ERR_mod(n) and stays at this level until the end of the present switching cycle. To achieve regulation at this new level, a new level of V.sub.CS_p(n) can be determined by Equation (29) below:


V.sub.CS_p(n)=V.sub.CS_p(n−1)+(V.sub.ERR_mod(n)−V.sub.ERR_mod(n−1))  (29)

[0118] Equation (29) is based on the assumption that the V.sub.CS ripple ΔV.sub.CS remains the same and therefore yields Equation 30 below:


V.sub.CS_av_ind(n+1)=V.sub.ERR_mod(n+1)  (30)

[0119] To achieve Equation (29), and taking into consideration Equation (31) below, Equation (32) states as follows:

[00018] V ERR_mod ( n - 1 ) = V CS_P ( n - 1 ) - Δ V CS_D 2 ( 31 ) V CS_p ( n ) = V ERR_mod ( n ) + Δ V CS_D 2 ( 32 )

[0120] In Equation (28), the designation ΔV.sub.CS_D is used instead of ΔV.sub.CS to reflect the fact that with t.sub.OFF=constant, steady-state V.sub.CS ripple is equal to its downslope.

[0121] The PWM controller of FIG. 16 is an example of an iterative average current mode control method operating in a constant off time (t.sub.OFF) mode. Referring to FIG. 16, which is an example of the PWM controller 111a of FIG. 3A, the signal V.sub.CS_P(n) on the output of control signal calculator circuit 200 is compared to signal V.sub.CS(t) by comparator 207. On the condition V.sub.CS(t)>V.sub.CS_P(n) the output signal of the comparator 207 resets the flip-flop circuit 208, terminating the ON time of the switching cycle (n), and setting the PWM signal to the second state. Flip-flop circuit 208 is set by the output of the one-shot circuit 220, which starts the ON time of the next switching cycle (n+1), and sets the PWM signal to the first state. One-shot circuit 220 receives on its input signal t.sub.OFF(n) and programming signal Δt defining the duration of t.sub.OFF.

[0122] Control signal calculator circuit 200 generates its output signal V.sub.CS_P(n+1) as the sum of two voltages: V.sub.ERR_mod(n) and (ΔV.sub.CS_D)/2].

[0123] The modified error voltage signal V.sub.ERR_mod(n) (see Equation (10)) is generated by the error voltage modifier circuit 204, which receives its three input signals (V.sub.ERR(n), K.sub.mod, ‘Mode’) and is based on Equation (23) and the modifying coefficient calculator circuit 201 described above. Error voltage modifier circuit 204 is a multiplier with two inputs V.sub.ERR(n) and K.sub.mod(n). The output of the multiplier is passed to the output of error voltage modifier circuit 204 in Boost or Buck-Boost mode. In buck mode, the voltage error signal V.sub.ERR is not modified (see Equation (10)) and is passed to the output of the error voltage modifier circuit 204 directly. The mode of operation is defined by signal ‘Mode’. Although the error voltage modifier circuit 204 in the example shown in FIG. 16 provides a different output based on the mode signal it receives, various examples of the error voltage modifier circuit 204 include single mode operation.

[0124] The signals V.sub.U_diff(n−1), V.sub.D_diff(n−1), are generated by S&H circuits 213, 214, which receive on their inputs signals [V.sub.L(t)−V.sub.R(t)], t.sub.ON(n−1) and [V.sub.L(t)−V.sub.R(t)], t.sub.OFF(n−1), respectively. S&H circuit 213 is configured to sample signal [V.sub.L(t)−V.sub.R(t)] at the end of time interval t.sub.ON(n−1). S&H circuit 214 is configured to sample signal [V.sub.L(t)−V.sub.R(t)] at the end of time interval t.sub.OFF(n−1).

[0125] The signals [V.sub.L(t)−V.sub.R(t)], [V.sub.L(t)−V.sub.R(t)] are respectively generated by subtractor circuits 215, 216, which receive signals V.sub.L(t), V.sub.R(t) as inputs.

[0126] The PWM controller of FIG. 16 includes a current sense signal ripple down-slope calculator circuit 212a configured to generate a signal ΔV.sub.CS_D (V.sub.CS downslope). More specifically, ΔV.sub.CS_D is generated by the current sense signal ripple down-slope calculator circuit 212a, which includes a S&H circuit that passes as its output signal ΔV.sub.CS_min(n−1) and receives on its inputs signals [ΔV.sub.CS_D(n−1), t.sub.OFF(n−1)]. S&H circuit 212 is configured to sample the ΔV.sub.CS_D(n−1) signal at the end of the t.sub.OFF(n−1) time interval. Therefore, although the input to control signal calculator circuit 200 is shown in FIG. 16 as ΔV.sub.CS_D and the output of the current sense signal ripple down-slope calculator circuit 212a is shown as ΔV.sub.CS_min(n), ΔV.sub.CS_min(n) represents a sampling of ΔV.sub.CS_D that remains unchanged for the next cycle.

[0127] The ΔV.sub.CS_D(n−1) signal is generated by the subtractor circuit 210, which receives on its non-inverting and inverting inputs signals [V.sub.CS_P(n−1), V.sub.CS_V(n)], respectively.

[0128] The signal V.sub.CS_V(n) is generated by ‘sample and hold’ (S&H) circuit 205, which receives on its inputs the current sense signal V.sub.CS(t) and signal t.sub.OFF(n−1). S&H circuit 205 is configured to sample the current sense signal V.sub.CS(t) at the end of the time interval t.sub.OFF(n−1).

[0129] The signal V.sub.CS_P(n−1) is generated by ‘sample and hold’ (S&H) circuit 206, which receives on its inputs signal V.sub.CS(t) and t.sub.ON(n−1). S&H circuit 206 is configured to sample the current sense signal V.sub.CS(t) at the end of the t.sub.ON(n−1) signal.

[0130] According to various examples of the present disclosure, IACM control mode may be implemented using a PWM controller 111a operating in a ‘constant ripple’ mode. In the case of ‘constant ripple’ mode, the moments of turning the switch ON and OFF are defined by the current sense signal V.sub.CS(t) as it increases after crossing the signal V.sub.ERR_mod(n) at the moment when V.sub.CS(t)>V.sub.ERR_mod(n) by a predetermined value (½)ΔV.sub.CS or as it decreases after crossing the signal V.sub.ERR_mod(n) at the moment when V.sub.CS(t)<V.sub.ERR_mod(n) by the same predetermined value (½)ΔV.sub.CS.

[0131] FIG. 17 depicts current sense signal V.sub.CS(t) waveform according to various examples of the present disclosure, which is steady state up until switching cycle (n) and is regulated with average value V.sub.CS_av=V.sub.ERR_mod(n−1). In the beginning of the present switching cycle (n), the modified error voltage V.sub.ERR_mod jumps to a new level: V.sub.ERR_mod(n) and stays at this level to the end of the present switching cycle. As the current sense signal V.sub.CS(t) increases in the present cycle (n), it crosses the new level of V.sub.ERR_mod(n) and after that keeps increasing until reaching the level of [V.sub.ERR_mod(n)+(½)ΔV.sub.CS]. At this moment, the state ‘ON’ changes to ‘OFF’, responsive to current sense signal V.sub.CS(t) being greater than [V.sub.ERR_mod(n)+(½)ΔV.sub.CS], and the current sense signal V.sub.CS(t) starts decreasing. The current sense signal V.sub.CS(t) continues decreasing past the modified error voltage V.sub.ERR_mod(n) and keeps decreasing until it reaches the level [V.sub.ERR_mod(n)−(½)ΔV.sub.CS]. At this moment, responsive to current sense signal V.sub.CS(t) being less than [V.sub.ERR_mod(n)−(½)ΔV.sub.CS] the state changes from ‘OFF’ to ‘ON’ and the next switching period starts. V.sub.ERR+mod(n) starting from cycle (n+1) is a new average value of V.sub.CS(t) and the transient to a new average took one switching cycle.

[0132] As would be understood by those skilled in the art, there are multiple ways of implementing the described regulation algorithm. A block diagram with one of possible implementation of IACM control in a constant ripple mode is presented in FIG. 18.

[0133] In FIG. 18, the PWM signal is generated by toggle flip flop circuit 208, which receives on its D input signal t.sub.OFF(n) (inverted Q) and on its dynamic, or clock, input the output of comparator 207. The comparator 207 receives on its noninverting input signal ΔV.sub.CS_ref—a preprogrammed value of V.sub.CS ripple, and on its inverting input the output of a subtractor circuit, shown as differential amplifier 217. The differential amplifier 217 receives on its inverting and noninverting inputs the outputs of commutators (218, 219), respectively. Commutators (218, 219) receive on their respective control inputs the outputs of toggle flip flop circuit 208 t.sub.ON(n) and t.sub.OFF(n) and on its ‘information’ inputs current sense signal V.sub.CS(t) and modified error voltage signal V.sub.ERR_mod(n). Commutators (218, 219) pass to its respective output connected to noninverting input of differential amplifier 217 signal V.sub.CS(t) and to its respective output connected to inverting input of differential amplifier 217 signal V.sub.ERR_mod(n) if digital signals t.sub.ON(n)=1 and t.sub.OFF(n)=0. If t.sub.ON(n)=0 and t.sub.OFF(n)=1, V.sub.CS(t) is passed to the inverting input of 217 and V.sub.ERR_mod(n) to the noninverting input of 217.

[0134] The modified error voltage signal V.sub.ERR_mod(n) (see Equation (10)) is generated by error voltage modifier circuit 204, which receives its three input signals (V.sub.ERR(n), K.sub.mod, ‘Mode’) and is based on Equation (23) and modifying coefficient calculator circuit 201 described above. The error voltage modifier circuit 204 comprises a multiplier with two inputs V.sub.ERR(n) and K.sub.mod(n). The output of multiplier is passed to the output of the error voltage modifier circuit 204 in Boost or Buck-Boost mode. In buck mode, V.sub.ERR is not modified (see Equation (10)) and is passed to the output of the error voltage modifier circuit 204 directly. The mode of operation is defined by signal ‘Mode’. Although the error voltage modifier circuit 204 in the example shown in FIG. 18 provides a different output based on the mode signal it receives, various examples of the error voltage modifier circuit 204 include single mode operation.

[0135] Various examples have been disclosed herein, in connection with the above description and the drawings. It will be understood that it would be unduly repetitious to literally describe and illustrate every combination and subcombination of these examples. Accordingly, all examples can be combined in any way and/or combination, and the present specification, including the drawings, shall be construed to constitute a complete written description of all combinations and subcombinations of the examples described herein, and of the manner and process of making and using them, and shall support claims to any such combination or subcombination.

[0136] It will be appreciated by persons skilled in the art that the examples described herein are not limited to what has been particularly shown and described herein above. In addition, unless mention was made above to the contrary, it should be noted that all of the accompanying drawings are not to scale. A variety of modifications and variations are possible in light of the above teachings.