§1 · One formula, three numbers
Every first-order response has the same shape
A circuit that contains resistors, sources, and exactly one energy-storage element (one capacitor or one inductor) is governed by a first-order differential equation. When the sources are DC and the circuit is switched at , every voltage and every current in that circuit follows one formula:
Three numbers therefore determine the entire waveform: the value immediately after the switching instant, the value the circuit settles to, and the time constant. The formula is read directly: at the exponential equals one and ; as grows the exponential vanishes and .
The response leaves and approaches along an exponential whose only free parameter is . The indigo marks stand at and at .
f(t) = [ − ( ) ] e−t/ + V
f(τ) = V (63.2 % of the change is complete) 5τ = s: f = V (99.3 % complete)
The four-step procedure
- : DC steady state. The circuit before the switch is solved for or , and for nothing else.
- : apply continuity. Knowing or , the storage element is replaced by a source of that value and is computed.
- : DC steady state again. The circuit after the switch is solved for .
- : the time constant. The capacitor or the inductor is removed, the resistance seen at the terminals where it was removed is found, and or .
For the storage element sees the rest of the circuit as a two-terminal network, and Lecture 4 already reduced any such network to its Thevenin equivalent. The exponential rate is set by that equivalent resistance alone, which is why step 4 is a Thevenin resistance computation. When dependent sources are present, the resistance must be obtained from a test source rather than from series and parallel combinations.
The formula holds for a single equivalent capacitance or a single equivalent inductance. Several capacitors that combine into one equivalent capacitance still qualify; a circuit holding both a capacitor and an inductor does not, and it is second order.
§2 · What the two elements do
Two constitutive laws and one continuity rule
The capacitor and the inductor are dual to each other:
Both statements are read twice in this lecture: once in DC steady state, where every derivative is zero, and once across the switching instant, where the stored quantity is required to be continuous.
The elements and their laws
The capacitor current is proportional to the rate of change of its voltage, and the inductor voltage is proportional to the rate of change of its current. The stored energies are and .
In DC steady state
Nothing changes in DC steady state, so both derivatives vanish. The capacitor carries no current and therefore behaves as an open circuit; the inductor holds no voltage and therefore behaves as a short circuit. This substitution is what makes steps 1 and 3 ordinary resistive problems.
Across the switching instant
A finite current cannot change the capacitor voltage instantaneously, and a finite voltage cannot change the inductor current instantaneously:
At the capacitor is therefore replaced by a voltage source of value and the inductor by a current source of value . The rest of the circuit is then resistive again.
Every other quantity is free to jump at , and in the examples below several of them do. A capacitor current and an inductor voltage jump routinely, because nothing forbids it.
§3 · Worked example A: an RL circuit with a dependent source
Find
A 5 A source and a 2 Ω resistor feed the network through a switch that opens at . The storage element is the 1/6 H inductor, and the network on the right carries a dependent voltage source controlled by the voltage across the 3 Ω resistor.
The problem
Find for . The four steps are applied in order: the inductor current at , the output at , the output at , and the time constant from the resistance seen by the inductor.
Step 1 · : DC steady state
The inductor is replaced by a short, so node A is pinned to the reference at 0 V and the node between the 3 Ω and the 1 Ω resistors sits at . KCL there (currents out) gives
No independent source reaches that network while node A is held at 0 V, so it carries nothing. KCL at node A then delivers the quantity that matters:
Step 2 · : continuity
The switch has opened, so the 5 A source and the 2 Ω resistor are gone. The inductor current cannot jump, and it becomes a 5 A source pointing downward:
Node A now touches only the inductor and the 3 Ω resistor, so those 5 A must arrive through the 3 Ω resistor, that is, against the direction of the polarity marks. Ohm's law finishes the step:
Step 3 · : DC steady state
With the switch open, not one independent source remains in the circuit. The dependent source is not an input: it can only scale what already exists. A linear network holding resistors and dependent sources alone settles at zero.
Step 4 · : the resistance seen by the inductor
The inductor is removed, and a 1 A test source is connected at its terminals; the dependent source makes this the only reliable route to . The test current has one path out of node A, namely the 3 Ω resistor, so
KCL at node B, with the voltage at node A:
Substituting V gives , so V, and the resistance and the time constant follow:
Assemble the response
The response starts at V, which the second step produced, and decays to zero with a time constant of about 19 ms; after ms the circuit is settled for practical purposes.
Check: the inductor current gives the same answer
For the inductor and the 3 Ω resistor are in series at node A, so the inductor current is exactly the current arriving through that resistor: . The inductor current itself follows the same universal formula, with A and :
Two quantities in the same first-order circuit share one time constant; only the two end values differ. Any conflict between them would indicate an arithmetic error.
§4 · Worked example B: an op amp driving an inductor
Find
The 1/3 H inductor sits between a resistive node and the inverting input of an ideal op amp, and the dependent source below the node is controlled by the op-amp output . The switch closes at and shorts out the 4 Ω resistor.
No current enters either input, and negative feedback drives the two input voltages together. The non-inverting input is grounded here, so the inverting input is a virtual ground at 0 V at all times, and the entire inductor current must continue through the 12 Ω feedback resistor.
The problem
Find , the voltage across the inductor, for . Because the right terminal of the inductor is the virtual ground, the inductor voltage equals the node voltage at its left terminal, which shortens every equation below.
Step 1 · : DC steady state
The switch is open, so the 2 Ω and 4 Ω resistors are in series, 6 Ω in total. The inductor is a short, so its left node is also held at 0 V. The feedback resistor carries the whole inductor current, which fixes the output:
KCL at the shorted node (currents out) then gives one equation in one unknown:
Step 2 · : continuity
The switch closes and shorts the 4 Ω resistor, leaving 2 Ω between the V source and the node. The inductor becomes a 0.1 A source pointing left, since A. That current still runs through the feedback resistor, so
KCL at the left inductor terminal, whose node voltage is :
Step 3 · : DC steady state
The quantity sought is an inductor voltage, and in DC steady state the inductor is a short. No computation is required:
Step 4 · : the resistance seen by the inductor
The inductor is removed, the V source is turned off (its terminal becomes 0 V), and a 1 V test source is applied across the terminals with its positive mark on the left. The right terminal remains the virtual ground, so the left node sits at exactly 1 V, and the test current leaves the op-amp node through the source. The feedback resistor carries that same current:
KCL at the 1 V node:
Assemble the response
The time constant is 25 ms, so the inductor voltage has effectively collapsed after about 125 ms, at which point the inductor is again a short and the circuit is a resistive amplifier.
Check: the Thevenin equivalent reproduces
For the inductor sees a Thevenin source in series with . The open-circuit voltage is obtained by removing the inductor while the V source is active: no current then reaches the feedback resistor, so , the dependent source holds 0 V, and the left node satisfies
The inductor current at is A, so the port voltage at that instant is
The nodal solution of step 2 and the Thevenin equivalent of step 4 agree, which checks both of them at once.
§5 · Worked example C: an RC circuit under a step source
Find
Nothing is switched mechanically in this circuit. The source itself steps:
The unit step is zero for and one for , so the source holds 2 V before the instant and 12 V after it. A source written this way is equivalent to a switch, and the same four steps apply.
The step source jumps by 10 V at . The 2 V pedestal sets the initial steady state, and the 12 V level sets the final steady state.
The problem
Find , the voltage across the 5 Ω resistor, for . The storage element is the 1/10 F capacitor, and the dependent current source delivers upward.
Step 1 · : DC steady state
The source stands at 2 V and the capacitor is an open circuit. No current can flow through the 12 Ω resistor into that open branch, so the top plate of the capacitor sits at the source voltage, 2 V. KCL at (currents out):
KVL down the capacitor branch supplies the quantity that must be carried across the switching instant:
Step 2 · : continuity and a supernode
The source jumps to 12 V, but the capacitor voltage cannot jump: the capacitor becomes a 3 V source. That source stands between two non-reference nodes, so the two nodes are enclosed by a supernode and the top node is written as . One KCL equation over the surface then suffices:
Multiplying by 60 gives , hence :
The output jumped from V to V at the switching instant. Only was required to be continuous.
Step 3 · : DC steady state
The capacitor is again an open circuit, the 12 Ω branch again carries nothing, and the source now stands at 12 V:
Step 4 · : the resistance seen by the capacitor
The capacitor is removed, the 12 V source is turned off (a short), and a 1 A test source is applied at the terminals. The test current has one path out of the top terminal, through the 12 Ω resistor to the grounded left node, so that node stands at V. KCL at , where the same 1 A leaves upward:
Assemble the response
At the two terms give V, and as grows the response climbs to V. This response rises toward its final value, whereas the first two examples decayed to zero; the formula does not distinguish between the two cases.
Check: the capacitor current at
The capacitor current follows from the constitutive law and from KCL, and the two routes must agree. Differentiating the answer and using is awkward, so KCL is used instead. At the top node stands at V, and the current arriving from the 12 Ω resistor is
The same current is predicted by with V (the capacitor voltage runs from 3 V to 18 V through the same time constant):
§6 · Your turn
Practice: a capacitor with a switch that closes
The switch in the circuit below closes at , which places the 4 Ω resistor in parallel with the 12 Ω resistor. The four steps should be carried out on paper before the hints are opened, in order.
Find for , and then the current in the 4 Ω resistor. Given: a 24 V source, a 6 Ω resistor, a 12 Ω resistor, a 0.5 F capacitor, and the switched 4 Ω branch.
Hint 1: The two steady states
Before the switch is open and the capacitor is an open circuit, so the 24 V source drives a plain voltage divider through the 6 Ω and 12 Ω resistors. After the switch closes, the same divider is computed with in the lower leg. Note that the capacitor is connected directly across node A, so is the node voltage.
Hint 2: The time constant
No dependent source is present, so no test source is needed. The 24 V source is turned off, which shorts it, and the resistance seen at the capacitor terminals is read off directly. All three resistors then share the same two nodes.
Hint 3: The three numbers
from the first divider, from the second divider, and from the parallel combination. Substituting them into completes the problem.
Solution
Step 1. With the switch open, V.
Step 2. Continuity gives V.
Step 3. With the switch closed, , so V.
Step 4. Turning the source off places all three resistors in parallel at the capacitor terminals:
The 4 Ω resistor is connected across the same node pair, so its current is A: it starts at 4 A and settles at 2 A.
Check. The constitutive law gives A. KCL at node A at gives the same value: