100nF

Charge pump calculator: inverter and voltage doubler

The output voltage, output resistance, ripple and efficiency of a switched-capacitor charge pump, as an inverter or a positive voltage doubler, from its two capacitors, their ESR and the oscillator frequency; and the capacitor for a target output resistance or ripple. The equations are the ones TI's LM2662/LM2663 datasheet gives for its own charge pump. The defaults are that datasheet's test conditions, 5 V in, 47 µF capacitors and 200 mA out, which give −4.38 V behind3.08 Ω, and the page's tests hold the output-resistance equation to the datasheet's own curves.

1 · S1 S3 on: C1 charges to VINVIN5.0 VS1C1 47 µFS4−4.38 VS2S3C247µF2 · S2 S4 on: C1 into C2VIN5.0 VS1C1 47 µFS4−4.38 VS2S3C247µF050100150200250IL (mA)3.55.0−VOUT (V)no load −VIN200 mAslope 3.08 ΩIL·Rout 0.62 V−4.38 V at 200 mA
Fig 1 — The LM2662 as an inverter, the two halves of each switching cycle at 75.0 kHz (fOSC/2); closed switches are drawn in colour. Below, the output against load: a −5.0 V source behind Rout = 3.08 Ω, −4.38 V at 200 mA.
Output voltage VOUT at 200 mA · no load
−4.383 V · −5.00 V
Output resistance Rout (Eq 1) · drop IL × Rout
3.08 Ω · 0.617 V
Rout terms: 2R_SW · 2/(fOSC × C1) · 4 ESR_C1 · ESR_C2
2.30 · 0.284 · 0.40 · 0.100 Ω
Output ripple, peak to peak (Eq 2): IL/(fOSC × C2) + 2 IL ESR_C2
68.4 mV = 28.4 mV + 40.0 mV
Oscillator frequency fOSC · switching frequency fSW = fOSC/2
150 kHz · 75.0 kHz
Efficiency (Eq 6)
87.1 %
Output power · loss IL² Rout · quiescent IQ × V+ (IQ 1.30 mA)
877 mW · 123 mW · 6.50 mW
Input current, Pin/VIN (derived)
201 mA
Rout at the table's minimum fOSC, 55.0 kHz (Eq 1) · VOUT there
3.57 Ω · −4.29 V
Junction temperature if all the loss were in the package, TA + P × 170 °C/W (upper bound)
47 °C

The 2/(fOSC × C1) term is only 9.2 % of Rout. "Once this term is trivial compared with RSW and ESRs, further increasing in oscillator frequency and capacitance will become ineffective."

How this is calculated

Standard: TI LM2662/LM2663 Switched Capacitor Voltage Converter datasheet, SNVS002E (Eq 1, 2, 3 and 6; Electrical Characteristics p. 5; Figures 16, 26 and 27)

Rout≅2RSW+2fosc×C1+4 ESRC1+ESRC2R_{out} \cong 2R_{SW} + \frac{2}{f_{osc} \times C_1} + 4\,ESR_{C1} + ESR_{C2}
Equation 1 (p. 12), "A good approximation", "where RSW is the sum of the ON resistance of the internal MOS switches". The datasheet prints no value for R_SW; the default 1.15 Ω is fitted to its Figure 26. fosc is the oscillator frequency, twice the switching frequency.
Vout=−(Vin−ILRout)    (inverter),Vout=2Vin−ILRout    (doubler)V_{out} = -(V_{in} - I_L R_{out}) \;\;\text{(inverter)}, \qquad V_{out} = 2V_{in} - I_L R_{out} \;\;\text{(doubler)}
The inverter "can be approximated by an ideal voltage source in series with a resistor. The voltage source equals −(V+)" (p. 12). The doubler's "unloaded output voltage is twice of the input voltage and is not reduced by the diode D1's forward drop" (p. 16); "The output voltage drop is the load current times the output resistance" (p. 17).
Vripple=ILfosc×C2+2×IL×ESRC2V_{ripple} = \frac{I_L}{f_{osc} \times C_2} + 2 \times I_L \times ESR_{C2}
Equation 2 (p. 13): the peak-to-peak output ripple, "determined by the oscillator frequency, and the capacitance and ESR of the output capacitor C2".
η=PoutPin=IL2RLIL2RL+IL2Rout+IQ(V+)\eta = \frac{P_{out}}{P_{in}} = \frac{I_L^2 R_L}{I_L^2 R_L + I_L^2 R_{out} + I_Q (V+)}
Equation 6 (p. 17), "Where IQ(V+) is the quiescent power loss of the IC device, and IL²ROUT is the conversion loss associated with the switch on-resistance, the two external capacitors and their ESRs." V+ is the voltage on the V+ pin: the input of the inverter, the output of the doubler.
C1=2fosc (Rout−2RSW−4 ESRC1−ESRC2),C2=ILfosc (Vripple−2IL ESRC2)C_1 = \frac{2}{f_{osc}\,\left(R_{out} - 2R_{SW} - 4\,ESR_{C1} - ESR_{C2}\right)}, \qquad C_2 = \frac{I_L}{f_{osc}\,\left(V_{ripple} - 2 I_L\,ESR_{C2}\right)}
Equations 1 and 2 solved for the capacitors (derived). Each has a floor that no capacitance removes.
Rout=Rout of each devicenumber of devices,fOSC=2fSWR_{out} = \frac{R_{out}\ \text{of each device}}{\text{number of devices}}, \qquad f_{OSC} = 2 f_{SW}
Equation 3 (p. 13), devices in parallel, "Each device must have its own pumping capacitor C1, while only one output capacitor Cout is needed". The switching frequency is half the oscillator frequency (p. 5, note 7).

