The RC circuit: natural and step response
لم يُترجم بعد؛ يُعرض باللغة الإنجليزية
عن هذا الدرس
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.
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.
اقرأ الدرس خطوة بخطوة
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.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 JS1 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).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))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 VStep 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 mAAfter 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 circuitEnergy: 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)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 arrowOne 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)
أسئلة سريعة: 5
اختر إجابة واحدة لكل سؤال. يمكنك تغيير اختياراتك قبل التحقق منها.
01Just after a switch connects an empty capacitor to a DC source through a resistor (t = 0⁺), how does the capacitor behave?
The capacitor voltage cannot change instantly, so at t = 0⁺ it is still 0 V, like a wire. The whole source voltage sits across R and the current starts at Vs/R. It acts like an open circuit only after it has settled.
02A 4.7 kΩ resistor charges a 220 µF capacitor. What is the time constant τ?
τ = R·C = (4.7 × 10³ Ω)(220 × 10⁻⁶ F) = 1.034 s. Ohms times farads give seconds.
03That capacitor starts empty and charges from a 9 V source. What is its voltage after 2τ?
v(2τ) = 9·(1 − e⁻²) = 9 × 0.865 = 7.78 V. After one τ it would be 63.2 %; after two, 86.5 %.
04In the figure the capacitor holds 11.92 V when S2 connects it across the 10 kΩ resistor. What current flows the instant after, measured with the arrow i?
The capacitor voltage is still 11.92 V, so the resistor current is 11.92 V / 10 kΩ = 1.19 mA. It flows out of the + plate, against the arrow, so i = −1.19 mA.
05A capacitor charges fully from 0 V through a resistor. What fraction of the energy the source delivers is stored in the capacitor?
The source gives C·Vs² and the capacitor keeps ½C·Vs²; the other half heats the resistor. In the figure that is 7.2 mJ stored and 7.2 mJ of heat. A smaller R only makes it happen faster.
المسرد
- Capacitor
- Two conductors separated by an insulator. It stores charge q = C·v, and its current is i = C·dv/dt. Unit of capacitance: farad (F), one coulomb per volt.
- Time constant (τ)
- For an RC circuit τ = R·C, in seconds. In one τ the response covers 63.2 % of its total change; after 5τ, 99.3 %.
- Step response
- How a circuit responds when a DC source is switched on suddenly; for the RC circuit v(t) = Vs(1 − e^(−t/τ)).
- Natural response
- How a circuit behaves with no source, driven only by the energy already stored; for the RC circuit v(t) = V0·e^(−t/τ).
- First-order circuit
- A circuit described by a differential equation with only a first derivative, such as one capacitor with resistors.
- Initial value x(0⁺)
- The value just after switching. A capacitor's voltage is the same at 0⁺ as at 0⁻.
- Steady state
- Where the response settles, x(∞). In DC steady state a capacitor carries no current, like an open circuit.
الملاحظات والمصادر
- The parts are ideal: the source holds 12 V, the switches flip instantly and the capacitor does not leak. S1 opens at the same instant S2 closes, at t = 5 s = 5τ. Every number in the figure is computed from this model.
- In a circuit with more resistors, τ = R·C uses the Thévenin resistance the capacitor sees, with independent sources turned off. The pattern x(∞) + [x(0⁺) − x(∞)]e^(−t/τ) is the same.
- The reference arrow i enters the capacitor's + plate, so i = C·dvC/dt (passive sign convention). While the capacitor discharges, vC falls, dvC/dt is negative and i comes out negative: the charge flows the other way round.
- C. K. Alexander, M. N. O. Sadiku, Fundamentals of Electric Circuits, McGraw Hill (ch. 7, First-Order Circuits)
- RC circuit (Wikipedia): step response V(1 − e^(−t/RC)), natural response V0·e^(−t/RC), 63.2 % after τ
- RC time constant (Wikipedia): τ = RC, 63.2 % after one τ, 99.3 % after 5τ
- Capacitor (Wikipedia): i = C·dv/dt and stored energy W = ½CV²
- MIT OpenCourseWare 6.002 Circuits and Electronics (A. Agarwal): dynamics of first-order networks
اختبار يتاح بعد الخطوة الأخيرة.