Skip to content

Commit 042dee3

Browse files
committed
Week 4
1 parent b711bfd commit 042dee3

19 files changed

+564
-0
lines changed

questionBank/ode/capacitor.tex

Lines changed: 150 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,150 @@
1+
% Author: Yannan Tuo, Emily Gosti, Anwar Baroudi
2+
3+
4+
\qns{Introduction to Capacitors}
5+
\qcontributor{Yannan Tuo, Emily Gosti, Anwar Baroudi}
6+
7+
\sol{
8+
\\Description: Introduction to capacitors.
9+
\\Prerequisite: Understanding of basic circuit components, voltage, current, resistors.
10+
\\Mentors: See lecture notes for definition supplements
11+
}
12+
13+
In this problem, we will introduce the fundamental circuit components.
14+
15+
\begin{enumerate}
16+
17+
\qitem{
18+
What is a capacitor?
19+
}
20+
21+
\sol{
22+
Firstly, a capacitor is represented in this manner:
23+
\begin{center}
24+
\begin{circuitikz}[line width=1pt]
25+
\draw(0,0)
26+
to[C, l_=$C$, v<=$ $] ++(0,1);
27+
\end{circuitikz}
28+
\end{center}
29+
30+
Physically speaking, it is two conductive plates separated by some (usually non-conductive) material. The parameters of interest here are:\\
31+
$A$: the area of the surface of the plates that are facing each other.\\
32+
$\epsilon$: the permittivity of the material between the plates. \\
33+
$d$: the distance between the two plates.
34+
}
35+
36+
\qitem{
37+
What is capacitance?
38+
}
39+
40+
\sol{
41+
Capacitance (C) is the measure of how much charge (Q) can be stored for some given amount of voltage (V). It is often written as:
42+
\[C=\frac{Q}{V} \text{ or } Q = CV\]
43+
It can also be written as:
44+
$$C = \frac{\epsilon A}{d}$$
45+
where $\epsilon$ is the "permittivity" of the material between the plates of the capacitor, $A$ is the area of the surface of the plates facing each other, and $d$ is the distance between the two plates.
46+
}
47+
48+
\qitem{What happens to the following circuit (specifically with respect to the voltage across and current through the capacitor) when
49+
\\a) the capacitor becomes fully charged?
50+
\\b) after the capacitor is fully charged, we remove the voltage source and replace it with a short?}
51+
52+
\begin{center}
53+
\begin{circuitikz}
54+
\draw(0,4)
55+
to[V_, l=$V$] ++(0,-2)
56+
to[short] node[ground] {} ++(0,-1);
57+
58+
\draw(0,4)
59+
to[short] ++ (2, 0)
60+
to[C, l^=$C$, v>=$ $, invert] ++(0, -2)
61+
to[R, l = $R$] ++(-2, 0);
62+
63+
64+
\end{circuitikz}
65+
\end{center}
66+
\sol{
67+
When the capacitor is fully charged, then there is no current flowing through the capacitor; $i = 0$.
68+
\begin{center}
69+
\begin{circuitikz}
70+
\draw(0,4)
71+
to[V_, l=$V$] ++(0,-2)
72+
to[short] node[ground] {} ++(0,-1);
73+
74+
\draw(0,4)
75+
to[short] ++ (2, 0)
76+
to[C, l^=$C$, v>=$ $, i = $i$] ++(0, -2)
77+
to[R, l = $R$] ++(-2, 0);
78+
79+
80+
\end{circuitikz}
81+
\end{center}
82+
83+
If we replace the voltage source with a short, then the capacitor starts discharging because of the voltage difference across the resistor.
84+
85+
\begin{center}
86+
\begin{circuitikz}
87+
\draw(0,4)
88+
to[short, i = $i$] ++(0,-2)
89+
to[short] node[ground] {} ++(0,-1);
90+
91+
\draw(0,4)
92+
to[short] ++ (2, 0)
93+
to[C, l^=$C$, v>=$ $] ++(0, -2)
94+
to[R, l = $R$] ++(-2, 0);
95+
96+
97+
\end{circuitikz}
98+
\end{center}
99+
}
100+
101+
\qitem{Using physical properties of capacitors, derive the equation to find the equivalent capacitance for two capacitors in parallel, $C_1$ and $C_2$ in the figure below. Use this equation to find a relationship between the total charge of the two capacitors and the charge of each individual capacitor.
102+
103+
\begin{center}
104+
\begin{circuitikz}
105+
\draw(0,2)
106+
to[C, l_=$C_1$, v>=$ $] ++(0,-2);
107+
108+
109+
\draw(0,2)
110+
to[short] ++(2,0)
111+
to[C, l_=$C_2$, v>=$ $] ++(0, -2)
112+
to[short] ++(-2,0);
113+
114+
115+
\draw(1,2)
116+
to[short, *-o] ++(0,1);
117+
118+
\draw(1, 0)
119+
to[short, *-o] ++(0, -1);
120+
121+
122+
123+
\end{circuitikz}
124+
\end{center}
125+
}
126+
\sol{
127+
Recall the formula $C = \frac{\epsilon A}{d}$. Let $C_1$ have an area of $A_1$, and let $C_2$ have an area of $A_2$. We can think of these capacitors as having a combined area of $A_1 + A_2$, so $$C_{eq} = \frac{\epsilon (A_1+A_2)}{d} = \frac{\epsilon A_1}{d} + \frac{\epsilon A_2}{d} = C_1 + C_2$$
128+
Now, since $Q = CV$, the total charge $Q_{tot} = (C_1 + C_2)V$. We can leave $V$ as is because the voltage is the same across both capacitors, since they share the same nodes. Then,
129+
$$Q_{tot} = (C_1 + C_2)V = C_1V + C_2V = Q_1 + Q_2$$
130+
}
131+
132+
\qitem {Using physical properties of capacitors, derive the equation for the equivalent capacitance of two capacitors in series.
133+
\begin{center}
134+
\begin{circuitikz}
135+
\draw(0,4)
136+
to[C, l_=$C_1$, v>=$ $] ++(0, -2)
137+
to[C, l_=$C_2$, v>=$ $] ++(0, -2);
138+
\end{circuitikz}
139+
\end{center}
140+
}
141+
\sol{
142+
Let $C_1$ have a distance $d_1$ between its plates, and let $C_2$ have a distance $d_2$ between its plates. We can picture $C_1$ and $C_2$ as one capacitor with a combined distance $d_1 + d_2$. Then, assuming the areas for both capacitors are both $A$, we have $C_{eq} = \frac{\epsilon A}{d_1 + d_2}$. To make the math simpler, we invert both sides:
143+
$$\frac{1}{C_{eq}} = \frac{d_1 + d_2}{\epsilon A} = \frac{d_1}{\epsilon A} + \frac{d_2}{\epsilon A} = \frac{1}{C_1} + \frac{1}{C_2}$$
144+
Inverting it back, we get:
145+
$$C_{eq} = \frac{1}{\frac{1}{C_1} + \frac{1}{C_2}} = \frac{C_1C_2}{C_1 + C_2}$$
146+
}
147+
\meta{Note: the equations for combining capacitors is the opposite of the equations for combining resistors. }
148+
149+
150+
\end{enumerate}

