# RC Circuits

## Resistors and Capacitors in Series

An RC circuit has a resistor and a capacitor and when connected to a DC voltage source, and the capacitor is charged exponentially in time.### Learning Objectives

Describe the components and function of an RC circut, noting especially the time-dependence of the capacitor's charge### Key Takeaways

#### Key Points

- In an RC circuit connected to a DC voltage source, the current decreases from its initial value of I
_{0}=emf/R to zero as the voltage on the capacitor reaches the same value as the emf. - In an RC circuit connected to a DC voltage source, voltage on the capacitor is initially zero and rises rapidly at first since the initial current is a maximum: $\text{V}(\text{t})= \text{emf}(1-\text{e}^{\text{t}/\text{RC}})$.
- The time constant τ for an RC circuit is defined to be RC. It's unit is in seconds and shows how quickly the circuit charges or discharges.

#### Key Terms

**DC**: Direct current; the unidirectional flow of electric charge.**capacitor**: An electronic component capable of storing an electric charge, especially one consisting of two conductors separated by a dielectric.**differential equation**: An equation involving the derivatives of a function.

### Charging

Fig 1 shows a simple RC circuit that employs a DC voltage source. The capacitor is initially uncharged. As soon as the switch is closed, current flows to and from the initially uncharged capacitor. As charge increases on the capacitor plates, there is increasing opposition to the flow of charge by the repulsion of like charges on each plate.In terms of voltage, across the capacitor voltage is given by V

_{c}=Q/C, where Q is the amount of charge stored on each plate and C is the capacitance. This voltage opposes the battery, growing from zero to the maximum emf when fully charged. Thus, the current decreases from its initial value of I

_{0}=emf/R to zero as the voltage on the capacitor reaches the same value as the emf. When there is no current, there is no IR drop, so the voltage on the capacitor must then equal the emf of the voltage source.

Initially, voltage on the capacitor is zero and rises rapidly at first since the initial current is a maximum. Fig 1 (b) shows a graph of capacitor voltage versus time (t) starting when the switch is closed at t=0. The voltage approaches emf asymptotically since the closer it gets to emf the less current flows. The equation for voltage versus time when charging a capacitor C through a resistor R, is:

$\text{V}(\text{t})= \text{emf}(1-\text{e}^{\text{t}/\text{RC}})$

,where V(t) is the voltage across the capacitor and emf is equal to the emf of the DC voltage source. (The exact form can be derived by solving a linear differential equation describing the RC circuit, but this is slightly beyond the scope of this Atom. ) Note that the unit of RC is second. We define the time constant τ for an RC circuit as

$\tau = \text{RC}$

. τ shows how quickly the circuit charges or discharges.### Discharging

Discharging a capacitor through a resistor proceeds in a similar fashion, as illustrates. Initially, the current is I_{0}=V

_{0}/R, driven by the initial voltage V

_{0}on the capacitor. As the voltage decreases, the current and hence the rate of discharge decreases, implying another exponential formula for V. Using calculus, the voltage V on a capacitor C being discharged through a resistor R is found to be

$\text{V}(\text{t}) = \text{V}_0 \text{e}^{-\text{t}/\text{RC}}$

.## Impedance

Impedance is the measure of the opposition that a circuit presents to the passage of a current when a voltage is applied.### Learning Objectives

Express the relationship between the impedance, the resistance, and the capacitance of a series RC circuit in a form of equation### Key Takeaways

#### Key Points

- The advantage of assuming that sources have complex exponential form is that all voltages and currents in the circuit are also complex exponentials, having the same frequency as the source.
- The major consequence of assuming complex exponential voltage and currents is that the ratio (Z = V/I) for each element does not depend on time, but does depend on source frequency.
- For a series RC circuit, the impedance is given as $\text{Z} = \sqrt{\text{R}^2+(\frac{1}{\omega \text{C}})^2}$.

#### Key Terms

**impedance**: A measure of the opposition to the flow of an alternating current in a circuit; the aggregation of its resistance, inductive and capacitive reactance. Represented by the symbol Z.**AC**: Alternating current.**capacitor**: An electronic component capable of storing an electric charge, especially one consisting of two conductors separated by a dielectric.**resistor**: An electric component that transmits current in direct proportion to the voltage across it.

### Complex Analysis

For an RC circuit in, the AC source driving the circuit is given as:$\text{v}_{\text{in}}(\text{t}) = \text{V} \text{e}^{\text{j} \omega \text{t}}$

,where V is the amplitude of the AC voltage, j is the imaginary unit (j

^{2}=-1), and

$\omega$

is the angular frequency of the AC source. Two things to note:- We use lower case alphabets for voltages and sources to represent that they are alternating (i.e., we use v
_{in}(t) instead of V_{in}(t)). - The imaginary unit is given the symbol "j", not the usual "i". "i" is reserved for alternating currents.

### Complex Impedance

The advantage of assuming sources take this form is that all voltages and currents in the circuit are also complex exponentials (having the same frequency as the source). To appreciate the reason for this, we can investigate how each circuit element behaves when either the voltage or current is a complex exponential. For the resistor,$\text{v} = \text{Ri}$

. From our voltage given above, $\text{i} = \frac{\text{V}}{\text{R}} \text{e}^{\text{j} \omega \text{t}}$

. Thus the resistor's voltage is a complex, as is the current with an amplitude $\text{I} = \frac{\text{V}}{\text{R}}$

. For a capacitor, $\text{i} = \text{C} \frac{\text{dv}}{\text{dt}}$

