Ugenz Academy/IoT Tutorial

Rc Circuits

9 min read1,711 words

Reading progress

Keep learning

RC Circuits (Resistor-Capacitor Circuits)

1. What Is an RC Circuit?

An RC circuit is an electrical circuit that contains a resistor (R) and a capacitor (C). It is used to control how quickly voltage and current change over time.

RC circuits are important in electronics because capacitors can store electrical energy and release it later, while resistors control the flow of current.

RC Circuit Formula Derivation Using Calculus - HubPages

ADALM1000 SMU Training Topic 4: Transient Response of RC Circuit | Analog Devices

Introduction to Capacitors and RC Circuits - Tech Explorations

9

RC circuits are commonly used in:

  • Timing and delay circuits
  • Signal filtering
  • Power supply smoothing
  • Audio electronics
  • Sensor circuits
  • Camera flash circuits
  • Oscillators and pulse-shaping circuits

The behavior of an RC circuit depends on the resistance, capacitance, applied voltage, and time.

2. Main Components of an RC Circuit

Royal Ohm CFR01SJ0102A10 1K 5% 1W Axial Carbon Film Resistor | Rapid Electronics

A. Resistor (R)

A resistor limits current and produces a voltage drop. Resistance is measured in ohms (Ω\Omega).

A larger resistance generally causes a capacitor to charge and discharge more slowly.

Probots Capacitors - Components Buy Online India

B. Capacitor (C)

A capacitor stores energy in an electric field between its conductors. Capacitance is measured in farads (F).

A larger capacitance generally takes more time to charge and discharge through the same resistor.

Important capacitor formulas

The charge stored in a capacitor is:

Q=CV\boxed{Q=CV}

Where:

  • QQ = electric charge in coulombs (C)
  • CC = capacitance in farads (F)
  • VV = voltage across the capacitor in volts (V)

The energy stored in a capacitor is:

E=12CV2\boxed{E=\frac12 CV^2}

Here, EE is measured in joules (J).

3. Basic RC Circuit Diagram

A basic series RC circuit contains a voltage source, a resistor, and a capacitor connected in a single loop.

A resistor and capacitor are connected in series with a voltage source. The capacitor voltage changes over time when the source is applied or removed.

The capacitor's voltage cannot change instantaneously in an ideal circuit with finite current. Instead, it changes gradually as current flows through the resistor.

There are two fundamental processes in an RC circuit:

  1. Charging: The capacitor gains charge and its voltage rises.
  2. Discharging: The capacitor releases stored charge and its voltage falls.

4. Charging of a Capacitor

When an uncharged capacitor is connected to a DC voltage source through a resistor, current initially flows into the capacitor.

At the beginning:

  • The capacitor voltage is approximately zero.
  • The charging current is at its maximum value.
  • As the capacitor charges, its voltage increases.
  • The current gradually decreases.
  • Eventually, the capacitor voltage approaches the supply voltage and the current approaches zero.

File:Series RC capacitor voltage.svg - Wikimedia Commons

commons.wikimedia.org

Charging voltage formula

For an initially uncharged capacitor connected to a DC source:

VC(t)=VS(1−e−t/RC)\boxed{V_C(t)=V_S\left(1-e^{-t/RC}\right)}

Where:

  • VC(t)V_C(t) = capacitor voltage at time tt
  • VSV_S = supply voltage
  • RR = resistance in ohms
  • CC = capacitance in farads
  • tt = elapsed time in seconds
  • ee = mathematical constant, approximately 2.718

Charging current formula

The current decreases exponentially during charging:

i(t)=VSRe−t/RC\boxed{i(t)=\frac{V_S}{R}e^{-t/RC}}

At the instant charging begins, t=0t=0:

i(0)=VSRi(0)=\frac{V_S}{R}

After a long time, the current approaches zero for an ideal DC source and capacitor.

5. Discharging of a Capacitor

A charged capacitor can release its stored energy through a resistor when the source is disconnected and a discharge path is provided.

During discharging:

  • The capacitor initially has a voltage V0V_0.
  • Current flows through the discharge path.
  • The capacitor voltage decreases exponentially.
  • The current magnitude also decreases.
  • Eventually, the capacitor voltage approaches zero.

