Method and apparatus of a switched microphone interface circuit for voice energy detection
10250996 ยท 2019-04-02
Assignee
Inventors
Cpc classification
H04R1/04
ELECTRICITY
H04R2460/03
ELECTRICITY
H04R2499/11
ELECTRICITY
H04R2420/05
ELECTRICITY
H04R2201/107
ELECTRICITY
International classification
Abstract
An acoustic energy detection circuit can include a microphone interface circuit configured for coupling to a microphone. The microphone interface circuit is configured to intermittently activate the microphone to detect acoustic energy and convert the acoustic energy to an electrical signal. The acoustic energy detection circuit also includes a comparator circuit for receiving the electrical signal and comparing the electrical signal with a threshold signal. The comparator circuit is configured to output an output signal to indicate detection of acoustic energy.
Claims
1. A microphone interface circuit, comprising: a field effect transistor (FET); and a first switch and a second switch for coupling the FET to an electret microphone for intermittently detecting acoustic energy; wherein the FET is configured to: provide a DC bias current to the electret microphone; receive a same DC bias voltage on a gate connection and a drain connection of the FET; and provide output audio samples between the gate connection and drain connection for further processing.
2. The microphone interface circuit of claim 1, further comprising a bias circuit, wherein: the field effect transistor (FET) has a source connection configured for coupling to a first power supply terminal; the first switch coupled to the drain connection of the FET, the first switch also configured for coupling to a first terminal of the microphone, the microphone having a second terminal for coupling to a second power supply terminal; the bias circuit has a first capacitor coupled in series with an RC circuit, the RC circuit having a parallel combination of a resistor and a second capacitor, the first capacitor configured for coupling between the first power supply terminal and the gate connection; and the RC circuit is coupled between the gate connection and the second switch, the second switch also configured for coupling to the first terminal of the microphone, wherein the microphone interface circuit is configured for receiving a microphone power-up signal for intermittently turning on and off the first switch and the second switch for activating and deactivating the microphone.
3. The microphone interface circuit of claim 2, further comprising a third switch coupled between the first capacitor and the drain of the FET, where the third switch is configured to receive a precharge signal for charging up the first capacitor.
4. The microphone interface circuit of claim 2, wherein the microphone power-up signal is a pulsed control signal having a duty cycle between 0% and 100% for low-power operation.
5. The microphone interface circuit of claim 2, wherein the microphone power-up signal is a pulsed control signal having variable periods of on time and off time.
6. The microphone interface circuit of claim 1, wherein the field effect transistor comprises a first transistor and a second transistor coupled in series in a cascaded configuration.
7. The microphone interface circuit of claim 6, wherein the second transistor is coupled to a bias voltage.
8. The microphone interface circuit of claim 1, the first switch and the second switch each comprises a CMOS switch having an NMOS transistor and a PMOS transistor coupled in parallel.
9. The microphone interface circuit of claim 1, wherein the first switch and the second switch have a switching frequency that is twice a targeted bandwidth of the acoustic energy to be detected.
10. The microphone interface circuit of claim 1, wherein the microphone comprises an acoustic energy transducer configured for detecting subsonic, sonic, or supersonic acoustic energy.
11. A microphone interface circuit, wherein: the microphone interface circuit is configured for capacitor-less coupling to an electret microphone; and the microphone interface circuit comprises: a single field-effect transistor (FET) configured to provide a current to activate the electret microphone to detect acoustic energy, wherein: the single field-effect transistor (FET) is also configured to, after detection of acoustic energy, amplify AC signal from the electret microphone and provide an amplified output audio signal for further processing; and the single field-effect transistor (FET) has a source connection, a gate connection, and a drain connection, the source configured for coupling to a first power supply terminal; a first switch coupled to the drain connection of the FET, the first switch also configured for coupling to a first terminal of the microphone, the microphone having a second terminal for coupling to a second power supply terminal; and a bias circuit having a first capacitor coupled in series with an RC circuit, the RC circuit having a parallel combination of a resistor and a second capacitor, the first capacitor configured for coupling between the first power supply terminal and the gate connection, the RC circuit being coupled between the gate connection and a second switch, the second switch also configured for coupling to the first terminal of the microphone, wherein the microphone interface circuit is configured for receiving a microphone power-up signal for intermittently turning on and off the first switch and the second switch for activating and deactivating the microphone.
12. An acoustic energy detection circuit, comprising: a microphone interface circuit configured for coupling to an electret microphone, wherein the microphone interface circuit is configured to intermittently provide a bias current to the electret microphone to detect acoustic energy and convert the acoustic energy to an electrical signal; and a comparator circuit for receiving the electrical signal and comparing the electrical signal with a threshold signal, the comparator circuit configured to output an output signal to indicate detection of acoustic energy; wherein the microphone interface circuit comprises: an MOS transistor having a source, a gate, and a drain, the source configured for coupling to a first power supply terminal; a first switch coupled to the drain of the MOS transistor, the first switch also configured for coupling to a first terminal of the microphone, the microphone having a second terminal for coupling to a second power supply terminal; a bias circuit has a first capacitor coupled in series with an RC circuit, the RC circuit having a parallel combination of a resistor and a second capacitor, the first capacitor configured for coupling to the first power supply terminal; and the RC circuit is coupled between the gate and the second switch, the second switch also configured for coupling to the first terminal of the microphone, wherein the microphone interface circuit is configured for receiving a microphone power-up signal for periodically turning on and off the first switch and the second switch for activating and deactivating the microphone.
13. The acoustic energy detection circuit of claim 12, where the acoustic energy detection circuit is configured to: precharge the microphone interface circuit in response to a precharge signal; intermittently provide a current to activate the microphone to detect acoustic energy in a low-power operation mode in response to a pulsed microphone power-up signal; and after detection of acoustic energy, maintain the microphone in an activated state for acoustic energy processing.
14. The acoustic energy detection circuit of claim 12, wherein the microphone interface circuit is configured to provide a current to the microphone at constant time periods.
15. The acoustic energy detection circuit of claim 12, wherein the microphone interface circuit is configured to provide a current to the microphone at variable time periods.
16. The acoustic energy detection circuit of claim 12, wherein the microphone interface circuit further comprises: a third switch coupled between the first capacitor and the drain of the MOS transistor, where the third switch is configured to receive a precharge signal for charging up the first capacitor.
17. The acoustic energy detection circuit of claim 12, wherein the microphone power-up signal has a duty cycle of less than 10% for low-power operation.
18. The acoustic energy detection circuit of claim 12, further comprising latches and a decision logic circuit for keeping track of a number of times the electrical signal exceeds the threshold signal before indicating detection of acoustic energy.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
(1)
(2)
(3)
(4)
(5)
(6)
(7)
(8)
(9)
(10)
(11)
(12)
(13)
(14)
DETAILED DESCRIPTION OF THE INVENTION
(15) Voice command applications in mobile devices are becoming more popular. The circuits that process audio signals detected by the microphone often consumes substantial power, because these circuits are typically always running as a voice command or keyword that can arrive at any time. For power efficient implementation and long battery life, it is desirable to have very low power circuits that process audio signal detected by the microphone.
(16) Typically, the sequence for activating the voice command processing is as follows:
(17) 1) Acoustic energy detection. This detects any incoming sound energy and, if detected, it can enable the circuits required for further discrimination between voice energy and other sounds in step 2). The circuit used for the acoustic energy detection includes the low power Electret Microphone Interface Circuit as described in this application. The first stage triggers subsequent stages, which consume more power;
2) Voice detection. This can be done by an algorithm or circuit that needs to reject noise and music, but flag voice inputs. If a voice is detected, then the keyword detection in step 3) is initiated;
3) Keyword detection. This detects if the voice input contains a system keyword (like Siri, Ok Google, Alexa) required for voice commands. If the keyword is detected, then voice command processing in step 4) is initiated;
4) Voice command processing. This can be carried out on an external server and system dependent;
(18) Every step described above is often gated, such that the most power or data consuming steps are less likely to be triggered by false sound triggers. This allows the mobile system to operate at low power. Embodiments of the invention can handle the microphone circuit for acoustic energy detection, which needs to be enabled and, therefore, its power dissipation is critical.
(19)
(20)
(21) In
(22) Microphone interface circuit 210 also includes a bias circuit 230 having a first capacitor C1 coupled in series with an RC circuit. The first capacitor C1 is configured for coupling to the first power supply terminal Vcc. The RC circuit has a parallel combination of a resistor R1 and a second capacitor C2. A second switch 212 is coupled to the RC circuit of resistor R1 and second capacitor C2. The second switch 212 is also configured for coupling to the first terminal 221 of the microphone 220. The interface circuit 210 is configured for receiving a microphone power-up signal PU for intermittently, or periodically, turning on and off the first switch 211 and the second switch 212 for activating and deactivating the microphone.
(23) In some embodiments, the interface circuit 210 also includes a third switch 213 coupled between the first capacitor C1 and the drain D of the MOS transistor. The third switch 213 is configured to receive a precharge signal PreCharge for charging up the first capacitor C1. The third switch 213 is used by the acoustic energy detection circuit to precharge the interface circuit in response to the precharge signal PreCharge before the start of the acoustic energy detection.
(24)
(25)
(26)
(27)
(28) The first switch 211 and the second switch 212 are configured to intermittently, or periodically, provide a current to activate the microphone to detect acoustic energy in a low-power operation mode in response to a pulsed microphone power-up signal PU. During the time period in which the microphone is activated, the microphone can detect acoustic energy. During the time period in which the microphone is deactivated, the microphone is not functional, and the system is in a low-power or power saving mode. After detection of acoustic energy, interface circuit 210 maintains the microphone in the activated state for acoustic energy processing.
(29) In
(30)
(31)
(32)
(33)
the AC signal from the microphone will be attenuated at the gate of M1. At the corner frequency of
(34)
the microphone signal current will be gained up by R1, provided R1>>rds1, where rds1 is the drain to source resistance of M1. Beyond the corner frequency of
(35)
the microphone voltage is attenuated again. The transfer function of the Vmic signal can be shown to be as follows.
(36)
(37)
(38)
(39) As described above, H2 is the transfer function of the output signal Vout. The high pass and low pass corners can be tuned to match the voice band by adjusting parameters such as, gm1, C1, C2, and R1. The transconductance of transistor M1, gm1, can be tuned by adjusting transistor M1. Further, transistor M1 can be programmable to match the microphone. For example, the current for the microphone is affected by Rds of M1 and R1. In the circuit of
(40) Referring back to
(41) Depending on the embodiments, the power up signal PU can be an intermittent pulsed signal. In some embodiments, the power up signal PU can be a periodic pulse signal having a constant period to turn on the first switch 211 and the second switch 212 to provide a current to the microphone at constant time periods. For example, the microphone power-up signal can have a duty cycle of less than 10% for low-power operation, such that the microphone is turned on less than 10% of the time. In other embodiments, the power up signal PU can be an intermittent pulse signal with variable turn on times to turn on the first switch 211 and the second switch 212 to provide a current to the microphone at variable time periods.
(42) Referring back to
(43) Some embodiments of the present invention provide a microphone bias and gain stage with a programmable duty cycle power up and down control. In the embodiments described above, the microphone interface has no capacitor coupling to the microphone. This allows fast charging of the microphone during a brief power up cycle. For the remainder of the cycle, the microphone and associated interface circuit is powered down. The circuit is powered up when a power-up (PU) signal is set high. The power up time when PU is high is typically a fraction of the total cycle time, where the cycle time is related to the sample rate of the analog-to-digital converter (ADC), as follows.
Tcycle=1/Fs, where Fs is the sample rate.
Tpu=Tcycle/N, where N>1.
The above equations show that Tpu can be set to be a fraction of Tcycle.
(44)
(45) In
(46) In another simulation study, the trigger does not become enabled. In this case, the microphone contains a 200 Hz and 1 KHz signal with 0.25 A peak signal. The circuit draws 4.5 A of current which is 8 W at 1.8 V supply. This example shows the low power consumption of the circuit during voice detection operation, as a result of the periodic or intermittent activation of the microphone.
(47)
(48)
(49)
(50)
(51)
(52) Even though embodiments of the invention have been described using various specific examples, it is understood that numerous modifications can be made to the embodiments within the purview of the invention. It is also understood that various device, circuit, or logic components in the above examples can be replaced by equivalent alternative components known to those of ordinary skill in the art.
(53) While the above is a description of specific embodiments of the invention, the description should not be taken as limiting the scope of the invention. It is understood that the examples and embodiments described herein are for illustrative purposes only and that various modifications or changes can be made in light thereof.