User Tools

Site Tools


dig:microphones

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

dig:microphones [2013/03/04 09:59]
tobi
dig:microphones [2013/03/04 10:13] (current)
tobi
Line 1: Line 1:
  
  
-===== Microphones and microphone preamplifier ======+===== Electret Microphones ======
  
 You will use in [[:dig:lab_3]] the most common type of microphone: the **[[http://en.wikipedia.org/wiki/Electret_microphone|electret microphone]]** (see {{dig:sessler_api_electret_1963_jasman_35_9_1354_1.pdf|this paper from the inventor, G.M. Sessler, 1963}}). The foil electret uses a permanently-charged foil which vibrates when sound hits it. The movement of the charge creates a voltage.  It's trickier than you might think so see the paper if you want to understand the electrostatics. You may also want to look at the part of the [[http://www.ini.uzh.ch/~tobi/wiki/lib/exe/fetch.php?media=kochspeechdetectordesign2008.pdf|master's thesis from Thomas Koch on an integrated microphone preamplifier circuit]]. These microphones almost always include a JFET transistor. The n-channel [[http://en.wikipedia.org/wiki/JFET|JFET transistor]] reduces the output impedance and can also be used to form a first voltage gain stage - or it can just serve as a unity-gain buffer. Electret microphones usually cost <1$.  The two wires to the electret are the drain and source of the JFET; the source is connected to the electret foil and the gate is tied inside the microphone capsule to the opposite plate from the electret foil, where it adjusts itself to an equilibrium voltage such that the net current onto the gate is zero. Microphones are rated in part by the JFET DC current, e.g. 2mA. Sound modulates this current slightly. You can build a very basic microphone preamplifier by simply hooking up the microphone to either a pullup resistor or to a source-follower resistor (see below).  Either way, your microphone output signals will have a maximum amplitudes of only tens of mV. This rather small signal means that usually you need another preamplifier to make the signal larger before conversion; however here let's just start with the simplest preamplifier consisting of a single resistor. The small signals will expose the problems in trying to convert (digitize) small signals which sit at a large DC voltage. For example, if you use the ADC in 8 bit mode with the ADC reference voltage at 3.3V, then your levels are separated by 3.3V/255=13mV, so you will barely be able to observe a loud sound. The resolution with 10 bit conversion will only be theoretically 4 times smaller, or about 3mV, but remember the ADCs 10 bit mode has a differential non-linearity - check the {{dig:at32uc3bdatasheet.pdf|AVR32 datasheet}}. You will use in [[:dig:lab_3]] the most common type of microphone: the **[[http://en.wikipedia.org/wiki/Electret_microphone|electret microphone]]** (see {{dig:sessler_api_electret_1963_jasman_35_9_1354_1.pdf|this paper from the inventor, G.M. Sessler, 1963}}). The foil electret uses a permanently-charged foil which vibrates when sound hits it. The movement of the charge creates a voltage.  It's trickier than you might think so see the paper if you want to understand the electrostatics. You may also want to look at the part of the [[http://www.ini.uzh.ch/~tobi/wiki/lib/exe/fetch.php?media=kochspeechdetectordesign2008.pdf|master's thesis from Thomas Koch on an integrated microphone preamplifier circuit]]. These microphones almost always include a JFET transistor. The n-channel [[http://en.wikipedia.org/wiki/JFET|JFET transistor]] reduces the output impedance and can also be used to form a first voltage gain stage - or it can just serve as a unity-gain buffer. Electret microphones usually cost <1$.  The two wires to the electret are the drain and source of the JFET; the source is connected to the electret foil and the gate is tied inside the microphone capsule to the opposite plate from the electret foil, where it adjusts itself to an equilibrium voltage such that the net current onto the gate is zero. Microphones are rated in part by the JFET DC current, e.g. 2mA. Sound modulates this current slightly. You can build a very basic microphone preamplifier by simply hooking up the microphone to either a pullup resistor or to a source-follower resistor (see below).  Either way, your microphone output signals will have a maximum amplitudes of only tens of mV. This rather small signal means that usually you need another preamplifier to make the signal larger before conversion; however here let's just start with the simplest preamplifier consisting of a single resistor. The small signals will expose the problems in trying to convert (digitize) small signals which sit at a large DC voltage. For example, if you use the ADC in 8 bit mode with the ADC reference voltage at 3.3V, then your levels are separated by 3.3V/255=13mV, so you will barely be able to observe a loud sound. The resolution with 10 bit conversion will only be theoretically 4 times smaller, or about 3mV, but remember the ADCs 10 bit mode has a differential non-linearity - check the {{dig:at32uc3bdatasheet.pdf|AVR32 datasheet}}.
 +
 +[[:dig:micpreamp]] explains how to build the microphone preamp.
  
 {{dig:electret1.png?400px|Electret microphone}} {{dig:electret1.png?400px|Electret microphone}}
 {{dig:electret2.png?300px|Equivalent circuit of electret with JFET buffer}} {{dig:electret2.png?300px|Equivalent circuit of electret with JFET buffer}}
  
dig/microphones.txt · Last modified: 2013/03/04 10:13 by tobi