You are here

A Basic Education In Electronics, OR How Real Devices Work (2009 Update)

Most books on electronics theory treat the subject of passives in the following way:

  • A definition of voltage and current in ideal power supplies
  • DC Theory, which provides definitions of resistors, capacitors and inductors and covers transients
  • AC Theory, which covers time varying sources and the subjects of complex math, impedance, and complex power
  • All components are treated as ideal and abstract (literally just symbols on the page)
  • The basic techniques of circuit analysis

This always confused me because the theory was presented as AC and DC being completely separate. It seemed very concocted and not very realistic. I made it through college, by applying the AC/DC theory, but it wasn't until I started troubleshooting power circuits at my first engineering job that I really started to understand the physical relationship of capacitance, inductance and resistance and how they related to energy, power, voltage and current in a circuit.

When I began my first engineering job, most of the engineers around me seemed to know how a circuit would work just by looking at it. They would understand how different components interact with each other under steady-state and transient conditions. They would instinctively know how the little bits of inductance and capacitance were going to effect the circuit.

I, on the other hand, had no idea. I had a fledgling understanding of ideal components but whenever I tried to apply my AC/DC knowledge to these circuits I failed. I failed because I could not paint a complete picture of the circuit and could not accomplish what it was I was trying to achieve: designing a reliable circuit. What I needed was a circuit theory that I could apply in any situation to quickly understand how a circuit would respond under steady-state+transient conditions while taking in to account real components which all contain resistance, inductance, capacitance which all vary depending upon temperature, material, age, frequency, applied voltage, etc.

What I came up with is not a new theory, but just a new way of telling the same story. There are no new equations here, just a new way of presenting them. Instead of splitting capacitors and inductors from resistors, and AC theory from DC, I will instead present them side by side while losing the AC/DC notation and instead teach steady-state and transient response. I will make cogent connections beteween real parts and their physical compositions (which for me was probably the most important step) and I will relate power and energy in general to electronics as a whole.

Energy, Work & Power
Physicists define energy as an intrinsic property of matter that enables work. In physical terms energy is the ability to act in some way on matter. Those ways are many and include physical, electrical, thermal, etc. Energy present in the universe can be moved from place to place over a period of time. Moving energy from one place to another is called work. Work performed over time is called power. So work describes the location characteristic of energy and power describes the time characteristic of energy. Note the two are not independent. Space and time are linked, nothing happens instantaneously.

For work that is constant, P=E/t

Fields & Types Of Energy
Physicists define fields as a physical phenomenon which acts over a volume or area, as forces on specific energy types. Forces do not really exist, they are merely constructs used to relate a type of energy to exert a force on material. Gravitational forces act on mass. Electrical and magnetic fields act on charged particals (e.g. electrons). Both electrical and magnetic fields act directly on charged particles, but magnetic fields act more indirect.

Energy can be stored within matter (potential), or it can be in motion (kinetic). When a field acts on matter, it will convert some of the potential energy into kinetic energy. Just how much energy is displaced will depend on the device material's intrinsic properties. As we shall see, in electromagnetics this will depend on its resistance, capacitance and inductance.

Energy conversion takes place, for example, when electricity drives a motor. Energy conversion also takes place when you don't want it to, like when a CPU generates heat. If a CPU converted 100% of its electrical energy into CPU activities then no heat would be generated. In other words all the electrical energy entering the device would leave the device (as heat and electricity are the only forms of energy in a microprocessor). In actuality most of the energy is converted (dissipated) to heat.

Like I mentioned before, particular fields can act on particular energy types. Electrical current is defined as a unit charge traveling through a point in a unit time. In other words, the displacement of electrons (work) in a unit time is current. It reflects the kinetic energy stored in electrons. Voltage is defined as the electrical potential between two points, or its ability to do work. Therefore voltage reflects the potential energy stored in the device.

Physical Explanation of Capacitance, Inductance & Resistance
A short segue into some equations about the properties of matter, then back to the theory.