Assumptions

How a charge pump makes −VIN or 2 VIN from two capacitors

A charge pump moves charge with capacitors and switches instead of an inductor. TI's LM2662/LM2663 datasheet describes its own four switches in the plainest terms (p. 10): "When S1 and S3 are closed, C1 charges to the supply voltage V+. During this time interval switches S2 and S4 are open. In the second time interval, S1 and S3 are open and S2 and S4 are closed, C1 is charging C2. After a number of cycles, the voltage across C2 will be pumped to V+. Since the anode of C2 is connected to ground, the output at the cathode of C2 equals −(V+)". The capacitor that moves, C1, is the pumping or flying capacitor; C2 holds the output up between transfers. The figure above draws both halves of the cycle.

The same four switches make a positive doubler when the pins are reconnected: the input goes on the GND pin, the output comes off V+, and OUT and LV are grounded (Figure 27). C1 charges to VINin one half and is then stacked on top of VIN in the other, so the output rises towards twice the input. The datasheet says the doubler's "unloaded output voltage is twice of the input voltage and is not reduced by the diode D1's forward drop" (p. 16): the Schottky diode in that circuit "is only needed for start-up".

Neither output is regulated. The datasheet's model for the inverter is "an ideal voltage source in series with a resistor. The voltage source equals −(V+)" (p. 12), and this page treats the doubler the same way, with 2 VIN as the source. Everything this calculator reports follows from that resistance, Rout: "The output voltage drop is the load current times the output resistance" (p. 17), the loss in it is IL²Rout, and the load line in the figure falls from the no-load voltage with Rout as its slope.

The output resistance equation and what sets it

The datasheet's Equation 1 (p. 12) breaks Rout into four terms, "A good approximation": twice RSW, "the sum of the ON resistance of the internal MOS switches"; 2/(fosc × C1), the part that falls with frequency and capacitance; four times the ESR of C1; and once the ESR of C2. The factor of four is explained on the same page: "Since the switching current charging and discharging C1 is approximately twice as the output current, the effect of the ESR of the pumping capacitor C1 is multiplied by four in the output resistance. The output capacitor C2 is charging and discharging at a current approximately equal to the output current, therefore, its ESR only counts once in the output resistance."

Two of the four terms are fixed by the parts, and the third by the choice of capacitor type. Only 2/(fosc × C1) responds to more capacitance or a faster clock, and it responds with diminishing returns. The datasheet: "Instead of increasing the capacitance, the oscillator frequency can be increased to reduce the 2/(fosc × C1) term. Once this term is trivial compared with RSW and ESRs, further increasing in oscillator frequency and capacitance will become ineffective." The calculator reports each term separately so that you can see which one you are paying for, and says so when the capacitor term has become trivial.

The datasheet does not give RSW as a number. It does give every other term of Equation 1 in Figure 26 (p. 15), four curves of output resistance against oscillator frequency, each for a stated pair of capacitors and their ESR. Taking the capacitor terms of Equation 1 off each curve leaves 2RSW between about 2.1 and 2.5 Ω at every frequency on every curve; the mean is the calculator's default, RSW = 1.15 Ω. The figure also confirms the ESR terms on their own: its two 10 µF curves differ only in ESR, 0.025 Ω against 0.4 Ω, and Equation 1 puts them 1.875 Ω apart at every frequency. Read off the figure, the gap is between 1.76 and 1.95 Ω.

