Back To Basics Episode 7: Everything You Need To Know About Inductors


In the last episode, we talked about the capacitor—the component that stores energy in an electric field and hates it when voltage changes. Today, we meet its magnetic twin.


If I try to spin a wheel instantly, I cannot do it. Since the wheel has a mass, it has inertia and so it resists being moved. However, once it is finally spinning, if I try to stop it suddenly…. again, it fights me and prevents me from doing it.


In the world of electronics, we have a component that does exactly the same thing, but with the current. Like the capacitor tries to keep a constant voltage at its leads, the inductor tries to keep constant the current that flows through it with the help of a magnetic field.


It is the most stubborn component in a circuit. It is basically the mass of a circuit. If current is not moving through the wire, it doesn’t want it to start. If current is already moving through the wire, it doesn’t want it to change, or even stop.


Today, we are going to look at the physics of the inductors, why they can be dangerous, and how they are used in real world applications.


Anatomy of an inductor


Physically, an inductor is the simplest component you’ll ever see. It is usually just a coil of wire. But don’t let the simplicity fool you.


When current flows through a straight wire, it creates a small magnetic field around it. But when we wind that wire into a coil, a shape that we call solenoid, those individual fields stack up and reinforce each other.


This creates a concentrated magnetic field through the center of the coil. And this is where the energy lives. While capacitors store energy in an electric field between plates, inductors store it in a magnetic field within the coil.
Additionally, what’s inside the coil matters just as much as the wire itself. We call the inside of the coil “core”.

If the core is made out of air, the strength of the field is low, and such inductors are normally used for high frequency circuits.


If the core is made of iron or similar ferromagnetic material, it will channel the magnetic flux and will intensify it, making the inductor capable of storing a much greater amount of energy.


If the core is made of ferrite, which is a ceramic like material containing usually silicon and iron, then the inductor acquires a much faster capability of switching from on to off and viceversa without the energy loss that we would get with solid iron.


The ability of the coil to store energy in a magnetic field is called inductance, and it is measured in Henry, named after Joseph Henry, who discovered this property around the same time as Michael Faraday. The measure Henry is indicated with the capitol letter H.


How the inductor works


So, why the inductor resists to current changes? It comes down to a fundamental rule of physics called Lenz’s law.


When we try to increase the current through an inductor, the magnetic field has to expand. But the expansion actually pushes back against the incoming current. We call this Back EMF, or Back Electromotive force. It’s basically like trying to push a heavy car: it takes a lot of effort just to get it rolling.


Let’s look at the math, but don’t let that scare you. It is just a way to describe the stubbornness of the inductor.

The voltage V across an inductor is defined by

where L is the inductance and di/dt is simply the speed at which the current is changing.
Here is the magic: when we try to push current through, the magnetic field expands. According to Lenz’s law nature hates a change in magnetic flux. And so, the expanding field creates its own internal voltage, the back emf, that pushes back against the battery. It is literally an internal “ghost battery” fighting the actual battery.


Inductor behavior in DC vs. AC


Now, because inductors react to change, they behave totally differently depending on the type of electricity we feed them.


In a DC circuit, when we first flip the switch, the inductor fights the current. It acts like a wall, an open circuit. But, once the current is flowing steadily, the inductor gives up, it becomes just a regular piece of wire.


In an AC circuit, the current constantly changes direction. This means that the inductor is constantly fighting. We call this “fighting” Inductive Reactance. The higher the frequency of the AC, the harder the inductor fights it.


This makes them perfect for filtering out high frequency noise. They let the slow, steady power through, but block the high frequency noise. This is why you see those lumps on the laptop charging cables. They are actually inductors blocking the high frequency interference.


Real world applications

So, where do we actually use these things? Here are a few examples.


Filters: in the audio speakers inductors are used in crossovers to block high frequency sounds from reaching the woofer, ensuring it emits only those deep, clean, bass notes.


Chokes: used in power supplies to smooth out ripples in the current.


Transformers: if we put two inductors next to each other, the magnetic field of one can induce an EMF in the other. And that’s how they step power up or down for the electric distribution grid.


Buck converters: they are made with small transformers working at high frequencies.


Electromagnets: simple coils, usually winded around a ferromagnetic core, that becomes real strong magnets when we make a current flow through their wires. They are used all over the places. And they are especially common inside electric motors, like the ones that power many kitchen appliances.


Sensors: have you ever seen those loop of wires buried under the asphalt at traffic lights? Those are inductors. When a car sits over them, it changes the inductance, telling the traffic lights circuitry that a car is there waiting for its turn to pass.


The inductive kickback