Resistance (R) is defined by a relationship between the voltage potential and current flow. The relationship characterizes how easy current can flow through a material. It is an entirely physical phenomenon. When electrons flow through a material it collides with atoms in the material (or encounters other types of fields). These collisions inhibit current flow. This is the basis for all heating in electronic devices. Those collisions are akin to billiard balls colliding and when the electrons collide with the atoms of the material they absorb energy in the electrons. The result is a transformation of electrical energy into heat energy. Materials with very high resistance are characterized by small current flows and higher heat.

Capacitance (C) is a measurement of the electrical charge stored in a device (held by an electric field) with a particular voltage potential. A voltage potential can exist in a region of empty space, but capacitance reflects the charged particals in a region of space.

Similarly, inductance (L) is a measurement of the magnetic field in a device with a particular current flowing through it.

Capacitance, inductance and resistance reflect physical properties of materials. Thus, the material has an implicit effect on a material's energy storage or dissipative abilities. This is exactly why electrical circuits are so susceptible to changes in environment. Changes in temperature, applied voltage, applied frequency, physical dimensions, age, etc cause physical changes in the material and as a result C, L or R is affected. So when analyzing a circuit I consider the environment's effects on the C, L and R. In turn, I examine the effects of the change in C, L and R on the circuit's I, V and P.

Resistor Capacitor Inductor
R=l*ρ/A C=εso*d/A=Q (charge)/A L=μor*N2*A/l=Φ/I

Energy & Power, Revisited, Part I
I'll skip some equations here (because for our discussion it doesn't matter), but if voltage is the potential for moving energy from one place to another and current is the rate and which it is displaced, then it must be possible to define the relationship between the two. It must also be possible to determine the amount of energy and power in a particular field (electric or magnetic).

Now, we will set down some equations. This first set relate inductance (L), capacitance (C), and resistance (R) to energy and power. We'll see later that capacitors and inductors store energy and resistors only dissipate energy (in the form of heat).

Capacitor Inductor Resistor
EC=1/2*C*V2 EL=1/2*L*I2 ER=0(pure resistance does not store energy)

Therefore, the energy in a device will depend on its capacitance and voltage (potential energy), inductance and current (kinetic energy) and the energy dissipated by a device will depend on its resistance. The capacitance, inductance and resistance can vary depending upon the environmental conditions.

Power is defined below:


The second set relate impedance (which is defined below) to voltage and current (and therefore energy and power). It is also a relation of potential energy to kinetic energy.


So to recap: energy, work, power, properties of matter, potential and kinetic energy, and impedance.

Impedance characterizes the relationship between current, voltage and time in a circuit. Impedance is a complex entity. The real portion represents the pure resistance (dissipative) of the circuit and the imaginary portion represents the reactance (storage) of the circuit. Pure resistance is constant at all frequencies (DC) and reactance is a frequency dependent (AC) relationship. Together they represent the total relationship of current to voltage in a circuit. Ohm's Law defines this relationship.


Using Ohm's Law we can relate the power and energy in a circuit to its characteristic impedance.


In a purely resistive circuit, power is dissipated. In a purely reactive circuit energy is stored or released, depending on the sign of the reactance. If positive, the reactance is inductive. If negative, the reactance is capacitive. Energy can only be dissipated by resistance and stored/released by reactance.

As you may already have figured out, inductance and capacitance is implicit in reactance and the relationship is direct.

Capacitor Inductor Resistor
ZC=-j/ω*C ZL=j*ω*L ZR=R

where ω=2*π*ƒ.

Finally, the total impedance is defined as thus:


This impedance can be graphed from 0Hz to infinity. For most components the impedance will vary widely from very small to very large. The effect or R, C and L on a circuit is discussed in detail below.

