§1 · Two storage elements
A second storage element raises the order by one
A circuit that contains two energy storage elements is described by a second-order differential equation. The storage elements may be an inductor and a capacitor together, two inductors, or two capacitors; what matters is that two independent states are present, so that two derivatives are required to close the description.
Three arrangements of two storage elements. In each case the two elements are neither in series nor in parallel with each other, so neither can be absorbed into the other, and two independent states remain.
For a DC input the equation takes the standard form
in which is a constant precisely because the input is a constant. The response may be any voltage or any current in the circuit; the choice is made by the question that was asked. Two initial conditions, and , are required to select one solution out of the family that the equation admits.
The complete response is the sum of the output caused by the input and the output caused by the initial conditions. Both parts are carried by the same differential equation: the input fixes the constant on the right-hand side, and the initial conditions fix the two arbitrary constants that the general solution contains.
§2 · The process
Boundary values first, then the equation, then the solution
Three steps produce the response, and they are performed in this order because each one supplies what the next one consumes.
- Find the initial conditions and , and the steady state . These three numbers are read from three separate circuits, described in the tabs below.
- Find the differential equation for . The equation is assembled from KVL or KCL written on the circuit that exists after the switch has acted.
- Solve the differential equation. The characteristic equation and the three damping cases are the subject of Lecture 11.
The circuit before the switch acts has been at rest long enough to reach DC steady state, so the capacitor is replaced by an open circuit and the inductor is replaced by a short circuit. What is sought here is not the answer but the two quantities that cannot change instantaneously:
Every other voltage and current in the circuit is free to jump at the instant of switching, and generally does.
Continuity carries the two quantities across the switching instant: and . Those values are placed in the new circuit, and the remaining unknown is the derivative, which is obtained from the element laws
The derivative is therefore found by finding or in the new circuit, in which the two continuous quantities are already known.
Long after the switch has acted the circuit is again in DC steady state, so the capacitor is again an open circuit and the inductor is again a short circuit. What is sought is or , which serves two purposes: it is one of the three numbers the solution requires, and it is an independent check on the differential equation, because setting every derivative to zero in
leaves , that is, .
The two substitutions that make the DC steady-state circuits purely resistive. A capacitor carries no current when its voltage is constant, and an inductor supports no voltage when its current is constant.
§3 · The example: the three boundary values
The switch shorts the 10 Ω resistor at
The circuit below contains one capacitor and one inductor, so it is second order, and the objective is . The switch closes at , which places a short across the 10 Ω resistor and changes the circuit that governs the response. Step 1 of the process is carried out first.
The problem
Find for . The switch closes at . The storage elements are the 1/20 F capacitor and the 2/5 H inductor, and the source is the 24 V source.
At : DC steady state
The circuit has been at rest, so the capacitor is an open circuit and the inductor is a short circuit. One loop remains, carrying through the 2 Ω and 10 Ω resistors:
The negative sign states that 2 A circulates opposite to the labeled arrow, so 2 A flows downward through the 2 Ω resistor. Ohm's law then gives the capacitor voltage directly, because the capacitor is connected across that resistor:
At : what carries across
Only two quantities are continuous through the switching instant, and both have just been computed:
The switch is now closed, so the 10 Ω resistor is shorted and carries no current. Every other quantity in the circuit has jumped.
At : the derivative
The remaining initial condition is , and the element law converts it into a voltage. KVL around the right window pane, in which the capacitor voltage is known and the 10 Ω resistor is shorted out, supplies that voltage:
At : DC steady state again
The capacitor is an open circuit and the inductor is a short circuit once more, but the switch is now closed, so the 10 Ω resistor no longer appears. The 24 V source drives the 2 Ω resistor alone:
The three numbers required by the solution are therefore A, A/s, and A. The shorted 10 Ω resistor is what separates the final value from the initial value.
§4 · The example: the differential equation
Two unknowns, two equations, one substitution
Step 2 assembles the differential equation on the circuit that exists for . Two unknowns are chosen, and for a circuit with one capacitor and one inductor the natural pair is and . Two equations are then written in those unknowns, and one is substituted into the other until a single equation in a single variable remains.
The pair of unknowns is and for an RLC circuit, and for two capacitors, and and for two inductors. In every case the states are the quantities that cannot jump, and the element laws and are what introduce the derivatives.
The element laws
The passive sign convention is applied to both storage elements, with the labeled current entering the terminal marked positive:
These two relations are the only place derivatives enter, and they are what raise a resistive network to a differential equation.
Branch currents with the fewest unknowns
The capacitor branch carries and the inductor branch carries . KCL at the top node then fixes the left branch, which must carry upward through the 2 Ω resistor. No third symbol is introduced.
KVL around the left window pane
The capacitor current has been replaced by , so equation (1) contains only the two chosen unknowns and one derivative.
KVL around the right window pane
Equation (2) is solved for on sight, which makes it the one to substitute. Its derivative is required as well, and the constant differentiates away:
Substitute (2) into (1)
Multiplying by 25 clears the fractions and normalizes the leading coefficient, which is the form the solution procedure expects:
Check the equation against the steady state
At every derivative vanishes, so the equation collapses to , that is, A. This agrees with the value obtained from the DC steady-state circuit in section 3, which confirms both the equation and the boundary value. A disagreement here indicates a sign error, and it is far cheaper to find it now than after the equation has been solved.
§5 · The response that follows
Three numbers and one equation determine
The board notes stop at the differential equation, and Lecture 11 develops the solution procedure in full. The result for this circuit is recorded here so that the three boundary values may be seen doing their work. The characteristic equation is
so the roots are complex and the response is underdamped: a decaying oscillation superposed on the final value. With A as the particular solution,
and the two initial conditions fix the two constants: A gives , and A/s gives . Therefore
The response starts at −2 A with a slope of −50 A/s, overshoots below the final value, and settles at −12 A. The slider walks a marker along the curve.
iL( s) = −12 + 10e−5t cos 5t = A
Verification of the two constants
Substituting into the solution gives A, which matches . Differentiating gives
and substituting gives A/s, which matches . As the exponential vanishes and A, which matches the DC steady-state circuit. All three boundary values are reproduced.
Writing the characteristic equation as gives s⁻¹ and rad/s, so the damping ratio is . A damping ratio below unity is the underdamped case, which is why the curve overshoots. The three cases and their solution templates are treated in Lecture 11.
§6 · Two capacitors and an ideal op amp
The same process without a single inductor
The circuit below contains no inductor, yet it is second order, because it contains two capacitors that are neither in series nor in parallel. The objective is the differential equation for the output voltage . The element law is applied to each capacitor, and the op amp supplies two constraints rather than an equation.
What the ideal op amp contributes
Two properties of the ideal op amp are used, and neither of them is an equation to be solved. No current enters either input terminal, and the two input terminals are held at the same voltage. The output is tied back to the inverting input, so the amplifier acts as a follower and the node above the lower capacitor and the output node both carry .
Marking the two nodes with the same symbol is what makes the left node voltage : the capacitor voltage is measured from the output rail down to that node.
The two capacitor currents
Under the passive sign convention the current in each capacitor enters the terminal marked positive:
The current therefore flows into the left node, and flows out of the lower node into the reference.
KCL at the lower node
No current enters the op amp input, so the only branches at this node are the 2 Ω resistor, the 2 A source, and the lower capacitor:
The output voltage cancels in the first term, and the equation is solved for :
KCL at the left node
Four branches meet at the node marked : the 10 Ω resistor to the source, the upper capacitor, the 2 Ω resistor, and the 2 A source. The capacitor current enters the node, so it is subtracted from the currents that leave:
Multiplying through by 10 and collecting terms gives
Substitute (1) into (2)
Equation (1) supplies both and, after differentiation, :
Check against the DC steady state
Setting the derivatives to zero gives , that is, V. The same value is obtained independently from the DC circuit, in which both capacitors are open. No capacitor current flows, so the 2 A source must pass entirely through the 2 Ω resistor, and the 10 Ω resistor carries no current at all:
The roots of are and , which are real and distinct, so this response is overdamped and does not oscillate.
§7 · Three loops, two independent equations
Writing more equations than the circuit contains
The circuit below has three window panes to write KVL around, but only two of the three equations are independent, because the third is the sum of the other two. Two independent equations are exactly what a second-order circuit requires, and the pair that is easiest to substitute should be selected. The source is left symbolic as , which costs nothing and makes the structure of the result visible.
The unknowns and the element laws
The states are the capacitor voltage and the inductor current , and the element laws introduce the derivatives:
Branch currents
The 5 Ω resistor and the inductor are in series with each other, so both carry . The capacitor carries , and KCL at the node between them assigns to the 4 Ω resistor. One symbol per state covers every branch.
Three loops, two of them independent
Adding (1) and (2) produces (3) exactly, so the outer loop carries no new information. Equations (1) and (2) are kept.
Solve (1) for and differentiate
Equation (1) is already solved for by inspection, which is why it is the one to eliminate:
The source is a constant, so it contributes nothing to the derivative. A time-varying source would contribute a term here, which is exactly how a forcing function reaches the right-hand side.
Substitute into (2)
Check against the DC steady state
Setting the derivatives to zero gives , that is, . The DC circuit confirms it: the capacitor is open and the inductor is a short, so the source drives the 5 Ω and 4 Ω resistors in series and delivers . ✓
The roots of are , so this response is underdamped, though only just: the damping ratio is .
§8 · Your turn
Practice: two inductors and a switch
This circuit contains no capacitor and two inductors, so the process applies unchanged with and as the states. The switch closes at , having been open long enough that both inductor currents are zero. The problem should be attempted on paper before the hints are opened, in order.
Find the three boundary values , , and , and the differential equation governing , the current in .
Hint 1: The boundary values
Before the switch closes, no source is connected, so , and inductor currents are continuous: . For the derivative, apply , and note that with both currents zero at there is no drop across either resistor. Long afterwards both inductors are short circuits, which places node a at the reference and puts the whole source current through .
Hint 2: The plan
Take the node voltage at a as . It equals because connects that node to the reference. Two equations follow: KVL around the source loop, and KVL around the loop formed by , the 2 Ω resistor, and . Eliminate between them.
Hint 3: The two equations
The first equation gives , and differentiating it gives . Both are substituted into the second equation.
Solution
The boundary values are read from the three circuits:
Substituting and into gives
The steady-state check passes: gives A, which agrees with the DC circuit, in which short-circuits node a so that and the 1 Ω resistor carries the entire 12 A.
The roots of are , which are real and distinct, so the response is overdamped. Carrying the solution through, which is the subject of Lecture 11, yields
and this expression reproduces , A/s, and A. ✓