A word of warning now. Because an inductor wants to keep a constant amount of current, it can be dangerous at times.


If you have current flowing through a coil and you suddenly pull the plug, the magnetic field inside the coil collapses. But the energy in that magnetic field needs to go somewhere. What happens is that the inductor will convert that energy in a voltage spike with the polarity oriented in such a way that it will try to keep the current flow without a change.


Have you ever seen a spark when you suddenly disconnect a wire from a circuit where current was flowing through it? That spark is caused by this inductive kickback produced by the inductance in the circuit. When you open the circuit, the inductor will generate a voltage high enough to make the current go through the air around the disconnected wires, thus the spark.


In electronic circuits, the inductive kickback may damage the semiconductors in the circuit. In such a case, we use a diode, in parallel with the inductor, oriented in such a way that it will behave like a short circuit toward the back EMF of the kickback, and it will behave like an open circuit during normal operations.

Here is an example: a transistor controlling the coil of a relay. The diode in parallel to the coil will short the kickback which, otherwise, would destroy the transistor.

A diode connected like that is called flyback diode, because it will make the kickback fly away.


Inductor identification


Now that we know how inductors work, we need to know how to identify them on a circuit board. Unfortunately, this is trickier than it sounds, because inductors are masters of disguise.


Let’s start with the physical shape, and there are several of them.


The first kind of shape is the axial inductor: these look exactly like resistors. They are small, usually green of cyan, and have color bands.

A pro-tip for you. If the body looks like a sea-foam green, then it is most always an inductor. If it is tan or blue, it is likely a resistor.


The second inductor shape is the drum or radial inductor. These look like little black mushrooms or weights. You’ll see the copper wire wrapped around a ferrite core, often covered in clear or black shrink wrap.


The next shape is the toroid. These are like small donuts. They look like a ring wrapped with wire. In this category we find usually high performance inductors used in power supplies.


Last category I would like to talk about is the one of the SMD inductors. On modern boards, these look like tiny gray or black ceramic rectangles. Unlike resistors, they are usually taller, since they need space for winding the coil.


Now, how do we figure out their inductance value? Well, just like resistors, inductors use a code system. Their base unit for these codes is almost always the microhenry.

Let’s start with the color code, used for axial inductors. It’s the same colors used for resistors: black for 0, brown for 1, red for 2, and so forth.

Inductors can have 3, 4, or 5 bands, like resistors, and they are read exactly the same way as the resistors.


For example, the axial inductor from above has yellow, blue, black, and silver, which means 46 microhenry, and a tolerance of 10%.

Let’s now talk about the numerical code, present on the SMD and drum inductors. You might see a 3 digit number, like in the above drum indicor which shows on its case 101. The first two digits are the value, the third is the number of zeros after the first two digits.

This means that 101 translates to 10 + one zero, which means 100 microhenry.


Like with resistors and capacitors, if in doubt, don’t guess, measure the value. The problem is that multimeters usually do not have a mean to measure inductors. You can still test the resistance which, for good inductors, should be almost zero, since it is just a coil of wire.
If you want to really measure the value, you’ll have to acquire an instrument called LCR meter, which is a high specialized instrument that take only measurements of inductors, the letter L, capacitors, the letter C, and resistors, the letter R.


The essential starter kit


Now, if you want to start using inductors in your experiments, you don’t need to buy every inductor on the market. Inductors are expensive and bulky compared to resistors, so you want to be strategic. Here is my “starter kit” recommendation for any hobbyist lab.


Begin with a must-have assortment. Don’t start buying individual values. Go to Amazon or eBay and look for an Axial Inductor Assortment Kit.

You’ll get usually 200 or 300 pieces in a small plastic box, with a bunch of different values.

They look like resistors, and fit perfectly into breadboards. The values usually range from 1 micro henry to 10 milli henry, and this covers about 90% of basic hobbyist filtering needs.


If you plan on building your own power regulators or buck converters, you will need toroidal inductors. Go with values like 10uH, 47uH, and 100uH to start with. Look for high current ratings, at least 2 or 3 amps. Power inductors are rated by how much heat they can handle before start having problems.


For noise management, you may also want to acquire a few ferrite bids. There aren’t technically coils, but they are essential. They are basically small cylinders of ferromagnetic material. You slide them over wires to choke out high frequency interference. If your project has a buzzing sound in the speakers or a flickering screen, a ferrite bead is often the cure.


Finally, if you are serious about inductors, a standard multimeter won’t cut it. Most cheap multimeters can’t measure inductance.
In such case, I recommend to pick up a cheap TC-1 Multi function tester, which you can find for about $20, and you can just plug an unknown inductor in, and it will tell you the value and the internal resistance instantly.