Output resistance against frequency and capacitor: a table

Equation 1 with RSW = 1.15 Ω, for Figure 26's four capacitor pairs (C1 = C2, each with the ESR shown), across the range the LM2662 can be set to. The last column is the floor 2RSW + 4 ESRC1 + ESRC2 that no capacitance or frequency goes below.

C1 = C2, ESR10.0 kHz20.0 kHz50.0 kHz100 kHz150 kHz300 kHzfloor
10 µF ceramic, 0.025 Ω22.43 Ω12.43 Ω6.43 Ω4.43 Ω3.76 Ω3.09 Ω2.42 Ω
10 µF tantalum, 0.4 Ω24.30 Ω14.30 Ω8.30 Ω6.30 Ω5.63 Ω4.97 Ω4.30 Ω
47 µF tantalum, 0.1 Ω7.06 Ω4.93 Ω3.65 Ω3.23 Ω3.08 Ω2.94 Ω2.80 Ω
150 µF tantalum, 0.06 Ω3.93 Ω3.27 Ω2.87 Ω2.73 Ω2.69 Ω2.64 Ω2.60 Ω

The 47 µF row shows the datasheet's own remark on Figure 26 at work: "Once the frequency is increased to some point (such as 100 kHz for the 47-μF capacitors), the output resistance is dominated by the ON resistance of the internal switches and the ESRs of the external capacitors." At 100 kHz the capacitor term is 0.426 Ω of3.23 Ω. The 10 µF ceramic row is the other remark: "in higher frequency range, the output resistance using the 10-μF ceramic capacitors is close to these using higher value tantalum capacitors", because its ESR is a quarter of the 47 µF tantalum's.

Against Figure 26 itself, read at four frequencies, with Equation 1's value after each reading:

Curve25.0 kHz65.0 kHz150 kHz280 kHz
10 µF ceramic10.46 / 10.43 Ω5.69 / 5.50 Ω3.79 / 3.76 Ω3.22 / 3.14 Ω
10 µF tantalum12.27 / 12.30 Ω7.49 / 7.38 Ω5.74 / 5.63 Ω5.06 / 5.01 Ω
47 µF tantalum4.37 / 4.50 Ω3.48 / 3.45 Ω3.06 / 3.08 Ω2.89 / 2.95 Ω
150 µF tantalum3.17 / 3.13 Ω2.85 / 2.81 Ω2.70 / 2.69 Ω2.58 / 2.65 Ω

The largest difference in the table is 0.19 Ω. The readings were taken from the figure's bitmap in the PDF, locating the gridlines by pixel and the curve by the centre of its stroke, which is about 0.16 Ω thick; the page's tests hold Equation 1 to all 36 readings within 0.3 Ω.

Output ripple

The datasheet's Equation 2 (p. 13) gives the peak-to-peak ripple as "determined by the oscillator frequency, and the capacitance and ESR of the output capacitor C2": IL/(fosc × C2) + 2 × IL × ESRC2. The first term is the charge the load takes from C2 between top-ups; the second is the step the output takes across C2's ESR as its current reverses. "Again, using a low ESR capacitor will result in lower ripple." At 200 mA:

C2, ESR20 kHz: C + ESR20 kHz total150 kHz: C + ESR150 kHz total
10 µF ceramic, 0.025 Ω1000.0 mV + 10.0 mV1010.0 mV133.3 mV + 10.0 mV143.3 mV
10 µF tantalum, 0.4 Ω1000.0 mV + 160.0 mV1160.0 mV133.3 mV + 160.0 mV293.3 mV
47 µF tantalum, 0.1 Ω212.8 mV + 40.0 mV252.8 mV28.4 mV + 40.0 mV68.4 mV
150 µF tantalum, 0.06 Ω66.7 mV + 24.0 mV90.7 mV8.9 mV + 24.0 mV32.9 mV

