§1 · Chapter 7 opens
One energy storage element changes everything
Every circuit considered so far has been purely resistive, and every response has therefore been instantaneous: a change at the source appeared at the output in the same instant. The introduction of a single energy storage element, either a capacitor or an inductor, replaces the algebraic problem with a differential one. Because one storage element contributes one derivative, the governing equation is of first order and requires exactly one initial condition.
The response of such a circuit is the sum of two parts, and the vocabulary for them is worth fixing at the outset.
The transient response diminishes in time and carries the memory of the initial condition. The steady-state response is what remains after the transient has decayed; for the DC sources treated in this chapter, it is a constant. Energy is stored in the element during one part of the interval and supplied back to the circuit during another, which is precisely what the transient describes.
The resistive part is always reduced first
Whatever the surrounding network contains, it is linear and resistive, so it may be replaced by its equivalent as seen from the terminals of the storage element. A capacitor is most conveniently driven by a Thevenin equivalent, because the capacitor voltage is the natural variable and a voltage source states it directly. An inductor is most conveniently driven by a Norton equivalent, because the inductor current is the natural variable. Only two circuits therefore need to be solved in the whole chapter.
RC: the capacitor sees a Thevenin equivalent
RL: the inductor sees a Norton equivalent
§2 · Switches and the unit step function
The switching instant defines
A switched circuit has two topologies: one that has been in place long enough before the switching instant for all transients to have died out, and one that applies afterwards. The instant of the change is taken as by convention, and the two symbols below distinguish the two possible actions.
A switch that closes at is drawn open, and a switch that opens at is drawn closed; in both cases the symbol shows the state that holds before the switching instant.
The unit step function
The same change may be written into the source itself rather than drawn as a mechanism. The unit step function is defined by
and its value at itself is left undefined, which costs nothing because the circuit variables are evaluated at and rather than at . A source labeled V is therefore off before the switching instant and delivers 2 V afterwards, while V does the opposite. Reversing the argument reverses time.
Any single-step waveform can be written as a constant plus a scaled step. The two sliders below set the constant and the step amplitude , and the tabs select the direction of the argument; the four cases from the board notes are available as presets.
vs(t) = V ⟹ t < 0: V t > 0: V
With the argument , the step is off before the switching instant and on afterwards. The constant therefore sets the value that holds for , and sets the value that holds for . This is the natural form when a source is applied at .
With the argument , the step is on before the switching instant and off afterwards. The constant now sets the value that holds for , so the final value is read directly from and the initial value from . This is the natural form when a source is removed at , which is the case in the RC example of §7.
A step source is a switch and two ordinary sources
A source expression such as V is not exotic hardware. It is realized by two constant sources and one single-pole double-throw switch, as the board notes show. The value before the switching instant is V and the value afterwards is 3 V, which fixes the polarity of the lower source.
Before : the blade rests on the lower throw
The 7 V source is connected with its positive terminal at the reference node, so the port sees V. This matches evaluated for , where .
After : the blade moves to the upper throw
The 3 V source is connected instead, so the port sees V. This matches , where and only the constant term survives. Any source written as a constant plus a step admits the same two-source construction.
§3 · The governing differential equation
Two circuits, two equations, one structure
The reduced circuits are solved once and for all. The element laws and are substituted into a single Kirchhoff equation, and the result is arranged with the unknown and its derivative on the left.
RC: one loop, so KVL is written
RL: one node pair, so KCL is written
KVL is applied around the single loop, and the resistor current is the capacitor current:
Division by puts the equation in standard form:
The coefficient of the unknown is the reciprocal of , a quantity with units of seconds, since one ohm-farad is one second.
KCL is applied at the upper node, and the resistor voltage is the inductor voltage:
Multiplication by puts the equation in standard form:
The coefficient of the unknown is again the reciprocal of a time constant, here , since one henry per ohm is one second.
The capacitor voltage and the inductor current cannot change instantaneously, because a step in either would require infinite current or infinite voltage respectively. These two variables are therefore continuous across the switching instant: and . Every other variable in the circuit is free to jump, and in general it does.
The response is written as a transient part plus a steady-state part, and both parts must satisfy the differential equation individually before they may be added. The derivation of §4 enforces exactly this by matching the two groups of terms separately.
§4 · Solving by an assumed form
Guess the shape, then let the equation fix the constants
The equation is linear with constant coefficients and a constant forcing term, so the shape of the answer is known in advance: a decaying exponential for the transient part and a constant for the steady-state part. The unknown constants are then determined by substitution. The derivation is carried out for the inductor; the capacitor result follows by the same algebra.
Assume the form
Three unknowns are introduced, namely , , and . Two of them are fixed by the differential equation itself and the third by the initial condition.
Substitute into the equation
Carrying out the differentiation and grouping the exponential terms against the constant terms gives
The transient terms must sum to zero
An exponential is not a constant, so no constant on the right can cancel it. The exponential group must therefore vanish on its own:
The root is a property of the circuit alone. It does not depend on the sources or on the initial condition, and its reciprocal magnitude is the time constant.
The constant terms must be equal
What remains is an equality between constants:
The steady-state part is simply the value the inductor current settles to, which is the entire Norton source current once the inductor behaves as a short circuit.
Apply the initial condition
Only now is the initial condition used, and it is applied to the complete solution rather than to either part alone. With carried across the switching instant by continuity:
Assemble the two parts
The dual result for the capacitor is obtained by the same steps, with the Thevenin voltage in place of the Norton current:
Both have the identical structure of an initial value, a final value, and one exponential that carries the response from one to the other.
§5 · The general first-order response
One formula covers every variable in the circuit
The two results above are stated for the storage-element variable, but the restriction is unnecessary. Every voltage and every current in a first-order circuit obeys the same differential equation with the same root , because the root is a property of the circuit rather than of the variable chosen. Any response may therefore be written as
Three numbers are all that is required: the value just after switching, the value long afterwards, and the time constant. The plot below is driven by exactly those three.
The solid curve is the response, the dashed horizontal line is , and the short dashed line from is the tangent at the origin. The tangent reaches the final value at exactly , which is the standard graphical construction for the time constant.
f(t) = [ − ] e−t / s + = e−t/τ +
After one time constant the response has covered of the total change, and after five time constants it has covered . The second figure is the practical definition of settled, and it explains the common engineering rule that a first-order circuit is finished after roughly .
§6 · The five-step process
From a switched circuit to
The formula of §5 needs three numbers, and each is obtained from a resistive circuit. No differential equation is ever solved again after this point; the following procedure replaces it.
- Draw the circuit and solve it at DC steady state. Because the circuit has been in this state indefinitely, the capacitor is an open circuit and the inductor is a short circuit. Find or at .
- Carry that one value across the switching instant. Continuity gives or . Draw the circuit with the capacitor replaced by a voltage source of that value, or the inductor replaced by a current source of that value, and solve it for the requested variable . (1)
- Draw the circuit and solve it at DC steady state. The capacitor is again an open circuit and the inductor again a short circuit. Solve for . (2)
- Find the time constant from the circuit. Remove the storage element and mark its terminals and ; turn off the independent sources; compute looking into -; then or . (3)
- Assemble. .
At DC steady state no variable is changing, so and : the capacitor is an open circuit and the inductor a short circuit. These two replacements are used in step 1 and again in step 3.
The DC steady-state replacements apply only in steps 1 and 3, never in step 2: at the circuit is not at steady state, and the storage element is represented by a source holding its carried-over value. Independent sources are turned off in step 4 only; dependent sources are never turned off, exactly as in the Thevenin procedure of Lecture 4.
§7 · Worked example A: an RC circuit
Find
The current source is written mA, so it supplies 2 mA before the switching instant and nothing afterwards. The requested variable is , the current in the 2 kΩ resistor, which is not the capacitor variable and is therefore free to jump at .
The problem
Find for . The single storage element is the 1 μF capacitor, so the circuit is first order. The five-step process of §6 is applied without modification.
Step 1: the circuit at DC steady state
The source supplies 2 mA and the capacitor is an open circuit, so no current is diverted into it and the same flows through the 2 kΩ and the lower 1 kΩ. KCL at the right node then forces mA through the upper 1 kΩ, and KVL around the top loop gives
The whole 2 mA therefore returns through the 4 kΩ resistor, and KVL around the left loop delivers the quantity that actually matters:
Step 2: the circuit
Continuity of the capacitor voltage carries 9 V across the switching instant, so the capacitor is replaced by a 9 V source. The current source is now off and therefore an open circuit, which leaves the upper 1 kΩ and the lower 1 kΩ in series between the left node and the capacitor node. Taking the bottom rail as the reference and the left node as , KCL at the left node gives
The jump from mA to mA is entirely legitimate: only is required to be continuous.
Step 3: the circuit at DC steady state
The source remains off for all , so no independent source is left in the circuit at all. With the capacitor again an open circuit, every branch current must vanish:
Step 4: the time constant
The capacitor is removed and the resistance looking into its terminals is computed with the current source turned off, that is, replaced by an open circuit. From the capacitor node, the 2 kΩ and the series pair 1 kΩ + 1 kΩ run in parallel back to the left node, and the 4 kΩ continues from there to the reference:
Step 5: assemble
Because the final value is zero, the response is a pure transient: all the energy stored on the capacitor before the switching instant is delivered to the resistors afterwards.
The waveform of . The step down at from mA to mA is the discontinuity permitted to a resistor current, and the dashed vertical line marks one time constant.
Independent check by node voltages
The result may be confirmed without the KVL bookkeeping of step 2. For the only source is the capacitor itself, so every variable is proportional to . Writing node equations at with V, at the right node, and at the left node:
Then mA, in agreement. ✓ The same relation holds at every instant, and since V, it returns mA once more. ✓
§8 · Worked example B: an RL circuit
Find
The switch is closed before the switching instant and opens at , which is the opposite action to Example A. While it is closed it short-circuits the 4 Ω resistor, so the requested voltage is held at zero until the switch releases it.
The problem
Find , the voltage across the 4 Ω resistor. The single storage element is the ½ H inductor, so is a first-order response and the process of §6 applies.
Step 1: the circuit at DC steady state
The inductor is a short circuit at DC, and the closed switch places another short across the 4 Ω resistor. Both the 3 Ω and the 4 Ω are therefore short-circuited, and the entire source current is carried by the inductor branch:
Step 2: the circuit
Continuity of the inductor current carries 2 A across the switching instant, so the inductor is replaced by a 2 A source. The switch is now open, so that 2 A has only the 4 Ω resistor to flow through:
KCL at the left node leaves nothing for the 3 Ω resistor: the 2 A delivered by the source is exactly the 2 A taken by the inductor branch, so that resistor carries no part of this current.
Step 3: the circuit at DC steady state
The inductor is a short circuit once more, which places the 3 Ω and the 4 Ω in parallel across the 2 A source. KCL at the upper node gives
Step 4: the time constant
The inductor is removed and its terminals are marked and . The 2 A source is an independent source and is therefore turned off, that is, replaced by an open circuit, which detaches the leftmost branch entirely. What remains between and is the 3 Ω in series with the 4 Ω:
The two resistors are in series here, not in parallel, because turning off the current source opens its branch and leaves only one path from to .
Step 5: assemble
Here the final value is not zero, so the response is a genuine sum of a transient part and a steady-state part, decaying from 8 V toward V.
The waveform of . The voltage is held at zero by the closed switch, jumps to 8 V the instant the switch opens, and decays toward the steady-state value V with the time constant s.
Independent check of the final value and the jump
The value at may be checked by current division rather than by KCL. With the inductor shorted, the 2 A source divides between the 3 Ω and the 4 Ω resistors, and the current in the 4 Ω branch is A, so V. ✓
The value at is checked by noting that the inductor current cannot change, so the 3 Ω resistor and the 2 A source must together carry zero net current into the upper node: the source delivers 2 A, the inductor removes 2 A, and the 3 Ω resistor is left with none. The full 2 A therefore reaches the 4 Ω resistor and V. ✓ Substituting into the final expression returns V, as required. ✓
§9 · Your turn
Practice: find
The switch in the circuit below is open for a long time and closes at . The problem should be attempted on paper before the hints are opened, in order. All three numbers required by the general formula come out as whole values, which makes the answer easy to check.
Find for , and then the current delivered through the 2 kΩ branch once the switch has closed.
Hint 1: the initial condition
With the switch open, the 2 kΩ branch carries nothing and the capacitor is an open circuit at DC steady state. The circuit reduces to a single loop through the 3 kΩ and the 6 kΩ resistors, so a voltage divider gives the voltage at node A, which is .
Hint 2: the final value
With the switch closed and the capacitor again an open circuit, the 6 kΩ and 2 kΩ resistors appear in parallel between node A and the reference. Combine them, then apply the voltage divider a second time against the 3 kΩ.
Hint 3: the time constant
Remove the capacitor and turn off the 12 V source, which means replacing it by a short circuit. Three resistors then run in parallel from node A to the reference. Multiply the result by .
Solution
Step 1. With the switch open, V, and continuity gives .
Step 3. With the switch closed, , so
Step 4. With the 12 V source shorted, all three resistors are in parallel:
Step 5. Assembling the three numbers:
The current in the 2 kΩ branch follows directly from Ohm's law, since that branch is connected across the capacitor once the switch is closed:
Check by the differential equation. KCL at node A with the switch closed reads . Multiplying by 6000 and collecting terms gives
whose time constant is s and whose steady-state value is V, both matching the results above. ✓ At the expression returns V, which matches the initial condition. ✓