A resistor-capacitor circuit is a transient circuit that involves any configuration includes a resistor and a capacitor
^head
%%🖋 Edit in Excalidraw, and the light exported image%%
Formulae
Charging Capacitor in RC Circuit
Note
- = Capacitor voltage (in )
- = Capacitor current (in )
- = Source voltage (voltage series to capacitor and resistor) (in )
- = Source current (current flowing through resistor and capacitor) (in )
- = Capacitance of the capacitor (in Farads, )
- = Resistance of the resistor (in Ohms, )
- = Time constant =
Time Constant
The time constant, is given as the product of the capacitance and resistance:
At time , we have:
Which means the voltage through the capacitor is roughly 63% of the source voltage at this time, which we can use to estimate tau.
Convergence
Graph
%%🖋 Edit in Excalidraw, and the dark exported image%%
Derivation
When a capacitor is introduced, the circuit now has an additional time dependency, because the current flowing through the capacitor (and hence, the circuit), is dependant on .
- , a constant function, is known as the forcing term
Solving the ODE
The equation is an inhomogeneous linear first order ODE. It can be solved in the following steps:
- Find the homogeneous solution . This usually involves an integrating factor, but the form is always:
where and are constants. NOTE:
- The particular solution, is of the same function family as the forcing term. Here it is a constant:
- Hence, the solution is of the form:
- Obtain :
- Plug both back into the original ODE:
- Equate coefficients:
- For , is defined to be not equal to , hence by the Null Factor Theorem:
- Plug into solution:
- Use an initial condition (the voltage the capacitor starts when ) to find :
- Finally:
We also use tau to be the RC time constant:
Current Formula
Using the characteristic capacitor equation:
Analysis using Kirchhoff’s Laws (Physics)
Being a simple circuit with no junctions, we know the total current is constant, and we can use the conservation of energy:
and again, because there are no junctions:
However, for the capacitor, we use the formula for Capacitance and the formula for Current:
This equation is a Linear First Order ODE:
which evaluates to:
The full derivation, if you're interested:
We can use the integrating factor = :
Defining at :
Dividing by :
V(t) = V_{s}(1-e^{-t/RC})
I(t) = \dfrac{V}{R}e^{-t/RC}