Passive Components — Project Documentation 1.0 documentation

dietersteinhauser.github.io

Discharging voltage formula

If the capacitor initially has voltage V0V_0, then:

VC(t)=V0e−t/RC\boxed{V_C(t)=V_0e^{-t/RC}}

The magnitude of the discharge current is:

∣i(t)∣=V0Re−t/RC\boxed{|i(t)|=\frac{V_0}{R}e^{-t/RC}}

The current's actual sign depends on the chosen reference direction. During discharge, its direction is opposite to the charging current under the same reference convention.

Important: A capacitor does not necessarily discharge when the power supply is disconnected. It needs a path through which its stored charge can flow.

6. Time Constant of an RC Circuit

The time constant, represented by the Greek letter tau τ\tau, describes how quickly the capacitor charges or discharges.

Its formula is:

τ=RC\boxed{\tau=RC}

Where:

  • τ\tau = time constant in seconds
  • RR = resistance in ohms
  • CC = capacitance in farads

Since 1,Ω×1,F=1,s1\\,\Omega \times 1\\,F=1\\,s, the product RCRC has units of time.

Charging and discharging percentages

The time constant gives a useful way to estimate the capacitor's voltage.

Elapsed timeCharging: percentage of final voltageDischarging: percentage remaining
1τ1\tau63.2%36.8%
2τ2\tau86.5%13.5%
3τ3\tau95.0%5.0%
4τ4\tau98.2%1.8%
5τ5\tau99.3%0.7%

A capacitor is generally considered practically charged or discharged after about five time constants, although the exponential process theoretically continues indefinitely.

7. Solved Numerical Examples

Example 1: Calculate the time constant

A resistor of 10,kΩ10\\,k\Omega is connected in series with a capacitor of 100,μF100\\,\mu F. Calculate the time constant.

Given:

R=10,000,ΩR=10,000\\,\Omega C=100×10−6,FC=100\times10^{-6}\\,F

Using the formula:

τ=RC\tau=RC τ=10,000×100×10−6\tau=10,000\times100\times10^{-6} τ=1 second\boxed{\tau=1\text{ second}}

Therefore, the time constant is 1 second.

After one second, the capacitor reaches approximately 63.2% of its final voltage during charging.

Example 2: Calculate capacitor charging voltage

A 100,μF100\\,\mu F capacitor charges through a 10,kΩ10\\,k\Omega resistor from a 12 V supply. Find its voltage after one second.

First, calculate the time constant:

τ=RC=1 s\tau=RC=1\text{ s}

The charging formula is:

VC(t)=VS(1−e−t/RC)V_C(t)=V_S(1-e^{-t/RC})

Substitute the values:

VC(1)=12(1−e−1)V_C(1)=12(1-e^{-1})

Since e−1≈0.368e^{-1}\approx0.368:

VC(1)=12(1−0.368)V_C(1)=12(1-0.368) VC(1)=12×0.632V_C(1)=12\times0.632 VC≈7.58 V\boxed{V_C\approx7.58\text{ V}}

After one second, the capacitor voltage is approximately 7.58 V.

Example 3: Calculate discharging voltage

A capacitor initially charged to 10 V discharges through a 20,kΩ20\\,k\Omega resistor. The capacitance is 50,μF50\\,\mu F. Find the voltage after one second.

First, calculate the time constant:

τ=RC\tau=RC τ=20,000×50×10−6\tau=20,000\times50\times10^{-6} τ=1 s\tau=1\text{ s}

Apply the discharging formula:

VC(t)=V0e−t/RCV_C(t)=V_0e^{-t/RC} VC(1)=10e−1V_C(1)=10e^{-1} VC≈3.68 V\boxed{V_C\approx3.68\text{ V}}

After one second, approximately 3.68 V remains across the capacitor.

8. Interactive RC Time Constant Calculator

Change the resistor, capacitor, and elapsed time to see how the capacitor charges or discharges.

Resistance

10 kΩ

1 kΩ

50 kΩ

