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

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

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:

  1. Find the homogeneous solution . This usually involves an integrating factor, but the form is always:

where and are constants. NOTE:

  1. The particular solution, is of the same function family as the forcing term. Here it is a constant:
  1. Hence, the solution is of the form:
  1. Obtain :
  1. Plug both back into the original ODE:
  1. Equate coefficients:
  1. For , is defined to be not equal to , hence by the Null Factor Theorem:
  1. Plug into solution:
  1. Use an initial condition (the voltage the capacitor starts when ) to find :
  1. Finally:

We also use tau to be the RC time constant:

Current Formula

Using the characteristic capacitor equation: Capacitor

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:

V(t) = V_{s}(1-e^{-t/RC})

Since $I = \frac{ dq }{ dt }$:

I(t) = \dfrac{V}{R}e^{-t/RC}