banner
Home / Blog / Capacitors Made Easy The Hackaday Way
Blog

Capacitors Made Easy The Hackaday Way

Dec 23, 2023Dec 23, 2023

If you build electronic circuits on a regular basis the chances are you will have used capacitors many times. They are a standard component along with the resistor whose values are lifted off the shelf without a second thought. We use them for power supply smoothing and decoupling, DC blocking, timing circuits, and many more applications.

It’s best to start with the basics, and describe capacitance from first principles before looking at real capacitors. An ideal capacitor consists of two conductive plates separated by a non-conductive dielectric. Charge can accumulate on the plates, but can not flow between them because of the insulating nature of the dielectric. Thus the capacitor can store the charge.

Capacitance is measured in farads: a one farad capacitor maintains a voltage of one volt when it holds a coulomb of charge. A farad is like so many SI units, rather impractically sized, so outside the narrow realm of supercapacitors which are beyond the scope of this article you are more likely to encounter micro-, nano-, or picofarads. You can derive the capacitance of any given capacitor from its dimensions and the properties of its dielectric using a formula which it’s probably worth sending you to Wikipedia for if you are interested. You don’t need to memorise it unless you are studying for a high school physics exam, but it conceals one important point to take away. The capacitance is proportional to the dielectric constant εr of the dielectric being used, which has given rise to a wide variety of commercially available capacitors using different dielectric materials to achieve higher capacitance ranges or better voltage handling characteristics.

There is a snag to using dielectric materials in a capacitor, along with the desirable characteristics of a dielectric come a host of annoying side-effects. All real-world capacitors have internal parasitic resistance and inductance, and though tiny, they can sometimes have an effect on the capacitor’s operation. Dielectric constants can vary with temperature or voltage, piezoelectricity, or noise. Different types of capacitor can have alarming failure modes or even just be eye-wateringly expensive. And so we come to the main part of this piece, the section in which we’ll take you through some of the capacitor types you may encounter, and lay out for you their various properties both good and bad. We won’t claim to cover every possible capacitor technology, however we’ll run through the common capacitor technologies and examine any subtypes you may find.

Practical electrolytic capacitors have their plates in the form of an aluminium foil sandwich rolled into a cylinder and housed in an aluminium can. They will have a quoted working voltage that depends on the depth of the anodised layer.

Electrolytic capacitors have the highest capacitance of the types you will encounter in normal use, ranging from around 0.1 to many thousands of µF. Because of that tightly coiled electrochemical cell they have a high equivalent series inductance, so they are not suitable for use at high frequencies. You will typically find them used for power supply smoothing and decoupling, as well as for coupling at audio frequencies.

Tantalum capacitors are available with values from around 0.1 to several hundred µF. They have a much lower leakage resistance and equivalent series resistance than their aluminium counterparts, so you will find them in test and measurement, high-end audio, and in other applications where those properties are advantageous.

Tantalum capacitors have a failure mode to watch out for, they have a reputation for catching fire. Amorphous tantalum oxide is a good dielectric, while the crystaline form of tantalum oxide is a good conductor. Mistreatment of a tantalum capacitor by for instance applying too much inrush current to it can cause the dielectric to change from one form to the other, causing a huge increase in current through the capacitor. Happily not all the news is bad though, their reputation for fires came from a much earlier generation of tantalum capacitors, and improved manufacturing techniques have delivered a much more reliable product.

Polypropylene capacitors are used in circuits that require good temperature and frequency stability. You will also find them used in mains suppression and other power circuits, in specially rated versions for high voltage AC use.

Polyester capacitors do not possess the temperature and frequency characteristics of polypropylene, however they are cheap and can withstand the elevated temperatures of SMD soldering. You will thus find them used as general purpose capacitors in non-critical applications.

Polyethylene naphthalate capacitors yet again do not have stable temperature and frequency characteristics, but they can withstand much higher temperatures and voltages than polyester.

Polyphenylene sulphide capacitors possess all the temperature and frequency stability of polypropylene with the bonus of being able to withstand high temperatures.

You may also encounter polycarbonate and polystyrene capacitors in older equipment, however these two dielectrics are not commonly used today.

When looking at ceramic capacitors it is best to consider them by the ceramic dielectric used, as it is from these that they derive their properties. Ceramic dielectrics are classified with a three-letter code denoting their temperature range and temperature stability, and it is by these codes that we’ll refer to the most common ones here.

C0G dielectrics have the best stability of capacitance with respect to temperature, frequency, and voltage. You will find C0G capacitors used in resonant high frequency and other high performance circuits.

X7R dielectrics do not share the temperature or voltage characteristics of C0G, and thus are used in less critical applications. You will typically find them used for decoupling and general purpose applications.

Y5V dielectrics give a much higher capacitance than X7R, but with worse temperature characteristics and a lower maximum voltage. Like X7R you will find them in general purpose and decoupling circuits.

Since ceramics are often also piezoelectric, some ceramic capacitors also exhibit microphony. If you work with high voltages and audible frequencies, for example in the world of tube amplifiers or electrostatics, you may sometimes be able to hear this effect in action, as a capacitor may “sing”. If you use a piezoelectric capacitor to provide frequency stability you may thus find it is modulated by the vibration of its environment.

As we stated earlier, this article does not attempt to cover all capacitor technologies. A quick glance at an electronic supplies catalogue will show you several technologies not mentioned here, and there are multiple others that are obsolete or whose niche is so tiny that you will rarely see them. Instead what we hope to have achieved is to have demystified some of the common types you may see, and aided you in your selection when you produce your own designs. If we’ve whetted your appetite for more component rundowns, perhaps we can draw your attention to our piece on inductors.

PolypropylenePolyesterPolyethylene naphthalatePolyphenylene sulphidepolycarbonatepolystyreneC0GX7RY5V