The present invention relates to MEMS (microelectromechanical system) systems, and more particularly to expanding the input range of a MEMS sensor or microphone.
Microelectromechanical systems (MEMS) microphones are commonly used in mobile telephones and other consumer electronic devices, embedded systems and other devices. A MEMS microphone typically includes a conductive micromachined diaphragm that vibrates in response to an acoustic signal. The microphone also includes a fixed conductive plate parallel to, and spaced apart from, the diaphragm. The diaphragm and the conductive plate collectively form a capacitor, and an electrical charge is placed on the capacitor, typically by an associated circuit. The capacitance of the capacitor varies rapidly as the distance between the diaphragm and the plate varies due to the vibration of the diaphragm. Typically, the charge on the capacitor remains essentially constant during these vibrations, so the voltage across the capacitor varies as the capacitance varies. The varying voltage may be used to drive a circuit, such as an amplifier or an analog-to-digital converter, to which the MEMS microphone is connected. A MEMS microphone connected to a circuit is referred to herein as a “MEMS microphone system” or a “MEMS system.”
MEMS microphone dies are often electrically connected to application-specific integrated circuits (ASICs) to process the electrical signals from the microphones. A MEMS microphone die and its corresponding ASIC are often housed in a common integrated circuit package to keep leads between the microphone and the ASIC as short as possible, such as to avoid parasitic capacitance caused by long leads.
When used in consumer electronics devices and other contexts, MEMS microphone systems may be subjected to widely varying amplitudes of acoustic signals. For example, a mobile telephone used outdoors under windy conditions or in a subway station subjects the MEMS microphone to very loud acoustic signals. Even under quite ambient conditions, a user may hold a microphone too close to the user's mouth or speak in too loud a voice for the MEMS microphone system. Under these circumstances, the diaphragm may reach its absolute displacement limit, and the resulting signal may therefore be “clipped,” causing undesirable distortion. Even if the diaphragm does not reach its absolute displacement limit, the ASIC or other processing circuitry may not be able to handle the peaks of the electrical signal from the MEMS microphone, and the signal may be clipped. Clipping can cause a loss of signal contents. For example, if a speech signal is clipped, the output signal waveform becomes flat and no longer varies with the human speech. Thus, during the clipped portion of each cycle, the signal conveys no intelligible content.
An embodiment of the present invention provides a microphone system configured to avoid or reduce clipping. The microphone system includes a movable structure and an electrode, such as a MEMS or other capacitor microphone. The movable structure is movable in response to an acoustic signal. The movable structure and the electrode establish a capacitance that varies with the acoustic signal to which the movable structure is subjected. Movement of the movable structure produces an electrical signal. The microphone system also includes a circuit for processing the signal. A switch selectively operates to connect a capacitance to a conductive line carrying the signal, so as to attenuate the signal before it is processed by the circuit.
The capacitance may include one or more capacitors connected to the switch. Each capacitor may have a different capacitance.
The switch may include a plurality of switches connected to the plurality of capacitors, such that the capacitance connected to the line depends on the states of the switches. The switches may be implemented with MOSFETs, MEMS switches or other suitable devices or circuits.
A switch control circuit may activate the switch(es) after the signal or a signal derived from the signal (such as a signal generated by a down-stream amplifier or analog-to-digital converter) meets a criterion. The criterion may be met when the signal or the signal derived from the signal exceeds a threshold value or a value less than necessary for clipping or is clipped.
The movable structure, the switch and (optionally) the switch control circuit may be disposed within a common integrated circuit package. The switch control circuit may be entirely or partially disposed external to the common integrated circuit package.
The movable structure and the switch may be disposed in a common integrated circuit die or on different dies.
The switch control circuit may be configured to activate the switch in timed relation to a zero crossing of the signal or the signal derived from the signal.
Another embodiment of the present invention provides a method for attenuating a signal from a capacitor microphone. The method involves detecting if the amplitude of a signal from the capacitor microphone meets a criterion. In response to detecting the amplitude meeting the criterion, a capacitance is automatically connected to a line carrying a signal from the capacitor microphone.
Connecting the capacitance to the line may involve activating a switch. The switch may be disposed within an integrated circuit package that houses the capacitor microphone.
A plurality of capacitors may be selectively connectable to the line via a plurality of switches, such that the capacitance connected to the line depends on the states of the switches. Connecting the capacitance to the line may include activating at least one of the plurality of switches, based on an attribute of the signal. The attribute may involve the amplitude of the signal.
The plurality of switches and the plurality of capacitors may be disposed within an integrated circuit package that houses the capacitor microphone.
The criterion may be met when the amplitude of the signal from the capacitor microphone exceeds a threshold, or when the signal from the capacitor microphone is clipped or when the signal from the capacitor microphone reaches a value less than necessary for clipping.
Yet another embodiment of the present invention provides a microphone system that includes a movable structure and an electrode, such as a MEMS or other capacitor microphone. The movable structure is movable in response to an acoustic signal. The movable structure and the electrode establish a capacitance that varies with the acoustic signal. Movement of the movable structure produces an electrical signal. The microphone system also includes a circuit for processing the signal. Two or more selectable amplifiers are coupled in a signal path between the movable structure and the circuit. Each of the selectable amplifiers is configured to attenuate the signal by a different amount. A selector is configured to select one of the selectable amplifiers, based on a selection signal.
The selectable amplifiers may include two or more series-connected capacitors coupled to a conductive line carrying the signal, so as to produce two or more signal paths. Each of the signal paths is configured to carry the signal attenuated by a different amount. Each of the signal paths is coupled to a different respective one of the selectable amplifiers. A control circuit is configured to activate the selector after the original signal meets a criterion or a signal derived from the original signal meets a criterion.
The invention will be more fully understood by referring to the following Detailed Description of Specific Embodiments in conjunction with the Drawings, of which:
In accordance with embodiments of the present invention, methods and apparatus are disclosed for automatically attenuating a signal from a MEMS or other capacitor microphone in response to the signal meeting a criterion, such as if the signal is clipped or the amplitude of the signal exceeds a predetermined threshold value. Thus, distortion or other problems caused by clipping can be avoided or reduced.
According to conventional design practices, capacitances should be minimized along a signal line from a microphone to a circuit that processes the signals. For example, the length of this signal line is typically kept as short as practical to avoid parasitic capacitances between the signal line and other conductors. However, contrary to conventional design practices, embodiments of the present invention intentionally selectively connect a capacitance to a line carrying a signal from a microphone to a circuit that processes the signal, so as to attenuate the signal before it is processed by the circuit.
In one embodiment, a switch control circuit monitors a signal produced by the microphone or a signal derived from the voltage signal and controls one or more switches in response to attributes of the monitored signal. The switches are connected to the signal line and to one or more capacitors, such that the amount of capacitance connected to the line depends on the states of the switches.
When a criterion is met, for example when the amplitude of the monitored signal exceeds a threshold, or the monitored signal has been clipped or analysis of the monitored signal indicates clipping is imminent or likely, the switch control circuit operates the switches so as to selectively connect one or more of the capacitors to the signal line, i.e., so as to connect a selected capacitance to the signal line. Connecting the capacitance to the signal line attenuates the signal, thereby avoiding or reducing the clipping.
After the capacitance has been connected to the signal line, if the criterion continues to be met, or if the criterion is subsequently again met, the switches may be further operated to connect additional capacitance to the signal line. As the amplitude of the monitored signal or the likelihood of clipping diminishes or ceases, the switch control circuit may operate the switches to reduce (possibly to zero) the capacitance connected to the signal line. Thus, capacitance may be dynamically added or removed in steps in response to changes in the attributes of the signal.
The switches may be implemented with metal oxide semiconductor field effect transistors (MOSMETs), MEMS switches or any other suitable switches or circuits. The switches may be co-located with the microphone in a common semiconductor package. The switches may be fabricated on the same die as the microphone or on another die within the same package, such as a die that includes an ASIC or other circuit that processes the signals from the microphone. Similarly, the capacitors may be co-located with the microphone in a common semiconductor package, and the capacitors may be fabricated on, or attached to, the microphone die or another die, such as the die that includes the circuit that processes the microphone signals. The switch control circuit may be co-packaged with the microphone on the microphone die or another die, or the switch control circuit may be partially or completely external to the package.
A semiconductor package includes a casing, typically made of plastic, ceramic or metal, inside which one or more dies are disposed. The die(s) is(are) attached to a substrate of the package. The package includes one or more electric leads, pads or other electrically conductive features, by which the package can be electrically connected to a circuit board, such as a printed circuit board. The package provides mechanical and, in some cases, environmental protection to the die(s). In the case of a MEMS microphone, the casing may include an aperture, through which acoustic signals may pass. Non-limiting exemplary package types include ball-grid array (BGA), surface mount and through-hole.
Because charge (q) on the capacitor 110 remains essentially constant as the diaphragm vibrates, and the capacitance (C) of the capacitor 110 varies with the vibrations, a voltage (V) across the capacitor 110 varies according to equation (1).
V=q/C (1)
The varying voltage across the capacitor 110 provides a signal 123 that may be processed by another circuit, such as an amplifier or an analog-to-digital converter. In the embodiment shown in
As noted, the diaphragm 103 of the MEMS microphone 101 may reach its absolute displacement limit, resulting in clipping of the signal 123. Even if the diaphragm 103 does not reach its absolute displacement limit, an ASIC or other processing circuitry may not be able to handle the peaks of the electrical signal from the MEMS microphone 101, and the signal may be clipped by the ASIC or other circuit, particularly if a sensitive MEMS microphone is used or if the supply voltage VDD to the ASIC is small. Furthermore, the diodes 133 and 136 become forward biased and begin conducting signal to ground when the instantaneous signal reaches about 600 mV, thereby clipping the signal, as exemplified at 201 and 203 in the waveform 206 of the signal 123 shown in
Returning to
If CMEMS represents the capacitance of the MEMS microphone 101, and CA represents the capacitance 153, the attenuation of the signal 123 depends on the ratio shown in equation (2).
CMEMS/(CA+CMEMS) (2)
A typical MEMS microphone may have a capacitance of about 500 femtofarads (fF), unless of course the diaphragm reaches its absolute displacement limit and shorts to the fixed conductive plate. A capacitance 153 of about 500 femtofarads would attenuate the signal 123 from the MEMS microphone 101 by about 6 db. Capacitances in a range of about CMEMS to about nines times CMEMS may be used to provide attenuations in a range of about 6-20 db in one or more steps.
A reduced-amplitude signal produced after the capacitance 153 has been connected to the signal line 123 is shown in a portion 210 of the waveform shown in
As noted, the capacitance 153 (
All the capacitors need not be effectively connected in parallel. As shown in
Returning to
Various aspects of a signal may be considered in determining if the signal exceeds a threshold value. For example, instantaneous or average amplitude of the signal may be compared to a fixed or variable threshold value. Optionally or alternatively, the average may be a root mean square (RMS) value, an average of peak amplitudes of the signal envelope or any other suitable function. Criteria used in conventional automatic gain control (AGC) and other well-known systems for determining when and to what extent a signal should be attenuated, and when and to what extent the attenuation should be removed, may be used. Additional descriptions of criteria that may be used for determining if or when the signal should be attenuated, as well as additional description that may be relevant to other portions of the present invention, are described in U.S. Provisional Patent Application Nos. 61/186,056, titled “High Level Capable Audio Amplification System” filed Jun. 11, 2009 by Henrik Thomsen, et al.; 61/243,221,and 61/243,240, the entire contents of each of which is hereby incorporated by reference herein, for all purposes. If the criterion is not met, control returns to 501, where the signal analysis and criterion determination are performed again.
If the criterion is met, at 506 signals are generated to activate one or more switches, so as to connect a selected capacitance to the signal line from the microphone. The amount of capacitance selected to be connected to the signal line may depend on various factors, such as: the amplitude of the analyzed signal; the rate of change of the amplitude of the analyzed signal; the amount of capacitance (if any) recently connected to the signal line; the difference between the current amplitude of the analyzed signal and the amplitude at which the signal would be clipped (i.e., the amount of remaining “headroom”); or the length of time since the last change was made in the amount of capacitance connected to the signal line.
Optionally, at 510, the criterion may be adjusted. For example, once one or more switches have been activated to connect capacitance to the signal line, the criterion may be changed, such that the threshold that must be exceeded to trigger connecting additional capacitance may be reduced, for example, from about 75% to about 25% of the amplitude at which the onset of clipping would occur.
The switch control circuit of
The trigger signal 610 from the threshold detector 601 triggers the zero-crossing detector 603. The analyzed signal 143 is also provided to the zero-crossing detector 603. Once triggered, the zero-crossing detector 603 generates a second trigger signal 613 when the analyzed signal 143 crosses its DC value.
The second trigger signal 613 triggers the switch driver 606. The threshold detector 601 also generates a magnitude signal 616 for indicating an amount by which the amplitude of the analyzed signal 143 exceeds the threshold value or another indication of the magnitude of the need to attenuate the signal. This magnitude signal 616 is provided to the switch driver 606. Once triggered by the second trigger signal 613, the switch driver 606 uses the magnitude signal 616 to select a combination of switch(es) 150 to activate, such as based on the factors described above, and the switch driver 606 generates a the control signal 146 to activate the selected switch(es) 150.
The switch(es) 150 connect(s) the capacitance 153 to the signal line 123, thereby commencing attenuation of the signal 123. The amount of attenuation depends on the amount of capacitance connected to the signal line 123. Commencing the attenuation at a zero-crossing has been found to produce a more pleasing result and/or to cause fewer audible artifacts than connecting the capacitance 153 at other phases of the signal 123.
The switch control circuit may be implemented with analog circuits or combinatorial logic, by a processor (such as a digital signal processor (DSP)) executing instructions stored in a memory or by any other appropriate circuit or combination.
Once the analyzed signal 143 no longer meets the criterion, the switch control circuit may remove some or all of the capacitance 153 that has been connected to the signal line 123 using the same or similar logic and/or circuits as described above for adding the capacitance 153 to the line 123. The switch control circuit may introduce a delay before removing the capacitance 153 to avoid or reduce the likelihood of repeatedly cycling its operation. Furthermore, the same or a different criterion may be used to determine when, i.e., in response to what signal attributes, and to what extent to remove or reduce the capacitance. Thus, capacitance may be added and removed in equal or unequal steps and in response to the signal meeting symmetric or asymmetric criteria.
Embodiments of the present invention may be used with various types of capacitor microphones, including MEMS microphones, electret condenser microphones (ECMs), etc.
As noted in the discussion above, with respect to
(CMEMS*CI)/(CA*CI+CMEMS*CA+CMEMS*CI) (3)
Where CI<<CMEMS, the attenuation can be approximated by equation (4), which is essentially independent of CMEMS
CI/(CA+CI) (4)
Where CI>>CMEMS, the attenuation can be approximated by equation (5).
CMEMS/(CA+CMEMS) (5)
Even where the capacitance of the MEMS microphone 101 cannot be totally ignored, the attenuation depends less on the value of CMEMS than it does in a circuit without an AC coupling capacitor 700.
The AC coupling capacitor 700 can also reduce total harmonic distortion (THD) of the signal 123, when the attenuation capacitance 153 is connected to the signal circuit. The THD depends on the parasitic load applied to the MEMS microphone 101. Without an AC coupling capacitor 700, the parasitic load is CA. A CA value that is several times the value of CMEMS can cause significant distortion.
On the other hand, with the AC coupling capacitor 700 in the circuit, the parasitic load applied to the MEMS microphone 101 is CI in series with CA. If CI is approximately equal to CMEMS, and CA is approximately ten times the value of CMEMS, the series combination of CA and CI is approximately equal to CI. Since CI is approximately one-tenth the value of CA, the series circuit causes much less THD degradation than if CI were absent.
The differential input stages 810, 813, 816, etc. and the output stage 823 are configured with feedback 826, so the resulting amplifier has unity gain. DC bias circuits (not shown for simplicity) may be included, as necessary. Resistors 830 and 833 may, of course, be replaced by current minors.
The amount of attenuation provided by the circuit depends on which differential input stage 810, 813, 816, etc. is selected. The embodiment shown in
In general, C1<C2<C3, etc., and the attenuation of signal 800 is less than the attenuation of signal 803, which is less than the attenuation of signal 806, etc. However, as noted above, the actual attenuation depends on the relative values of CMEMS, CI (if included) and the one or more capacitors (C1, C2, C3, etc.) in series feeding a given differential input stage 810, 813, 816, etc. As noted above, CI may be omitted. It should be noted that the attenuations associated with the lower numbered differential input stages depend on fewer of the capacitors C1, C2, C3, etc. (and specifically the lower numbered capacitors) than the higher numbered differential input stages. For example, assuming C1<<C2, the value of C2, C3, etc. have little impact on the attenuation of the first signal 800. In addition, the smaller the value of C1, relative to the values of CI and CMEMS, the closer the ratio of the attenuation of the signal 800 to the attenuation of the signal 803 is to that shown in equation (6), and the more independent these attenuations are to the value of CMEMS.
C1/(C2+C1) (6)
A switch control circuit has been described as including a processor controlled by instructions stored in a memory. The memory may be random access memory (RAM), read-only memory (ROM), flash memory or any other memory, or combination thereof, suitable for storing control software or other instructions and data. Some of the functions performed by the methods and apparatus for automatically attenuating a signal from a microphone in response to the signal meeting a criterion have been described with reference to flowcharts and/or block diagrams. Those skilled in the art should readily appreciate that functions, operations, decisions, etc. of all or a portion of each block, or a combination of blocks, of the flowcharts or block diagrams may be implemented as computer program instructions, software, hardware, firmware or combinations thereof. Those skilled in the art should also readily appreciate that instructions or programs defining the functions of an embodiment of the present invention may be delivered to a processor in many forms, including, but not limited to, information permanently stored on non-writable storage media (e.g. read-only memory devices within a computer, such as ROM, or devices readable by a computer I/O attachment, such as CD-ROM or DVD disks), information alterably stored on writable storage media (e.g. floppy disks, removable flash memory and hard drives) or information conveyed to a computer through communication media, including wired or wireless computer networks. In addition, while the invention may be embodied in software, the functions necessary to implement the invention may optionally or alternatively be embodied in part or in whole using firmware and/or hardware components, such as combinatorial logic, Application Specific Integrated Circuits (ASICs), Field-Programmable Gate Arrays (FPGAs) or other hardware or some combination of hardware, software and/or firmware components.
While the invention is described through the above-described exemplary embodiments, it will be understood by those of ordinary skill in the art that modifications to, and variations of, the illustrated embodiments may be made without departing from the inventive concepts disclosed herein. For example, although some aspects of methods and apparatus have been described with reference to a flowchart, those skilled in the art should readily appreciate that functions, operations, decisions, etc. of all or a portion of each block, or a combination of blocks, of the flowchart may be combined, separated into separate operations or performed in other orders. Furthermore, disclosed aspects, or portions of these aspects, may be combined in ways not listed above. Accordingly, the invention should not be viewed as being limited to the disclosed embodiments.
This application is a divisional of U.S. patent application Ser. No. 12/784,143, filed on May 20, 2010, by Josefsson et al., and entitled “Switchable Attenuation Circuit For MEMS Microphone Systems”, which claims the benefit of U.S. Provisional Patent Application No. 61/179,757, filed May 20, 2009, titled “Switchable Input Capacitor for MEMS Systems,” the entire contents of which are hereby incorporated by reference herein, for all purposes.
Number | Name | Date | Kind |
---|---|---|---|
5016515 | Scott | May 1991 | A |
5734725 | Pritchard | Mar 1998 | A |
6108426 | Stortz | Aug 2000 | A |
6266423 | Werrbach | Jul 2001 | B1 |
6288606 | Ekman et al. | Sep 2001 | B1 |
6522752 | Smith | Feb 2003 | B1 |
7142037 | Josefsson | Nov 2006 | B2 |
20090003629 | Shajaan et al. | Jan 2009 | A1 |
20090052696 | Iwamatsu | Feb 2009 | A1 |
20090316935 | Furst | Dec 2009 | A1 |
20100266145 | Aimo Suvanto | Oct 2010 | A1 |
20110026739 | Thomsen et al. | Feb 2011 | A1 |
20110029109 | Thomsen et al. | Feb 2011 | A1 |
20110110536 | Hovesten | May 2011 | A1 |
20120121106 | Henriksen | May 2012 | A1 |
Number | Date | Country |
---|---|---|
0178446 | Oct 2001 | WO |
02073792 | Sep 2002 | WO |
Number | Date | Country | |
---|---|---|---|
20140093102 A1 | Apr 2014 | US |
Number | Date | Country | |
---|---|---|---|
Parent | 12784143 | May 2010 | US |
Child | 14099078 | US |