aboutsummaryrefslogtreecommitdiff
path: root/mindmap/LRC circuit.org
blob: b3e875177f855beff07178aa66b8ed9815cf174d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
:PROPERTIES:
:ID:       6dbe2931-cc18-48fc-8cc1-6c71935a6be3
:END:
#+title: LRC circuit
#+author: Preston Pan
#+html_head: <link rel="stylesheet" type="text/css" href="../style.css" />
#+html_head: <script src="https://polyfill.io/v3/polyfill.min.js?features=es6"></script>
#+html_head: <script id="MathJax-script" async src="https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js"></script>
#+options: broken-links:t

* Introduction
LRC circuits are equivalent to mass-spring oscillation systems in terms of the [[id:4be41e2e-52b9-4cd1-ac4c-7ecb57106692][differential equation]] generated. In other
words, they are an example of a wave generator. First we introduce the LRC circuit without a voltage source. Later,
another circuit diagram will include a possibly variable voltage source.
#+name: LRC Circuit Without Voltage Source
#+header: :exports both :file lrc_circuit.png 
#+header: :imagemagick yes :iminoptions -density 600 :imoutoptions -geometry 400 
#+header: :fit yes :noweb yes :headers '("\\usepackage{circuitikz}")
#+begin_src latex :exports both :file 
    \documentclass{article}
    \usepackage{circuitikz}
    \begin{document}
    \begin{center}
    \begin{circuitikz} \draw
    (0,0) to[resistor, l=\mbox{$R$}] (0,12)
      to[inductor, l=\mbox{$L$}] (12,12)
      to[capacitor, l=\mbox{$C$}] (12,0)
      (12,0) -- (0,0)
      (6,0) -- (6,-3)
      to (6, -3) node[shape=ground]{};
    \end{circuitikz}
    \end{center}
    \end{document}
#+end_src

#+RESULTS: LRC Circuit Without Voltage Source
#+begin_export latex
#+end_export

#+CAPTION: LRC Circuit without voltage source
[[./lrc_circuit.png]]

* Mass-Spring Equation Equivalence
We know these relations for the given circuit elements above:
\begin{align}
v(t) = L\frac{di}{dt} \\
i(t) = C\frac{dv}{dt} \\
v = iR
\end{align}
if we analyze the current signal, Kirchhoff's voltage law tells us that the total voltage
drop throughout this circuit is zero. We use the capacitor equation in integral form and sum the voltages:
\begin{align*}
L\frac{di}{dt} + \frac{1}{C}\int i(t)dt + iR = 0
\end{align*}
We then take a derivative to remove the integral:
\begin{align*}
L\frac{d^{2}i}{dt^{2}} + R\frac{di}{dt} + \frac{1}{C}i = 0 \\
(LD^{2} + RD + \frac{1}{C}) i(t) = 0
\end{align*}
it is clear that the characteristic polynomial of this homogeneous linear [[id:4be41e2e-52b9-4cd1-ac4c-7ecb57106692][differential equation]] is:
\begin{align*}
L\lambda^{2} + R\lambda + \frac{1}{C} = 0
\end{align*}
which, utilizing the quadratic formula, has the solutions:
\begin{align*}
\lambda_{1} = \frac{-R + \sqrt{R^{2} - \frac{4L}{C}}}{2L},
\lambda_{2} = \frac{-R - \sqrt{R^{2} - \frac{4L}{C}}}{2L}
\end{align*}
which implies the general solution to this [[id:4be41e2e-52b9-4cd1-ac4c-7ecb57106692][differential equation]] is:
\begin{align*}
i(t) = Ae^{\lambda_{1} t} + Be^{\lambda_{2} t}
\end{align*}
We can make this nicer by setting $-\frac{R}{2L} = m$, $\frac{\sqrt{R^{2} - \frac{4L}{C}}}{2L} = p$,
then $\lambda_{1} = m + p$, $\lambda_{2} = m - p$. Then:
\begin{align*}
i(t) = Ae^{(m + p) t} + Be^{(m - p) t}
\end{align*}
** Underdampened Oscillation
In the case $R^{2} < \frac{4L}{C}$, $p = i\frac{\sqrt{\sigma}}{2L}$ for some $\sigma > 0$. We re-cast $\lambda = \frac{\sqrt{\sigma}}{2L}$ so $p = i\lambda$. Then:
\begin{align*}
i(t) = Ae^{m + i\lambda t} + Be^{m -i\lambda t}
\end{align*}
This function $i(t)$ clearly describes an sinusoidal oscillation.
** Critical Oscillation
In the case $R^{2} - \frac{4L}{C} = 0$, we have:
\begin{align*}
i(t) = Ae^{mt} + Be^{mt} = Ce^{mt}
\end{align*}
note that this is actually a decaying solution because $m$ must be negative.
* AC [[id:951db9ac-3e8b-49a1-b609-2bbb795be834][Voltage]] Source
Here is the circuit diagram for the LRC circuit with a voltage source:
#+name: LRC Circuit
#+header: :exports both :file lrc_circuit_source.png 
#+header: :imagemagick yes :iminoptions -density 600 :imoutoptions -geometry 400 
#+header: :fit yes :noweb yes :headers '("\\usepackage{circuitikz}")
#+begin_src latex :exports both :file 
    \documentclass{article}
    \usepackage{circuitikz}
    \begin{document}
    \begin{center}
    \begin{circuitikz} \draw
    (0,0) to[resistor, l=\mbox{$R$}] (0,12)
      to[inductor, l=\mbox{$L$}] (12,12)
      to[capacitor, l=\mbox{$C$}] (12,0)
      (12,0) to[sinusoidal voltage source] (0,0);
    \end{circuitikz}
    \end{center}
    \end{document}
#+end_src

#+RESULTS: LRC Circuit
#+begin_export latex
#+end_export

#+CAPTION: LRC Circuit
[[./lrc_circuit_source.png]]
This new [[id:4be41e2e-52b9-4cd1-ac4c-7ecb57106692][differential equation]] looks like this:
\begin{align*}
[LD^{2} + RD + \frac{1}{C}]i(t) = V_{0}sin(\phi + 2\pi\omega t)
\end{align*}
where the right hand side of the equation includes the term created by the AC [[id:951db9ac-3e8b-49a1-b609-2bbb795be834][voltage]] source.