Tantalum capacitors are completely unnecessary in this application.
The only reason for choosing tantalum might be lifetime, and this can be designed for with aluminium wet electrolytic caps. It is assumed from here on that lifetime has been properly designed for and is not an issue.
Using a tantalum capacitor as the input capacitor invites capacitor death at any time if the input power rail can have voltage spikes on it from any source. A spike more than a small fraction above a tantalum capacitor's rated value risks it's total destruction in a high energy circuit, such as this one is.
The input capacitor is a typical reservoir capacitor, its value is relatively non critical. Tantalum serves no technical purpose here. If ultra low impedance is desired then use of a smaller parallel ceramic is indicated.
The output capacitor is NOT a filter capacitor in any traditional sense. Its principal role is to provide loop stability for the regulator. (An eg 10 ohm resistor could be placed in series with the capacitor without impeding its functionality. No normal filter cap would tolerate this without impaired functionality).
The characteristics of aluminum wet electrolytic capacitors of the correct capacitance and voltage rating are well suited to the output capacitor's role. There is no reason to not use them there. This 7 cent capacitor pricing /
general data / datasheet would be an acceptable choice in many applications. (Longer lifetime applications may indicate 1 2000 hour/105C part).
The LM1117 datasheet provides clear guidance on the essential and desirable characteristics of the input and output capacitors. Any capacitor which meets these specifications is suitable. Tantalum is an OK choice but is not the best choice. There are various factors and cost is one. Tantalum offers OK cost per capability at capacitances from about 10 uF up. The output capacitor is "safe" against spikes in most cases. The input capacitor is at risk from "bad behavior" from other parts of the system. Spikes above rated value will produce a (literally) flaming melt down. (Smoke, flame, noise, bad smell and explosion all optional -
I have seen one tantalum cap do all of these in turn :-))
Input capacitor
The input capacitor is not overly critical when the regulator is fed from an already well decoupled system bus. Under the diagram on the front page they note "Required if the regulator is located far from the power supply filter" - to which you could add "or another well decoupled portion of the supply". ie capacitors used for decoupling in general may make another one here redundant. The output capacitor is more crucial.
Output capacitor
Many modern low drop out high performance regulators are unconditionally unstable as supplied. To provide loop stability they require an output capacitor which has both capacitance and ESR in selected ranges. Meeting these conditions is essential for stability under all load conditions.
Output capacitance required for stability: Stability requires the output output load capacitor to be >= 10 uF when the Cadj pin does not have an added capacitor to ground and >= 20 uF when Cadj has an added bypass capacitor. Higher capacitances are also stable. This requirement could be met by an aluminum wet electrolytic cap or a ceramic cap. As wet electrolytics are generally wide tolerance (up to +100%/-50% if not other wise specified) a 47 uF aluminum wet electrolytic would provide adequate capacitance here even when Cadj was bypassed. BUT it may or may not meet the ESR spec.
Output capacitor ESR required for stability:
ESR is a "Goldilocks requirement" :-) - not too much and not too little.
Required ESR is stated as
0.3 ohm <= ESR <= 22 ohm.
This is an extremely wide and unusual requirement. Even quite modest ripple currents in this capacitor would induce far larger than acceptable voltage variations. It's clear that they do not expect high ripple currents and that the capacitor's role is primarily related to loop stability than to noise control per se. Note that "old school" regulators such as eg LM340 / LM7805 often specified no output capacitor or perhaps a 0.1 uF. For example the LM340 datasheet here says "**Although no output capacitor is needed for stability, it does help transient
response. (If needed, use 0.1 µF, ceramic disc)".
A tantalum capacitor is not required to meet this specification.
A wet aluminum capacitor will meet this spec with ease.
Here are some typical new maximum ESRs for new aluminum wet electrolytic capacitors. The first group are capacitors that might be used in practice in this application at the low end of the capacitance range. The 10 uF, 10V is about half the allowed ESr - perhaps a bit close for comfort across lifetime. The second group are what would be used with Cadj bypassed and could be used anyway - ESRs are far away from limits in both directions. The third group are capacitors chosen to approach the lower limit (and they will get higher resistance = better with age). The 100 uF 63V pushes the lower limit - but there would be no need to use a 63V part here, and it will get higher (= better) with age. .
10uF, 10V - 10 ohm
10 uF, 25V - 5.3 ohm
47uF, 10V - 2.2 ohm
47 uF, 16V - 1.6 ohm
47 uF, 25 V, 1.2 ohm
470 uF, 10V - 024ohm
220uF, 25V - 0.23 ohm
100 uF, 63V - 0.3 ohm
They say in the LM1117 datasheet
1.3 Output Capacitor
The output capacitor is critical in maintaining regulator stability, and must meet the required conditions for both minimum amount of capacitance and ESR (Equivalent Series
Resistance).
The minimum output capacitance required by
the LM1117 is 10µF, if a tantalum capacitor is used. Any
increase of the output capacitance will merely improve the
loop stability and transient response.
The ESR of the output
capacitor should range between 0.3Ω - 22Ω. In the case of
the adjustable regulator, when the CADJ
is used, a larger
output capacitance (22µf tantalum) is required
ESR is crucial
ADDED - notes
SBCasked:
I've read this so many times - "maintain regulator stability".
What would be an example of an unstable regulator?
Would the output oscillate with high ripple or be undefined or what exactly would happen?
Regulator instability, in my experience, (and as you'd expect) results in the regulator oscillating, with large level and often high frequency signal at the output and a DC voltage measured with a non-RMS meter that appears to be stable DC at an incorrect value.
The following is comment on what you may see in typical circumstances - actual results vary widely but this is a guide.
Look at the output with an oscilloscope and you may see an eg 100 kHz semi sine wave of 100's of mV to some Volts of amplitude on a nominal 5VDC output.
Depending on feedback parameters you might get low frequency oscillation, slow enough to see as variations on a "DC" meter and you might get more like MHz signals.
I'd expect:
(a) very slow changes to be more liable to be high amplitude (as it suggests that the system is chasing its tail in such a way that it is almost in regulation and that corrective feedback is not bringing it rapidly into line, and
(b) MHz level oscillation to be more liable to be lower than usual amplitude as it suggests that slew rate of the gain path is a major factor in response speed. BUT anything can happen.
Also, how exactly does the ESR come into play here?
A naive passerby like myself would expect lower series resistance to be better.
The intuitive and the logical do not always match.
A regulator is essentially a feedback controlled power amplifier.
If the feedback is negative overall the system is stable and the output is DC.
If the net loop feedback is positive you get oscillation.
The overall feedback is described by a transfer function involving the components involved. You can look at stability from the point of view of eg Nyquist stability criteria or (related) no poles on right half plane and all poles inside unit circle or ... agh!. It's adequate to say that the feedback from output to input does not reinforce oscillation and that a resistance that is too large or too small may lead to an overall reinforcement when considered as part of the overall system.
Simple, useful.
Only slightly more complex - good
Sueful - stack exchange
Useful
Lots of related pictures
And one final note, did you refer to the ripple voltage on the cap being large (even for small currents) as an inherent issue due to the small size? (i.e. Vc = integral of current over capacitance?)
They say " ... 0.3 ohm <= ESR <= 22 ohm ..."
If you has an ESR of 10 Ohms say, then every mA of ripple current will cause 10 mV of voltage variation across the capacitor. 10 mA of ripple current = 100 mV of voltage variation and you'd be very unhappy with your regulator. The active regulator can work to reduce this ripple, but it is nice to not have your filter capacitor adding to the problem you want it to fix.
I see three things that are hurting your charge pump circuit.
The capacitors are aluminum electrolytic instead of ceramic, so they have very high dissipation factor and low self-resonant frequency. These charge pumps really do require ceramic capacitors.
Second, they are radial-leaded and axial-leaded capacitors instead of surface-mount. That adds some series inductance, which tends to defeat the capacitance.
Third, the whole thing is built on a white solderless breadboard, which adds even more inductance. You'd be better off using a PCB breakout board (like a Surfboard) and solder capacitors with trimmed short leads, or better yet, surface-mount capacitors.
Not all capacitors are created equal, and not even all ceramic capacitors are created equal. The X7R and X5R types give fairly large capacitance values stable over a good temperature range. The cheaper Y5V, Y5U, and Z5V types can lose a lot of their capacitance over temperature, so sometimes we have to compensate for that loss by using higher nominal starting capacitance. (The NP0 and C0G types are highly stable over temperature, but usually are only available in very low capacitance values.)
Back in the day, ceramic capacitors were only available up to about 10uF, but nowadays there are 100uF ceramic capacitors. So the need for using tantalum and aluminum electrolytics is somewhat diminished; now it's driven by a cost vs performance trade-off.
The self-resonant frequency (SRF) is important in switching circuits, because at frequencies higher than SRF, the capacitor stops behaving like a capacitor and starts behaving like an inductor. Surface-mount ceramic capacitors are usually higher SRF and thus closer to "ideal" capacitors.
Aluminum electrolytic capacitors are great for providing a large amount of capacitance and accepting large inrush current, these are typically seen on power supply inputs. But they don't work well for the "flying capacitor" of a charge pump.
Take a look at MAX619EVKIT http://datasheets.maximintegrated.com/en/ds/MAX619EVKIT.pdf for an example of a good charge pump layout, using surface-mount ceramic capacitors.
Disclosure: I am a Maxim employee and designed the MAX619EVKIT way back when great lizards roamed the earth.
Best Answer
Every year they seem to figure out ways of making e-caps smaller and smaller so at some point forming the leads is required to fit the pattern of the old capacitors.
Changing hole layout of high volume inexpensive boards can involve changing hard tooling (punch positions in the die) rather than the soft changes that are typical for low-volume and high-end boards.
The suppliers can provide parts on tape with the leads formed to the customer's requirements.