# RLC circuit

A RLC circuit (also known as a resonant circuit, tuned circuit, or LCR circuit) is an electrical circuit consisting of a resistor (R), an inductor (L), and a capacitor (C), connected in series or in parallel. This configuration forms a harmonic oscillator.
Tuned circuits have many applications particularly for oscillating circuits and in radio and communication engineering. They can be used to select a certain narrow range of frequencies from the total spectrum of ambient radio waves. For example, AM/FM radios with analog tuners typically use an RLC circuit to tune a radio frequency. Most commonly a variable capacitor is attached to the tuning knob, which allows you to change the value of C in the circuit and tune to stations on different frequencies.
An RLC circuit is called a second-order circuit as any voltage or current in the circuit can be described by a second-order differential equation for circuit analysis.

## Configurations

Every RLC circuit consists of two components: a power source and resonator. There are two types of power sources – Thévenin and Norton. Likewise, there are two types of resonators – series LC and parallel LC. As a result, there are four configurations of RLC circuits:
* Series LC with Thévenin power source
* Series LC with Norton power source
* Parallel LC with Thévenin power source
* Parallel LC with Norton power source.

## Similarities and differences between series and parallel circuits

The expressions for the bandwidth in the series and parallel configuration are inverses of each other. This is particularly useful for determining whether a series or parallel configuration is to be used for a particular circuit design. However, in circuit analysis, usually the reciprocal of the latter two variables is used to characterize the system instead. They are known as the resonant frequency and the Q factor respectively.

## Fundamental parameters

There are two fundamental parameters that describe the behavior of RLC circuits: the resonant frequency and the damping factor. In addition, other parameters derived from these first two are discussed below.

### Resonant frequency

The undamped resonance or natural frequency of an RLC circuit (in radians per second) is given by
       $\omega _{0}={1 \over {\sqrt {LC}}}$
In the more familiar unit hertz (or cycles per second), the natural frequency becomes
       $f_{0}={\omega _{0} \over 2\pi }={1 \over 2\pi {\sqrt {LC}}}$
Resonance occurs when the complex impedance Z$_{LC}$ of the LC resonator becomes zero:
       $Z_{LC}=Z_{L}+Z_{C}=0\quad$
Both of these impedances are functions of angular frequency $\omega$:
       $Z_{C}={1 \over {j\omega C}}$
       $Z_{L}=jL\omega \quad$
Setting the magnitude of the impedance to be zero at $\omega =\omega _{0}$ and using $j^{2}=-1$:
       $|Z_{LC}|=L\omega _{0}-{1 \over {\omega _{0}C}}=0$
       $\omega _{0}^{2}={1 \over {LC}}\Rightarrow \omega _{0}={1 \over {\sqrt {LC}}}$

### Damping factor

The normalized damping factor of the circuit is:
       $\zeta _{N}={\zeta \over \omega _{0}}={R \over 2}{\sqrt {C \over L}}$
for a series RLC circuit, and:
       $\zeta _{N}={\zeta \over \omega _{0}}={1 \over 2R}{\sqrt {L \over C}}$
for a parallel RLC circuit. It's desirable to use the normalized forced damping factor (non-dimensional) instead of the regular one (in radians per second) to analyze the properties of the resonant circuit
For applications in oscillator circuits, it is generally desirable to make the damping factor as small as possible, or equivalently, to increase the quality factor (Q) as much as possible. In practice, this requires decreasing the resistance R in the circuit to as small as physically possible for a series circuit, and increasing R to as large a value as possible for a parallel circuit. In this case, the RLC circuit becomes a good approximation to an ideal LC circuit.
Alternatively, for applications in bandpass filters, the value of the damping factor is chosen based on the desired bandwidth of the filter. For a wider bandwidth, a larger value of the damping factor is required (and vice versa). In practice, this requires adjusting the relative values of the resistor R and the inductor L in the circuit.

## Derived parameters

The derived parameters include Bandwidth, Q factor, and damped resonance frequency.

### Bandwidth

The RLC circuit may be used as a bandpass or band-stop filter by replacing R with a receiving device with the same input resistance. In the Series case the bandwidth (in radians per second) is
       $\Delta \omega =2\zeta ={R \over L}$
Alternatively, the bandwidth in hertz is
       $\Delta f={\Delta \omega \over 2\pi }={\zeta \over \pi }={R \over 2\pi L}$
The bandwidth is a measure of the width of the frequency response at the two half-power frequencies. As a result, this measure of bandwidth is sometimes called the full-width at half-power. Since electrical power is proportional to the square of the circuit voltage (or current), the frequency response will drop to ${1 \over {\sqrt {2}}}$ at the half-power frequencies.

### Resonance damping

The damped resonance frequency derives from the natural frequency and the damping factor. If the circuit is underdamped, meaning
    $\displaystyle \zeta <\omega _{0}$
then we can define the damped resonance as
    $\omega _{d}={\sqrt {\omega _{0}^{2}-\zeta ^{2}}}$
In an oscillator circuit
    $\zeta \ll \omega _{0}$.
As a result
    $\omega _{d}\approx \omega _{0}$.
See discussion of underdamping, overdamping, and critical damping, below.

## Circuit analysis
### Series RLC with Thévenin power source

In this circuit, the three components are all in series with the voltage source.
Given the parameters v, R, L, and C, the solution for the charge, q, can be found using Kirchhoff's voltage law. (KVL) gives
       ${v_{R}+v_{L}+v_{C}=v}\,$