100 kΩ

Capacitance

100 μF

10 μF

500 μF

1000 μF

Supply / initial voltage

12 V

1 V

12 V

24 V

Operating mode

Charging

Discharging

Elapsed time

1 s

0 s

Midpoint

End

Time constant (τ)

1.000 seconds

Calculated capacitor voltage

7.585 V

63.2% of the reference voltage

Assumes an ideal capacitor, a fixed resistor, and an initially uncharged capacitor for charging or an initial voltage equal to the reference voltage for discharging.

Reset values

9. RC Circuits as Filters

An RC circuit can also act as an electrical filter. Filters allow certain signal frequencies to pass more easily than others.

There are two basic types of passive RC filters.

capacitor - RC Filter Questions - Electrical Engineering Stack Exchange

A. Low-pass filter

A resistor is connected in series with the input, and a capacitor is connected from the output node to ground. The output is taken across the capacitor.

It passes low-frequency signals more readily and attenuates high-frequency signals.

High-pass filter - Electronics - BasicTables

B. High-pass filter

A capacitor is connected in series with the input, and a resistor connects the output node to ground. The output is taken across the resistor.

It passes high-frequency signals more readily and attenuates low-frequency signals.

Cutoff frequency

For a simple first-order RC low-pass or high-pass filter, the cutoff frequency is:

fc=12πRC\boxed{f_c=\frac{1}{2\pi RC}}

Where:

  • fcf_c = cutoff frequency in hertz (Hz)
  • RR = resistance in ohms
  • CC = capacitance in farads
  • π≈3.14159\pi\approx3.14159

At the cutoff frequency, the output magnitude is approximately 70.7% of the passband magnitude, equivalent to about −3 dB-3\text{ dB}.

Numerical example

Suppose a low-pass filter has:

R=10,kΩ,C=100,nFR=10\\,k\Omega,\qquad C=100\\,nF

Convert the values:

R=10,000,ΩR=10,000\\,\Omega C=100×10−9,FC=100\times10^{-9}\\,F

Using the cutoff formula:

fc=12π(10,000)(100×10−9)f_c=\frac{1}{2\pi(10,000)(100\times10^{-9})} fc≈159.2 Hz\boxed{f_c\approx159.2\text{ Hz}}

This filter passes low-frequency signals relatively well and increasingly attenuates frequencies above its cutoff.

10. Practical Applications of RC Circuits

How to Build a Delay Before Turn On Circuit with a 555 Timer

Timing and delay circuits

An RC network can create a delay before a voltage reaches a chosen threshold, such as in simple LED delay circuits or reset circuits.

Componenti elettronici | Brescia - Delta Elettronica

Power supply smoothing

Capacitors store and release charge to reduce voltage fluctuations. Resistors may be used with capacitors in filtering networks, although many power supplies use other filter arrangements too.

KNACRO NE5532 Low-Pass Board Filter preamp Board Subwoofer India | Ubuy

Audio and signal processing

RC filters can reduce unwanted high-frequency noise, block DC components, or shape audio signals.

Smoothing Capacitor for Voltage Sensor - Electrical Engineering Stack Exchange

Sensor and microcontroller circuits

RC networks can smooth fluctuating sensor readings, reduce electrical noise, and help condition input signals.

11. Important Points to Remember

  • An RC circuit contains a resistor and a capacitor.
  • The capacitor stores energy in an electric field.
  • A resistor controls the rate of charging and discharging.
  • The time constant is τ=RC\tau=RC.
  • After one time constant, a charging capacitor reaches about 63.2% of its final voltage.
  • After one time constant, a discharging capacitor retains about 36.8% of its initial voltage.
  • The cutoff frequency of a basic first-order RC filter is fc=1/(2πRC)f_c=1/(2\pi RC).
  • RC circuits are used for timing, filtering, smoothing, and signal conditioning.

In short: An RC circuit uses resistance and capacitance to control how voltages and currents change over time. Its time constant determines the charging and discharging speed, while its frequency response makes it useful for electronic filters.

Keep learning. Keep building. Keep growing.

© 2026 Ugenz Academy