. Letting the voltage be a complex exponential we have $\text{i} = \text{j} \omega \text{CV} \text{e}^{\text{j} \omega \text{t}}$

. The amplitude of this complex exponential is $\text{I} = \text{j} \omega \text{CV}$

.The major consequence of assuming complex exponential voltage and currents is that the ratio

$\text{Z} = \frac{\text{V}}{\text{I}}$

for rather than depending on time each element depends on source frequency. This quantity is known as the element's (complex) impedance. The magnitude of the complex impedance is the ratio of the voltage amplitude to the current amplitude. Just like resistance in DC cases, impedance is the measure of the opposition that a circuit presents to the passage of a current when a voltage is applied. The impedance of a resistor is R, while that of a capacitor (C) is $\frac{1}{\text{j} \omega \text{C}}$

. In the case of the circuit in, to find the complex impedance of the RC circuit, we add the impedance of the two components, just as with two resistors in series: $\text{Z} = \text{R} + \frac{ 1}{\text{j} \omega \text{C}}$

.### Finding Real Currents and Voltages

Since$\text{e}^{\text{j}\omega \text{t}} = \text{cos}(\omega \text{t}) + \text{j} \text{sin}(\omega \text{t})$

, to find the real currents and voltages we simply need to take the real part of the i(t) and v(t). The (real value) impedance is the real part of the complex impedance Z. For a series RC circuit, we get $\text{Z} = \sqrt{\text{R}^2+(\frac{1}{\omega \text{C}})^2}$

. We see that the amplitude of the current will be $\text{V}/\text{Z} = \frac{\text{V}}{\sqrt{\text{R}^2+(\frac{1}{\omega \text{C}})^2}}$

.## Phase Angle and Power Factor

In a series RC circuit connected to an AC voltage source, voltage and current maintain a phase difference.### Learning Objectives

Compare the currents in the resistor and capacitor in a series RC circuit connected to an AC voltage source### Key Takeaways

#### Key Points

- In a series RC circuit connected to an AC voltage source, the currents in the resistor and capacitor are equal and in phase.
- In a series RC circuit connected to an AC voltage source, the total voltage should be equal to the sum of voltages on the resistor and capacitor.
- In a series RC circuit connected to an AC voltage source, voltage and current have a phase difference of $\phi$, where$cos\phi = \frac{\text{R}}{\sqrt{\text{R}^2+(\frac{1}{\omega \text{C}})^2}}$. cosϕ is called the power factor.

#### Key Terms

**impedance**: A measure of the opposition to the flow of an alternating current in a circuit; the aggregation of its resistance, inductive and capacitive reactance. Represented by the symbol Z.**alternating current**: (AC)—An electric current in which the direction of flow of the electrons reverses periodically having an average of zero, with positive and negative values (with a frequency of 50 Hz in Europe, 60 Hz in the US, 400 Hz for airport lighting, and some others); especially such a current produced by a rotating generator or alternator.**rms**: Root mean square: a statistical measure of the magnitude of a varying quantity.

### Phase Angle

Impedance is an AC (alternating current) analogue to resistance in a DC circuit. As we studied in a previously Atom ("Impedance"), current, voltage and impedance in an RC circuit are related by an AC version of Ohm 's law:$\text{I} = \frac{\text{V}}{\text{Z}}$

, where I and V are peak current and peak voltage respectively, and Z is the impedance of the circuit.In a series RC circuit connected to an AC voltage source as shown in, conservation of charge requires current be the same in each part of the circuit at all times. Therefore we can say:

*the*

*currents in the resistor and capacitor are equal and in phase*. (We will represent instantaneous current as i(t). )

On the other hand, because the total voltage should be equal to the sum of voltages on the resistor and capacitor, so we have:

$\begin{align} v(\text{t})& = \text{v}\text{\textunderscore}\text{R}(\text{t})+\text{v}\text{\textunderscore}\text{C}(\text{t}) \\ &= \text{i}(\text{t})\text{R} + \text{i}(\text{t})\frac{1}{\text{j} \omega \text{C}} \\ &= \text{i}(\text{t}) (\text{R}+\frac{1}{\text{j}\omega \text{C}}) \end{align}$

,where

$\omega$

is the angular frequency of the AC voltage source and j is the imaginary unit; j^{2}=-1. Since the complex number

$\text{Z} = \text{R}+\frac{1}{\text{j}\omega \text{C}} = \sqrt{\text{R}^2+(\frac{1}{\omega \text{C}})^2} \text{e}^{\text{j}\phi}$

has a phase angle $\phi$

that satisfies $\text{cos}\phi = \frac{\text{R}}{\sqrt{\text{R}^2+(\frac{1}{\omega \text{C}})^2}}$

,we notice that voltage

$\text{v}(\text{t})$

and current $\text{i}(\text{t})$

has a phase difference of $\phi$

.For R=0,

$\phi = 90^{\circ}$

. As learned from the preceding series of Atoms—the voltage across the capacitor V_{C}follows the current by one-fourth of a cycle (or 90º).

### Power Factor

Because voltage and current are out of phase, power dissipated by the circuit is not equal to:*(peak voltage) times*(

*peak current)*. The fact that source voltage and current are out of phase affects the power delivered to the circuit. It can be shown that the average power is I

_{rms}V

_{rms}cosϕ, where I

_{rms}and V

_{rms}are the root mean square (rms) averages of the current and voltage, respectively. For this reason, cosϕ is called the

*power factor*, which can range from 0 to 1.