For a time-changing voltage v(t), this becomes
       $Ri(t)+L{{di} \over {dt}}+{1 \over C}\int _{-\infty }^{t}i(\tau )\,d\tau =v(t)$
Using the relationship between charge and current:
       $i(t)={{dq} \over {dt}}$
The above expression can be expressed in terms of charge across the capacitor:
       $L{{d^{2}q} \over {dt^{2}}}+{R}{{dq} \over {dt}}+{1 \over {C}}q(t)=v(t)$
Dividing by L gives the following second order differential equation:
       ${{d^{2}q} \over {dt^{2}}}+{R \over L}{{dq} \over {dt}}+{1 \over {LC}}q(t)={1 \over L}v(t)$
We now define two key parameters:
       $\zeta _{N}={R \over 2}{\sqrt {C \over L}}$ and $\omega _{0}={1 \over {\sqrt {LC}}}$
Substituting these parameters into the differential equation, we obtain:
       ${{d^{2}q} \over {dt^{2}}}+2\zeta _{N}.\omega _{0}{{dq} \over {dt}}+\omega _{0}^{2}q(t)={1 \over L}v(t)$
or
       $q''+2\zeta _{N}.\omega _{0}q'+\omega _{0}^{2}q={1 \over L}v(t)$

#### Frequency domain

The series RLC can be analyzed in the frequency domain using complex impedance relations. If the voltage source above produces a complex exponential wave form with amplitude v(s) and angular frequency $s=\sigma +i\omega$ , KVL can be applied:
       $v(s)=i(s)\left(R+Ls+{\frac {1}{Cs}}\right)$
where i(s) is the complex current through all components. Solving for i:
       $i(s)={\frac {1}{R+Ls+{\frac {1}{Cs}}}}v(s)$
And rearranging, we have at
       $i(s)={\frac {s}{L\left(s^{2}+{R \over L}s+{\frac {1}{LC}}\right)}}v(s)$

##### Complex admittance

Next, we solve for the complex admittance Y(s):
       $Y(s)={i(s) \over v(s)}={\frac {s}{L\left(s^{2}+{R \over L}s+{\frac {1}{LC}}\right)}}$
Finally, we simplify using parameters ζ and ω$_o$
       $Y(s)={i(s) \over v(s)}={\frac {s}{L\left(s^{2}+2\zeta \omega _{0}s+\omega _{0}^{2}\right)}}$
Notice that this expression for Y(s) is the same as the one we found for the Zero State Response.

##### Poles and zeros

The zeros of Y(s) are those values of s such that $Y(s)=0$:
       $s=0$ and $s=\infty$
The poles of Y(s) are those values of s such that $Y(s)=\infty$. By the quadratic formula, we find
       $s=-\zeta \pm {\sqrt {\zeta ^{2}-\omega _{0}^{2}}}$
Notice that the poles of Y(s) are identical to the roots $\lambda _{1}$ and $\lambda _{2}$ of the characteristic polynomial.

##### Sinusoidal steady state

Taking the magnitude of the above equation:
       $|Y(s=i\omega )|={\frac {1}{\sqrt {R^{2}+\left(\omega L-{\frac {1}{\omega C}}\right)^{2}}}}.$
Next, we find the magnitude of current as a function of ω
       $|I(i\omega )|=|Y(i\omega )||V(i\omega )|.\,$
If we choose values where R = 1 ohm, C = 1 farad, L = 1 henry, and V = 1.0 volt, then the graph of magnitude of the current i (in amperes) as a function of ω (in radians per second) is:
Note that there is a peak at $i_{mag}(\omega )=1$. This is known as the resonant frequency. Solving for this value, we find:
       $\omega _{0}={\frac {1}{\sqrt {LC}}}.$

## Parallel RLC circuit

The complex impedance of this circuit is given by adding up the impedances in parallel:
       ${1 \over Z}={1 \over Z_{L}}+{1 \over Z_{C}}+{1 \over Z_{R}}={1 \over {j\omega L}}+{j\omega C}+{1 \over R}$
The change from a series arrangement to a parallel arrangement has some very real consequences for the behaviour. This can be seen by plotting the magnitude of the current $I={V \over Z}$. For comparison with the earlier graph we choose values where R = 1 ohm, C = 1 farad, L = 1 henry, and V = 1.0 volt and ω in radians per second:
There is a minimum in the frequency response at the resonant frequency $\omega _{0}={1 \over {\sqrt {LC}}}$.
A parallel RLC circuit is a example of a band-stop circuit response that can be used as a filter to block frequencies at the resonance frequency but allow others to pass.
Template:Cleanup-remainder
A much more elegant way of recovering the circuit properties of an RLC circuit is through the use of nondimensionalization.
For a parallel configuration of the same components, where Φ is the magnetic flux in the system
$C{\frac {d^{2}\Phi }{dt^{2}}}+{\frac {1}{R}}{\frac {d\Phi }{dt}}+{\frac {1}{L}}\Phi =i_{0}\cos(\omega t)\Rightarrow {\frac {d^{2}\chi }{d\tau ^{2}}}+2\zeta _{N}{\frac {d\chi }{d\tau }}+\chi =\cos(\Omega \tau )$
with substitutions
$\Phi =\chi x_{c},\ t=\tau t_{c},\ x_{c}=Li_{0},\ t_{c}={\sqrt {LC}},\ 2\zeta _{N}={\frac {1}{R}}{\sqrt {\frac {L}{C}}},\ \Omega =\omega t_{c}.$
The first variable corresponds to the maximum magnetic flux stored in the circuit. The second corresponds to the period of resonant oscillations in the circuit.