Sub topic 1
What happens at the instant the source steps
Prerequisites
This chapter assumes you can do the following:
- Apply Kirchhoff's voltage and current laws (KVL and KCL).
- Use the voltage-current relations of resistors, inductors, and capacitors: v = Ri, v = L di/dt, i = C dv/dt.
- Solve first-order RC and RL step responses, including the idea of a time constant.
- Read basic complex numbers. They matter in later chapters, not in this one.
You do not need to solve second-order differential equations yet. This chapter only sets up the starting point for that work.
Why the instant of the step matters
A series RLC circuit contains a resistor, an inductor, and a capacitor in one loop. A DC source of value Vs is switched in at time t = 0. The later chapters solve for how the capacitor voltage v_C(t) moves from its starting value to its final value. That solution needs starting values, and those starting values come from what the circuit does at the switching instant.
This chapter answers one question: which quantities stay the same across the step, and which ones can jump? Everything else in the tutorial depends on the answer.
Two times are used throughout:
- t = 0- is the instant just before the step. The circuit is in whatever state the earlier conditions left it.
- t = 0+ is the instant just after the step. The source has changed, but the stored energy has not had time to change.
Energy storage forbids instant jumps
A capacitor stores energy in its electric field, and an inductor stores energy in its magnetic field:
- Capacitor energy: wC = (1/2) C vC²
- Inductor energy: wL = (1/2) L iL²
Power is the rate of change of energy, p = dw/dt. A sudden jump in vC or iL would change the stored energy in zero time. That requires infinite power, and no real source or ideal resistor supplies it.
The element equations give the same result. If vC jumped, then i = C dv/dt would be infinite. If iL jumped, then v = L di/dt would be infinite. Neither is possible when the circuit's sources and resistances are finite.
This gives the two continuity rules:
- vC(0+) = vC(0-)
- iL(0+) = iL(0-)
What can and cannot jump
The rest of the circuit adjusts to keep KVL and KCL true. In the series circuit all three elements carry the same current, so the table below follows directly.
| Quantity | Can it jump at t = 0? | Reason |
|---|---|---|
| Capacitor voltage v_C | No | Stored energy cannot change instantly |
| Inductor current i_L | No | Stored energy cannot change instantly |
| Series current i | No | Equals i_L, since all elements share one loop |
| Resistor voltage v_R | No | v_R = R i, and i cannot jump |
| Inductor voltage v_L | Yes | v_L = L di/dt, and di/dt can change abruptly |
| Capacitor current i_C | Yes in general | i_C = C dv/dt. In the series loop it equals i, so it does not jump here |
| Source voltage | Yes | This is the step itself |
In the series circuit the inductor voltage is the quantity that absorbs the step. At t = 0+ the capacitor voltage and the loop current are still at their old values. KVL then forces the inductor voltage to take whatever value balances the loop:
vL(0+) = Vs - R i(0+) - vC(0+)
This equation is the main result of the chapter.
The equivalent circuit at t = 0+
You can redraw the circuit at t = 0+ by replacing each storage element with a source that holds its old value:
- The capacitor becomes a voltage source of value v_C(0-).
- The inductor becomes a current source of value i_L(0-).
The resulting circuit has only sources and resistors, so ordinary KVL and KCL solve it. The two standard shortcuts are special cases of this picture:
- With zero initial energy, the capacitor behaves as a short circuit at t = 0+, because it is a 0 V source. The inductor behaves as an open circuit, because it is a 0 A source.
- At t = infinity under DC, the capacitor behaves as an open circuit and the inductor as a short circuit. This gives the final values.
The final values for the series RLC circuit are v_C(infinity) = Vs and i(infinity) = 0. The capacitor charges to the source voltage, and no DC current flows through it.
Initial slopes
Continuity gives the initial values of v_C and i. The slopes come from the element equations evaluated at t = 0+:
- di/dt at 0+ equals v_L(0+) / L
- dv_C/dt at 0+ equals i(0+) / C
The capacitor-voltage slope is the one that matters most later. The second-order equation for vC needs both vC(0+) and its derivative, and the derivative is simply i(0+)/C. The chapter on initial conditions develops this fully. The point to take from this chapter is that the slope is known without any differential equation, using only continuity and a KVL equation at t = 0+.
Worked example: starting from rest
Take Vs = 10 V, R = 20 ohm, L = 1 mH, and C = 1 uF. The circuit has no stored energy, so v_C(0-) = 0 and i(0-) = 0.
- Continuity gives v_C(0+) = 0 V and i(0+) = 0 A.
- The resistor voltage is v_R(0+) = 20 x 0 = 0 V.
- KVL gives v_L(0+) = 10 - 0 - 0 = 10 V. The inductor takes the whole step.
- The current slope is di/dt = 10 / 0.001 = 10,000 A/s.
- The capacitor-voltage slope is dv_C/dt = 0 / C = 0 V/s.
The last result is worth remembering. The capacitor voltage starts with zero slope, so v_C leaves 0 V flat and curves upward only as current builds. This is why every step response of a series RLC circuit starts with a smooth, S-shaped beginning. A first-order RC circuit, by contrast, starts at its steepest slope.
Worked example: nonzero initial energy
Now suppose the circuit sat in a steady state before t = 0 with v_C(0-) = 4 V and i(0-) = 50 mA. At t = 0 the source steps to Vs = 10 V. The element values are the same as before.
- Continuity gives v_C(0+) = 4 V and i(0+) = 0.05 A.
- The resistor voltage is v_R(0+) = 20 x 0.05 = 1 V.
- KVL gives v_L(0+) = 10 - 1 - 4 = 5 V.
- The current slope is di/dt = 5 / 0.001 = 5,000 A/s.
- The capacitor-voltage slope is dv_C/dt = 0.05 / 1e-6 = 50,000 V/s.
This time the capacitor voltage starts with a steep slope, because current is already flowing. The same bookkeeping can be automated:
def initial_state(Vs, R, L, C, v0, i0):
"""Values just after a step, given v_C(0-) = v0 and i_L(0-) = i0.
Continuity carries v0 and i0 across the step. KVL then fixes v_L.
"""
v_R = R * i0
v_L = Vs - v_R - v0
return {
"v_C": v0,
"i": i0,
"v_R": v_R,
"v_L": v_L,
"di_dt": v_L / L,
"dvC_dt": i0 / C,
}
R, L, C, Vs = 20, 1e-3, 1e-6, 10
print("from rest:", initial_state(Vs, R, L, C, 0.0, 0.0))
print("with energy:", initial_state(Vs, R, L, C, 4.0, 0.05))The first call prints vL = 10.0 and didt = 10000.0. The second prints vL = 5.0, didt = 5000.0, and dvC_dt = 50000.0.
Common errors and edge cases
- Using t = 0+ values for the capacitor current or inductor voltage taken from t = 0-. These quantities can jump. Recompute them with KVL or KCL at t = 0+, as above.
- Finding the pre-step state with the new source. The values at t = 0- belong to the circuit before the switch acts. If the old circuit was in DC steady state, treat the capacitor as open and the inductor as short in that old circuit.
- Treating the source step as a gradual change. The source voltage itself does jump. Only the stored-energy quantities are continuous.
- Ideal circuits that break continuity. Two ideal capacitors in parallel with different initial voltages, or an inductor in series with a current source and another inductor path, can produce impulses. Real circuits have small resistances that prevent this, and the circuits in this tutorial are free of this problem.
- Sign conventions. Keep the reference direction of i consistent with the capacitor voltage polarity, so that i = C dv_C/dt has the right sign.
Where this leads
The chapters that follow derive the second-order equation for vC and solve it. Its solution needs two numbers to fix the two unknown constants, vC(0+) and dv_C/dt at 0+. You now know how to find both from the circuit alone.
Exercise
A series RLC circuit has R = 50 ohm, L = 10 mH, and C = 2 uF. Before t = 0 the source is 0 V, the capacitor holds 3 V, and the inductor current is 20 mA. At t = 0 the source steps to 12 V. Find vL(0+), di/dt at 0+, and dvC/dt at 0+.
Show answer
By continuity, vC(0+) = 3 V and i(0+) = 0.02 A. The resistor voltage is 50 x 0.02 = 1 V. KVL gives vL(0+) = 12 - 1 - 3 = 8 V. Then di/dt = 8 / 0.01 = 800 A/s, and dv_C/dt = 0.02 / (2e-6) = 10,000 V/s.
Exercise
A series RLC circuit starts from rest and the source steps to Vs. Which element carries the full source voltage at t = 0+, and what are the final values of v_C and i?
Show answer
The inductor carries the full voltage, because vC(0+) = 0 and vR(0+) = R x 0 = 0, so vL(0+) = Vs. The final values are vC = Vs and i = 0, since the capacitor acts as an open circuit under DC.