Better yet, buy a LCR meter, which will allow you to make precise inductance measurements, as well as capacitances and resistances. Some devices can even provide you with a full model for the component you are testing, giving you both its resistance, the series inductance, and the parallel capacitance, which is useful should you decide to work with high frequencies.


Conclusion

To summarize what we said so far:

inductors are everywhere. They are in your phone’s wireless charger, the crossover in your high end speakers, the massive transformers on your street corner, and so forth.

  • They store energy in a magnetic field.
  • They resist changes in current.
  • They are the high frequency blockers of the electronics world.

In our future videos of this series, we are going to continue our journey in the world of electronics, showing new types of components, and how to use them, as well as moving the first steps in designing you own circuits.
If you find this deep dive helpful, like it and subscribe.

I’ll see you in the next episode and, in the mean time…

Happy experiments!

Companion YouTube video:

How To Choose A Resistor

How do we choose the right resistor when designing and building an electronic circuit? Here are the major parameters that should be kept into account.

bunch_of_resistors

A resistor is a component made out of a poor conducting material, so that it can offer a resistance to the flow of the current.

You can think to resistance in terms of the obstacles that charges encounter when moving from one end to the other of a conductor. The more obstacles, the higher the resistance. In a metallic wire, for example, the charges are the electrons of the conduction band (see this post and this other one for further details).

In today’s post I would like to address an issue that sometimes is underestimated when designing an electronic circuit: how to choose the right resistor for the job.

Resistors are not all the same. Besides the resistance value that distinguishes one from the other, there are other factors that are important as well.

Here is a list of all the important factors, why they are important, and what are the consequences of not choosing a resistor based on each specific factor.

  • The first thing that comes to mind is the tolerance, which is usually provided on the body of the resistor itself, along with its resistance value.

resistor_color_bands

In color coded resistors, the tolerance is defined by the band that is far away from all the others. In the above picture, for example, it is the gold band, which means that the tolerance is of 5%. In other resistors, where the resistance is explicitly written on the body of the resistor, the tolerance is usually written in clear along with the resistance. More in general, you’ll have to refer to the data sheet provided by the constructor to figure out its tolerance.
Tolerance is an important factor for those circuits that require very precise resistors, like measuring instruments and the like. It is also important when the resistor is used for the polarization of a critical component. If the resistors used in the project have a tolerance that is too high, the whole circuit may not function properly because the actual value of the resistor is too different from the one that was required.

  • Operating Temperature. This depends both from the ambient conditions and by the temperature raise produced by the power dissipation. There are two reasons to keep the temperature range into account. First, resistors slightly change their resistance with the change of the temperature. Using the resistor outside its temperature range would cause a variation greater than the one considered by the tolerance. Second, but not last, when the resistor is traversed by current it heats up. As long as the current stays within a range for which the power dissipation is not exceeded, everything is fine. Otherwise, the resistor can easily overheat and burn.

scorched_resistor

  • Maximum Voltage. Operating a resistor above its maximum voltage rating may cause sparks that would destroy the resistor.

burned_resistor

Resistors used in low power circuits usually have a maximum voltage in the order of at least 100V, and that’s why people usually don’t care or it doesn’t even know that there is such a parameter. In fact, low voltage circuits will normally never exceed the maximum voltage of any resistor. However, there are specific applications where voltages in the circuits can be above the 100V threshold. In such cases, it is important to verify that the resistors used in the circuit can withstand those voltages.

  • Temperature coefficient. This is the parameter that tells us how much the resistance changes per degree Celsius. It depends on the material the resistor is made of, but also on the heat dissipation capability of the component. Some resistors are built with an embedded heat sink to reduce the value of this factor.

power_resistor

This information becomes important in those cases where it is known that the resistor is going to dissipate a considerable amount of power. Based on that, it is possible to figure out if the resistor needs an external heat sink and, eventually, the heat sink thermal resistance.

  • Parasitic Capacitance and Inductance. A real resistor does not have only a resistance but also a very low value of capacity and inductance that may affect its functionality at high frequencies.

equivalent_resistor

These parasitic capacitance and inductance are caused by the physical dimensions and shape of the component and cannot be avoided. When working at high frequencies, these values need to be taken into account, since they will generate both capacitive and inductive reactance that will affect the value of the resistor at the particular frequency it is going to be used.

  • Packaging. This keeps into account where and how the resistor is going to be mounted. It can be a through holes resistor, which is provided with two leads to make the connections. The leads are usually inserted in the holes of a perforated board or of a Printed Circuit Board (PCB). Or, the resistor can be a Surface Mounted one. This has no wires, just two pads that can be directly soldered on a Surface Mounted technology (SMT) PCB. Other factors affecting the packaging include the possibility of attaching it to an external heat sink, and/or the necessity to properly ventilate it, to guarantee enough heat dissipation.

 