All materials and devices contain some resistance, capacitance and inductance, so there are three key things to take away here. The first is resistance is thought to be frequency independent, but it is not due to the skin effect. I know this seems obvious, but what this really means is no matter what frequency, there is some resistance. The second is that impedance is dominated by capacitive reactance at low frequencies. If the capacitance is small enough it will complete blot out the effects of resistance and inductance. At least to a point, which brings me to my third point. Inductance absolutely dominates impedances at higher frequencies. As frequency goes up capacitive reactance falls to zero and inductive reactance rises towards infinity.

Dampening and Resonance
Resonances are oscillations that occur in a physical system. Energy at a particular frequency will excite the system at that frequency (and possibly others). How much excitation that occurs depends on the impedance at that frequency. At points of minimum impedance the system will be most excited. This tends to result in oscillations that are much stronger than the original excitation. Dampening is a measure of how much a circuit will respond to external excitation. Typically resistive elements in a circuit will dissipate the excitation energy over time. In highly dampened systems the energy dissipates quickly and never have the opportunity to induce oscillations in the circuit. With low dampening the oscillation will dissipate over time, or not at all. Dampening is the relationship between the reactance of a circuit and its resistance, and is called "Q".


The physical explanation for resonance is when a current caused by an inductance charges a capacitance. The capacitance then discharges through the inductor. This repeats until the energy is dissipated in the system. Think of a pendulum that swings back and forth from potential to kinetic energy and back. It eventually comes to a stop because of friction and wind resistance.

Resonance often occurs when the inductive and capacitive reactance are equal. This creates a harmony in which both types of reactance can excite each other indefinitely. The Q of the system determines how long the system will oscillate.

Energy & Power, Revisited, Part II
Earlier we established that C and L effect the amount of energy in a device. We also established that impedance is a function of C, L and R. Now, because impedance has a complex relationship, any reactance in the circuit introduces phase into the circuit. Phase is simply a shifting in the alignment between current and voltage. Phase is important because it introduces is to the concept of negative power. For example, in a purely resistive circuit, the current and voltage are in phase. As a result power, P=V*I, is always greater than zero. But, the current of an AC waveform where the current and voltage are out of sync, the current can be less than zero while the voltage is greater than zero. Given P=V*I, the power at this point in time is negative.

What this really means is that a reactive circuit can absorb and release energy. Because all real devices have some inductance and reactance, they all have the potential to become sources or sinks (and can be both depending on the frequency). Conversely, this says that resistive circuits only dissipate power.

We now turn out focus towards these real devices, what they look like, and how they behave.

Devices in "real life" do not behave like ideally. Wires, traces, pads, vias and any current carrying apparatus do not behave ideally, with no stray resistance, inductance or capacitance. In reality all devices contain some amount of L, C and R. Very accurate models of components are quite complicated (they are circuits in themselves), but a good first approximation of real passives are displayed below.

Real Capacitor Real Inductor Real Resistor
R-L-C (L||C)-R (R-L)||C

So from a certain point of view, there is no such thing as an inductor, capacitor or resistor. There are only devices that are "inductor-like", "capacitor-like" and "resistor-like". In other words, they have one characteristic (L, C or R) which tends to be dominant over the others.

When you graph the impedance of a typical capacitor, you end up with a 'V' shape. the '\' of the V represents the capacitive impedance dominating and the '/' represents the inductive impedance dominating. The point at which they meet is a resonance and is typically called the ESR, or equivalent series resistance. What this means is that after a certain frequency (the bigger the cap, the lower this resonance), the capacitor actually becomes an inductor!

Inductors are similar, but resemble mountains, or an upside down 'V'. The '/' of the mountain represents the inductive impedance and the '\' represents the capacitive impedance dominating.

Resistor plots tend to stay fairly flat, like you'd expect. The inductance has a pulling up effect and the capacitance has a pulling down effect, but they tend to cancel out fairly well. It does depend on the type of resistor, though. For example, a wirewound resistor has pretty high inductance.

What we see here is that all devices are really just filters. They store, release, or dissipate energy, but also filter. So when I'm analyzing a system, I look at its energy and filtering characteristics and how they affect the system overall.

