CONFIGURABLE MICROPHONE USING INTERNAL CLOCK CHANGING
20250223155 ยท 2025-07-10
Inventors
Cpc classification
B81B7/008
PERFORMING OPERATIONS; TRANSPORTING
International classification
B81B7/00
PERFORMING OPERATIONS; TRANSPORTING
H03M3/00
ELECTRICITY
Abstract
A method of operating a microelectromechanical system (MEMS) includes, in a first operational mode, converting an analog output of the MEMS into a first internal data stream and a first external data stream having a first sampling rate; transitioning from the first operational mode to a second operation mode without restarting the MEMS; and in the second operational mode, converting the analog output of the MEMS into a second internal data stream having a second sampling rate different from the first sampling rate, and performing a sampling rate conversion of the second internal data stream to generate a second external data stream.
Claims
1. A circuit comprising: a clock divider having an input coupled to a clock signal input; a multiplexer having a first input coupled to an output of the clock divider, a second input coupled to the clock signal input, a third input coupled to a control signal input, and an output, wherein the multiplexer couples the first input to the output or couples the second input to the output according to a state of the control signal input; a signal processing circuit having an analog signal input, a clock signal input coupled to the output of the multiplexer, and a digital signal output comprising one or more output nodes; and a frequency converter coupled between the digital signal output of the signal processing circuit and a data stream output, wherein a conversion factor of the frequency converter is determined according to the state of the control signal input.
2. The circuit of claim 1, wherein the signal processing circuit comprises: an analog-to-digital converter (ADC) having an input coupled to the analog signal input; a digital filter having an input coupled to an output of the ADC; and a digital modulator having an input coupled to an output of the digital filter and an output coupled to the digital signal output.
3. The circuit of claim 1, wherein the signal processing circuit comprises: an analog-to-digital converter (ADC) having an input coupled to the analog signal input; and a digital filter having an input coupled to an output of the ADC and an output coupled to the digital signal output.
4. The circuit of claim 3, further comprising a digital modulator interposed between the frequency converter and the data stream output.
5. The circuit of claim 4, further comprising an additional frequency converter interposed between the digital modulator and the data stream output.
6. The circuit of claim 3, wherein the digital filter comprises an additional input for receiving a first set of coefficients or a second set of coefficients according to the state of the control signal input.
7. The circuit of claim 1, further comprising a microelectromechanical system (MEMS) having an output coupled to the analog signal input of the signal processing circuit.
8. The circuit of claim 7, wherein the MEMS comprises a microphone.
9. A microelectromechanical system (MEMS) circuit in a single package comprising: a control signal input, a clock signal input, and a data stream output for providing a constant rate single bit output stream at one or more output nodes; a MEMS device; and a signal processing circuit coupled to the MEMS device, to the control signal input, to the clock signal input, and the data stream output, wherein, in a first mode of operation determined by a first state of the control signal input, at least a portion of the signal processing circuit is directly coupled to the clock signal input, and wherein, in a second mode of operation determined by a second state of the control signal input, the at least a portion of the signal processing circuit is coupled to the clock signal input through a clock divider.
10. The MEMS circuit of claim 9, wherein the signal processing circuit comprises an analog-to-digital converter (ADC) having an input coupled to the MEMS device and a digital filter having an input coupled to an output of the ADC.
11. The MEMS circuit of claim 10, wherein the ADC comprises a sigma-delta ADC.
12. The MEMS circuit of claim 10, wherein the digital filter is configured to receive a first set of coefficients in the first mode of operation and a second set of coefficients in the second mode of operation.
13. The MEMS circuit of claim 9, wherein the MEMS device comprises a microphone.
14. The MEMS circuit of claim 9, further comprising a first frequency converter coupled between an output of the signal processing circuit and the data stream output, wherein a conversion factor of the first frequency converter is determined according to whether the state of the control signal input in in the first state or in the second state.
15. The MEMS circuit of claim 14, further comprising a digital modulator coupled to the data stream output and to the first frequency converter, wherein the digital modulator is clocked at a constant frequency regardless of whether the state of the control signal input in in the first state or in the second state.
16. The MEMS circuit of claim 15, further comprising a second frequency converter, wherein the first frequency converter is coupled between an output of the signal processing circuit and an input to the digital modulator, the second frequency converter is coupled between an output of the digital modulator and the data stream output, and a conversion factor of the second frequency converter is determined according to whether the state of the control signal input in in the first state or in the second state.
17. A method of operating a microelectromechanical system (MEMS) device, the method comprising: receiving a control signal at a control signal input; receiving a clock signal at a clock signal input; receiving an analog signal from the MEMS device at a signal processing circuit; in a first mode of operation determined by a first state of the control signal, directly coupling at least a portion of the signal processing circuit to the clock signal input; in a second mode of operation determined by a second state of the control signal, coupling the at least a portion of the signal processing circuit to the clock signal input through a clock divider; and providing a constant rate output stream at a data stream output of the signal processing circuit.
18. The method of claim 17, further comprising: converting the analog signal into a digital signal using an analog-to-digital converter (ADC) of the signal processing circuit; receiving by a digital filter having an input coupled to an output of the ADC, a first set of coefficients in the first mode of operation and a second set of coefficients in the second mode of operation; and filtering the digital signal using the digital filter.
19. The method of claim 17, further comprising: outputting a digital signal from the signal processing circuit; and determining a conversion factor of a frequency converter according to whether the control signal input in in the first state or in the second state; and converting a frequency of the digital signal using the frequency converter, wherein the frequency converter is coupled between an output of the signal processing circuit and the data stream output.
20. The method of claim 19, further comprising: modulating the digital signal using a digital modulator; and clocking the digital modulator at a constant frequency regardless of whether the control signal input in in the first state or in the second state.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
[0008] For a more complete understanding of the present invention, and the advantages thereof, reference is now made to the following descriptions taken in conjunction with the accompanying drawings, in which:
[0009]
[0010]
[0011]
[0012]
[0013]
[0014]
[0015]
[0016]
[0017]
[0018]
DETAILED DESCRIPTION OF ILLUSTRATIVE EMBODIMENTS
[0019] In standard digital microphones the adjustment of or switching between microphone performance and microphone power consumption is handled by selecting different operating modes, which in turn is typically controlled by selecting different clock rates only. For example, a low power operating mode of the digital microphone may having a corresponding sampling frequency of f.sub.s=768 kHz, whereas a high performance operating mode of the digital microphone may have a corresponding sampling frequency of f.sub.s=3.072 MHz. Other frequencies for the high performance operating mode can be used such as 2.4 MHz or 1.536 MHz, in embodiments. If an operating mode change is required, for example a change from a low power mode to a high performance mode, the digital microphone clock is changed from 768 kHz to 3.072 MHz. To perform the mode change in the digital microphone the (changed) clock is detected (typically using a power mode detector (PMD)). In existing digital microphones the mode change is typically handled as a startup (or restart) of the digital microphone for safety reasons. During a mode change the acoustic signal is not available, which can also cause switching artefacts. Typically, the operating mode change can take between 1 ms and 10 ms, measured between the end of a first operating mode to the beginning of a second operating mode.
[0020] An advantage of some embodiments includes the ability to seamlessly adjust between operating modes without restart delay and with minimal switching artefacts (for example during seamless dynamic SNR adjustment or during seamless dynamic power saving strategies). Embodiments of a digital microphone and method of operating a digital microphone are therefore described below wherein an adjustment or switching between a low power mode and a high performance operating mode occurs seamlessly without any restart delay and with a minimum of switching artefacts. In an embodiment, only one additional external control signal input to the digital microphone is required, and the clock rate or sampling rate of an output signal at one or more output nodes of the digital microphone is configured to be constant between the two operating modes.
[0021] In an embodiment, when an external control signal (ctrl) is available, the performance (SNR) and/or power consumption of a digital microphone can be flexibly and seamlessly changed, by deriving different internal clock rates with a clock divider block responsive to the external control signal (ctrl) from a constant incoming clock (clk) as will be described in further detail below. According to an embodiment, a constant output signal clock rate can be provided by an adjustable interpolation stage that is also responsive to the external control signal (ctrl) that is also described in further detail below.
[0022]
[0023] ASIC 104A includes a signal processing circuit 116A coupled to a repeater 124. The input signal of the signal processing circuit is the analog signal 103 of ASIC 104A, and the output of repeater 124 is the digital output 114 of ASIC 104A. In
[0024] Multiplexer 106 has three inputs, and an output. A first input receives the ctrl signal at control input 110. A second input receives a divided version of the clk signal through clock divider 108, and a third input received an undivided version of the clk signal directly from clock input 112. The logic state of the ctrl signal thus controls whether or not the divided or undivided clock signal is transferred through multiplexer 106 to the multiplexer output.
[0025] Clock divider 108 is a divider circuit that divides the input clock signal by a factor (D). For example, in the low power operating mode, clock divider 108 can divide the clock signal by two (D=2), by four (D=4) or other any other factor.
[0026] To obtain flexibility in terms of performance (SNR) and/or power consumption, different clock rates generated by the clock divider 108 and multiplexer 106 from the constant incoming clock rate (clk) can be used by signal processing circuit 116A. In the case of a reduced internal clock rate (clkred=clk/D). The clock rate of the output data stream at digital output 114 can be made constant by repeater 124. In the simplest implementation, repeater 124 can be a repeater interpolating (repeating values) at a factor D. In the high performance operating mode, the undivided clock signal is provided to signal processing circuit 116A. Thus, the sampling rate for the ADC is the same as the clock frequency of the input clock signal, clk at clock input 112. The state of the control signal configures repeater 124 to not add any additional zeroes to the output of the digital signal received from signal processing circuit 116A. In the low power operating mode, the divided clock signal is provided to signal processing circuit 116A. Thus, the sampling rate for the ADC is equal to the clock frequency of the input clock signal divided by D. The state of the control signal configures repeater 124 to add an appropriate number of zeroes to the output of the digital signal received from signal processing circuit 116A, such that the clock rate of the digital signals provided in the high performance operating mode and the low power operating mode are the same.
[0027] A further advantage of the digital microphone embodiment shown in
[0028] In addition, the digital microphone embodiment of
[0029]
[0030]
[0031]
[0032]
[0033]
[0034] A corresponding time domain plot is shown in
[0035]
[0036] For optimizing potential residual switching transients, the interpolation stage (repeater 124) can be shifted after the digital filter 120 so that also the digital modulator 122 is always running at a constant rate independent of the clock signal of ADC 118 and digital filter 120 as is shown in
[0037]
[0038] All other blocks in the digital microphone 300 of
[0039]
[0040] Digital filter 120 is shown in further detail in
[0041]
[0042]
[0043] Example embodiments of the present invention are summarized here. Other embodiments can also be understood from the entirety of the specification and the claims filed herein.
[0044] Example 1. According to an embodiment, a method of operating a microelectromechanical system (MEMS) includes, in a first operational mode, converting an analog output of the MEMS into a first internal data stream and a first external data stream having a first sampling rate; transitioning from the first operational mode to a second operation mode without restarting the MEMS; and in the second operational mode, converting the analog output of the MEMS into a second internal data stream having a second sampling rate different from the first sampling rate, and performing a sampling rate conversion of the second internal data stream to generate a second external data stream.
[0045] Example 2. The method of Example 1, wherein the first external data stream and the second external data stream are provided at a one or more output nodes.
[0046] Example 3. The method of any of the previous examples, wherein a sampling rate of the first external data stream and a sampling rate of the second external data stream are equal.
[0047] Example 4. The method of any of the previous examples, wherein performing a sampling rate conversion of the second internal data stream to generate a second external data stream comprises repeating samples in the second internal data stream.
[0048] Example 5. The method of any of the previous examples, wherein converting the analog output of the MEMS comprises performing a sigma-delta analog-to-digital conversion on the analog output of the MEMS.
[0049] Example 6. The method of any of the previous examples, wherein converting the analog output of the MEMS into the first internal data stream is performed by a signal processing circuit clocked at the first sampling rate, and wherein converting the analog output of the MEMS into the second internal data stream is performed by the signal processing circuit clocked at the second sampling rate.
[0050] Example 7. The method of any of the previous examples, wherein the signal processing circuit comprises an analog-to-digital converter (ADC) and a digital filter.
[0051] Example 8. The method of any of the previous examples, further comprising providing a first set of coefficients to the digital filter in the first operational mode and providing a second set of coefficients to the digital filter in the second operational mode.
[0052] Example 9. The method of any of the previous examples, wherein the signal processing circuit further comprises a digital modulator.
[0053] Example 10. The method of any of the previous examples, wherein the signal processing circuit receives an undivided clock signal in the first operational mode and a divided clock signal in the second operational mode.
[0054] Example 11. The method of any of the previous examples, wherein the MEMS comprises a microphone.
[0055] Example 12. According to an embodiment, a circuit includes a clock divider having an input coupled to a clock signal input; a multiplexer having a first input coupled to an output of the clock divider, a second input coupled to the clock signal input, a third input coupled to a control signal input, and an output, wherein the multiplexer couples the first input to the output or couples the second input to the output according to a state of the control signal input; a signal processing circuit having an analog signal input, a clock signal input coupled to the output of the multiplexer, and a digital signal output comprising one or more output nodes; and a frequency converter coupled between the digital signal output of the signal processing circuit and a data stream output, wherein a conversion factor of the frequency converter is determined according to the state of the control signal input.
[0056] Example 13. The circuit of Example 12, wherein the signal processing circuit includes an analog-to-digital converter (ADC) having an input coupled to the analog signal input; a digital filter having an input coupled to an output of the ADC; and a digital modulator having an input coupled to an output of the digital filter and an output coupled to the digital signal output.
[0057] Example 14. The circuit of any of the previous examples, wherein the signal processing circuit comprises: an analog-to-digital converter (ADC) having an input coupled to the analog signal input; and a digital filter having an input coupled to an output of the ADC and an output coupled to the digital signal output.
[0058] Example 15. The circuit of any of the previous examples, further comprising a digital modulator interposed between the frequency converter and the data stream output.
[0059] Example 16. The circuit of any of the previous examples, further comprising an additional frequency converter interposed between the digital modulator and the data stream output.
[0060] Example 17. The circuit of any of the previous examples, wherein the digital filter comprises an additional input for receiving a first set of coefficients or a second set of coefficients according to the state of the control signal input.
[0061] Example 18. The circuit of any of the previous examples, further comprising a microelectromechanical system (MEMS) having an output coupled to the analog signal input of the signal processing circuit.
[0062] Example 19. The circuit of any of the previous examples, wherein the MEMS comprises a microphone.
[0063] Example 20. According to an embodiment, a microelectromechanical (MEMS) circuit in a single package includes a control signal input, a clock signal input, and a data stream output for providing a constant rate single bit output stream at one or more output nodes; a MEMS device; and a signal processing circuit coupled to the MEMS device, to the control signal input, to the clock signal input, and the data stream output, wherein, in a first mode of operation determined by a first state of the control signal input, at least a portion of the signal processing circuit is directly coupled to the clock signal input, and wherein, in a second mode of operation determined by a second state of the control signal input, the at least a portion of the signal processing circuit is coupled to the clock signal input through a clock divider.
[0064] While this invention has been described with reference to illustrative embodiments, this description is not intended to be construed in a limiting sense. Various modifications and combinations of the illustrative embodiments, as well as other embodiments of the invention, will be apparent to persons skilled in the art upon reference to the description. It is therefore intended that the appended claims encompass any such modifications or embodiments.