Inductors Basics

Describing basic functionality of the inductors and how they are treated when connected in series or in parallel.

What is an inductor? How does it work? And how we handle inductors when they are connected in series or in parallel? Here are the answers.

An inductor is an electric device capable of storing energy in the form of a magnetic or electromagnetic field.

inductor

In its basic form, an inductor can be made of a single loop of wire, or several loops (solenoid). These loops can be arranged in air or on a ferromagnetic core.

When an inductor is connected to a battery, a current starts flowing in the circuit. The current that flows inside the inductor generates a magnetic field, like the one that would be generated by an actual magnet. This field stores an amount of energy, the same way an electric field does.

inductor_circuit

If the battery is suddenly disconnected, the energy that was accumulated in the inductor must be somehow released. but the energy cannot be released instantaneously, it needs to be released a little bit at a time. And since the energy depends on the current flowing in the inductor, the inductor tries to keep the it running, even if the battery is no more connected. To do so, it uses the energy stored into the magnetic field to generate a voltage at its terminals to keep the current going.

inductor_open_circuit

However, since the inductor is now connected nowhere, current cannot flow, unless the voltage is so high that the current can flow in the thin air. And that is exactly what happens: the voltage increases so much that there is a sudden discharge of current through the air, in the form of a spark, that dissipates all the energy that was stored in the inductor. This spark is the one you may sometimes notice when opening a switch that is powering a lamp or a motor, or when you pull the plug from a device that was working using a considerable amount of current.

Similarly to the case where the current is suddenly removed, an inductor generates a voltage also when the current is just changed in intensity. In this case, the voltage is created to react to the change in current, trying to keep it to the same value, so the energy can be conserved.

In both cases, the amount of voltage is proportional to the change in current (ΔI) and inversely proportional to the amount of time in which the current changes (Δt). In other words, the faster the current change, the higher is the voltage.

For a specific inductor, the ratio between the change of current and the interval in which that happens equals the voltage generated by the inductor divided by a constant that depends on the physics dimensions of the inductor. Such constant is called inductance, represented with the letter L, and can be calculated with the following experimental formula:

inductance_formula

where:

μ = permeability of the material inside the coil

N = number of turns making the coil

A = area of the cross section of the coil

l = length of the coil

L is measured in Henry.

μ is the product of the permeability of the void (or air) and the relative permeability of the material:mu

The voltage at the terminals of the inductor is therefore calculated as:

vdit

We can now calculate the energy stored in the magnetic field of an inductor as the integral of the power, which is obtained multiplying the voltage at the inductor and the current that flows through it:

inductor_energy

which, considering the value of the voltage previously calculated, can be solved as follows:

inductor_energy_value

where I is the current flowing through the inductor at the time the energy is calculated.

When choosing an inductor for a circuit, the following parameters must be considered:

  • the value of the inductance in Henry

  • the max current the inductor can sustain; failure to specify that could cause the inductor to overheat, since the wire could be too thin to deal with the required current;

  • the max voltage that can be applied to the inductor; an excessive voltage on the inductor could cause sparks due to insufficient insulation of the wire.

Inductors In Series

Let’s consider a series of inductors of different inductance values and let’s calculate the equivalent inductance.

inductors_in_series

All the inductors, being in series, are traversed by the same current. And since each inductor has its own inductance value, each one will store a different amount of energy:

inductors_series_energies.png

The total energy stored in the inductors is therefore:

inductors_series_total_energy.png

So, the equivalent inductance is clearly:

series_inductance.png

which we can generalize as:

series_inductance_gen.png

Inductors In Parallel

In the case of inductors in parallel, they are all subject to the same voltage and are traversed by a different current:

inductors_in_parallel.png

parallel_inductors_voltages.png

From these equations we can find the currents by integration:

parallel_inductors_currents.png

The total amount of current is therefore:

parallel_inductors_total_current.png

So we can say that the equivalent inductance of a parallel of inductors can be determined through the formula:

parallel_inductors_formula_1.png

or, more in general:

parallel_inductors_formula_2.png

All the formulas presented here are very general and can be applied to both DC and AC circuits. Note, however, that since AC circuits have a variable voltage and current, the application of the formulas in AC is a little more challenging then in DC. But this is a story for another time.