Important Disclaimer

The purpose of this blog is purely to serve as a compilation of good technical material for my students. No financial or other motives are involved. Most of the content in this blog has been reproduced from other sources. I have made every attempt to mention the source link at the beginning of each blog. All readers are requested to kindly acknowledge that source and not this blog, in case you find the post helpful. However, I have not been able to trace the source links for some of my older posts. I wish to emphasize that this is not intentional and any help in this regard would be appreciated.

Oct 18, 2011

Using a piezo-microphone


This post has been taken from: http://www.nerdkits.com . It has a lot many more interesting projects and tutorials. Kindly acknowledge the nerdkits website if you find this tutorial helpful.

Using a piezo-microphone

Single-transistor amplifier schematic
In the schematic above, the 100K potentiometer is adjusted until the transistor's collector current is approximately 100 microamps (10-4amps). This is measured with a voltmeter across RE until the voltage is approximately 0.33 volts. Please watch the video for a full explanation of the transistor model and how we build up to this circuit.
Gain Calculation
Following along with the assumptions made in the video, and ignoring RM and the 10uF capacitor, the gain of the amplifier is approximately 22K/3.3K = 6.7. But at higher frequencies, the 10uF capacitor looks like a short, and the gain of the amplifier is roughly 22K / (3.3K // RM). This last part in the denominator (RA//RB) means the parallel combination of two resistances, which equals (RA*RB)/(RA + RB).
If the resistance loading the emitter is small, then we can't make the same assumption that we made in the video that a change in voltage at the base will necessarily be followed by an almost identical change in voltage at the emitter. Previously, the change in VBE was small enough compared to the change in voltage across RE. But if RE is small or zero, the change in VBE will become important and limit the gain of the amplifier. Here's how this comes out of the equations:
As noted in the video, the two governing equations for this simple model of the NPN bipolar junction transistor (in forward active operation) are:
  • IC = β IB
  • IB = IS eVBE/Vth
The first of these says that the collector current is simply β times the base current, and the second says that there is a steep (exponential) relationship between VBE and base current. (If you're curious about numbers here, then for our 2N3904 transistor, β is typically 100-200, ISis typically around 10-14 amps, and Vth is about 25mV at room temperature.) Now we can also write, by definition, that the VBE is simply the difference in voltages at the base and emitter:
  • VBE = VB - VE
and then, for a resistance RE between the emitter and ground, we know that VE = RE * IE, and since IE is approximately equal to IC, VE = RE * IC. We plug this in, and move VE to the other side of the equation, to get:
  • VB = RE*IC + VBE
This just means that the voltage from the base to ground is a combination of the base to emitter voltage and the voltage drop across the emitter resistor RE to ground. But this equation is interesting, because on the left side is VB which is our input voltage, and on the right side, everything is a function of IC, the collector current, which is related to our output voltage:
  • ΔVOUT = - RC * ΔIC
This is just Ohm's Law for the resistor RC -- an increase in current through it (and also through the collector) increases the voltage dropacross it (which is why this is negative). We can rewrite this in a calculus way as a derivative:
  • dVOUT / dIC = - RC
And now that the above equation connects IC to VOUT, to complete the full gain chain and get from VB (the input) to VOUT, we really just need to connect from VB to IC, because:
  • dVOUT / dVB = (dVOUT / dIC) * (dIC / dVB)
Fortunately, we can actually calculate (dIC / dVB) from the equations we wrote a few steps ago. Starting with VB = RE*IC + VBE, we can take the derivative of both sides with respect to IC and find:
  • dVB / dIC = RE + dVBE/dIC
This last little part dVBE/dIC can be found right out of the two transistor equations we had earlier:
  • IC = β IS eVBE/Vth
  • dIC / dVBE = (1/Vth) * β IS eVBE/Vth
where the (1/Vth) comes from taking the derivative of the exponential. Now, we can notice that the second part of the last equation is actually IC itself, and we can simplify:
  • dIC / dVBE = (1/Vth) * IC
  • dIC / dVBE = IC / Vth
or taking one divided by both sides (inverting both fractions):
  • dVBE / dIC = Vth / IC
As we said before, Vth is about 25 millivolts at room temperature, and IC was picked to be 100 microamps, so in this case,
  • dVBE / dIC = (0.025 volts) / (0.0001 amps)
  • dVBE / dIC = 250 ohms.
So now we can go back and substitute this in to figure out the amplifier gain:
  • dVB / dIC = RE + dVBE/dIC
  • dVB / dIC = RE + Vth / IC
  • dIC / dVB = 1 / (RE + Vth / IC)
  • dVOUT / dVB = (dVOUT / dIC) * (dIC / dVB)
  • dVOUT / dVB = (-RC) / (RE + Vth / IC)
So if RE is much greater than Vth / IC (250 ohms in this case), then we get back to our original simplified gain equation that was derived in the video, dVOUT / dVB = - RC / RE. But now if, for example, RE = 0, then while the earlier gain equation would have suggested infinite gain (dividing by zero), our new one would suggest that it's really - 22K / (RE + 250), or a (negative) gain of about 88 for RM = 0. With RM = 1K, as in our actual potentiometer in our circuit, the (negative) gain is about 18. Having a potentiometer or just swapping out resistors lets you change the gain over a wide range.

No comments: