I need the negative voltage for my OPAMP and I use the LM2664 inverter. I have a very limited space available on my PCB. Is it OK to replace the electrolytic capacitors with the ceramic ones?
Electronic – LM2664 can I use the ceramic capacitors instead of the electrolytic ones
capacitorceramiccharge-pumpelectrolytic-capacitornegative-voltage
Related Solutions
100 µF is really pushing the limit for ceramic caps. If your voltages are low, as a few volts to 10 or maybe 20 volts, then paralleling multiple ceramics may be reasonable.
High capacitance ceramic caps have their own set of advantages and disadvantages. The advantages are much lower equivalent series resistance and therefore much higher ripple current capability, usefulness to higher frequencies, less heat sensitivity, much better lifetime, and in most cases better mechanical ruggedness. They have their own problems too. The capacitance can degrade significantly with voltage, and the denser (more energy storage per volume) ceramics exhibit piezo effects often called "microphonics". In just the wrong circumstance, this can lead to oscillation, but that is rare.
For switching power supply applications, ceramics are usually a better tradeoff than electrolytes unless you need too much capacitance. This is because they can take much more ripple current and heat better. The lifetime of electrolytes is severely degraded by heat, which is often a problem with power supplies.
You don't need to derate ceramics as much as electrolytes because the lifetime of ceramics is much larger, to begin with, and is much less a function of the applied voltage. The thing to watch out for with ceramics is that the dense ones are made from a material that is non-linear, which shows up as a reduced capacitance at the higher ends of the voltage range.
Added about microphonics:
Some dielectrics physically change size as a function of the applied electrical field. For many, the effect is so small that you don't notice and it can be ignored. However, some ceramics exhibit a strong enough effect that you can eventually hear the resulting vibrations. Usually, you can't hear a capacitor by itself, but since these are soldered fairly rigidly to a board, the small vibrations of the capacitor can cause the much larger board to also vibrate, especially at a resonant frequency of the board. The result can be quite audible.
Of course, the reverse works too since physical properties generally work both ways, and this one is no exception. Since applied voltage can change the dimensions of the capacitor, changing its dimensions by applying stress can change its open-circuit voltage. In effect, the capacitor acts as a microphone. It can pick up the mechanical vibrations the board is subjected to, and those can make their way into the electrical signals on the board. These types of capacitors are avoided in high sensitivity audio circuits for this reason.
For more information on the physics behind this, look up properties of barium titanate as an example. This is a common dielectric for some ceramic caps because it has desirable electrical properties, particularly fairly good energy density compared to the range of ceramics. It achieves this by the titanium atom switching between two energy state. However, the effective size of the atom differs between the two energy states, hence the size of the lattice changes, and we get physical deformation as a function of applied voltage.
Anecdote: I recently ran into this issue head-on. I designed a gizmo that connects to the DCC (Digital Command and Control) power used by model trains. DCC is a way to transmit power but also information to specific "rolling stock" on the tracks. It is a differential power signal of up to 22 V. Information is carried by flipping the polarity with specific timing. The flipping rate is roughly 5-10 kHz. To get power, devices full wave rectify this. My device wasn't trying to decode the DCC information, just get a little bit of power. I used a single diode to half wave rectify the DCC onto a 10 µF ceramic cap. The droop on this cap during the off half-cycle was only about 3 V, but that 3 Vpp was enough to make it sing. The circuit worked perfectly, but the whole board emitted a quite annoying whine. That was unacceptable in a product, so for the production version, this was changed to a 20 µF electrolytic cap. I originally went with ceramic because it was cheaper, smaller, and should have a longer life. Fortunately, this device is unlikely to be used at high temperatures, so the lifetime of the electrolytic cap should be a lot better than its worst case rating.
I see from the comments there is some discussion about why switching power supplies sometimes whine. Some of that could be due to the ceramic caps, but magnetic components like inductors can also vibrate for two reasons. First, there is force on each bit of wire in the inductor proportional to the square of the current thru it. This force is sideways to the wire, making the coil vibrate if not held in place well. Second, there is a magnetic property similar to the electrostatic piezo effect, called magnetostriction. The inductor core material can change size slightly as a function of applied magnetic field. Ferrites don't exhibit this effect very strongly, but there is always a little bit, and there can be other material in the magnetic field. I once worked on a product that used the magnetostrictive effect as a magnetic pickup. And yes, it worked very well.
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.
Related Topic
- Electronic – Why does the circuit work with ceramic capacitors but not electrolytic
- Electronic – Highest energy density electrolytic capacitors
- Electrical – Are polystyrene capacitors equal to electrolytic ones
- Electronic – How to replace electrolytic capacitors with non-electrolytic ones
- Electronic – Can you replace electrolytic capacitors with tantalum ones
- Electronic – Why do some devices use electrolytic capacitors instead of ceramics for small value components
- Electronic – Why do some switching regulator require tantalum or electrolytic capacitors instead of ceramic
Best Answer
I've had a look through the datasheet and all it seems to say about the capacitors is that they must have a low ESR. I can't find anywhere that it specifies a minimum ESR or states that they must be electrolytic.
Therefore, I think you can safety use ceramic capacitors as these have a very low ESR.
Hypothetically, if the datasheet did require a minimum ESR (as some devices do), you could still use a ceramic capacitor instead. All you'd have to do is place a small resistor in series with the ceramic capacitor (around 0.5 ohms, or whatever value the minimum is in the datasheet).