Today’s lecture in BME 101 (the Applied Electronics for Bioengineers class) was again pretty much just as I had planned. I covered three topics:
- Complex impedance (of capacitors)
The sinusoids section was a brief intro to Euler’s Formula: , expanding to the general sinusoid we’ll use all quarter: . I showed them what phase meant on both a time-domain sine wave and as a rotation of the unit circle. I suspect that those who already knew Euler’s Formula had their memory refreshed, and those unfamiliar with it will either look up info about complex numbers or give up because they are math-phobic. This year’s class doesn’t seem particularly math-phobic (so far), so I’m hopeful that they’ll refresh their memories of complex numbers, because we’ll be using sinusoids in this form a lot.
I did a lot of cold-call questioning in the capacitor section, getting students to give me the charge formula Q=CV and some descriptions of the structure of a capacitor fairly quickly. I also mentioned the dependency of capacitance on area, insulator thickness, and dielectric constant. I gave the relative dielectric constant of air as about 1 (I looked it up now as 1.0006), plastics as 2–4, and ceramic capacitors as around 10,000. I was wrong about the ceramics: the class 2 Barium titanate ceramics (what we have in our cheap ceramics) have a relative dielectric constant in the range 3000–8000, and the class 1 paraelectric ceramics only 5–90. I claimed that electrolytic capacitors relied on the thinness of the oxide and large plate area, rather than high dielectric constants, but didn’t give a value (Kemet, who makes capacitors, claims 8.5, so a little more than plastics, but nowhere near the ceramics [http://www.kemet.com/Lists/TechnicalArticles/Attachments/6/What%20is%20a%20Capacitor.pdf]).
I then got from the students that , and thus that (getting the class to apply the
chain product rule took a while). I pointed out that we would usually use examples in which C was constant, so the formula simplified to , but that some of our circuits would have changing capacitance (like the electret microphones that they’ll use next week and the capacitive touch sensor that they’ll design later).
I then put the two previous parts together, defining impedance as a generalization of resistance, for sinusoidal signals: . We then made the voltage by an arbitrary sinusoid, , and figured out the impedance of a capacitor . I had them give me the impedance of a resistor and capacitor in series (a couple of false starts, but quickly converging to the right answer: ). Finally, I had them give me the formulas for a couple of voltage dividers: a high-pass RC filter and a low-pass RC filter, and we simplified the formulas by multiplying top and bottom by .
I then switched to gnuplot and showed them how to plot the magnitude of the impedance of a circuit as a function of frequency, and the gain of a high-pass filter:
j = sqrt(-1) Z_C(w,C) = 1/ (j * w *C) set xrange [1:10000] plot abs(Z_C(2*pi*x, 1e-6)) set logscale xy plot abs(Z_C(2*pi*x, 1e-6)) divider(zup,zdown) = zdown/(zup+zdown) R=4700 plot abs(divider(Z_C(2*pi*x, 1e-6) , R))
The gnuplot stuff was a little hurried, so I’ll spend the first part of Monday on Bode plots, corner frequencies, and the design of RC filters. They have a homework (prelab) exercise due on Monday, so they should be primed for understanding the material.