ENع
→RC transients
الدرس 20 · Capacitors, inductors and first-order circuits

The RC circuit: natural and step response

لم يُترجم بعد؛ يُعرض باللغة الإنجليزية

15 دقيقة10 خطوات5 أسئلةIntermediate
عن هذا الدرس

A capacitor's voltage cannot jump, so a circuit with a resistor and a capacitor changes smoothly over time. Close a switch on a 12 V source, a 10 kΩ resistor and a 100 µF capacitor, and watch the capacitor charge with the time constant τ = RC = 1.0 s; then let it discharge through the resistor. Both curves follow one rule. The capacitor itself is introduced in the Hardware lesson "Resistors and capacitors" and in "Capacitors: current, voltage and stored energy"; Kirchhoff's voltage law and Ohm's law come from their own lessons.

ستتعلّم

حدّد ما تشعر بأنك أتقنته. هذا التقييم الذاتي لا يؤثر في درجة الدرس.

شكل 20 · تفاعلي
01 / 10

A source, a resistor, a capacitor

A 12 V source, switch S1, a 10 kΩ resistor and a 100 µF capacitor form one loop. Switch S2 can join the resistor straight to the bottom wire. Both switches are open and the capacitor is empty.

source      Vs = 12 V
resistor    R  = 10 kΩ
capacitor   C  = 100 µF, empty: vC = 0
switch S1   open (closes at t = 0)
switch S2   open (closes at t = 5 s)

No closed path: no current yet.
جارٍ تحميل الرسم…
أو ← →
اقرأ الدرس خطوة بخطوة
  1. A source, a resistor, a capacitor

    A 12 V source, switch S1, a 10 kΩ resistor and a 100 µF capacitor form one loop. Switch S2 can join the resistor straight to the bottom wire. Both switches are open and the capacitor is empty.

    source      Vs = 12 V
    resistor    R  = 10 kΩ
    capacitor   C  = 100 µF, empty: vC = 0
    switch S1   open (closes at t = 0)
    switch S2   open (closes at t = 5 s)
    
    No closed path: no current yet.
  2. A capacitor stores charge

    A capacitor is two plates with a gap. Its current is i = C·dv/dt: current flows only while its voltage changes. So its voltage cannot jump; a jump would need infinite current. It stores energy ½Cv².

    q = C·v          (charge on the plates)
    i = dq/dt = C·dv/dt
    
    steady voltage  -> dv/dt = 0 -> i = 0
    voltage jump    -> dv/dt = ∞ -> impossible
    
    energy stored    w = ½·C·v²
    here now         vC = 0 V, w = 0 J
  3. S1 closes: the first instant

    At t = 0, S1 closes. The capacitor voltage cannot jump, so just after (t = 0⁺) it is still 0 V. All 12 V sits across R: i(0⁺) = Vs/R = 12 / 10 kΩ = 1.2 mA.

    t = 0⁺   vC(0⁺) = vC(0⁻) = 0 V
             vR = Vs − vC = 12 V
             i(0⁺) = vR / R = 12 V / 10 kΩ
                   = 1.2 mA
    
    At this instant the empty capacitor
    acts like a plain wire (a short).
  4. One equation: first order

    Walk round the loop (Kirchhoff's voltage law): Vs = R·i + vC. Put i = C·dvC/dt in: RC·dvC/dt + vC = Vs. It has one derivative, so it is a first-order circuit.

    KVL round the loop
      Vs = vR + vC = R·i + vC
    capacitor
      i = C·dvC/dt
    so
      RC·dvC/dt + vC = Vs
    
    first order: only dvC/dt appears
    solution: vC(t) = Vs·(1 − e^(−t/RC))
  5. The time constant τ = RC

    The product RC has units of seconds. It is the time constant: τ = 10 kΩ × 100 µF = 1.0 s. After one τ the capacitor reaches 1 − e⁻¹ = 63.2 % of the way: 7.59 V.

    τ = R·C = (10 × 10³ Ω)(100 × 10⁻⁶ F)
      = 1.0 s          (Ω·F = s)
    
    vC(τ) = 12·(1 − e⁻¹)
          = 12 × 0.632 = 7.59 V
    i(τ)  = 1.2 mA × e⁻¹ = 0.44 mA
    
    check  vR + vC = 4.41 + 7.59 = 12.00 V
  6. Step response: charging

    vC(t) = Vs(1 − e^(−t/τ)) climbs fast, then slower. The current i(t) = (Vs/R)e^(−t/τ) falls the same way. As vC rises, less voltage is left for R, so less current flows. Watch the dots slow.

    vC(t) = Vs·(1 − e^(−t/τ))
    i(t)  = C·dvC/dt = (Vs/R)·e^(−t/τ)
    
     t     vC        i
     1 s   7.59 V    0.44 mA
     2 s   10.38 V   0.16 mA
     3 s   11.40 V   0.060 mA
     5 s   11.92 V   0.0081 mA
  7. After 5τ: an open circuit

    At t = 5τ = 5 s the capacitor is at 11.92 V, 99.3 % of 12 V, and the current is only 8.1 µA. Engineers call it settled: in steady DC a capacitor carries no current, like an open circuit.

    t = 5τ = 5 s
    vC = 12·(1 − e⁻⁵) = 11.92 V  (99.3 %)
    i  = 1.2 mA × e⁻⁵ = 8.1 µA
    
    DC steady state:
      dvC/dt -> 0, so i -> 0
      the capacitor acts like an open circuit
  8. Energy: half stored, half heat

    By 5τ the source has given 14.3 mJ. The capacitor stores ½Cv² = 7.10 mJ and the resistor turned 7.20 mJ into heat. Charging fully, exactly half becomes heat, whatever the value of R.

    source     Vs·q = Vs·C·vC = 14.3 mJ
    capacitor  ½·C·vC² = 7.10 mJ
    resistor   ∫ i²R dt = 7.20 mJ
               7.10 + 7.20 = 14.30 mJ ✓
    
    as t -> ∞
      source  C·Vs² = 14.4 mJ
      stored  ½C·Vs² = 7.2 mJ
      heat    ½C·Vs² = 7.2 mJ  (any R)
  9. Natural response: discharging

    At 5 s, S1 opens and S2 closes. No source is left: the capacitor drives current back through R. vC = V0·e^(−t′/τ), where t′ is time since the switch and V0 = 11.92 V. The current reverses: i = −1.19 mA at first.

    t′ = t − 5 s   (time since the switch)
    no source:  RC·dvC/dt + vC = 0
    vC(t′) = V0·e^(−t′/τ),  V0 = 11.92 V
    i(t′)  = C·dvC/dt = −(V0/R)·e^(−t′/τ)
    
    i(0⁺) = −11.92 / 10 kΩ = −1.19 mA
    vC(τ) = 11.92 × e⁻¹ = 4.38 V
    i < 0: current flows against the arrow
  10. One pattern for every RC circuit

    Both curves follow one rule: x(t) = x(∞) + [x(0⁺) − x(∞)]·e^(−t/τ). Find the start value, the final value and τ = RC, and you have the whole response. Charging: 0 to 12 V. Discharging: 11.92 V to 0.

    x(t) = x(∞) + [x(0⁺) − x(∞)]·e^(−t/τ)
    
    charging     vC: 0 V -> 12 V
                 i : 1.2 mA -> 0
    discharging  vC: 11.92 V -> 0
                 i : −1.19 mA -> 0
    
    1. x(0⁺): vC cannot jump
    2. x(∞): capacitor = open circuit
    3. τ = R·C (R seen by the capacitor)

اختبار يتاح بعد الخطوة الأخيرة.