Skip to content

RC Charging Circuits

Published On:
Feb 16, 2024
Last Updated:
Feb 16, 2024

RC charging circuits are circuits which charge a capacitor through a resistor. They appear in almost all electronic designs in some form or another. They are used for things such as simple time delays, primitive oscillators, debouncing, and filtering.

This page looks at how the RC circuit responds in the time domain. If you are interested in it’s frequency response, see the Analogue Filters page.

The Circuit

A basic RC charging circuit.

Assuming the capacitor’s voltage started at 0V0V at t=0t=0, and a constant supply voltage VSV_S is applied across the capacitor and resistor, then the capacitors voltage at any time tt is1:

VC=VS(1e[tRC])\begin{align}\Large{ V_C = V_S (1 - e^{ \left[ \frac{-t}{RC} \right] }) }\end{align}

where:
VCV_C is the voltage across the capacitor, in Volts
VSV_S is the supply voltage, in Volts
ee is Euler’s number, =2.718...= 2.718...
tt is the time, in seconds
RR is the resistance, in Ohms
CC is the capacitance, in Farads

RCRC can be replaced with a concept called a time constant, where τRC\tau \equiv RC. This gives:

VC=VS(1e[tτ])\begin{align} \Large{ V_C = V_S (1 - e^{ \left[ \frac{-t}{\tau} \right] }) } \end{align}

The capacitor voltage with respect to time is shown below.

A basic RC charging circuit.

The capacitors voltage VCV_C starts of a 0V0V and charges towards VSV_S. However the charging rate follows an exponential decay, the rate gets slower and slower. Mathematically, the capacitors voltage never reaches VSV_S. However for most practical purposes you can consider the capacitor “fully-charged” after about 5 time constants.

What is the Time Constant?

The time constant is a way of simplifying the analysis of an RC circuit and lets you think and talk about the circuit in a consistent manner.

τRC\begin{align} \tau \equiv RC \end{align}

After 1 time constant (t=1τt = 1\tau), then the equation simplifies to:

VCVS=1e[tRC]=1e[1ττ]=1e[1]=10.368=0.632\begin{align} \frac{V_C}{V_S} &= 1 - e^{ \left[ \dfrac{-t}{RC} \right] } \\ &= 1 - e^{ \left[ \dfrac{-1\tau}{\tau} \right] } \\ &= 1 - e^{ \left[ -1 \right] } \\ &= 1 - 0.368 \\ &= 0.632 \end{align}

So you know that at 1τ1\tau, your capacitor has charged to 63% of the supply voltage. The beauty of τ\tau is that you can quickly calculate it for any RC circuit and get a feel for how long it will take to charge (it is also very useful when looking at RC filters). The table below shows various time constants and the voltage level on the capacitor at that point.

Time Constant Voltage as Percentage of Supply
1τ\tau 63.2%
2τ\tau 86.5%
3τ\tau 95.0%
4τ\tau 98.2%
5τ\tau 99.3%

Note that by 5 time constants, the voltage is at 99.3% of the supply voltage. This is generally considered to be the point at which it is “fully charged”.

Footnotes

  1. Electronics Tutorials. RC Charging Circuit. Retrieved 2024-02-16, from https://www.electronics-tutorials.ws/rc/rc_1.html.