The 10 µF tantalum makes the point: at 150 kHz its 0.4 Ω of ESR contributes 160 mV of the 293 mV, and no amount of extra capacitance would touch that part. The datasheet notes that "A low value, smaller size capacitor usually has a higher ESR compared with a bigger size capacitor of the same type. Ceramic capacitors can be chosen for their lower ESR." The ripple here is the datasheet's switching ripple; any spikes from the switching edges depend on layout, which the datasheet's layout section addresses with placement rather than a number.

Efficiency: the loss in Rout and the IC's own supply current

The datasheet's Equation 6 (p. 17) is the efficiency as output power over output power plus two losses: IL²Rout, "the conversion loss associated with the switch on-resistance, the two external capacitors and their ESRs", and IQ(V+), "the quiescent power loss of the IC device". The first grows with load, the second does not, so a charge pump is least efficient at light load and at heavy load and best in between. The table uses the defaults (5 V, 47 µF, 0.1 Ω), at each FC setting with its own typical IQfrom the table, 1.3 mA at 150 kHz and 0.3 mA at 20 kHz.

Load IL150 kHz, IQ 1.3 mA20 kHz, IQ 0.3 mA
2.0 mA60.5 %86.8 %
20 mA92.7 %96.6 %
50 mA94.5 %94.5 %
100 mA92.6 %89.9 %
200 mA87.1 %80.2 %

At 200 mA the faster clock wins, because it lowers Rout; at a few milliamps the slower one wins, because the oscillator's own current is then most of the loss. The datasheet says as much when it introduces the FC pin (p. 10): "A higher oscillator frequency allows smaller capacitors to be used for equivalent output resistance and ripple, but increases the typical supply current from 0.3 mA to 1.3 mA." Its Figure 25 plots efficiency against oscillator frequency at three loads, and each curve has a peak: the lighter the load, the lower the frequency the peak is at.

Worked example: the datasheet's test conditions

The electrical characteristics table (p. 5) is measured with "V+ = 5 V, FC = Open, C1 = C2 = 47 μF", and its footnote adds that "capacitors C1 and C2 are 47-μF, 0.2-Ω maximum ESR capacitors". It prints an output resistance of 3.5 Ω typical and 7 Ω maximum at IL = 200 mA, and a power efficiency of 86 % typical at 200 mA. The calculator's defaults are those conditions with FC tied to V+ (150 kHz) and the 0.1 Ω ESR Figure 26 gives for 47 µF tantalums:

switches  2R_SW = 2 × 1.15 Ω                       = 2.30 Ω
pump      2/(150 kHz × 47 µF)                      = 0.284 Ω
ESR       4 × 0.1 Ω + 0.1 Ω                        = 0.50 Ω
Rout                                               = 3.084 Ω
VOUT      −(5 V − 0.2 A × 3.084 Ω)                 = −4.383 V
ripple    0.2/(150 kHz × 47 µF) + 2 × 0.2 × 0.1    = 68.4 mV
losses    0.2² × 3.084 Ω + 1.3 mA × 5 V            = 123 mW + 6.50 mW
η         877 mW / 1.01 W                          = 87.1 %

Equation 1 gives 3.08 Ω, below the table's 3.5 Ω typical and well inside its 7 Ω maximum, and close to Figure 26's own reading for this curve at 150 kHz, 3.06 Ω. Put the table's 3.5 Ω into Equation 6 with the 0.3 mA supply current of its FC-open column and the efficiency is 85.9 %, the table's 86 %.

The table's header says FC = open, which is 20 kHz, and there the arithmetic does not close. At 20 kHz the capacitor term is 2.128 Ω, Equation 1 gives 4.93 Ω with 0.1 Ω capacitors and 5.43 Ω with the footnote's 0.2 Ω maximum, and Figure 26 reads about 4.7 Ω at 20 kHz for 47 µF. The table's 3.5 Ω and 86 % sit much closer to the 150 kHz result. The datasheet does not say which frequency those two rows were measured at beyond the header, so the calculator shows both: switch the oscillator to 20 kHz and it reports 4.93 Ω, −4.01 V and 80.2 %.

The table also gives the oscillator's minimum, 7 kHz with FC open and 55 kHz with FC tied to V+, and Rout depends on it directly. For the same 47 µF parts, Equation 1 gives 3.57 Ω at 55 kHz and 8.88 Ω at 7 kHz, which is why the calculator reports Rout at the table's minimum beside the typical figure.

Worked example: a 5 V rail from 3.3 V with the doubler

