An electric circuit is made of elements. Elements include at least one source. The source is connected to a bunch of components. We are going to describe sources and components with ideal mathematical abstractions. By the end of this article, we will have a nice collection of equations, which can be combined to generate lots of useful electronic functions. The next article describes real-world components that come close to the ideal abstractions we define here.
Elements are either sources or components.
Sources provide energy to a circuit. There are two basic types.
- Voltage source
- Current source
Components come in three basic types, each characterized by a different voltage-current relationship.
- Resistor
- Capacitor
- Inductor
These sources and components have two terminals or connection points. Not surprisingly, they are referred to as $2$-terminal elements.
Ideal sources
Constant voltage source
An ideal constant voltage source has a fixed output voltage, independent of the current drawn by the components connected to its terminals, as shown in this current versus voltage plot:
[[โ image 11]]
The equation for a constant voltage source is,
$v = \text V$
where $\text V$ is some constant output voltage, like $v=3,\text V$.
You frequently see the variable name $e$ associated with voltage, derived from the term "electromotive force" or emf. This term is sometimes used when talking about the voltage from a source (battery or generator).
[[โ explanation 2]]
The two common symbols for constant voltage sources:
[[โ image 15]]
The symbol on the left is used for a battery. The longer horizontal line on the battery symbol represents the positive terminal of the battery, and the shorter horizontal line represents the negative terminal. The circle symbol represents some other source of voltage, often a power supply. It is a good practice to draw the $+$ and $-$ signs inside the circle.
Variable voltage source
An ideal variable voltage source generates a known voltage as a function of time, independent of the current drawn by the components connected to its terminals, as shown in this $voltage$ versus $time$ plot:
[[โ image 7]]
The equation for a variable voltage source is,
$v = v(t)$
$v(t)$ can be a sine wave or any other time-varying voltage, for example, a single voltage step, or a repeating square wave.
[[โ explanation 1]]
The symbol for a variable voltage source:
[[โ image 10]]
The squiggle inside the circle suggests this particular symbol represents a sine wave generator. You will come across variations of this symbol for different waveform shapes.
These ideal mathematical abstractions of voltage sources can produce arbitrarily huge output current if the components they are connected to demand it. That doesn't happen in real life, of course. One place gigantic currents pop up is when you simulate a circuit. The computer doesn't mind a current of a zillion amperes, but it's probably not what you intended.
Constant current source
An ideal constant current source has a fixed output current, independent of the voltage connected to its terminals, as shown in this $current$ versus $voltage$ plot:
[[โ image 7]]
The equation for a constant current source is,
$i = \text I$
where $\text I$ is a constant output current, like $i=2,\text{mA}$.
The symbol for a constant current source:
[[โ image 10]]
The arrow indicates the direction of positive current flow.
The voltage at the terminals of an ideal current source becomes whatever is required to push out the constant current, even if that voltage is gigantic. When we build real current sources, of course, the range of operation is significantly restricted compared to the ideal current source abstraction.
Resistor
The voltage across a resistor is directly proportional to the current flowing through it.
$\large v = \text R , i \qquad \normalsize \text{Ohm's Law}$
This relationship is known as Ohm's law. You'll use this equation a lot in your work with circuits.
$\text R$ is a constant of proportionality, representing the resistance. Resistance has units of ohms, denoted by the Greek capital Omega symbol, $\Omega$.
The $i$-$v$ graph for a resistor is shown below. The equation plotted is $i=v/\text R$, so the slope of the line is $1/\text R$.
[[โ interaction 5]]
[[โ explanation 3]]
The symbols for a resistor:
[[โ image 15]]
In the US and Japan the resistor symbol is a zig-zag. In the UK, Europe and other parts of the world, the resistor is often drawn as a box.
Ohm's Law can be written a number of ways, all of them useful,
$v = i,\text R \qquad\qquad i = \dfrac{v}{\text R} \qquad\qquad \text R = \dfrac{v}{i}$
Ohm's Law is worth committing to memory.
[[โ explanation 2]]
Power in a resistor
Power is dissipated by a resistor when current flows through it.
[[โ explanation 1]]
Energy in flowing electrons becomes bulk heat as electrons collide with atoms in the resistor material. Power can be expressed a few ways using Ohm's Law. These are all equivalent,
$p = v,i$
$p = (\text i,\text R), i = i^2 ,\text R$
$p = v\left (\dfrac{v}{\text R}\right ) = \dfrac{v^2}{\text R}$
The last two expressions reveal that power in a resistor goes up (or down) proportional to the square of voltage or current.
-
Increase either voltage or current by a factor of $2$, the power consumed goes up by a factor of $4$.
-
Reduce either voltage or current by half, and you reduce the power by [[โ explanation 2]]
-
Aaron finds a way to cut the voltage across a resistor by a factor of two. When Beth looks at Aaron's new design, she figures out how to reduce the current in the resistor by a factor of two.
[[โ explanation 3]]
Capacitor
The basic equation describing a capacitor relates charge on the capacitor to the voltage across the capacitor. [[โ explanation 1]]
$\text Q = \text C,\text V$
The constant of proportionality $\text C$ is the capacitance. Capacitance has units of farads, symbolized by the capital letter $\text F$. The unit of capacitance is the farad, and from the equation above we see that, $1 ,\text{farad} = 1 ,\text{coulomb}/\text{volt}$
If the charge can move, we have a term for this; moving charge is called current. Current is the time rate of change of charge,
$i = \dfrac{dq}{dt}$
Using this idea, let's take the derivative of both sides of $\text Q = \text C,\text V$ with respect to time and see what we get,
$\dfrac{dq}{dt} = \text C , \dfrac{dv}{dt}$
and we end up with an equation saying the current in a capacitor is directly proportional to the time rate of change of the voltage across the capacitor,
$i = \text C , \dfrac{dv}{dt}$
This capacitor equation captures the $i$-$v$ relationship for capacitors. It also tells us that electric circuits can be affected by time.
The symbols for a capacitor:
[[โ image 9]]
The version with the curved line is used for capacitors manufactured in a way that requires one terminal to have a positive voltage with respect to the other terminal. The curved line indicates the terminal that needs to be kept at the more negative voltage.
We can flip the capacitor equation around to solve for $v$ in terms of $i$ by integrating both sides, resulting in the integral form of the capacitor equation,
$\displaystyle v = \dfrac1{\text C}, \int_{-\infty}^{,T} i,dt$
The $-\infty$ lower limit on the integral suggests that the capacitor's voltage at time $T$ depends not just on the capacitor current right now, but on the entire past history of the current. That's a long time ago, so we often write this integral starting at some known voltage $v_0$ at some known time like $t=0$, and then keeping track of the changes from there.
$\displaystyle v = \dfrac1{\text C}, \int_{,0}^{,T} i,dt + v_0$
[[โ explanation 2]]
Power and energy in a capacitor
The instantaneous power in watts associated with a capacitor is,
$p = v,i$
$p = v,\text C ,\dfrac{dv}{dt} $
The energy $(U)$ stored in a capacitor is power integrated over time,
$\displaystyle U = \int p ,dt = \int v,\text C ,\dfrac{dv}{dt},dt = \text C\int v ,dv$
If we assume the capacitor voltage was $0,\text V$ at the beginning of the integration, then the integral evaluates to:
$U = \dfrac 12 ,\text C ,v^2$
Unlike a resistor, where the energy is lost to heat, the energy in an ideal capacitor does not dissipate. Instead, energy in the capacitor, in the form of stored charge, is recovered when the charge flows back out of the capacitor.
Inductor
The voltage across an inductor is directly proportional to the time rate of change of current through the inductor, [[โ explanation 5]]
$\large v = \text L , \dfrac{di}{dt}$
This property arises from the inductor's ability to store energy in a surrounding magnetic field. The stored magnetic energy can return to the circuit by generating an electric current.
The constant of proportionality $\text L$ is the called the inductance. The unit of inductance is the henry, denoted by the capital letter H. [[โ explanation 3]]
The reason this property of inductance arises in coils of wire is a complex topic involving the intimate relationship between electricity and magnetism, which is beyond the scope of this article. For now, please trust that the voltage across an inductor is proportional to the rate of change of current.
The symbol for an inductor:
[[โ image 10]]
It looks like a wire wrapped in a coil, since that is the usual way to make an inductor.
Similar to the capacitor equation, we can write the inductor equation in integral form to get $i$ in terms of $v$. Notice the kinship between the capacitor and inductor equations.
$\displaystyle i = \dfrac1{\text L}\int_{-\infty}^{,T} v,dt$
$\grayF{\displaystyle v = \dfrac1{\text C}, \int_{-\infty}^{,T} i,dt} $
The $-\infty$ lower limit on the integral means the inductor's current at time $T$ depends on the entire past history of the inductor voltage. We usually write this integral starting from some known current $i_0$ at some known time like $t=0$, and then keeping track of the changes from there.
$\displaystyle i = \dfrac1{\text L}, \int_{,0}^{,T} v,dt + i_0$
Power and energy in an inductor
The instantaneous power in watts associated with an inductor is
$p = i,v$
$p = i,\text L , \dfrac{di}{dt}$
The energy $(U)$ stored in the magnetic field of an inductor is power integrated over time,
$\displaystyle U = \int p ,dt = \int i,\text L , \dfrac{di}{dt},dt = \text L\int i ,di$
$U = \dfrac 12 ,\text L ,i^2$
Unlike a resistor, where the energy is lost to heat, the energy in an ideal inductor does not dissipate. Instead, the energy stored in the inductor's magnetic field can be fully recovered when the energy in the magnetic field gets converted back into an electric current in the wire.
Summary of ideal component equations
Here are the three important circuit component $i$-$v$ equations,
$\large v = i,\text R\quad\qquad$ Ohm's Law
$\large i = \text C ,\dfrac{dv}{dt}\qquad$ capacitor equation
$\large v = \text L ,\dfrac{di}{dt}\qquad$ inductor equation
These three expression are your tools of the trade for circuit analysis.
In addition, we also developed these expressions for power and energy.
The power in a resistor is
$p =i,v \quad$ or$\quad i^2 ,r \quad$or $\quad v^2/r$
The energy in a capacitor is $\dfrac 12 ,\text C ,v^2$
The energy in an inductor is $\dfrac 12 ,\text L ,i^2$
The next article describes how real-world physical components come close to the mathematical ideal.
[[โ explanation 1]]