Resistance acts as a tempering agent on resonance and Q. Remember that higher resistance lowers Q, or smoothes out an impedance curve.

  • L-R: lowers resonant frequency
  • C-R: increases resonant frequency
  • L||R: increases resonant frequency
  • C||R: decreases resonant frequency

Transient Response
Ideal resistors do not have a transient response. They operate perfectly linear in accordance with Ohm's Law. Circuits (or real resistors) with inductance and capacitance have a non linear behavior which manifests itself when current or voltage changes (usually the result of an impedance change) in the circuit and is typically called the transient response.

Let's look at the behavior of current and voltage in reactive circuits over time. τ is called the time constant. It is a ratio of how fast the voltage or current will change through a device. In other words, if you are using a capacitor as a voltage source, the current flow will be determined by the size of the resistance. A low resistance will quickly discharge a capacitor because it causes a large current flow. Think of this in terms of power dissipation. The capacitor has (potential) energy stored. What is the best way to dissipate it? The time constant is interesting because you can always predict how much a capacitor will be discharged at specific intervals (first time interval=63%, etc).

Inductors are similar, but you must think of an inductor as a current source. A larger resistance will cause a larger voltage drop and will more quickly dissipate the energy in an inductor.

Capacitor Inductor
τ=C*R τ=L/R

Capacitance will respond to a change in voltage with a current flow through the device. Inductance will respond to a change in current with a voltage drop across the device.

Voltage Current
V=L*di/dt=1/C ∫t-∞I*dt I=C*dv/dt=1/L ∫t-∞V*dt

When power is first applied to a capacitor, it has zero voltage drop across it and zero current flowing through it. This voltage source rises very fast and current flows through the device. As the capacitor reaches the same voltage as the source, it charges slower, the rate of change decreases to 0, and the current through the capacitor falls to zero. In real life the ESR of the cap will always cause some current to flow. In essence, the cap acts as a short at t=0 and becomes open at t=∞ (or close to it if you include the ESR).

When power is first applied to an inductor, it has zero voltage drop across it and zero current flowing through it. This voltage source rises very fast and current will flow in the inductor. The current through the device causes a voltage drop across the inductor. As the current through the inductor approaches the nominal source current, the rate of change of current decreases, and the voltage drop across the inductor falls to zero. In real life the ESR of the inductor will always cause some voltage drop across the device. In essence, the inductor acts as an open at t=0 and becomes a short at t=∞ (or close to it if you include the ESR).

As a result, it is important to consider both the steady-state and transient characteristics of the circuit and/or device (e.g. determining maximum voltage is a function of the maximum steady-state value plus its transient).

Extending this...

di/dt=v/L+(dv/dt)*(1/R)+C*d2v/dt2 dv/dt=i/C+(di/dt)*R+L*d2i/dt2

The relationship between capacitance, inductance and resistance is based directly on the intrinsic properties of the physical material. Every material has some dissipative (resistance) and storage (capacitive and inductive) characteristic. Impedance is the relationship between voltage and current and derives from the energy characteristic of the device. This relationship when plotted over frequency defines a filter. Therefore every device has both an energy characteristic and a filtering property. But, that model is only defined for steady-state. A complete analysis of voltage and current takes in to account both the steady-state and the transient characteristics of the circuit. Consideration for phase must also be made, and possibly whether or not the device is acting as a source or sink.

An excellent online tutorial:
I also used Wikipedia for the following keywords: Energy, Work, Power, Inductance, Inductor, Capacitance, Capacitor, Resistance, Impedance, Current, Voltage, Power Factor, Electrical Resonance.

Add new comment

Filtered HTML

  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <table> <tr> <td> <ul> <ol> <li> <dl> <dt> <pre> <dd> <img> <sub> <sup>
  • Lines and paragraphs break automatically.

Plain text

  • No HTML tags allowed.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.
This question is for testing whether you are a human visitor and to prevent automated spam submissions.
3 + 5 =
Solve this simple math problem and enter the result. E.g. for 1+3, enter 4.