§1 · The capacitor
Two elements give a circuit a memory
Chapter 6 introduces the two energy storage devices, and they differ from every element studied so far in one decisive respect: their terminal relations involve a derivative rather than a proportionality. A resistor dissipates whatever is applied to it at the instant it is applied, so its response carries no history. A capacitor stores energy in an electric field and an inductor stores energy in a magnetic field, so each responds to how fast the applied quantity is changing, and the circuit acquires a memory of its own past.
The capacitor is labeled under the passive sign convention: the current enters the terminal marked positive for .
The capacitor current is proportional to the rate of change of the capacitor voltage:
Three consequences follow directly from that one relation, and the whole of this lecture rests on them.
At DC steady state the capacitor is an open circuit. Every voltage is constant, so and therefore , which is precisely the behavior of an open circuit. The capacitor voltage cannot change instantaneously, that is, , because a step in would require an infinite derivative and therefore an infinite current. The capacitor current is free to jump, since nothing in the relation constrains itself.
Left: the capacitor voltage is carried continuously through the switching instant, so its value just before the switch operates is also its value just after. Right: the capacitor current is under no such constraint, and a switching instant typically steps it to a new value.
§2 · The inductor
A coil that resists a change of current
An inductor is a coil of conducting wire that stores energy in the magnetic field established by its own current. Its inductance is fixed by geometry and construction rather than by any electrical quantity:
where is the number of turns, is the permeability of the core, is the cross-sectional area, and is the length of the winding.
Inductance grows with the square of the turn count, which is why practical inductors are wound rather than merely bent.
The inductor voltage is proportional to the rate of change of the inductor current, the dual of the capacitor relation:
The same passive sign convention applies: the current enters the terminal marked positive for .
At DC steady state the inductor is a short circuit. Every current is constant, so and therefore , which is the behavior of a short circuit. The inductor current cannot change instantaneously, that is, . The inductor voltage is free to jump.
The inductor sketch is the capacitor sketch with the two quantities exchanged. Exactly one state variable per element is continuous: for a capacitor and for an inductor.
§3 · Series and parallel combinations
Inductors follow the resistor rules; capacitors invert them
The combination rules are read off the terminal relations rather than memorized separately. Inductors in series carry a common current, so their voltages add and the inductances add, exactly as resistances do:
Three inductors in series, driven through one port. One loop implies one current , so a single derivative appears in every term.
The same argument run on parallel inductors, where the voltage is common and the currents add, produces the reciprocal rule. The capacitor relation carries the derivative on the other side, so its two rules are exchanged:
| Element | In series | In parallel |
|---|---|---|
| Resistors | values add | reciprocals add |
| Inductors | values add | reciprocals add |
| Capacitors | reciprocals add | values add |
Written out, the inductor rules are the resistor rules and the capacitor rules are their inverse:
Capacitances add in parallel and their reciprocals add in series. The sliders drive both networks with the same three values.
Cparallel = = µF Cseries = 1 / [] = µF
With the same three numbers read as inductances in µH: Lseries = µH Lparallel = µH
A series combination of capacitors is smaller than the smallest member, and a parallel combination of inductors is smaller than the smallest member. Whenever a computed equivalent violates that bound, the wrong rule has been applied.
§4 · Three snapshots of a switched circuit
Read the circuit at , at , and at
A switched circuit that contains one storage element is answered by three separate static analyses rather than by one dynamic one. The recipe is fixed:
- At the circuit has been in its old configuration long enough to reach DC steady state. Every capacitor is replaced by an open circuit and every inductor by a short circuit, and the resulting resistive circuit is solved. Only two results are carried forward: and .
- At the switch has operated but the state variables have not moved. The capacitor is replaced by a voltage source of value and the inductor by a current source of value , and the new resistive circuit is solved for whatever quantity was requested. Everything other than and is free to jump here.
- At the new configuration has reached DC steady state, so the capacitors are open circuits and the inductors are short circuits again.
Between the second and the third snapshot the circuit travels along a single exponential, whose time constant is or with the resistance seen by the storage element for :
The two endpoints are fixed by the second and third snapshots; the time constant sets only how quickly the curve travels between them.
x(t) = + [ − ] · e−t/
The first two snapshots are demanded by continuity and are therefore never optional. The third is required only when the response itself is wanted; a question that asks only for the value immediately after switching is answered at .
§5 · Worked example A: two amplifiers pin two nodes
Find , , and
Two ideal operational amplifiers appear in this circuit, and their only role is to hold two node voltages rigid. Neither amplifier is analyzed as an amplifier; each contributes two facts, and those two facts make the rest of the circuit a routine node problem.
No current enters either input terminal, and negative feedback holds the two input terminals at the same voltage. For the amplifier on the left, the noninverting terminal is grounded, so its inverting terminal, the node marked 0 V, is held at zero. For the amplifier at the bottom, the noninverting terminal is tied to +10 V, so its inverting terminal, the node marked 10 V, is held at ten. Because no current enters either terminal, KCL written at those two nodes contains only the resistor branches.
The problem
The switch closes at . The output is required at the three snapshots, and the ½ H inductor is the only storage element.
Snapshot 1a: , the inductor is a short
At DC steady state the inductor is replaced by a short circuit. KCL is written at the node held at zero, where only the 25 Ω and the 50 Ω branches meet:
The switch is still open, so the upper 5 Ω carries nothing.
Snapshot 1b: the inductor current
With the inductor shorted, the 10 Ω branch is connected directly between the node held at V and the node at V:
This is the one value that must survive the switching instant.
Snapshot 1c: the output before switching
KCL at the node held at V involves the 10 Ω branch and the 5 Ω feedback branch only:
Snapshot 2a: , continuity replaces the inductor
The switch closes, and the inductor current cannot follow it: . For this instant the inductor branch is therefore replaced by a 2 A current source directed from the node at V toward the node at V. The node held at zero is untouched by the switch, so is still V.
Snapshot 2b: the output just after switching
Three branches now leave the node held at V: the feedback 5 Ω, the newly connected 5 Ω, and the 2 A of the inductor branch.
Snapshot 3: , the inductor is a short again
At the new DC steady state the inductor is once more a short circuit, so the 10 Ω branch again spans the two rigid nodes:
Why the last two answers agree
The equality is not a coincidence and not an arithmetic slip. Both ends of the inductor branch are pinned by the amplifiers: the left node sits at V and the right node at V, before and after the switch operates. The branch therefore always carries A, the 10 Ω always drops the full V, and the inductor itself always has zero volts across it. With at every instant, and the inductor current never moves. The circuit reaches its final state at the switching instant, and no exponential follows.
§6 · Worked example B: the differential equation for
Assemble a first-order equation from one KVL
The differential equation relating to is required for . The procedure is the branch-current method with one addition: the inductor contributes instead of a resistance, and the resulting equation is differential rather than algebraic.
The problem
The switch on the right opens at ; before that instant it shorts the right side of the circuit. The 2 A source is constant, and the storage element is the ½ H inductor.
Snapshot 1:
The inductor is a short at DC steady state, and the closed switch is a short as well. Both resistors are therefore short circuited, they carry no voltage and no current, and the entire source current is forced through the inductor:
Step 1: label every branch with one unknown
For the switch is open, so the circuit has two backyards and one current source, which leaves one unknown. Naming the inductor current fixes everything else: KCL at the upper left node assigns upward through the 3 Ω, and KCL at the upper right node assigns downward through the 4 Ω.
Step 2: KVL around the middle backyard
The inductor voltage is then written as a derivative, , and the equation is arranged with the derivative alone in the leading term:
This is a first-order differential equation with constant coefficients. Its coefficients carry all the information needed for the response: the time constant is the reciprocal of , and the final value is .
Snapshot 3:
At the new DC steady state the derivative vanishes, so the differential equation collapses to an algebraic one:
The same value is obtained independently by redrawing the circuit with the inductor shorted, which places the 3 Ω and the 4 Ω in parallel across the source, and applying the current divider: A. Agreement between the two routes confirms the coefficients.
The complete response
The three snapshots are now available: A and A. The time constant is read from the equation, and it agrees with where the resistance seen by the inductor for is :
§7 · Worked example C: the differential equation for
The same assembly with the capacitor relation
The capacitor is handled in the mirror image of the inductor: its current is named , every other branch current is expressed in terms of and , and the substitution is postponed until the KVL equation has been written.
The problem
The switch closes at , connecting the 5 Ω branch. The differential equation for is required for , so every figure below shows the switch closed.
Step 1: express every branch current with and
The capacitor carries downward by definition, and the 5 Ω carries downward by Ohm's law, since the capacitor voltage appears directly across it. KCL at the capacitor node then forces through the 3 Ω, and KCL at the source node adds the source current to give upward through the 2 Ω.
Step 2: KVL around the middle backyard
Each resistor contributes its own current multiplied by its own resistance, with the sign set by the polarity marks, and the capacitor contributes its voltage directly.
Step 3: substitute the capacitor relation and clear the fractions
Multiplying through by gathers the terms into integers:
Snapshot 3 and the time constant
Setting the derivative to zero gives the final value, and the coefficient of gives the reciprocal of the time constant:
Both results are confirmed independently. With the capacitor opened, the 2 Ω and 3 Ω carry the same current as the 5 Ω, and node analysis returns V. The resistance seen by the capacitor with the current source opened is , so s, in agreement.
The initial condition and the complete response
The board stops at the differential equation, but the first snapshot completes the problem. Before the switch is open, so the 5 Ω branch is absent and the capacitor is an open circuit at DC steady state. No current then flows in the 3 Ω, the whole source current of 2 A is forced upward through the 2 Ω, and the capacitor node follows the source node:
Continuity carries that value across the switching instant, so V and
A check at returns V and a check at large returns V, both as required. Substituting the expression into gives , an identity. ✓
§8 · Worked example D: a current that jumps
Find , , and
The quantity requested here is a current in a plain wire, not a state variable, so it is free to jump at the switching instant and it does. The example is the clearest demonstration on the page of why the second snapshot cannot be skipped.
The problem
The switch closes at , and is the current it carries. The storage element is the ½ F capacitor.
Snapshot 1a: , the capacitor is an open circuit
The switch is open, so without any calculation. The capacitor is an open circuit at DC steady state, so the 12 V source and the 4 Ω carry no current either, and the 2 A of the source has only one available return path: upward through the 10 Ω.
Snapshot 1b: the capacitor voltage
KVL is taken around the left loop, through the source, the capacitor, and the 10 Ω. The resistor carries 2 A upward, so its lower terminal is the positive one:
The 4 Ω contributes nothing because it carries no current.
Snapshot 2a: , continuity fixes the capacitor
The switch closes, and the capacitor voltage cannot follow it: V. For this instant the capacitor behaves as a 32 V source. The closed switch also short circuits the 10 Ω, which therefore carries nothing while the switch is closed.
Snapshot 2b: the two equations
KVL around the left loop, now closed through the switch, gives the capacitor current:
KCL at the upper node then gives the requested current, since the capacitor branch delivers into the node while the 2 A source and the switch draw current out of it:
Snapshot 3:
At the new DC steady state the capacitor is an open circuit again, so the left branch carries nothing. The only current left at the node is the source current, and the closed switch is its only path:
The capacitor voltage settles at V, since with no current in the 4 Ω the capacitor sees the source directly.
The response
The resistance seen by the capacitor for is the 4 Ω alone, because the 12 V source is turned off into a short and the closed switch returns the loop, so s:
A current of zero jumps to A and then relaxes to A. Neither of the two extreme values could have been obtained from the other.
The sketch of : zero while the switch is open, a jump to A at the switching instant, and an exponential approach to the final value of A with a time constant of two seconds.
§9 · Your turn
Practice: a switched resistor across a charged capacitor
The switch closes at . Find at the three snapshots, then the differential equation for , the time constant, and the complete response. The problem should be attempted on paper before the hints are opened, in order.
A 4 A source drives a 10 Ω resistor and a ½ F capacitor; the 15 Ω branch joins them when the switch closes.
Hint 1: the first snapshot
At the switch is open and the capacitor is an open circuit, so the entire source current is forced through the 10 Ω. Both and follow from that single observation.
Hint 2: what survives the switching instant
The capacitor voltage is continuous, so . The 10 Ω resistor is connected directly across the capacitor, so at every instant. Asking whether can jump therefore answers itself.
Hint 3: the equation and the time constant
KCL is written at the top node with the capacitor relation substituted: for . The resistance seen by the capacitor is , with the current source turned off into an open circuit.
Solution
Snapshot 1. With the switch open and the capacitor open, all 4 A passes through the 10 Ω:
Snapshot 2. Continuity gives V, and the 10 Ω sits directly across the capacitor, so
This current does not jump. It is tied to the continuous capacitor voltage by Ohm's law, which is exactly what distinguishes it from the current of Example D. The 15 Ω branch takes the jump instead: it goes from 0 to A, and the capacitor current jumps from 0 to A.
Snapshot 3. With the capacitor open again, the source drives :
The equation and the response. KCL at the top node for gives
so s, which agrees with , and the final value V agrees with the third snapshot. Therefore
both valid for . A check at returns V and A, and a check at large returns V and A. ✓