Skip to content

Switched first-order circuits

Solve a first-order circuit switched at two instants, interval by interval, and a first-order op-amp circuit, and sketch the whole waveform.

It opens on

A switch closes at t = 0 and opens again at t = 0.3 s. The time constant is different before and after. Does one formula cover the whole waveform?

Why it matters

Real circuits switch again and again: a timer charges and then discharges, a digital line drives a pulse into a wire's capacitance, and an op-amp filter settles after a step. Exams give two switching times and ask for the value at a time in the second interval, a sketch across both, and the output of an op-amp RC circuit.

Good to know first

  • The general form v(∞) + [v(0) − v(∞)]e−t/τ
  • Thévenin equivalents
  • the unit step
  • the ideal op-amp's virtual ground

Step by step

  1. Two switching instants

    Solve each interval with its own initial value, final value and time constant, carrying the capacitor voltage across each switching instant.

    In the first interval, v = 10(1 − e−10t) V. At 0.3 s, v = 10(1 − e−3) = 9.50 V.

    A common mix-up

    The second interval uses t, not t − 0.3.

    In fact: The exponential must start at the switching time, so it uses t − t₀.

  2. A pulse as two steps

    Find the response to a rectangular pulse either interval by interval or as the difference of two delayed step responses, and see that they agree.

    Interval by interval, at 0.2 s, v = 10(1 − e−2) = 8.65 V, then v = 8.65e−10(t − 0.2) after.

    A common mix-up

    A short pulse fully charges the capacitor.

    In fact: It reaches only 1 − e−T/τ of the pulse height; a pulse of 0.5τ gets to 39 %.

  3. A first-order op-amp circuit

    Find the time constant and final value of an op-amp circuit with one capacitor, using the virtual ground, and write the output's step response.

    In the steady state the capacitor is open, leaving an inverting amplifier, vo(∞) = −(20/10) × 1 = −2 V.

    A common mix-up

    τ = R₁C, since R₁ carries the input.

    In fact: R₁ ends at the virtual ground, so the capacitor sees only Rf.

Try it

What is v at t = 0.7 s?Answer

1.29 V, two τ₂ after 0.3 s, 9.50e−2

Hint: t − 0.3 = 0.4 s

For that 0.05 s pulse, what is v at 0.15 s?Answer

1.45 V, from 3.93e−1

Hint: One τ after it ends

With a 2 V input, R₁ = 10 kΩ, Rf = 50 kΩ and C = 2 µF, what is vo at 0.2 s?Answer

−8.65 V, since vo(∞) = −10 V and τ = 0.1 s

Hint: Two time constants

After the switch opens, what is the final value and the time constant?Answer

0 V and 0.2 s, since only R₂ = 10 kΩ is left across the 20 µF

Use the two-step form to find v at 0.3 s.Answer

3.18 V, since 10(1 − e−3) − 10(1 − e−1) = 10(e−1 − e−3)

Switched first-order circuits

30 minutes every month. No card.