The datasheet's Figure 23 (p. 15) is "Generating +5 V From +3.3 V Input Voltage": the LM2662 as a doubler with C1 = C2 = 47 µF, followed by an LP2986 low-dropout regulator set to 5 V at 200 mA, which the text describes as "+5 V output from an input as low as +3.3 V". The regulator needs its input above 5 V by its dropout. From 3.3 V at 200 mA:

Whether that is enough depends on the regulator's dropout at 200 mA, which is in the LP2986's datasheet rather than this one; theLDO dropout calculator takes it from there. Two things move the margin the wrong way. The doubler draws its input current at about twice the load current, 402 mA here, from the 3.3 V rail. And RSW is higher at 3.3 V than at 5 V: the datasheet's Figure 3 draws the output resistance rising from about 3 Ω at 5 V to about 4.5 Ω at 1.5 V. Enter a larger RSW to see what that costs.

Sizing the capacitors for a target

Solved for C1, Equation 1 gives the pumping capacitor for a target output resistance, and solved for C2, Equation 2 gives the output capacitor for a target ripple. Both have a floor. For 47 µF-class tantalums of 0.1 Ω, Rout cannot go below 2.80 Ω however large C1 is, and the calculator says so rather than returning an absurd capacitance.

For Rout = 4 Ω at 20 kHz with 0.1 Ω parts, C1 must be 83.3 µF; the next E12 value, 100 µF, gives 3.80 Ω. For 50 mV of ripple at 200 mA and 150 kHz with a 0.025 Ω ceramic, C2 must be 33.3 µF; 39 µF gives 44.2 mV. The 10 µF ceramic of Figure 26 at 150 kHz gives Rout = 3.76 Ω against the 47 µF tantalum's 3.08 Ω, which is often the better trade on a small board.

Past 200 mA, or for a lower Rout than one device can reach, the datasheet parallels devices (Equation 3, p. 13): "Each device must have its own pumping capacitor C1, while only one output capacitor Cout is needed", and the output resistance is one device's divided by their number. Two of the default devices give 1.54 Ω. For a larger output voltage it cascades them, with the warning that "the number of n is practically limited since the increasing of n significantly reduces the efficiency and increases the output resistance and output voltage ripple."

Where the model stops being valid

RSW is not a constant. Equation 1 treats the switches as a fixed resistance, but the datasheet's own curves show it moving. Figure 3 draws the output resistance against supply voltage, higher at low V+; Figures 4 and 5 draw it against temperature, and Figure 5, with 47 µF electrolytic capacitors, climbs from about 3.5 Ω at room temperature past 9 Ω at −40 °C, where Figure 4, the same measurement with OS-CON capacitors, stays below 3 Ω at 5 V. The default RSW is fitted at the conditions of Figure 26; for a cold or low-voltage design, enter a larger one.

Equation 1 and Equation 2 are written for the inverter. The doubler uses the same switches and capacitors, and the calculator applies the same two equations to it. The datasheet does not state that they hold for the doubler; its doubler section gives the no-load output and the start-up diode, and nothing more on Rout.

Load current. The table specifies the output at 200 mA, and 250 mA is the absolute-maximum continuous output current. The output may be shorted, within limits: "OUT may be shorted to GND for one second without damage. However, shorting OUT to V+ may damage the device and should be avoided. Also, for temperatures above 85°C, OUT must not be shorted to GND or V+, or device may be damaged." (p. 4)

Frequency. An external clock on OSC works in the inverter only and is "limited to 150 kHz"; in the doubler "OSC cannot be driven by an external clock" (p. 10), and an external capacitor on OSC only lowers the frequency.

Supply range. The inverter runs from 1.5 to 5.5 V, but "For a supply voltage less than 3.5 V, the LV pin must be connected to ground to bypass the internal regulator circuitry" (p. 12). The doubler takes 2.5 to 5.5 V, and needs its start-up diode: "Voltage across V+ and LV must be larger than 1.5 V to insure the operation of the oscillator. During start-up, D1 is used to charge up the voltage at V+ pin to start the oscillator; also, it protects the device from turning-on its own parasitic diode and potentially latching-up." (p. 16)

Heat. The SOIC package is 170 °C/W junction to ambient, and the absolute-maximum dissipation of 735 mW at 25 °C is (TJmax − TA)/RθJA = 735 mW. The calculator's junction estimate puts every watt of loss in the package, including the part dissipated in the capacitors' ESR, so it is an upper bound; at the defaults it is 47 °C.

Common charge pump mistakes

Further reading