questionBank/ode/capacitor_bad.tex

Lines changed: 227 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,227 @@
1+
% Author: Mudit Gupta
2+
3+
\qns{Pitfall Problem}
4+
\qcontributor{Mudit Gupta}
5+
6+
\sol{Prereq: Best placed right after the failure\_cap\_series\_equivalence.tex \\
7+
Description: Once students can do this, they can do every capacitor charge sharing problem (not necessarily those that include op amps too though)}
8+
9+
\begin{enumerate}
10+
\qitem Consider the following circuit in $\phi_1$. Assume that all capacitors are initially discharged. Find out the charge on each capacitor in this phase.
11+
\begin{center}
12+
\begin{circuitikz}
13+
% Phase 1 circuit
14+
\draw (0,0)
15+
to[V=$V_s$, invert] (0,2) % The voltage source
16+
to[short] (2,2)
17+
to[C=$C_1$, v=$ $] (2,0) % Capacitor C_1
18+
to[short] (0,0);
19+
20+
\draw (2,2)
21+
to[short] (4,2)
22+
to[C=$C_2$, v<=$ $] (4,0)
23+
to[short] (2,0);
24+
25+
\draw (4,2)
26+
to[short] (6,2)
27+
to[C=$C_3$, v=$ $] (6,0)
28+
to[short] (4,0);
29+
30+
\draw (0,0) to[short] node[ground] {} (0,-1); %Mark ground at (0,-1)
31+
32+
\end{circuitikz}
33+
\end{center}
34+
35+
\sol{
36+
$$Q_{C_1, \phi_1} = C_1V_s$$
37+
$$Q_{C_2, \phi_1} = -C_2V_s$$
38+
$$Q_{C_3, \phi_1} = C_3V_s$$
39+
40+
Note: What does it mean when we say that the charge on a capacitor is \textit{negative}? It mesol that \textbf{on the positive plate of the capacitor, there is negative charge.} And since a capacitor has equal and opposite charge on each plate, the negative plate then has positive charge.
41+
}
42+
43+
\sol{
44+
Make sure to stress the 'Note'. This is super important and is a misconception that students carry through the course. $$Q=CV=C(V_+ - V_-)$$ where $V_+$ and $V_-$ are plates you arbitrarily mark as $+$ and $-$. It is obviously possible that you mark them incorrectly, and that there is actually negative charge on the positive plate and vice versa. If you use $Q=CV$ to calculate the charge on the capacitor, this always calculates the charge on the $\textbf{positive}$ plate of the capacitor. If this quantity is negative, then there is negative charge on the plate you arbitrarily marked positive, and positive charge on the plate you arbitrarily marked positive. $\textbf{This does not mean that you need to fix something in your circuit.}$\\ $\textbf{This is fine. Just be consistent in the next phases}$.
45+
46+
}
47+
48+
49+
\qitem
50+
Assume that $\phi_1$ has taken place, and that the capacitors are then moved to the following configuration in $\phi_2$. Calculate the charge across each capacitor in $\phi_2$.
51+
52+
\begin{center}
53+
\begin{circuitikz}
54+
% Phase 2 circuit
55+
56+
\draw (0,0)
57+
to[C=$C_1$, v<=$ $] (0,2)
58+
to[short] (2,2)
59+
to[C=$C_2$, v<=$ $] (2,0)
60+
to[short] (0,0);
61+
62+
\draw (4, 0)
63+
to[C, l_=$C_3$, v<=$ $] (4,2)
64+
to[short] (6,2)
65+
to[short] (6,0)
66+
to[short] (4,0);
67+
68+
\draw (0,0) to[short] node[ground] {} (0,-1); %Mark ground at (0,-1)
69+
70+
\end{circuitikz}
71+
\end{center}
72+
73+
\sol{
74+
$\textbf{Step I: Write the voltage drop across each capacitor.}$ \\
75+
$\textit{If it cannot be determined, create variables till it can be determined.}$
76+
77+
Circuit redrawn with unknown voltages marked.
78+
79+
\begin{center}
80+
\begin{circuitikz}
81+
\draw (0,0)
82+
to[C=$C_1$, v<=$ $] (0,2)
83+
to[short, l^=$\textcolor{red}{V_x}$] (2,2)
84+
to[C=$C_2$, v<=$ $] (2,0)
85+
to[short] (0,0);
86+
87+
\draw (4, 0)
88+
to[C, l_=$C_3$, v<=$ $] (4,2)
89+
to[short, l^=$\textcolor{red}{V_y}$] (6,2)
90+
to[short] (6,0)
91+
to[short] (4,0);
92+
93+
\draw (0,0) to[short] node[ground] {} (0,-1); %Mark ground at (0,-1)
94+
\end{circuitikz}
95+
\end{center}
96+
97+
$$V_{C_1, \phi_2} = V_x - 0 = V_x$$
98+
$$V_{C_2, \phi_2} = 0 - V_x = -V_x$$
99+
$$V_{C_3, \phi_2} = V_y - V_y = 0$$
100+
101+
102+
$\textbf{Step 2: Write the charge on each capacitor.}$\\
103+
$\textit{Just use $Q=CV$ on the first step}$
104+
105+
$$Q_{C_1, \phi_2} = C_1V_x$$
106+
$$Q_{C_2, \phi_2} = -C_2V_x$$
107+
$$Q_{C_3, \phi_2} = 0$$
108+
109+
$\textbf{Step 3: Write the charge sharing equations on floating nodes.}$ \\
110+
$\textit{Floating nodes are those where charges cannot escape or enter.}$ \\
111+
$\textit{Node marked $V_x$ is the only floating node}$ \\
112+
113+
\begin{equation} \label{ph2:chg_sharing}
114+
Q_{C_1, \phi_2} \textcolor{red}{-} Q_{C_2, \phi_2} = Q_{C_1, \phi_1} \textcolor{red}{-} Q_{C_2, \phi_1}
115+
\end{equation}
116+
117+
$$C_1V_x - (-C_2V_x) = C_1V_s - (-C_2V_s) \implies V_x=V_s$$
118+
119+
$\textbf{Final Step 4: Plug variable voltage into charge equations}$ \\
120+
121+
$$Q_{C_1, \phi_2} = C_1V_x = C_1V_s$$
122+
$$Q_{C_2, \phi_2} = -C_2V_x = -C_2V_s$$
123+
$$Q_{C_3, \phi_2} = 0$$
124+
125+
126+
127+
128+
}
129+
130+
\sol{
131+
Note: Make sure to explain the charge sharing equations properly.
132+
133+
\textbf{Pitfall number 1}: Students think that charge sharing equations always have positive signs on them. Something along the lines of $Q_{1,1}+Q_{2,1} = Q_{1,2} + Q_{2,2}$. Equation \ref{ph2:chg_sharing} shows that this is not the case. Explain clearly why there is a negative sign. This is because the positive plate of $C_1$ is connected to the negative plate of $C_2$. Charge is being redistributed by $Q_{C_1}$ and $-Q_{C_2}$ in the two phases.
134+
135+
\textbf{Pitfall number 2}: Students think that charge sharing always happens between all capacitors. When you ask them for charge sharing equations, their gut reaction will be to say $Q_{C_1, \phi_1} + Q_{C_2, \phi_1} + Q_{C_3, \phi_1} = Q_{C_1, \phi_2} + Q_{C_2, \phi_2} + Q_{C_3, \phi_2}$. Show that them their gut reaction is wrong -- because clearly $C_3$ is not involved in charge sharing. Also show them that the plates affect the signs for charge sharing, it isn't always a plus sign as shown in Equation \ref{ph2:chg_sharing}.
136+
137+
\textbf{Pitfall number 3}: Many students don't realize that the voltage drop across $C_3$ is 0. They think that it will be the same as before and it will hold the same charge as before. This is not the case, as the math shows. Intuitively, this is not the case because + charges flow to recombine with the - charges resulting in 0 charge on the capacitor.
138+
}
139+
140+
141+
\qitem
142+
143+
Assume that $\phi_2$ has taken place, and that the capacitors are then moved to the following configuration in $\phi_3$. Calculate the charge across each capacitor in $\phi_3$.
144+
145+
\begin{center}
146+
\begin{circuitikz}
147+
% Phase 3 circuit
148+
149+
\draw (0,-1)
150+
to[V=$V_s$, invert] (0,0)
151+
to[C=$C_1$, v<=$ $] (0,4)
152+
to[short] (2,0)
153+
to[C=$C_2$, v=$ $] (2,4)
154+
to[short] (4,4)
155+
to[C=$C_3$, v=$ $] (4,0)
156+
to[short] node[ground] {} (4,-2);
157+
158+
\draw (0,-1) to[short] node[ground] {} (0,-2);
159+
160+
\end{circuitikz}
161+
\end{center}
162+
163+
\sol{
164+
$\textbf{Step I: Write the voltage drop across each capacitor.}$ \\
165+
$\textit{If it cannot be determined, create variables till it can be determined.}$
166+
167+
Circuit redrawn with unknown voltages marked.
168+
169+
\begin{center}
170+
\begin{circuitikz}
171+
\draw (0,-1)
172+
to[V=$V_s$, invert] (0,0)
173+
to[C=$C_1$, v<=$ $] (0,4)
174+
to[short, l^=$V_a$] (2,0)
175+
to[C, l_=$C_2$, v=$ $] (2,4)
176+
to[short, l^=$V_b$] (4,4)
177+
to[C=$C_3$, v=$ $] (4,0)
178+
to[short] node[ground] {} (4,-2);
179+
180+
\draw (0,-1) to[short] node[ground] {} (0,-2);
181+
\end{circuitikz}
182+
\end{center}
183+
184+
$$V_{C_1, \phi_3} = V_a - V_s$$
185+
$$V_{C_2, \phi_3} = V_a - V_b$$
186+
$$V_{C_3, \phi_3} = V_b$$
187+
188+
189+
$\textbf{Step 2: Write the charge on each capacitor.}$\\
190+
$\textit{Just use $Q=CV$ on the first step}$
191+
192+
$$Q_{C_1, \phi_3} = C_1(V_a-V_s)$$
193+
$$Q_{C_2, \phi_3} = C_2(V_a-V_b)$$
194+
$$Q_{C_3, \phi_3} = C_3(V_b)$$
195+
196+
$\textbf{Step 3: Write the charge sharing equations on floating nodes.}$ \\
197+
$\textit{Floating nodes are those where charges cannot escape or enter.}$ \\
198+
$\textit{Nodes marked $V_a$ and $V_b$ are the only floating nodes}$ \\
199+
200+
\begin{equation} \label{ph3:chg_sharing1}
201+
Q_{C_1, \phi_3} \textcolor{red}{+} Q_{C_2, \phi_3} = Q_{C_1, \phi_2} \textcolor{red}{+} Q_{C_2, \phi_2}
202+
\end{equation}
203+
204+
\begin{equation} \label{ph3:chg_sharing2}
205+
-Q_{C_2, \phi_3} \textcolor{red}{+} Q_{C_3, \phi_3} = -Q_{C_2, \phi_2} \textcolor{red}{+} Q_{C_3, \phi_2}
206+
\end{equation}
207+
208+
Plugging in values to Equation \ref{ph3:chg_sharing1}
209+
$$C_1(V_a-V_s) + C_2(V_a-V_b) = C_1V_s + (-C_2V_s)$$
210+
211+
Plugging in values to Equation \ref{ph3:chg_sharing2}
212+
$$-C_2(V_a-V_b) + C_3V_b = -(-C_2V_s) + 0$$
213+
214+
$\textbf{Final Step 4: Plug variable voltage into charge equations}$ \\
215+
We now have two equations in two variables ($V_a, V_b$), and so we can solve for them. After that, we can plug those into Step 2, and find the charges on each capacitor. There is no need to do this step as the expressions aren't very neat.
216+
217+
218+
}
219+
\sol {
220+
\textbf{Pitfall number 4}: Make sure to explain equations \ref{ph3:chg_sharing1} and \ref{ph3:chg_sharing2} very carefully. Students get confused specially on \ref{ph3:chg_sharing1} because in $\phi_2$, the positive plate of $C_1$ is connected to the negative plate of $C_2$. In $\phi_3$, the positive plates of both are connected to each other. The thing is that we only need to look at the current phase $\phi_3$'s configuration to write the charge sharing equations. Previous configs don't matter. One way to explain this is by talking about phases as a 2 step process -- disconnection and connection. First disconnect all capacitors, and all positive charges stay where they are and negative stay where they are. Now, if we connect the positive plate of two capacitors and if originally the positive and negative plates of two separate capacitors were connected earlier, the previous config doesn't matter. It is the two positive plate's charges that will need to stay conserved between phases. This is why the signs on \ref{ph3:chg_sharing1} will be the same on both the left hand side of the equation and the right hand side, and you get the signs by simply looking at $\phi_3$.
221+
}
222+
223+
224+
225+
226+
227+
\end{enumerate}

questionBank/ode/rc_circuit.tex

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
% Authors: Kyle Tanghe, Elena Jia, Ramsey Mardini
22
3+
\qcontributor{Kyle Tanghe, Elena Jia, Ramsey Mardini}
34

45
\qns{RC Circuit}
56

0 commit comments

Comments
 (0)